q2-tecton-elements 1.72.0 → 1.73.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 (383) hide show
  1. package/dist/bundle-report.json +38990 -33801
  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 +1 -1
  11. package/dist/cjs/q2-badge_2.cjs.entry.js +2 -2
  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 +2 -2
  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 +4 -4
  49. package/dist/cjs/q2-pill.cjs.entry.js +7 -4
  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 +1 -1
  74. package/dist/collection/components/q2-btn/q2-btn.css +84 -136
  75. package/dist/collection/components/q2-btn/q2-btn.js +10 -4
  76. package/dist/collection/components/q2-btn/test/q2-btn-test.vr.js +99 -43
  77. package/dist/collection/components/q2-calendar/q2-calendar.js +16 -5
  78. package/dist/collection/components/q2-calendar/q2-month-picker.js +2 -2
  79. package/dist/collection/components/q2-calendar/test/q2-calendar-test.vr.js +3 -13
  80. package/dist/collection/components/q2-card-image/q2-card-image.js +2 -2
  81. package/dist/collection/components/q2-carousel/q2-carousel.js +19 -5
  82. package/dist/collection/components/q2-carousel/test/q2-carousel-test.vr.js +32 -0
  83. package/dist/collection/components/q2-carousel-pane/q2-carousel-pane.js +2 -2
  84. package/dist/collection/components/q2-chart-area/q2-chart-area.css +11 -0
  85. package/dist/collection/components/q2-chart-area/q2-chart-area.js +53 -7
  86. package/dist/collection/components/q2-chart-area/test/q2-chart-area-test.vr.js +14 -0
  87. package/dist/collection/components/q2-chart-bar/q2-chart-bar.css +11 -0
  88. package/dist/collection/components/q2-chart-bar/q2-chart-bar.js +50 -4
  89. package/dist/collection/components/q2-chart-bar/test/q2-chart-bar-test.vr.js +14 -0
  90. package/dist/collection/components/q2-chart-donut/q2-chart-donut.js +30 -10
  91. package/dist/collection/components/q2-chart-donut/test/q2-chart-donut-test.vr.js +25 -0
  92. package/dist/collection/components/q2-checkbox/q2-checkbox.js +6 -3
  93. package/dist/collection/components/q2-checkbox-group/q2-checkbox-group.js +6 -3
  94. package/dist/collection/components/q2-context/q2-context.js +3 -3
  95. package/dist/collection/components/q2-context/test/q2-context-test.vr.js +3 -3
  96. package/dist/collection/components/q2-currency/q2-currency.js +1 -1
  97. package/dist/collection/components/q2-data-table/q2-data-table.css +3 -0
  98. package/dist/collection/components/q2-data-table/q2-data-table.js +5 -5
  99. package/dist/collection/components/q2-data-table/test/q2-data-table-test.vr.js +47 -0
  100. package/dist/collection/components/q2-date-calendar/q2-date-calendar.css +393 -0
  101. package/dist/collection/components/q2-date-calendar/q2-date-calendar.js +1022 -0
  102. package/dist/collection/components/q2-date-calendar/test/q2-date-calendar-test.vr.js +111 -0
  103. package/dist/collection/components/q2-date-picker/q2-date-picker.css +138 -0
  104. package/dist/collection/components/q2-date-picker/q2-date-picker.js +2010 -0
  105. package/dist/collection/components/q2-date-picker/test/q2-date-picker-test.vr.js +179 -0
  106. package/dist/collection/components/q2-detail/q2-detail.js +1 -1
  107. package/dist/collection/components/q2-dropdown/q2-dropdown.js +5 -5
  108. package/dist/collection/components/q2-editable-field/q2-editable-field.js +27 -8
  109. package/dist/collection/components/q2-example/q2-example.js +1 -1
  110. package/dist/collection/components/q2-file-picker/q2-file-picker.js +1 -1
  111. package/dist/collection/components/q2-form/q2-form.js +1 -1
  112. package/dist/collection/components/q2-formatted-text/q2-formatted-text.js +1 -1
  113. package/dist/collection/components/q2-input/q2-input.js +6 -3
  114. package/dist/collection/components/q2-item/q2-item.js +19 -1
  115. package/dist/collection/components/q2-item/test/q2-item-test.vr.js +2 -2
  116. package/dist/collection/components/q2-legend/q2-legend.js +1 -1
  117. package/dist/collection/components/q2-list/q2-list.js +1 -1
  118. package/dist/collection/components/q2-message/q2-message.js +1 -1
  119. package/dist/collection/components/q2-meter/q2-meter.js +1 -1
  120. package/dist/collection/components/q2-modal/q2-modal.js +1 -1
  121. package/dist/collection/components/q2-modal/test/q2-modal-test.vr.js +7 -7
  122. package/dist/collection/components/q2-mutation-observer/q2-mutation-observer.js +1 -1
  123. package/dist/collection/components/q2-optgroup/q2-optgroup.js +1 -1
  124. package/dist/collection/components/q2-option-list/q2-option-list.js +36 -4
  125. package/dist/collection/components/q2-otp/q2-otp.js +4 -4
  126. package/dist/collection/components/q2-pagination/q2-pagination.js +3 -3
  127. package/dist/collection/components/q2-pill/q2-pill.js +6 -3
  128. package/dist/collection/components/q2-popover/q2-popover.css +1 -0
  129. package/dist/collection/components/q2-popover/q2-popover.js +43 -8
  130. package/dist/collection/components/q2-radio/q2-radio.js +5 -2
  131. package/dist/collection/components/q2-radio-group/q2-radio-group.js +6 -3
  132. package/dist/collection/components/q2-relative-time/q2-relative-time.js +1 -1
  133. package/dist/collection/components/q2-resize-observer/q2-resize-observer.js +1 -1
  134. package/dist/collection/components/q2-search/q2-search.js +6 -3
  135. package/dist/collection/components/q2-section/q2-section.js +2 -2
  136. package/dist/collection/components/q2-select/q2-select.js +12 -5
  137. package/dist/collection/components/q2-stepper/q2-stepper.js +1 -1
  138. package/dist/collection/components/q2-stepper-pane/q2-stepper-pane.js +1 -1
  139. package/dist/collection/components/q2-stepper-vertical/q2-stepper-vertical.js +1 -1
  140. package/dist/collection/components/q2-surface/q2-surface.js +1 -1
  141. package/dist/collection/components/q2-surface/test/q2-surface-test.vr.js +2 -2
  142. package/dist/collection/components/q2-tab-container/q2-tab-container.js +1 -1
  143. package/dist/collection/components/q2-tab-pane/q2-tab-pane.js +1 -1
  144. package/dist/collection/components/q2-tag/q2-tag.js +6 -3
  145. package/dist/collection/components/q2-textarea/q2-textarea.js +6 -3
  146. package/dist/collection/components/q2-tooltip/test/q2-tooltip-test.vr.js +1 -1
  147. package/dist/collection/components/tecton-tab-pane/tecton-tab-pane.js +2 -2
  148. package/dist/collection/utils/chart-keyboard.js +76 -0
  149. package/dist/collection/utils/date-picker/date-picker-helpers.js +239 -0
  150. package/dist/collection/utils/date-picker/date-picker-types.js +1 -0
  151. package/dist/collection/utils/index.js +1 -1
  152. package/dist/components/charting.js +1603 -1532
  153. package/dist/components/dataSample.js +7 -7
  154. package/dist/components/index.js +57 -53
  155. package/dist/components/index2.js +2 -2
  156. package/dist/components/q2-action-sheet.js +224 -103
  157. package/dist/components/q2-avatar2.js +8 -8
  158. package/dist/components/q2-btn2.js +2 -2
  159. package/dist/components/q2-calendar.js +6 -3
  160. package/dist/components/q2-card-image.js +2 -2
  161. package/dist/components/q2-carousel-pane2.js +3 -3
  162. package/dist/components/q2-carousel.js +37 -24
  163. package/dist/components/q2-chart-area.js +415 -369
  164. package/dist/components/q2-chart-bar.js +193 -148
  165. package/dist/components/q2-chart-donut.js +185 -158
  166. package/dist/components/q2-checkbox-group.js +6 -6
  167. package/dist/components/q2-checkbox2.js +11 -11
  168. package/dist/components/q2-context.js +20 -20
  169. package/dist/components/q2-currency.js +9 -9
  170. package/dist/components/q2-data-table.js +111 -111
  171. package/dist/components/q2-date-calendar.d.ts +11 -0
  172. package/dist/components/q2-date-calendar.js +5 -0
  173. package/dist/components/q2-date-calendar2.js +678 -0
  174. package/dist/components/q2-date-picker.d.ts +11 -0
  175. package/dist/components/q2-date-picker.js +5 -0
  176. package/dist/components/q2-date-picker2.js +875 -0
  177. package/dist/components/q2-detail.js +3 -3
  178. package/dist/components/q2-dropdown.js +17 -17
  179. package/dist/components/q2-editable-field.js +16 -5
  180. package/dist/components/q2-example.js +11 -11
  181. package/dist/components/q2-file-picker.js +1 -1
  182. package/dist/components/q2-form.js +6 -6
  183. package/dist/components/q2-formatted-text.js +2 -2
  184. package/dist/components/q2-input2.js +5 -5
  185. package/dist/components/q2-item2.js +32 -22
  186. package/dist/components/q2-legend2.js +7 -7
  187. package/dist/components/q2-list2.js +6 -6
  188. package/dist/components/q2-message2.js +9 -9
  189. package/dist/components/q2-meter.js +7 -7
  190. package/dist/components/q2-modal.js +22 -22
  191. package/dist/components/q2-month-picker.js +17 -17
  192. package/dist/components/q2-mutation-observer.js +1 -1
  193. package/dist/components/q2-optgroup2.js +7 -7
  194. package/dist/components/q2-option-list2.js +55 -34
  195. package/dist/components/q2-otp.js +8 -8
  196. package/dist/components/q2-pagination.js +67 -67
  197. package/dist/components/q2-pill.js +16 -14
  198. package/dist/components/q2-popover2.js +70 -49
  199. package/dist/components/q2-radio-group.js +7 -7
  200. package/dist/components/q2-radio.js +6 -6
  201. package/dist/components/q2-relative-time.js +1 -1
  202. package/dist/components/q2-resize-observer2.js +23 -23
  203. package/dist/components/q2-search.js +5 -5
  204. package/dist/components/q2-section.js +19 -19
  205. package/dist/components/q2-select2.js +2 -2
  206. package/dist/components/q2-stepper-pane.js +9 -9
  207. package/dist/components/q2-stepper-vertical.js +4 -4
  208. package/dist/components/q2-stepper.js +57 -57
  209. package/dist/components/q2-surface.js +3 -3
  210. package/dist/components/q2-tab-container.js +17 -17
  211. package/dist/components/q2-tab-pane.js +2 -2
  212. package/dist/components/q2-tag2.js +8 -6
  213. package/dist/components/q2-textarea.js +3 -3
  214. package/dist/components/sectorHelper.js +78 -78
  215. package/dist/components/tecton-tab-pane.js +10 -10
  216. package/dist/esm/{charting-DOZct-UB.js → charting-DFXJklqs.js} +79 -1
  217. package/dist/esm/click-elsewhere_3.entry.js +81 -14
  218. package/dist/esm/{dataSample-Dm1zpQNi.js → dataSample-CP_VKNqt.js} +1 -1
  219. package/dist/esm/date-picker-helpers-D8QnN_AS.js +242 -0
  220. package/dist/esm/{index-DJw6Feh0.js → index-CP8pXJ-l.js} +1 -1
  221. package/dist/esm/loader.js +1 -1
  222. package/dist/esm/q2-action-group.entry.js +1 -1
  223. package/dist/esm/q2-action-sheet.entry.js +99 -19
  224. package/dist/esm/q2-avatar.entry.js +1 -1
  225. package/dist/esm/q2-badge_2.entry.js +2 -2
  226. package/dist/esm/q2-btn_2.entry.js +2 -2
  227. package/dist/esm/q2-calendar.entry.js +9 -4
  228. package/dist/esm/q2-card-image.entry.js +3 -3
  229. package/dist/esm/q2-card.entry.js +1 -1
  230. package/dist/esm/q2-carousel-pane.entry.js +3 -3
  231. package/dist/esm/q2-carousel.entry.js +20 -6
  232. package/dist/esm/q2-chart-area.entry.js +38 -7
  233. package/dist/esm/q2-chart-bar.entry.js +39 -8
  234. package/dist/esm/q2-chart-donut.entry.js +31 -13
  235. package/dist/esm/q2-checkbox-group.entry.js +2 -2
  236. package/dist/esm/q2-checkbox_2.entry.js +8 -5
  237. package/dist/esm/q2-context.entry.js +4 -4
  238. package/dist/esm/q2-currency.entry.js +1 -1
  239. package/dist/esm/q2-data-table.entry.js +7 -7
  240. package/dist/esm/q2-date-calendar.entry.js +450 -0
  241. package/dist/esm/q2-date-picker_2.entry.js +965 -0
  242. package/dist/esm/q2-detail.entry.js +2 -2
  243. package/dist/esm/q2-dropdown-item.entry.js +1 -1
  244. package/dist/esm/q2-dropdown.entry.js +3 -3
  245. package/dist/esm/q2-editable-field.entry.js +20 -7
  246. package/dist/esm/q2-example.entry.js +1 -1
  247. package/dist/esm/q2-file-picker.entry.js +2 -2
  248. package/dist/esm/q2-form.entry.js +1 -1
  249. package/dist/esm/q2-formatted-text.entry.js +1 -1
  250. package/dist/esm/q2-icon.entry.js +1 -1
  251. package/dist/esm/q2-item.entry.js +20 -2
  252. package/dist/esm/q2-legend.entry.js +1 -1
  253. package/dist/esm/q2-link_2.entry.js +2 -2
  254. package/dist/esm/q2-loc.entry.js +1 -1
  255. package/dist/esm/q2-message.entry.js +2 -2
  256. package/dist/esm/q2-meter.entry.js +2 -2
  257. package/dist/esm/q2-modal.entry.js +2 -2
  258. package/dist/esm/q2-month-picker.entry.js +3 -3
  259. package/dist/esm/q2-mutation-observer.entry.js +1 -1
  260. package/dist/esm/q2-option.entry.js +1 -1
  261. package/dist/esm/q2-otp.entry.js +5 -5
  262. package/dist/esm/q2-pagination.entry.js +4 -4
  263. package/dist/esm/q2-pill.entry.js +7 -4
  264. package/dist/esm/q2-radio-group.entry.js +2 -2
  265. package/dist/esm/q2-radio.entry.js +2 -2
  266. package/dist/esm/q2-relative-time.entry.js +2 -2
  267. package/dist/esm/q2-resize-observer.entry.js +1 -1
  268. package/dist/esm/q2-search.entry.js +3 -3
  269. package/dist/esm/q2-section.entry.js +3 -3
  270. package/dist/esm/q2-select.entry.js +8 -4
  271. package/dist/esm/q2-stepper-pane.entry.js +2 -2
  272. package/dist/esm/q2-stepper-vertical.entry.js +2 -2
  273. package/dist/esm/q2-stepper.entry.js +2 -2
  274. package/dist/esm/q2-surface.entry.js +1 -1
  275. package/dist/esm/q2-tab-container.entry.js +2 -2
  276. package/dist/esm/q2-tab-pane.entry.js +1 -1
  277. package/dist/esm/q2-tecton-elements.js +1 -1
  278. package/dist/esm/q2-textarea.entry.js +2 -2
  279. package/dist/esm/q2-toast.entry.js +1 -1
  280. package/dist/esm/q2-tooltip.entry.js +1 -1
  281. package/dist/esm/{sectorHelper--RMGWGAy.js → sectorHelper-DBtkWtpl.js} +1 -1
  282. package/dist/esm/tecton-tab-pane.entry.js +2 -2
  283. package/dist/q2-tecton-elements/{charting-DOZct-UB.js → charting-DFXJklqs.js} +1625 -1554
  284. package/dist/q2-tecton-elements/click-elsewhere_3.entry.js +85 -43
  285. package/dist/q2-tecton-elements/{dataSample-Dm1zpQNi.js → dataSample-CP_VKNqt.js} +33 -33
  286. package/dist/q2-tecton-elements/date-picker-helpers-D8QnN_AS.js +153 -0
  287. package/dist/q2-tecton-elements/{index-DJw6Feh0.js → index-CP8pXJ-l.js} +1 -1
  288. package/dist/q2-tecton-elements/q2-action-group.entry.js +1 -1
  289. package/dist/q2-tecton-elements/q2-action-sheet.entry.js +169 -84
  290. package/dist/q2-tecton-elements/q2-avatar.entry.js +8 -8
  291. package/dist/q2-tecton-elements/q2-badge_2.entry.js +5 -5
  292. package/dist/q2-tecton-elements/q2-btn_2.entry.js +23 -23
  293. package/dist/q2-tecton-elements/q2-calendar.entry.js +7 -4
  294. package/dist/q2-tecton-elements/q2-card-image.entry.js +3 -3
  295. package/dist/q2-tecton-elements/q2-card.entry.js +1 -1
  296. package/dist/q2-tecton-elements/q2-carousel-pane.entry.js +4 -4
  297. package/dist/q2-tecton-elements/q2-carousel.entry.js +24 -11
  298. package/dist/q2-tecton-elements/q2-chart-area.entry.js +187 -141
  299. package/dist/q2-tecton-elements/q2-chart-bar.entry.js +377 -333
  300. package/dist/q2-tecton-elements/q2-chart-donut.entry.js +184 -158
  301. package/dist/q2-tecton-elements/q2-checkbox-group.entry.js +7 -7
  302. package/dist/q2-tecton-elements/q2-checkbox_2.entry.js +20 -18
  303. package/dist/q2-tecton-elements/q2-context.entry.js +21 -21
  304. package/dist/q2-tecton-elements/q2-currency.entry.js +9 -9
  305. package/dist/q2-tecton-elements/q2-data-table.entry.js +7 -7
  306. package/dist/q2-tecton-elements/q2-date-calendar.entry.js +438 -0
  307. package/dist/q2-tecton-elements/q2-date-picker_2.entry.js +792 -0
  308. package/dist/q2-tecton-elements/q2-detail.entry.js +4 -4
  309. package/dist/q2-tecton-elements/q2-dropdown-item.entry.js +1 -1
  310. package/dist/q2-tecton-elements/q2-dropdown.entry.js +16 -16
  311. package/dist/q2-tecton-elements/q2-editable-field.entry.js +17 -6
  312. package/dist/q2-tecton-elements/q2-example.entry.js +1 -1
  313. package/dist/q2-tecton-elements/q2-file-picker.entry.js +2 -2
  314. package/dist/q2-tecton-elements/q2-form.entry.js +2 -2
  315. package/dist/q2-tecton-elements/q2-formatted-text.entry.js +2 -2
  316. package/dist/q2-tecton-elements/q2-icon.entry.js +1 -1
  317. package/dist/q2-tecton-elements/q2-item.entry.js +26 -16
  318. package/dist/q2-tecton-elements/q2-legend.entry.js +2 -2
  319. package/dist/q2-tecton-elements/q2-link_2.entry.js +7 -7
  320. package/dist/q2-tecton-elements/q2-loc.entry.js +1 -1
  321. package/dist/q2-tecton-elements/q2-message.entry.js +28 -28
  322. package/dist/q2-tecton-elements/q2-meter.entry.js +8 -8
  323. package/dist/q2-tecton-elements/q2-modal.entry.js +18 -18
  324. package/dist/q2-tecton-elements/q2-month-picker.entry.js +14 -14
  325. package/dist/q2-tecton-elements/q2-mutation-observer.entry.js +1 -1
  326. package/dist/q2-tecton-elements/q2-option.entry.js +1 -1
  327. package/dist/q2-tecton-elements/q2-otp.entry.js +9 -9
  328. package/dist/q2-tecton-elements/q2-pagination.entry.js +20 -20
  329. package/dist/q2-tecton-elements/q2-pill.entry.js +42 -40
  330. package/dist/q2-tecton-elements/q2-radio-group.entry.js +8 -8
  331. package/dist/q2-tecton-elements/q2-radio.entry.js +7 -7
  332. package/dist/q2-tecton-elements/q2-relative-time.entry.js +5 -5
  333. package/dist/q2-tecton-elements/q2-resize-observer.entry.js +13 -13
  334. package/dist/q2-tecton-elements/q2-search.entry.js +6 -6
  335. package/dist/q2-tecton-elements/q2-section.entry.js +20 -20
  336. package/dist/q2-tecton-elements/q2-select.entry.js +3 -3
  337. package/dist/q2-tecton-elements/q2-stepper-pane.entry.js +13 -13
  338. package/dist/q2-tecton-elements/q2-stepper-vertical.entry.js +9 -9
  339. package/dist/q2-tecton-elements/q2-stepper.entry.js +45 -45
  340. package/dist/q2-tecton-elements/q2-surface.entry.js +3 -3
  341. package/dist/q2-tecton-elements/q2-tab-container.entry.js +20 -20
  342. package/dist/q2-tecton-elements/q2-tab-pane.entry.js +7 -7
  343. package/dist/q2-tecton-elements/q2-tecton-elements.esm.js +1 -1
  344. package/dist/q2-tecton-elements/q2-textarea.entry.js +3 -3
  345. package/dist/q2-tecton-elements/q2-toast.entry.js +1 -1
  346. package/dist/q2-tecton-elements/q2-tooltip.entry.js +1 -1
  347. package/dist/q2-tecton-elements/{sectorHelper--RMGWGAy.js → sectorHelper-DBtkWtpl.js} +56 -56
  348. package/dist/q2-tecton-elements/tecton-tab-pane.entry.js +6 -6
  349. package/dist/types/components/q2-action-sheet/q2-action-sheet.d.ts +21 -1
  350. package/dist/types/components/q2-action-sheet/test/q2-action-sheet-test.vr.d.ts +1 -0
  351. package/dist/types/components/q2-btn/q2-btn.d.ts +7 -3
  352. package/dist/types/components/q2-calendar/q2-calendar.d.ts +10 -2
  353. package/dist/types/components/q2-carousel/q2-carousel.d.ts +5 -0
  354. package/dist/types/components/q2-chart-area/q2-chart-area.d.ts +11 -2
  355. package/dist/types/components/q2-chart-bar/q2-chart-bar.d.ts +9 -0
  356. package/dist/types/components/q2-chart-donut/q2-chart-donut.d.ts +1 -0
  357. package/dist/types/components/q2-checkbox/q2-checkbox.d.ts +4 -3
  358. package/dist/types/components/q2-checkbox-group/q2-checkbox-group.d.ts +4 -2
  359. package/dist/types/components/q2-date-calendar/q2-date-calendar.d.ts +122 -0
  360. package/dist/types/components/q2-date-calendar/test/q2-date-calendar-test.vr.d.ts +1 -0
  361. package/dist/types/components/q2-date-picker/q2-date-picker.d.ts +304 -0
  362. package/dist/types/components/q2-date-picker/test/q2-date-picker-test.vr.d.ts +1 -0
  363. package/dist/types/components/q2-dropdown/q2-dropdown.d.ts +3 -3
  364. package/dist/types/components/q2-editable-field/q2-editable-field.d.ts +14 -1
  365. package/dist/types/components/q2-input/q2-input.d.ts +4 -2
  366. package/dist/types/components/q2-item/q2-item.d.ts +3 -0
  367. package/dist/types/components/q2-option-list/q2-option-list.d.ts +1 -0
  368. package/dist/types/components/q2-popover/q2-popover.d.ts +4 -0
  369. package/dist/types/components/q2-radio/q2-radio.d.ts +3 -2
  370. package/dist/types/components/q2-radio-group/q2-radio-group.d.ts +4 -2
  371. package/dist/types/components/q2-search/q2-search.d.ts +3 -1
  372. package/dist/types/components/q2-select/q2-select.d.ts +4 -2
  373. package/dist/types/components/q2-textarea/q2-textarea.d.ts +4 -2
  374. package/dist/types/components.d.ts +858 -49
  375. package/dist/types/global.d.ts +1 -0
  376. package/dist/types/index.d.ts +1 -0
  377. package/dist/types/utils/chart-keyboard.d.ts +16 -0
  378. package/dist/types/utils/date-picker/date-picker-helpers.d.ts +47 -0
  379. package/dist/types/utils/date-picker/date-picker-types.d.ts +42 -0
  380. package/package.json +3 -3
  381. package/dist/cjs/q2-optgroup.cjs.entry.js +0 -70
  382. package/dist/esm/q2-optgroup.entry.js +0 -68
  383. package/dist/q2-tecton-elements/q2-optgroup.entry.js +0 -88
@@ -1,14 +1,14 @@
1
1
  import { r as t, c as e, h as i, g as n } from "./index-Cqkz7Bnm.js";
2
2
 
3
- import { o, i as a, l as r, g as s } from "./index-DJw6Feh0.js";
3
+ import { l as o, o as a, i as r, g as s } from "./index-CP8pXJ-l.js";
4
4
 
5
5
  import { m as l } from "./mirror-emit-DUjY_ucm.js";
6
6
 
7
- import { br as c, U as h, _ as d, aX as u, bs as f, bt as p, bq as v, bu as g, g as m, bv as b, bw as w, ao as y, E as x, v as S, an as T, bx as M, z as L, r as C, ai as I, by as k, ar as A, bz as P, bA as V, bB as z, bC as D, h as N, bD as R, bE as O, bF as H, bG as B, bH as U, bI as W, bJ as F, bK as X, bL as G, bM as Y, bN as $, bO as E, bP as j, p as _, b6 as q, bQ as K, bl as Z, bR as J, bS as Q, bT as tt, V as et, a4 as it, bm as nt, bU as ot, aZ as at, bV as rt, aD as st, F as lt, K as ct, o as ht, O as dt, d as ut, a1 as ft, bW as pt, bX as vt, X as gt, bY as mt, bn as bt, bZ as wt, b_ as yt, b$ as xt, ab as St, c0 as Tt, a_ as Mt, I as Lt, a$ as Ct, c1 as It, A as kt, c2 as At, m as Pt, aV as Vt, P as zt, t as Dt, R as Nt, N as Rt, Q as Ot, y as Ht, M as Bt, $ as Ut, Z as Wt, W as Ft, a as Xt, c3 as Gt, aJ as Yt, aL as $t, c4 as Et, c5 as jt, c6 as _t, H as qt, c7 as Kt, a6 as Zt, a5 as Jt, a7 as Qt, a8 as te } from "./charting-DOZct-UB.js";
7
+ import { bt as c, U as h, _ as d, aZ as u, bu as f, bv as p, bs as v, bw as g, g as m, bx as b, by as y, aq as w, E as x, v as S, ap as T, bz as M, z as L, r as C, ak as I, bA as k, at as A, bB as P, bC as V, bD as z, bE as D, h as N, bF as R, bG as H, bH as O, bI as B, bJ as U, bK as W, bL as F, bM as X, bN as Y, bO as E, bP as G, bQ as $, bR as j, p as _, b8 as q, bS as K, bn as J, bT as Z, bU as Q, bV as tt, V as et, a4 as it, bo as nt, bW as ot, a$ as at, bX as rt, aF as st, F as lt, K as ct, o as ht, O as dt, d as ut, a1 as ft, bY as pt, bZ as vt, X as gt, b_ as mt, bp as bt, b$ as yt, c0 as wt, c1 as xt, ad as St, c2 as Tt, b0 as Mt, I as Lt, b1 as Ct, c3 as It, A as kt, c4 as At, m as Pt, aX as Vt, P as zt, t as Dt, R as Nt, N as Rt, Q as Ht, y as Ot, M as Bt, $ as Ut, Z as Wt, W as Ft, a as Xt, c5 as Yt, aL as Et, aN as Gt, c6 as $t, c7 as jt, c8 as _t, H as qt, c9 as Kt, a6 as Jt, a5 as Zt, a9 as Qt, a8 as te, ab as ee } from "./charting-DFXJklqs.js";
8
8
 
9
- import { l as ee, a as ie, g as ne, s as oe, b as ae, i as re } from "./sectorHelper--RMGWGAy.js";
9
+ import { l as ie, a as ne, g as oe, s as ae, b as re, i as se } from "./sectorHelper-DBtkWtpl.js";
10
10
 
11
- var se = /** @class */ function(t) {
11
+ var le = /** @class */ function(t) {
12
12
  function TooltipModel() {
13
13
  var e = null !== t && t.apply(this, arguments) || this;
14
14
  return e.type = TooltipModel.type, e;
@@ -90,7 +90,7 @@ function testStyle(t) {
90
90
  if (p.domSupported) for (var e = document.documentElement.style, i = 0, n = t.length; i < n; i++) if (t[i] in e) return t[i];
91
91
  }
92
92
 
93
- var le = testStyle([ "transform", "webkitTransform", "OTransform", "MozTransform", "msTransform" ]);
93
+ var ce = testStyle([ "transform", "webkitTransform", "OTransform", "MozTransform", "msTransform" ]);
94
94
 
95
95
  function toCSSVendorPrefix(t, e) {
96
96
  if (!t) return e;
@@ -100,7 +100,7 @@ function toCSSVendorPrefix(t, e) {
100
100
  }
101
101
 
102
102
  /* global document, window */
103
- var ce = toCSSVendorPrefix(testStyle([ "webkitTransition", "transition", "OTransition", "MozTransition", "msTransition" ]), "transition"), he = toCSSVendorPrefix(le, "transform"), de = "position:absolute;display:block;border-style:solid;white-space:nowrap;z-index:9999999;" + (p.transform3dSupported ? "will-change:transform;" : "");
103
+ var he = toCSSVendorPrefix(testStyle([ "webkitTransition", "transition", "OTransition", "MozTransition", "msTransition" ]), "transition"), de = toCSSVendorPrefix(ce, "transform"), ue = "position:absolute;display:block;border-style:solid;white-space:nowrap;z-index:9999999;" + (p.transform3dSupported ? "will-change:transform;" : "");
104
104
 
105
105
  function assembleTransform(t, e, i) {
106
106
  // If using float on style, the final width of the dom might
@@ -110,7 +110,7 @@ function assembleTransform(t, e, i) {
110
110
  if (!p.transformSupported) return i ? "top:" + o + ";left:" + n + ";" : [ [ "top", o ], [ "left", n ] ];
111
111
  // support transform
112
112
  var a = p.transform3dSupported, r = "translate" + (a ? "3d" : "") + "(" + n + "," + o + (a ? ",0" : "") + ")";
113
- return i ? "top:0;left:0;" + he + ":" + r + ";" : [ [ "top", 0 ], [ "left", 0 ], [ le, r ] ];
113
+ return i ? "top:0;left:0;" + de + ":" + r + ";" : [ [ "top", 0 ], [ "left", 0 ], [ ce, r ] ];
114
114
  }
115
115
 
116
116
  /**
@@ -123,8 +123,8 @@ function assembleTransform(t, e, i) {
123
123
  // Animation transition. Do not animate when transitionDuration is 0.
124
124
  e && o && n.push(function(t, e) {
125
125
  var i = "cubic-bezier(0.23,1,0.32,1)", n = " " + t / 2 + "s " + i, o = "opacity" + n + ",visibility" + n;
126
- return e || (n = " " + t + "s " + i, o += p.transformSupported ? "," + he + n : ",left" + n + ",top" + n),
127
- ce + ":" + o;
126
+ return e || (n = " " + t + "s " + i, o += p.transformSupported ? "," + de + n : ",left" + n + ",top" + n),
127
+ he + ":" + o;
128
128
  }(o, i)), a && n.push("background-color:" + a),
129
129
  // Border style
130
130
  S([ "width", "color", "radius" ], (function(e) {
@@ -156,7 +156,7 @@ function makeStyleCoord$1(t, e, i, n, o) {
156
156
  var r = a && a.getViewportRoot();
157
157
  r &&
158
158
  // Some APPs might use scale on body, so we support CSS transform here.
159
- w(t, r, i, n, o);
159
+ y(t, r, i, n, o);
160
160
  } else {
161
161
  t[0] = n, t[1] = o;
162
162
  // xy should be based on canvas root. But tooltipContent is
@@ -168,7 +168,7 @@ function makeStyleCoord$1(t, e, i, n, o) {
168
168
  t[2] = t[0] / e.getWidth(), t[3] = t[1] / e.getHeight();
169
169
  }
170
170
 
171
- var ue = /** @class */ function() {
171
+ var fe = /** @class */ function() {
172
172
  function TooltipHTMLContent(t, e) {
173
173
  if (this._show = !1, this._styleCoord = [ 0, 0, 0, 0 ], this._enterable = !0, this._alwaysShowContent = !1,
174
174
  this._firstShow = !0, this._longHide = !0, p.wxa) return null;
@@ -220,7 +220,7 @@ var ue = /** @class */ function() {
220
220
  }, TooltipHTMLContent.prototype.show = function(t, e) {
221
221
  clearTimeout(this._hideTimeout), clearTimeout(this._longHideTimeout);
222
222
  var i = this.el, n = i.style, o = this._styleCoord;
223
- i.innerHTML ? n.cssText = de + assembleCssText(t, !this._firstShow, this._longHide) + assembleTransform(o[0], o[1], !0) + "border-color:" + y(e) + ";" + (t.get("extraCssText") || "") + ";pointer-events:" + (this._enterable ? "auto" : "none") : n.display = "none",
223
+ i.innerHTML ? n.cssText = ue + assembleCssText(t, !this._firstShow, this._longHide) + assembleTransform(o[0], o[1], !0) + "border-color:" + w(e) + ";" + (t.get("extraCssText") || "") + ";pointer-events:" + (this._enterable ? "auto" : "none") : n.display = "none",
224
224
  this._show = !0, this._firstShow = !1, this._longHide = !1;
225
225
  }, TooltipHTMLContent.prototype.setContent = function(t, e, i, n, o) {
226
226
  var a = this.el;
@@ -229,8 +229,8 @@ var ue = /** @class */ function() {
229
229
  if (v(o) && "item" === i.get("trigger") && !shouldTooltipConfine(i) && (r = function(t, e, i) {
230
230
  if (!v(i) || "inside" === i) return "";
231
231
  var n = t.get("backgroundColor"), o = t.get("borderWidth");
232
- e = y(e);
233
- var a, r, s = "left" === (a = i) ? "right" : "right" === a ? "left" : "top" === a ? "bottom" : "top", l = Math.max(1.5 * Math.round(o), 6), c = "", h = he + ":";
232
+ e = w(e);
233
+ var a, r, s = "left" === (a = i) ? "right" : "right" === a ? "left" : "top" === a ? "bottom" : "top", l = Math.max(1.5 * Math.round(o), 6), c = "", h = de + ":";
234
234
  L([ "left", "right" ], s) > -1 ? (c += "top:50%", h += "translateY(-50%) rotate(" + (r = "left" === s ? -225 : -45) + "deg)") : (c += "left:50%",
235
235
  h += "translateX(-50%) rotate(" + (r = "top" === s ? 225 : 45) + "deg)");
236
236
  var d = r * Math.PI / 180, u = l + o, f = u * Math.abs(Math.cos(d)) + u * Math.abs(Math.sin(d)), p = e + " solid " + o + "px;";
@@ -290,7 +290,7 @@ var ue = /** @class */ function() {
290
290
  var t = this.el.parentNode;
291
291
  t && t.removeChild(this.el), this.el = this._container = null;
292
292
  }, TooltipHTMLContent;
293
- }(), fe = /** @class */ function() {
293
+ }(), pe = /** @class */ function() {
294
294
  function TooltipRichContent(t) {
295
295
  this._show = !1, this._styleCoord = [ 0, 0, 0, 0 ], this._alwaysShowContent = !1,
296
296
  this._enterable = !0, this._zr = t.getZr(), makeStyleCoord(this._styleCoord, this._zr, t.getWidth() / 2, t.getHeight() / 2);
@@ -393,14 +393,14 @@ function makeStyleCoord(t, e, i, n) {
393
393
  t[0] = i, t[1] = n, t[2] = t[0] / e.getWidth(), t[3] = t[1] / e.getHeight();
394
394
  }
395
395
 
396
- var pe = new h({
396
+ var ve = new h({
397
397
  shape: {
398
398
  x: -1,
399
399
  y: -1,
400
400
  width: 2,
401
401
  height: 2
402
402
  }
403
- }), ve = /** @class */ function(t) {
403
+ }), ge = /** @class */ function(t) {
404
404
  function TooltipView() {
405
405
  var e = null !== t && t.apply(this, arguments) || this;
406
406
  return e.type = TooltipView.type, e;
@@ -408,7 +408,7 @@ var pe = new h({
408
408
  return d(TooltipView, t), TooltipView.prototype.init = function(t, e) {
409
409
  if (!p.node && e.getDom()) {
410
410
  var i = t.getComponent("tooltip"), n = this._renderMode = P(i.get("renderMode"));
411
- this._tooltipContent = "richText" === n ? new fe(e) : new ue(e, {
411
+ this._tooltipContent = "richText" === n ? new pe(e) : new fe(e, {
412
412
  appendTo: i.get("appendToBody", !0) ? "body" : i.get("appendTo", !0)
413
413
  });
414
414
  }
@@ -484,7 +484,7 @@ var pe = new h({
484
484
  * If not found, return null/undefined.
485
485
  */
486
486
  function(t, e, i) {
487
- var n = J(t).queryOptionMap, o = n.keys()[0];
487
+ var n = Z(t).queryOptionMap, o = n.keys()[0];
488
488
  if (!o || "series" === o) return;
489
489
  var a = Q(e, o, n.get(o), {
490
490
  useDefault: !1,
@@ -515,7 +515,7 @@ var pe = new h({
515
515
  positionDefault: "bottom"
516
516
  }, o);
517
517
  } else if (n.tooltip && null != n.x && null != n.y) {
518
- var l = pe;
518
+ var l = ve;
519
519
  l.x = n.x, l.y = n.y, l.update(), N(l).tooltipConfig = {
520
520
  name: null,
521
521
  option: n.tooltip
@@ -588,7 +588,7 @@ var pe = new h({
588
588
  if ("legend" === N(i).ssrType)
589
589
  // Don't trigger tooltip for legend tooltip item
590
590
  return;
591
- this._lastDataByCoordSys = null, O(i, (function(t) {
591
+ this._lastDataByCoordSys = null, H(i, (function(t) {
592
592
  // Always show item tooltip if mouse is on the element with dataIndex
593
593
  return null != N(t).dataIndex ? (o = t, !0) :
594
594
  // Tooltip provided directly. Like legend.
@@ -604,7 +604,7 @@ var pe = new h({
604
604
  var i = t.get("showDelay");
605
605
  e = T(e, this), clearTimeout(this._showTimout), i > 0 ? this._showTimout = setTimeout(e, i) : e();
606
606
  }, TooltipView.prototype._showAxisTooltip = function(t, e) {
607
- var i = this._ecModel, n = this._tooltipModel, o = [ e.offsetX, e.offsetY ], a = buildTooltipModel([ e.tooltipOption ], n), r = this._renderMode, s = [], l = H("section", {
607
+ var i = this._ecModel, n = this._tooltipModel, o = [ e.offsetX, e.offsetY ], a = buildTooltipModel([ e.tooltipOption ], n), r = this._renderMode, s = [], l = O("section", {
608
608
  blocks: [],
609
609
  noHeader: !0
610
610
  }), c = [], h = new F;
@@ -612,7 +612,7 @@ var pe = new h({
612
612
  S(t.dataByAxis, (function(t) {
613
613
  var e = i.getComponent(t.axisDim + "Axis", t.axisIndex), o = t.value;
614
614
  if (e && null != o) {
615
- var a = B(o, e.axis, i, t.seriesDataIndices, t.valueLabelOpt), d = H("section", {
615
+ var a = B(o, e.axis, i, t.seriesDataIndices, t.valueLabelOpt), d = O("section", {
616
616
  header: a,
617
617
  noHeader: !U(a),
618
618
  sortBlocks: !0,
@@ -628,7 +628,7 @@ var pe = new h({
628
628
  }), p.axisValueLabel = a,
629
629
  // Pre-create marker style for makers. Users can assemble richText
630
630
  // text in `formatter` callback and use those markers style.
631
- p.marker = h.makeTooltipMarker("item", y(p.color), r);
631
+ p.marker = h.makeTooltipMarker("item", w(p.color), r);
632
632
  var v = X(u.formatTooltip(f, !0, null)), g = v.frag;
633
633
  if (g) {
634
634
  var m = buildTooltipModel([ u ], n).get("valueFormatter");
@@ -645,7 +645,7 @@ var pe = new h({
645
645
  // In most cases, the second axis is displays upper on the first one.
646
646
  // So we reverse it to look better.
647
647
  l.blocks.reverse(), c.reverse();
648
- var d = e.position, u = a.get("order"), f = G(l, h, r, u, i.get("useUTC"), a.get("textStyle"));
648
+ var d = e.position, u = a.get("order"), f = Y(l, h, r, u, i.get("useUTC"), a.get("textStyle"));
649
649
  f && c.unshift(f);
650
650
  var p = "richText" === r ? "\n\n" : "<br/>", v = c.join(p);
651
651
  this._showOrMove(a, (function() {
@@ -659,9 +659,9 @@ var pe = new h({
659
659
  var v = s.getDataParams(l, c), g = new F;
660
660
  // Pre-create marker style for makers. Users can assemble richText
661
661
  // text in `formatter` callback and use those markers style.
662
- v.marker = g.makeTooltipMarker("item", y(v.color), d);
663
- var m = X(s.formatTooltip(l, !1, c)), b = f.get("order"), w = f.get("valueFormatter"), x = m.frag, S = x ? G(w ? et({
664
- valueFormatter: w
662
+ v.marker = g.makeTooltipMarker("item", w(v.color), d);
663
+ var m = X(s.formatTooltip(l, !1, c)), b = f.get("order"), y = f.get("valueFormatter"), x = m.frag, S = x ? Y(y ? et({
664
+ valueFormatter: y
665
665
  }, x) : x, g, d, b, n.get("useUTC"), f.get("textStyle")) : m.text, T = "item_" + s.name + "_" + l;
666
666
  this._showOrMove(f, (function() {
667
667
  this._showTooltipContent(f, S, v, T, t.offsetX, t.offsetY, t.position, t.target, g);
@@ -691,7 +691,7 @@ var pe = new h({
691
691
  }
692
692
  r && n && a.content && ((
693
693
  // clone might be unnecessary?
694
- a = Y(a)).content = $(a.content));
694
+ a = E(a)).content = G(a.content));
695
695
  var s = [ a ], l = this._ecModel.getComponent(o.componentMainType, o.componentIndex);
696
696
  l && s.push(l),
697
697
  // In most cases, component tooltip formatter has different params with series tooltip formatter,
@@ -709,7 +709,7 @@ var pe = new h({
709
709
  this._showOrMove(h, (function() {
710
710
  // Use formatterParams from element defined in component
711
711
  // Avoid users modify it.
712
- var i = Y(h.get("formatterParams") || {});
712
+ var i = E(h.get("formatterParams") || {});
713
713
  this._showTooltipContent(h, d, i, u, t.offsetX, t.offsetY, t.position, e, f);
714
714
  })),
715
715
  // If not dispatch showTip, tip may be hide triggered by axis.
@@ -731,7 +731,7 @@ var pe = new h({
731
731
  var d = e, u = this._getNearestPoint([ o, a ], i, t.get("trigger"), t.get("borderColor")).color;
732
732
  if (h) if (v(h)) {
733
733
  var f = t.ecModel.get("useUTC"), p = x(i) ? i[0] : i;
734
- d = h, p && p.axisType && p.axisType.indexOf("time") >= 0 && (d = E(p.axisValue, d, f)),
734
+ d = h, p && p.axisType && p.axisType.indexOf("time") >= 0 && (d = $(p.axisValue, d, f)),
735
735
  d = j(d, i, !0);
736
736
  } else if (m(h)) {
737
737
  var g = T((function(e, n) {
@@ -856,7 +856,7 @@ var pe = new h({
856
856
  !p.node && e.getDom() && (z(this, "_updatePosition"), this._tooltipContent.dispose(),
857
857
  K("itemTooltip", e));
858
858
  }, TooltipView.type = "tooltip", TooltipView;
859
- }(Z);
859
+ }(J);
860
860
 
861
861
  /**
862
862
  * From top to bottom. (the last one should be globalTooltipModel);
@@ -888,7 +888,7 @@ function isCenterAlign(t) {
888
888
  return "center" === t || "middle" === t;
889
889
  }
890
890
 
891
- var ge = /** @class */ function(t) {
891
+ var me = /** @class */ function(t) {
892
892
  function LegendModel() {
893
893
  var e = null !== t && t.apply(this, arguments) || this;
894
894
  return e.type = LegendModel.type, e.layoutMode = {
@@ -1083,7 +1083,7 @@ var ge = /** @class */ function(t) {
1083
1083
  show: !1
1084
1084
  }
1085
1085
  }, LegendModel;
1086
- }(u), me = ft, be = S, we = dt, ye = /** @class */ function(t) {
1086
+ }(u), be = ft, ye = S, we = dt, xe = /** @class */ function(t) {
1087
1087
  function LegendView() {
1088
1088
  var e = null !== t && t.apply(this, arguments) || this;
1089
1089
  return e.type = LegendView.type, e.newlineDisabled = !1, e;
@@ -1152,7 +1152,7 @@ var ge = /** @class */ function(t) {
1152
1152
  var s = this.getContentGroup(), l = st(), c = e.get("selectedMode"), h = [];
1153
1153
  i.eachRawSeries((function(t) {
1154
1154
  !t.get("legendHoverLink") && h.push(t.id);
1155
- })), be(e.getData(), (function(o, a) {
1155
+ })), ye(e.getData(), (function(o, a) {
1156
1156
  var r = o.get("name");
1157
1157
  // Use empty string or \n as a newline string
1158
1158
  if (!this.newlineDisabled && ("" === r || "\n" === r)) {
@@ -1166,7 +1166,7 @@ var ge = /** @class */ function(t) {
1166
1166
  // Legend to control series.
1167
1167
  if (u) {
1168
1168
  var f = u.getData(), p = f.getVisual("legendLineStyle") || {}, v = f.getVisual("legendIcon"), g = f.getVisual("style"), m = this._createItem(u, r, a, o, e, t, p, g, v, c, n);
1169
- m.on("click", me(dispatchSelectAction, r, null, n, h)).on("mouseover", me(dispatchHighlightAction, u.name, null, n, h)).on("mouseout", me(dispatchDownplayAction, u.name, null, n, h)),
1169
+ m.on("click", be(dispatchSelectAction, r, null, n, h)).on("mouseover", be(dispatchHighlightAction, u.name, null, n, h)).on("mouseout", be(dispatchDownplayAction, u.name, null, n, h)),
1170
1170
  i.ssr && m.eachChild((function(t) {
1171
1171
  var e = N(t);
1172
1172
  e.seriesIndex = u.seriesIndex, e.dataIndex = a, e.ssrType = "legend";
@@ -1188,7 +1188,7 @@ var ge = /** @class */ function(t) {
1188
1188
  }));
1189
1189
  var g = this._createItem(s, r, a, o, e, t, {}, f, p, c, n);
1190
1190
  // FIXME: consider different series has items with the same name.
1191
- g.on("click", me(dispatchSelectAction, null, r, n, h)).on("mouseover", me(dispatchHighlightAction, null, r, n, h)).on("mouseout", me(dispatchDownplayAction, null, r, n, h)),
1191
+ g.on("click", be(dispatchSelectAction, null, r, n, h)).on("mouseover", be(dispatchHighlightAction, null, r, n, h)).on("mouseout", be(dispatchDownplayAction, null, r, n, h)),
1192
1192
  i.ssr && g.eachChild((function(t) {
1193
1193
  var e = N(t);
1194
1194
  e.seriesIndex = s.seriesIndex, e.dataIndex = a, e.ssrType = "legend";
@@ -1198,7 +1198,7 @@ var ge = /** @class */ function(t) {
1198
1198
  }), this), o && this._createSelector(o, e, n, a, r);
1199
1199
  }, LegendView.prototype._createSelector = function(t, e, i, n, o) {
1200
1200
  var a = this.getSelectorGroup();
1201
- be(t, (function(t) {
1201
+ ye(t, (function(t) {
1202
1202
  var n = t.type, o = new A({
1203
1203
  style: {
1204
1204
  x: 0,
@@ -1223,14 +1223,14 @@ var ge = /** @class */ function(t) {
1223
1223
  }), mt(o);
1224
1224
  }));
1225
1225
  }, LegendView.prototype._createItem = function(t, e, i, n, o, a, r, s, l, c, d) {
1226
- var u = t.visualDrawType, f = o.get("itemWidth"), p = o.get("itemHeight"), g = o.isSelected(e), b = n.get("symbolRotate"), w = n.get("symbolKeepAspect"), y = n.get("icon"), x = function(t, e, i, n, o, a, r) {
1226
+ var u = t.visualDrawType, f = o.get("itemWidth"), p = o.get("itemHeight"), g = o.isSelected(e), b = n.get("symbolRotate"), y = n.get("symbolKeepAspect"), w = n.get("icon"), x = function(t, e, i, n, o, a, r) {
1227
1227
  /**
1228
1228
  * Use series style if is inherit;
1229
1229
  * elsewise, use legend style
1230
1230
  */
1231
1231
  function handleCommonProps(t, e) {
1232
1232
  // If lineStyle.width is 'auto', it is set to be 2 if series has border
1233
- "auto" === t.lineWidth && (t.lineWidth = e.lineWidth > 0 ? 2 : 0), be(t, (function(i, n) {
1233
+ "auto" === t.lineWidth && (t.lineWidth = e.lineWidth > 0 ? 2 : 0), ye(t, (function(i, n) {
1234
1234
  "inherit" === t[n] && (t[n] = e[n]);
1235
1235
  }));
1236
1236
  }
@@ -1273,10 +1273,10 @@ var ge = /** @class */ function(t) {
1273
1273
  itemStyle: l,
1274
1274
  lineStyle: u
1275
1275
  };
1276
- }(l = y || l || "roundRect", n, r, s, u, g, d), S = new we, T = n.getModel("textStyle");
1277
- if (!m(t.getLegendIcon) || y && "inherit" !== y) {
1276
+ }(l = w || l || "roundRect", n, r, s, u, g, d), S = new we, T = n.getModel("textStyle");
1277
+ if (!m(t.getLegendIcon) || w && "inherit" !== w) {
1278
1278
  // Use default legend icon policy for most series
1279
- var M = "inherit" === y && t.getData().getVisual("symbol") ? "inherit" === b ? t.getData().getVisual("symbolRotate") : b : 0;
1279
+ var M = "inherit" === w && t.getData().getVisual("symbol") ? "inherit" === b ? t.getData().getVisual("symbolRotate") : b : 0;
1280
1280
  // No rotation for no icon
1281
1281
  S.add(function(t) {
1282
1282
  var e = t.icon || "roundRect", i = St(e, 0, 0, t.itemWidth, t.itemHeight, t.itemStyle.fill, t.symbolKeepAspect);
@@ -1290,7 +1290,7 @@ var ge = /** @class */ function(t) {
1290
1290
  icon: l,
1291
1291
  iconRotate: M,
1292
1292
  itemStyle: x.itemStyle,
1293
- symbolKeepAspect: w
1293
+ symbolKeepAspect: y
1294
1294
  }));
1295
1295
  } else
1296
1296
  // Series has specific way to define legend icon
@@ -1301,7 +1301,7 @@ var ge = /** @class */ function(t) {
1301
1301
  iconRotate: b,
1302
1302
  itemStyle: x.itemStyle,
1303
1303
  lineStyle: x.lineStyle,
1304
- symbolKeepAspect: w
1304
+ symbolKeepAspect: y
1305
1305
  }));
1306
1306
  var L = "left" === a ? f + 5 : -5, C = a, I = o.get("formatter"), k = e;
1307
1307
  v(I) && I ? k = I.replace("{name}", null != e ? e : "") : m(I) && (k = I(e));
@@ -1326,7 +1326,7 @@ var ge = /** @class */ function(t) {
1326
1326
  fill: "transparent"
1327
1327
  }
1328
1328
  }), z = n.getModel("tooltip");
1329
- return z.get("show") && wt({
1329
+ return z.get("show") && yt({
1330
1330
  el: V,
1331
1331
  componentModel: o,
1332
1332
  itemName: e,
@@ -1339,11 +1339,11 @@ var ge = /** @class */ function(t) {
1339
1339
  }, LegendView.prototype.layoutInner = function(t, e, i, n, o, a) {
1340
1340
  var r = this.getContentGroup(), s = this.getSelectorGroup();
1341
1341
  // Place items in contentGroup.
1342
- yt(t.get("orient"), r, t.get("itemGap"), i.width, i.height);
1342
+ wt(t.get("orient"), r, t.get("itemGap"), i.width, i.height);
1343
1343
  var l = r.getBoundingRect(), c = [ -l.x, -l.y ];
1344
1344
  if (s.markRedraw(), r.markRedraw(), o) {
1345
1345
  // Place buttons in selectorGroup
1346
- yt(
1346
+ wt(
1347
1347
  // Buttons in selectorGroup always layout horizontally
1348
1348
  "horizontal", s, t.get("selectorItemGap", !0));
1349
1349
  var h = s.getBoundingRect(), d = [ -h.x, -h.y ], u = t.get("selectorButtonGap", !0), f = t.getOrient().index, p = 0 === f ? "width" : "height", v = 0 === f ? "height" : "width", g = 0 === f ? "y" : "x";
@@ -1365,7 +1365,7 @@ var ge = /** @class */ function(t) {
1365
1365
  LegendView.prototype.remove = function() {
1366
1366
  this.getContentGroup().removeAll(), this._isFirstRender = !0;
1367
1367
  }, LegendView.type = "legend.plain", LegendView;
1368
- }(Z);
1368
+ }(J);
1369
1369
 
1370
1370
  function dispatchSelectAction(t, e, i, n) {
1371
1371
  // downplay before unselect
@@ -1497,7 +1497,7 @@ function makeSelectedMap(t, e) {
1497
1497
  }
1498
1498
 
1499
1499
  function install$3(t) {
1500
- t.registerComponentModel(ge), t.registerComponentView(ye), t.registerProcessor(t.PRIORITY.PROCESSOR.SERIES_FILTER, legendFilter),
1500
+ t.registerComponentModel(me), t.registerComponentView(xe), t.registerProcessor(t.PRIORITY.PROCESSOR.SERIES_FILTER, legendFilter),
1501
1501
  t.registerSubTypeDefaulter("legend", (function() {
1502
1502
  return "plain";
1503
1503
  })), function(t) {
@@ -1528,7 +1528,7 @@ function install$3(t) {
1528
1528
  }(t);
1529
1529
  }
1530
1530
 
1531
- var xe = /** @class */ function(t) {
1531
+ var Se = /** @class */ function(t) {
1532
1532
  function ScrollableLegendModel() {
1533
1533
  var e = null !== t && t.apply(this, arguments) || this;
1534
1534
  return e.type = ScrollableLegendModel.type, e;
@@ -1546,7 +1546,7 @@ var xe = /** @class */ function(t) {
1546
1546
  */
1547
1547
  ScrollableLegendModel.prototype.mergeOption = function(e, i) {
1548
1548
  t.prototype.mergeOption.call(this, e, i), mergeAndNormalizeLayoutParams(this, this.option, e);
1549
- }, ScrollableLegendModel.type = "legend.scroll", ScrollableLegendModel.defaultOption = Lt(ge.defaultOption, {
1549
+ }, ScrollableLegendModel.type = "legend.scroll", ScrollableLegendModel.defaultOption = Lt(me.defaultOption, {
1550
1550
  scrollDataIndex: 0,
1551
1551
  pageButtonItemGap: 5,
1552
1552
  pageButtonGap: null,
@@ -1564,7 +1564,7 @@ var xe = /** @class */ function(t) {
1564
1564
  },
1565
1565
  animationDurationUpdate: 800
1566
1566
  }), ScrollableLegendModel;
1567
- }(ge);
1567
+ }(me);
1568
1568
 
1569
1569
  // Do not `ignoreSize` to enable setting {left: 10, right: 10}.
1570
1570
  function mergeAndNormalizeLayoutParams(t, e, i) {
@@ -1575,15 +1575,15 @@ function mergeAndNormalizeLayoutParams(t, e, i) {
1575
1575
  });
1576
1576
  }
1577
1577
 
1578
- var Se = dt, Te = [ "width", "height" ], Me = [ "x", "y" ], Le = /** @class */ function(t) {
1578
+ var Te = dt, Me = [ "width", "height" ], Le = [ "x", "y" ], Ce = /** @class */ function(t) {
1579
1579
  function ScrollableLegendView() {
1580
1580
  var e = null !== t && t.apply(this, arguments) || this;
1581
1581
  return e.type = ScrollableLegendView.type, e.newlineDisabled = !0, e._currentIndex = 0,
1582
1582
  e;
1583
1583
  }
1584
1584
  return d(ScrollableLegendView, t), ScrollableLegendView.prototype.init = function() {
1585
- t.prototype.init.call(this), this.group.add(this._containerGroup = new Se), this._containerGroup.add(this.getContentGroup()),
1586
- this.group.add(this._controllerGroup = new Se);
1585
+ t.prototype.init.call(this), this.group.add(this._containerGroup = new Te), this._containerGroup.add(this.getContentGroup()),
1586
+ this.group.add(this._controllerGroup = new Te);
1587
1587
  },
1588
1588
  /**
1589
1589
  * @override
@@ -1634,11 +1634,11 @@ var Se = dt, Te = [ "width", "height" ], Me = [ "x", "y" ], Le = /** @class */ f
1634
1634
  * @override
1635
1635
  */
1636
1636
  ScrollableLegendView.prototype.layoutInner = function(t, e, i, n, o, a) {
1637
- var r = this.getSelectorGroup(), s = t.getOrient().index, l = Te[s], c = Me[s], h = Te[1 - s], d = Me[1 - s];
1638
- o && yt(
1637
+ var r = this.getSelectorGroup(), s = t.getOrient().index, l = Me[s], c = Le[s], h = Me[1 - s], d = Le[1 - s];
1638
+ o && wt(
1639
1639
  // Buttons in selectorGroup always layout horizontally
1640
1640
  "horizontal", r, t.get("selectorItemGap", !0));
1641
- var u = t.get("selectorButtonGap", !0), f = r.getBoundingRect(), p = [ -f.x, -f.y ], v = Y(i);
1641
+ var u = t.get("selectorButtonGap", !0), f = r.getBoundingRect(), p = [ -f.x, -f.y ], v = E(i);
1642
1642
  o && (v[l] = i[l] - f[l] - u);
1643
1643
  var g = this._layoutContentAndController(t, n, v, s, l, h, d, c);
1644
1644
  if (o) {
@@ -1653,8 +1653,8 @@ var Se = dt, Te = [ "width", "height" ], Me = [ "x", "y" ], Le = /** @class */ f
1653
1653
  }, ScrollableLegendView.prototype._layoutContentAndController = function(t, e, i, n, o, a, r, s) {
1654
1654
  var l = this.getContentGroup(), c = this._containerGroup, d = this._controllerGroup;
1655
1655
  // Place items in contentGroup.
1656
- yt(t.get("orient"), l, t.get("itemGap"), n ? i.width : null, n ? null : i.height),
1657
- yt(
1656
+ wt(t.get("orient"), l, t.get("itemGap"), n ? i.width : null, n ? null : i.height),
1657
+ wt(
1658
1658
  // Buttons in controller are layout always horizontally.
1659
1659
  "horizontal", d, t.get("pageButtonItemGap", !0));
1660
1660
  var u = l.getBoundingRect(), f = d.getBoundingRect(), p = this._showController = u[o] > i[o], v = [ -u.x, -u.y ];
@@ -1673,24 +1673,24 @@ var Se = dt, Te = [ "width", "height" ], Me = [ "x", "y" ], Le = /** @class */ f
1673
1673
  // Calculate `mainRect` and set `clipPath`.
1674
1674
  // mainRect should not be calculated by `this.group.getBoundingRect()`
1675
1675
  // for sake of the overflow.
1676
- var w = {
1676
+ var y = {
1677
1677
  x: 0,
1678
1678
  y: 0
1679
1679
  };
1680
1680
  // Consider content may be overflow (should be clipped).
1681
- if (w[o] = p ? i[o] : u[o], w[a] = Math.max(u[a], f[a]),
1681
+ if (y[o] = p ? i[o] : u[o], y[a] = Math.max(u[a], f[a]),
1682
1682
  // `containerRect[yx] + containerPos[1 - orientIdx]` is 0.
1683
- w[r] = Math.min(0, f[r] + m[1 - n]), c.__rectSize = i[o], p) {
1684
- var y = {
1683
+ y[r] = Math.min(0, f[r] + m[1 - n]), c.__rectSize = i[o], p) {
1684
+ var w = {
1685
1685
  x: 0,
1686
1686
  y: 0
1687
1687
  };
1688
- y[o] = Math.max(i[o] - f[o] - b, 0), y[a] = w[a], c.setClipPath(new h({
1689
- shape: y
1688
+ w[o] = Math.max(i[o] - f[o] - b, 0), w[a] = y[a], c.setClipPath(new h({
1689
+ shape: w
1690
1690
  })),
1691
1691
  // Consider content may be larger than container, container rect
1692
1692
  // can not be obtained from `containerGroup.getBoundingRect()`.
1693
- c.__rectSize = y[o];
1693
+ c.__rectSize = w[o];
1694
1694
  } else
1695
1695
  // Do not remove or ignore controller. Keep them set as placeholders.
1696
1696
  d.eachChild((function(t) {
@@ -1707,7 +1707,7 @@ var Se = dt, Te = [ "width", "height" ], Me = [ "x", "y" ], Le = /** @class */ f
1707
1707
  },
1708
1708
  // When switch from "show controller" to "not show controller", view should be
1709
1709
  // updated immediately without animation, otherwise causes weird effect.
1710
- p ? t : null), this._updatePageInfoView(t, x), w;
1710
+ p ? t : null), this._updatePageInfoView(t, x), y;
1711
1711
  }, ScrollableLegendView.prototype._pageGo = function(t, e, i) {
1712
1712
  var n = this._getPageInfo(e)[t];
1713
1713
  null != n && i.dispatchAction({
@@ -1737,7 +1737,7 @@ var Se = dt, Te = [ "width", "height" ], Me = [ "x", "y" ], Le = /** @class */ f
1737
1737
  * }
1738
1738
  */
1739
1739
  ScrollableLegendView.prototype._getPageInfo = function(t) {
1740
- var e = t.get("scrollDataIndex", !0), i = this.getContentGroup(), n = this._containerGroup.__rectSize, o = t.getOrient().index, a = Te[o], r = Me[o], s = this._findTargetItemIndex(e), l = i.children(), c = l[s], h = l.length, d = h ? 1 : 0, u = {
1740
+ var e = t.get("scrollDataIndex", !0), i = this.getContentGroup(), n = this._containerGroup.__rectSize, o = t.getOrient().index, a = Me[o], r = Le[o], s = this._findTargetItemIndex(e), l = i.children(), c = l[s], h = l.length, d = h ? 1 : 0, u = {
1741
1741
  contentPosition: [ i.x, i.y ],
1742
1742
  pageCount: d,
1743
1743
  pageIndex: d - 1,
@@ -1793,10 +1793,10 @@ var Se = dt, Te = [ "width", "height" ], Me = [ "x", "y" ], Le = /** @class */ f
1793
1793
  })), null != e ? e : i) : 0;
1794
1794
  var e, i;
1795
1795
  }, ScrollableLegendView.type = "legend.scroll", ScrollableLegendView;
1796
- }(ye);
1796
+ }(xe);
1797
1797
 
1798
1798
  function install$2(t) {
1799
- it(install$3), t.registerComponentModel(xe), t.registerComponentView(Le),
1799
+ it(install$3), t.registerComponentModel(Se), t.registerComponentView(Ce),
1800
1800
  /*
1801
1801
  * Licensed to the Apache Software Foundation (ASF) under one
1802
1802
  * or more contributor license agreements. See the NOTICE file
@@ -1856,7 +1856,7 @@ function install$2(t) {
1856
1856
  }(t);
1857
1857
  }
1858
1858
 
1859
- var Ce = 2 * Math.PI, Ie = Math.PI / 180;
1859
+ var Ie = 2 * Math.PI, ke = Math.PI / 180;
1860
1860
 
1861
1861
  function getViewRect(t, e) {
1862
1862
  return q(t.getBoxLayoutParams(), {
@@ -1885,18 +1885,18 @@ function getBasicPieLayout(t, e) {
1885
1885
 
1886
1886
  function pieLayout(t, e, i) {
1887
1887
  e.eachSeriesByType(t, (function(t) {
1888
- var e = t.getData(), n = e.mapDimension("value"), o = getViewRect(t, i), a = getBasicPieLayout(t, i), r = a.cx, s = a.cy, l = a.r, c = a.r0, h = -t.get("startAngle") * Ie, d = t.get("endAngle"), u = t.get("padAngle") * Ie;
1889
- d = "auto" === d ? h - Ce : -d * Ie;
1890
- var f = t.get("minAngle") * Ie + u, p = 0;
1888
+ var e = t.getData(), n = e.mapDimension("value"), o = getViewRect(t, i), a = getBasicPieLayout(t, i), r = a.cx, s = a.cy, l = a.r, c = a.r0, h = -t.get("startAngle") * ke, d = t.get("endAngle"), u = t.get("padAngle") * ke;
1889
+ d = "auto" === d ? h - Ie : -d * ke;
1890
+ var f = t.get("minAngle") * ke + u, p = 0;
1891
1891
  e.each(n, (function(t) {
1892
1892
  !isNaN(t) && p++;
1893
1893
  }));
1894
- var v = e.getSum(n), g = Math.PI / (v || p) * 2, m = t.get("clockwise"), b = t.get("roseType"), w = t.get("stillShowZeroSum"), y = e.getDataExtent(n);
1894
+ var v = e.getSum(n), g = Math.PI / (v || p) * 2, m = t.get("clockwise"), b = t.get("roseType"), y = t.get("stillShowZeroSum"), w = e.getDataExtent(n);
1895
1895
  // Sum may be 0
1896
- y[0] = 0;
1896
+ w[0] = 0;
1897
1897
  var x = m ? 1 : -1, S = [ h, d ], T = x * u / 2;
1898
1898
  At(S, !m), h = S[0], d = S[1];
1899
- var M = ke(t);
1899
+ var M = Ae(t);
1900
1900
  M.startAngle = h, M.endAngle = d, M.clockwise = m;
1901
1901
  var L = Math.abs(d - h), C = L, I = 0, k = h;
1902
1902
  // In the case some sector angle is smaller than minAngle
@@ -1919,7 +1919,7 @@ function pieLayout(t, e, i) {
1919
1919
  }); else {
1920
1920
  (
1921
1921
  // FIXME 兼容 2.0 但是 roseType 是 area 的时候才是这样?
1922
- n = "area" !== b ? 0 === v && w ? g : t * g : L / p) < f ? (n = f, C -= f) : I += t;
1922
+ n = "area" !== b ? 0 === v && y ? g : t * g : L / p) < f ? (n = f, C -= f) : I += t;
1923
1923
  var o = k + x * n, a = 0, h = 0;
1924
1924
  // calculate display angle
1925
1925
  u > n ? h = a = k + x * n / 2 : (a = k + T, h = o - T), e.setItemLayout(i, {
@@ -1930,10 +1930,10 @@ function pieLayout(t, e, i) {
1930
1930
  cx: r,
1931
1931
  cy: s,
1932
1932
  r0: c,
1933
- r: b ? Vt(t, y, [ c, l ]) : l
1933
+ r: b ? Vt(t, w, [ c, l ]) : l
1934
1934
  }), k = o;
1935
1935
  }
1936
- })), C < Ce && p)
1936
+ })), C < Ie && p)
1937
1937
  // Average the angle if rest angle is not enough after all angles is
1938
1938
  // Constrained by minAngle and padAngle
1939
1939
  if (C <= .001) {
@@ -1957,7 +1957,7 @@ function pieLayout(t, e, i) {
1957
1957
  }));
1958
1958
  }
1959
1959
 
1960
- var ke = Pt();
1960
+ var Ae = Pt();
1961
1961
 
1962
1962
  /*
1963
1963
  * Licensed to the Apache Software Foundation (ASF) under one
@@ -1997,7 +1997,7 @@ var ke = Pt();
1997
1997
  * KIND, either express or implied. See the License for the
1998
1998
  * specific language governing permissions and limitations
1999
1999
  * under the License.
2000
- */ var Ae = Math.PI / 180;
2000
+ */ var Pe = Math.PI / 180;
2001
2001
 
2002
2002
  function adjustSingleSide(t, e, i, n, o, a, r, s, l, c) {
2003
2003
  if (!(t.length < 2)) {
@@ -2082,12 +2082,12 @@ function isPositionCenter(t) {
2082
2082
  }
2083
2083
 
2084
2084
  function pieLabelLayout(t) {
2085
- var e, i, n = t.getData(), o = [], a = !1, r = (t.get("minShowLabelAngle") || 0) * Ae, s = n.getLayout("viewRect"), l = n.getLayout("r"), c = s.width, h = s.x, d = s.y, u = s.height;
2085
+ var e, i, n = t.getData(), o = [], a = !1, r = (t.get("minShowLabelAngle") || 0) * Pe, s = n.getLayout("viewRect"), l = n.getLayout("r"), c = s.width, h = s.x, d = s.y, u = s.height;
2086
2086
  function setNotShow(t) {
2087
2087
  t.ignore = !0;
2088
2088
  }
2089
2089
  n.each((function(t) {
2090
- var s = n.getItemGraphicEl(t), d = s.shape, u = s.getTextContent(), f = s.getTextGuideLine(), p = n.getItemModel(t), v = p.getModel("label"), g = v.get("position") || p.get([ "emphasis", "label", "position" ]), m = v.get("distanceToLabelLine"), b = v.get("alignTo"), w = _(v.get("edgeDistance"), c), y = v.get("bleedMargin"), x = p.getModel("labelLine"), T = x.get("length");
2090
+ var s = n.getItemGraphicEl(t), d = s.shape, u = s.getTextContent(), f = s.getTextGuideLine(), p = n.getItemModel(t), v = p.getModel("label"), g = v.get("position") || p.get([ "emphasis", "label", "position" ]), m = v.get("distanceToLabelLine"), b = v.get("alignTo"), y = _(v.get("edgeDistance"), c), w = v.get("bleedMargin"), x = p.getModel("labelLine"), T = x.get("length");
2091
2091
  T = _(T, c);
2092
2092
  var M = x.get("length2");
2093
2093
  if (M = _(M, c), Math.abs(d.endAngle - d.startAngle) < r) return S(u.states, setNotShow),
@@ -2104,9 +2104,9 @@ function pieLabelLayout(t) {
2104
2104
  var D = (z ? (d.r + d.r0) / 2 * P : d.r * P) + e, N = (z ? (d.r + d.r0) / 2 * V : d.r * V) + i;
2105
2105
  if (L = D + 3 * P, C = N + 3 * V, !z) {
2106
2106
  // For roseType
2107
- var R = D + P * (T + l - d.r), O = N + V * (T + l - d.r), H = R + (P < 0 ? -1 : 1) * M;
2107
+ var R = D + P * (T + l - d.r), H = N + V * (T + l - d.r), O = R + (P < 0 ? -1 : 1) * M;
2108
2108
  // Adjust textX because text align of edge is opposite
2109
- L = "edge" === b ? P < 0 ? h + w : h + c - w : H + (P < 0 ? -m : m), C = O, I = [ [ D, N ], [ R, O ], [ H, O ] ];
2109
+ L = "edge" === b ? P < 0 ? h + y : h + c - y : O + (P < 0 ? -m : m), C = H, I = [ [ D, N ], [ R, H ], [ O, H ] ];
2110
2110
  }
2111
2111
  k = z ? "center" : "edge" === b ? P > 0 ? "right" : "left" : P > 0 ? "left" : "right";
2112
2112
  }
@@ -2127,11 +2127,11 @@ function pieLabelLayout(t) {
2127
2127
  var X = u.states.select;
2128
2128
  X && (X.x += u.x, X.y += u.y);
2129
2129
  } else {
2130
- var G = u.getBoundingRect().clone();
2131
- G.applyTransform(u.getComputedTransform());
2130
+ var Y = u.getBoundingRect().clone();
2131
+ Y.applyTransform(u.getComputedTransform());
2132
2132
  // Text has a default 1px stroke. Exclude this.
2133
- var Y = (u.style.margin || 0) + 2.1;
2134
- G.y -= Y / 2, G.height += Y, o.push({
2133
+ var E = (u.style.margin || 0) + 2.1;
2134
+ Y.y -= E / 2, Y.height += E, o.push({
2135
2135
  label: u,
2136
2136
  labelLine: f,
2137
2137
  position: g,
@@ -2144,10 +2144,10 @@ function pieLabelLayout(t) {
2144
2144
  textAlign: k,
2145
2145
  labelDistance: m,
2146
2146
  labelAlignTo: b,
2147
- edgeDistance: w,
2148
- bleedMargin: y,
2149
- rect: G,
2150
- unconstrainedWidth: G.width,
2147
+ edgeDistance: y,
2148
+ bleedMargin: w,
2149
+ rect: Y,
2150
+ unconstrainedWidth: Y.width,
2151
2151
  labelStyleWidth: u.style.width
2152
2152
  });
2153
2153
  }
@@ -2173,7 +2173,7 @@ function pieLabelLayout(t) {
2173
2173
  var g;
2174
2174
  if (!isPositionCenter(g = t[u]) && g.linePoints) {
2175
2175
  f = g.label, p = g.linePoints;
2176
- var m = "edge" === g.labelAlignTo, b = f.style.padding, w = b ? b[1] + b[3] : 0, y = f.style.backgroundColor ? 0 : w, x = g.rect.width + y, S = p[1][0] - p[2][0];
2176
+ var m = "edge" === g.labelAlignTo, b = f.style.padding, y = b ? b[1] + b[3] : 0, w = f.style.backgroundColor ? 0 : y, x = g.rect.width + w, S = p[1][0] - p[2][0];
2177
2177
  m ? f.x < e ? p[2][0] = r + g.edgeDistance + x + g.labelDistance : p[2][0] = r + o - g.edgeDistance - x - g.labelDistance : (f.x < e ? p[2][0] = f.x + g.labelDistance : p[2][0] = f.x - g.labelDistance,
2178
2178
  p[1][0] = p[2][0] + S), p[1][1] = p[2][1] = f.y;
2179
2179
  }
@@ -2189,14 +2189,14 @@ function pieLabelLayout(t) {
2189
2189
  b && (b.x += v.x, b.y += v.y);
2190
2190
  }
2191
2191
  if (g) {
2192
- var w = p.linePoints;
2193
- m || !w ? (S(g.states, setNotShow), g.ignore = !0) : (ee(w, p.minTurnAngle), ie(w, p.surfaceNormal, p.maxSurfaceAngle),
2192
+ var y = p.linePoints;
2193
+ m || !y ? (S(g.states, setNotShow), g.ignore = !0) : (ie(y, p.minTurnAngle), ne(y, p.surfaceNormal, p.maxSurfaceAngle),
2194
2194
  g.setShape({
2195
- points: w
2195
+ points: y
2196
2196
  }),
2197
2197
  // Set the anchor to the midpoint of sector
2198
2198
  v.__hostTarget.textGuideLineConfig = {
2199
- anchor: new zt(w[0][0], w[0][1])
2199
+ anchor: new zt(y[0][0], y[0][1])
2200
2200
  });
2201
2201
  }
2202
2202
  }
@@ -2204,7 +2204,7 @@ function pieLabelLayout(t) {
2204
2204
 
2205
2205
  /**
2206
2206
  * Piece of pie including Sector, Label, LabelLine
2207
- */ var Pe = /** @class */ function(t) {
2207
+ */ var Ve = /** @class */ function(t) {
2208
2208
  function PiePiece(e, i, n) {
2209
2209
  var o = t.call(this) || this;
2210
2210
  o.z2 = 2;
@@ -2212,7 +2212,7 @@ function pieLabelLayout(t) {
2212
2212
  return o.setTextContent(a), o.updateData(e, i, n, !0), o;
2213
2213
  }
2214
2214
  return d(PiePiece, t), PiePiece.prototype.updateData = function(t, e, i, n) {
2215
- var o = this, a = t.hostModel, r = t.getItemModel(e), s = r.getModel("emphasis"), l = t.getItemLayout(e), c = et(ne(r.getModel("itemStyle"), l, !0), l);
2215
+ var o = this, a = t.hostModel, r = t.getItemModel(e), s = r.getModel("emphasis"), l = t.getItemLayout(e), c = et(oe(r.getModel("itemStyle"), l, !0), l);
2216
2216
  // Ignore NaN data.
2217
2217
  if (isNaN(c.startAngle))
2218
2218
  // Use NaN shape to avoid drawing shape.
@@ -2223,20 +2223,20 @@ function pieLabelLayout(t) {
2223
2223
  a.ecModel.ssr ? (
2224
2224
  // Use scale animation in SSR mode(opacity?)
2225
2225
  // Because CSS SVG animation doesn't support very customized shape animation.
2226
- Ht(o, {
2226
+ Ot(o, {
2227
2227
  scaleX: 0,
2228
2228
  scaleY: 0
2229
2229
  }, a, {
2230
2230
  dataIndex: e,
2231
2231
  isFrom: !0
2232
- }), o.originX = c.cx, o.originY = c.cy) : "scale" === h ? (o.shape.r = l.r0, Ht(o, {
2232
+ }), o.originX = c.cx, o.originY = c.cy) : "scale" === h ? (o.shape.r = l.r0, Ot(o, {
2233
2233
  shape: {
2234
2234
  r: l.r
2235
2235
  }
2236
2236
  }, a, e)) : null != i ? (o.setShape({
2237
2237
  startAngle: i,
2238
2238
  endAngle: i
2239
- }), Ht(o, {
2239
+ }), Ot(o, {
2240
2240
  shape: {
2241
2241
  startAngle: l.startAngle,
2242
2242
  endAngle: l.endAngle
@@ -2255,12 +2255,12 @@ function pieLabelLayout(t) {
2255
2255
  var d = (l.startAngle + l.endAngle) / 2, u = a.get("selectedOffset"), f = Math.cos(d) * u, p = Math.sin(d) * u, v = r.getShallow("cursor");
2256
2256
  v && o.attr("cursor", v), this._updateLabel(a, t, e), o.ensureState("emphasis").shape = et({
2257
2257
  r: l.r + (s.get("scale") && s.get("scaleSize") || 0)
2258
- }, ne(s.getModel("itemStyle"), l)), et(o.ensureState("select"), {
2258
+ }, oe(s.getModel("itemStyle"), l)), et(o.ensureState("select"), {
2259
2259
  x: f,
2260
2260
  y: p,
2261
- shape: ne(r.getModel([ "select", "itemStyle" ]), l)
2261
+ shape: oe(r.getModel([ "select", "itemStyle" ]), l)
2262
2262
  }), et(o.ensureState("blur"), {
2263
- shape: ne(r.getModel([ "blur", "itemStyle" ]), l)
2263
+ shape: oe(r.getModel([ "blur", "itemStyle" ]), l)
2264
2264
  });
2265
2265
  var g = o.getTextGuideLine(), m = o.getTextContent();
2266
2266
  g && et(g.ensureState("select"), {
@@ -2299,13 +2299,13 @@ function pieLabelLayout(t) {
2299
2299
  var d = this.getTextGuideLine();
2300
2300
  d || (d = new Xt, this.setTextGuideLine(d)),
2301
2301
  // Default use item visual color
2302
- oe(this, ae(o), {
2302
+ ae(this, re(o), {
2303
2303
  stroke: s,
2304
- opacity: Gt(a.get([ "lineStyle", "opacity" ]), l, 1)
2304
+ opacity: Yt(a.get([ "lineStyle", "opacity" ]), l, 1)
2305
2305
  });
2306
2306
  }
2307
2307
  }, PiePiece;
2308
- }(Nt), Ve = /** @class */ function(t) {
2308
+ }(Nt), ze = /** @class */ function(t) {
2309
2309
  function PieView() {
2310
2310
  var e = null !== t && t.apply(this, arguments) || this;
2311
2311
  return e.ignoreLabelLineUpdate = !0, e;
@@ -2320,14 +2320,14 @@ function pieLabelLayout(t) {
2320
2320
  // remove empty-circle if it exists
2321
2321
  // when all data are filtered, show lightgray empty circle
2322
2322
  if (this._emptyCircleSector && s.remove(this._emptyCircleSector), 0 === a.count() && t.get("showEmptyCircle")) {
2323
- var h = ke(t), d = new Nt({
2323
+ var h = Ae(t), d = new Nt({
2324
2324
  shape: et(getBasicPieLayout(t, i), h)
2325
2325
  });
2326
2326
  d.useStyle(t.getModel("emptyCircleStyle").getItemStyle()), this._emptyCircleSector = d,
2327
2327
  s.add(d);
2328
2328
  }
2329
2329
  a.diff(r).add((function(t) {
2330
- var e = new Pe(a, t, o);
2330
+ var e = new Ve(a, t, o);
2331
2331
  a.setItemGraphicEl(t, e), s.add(e);
2332
2332
  })).update((function(t, e) {
2333
2333
  var i = r.getItemGraphicEl(e);
@@ -2345,7 +2345,7 @@ function pieLabelLayout(t) {
2345
2345
  return a <= i.r && a >= i.r0;
2346
2346
  }
2347
2347
  }, PieView.type = "pie", PieView;
2348
- }(Ot);
2348
+ }(Ht);
2349
2349
 
2350
2350
  // Pie view
2351
2351
  /*
@@ -2391,7 +2391,7 @@ function pieLabelLayout(t) {
2391
2391
  * LegendVisualProvider is an bridge that pick encoded color from data and
2392
2392
  * provide to the legend component.
2393
2393
  */
2394
- var ze = /** @class */ function() {
2394
+ var De = /** @class */ function() {
2395
2395
  function LegendVisualProvider(
2396
2396
  // Function to get data after filtered. It stores all the encoding info
2397
2397
  t,
@@ -2411,7 +2411,7 @@ var ze = /** @class */ function() {
2411
2411
  }, LegendVisualProvider.prototype.getItemVisual = function(t, e) {
2412
2412
  return this._getDataWithEncodedVisual().getItemVisual(t, e);
2413
2413
  }, LegendVisualProvider;
2414
- }(), De = Pt(), Ne = /** @class */ function(t) {
2414
+ }(), Ne = Pt(), Re = /** @class */ function(t) {
2415
2415
  function PieSeriesModel() {
2416
2416
  return null !== t && t.apply(this, arguments) || this;
2417
2417
  }
@@ -2421,7 +2421,7 @@ var ze = /** @class */ function() {
2421
2421
  t.prototype.init.apply(this, arguments),
2422
2422
  // Enable legend selection for each data item
2423
2423
  // Use a function instead of direct access because data reference may changed
2424
- this.legendVisualProvider = new ze(T(this.getData, this), T(this.getRawData, this)),
2424
+ this.legendVisualProvider = new De(T(this.getData, this), T(this.getRawData, this)),
2425
2425
  this._defaultLabelLine(e);
2426
2426
  },
2427
2427
  /**
@@ -2450,18 +2450,18 @@ var ze = /** @class */ function() {
2450
2450
  } || et({
2451
2451
  encodeDefine: t.getEncode()
2452
2452
  }, e);
2453
- var n = t.getSource(), o = Yt(n, e).dimensions, a = new $t(o, t);
2453
+ var n = t.getSource(), o = Et(n, e).dimensions, a = new Gt(o, t);
2454
2454
  return a.initData(n, i), a;
2455
2455
  }(this, {
2456
2456
  coordDimensions: [ "value" ],
2457
- encodeDefaulter: ft(Et, this)
2457
+ encodeDefaulter: ft($t, this)
2458
2458
  });
2459
2459
  },
2460
2460
  /**
2461
2461
  * @overwrite
2462
2462
  */
2463
2463
  PieSeriesModel.prototype.getDataParams = function(e) {
2464
- var i = this.getData(), n = De(i), o = n.seats;
2464
+ var i = this.getData(), n = Ne(i), o = n.seats;
2465
2465
  // update seats when data is changed
2466
2466
  if (!o) {
2467
2467
  var a = [];
@@ -2577,7 +2577,7 @@ var ze = /** @class */ function() {
2577
2577
  }(qt);
2578
2578
 
2579
2579
  it([ function(t) {
2580
- it(nt), t.registerComponentModel(se), t.registerComponentView(ve),
2580
+ it(nt), t.registerComponentModel(le), t.registerComponentView(ge),
2581
2581
  /**
2582
2582
  * @action
2583
2583
  * @property {string} type
@@ -2598,7 +2598,7 @@ it([ function(t) {
2598
2598
  }, function(t) {
2599
2599
  it(install$3), it(install$2);
2600
2600
  }, function(t) {
2601
- t.registerChartView(Ve), t.registerSeriesModel(Ne), Kt("pie", t.registerAction),
2601
+ t.registerChartView(ze), t.registerSeriesModel(Re), Kt("pie", t.registerAction),
2602
2602
  t.registerLayout(ft(pieLayout, "pie")), t.registerProcessor({
2603
2603
  seriesType: "pie",
2604
2604
  reset: function(t, e) {
@@ -2629,9 +2629,9 @@ it([ function(t) {
2629
2629
  }
2630
2630
  };
2631
2631
  }("pie"));
2632
- }, Zt, Jt, re ]);
2632
+ }, Jt, Zt, se ]);
2633
2633
 
2634
- const Re = class {
2634
+ const He = class {
2635
2635
  constructor(i) {
2636
2636
  t(this, i), this.change = e(this, "change", 7), this.click = e(this, "click", 7),
2637
2637
  this.tctChange = e(this, "tctChange", 7), this.tctClick = e(this, "tctClick", 7),
@@ -2639,7 +2639,7 @@ const Re = class {
2639
2639
  id: null,
2640
2640
  value: null,
2641
2641
  name: null
2642
- },
2642
+ }, this.keyboardAnnouncement = "",
2643
2643
  /** An array of objects that contain the data to be displayed. */
2644
2644
  this.data = [],
2645
2645
  /** The amount which the slice will scale when hovered. */
@@ -2678,11 +2678,11 @@ const Re = class {
2678
2678
  l(this, [ "click", "tctClick" ], i);
2679
2679
  }, this.onButtonKeyDown = t => {
2680
2680
  const {selectedId: e, data: i} = this;
2681
+ if (!i.length || t.altKey || t.ctrlKey || t.metaKey || t.shiftKey) return;
2681
2682
  let n = this.getIndexById(e) || 0;
2682
2683
  switch (t.key) {
2683
2684
  case "ArrowUp":
2684
2685
  case "ArrowDown":
2685
- case " ":
2686
2686
  t.preventDefault();
2687
2687
  break;
2688
2688
 
@@ -2703,12 +2703,24 @@ const Re = class {
2703
2703
  break;
2704
2704
 
2705
2705
  case "Escape":
2706
- this.clearSelection();
2706
+ return t.preventDefault(), this.clearSelection(), void (this.keyboardAnnouncement = o(this.summaryName || "tecton.element.chartDonut.button.summaryName"));
2707
+
2708
+ case "Home":
2709
+ case "End":
2710
+ t.preventDefault(), n = "Home" === t.key ? 0 : i.length - 1, this.chart.dispatchAction({
2711
+ type: "select",
2712
+ seriesId: "pie",
2713
+ dataIndex: n
2714
+ });
2707
2715
  break;
2708
2716
 
2709
2717
  default:
2710
2718
  return;
2711
2719
  }
2720
+ if ([ "ArrowLeft", "ArrowRight", "Home", "End" ].includes(t.key)) {
2721
+ const t = i[n];
2722
+ this.keyboardAnnouncement = Qt(t.name, this.displayValue(t.value), n, i.length);
2723
+ }
2712
2724
  }, this.onClickElsewhere = t => {
2713
2725
  t.stopPropagation(), this.clearSelection();
2714
2726
  }, this.onContainerClick = t => {
@@ -2766,17 +2778,17 @@ const Re = class {
2766
2778
  this.hoveredId = null, this.selectedId = null;
2767
2779
  }
2768
2780
  componentDidLoad() {
2769
- const t = Qt(this.chartContainer);
2781
+ const t = te(this.chartContainer);
2770
2782
  this.cacheComputedStyles(), this.colors = this.getColors(), this.resizeObserver = new ResizeObserver((() => this.resizeChart())),
2771
2783
  this.resizeObserver.observe(this.hostElement), this.updateChart(t), this.setupChartEvents(t),
2772
2784
  this.checkSelectedId(), this.chart = t, this.setLegendData(), this.selectById(this.selectedId),
2773
- o(this.hostElement);
2785
+ a(this.hostElement);
2774
2786
  }
2775
2787
  // #endregion
2776
2788
  // #region Listeners
2777
2789
  delegateFocus(t) {
2778
- var e;
2779
- a(t, this.hostElement) && this.isClickable && (null === (e = this.centerButtonElement) || void 0 === e || e.focus());
2790
+ var e, i;
2791
+ r(t, this.hostElement) && (this.isClickable ? null === (e = this.centerButtonElement) || void 0 === e || e.focus() : this.data.length && (null === (i = this.chartContainer) || void 0 === i || i.focus()));
2780
2792
  }
2781
2793
  // #endregion
2782
2794
  // #region Public Methods API
@@ -2835,7 +2847,8 @@ const Re = class {
2835
2847
  this.chart && this.updateChart(this.chart);
2836
2848
  }
2837
2849
  dataUpdated() {
2838
- this.chart && (this.colors = this.getColors(), this.updateChart(this.chart), this.setLegendData());
2850
+ this.keyboardAnnouncement = "", this.chart && (this.colors = this.getColors(), this.updateChart(this.chart),
2851
+ this.setLegendData());
2839
2852
  }
2840
2853
  innerRadiusUpdated() {
2841
2854
  const {innerRadius: t, outerRadius: e} = this, i = parseFloat(t), n = parseFloat(e);
@@ -2868,7 +2881,7 @@ const Re = class {
2868
2881
  ...this.getDataById(i),
2869
2882
  color: this.colors[n]
2870
2883
  } : {
2871
- name: r(this.summaryName || "tecton.element.chartDonut.button.summaryName"),
2884
+ name: o(this.summaryName || "tecton.element.chartDonut.button.summaryName"),
2872
2885
  icon: this.summaryIcon,
2873
2886
  value: e.reduce(((t, e) => t + e.value), 0),
2874
2887
  color: null
@@ -2895,7 +2908,7 @@ const Re = class {
2895
2908
  const t = [ 1, 3, 8, 4, 2, 10, 7, 11, 6, 9, 12, 5 ].map((t => `--comp-color-${t}`));
2896
2909
  return this.data.reduce(((e, i, n) => {
2897
2910
  let o = t[n % t.length];
2898
- return i.color && (o = i.color), e.push(te(o, this.chartContainerStyles, this.hostElementStyles) || o),
2911
+ return i.color && (o = i.color), e.push(ee(o, this.chartContainerStyles, this.hostElementStyles) || o),
2899
2912
  e;
2900
2913
  }), []);
2901
2914
  }
@@ -2959,7 +2972,8 @@ const Re = class {
2959
2972
  }));
2960
2973
  }
2961
2974
  updateChart(t) {
2962
- return this.validateColor(), t.setOption({
2975
+ var e;
2976
+ this.validateColor(), t.setOption({
2963
2977
  tooltip: {
2964
2978
  show: !1
2965
2979
  },
@@ -2998,7 +3012,9 @@ const Re = class {
2998
3012
  minAngle: this.getMinSliceSizeAsAngle(),
2999
3013
  data: this.data
3000
3014
  } ]
3001
- });
3015
+ }),
3016
+ // The clickable variant handles keyboard interaction on its native center button.
3017
+ null === (e = this.chartContainer) || void 0 === e || e.setAttribute("role", this.isClickable ? "img" : "application");
3002
3018
  }
3003
3019
  validateColor() {
3004
3020
  // check if there is name duplicated, then custom style using `itemStyle` object will be used.
@@ -3013,12 +3029,13 @@ const Re = class {
3013
3029
  // #endregion
3014
3030
  // #region Render Methods
3015
3031
  renderCenterBlock() {
3016
- const {icon: t, name: e, value: n, color: o} = this.centerData, {isClickable: a} = this, s = a ? "button" : "div", l = this.displayValue(n), c = a ? {
3032
+ const {icon: t, name: e, value: n, color: a} = this.centerData, {isClickable: r} = this, s = r ? "button" : "div", l = this.displayValue(n), c = r ? {
3017
3033
  onKeyDown: this.onButtonKeyDown,
3034
+ onBlur: () => this.keyboardAnnouncement = "",
3018
3035
  onClick: this.onButtonClick,
3019
3036
  ref: t => this.centerButtonElement = t,
3020
- "aria-describedby": "center-card-description",
3021
- "aria-roledescription": r("tecton.element.chartDonut.button.roleDescription")
3037
+ "aria-describedby": "center-card-description chart-keyboard-instructions",
3038
+ "aria-roledescription": o("tecton.element.chartDonut.button.roleDescription")
3022
3039
  } : null;
3023
3040
  return i("div", {
3024
3041
  class: "center-card-container",
@@ -3029,16 +3046,19 @@ const Re = class {
3029
3046
  }, i("div", {
3030
3047
  id: "center-card-description",
3031
3048
  class: "sr"
3032
- }, r("tecton.element.chartDonut.button.description")), i(s, {
3049
+ }, o("tecton.element.chartDonut.button.description")), i("div", {
3050
+ id: "chart-keyboard-instructions",
3051
+ class: "sr"
3052
+ }, o("tecton.element.chart.keyboardInstructions")), i(s, {
3033
3053
  class: "center-card",
3034
3054
  "test-id": "centerCard",
3035
3055
  ...c
3036
3056
  }, !!t && i("q2-icon", {
3037
3057
  type: t,
3038
- style: o && {
3039
- "--tct-icon-stroke-primary": o,
3040
- "--tct-icon-stroke-secondary": o,
3041
- color: o
3058
+ style: a && {
3059
+ "--tct-icon-stroke-primary": a,
3060
+ "--tct-icon-stroke-secondary": a,
3061
+ color: a
3042
3062
  }
3043
3063
  }), !!e && i("div", {
3044
3064
  class: "name"
@@ -3048,27 +3068,33 @@ const Re = class {
3048
3068
  }
3049
3069
  render() {
3050
3070
  return i("click-elsewhere", {
3051
- key: "27c21f281ef0746c9bd9d7235fa1833df7711e4d",
3071
+ key: "54e5d16621ac527fec69834b2c1cc1e7d2c6540b",
3052
3072
  onChange: this.onClickElsewhere
3053
3073
  }, i("figure", {
3054
- key: "8356a94846a4319b682e3bc3171e6a71afb228f8"
3074
+ key: "61e0c1e30fed4e89816d228c1c190b5bd38991a3"
3055
3075
  }, i("div", {
3056
- key: "a6b016aaa11371fdff673eb8cd7508bb5f3ce852",
3076
+ key: "0685b804780ebdf17d7bfe5956306a027c3c9dba",
3057
3077
  class: "container"
3058
3078
  }, i("div", {
3059
- key: "862baeb8b1c1e096c92d260bc7340666875f9763",
3079
+ key: "458dfa5c6ad8d704de66d4d51461e2d7b28ba13c",
3060
3080
  ref: t => this.chartContainer = t,
3061
- "aria-describedby": this.isClickable ? void 0 : "center-card-description",
3081
+ "aria-describedby": this.isClickable ? void 0 : "center-card-description chart-keyboard-instructions",
3062
3082
  class: "chart-container",
3063
- role: "img",
3083
+ role: this.isClickable ? "img" : "application",
3064
3084
  "test-id": "chartContainer",
3065
3085
  onClick: this.onContainerClick,
3066
- tabIndex: this.isClickable ? void 0 : 0,
3067
- onKeyDown: this.isClickable ? void 0 : this.onButtonKeyDown
3068
- }), this.renderCenterBlock()), this.showLegend && i("figcaption", {
3069
- key: "24f16b0d7afd3a6433c58cd8eb6806785fc938e5"
3086
+ tabIndex: !this.isClickable && this.data.length ? 0 : void 0,
3087
+ onKeyDown: this.isClickable ? void 0 : this.onButtonKeyDown,
3088
+ onBlur: () => this.keyboardAnnouncement = ""
3089
+ }), this.renderCenterBlock(), i("div", {
3090
+ key: "105396c05b8aa162b1c0515cb4b96dadafcca911",
3091
+ class: "sr",
3092
+ role: "status",
3093
+ "aria-atomic": "true"
3094
+ }, this.keyboardAnnouncement)), this.showLegend && i("figcaption", {
3095
+ key: "c6462ae033852ff7fa09d752e4fc8860608448c6"
3070
3096
  }, i("q2-legend", {
3071
- key: "6bd27b69926b77181ab16726bb4e79c91e4dcc37",
3097
+ key: "d8f1ceb9b46392264b306d316d1fb6066b2f5b4d",
3072
3098
  class: "legend",
3073
3099
  data: this.legendData,
3074
3100
  format: this.format,
@@ -3117,6 +3143,6 @@ const Re = class {
3117
3143
  }
3118
3144
  };
3119
3145
 
3120
- Re.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{position:relative;width:100%;display:block}.container{aspect-ratio:1/1;width:100%;display:flex;justify-content:center;align-items:center;position:relative}.chart-container{width:100%;height:100%;--comp-color-1:var(--tct-chart-donut-color-1, var(--t-chart-donut-color-1, var(--t-accent-1, #e05252)));--comp-color-2:var(--tct-chart-donut-color-2, var(--t-chart-donut-color-2, var(--t-accent-2, #e09952)));--comp-color-3:var(--tct-chart-donut-color-3, var(--t-chart-donut-color-3, var(--t-accent-3, #e0e052)));--comp-color-4:var(--tct-chart-donut-color-4, var(--t-chart-donut-color-4, var(--t-accent-4, #99e052)));--comp-color-5:var(--tct-chart-donut-color-5, var(--t-chart-donut-color-5, var(--t-accent-5, #52e052)));--comp-color-6:var(--tct-chart-donut-color-6, var(--t-chart-donut-color-6, var(--t-accent-6, #52e099)));--comp-color-7:var(--tct-chart-donut-color-7, var(--t-chart-donut-color-7, var(--t-accent-7, #52e0e0)));--comp-color-8:var(--tct-chart-donut-color-8, var(--t-chart-donut-color-8, var(--t-accent-8, #5299e0)));--comp-color-9:var(--tct-chart-donut-color-9, var(--t-chart-donut-color-9, var(--t-accent-9, #5252e0)));--comp-color-10:var(--tct-chart-donut-color-10, var(--t-chart-donut-color-10, var(--t-accent-10, #9952e0)));--comp-color-11:var(--tct-chart-donut-color-11, var(--t-chart-donut-color-11, var(--t-accent-11, #e052e0)));--comp-color-12:var(--tct-chart-donut-color-12, var(--t-chart-donut-color-12, var(--t-accent-12, #e05299)))}.chart-container:focus-visible{box-shadow:var(--tct-chart-donut-focus-visible-box-shadow, var(--const-double-focus-ring))}button{--comp-button-padding:var(--tct-chart-donut-button-padding, var(--tct-chart-donut-button-vertical-padding, var(--t-chart-donut-button-vertical-padding, var(--app-scale-1x, 5px))) 0);transition:box-shadow var(--tct-chart-donut-button-tween, var(--t-chart-donut-button-tween, var(--app-tween-1, 0.2s ease)));padding:var(--comp-button-padding)}button:active{box-shadow:var(--const-double-focus-ring), var(--tct-chart-donut-button-hover-box-shadow, var(--t-chart-donut-button-hover-box-shadow, var(--app-shadow-1, 0px 0px 2px rgba(0, 0, 0, 0.12), 0px 2px 4px rgba(0, 0, 0, 0.14))))}button:hover{box-shadow:var(--tct-chart-donut-button-hover-box-shadow, var(--t-chart-donut-button-hover-box-shadow, var(--app-shadow-1, 0px 0px 2px rgba(0, 0, 0, 0.12), 0px 2px 4px rgba(0, 0, 0, 0.14))))}button:focus-visible{box-shadow:var(--const-double-focus-ring), var(--tct-chart-donut-button-hover-box-shadow, var(--t-chart-donut-button-hover-box-shadow, var(--app-shadow-1, 0px 0px 2px rgba(0, 0, 0, 0.12), 0px 2px 4px rgba(0, 0, 0, 0.14))))}.center-card-container{position:absolute;top:50%;transform:translateY(-50%);padding:var(--tct-chart-donut-button-container-padding, var(--t-chart-donut-button-container-padding, var(--app-scale-1x, 5px)));border-radius:50%}.center-card{height:100%;width:100%;text-align:center;color:var(--tct-chart-donut-text-color, var(--t-chart-donut-text-color, inherit));margin-inline:auto;display:flex;flex-direction:column;justify-content:center;align-items:center;border-radius:50%}.center-card:is(button){cursor:pointer;background:var(--tct-chart-donut-button-background, transparent);border:0}.center-card:is(button):hover{background:var(--tct-chart-donut-button-hover-background, transparent)}.center-card:is(button):active{background:var(--tct-chart-donut-button-active-background, transparent)}.center-card:is(button):focus-visible{background:var(--tct-chart-donut-button-focus-background, transparent)}q2-icon{--tct-icon-size:var(--tct-chart-donut-icon-size, var(--t-chart-donut-icon-size, 26px));--comp-icon-margin:var(--tct-chart-donut-icon-margin, 0 0 var(--tct-chart-donut-icon-margin-bottom, var(--t-chart-donut-icon-margin-bottom, var(--app-scale-1x, 5px))));margin:var(--comp-icon-margin)}.name{font-size:var(--tct-chart-donut-name-font-size, var(--t-chart-donut-name-font-size, var(--const-px-14, 14px)))}.value{font-size:var(--tct-chart-donut-value-font-size, var(--t-chart-donut-value-font-size, var(--const-px-21, 21px)))}figure{margin:0}.legend{margin-top:var(--tct-chart-donut-legend-margin-top, var(--app-scale-0x, 0))}';
3146
+ He.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{position:relative;width:100%;display:block}.container{aspect-ratio:1/1;width:100%;display:flex;justify-content:center;align-items:center;position:relative}.chart-container{width:100%;height:100%;--comp-color-1:var(--tct-chart-donut-color-1, var(--t-chart-donut-color-1, var(--t-accent-1, #e05252)));--comp-color-2:var(--tct-chart-donut-color-2, var(--t-chart-donut-color-2, var(--t-accent-2, #e09952)));--comp-color-3:var(--tct-chart-donut-color-3, var(--t-chart-donut-color-3, var(--t-accent-3, #e0e052)));--comp-color-4:var(--tct-chart-donut-color-4, var(--t-chart-donut-color-4, var(--t-accent-4, #99e052)));--comp-color-5:var(--tct-chart-donut-color-5, var(--t-chart-donut-color-5, var(--t-accent-5, #52e052)));--comp-color-6:var(--tct-chart-donut-color-6, var(--t-chart-donut-color-6, var(--t-accent-6, #52e099)));--comp-color-7:var(--tct-chart-donut-color-7, var(--t-chart-donut-color-7, var(--t-accent-7, #52e0e0)));--comp-color-8:var(--tct-chart-donut-color-8, var(--t-chart-donut-color-8, var(--t-accent-8, #5299e0)));--comp-color-9:var(--tct-chart-donut-color-9, var(--t-chart-donut-color-9, var(--t-accent-9, #5252e0)));--comp-color-10:var(--tct-chart-donut-color-10, var(--t-chart-donut-color-10, var(--t-accent-10, #9952e0)));--comp-color-11:var(--tct-chart-donut-color-11, var(--t-chart-donut-color-11, var(--t-accent-11, #e052e0)));--comp-color-12:var(--tct-chart-donut-color-12, var(--t-chart-donut-color-12, var(--t-accent-12, #e05299)))}.chart-container:focus-visible{box-shadow:var(--tct-chart-donut-focus-visible-box-shadow, var(--const-double-focus-ring))}button{--comp-button-padding:var(--tct-chart-donut-button-padding, var(--tct-chart-donut-button-vertical-padding, var(--t-chart-donut-button-vertical-padding, var(--app-scale-1x, 5px))) 0);transition:box-shadow var(--tct-chart-donut-button-tween, var(--t-chart-donut-button-tween, var(--app-tween-1, 0.2s ease)));padding:var(--comp-button-padding)}button:active{box-shadow:var(--const-double-focus-ring), var(--tct-chart-donut-button-hover-box-shadow, var(--t-chart-donut-button-hover-box-shadow, var(--app-shadow-1, 0px 0px 2px rgba(0, 0, 0, 0.12), 0px 2px 4px rgba(0, 0, 0, 0.14))))}button:hover{box-shadow:var(--tct-chart-donut-button-hover-box-shadow, var(--t-chart-donut-button-hover-box-shadow, var(--app-shadow-1, 0px 0px 2px rgba(0, 0, 0, 0.12), 0px 2px 4px rgba(0, 0, 0, 0.14))))}button:focus-visible{box-shadow:var(--const-double-focus-ring), var(--tct-chart-donut-button-hover-box-shadow, var(--t-chart-donut-button-hover-box-shadow, var(--app-shadow-1, 0px 0px 2px rgba(0, 0, 0, 0.12), 0px 2px 4px rgba(0, 0, 0, 0.14))))}.center-card-container{position:absolute;top:50%;transform:translateY(-50%);padding:var(--tct-chart-donut-button-container-padding, var(--t-chart-donut-button-container-padding, var(--app-scale-1x, 5px)));border-radius:50%}.center-card{height:100%;width:100%;text-align:center;color:var(--tct-chart-donut-text-color, var(--t-chart-donut-text-color, inherit));margin-inline:auto;display:flex;flex-direction:column;justify-content:center;align-items:center;border-radius:50%}.center-card:is(button){cursor:pointer;background:var(--tct-chart-donut-button-background, transparent);border:0}.center-card:is(button):hover{background:var(--tct-chart-donut-button-hover-background, transparent)}.center-card:is(button):active{background:var(--tct-chart-donut-button-active-background, transparent)}.center-card:is(button):focus-visible{background:var(--tct-chart-donut-button-focus-background, transparent)}q2-icon{--tct-icon-size:var(--tct-chart-donut-icon-size, var(--t-chart-donut-icon-size, 26px));--comp-icon-margin:var(--tct-chart-donut-icon-margin, 0 0 var(--tct-chart-donut-icon-margin-bottom, var(--t-chart-donut-icon-margin-bottom, var(--app-scale-1x, 5px))));margin:var(--comp-icon-margin)}.name{font-size:var(--tct-chart-donut-name-font-size, var(--t-chart-donut-name-font-size, var(--const-px-14, 14px)))}.value{font-size:var(--tct-chart-donut-value-font-size, var(--t-chart-donut-value-font-size, var(--const-px-21, 21px)))}figure{margin:0}.legend{margin-top:var(--tct-chart-donut-legend-margin-top, var(--app-scale-0x, 0))}';
3121
3147
 
3122
- export { Re as q2_chart_donut }
3148
+ export { He as q2_chart_donut }