q2-tecton-elements 1.70.2 → 1.71.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 (360) hide show
  1. package/dist/bundle-report.json +556 -231
  2. package/dist/cjs/click-elsewhere_3.cjs.entry.js +2 -2
  3. package/dist/cjs/loader.cjs.js +1 -1
  4. package/dist/cjs/q2-action-group_2.cjs.entry.js +3 -3
  5. package/dist/cjs/q2-action-sheet.cjs.entry.js +4 -3
  6. package/dist/cjs/q2-avatar.cjs.entry.js +1 -1
  7. package/dist/cjs/q2-badge_2.cjs.entry.js +17 -8
  8. package/dist/cjs/q2-btn_2.cjs.entry.js +2 -2
  9. package/dist/cjs/q2-calendar.cjs.entry.js +8 -6
  10. package/dist/cjs/q2-card-image.cjs.entry.js +1 -1
  11. package/dist/cjs/q2-card.cjs.entry.js +1 -1
  12. package/dist/cjs/q2-carousel-pane.cjs.entry.js +1 -1
  13. package/dist/cjs/q2-carousel.cjs.entry.js +108 -74
  14. package/dist/cjs/q2-chart-area.cjs.entry.js +1 -1
  15. package/dist/cjs/q2-chart-bar.cjs.entry.js +1 -1
  16. package/dist/cjs/q2-chart-donut.cjs.entry.js +1 -1
  17. package/dist/cjs/q2-checkbox-group.cjs.entry.js +1 -1
  18. package/dist/cjs/q2-checkbox_2.cjs.entry.js +3 -3
  19. package/dist/cjs/q2-currency.cjs.entry.js +1 -1
  20. package/dist/cjs/q2-data-table.cjs.entry.js +1 -1
  21. package/dist/cjs/q2-detail.cjs.entry.js +1 -1
  22. package/dist/cjs/q2-dropdown-item.cjs.entry.js +1 -1
  23. package/dist/cjs/q2-dropdown.cjs.entry.js +1 -1
  24. package/dist/cjs/q2-editable-field.cjs.entry.js +3 -3
  25. package/dist/cjs/q2-example.cjs.entry.js +1 -1
  26. package/dist/cjs/q2-file-picker.cjs.entry.js +1 -1
  27. package/dist/cjs/q2-form.cjs.entry.js +1 -1
  28. package/dist/cjs/q2-formatted-text.cjs.entry.js +1 -1
  29. package/dist/cjs/q2-icon.cjs.entry.js +1 -1
  30. package/dist/cjs/q2-item.cjs.entry.js +1 -1
  31. package/dist/cjs/q2-legend.cjs.entry.js +1 -1
  32. package/dist/cjs/q2-link_2.cjs.entry.js +2 -2
  33. package/dist/cjs/q2-message.cjs.entry.js +1 -1
  34. package/dist/cjs/q2-meter.cjs.entry.js +1 -1
  35. package/dist/cjs/q2-modal.cjs.entry.js +1 -1
  36. package/dist/cjs/q2-month-picker.cjs.entry.js +1 -1
  37. package/dist/cjs/q2-optgroup.cjs.entry.js +1 -1
  38. package/dist/cjs/q2-option.cjs.entry.js +1 -1
  39. package/dist/cjs/q2-otp.cjs.entry.js +1 -1
  40. package/dist/cjs/q2-pagination.cjs.entry.js +1 -1
  41. package/dist/cjs/q2-pill.cjs.entry.js +18 -2
  42. package/dist/cjs/q2-radio-group.cjs.entry.js +1 -1
  43. package/dist/cjs/q2-radio.cjs.entry.js +1 -1
  44. package/dist/cjs/q2-relative-time.cjs.entry.js +2 -2
  45. package/dist/cjs/q2-search.cjs.entry.js +2 -2
  46. package/dist/cjs/q2-section.cjs.entry.js +3 -3
  47. package/dist/cjs/q2-select.cjs.entry.js +1 -1
  48. package/dist/cjs/q2-stepper-pane.cjs.entry.js +2 -2
  49. package/dist/cjs/q2-stepper-vertical.cjs.entry.js +32 -9
  50. package/dist/cjs/q2-stepper.cjs.entry.js +18 -4
  51. package/dist/cjs/q2-surface.cjs.entry.js +3 -3
  52. package/dist/cjs/q2-tab-container.cjs.entry.js +89 -20
  53. package/dist/cjs/q2-tab-pane.cjs.entry.js +2 -2
  54. package/dist/cjs/q2-tecton-elements.cjs.js +1 -1
  55. package/dist/cjs/q2-textarea.cjs.entry.js +3 -3
  56. package/dist/cjs/q2-toast.cjs.entry.js +1 -1
  57. package/dist/cjs/q2-tooltip.cjs.entry.js +26 -15
  58. package/dist/cjs/tecton-tab-pane.cjs.entry.js +3 -3
  59. package/dist/collection/components/q2-action-group/q2-action-group.css +22 -0
  60. package/dist/collection/components/q2-action-sheet/q2-action-sheet.css +24 -1
  61. package/dist/collection/components/q2-action-sheet/q2-action-sheet.js +3 -2
  62. package/dist/collection/components/q2-avatar/q2-avatar.css +23 -1
  63. package/dist/collection/components/q2-avatar/test/q2-avatar-test.vr.js +13 -1
  64. package/dist/collection/components/q2-badge/q2-badge.css +26 -4
  65. package/dist/collection/components/q2-badge/test/q2-badge-test.vr.js +13 -1
  66. package/dist/collection/components/q2-btn/q2-btn.css +53 -9
  67. package/dist/collection/components/q2-btn/test/q2-btn-test.vr.js +19 -1
  68. package/dist/collection/components/q2-calendar/q2-calendar.css +26 -4
  69. package/dist/collection/components/q2-calendar/q2-calendar.js +7 -5
  70. package/dist/collection/components/q2-calendar/q2-month-picker.css +22 -0
  71. package/dist/collection/components/q2-calendar/test/q2-calendar-test.vr.js +34 -1
  72. package/dist/collection/components/q2-card/q2-card.css +23 -1
  73. package/dist/collection/components/q2-card/test/q2-card-test.vr.js +10 -1
  74. package/dist/collection/components/q2-card-image/q2-card-image.css +23 -1
  75. package/dist/collection/components/q2-card-image/test/q2-card-image-test.vr.js +9 -1
  76. package/dist/collection/components/q2-carousel/q2-carousel.css +29 -39
  77. package/dist/collection/components/q2-carousel/q2-carousel.js +122 -69
  78. package/dist/collection/components/q2-carousel/test/q2-carousel-test.vr.js +5 -4
  79. package/dist/collection/components/q2-carousel-pane/q2-carousel-pane.css +22 -0
  80. package/dist/collection/components/q2-chart-area/q2-chart-area.css +22 -0
  81. package/dist/collection/components/q2-chart-bar/q2-chart-bar.css +22 -0
  82. package/dist/collection/components/q2-chart-donut/q2-chart-donut.css +24 -2
  83. package/dist/collection/components/q2-chart-donut/test/q2-chart-donut-test.vr.js +13 -1
  84. package/dist/collection/components/q2-checkbox/q2-checkbox.css +23 -1
  85. package/dist/collection/components/q2-checkbox/test/q2-checkbox-test.vr.js +11 -1
  86. package/dist/collection/components/q2-checkbox-group/q2-checkbox-group.css +23 -1
  87. package/dist/collection/components/q2-checkbox-group/test/q2-checkbox-group-test.vr.js +11 -1
  88. package/dist/collection/components/q2-currency/q2-currency.css +25 -3
  89. package/dist/collection/components/q2-currency/test/q2-currency-test.vr.js +13 -1
  90. package/dist/collection/components/q2-data-table/q2-data-table.css +24 -2
  91. package/dist/collection/components/q2-data-table/test/q2-data-table-test.vr.js +11 -1
  92. package/dist/collection/components/q2-detail/q2-detail.css +32 -10
  93. package/dist/collection/components/q2-dropdown/q2-dropdown.css +22 -0
  94. package/dist/collection/components/q2-dropdown-item/q2-dropdown-item.css +22 -0
  95. package/dist/collection/components/q2-editable-field/q2-editable-field.css +22 -0
  96. package/dist/collection/components/q2-editable-field/q2-editable-field.js +2 -2
  97. package/dist/collection/components/q2-example/q2-example.css +23 -0
  98. package/dist/collection/components/q2-file-picker/q2-file-picker.css +57 -10
  99. package/dist/collection/components/q2-file-picker/test/q2-file-picker-test.vr.js +14 -1
  100. package/dist/collection/components/q2-form/q2-form.css +22 -0
  101. package/dist/collection/components/q2-formatted-text/q2-formatted-text.css +25 -3
  102. package/dist/collection/components/q2-formatted-text/test/q2-formatted-text-test.vr.js +13 -1
  103. package/dist/collection/components/q2-icon/assets/standard.symbol.svg +1 -1
  104. package/dist/collection/components/q2-icon/q2-icon.css +22 -0
  105. package/dist/collection/components/q2-input/q2-input.css +26 -4
  106. package/dist/collection/components/q2-input/q2-input.js +39 -7
  107. package/dist/collection/components/q2-input/test/q2-input-test.vr.js +36 -1
  108. package/dist/collection/components/q2-item/q2-item.css +46 -2
  109. package/dist/collection/components/q2-item/test/q2-item-test.vr.js +12 -1
  110. package/dist/collection/components/q2-legend/q2-legend.css +24 -2
  111. package/dist/collection/components/q2-link/q2-link.css +22 -0
  112. package/dist/collection/components/q2-list/q2-list.css +46 -2
  113. package/dist/collection/components/q2-list/test/q2-list-test.vr.js +12 -1
  114. package/dist/collection/components/q2-loading/q2-loading.css +23 -0
  115. package/dist/collection/components/q2-message/q2-message.css +22 -0
  116. package/dist/collection/components/q2-meter/q2-meter.css +25 -3
  117. package/dist/collection/components/q2-meter/test/q2-meter-test.vr.js +12 -1
  118. package/dist/collection/components/q2-modal/q2-modal.css +23 -1
  119. package/dist/collection/components/q2-modal/test/q2-modal-test.vr.js +12 -1
  120. package/dist/collection/components/q2-optgroup/q2-optgroup.css +23 -1
  121. package/dist/collection/components/q2-option/q2-option.css +22 -0
  122. package/dist/collection/components/q2-option-list/q2-option-list.css +22 -0
  123. package/dist/collection/components/q2-otp/q2-otp.css +27 -4
  124. package/dist/collection/components/q2-otp/test/q2-otp-test.vr.js +12 -1
  125. package/dist/collection/components/q2-pagination/q2-pagination.css +22 -0
  126. package/dist/collection/components/q2-pill/q2-pill.css +42 -2
  127. package/dist/collection/components/q2-pill/q2-pill.js +18 -1
  128. package/dist/collection/components/q2-pill/test/q2-pill-test.vr.js +27 -1
  129. package/dist/collection/components/q2-popover/q2-popover.css +22 -7
  130. package/dist/collection/components/q2-radio/q2-radio.css +24 -2
  131. package/dist/collection/components/q2-radio/test/q2-radio-test.vr.js +12 -1
  132. package/dist/collection/components/q2-radio-group/q2-radio-group.css +23 -1
  133. package/dist/collection/components/q2-radio-group/test/q2-radio-group-test.vr.js +11 -1
  134. package/dist/collection/components/q2-relative-time/q2-relative-time.css +22 -0
  135. package/dist/collection/components/q2-relative-time/q2-relative-time.js +1 -1
  136. package/dist/collection/components/q2-resize-observer/q2-resize-observer.css +22 -0
  137. package/dist/collection/components/q2-resize-observer/q2-resize-observer.js +1 -1
  138. package/dist/collection/components/q2-search/q2-search.css +22 -0
  139. package/dist/collection/components/q2-search/q2-search.js +1 -1
  140. package/dist/collection/components/q2-section/q2-section.css +23 -1
  141. package/dist/collection/components/q2-section/q2-section.js +2 -2
  142. package/dist/collection/components/q2-section/test/q2-section-test.vr.js +11 -1
  143. package/dist/collection/components/q2-select/q2-select.css +22 -0
  144. package/dist/collection/components/q2-stepper/q2-stepper.css +38 -4
  145. package/dist/collection/components/q2-stepper/q2-stepper.js +17 -3
  146. package/dist/collection/components/q2-stepper/test/q2-stepper-test.vr.js +12 -1
  147. package/dist/collection/components/q2-stepper-pane/q2-stepper-pane.css +22 -0
  148. package/dist/collection/components/q2-stepper-pane/q2-stepper-pane.js +1 -1
  149. package/dist/collection/components/q2-stepper-vertical/q2-stepper-vertical.css +39 -5
  150. package/dist/collection/components/q2-stepper-vertical/q2-stepper-vertical.js +31 -8
  151. package/dist/collection/components/q2-stepper-vertical/test/q2-stepper-vertical-test.vr.js +16 -1
  152. package/dist/collection/components/q2-surface/q2-surface.css +71 -32
  153. package/dist/collection/components/q2-surface/q2-surface.js +7 -7
  154. package/dist/collection/components/q2-surface/test/q2-surface-test.vr.js +54 -0
  155. package/dist/collection/components/q2-tab-container/q2-tab-container.css +112 -6
  156. package/dist/collection/components/q2-tab-container/q2-tab-container.js +114 -21
  157. package/dist/collection/components/q2-tab-container/test/q2-tab-container-test.vr.js +24 -1
  158. package/dist/collection/components/q2-tab-pane/q2-tab-pane.css +22 -0
  159. package/dist/collection/components/q2-tab-pane/q2-tab-pane.js +1 -1
  160. package/dist/collection/components/q2-tag/q2-tag.css +25 -2
  161. package/dist/collection/components/q2-tag/q2-tag.js +1 -1
  162. package/dist/collection/components/q2-tag/test/q2-tag-test.vr.js +21 -1
  163. package/dist/collection/components/q2-textarea/q2-textarea.css +24 -2
  164. package/dist/collection/components/q2-textarea/q2-textarea.js +2 -2
  165. package/dist/collection/components/q2-textarea/test/q2-textarea-test.vr.js +16 -1
  166. package/dist/collection/components/q2-toast/q2-toast.css +22 -0
  167. package/dist/collection/components/q2-tooltip/q2-tooltip.css +27 -19
  168. package/dist/collection/components/q2-tooltip/q2-tooltip.js +32 -21
  169. package/dist/collection/components/q2-tooltip/test/q2-tooltip-test.vr.js +13 -1
  170. package/dist/collection/components/tecton-tab-pane/tecton-tab-pane.css +22 -0
  171. package/dist/collection/components/tecton-tab-pane/tecton-tab-pane.js +2 -2
  172. package/dist/collection/utils/helpers.js +29 -6
  173. package/dist/collection/utils/test/vr-helpers.js +7 -0
  174. package/dist/components/q2-action-group2.js +1 -1
  175. package/dist/components/q2-action-sheet.js +21 -18
  176. package/dist/components/q2-avatar2.js +1 -1
  177. package/dist/components/q2-badge2.js +1 -1
  178. package/dist/components/q2-btn2.js +15 -15
  179. package/dist/components/q2-calendar.js +306 -301
  180. package/dist/components/q2-card-image.js +6 -6
  181. package/dist/components/q2-card.js +14 -14
  182. package/dist/components/q2-carousel-pane2.js +1 -1
  183. package/dist/components/q2-carousel.js +633 -585
  184. package/dist/components/q2-chart-area.js +1 -1
  185. package/dist/components/q2-chart-bar.js +70 -70
  186. package/dist/components/q2-chart-donut.js +1 -1
  187. package/dist/components/q2-checkbox-group.js +42 -42
  188. package/dist/components/q2-checkbox2.js +1 -1
  189. package/dist/components/q2-currency.js +32 -32
  190. package/dist/components/q2-data-table.js +34 -34
  191. package/dist/components/q2-detail.js +5 -5
  192. package/dist/components/q2-dropdown-item2.js +11 -11
  193. package/dist/components/q2-dropdown.js +17 -17
  194. package/dist/components/q2-editable-field.js +12 -11
  195. package/dist/components/q2-example.js +15 -15
  196. package/dist/components/q2-file-picker.js +25 -25
  197. package/dist/components/q2-form.js +11 -11
  198. package/dist/components/q2-formatted-text.js +5 -5
  199. package/dist/components/q2-icon2.js +1 -1
  200. package/dist/components/q2-input2.js +24 -13
  201. package/dist/components/q2-item2.js +1 -1
  202. package/dist/components/q2-legend2.js +56 -56
  203. package/dist/components/q2-link2.js +6 -6
  204. package/dist/components/q2-list2.js +22 -22
  205. package/dist/components/q2-loading2.js +1 -1
  206. package/dist/components/q2-message2.js +20 -20
  207. package/dist/components/q2-meter.js +1 -1
  208. package/dist/components/q2-modal.js +3 -3
  209. package/dist/components/q2-month-picker.js +10 -10
  210. package/dist/components/q2-optgroup2.js +7 -7
  211. package/dist/components/q2-option-list2.js +34 -34
  212. package/dist/components/q2-option2.js +13 -13
  213. package/dist/components/q2-otp.js +5 -5
  214. package/dist/components/q2-pagination.js +58 -58
  215. package/dist/components/q2-pill.js +66 -54
  216. package/dist/components/q2-popover2.js +1 -1
  217. package/dist/components/q2-radio-group.js +5 -5
  218. package/dist/components/q2-radio.js +14 -14
  219. package/dist/components/q2-relative-time.js +10 -10
  220. package/dist/components/q2-resize-observer2.js +9 -9
  221. package/dist/components/q2-search.js +5 -5
  222. package/dist/components/q2-section.js +22 -22
  223. package/dist/components/q2-select2.js +1 -1
  224. package/dist/components/q2-stepper-pane.js +33 -33
  225. package/dist/components/q2-stepper-vertical.js +84 -60
  226. package/dist/components/q2-stepper.js +79 -65
  227. package/dist/components/q2-surface.js +14 -14
  228. package/dist/components/q2-tab-container.js +110 -55
  229. package/dist/components/q2-tab-pane.js +7 -7
  230. package/dist/components/q2-tag2.js +39 -39
  231. package/dist/components/q2-textarea.js +16 -16
  232. package/dist/components/q2-toast.js +22 -22
  233. package/dist/components/q2-tooltip2.js +26 -25
  234. package/dist/components/tecton-tab-pane.js +11 -11
  235. package/dist/esm/click-elsewhere_3.entry.js +2 -2
  236. package/dist/esm/loader.js +1 -1
  237. package/dist/esm/q2-action-group_2.entry.js +3 -3
  238. package/dist/esm/q2-action-sheet.entry.js +4 -3
  239. package/dist/esm/q2-avatar.entry.js +1 -1
  240. package/dist/esm/q2-badge_2.entry.js +17 -8
  241. package/dist/esm/q2-btn_2.entry.js +2 -2
  242. package/dist/esm/q2-calendar.entry.js +8 -6
  243. package/dist/esm/q2-card-image.entry.js +1 -1
  244. package/dist/esm/q2-card.entry.js +1 -1
  245. package/dist/esm/q2-carousel-pane.entry.js +1 -1
  246. package/dist/esm/q2-carousel.entry.js +104 -70
  247. package/dist/esm/q2-chart-area.entry.js +1 -1
  248. package/dist/esm/q2-chart-bar.entry.js +1 -1
  249. package/dist/esm/q2-chart-donut.entry.js +1 -1
  250. package/dist/esm/q2-checkbox-group.entry.js +1 -1
  251. package/dist/esm/q2-checkbox_2.entry.js +3 -3
  252. package/dist/esm/q2-currency.entry.js +1 -1
  253. package/dist/esm/q2-data-table.entry.js +1 -1
  254. package/dist/esm/q2-detail.entry.js +1 -1
  255. package/dist/esm/q2-dropdown-item.entry.js +1 -1
  256. package/dist/esm/q2-dropdown.entry.js +1 -1
  257. package/dist/esm/q2-editable-field.entry.js +3 -3
  258. package/dist/esm/q2-example.entry.js +1 -1
  259. package/dist/esm/q2-file-picker.entry.js +1 -1
  260. package/dist/esm/q2-form.entry.js +1 -1
  261. package/dist/esm/q2-formatted-text.entry.js +1 -1
  262. package/dist/esm/q2-icon.entry.js +1 -1
  263. package/dist/esm/q2-item.entry.js +1 -1
  264. package/dist/esm/q2-legend.entry.js +1 -1
  265. package/dist/esm/q2-link_2.entry.js +2 -2
  266. package/dist/esm/q2-message.entry.js +1 -1
  267. package/dist/esm/q2-meter.entry.js +1 -1
  268. package/dist/esm/q2-modal.entry.js +1 -1
  269. package/dist/esm/q2-month-picker.entry.js +1 -1
  270. package/dist/esm/q2-optgroup.entry.js +1 -1
  271. package/dist/esm/q2-option.entry.js +1 -1
  272. package/dist/esm/q2-otp.entry.js +1 -1
  273. package/dist/esm/q2-pagination.entry.js +1 -1
  274. package/dist/esm/q2-pill.entry.js +18 -2
  275. package/dist/esm/q2-radio-group.entry.js +1 -1
  276. package/dist/esm/q2-radio.entry.js +1 -1
  277. package/dist/esm/q2-relative-time.entry.js +2 -2
  278. package/dist/esm/q2-search.entry.js +2 -2
  279. package/dist/esm/q2-section.entry.js +3 -3
  280. package/dist/esm/q2-select.entry.js +1 -1
  281. package/dist/esm/q2-stepper-pane.entry.js +2 -2
  282. package/dist/esm/q2-stepper-vertical.entry.js +32 -9
  283. package/dist/esm/q2-stepper.entry.js +18 -4
  284. package/dist/esm/q2-surface.entry.js +3 -3
  285. package/dist/esm/q2-tab-container.entry.js +89 -20
  286. package/dist/esm/q2-tab-pane.entry.js +2 -2
  287. package/dist/esm/q2-tecton-elements.js +1 -1
  288. package/dist/esm/q2-textarea.entry.js +3 -3
  289. package/dist/esm/q2-toast.entry.js +1 -1
  290. package/dist/esm/q2-tooltip.entry.js +27 -16
  291. package/dist/esm/tecton-tab-pane.entry.js +3 -3
  292. package/dist/q2-tecton-elements/assets/standard.symbol.svg +1 -1
  293. package/dist/q2-tecton-elements/click-elsewhere_3.entry.js +23 -23
  294. package/dist/q2-tecton-elements/q2-action-group_2.entry.js +42 -42
  295. package/dist/q2-tecton-elements/q2-action-sheet.entry.js +21 -18
  296. package/dist/q2-tecton-elements/q2-avatar.entry.js +1 -1
  297. package/dist/q2-tecton-elements/q2-badge_2.entry.js +25 -15
  298. package/dist/q2-tecton-elements/q2-btn_2.entry.js +2 -2
  299. package/dist/q2-tecton-elements/q2-calendar.entry.js +120 -115
  300. package/dist/q2-tecton-elements/q2-card-image.entry.js +1 -1
  301. package/dist/q2-tecton-elements/q2-card.entry.js +1 -1
  302. package/dist/q2-tecton-elements/q2-carousel-pane.entry.js +11 -11
  303. package/dist/q2-tecton-elements/q2-carousel.entry.js +572 -540
  304. package/dist/q2-tecton-elements/q2-chart-area.entry.js +166 -166
  305. package/dist/q2-tecton-elements/q2-chart-bar.entry.js +190 -190
  306. package/dist/q2-tecton-elements/q2-chart-donut.entry.js +1 -1
  307. package/dist/q2-tecton-elements/q2-checkbox-group.entry.js +8 -8
  308. package/dist/q2-tecton-elements/q2-checkbox_2.entry.js +7 -7
  309. package/dist/q2-tecton-elements/q2-currency.entry.js +40 -40
  310. package/dist/q2-tecton-elements/q2-data-table.entry.js +64 -64
  311. package/dist/q2-tecton-elements/q2-detail.entry.js +1 -1
  312. package/dist/q2-tecton-elements/q2-dropdown-item.entry.js +5 -5
  313. package/dist/q2-tecton-elements/q2-dropdown.entry.js +21 -21
  314. package/dist/q2-tecton-elements/q2-editable-field.entry.js +18 -17
  315. package/dist/q2-tecton-elements/q2-example.entry.js +5 -5
  316. package/dist/q2-tecton-elements/q2-file-picker.entry.js +6 -6
  317. package/dist/q2-tecton-elements/q2-form.entry.js +3 -3
  318. package/dist/q2-tecton-elements/q2-formatted-text.entry.js +3 -3
  319. package/dist/q2-tecton-elements/q2-icon.entry.js +1 -1
  320. package/dist/q2-tecton-elements/q2-item.entry.js +1 -1
  321. package/dist/q2-tecton-elements/q2-legend.entry.js +8 -8
  322. package/dist/q2-tecton-elements/q2-link_2.entry.js +5 -5
  323. package/dist/q2-tecton-elements/q2-message.entry.js +23 -23
  324. package/dist/q2-tecton-elements/q2-meter.entry.js +4 -4
  325. package/dist/q2-tecton-elements/q2-modal.entry.js +3 -3
  326. package/dist/q2-tecton-elements/q2-month-picker.entry.js +39 -39
  327. package/dist/q2-tecton-elements/q2-optgroup.entry.js +13 -13
  328. package/dist/q2-tecton-elements/q2-option.entry.js +22 -22
  329. package/dist/q2-tecton-elements/q2-otp.entry.js +1 -1
  330. package/dist/q2-tecton-elements/q2-pagination.entry.js +11 -11
  331. package/dist/q2-tecton-elements/q2-pill.entry.js +30 -18
  332. package/dist/q2-tecton-elements/q2-radio-group.entry.js +1 -1
  333. package/dist/q2-tecton-elements/q2-radio.entry.js +24 -24
  334. package/dist/q2-tecton-elements/q2-relative-time.entry.js +21 -21
  335. package/dist/q2-tecton-elements/q2-search.entry.js +12 -12
  336. package/dist/q2-tecton-elements/q2-section.entry.js +25 -25
  337. package/dist/q2-tecton-elements/q2-select.entry.js +5 -5
  338. package/dist/q2-tecton-elements/q2-stepper-pane.entry.js +16 -16
  339. package/dist/q2-tecton-elements/q2-stepper-vertical.entry.js +77 -53
  340. package/dist/q2-tecton-elements/q2-stepper.entry.js +44 -30
  341. package/dist/q2-tecton-elements/q2-surface.entry.js +5 -5
  342. package/dist/q2-tecton-elements/q2-tab-container.entry.js +109 -56
  343. package/dist/q2-tecton-elements/q2-tab-pane.entry.js +13 -13
  344. package/dist/q2-tecton-elements/q2-tecton-elements.esm.js +1 -1
  345. package/dist/q2-tecton-elements/q2-textarea.entry.js +14 -14
  346. package/dist/q2-tecton-elements/q2-toast.entry.js +6 -6
  347. package/dist/q2-tecton-elements/q2-tooltip.entry.js +25 -24
  348. package/dist/q2-tecton-elements/tecton-tab-pane.entry.js +11 -11
  349. package/dist/types/components/q2-carousel/q2-carousel.d.ts +14 -0
  350. package/dist/types/components/q2-input/q2-input.d.ts +7 -1
  351. package/dist/types/components/q2-pill/q2-pill.d.ts +2 -0
  352. package/dist/types/components/q2-stepper/q2-stepper.d.ts +1 -0
  353. package/dist/types/components/q2-stepper-vertical/q2-stepper-vertical.d.ts +3 -2
  354. package/dist/types/components/q2-surface/q2-surface.d.ts +3 -3
  355. package/dist/types/components/q2-tab-container/q2-tab-container.d.ts +17 -3
  356. package/dist/types/components/q2-tooltip/q2-tooltip.d.ts +2 -1
  357. package/dist/types/components.d.ts +50 -21
  358. package/dist/types/utils/helpers.d.ts +16 -1
  359. package/dist/types/utils/test/vr-helpers.d.ts +11 -0
  360. package/package.json +12 -5
@@ -4,7 +4,7 @@ import { o as n, l as a } from "./index-Cps4jSQM.js";
4
4
 
5
5
  import { m as o } from "./mirror-emit-DUjY_ucm.js";
6
6
 
7
- import { _ as s, ab as u, ac as l, ad as h, A as f, M as c, y as d, W as v, ae as p, af as m, V as y, X as b, Z as S, h as g, ag as w, ah as M, O as P, L as D, ai as I, H as x, F as L, aj as N, K as T, ak as C, e as k, al as A, am as O, c as E, an as z, ao as F, d as G, $ as B, ap as U, Q as V, aq as j, g as q, ar as R, as as K, x as _, v as Z, at as $, S as X, au as Y, av as H, aw as Q, ax as J, ay as W, az as tt, R as it, U as et, B as rt, P as nt, T as at, l as ot, aA as st, E as ut, m as lt, aB as ht, aC as ft, aD as ct, aE as dt, o as vt, aF as pt, aG as mt, a4 as yt, a7 as bt, a8 as St, a9 as gt, aa as wt, a5 as Mt, a6 as Pt } from "./charting-DOZct-UB.js";
7
+ import { _ as s, ab as u, ac as l, ad as h, A as f, M as d, y as c, W as v, ae as p, af as m, V as y, X as b, Z as S, h as g, ag as w, ah as M, O as P, L as D, ai as I, H as x, F as L, aj as N, K as T, ak as C, e as k, al as A, am as O, c as E, an as z, ao as F, d as G, $ as B, ap as U, Q as V, aq as j, g as q, ar as R, as as K, x as _, v as Z, at as $, S as X, au as Y, av as H, aw as Q, ax as J, ay as W, az as tt, R as it, U as et, B as rt, P as nt, T as at, l as ot, aA as st, E as ut, m as lt, aB as ht, aC as ft, aD as dt, aE as ct, o as vt, aF as pt, aG as mt, a4 as yt, a7 as bt, a8 as St, a9 as gt, aa as wt, a5 as Mt, a6 as Pt } from "./charting-DOZct-UB.js";
8
8
 
9
9
  import { g as Dt, c as It, b as xt, i as Lt, h as Nt, j as Tt, d as Ct, e as kt, f as At } from "./dataSample-Dm1zpQNi.js";
10
10
 
@@ -91,7 +91,7 @@ var Ot = /** @class */ function(t) {
91
91
  scaleX: o[0] / 2,
92
92
  scaleY: o[1] / 2
93
93
  };
94
- u ? v.attr(h) : f(v, h, a, i), c(v);
94
+ u ? v.attr(h) : f(v, h, a, i), d(v);
95
95
  }
96
96
  if (this._updateCommon(t, i, o, e, r), s) {
97
97
  var v = this.childAt(0);
@@ -104,26 +104,26 @@ var Ot = /** @class */ function(t) {
104
104
  opacity: v.style.opacity
105
105
  }
106
106
  };
107
- v.scaleX = v.scaleY = 0, v.style.opacity = 0, d(v, h, a, i);
107
+ v.scaleX = v.scaleY = 0, v.style.opacity = 0, c(v, h, a, i);
108
108
  }
109
109
  }
110
110
  u &&
111
111
  // Must stop leave transition manually if don't call initProps or updateProps.
112
112
  this.childAt(0).stopAnimation("leave");
113
113
  }, Symbol.prototype._updateCommon = function(t, i, e, r, n) {
114
- var a, o, s, u, l, h, f, c, d, g = this.childAt(0), w = t.hostModel;
114
+ var a, o, s, u, l, h, f, d, c, g = this.childAt(0), w = t.hostModel;
115
115
  if (r && (a = r.emphasisItemStyle, o = r.blurItemStyle, s = r.selectItemStyle, u = r.focus,
116
- l = r.blurScope, f = r.labelStatesModels, c = r.hoverScale, d = r.cursorStyle, h = r.emphasisDisabled),
116
+ l = r.blurScope, f = r.labelStatesModels, d = r.hoverScale, c = r.cursorStyle, h = r.emphasisDisabled),
117
117
  !r || t.hasItemOption) {
118
118
  var M = r && r.itemModel ? r.itemModel : t.getItemModel(i), P = M.getModel("emphasis");
119
119
  a = P.getModel("itemStyle").getItemStyle(), s = M.getModel([ "select", "itemStyle" ]).getItemStyle(),
120
120
  o = M.getModel([ "blur", "itemStyle" ]).getItemStyle(), u = P.get("focus"), l = P.get("blurScope"),
121
- h = P.get("disabled"), f = v(M), c = P.getShallow("scale"), d = M.getShallow("cursor");
121
+ h = P.get("disabled"), f = v(M), d = P.getShallow("scale"), c = M.getShallow("cursor");
122
122
  }
123
123
  var D = t.getItemVisual(i, "symbolRotate");
124
124
  g.attr("rotation", (D || 0) * Math.PI / 180 || 0);
125
125
  var I = p(t.getItemVisual(i, "symbolOffset"), e);
126
- I && (g.x = I[0], g.y = I[1]), d && g.attr("cursor", d);
126
+ I && (g.x = I[0], g.y = I[1]), c && g.attr("cursor", c);
127
127
  var x = t.getItemVisual(i, "style"), L = x.fill;
128
128
  if (g instanceof m) {
129
129
  var N = g.style;
@@ -161,7 +161,7 @@ var Ot = /** @class */ function(t) {
161
161
  A.style = a, g.ensureState("select").style = s, g.ensureState("blur").style = o;
162
162
  // null / undefined / true means to use default strategy.
163
163
  // 0 / false / negative number / NaN / Infinity means no scale.
164
- var O = null == c || !0 === c ? Math.max(1.1, 3 / this._sizeY) : isFinite(c) && c > 0 ? +c : 1;
164
+ var O = null == d || !0 === d ? Math.max(1.1, 3 / this._sizeY) : isFinite(d) && d > 0 ? +d : 1;
165
165
  // always set scale to allow resetting
166
166
  A.scaleX = this._sizeX * O, A.scaleY = this._sizeY * O, this.setSymbolScale(1),
167
167
  S(this, u, l, h);
@@ -253,21 +253,21 @@ var Et = /** @class */ function() {
253
253
  var o = new a(t, r, s, u);
254
254
  o.setPosition(n), t.setItemGraphicEl(r, o), e.add(o);
255
255
  }
256
- })).update((function(h, c) {
257
- var d = n.getItemGraphicEl(c), v = l(h);
256
+ })).update((function(h, d) {
257
+ var c = n.getItemGraphicEl(d), v = l(h);
258
258
  if (symbolNeedsDraw(t, v, h, i)) {
259
- var p = t.getItemVisual(h, "symbol") || "circle", m = d && d.getSymbolType && d.getSymbolType();
260
- if (!d || m && m !== p) e.remove(d), (d = new a(t, h, s, u)).setPosition(v); else {
261
- d.updateData(t, h, s, u);
259
+ var p = t.getItemVisual(h, "symbol") || "circle", m = c && c.getSymbolType && c.getSymbolType();
260
+ if (!c || m && m !== p) e.remove(c), (c = new a(t, h, s, u)).setPosition(v); else {
261
+ c.updateData(t, h, s, u);
262
262
  var y = {
263
263
  x: v[0],
264
264
  y: v[1]
265
265
  };
266
- o ? d.attr(y) : f(d, y, r);
266
+ o ? c.attr(y) : f(c, y, r);
267
267
  }
268
268
  // Add back
269
- e.add(d), t.setItemGraphicEl(h, d);
270
- } else e.remove(d);
269
+ e.add(c), t.setItemGraphicEl(h, c);
270
+ } else e.remove(c);
271
271
  })).remove((function(t) {
272
272
  var i = n.getItemGraphicEl(t);
273
273
  i && i.fadeOut((function() {
@@ -400,17 +400,17 @@ function prepareDataCoordInfo(t, i, e) {
400
400
  return e;
401
401
  }(n, e), o = r.dim, s = n.dim, u = i.mapDimension(s), l = i.mapDimension(o), h = "x" === s || "radius" === s ? 1 : 0, f = L(t.dimensions, (function(t) {
402
402
  return i.mapDimension(t);
403
- })), c = !1, d = i.getCalculationInfo("stackResultDimension");
403
+ })), d = !1, c = i.getCalculationInfo("stackResultDimension");
404
404
  return N(i, f[0] /* , dims[1] */) && (
405
405
  // jshint ignore:line
406
- c = !0, f[0] = d), N(i, f[1] /* , dims[0] */) && (
406
+ d = !0, f[0] = c), N(i, f[1] /* , dims[0] */) && (
407
407
  // jshint ignore:line
408
- c = !0, f[1] = d), {
408
+ d = !0, f[1] = c), {
409
409
  dataDimsForPoint: f,
410
410
  valueStart: a,
411
411
  valueAxisDim: s,
412
412
  baseAxisDim: o,
413
- stacked: !!c,
413
+ stacked: !!d,
414
414
  valueDim: u,
415
415
  baseDim: l,
416
416
  baseDataOffset: h,
@@ -436,7 +436,7 @@ function isPointNull$1(t, i) {
436
436
  * situations. This should be used when points are non-monotone neither in x or
437
437
  * y dimension.
438
438
  */ function drawSegment(t, i, e, r, n, a, o, s, u) {
439
- for (var l, h, f, c, d, v, p = e, m = 0; m < r; m++) {
439
+ for (var l, h, f, d, c, v, p = e, m = 0; m < r; m++) {
440
440
  var y = i[2 * p], b = i[2 * p + 1];
441
441
  if (p >= n || p < 0) break;
442
442
  if (isPointNull$1(y, b)) {
@@ -446,7 +446,7 @@ function isPointNull$1(t, i) {
446
446
  }
447
447
  break;
448
448
  }
449
- if (p === e) t[a > 0 ? "moveTo" : "lineTo"](y, b), f = y, c = b; else {
449
+ if (p === e) t[a > 0 ? "moveTo" : "lineTo"](y, b), f = y, d = b; else {
450
450
  var S = y - l, g = b - h;
451
451
  // Ignore tiny segment.
452
452
  if (S * S + g * g < .5) {
@@ -463,16 +463,16 @@ function isPointNull$1(t, i) {
463
463
  for (;isPointNull$1(M, P) && D < r; ) D++, M = i[2 * (w += a)], P = i[2 * w + 1];
464
464
  var I = .5, x = 0, L = 0, N = void 0, T = void 0;
465
465
  // Is last point
466
- if (D >= r || isPointNull$1(M, P)) d = y, v = b; else {
466
+ if (D >= r || isPointNull$1(M, P)) c = y, v = b; else {
467
467
  x = M - l, L = P - h;
468
468
  var C = y - l, k = M - y, A = b - h, O = P - b, E = void 0, z = void 0;
469
469
  if ("x" === s) {
470
470
  var F = x > 0 ? 1 : -1;
471
- d = y - F * (E = Math.abs(C)) * o, v = b, N = y + F * (z = Math.abs(k)) * o, T = b;
471
+ c = y - F * (E = Math.abs(C)) * o, v = b, N = y + F * (z = Math.abs(k)) * o, T = b;
472
472
  } else if ("y" === s) {
473
473
  var G = L > 0 ? 1 : -1;
474
- d = y, v = b - G * (E = Math.abs(A)) * o, N = y, T = b + G * (z = Math.abs(O)) * o;
475
- } else E = Math.sqrt(C * C + A * A), d = y - x * o * (1 - (
474
+ c = y, v = b - G * (E = Math.abs(A)) * o, N = y, T = b + G * (z = Math.abs(O)) * o;
475
+ } else E = Math.sqrt(C * C + A * A), c = y - x * o * (1 - (
476
476
  // Use ratio of seg length
477
477
  I = (z = Math.sqrt(k * k + O * O)) / (z + E))), v = b - L * o * (1 - I), T = b + L * o * I,
478
478
  // Smooth constraint between point and next point.
@@ -482,13 +482,13 @@ function isPointNull$1(t, i) {
482
482
  N = y + x * o * I, Gt(M, y)), T = Ft(T, Gt(P, b)), N = Gt(N, Ft(M, y)), v = b - (L = (T = Gt(T, Ft(P, b))) - b) * E / z,
483
483
  // Smooth constraint between point and prev point.
484
484
  // Avoid exceeding extreme after smoothing.
485
- d = Ft(d = y - (
485
+ c = Ft(c = y - (
486
486
  // Reclaculate cp1 based on the adjusted cp0 of next seg.
487
487
  x = N - y) * E / z, Gt(l, y)), v = Ft(v, Gt(h, b)), N = y + (
488
488
  // Adjust next cp0 again.
489
- x = y - (d = Gt(d, Ft(l, y)))) * z / E, T = b + (L = b - (v = Gt(v, Ft(h, b)))) * z / E;
489
+ x = y - (c = Gt(c, Ft(l, y)))) * z / E, T = b + (L = b - (v = Gt(v, Ft(h, b)))) * z / E;
490
490
  }
491
- t.bezierCurveTo(f, c, d, v, y, b), f = N, c = T;
491
+ t.bezierCurveTo(f, d, c, v, y, b), f = N, d = T;
492
492
  } else t.lineTo(y, b);
493
493
  }
494
494
  l = y, h = b, p += a;
@@ -522,7 +522,7 @@ var ECPolylineShape = function() {
522
522
  }, ECPolyline.prototype.getPointOn = function(t, i) {
523
523
  this.path || (this.createPathProxy(), this.buildPath(this.path, this.shape));
524
524
  for (var e, r, n = this.path.data, a = k.CMD, o = "x" === i, s = [], u = 0; u < n.length; ) {
525
- var l = void 0, h = void 0, f = void 0, c = void 0, d = void 0, v = void 0, p = void 0;
525
+ var l = void 0, h = void 0, f = void 0, d = void 0, c = void 0, v = void 0, p = void 0;
526
526
  switch (n[u++]) {
527
527
  case a.M:
528
528
  e = n[u++], r = n[u++];
@@ -537,16 +537,16 @@ var ECPolylineShape = function() {
537
537
  break;
538
538
 
539
539
  case a.C:
540
- l = n[u++], h = n[u++], f = n[u++], c = n[u++], d = n[u++], v = n[u++];
541
- var y = o ? A(e, l, f, d, t, s) : A(r, h, c, v, t, s);
540
+ l = n[u++], h = n[u++], f = n[u++], d = n[u++], c = n[u++], v = n[u++];
541
+ var y = o ? A(e, l, f, c, t, s) : A(r, h, d, v, t, s);
542
542
  if (y > 0) for (var b = 0; b < y; b++) {
543
543
  var S = s[b];
544
544
  if (S <= 1 && S >= 0) {
545
- m = o ? O(r, h, c, v, S) : O(e, l, f, d, S);
545
+ m = o ? O(r, h, d, v, S) : O(e, l, f, c, S);
546
546
  return o ? [ t, m ] : [ m, t ];
547
547
  }
548
548
  }
549
- e = d, r = v;
549
+ e = c, r = v;
550
550
  }
551
551
  }
552
552
  }, ECPolyline;
@@ -614,7 +614,7 @@ function getSmooth(t) {
614
614
  * @returns converted point positions
615
615
  */
616
616
  function turnPointsIntoStep(t, i, e, r, n) {
617
- var a = e.getBaseAxis(), o = "x" === a.dim || "radius" === a.dim ? 0 : 1, s = [], u = 0, l = [], h = [], f = [], c = [];
617
+ var a = e.getBaseAxis(), o = "x" === a.dim || "radius" === a.dim ? 0 : 1, s = [], u = 0, l = [], h = [], f = [], d = [];
618
618
  if (n) {
619
619
  for (u = 0; u < t.length; u += 2) {
620
620
  /**
@@ -622,10 +622,10 @@ function turnPointsIntoStep(t, i, e, r, n) {
622
622
  * filtered the same as `points` so that the base axis values
623
623
  * should stay the same as the lines above. See #20021
624
624
  */
625
- var d = i || t;
626
- isNaN(d[u]) || isNaN(d[u + 1]) || c.push(t[u], t[u + 1]);
625
+ var c = i || t;
626
+ isNaN(c[u]) || isNaN(c[u + 1]) || d.push(t[u], t[u + 1]);
627
627
  }
628
- t = c;
628
+ t = d;
629
629
  }
630
630
  for (u = 0; u < t.length - 2; u += 2) switch (f[0] = t[u + 2], f[1] = t[u + 3],
631
631
  h[0] = t[u], h[1] = t[u + 1], s.push(h[0], h[1]), r) {
@@ -678,7 +678,7 @@ function turnPointsIntoStep(t, i, e, r, n) {
678
678
  })), h = l.length, f = a.outerColors.slice();
679
679
  // dataToCoord mapping may not be linear, but must be monotonic.
680
680
  h && l[0].coord > l[h - 1].coord && (l.reverse(), f.reverse());
681
- var c = function(t, i) {
681
+ var d = function(t, i) {
682
682
  var e, r, n = [], a = t.length;
683
683
  function lerpStop(t, i, e) {
684
684
  var r = t.coord, n = (e - r) / (i.coord - r);
@@ -703,24 +703,24 @@ function turnPointsIntoStep(t, i, e, r, n) {
703
703
  }
704
704
  }
705
705
  return n;
706
- }(l, "x" === n ? e.getWidth() : e.getHeight()), d = c.length;
707
- if (!d && h)
706
+ }(l, "x" === n ? e.getWidth() : e.getHeight()), c = d.length;
707
+ if (!c && h)
708
708
  // All stops are out of range. All will be the same color.
709
709
  return l[0].coord < 0 ? f[1] ? f[1] : l[h - 1].color : f[0] ? f[0] : l[0].color;
710
- var v = c[0].coord - 10, p = c[d - 1].coord + 10, m = p - v;
710
+ var v = d[0].coord - 10, p = d[c - 1].coord + 10, m = p - v;
711
711
  // Arbitrary value: 10px
712
712
  if (m < .001) return "transparent";
713
- Z(c, (function(t) {
713
+ Z(d, (function(t) {
714
714
  t.offset = (t.coord - v) / m;
715
- })), c.push({
715
+ })), d.push({
716
716
  // NOTE: inRangeStopLen may still be 0 if stoplen is zero.
717
- offset: d ? c[d - 1].offset : .5,
717
+ offset: c ? d[c - 1].offset : .5,
718
718
  color: f[1] || "transparent"
719
- }), c.unshift({
720
- offset: d ? c[0].offset : .5,
719
+ }), d.unshift({
720
+ offset: c ? d[0].offset : .5,
721
721
  color: f[0] || "transparent"
722
722
  });
723
- var y = new $(0, 0, 0, 0, c, !0);
723
+ var y = new $(0, 0, 0, 0, d, !0);
724
724
  return y[n] = v, y[n + "2"] = p, y;
725
725
  }
726
726
  }
@@ -783,8 +783,8 @@ function createLineClipPath(t, i, e, r) {
783
783
  }), u);
784
784
  // Expand clip shape to avoid clipping when line value exceeds axis
785
785
  if (!r.get("clip", !0)) {
786
- var f = h.shape, c = Math.max(f.width, f.height);
787
- l ? (f.y -= c, f.height += 2 * c) : (f.x -= c, f.width += 2 * c);
786
+ var f = h.shape, d = Math.max(f.width, f.height);
787
+ l ? (f.y -= d, f.height += 2 * d) : (f.x -= d, f.width += 2 * d);
788
788
  }
789
789
  // Set to the final frame. To make sure label layout is right.
790
790
  return u && u(1, h), h;
@@ -800,7 +800,7 @@ var jt = /** @class */ function(t) {
800
800
  var t = new P, i = new Et;
801
801
  this.group.add(i.group), this._symbolDraw = i, this._lineGroup = t, this._changePolyState = z(this._changePolyState, this);
802
802
  }, LineView.prototype.render = function(t, i, e) {
803
- var r = t.coordinateSystem, n = this.group, a = t.getData(), o = t.getModel("lineStyle"), s = t.getModel("areaStyle"), u = a.getLayout("points") || [], l = "polar" === r.type, h = this._coordSys, f = this._symbolDraw, c = this._polyline, v = this._polygon, p = this._lineGroup, m = !i.ssr && t.get("animation"), y = !s.isEmpty(), b = s.get("origin"), w = prepareDataCoordInfo(r, a, b), M = y && function(t, i, e) {
803
+ var r = t.coordinateSystem, n = this.group, a = t.getData(), o = t.getModel("lineStyle"), s = t.getModel("areaStyle"), u = a.getLayout("points") || [], l = "polar" === r.type, h = this._coordSys, f = this._symbolDraw, d = this._polyline, v = this._polygon, p = this._lineGroup, m = !i.ssr && t.get("animation"), y = !s.isEmpty(), b = s.get("origin"), w = prepareDataCoordInfo(r, a, b), M = y && function(t, i, e) {
804
804
  if (!e.valueDim) return [];
805
805
  for (var r = i.count(), n = C(2 * r), a = 0; a < r; a++) {
806
806
  var o = getStackedOnPoint(e, t, i, a);
@@ -822,7 +822,7 @@ var jt = /** @class */ function(t) {
822
822
  L.r += .5)), this._clipShapeForSymbol = L;
823
823
  var T = getVisualGradient(a, r, e) || a.getVisual("style")[a.getVisual("drawType")];
824
824
  // Initialization animation or coordinate system changed
825
- if (c && h.type === r.type && N === this._step) {
825
+ if (d && h.type === r.type && N === this._step) {
826
826
  y && !v ?
827
827
  // If areaStyle is added
828
828
  v = this._newPolygon(u, M) : v && !y && (
@@ -834,7 +834,7 @@ var jt = /** @class */ function(t) {
834
834
  var k = p.getClipPath();
835
835
  if (k) {
836
836
  var A = createLineClipPath(this, r, !1, t);
837
- d(k, {
837
+ c(k, {
838
838
  shape: A.shape
839
839
  }, t);
840
840
  } else p.setClipPath(createLineClipPath(this, r, !0, t));
@@ -854,7 +854,7 @@ var jt = /** @class */ function(t) {
854
854
  // Not do it in update with animation
855
855
  N && (M && (M = turnPointsIntoStep(M, u, r, N, D)),
856
856
  // TODO If stacked series is not step
857
- u = turnPointsIntoStep(u, null, r, N, D)), c.setShape({
857
+ u = turnPointsIntoStep(u, null, r, N, D)), d.setShape({
858
858
  points: u
859
859
  }), v && v.setShape({
860
860
  points: u,
@@ -869,22 +869,22 @@ var jt = /** @class */ function(t) {
869
869
  }
870
870
  }), m && this._initSymbolLabelAnimation(a, r, L), N && (M && (M = turnPointsIntoStep(M, u, r, N, D)),
871
871
  // TODO If stacked series is not step
872
- u = turnPointsIntoStep(u, null, r, N, D)), c = this._newPolyline(u), y ? v = this._newPolygon(u, M) : v && (p.remove(v),
872
+ u = turnPointsIntoStep(u, null, r, N, D)), d = this._newPolyline(u), y ? v = this._newPolygon(u, M) : v && (p.remove(v),
873
873
  v = this._polygon = null),
874
874
  // NOTE: Must update _endLabel before setClipPath.
875
875
  l || this._initOrUpdateEndLabel(t, r, F(T)), p.setClipPath(createLineClipPath(this, r, !0, t));
876
876
  var O = t.getModel("emphasis"), E = O.get("focus"), z = O.get("blurScope"), U = O.get("disabled");
877
- (c.useStyle(G(
877
+ (d.useStyle(G(
878
878
  // Use color in lineStyle first
879
879
  o.getLineStyle(), {
880
880
  fill: "none",
881
881
  stroke: T,
882
882
  lineJoin: "bevel"
883
- })), B(c, t, "lineStyle"), c.style.lineWidth > 0 && "bolder" === t.get([ "emphasis", "lineStyle", "width" ])) && (c.getState("emphasis").style.lineWidth = +c.style.lineWidth + 1);
883
+ })), B(d, t, "lineStyle"), d.style.lineWidth > 0 && "bolder" === t.get([ "emphasis", "lineStyle", "width" ])) && (d.getState("emphasis").style.lineWidth = +d.style.lineWidth + 1);
884
884
  // Needs seriesIndex for focus
885
- g(c).seriesIndex = t.seriesIndex, S(c, E, z, U);
885
+ g(d).seriesIndex = t.seriesIndex, S(d, E, z, U);
886
886
  var V = getSmooth(t.get("smooth")), j = t.get("smoothMonotone");
887
- if (c.setShape({
887
+ if (d.setShape({
888
888
  smooth: V,
889
889
  smoothMonotone: j,
890
890
  connectNulls: D
@@ -911,7 +911,7 @@ var jt = /** @class */ function(t) {
911
911
  })), this._polyline.onHoverStateChange = K, this._data = a,
912
912
  // Save the coordinate system for transition animation when data changed
913
913
  this._coordSys = r, this._stackedOnPoints = M, this._points = u, this._step = N,
914
- this._valueOrigin = b, t.get("triggerLineEvent") && (this.packEventData(t, c), v && this.packEventData(t, v));
914
+ this._valueOrigin = b, t.get("triggerLineEvent") && (this.packEventData(t, d), v && this.packEventData(t, v));
915
915
  }, LineView.prototype.packEventData = function(t, i) {
916
916
  g(i).eventData = {
917
917
  componentType: "series",
@@ -936,8 +936,8 @@ var jt = /** @class */ function(t) {
936
936
  var h = t.get("zlevel") || 0, f = t.get("z") || 0;
937
937
  (s = new Ot(n, a)).x = u, s.y = l, s.setZ(h, f);
938
938
  // ensure label text of the temporary symbol is in front of line and area polygon
939
- var c = s.getSymbolPath().getTextContent();
940
- c && (c.zlevel = h, c.z = f, c.z2 = this._polyline.z2 + 1), s.__temp = !0, n.setItemGraphicEl(a, s),
939
+ var d = s.getSymbolPath().getTextContent();
940
+ d && (d.zlevel = h, d.z = f, d.z2 = this._polyline.z2 + 1), s.__temp = !0, n.setItemGraphicEl(a, s),
941
941
  // Stop scale animation
942
942
  s.stopSymbolAnimation(!0), this.group.add(s);
943
943
  }
@@ -988,16 +988,16 @@ var jt = /** @class */ function(t) {
988
988
  t.eachItemGraphicEl((function(t, a) {
989
989
  var s = t;
990
990
  if (s) {
991
- var f = [ t.x, t.y ], c = void 0, d = void 0, v = void 0;
991
+ var f = [ t.x, t.y ], d = void 0, c = void 0, v = void 0;
992
992
  if (e) if (n) {
993
993
  var p = e, m = i.pointToCoord(f);
994
- r ? (c = p.startAngle, d = p.endAngle, v = -m[1] / 180 * Math.PI) : (c = p.r0, d = p.r,
994
+ r ? (d = p.startAngle, c = p.endAngle, v = -m[1] / 180 * Math.PI) : (d = p.r0, c = p.r,
995
995
  v = m[0]);
996
996
  } else {
997
997
  var y = e;
998
- r ? (c = y.x, d = y.x + y.width, v = t.x) : (c = y.y + y.height, d = y.y, v = t.y);
998
+ r ? (d = y.x, c = y.x + y.width, v = t.x) : (d = y.y + y.height, c = y.y, v = t.y);
999
999
  }
1000
- var b = d === c ? 0 : (v - c) / (d - c);
1000
+ var b = c === d ? 0 : (v - d) / (c - d);
1001
1001
  o && (b = 1 - b);
1002
1002
  var S = q(l) ? l(a) : u * b + h, g = s.getSymbolPath(), w = g.getTextContent();
1003
1003
  s.attr({
@@ -1058,7 +1058,7 @@ var jt = /** @class */ function(t) {
1058
1058
  // NOTE: Don't remove percent < 1. percent === 1 means the first frame during render.
1059
1059
  // The label is not prepared at this time.
1060
1060
  t < 1 && null == r.originalX && (r.originalX = s.x, r.originalY = s.y);
1061
- var l = e.getLayout("points"), h = e.hostModel, f = h.get("connectNulls"), c = a.get("precision"), d = a.get("distance") || 0, v = o.getBaseAxis(), p = v.isHorizontal(), m = v.inverse, y = i.shape, b = m ? p ? y.x : y.y + y.height : p ? y.x + y.width : y.y, S = (p ? d : 0) * (m ? -1 : 1), g = (p ? 0 : -d) * (m ? -1 : 1), w = p ? "x" : "y", M = function(t, i, e) {
1061
+ var l = e.getLayout("points"), h = e.hostModel, f = h.get("connectNulls"), d = a.get("precision"), c = a.get("distance") || 0, v = o.getBaseAxis(), p = v.isHorizontal(), m = v.inverse, y = i.shape, b = m ? p ? y.x : y.y + y.height : p ? y.x + y.width : y.y, S = (p ? c : 0) * (m ? -1 : 1), g = (p ? 0 : -c) * (m ? -1 : 1), w = p ? "x" : "y", M = function(t, i, e) {
1062
1062
  for (var r, n, a = t.length / 2, o = "x" === e ? 0 : 1, s = 0, u = -1, l = 0; l < a; l++) if (n = t[2 * l + o],
1063
1063
  !isNaN(n) && !isNaN(t[2 * l + 1 - o])) if (0 !== l) {
1064
1064
  if (r <= i && n >= i || r >= i && n <= i) {
@@ -1086,7 +1086,7 @@ var jt = /** @class */ function(t) {
1086
1086
  y: x[1] + g
1087
1087
  });
1088
1088
  var L = h.getRawValue(P[0]), N = h.getRawValue(P[1]);
1089
- n && (I = K(e, c, L, N, M.t));
1089
+ n && (I = K(e, d, L, N, M.t));
1090
1090
  }
1091
1091
  r.lastFrameIndex = P[0];
1092
1092
  } else {
@@ -1130,7 +1130,7 @@ var jt = /** @class */ function(t) {
1130
1130
  idx: t
1131
1131
  });
1132
1132
  })).execute(), e;
1133
- }(t, i), u = [], l = [], h = [], f = [], c = [], d = [], v = [], p = prepareDataCoordInfo(n, i, o), m = t.getLayout("points") || [], y = i.getLayout("points") || [], b = 0
1133
+ }(t, i), u = [], l = [], h = [], f = [], d = [], c = [], v = [], p = prepareDataCoordInfo(n, i, o), m = t.getLayout("points") || [], y = i.getLayout("points") || [], b = 0
1134
1134
  // let newIdList = newData.mapArray(newData.getId);
1135
1135
  // let oldIdList = oldData.mapArray(oldData.getId);
1136
1136
  // convertToIntId(newIdList, oldIdList);
@@ -1160,18 +1160,18 @@ var jt = /** @class */ function(t) {
1160
1160
  g = !1;
1161
1161
  }
1162
1162
  // Original indices
1163
- g && (c.push(S), d.push(d.length));
1163
+ g && (d.push(S), c.push(c.length));
1164
1164
  }
1165
1165
  // Diff result may be crossed if all items are changed
1166
1166
  // Sort by data index
1167
- d.sort((function(t, i) {
1167
+ c.sort((function(t, i) {
1168
1168
  return v[t] - v[i];
1169
1169
  }));
1170
1170
  var A = u.length, O = C(A), E = C(A), z = C(A), F = C(A), G = [];
1171
- for (b = 0; b < d.length; b++) {
1172
- var B = d[b], U = 2 * b, V = 2 * B;
1171
+ for (b = 0; b < c.length; b++) {
1172
+ var B = c[b], U = 2 * b, V = 2 * B;
1173
1173
  O[U] = u[V], O[U + 1] = u[V + 1], E[U] = l[V], E[U + 1] = l[V + 1], z[U] = h[V],
1174
- z[U + 1] = h[V + 1], F[U] = f[V], F[U + 1] = f[V + 1], G[b] = c[B];
1174
+ z[U + 1] = h[V + 1], F[U] = f[V], F[U + 1] = f[V + 1], G[b] = d[B];
1175
1175
  }
1176
1176
  return {
1177
1177
  current: O,
@@ -1180,22 +1180,22 @@ var jt = /** @class */ function(t) {
1180
1180
  stackedOnNext: F,
1181
1181
  status: G
1182
1182
  };
1183
- }(this._data, t, this._stackedOnPoints, i, this._coordSys, 0, this._valueOrigin), c = h.current, d = h.stackedOnCurrent, v = h.next, p = h.stackedOnNext;
1183
+ }(this._data, t, this._stackedOnPoints, i, this._coordSys, 0, this._valueOrigin), d = h.current, c = h.stackedOnCurrent, v = h.next, p = h.stackedOnNext;
1184
1184
  // Don't apply animation if diff is large.
1185
1185
  // For better result and avoid memory explosion problems like
1186
1186
  // https://github.com/apache/incubator-echarts/issues/12229
1187
1187
  if (n && (
1188
1188
  // TODO If stacked series is not step
1189
- d = turnPointsIntoStep(h.stackedOnCurrent, h.current, e, n, o), c = turnPointsIntoStep(h.current, null, e, n, o),
1189
+ c = turnPointsIntoStep(h.stackedOnCurrent, h.current, e, n, o), d = turnPointsIntoStep(h.current, null, e, n, o),
1190
1190
  p = turnPointsIntoStep(h.stackedOnNext, h.next, e, n, o), v = turnPointsIntoStep(h.next, null, e, n, o)),
1191
- getBoundingDiff(c, v) > 3e3 || u && getBoundingDiff(d, p) > 3e3) return s.stopAnimation(),
1191
+ getBoundingDiff(d, v) > 3e3 || u && getBoundingDiff(c, p) > 3e3) return s.stopAnimation(),
1192
1192
  s.setShape({
1193
1193
  points: v
1194
1194
  }), void (u && (u.stopAnimation(), u.setShape({
1195
1195
  points: v,
1196
1196
  stackedOnPoints: p
1197
1197
  })));
1198
- s.shape.__points = h.current, s.shape.points = c;
1198
+ s.shape.__points = h.current, s.shape.points = d;
1199
1199
  var m = {
1200
1200
  shape: {
1201
1201
  points: v
@@ -1203,12 +1203,12 @@ var jt = /** @class */ function(t) {
1203
1203
  };
1204
1204
  // Also animate the original points.
1205
1205
  // If points reference is changed when turning into step line.
1206
- h.current !== c && (m.shape.__points = h.next),
1206
+ h.current !== d && (m.shape.__points = h.next),
1207
1207
  // Stop previous animation.
1208
1208
  s.stopAnimation(), f(s, m, l), u && (u.setShape({
1209
1209
  // Reuse the points with polyline.
1210
- points: c,
1211
- stackedOnPoints: d
1210
+ points: d,
1211
+ stackedOnPoints: c
1212
1212
  }), u.stopAnimation(), f(u, {
1213
1213
  shape: {
1214
1214
  stackedOnPoints: p
@@ -1249,7 +1249,7 @@ function aroundEqual(t, i) {
1249
1249
  }
1250
1250
 
1251
1251
  function pathToBezierCurves(t) {
1252
- var i, e, r, n, a, o = t.data, s = t.len(), u = [], l = 0, h = 0, f = 0, c = 0;
1252
+ var i, e, r, n, a, o = t.data, s = t.len(), u = [], l = 0, h = 0, f = 0, d = 0;
1253
1253
  function createNewSubpath(t, e) {
1254
1254
  i && i.length > 2 && u.push(i), i = [ t, e ];
1255
1255
  }
@@ -1257,35 +1257,35 @@ function pathToBezierCurves(t) {
1257
1257
  aroundEqual(t, r) && aroundEqual(e, n) || i.push(t, e, r, n, r, n);
1258
1258
  }
1259
1259
  function addArc(t, e, r, n, a, o) {
1260
- var s = Math.abs(e - t), u = 4 * Math.tan(s / 4) / 3, l = e < t ? -1 : 1, h = Math.cos(t), f = Math.sin(t), c = Math.cos(e), d = Math.sin(e), v = h * a + r, p = f * o + n, m = c * a + r, y = d * o + n, b = a * u * l, S = o * u * l;
1261
- i.push(v - b * f, p + S * h, m + b * d, y - S * c, m, y);
1260
+ var s = Math.abs(e - t), u = 4 * Math.tan(s / 4) / 3, l = e < t ? -1 : 1, h = Math.cos(t), f = Math.sin(t), d = Math.cos(e), c = Math.sin(e), v = h * a + r, p = f * o + n, m = d * a + r, y = c * o + n, b = a * u * l, S = o * u * l;
1261
+ i.push(v - b * f, p + S * h, m + b * c, y - S * d, m, y);
1262
1262
  }
1263
- for (var d = 0; d < s; ) {
1264
- var v = o[d++], p = 1 === d;
1265
- switch (p && (f = l = o[d], c = h = o[d + 1], v !== qt.L && v !== qt.C && v !== qt.Q || (i = [ f, c ])),
1263
+ for (var c = 0; c < s; ) {
1264
+ var v = o[c++], p = 1 === c;
1265
+ switch (p && (f = l = o[c], d = h = o[c + 1], v !== qt.L && v !== qt.C && v !== qt.Q || (i = [ f, d ])),
1266
1266
  v) {
1267
1267
  case qt.M:
1268
- l = f = o[d++], h = c = o[d++], createNewSubpath(f, c);
1268
+ l = f = o[c++], h = d = o[c++], createNewSubpath(f, d);
1269
1269
  break;
1270
1270
 
1271
1271
  case qt.L:
1272
- addLine(l, h, e = o[d++], r = o[d++]), l = e, h = r;
1272
+ addLine(l, h, e = o[c++], r = o[c++]), l = e, h = r;
1273
1273
  break;
1274
1274
 
1275
1275
  case qt.C:
1276
- i.push(o[d++], o[d++], o[d++], o[d++], l = o[d++], h = o[d++]);
1276
+ i.push(o[c++], o[c++], o[c++], o[c++], l = o[c++], h = o[c++]);
1277
1277
  break;
1278
1278
 
1279
1279
  case qt.Q:
1280
- e = o[d++], r = o[d++], n = o[d++], a = o[d++], i.push(l + 2 / 3 * (e - l), h + 2 / 3 * (r - h), n + 2 / 3 * (e - n), a + 2 / 3 * (r - a), n, a),
1280
+ e = o[c++], r = o[c++], n = o[c++], a = o[c++], i.push(l + 2 / 3 * (e - l), h + 2 / 3 * (r - h), n + 2 / 3 * (e - n), a + 2 / 3 * (r - a), n, a),
1281
1281
  l = n, h = a;
1282
1282
  break;
1283
1283
 
1284
1284
  case qt.A:
1285
- var m = o[d++], y = o[d++], b = o[d++], S = o[d++], g = o[d++], w = o[d++] + g;
1286
- d += 1;
1287
- var M = !o[d++];
1288
- e = Math.cos(g) * b + m, r = Math.sin(g) * S + y, p ? createNewSubpath(f = e, c = r) : addLine(l, h, e, r),
1285
+ var m = o[c++], y = o[c++], b = o[c++], S = o[c++], g = o[c++], w = o[c++] + g;
1286
+ c += 1;
1287
+ var M = !o[c++];
1288
+ e = Math.cos(g) * b + m, r = Math.sin(g) * S + y, p ? createNewSubpath(f = e, d = r) : addLine(l, h, e, r),
1289
1289
  l = Math.cos(w) * b + m, h = Math.sin(w) * S + y;
1290
1290
  for (var P = (M ? -1 : 1) * Math.PI / 2, D = g; M ? D > w : D < w; D += P) {
1291
1291
  addArc(D, M ? Math.max(D + P, w) : Math.min(D + P, w), m, y, b, S);
@@ -1293,12 +1293,12 @@ function pathToBezierCurves(t) {
1293
1293
  break;
1294
1294
 
1295
1295
  case qt.R:
1296
- f = l = o[d++], c = h = o[d++], e = f + o[d++], r = c + o[d++], createNewSubpath(e, c),
1297
- addLine(e, c, e, r), addLine(e, r, f, r), addLine(f, r, f, c), addLine(f, c, e, c);
1296
+ f = l = o[c++], d = h = o[c++], e = f + o[c++], r = d + o[c++], createNewSubpath(e, d),
1297
+ addLine(e, d, e, r), addLine(e, r, f, r), addLine(f, r, f, d), addLine(f, d, e, d);
1298
1298
  break;
1299
1299
 
1300
1300
  case qt.Z:
1301
- i && addLine(l, h, f, c), l = f, h = c;
1301
+ i && addLine(l, h, f, d), l = f, h = d;
1302
1302
  }
1303
1303
  }
1304
1304
  return i && i.length > 2 && u.push(i), u;
@@ -1306,11 +1306,11 @@ function pathToBezierCurves(t) {
1306
1306
 
1307
1307
  function adpativeBezier(t, i, e, r, n, a, o, s, u, l) {
1308
1308
  if (aroundEqual(t, e) && aroundEqual(i, r) && aroundEqual(n, o) && aroundEqual(a, s)) u.push(o, s); else {
1309
- var h = 2 / l, f = h * h, c = o - t, d = s - i, v = Math.sqrt(c * c + d * d);
1310
- c /= v, d /= v;
1309
+ var h = 2 / l, f = h * h, d = o - t, c = s - i, v = Math.sqrt(d * d + c * c);
1310
+ d /= v, c /= v;
1311
1311
  var p = e - t, m = r - i, y = n - o, b = a - s, S = p * p + m * m, g = y * y + b * b;
1312
1312
  if (S < f && g < f) u.push(o, s); else {
1313
- var w = c * p + d * m, M = -c * y - d * b;
1313
+ var w = d * p + c * m, M = -d * y - c * b;
1314
1314
  if (S - w * w < f && w >= 0 && g - M * M < f && M >= 0) u.push(o, s); else {
1315
1315
  var P = [], D = [];
1316
1316
  Q(t, e, n, o, .5, P), Q(i, r, a, s, .5, D), adpativeBezier(P[0], D[0], P[1], D[1], P[2], D[2], P[3], D[3], u, l),
@@ -1330,10 +1330,10 @@ function getDividingGrids(t, i, e) {
1330
1330
  }
1331
1331
 
1332
1332
  function divideSector(t, i, e) {
1333
- for (var r = t.r0, n = t.r, a = t.startAngle, o = t.endAngle, s = Math.abs(o - a), u = s * n, l = n - r, h = u > Math.abs(l), f = getDividingGrids([ u, l ], h ? 0 : 1, i), c = (h ? s : l) / f.length, d = 0; d < f.length; d++) for (var v = (h ? l : s) / f[d], p = 0; p < f[d]; p++) {
1333
+ for (var r = t.r0, n = t.r, a = t.startAngle, o = t.endAngle, s = Math.abs(o - a), u = s * n, l = n - r, h = u > Math.abs(l), f = getDividingGrids([ u, l ], h ? 0 : 1, i), d = (h ? s : l) / f.length, c = 0; c < f.length; c++) for (var v = (h ? l : s) / f[c], p = 0; p < f[c]; p++) {
1334
1334
  var m = {};
1335
- h ? (m.startAngle = a + c * d, m.endAngle = a + c * (d + 1), m.r0 = r + v * p, m.r = r + v * (p + 1)) : (m.startAngle = a + v * p,
1336
- m.endAngle = a + v * (p + 1), m.r0 = r + c * d, m.r = r + c * (d + 1)), m.clockwise = t.clockwise,
1335
+ h ? (m.startAngle = a + d * c, m.endAngle = a + d * (c + 1), m.r0 = r + v * p, m.r = r + v * (p + 1)) : (m.startAngle = a + v * p,
1336
+ m.endAngle = a + v * (p + 1), m.r0 = r + d * c, m.r = r + d * (c + 1)), m.clockwise = t.clockwise,
1337
1337
  m.cx = t.cx, m.cy = t.cy, e.push(m);
1338
1338
  }
1339
1339
  }
@@ -1343,10 +1343,10 @@ function crossProduct2d(t, i, e, r) {
1343
1343
  }
1344
1344
 
1345
1345
  function lineLineIntersect(t, i, e, r, n, a, o, s) {
1346
- var u = e - t, l = r - i, h = o - n, f = s - a, c = crossProduct2d(h, f, u, l);
1347
- if (Math.abs(c) < 1e-6) return null;
1348
- var d = crossProduct2d(t - n, i - a, h, f) / c;
1349
- return d < 0 || d > 1 ? null : new nt(d * u + t, d * l + i);
1346
+ var u = e - t, l = r - i, h = o - n, f = s - a, d = crossProduct2d(h, f, u, l);
1347
+ if (Math.abs(d) < 1e-6) return null;
1348
+ var c = crossProduct2d(t - n, i - a, h, f) / d;
1349
+ return c < 0 || c > 1 ? null : new nt(c * u + t, c * l + i);
1350
1350
  }
1351
1351
 
1352
1352
  function projPtOnLine(t, i, e) {
@@ -1388,10 +1388,10 @@ function binaryDividePolygon(t) {
1388
1388
  var f = l;
1389
1389
  l = h, h = f;
1390
1390
  }
1391
- var c = [ l.pt.x, l.pt.y ], d = [ h.pt.x, h.pt.y ], v = [ c ], p = [ d ];
1391
+ var d = [ l.pt.x, l.pt.y ], c = [ h.pt.x, h.pt.y ], v = [ d ], p = [ c ];
1392
1392
  for (a = l.idx + 1; a <= h.idx; a++) addToPoly(v, t[a].slice());
1393
- for (addToPoly(v, d), addToPoly(v, c), a = h.idx + 1; a <= l.idx + r; a++) addToPoly(p, t[a % r].slice());
1394
- return addToPoly(p, c), addToPoly(p, d), [ {
1393
+ for (addToPoly(v, c), addToPoly(v, d), a = h.idx + 1; a <= l.idx + r; a++) addToPoly(p, t[a % r].slice());
1394
+ return addToPoly(p, d), addToPoly(p, c), [ {
1395
1395
  points: v
1396
1396
  }, {
1397
1397
  points: p
@@ -1412,9 +1412,9 @@ function split(t, i) {
1412
1412
  switch (t.type) {
1413
1413
  case "rect":
1414
1414
  !function(t, i, e) {
1415
- for (var r = t.width, n = t.height, a = r > n, o = getDividingGrids([ r, n ], a ? 0 : 1, i), s = a ? "width" : "height", u = a ? "height" : "width", l = a ? "x" : "y", h = a ? "y" : "x", f = t[s] / o.length, c = 0; c < o.length; c++) for (var d = t[u] / o[c], v = 0; v < o[c]; v++) {
1415
+ for (var r = t.width, n = t.height, a = r > n, o = getDividingGrids([ r, n ], a ? 0 : 1, i), s = a ? "width" : "height", u = a ? "height" : "width", l = a ? "x" : "y", h = a ? "y" : "x", f = t[s] / o.length, d = 0; d < o.length; d++) for (var c = t[u] / o[d], v = 0; v < o[d]; v++) {
1416
1416
  var p = {};
1417
- p[l] = c * f, p[h] = v * d, p[s] = f, p[u] = d, p.x += t.x, p.y += t.y, e.push(p);
1417
+ p[l] = d * f, p[h] = v * c, p[s] = f, p[u] = c, p.x += t.x, p.y += t.y, e.push(p);
1418
1418
  }
1419
1419
  }(n, i, r), e = et;
1420
1420
  break;
@@ -1442,8 +1442,8 @@ function split(t, i) {
1442
1442
  var a = e[n], o = [], s = a[0], u = a[1];
1443
1443
  o.push(s, u);
1444
1444
  for (var l = 2; l < a.length; ) {
1445
- var h = a[l++], f = a[l++], c = a[l++], d = a[l++], v = a[l++], p = a[l++];
1446
- adpativeBezier(s, u, h, f, c, d, v, p, o, i), s = v, u = p;
1445
+ var h = a[l++], f = a[l++], d = a[l++], c = a[l++], v = a[l++], p = a[l++];
1446
+ adpativeBezier(s, u, h, f, d, c, v, p, o, i), s = v, u = p;
1447
1447
  }
1448
1448
  r.push(o);
1449
1449
  }
@@ -1471,14 +1471,14 @@ function split(t, i) {
1471
1471
  f.sort((function(t, i) {
1472
1472
  return i.area - t.area;
1473
1473
  }));
1474
- var c = i;
1474
+ var d = i;
1475
1475
  for (l = 0; l < u; l++) {
1476
- var d = f[l];
1477
- if (c <= 0) break;
1478
- var v = l === u - 1 ? c : Math.ceil(d.area / h * i);
1476
+ var c = f[l];
1477
+ if (d <= 0) break;
1478
+ var v = l === u - 1 ? d : Math.ceil(c.area / h * i);
1479
1479
  v < 0 || (binaryDivideRecursive(binaryDividePolygon, {
1480
- points: d.poly
1481
- }, v, r), c -= v);
1480
+ points: c.poly
1481
+ }, v, r), d -= v);
1482
1482
  }
1483
1483
  }
1484
1484
  e = tt;
@@ -1499,15 +1499,15 @@ function split(t, i) {
1499
1499
  function alignSubpath(t, i) {
1500
1500
  var e = t.length, r = i.length;
1501
1501
  if (e === r) return [ t, i ];
1502
- for (var n = [], a = [], o = e < r ? t : i, s = Math.min(e, r), u = Math.abs(r - e) / 6, l = (s - 2) / 6, h = Math.ceil(u / l) + 1, f = [ o[0], o[1] ], c = u, d = 2; d < s; ) {
1503
- var v = o[d - 2], p = o[d - 1], m = o[d++], y = o[d++], b = o[d++], S = o[d++], g = o[d++], w = o[d++];
1504
- if (c <= 0) f.push(m, y, b, S, g, w); else {
1505
- for (var M = Math.min(c, h - 1) + 1, P = 1; P <= M; P++) {
1502
+ for (var n = [], a = [], o = e < r ? t : i, s = Math.min(e, r), u = Math.abs(r - e) / 6, l = (s - 2) / 6, h = Math.ceil(u / l) + 1, f = [ o[0], o[1] ], d = u, c = 2; c < s; ) {
1503
+ var v = o[c - 2], p = o[c - 1], m = o[c++], y = o[c++], b = o[c++], S = o[c++], g = o[c++], w = o[c++];
1504
+ if (d <= 0) f.push(m, y, b, S, g, w); else {
1505
+ for (var M = Math.min(d, h - 1) + 1, P = 1; P <= M; P++) {
1506
1506
  var D = P / M;
1507
1507
  Q(v, m, b, g, D, n), Q(p, y, S, w, D, a), v = n[3], p = a[3], f.push(n[1], a[1], n[2], a[2], v, p),
1508
1508
  m = n[5], y = a[5], b = n[6], S = a[6];
1509
1509
  }
1510
- c -= M - 1;
1510
+ d -= M - 1;
1511
1511
  }
1512
1512
  }
1513
1513
  return o === t ? [ f, i ] : [ t, f ];
@@ -1529,8 +1529,8 @@ function centroid(t) {
1529
1529
 
1530
1530
  function findBestRingOffset(t, i, e, r) {
1531
1531
  for (var n = (t.length - 2) / 6, a = 1 / 0, o = 0, s = t.length, u = s - 2, l = 0; l < n; l++) {
1532
- for (var h = 6 * l, f = 0, c = 0; c < s; c += 2) {
1533
- var d = 0 === c ? h : (h + c - 2) % u + 2, v = t[d] - e[0], p = t[d + 1] - e[1], m = i[c] - r[0] - v, y = i[c + 1] - r[1] - p;
1532
+ for (var h = 6 * l, f = 0, d = 0; d < s; d += 2) {
1533
+ var c = 0 === d ? h : (h + d - 2) % u + 2, v = t[c] - e[0], p = t[c + 1] - e[1], m = i[d] - r[0] - v, y = i[d + 1] - r[1] - p;
1534
1534
  f += m * m + y * y;
1535
1535
  }
1536
1536
  f < a && (a = f, o = l);
@@ -1590,7 +1590,7 @@ function prepareMorphPath(t, i) {
1590
1590
  for (var n, a = [], o = 0; o < t.length; o++) {
1591
1591
  var s = t[o], u = i[o], l = centroid(s), h = centroid(u);
1592
1592
  null == n && (n = l[2] < 0 != h[2] < 0);
1593
- var f = [], c = [], d = 0, v = 1 / 0, p = [], m = s.length;
1593
+ var f = [], d = [], c = 0, v = 1 / 0, p = [], m = s.length;
1594
1594
  n && (s = reverse(s));
1595
1595
  for (var y = 6 * findBestRingOffset(s, u, l, h), b = m - 2, S = 0; S < b; S += 2) {
1596
1596
  var g = (y + S) % b + 2;
@@ -1606,16 +1606,16 @@ function prepareMorphPath(t, i) {
1606
1606
  I += A * A + O * O;
1607
1607
  }
1608
1608
  if (I < v) {
1609
- v = I, d = M;
1610
- for (var E = 0; E < p.length; E++) c[E] = p[E];
1609
+ v = I, c = M;
1610
+ for (var E = 0; E < p.length; E++) d[E] = p[E];
1611
1611
  }
1612
1612
  }
1613
1613
  a.push({
1614
1614
  from: f,
1615
- to: c,
1615
+ to: d,
1616
1616
  fromCp: l,
1617
1617
  toCp: h,
1618
- rotation: -d
1618
+ rotation: -c
1619
1619
  });
1620
1620
  }
1621
1621
  return a;
@@ -1623,8 +1623,8 @@ function prepareMorphPath(t, i) {
1623
1623
  saveAndModifyMethod(i, "buildPath", {
1624
1624
  replace: function(t) {
1625
1625
  for (var e = i.__morphT, r = 1 - e, n = [], a = 0; a < l.length; a++) {
1626
- var o = l[a], s = o.from, u = o.to, f = o.rotation * e, c = o.fromCp, d = o.toCp, v = Math.sin(f), p = Math.cos(f);
1627
- ot(n, c, d, e);
1626
+ var o = l[a], s = o.from, u = o.to, f = o.rotation * e, d = o.fromCp, c = o.toCp, v = Math.sin(f), p = Math.cos(f);
1627
+ ot(n, d, c, e);
1628
1628
  for (var m = 0; m < s.length; m += 2) {
1629
1629
  var y = s[m], b = s[m + 1], S = y * r + (P = u[m]) * e, g = b * r + (D = u[m + 1]) * e;
1630
1630
  h[m] = S * p - g * v + n[0], h[m + 1] = S * v + g * p + n[1];
@@ -1748,9 +1748,9 @@ function applyMorphAnimation(t, i, e, r, n, a) {
1748
1748
  s = t, u = i), isMultiple(i) && (
1749
1749
  // oneToMany
1750
1750
  s = i, u = t);
1751
- for (var f = s ? s === t : t.length > i.length, c = s ? prepareMorphBatches(u, s) : prepareMorphBatches(f ? i : t, [ f ? t : i ]), d = 0, v = 0; v < c.length; v++) d += c[v].many.length;
1751
+ for (var f = s ? s === t : t.length > i.length, d = s ? prepareMorphBatches(u, s) : prepareMorphBatches(f ? i : t, [ f ? t : i ]), c = 0, v = 0; v < d.length; v++) c += d[v].many.length;
1752
1752
  var p = 0;
1753
- for (v = 0; v < c.length; v++) morphOneBatch(c[v], f, p, d), p += c[v].many.length;
1753
+ for (v = 0; v < d.length; v++) morphOneBatch(d[v], f, p, c), p += d[v].many.length;
1754
1754
  }
1755
1755
  }
1756
1756
  function morphOneBatch(t, i, r, n, o) {
@@ -1760,7 +1760,7 @@ function applyMorphAnimation(t, i, e, r, n, a) {
1760
1760
  individualDelay: l && function(t, i, e, a) {
1761
1761
  return l(t + r, n);
1762
1762
  }
1763
- }, h), c = i ? function(t, i, e) {
1763
+ }, h), d = i ? function(t, i, e) {
1764
1764
  var r = [];
1765
1765
  !function addFromPath(t) {
1766
1766
  for (var i = 0; i < t.length; i++) {
@@ -1786,8 +1786,8 @@ function applyMorphAnimation(t, i, e, r, n, a) {
1786
1786
  };
1787
1787
  r = sortPaths(r), a = sortPaths(a);
1788
1788
  for (var o = e.done, s = e.during, u = e.individualDelay, l = new at, h = 0; h < n; h++) {
1789
- var f = r[h], c = a[h];
1790
- c.parent = i, c.copyTransform(l), u || prepareMorphPath(f, c);
1789
+ var f = r[h], d = a[h];
1790
+ d.parent = i, d.copyTransform(l), u || prepareMorphPath(f, d);
1791
1791
  }
1792
1792
  function addToSubPathListToZr(t) {
1793
1793
  for (var i = 0; i < a.length; i++) a[i].addSelfToZr(t);
@@ -1807,14 +1807,14 @@ function applyMorphAnimation(t, i, e, r, n, a) {
1807
1807
  for (var i = 0; i < a.length; i++) a[i].removeSelfFromZr(t);
1808
1808
  }
1809
1809
  });
1810
- var d = a.length;
1810
+ var c = a.length;
1811
1811
  if (u) {
1812
- var v = d, eachDone = function() {
1812
+ var v = c, eachDone = function() {
1813
1813
  0 == --v && (restoreToPath(), o && o());
1814
1814
  };
1815
- for (h = 0; h < d; h++) {
1815
+ for (h = 0; h < c; h++) {
1816
1816
  var p = u ? G({
1817
- delay: (e.delay || 0) + u(h, d, r[h], a[h]),
1817
+ delay: (e.delay || 0) + u(h, c, r[h], a[h]),
1818
1818
  done: eachDone
1819
1819
  }, e) : e;
1820
1820
  morphPath(r[h], a[h], p);
@@ -1823,7 +1823,7 @@ function applyMorphAnimation(t, i, e, r, n, a) {
1823
1823
  __morphT: 1
1824
1824
  }, G({
1825
1825
  during: function(t) {
1826
- for (var e = 0; e < d; e++) {
1826
+ for (var e = 0; e < c; e++) {
1827
1827
  var r = a[e];
1828
1828
  r.__morphT = i.__morphT, r.dirtyShape();
1829
1829
  }
@@ -1838,7 +1838,7 @@ function applyMorphAnimation(t, i, e, r, n, a) {
1838
1838
  return i.__zr && addToSubPathListToZr(i.__zr), {
1839
1839
  fromIndividuals: r,
1840
1840
  toIndividuals: a,
1841
- count: d
1841
+ count: c
1842
1842
  };
1843
1843
  }(s, u, f) : function(t, i, e) {
1844
1844
  var r = i.length, n = [], a = e.dividePath || defaultDividePath;
@@ -1879,11 +1879,11 @@ function applyMorphAnimation(t, i, e, r, n, a) {
1879
1879
  toIndividuals: i,
1880
1880
  count: i.length
1881
1881
  };
1882
- }(u, s, f), d = c.fromIndividuals, v = c.toIndividuals, p = d.length, m = 0; m < p; m++) {
1882
+ }(u, s, f), c = d.fromIndividuals, v = d.toIndividuals, p = c.length, m = 0; m < p; m++) {
1883
1883
  y = l ? G({
1884
1884
  delay: l(m, p)
1885
1885
  }, h) : h;
1886
- a(d[m], v[m], i ? s[m] : t.one, i ? t.one : s[m], y);
1886
+ a(c[m], v[m], i ? s[m] : t.one, i ? t.one : s[m], y);
1887
1887
  } else {
1888
1888
  // Is one to one
1889
1889
  var y, b = i ? s[0] : u, S = i ? u : s[0];
@@ -1959,7 +1959,7 @@ function fadeInElement(t, i, e) {
1959
1959
  t.traverse((function(t) {
1960
1960
  t instanceof E &&
1961
1961
  // TODO use fade in animation for target element.
1962
- d(t, {
1962
+ c(t, {
1963
1963
  style: {
1964
1964
  opacity: 0
1965
1965
  }
@@ -1992,7 +1992,7 @@ function transitionBetween(t, i, e) {
1992
1992
  style: e && e !== t ? y(y({}, e.style), t.style) : t.style
1993
1993
  }, n);
1994
1994
  }
1995
- var a = !1, o = 0, s = ct(), u = ct();
1995
+ var a = !1, o = 0, s = dt(), u = dt();
1996
1996
  /**
1997
1997
  * With groupId and childGroupId, we can build parent-child relationships between dataItems.
1998
1998
  * However, we should mind the parent-child "direction" between old and new options.
@@ -2058,7 +2058,7 @@ function transitionBetween(t, i, e) {
2058
2058
  // Use id if it's very likely to be an one to one animation
2059
2059
  // It's more robust than groupId
2060
2060
  // TODO Check if key dimension is specified.
2061
- var c = function(t, i) {
2061
+ var d = function(t, i) {
2062
2062
  var e = t.length;
2063
2063
  if (e !== i.length) return !1;
2064
2064
  for (var r = 0; r < e; r++) {
@@ -2066,21 +2066,21 @@ function transitionBetween(t, i, e) {
2066
2066
  if (n.data.getId(n.dataIndex) !== a.data.getId(a.dataIndex)) return !1;
2067
2067
  }
2068
2068
  return !0;
2069
- }(r, n), d = {};
2070
- if (!c)
2069
+ }(r, n), c = {};
2070
+ if (!d)
2071
2071
  // We may have different diff strategy with basicTransition if we use other dimension as key.
2072
2072
  // If so, we can't simply check if oldEl is same with newEl. We need a map to check if oldEl is still being used in the new chart.
2073
2073
  // We can't use the elements that already being morphed. Let it keep it's original basic transition.
2074
2074
  for (l = 0; l < n.length; l++) {
2075
2075
  var v = n[l], p = v.data.getItemGraphicEl(v.dataIndex);
2076
- p && (d[p.id] = !0);
2076
+ p && (c[p.id] = !0);
2077
2077
  }
2078
2078
  function updateOneToOne(t, i) {
2079
2079
  var e = r[i], o = n[t], s = o.data.hostModel, u = e.data.getItemGraphicEl(e.dataIndex), l = o.data.getItemGraphicEl(o.dataIndex);
2080
2080
  // Can't handle same elements.
2081
2081
  u !== l ?
2082
2082
  // We can't use the elements that already being morphed
2083
- u && d[u.id] || l && (
2083
+ u && c[u.id] || l && (
2084
2084
  // TODO: If keep animating the group in case
2085
2085
  // some of the elements don't want to be morphed.
2086
2086
  // TODO Label?
@@ -2098,11 +2098,11 @@ function transitionBetween(t, i, e) {
2098
2098
  }));
2099
2099
  }(l, o.dataIndex, s);
2100
2100
  }
2101
- new dt(r, n, createKeyGetter(!0, c), createKeyGetter(!1, c), null, "multiple").update(updateOneToOne).updateManyToOne((function(t, i) {
2101
+ new ct(r, n, createKeyGetter(!0, d), createKeyGetter(!1, d), null, "multiple").update(updateOneToOne).updateManyToOne((function(t, i) {
2102
2102
  var e = n[t], o = e.data, s = o.hostModel, u = o.getItemGraphicEl(e.dataIndex), l = vt(L(i, (function(t) {
2103
2103
  return r[t].data.getItemGraphicEl(r[t].dataIndex);
2104
2104
  })), (function(t) {
2105
- return t && t !== u && !d[t.id];
2105
+ return t && t !== u && !c[t.id];
2106
2106
  }));
2107
2107
  u && (stopAnimation(u), l.length ? (
2108
2108
  // If old element is doing leaving animation. stop it and remove it immediately.
@@ -2113,7 +2113,7 @@ function transitionBetween(t, i, e) {
2113
2113
  })).updateOneToMany((function(t, i) {
2114
2114
  var e = r[i], o = e.data.getItemGraphicEl(e.dataIndex);
2115
2115
  // We can't use the elements that already being morphed
2116
- if (!o || !d[o.id]) {
2116
+ if (!o || !c[o.id]) {
2117
2117
  var s = vt(L(t, (function(t) {
2118
2118
  return n[t].data.getItemGraphicEl(n[t].dataIndex);
2119
2119
  })), (function(t) {
@@ -2133,7 +2133,7 @@ function transitionBetween(t, i, e) {
2133
2133
  })).updateManyToMany((function(t, i) {
2134
2134
  // If two data are same and both have groupId.
2135
2135
  // Normally they should be diff by id.
2136
- new dt(i, t, (function(t) {
2136
+ new ct(i, t, (function(t) {
2137
2137
  return r[t].data.getId(r[t].dataIndex);
2138
2138
  }), (function(t) {
2139
2139
  return n[t].data.getId(n[t].dataIndex);
@@ -2190,16 +2190,16 @@ yt([ Mt, function(t) {
2190
2190
  var o = i.getStore(), s = i.getDimensionIndex(r[0]), u = i.getDimensionIndex(r[1]);
2191
2191
  return n && {
2192
2192
  progress: function(t, i) {
2193
- for (var r = t.end - t.start, a = C(r * n), l = [], h = [], f = t.start, c = 0; f < t.end; f++) {
2194
- var d = void 0;
2193
+ for (var r = t.end - t.start, a = C(r * n), l = [], h = [], f = t.start, d = 0; f < t.end; f++) {
2194
+ var c = void 0;
2195
2195
  if (1 === n) {
2196
2196
  var v = o.get(s, f);
2197
2197
  // NOTE: Make sure the second parameter is null to use default strategy.
2198
- d = e.dataToPoint(v, null, h);
2198
+ c = e.dataToPoint(v, null, h);
2199
2199
  } else l[0] = o.get(s, f), l[1] = o.get(u, f),
2200
2200
  // Let coordinate system to handle the NaN data.
2201
- d = e.dataToPoint(l, null, h);
2202
- a[c++] = d[0], a[c++] = d[1];
2201
+ c = e.dataToPoint(l, null, h);
2202
+ a[d++] = c[0], a[d++] = c[1];
2203
2203
  }
2204
2204
  i.setLayout("points", a);
2205
2205
  }
@@ -2262,7 +2262,7 @@ yt([ Mt, function(t) {
2262
2262
  })); else {
2263
2263
  // Else guess from series based on transition series key.
2264
2264
  var a = function(t, i) {
2265
- var e = ct(), r = ct(), n = ct();
2265
+ var e = dt(), r = dt(), n = dt();
2266
2266
  return Z(t.oldSeries, (function(i, e) {
2267
2267
  var a = t.oldDataGroupIds[e], o = t.oldData[e], s = getSeriesTransitionKey(i), u = convertArraySeriesKeyToString(s);
2268
2268
  r.set(u, {
@@ -2649,6 +2649,6 @@ const Zt = class {
2649
2649
  }
2650
2650
  };
2651
2651
 
2652
- Zt.style = "*{box-sizing:border-box}*:active{outline:none}*:focus-visible{outline:none;box-shadow:var(--const-double-focus-ring, 0 0 0 2px #ffffff, 0 0 0 4px #0066cc)}:host{box-shadow:none !important}::-moz-focus-inner{border:none}input,textarea,button{font-family:inherit;font-size:inherit;font-stretch:inherit}:host(.sr),:host(.sr) button{border:0;clip:rect(0 0 0 0);height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute;width:1px;white-space:nowrap}.sr,.sr button{border:0;clip:rect(0 0 0 0);height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute;width:1px;white-space:nowrap}.hidden{display:none}:host([hidden]){display:none}.invisible{visibility:hidden}:host{width:var(--tct-area-chart-width, 100%);height:var(--tct-area-chart-height, 100%);display:block}.container{width:100%;height:100%}.chart-container{width:100%;height:100%}";
2652
+ Zt.style = '*{box-sizing:border-box}*:active{outline:none}*:focus-visible{outline:none;box-shadow:var(--const-double-focus-ring, 0 0 0 2px #ffffff, 0 0 0 4px #0066cc)}:host{box-shadow:none !important}::-moz-focus-inner{border:none}input,textarea,button{font-family:inherit;font-size:inherit;font-stretch:inherit}:host(.sr),:host(.sr) button{border:0;clip:rect(0 0 0 0);height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute;width:1px;white-space:nowrap}.sr,.sr button{border:0;clip:rect(0 0 0 0);height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute;width:1px;white-space:nowrap}.hidden{display:none}:host([hidden]){display:none}.invisible{visibility:hidden}@container style(--t-prefers-motion: "reduced"){*,*::before,*::after{animation-duration:0.01ms !important;transition-duration:0.01ms !important;animation-delay:0ms !important;transition-delay:0ms !important}}@container (not style(--t-prefers-motion: "normal")) and (not style(--t-prefers-motion: "reduced")){@media (prefers-reduced-motion: reduce){*,*::before,*::after{animation-duration:0.01ms !important;transition-duration:0.01ms !important;animation-delay:0ms !important;transition-delay:0ms !important}}}:host{width:var(--tct-area-chart-width, 100%);height:var(--tct-area-chart-height, 100%);display:block}.container{width:100%;height:100%}.chart-container{width:100%;height:100%}';
2653
2653
 
2654
2654
  export { Zt as q2_chart_area }