q2-tecton-elements 1.72.0 → 1.73.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (392) hide show
  1. package/dist/bundle-report.json +39545 -34361
  2. package/dist/cjs/{charting-ClN1ldqv.js → charting-CdNTrVBe.js} +80 -0
  3. package/dist/cjs/click-elsewhere_3.cjs.entry.js +81 -14
  4. package/dist/cjs/{dataSample-BYR-wrOn.js → dataSample-B4blhlH4.js} +1 -1
  5. package/dist/cjs/date-picker-helpers-UYvPn98R.js +257 -0
  6. package/dist/cjs/{index-BY3aao8R.js → index-BqyWHpNu.js} +1 -1
  7. package/dist/cjs/loader.cjs.js +1 -1
  8. package/dist/cjs/q2-action-group.cjs.entry.js +1 -1
  9. package/dist/cjs/q2-action-sheet.cjs.entry.js +98 -18
  10. package/dist/cjs/q2-avatar.cjs.entry.js +34 -1
  11. package/dist/cjs/q2-badge_2.cjs.entry.js +3 -3
  12. package/dist/cjs/q2-btn_2.cjs.entry.js +2 -2
  13. package/dist/cjs/q2-calendar.cjs.entry.js +9 -4
  14. package/dist/cjs/q2-card-image.cjs.entry.js +3 -3
  15. package/dist/cjs/q2-card.cjs.entry.js +1 -1
  16. package/dist/cjs/q2-carousel-pane.cjs.entry.js +3 -3
  17. package/dist/cjs/q2-carousel.cjs.entry.js +20 -6
  18. package/dist/cjs/q2-chart-area.cjs.entry.js +38 -7
  19. package/dist/cjs/q2-chart-bar.cjs.entry.js +39 -8
  20. package/dist/cjs/q2-chart-donut.cjs.entry.js +31 -13
  21. package/dist/cjs/q2-checkbox-group.cjs.entry.js +2 -2
  22. package/dist/cjs/q2-checkbox_2.cjs.entry.js +8 -5
  23. package/dist/cjs/q2-context.cjs.entry.js +4 -4
  24. package/dist/cjs/q2-currency.cjs.entry.js +1 -1
  25. package/dist/cjs/q2-data-table.cjs.entry.js +7 -7
  26. package/dist/cjs/q2-date-calendar.cjs.entry.js +452 -0
  27. package/dist/cjs/q2-date-picker_2.cjs.entry.js +968 -0
  28. package/dist/cjs/q2-detail.cjs.entry.js +2 -2
  29. package/dist/cjs/q2-dropdown-item.cjs.entry.js +1 -1
  30. package/dist/cjs/q2-dropdown.cjs.entry.js +3 -3
  31. package/dist/cjs/q2-editable-field.cjs.entry.js +20 -7
  32. package/dist/cjs/q2-example.cjs.entry.js +1 -1
  33. package/dist/cjs/q2-file-picker.cjs.entry.js +2 -2
  34. package/dist/cjs/q2-form.cjs.entry.js +1 -1
  35. package/dist/cjs/q2-formatted-text.cjs.entry.js +1 -1
  36. package/dist/cjs/q2-icon.cjs.entry.js +1 -1
  37. package/dist/cjs/q2-item.cjs.entry.js +20 -2
  38. package/dist/cjs/q2-legend.cjs.entry.js +1 -1
  39. package/dist/cjs/q2-link_2.cjs.entry.js +2 -2
  40. package/dist/cjs/q2-loc.cjs.entry.js +1 -1
  41. package/dist/cjs/q2-message.cjs.entry.js +3 -3
  42. package/dist/cjs/q2-meter.cjs.entry.js +2 -2
  43. package/dist/cjs/q2-modal.cjs.entry.js +2 -2
  44. package/dist/cjs/q2-month-picker.cjs.entry.js +3 -3
  45. package/dist/cjs/q2-mutation-observer.cjs.entry.js +1 -1
  46. package/dist/cjs/q2-option.cjs.entry.js +1 -1
  47. package/dist/cjs/q2-otp.cjs.entry.js +5 -5
  48. package/dist/cjs/q2-pagination.cjs.entry.js +12 -6
  49. package/dist/cjs/q2-pill.cjs.entry.js +8 -5
  50. package/dist/cjs/q2-radio-group.cjs.entry.js +2 -2
  51. package/dist/cjs/q2-radio.cjs.entry.js +2 -2
  52. package/dist/cjs/q2-relative-time.cjs.entry.js +2 -2
  53. package/dist/cjs/q2-resize-observer.cjs.entry.js +1 -1
  54. package/dist/cjs/q2-search.cjs.entry.js +3 -3
  55. package/dist/cjs/q2-section.cjs.entry.js +3 -3
  56. package/dist/cjs/q2-select.cjs.entry.js +8 -4
  57. package/dist/cjs/q2-stepper-pane.cjs.entry.js +2 -2
  58. package/dist/cjs/q2-stepper-vertical.cjs.entry.js +2 -2
  59. package/dist/cjs/q2-stepper.cjs.entry.js +2 -2
  60. package/dist/cjs/q2-surface.cjs.entry.js +1 -1
  61. package/dist/cjs/q2-tab-container.cjs.entry.js +2 -2
  62. package/dist/cjs/q2-tab-pane.cjs.entry.js +1 -1
  63. package/dist/cjs/q2-tecton-elements.cjs.js +1 -1
  64. package/dist/cjs/q2-textarea.cjs.entry.js +2 -2
  65. package/dist/cjs/q2-toast.cjs.entry.js +1 -1
  66. package/dist/cjs/q2-tooltip.cjs.entry.js +1 -1
  67. package/dist/cjs/{sectorHelper-9TWL-3dw.js → sectorHelper-CxhDl5ql.js} +1 -1
  68. package/dist/cjs/tecton-tab-pane.cjs.entry.js +2 -2
  69. package/dist/collection/collection-manifest.json +2 -0
  70. package/dist/collection/components/q2-action-sheet/q2-action-sheet.css +52 -0
  71. package/dist/collection/components/q2-action-sheet/q2-action-sheet.js +98 -18
  72. package/dist/collection/components/q2-action-sheet/test/q2-action-sheet-test.vr.js +124 -0
  73. package/dist/collection/components/q2-avatar/q2-avatar.js +34 -1
  74. package/dist/collection/components/q2-avatar/test/q2-avatar-test.vr.js +79 -4
  75. package/dist/collection/components/q2-btn/q2-btn.css +84 -136
  76. package/dist/collection/components/q2-btn/q2-btn.js +10 -4
  77. package/dist/collection/components/q2-btn/test/q2-btn-test.vr.js +99 -43
  78. package/dist/collection/components/q2-calendar/q2-calendar.js +16 -5
  79. package/dist/collection/components/q2-calendar/q2-month-picker.js +2 -2
  80. package/dist/collection/components/q2-calendar/test/q2-calendar-test.vr.js +3 -13
  81. package/dist/collection/components/q2-card-image/q2-card-image.js +2 -2
  82. package/dist/collection/components/q2-carousel/q2-carousel.js +19 -5
  83. package/dist/collection/components/q2-carousel/test/q2-carousel-test.vr.js +32 -0
  84. package/dist/collection/components/q2-carousel-pane/q2-carousel-pane.js +2 -2
  85. package/dist/collection/components/q2-chart-area/q2-chart-area.css +11 -0
  86. package/dist/collection/components/q2-chart-area/q2-chart-area.js +53 -7
  87. package/dist/collection/components/q2-chart-area/test/q2-chart-area-test.vr.js +14 -0
  88. package/dist/collection/components/q2-chart-bar/q2-chart-bar.css +11 -0
  89. package/dist/collection/components/q2-chart-bar/q2-chart-bar.js +50 -4
  90. package/dist/collection/components/q2-chart-bar/test/q2-chart-bar-test.vr.js +14 -0
  91. package/dist/collection/components/q2-chart-donut/q2-chart-donut.js +30 -10
  92. package/dist/collection/components/q2-chart-donut/test/q2-chart-donut-test.vr.js +25 -0
  93. package/dist/collection/components/q2-checkbox/q2-checkbox.js +6 -3
  94. package/dist/collection/components/q2-checkbox-group/q2-checkbox-group.js +6 -3
  95. package/dist/collection/components/q2-context/q2-context.js +3 -3
  96. package/dist/collection/components/q2-context/test/q2-context-test.vr.js +3 -3
  97. package/dist/collection/components/q2-currency/q2-currency.js +1 -1
  98. package/dist/collection/components/q2-data-table/q2-data-table.css +3 -0
  99. package/dist/collection/components/q2-data-table/q2-data-table.js +5 -5
  100. package/dist/collection/components/q2-data-table/test/q2-data-table-test.vr.js +47 -0
  101. package/dist/collection/components/q2-date-calendar/q2-date-calendar.css +393 -0
  102. package/dist/collection/components/q2-date-calendar/q2-date-calendar.js +1022 -0
  103. package/dist/collection/components/q2-date-calendar/test/q2-date-calendar-test.vr.js +111 -0
  104. package/dist/collection/components/q2-date-picker/q2-date-picker.css +138 -0
  105. package/dist/collection/components/q2-date-picker/q2-date-picker.js +2010 -0
  106. package/dist/collection/components/q2-date-picker/test/q2-date-picker-test.vr.js +179 -0
  107. package/dist/collection/components/q2-detail/q2-detail.js +1 -1
  108. package/dist/collection/components/q2-dropdown/q2-dropdown.js +5 -5
  109. package/dist/collection/components/q2-editable-field/q2-editable-field.js +27 -8
  110. package/dist/collection/components/q2-example/q2-example.js +1 -1
  111. package/dist/collection/components/q2-file-picker/q2-file-picker.js +1 -1
  112. package/dist/collection/components/q2-form/q2-form.js +1 -1
  113. package/dist/collection/components/q2-formatted-text/q2-formatted-text.js +1 -1
  114. package/dist/collection/components/q2-input/formatting/phone-number-formats.js +1 -1
  115. package/dist/collection/components/q2-input/q2-input.js +6 -3
  116. package/dist/collection/components/q2-item/q2-item.js +19 -1
  117. package/dist/collection/components/q2-item/test/q2-item-test.vr.js +2 -2
  118. package/dist/collection/components/q2-legend/q2-legend.js +1 -1
  119. package/dist/collection/components/q2-list/q2-list.js +1 -1
  120. package/dist/collection/components/q2-message/q2-message.css +1 -1
  121. package/dist/collection/components/q2-message/q2-message.js +1 -1
  122. package/dist/collection/components/q2-message/test/q2-message-test.vr.js +11 -2
  123. package/dist/collection/components/q2-meter/q2-meter.js +1 -1
  124. package/dist/collection/components/q2-modal/q2-modal.js +1 -1
  125. package/dist/collection/components/q2-modal/test/q2-modal-test.vr.js +7 -7
  126. package/dist/collection/components/q2-mutation-observer/q2-mutation-observer.js +1 -1
  127. package/dist/collection/components/q2-optgroup/q2-optgroup.js +1 -1
  128. package/dist/collection/components/q2-option-list/q2-option-list.js +36 -4
  129. package/dist/collection/components/q2-otp/q2-otp.js +4 -4
  130. package/dist/collection/components/q2-pagination/q2-pagination.css +17 -0
  131. package/dist/collection/components/q2-pagination/q2-pagination.js +10 -4
  132. package/dist/collection/components/q2-pagination/test/q2-pagination-test.vr.js +39 -0
  133. package/dist/collection/components/q2-pill/q2-pill.css +14 -10
  134. package/dist/collection/components/q2-pill/q2-pill.js +6 -3
  135. package/dist/collection/components/q2-pill/test/q2-pill-test.vr.js +25 -0
  136. package/dist/collection/components/q2-popover/q2-popover.css +1 -0
  137. package/dist/collection/components/q2-popover/q2-popover.js +43 -8
  138. package/dist/collection/components/q2-radio/q2-radio.js +5 -2
  139. package/dist/collection/components/q2-radio-group/q2-radio-group.js +6 -3
  140. package/dist/collection/components/q2-relative-time/q2-relative-time.js +1 -1
  141. package/dist/collection/components/q2-resize-observer/q2-resize-observer.js +1 -1
  142. package/dist/collection/components/q2-search/q2-search.js +6 -3
  143. package/dist/collection/components/q2-section/q2-section.js +2 -2
  144. package/dist/collection/components/q2-select/q2-select.js +12 -5
  145. package/dist/collection/components/q2-stepper/q2-stepper.js +1 -1
  146. package/dist/collection/components/q2-stepper-pane/q2-stepper-pane.js +1 -1
  147. package/dist/collection/components/q2-stepper-vertical/q2-stepper-vertical.js +1 -1
  148. package/dist/collection/components/q2-surface/q2-surface.js +1 -1
  149. package/dist/collection/components/q2-surface/test/q2-surface-test.vr.js +2 -2
  150. package/dist/collection/components/q2-tab-container/q2-tab-container.js +1 -1
  151. package/dist/collection/components/q2-tab-pane/q2-tab-pane.js +1 -1
  152. package/dist/collection/components/q2-tag/q2-tag.js +6 -3
  153. package/dist/collection/components/q2-textarea/q2-textarea.js +6 -3
  154. package/dist/collection/components/q2-tooltip/test/q2-tooltip-test.vr.js +1 -1
  155. package/dist/collection/components/tecton-tab-pane/tecton-tab-pane.js +2 -2
  156. package/dist/collection/utils/chart-keyboard.js +76 -0
  157. package/dist/collection/utils/date-picker/date-picker-helpers.js +239 -0
  158. package/dist/collection/utils/date-picker/date-picker-types.js +1 -0
  159. package/dist/collection/utils/index.js +1 -1
  160. package/dist/components/charting.js +1603 -1532
  161. package/dist/components/dataSample.js +7 -7
  162. package/dist/components/index.js +57 -53
  163. package/dist/components/index2.js +2 -2
  164. package/dist/components/q2-action-sheet.js +224 -103
  165. package/dist/components/q2-avatar2.js +41 -27
  166. package/dist/components/q2-btn2.js +2 -2
  167. package/dist/components/q2-calendar.js +6 -3
  168. package/dist/components/q2-card-image.js +2 -2
  169. package/dist/components/q2-carousel-pane2.js +3 -3
  170. package/dist/components/q2-carousel.js +37 -24
  171. package/dist/components/q2-chart-area.js +415 -369
  172. package/dist/components/q2-chart-bar.js +193 -148
  173. package/dist/components/q2-chart-donut.js +185 -158
  174. package/dist/components/q2-checkbox-group.js +6 -6
  175. package/dist/components/q2-checkbox2.js +11 -11
  176. package/dist/components/q2-context.js +20 -20
  177. package/dist/components/q2-currency.js +9 -9
  178. package/dist/components/q2-data-table.js +111 -111
  179. package/dist/components/q2-date-calendar.d.ts +11 -0
  180. package/dist/components/q2-date-calendar.js +5 -0
  181. package/dist/components/q2-date-calendar2.js +678 -0
  182. package/dist/components/q2-date-picker.d.ts +11 -0
  183. package/dist/components/q2-date-picker.js +5 -0
  184. package/dist/components/q2-date-picker2.js +875 -0
  185. package/dist/components/q2-detail.js +3 -3
  186. package/dist/components/q2-dropdown.js +17 -17
  187. package/dist/components/q2-editable-field.js +16 -5
  188. package/dist/components/q2-example.js +11 -11
  189. package/dist/components/q2-file-picker.js +1 -1
  190. package/dist/components/q2-form.js +6 -6
  191. package/dist/components/q2-formatted-text.js +2 -2
  192. package/dist/components/q2-input2.js +6 -6
  193. package/dist/components/q2-item2.js +32 -22
  194. package/dist/components/q2-legend2.js +7 -7
  195. package/dist/components/q2-list2.js +6 -6
  196. package/dist/components/q2-message2.js +10 -10
  197. package/dist/components/q2-meter.js +7 -7
  198. package/dist/components/q2-modal.js +22 -22
  199. package/dist/components/q2-month-picker.js +17 -17
  200. package/dist/components/q2-mutation-observer.js +1 -1
  201. package/dist/components/q2-optgroup2.js +7 -7
  202. package/dist/components/q2-option-list2.js +55 -34
  203. package/dist/components/q2-otp.js +8 -8
  204. package/dist/components/q2-pagination.js +70 -68
  205. package/dist/components/q2-pill.js +51 -46
  206. package/dist/components/q2-popover2.js +70 -49
  207. package/dist/components/q2-radio-group.js +7 -7
  208. package/dist/components/q2-radio.js +6 -6
  209. package/dist/components/q2-relative-time.js +1 -1
  210. package/dist/components/q2-resize-observer2.js +1 -1
  211. package/dist/components/q2-search.js +5 -5
  212. package/dist/components/q2-section.js +17 -17
  213. package/dist/components/q2-select2.js +2 -2
  214. package/dist/components/q2-stepper-pane.js +29 -29
  215. package/dist/components/q2-stepper-vertical.js +4 -4
  216. package/dist/components/q2-stepper.js +57 -57
  217. package/dist/components/q2-surface.js +3 -3
  218. package/dist/components/q2-tab-container.js +21 -21
  219. package/dist/components/q2-tab-pane.js +6 -6
  220. package/dist/components/q2-tag2.js +8 -6
  221. package/dist/components/q2-textarea.js +3 -3
  222. package/dist/components/sectorHelper.js +78 -78
  223. package/dist/components/tecton-tab-pane.js +10 -10
  224. package/dist/esm/{charting-DOZct-UB.js → charting-DFXJklqs.js} +79 -1
  225. package/dist/esm/click-elsewhere_3.entry.js +81 -14
  226. package/dist/esm/{dataSample-Dm1zpQNi.js → dataSample-CP_VKNqt.js} +1 -1
  227. package/dist/esm/date-picker-helpers-D8QnN_AS.js +242 -0
  228. package/dist/esm/{index-DJw6Feh0.js → index-CP8pXJ-l.js} +1 -1
  229. package/dist/esm/loader.js +1 -1
  230. package/dist/esm/q2-action-group.entry.js +1 -1
  231. package/dist/esm/q2-action-sheet.entry.js +99 -19
  232. package/dist/esm/q2-avatar.entry.js +34 -1
  233. package/dist/esm/q2-badge_2.entry.js +3 -3
  234. package/dist/esm/q2-btn_2.entry.js +2 -2
  235. package/dist/esm/q2-calendar.entry.js +9 -4
  236. package/dist/esm/q2-card-image.entry.js +3 -3
  237. package/dist/esm/q2-card.entry.js +1 -1
  238. package/dist/esm/q2-carousel-pane.entry.js +3 -3
  239. package/dist/esm/q2-carousel.entry.js +20 -6
  240. package/dist/esm/q2-chart-area.entry.js +38 -7
  241. package/dist/esm/q2-chart-bar.entry.js +39 -8
  242. package/dist/esm/q2-chart-donut.entry.js +31 -13
  243. package/dist/esm/q2-checkbox-group.entry.js +2 -2
  244. package/dist/esm/q2-checkbox_2.entry.js +8 -5
  245. package/dist/esm/q2-context.entry.js +4 -4
  246. package/dist/esm/q2-currency.entry.js +1 -1
  247. package/dist/esm/q2-data-table.entry.js +7 -7
  248. package/dist/esm/q2-date-calendar.entry.js +450 -0
  249. package/dist/esm/q2-date-picker_2.entry.js +965 -0
  250. package/dist/esm/q2-detail.entry.js +2 -2
  251. package/dist/esm/q2-dropdown-item.entry.js +1 -1
  252. package/dist/esm/q2-dropdown.entry.js +3 -3
  253. package/dist/esm/q2-editable-field.entry.js +20 -7
  254. package/dist/esm/q2-example.entry.js +1 -1
  255. package/dist/esm/q2-file-picker.entry.js +2 -2
  256. package/dist/esm/q2-form.entry.js +1 -1
  257. package/dist/esm/q2-formatted-text.entry.js +1 -1
  258. package/dist/esm/q2-icon.entry.js +1 -1
  259. package/dist/esm/q2-item.entry.js +20 -2
  260. package/dist/esm/q2-legend.entry.js +1 -1
  261. package/dist/esm/q2-link_2.entry.js +2 -2
  262. package/dist/esm/q2-loc.entry.js +1 -1
  263. package/dist/esm/q2-message.entry.js +3 -3
  264. package/dist/esm/q2-meter.entry.js +2 -2
  265. package/dist/esm/q2-modal.entry.js +2 -2
  266. package/dist/esm/q2-month-picker.entry.js +3 -3
  267. package/dist/esm/q2-mutation-observer.entry.js +1 -1
  268. package/dist/esm/q2-option.entry.js +1 -1
  269. package/dist/esm/q2-otp.entry.js +5 -5
  270. package/dist/esm/q2-pagination.entry.js +12 -6
  271. package/dist/esm/q2-pill.entry.js +8 -5
  272. package/dist/esm/q2-radio-group.entry.js +2 -2
  273. package/dist/esm/q2-radio.entry.js +2 -2
  274. package/dist/esm/q2-relative-time.entry.js +2 -2
  275. package/dist/esm/q2-resize-observer.entry.js +1 -1
  276. package/dist/esm/q2-search.entry.js +3 -3
  277. package/dist/esm/q2-section.entry.js +3 -3
  278. package/dist/esm/q2-select.entry.js +8 -4
  279. package/dist/esm/q2-stepper-pane.entry.js +2 -2
  280. package/dist/esm/q2-stepper-vertical.entry.js +2 -2
  281. package/dist/esm/q2-stepper.entry.js +2 -2
  282. package/dist/esm/q2-surface.entry.js +1 -1
  283. package/dist/esm/q2-tab-container.entry.js +2 -2
  284. package/dist/esm/q2-tab-pane.entry.js +1 -1
  285. package/dist/esm/q2-tecton-elements.js +1 -1
  286. package/dist/esm/q2-textarea.entry.js +2 -2
  287. package/dist/esm/q2-toast.entry.js +1 -1
  288. package/dist/esm/q2-tooltip.entry.js +1 -1
  289. package/dist/esm/{sectorHelper--RMGWGAy.js → sectorHelper-DBtkWtpl.js} +1 -1
  290. package/dist/esm/tecton-tab-pane.entry.js +2 -2
  291. package/dist/q2-tecton-elements/{charting-DOZct-UB.js → charting-DFXJklqs.js} +1625 -1554
  292. package/dist/q2-tecton-elements/click-elsewhere_3.entry.js +85 -43
  293. package/dist/q2-tecton-elements/{dataSample-Dm1zpQNi.js → dataSample-CP_VKNqt.js} +33 -33
  294. package/dist/q2-tecton-elements/date-picker-helpers-D8QnN_AS.js +153 -0
  295. package/dist/q2-tecton-elements/{index-DJw6Feh0.js → index-CP8pXJ-l.js} +1 -1
  296. package/dist/q2-tecton-elements/q2-action-group.entry.js +1 -1
  297. package/dist/q2-tecton-elements/q2-action-sheet.entry.js +169 -84
  298. package/dist/q2-tecton-elements/q2-avatar.entry.js +24 -10
  299. package/dist/q2-tecton-elements/q2-badge_2.entry.js +6 -6
  300. package/dist/q2-tecton-elements/q2-btn_2.entry.js +23 -23
  301. package/dist/q2-tecton-elements/q2-calendar.entry.js +7 -4
  302. package/dist/q2-tecton-elements/q2-card-image.entry.js +3 -3
  303. package/dist/q2-tecton-elements/q2-card.entry.js +1 -1
  304. package/dist/q2-tecton-elements/q2-carousel-pane.entry.js +4 -4
  305. package/dist/q2-tecton-elements/q2-carousel.entry.js +24 -11
  306. package/dist/q2-tecton-elements/q2-chart-area.entry.js +187 -141
  307. package/dist/q2-tecton-elements/q2-chart-bar.entry.js +377 -333
  308. package/dist/q2-tecton-elements/q2-chart-donut.entry.js +184 -158
  309. package/dist/q2-tecton-elements/q2-checkbox-group.entry.js +7 -7
  310. package/dist/q2-tecton-elements/q2-checkbox_2.entry.js +20 -18
  311. package/dist/q2-tecton-elements/q2-context.entry.js +21 -21
  312. package/dist/q2-tecton-elements/q2-currency.entry.js +9 -9
  313. package/dist/q2-tecton-elements/q2-data-table.entry.js +7 -7
  314. package/dist/q2-tecton-elements/q2-date-calendar.entry.js +438 -0
  315. package/dist/q2-tecton-elements/q2-date-picker_2.entry.js +792 -0
  316. package/dist/q2-tecton-elements/q2-detail.entry.js +4 -4
  317. package/dist/q2-tecton-elements/q2-dropdown-item.entry.js +1 -1
  318. package/dist/q2-tecton-elements/q2-dropdown.entry.js +16 -16
  319. package/dist/q2-tecton-elements/q2-editable-field.entry.js +17 -6
  320. package/dist/q2-tecton-elements/q2-example.entry.js +1 -1
  321. package/dist/q2-tecton-elements/q2-file-picker.entry.js +2 -2
  322. package/dist/q2-tecton-elements/q2-form.entry.js +2 -2
  323. package/dist/q2-tecton-elements/q2-formatted-text.entry.js +2 -2
  324. package/dist/q2-tecton-elements/q2-icon.entry.js +1 -1
  325. package/dist/q2-tecton-elements/q2-item.entry.js +26 -16
  326. package/dist/q2-tecton-elements/q2-legend.entry.js +2 -2
  327. package/dist/q2-tecton-elements/q2-link_2.entry.js +7 -7
  328. package/dist/q2-tecton-elements/q2-loc.entry.js +1 -1
  329. package/dist/q2-tecton-elements/q2-message.entry.js +29 -29
  330. package/dist/q2-tecton-elements/q2-meter.entry.js +8 -8
  331. package/dist/q2-tecton-elements/q2-modal.entry.js +18 -18
  332. package/dist/q2-tecton-elements/q2-month-picker.entry.js +14 -14
  333. package/dist/q2-tecton-elements/q2-mutation-observer.entry.js +1 -1
  334. package/dist/q2-tecton-elements/q2-option.entry.js +1 -1
  335. package/dist/q2-tecton-elements/q2-otp.entry.js +9 -9
  336. package/dist/q2-tecton-elements/q2-pagination.entry.js +51 -49
  337. package/dist/q2-tecton-elements/q2-pill.entry.js +22 -17
  338. package/dist/q2-tecton-elements/q2-radio-group.entry.js +8 -8
  339. package/dist/q2-tecton-elements/q2-radio.entry.js +7 -7
  340. package/dist/q2-tecton-elements/q2-relative-time.entry.js +6 -6
  341. package/dist/q2-tecton-elements/q2-resize-observer.entry.js +13 -13
  342. package/dist/q2-tecton-elements/q2-search.entry.js +31 -31
  343. package/dist/q2-tecton-elements/q2-section.entry.js +20 -20
  344. package/dist/q2-tecton-elements/q2-select.entry.js +3 -3
  345. package/dist/q2-tecton-elements/q2-stepper-pane.entry.js +10 -10
  346. package/dist/q2-tecton-elements/q2-stepper-vertical.entry.js +9 -9
  347. package/dist/q2-tecton-elements/q2-stepper.entry.js +45 -45
  348. package/dist/q2-tecton-elements/q2-surface.entry.js +15 -15
  349. package/dist/q2-tecton-elements/q2-tab-container.entry.js +20 -20
  350. package/dist/q2-tecton-elements/q2-tab-pane.entry.js +9 -9
  351. package/dist/q2-tecton-elements/q2-tecton-elements.esm.js +1 -1
  352. package/dist/q2-tecton-elements/q2-textarea.entry.js +3 -3
  353. package/dist/q2-tecton-elements/q2-toast.entry.js +1 -1
  354. package/dist/q2-tecton-elements/q2-tooltip.entry.js +1 -1
  355. package/dist/q2-tecton-elements/{sectorHelper--RMGWGAy.js → sectorHelper-DBtkWtpl.js} +56 -56
  356. package/dist/q2-tecton-elements/tecton-tab-pane.entry.js +9 -9
  357. package/dist/types/components/q2-action-sheet/q2-action-sheet.d.ts +21 -1
  358. package/dist/types/components/q2-action-sheet/test/q2-action-sheet-test.vr.d.ts +1 -0
  359. package/dist/types/components/q2-avatar/q2-avatar.d.ts +5 -0
  360. package/dist/types/components/q2-btn/q2-btn.d.ts +7 -3
  361. package/dist/types/components/q2-calendar/q2-calendar.d.ts +10 -2
  362. package/dist/types/components/q2-carousel/q2-carousel.d.ts +5 -0
  363. package/dist/types/components/q2-chart-area/q2-chart-area.d.ts +11 -2
  364. package/dist/types/components/q2-chart-bar/q2-chart-bar.d.ts +9 -0
  365. package/dist/types/components/q2-chart-donut/q2-chart-donut.d.ts +1 -0
  366. package/dist/types/components/q2-checkbox/q2-checkbox.d.ts +4 -3
  367. package/dist/types/components/q2-checkbox-group/q2-checkbox-group.d.ts +4 -2
  368. package/dist/types/components/q2-date-calendar/q2-date-calendar.d.ts +122 -0
  369. package/dist/types/components/q2-date-calendar/test/q2-date-calendar-test.vr.d.ts +1 -0
  370. package/dist/types/components/q2-date-picker/q2-date-picker.d.ts +304 -0
  371. package/dist/types/components/q2-date-picker/test/q2-date-picker-test.vr.d.ts +1 -0
  372. package/dist/types/components/q2-dropdown/q2-dropdown.d.ts +3 -3
  373. package/dist/types/components/q2-editable-field/q2-editable-field.d.ts +14 -1
  374. package/dist/types/components/q2-input/q2-input.d.ts +4 -2
  375. package/dist/types/components/q2-item/q2-item.d.ts +3 -0
  376. package/dist/types/components/q2-option-list/q2-option-list.d.ts +1 -0
  377. package/dist/types/components/q2-popover/q2-popover.d.ts +4 -0
  378. package/dist/types/components/q2-radio/q2-radio.d.ts +3 -2
  379. package/dist/types/components/q2-radio-group/q2-radio-group.d.ts +4 -2
  380. package/dist/types/components/q2-search/q2-search.d.ts +3 -1
  381. package/dist/types/components/q2-select/q2-select.d.ts +4 -2
  382. package/dist/types/components/q2-textarea/q2-textarea.d.ts +4 -2
  383. package/dist/types/components.d.ts +858 -49
  384. package/dist/types/global.d.ts +1 -0
  385. package/dist/types/index.d.ts +1 -0
  386. package/dist/types/utils/chart-keyboard.d.ts +16 -0
  387. package/dist/types/utils/date-picker/date-picker-helpers.d.ts +47 -0
  388. package/dist/types/utils/date-picker/date-picker-types.d.ts +42 -0
  389. package/package.json +3 -3
  390. package/dist/cjs/q2-optgroup.cjs.entry.js +0 -70
  391. package/dist/esm/q2-optgroup.entry.js +0 -68
  392. package/dist/q2-tecton-elements/q2-optgroup.entry.js +0 -88
@@ -1,42 +1,42 @@
1
- import { r as t, h as e, g as r } from "./index-Cqkz7Bnm.js";
1
+ import { r as t, h as e, g as a } from "./index-Cqkz7Bnm.js";
2
2
 
3
- import { o as a, l as i } from "./index-DJw6Feh0.js";
3
+ import { o as r, i, l as s } from "./index-CP8pXJ-l.js";
4
4
 
5
- import { _ as n, v as s, H as o, I as h, c as d, J as l, K as c, E as u, L as f, y as p, A as v, M as g, x as m, N as b, O as w, F as y, h as B, Q as A, R as M, U as S, V as x, W as k, X as V, Y as N, Z as C, $ as P, a0 as D, a1 as z, a2 as L, a3 as U, a4 as j, a5 as O, a6 as I, a7 as R, a8 as E, a9 as T, aa as W } from "./charting-DOZct-UB.js";
5
+ import { _ as n, v as o, H as h, I as d, c as l, J as c, K as u, E as f, L as p, y as v, A as g, M as b, x as m, N as w, O as y, F as B, h as A, Q as S, R as M, U as x, V as k, W as V, X as C, Y as N, Z as P, $ as D, a0 as z, a1 as L, a2 as U, a3 as j, a4 as I, a5 as O, a6 as E, a7 as R, a8 as T, a9 as X, aa as _, ab as W, ac as Y } from "./charting-DFXJklqs.js";
6
6
 
7
- import { c as _, a as X, i as Y, g as H, b as F, d as q, e as G, f as J } from "./dataSample-Dm1zpQNi.js";
7
+ import { c as F, a as q, i as H, g as J, b as K, d as Q, e as Z, f as $ } from "./dataSample-CP_VKNqt.js";
8
8
 
9
- import { g as Q, i as Z } from "./sectorHelper--RMGWGAy.js";
9
+ import { g as G, i as tt } from "./sectorHelper-DBtkWtpl.js";
10
10
 
11
- var K = /** @class */ function(t) {
11
+ var et = /** @class */ function(t) {
12
12
  function BaseBarSeriesModel() {
13
13
  var e = null !== t && t.apply(this, arguments) || this;
14
14
  return e.type = BaseBarSeriesModel.type, e;
15
15
  }
16
16
  return n(BaseBarSeriesModel, t), BaseBarSeriesModel.prototype.getInitialData = function(t, e) {
17
- return _(null, this, {
17
+ return F(null, this, {
18
18
  useEncodeDefaulter: !0
19
19
  });
20
- }, BaseBarSeriesModel.prototype.getMarkerPosition = function(t, e, r) {
21
- var a = this.coordinateSystem;
22
- if (a && a.clampData) {
20
+ }, BaseBarSeriesModel.prototype.getMarkerPosition = function(t, e, a) {
21
+ var r = this.coordinateSystem;
22
+ if (r && r.clampData) {
23
23
  // PENDING if clamp ?
24
- var i = a.clampData(t), n = a.dataToPoint(i);
25
- if (r) s(a.getAxes(), (function(t, r) {
24
+ var i = r.clampData(t), s = r.dataToPoint(i);
25
+ if (a) o(r.getAxes(), (function(t, a) {
26
26
  // If axis type is category, use tick coords instead
27
27
  if ("category" === t.type && null != e) {
28
- var a = t.getTicksCoords(), s = t.getTickModel().get("alignWithLabel"), o = i[r], h = "x1" === e[r] || "y1" === e[r];
28
+ var r = t.getTicksCoords(), n = t.getTickModel().get("alignWithLabel"), o = i[a], h = "x1" === e[a] || "y1" === e[a];
29
29
  // The only contains one tick, tickCoords is
30
30
  // like [{coord: 0, tickValue: 0}, {coord: 0}]
31
31
  // to the length should always be larger than 1
32
- if (h && !s && (o += 1), a.length < 2) return;
33
- if (2 === a.length)
32
+ if (h && !n && (o += 1), r.length < 2) return;
33
+ if (2 === r.length)
34
34
  // The left value and right value of the axis are
35
35
  // the same. coord is 0 in both items. Use the max
36
36
  // value of the axis as the coord
37
- return void (n[r] = t.toGlobalCoord(t.getExtent()[h ? 1 : 0]));
38
- for (var d = void 0, l = void 0, c = 1, u = 0; u < a.length; u++) {
39
- var f = a[u].coord, p = u === a.length - 1 ? a[u - 1].tickValue + c : a[u].tickValue;
37
+ return void (s[a] = t.toGlobalCoord(t.getExtent()[h ? 1 : 0]));
38
+ for (var d = void 0, l = void 0, c = 1, u = 0; u < r.length; u++) {
39
+ var f = r[u].coord, p = u === r.length - 1 ? r[u - 1].tickValue + c : r[u].tickValue;
40
40
  // The last item of tickCoords doesn't contain
41
41
  // tickValue
42
42
  if (p === o) {
@@ -50,21 +50,21 @@ var K = /** @class */ function(t) {
50
50
  1 === u && (
51
51
  // Here we assume the step of category axes is
52
52
  // the same
53
- c = p - a[0].tickValue);
53
+ c = p - r[0].tickValue);
54
54
  }
55
55
  null == l && (d ? d && (
56
56
  // targetTickId is larger than all tick ids in the
57
57
  // visible area, use the rightmost tick coord
58
- l = a[a.length - 1].coord) :
58
+ l = r[r.length - 1].coord) :
59
59
  // targetTickId is smaller than all tick ids in the
60
60
  // visible area, use the leftmost tick coord
61
- l = a[0].coord), n[r] = t.toGlobalCoord(l);
61
+ l = r[0].coord), s[a] = t.toGlobalCoord(l);
62
62
  }
63
63
  })); else {
64
- var o = this.getData(), h = o.getLayout("offset"), d = o.getLayout("size"), l = a.getBaseAxis().isHorizontal() ? 0 : 1;
65
- n[l] += h + d / 2;
64
+ var n = this.getData(), h = n.getLayout("offset"), d = n.getLayout("size"), l = r.getBaseAxis().isHorizontal() ? 0 : 1;
65
+ s[l] += h + d / 2;
66
66
  }
67
- return n;
67
+ return s;
68
68
  }
69
69
  return [ NaN, NaN ];
70
70
  }, BaseBarSeriesModel.type = "series.__base_bar__", BaseBarSeriesModel.defaultOption = {
@@ -84,17 +84,17 @@ var K = /** @class */ function(t) {
84
84
  progressive: 3e3,
85
85
  progressiveChunkMode: "mod"
86
86
  }, BaseBarSeriesModel;
87
- }(o);
87
+ }(h);
88
88
 
89
- o.registerClass(K);
89
+ h.registerClass(et);
90
90
 
91
- var $ = /** @class */ function(t) {
91
+ var at = /** @class */ function(t) {
92
92
  function BarSeriesModel() {
93
93
  var e = null !== t && t.apply(this, arguments) || this;
94
94
  return e.type = BarSeriesModel.type, e;
95
95
  }
96
96
  return n(BarSeriesModel, t), BarSeriesModel.prototype.getInitialData = function() {
97
- return _(null, this, {
97
+ return F(null, this, {
98
98
  useEncodeDefaulter: !0,
99
99
  createInvertedIndices: !!this.get("realtimeSort", !0) || null
100
100
  });
@@ -113,10 +113,10 @@ var $ = /** @class */ function(t) {
113
113
  // Do not support progressive in normal mode.
114
114
  var t = this.get("progressiveThreshold"), e = this.get("largeThreshold");
115
115
  return e > t && (t = e), t;
116
- }, BarSeriesModel.prototype.brushSelector = function(t, e, r) {
117
- return r.rect(e.getItemLayout(t));
116
+ }, BarSeriesModel.prototype.brushSelector = function(t, e, a) {
117
+ return a.rect(e.getItemLayout(t));
118
118
  }, BarSeriesModel.type = "series.bar", BarSeriesModel.dependencies = [ "grid", "polar" ],
119
- BarSeriesModel.defaultOption = h(K.defaultOption, {
119
+ BarSeriesModel.defaultOption = d(et.defaultOption, {
120
120
  // If clipped
121
121
  // Only available on cartesian2d
122
122
  clip: !0,
@@ -141,51 +141,51 @@ var $ = /** @class */ function(t) {
141
141
  },
142
142
  realtimeSort: !1
143
143
  }), BarSeriesModel;
144
- }(K), SausageShape = function() {
144
+ }(et), SausageShape = function() {
145
145
  this.cx = 0, this.cy = 0, this.r0 = 0, this.r = 0, this.startAngle = 0, this.endAngle = 2 * Math.PI,
146
146
  this.clockwise = !0;
147
- }, tt = /** @class */ function(t) {
147
+ }, rt = /** @class */ function(t) {
148
148
  function SausagePath(e) {
149
- var r = t.call(this, e) || this;
150
- return r.type = "sausage", r;
149
+ var a = t.call(this, e) || this;
150
+ return a.type = "sausage", a;
151
151
  }
152
152
  return n(SausagePath, t), SausagePath.prototype.getDefaultShape = function() {
153
153
  return new SausageShape;
154
154
  }, SausagePath.prototype.buildPath = function(t, e) {
155
- var r = e.cx, a = e.cy, i = Math.max(e.r0 || 0, 0), n = Math.max(e.r, 0), s = .5 * (n - i), o = i + s, h = e.startAngle, d = e.endAngle, l = e.clockwise, c = 2 * Math.PI, u = l ? d - h < c : h - d < c;
155
+ var a = e.cx, r = e.cy, i = Math.max(e.r0 || 0, 0), s = Math.max(e.r, 0), n = .5 * (s - i), o = i + n, h = e.startAngle, d = e.endAngle, l = e.clockwise, c = 2 * Math.PI, u = l ? d - h < c : h - d < c;
156
156
  u || (
157
157
  // Normalize angles
158
158
  h = d - (l ? c : -c));
159
159
  var f = Math.cos(h), p = Math.sin(h), v = Math.cos(d), g = Math.sin(d);
160
- u ? (t.moveTo(f * i + r, p * i + a), t.arc(f * o + r, p * o + a, s, -Math.PI + h, h, !l)) : t.moveTo(f * n + r, p * n + a),
161
- t.arc(r, a, n, h, d, !l), t.arc(v * o + r, g * o + a, s, d - 2 * Math.PI, d - Math.PI, !l),
162
- 0 !== i && t.arc(r, a, i, d, h, l);
160
+ u ? (t.moveTo(f * i + a, p * i + r), t.arc(f * o + a, p * o + r, n, -Math.PI + h, h, !l)) : t.moveTo(f * s + a, p * s + r),
161
+ t.arc(a, r, s, h, d, !l), t.arc(v * o + a, g * o + r, n, d - 2 * Math.PI, d - Math.PI, !l),
162
+ 0 !== i && t.arc(a, r, i, d, h, l);
163
163
  }, SausagePath;
164
- }(d);
164
+ }(l);
165
165
 
166
166
  /**
167
167
  * Sausage: similar to sector, but have half circle on both sides
168
- */ function adjustAngleDistanceX(t, e, r) {
169
- return e * Math.sin(t) * (r ? -1 : 1);
168
+ */ function adjustAngleDistanceX(t, e, a) {
169
+ return e * Math.sin(t) * (a ? -1 : 1);
170
170
  }
171
171
 
172
- function adjustAngleDistanceY(t, e, r) {
173
- return e * Math.cos(t) * (r ? 1 : -1);
172
+ function adjustAngleDistanceY(t, e, a) {
173
+ return e * Math.cos(t) * (a ? 1 : -1);
174
174
  }
175
175
 
176
- var et = Math.max, rt = Math.min;
176
+ var it = Math.max, st = Math.min;
177
177
 
178
- var at = /** @class */ function(t) {
178
+ var nt = /** @class */ function(t) {
179
179
  function BarView() {
180
180
  var e = t.call(this) || this;
181
181
  return e.type = BarView.type, e._isFirstFrame = !0, e;
182
182
  }
183
- return n(BarView, t), BarView.prototype.render = function(t, e, r, a) {
184
- this._model = t, this._removeOnRenderedListener(r), this._updateDrawMode(t);
183
+ return n(BarView, t), BarView.prototype.render = function(t, e, a, r) {
184
+ this._model = t, this._removeOnRenderedListener(a), this._updateDrawMode(t);
185
185
  var i = t.get("coordinateSystem");
186
186
  "cartesian2d" !== i && "polar" !== i || (
187
187
  // Clear previously rendered progressive elements.
188
- this._progressiveEls = null, this._isLargeDraw ? this._renderLarge(t, e, r) : this._renderNormal(t, e, r, a));
188
+ this._progressiveEls = null, this._isLargeDraw ? this._renderLarge(t, e, a) : this._renderNormal(t, e, a, r));
189
189
  }, BarView.prototype.incrementalPrepareRender = function(t) {
190
190
  this._clear(), this._updateDrawMode(t),
191
191
  // incremental also need to clip, otherwise might be overlow.
@@ -197,65 +197,65 @@ var at = /** @class */ function(t) {
197
197
  // Do not support progressive in normal mode.
198
198
  this._incrementalRenderLarge(t, e);
199
199
  }, BarView.prototype.eachRendered = function(t) {
200
- f(this._progressiveEls || this.group, t);
200
+ p(this._progressiveEls || this.group, t);
201
201
  }, BarView.prototype._updateDrawMode = function(t) {
202
202
  var e = t.pipelineContext.large;
203
203
  null != this._isLargeDraw && e === this._isLargeDraw || (this._isLargeDraw = e,
204
204
  this._clear());
205
- }, BarView.prototype._renderNormal = function(t, e, r, a) {
206
- var i, n = this.group, s = t.getData(), o = this._data, h = t.coordinateSystem, d = h.getBaseAxis();
205
+ }, BarView.prototype._renderNormal = function(t, e, a, r) {
206
+ var i, s = this.group, n = t.getData(), o = this._data, h = t.coordinateSystem, d = h.getBaseAxis();
207
207
  "cartesian2d" === h.type ? i = d.isHorizontal() : "polar" === h.type && (i = "angle" === d.dim);
208
208
  var l = t.isAnimationEnabled() ? t : null, c = function(t, e) {
209
- var r = t.get("realtimeSort", !0), a = e.getBaseAxis();
210
- if (r && "category" === a.type && "cartesian2d" === e.type) return {
211
- baseAxis: a,
212
- otherAxis: e.getOtherAxis(a)
209
+ var a = t.get("realtimeSort", !0), r = e.getBaseAxis();
210
+ if (a && "category" === r.type && "cartesian2d" === e.type) return {
211
+ baseAxis: r,
212
+ otherAxis: e.getOtherAxis(r)
213
213
  };
214
214
  }(t, h);
215
- c && this._enableRealtimeSort(c, s, r);
215
+ c && this._enableRealtimeSort(c, n, a);
216
216
  var u = t.get("clip", !0) || c, f = function(t, e) {
217
- var r = t.getArea && t.getArea();
218
- if (Y(t, "cartesian2d")) {
219
- var a = t.getBaseAxis();
217
+ var a = t.getArea && t.getArea();
218
+ if (H(t, "cartesian2d")) {
219
+ var r = t.getBaseAxis();
220
220
  // When boundaryGap is false or using time axis. bar may exceed the grid.
221
221
  // We should not clip this part.
222
222
  // See test/bar2.html
223
- if ("category" !== a.type || !a.onBand) {
223
+ if ("category" !== r.type || !r.onBand) {
224
224
  var i = e.getLayout("bandWidth");
225
- a.isHorizontal() ? (r.x -= i, r.width += 2 * i) : (r.y -= i, r.height += 2 * i);
225
+ r.isHorizontal() ? (a.x -= i, a.width += 2 * i) : (a.y -= i, a.height += 2 * i);
226
226
  }
227
227
  }
228
- return r;
229
- }(h, s);
228
+ return a;
229
+ }(h, n);
230
230
  // If there is clipPath created in large mode. Remove it.
231
- n.removeClipPath();
231
+ s.removeClipPath();
232
232
  // We don't use clipPath in normal mode because we needs a perfect animation
233
233
  // And don't want the label are clipped.
234
- var y = t.get("roundCap", !0), B = t.get("showBackground", !0), A = t.getModel("backgroundStyle"), x = A.get("borderRadius") || 0, k = [], V = this._backgroundEls, N = a && a.isInitSort, C = a && "changeAxisOrder" === a.type;
234
+ var p = t.get("roundCap", !0), B = t.get("showBackground", !0), A = t.getModel("backgroundStyle"), S = A.get("borderRadius") || 0, k = [], V = this._backgroundEls, C = r && r.isInitSort, N = r && "changeAxisOrder" === r.type;
235
235
  function createBackground(t) {
236
- var e = dt[h.type](s, t), r = function(t, e, r) {
237
- var a = "polar" === t.type ? M : S;
238
- return new a({
239
- shape: createBackgroundShape(e, r, t),
236
+ var e = ut[h.type](n, t), a = function(t, e, a) {
237
+ var r = "polar" === t.type ? M : x;
238
+ return new r({
239
+ shape: createBackgroundShape(e, a, t),
240
240
  silent: !0,
241
241
  z2: 0
242
242
  });
243
243
  }(h, i, e);
244
- return r.useStyle(A.getItemStyle()),
244
+ return a.useStyle(A.getItemStyle()),
245
245
  // Only cartesian2d support borderRadius.
246
- "cartesian2d" === h.type ? r.setShape("r", x) : r.setShape("cornerRadius", x), k[t] = r,
247
- r;
246
+ "cartesian2d" === h.type ? a.setShape("r", S) : a.setShape("cornerRadius", S), k[t] = a,
247
+ a;
248
248
  }
249
- s.diff(o).add((function(e) {
250
- var r = s.getItemModel(e), a = dt[h.type](s, e, r);
249
+ n.diff(o).add((function(e) {
250
+ var a = n.getItemModel(e), r = ut[h.type](n, e, a);
251
251
  // If dataZoom in filteMode: 'empty', the baseValue can be set as NaN in "axisProxy".
252
- if (B && createBackground(e), s.hasValue(e) && ht[h.type](a)) {
252
+ if (B && createBackground(e), n.hasValue(e) && ct[h.type](r)) {
253
253
  var o = !1;
254
254
  u && (
255
255
  // Clip will modify the layout params.
256
256
  // And return a boolean to determine if the shape are fully clipped.
257
- o = it[h.type](f, a));
258
- var v = nt[h.type](t, s, e, a, i, l, d.model, !1, y);
257
+ o = ot[h.type](f, r));
258
+ var g = ht[h.type](t, n, e, r, i, l, d.model, !1, p);
259
259
  c && (
260
260
  /**
261
261
  * Force label animation because even if the element is
@@ -265,31 +265,31 @@ var at = /** @class */ function(t) {
265
265
  * the label will be the final value and doesn't have label
266
266
  * animation.
267
267
  */
268
- v.forceLabelAnimation = !0), updateStyle(v, s, e, r, a, t, i, "polar" === h.type),
269
- N ? v.attr({
270
- shape: a
271
- }) : c ? updateRealtimeAnimation(c, l, v, a, e, i, !1, !1) : p(v, {
272
- shape: a
273
- }, t, e), s.setItemGraphicEl(e, v), n.add(v), v.ignore = o;
268
+ g.forceLabelAnimation = !0), updateStyle(g, n, e, a, r, t, i, "polar" === h.type),
269
+ C ? g.attr({
270
+ shape: r
271
+ }) : c ? updateRealtimeAnimation(c, l, g, r, e, i, !1, !1) : v(g, {
272
+ shape: r
273
+ }, t, e), n.setItemGraphicEl(e, g), s.add(g), g.ignore = o;
274
274
  }
275
- })).update((function(e, r) {
276
- var a = s.getItemModel(e), p = dt[h.type](s, e, a);
275
+ })).update((function(e, a) {
276
+ var r = n.getItemModel(e), v = ut[h.type](n, e, r);
277
277
  if (B) {
278
- var b = void 0;
279
- 0 === V.length ? b = createBackground(r) : ((b = V[r]).useStyle(A.getItemStyle()),
278
+ var w = void 0;
279
+ 0 === V.length ? w = createBackground(a) : ((w = V[a]).useStyle(A.getItemStyle()),
280
280
  // Only cartesian2d support borderRadius.
281
- "cartesian2d" === h.type ? b.setShape("r", x) : b.setShape("cornerRadius", x), k[e] = b);
282
- var w = dt[h.type](s, e), M = createBackgroundShape(i, w, h);
283
- v(b, {
281
+ "cartesian2d" === h.type ? w.setShape("r", S) : w.setShape("cornerRadius", S), k[e] = w);
282
+ var y = ut[h.type](n, e), M = createBackgroundShape(i, y, h);
283
+ g(w, {
284
284
  shape: M
285
285
  }, l, e);
286
286
  }
287
- var S = o.getItemGraphicEl(r);
288
- if (s.hasValue(e) && ht[h.type](p)) {
287
+ var x = o.getItemGraphicEl(a);
288
+ if (n.hasValue(e) && ct[h.type](v)) {
289
289
  var P = !1;
290
- if (u && (P = it[h.type](f, p)) && n.remove(S), S ? g(S) : S = nt[h.type](t, s, e, p, i, l, d.model, !!S, y),
291
- c && (S.forceLabelAnimation = !0), C) {
292
- var D = S.getTextContent();
290
+ if (u && (P = ot[h.type](f, v)) && s.remove(x), x ? b(x) : x = ht[h.type](t, n, e, v, i, l, d.model, !!x, p),
291
+ c && (x.forceLabelAnimation = !0), N) {
292
+ var D = x.getTextContent();
293
293
  if (D) {
294
294
  var z = m(D);
295
295
  null != z.prevValue && (
@@ -304,69 +304,69 @@ var at = /** @class */ function(t) {
304
304
  }
305
305
  // Not change anything if only order changed.
306
306
  // Especially not change label.
307
- else updateStyle(S, s, e, a, p, t, i, "polar" === h.type);
308
- N ? S.attr({
309
- shape: p
310
- }) : c ? updateRealtimeAnimation(c, l, S, p, e, i, !0, C) : v(S, {
311
- shape: p
312
- }, t, e, null), s.setItemGraphicEl(e, S), S.ignore = P, n.add(S);
313
- } else n.remove(S);
307
+ else updateStyle(x, n, e, r, v, t, i, "polar" === h.type);
308
+ C ? x.attr({
309
+ shape: v
310
+ }) : c ? updateRealtimeAnimation(c, l, x, v, e, i, !0, N) : g(x, {
311
+ shape: v
312
+ }, t, e, null), n.setItemGraphicEl(e, x), x.ignore = P, s.add(x);
313
+ } else s.remove(x);
314
314
  })).remove((function(e) {
315
- var r = o.getItemGraphicEl(e);
316
- r && b(r, t, e);
315
+ var a = o.getItemGraphicEl(e);
316
+ a && w(a, t, e);
317
317
  })).execute();
318
- var P = this._backgroundGroup || (this._backgroundGroup = new w);
318
+ var P = this._backgroundGroup || (this._backgroundGroup = new y);
319
319
  P.removeAll();
320
320
  for (var D = 0; D < k.length; ++D) P.add(k[D]);
321
- n.add(P), this._backgroundEls = k, this._data = s;
322
- }, BarView.prototype._renderLarge = function(t, e, r) {
321
+ s.add(P), this._backgroundEls = k, this._data = n;
322
+ }, BarView.prototype._renderLarge = function(t, e, a) {
323
323
  this._clear(), createLarge(t, this.group), this._updateLargeClip(t);
324
324
  }, BarView.prototype._incrementalRenderLarge = function(t, e) {
325
325
  this._removeBackground(), createLarge(e, this.group, this._progressiveEls, !0);
326
326
  }, BarView.prototype._updateLargeClip = function(t) {
327
327
  // Use clipPath in large mode.
328
- var e = t.get("clip", !0) && X(t.coordinateSystem, !1, t), r = this.group;
329
- e ? r.setClipPath(e) : r.removeClipPath();
330
- }, BarView.prototype._enableRealtimeSort = function(t, e, r) {
331
- var a = this;
328
+ var e = t.get("clip", !0) && q(t.coordinateSystem, !1, t), a = this.group;
329
+ e ? a.setClipPath(e) : a.removeClipPath();
330
+ }, BarView.prototype._enableRealtimeSort = function(t, e, a) {
331
+ var r = this;
332
332
  // If no data in the first frame, wait for data to initSort
333
333
  if (e.count()) {
334
334
  var i = t.baseAxis;
335
- if (this._isFirstFrame) this._dispatchInitSort(e, t, r), this._isFirstFrame = !1; else {
335
+ if (this._isFirstFrame) this._dispatchInitSort(e, t, a), this._isFirstFrame = !1; else {
336
336
  var orderMapping_1 = function(t) {
337
- var r = e.getItemGraphicEl(t), a = r && r.shape;
338
- return a &&
337
+ var a = e.getItemGraphicEl(t), r = a && a.shape;
338
+ return r &&
339
339
  // The result should be consistent with the initial sort by data value.
340
340
  // Do not support the case that both positive and negative exist.
341
- Math.abs(i.isHorizontal() ? a.height : a.width) || 0;
341
+ Math.abs(i.isHorizontal() ? r.height : r.width) || 0;
342
342
  };
343
343
  this._onRendered = function() {
344
- a._updateSortWithinSameData(e, orderMapping_1, i, r);
345
- }, r.getZr().on("rendered", this._onRendered);
344
+ r._updateSortWithinSameData(e, orderMapping_1, i, a);
345
+ }, a.getZr().on("rendered", this._onRendered);
346
346
  }
347
347
  }
348
- }, BarView.prototype._dataSort = function(t, e, r) {
349
- var a = [];
348
+ }, BarView.prototype._dataSort = function(t, e, a) {
349
+ var r = [];
350
350
  return t.each(t.mapDimension(e.dim), (function(t, e) {
351
- var i = r(e);
352
- i = null == i ? NaN : i, a.push({
351
+ var i = a(e);
352
+ i = null == i ? NaN : i, r.push({
353
353
  dataIndex: e,
354
354
  mappedValue: i,
355
355
  ordinalNumber: t
356
356
  });
357
- })), a.sort((function(t, e) {
357
+ })), r.sort((function(t, e) {
358
358
  // If NaN, it will be treated as min val.
359
359
  return e.mappedValue - t.mappedValue;
360
360
  })), {
361
- ordinalNumbers: y(a, (function(t) {
361
+ ordinalNumbers: B(r, (function(t) {
362
362
  return t.ordinalNumber;
363
363
  }))
364
364
  };
365
- }, BarView.prototype._isOrderChangedWithinSameData = function(t, e, r) {
366
- for (var a = r.scale, i = t.mapDimension(r.dim), n = Number.MAX_VALUE, s = 0, o = a.getOrdinalMeta().categories.length; s < o; ++s) {
367
- var h = t.rawIndexOf(i, a.getRawOrdinalNumber(s)), d = h < 0 ? Number.MIN_VALUE : e(t.indexOfRawIndex(h));
368
- if (d > n) return !0;
369
- n = d;
365
+ }, BarView.prototype._isOrderChangedWithinSameData = function(t, e, a) {
366
+ for (var r = a.scale, i = t.mapDimension(a.dim), s = Number.MAX_VALUE, n = 0, o = r.getOrdinalMeta().categories.length; n < o; ++n) {
367
+ var h = t.rawIndexOf(i, r.getRawOrdinalNumber(n)), d = h < 0 ? Number.MIN_VALUE : e(t.indexOfRawIndex(h));
368
+ if (d > s) return !0;
369
+ s = d;
370
370
  }
371
371
  return !1;
372
372
  },
@@ -376,26 +376,26 @@ var at = /** @class */ function(t) {
376
376
  * as long as the order in the view doesn't change.
377
377
  */
378
378
  BarView.prototype._isOrderDifferentInView = function(t, e) {
379
- for (var r = e.scale, a = r.getExtent(), i = Math.max(0, a[0]), n = Math.min(a[1], r.getOrdinalMeta().categories.length - 1); i <= n; ++i) if (t.ordinalNumbers[i] !== r.getRawOrdinalNumber(i)) return !0;
380
- }, BarView.prototype._updateSortWithinSameData = function(t, e, r, a) {
381
- if (this._isOrderChangedWithinSameData(t, e, r)) {
382
- var i = this._dataSort(t, r, e);
383
- this._isOrderDifferentInView(i, r) && (this._removeOnRenderedListener(a), a.dispatchAction({
379
+ for (var a = e.scale, r = a.getExtent(), i = Math.max(0, r[0]), s = Math.min(r[1], a.getOrdinalMeta().categories.length - 1); i <= s; ++i) if (t.ordinalNumbers[i] !== a.getRawOrdinalNumber(i)) return !0;
380
+ }, BarView.prototype._updateSortWithinSameData = function(t, e, a, r) {
381
+ if (this._isOrderChangedWithinSameData(t, e, a)) {
382
+ var i = this._dataSort(t, a, e);
383
+ this._isOrderDifferentInView(i, a) && (this._removeOnRenderedListener(r), r.dispatchAction({
384
384
  type: "changeAxisOrder",
385
- componentType: r.dim + "Axis",
386
- axisId: r.index,
385
+ componentType: a.dim + "Axis",
386
+ axisId: a.index,
387
387
  sortInfo: i
388
388
  }));
389
389
  }
390
- }, BarView.prototype._dispatchInitSort = function(t, e, r) {
391
- var a = e.baseAxis, i = this._dataSort(t, a, (function(r) {
392
- return t.get(t.mapDimension(e.otherAxis.dim), r);
390
+ }, BarView.prototype._dispatchInitSort = function(t, e, a) {
391
+ var r = e.baseAxis, i = this._dataSort(t, r, (function(a) {
392
+ return t.get(t.mapDimension(e.otherAxis.dim), a);
393
393
  }));
394
- r.dispatchAction({
394
+ a.dispatchAction({
395
395
  type: "changeAxisOrder",
396
- componentType: a.dim + "Axis",
396
+ componentType: r.dim + "Axis",
397
397
  isInitSort: !0,
398
- axisId: a.index,
398
+ axisId: r.index,
399
399
  sortInfo: i
400
400
  });
401
401
  }, BarView.prototype.remove = function(t, e) {
@@ -405,194 +405,194 @@ var at = /** @class */ function(t) {
405
405
  }, BarView.prototype._removeOnRenderedListener = function(t) {
406
406
  this._onRendered && (t.getZr().off("rendered", this._onRendered), this._onRendered = null);
407
407
  }, BarView.prototype._clear = function(t) {
408
- var e = this.group, r = this._data;
409
- t && t.isAnimationEnabled() && r && !this._isLargeDraw ? (this._removeBackground(),
410
- this._backgroundEls = [], r.eachItemGraphicEl((function(e) {
411
- b(e, t, B(e).dataIndex);
408
+ var e = this.group, a = this._data;
409
+ t && t.isAnimationEnabled() && a && !this._isLargeDraw ? (this._removeBackground(),
410
+ this._backgroundEls = [], a.eachItemGraphicEl((function(e) {
411
+ w(e, t, A(e).dataIndex);
412
412
  }))) : e.removeAll(), this._data = null, this._isFirstFrame = !0;
413
413
  }, BarView.prototype._removeBackground = function() {
414
414
  this.group.remove(this._backgroundGroup), this._backgroundGroup = null;
415
415
  }, BarView.type = "bar", BarView;
416
- }(A), it = {
416
+ }(S), ot = {
417
417
  cartesian2d: function(t, e) {
418
- var r = e.width < 0 ? -1 : 1, a = e.height < 0 ? -1 : 1;
418
+ var a = e.width < 0 ? -1 : 1, r = e.height < 0 ? -1 : 1;
419
419
  // Needs positive width and height
420
- r < 0 && (e.x += e.width, e.width = -e.width), a < 0 && (e.y += e.height, e.height = -e.height);
421
- var i = t.x + t.width, n = t.y + t.height, s = et(e.x, t.x), o = rt(e.x + e.width, i), h = et(e.y, t.y), d = rt(e.y + e.height, n), l = o < s, c = d < h;
420
+ a < 0 && (e.x += e.width, e.width = -e.width), r < 0 && (e.y += e.height, e.height = -e.height);
421
+ var i = t.x + t.width, s = t.y + t.height, n = it(e.x, t.x), o = st(e.x + e.width, i), h = it(e.y, t.y), d = st(e.y + e.height, s), l = o < n, c = d < h;
422
422
  // When xClipped or yClipped, the element will be marked as `ignore`.
423
423
  // But we should also place the element at the edge of the coord sys bounding rect.
424
424
  // Because if data changed and the bar shows again, its transition animation
425
425
  // will begin at this place.
426
- return e.x = l && s > i ? o : s, e.y = c && h > n ? d : h, e.width = l ? 0 : o - s,
426
+ return e.x = l && n > i ? o : n, e.y = c && h > s ? d : h, e.width = l ? 0 : o - n,
427
427
  e.height = c ? 0 : d - h,
428
428
  // Reverse back
429
- r < 0 && (e.x += e.width, e.width = -e.width), a < 0 && (e.y += e.height, e.height = -e.height),
429
+ a < 0 && (e.x += e.width, e.width = -e.width), r < 0 && (e.y += e.height, e.height = -e.height),
430
430
  l || c;
431
431
  },
432
432
  polar: function(t, e) {
433
- var r = e.r0 <= e.r ? 1 : -1;
433
+ var a = e.r0 <= e.r ? 1 : -1;
434
434
  // Make sure r is larger than r0
435
- if (r < 0) {
436
- var a = e.r;
437
- e.r = e.r0, e.r0 = a;
435
+ if (a < 0) {
436
+ var r = e.r;
437
+ e.r = e.r0, e.r0 = r;
438
438
  }
439
- var i = rt(e.r, t.r), n = et(e.r0, t.r0);
440
- e.r = i, e.r0 = n;
441
- var s = i - n < 0;
439
+ var i = st(e.r, t.r), s = it(e.r0, t.r0);
440
+ e.r = i, e.r0 = s;
441
+ var n = i - s < 0;
442
442
  // Reverse back
443
- if (r < 0) {
444
- a = e.r;
445
- e.r = e.r0, e.r0 = a;
443
+ if (a < 0) {
444
+ r = e.r;
445
+ e.r = e.r0, e.r0 = r;
446
446
  }
447
- return s;
447
+ return n;
448
448
  }
449
- }, nt = {
450
- cartesian2d: function(t, e, r, a, i, n, s, o, h) {
451
- var d = new S({
452
- shape: x({}, a),
449
+ }, ht = {
450
+ cartesian2d: function(t, e, a, r, i, s, n, o, h) {
451
+ var d = new x({
452
+ shape: k({}, r),
453
453
  z2: 1
454
454
  });
455
- (d.__dataIndex = r, d.name = "item", n) && (d.shape[i ? "height" : "width"] = 0);
455
+ (d.__dataIndex = a, d.name = "item", s) && (d.shape[i ? "height" : "width"] = 0);
456
456
  return d;
457
457
  },
458
- polar: function(t, e, r, a, i, n, s, o, h) {
459
- var d = !i && h ? tt : M, c = new d({
460
- shape: a,
458
+ polar: function(t, e, a, r, i, s, n, o, h) {
459
+ var d = !i && h ? rt : M, l = new d({
460
+ shape: r,
461
461
  z2: 1
462
462
  });
463
- c.name = "item";
464
- var u, f, g = createPolarPositionMapping(i);
463
+ l.name = "item";
464
+ var u, f, p = createPolarPositionMapping(i);
465
465
  // Animation
466
- if (c.calculateTextPosition = (u = g, f = ({
467
- isRoundCap: d === tt
468
- } || {}).isRoundCap, function(t, e, r) {
469
- var a = e.position;
470
- if (!a || a instanceof Array) return l(t, e, r);
471
- var i = u(a), n = null != e.distance ? e.distance : 5, s = this.shape, o = s.cx, h = s.cy, d = s.r, c = s.r0, p = (d + c) / 2, v = s.startAngle, g = s.endAngle, m = (v + g) / 2, b = f ? Math.abs(d - c) / 2 : 0, w = Math.cos, y = Math.sin, B = o + d * w(v), A = h + d * y(v), M = "left", S = "top";
466
+ if (l.calculateTextPosition = (u = p, f = ({
467
+ isRoundCap: d === rt
468
+ } || {}).isRoundCap, function(t, e, a) {
469
+ var r = e.position;
470
+ if (!r || r instanceof Array) return c(t, e, a);
471
+ var i = u(r), s = null != e.distance ? e.distance : 5, n = this.shape, o = n.cx, h = n.cy, d = n.r, l = n.r0, p = (d + l) / 2, v = n.startAngle, g = n.endAngle, b = (v + g) / 2, m = f ? Math.abs(d - l) / 2 : 0, w = Math.cos, y = Math.sin, B = o + d * w(v), A = h + d * y(v), S = "left", M = "top";
472
472
  switch (i) {
473
473
  case "startArc":
474
- B = o + (c - n) * w(m), A = h + (c - n) * y(m), M = "center", S = "top";
474
+ B = o + (l - s) * w(b), A = h + (l - s) * y(b), S = "center", M = "top";
475
475
  break;
476
476
 
477
477
  case "insideStartArc":
478
- B = o + (c + n) * w(m), A = h + (c + n) * y(m), M = "center", S = "bottom";
478
+ B = o + (l + s) * w(b), A = h + (l + s) * y(b), S = "center", M = "bottom";
479
479
  break;
480
480
 
481
481
  case "startAngle":
482
- B = o + p * w(v) + adjustAngleDistanceX(v, n + b, !1), A = h + p * y(v) + adjustAngleDistanceY(v, n + b, !1),
483
- M = "right", S = "middle";
482
+ B = o + p * w(v) + adjustAngleDistanceX(v, s + m, !1), A = h + p * y(v) + adjustAngleDistanceY(v, s + m, !1),
483
+ S = "right", M = "middle";
484
484
  break;
485
485
 
486
486
  case "insideStartAngle":
487
- B = o + p * w(v) + adjustAngleDistanceX(v, -n + b, !1), A = h + p * y(v) + adjustAngleDistanceY(v, -n + b, !1),
488
- M = "left", S = "middle";
487
+ B = o + p * w(v) + adjustAngleDistanceX(v, -s + m, !1), A = h + p * y(v) + adjustAngleDistanceY(v, -s + m, !1),
488
+ S = "left", M = "middle";
489
489
  break;
490
490
 
491
491
  case "middle":
492
- B = o + p * w(m), A = h + p * y(m), M = "center", S = "middle";
492
+ B = o + p * w(b), A = h + p * y(b), S = "center", M = "middle";
493
493
  break;
494
494
 
495
495
  case "endArc":
496
- B = o + (d + n) * w(m), A = h + (d + n) * y(m), M = "center", S = "bottom";
496
+ B = o + (d + s) * w(b), A = h + (d + s) * y(b), S = "center", M = "bottom";
497
497
  break;
498
498
 
499
499
  case "insideEndArc":
500
- B = o + (d - n) * w(m), A = h + (d - n) * y(m), M = "center", S = "top";
500
+ B = o + (d - s) * w(b), A = h + (d - s) * y(b), S = "center", M = "top";
501
501
  break;
502
502
 
503
503
  case "endAngle":
504
- B = o + p * w(g) + adjustAngleDistanceX(g, n + b, !0), A = h + p * y(g) + adjustAngleDistanceY(g, n + b, !0),
505
- M = "left", S = "middle";
504
+ B = o + p * w(g) + adjustAngleDistanceX(g, s + m, !0), A = h + p * y(g) + adjustAngleDistanceY(g, s + m, !0),
505
+ S = "left", M = "middle";
506
506
  break;
507
507
 
508
508
  case "insideEndAngle":
509
- B = o + p * w(g) + adjustAngleDistanceX(g, -n + b, !0), A = h + p * y(g) + adjustAngleDistanceY(g, -n + b, !0),
510
- M = "right", S = "middle";
509
+ B = o + p * w(g) + adjustAngleDistanceX(g, -s + m, !0), A = h + p * y(g) + adjustAngleDistanceY(g, -s + m, !0),
510
+ S = "right", M = "middle";
511
511
  break;
512
512
 
513
513
  default:
514
- return l(t, e, r);
514
+ return c(t, e, a);
515
515
  }
516
- return (t = t || {}).x = B, t.y = A, t.align = M, t.verticalAlign = S, t;
517
- }), n) {
518
- var m = i ? "r" : "endAngle", b = {};
519
- c.shape[m] = i ? a.r0 : a.startAngle, b[m] = a[m], (o ? v : p)(c, {
520
- shape: b
521
- }, n);
516
+ return (t = t || {}).x = B, t.y = A, t.align = S, t.verticalAlign = M, t;
517
+ }), s) {
518
+ var b = i ? "r" : "endAngle", m = {};
519
+ l.shape[b] = i ? r.r0 : r.startAngle, m[b] = r[b], (o ? g : v)(l, {
520
+ shape: m
521
+ }, s);
522
522
  }
523
- return c;
523
+ return l;
524
524
  }
525
525
  };
526
526
 
527
- function updateRealtimeAnimation(t, e, r, a, i, n, s, o) {
527
+ function updateRealtimeAnimation(t, e, a, r, i, s, n, o) {
528
528
  var h, d;
529
- n ? (d = {
530
- x: a.x,
531
- width: a.width
529
+ s ? (d = {
530
+ x: r.x,
531
+ width: r.width
532
532
  }, h = {
533
- y: a.y,
534
- height: a.height
533
+ y: r.y,
534
+ height: r.height
535
535
  }) : (d = {
536
- y: a.y,
537
- height: a.height
536
+ y: r.y,
537
+ height: r.height
538
538
  }, h = {
539
- x: a.x,
540
- width: a.width
539
+ x: r.x,
540
+ width: r.width
541
541
  }), o ||
542
542
  // Keep the original growth animation if only axis order changed.
543
543
  // Not start a new animation.
544
- (s ? v : p)(r, {
544
+ (n ? g : v)(a, {
545
545
  shape: h
546
546
  }, e, i, null);
547
547
  var l = e ? t.baseAxis.model : null;
548
- (s ? v : p)(r, {
548
+ (n ? g : v)(a, {
549
549
  shape: d
550
550
  }, l, i);
551
551
  }
552
552
 
553
553
  function checkPropertiesNotValid(t, e) {
554
- for (var r = 0; r < e.length; r++) if (!isFinite(t[e[r]])) return !0;
554
+ for (var a = 0; a < e.length; a++) if (!isFinite(t[e[a]])) return !0;
555
555
  return !1;
556
556
  }
557
557
 
558
- var st = [ "x", "y", "width", "height" ], ot = [ "cx", "cy", "r", "startAngle", "endAngle" ], ht = {
558
+ var dt = [ "x", "y", "width", "height" ], lt = [ "cx", "cy", "r", "startAngle", "endAngle" ], ct = {
559
559
  cartesian2d: function(t) {
560
- return !checkPropertiesNotValid(t, st);
560
+ return !checkPropertiesNotValid(t, dt);
561
561
  },
562
562
  polar: function(t) {
563
- return !checkPropertiesNotValid(t, ot);
563
+ return !checkPropertiesNotValid(t, lt);
564
564
  }
565
- }, dt = {
565
+ }, ut = {
566
566
  // itemModel is only used to get borderWidth, which is not needed
567
567
  // when calculating bar background layout.
568
- cartesian2d: function(t, e, r) {
569
- var a = t.getItemLayout(e), i = r ?
568
+ cartesian2d: function(t, e, a) {
569
+ var r = t.getItemLayout(e), i = a ?
570
570
  // In case width or height are too small.
571
571
  function(t, e) {
572
572
  // Has no border.
573
- var r = t.get([ "itemStyle", "borderColor" ]);
574
- if (!r || "none" === r) return 0;
575
- var a = t.get([ "itemStyle", "borderWidth" ]) || 0, i = isNaN(e.width) ? Number.MAX_VALUE : Math.abs(e.width), n = isNaN(e.height) ? Number.MAX_VALUE : Math.abs(e.height);
573
+ var a = t.get([ "itemStyle", "borderColor" ]);
574
+ if (!a || "none" === a) return 0;
575
+ var r = t.get([ "itemStyle", "borderWidth" ]) || 0, i = isNaN(e.width) ? Number.MAX_VALUE : Math.abs(e.width), s = isNaN(e.height) ? Number.MAX_VALUE : Math.abs(e.height);
576
576
  // width or height may be NaN for empty data
577
- return Math.min(a, i, n);
578
- }(r, a) : 0, n = a.width > 0 ? 1 : -1, s = a.height > 0 ? 1 : -1;
577
+ return Math.min(r, i, s);
578
+ }(a, r) : 0, s = r.width > 0 ? 1 : -1, n = r.height > 0 ? 1 : -1;
579
579
  return {
580
- x: a.x + n * i / 2,
581
- y: a.y + s * i / 2,
582
- width: a.width - n * i,
583
- height: a.height - s * i
580
+ x: r.x + s * i / 2,
581
+ y: r.y + n * i / 2,
582
+ width: r.width - s * i,
583
+ height: r.height - n * i
584
584
  };
585
585
  },
586
- polar: function(t, e, r) {
587
- var a = t.getItemLayout(e);
586
+ polar: function(t, e, a) {
587
+ var r = t.getItemLayout(e);
588
588
  return {
589
- cx: a.cx,
590
- cy: a.cy,
591
- r0: a.r0,
592
- r: a.r,
593
- startAngle: a.startAngle,
594
- endAngle: a.endAngle,
595
- clockwise: a.clockwise
589
+ cx: r.cx,
590
+ cy: r.cy,
591
+ r0: r.r0,
592
+ r: r.r,
593
+ startAngle: r.startAngle,
594
+ endAngle: r.endAngle,
595
+ clockwise: r.clockwise
596
596
  };
597
597
  }
598
598
  };
@@ -615,43 +615,43 @@ function createPolarPositionMapping(t) {
615
615
  }(t);
616
616
  }
617
617
 
618
- function updateStyle(t, e, r, a, i, n, o, h) {
619
- var d = e.getItemVisual(r, "style");
618
+ function updateStyle(t, e, a, r, i, s, n, h) {
619
+ var d = e.getItemVisual(a, "style");
620
620
  if (h) {
621
- if (!n.get("roundCap")) {
622
- var l = t.shape, f = Q(a.getModel("itemStyle"), l, !0);
623
- x(l, f), t.setShape(l);
621
+ if (!s.get("roundCap")) {
622
+ var l = t.shape, c = G(r.getModel("itemStyle"), l, !0);
623
+ k(l, c), t.setShape(l);
624
624
  }
625
625
  } else {
626
- var p = a.get([ "itemStyle", "borderRadius" ]) || 0;
626
+ var p = r.get([ "itemStyle", "borderRadius" ]) || 0;
627
627
  t.setShape("r", p);
628
628
  }
629
629
  t.useStyle(d);
630
- var v = a.getShallow("cursor");
630
+ var v = r.getShallow("cursor");
631
631
  v && t.attr("cursor", v);
632
- var g = h ? o ? i.r >= i.r0 ? "endArc" : "startArc" : i.endAngle >= i.startAngle ? "endAngle" : "startAngle" : o ? i.height >= 0 ? "bottom" : "top" : i.width >= 0 ? "right" : "left", m = k(a);
633
- V(t, m, {
634
- labelFetcher: n,
635
- labelDataIndex: r,
636
- defaultText: H(n.getData(), r),
632
+ var g = h ? n ? i.r >= i.r0 ? "endArc" : "startArc" : i.endAngle >= i.startAngle ? "endAngle" : "startAngle" : n ? i.height >= 0 ? "bottom" : "top" : i.width >= 0 ? "right" : "left", b = V(r);
633
+ C(t, b, {
634
+ labelFetcher: s,
635
+ labelDataIndex: a,
636
+ defaultText: J(s.getData(), a),
637
637
  inheritColor: d.fill,
638
638
  defaultOpacity: d.opacity,
639
639
  defaultOutsidePosition: g
640
640
  });
641
- var b = t.getTextContent();
642
- if (h && b) {
643
- var w = a.get([ "label", "position" ]);
644
- t.textConfig.inside = "middle" === w || null, function(t, e, r, a) {
645
- if (c(a))
641
+ var m = t.getTextContent();
642
+ if (h && m) {
643
+ var w = r.get([ "label", "position" ]);
644
+ t.textConfig.inside = "middle" === w || null, function(t, e, a, r) {
645
+ if (u(r))
646
646
  // user-set rotation
647
647
  t.setTextConfig({
648
- rotation: a
649
- }); else if (u(e))
648
+ rotation: r
649
+ }); else if (f(e))
650
650
  // user-set position, use 0 as auto rotation
651
651
  t.setTextConfig({
652
652
  rotation: 0
653
653
  }); else {
654
- var i, n = t.shape, s = n.clockwise ? n.startAngle : n.endAngle, o = n.clockwise ? n.endAngle : n.startAngle, h = (s + o) / 2, d = r(e);
654
+ var i, s = t.shape, n = s.clockwise ? s.startAngle : s.endAngle, o = s.clockwise ? s.endAngle : s.startAngle, h = (n + o) / 2, d = a(e);
655
655
  switch (d) {
656
656
  case "startArc":
657
657
  case "insideStartArc":
@@ -663,7 +663,7 @@ function updateStyle(t, e, r, a, i, n, o, h) {
663
663
 
664
664
  case "startAngle":
665
665
  case "insideStartAngle":
666
- i = s;
666
+ i = n;
667
667
  break;
668
668
 
669
669
  case "endAngle":
@@ -687,23 +687,23 @@ function updateStyle(t, e, r, a, i, n, o, h) {
687
687
  rotation: l
688
688
  });
689
689
  }
690
- }(t, "outside" === w ? g : w, createPolarPositionMapping(o), a.get([ "label", "rotate" ]));
690
+ }(t, "outside" === w ? g : w, createPolarPositionMapping(n), r.get([ "label", "rotate" ]));
691
691
  }
692
- N(b, m, n.getRawValue(r), (function(t) {
693
- return F(e, t);
692
+ N(m, b, s.getRawValue(a), (function(t) {
693
+ return K(e, t);
694
694
  }));
695
- var y = a.getModel([ "emphasis" ]);
696
- C(t, y.get("focus"), y.get("blurScope"), y.get("disabled")), P(t, a), function(t) {
695
+ var y = r.getModel([ "emphasis" ]);
696
+ P(t, y.get("focus"), y.get("blurScope"), y.get("disabled")), D(t, r), function(t) {
697
697
  return null != t.startAngle && null != t.endAngle && t.startAngle === t.endAngle;
698
- }(i) && (t.style.fill = "none", t.style.stroke = "none", s(t.states, (function(t) {
698
+ }(i) && (t.style.fill = "none", t.style.stroke = "none", o(t.states, (function(t) {
699
699
  t.style && (t.style.fill = t.style.stroke = "none");
700
700
  })));
701
701
  }
702
702
 
703
- var LagePathShape = function() {}, lt = /** @class */ function(t) {
703
+ var LagePathShape = function() {}, ft = /** @class */ function(t) {
704
704
  function LargePath(e) {
705
- var r = t.call(this, e) || this;
706
- return r.type = "largeBar", r;
705
+ var a = t.call(this, e) || this;
706
+ return a.type = "largeBar", a;
707
707
  }
708
708
  return n(LargePath, t), LargePath.prototype.getDefaultShape = function() {
709
709
  return new LagePathShape;
@@ -711,82 +711,82 @@ var LagePathShape = function() {}, lt = /** @class */ function(t) {
711
711
  for (
712
712
  // Drawing lines is more efficient than drawing
713
713
  // a whole line or drawing rects.
714
- var r = e.points, a = this.baseDimIdx, i = 1 - this.baseDimIdx, n = [], s = [], o = this.barWidth, h = 0; h < r.length; h += 3) s[a] = o,
715
- s[i] = r[h + 2], n[a] = r[h + a], n[i] = r[h + i], t.rect(n[0], n[1], s[0], s[1]);
714
+ var a = e.points, r = this.baseDimIdx, i = 1 - this.baseDimIdx, s = [], n = [], o = this.barWidth, h = 0; h < a.length; h += 3) n[r] = o,
715
+ n[i] = a[h + 2], s[r] = a[h + r], s[i] = a[h + i], t.rect(s[0], s[1], n[0], n[1]);
716
716
  }, LargePath;
717
- }(d);
717
+ }(l);
718
718
 
719
- function createLarge(t, e, r, a) {
719
+ function createLarge(t, e, a, r) {
720
720
  // TODO support polar
721
- var i = t.getData(), n = i.getLayout("valueAxisHorizontal") ? 1 : 0, s = i.getLayout("largeDataIndices"), o = i.getLayout("size"), h = t.getModel("backgroundStyle"), d = i.getLayout("largeBackgroundPoints");
721
+ var i = t.getData(), s = i.getLayout("valueAxisHorizontal") ? 1 : 0, n = i.getLayout("largeDataIndices"), o = i.getLayout("size"), h = t.getModel("backgroundStyle"), d = i.getLayout("largeBackgroundPoints");
722
722
  if (d) {
723
- var l = new lt({
723
+ var l = new ft({
724
724
  shape: {
725
725
  points: d
726
726
  },
727
- incremental: !!a,
727
+ incremental: !!r,
728
728
  silent: !0,
729
729
  z2: 0
730
730
  });
731
- l.baseDimIdx = n, l.largeDataIndices = s, l.barWidth = o, l.useStyle(h.getItemStyle()),
732
- e.add(l), r && r.push(l);
731
+ l.baseDimIdx = s, l.largeDataIndices = n, l.barWidth = o, l.useStyle(h.getItemStyle()),
732
+ e.add(l), a && a.push(l);
733
733
  }
734
- var c = new lt({
734
+ var c = new ft({
735
735
  shape: {
736
736
  points: i.getLayout("largePoints")
737
737
  },
738
- incremental: !!a,
738
+ incremental: !!r,
739
739
  ignoreCoarsePointer: !0,
740
740
  z2: 1
741
741
  });
742
- c.baseDimIdx = n, c.largeDataIndices = s, c.barWidth = o, e.add(c), c.useStyle(i.getVisual("style")),
742
+ c.baseDimIdx = s, c.largeDataIndices = n, c.barWidth = o, e.add(c), c.useStyle(i.getVisual("style")),
743
743
  // Stroke is rendered first to avoid overlapping with fill
744
744
  c.style.stroke = null,
745
745
  // Enable tooltip and user mouse/touch event handlers.
746
- B(c).seriesIndex = t.seriesIndex, t.get("silent") || (c.on("mousedown", ct), c.on("mousemove", ct)),
747
- r && r.push(c);
746
+ A(c).seriesIndex = t.seriesIndex, t.get("silent") || (c.on("mousedown", pt), c.on("mousemove", pt)),
747
+ a && a.push(c);
748
748
  }
749
749
 
750
750
  // Use throttle to avoid frequently traverse to find dataIndex.
751
- var ct = D((function(t) {
752
- var e = function(t, e, r) {
753
- for (var a = t.baseDimIdx, i = 1 - a, n = t.shape.points, s = t.largeDataIndices, o = [], h = [], d = t.barWidth, l = 0, c = n.length / 3; l < c; l++) {
751
+ var pt = z((function(t) {
752
+ var e = function(t, e, a) {
753
+ for (var r = t.baseDimIdx, i = 1 - r, s = t.shape.points, n = t.largeDataIndices, o = [], h = [], d = t.barWidth, l = 0, c = s.length / 3; l < c; l++) {
754
754
  var u = 3 * l;
755
- if (h[a] = d, h[i] = n[u + 2], o[a] = n[u + a], o[i] = n[u + i], h[i] < 0 && (o[i] += h[i],
756
- h[i] = -h[i]), e >= o[0] && e <= o[0] + h[0] && r >= o[1] && r <= o[1] + h[1]) return s[l];
755
+ if (h[r] = d, h[i] = s[u + 2], o[r] = s[u + r], o[i] = s[u + i], h[i] < 0 && (o[i] += h[i],
756
+ h[i] = -h[i]), e >= o[0] && e <= o[0] + h[0] && a >= o[1] && a <= o[1] + h[1]) return n[l];
757
757
  }
758
758
  return -1;
759
759
  }(this, t.offsetX, t.offsetY);
760
- B(this).dataIndex = e >= 0 ? e : null;
760
+ A(this).dataIndex = e >= 0 ? e : null;
761
761
  }), 30, !1);
762
762
 
763
- function createBackgroundShape(t, e, r) {
764
- if (Y(r, "cartesian2d")) {
765
- var a = e, i = r.getArea();
763
+ function createBackgroundShape(t, e, a) {
764
+ if (H(a, "cartesian2d")) {
765
+ var r = e, i = a.getArea();
766
766
  return {
767
- x: t ? a.x : i.x,
768
- y: t ? i.y : a.y,
769
- width: t ? a.width : i.width,
770
- height: t ? i.height : a.height
767
+ x: t ? r.x : i.x,
768
+ y: t ? i.y : r.y,
769
+ width: t ? r.width : i.width,
770
+ height: t ? i.height : r.height
771
771
  };
772
772
  }
773
- var n = e;
773
+ var s = e;
774
774
  return {
775
- cx: (i = r.getArea()).cx,
775
+ cx: (i = a.getArea()).cx,
776
776
  cy: i.cy,
777
- r0: t ? i.r0 : n.r0,
778
- r: t ? i.r : n.r,
779
- startAngle: t ? n.startAngle : 0,
780
- endAngle: t ? n.endAngle : 2 * Math.PI
777
+ r0: t ? i.r0 : s.r0,
778
+ r: t ? i.r : s.r,
779
+ startAngle: t ? s.startAngle : 0,
780
+ endAngle: t ? s.endAngle : 2 * Math.PI
781
781
  };
782
782
  }
783
783
 
784
- j([ O, function(t) {
785
- t.registerChartView(at), t.registerSeriesModel($), t.registerLayout(t.PRIORITY.VISUAL.LAYOUT, z(L, "bar")),
784
+ I([ O, function(t) {
785
+ t.registerChartView(nt), t.registerSeriesModel(at), t.registerLayout(t.PRIORITY.VISUAL.LAYOUT, L(U, "bar")),
786
786
  // Do layout after other overall layout, which can prepare some information.
787
- t.registerLayout(t.PRIORITY.VISUAL.PROGRESSIVE_LAYOUT, U("bar")),
787
+ t.registerLayout(t.PRIORITY.VISUAL.PROGRESSIVE_LAYOUT, j("bar")),
788
788
  // Down sample after filter
789
- t.registerProcessor(t.PRIORITY.PROCESSOR.STATISTIC, q("bar")),
789
+ t.registerProcessor(t.PRIORITY.PROCESSOR.STATISTIC, Q("bar")),
790
790
  /**
791
791
  * @payload
792
792
  * @property {string} [componentType=series]
@@ -801,19 +801,30 @@ j([ O, function(t) {
801
801
  event: "changeAxisOrder",
802
802
  update: "update"
803
803
  }, (function(t, e) {
804
- var r = t.componentType || "series";
804
+ var a = t.componentType || "series";
805
805
  e.eachComponent({
806
- mainType: r,
806
+ mainType: a,
807
807
  query: t
808
808
  }, (function(e) {
809
809
  t.sortInfo && e.axis.setCategorySortInfo(t.sortInfo);
810
810
  }));
811
811
  }));
812
- }, I, Z, G, J ]);
812
+ }, E, tt, Z, $ ]);
813
813
 
814
- const ut = class {
814
+ const vt = class {
815
815
  constructor(e) {
816
- t(this, e),
816
+ t(this, e), this.keyboard = R({
817
+ getChart: () => this.chart,
818
+ getData: () => this.data,
819
+ onChange: t => this.keyboardIndex = t,
820
+ getOrder: () => {
821
+ const t = this.data.map(((t, e) => e));
822
+ return this.sort ? t.sort(((t, e) => this.data[e].value - this.data[t].value)) : t;
823
+ }
824
+ }),
825
+ // #endregion
826
+ // #region State Properties
827
+ this.keyboardIndex = null,
817
828
  /** An array of objects that contain the data to be displayed. */
818
829
  this.data = [],
819
830
  /** Controls visibility of labels on the name axis. */
@@ -841,6 +852,7 @@ const ut = class {
841
852
  // #endregion
842
853
  // #region Component Lifecycle Events
843
854
  disconnectedCallback() {
855
+ this.keyboard.onBlur(),
844
856
  // Remove event listeners
845
857
  window.removeEventListener("resize", this.resizeEventListener),
846
858
  // Clean up chart instance
@@ -852,23 +864,39 @@ const ut = class {
852
864
  this.chartContainer = null, this.resizeEventListener = null, this.chartFinishedListener = null;
853
865
  }
854
866
  componentDidLoad() {
855
- const t = R(this.chartContainer);
867
+ const t = T(this.chartContainer);
856
868
  this.chart = t, this.resizeEventListener = () => this.resizeChart(), window.addEventListener("resize", this.resizeEventListener),
857
- this.cacheComputedStyles(), this.updateChart(t), this.setupChartEvents(t), a(this.hostElement);
869
+ this.cacheComputedStyles(), this.updateChart(t), this.setupChartEvents(t), r(this.hostElement);
870
+ }
871
+ // #endregion
872
+ // #region Listeners
873
+ delegateFocus(t) {
874
+ var e;
875
+ i(t, this.hostElement) && this.data.length && (null === (e = this.chartContainer) || void 0 === e || e.focus());
858
876
  }
859
877
  // #endregion
860
878
  // #region Watchers
861
879
  propsUpdates() {
862
- this.chart && this.updateChart(this.chart);
880
+ this.chart && (this.updateChart(this.chart), this.keyboard.refresh());
863
881
  }
864
882
  // #endregion
865
883
  // #region Local Methods
884
+ get keyboardDescription() {
885
+ var t;
886
+ const e = this.data[this.keyboardIndex];
887
+ if (null === this.keyboardIndex || !e) return "";
888
+ const a = (null === (t = this.formatModifier) || void 0 === t ? void 0 : t.includes("dec")) ? this.formatModifier.replace("dec", "") : 0;
889
+ return X(e.name, _(e.value || 0, {
890
+ type: this.format,
891
+ decimals: a
892
+ }), this.sort ? [ ...this.data ].sort(((t, e) => e.value - t.value)).indexOf(e) : this.keyboardIndex, this.data.length);
893
+ }
866
894
  cacheComputedStyles() {
867
895
  this.chartContainerStyles = getComputedStyle(this.chartContainer), this.hostElementStyles = getComputedStyle(this.hostElement);
868
896
  }
869
897
  getColor(t) {
870
- const e = E("var(--t-primary)", this.chartContainerStyles, this.hostElementStyles), r = E(this.color, this.chartContainerStyles, this.hostElementStyles), a = E(t, this.chartContainerStyles, this.hostElementStyles);
871
- return a || (T(t) ? t : r || (T(this.color) ? this.color : e));
898
+ const e = W("var(--t-primary)", this.chartContainerStyles, this.hostElementStyles), a = W(this.color, this.chartContainerStyles, this.hostElementStyles), r = W(t, this.chartContainerStyles, this.hostElementStyles);
899
+ return r || (Y(t) ? t : a || (Y(this.color) ? this.color : e));
872
900
  }
873
901
  processData(t) {
874
902
  return t.map((t => ({
@@ -884,16 +912,16 @@ const ut = class {
884
912
  setupChartEvents(t) {
885
913
  this.chartFinishedListener = () => {
886
914
  var e;
887
- const r = t.getDom().querySelector("canvas");
888
- null !== (e = null == r ? void 0 : r.hasAttribute("aria-hidden")) && void 0 !== e && e || r.setAttribute("aria-hidden", "true");
915
+ const a = t.getDom().querySelector("canvas");
916
+ null !== (e = null == a ? void 0 : a.hasAttribute("aria-hidden")) && void 0 !== e && e || a.setAttribute("aria-hidden", "true");
889
917
  }, t.on("finished", this.chartFinishedListener);
890
918
  }
891
919
  updateChart(t) {
892
- var e;
893
- const r = (null === (e = this.formatModifier) || void 0 === e ? void 0 : e.includes("dec")) ? this.formatModifier.replace("dec", "") : 0, a = {
920
+ var e, a;
921
+ const r = (null === (e = this.formatModifier) || void 0 === e ? void 0 : e.includes("dec")) ? this.formatModifier.replace("dec", "") : 0, i = {
894
922
  type: "value",
895
923
  axisLabel: {
896
- formatter: t => W(t, {
924
+ formatter: t => _(t, {
897
925
  type: this.format,
898
926
  decimals: r
899
927
  }),
@@ -903,7 +931,7 @@ const ut = class {
903
931
  }
904
932
  }, n = {
905
933
  type: "category",
906
- data: this.data.map((t => i(t.name) || "")),
934
+ data: this.data.map((t => s(t.name) || "")),
907
935
  axisLabel: {
908
936
  rotate: this.offsetDataNames ? 45 : 0,
909
937
  margin: this.offsetDataNames ? 15 : 8,
@@ -916,12 +944,12 @@ const ut = class {
916
944
  alignWithLabel: this.offsetDataNames
917
945
  }
918
946
  };
919
- return t.setOption({
947
+ t.setOption({
920
948
  aria: {
921
949
  enabled: !0
922
950
  },
923
951
  title: {
924
- text: i(this.chartName),
952
+ text: s(this.chartName),
925
953
  show: this.showChartName,
926
954
  left: this.alignChartName,
927
955
  subtext: this.chartSubTitle
@@ -930,8 +958,8 @@ const ut = class {
930
958
  containLabel: !0,
931
959
  ...this.gridPadding
932
960
  },
933
- xAxis: "horizontal" === this.orientation ? a : n,
934
- yAxis: "horizontal" === this.orientation ? n : a,
961
+ xAxis: "horizontal" === this.orientation ? i : n,
962
+ yAxis: "horizontal" === this.orientation ? n : i,
935
963
  series: [ {
936
964
  data: this.processData(this.data),
937
965
  id: "bar",
@@ -940,31 +968,47 @@ const ut = class {
940
968
  show: !this.hideBarLabels,
941
969
  position: "top",
942
970
  fontWeight: "bold",
943
- formatter: t => W(t.value, {
971
+ formatter: t => _(t.value, {
944
972
  type: this.format,
945
973
  decimals: r
946
974
  })
947
975
  },
948
976
  realtimeSort: this.sort
949
977
  } ]
950
- });
978
+ }),
979
+ // ECharts ARIA sets role="img" when options change; retain the keyboard interaction role.
980
+ null === (a = this.chartContainer) || void 0 === a || a.setAttribute("role", "application");
951
981
  }
952
982
  // #endregion
953
983
  // #region Render Methods
954
984
  render() {
955
985
  return e("div", {
956
- key: "36a77a29d5e06363f2cd2267c298429cd2ef9864",
986
+ key: "2764d138c5aee7d65df3361a7d4720e00ba13368",
957
987
  class: "container"
958
988
  }, e("div", {
959
- key: "e7382ecf3ed8323ffbf1c57a78c870d7d7c4b718",
989
+ key: "864b3f1d5987a101ab008e37e99c874cc411c143",
960
990
  ref: t => this.chartContainer = t,
961
991
  class: "chart-container",
962
- role: "img",
992
+ role: "application",
993
+ tabIndex: this.data.length ? 0 : -1,
994
+ "aria-describedby": "chart-keyboard-instructions",
995
+ onFocus: this.keyboard.onFocus,
996
+ onBlur: this.keyboard.onBlur,
997
+ onKeyDown: this.keyboard.onKeyDown,
963
998
  "test-id": "barChartContainer"
964
- }));
999
+ }), e("div", {
1000
+ key: "3b6aa42b27e86f75cd4d1fc3d2efe823b950864c",
1001
+ id: "chart-keyboard-instructions",
1002
+ class: "sr"
1003
+ }, s("tecton.element.chart.keyboardInstructions")), e("div", {
1004
+ key: "5d216b8ccce18ea77f136fd43ab81db335b38d89",
1005
+ class: null === this.keyboardIndex ? "sr" : "chart-keyboard-value",
1006
+ role: "status",
1007
+ "aria-atomic": "true"
1008
+ }, this.keyboardDescription));
965
1009
  }
966
1010
  get hostElement() {
967
- return r(this);
1011
+ return a(this);
968
1012
  }
969
1013
  static get watchers() {
970
1014
  return {
@@ -1017,6 +1061,6 @@ const ut = class {
1017
1061
  }
1018
1062
  };
1019
1063
 
1020
- ut.style = '*{box-sizing:border-box}*:active{outline:none}*:focus-visible{outline:none;box-shadow:var(--const-double-focus-ring, 0 0 0 2px #ffffff, 0 0 0 4px #0066cc)}:host{box-shadow:none !important}::-moz-focus-inner{border:none}input,textarea,button{font-family:inherit;font-size:inherit;font-stretch:inherit}:host(.sr),:host(.sr) button{border:0;clip:rect(0 0 0 0);height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute;width:1px;white-space:nowrap}.sr,.sr button{border:0;clip:rect(0 0 0 0);height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute;width:1px;white-space:nowrap}.hidden{display:none}:host([hidden]){display:none}.invisible{visibility:hidden}@container style(--t-prefers-motion: "reduced"){*,*::before,*::after{animation-duration:0.01ms !important;transition-duration:0.01ms !important;animation-delay:0ms !important;transition-delay:0ms !important}}@container (not style(--t-prefers-motion: "normal")) and (not style(--t-prefers-motion: "reduced")){@media (prefers-reduced-motion: reduce){*,*::before,*::after{animation-duration:0.01ms !important;transition-duration:0.01ms !important;animation-delay:0ms !important;transition-delay:0ms !important}}}:host{width:var(--tct-bar-chart-width, 100%);height:var(--tct-bar-chart-height, 100%);display:block}.container{width:100%;height:100%}.chart-container{width:100%;height:100%}';
1064
+ vt.style = '*{box-sizing:border-box}*:active{outline:none}*:focus-visible{outline:none;box-shadow:var(--const-double-focus-ring, 0 0 0 2px #ffffff, 0 0 0 4px #0066cc)}:host{box-shadow:none !important}::-moz-focus-inner{border:none}input,textarea,button{font-family:inherit;font-size:inherit;font-stretch:inherit}:host(.sr),:host(.sr) button{border:0;clip:rect(0 0 0 0);height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute;width:1px;white-space:nowrap}.sr,.sr button{border:0;clip:rect(0 0 0 0);height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute;width:1px;white-space:nowrap}.hidden{display:none}:host([hidden]){display:none}.invisible{visibility:hidden}@container style(--t-prefers-motion: "reduced"){*,*::before,*::after{animation-duration:0.01ms !important;transition-duration:0.01ms !important;animation-delay:0ms !important;transition-delay:0ms !important}}@container (not style(--t-prefers-motion: "normal")) and (not style(--t-prefers-motion: "reduced")){@media (prefers-reduced-motion: reduce){*,*::before,*::after{animation-duration:0.01ms !important;transition-duration:0.01ms !important;animation-delay:0ms !important;transition-delay:0ms !important}}}:host{width:var(--tct-bar-chart-width, 100%);height:var(--tct-bar-chart-height, 100%);display:block}.container{position:relative;width:100%;height:100%}.chart-keyboard-value{position:absolute;top:0;right:0;padding:var(--app-scale-1x);background:var(--t-base);color:var(--t-text);pointer-events:none}.chart-container{width:100%;height:100%}';
1021
1065
 
1022
- export { ut as q2_chart_bar }
1066
+ export { vt as q2_chart_bar }