q2-tecton-elements 1.71.4 → 1.73.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (415) hide show
  1. package/dist/bundle-report.json +32564 -26687
  2. package/dist/cjs/{charting-ClN1ldqv.js → charting-CdNTrVBe.js} +80 -0
  3. package/dist/cjs/click-elsewhere_3.cjs.entry.js +85 -20
  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-SpDCZABA.js → index-BqyWHpNu.js} +2 -2
  7. package/dist/cjs/loader.cjs.js +1 -1
  8. package/dist/cjs/{q2-action-group_2.cjs.entry.js → q2-action-group.cjs.entry.js} +1 -89
  9. package/dist/cjs/q2-action-sheet.cjs.entry.js +98 -18
  10. package/dist/cjs/q2-avatar.cjs.entry.js +1 -1
  11. package/dist/cjs/q2-badge_2.cjs.entry.js +113 -12
  12. package/dist/cjs/q2-btn_2.cjs.entry.js +2 -2
  13. package/dist/cjs/q2-calendar.cjs.entry.js +14 -7
  14. package/dist/cjs/q2-card-image.cjs.entry.js +4 -4
  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 +3 -3
  22. package/dist/cjs/q2-checkbox_2.cjs.entry.js +9 -6
  23. package/dist/cjs/q2-context.cjs.entry.js +6 -5
  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 +4 -4
  31. package/dist/cjs/q2-editable-field.cjs.entry.js +51 -37
  32. package/dist/cjs/q2-example.cjs.entry.js +1 -1
  33. package/dist/cjs/q2-file-picker.cjs.entry.js +60 -4
  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 +21 -3
  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 +59 -17
  44. package/dist/cjs/q2-month-picker.cjs.entry.js +3 -3
  45. package/dist/cjs/q2-mutation-observer.cjs.entry.js +1 -1
  46. package/dist/cjs/q2-option.cjs.entry.js +1 -1
  47. package/dist/cjs/q2-otp.cjs.entry.js +5 -5
  48. package/dist/cjs/q2-pagination.cjs.entry.js +4 -4
  49. package/dist/cjs/q2-pill.cjs.entry.js +8 -5
  50. package/dist/cjs/q2-radio-group.cjs.entry.js +22 -4
  51. package/dist/cjs/q2-radio.cjs.entry.js +3 -3
  52. package/dist/cjs/q2-relative-time.cjs.entry.js +3 -3
  53. package/dist/cjs/q2-resize-observer.cjs.entry.js +92 -0
  54. package/dist/cjs/q2-search.cjs.entry.js +4 -4
  55. package/dist/cjs/q2-section.cjs.entry.js +7 -7
  56. package/dist/cjs/q2-select.cjs.entry.js +41 -21
  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 +5 -3
  69. package/dist/collection/collection-manifest.json +2 -0
  70. package/dist/collection/components/q2-action-sheet/q2-action-sheet.css +52 -0
  71. package/dist/collection/components/q2-action-sheet/q2-action-sheet.js +98 -18
  72. package/dist/collection/components/q2-action-sheet/test/q2-action-sheet-test.vr.js +124 -0
  73. package/dist/collection/components/q2-avatar/q2-avatar.js +1 -1
  74. package/dist/collection/components/q2-btn/q2-btn.css +152 -146
  75. package/dist/collection/components/q2-btn/q2-btn.js +10 -4
  76. package/dist/collection/components/q2-btn/test/q2-btn-test.vr.js +229 -20
  77. package/dist/collection/components/q2-calendar/q2-calendar.css +3 -0
  78. package/dist/collection/components/q2-calendar/q2-calendar.js +20 -7
  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 +26 -15
  81. package/dist/collection/components/q2-card/test/q2-card-test.vr.js +4 -0
  82. package/dist/collection/components/q2-card-image/q2-card-image.css +89 -134
  83. package/dist/collection/components/q2-card-image/q2-card-image.js +4 -4
  84. package/dist/collection/components/q2-card-image/test/q2-card-image-test.vr.js +4 -0
  85. package/dist/collection/components/q2-carousel/q2-carousel.js +19 -5
  86. package/dist/collection/components/q2-carousel/test/q2-carousel-test.vr.js +45 -0
  87. package/dist/collection/components/q2-carousel-pane/q2-carousel-pane.js +2 -2
  88. package/dist/collection/components/q2-chart-area/q2-chart-area.css +11 -0
  89. package/dist/collection/components/q2-chart-area/q2-chart-area.js +53 -7
  90. package/dist/collection/components/q2-chart-area/test/q2-chart-area-test.vr.js +14 -0
  91. package/dist/collection/components/q2-chart-bar/q2-chart-bar.css +11 -0
  92. package/dist/collection/components/q2-chart-bar/q2-chart-bar.js +50 -4
  93. package/dist/collection/components/q2-chart-bar/test/q2-chart-bar-test.vr.js +14 -0
  94. package/dist/collection/components/q2-chart-donut/q2-chart-donut.js +30 -10
  95. package/dist/collection/components/q2-chart-donut/test/q2-chart-donut-test.vr.js +25 -0
  96. package/dist/collection/components/q2-checkbox/q2-checkbox.css +2 -2
  97. package/dist/collection/components/q2-checkbox/q2-checkbox.js +6 -3
  98. package/dist/collection/components/q2-checkbox-group/q2-checkbox-group.css +2 -0
  99. package/dist/collection/components/q2-checkbox-group/q2-checkbox-group.js +6 -3
  100. package/dist/collection/components/q2-context/q2-context.css +5 -0
  101. package/dist/collection/components/q2-context/q2-context.js +4 -3
  102. package/dist/collection/components/q2-context/test/q2-context-test.vr.js +14 -4
  103. package/dist/collection/components/q2-currency/q2-currency.js +1 -1
  104. package/dist/collection/components/q2-data-table/q2-data-table.css +6 -0
  105. package/dist/collection/components/q2-data-table/q2-data-table.js +5 -5
  106. package/dist/collection/components/q2-data-table/test/q2-data-table-test.vr.js +52 -0
  107. package/dist/collection/components/q2-date-calendar/q2-date-calendar.css +393 -0
  108. package/dist/collection/components/q2-date-calendar/q2-date-calendar.js +1022 -0
  109. package/dist/collection/components/q2-date-calendar/test/q2-date-calendar-test.vr.js +111 -0
  110. package/dist/collection/components/q2-date-picker/q2-date-picker.css +138 -0
  111. package/dist/collection/components/q2-date-picker/q2-date-picker.js +2010 -0
  112. package/dist/collection/components/q2-date-picker/test/q2-date-picker-test.vr.js +179 -0
  113. package/dist/collection/components/q2-detail/q2-detail.js +1 -1
  114. package/dist/collection/components/q2-dropdown/q2-dropdown.css +2 -0
  115. package/dist/collection/components/q2-dropdown/q2-dropdown.js +5 -5
  116. package/dist/collection/components/q2-dropdown/test/q2-dropdown-test.vr.js +30 -0
  117. package/dist/collection/components/q2-editable-field/q2-editable-field.css +2 -0
  118. package/dist/collection/components/q2-editable-field/q2-editable-field.js +59 -45
  119. package/dist/collection/components/q2-example/q2-example.js +1 -1
  120. package/dist/collection/components/q2-file-picker/q2-file-picker.css +27 -0
  121. package/dist/collection/components/q2-file-picker/q2-file-picker.js +98 -2
  122. package/dist/collection/components/q2-file-picker/test/q2-file-picker-test.vr.js +22 -0
  123. package/dist/collection/components/q2-form/q2-form.js +1 -1
  124. package/dist/collection/components/q2-formatted-text/q2-formatted-text.js +1 -1
  125. package/dist/collection/components/q2-input/q2-input.css +67 -1
  126. package/dist/collection/components/q2-input/q2-input.js +160 -15
  127. package/dist/collection/components/q2-input/test/q2-input-test.vr.js +35 -0
  128. package/dist/collection/components/q2-item/q2-item.css +3 -1
  129. package/dist/collection/components/q2-item/q2-item.js +19 -1
  130. package/dist/collection/components/q2-item/test/q2-item-test.vr.js +8 -2
  131. package/dist/collection/components/q2-legend/q2-legend.js +1 -1
  132. package/dist/collection/components/q2-list/q2-list.js +1 -1
  133. package/dist/collection/components/q2-message/q2-message.css +5 -5
  134. package/dist/collection/components/q2-message/q2-message.js +1 -1
  135. package/dist/collection/components/q2-meter/q2-meter.js +1 -1
  136. package/dist/collection/components/q2-modal/q2-modal.css +40 -3
  137. package/dist/collection/components/q2-modal/q2-modal.js +100 -16
  138. package/dist/collection/components/q2-modal/test/q2-modal-test.vr.js +32 -7
  139. package/dist/collection/components/q2-mutation-observer/q2-mutation-observer.js +1 -1
  140. package/dist/collection/components/q2-optgroup/q2-optgroup.js +1 -1
  141. package/dist/collection/components/q2-option-list/q2-option-list.js +33 -4
  142. package/dist/collection/components/q2-otp/q2-otp.js +4 -4
  143. package/dist/collection/components/q2-pagination/q2-pagination.js +3 -3
  144. package/dist/collection/components/q2-pill/q2-pill.css +2 -2
  145. package/dist/collection/components/q2-pill/q2-pill.js +6 -3
  146. package/dist/collection/components/q2-popover/q2-popover.css +4 -2
  147. package/dist/collection/components/q2-popover/q2-popover.js +50 -14
  148. package/dist/collection/components/q2-radio/q2-radio.css +158 -104
  149. package/dist/collection/components/q2-radio/q2-radio.js +5 -2
  150. package/dist/collection/components/q2-radio/test/q2-radio-test.vr.js +25 -2
  151. package/dist/collection/components/q2-radio-group/q2-radio-group.css +39 -2
  152. package/dist/collection/components/q2-radio-group/q2-radio-group.js +73 -4
  153. package/dist/collection/components/q2-radio-group/test/q2-radio-group-test.vr.js +43 -1
  154. package/dist/collection/components/q2-relative-time/q2-relative-time.js +2 -2
  155. package/dist/collection/components/q2-resize-observer/q2-resize-observer.js +1 -1
  156. package/dist/collection/components/q2-search/q2-search.css +2 -0
  157. package/dist/collection/components/q2-search/q2-search.js +6 -3
  158. package/dist/collection/components/q2-section/q2-section.css +2 -0
  159. package/dist/collection/components/q2-section/q2-section.js +6 -6
  160. package/dist/collection/components/q2-select/q2-select.css +3 -0
  161. package/dist/collection/components/q2-select/q2-select.js +48 -22
  162. package/dist/collection/components/q2-select/test/q2-select-test.vr.js +13 -0
  163. package/dist/collection/components/q2-stepper/q2-stepper.js +1 -1
  164. package/dist/collection/components/q2-stepper-pane/q2-stepper-pane.js +1 -1
  165. package/dist/collection/components/q2-stepper-vertical/q2-stepper-vertical.js +1 -1
  166. package/dist/collection/components/q2-surface/q2-surface.js +1 -1
  167. package/dist/collection/components/q2-surface/test/q2-surface-test.vr.js +2 -2
  168. package/dist/collection/components/q2-tab-container/q2-tab-container.js +1 -1
  169. package/dist/collection/components/q2-tab-pane/q2-tab-pane.js +1 -1
  170. package/dist/collection/components/q2-tag/q2-tag.js +6 -3
  171. package/dist/collection/components/q2-textarea/q2-textarea.js +6 -3
  172. package/dist/collection/components/q2-tooltip/test/q2-tooltip-test.vr.js +1 -1
  173. package/dist/collection/components/tecton-tab-pane/tecton-tab-pane.js +5 -3
  174. package/dist/collection/utils/chart-keyboard.js +76 -0
  175. package/dist/collection/utils/date-picker/date-picker-helpers.js +239 -0
  176. package/dist/collection/utils/date-picker/date-picker-types.js +1 -0
  177. package/dist/collection/utils/index.js +2 -2
  178. package/dist/collection/utils/test/vr-helpers.js +16 -2
  179. package/dist/components/charting.js +1603 -1532
  180. package/dist/components/dataSample.js +7 -7
  181. package/dist/components/index.js +57 -53
  182. package/dist/components/index2.js +3 -3
  183. package/dist/components/q2-action-sheet.js +224 -103
  184. package/dist/components/q2-avatar2.js +8 -8
  185. package/dist/components/q2-btn2.js +2 -2
  186. package/dist/components/q2-calendar.js +15 -10
  187. package/dist/components/q2-card-image.js +24 -24
  188. package/dist/components/q2-carousel-pane2.js +3 -3
  189. package/dist/components/q2-carousel.js +37 -24
  190. package/dist/components/q2-chart-area.js +415 -369
  191. package/dist/components/q2-chart-bar.js +193 -148
  192. package/dist/components/q2-chart-donut.js +185 -158
  193. package/dist/components/q2-checkbox-group.js +12 -12
  194. package/dist/components/q2-checkbox2.js +12 -12
  195. package/dist/components/q2-context.js +30 -29
  196. package/dist/components/q2-currency.js +9 -9
  197. package/dist/components/q2-data-table.js +111 -111
  198. package/dist/components/q2-date-calendar.d.ts +11 -0
  199. package/dist/components/q2-date-calendar.js +5 -0
  200. package/dist/components/q2-date-calendar2.js +678 -0
  201. package/dist/components/q2-date-picker.d.ts +11 -0
  202. package/dist/components/q2-date-picker.js +5 -0
  203. package/dist/components/q2-date-picker2.js +875 -0
  204. package/dist/components/q2-detail.js +3 -3
  205. package/dist/components/q2-dropdown.js +13 -13
  206. package/dist/components/q2-editable-field.js +45 -36
  207. package/dist/components/q2-example.js +11 -11
  208. package/dist/components/q2-file-picker.js +71 -11
  209. package/dist/components/q2-form.js +6 -6
  210. package/dist/components/q2-formatted-text.js +2 -2
  211. package/dist/components/q2-input2.js +268 -163
  212. package/dist/components/q2-item2.js +33 -23
  213. package/dist/components/q2-legend2.js +7 -7
  214. package/dist/components/q2-list2.js +6 -6
  215. package/dist/components/q2-message2.js +29 -29
  216. package/dist/components/q2-meter.js +7 -7
  217. package/dist/components/q2-modal.js +94 -76
  218. package/dist/components/q2-month-picker.js +17 -17
  219. package/dist/components/q2-mutation-observer.js +1 -1
  220. package/dist/components/q2-optgroup2.js +7 -7
  221. package/dist/components/q2-option-list2.js +52 -32
  222. package/dist/components/q2-otp.js +8 -8
  223. package/dist/components/q2-pagination.js +67 -67
  224. package/dist/components/q2-pill.js +17 -15
  225. package/dist/components/q2-popover2.js +77 -53
  226. package/dist/components/q2-radio-group.js +70 -40
  227. package/dist/components/q2-radio.js +40 -55
  228. package/dist/components/q2-relative-time.js +5 -5
  229. package/dist/components/q2-resize-observer2.js +23 -23
  230. package/dist/components/q2-search.js +6 -6
  231. package/dist/components/q2-section.js +33 -33
  232. package/dist/components/q2-select2.js +47 -40
  233. package/dist/components/q2-stepper-pane.js +17 -13
  234. package/dist/components/q2-stepper-vertical.js +4 -4
  235. package/dist/components/q2-stepper.js +57 -57
  236. package/dist/components/q2-surface.js +3 -3
  237. package/dist/components/q2-tab-container.js +18 -18
  238. package/dist/components/q2-tab-pane.js +2 -2
  239. package/dist/components/q2-tag2.js +8 -6
  240. package/dist/components/q2-textarea.js +3 -3
  241. package/dist/components/sectorHelper.js +78 -78
  242. package/dist/components/tecton-tab-pane.js +12 -11
  243. package/dist/esm/{charting-DOZct-UB.js → charting-DFXJklqs.js} +79 -1
  244. package/dist/esm/click-elsewhere_3.entry.js +85 -20
  245. package/dist/esm/{dataSample-Dm1zpQNi.js → dataSample-CP_VKNqt.js} +1 -1
  246. package/dist/esm/date-picker-helpers-D8QnN_AS.js +242 -0
  247. package/dist/esm/{index-Cps4jSQM.js → index-CP8pXJ-l.js} +2 -2
  248. package/dist/esm/loader.js +1 -1
  249. package/dist/esm/{q2-action-group_2.entry.js → q2-action-group.entry.js} +3 -90
  250. package/dist/esm/q2-action-sheet.entry.js +99 -19
  251. package/dist/esm/q2-avatar.entry.js +1 -1
  252. package/dist/esm/q2-badge_2.entry.js +113 -12
  253. package/dist/esm/q2-btn_2.entry.js +2 -2
  254. package/dist/esm/q2-calendar.entry.js +14 -7
  255. package/dist/esm/q2-card-image.entry.js +4 -4
  256. package/dist/esm/q2-card.entry.js +1 -1
  257. package/dist/esm/q2-carousel-pane.entry.js +3 -3
  258. package/dist/esm/q2-carousel.entry.js +20 -6
  259. package/dist/esm/q2-chart-area.entry.js +38 -7
  260. package/dist/esm/q2-chart-bar.entry.js +39 -8
  261. package/dist/esm/q2-chart-donut.entry.js +31 -13
  262. package/dist/esm/q2-checkbox-group.entry.js +3 -3
  263. package/dist/esm/q2-checkbox_2.entry.js +9 -6
  264. package/dist/esm/q2-context.entry.js +6 -5
  265. package/dist/esm/q2-currency.entry.js +1 -1
  266. package/dist/esm/q2-data-table.entry.js +7 -7
  267. package/dist/esm/q2-date-calendar.entry.js +450 -0
  268. package/dist/esm/q2-date-picker_2.entry.js +965 -0
  269. package/dist/esm/q2-detail.entry.js +2 -2
  270. package/dist/esm/q2-dropdown-item.entry.js +1 -1
  271. package/dist/esm/q2-dropdown.entry.js +4 -4
  272. package/dist/esm/q2-editable-field.entry.js +51 -37
  273. package/dist/esm/q2-example.entry.js +1 -1
  274. package/dist/esm/q2-file-picker.entry.js +60 -4
  275. package/dist/esm/q2-form.entry.js +1 -1
  276. package/dist/esm/q2-formatted-text.entry.js +1 -1
  277. package/dist/esm/q2-icon.entry.js +1 -1
  278. package/dist/esm/q2-item.entry.js +21 -3
  279. package/dist/esm/q2-legend.entry.js +1 -1
  280. package/dist/esm/q2-link_2.entry.js +2 -2
  281. package/dist/esm/q2-loc.entry.js +1 -1
  282. package/dist/esm/q2-message.entry.js +3 -3
  283. package/dist/esm/q2-meter.entry.js +2 -2
  284. package/dist/esm/q2-modal.entry.js +59 -17
  285. package/dist/esm/q2-month-picker.entry.js +3 -3
  286. package/dist/esm/q2-mutation-observer.entry.js +1 -1
  287. package/dist/esm/q2-option.entry.js +1 -1
  288. package/dist/esm/q2-otp.entry.js +5 -5
  289. package/dist/esm/q2-pagination.entry.js +4 -4
  290. package/dist/esm/q2-pill.entry.js +8 -5
  291. package/dist/esm/q2-radio-group.entry.js +22 -4
  292. package/dist/esm/q2-radio.entry.js +3 -3
  293. package/dist/esm/q2-relative-time.entry.js +3 -3
  294. package/dist/esm/q2-resize-observer.entry.js +90 -0
  295. package/dist/esm/q2-search.entry.js +4 -4
  296. package/dist/esm/q2-section.entry.js +7 -7
  297. package/dist/esm/q2-select.entry.js +41 -21
  298. package/dist/esm/q2-stepper-pane.entry.js +2 -2
  299. package/dist/esm/q2-stepper-vertical.entry.js +2 -2
  300. package/dist/esm/q2-stepper.entry.js +2 -2
  301. package/dist/esm/q2-surface.entry.js +1 -1
  302. package/dist/esm/q2-tab-container.entry.js +2 -2
  303. package/dist/esm/q2-tab-pane.entry.js +1 -1
  304. package/dist/esm/q2-tecton-elements.js +1 -1
  305. package/dist/esm/q2-textarea.entry.js +2 -2
  306. package/dist/esm/q2-toast.entry.js +1 -1
  307. package/dist/esm/q2-tooltip.entry.js +1 -1
  308. package/dist/esm/{sectorHelper--RMGWGAy.js → sectorHelper-DBtkWtpl.js} +1 -1
  309. package/dist/esm/tecton-tab-pane.entry.js +5 -3
  310. package/dist/q2-tecton-elements/{charting-DOZct-UB.js → charting-DFXJklqs.js} +1625 -1554
  311. package/dist/q2-tecton-elements/click-elsewhere_3.entry.js +98 -54
  312. package/dist/q2-tecton-elements/{dataSample-Dm1zpQNi.js → dataSample-CP_VKNqt.js} +33 -33
  313. package/dist/q2-tecton-elements/date-picker-helpers-D8QnN_AS.js +153 -0
  314. package/dist/q2-tecton-elements/{index-Cps4jSQM.js → index-CP8pXJ-l.js} +2 -2
  315. package/dist/q2-tecton-elements/{q2-action-group_2.entry.js → q2-action-group.entry.js} +35 -113
  316. package/dist/q2-tecton-elements/q2-action-sheet.entry.js +169 -84
  317. package/dist/q2-tecton-elements/q2-avatar.entry.js +8 -8
  318. package/dist/q2-tecton-elements/q2-badge_2.entry.js +240 -140
  319. package/dist/q2-tecton-elements/q2-btn_2.entry.js +23 -23
  320. package/dist/q2-tecton-elements/q2-calendar.entry.js +18 -13
  321. package/dist/q2-tecton-elements/q2-card-image.entry.js +9 -9
  322. package/dist/q2-tecton-elements/q2-card.entry.js +1 -1
  323. package/dist/q2-tecton-elements/q2-carousel-pane.entry.js +4 -4
  324. package/dist/q2-tecton-elements/q2-carousel.entry.js +24 -11
  325. package/dist/q2-tecton-elements/q2-chart-area.entry.js +190 -144
  326. package/dist/q2-tecton-elements/q2-chart-bar.entry.js +382 -338
  327. package/dist/q2-tecton-elements/q2-chart-donut.entry.js +186 -160
  328. package/dist/q2-tecton-elements/q2-checkbox-group.entry.js +8 -8
  329. package/dist/q2-tecton-elements/q2-checkbox_2.entry.js +21 -19
  330. package/dist/q2-tecton-elements/q2-context.entry.js +18 -17
  331. package/dist/q2-tecton-elements/q2-currency.entry.js +9 -9
  332. package/dist/q2-tecton-elements/q2-data-table.entry.js +38 -38
  333. package/dist/q2-tecton-elements/q2-date-calendar.entry.js +438 -0
  334. package/dist/q2-tecton-elements/q2-date-picker_2.entry.js +792 -0
  335. package/dist/q2-tecton-elements/q2-detail.entry.js +4 -4
  336. package/dist/q2-tecton-elements/q2-dropdown-item.entry.js +1 -1
  337. package/dist/q2-tecton-elements/q2-dropdown.entry.js +10 -10
  338. package/dist/q2-tecton-elements/q2-editable-field.entry.js +50 -41
  339. package/dist/q2-tecton-elements/q2-example.entry.js +1 -1
  340. package/dist/q2-tecton-elements/q2-file-picker.entry.js +62 -7
  341. package/dist/q2-tecton-elements/q2-form.entry.js +2 -2
  342. package/dist/q2-tecton-elements/q2-formatted-text.entry.js +2 -2
  343. package/dist/q2-tecton-elements/q2-icon.entry.js +1 -1
  344. package/dist/q2-tecton-elements/q2-item.entry.js +27 -17
  345. package/dist/q2-tecton-elements/q2-legend.entry.js +2 -2
  346. package/dist/q2-tecton-elements/q2-link_2.entry.js +7 -7
  347. package/dist/q2-tecton-elements/q2-loc.entry.js +1 -1
  348. package/dist/q2-tecton-elements/q2-message.entry.js +30 -30
  349. package/dist/q2-tecton-elements/q2-meter.entry.js +8 -8
  350. package/dist/q2-tecton-elements/q2-modal.entry.js +61 -45
  351. package/dist/q2-tecton-elements/q2-month-picker.entry.js +14 -14
  352. package/dist/q2-tecton-elements/q2-mutation-observer.entry.js +1 -1
  353. package/dist/q2-tecton-elements/q2-option.entry.js +1 -1
  354. package/dist/q2-tecton-elements/q2-otp.entry.js +9 -9
  355. package/dist/q2-tecton-elements/q2-pagination.entry.js +20 -20
  356. package/dist/q2-tecton-elements/q2-pill.entry.js +43 -41
  357. package/dist/q2-tecton-elements/q2-radio-group.entry.js +55 -34
  358. package/dist/q2-tecton-elements/q2-radio.entry.js +38 -53
  359. package/dist/q2-tecton-elements/q2-relative-time.entry.js +11 -11
  360. package/dist/q2-tecton-elements/q2-resize-observer.entry.js +81 -0
  361. package/dist/q2-tecton-elements/q2-search.entry.js +7 -7
  362. package/dist/q2-tecton-elements/q2-section.entry.js +25 -25
  363. package/dist/q2-tecton-elements/q2-select.entry.js +28 -21
  364. package/dist/q2-tecton-elements/q2-stepper-pane.entry.js +19 -15
  365. package/dist/q2-tecton-elements/q2-stepper-vertical.entry.js +9 -9
  366. package/dist/q2-tecton-elements/q2-stepper.entry.js +45 -45
  367. package/dist/q2-tecton-elements/q2-surface.entry.js +3 -3
  368. package/dist/q2-tecton-elements/q2-tab-container.entry.js +15 -15
  369. package/dist/q2-tecton-elements/q2-tab-pane.entry.js +9 -9
  370. package/dist/q2-tecton-elements/q2-tecton-elements.esm.js +1 -1
  371. package/dist/q2-tecton-elements/q2-textarea.entry.js +3 -3
  372. package/dist/q2-tecton-elements/q2-toast.entry.js +1 -1
  373. package/dist/q2-tecton-elements/q2-tooltip.entry.js +1 -1
  374. package/dist/q2-tecton-elements/{sectorHelper--RMGWGAy.js → sectorHelper-DBtkWtpl.js} +56 -56
  375. package/dist/q2-tecton-elements/tecton-tab-pane.entry.js +8 -7
  376. package/dist/types/components/q2-action-sheet/q2-action-sheet.d.ts +21 -1
  377. package/dist/types/components/q2-action-sheet/test/q2-action-sheet-test.vr.d.ts +1 -0
  378. package/dist/types/components/q2-btn/q2-btn.d.ts +7 -3
  379. package/dist/types/components/q2-calendar/q2-calendar.d.ts +10 -2
  380. package/dist/types/components/q2-card-image/q2-card-image.d.ts +1 -1
  381. package/dist/types/components/q2-carousel/q2-carousel.d.ts +5 -0
  382. package/dist/types/components/q2-chart-area/q2-chart-area.d.ts +11 -2
  383. package/dist/types/components/q2-chart-bar/q2-chart-bar.d.ts +9 -0
  384. package/dist/types/components/q2-chart-donut/q2-chart-donut.d.ts +1 -0
  385. package/dist/types/components/q2-checkbox/q2-checkbox.d.ts +4 -3
  386. package/dist/types/components/q2-checkbox-group/q2-checkbox-group.d.ts +4 -2
  387. package/dist/types/components/q2-date-calendar/q2-date-calendar.d.ts +122 -0
  388. package/dist/types/components/q2-date-calendar/test/q2-date-calendar-test.vr.d.ts +1 -0
  389. package/dist/types/components/q2-date-picker/q2-date-picker.d.ts +304 -0
  390. package/dist/types/components/q2-date-picker/test/q2-date-picker-test.vr.d.ts +1 -0
  391. package/dist/types/components/q2-dropdown/q2-dropdown.d.ts +3 -3
  392. package/dist/types/components/q2-dropdown/test/q2-dropdown-test.vr.d.ts +1 -0
  393. package/dist/types/components/q2-editable-field/q2-editable-field.d.ts +20 -2
  394. package/dist/types/components/q2-file-picker/q2-file-picker.d.ts +20 -0
  395. package/dist/types/components/q2-input/q2-input.d.ts +32 -4
  396. package/dist/types/components/q2-item/q2-item.d.ts +3 -0
  397. package/dist/types/components/q2-modal/q2-modal.d.ts +10 -1
  398. package/dist/types/components/q2-option-list/q2-option-list.d.ts +1 -0
  399. package/dist/types/components/q2-popover/q2-popover.d.ts +4 -0
  400. package/dist/types/components/q2-radio/q2-radio.d.ts +3 -2
  401. package/dist/types/components/q2-radio-group/q2-radio-group.d.ts +18 -2
  402. package/dist/types/components/q2-search/q2-search.d.ts +3 -1
  403. package/dist/types/components/q2-select/q2-select.d.ts +12 -4
  404. package/dist/types/components/q2-textarea/q2-textarea.d.ts +4 -2
  405. package/dist/types/components.d.ts +1112 -195
  406. package/dist/types/global.d.ts +1 -0
  407. package/dist/types/index.d.ts +1 -0
  408. package/dist/types/utils/chart-keyboard.d.ts +16 -0
  409. package/dist/types/utils/date-picker/date-picker-helpers.d.ts +47 -0
  410. package/dist/types/utils/date-picker/date-picker-types.d.ts +42 -0
  411. package/dist/types/utils/test/vr-helpers.d.ts +2 -0
  412. package/package.json +3 -3
  413. package/dist/cjs/q2-optgroup.cjs.entry.js +0 -70
  414. package/dist/esm/q2-optgroup.entry.js +0 -68
  415. package/dist/q2-tecton-elements/q2-optgroup.entry.js +0 -88
@@ -4,7 +4,7 @@ import { m as n } from "./mirror-emit-DUjY_ucm.js";
4
4
 
5
5
  import { b as r } from "./component-DaQM9u3s.js";
6
6
 
7
- import { l as a, n as h, o as p, i as c, w as l, v as d, q as m, x as u, y as b, g as v } from "./index-Cps4jSQM.js";
7
+ import { l as a, n as h, o as p, i as l, w as c, v as d, q as u, x as m, y as v, g as b } from "./index-CP8pXJ-l.js";
8
8
 
9
9
  const f = class {
10
10
  constructor(o) {
@@ -333,7 +333,7 @@ const w = class {
333
333
  t.stopPropagation();
334
334
  }
335
335
  delegateFocus(t) {
336
- if (!c(t, this.hostElement)) return;
336
+ if (!l(t, this.hostElement)) return;
337
337
  this.popoverState.emit({
338
338
  open: !0,
339
339
  action: "open"
@@ -393,6 +393,20 @@ const w = class {
393
393
  "menu" === t && "q2-dropdown-item" === o.tagName.toLowerCase() || (o.role = i);
394
394
  }));
395
395
  }
396
+ findScrollableAncestor(t) {
397
+ var i, o;
398
+ let e = t;
399
+ for (;e; ) {
400
+ if (e instanceof HTMLElement && e !== t) {
401
+ const t = getComputedStyle(e).overflowY;
402
+ // Skip html/body so page-level scroll isn't treated as our container.
403
+ if (("auto" === t || "scroll" === t) && e !== document.documentElement && e !== document.body) return e;
404
+ }
405
+ const s = e.assignedSlot, n = e.parentNode, r = e.host;
406
+ e = null !== (o = null !== (i = null != s ? s : n) && void 0 !== i ? i : r) && void 0 !== o ? o : null;
407
+ }
408
+ return null;
409
+ }
396
410
  focusSelectedSibling(t) {
397
411
  const {allVisibleOptions: i, allOptions: o} = this;
398
412
  if (i.length < 2) return void (this.showSelected = !1);
@@ -423,7 +437,7 @@ const w = class {
423
437
  this.disabled || (this.popoverState.emit({
424
438
  open: !0,
425
439
  action: "open"
426
- }), await l(), this.activeIndex = t, this.setActiveOption(), this.setFocusedOption(),
440
+ }), await c(), this.activeIndex = t, this.setActiveOption(), this.setFocusedOption(),
427
441
  this.scrollToActiveOption());
428
442
  }
429
443
  resetTimer() {
@@ -434,10 +448,16 @@ const w = class {
434
448
  scrollToActiveOption() {
435
449
  const t = this.allOptions[this.activeIndex];
436
450
  if (!t) return;
437
- const {scrollX: i, scrollY: o} = window;
438
- t.scrollIntoView({
439
- block: "center"
440
- }), window.scrollTo(i, o);
451
+ // Do our own scroll math so `scrollIntoView` doesn't cascade to the parent window in an SDK iframe.
452
+ const i = this.findScrollableAncestor(t);
453
+ if (i) {
454
+ if (i.scrollHeight > i.clientHeight) {
455
+ const o = t.getBoundingClientRect(), e = i.getBoundingClientRect(), s = o.top - e.top + o.height / 2;
456
+ i.scrollTop += s - e.height / 2;
457
+ }
458
+ } else t.scrollIntoView({
459
+ block: "nearest"
460
+ });
441
461
  }
442
462
  searchOptions(t, i) {
443
463
  this.searchString = t, this.searchAndFocus(t, i);
@@ -492,14 +512,14 @@ const w = class {
492
512
  // #region Render Methods
493
513
  render() {
494
514
  return e(s, {
495
- key: "14f2a8ab97077ed7b93d746b75f89b98f416a55d"
515
+ key: "19cadb5668db33a912951df4ec0e81a74b2b78ce"
496
516
  }, e("div", {
497
- key: "1184c5d8d4cf8af63a60bef1282d6442b8539cf6",
517
+ key: "1d5a8f310ee97bc2189b839ee3d87e08bf0fa269",
498
518
  class: "content",
499
519
  ref: t => this.contentElement = t,
500
520
  onFocusout: this.focusoutHandler
501
521
  }, e("div", {
502
- key: "5dcb6a82f1759e46d5e742e72075bf3dfa3c6d70",
522
+ key: "24b1616962a9b544fb6215acc1e6edb4f12a5a03",
503
523
  class: "options",
504
524
  "aria-label": a("tecton.element.optionList.label", [ this.label ]),
505
525
  "aria-multiselectable": "menu" === this.type ? void 0 : this.multiple ? "true" : void 0,
@@ -507,7 +527,7 @@ const w = class {
507
527
  onKeyDown: this.internalKeydownHandler,
508
528
  onClick: this.clickHandler
509
529
  }, e("slot", {
510
- key: "39372ab91b081ba124ff4c4dc04fc0c84be7a4ad"
530
+ key: "eeb0342b7c319f5f5af95daa54dcaa732c3159d9"
511
531
  }))));
512
532
  }
513
533
  get hostElement() {
@@ -534,6 +554,7 @@ const g = class {
534
554
  * The number of pixels to leave between the popover and the edge of the viewport
535
555
  */
536
556
  this.displayBuffer = 10, this.orientationChanged = !1, this.pendingAnimationResolve = null,
557
+ this.platformScrollUnsubscribe = null,
537
558
  // #endregion
538
559
  // #region State Properties
539
560
  this.animationState = "idle", this.currentDirection = void 0,
@@ -542,8 +563,15 @@ const g = class {
542
563
  // #endregion
543
564
  // #region Public Property API
544
565
  /** Aligns the popover to the left or right side of the control element. */
545
- this.align = "left", this.mode = null, this.handleMinHeight = () => {
546
- this.minHeight && m(this, "minHeight", "prop");
566
+ this.align = "left", this.mode = null, this.handleInsideScroll = t => {
567
+ const {containerElement: i} = this;
568
+ i && (i.scrollHeight > i.clientHeight || t.preventDefault());
569
+ }, this.handleMinHeight = () => {
570
+ this.minHeight && u(this, "minHeight", "prop");
571
+ }, this.handleOutsideScroll = t => {
572
+ this.open && (t.composedPath().includes(this.hostElement) || (this.open = !1));
573
+ }, this.handlePlatformScroll = () => {
574
+ this.open && (this.open = !1);
547
575
  }, this.handlePopoverToggleEvent = t => {
548
576
  n(this, [ "popoverStateChanged", "tctPopoverStateChanged" ], {
549
577
  open: "open" === t.newState
@@ -558,26 +586,26 @@ const g = class {
558
586
  i.style.setProperty("--comp-pop-bottom", `${e}px`);
559
587
  }
560
588
  // Wait for one paint to prevent layout thrashing
561
- await l(), this.containerElement && i.style.setProperty("--comp-pop-opacity", "1");
589
+ await c(), this.containerElement && i.style.setProperty("--comp-pop-opacity", "1");
562
590
  }
563
591
  }, this.setPopoverAPICSSProperties = async () => {
564
592
  var t, i, o;
565
593
  const {controlElement: e, containerElement: s, currentDirection: n, isModule: r, align: a} = this;
566
594
  if (!s) return;
567
- const {top: h, bottom: p, left: c, right: d} = null !== (i = null === (t = null == e ? void 0 : e.getBoundingClientRect) || void 0 === t ? void 0 : t.call(e)) && void 0 !== i ? i : {
595
+ const {top: h, bottom: p, left: l, right: d} = null !== (i = null === (t = null == e ? void 0 : e.getBoundingClientRect) || void 0 === t ? void 0 : t.call(e)) && void 0 !== i ? i : {
568
596
  top: 0,
569
597
  bottom: 0,
570
598
  left: 0,
571
599
  right: 0
572
- }, m = c, v = (null === (o = null === window || void 0 === window ? void 0 : window.visualViewport) || void 0 === o ? void 0 : o.width) - d, f = u(e), w = f ? 0 : window.scrollX, g = f ? 0 : window.scrollY;
573
- s.style.setProperty("--comp-pop-position", f ? "fixed" : "absolute"), "right" === a ? (s.style.setProperty("--comp-pop-right", v - w + "px"),
574
- s.style.setProperty("--comp-pop-left", "unset")) : (s.style.setProperty("--comp-pop-left", `${m + w}px`),
600
+ }, u = l, b = (null === (o = null === window || void 0 === window ? void 0 : window.visualViewport) || void 0 === o ? void 0 : o.width) - d, f = m(e), w = f ? 0 : window.scrollX, g = f ? 0 : window.scrollY;
601
+ s.style.setProperty("--comp-pop-position", f ? "fixed" : "absolute"), "right" === a ? (s.style.setProperty("--comp-pop-right", b - w + "px"),
602
+ s.style.setProperty("--comp-pop-left", "unset")) : (s.style.setProperty("--comp-pop-left", `${u + w}px`),
575
603
  s.style.setProperty("--comp-pop-right", "unset")), this.block && s.style.setProperty("--comp-pop-width", `${(null == e ? void 0 : e.offsetWidth) || 0}px`);
576
- const k = r && b(this.hostElement);
577
- "up" === n && (r && !k ? s.style.setProperty("--comp-pop-bottom", window.innerHeight - h + "px") : s.style.setProperty("--comp-pop-bottom", window.innerHeight - h - g + "px")),
604
+ const k = r && v(this.hostElement);
605
+ "up" === n && (r && !k ? s.style.setProperty("--comp-pop-top", `${h}px`) : s.style.setProperty("--comp-pop-top", `${h + g}px`)),
578
606
  "down" === n && (r && !k ? s.style.setProperty("--comp-pop-top", `${p}px`) : s.style.setProperty("--comp-pop-top", `${p + g}px`)),
579
607
  // Wait for one paint to prevent layout thrashing
580
- await l(), this.containerElement && s.style.setProperty("--comp-pop-opacity", "1");
608
+ await c(), this.containerElement && s.style.setProperty("--comp-pop-opacity", "1");
581
609
  }, this.viewPortChanged = () => {
582
610
  this.open && this.determinePopDirection();
583
611
  }, this.viewPortOrientationChanged = () => {
@@ -599,7 +627,7 @@ const g = class {
599
627
  componentDidLoad() {
600
628
  var t;
601
629
  this.handleMinHeight(), this.supportsPopoverAPI && (null === (t = this.containerElement) || void 0 === t || t.addEventListener("toggle", this.handlePopoverToggleEvent)),
602
- this.open && this.determinePopDirection();
630
+ this.open && (this.addViewportListeners(), this.determinePopDirection());
603
631
  }
604
632
  // #endregion
605
633
  // #region Listeners
@@ -640,7 +668,7 @@ const g = class {
640
668
  if (!this.containerElement) return;
641
669
  if (this.open) return;
642
670
  this.currentDirection = void 0, this.animationState = "idle", "legacy" !== this.mode && this.supportsPopoverAPI ? null === (i = this.containerElement) || void 0 === i || i.hidePopover() : this.show = !1,
643
- await l(), this.clearCSSProperties();
671
+ await c(), this.clearCSSProperties();
644
672
  }
645
673
  }
646
674
  // #endregion
@@ -669,13 +697,21 @@ const g = class {
669
697
  return isNaN(t) ? void 0 : t;
670
698
  }
671
699
  addViewportListeners() {
672
- var t;
673
- window.addEventListener("resize", this.viewPortOrientationChanged), null === visualViewport || void 0 === visualViewport || visualViewport.addEventListener("resize", this.viewPortChanged),
674
- b(this.hostElement) && !v() && window.addEventListener("scroll", this.viewPortChanged, {
700
+ var t, i, o, e, s, n, r, a, h, p, l;
701
+ window.addEventListener("resize", this.viewPortOrientationChanged), null === (i = null === (t = window.visualViewport) || void 0 === t ? void 0 : t.addEventListener) || void 0 === i || i.call(t, "resize", this.viewPortChanged),
702
+ v(this.hostElement) && !b() && window.addEventListener("scroll", this.viewPortChanged, {
703
+ passive: !0,
704
+ capture: !0
705
+ }), null === (s = null === (e = null === (o = window.screen) || void 0 === o ? void 0 : o.orientation) || void 0 === e ? void 0 : e.addEventListener) || void 0 === s || s.call(e, "orientationchange", this.viewPortOrientationChanged),
706
+ window.addEventListener("orientationchange", this.viewPortOrientationChanged), b() || window.addEventListener("scroll", this.handleOutsideScroll, {
675
707
  passive: !0,
676
708
  capture: !0
677
- }), null === (t = null === screen || void 0 === screen ? void 0 : screen.orientation) || void 0 === t || t.addEventListener("orientationchange", this.viewPortOrientationChanged),
678
- window.addEventListener("orientationchange", this.viewPortOrientationChanged);
709
+ }), null === (n = this.containerElement) || void 0 === n || n.addEventListener("wheel", this.handleInsideScroll, {
710
+ passive: !1
711
+ }), null === (r = this.containerElement) || void 0 === r || r.addEventListener("touchmove", this.handleInsideScroll, {
712
+ passive: !1
713
+ }), null === (a = this.platformScrollUnsubscribe) || void 0 === a || a.call(this),
714
+ this.platformScrollUnsubscribe = null !== (l = null === (p = null === (h = window.TectonElements) || void 0 === h ? void 0 : h.platformScrollChanged) || void 0 === p ? void 0 : p.call(h, this.handlePlatformScroll)) && void 0 !== l ? l : null;
679
715
  }
680
716
  clearCSSProperties() {
681
717
  this.containerElement && (this.containerElement.style.removeProperty("--comp-pop-max-height"),
@@ -685,47 +721,55 @@ const g = class {
685
721
  this.containerElement.style.removeProperty("--comp-pop-position"));
686
722
  }
687
723
  async determinePopDirection() {
688
- var t, i, o;
689
- const {containerElement: e, controlElement: s, providedDirection: n, displayBuffer: r} = this;
690
- if (e && (e.style.maxHeight = null), await l(), !this.containerElement) return;
691
- const {isModule: a} = this, {top: h, bottom: p} = null !== (i = null === (t = null == s ? void 0 : s.getBoundingClientRect) || void 0 === t ? void 0 : t.call(s)) && void 0 !== i ? i : {
724
+ var t, i, o, e;
725
+ const {containerElement: s, controlElement: n, providedDirection: r, displayBuffer: a} = this;
726
+ if (s && (s.style.maxHeight = null), await c(), !this.containerElement) return;
727
+ const {isModule: h} = this, {top: p, bottom: l} = null !== (i = null === (t = null == n ? void 0 : n.getBoundingClientRect) || void 0 === t ? void 0 : t.call(n)) && void 0 !== i ? i : {
692
728
  top: 0,
693
729
  bottom: 0
694
730
  };
695
- let c, d, m;
696
- const u = a && b(this.hostElement);
697
- if (a && !u) {
698
- const {outletOffset: t = 0, innerHeight: i = window.innerHeight, top: e = 0, bottom: s = 0} = (null === (o = window.Tecton) || void 0 === o ? void 0 : o.platformDimensions) || {}, n = window.innerHeight - p, a = i - s - (t + p - e);
699
- d = (t > 0 ? h : h + t - e) - r, m = n < a ? n - r : a - r;
700
- } else c = window.innerHeight, d = h - r, m = c - p - r;
701
- const v = d > m ? "up" : "down", f = !(null == e ? void 0 : e.style.getPropertyValue("--comp-pop-max-height")) || this.orientationChanged;
731
+ let d, u, m;
732
+ const b = h && v(this.hostElement);
733
+ if (h && !b) {
734
+ const {outletOffset: t = 0, innerHeight: i = window.innerHeight, top: e = 0, bottom: s = 0} = (null === (o = window.Tecton) || void 0 === o ? void 0 : o.platformDimensions) || {}, n = window.innerHeight - l, r = i - s - (t + l - e);
735
+ u = (t > 0 ? p : p + t - e) - a, m = n < r ? n - a : r - a;
736
+ } else {
737
+ const {height: t = window.innerHeight, offsetTop: i = 0} = null !== (e = window.visualViewport) && void 0 !== e ? e : {};
738
+ d = t, u = p - i - a, m = i + d - l - a;
739
+ }
740
+ const f = u > m ? "up" : "down", w = !(null == s ? void 0 : s.style.getPropertyValue("--comp-pop-max-height")) || this.orientationChanged;
702
741
  // We do not want to update the max height once the popover is open unless the page orientation shifts (resize or mobile use cases)
703
742
  // we do not want to constantly update the max-height after an orientation change, so we switch this back to false
704
743
  this.orientationChanged = !1;
705
- switch (this.currentDirection || n || v) {
744
+ switch (this.currentDirection || r || f) {
706
745
  case "up":
707
- if (f && e) {
708
- const t = this.validatedMaxHeight || d, i = Math.min(d, t);
709
- e.style.setProperty("--comp-pop-max-height", `${i}px`);
746
+ if (w && s) {
747
+ const t = this.validatedMaxHeight || u, i = Math.min(u, t);
748
+ s.style.setProperty("--comp-pop-max-height", `${i}px`);
710
749
  }
711
750
  this.setDirectionAndShow("up");
712
751
  break;
713
752
 
714
753
  case "down":
715
- if (f && e) {
754
+ if (w && s) {
716
755
  const t = this.validatedMaxHeight || m, i = Math.min(m, t);
717
- e.style.setProperty("--comp-pop-max-height", `${i}px`);
756
+ s.style.setProperty("--comp-pop-max-height", `${i}px`);
718
757
  }
719
758
  this.setDirectionAndShow("down");
720
759
  }
721
760
  }
722
761
  removeViewportListeners() {
723
- var t;
724
- window.removeEventListener("resize", this.viewPortOrientationChanged), null === visualViewport || void 0 === visualViewport || visualViewport.removeEventListener("resize", this.viewPortChanged),
762
+ var t, i, o, e, s, n, r, a;
763
+ window.removeEventListener("resize", this.viewPortOrientationChanged), null === (i = null === (t = window.visualViewport) || void 0 === t ? void 0 : t.removeEventListener) || void 0 === i || i.call(t, "resize", this.viewPortChanged),
725
764
  window.removeEventListener("scroll", this.viewPortChanged, {
726
765
  capture: !0
727
- }), null === (t = null === screen || void 0 === screen ? void 0 : screen.orientation) || void 0 === t || t.removeEventListener("orientationchange", this.viewPortOrientationChanged),
728
- window.removeEventListener("orientationchange", this.viewPortOrientationChanged);
766
+ }), null === (s = null === (e = null === (o = window.screen) || void 0 === o ? void 0 : o.orientation) || void 0 === e ? void 0 : e.removeEventListener) || void 0 === s || s.call(e, "orientationchange", this.viewPortOrientationChanged),
767
+ window.removeEventListener("orientationchange", this.viewPortOrientationChanged),
768
+ window.removeEventListener("scroll", this.handleOutsideScroll, {
769
+ capture: !0
770
+ }), null === (n = this.containerElement) || void 0 === n || n.removeEventListener("wheel", this.handleInsideScroll),
771
+ null === (r = this.containerElement) || void 0 === r || r.removeEventListener("touchmove", this.handleInsideScroll),
772
+ null === (a = this.platformScrollUnsubscribe) || void 0 === a || a.call(this), this.platformScrollUnsubscribe = null;
729
773
  }
730
774
  setDirectionAndShow(t) {
731
775
  var i;
@@ -739,21 +783,21 @@ const g = class {
739
783
  // #region Render Methods
740
784
  render() {
741
785
  const t = [ "container", this.currentDirection, this.align ];
742
- return v() && t.push("mobile"), this.show && t.push("show"), this.block && t.push("block"),
786
+ return b() && t.push("mobile"), this.show && t.push("show"), this.block && t.push("block"),
743
787
  "legacy" === this.mode && t.push("legacy"), "opening" === this.animationState && t.push("animating-open"),
744
788
  "closing" === this.animationState && t.push("animating-close"), e("div", {
745
- key: "4fe0c06793144eb83fe53cfc568af81226f78345",
789
+ key: "f608766723c6ae6737181318b5baf8b52ed7fc0f",
746
790
  ref: t => this.containerElement = t,
747
791
  class: t.join(" "),
748
792
  "test-id": "outerContainer",
749
793
  tabIndex: -1,
750
794
  popover: "manual"
751
795
  }, e("div", {
752
- key: "ed5d7c9f5efba8b129d580e68ab6692849332cf4",
796
+ key: "477f1a209cf4abc984a82324d0c6fc07ede82160",
753
797
  ref: t => this.contentElement = t,
754
798
  class: "content"
755
799
  }, e("slot", {
756
- key: "4c5d5b9682014b2e94b153ca33a3e0c4dd58d6bb"
800
+ key: "5b48ff13907b952a2cdcffc1b6e271e4982c78ad"
757
801
  })));
758
802
  }
759
803
  get hostElement() {
@@ -771,6 +815,6 @@ const g = class {
771
815
  }
772
816
  };
773
817
 
774
- g.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}}}.legacy.container{display:none}.legacy.show{display:block;z-index:var(--tct-popover-z-index, 50)}@keyframes popoverOpen{from{opacity:0;transform:scale(0.95)}to{opacity:1;transform:scale(1)}}@keyframes popoverClose{from{opacity:1;transform:scale(1)}to{opacity:0;transform:scale(0.95)}}:popover-open,.show{position:var(--comp-pop-position, absolute);margin:0;padding:var(--tct-popover-padding, 0);overflow:auto;background:var(--tct-popover-background, var(--app-white, #ffffff));backdrop-filter:var(--tct-popover-backdrop-filter, none);color:var(--tct-popover-font-color, inherit);min-width:var(--tct-popover-min-width, 135px);width:var(--tct-popover-width, auto);margin-block:var(--tct-popover-margin-block, 0);box-shadow:var(--tct-popover-box-shadow, var(--app-shadow-3, 0px 0px 2px rgba(0, 0, 0, 0.12), 0px 2px 4px rgba(0, 0, 0, 0.14)));border-width:var(--tct-popover-border-width, 0);border-style:solid;border-color:var(--tct-popover-border-color, transparent);border-radius:var(--tct-popover-border-radius, 0);max-height:var(--comp-pop-max-height);left:var(--comp-pop-left);opacity:var(--comp-pop-opacity, 0);--comp-scrollbar-size:var(--tct-scrollbar-size, var(--t-scrollbar-size, var(--app-scale-1x, 5px)));--comp-scrollbar-border-radius:var(--tct-scrollbar-border-radius, var(--t-scrollbar-border-radius, var(--app-border-radius-1, 4px)));--comp-scrollbar-color:var(--tct-scrollbar-color, var(--t-scrollbar-color, var(--t-a11y-gray-color, #747474)));scrollbar-width:thin;scrollbar-color:var(--comp-scrollbar-color) transparent}:popover-open.animating-open,.show.animating-open{animation-name:popoverOpen;animation-duration:var(--tct-popover-open-animation-duration, var(--t-tween-time-in-1, 150ms));animation-timing-function:var(--tct-popover-open-animation-timing-function, ease-out);animation-fill-mode:var(--tct-popover-open-animation-fill-mode, forwards)}:popover-open.animating-close,.show.animating-close{animation-name:popoverClose;animation-duration:var(--tct-popover-close-animation-duration, var(--t-tween-time-out-1, 100ms));animation-timing-function:var(--tct-popover-close-animation-timing-function, ease-in);animation-fill-mode:var(--tct-popover-close-animation-fill-mode, forwards)}:popover-open.block,.show.block{right:unset;width:var(--comp-pop-width);min-width:var(--tct-popover-min-width, unset)}:popover-open.left,.show.left{left:var(--comp-pop-left);right:unset}:popover-open.right,.show.right{right:var(--comp-pop-right);left:unset}:popover-open.down,.show.down{top:var(--tct-popover-top, var(--comp-pop-top));bottom:unset}:popover-open.up,.show.up{top:unset;bottom:var(--comp-pop-bottom)}:popover-open.down.left:not(.mobile),.show.down.left:not(.mobile){transform-origin:top left}:popover-open.down.right:not(.mobile),.show.down.right:not(.mobile){transform-origin:top right}:popover-open.up.left:not(.mobile),.show.up.left:not(.mobile){transform-origin:bottom left}:popover-open.up.right:not(.mobile),.show.up.right:not(.mobile){transform-origin:bottom right}:popover-open.mobile.down,.show.mobile.down{transform-origin:center top}:popover-open.mobile.up,.show.mobile.up{transform-origin:center bottom}:popover-open::-webkit-scrollbar,.show::-webkit-scrollbar{width:var(--comp-scrollbar-size);height:var(--comp-scrollbar-size);margin:5px}:popover-open::-webkit-scrollbar-thumb,.show::-webkit-scrollbar-thumb{background:var(--comp-scrollbar-color);border-radius:var(--comp-scrollbar-border-radius)}:popover-open::-webkit-scrollbar-track,.show::-webkit-scrollbar-track{background:transparent;border-radius:var(--comp-scrollbar-border-radius)}click-elsewhere{position:relative;display:block}';
818
+ g.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}}}.legacy.container{display:none}.legacy.show{display:block;z-index:var(--tct-popover-z-index, 50)}@keyframes popoverOpen{from{opacity:0;transform:scale(0.95)}to{opacity:1;transform:scale(1)}}@keyframes popoverClose{from{opacity:1;transform:scale(1)}to{opacity:0;transform:scale(0.95)}}:popover-open,.show{position:var(--comp-pop-position, absolute);margin:0;padding:var(--tct-popover-padding, 0);overflow:auto;overscroll-behavior:contain;background:var(--tct-popover-background, var(--app-white, #ffffff));backdrop-filter:var(--tct-popover-backdrop-filter, none);color:var(--tct-popover-font-color, inherit);min-width:var(--tct-popover-min-width, 135px);width:var(--tct-popover-width, auto);margin-block:var(--tct-popover-margin-block, 0);box-shadow:var(--tct-popover-box-shadow, var(--app-shadow-3, 0px 0px 2px rgba(0, 0, 0, 0.12), 0px 2px 4px rgba(0, 0, 0, 0.14)));border-width:var(--tct-popover-border-width, 0);border-style:solid;border-color:var(--tct-popover-border-color, transparent);border-radius:var(--tct-popover-border-radius, 0);max-height:var(--comp-pop-max-height);left:var(--comp-pop-left);opacity:var(--comp-pop-opacity, 0);--comp-scrollbar-size:var(--tct-scrollbar-size, var(--t-scrollbar-size, var(--app-scale-1x, 5px)));--comp-scrollbar-border-radius:var(--tct-scrollbar-border-radius, var(--t-scrollbar-border-radius, var(--app-border-radius-1, 4px)));--comp-scrollbar-color:var(--tct-scrollbar-color, var(--t-scrollbar-color, var(--t-a11y-gray-color, #747474)));scrollbar-width:thin;scrollbar-color:var(--comp-scrollbar-color) transparent}:popover-open.animating-open,.show.animating-open{animation-name:popoverOpen;animation-duration:var(--tct-popover-open-animation-duration, var(--t-tween-time-in-1, 150ms));animation-timing-function:var(--tct-popover-open-animation-timing-function, ease-out);animation-fill-mode:var(--tct-popover-open-animation-fill-mode, forwards)}:popover-open.animating-close,.show.animating-close{animation-name:popoverClose;animation-duration:var(--tct-popover-close-animation-duration, var(--t-tween-time-out-1, 100ms));animation-timing-function:var(--tct-popover-close-animation-timing-function, ease-in);animation-fill-mode:var(--tct-popover-close-animation-fill-mode, forwards)}:popover-open.block,.show.block{right:unset;width:var(--comp-pop-width);min-width:var(--tct-popover-min-width, unset)}:popover-open.left,.show.left{left:var(--comp-pop-left);right:unset}:popover-open.right,.show.right{right:var(--comp-pop-right);left:unset}:popover-open.down,.show.down{top:var(--tct-popover-top, var(--comp-pop-top));bottom:unset}:popover-open.up,.show.up{top:var(--comp-pop-top);bottom:unset;translate:0 calc(-100% - var(--app-scale-2x, 10px))}:popover-open.down.left:not(.mobile),.show.down.left:not(.mobile){transform-origin:top left}:popover-open.down.right:not(.mobile),.show.down.right:not(.mobile){transform-origin:top right}:popover-open.up.left:not(.mobile),.show.up.left:not(.mobile){transform-origin:bottom left}:popover-open.up.right:not(.mobile),.show.up.right:not(.mobile){transform-origin:bottom right}:popover-open.mobile.down,.show.mobile.down{transform-origin:center top}:popover-open.mobile.up,.show.mobile.up{transform-origin:center bottom}:popover-open::-webkit-scrollbar,.show::-webkit-scrollbar{width:var(--comp-scrollbar-size);height:var(--comp-scrollbar-size);margin:5px}:popover-open::-webkit-scrollbar-thumb,.show::-webkit-scrollbar-thumb{background:var(--comp-scrollbar-color);border-radius:var(--comp-scrollbar-border-radius)}:popover-open::-webkit-scrollbar-track,.show::-webkit-scrollbar-track{background:transparent;border-radius:var(--comp-scrollbar-border-radius)}click-elsewhere{position:relative;display:block}';
775
819
 
776
820
  export { f as click_elsewhere, w as q2_option_list, g as q2_popover }
@@ -1,4 +1,4 @@
1
- import { v as t, aH as i, aD as n, g as e, a1 as r, aI as a, aJ as s, aK as o, aL as l, aM as u, F as c, aN as h, aO as f, E as x, aP as d, o as v, aQ as b, aR as y, m as A, aS as g, aT as m, aU as C, aV as p, aW as w, _ as M, aX as L, aY as k, d as T, aZ as G, a_ as V, a$ as S, b0 as D, b1 as I, i as N, B, b2 as z, b3 as O, b4 as P, b5 as Z, b6 as F, b7 as E, ai as W, z as _, b8 as R, b9 as U, ba as j, bb as X, k as Y, bc as $, bd as K, be as q, U as H, O as J, bf as Q, bg as tt, V as it, bh as nt, bi as et, bj as rt, bk as at, bl as st, a4 as ot, bm as lt, r as ut, ar as ct, bn as ht, bo as ft, h as xt, bp as dt, R as vt, y as bt, bq as yt } from "./charting-DOZct-UB.js";
1
+ import { v as t, aJ as i, aF as n, g as e, a1 as r, aK as a, aL as s, aM as o, aN as l, aO as u, F as c, aP as h, aQ as f, E as x, aR as d, o as v, aS as b, aT as y, m as A, aU as g, aV as m, aW as C, aX as p, aY as w, _ as M, aZ as L, a_ as k, d as T, a$ as G, b0 as V, b1 as S, b2 as D, b3 as N, i as I, B, b4 as z, b5 as F, b6 as P, b7 as O, b8 as Z, b9 as E, ak as W, z as _, ba as R, bb as U, bc as X, bd as j, k as Y, be as $, bf as K, bg as q, U as J, O as Q, bh as H, bi as tt, V as it, bj as nt, bk as et, bl as rt, bm as at, bn as st, a4 as ot, bo as lt, r as ut, at as ct, bp as ht, bq as ft, h as xt, br as dt, R as vt, y as bt, bs as yt } from "./charting-DFXJklqs.js";
2
2
 
3
3
  /**
4
4
  * @class
@@ -753,7 +753,7 @@ function axisModelCreator(i, n, e, r) {
753
753
  G(t, r.get(a + "Axis")), G(t, this.getDefaultOption()), t.type = getAxisType(t),
754
754
  n && S(t, e, n);
755
755
  }, AxisModel.prototype.optionUpdated = function() {
756
- "category" === this.option.type && (this.__ordinalMeta = I.createByAxisModel(this));
756
+ "category" === this.option.type && (this.__ordinalMeta = N.createByAxisModel(this));
757
757
  },
758
758
  /**
759
759
  * Should not be called before all of 'getInitailData' finished.
@@ -801,7 +801,7 @@ function canCalculateAffineTransform(t) {
801
801
  return "interval" === t.type || "time" === t.type;
802
802
  }
803
803
 
804
- var It = /** @class */ function(t) {
804
+ var Nt = /** @class */ function(t) {
805
805
  function Cartesian2D() {
806
806
  var i = null !== t && t.apply(this, arguments) || this;
807
807
  return i.type = "cartesian2d", i.dimensions = Dt, i;
@@ -817,7 +817,7 @@ var It = /** @class */ function(t) {
817
817
  if (s && o) {
818
818
  // Accelerate data to point calculation on the special large time series data.
819
819
  var l = (a[0] - r[0]) / s, u = (a[1] - r[1]) / o, c = r[0] - n[0] * l, h = r[1] - e[0] * u, f = this._transform = [ l, 0, 0, u, c, h ];
820
- this._invTransform = N([], f);
820
+ this._invTransform = I([], f);
821
821
  }
822
822
  }
823
823
  },
@@ -864,7 +864,7 @@ var It = /** @class */ function(t) {
864
864
  var i = this.getAxis("x").getGlobalExtent(), n = this.getAxis("y").getGlobalExtent(), e = Math.min(i[0], i[1]) - t, r = Math.min(n[0], n[1]) - t, a = Math.max(i[0], i[1]) - e + t, s = Math.max(n[0], n[1]) - r + t;
865
865
  return new B(e, r, a, s);
866
866
  }, Cartesian2D;
867
- }(St), Nt = /** @class */ function(t) {
867
+ }(St), It = /** @class */ function(t) {
868
868
  function Axis2D(i, n, e, r, a) {
869
869
  var s = t.call(this, i, n, e) || this;
870
870
  /**
@@ -930,7 +930,7 @@ var zt = /** @class */ function() {
930
930
  // PENDING. Should we find the axis that both set interval, min, max and align to this one?
931
931
  a.length && (n || (n = a.pop(), K(n.scale, n.model)), t(a, (function(t) {
932
932
  !function(t, i, n) {
933
- var e = O.prototype, r = e.getTicks.call(n), a = e.getTicks.call(n, !0), s = r.length - 1, o = e.getInterval.call(n), l = P(t, i), u = l.extent, c = l.fixMin, h = l.fixMax;
933
+ var e = F.prototype, r = e.getTicks.call(n), a = e.getTicks.call(n, !0), s = r.length - 1, o = e.getInterval.call(n), l = P(t, i), u = l.extent, c = l.fixMin, h = l.fixMax;
934
934
  // NOTE: There is a precondition for log scale here:
935
935
  // In log scale we store _interval and _extent of exponent value.
936
936
  // So if we use the method of InternalScale to set/get these data.
@@ -953,10 +953,10 @@ var zt = /** @class */ function() {
953
953
  // User set min, max, divide to get new interval
954
954
  d = (b - v) / s; else if (c)
955
955
  // User set min, expand extent on the other side
956
- for (b = u[0] + d * s; b < u[1] && isFinite(b) && isFinite(u[1]); ) d = Z(d), b = u[0] + d * s; else if (h) for (
956
+ for (b = u[0] + d * s; b < u[1] && isFinite(b) && isFinite(u[1]); ) d = O(d), b = u[0] + d * s; else if (h) for (
957
957
  // User set max, expand extent on the other side
958
- v = u[1] - d * s; v > u[0] && isFinite(v) && isFinite(u[0]); ) d = Z(d), v = u[1] - d * s; else {
959
- t.getTicks().length - 1 > s && (d = Z(d));
958
+ v = u[1] - d * s; v > u[0] && isFinite(v) && isFinite(u[0]); ) d = O(d), v = u[1] - d * s; else {
959
+ t.getTicks().length - 1 > s && (d = O(d));
960
960
  var y = d * s;
961
961
  b = Math.ceil(u[1] / d) * d,
962
962
  // Not change the result that crossing zero.
@@ -987,7 +987,7 @@ var zt = /** @class */ function() {
987
987
  * Resize the grid
988
988
  */
989
989
  Grid.prototype.resize = function(i, n, e) {
990
- var r = i.getBoxLayoutParams(), a = !e && i.get("containLabel"), s = F(r, {
990
+ var r = i.getBoxLayoutParams(), a = !e && i.get("containLabel"), s = Z(r, {
991
991
  width: n.getWidth(),
992
992
  height: n.getHeight()
993
993
  });
@@ -1106,7 +1106,7 @@ var zt = /** @class */ function() {
1106
1106
  "left" !== r && "right" !== r && (
1107
1107
  // Default left of Y
1108
1108
  r = s.left ? "right" : "left"), s[r] = !0;
1109
- var u = new Nt(t, R(n), [ 0, 0 ], n.get("type"), r), c = "category" === u.type;
1109
+ var u = new It(t, R(n), [ 0, 0 ], n.get("type"), r), c = "category" === u.type;
1110
1110
  u.onBand = c && n.get("boundaryGap"), u.inverse = n.get("inverse"),
1111
1111
  // Inject axis into axisModel
1112
1112
  n.axis = u,
@@ -1123,7 +1123,7 @@ var zt = /** @class */ function() {
1123
1123
  // Create cartesian2d
1124
1124
  t(o.x, (function(n, e) {
1125
1125
  t(o.y, (function(t, a) {
1126
- var s = "x" + e + "y" + a, o = new It(s);
1126
+ var s = "x" + e + "y" + a, o = new Nt(s);
1127
1127
  o.master = r, o.model = i, r._coordsMap[s] = o, r._coordsList.push(o), o.addAxis(n),
1128
1128
  o.addAxis(t);
1129
1129
  }));
@@ -1134,7 +1134,7 @@ var zt = /** @class */ function() {
1134
1134
  */
1135
1135
  Grid.prototype._updateScale = function(i, n) {
1136
1136
  function unionExtent(i, n) {
1137
- t(X(i, n.dim), (function(t) {
1137
+ t(j(i, n.dim), (function(t) {
1138
1138
  n.scale.unionExtentFromData(i, t);
1139
1139
  }));
1140
1140
  }
@@ -1146,7 +1146,7 @@ var zt = /** @class */ function() {
1146
1146
  }
1147
1147
  })), i.eachSeries((function(t) {
1148
1148
  if (U(t)) {
1149
- var i = j(t), e = i.xAxisModel, r = i.yAxisModel;
1149
+ var i = X(t), e = i.xAxisModel, r = i.yAxisModel;
1150
1150
  if (!isAxisUsedInTheGrid(e, n) || !isAxisUsedInTheGrid(r, n)) return;
1151
1151
  var a = this.getCartesian(e.componentIndex, r.componentIndex), s = t.getData(), o = a.getAxis("x"), l = a.getAxis("y");
1152
1152
  unionExtent(s, o), unionExtent(s, l);
@@ -1177,7 +1177,7 @@ var zt = /** @class */ function() {
1177
1177
  // Inject the coordinateSystems into seriesModel
1178
1178
  t.eachSeries((function(t) {
1179
1179
  if (U(t)) {
1180
- var i = j(t), n = i.xAxisModel, e = i.yAxisModel, r = n.getCoordSysModel().coordinateSystem;
1180
+ var i = X(t), n = i.xAxisModel, e = i.yAxisModel, r = n.getCoordSysModel().coordinateSystem;
1181
1181
  t.coordinateSystem = r.getCartesian(n.componentIndex, e.componentIndex);
1182
1182
  }
1183
1183
  })), n;
@@ -1222,9 +1222,9 @@ function canOnZeroToAxis(t) {
1222
1222
  return t && "category" !== t.type && "time" !== t.type && q(t);
1223
1223
  }
1224
1224
 
1225
- var Ot = A();
1225
+ var Ft = A();
1226
1226
 
1227
- var Pt = [ "axisLine", "axisTickLabel", "axisName" ], Zt = [ "splitArea", "splitLine", "minorSplitLine" ], Ft = /** @class */ function(i) {
1227
+ var Pt = [ "axisLine", "axisTickLabel", "axisName" ], Ot = [ "splitArea", "splitLine", "minorSplitLine" ], Zt = /** @class */ function(i) {
1228
1228
  function CartesianAxisView() {
1229
1229
  var t = null !== i && i.apply(this, arguments) || this;
1230
1230
  return t.type = CartesianAxisView.type, t.axisPointerClass = "CartesianAxisPointer",
@@ -1235,8 +1235,8 @@ var Pt = [ "axisLine", "axisTickLabel", "axisName" ], Zt = [ "splitArea", "split
1235
1235
  */ return M(CartesianAxisView, i), CartesianAxisView.prototype.render = function(n, e, r, a) {
1236
1236
  this.group.removeAll();
1237
1237
  var s = this._axisGroup;
1238
- if (this._axisGroup = new J, this.group.add(this._axisGroup), n.get("show")) {
1239
- var o = n.getCoordSysModel(), l = Q(o, n), u = new tt(n, it({
1238
+ if (this._axisGroup = new Q, this.group.add(this._axisGroup), n.get("show")) {
1239
+ var o = n.getCoordSysModel(), l = H(o, n), u = new tt(n, it({
1240
1240
  handleAutoShown: function(t) {
1241
1241
  for (var i = o.coordinateSystem.getCartesians(), e = 0; e < i.length; e++) if ($(i[e].getOtherAxis(n.axis).scale))
1242
1242
  // Still show axis tick or axisLine if other axis is value / log
@@ -1245,13 +1245,13 @@ var Pt = [ "axisLine", "axisTickLabel", "axisName" ], Zt = [ "splitArea", "split
1245
1245
  return !1;
1246
1246
  }
1247
1247
  }, l));
1248
- t(Pt, u.add, u), this._axisGroup.add(u.getGroup()), t(Zt, (function(t) {
1248
+ t(Pt, u.add, u), this._axisGroup.add(u.getGroup()), t(Ot, (function(t) {
1249
1249
  n.get([ t, "show" ]) && Et[t](this, this._axisGroup, n, o);
1250
1250
  }), this), a && "changeAxisOrder" === a.type && a.isInitSort || nt(s, this._axisGroup, n),
1251
1251
  i.prototype.render.call(this, n, e, r, a);
1252
1252
  }
1253
1253
  }, CartesianAxisView.prototype.remove = function() {
1254
- Ot(this).splitAreaColors = null;
1254
+ Ft(this).splitAreaColors = null;
1255
1255
  }, CartesianAxisView.type = "cartesianAxis", CartesianAxisView;
1256
1256
  }(et), Et = {
1257
1257
  splitLine: function(t, i, n, e) {
@@ -1319,7 +1319,7 @@ var Pt = [ "axisLine", "axisTickLabel", "axisName" ], Zt = [ "splitArea", "split
1319
1319
  if (c.length) {
1320
1320
  // For Making appropriate splitArea animation, the color and anid
1321
1321
  // should be corresponding to previous one if possible.
1322
- var h = l.length, f = Ot(t).splitAreaColors, d = n(), v = 0;
1322
+ var h = l.length, f = Ft(t).splitAreaColors, d = n(), v = 0;
1323
1323
  if (f) for (var b = 0; b < c.length; b++) {
1324
1324
  var y = f.get(c[b].tickValue);
1325
1325
  if (null != y) {
@@ -1333,7 +1333,7 @@ var Pt = [ "axisLine", "axisTickLabel", "axisName" ], Zt = [ "splitArea", "split
1333
1333
  a.isHorizontal() ? (C = A, p = u.y, w = m - C, M = u.height, A = C + w) : (C = u.x,
1334
1334
  p = A, w = u.width, A = p + (M = m - p));
1335
1335
  var L = c[b - 1].tickValue;
1336
- null != L && d.set(L, v), i.add(new H({
1336
+ null != L && d.set(L, v), i.add(new J({
1337
1337
  anid: null != L ? "area_" + L : null,
1338
1338
  shape: {
1339
1339
  x: C,
@@ -1348,7 +1348,7 @@ var Pt = [ "axisLine", "axisTickLabel", "axisName" ], Zt = [ "splitArea", "split
1348
1348
  silent: !0
1349
1349
  })), v = (v + 1) % h;
1350
1350
  }
1351
- Ot(t).splitAreaColors = d;
1351
+ Ft(t).splitAreaColors = d;
1352
1352
  }
1353
1353
  }
1354
1354
  }(t, i, e, r);
@@ -1359,19 +1359,19 @@ var Pt = [ "axisLine", "axisTickLabel", "axisName" ], Zt = [ "splitArea", "split
1359
1359
  return i.type = CartesianXAxisView.type, i;
1360
1360
  }
1361
1361
  return M(CartesianXAxisView, t), CartesianXAxisView.type = "xAxis", CartesianXAxisView;
1362
- }(Ft), _t = /** @class */ function(t) {
1362
+ }(Zt), _t = /** @class */ function(t) {
1363
1363
  function CartesianYAxisView() {
1364
1364
  var i = null !== t && t.apply(this, arguments) || this;
1365
1365
  return i.type = Wt.type, i;
1366
1366
  }
1367
1367
  return M(CartesianYAxisView, t), CartesianYAxisView.type = "yAxis", CartesianYAxisView;
1368
- }(Ft), Rt = /** @class */ function(t) {
1368
+ }(Zt), Rt = /** @class */ function(t) {
1369
1369
  function GridView() {
1370
1370
  var i = null !== t && t.apply(this, arguments) || this;
1371
1371
  return i.type = "grid", i;
1372
1372
  }
1373
1373
  return M(GridView, t), GridView.prototype.render = function(t, i) {
1374
- this.group.removeAll(), t.get("show") && this.group.add(new H({
1374
+ this.group.removeAll(), t.get("show") && this.group.add(new J({
1375
1375
  shape: t.coordinateSystem.getRect(),
1376
1376
  style: T({
1377
1377
  fill: t.get("backgroundColor")
@@ -1399,7 +1399,7 @@ function install$1(t) {
1399
1399
  ot(install$2), ot(lt);
1400
1400
  }
1401
1401
 
1402
- var jt = /** @class */ function(t) {
1402
+ var Xt = /** @class */ function(t) {
1403
1403
  function TitleModel() {
1404
1404
  var i = null !== t && t.apply(this, arguments) || this;
1405
1405
  return i.type = TitleModel.type, i.layoutMode = {
@@ -1432,7 +1432,7 @@ var jt = /** @class */ function(t) {
1432
1432
  color: "#6E7079"
1433
1433
  }
1434
1434
  }, TitleModel;
1435
- }(L), Xt = /** @class */ function(t) {
1435
+ }(L), jt = /** @class */ function(t) {
1436
1436
  function TitleView() {
1437
1437
  var i = null !== t && t.apply(this, arguments) || this;
1438
1438
  return i.type = TitleView.type, i;
@@ -1469,7 +1469,7 @@ var jt = /** @class */ function(t) {
1469
1469
  // If no subText, but add subTextEl, there will be an empty line.
1470
1470
  var v = e.getBoundingRect(), b = t.getBoxLayoutParams();
1471
1471
  b.width = v.width, b.height = v.height;
1472
- var y = F(b, {
1472
+ var y = Z(b, {
1473
1473
  width: n.getWidth(),
1474
1474
  height: n.getHeight()
1475
1475
  }, t.get("padding"));
@@ -1493,7 +1493,7 @@ var jt = /** @class */ function(t) {
1493
1493
  v = e.getBoundingRect();
1494
1494
  var g = y.margin, m = t.getItemStyle([ "color", "opacity" ]);
1495
1495
  m.fill = t.get("backgroundColor");
1496
- var C = new H({
1496
+ var C = new J({
1497
1497
  shape: {
1498
1498
  x: v.x - g[3],
1499
1499
  y: v.y - g[0],
@@ -1512,7 +1512,7 @@ var jt = /** @class */ function(t) {
1512
1512
 
1513
1513
  // View
1514
1514
  function install(t) {
1515
- t.registerComponentModel(jt), t.registerComponentView(Xt);
1515
+ t.registerComponentModel(Xt), t.registerComponentView(jt);
1516
1516
  }
1517
1517
 
1518
1518
  /**
@@ -1590,7 +1590,7 @@ function createGridClipPath(t, i, n, r, a) {
1590
1590
  u = Math.ceil(u), o !== Math.floor(o) && (o = Math.floor(o),
1591
1591
  // if no extra 1px on `width`, it will still be clipped since `x` is floored
1592
1592
  u++);
1593
- var f = new H({
1593
+ var f = new J({
1594
1594
  shape: {
1595
1595
  x: o,
1596
1596
  y: l,