q2-tecton-elements 1.72.0 → 1.73.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (383) hide show
  1. package/dist/bundle-report.json +38990 -33801
  2. package/dist/cjs/{charting-ClN1ldqv.js → charting-CdNTrVBe.js} +80 -0
  3. package/dist/cjs/click-elsewhere_3.cjs.entry.js +81 -14
  4. package/dist/cjs/{dataSample-BYR-wrOn.js → dataSample-B4blhlH4.js} +1 -1
  5. package/dist/cjs/date-picker-helpers-UYvPn98R.js +257 -0
  6. package/dist/cjs/{index-BY3aao8R.js → index-BqyWHpNu.js} +1 -1
  7. package/dist/cjs/loader.cjs.js +1 -1
  8. package/dist/cjs/q2-action-group.cjs.entry.js +1 -1
  9. package/dist/cjs/q2-action-sheet.cjs.entry.js +98 -18
  10. package/dist/cjs/q2-avatar.cjs.entry.js +1 -1
  11. package/dist/cjs/q2-badge_2.cjs.entry.js +2 -2
  12. package/dist/cjs/q2-btn_2.cjs.entry.js +2 -2
  13. package/dist/cjs/q2-calendar.cjs.entry.js +9 -4
  14. package/dist/cjs/q2-card-image.cjs.entry.js +3 -3
  15. package/dist/cjs/q2-card.cjs.entry.js +1 -1
  16. package/dist/cjs/q2-carousel-pane.cjs.entry.js +3 -3
  17. package/dist/cjs/q2-carousel.cjs.entry.js +20 -6
  18. package/dist/cjs/q2-chart-area.cjs.entry.js +38 -7
  19. package/dist/cjs/q2-chart-bar.cjs.entry.js +39 -8
  20. package/dist/cjs/q2-chart-donut.cjs.entry.js +31 -13
  21. package/dist/cjs/q2-checkbox-group.cjs.entry.js +2 -2
  22. package/dist/cjs/q2-checkbox_2.cjs.entry.js +8 -5
  23. package/dist/cjs/q2-context.cjs.entry.js +4 -4
  24. package/dist/cjs/q2-currency.cjs.entry.js +1 -1
  25. package/dist/cjs/q2-data-table.cjs.entry.js +7 -7
  26. package/dist/cjs/q2-date-calendar.cjs.entry.js +452 -0
  27. package/dist/cjs/q2-date-picker_2.cjs.entry.js +968 -0
  28. package/dist/cjs/q2-detail.cjs.entry.js +2 -2
  29. package/dist/cjs/q2-dropdown-item.cjs.entry.js +1 -1
  30. package/dist/cjs/q2-dropdown.cjs.entry.js +3 -3
  31. package/dist/cjs/q2-editable-field.cjs.entry.js +20 -7
  32. package/dist/cjs/q2-example.cjs.entry.js +1 -1
  33. package/dist/cjs/q2-file-picker.cjs.entry.js +2 -2
  34. package/dist/cjs/q2-form.cjs.entry.js +1 -1
  35. package/dist/cjs/q2-formatted-text.cjs.entry.js +1 -1
  36. package/dist/cjs/q2-icon.cjs.entry.js +1 -1
  37. package/dist/cjs/q2-item.cjs.entry.js +20 -2
  38. package/dist/cjs/q2-legend.cjs.entry.js +1 -1
  39. package/dist/cjs/q2-link_2.cjs.entry.js +2 -2
  40. package/dist/cjs/q2-loc.cjs.entry.js +1 -1
  41. package/dist/cjs/q2-message.cjs.entry.js +2 -2
  42. package/dist/cjs/q2-meter.cjs.entry.js +2 -2
  43. package/dist/cjs/q2-modal.cjs.entry.js +2 -2
  44. package/dist/cjs/q2-month-picker.cjs.entry.js +3 -3
  45. package/dist/cjs/q2-mutation-observer.cjs.entry.js +1 -1
  46. package/dist/cjs/q2-option.cjs.entry.js +1 -1
  47. package/dist/cjs/q2-otp.cjs.entry.js +5 -5
  48. package/dist/cjs/q2-pagination.cjs.entry.js +4 -4
  49. package/dist/cjs/q2-pill.cjs.entry.js +7 -4
  50. package/dist/cjs/q2-radio-group.cjs.entry.js +2 -2
  51. package/dist/cjs/q2-radio.cjs.entry.js +2 -2
  52. package/dist/cjs/q2-relative-time.cjs.entry.js +2 -2
  53. package/dist/cjs/q2-resize-observer.cjs.entry.js +1 -1
  54. package/dist/cjs/q2-search.cjs.entry.js +3 -3
  55. package/dist/cjs/q2-section.cjs.entry.js +3 -3
  56. package/dist/cjs/q2-select.cjs.entry.js +8 -4
  57. package/dist/cjs/q2-stepper-pane.cjs.entry.js +2 -2
  58. package/dist/cjs/q2-stepper-vertical.cjs.entry.js +2 -2
  59. package/dist/cjs/q2-stepper.cjs.entry.js +2 -2
  60. package/dist/cjs/q2-surface.cjs.entry.js +1 -1
  61. package/dist/cjs/q2-tab-container.cjs.entry.js +2 -2
  62. package/dist/cjs/q2-tab-pane.cjs.entry.js +1 -1
  63. package/dist/cjs/q2-tecton-elements.cjs.js +1 -1
  64. package/dist/cjs/q2-textarea.cjs.entry.js +2 -2
  65. package/dist/cjs/q2-toast.cjs.entry.js +1 -1
  66. package/dist/cjs/q2-tooltip.cjs.entry.js +1 -1
  67. package/dist/cjs/{sectorHelper-9TWL-3dw.js → sectorHelper-CxhDl5ql.js} +1 -1
  68. package/dist/cjs/tecton-tab-pane.cjs.entry.js +2 -2
  69. package/dist/collection/collection-manifest.json +2 -0
  70. package/dist/collection/components/q2-action-sheet/q2-action-sheet.css +52 -0
  71. package/dist/collection/components/q2-action-sheet/q2-action-sheet.js +98 -18
  72. package/dist/collection/components/q2-action-sheet/test/q2-action-sheet-test.vr.js +124 -0
  73. package/dist/collection/components/q2-avatar/q2-avatar.js +1 -1
  74. package/dist/collection/components/q2-btn/q2-btn.css +84 -136
  75. package/dist/collection/components/q2-btn/q2-btn.js +10 -4
  76. package/dist/collection/components/q2-btn/test/q2-btn-test.vr.js +99 -43
  77. package/dist/collection/components/q2-calendar/q2-calendar.js +16 -5
  78. package/dist/collection/components/q2-calendar/q2-month-picker.js +2 -2
  79. package/dist/collection/components/q2-calendar/test/q2-calendar-test.vr.js +3 -13
  80. package/dist/collection/components/q2-card-image/q2-card-image.js +2 -2
  81. package/dist/collection/components/q2-carousel/q2-carousel.js +19 -5
  82. package/dist/collection/components/q2-carousel/test/q2-carousel-test.vr.js +32 -0
  83. package/dist/collection/components/q2-carousel-pane/q2-carousel-pane.js +2 -2
  84. package/dist/collection/components/q2-chart-area/q2-chart-area.css +11 -0
  85. package/dist/collection/components/q2-chart-area/q2-chart-area.js +53 -7
  86. package/dist/collection/components/q2-chart-area/test/q2-chart-area-test.vr.js +14 -0
  87. package/dist/collection/components/q2-chart-bar/q2-chart-bar.css +11 -0
  88. package/dist/collection/components/q2-chart-bar/q2-chart-bar.js +50 -4
  89. package/dist/collection/components/q2-chart-bar/test/q2-chart-bar-test.vr.js +14 -0
  90. package/dist/collection/components/q2-chart-donut/q2-chart-donut.js +30 -10
  91. package/dist/collection/components/q2-chart-donut/test/q2-chart-donut-test.vr.js +25 -0
  92. package/dist/collection/components/q2-checkbox/q2-checkbox.js +6 -3
  93. package/dist/collection/components/q2-checkbox-group/q2-checkbox-group.js +6 -3
  94. package/dist/collection/components/q2-context/q2-context.js +3 -3
  95. package/dist/collection/components/q2-context/test/q2-context-test.vr.js +3 -3
  96. package/dist/collection/components/q2-currency/q2-currency.js +1 -1
  97. package/dist/collection/components/q2-data-table/q2-data-table.css +3 -0
  98. package/dist/collection/components/q2-data-table/q2-data-table.js +5 -5
  99. package/dist/collection/components/q2-data-table/test/q2-data-table-test.vr.js +47 -0
  100. package/dist/collection/components/q2-date-calendar/q2-date-calendar.css +393 -0
  101. package/dist/collection/components/q2-date-calendar/q2-date-calendar.js +1022 -0
  102. package/dist/collection/components/q2-date-calendar/test/q2-date-calendar-test.vr.js +111 -0
  103. package/dist/collection/components/q2-date-picker/q2-date-picker.css +138 -0
  104. package/dist/collection/components/q2-date-picker/q2-date-picker.js +2010 -0
  105. package/dist/collection/components/q2-date-picker/test/q2-date-picker-test.vr.js +179 -0
  106. package/dist/collection/components/q2-detail/q2-detail.js +1 -1
  107. package/dist/collection/components/q2-dropdown/q2-dropdown.js +5 -5
  108. package/dist/collection/components/q2-editable-field/q2-editable-field.js +27 -8
  109. package/dist/collection/components/q2-example/q2-example.js +1 -1
  110. package/dist/collection/components/q2-file-picker/q2-file-picker.js +1 -1
  111. package/dist/collection/components/q2-form/q2-form.js +1 -1
  112. package/dist/collection/components/q2-formatted-text/q2-formatted-text.js +1 -1
  113. package/dist/collection/components/q2-input/q2-input.js +6 -3
  114. package/dist/collection/components/q2-item/q2-item.js +19 -1
  115. package/dist/collection/components/q2-item/test/q2-item-test.vr.js +2 -2
  116. package/dist/collection/components/q2-legend/q2-legend.js +1 -1
  117. package/dist/collection/components/q2-list/q2-list.js +1 -1
  118. package/dist/collection/components/q2-message/q2-message.js +1 -1
  119. package/dist/collection/components/q2-meter/q2-meter.js +1 -1
  120. package/dist/collection/components/q2-modal/q2-modal.js +1 -1
  121. package/dist/collection/components/q2-modal/test/q2-modal-test.vr.js +7 -7
  122. package/dist/collection/components/q2-mutation-observer/q2-mutation-observer.js +1 -1
  123. package/dist/collection/components/q2-optgroup/q2-optgroup.js +1 -1
  124. package/dist/collection/components/q2-option-list/q2-option-list.js +36 -4
  125. package/dist/collection/components/q2-otp/q2-otp.js +4 -4
  126. package/dist/collection/components/q2-pagination/q2-pagination.js +3 -3
  127. package/dist/collection/components/q2-pill/q2-pill.js +6 -3
  128. package/dist/collection/components/q2-popover/q2-popover.css +1 -0
  129. package/dist/collection/components/q2-popover/q2-popover.js +43 -8
  130. package/dist/collection/components/q2-radio/q2-radio.js +5 -2
  131. package/dist/collection/components/q2-radio-group/q2-radio-group.js +6 -3
  132. package/dist/collection/components/q2-relative-time/q2-relative-time.js +1 -1
  133. package/dist/collection/components/q2-resize-observer/q2-resize-observer.js +1 -1
  134. package/dist/collection/components/q2-search/q2-search.js +6 -3
  135. package/dist/collection/components/q2-section/q2-section.js +2 -2
  136. package/dist/collection/components/q2-select/q2-select.js +12 -5
  137. package/dist/collection/components/q2-stepper/q2-stepper.js +1 -1
  138. package/dist/collection/components/q2-stepper-pane/q2-stepper-pane.js +1 -1
  139. package/dist/collection/components/q2-stepper-vertical/q2-stepper-vertical.js +1 -1
  140. package/dist/collection/components/q2-surface/q2-surface.js +1 -1
  141. package/dist/collection/components/q2-surface/test/q2-surface-test.vr.js +2 -2
  142. package/dist/collection/components/q2-tab-container/q2-tab-container.js +1 -1
  143. package/dist/collection/components/q2-tab-pane/q2-tab-pane.js +1 -1
  144. package/dist/collection/components/q2-tag/q2-tag.js +6 -3
  145. package/dist/collection/components/q2-textarea/q2-textarea.js +6 -3
  146. package/dist/collection/components/q2-tooltip/test/q2-tooltip-test.vr.js +1 -1
  147. package/dist/collection/components/tecton-tab-pane/tecton-tab-pane.js +2 -2
  148. package/dist/collection/utils/chart-keyboard.js +76 -0
  149. package/dist/collection/utils/date-picker/date-picker-helpers.js +239 -0
  150. package/dist/collection/utils/date-picker/date-picker-types.js +1 -0
  151. package/dist/collection/utils/index.js +1 -1
  152. package/dist/components/charting.js +1603 -1532
  153. package/dist/components/dataSample.js +7 -7
  154. package/dist/components/index.js +57 -53
  155. package/dist/components/index2.js +2 -2
  156. package/dist/components/q2-action-sheet.js +224 -103
  157. package/dist/components/q2-avatar2.js +8 -8
  158. package/dist/components/q2-btn2.js +2 -2
  159. package/dist/components/q2-calendar.js +6 -3
  160. package/dist/components/q2-card-image.js +2 -2
  161. package/dist/components/q2-carousel-pane2.js +3 -3
  162. package/dist/components/q2-carousel.js +37 -24
  163. package/dist/components/q2-chart-area.js +415 -369
  164. package/dist/components/q2-chart-bar.js +193 -148
  165. package/dist/components/q2-chart-donut.js +185 -158
  166. package/dist/components/q2-checkbox-group.js +6 -6
  167. package/dist/components/q2-checkbox2.js +11 -11
  168. package/dist/components/q2-context.js +20 -20
  169. package/dist/components/q2-currency.js +9 -9
  170. package/dist/components/q2-data-table.js +111 -111
  171. package/dist/components/q2-date-calendar.d.ts +11 -0
  172. package/dist/components/q2-date-calendar.js +5 -0
  173. package/dist/components/q2-date-calendar2.js +678 -0
  174. package/dist/components/q2-date-picker.d.ts +11 -0
  175. package/dist/components/q2-date-picker.js +5 -0
  176. package/dist/components/q2-date-picker2.js +875 -0
  177. package/dist/components/q2-detail.js +3 -3
  178. package/dist/components/q2-dropdown.js +17 -17
  179. package/dist/components/q2-editable-field.js +16 -5
  180. package/dist/components/q2-example.js +11 -11
  181. package/dist/components/q2-file-picker.js +1 -1
  182. package/dist/components/q2-form.js +6 -6
  183. package/dist/components/q2-formatted-text.js +2 -2
  184. package/dist/components/q2-input2.js +5 -5
  185. package/dist/components/q2-item2.js +32 -22
  186. package/dist/components/q2-legend2.js +7 -7
  187. package/dist/components/q2-list2.js +6 -6
  188. package/dist/components/q2-message2.js +9 -9
  189. package/dist/components/q2-meter.js +7 -7
  190. package/dist/components/q2-modal.js +22 -22
  191. package/dist/components/q2-month-picker.js +17 -17
  192. package/dist/components/q2-mutation-observer.js +1 -1
  193. package/dist/components/q2-optgroup2.js +7 -7
  194. package/dist/components/q2-option-list2.js +55 -34
  195. package/dist/components/q2-otp.js +8 -8
  196. package/dist/components/q2-pagination.js +67 -67
  197. package/dist/components/q2-pill.js +16 -14
  198. package/dist/components/q2-popover2.js +70 -49
  199. package/dist/components/q2-radio-group.js +7 -7
  200. package/dist/components/q2-radio.js +6 -6
  201. package/dist/components/q2-relative-time.js +1 -1
  202. package/dist/components/q2-resize-observer2.js +23 -23
  203. package/dist/components/q2-search.js +5 -5
  204. package/dist/components/q2-section.js +19 -19
  205. package/dist/components/q2-select2.js +2 -2
  206. package/dist/components/q2-stepper-pane.js +9 -9
  207. package/dist/components/q2-stepper-vertical.js +4 -4
  208. package/dist/components/q2-stepper.js +57 -57
  209. package/dist/components/q2-surface.js +3 -3
  210. package/dist/components/q2-tab-container.js +17 -17
  211. package/dist/components/q2-tab-pane.js +2 -2
  212. package/dist/components/q2-tag2.js +8 -6
  213. package/dist/components/q2-textarea.js +3 -3
  214. package/dist/components/sectorHelper.js +78 -78
  215. package/dist/components/tecton-tab-pane.js +10 -10
  216. package/dist/esm/{charting-DOZct-UB.js → charting-DFXJklqs.js} +79 -1
  217. package/dist/esm/click-elsewhere_3.entry.js +81 -14
  218. package/dist/esm/{dataSample-Dm1zpQNi.js → dataSample-CP_VKNqt.js} +1 -1
  219. package/dist/esm/date-picker-helpers-D8QnN_AS.js +242 -0
  220. package/dist/esm/{index-DJw6Feh0.js → index-CP8pXJ-l.js} +1 -1
  221. package/dist/esm/loader.js +1 -1
  222. package/dist/esm/q2-action-group.entry.js +1 -1
  223. package/dist/esm/q2-action-sheet.entry.js +99 -19
  224. package/dist/esm/q2-avatar.entry.js +1 -1
  225. package/dist/esm/q2-badge_2.entry.js +2 -2
  226. package/dist/esm/q2-btn_2.entry.js +2 -2
  227. package/dist/esm/q2-calendar.entry.js +9 -4
  228. package/dist/esm/q2-card-image.entry.js +3 -3
  229. package/dist/esm/q2-card.entry.js +1 -1
  230. package/dist/esm/q2-carousel-pane.entry.js +3 -3
  231. package/dist/esm/q2-carousel.entry.js +20 -6
  232. package/dist/esm/q2-chart-area.entry.js +38 -7
  233. package/dist/esm/q2-chart-bar.entry.js +39 -8
  234. package/dist/esm/q2-chart-donut.entry.js +31 -13
  235. package/dist/esm/q2-checkbox-group.entry.js +2 -2
  236. package/dist/esm/q2-checkbox_2.entry.js +8 -5
  237. package/dist/esm/q2-context.entry.js +4 -4
  238. package/dist/esm/q2-currency.entry.js +1 -1
  239. package/dist/esm/q2-data-table.entry.js +7 -7
  240. package/dist/esm/q2-date-calendar.entry.js +450 -0
  241. package/dist/esm/q2-date-picker_2.entry.js +965 -0
  242. package/dist/esm/q2-detail.entry.js +2 -2
  243. package/dist/esm/q2-dropdown-item.entry.js +1 -1
  244. package/dist/esm/q2-dropdown.entry.js +3 -3
  245. package/dist/esm/q2-editable-field.entry.js +20 -7
  246. package/dist/esm/q2-example.entry.js +1 -1
  247. package/dist/esm/q2-file-picker.entry.js +2 -2
  248. package/dist/esm/q2-form.entry.js +1 -1
  249. package/dist/esm/q2-formatted-text.entry.js +1 -1
  250. package/dist/esm/q2-icon.entry.js +1 -1
  251. package/dist/esm/q2-item.entry.js +20 -2
  252. package/dist/esm/q2-legend.entry.js +1 -1
  253. package/dist/esm/q2-link_2.entry.js +2 -2
  254. package/dist/esm/q2-loc.entry.js +1 -1
  255. package/dist/esm/q2-message.entry.js +2 -2
  256. package/dist/esm/q2-meter.entry.js +2 -2
  257. package/dist/esm/q2-modal.entry.js +2 -2
  258. package/dist/esm/q2-month-picker.entry.js +3 -3
  259. package/dist/esm/q2-mutation-observer.entry.js +1 -1
  260. package/dist/esm/q2-option.entry.js +1 -1
  261. package/dist/esm/q2-otp.entry.js +5 -5
  262. package/dist/esm/q2-pagination.entry.js +4 -4
  263. package/dist/esm/q2-pill.entry.js +7 -4
  264. package/dist/esm/q2-radio-group.entry.js +2 -2
  265. package/dist/esm/q2-radio.entry.js +2 -2
  266. package/dist/esm/q2-relative-time.entry.js +2 -2
  267. package/dist/esm/q2-resize-observer.entry.js +1 -1
  268. package/dist/esm/q2-search.entry.js +3 -3
  269. package/dist/esm/q2-section.entry.js +3 -3
  270. package/dist/esm/q2-select.entry.js +8 -4
  271. package/dist/esm/q2-stepper-pane.entry.js +2 -2
  272. package/dist/esm/q2-stepper-vertical.entry.js +2 -2
  273. package/dist/esm/q2-stepper.entry.js +2 -2
  274. package/dist/esm/q2-surface.entry.js +1 -1
  275. package/dist/esm/q2-tab-container.entry.js +2 -2
  276. package/dist/esm/q2-tab-pane.entry.js +1 -1
  277. package/dist/esm/q2-tecton-elements.js +1 -1
  278. package/dist/esm/q2-textarea.entry.js +2 -2
  279. package/dist/esm/q2-toast.entry.js +1 -1
  280. package/dist/esm/q2-tooltip.entry.js +1 -1
  281. package/dist/esm/{sectorHelper--RMGWGAy.js → sectorHelper-DBtkWtpl.js} +1 -1
  282. package/dist/esm/tecton-tab-pane.entry.js +2 -2
  283. package/dist/q2-tecton-elements/{charting-DOZct-UB.js → charting-DFXJklqs.js} +1625 -1554
  284. package/dist/q2-tecton-elements/click-elsewhere_3.entry.js +85 -43
  285. package/dist/q2-tecton-elements/{dataSample-Dm1zpQNi.js → dataSample-CP_VKNqt.js} +33 -33
  286. package/dist/q2-tecton-elements/date-picker-helpers-D8QnN_AS.js +153 -0
  287. package/dist/q2-tecton-elements/{index-DJw6Feh0.js → index-CP8pXJ-l.js} +1 -1
  288. package/dist/q2-tecton-elements/q2-action-group.entry.js +1 -1
  289. package/dist/q2-tecton-elements/q2-action-sheet.entry.js +169 -84
  290. package/dist/q2-tecton-elements/q2-avatar.entry.js +8 -8
  291. package/dist/q2-tecton-elements/q2-badge_2.entry.js +5 -5
  292. package/dist/q2-tecton-elements/q2-btn_2.entry.js +23 -23
  293. package/dist/q2-tecton-elements/q2-calendar.entry.js +7 -4
  294. package/dist/q2-tecton-elements/q2-card-image.entry.js +3 -3
  295. package/dist/q2-tecton-elements/q2-card.entry.js +1 -1
  296. package/dist/q2-tecton-elements/q2-carousel-pane.entry.js +4 -4
  297. package/dist/q2-tecton-elements/q2-carousel.entry.js +24 -11
  298. package/dist/q2-tecton-elements/q2-chart-area.entry.js +187 -141
  299. package/dist/q2-tecton-elements/q2-chart-bar.entry.js +377 -333
  300. package/dist/q2-tecton-elements/q2-chart-donut.entry.js +184 -158
  301. package/dist/q2-tecton-elements/q2-checkbox-group.entry.js +7 -7
  302. package/dist/q2-tecton-elements/q2-checkbox_2.entry.js +20 -18
  303. package/dist/q2-tecton-elements/q2-context.entry.js +21 -21
  304. package/dist/q2-tecton-elements/q2-currency.entry.js +9 -9
  305. package/dist/q2-tecton-elements/q2-data-table.entry.js +7 -7
  306. package/dist/q2-tecton-elements/q2-date-calendar.entry.js +438 -0
  307. package/dist/q2-tecton-elements/q2-date-picker_2.entry.js +792 -0
  308. package/dist/q2-tecton-elements/q2-detail.entry.js +4 -4
  309. package/dist/q2-tecton-elements/q2-dropdown-item.entry.js +1 -1
  310. package/dist/q2-tecton-elements/q2-dropdown.entry.js +16 -16
  311. package/dist/q2-tecton-elements/q2-editable-field.entry.js +17 -6
  312. package/dist/q2-tecton-elements/q2-example.entry.js +1 -1
  313. package/dist/q2-tecton-elements/q2-file-picker.entry.js +2 -2
  314. package/dist/q2-tecton-elements/q2-form.entry.js +2 -2
  315. package/dist/q2-tecton-elements/q2-formatted-text.entry.js +2 -2
  316. package/dist/q2-tecton-elements/q2-icon.entry.js +1 -1
  317. package/dist/q2-tecton-elements/q2-item.entry.js +26 -16
  318. package/dist/q2-tecton-elements/q2-legend.entry.js +2 -2
  319. package/dist/q2-tecton-elements/q2-link_2.entry.js +7 -7
  320. package/dist/q2-tecton-elements/q2-loc.entry.js +1 -1
  321. package/dist/q2-tecton-elements/q2-message.entry.js +28 -28
  322. package/dist/q2-tecton-elements/q2-meter.entry.js +8 -8
  323. package/dist/q2-tecton-elements/q2-modal.entry.js +18 -18
  324. package/dist/q2-tecton-elements/q2-month-picker.entry.js +14 -14
  325. package/dist/q2-tecton-elements/q2-mutation-observer.entry.js +1 -1
  326. package/dist/q2-tecton-elements/q2-option.entry.js +1 -1
  327. package/dist/q2-tecton-elements/q2-otp.entry.js +9 -9
  328. package/dist/q2-tecton-elements/q2-pagination.entry.js +20 -20
  329. package/dist/q2-tecton-elements/q2-pill.entry.js +42 -40
  330. package/dist/q2-tecton-elements/q2-radio-group.entry.js +8 -8
  331. package/dist/q2-tecton-elements/q2-radio.entry.js +7 -7
  332. package/dist/q2-tecton-elements/q2-relative-time.entry.js +5 -5
  333. package/dist/q2-tecton-elements/q2-resize-observer.entry.js +13 -13
  334. package/dist/q2-tecton-elements/q2-search.entry.js +6 -6
  335. package/dist/q2-tecton-elements/q2-section.entry.js +20 -20
  336. package/dist/q2-tecton-elements/q2-select.entry.js +3 -3
  337. package/dist/q2-tecton-elements/q2-stepper-pane.entry.js +13 -13
  338. package/dist/q2-tecton-elements/q2-stepper-vertical.entry.js +9 -9
  339. package/dist/q2-tecton-elements/q2-stepper.entry.js +45 -45
  340. package/dist/q2-tecton-elements/q2-surface.entry.js +3 -3
  341. package/dist/q2-tecton-elements/q2-tab-container.entry.js +20 -20
  342. package/dist/q2-tecton-elements/q2-tab-pane.entry.js +7 -7
  343. package/dist/q2-tecton-elements/q2-tecton-elements.esm.js +1 -1
  344. package/dist/q2-tecton-elements/q2-textarea.entry.js +3 -3
  345. package/dist/q2-tecton-elements/q2-toast.entry.js +1 -1
  346. package/dist/q2-tecton-elements/q2-tooltip.entry.js +1 -1
  347. package/dist/q2-tecton-elements/{sectorHelper--RMGWGAy.js → sectorHelper-DBtkWtpl.js} +56 -56
  348. package/dist/q2-tecton-elements/tecton-tab-pane.entry.js +6 -6
  349. package/dist/types/components/q2-action-sheet/q2-action-sheet.d.ts +21 -1
  350. package/dist/types/components/q2-action-sheet/test/q2-action-sheet-test.vr.d.ts +1 -0
  351. package/dist/types/components/q2-btn/q2-btn.d.ts +7 -3
  352. package/dist/types/components/q2-calendar/q2-calendar.d.ts +10 -2
  353. package/dist/types/components/q2-carousel/q2-carousel.d.ts +5 -0
  354. package/dist/types/components/q2-chart-area/q2-chart-area.d.ts +11 -2
  355. package/dist/types/components/q2-chart-bar/q2-chart-bar.d.ts +9 -0
  356. package/dist/types/components/q2-chart-donut/q2-chart-donut.d.ts +1 -0
  357. package/dist/types/components/q2-checkbox/q2-checkbox.d.ts +4 -3
  358. package/dist/types/components/q2-checkbox-group/q2-checkbox-group.d.ts +4 -2
  359. package/dist/types/components/q2-date-calendar/q2-date-calendar.d.ts +122 -0
  360. package/dist/types/components/q2-date-calendar/test/q2-date-calendar-test.vr.d.ts +1 -0
  361. package/dist/types/components/q2-date-picker/q2-date-picker.d.ts +304 -0
  362. package/dist/types/components/q2-date-picker/test/q2-date-picker-test.vr.d.ts +1 -0
  363. package/dist/types/components/q2-dropdown/q2-dropdown.d.ts +3 -3
  364. package/dist/types/components/q2-editable-field/q2-editable-field.d.ts +14 -1
  365. package/dist/types/components/q2-input/q2-input.d.ts +4 -2
  366. package/dist/types/components/q2-item/q2-item.d.ts +3 -0
  367. package/dist/types/components/q2-option-list/q2-option-list.d.ts +1 -0
  368. package/dist/types/components/q2-popover/q2-popover.d.ts +4 -0
  369. package/dist/types/components/q2-radio/q2-radio.d.ts +3 -2
  370. package/dist/types/components/q2-radio-group/q2-radio-group.d.ts +4 -2
  371. package/dist/types/components/q2-search/q2-search.d.ts +3 -1
  372. package/dist/types/components/q2-select/q2-select.d.ts +4 -2
  373. package/dist/types/components/q2-textarea/q2-textarea.d.ts +4 -2
  374. package/dist/types/components.d.ts +858 -49
  375. package/dist/types/global.d.ts +1 -0
  376. package/dist/types/index.d.ts +1 -0
  377. package/dist/types/utils/chart-keyboard.d.ts +16 -0
  378. package/dist/types/utils/date-picker/date-picker-helpers.d.ts +47 -0
  379. package/dist/types/utils/date-picker/date-picker-types.d.ts +42 -0
  380. package/package.json +3 -3
  381. package/dist/cjs/q2-optgroup.cjs.entry.js +0 -70
  382. package/dist/esm/q2-optgroup.entry.js +0 -68
  383. package/dist/q2-tecton-elements/q2-optgroup.entry.js +0 -88
@@ -2,9 +2,9 @@ import { proxyCustomElement as t, HTMLElement as a, createEvent as e, h as i, Fr
2
2
 
3
3
  import { c as n, l as s, o as c, i as l } from "./index2.js";
4
4
 
5
- import { m as d } from "./mirror-emit.js";
5
+ import { m as b } from "./mirror-emit.js";
6
6
 
7
- import { h as b, f as h } from "./component.js";
7
+ import { h as d, f as h } from "./component.js";
8
8
 
9
9
  import { d as v } from "./q2-badge2.js";
10
10
 
@@ -103,7 +103,7 @@ const f = t(class extends a {
103
103
  this.checkScrollState();
104
104
  }, this.onTabClick = t => {
105
105
  const a = t.target.closest('button[role="tab"]').dataset.value;
106
- this.value === a || d(this, [ "change", "tctChange" ], {
106
+ this.value === a || b(this, [ "change", "tctChange" ], {
107
107
  value: a
108
108
  });
109
109
  }, this.onTabKeyDown = t => {
@@ -139,7 +139,7 @@ const f = t(class extends a {
139
139
 
140
140
  case "Space":
141
141
  case "Enter":
142
- t.preventDefault(), d(this, [ "change", "tctChange" ], {
142
+ t.preventDefault(), b(this, [ "change", "tctChange" ], {
143
143
  value: a
144
144
  });
145
145
  }
@@ -174,7 +174,7 @@ const f = t(class extends a {
174
174
  this.narrowViewportMedia && this.narrowViewportListener && this.narrowViewportMedia.removeEventListener("change", this.narrowViewportListener);
175
175
  }
176
176
  componentWillLoad() {
177
- b(this.hostElement, [ "q2-tab-pane", "tecton-tab-pane" ]) || h(this.hostElement, [ "q2-tab-pane", "tecton-tab-pane" ]);
177
+ d(this.hostElement, [ "q2-tab-pane", "tecton-tab-pane" ]) || h(this.hostElement, [ "q2-tab-pane", "tecton-tab-pane" ]);
178
178
  const t = new MutationObserver((() => this.updateTabs()));
179
179
  t.observe(this.hostElement, {
180
180
  childList: !0,
@@ -287,50 +287,50 @@ const f = t(class extends a {
287
287
  render() {
288
288
  const t = "vertical" === this.computedOrientation;
289
289
  return i(r, {
290
- key: "684e234955e0d7f9b929a1e80e323ba62db4d066"
290
+ key: "03d43399332adeda98bb8d9e20053a9c6d49fcce"
291
291
  }, i("div", {
292
- key: "92ea060ada2cc956817f4eb9cb97d0f110c5032a",
292
+ key: "e0a8ef7f09a83f703a4b20f54c32522ddb1c5c50",
293
293
  class: "tab-container"
294
294
  }, this.scrollEnabled && i(r, {
295
- key: "b43a4ff0510de5adfefde8f5184ab5f3f1d95563"
295
+ key: "ad75ef49a54bfe0f862e19123e2a4770e17bf4a2"
296
296
  }, i("div", {
297
- key: "3daed974f567574741534b4c39c6fa0ddb1c7f58",
297
+ key: "0a699d7dff2af9e01eb0c9a4727c0aa586068d97",
298
298
  class: "gradient-left",
299
299
  hidden: !this.showScrollBack
300
300
  }), i("div", {
301
- key: "36266d6970a75fff03e538c12951a530220b2756",
301
+ key: "758388b43d96757cd402eac4c8c881b20853e8d2",
302
302
  class: "gradient-right",
303
303
  hidden: !this.showScrollForward
304
304
  }), i("q2-btn", {
305
- key: "7c5b35fee0bbd981520f55fe99fc53143be7376c",
305
+ key: "0738c515ffc60c9fb82941ce1cb104924c3a85ef",
306
306
  class: "btn-left",
307
307
  hidden: !this.showScrollBack,
308
308
  onTctClick: () => this.onScrollBtnClick("back")
309
309
  }, i("q2-icon", {
310
- key: "0759d5d77d603074acc21bd9a29e4db50f0474a2",
310
+ key: "95820c6bad13d98ad94e4722026b00e1fedb720e",
311
311
  type: t ? "chevron-up" : "chevron-left",
312
312
  label: t ? "scroll up" : "scroll left"
313
313
  })), i("q2-btn", {
314
- key: "419c43832886d9aae9b63eba545ffb8122f862b6",
314
+ key: "2aabca6f28a8acffd6565870b56424c410f4ebae",
315
315
  class: "btn-right",
316
316
  hidden: !this.showScrollForward,
317
317
  onTctClick: () => this.onScrollBtnClick("forward")
318
318
  }, i("q2-icon", {
319
- key: "4148a86411c5859b0253da31439ff90ad78490b3",
319
+ key: "94561888012314b3e3503c7f0b64444f3a7b7c96",
320
320
  type: t ? "chevron-down" : "chevron-right",
321
321
  label: t ? "scroll down" : "scroll right"
322
322
  }))), i("ul", {
323
- key: "fdd72d9ba1d932497b5d7cd9e14d926fe1e92f72",
323
+ key: "d58936a795d74807740d291b93bb739d66fbbe24",
324
324
  onScroll: this.checkScrollState,
325
325
  ref: t => this.listElement = t,
326
326
  class: this.noPrint ? "no-print" : null,
327
327
  role: "tablist",
328
328
  "aria-orientation": this.computedOrientation
329
329
  }, this.tabs.map(((t, a) => this.renderTab(t, a))))), i("div", {
330
- key: "e9d90030fcc43f17a43aa2e4a306e3489b4c4110",
330
+ key: "ccd952b3f0ef0e639e0f86957841ad548fe65eb5",
331
331
  class: "tab-content"
332
332
  }, i("slot", {
333
- key: "130ddf5f14ec801e09471b9cf4ab080e4bf5fc27",
333
+ key: "24deecd3894184e816d1d8c5e5257aab382ed055",
334
334
  onSlotchange: () => this.onSlotChange()
335
335
  })));
336
336
  }
@@ -20,7 +20,7 @@ const r = e(class extends t {
20
20
  // #region Render Methods
21
21
  render() {
22
22
  return i("div", {
23
- key: "2ff20db182ab3bf252df52bbcb7be2b39893d17c",
23
+ key: "a1ca82c1b98634b33d0ded7c459e151bbcba82ab",
24
24
  id: `tab-pane-${this.guid}-${this.index}`,
25
25
  class: "tab-pane" + (this.selected ? "" : " hidden"),
26
26
  role: "tabpanel",
@@ -28,7 +28,7 @@ const r = e(class extends t {
28
28
  "aria-hidden": "" + !this.selected,
29
29
  "aria-labelledby": `tab-${this.guid}-${this.index}`
30
30
  }, i("slot", {
31
- key: "871922c3065609934e6a6a8c62000c84551a612a"
31
+ key: "4893e7153f387cfa726ba354cb53274d8f907b94"
32
32
  }));
33
33
  }
34
34
  get hostElement() {
@@ -101,7 +101,9 @@ const f = t(class extends o {
101
101
  c(t, this.hostElement) && this.optionCount && this.dropdownBtn.focus();
102
102
  }
103
103
  popoverStateHandler({detail: {open: t}}) {
104
- this.open !== t && (this.open = t), t || this.optionList.setActiveElement(null);
104
+ var o;
105
+ this.open !== t && (this.open = t, t || (this.optionList.setActiveElement(null),
106
+ null === (o = this.dropdownBtn) || void 0 === o || o.focus()));
105
107
  }
106
108
  // #endregion
107
109
  // #region Public Methods API
@@ -151,9 +153,9 @@ const f = t(class extends o {
151
153
  this.optionCount && o.push("has-options");
152
154
  const e = this.optionCount > 0;
153
155
  return r(i, {
154
- key: "da6dc23ff4f250b18242a49db02eccc16210b043"
156
+ key: "a18af83301ac8bf08d1638b05d4dd8795f11cd46"
155
157
  }, r("click-elsewhere", {
156
- key: "ee1da442ffd5aa53e55ae95f95b3ac51e2f5c71e",
158
+ key: "130d173a4bf53dd6eec1775944d910c630e704ae",
157
159
  onChange: this.onClickElsewhere
158
160
  }, e ? r(a, null, r("button", {
159
161
  class: "tag-wrapper",
@@ -180,7 +182,7 @@ const f = t(class extends o {
180
182
  }, r("slot", {
181
183
  name: "decorator"
182
184
  }), l(this.label))), e && r("q2-popover", {
183
- key: "578989b60b19f6f5e01c1cbc49a83e87fc74c5a9",
185
+ key: "07bf52f6b4d8c4bbf42e90e69ff9a9deec82810b",
184
186
  ref: t => this.popoverElement = t,
185
187
  controlElement: this.dropdownBtn,
186
188
  open: this.open,
@@ -189,7 +191,7 @@ const f = t(class extends o {
189
191
  direction: this.popoverDirection,
190
192
  align: this.popoverAlignment
191
193
  }, r("q2-option-list", {
192
- key: "d21abcd1fe11241e14b4f411d9559c12c139c18a",
194
+ key: "eefdf7202c269194a9753e438b4c6060984ba33e",
193
195
  id: "option-list",
194
196
  ref: t => this.optionList = t,
195
197
  onChange: this.handleChange,
@@ -198,7 +200,7 @@ const f = t(class extends o {
198
200
  label: l("tecton.element.optionList.label", [ this.optionListLabel ]),
199
201
  "no-select": !0
200
202
  }, r("slot", {
201
- key: "d46ec7dad47e40cec883205d6fb2424abcdd1038"
203
+ key: "3067ac9beee239562c410d7dfe4af04c651ef8ae"
202
204
  })))));
203
205
  }
204
206
  get hostElement() {
@@ -1,6 +1,6 @@
1
1
  import { proxyCustomElement as t, HTMLElement as r, createEvent as a, h as e, Fragment as o, transformTag as i } from "@stencil/core/internal/client";
2
2
 
3
- import { f as s, c as n, s as c, o as l, i as h, l as d, r as v, g as x } from "./index2.js";
3
+ import { g as s, c as n, s as c, o as l, i as h, l as d, r as v, j as x } from "./index2.js";
4
4
 
5
5
  import { m as p } from "./mirror-emit.js";
6
6
 
@@ -255,10 +255,10 @@ const g = t(class extends r {
255
255
  }
256
256
  render() {
257
257
  return e("div", {
258
- key: "9b3eb74c84edd99af52a0ec71ba8b2fd8adbd1f2",
258
+ key: "21a303feabd0c8fc09d9cc7f0de8b9b50081a56a",
259
259
  class: this.wrapperClasses
260
260
  }, v(this), e("div", {
261
- key: "a00772502ea6c1fde5af5bf4c12f0606a629252a",
261
+ key: "58b5be24312fe523d09efe176b1ecf42b884166a",
262
262
  class: "content-container",
263
263
  ref: t => this.contentContainer = t
264
264
  }, this.renderInput(), this.maxlength ? this.renderMaxLength() : "", x(this)));
@@ -1,6 +1,6 @@
1
- import { X as a, bZ as e, b8 as t, bT as n, z as r, K as i, $ as o, b_ as s, aM as l, w as c, P as u, b$ as f, c0 as v, c1 as h, a2 as b, W as L, Y as M, E as d, aY as g, d as p, bC as y, c2 as P, a7 as m, c3 as T, bS as w, c4 as S, J as A, c5 as x, I as R, i as k, aT as j, u as C, c6 as K, a1 as O, m as W, c7 as I } from "./charting.js";
1
+ import { X as a, b$ as e, ba as t, bV as n, z as r, K as i, $ as o, c0 as s, aO as l, w as c, P as u, c1 as f, c2 as v, c3 as h, a2 as b, W as L, Y as M, E as d, a_ as g, d as p, bE as y, c4 as P, a7 as m, c5 as w, bU as A, c6 as S, J as T, c7 as x, I as R, i as k, aV as j, u as O, c8 as C, a1 as K, m as W, c9 as I } from "./charting.js";
2
2
 
3
- var N = 2 * Math.PI, Y = u.CMD, z = [ "top", "right", "bottom", "left" ];
3
+ var N = 2 * Math.PI, z = u.CMD, X = [ "top", "right", "bottom", "left" ];
4
4
 
5
5
  function getCandidateAnchor(a, e, t, n, r) {
6
6
  var i = t.width, o = t.height;
@@ -54,11 +54,11 @@ function projectPointToRect(a, e, t, n, r, i, o) {
54
54
  return Math.sqrt((c - r) * (c - r) + (u - i) * (u - i));
55
55
  }
56
56
 
57
- var X = [];
57
+ var Y = [];
58
58
 
59
59
  function nearestPointOnRect(a, e, t) {
60
- var n = projectPointToRect(e.x, e.y, e.width, e.height, a.x, a.y, X);
61
- return t.set(X[0], X[1]), n;
60
+ var n = projectPointToRect(e.x, e.y, e.width, e.height, a.x, a.y, Y);
61
+ return t.set(Y[0], Y[1]), n;
62
62
  }
63
63
 
64
64
  /**
@@ -70,54 +70,54 @@ function nearestPointOnRect(a, e, t) {
70
70
  1 === L && (s = i = u[L], l = o = u[L + 1]);
71
71
  var d = c;
72
72
  switch (M) {
73
- case Y.M:
73
+ case z.M:
74
74
  i =
75
75
  // moveTo 命令重新创建一个新的 subpath, 并且更新新的起点
76
76
  // 在 closePath 的时候使用
77
77
  s = u[L++], o = l = u[L++];
78
78
  break;
79
79
 
80
- case Y.L:
81
- d = projectPointToLine(i, o, u[L], u[L + 1], h, b, X, !0), i = u[L++], o = u[L++];
80
+ case z.L:
81
+ d = projectPointToLine(i, o, u[L], u[L + 1], h, b, Y, !0), i = u[L++], o = u[L++];
82
82
  break;
83
83
 
84
- case Y.C:
85
- d = v(i, o, u[L++], u[L++], u[L++], u[L++], u[L], u[L + 1], h, b, X), i = u[L++],
84
+ case z.C:
85
+ d = v(i, o, u[L++], u[L++], u[L++], u[L++], u[L], u[L + 1], h, b, Y), i = u[L++],
86
86
  o = u[L++];
87
87
  break;
88
88
 
89
- case Y.Q:
90
- d = f(i, o, u[L++], u[L++], u[L], u[L + 1], h, b, X), i = u[L++], o = u[L++];
89
+ case z.Q:
90
+ d = f(i, o, u[L++], u[L++], u[L], u[L + 1], h, b, Y), i = u[L++], o = u[L++];
91
91
  break;
92
92
 
93
- case Y.A:
93
+ case z.A:
94
94
  // TODO Arc 判断的开销比较大
95
- var g = u[L++], p = u[L++], y = u[L++], P = u[L++], m = u[L++], T = u[L++];
95
+ var g = u[L++], p = u[L++], y = u[L++], P = u[L++], m = u[L++], w = u[L++];
96
96
  // TODO Arc 旋转
97
97
  L += 1;
98
- var w = !!(1 - u[L++]);
98
+ var A = !!(1 - u[L++]);
99
99
  n = Math.cos(m) * y + g, r = Math.sin(m) * P + p,
100
100
  // 不是直接使用 arc 命令
101
101
  L <= 1 && (
102
102
  // 第一个命令起点还未定义
103
- s = n, l = r), d = projectPointToArc(g, p, P, m, m + T, w, (h - g) * P / y + g, b, X),
104
- i = Math.cos(m + T) * y + g, o = Math.sin(m + T) * P + p;
103
+ s = n, l = r), d = projectPointToArc(g, p, P, m, m + w, A, (h - g) * P / y + g, b, Y),
104
+ i = Math.cos(m + w) * y + g, o = Math.sin(m + w) * P + p;
105
105
  break;
106
106
 
107
- case Y.R:
108
- d = projectPointToRect(s = i = u[L++], l = o = u[L++], u[L++], u[L++], h, b, X);
107
+ case z.R:
108
+ d = projectPointToRect(s = i = u[L++], l = o = u[L++], u[L++], u[L++], h, b, Y);
109
109
  break;
110
110
 
111
- case Y.Z:
112
- d = projectPointToLine(i, o, s, l, h, b, X, !0), i = s, o = l;
111
+ case z.Z:
112
+ d = projectPointToLine(i, o, s, l, h, b, Y, !0), i = s, o = l;
113
113
  }
114
- d < c && (c = d, t.set(X[0], X[1]));
114
+ d < c && (c = d, t.set(Y[0], Y[1]));
115
115
  }
116
116
  return c;
117
117
  }
118
118
 
119
119
  // Temporal variable for intermediate usage.
120
- var D = new a, H = new a, $ = new a, E = new a, G = new a;
120
+ var D = new a, E = new a, H = new a, V = new a, $ = new a;
121
121
 
122
122
  /**
123
123
  * Calculate a proper guide line based on the label position and graphic element definition
@@ -131,20 +131,20 @@ function updateLabelLinePoints(e, t) {
131
131
  var n = e.getTextGuideLine(), r = e.getTextContent();
132
132
  // Needs to create text guide in each charts.
133
133
  if (r && n) {
134
- var i = e.textGuideLineConfig || {}, o = [ [ 0, 0 ], [ 0, 0 ], [ 0, 0 ] ], s = i.candidates || z, u = r.getBoundingRect().clone();
134
+ var i = e.textGuideLineConfig || {}, o = [ [ 0, 0 ], [ 0, 0 ], [ 0, 0 ] ], s = i.candidates || X, u = r.getBoundingRect().clone();
135
135
  u.applyTransform(r.getComputedTransform());
136
136
  var f = 1 / 0, v = i.anchor, h = e.getComputedTransform(), b = h && l([], h), L = t.get("length2") || 0;
137
- v && $.copy(v);
137
+ v && H.copy(v);
138
138
  for (var M = 0; M < s.length; M++) {
139
- getCandidateAnchor(s[M], 0, u, D, E), a.scaleAndAdd(H, D, E, L),
139
+ getCandidateAnchor(s[M], 0, u, D, V), a.scaleAndAdd(E, D, V, L),
140
140
  // Transform to target coord space.
141
- H.transform(b);
141
+ E.transform(b);
142
142
  // Note: getBoundingRect will ensure the `path` being created.
143
- var d = e.getBoundingRect(), g = v ? v.distance(H) : e instanceof c ? nearestPointOnPath(H, e.path, $) : nearestPointOnRect(H, d, $);
143
+ var d = e.getBoundingRect(), g = v ? v.distance(E) : e instanceof c ? nearestPointOnPath(E, e.path, H) : nearestPointOnRect(E, d, H);
144
144
  // TODO pt2 is in the path
145
145
  g < f && (f = g,
146
146
  // Transform back to global space.
147
- H.transform(h), $.transform(h), $.toArray(o[0]), H.toArray(o[1]), D.toArray(o[2]));
147
+ E.transform(h), H.transform(h), H.toArray(o[0]), E.toArray(o[1]), D.toArray(o[2]));
148
148
  }
149
149
  limitTurnAngle(o, t.get("minTurnAngle")), n.setShape({
150
150
  points: o
@@ -154,7 +154,7 @@ function updateLabelLinePoints(e, t) {
154
154
  }
155
155
 
156
156
  // Temporal variable for the limitTurnAngle function
157
- var J = [], Z = new a;
157
+ var G = [], J = new a;
158
158
 
159
159
  /**
160
160
  * Reduce the line segment attached to the label to limit the turn angle between two segments.
@@ -168,22 +168,22 @@ function limitTurnAngle(e, t) {
168
168
  // /pt1----pt2 (label)
169
169
  // /
170
170
  // pt0/
171
- D.fromArray(e[0]), H.fromArray(e[1]), $.fromArray(e[2]), a.sub(E, D, H), a.sub(G, $, H);
172
- var n = E.len(), r = G.len();
171
+ D.fromArray(e[0]), E.fromArray(e[1]), H.fromArray(e[2]), a.sub(V, D, E), a.sub($, H, E);
172
+ var n = V.len(), r = $.len();
173
173
  if (!(n < .001 || r < .001)) {
174
- E.scale(1 / n), G.scale(1 / r);
175
- var i = E.dot(G);
174
+ V.scale(1 / n), $.scale(1 / r);
175
+ var i = V.dot($);
176
176
  if (Math.cos(t) < i) {
177
177
  // Smaller than minTurnAngle
178
178
  // Calculate project point of pt0 on pt1-pt2
179
- var o = projectPointToLine(H.x, H.y, $.x, $.y, D.x, D.y, J, !1);
180
- Z.fromArray(J),
179
+ var o = projectPointToLine(E.x, E.y, H.x, H.y, D.x, D.y, G, !1);
180
+ J.fromArray(G),
181
181
  // Calculate new projected length with limited minTurnAngle and get the new connect point
182
- Z.scaleAndAdd(G, o / Math.tan(Math.PI - t));
182
+ J.scaleAndAdd($, o / Math.tan(Math.PI - t));
183
183
  // Limit the new calculated connect point between pt1 and pt2.
184
- var s = $.x !== H.x ? (Z.x - H.x) / ($.x - H.x) : (Z.y - H.y) / ($.y - H.y);
184
+ var s = H.x !== E.x ? (J.x - E.x) / (H.x - E.x) : (J.y - E.y) / (H.y - E.y);
185
185
  if (isNaN(s)) return;
186
- s < 0 ? a.copy(Z, H) : s > 1 && a.copy(Z, $), Z.toArray(e[1]);
186
+ s < 0 ? a.copy(J, E) : s > 1 && a.copy(J, H), J.toArray(e[1]);
187
187
  }
188
188
  }
189
189
  }
@@ -194,25 +194,25 @@ function limitTurnAngle(e, t) {
194
194
  * @param maxSurfaceAngle Radian of minimum turn angle. 0 - 180. 0 is same direction to normal. 180 is opposite
195
195
  */ function limitSurfaceAngle(e, t, n) {
196
196
  if (n <= 180 && n > 0) {
197
- n = n / 180 * Math.PI, D.fromArray(e[0]), H.fromArray(e[1]), $.fromArray(e[2]),
198
- a.sub(E, H, D), a.sub(G, $, H);
199
- var r = E.len(), i = G.len();
200
- if (!(r < .001 || i < .001)) if (E.scale(1 / r), G.scale(1 / i), E.dot(t) < Math.cos(n)) {
197
+ n = n / 180 * Math.PI, D.fromArray(e[0]), E.fromArray(e[1]), H.fromArray(e[2]),
198
+ a.sub(V, E, D), a.sub($, H, E);
199
+ var r = V.len(), i = $.len();
200
+ if (!(r < .001 || i < .001)) if (V.scale(1 / r), $.scale(1 / i), V.dot(t) < Math.cos(n)) {
201
201
  // Calculate project point of pt0 on pt1-pt2
202
- var o = projectPointToLine(H.x, H.y, $.x, $.y, D.x, D.y, J, !1);
203
- Z.fromArray(J);
204
- var s = Math.PI / 2, l = s + Math.acos(G.dot(t)) - n;
202
+ var o = projectPointToLine(E.x, E.y, H.x, H.y, D.x, D.y, G, !1);
203
+ J.fromArray(G);
204
+ var s = Math.PI / 2, l = s + Math.acos($.dot(t)) - n;
205
205
  if (l >= s)
206
206
  // parallel
207
- a.copy(Z, $); else {
207
+ a.copy(J, H); else {
208
208
  // Calculate new projected length with limited minTurnAngle and get the new connect point
209
- Z.scaleAndAdd(G, o / Math.tan(Math.PI / 2 - l));
209
+ J.scaleAndAdd($, o / Math.tan(Math.PI / 2 - l));
210
210
  // Limit the new calculated connect point between pt1 and pt2.
211
- var c = $.x !== H.x ? (Z.x - H.x) / ($.x - H.x) : (Z.y - H.y) / ($.y - H.y);
211
+ var c = H.x !== E.x ? (J.x - E.x) / (H.x - E.x) : (J.y - E.y) / (H.y - E.y);
212
212
  if (isNaN(c)) return;
213
- c < 0 ? a.copy(Z, H) : c > 1 && a.copy(Z, $);
213
+ c < 0 ? a.copy(J, E) : c > 1 && a.copy(J, H);
214
214
  }
215
- Z.toArray(e[1]);
215
+ J.toArray(e[1]);
216
216
  }
217
217
  }
218
218
  }
@@ -310,7 +310,7 @@ function prepareLayoutCallbackParams(a, e) {
310
310
  };
311
311
  }
312
312
 
313
- var _ = [ "align", "verticalAlign", "width", "height", "fontSize" ], q = new M, B = b(), F = b();
313
+ var U = [ "align", "verticalAlign", "width", "height", "fontSize" ], _ = new M, q = b(), B = b();
314
314
 
315
315
  function extendWithKeys(a, e, t) {
316
316
  for (var n = 0; n < t.length; n++) {
@@ -319,7 +319,7 @@ function extendWithKeys(a, e, t) {
319
319
  }
320
320
  }
321
321
 
322
- var Q = [ "x", "y", "rotation" ], U = /** @class */ function() {
322
+ var F = [ "x", "y", "rotation" ], Q = /** @class */ function() {
323
323
  function LabelManager() {
324
324
  this._labelList = [], this._chartViewList = [];
325
325
  }
@@ -331,9 +331,9 @@ var Q = [ "x", "y", "rotation" ], U = /** @class */ function() {
331
331
  */
332
332
  LabelManager.prototype._addLabel = function(a, e, t, n, r) {
333
333
  var i = n.style, o = n.__hostTarget.textConfig || {}, s = n.getComputedTransform(), l = n.getBoundingRect().plain();
334
- L.applyTransform(l, l, s), s ? q.setLocalTransform(s) : (
334
+ L.applyTransform(l, l, s), s ? _.setLocalTransform(s) : (
335
335
  // Identity transform.
336
- q.x = q.y = q.rotation = q.originX = q.originY = 0, q.scaleX = q.scaleY = 1), q.rotation = h(q.rotation);
336
+ _.x = _.y = _.rotation = _.originX = _.originY = 0, _.scaleX = _.scaleY = 1), _.rotation = h(_.rotation);
337
337
  var c, u = n.__hostTarget;
338
338
  if (u) {
339
339
  c = u.getBoundingRect().plain();
@@ -359,11 +359,11 @@ var Q = [ "x", "y", "rotation" ], U = /** @class */ function() {
359
359
  defaultAttr: {
360
360
  ignore: n.ignore,
361
361
  labelGuideIgnore: v && v.ignore,
362
- x: q.x,
363
- y: q.y,
364
- scaleX: q.scaleX,
365
- scaleY: q.scaleY,
366
- rotation: q.rotation,
362
+ x: _.x,
363
+ y: _.y,
364
+ scaleX: _.scaleX,
365
+ scaleY: _.scaleY,
366
+ rotation: _.rotation,
367
367
  style: {
368
368
  x: i.x,
369
369
  y: i.y,
@@ -432,10 +432,10 @@ var Q = [ "x", "y", "rotation" ], U = /** @class */ function() {
432
432
  // Not update
433
433
  u = !1);
434
434
  }
435
- B(i).needsUpdateLabelLine = u, i.rotation = null != l.rotate ? l.rotate * c : s.rotation,
435
+ q(i).needsUpdateLabelLine = u, i.rotation = null != l.rotate ? l.rotate * c : s.rotation,
436
436
  i.scaleX = s.scaleX, i.scaleY = s.scaleY;
437
- for (var v = 0; v < _.length; v++) {
438
- var h = _[v];
437
+ for (var v = 0; v < U.length; v++) {
438
+ var h = U[v];
439
439
  i.setStyle(h, null != l[h] ? l[h] : s.style[h]);
440
440
  }
441
441
  if (l.draggable) {
@@ -454,7 +454,7 @@ var Q = [ "x", "y", "rotation" ], U = /** @class */ function() {
454
454
  })), i = m(n, (function(a) {
455
455
  return "shiftY" === a.layoutOption.moveOverlap;
456
456
  }));
457
- T(r, 0, e), w(i, 0, t);
457
+ w(r, 0, e), A(i, 0, t);
458
458
  var o = m(n, (function(a) {
459
459
  return a.layoutOption.hideOverlap;
460
460
  }));
@@ -465,13 +465,13 @@ var Q = [ "x", "y", "rotation" ], U = /** @class */ function() {
465
465
  */
466
466
  LabelManager.prototype.processLabelsOverall = function() {
467
467
  var a = this;
468
- A(this._chartViewList, (function(e) {
468
+ T(this._chartViewList, (function(e) {
469
469
  var t = e.__model, n = e.ignoreLabelLineUpdate, r = t.isAnimationEnabled();
470
470
  e.group.traverse((function(e) {
471
471
  if (e.ignore && !e.forceLabelAnimation) return !0;
472
472
  // Stop traverse descendants.
473
473
  var i = !n, o = e.getTextContent();
474
- !i && o && (i = B(o).needsUpdateLabelLine), i && a._updateLabelLine(e, t), r && a._animateLabels(e, t);
474
+ !i && o && (i = q(o).needsUpdateLabelLine), i && a._updateLabelLine(e, t), r && a._animateLabels(e, t);
475
475
  }));
476
476
  }));
477
477
  }, LabelManager.prototype._updateLabelLine = function(a, e) {
@@ -493,7 +493,7 @@ var Q = [ "x", "y", "rotation" ], U = /** @class */ function() {
493
493
  var n = a.getTextContent(), r = a.getTextGuideLine();
494
494
  // Animate
495
495
  if (n && (a.forceLabelAnimation || !n.ignore && !n.invisible && !a.disableLabelAnimation && !x(a))) {
496
- var i = (b = B(n)).oldLayout, o = p(a), s = o.dataIndex, l = {
496
+ var i = (b = q(n)).oldLayout, o = p(a), s = o.dataIndex, l = {
497
497
  x: n.x,
498
498
  y: n.y,
499
499
  rotation: n.rotation
@@ -503,7 +503,7 @@ var Q = [ "x", "y", "rotation" ], U = /** @class */ function() {
503
503
  // Make sure the animation from is in the right status.
504
504
  var u = a.prevStates;
505
505
  u && (j(u, "select") >= 0 && n.attr(b.oldLayoutSelect), j(u, "emphasis") >= 0 && n.attr(b.oldLayoutEmphasis)),
506
- C(n, l, e, s);
506
+ O(n, l, e, s);
507
507
  } else
508
508
  // Disable fade in animation if value animation is enabled.
509
509
  if (n.attr(l), !R(n).valueAnimation) {
@@ -517,22 +517,22 @@ var Q = [ "x", "y", "rotation" ], U = /** @class */ function() {
517
517
  }
518
518
  if (b.oldLayout = l, n.states.select) {
519
519
  var v = b.oldLayoutSelect = {};
520
- extendWithKeys(v, l, Q), extendWithKeys(v, n.states.select, Q);
520
+ extendWithKeys(v, l, F), extendWithKeys(v, n.states.select, F);
521
521
  }
522
522
  if (n.states.emphasis) {
523
523
  var h = b.oldLayoutEmphasis = {};
524
- extendWithKeys(h, l, Q), extendWithKeys(h, n.states.emphasis, Q);
524
+ extendWithKeys(h, l, F), extendWithKeys(h, n.states.emphasis, F);
525
525
  }
526
- K(n, s, c, e, e);
526
+ C(n, s, c, e, e);
527
527
  }
528
528
  if (r && !r.ignore && !r.invisible) {
529
- i = (b = F(r)).oldLayout;
529
+ i = (b = B(r)).oldLayout;
530
530
  var b, L = {
531
531
  points: r.shape.points
532
532
  };
533
533
  i ? (r.attr({
534
534
  shape: i
535
- }), C(r, {
535
+ }), O(r, {
536
536
  shape: L
537
537
  }, e)) : (r.setShape(L), r.style.strokePercent = 0, k(r, {
538
538
  style: {
@@ -541,15 +541,15 @@ var Q = [ "x", "y", "rotation" ], U = /** @class */ function() {
541
541
  }, e)), b.oldLayout = L;
542
542
  }
543
543
  }, LabelManager;
544
- }(), V = b();
544
+ }(), Z = b();
545
545
 
546
546
  function installLabelLayout(a) {
547
547
  a.registerUpdateLifecycle("series:beforeupdate", (function(a, e, t) {
548
548
  // TODO api provide an namespace that can save stuff per instance
549
- var n = V(e).labelManager;
550
- n || (n = V(e).labelManager = new U), n.clearLabels();
549
+ var n = Z(e).labelManager;
550
+ n || (n = Z(e).labelManager = new Q), n.clearLabels();
551
551
  })), a.registerUpdateLifecycle("series:layoutlabels", (function(a, e, t) {
552
- var n = V(e).labelManager;
552
+ var n = Z(e).labelManager;
553
553
  t.updatedSeries.forEach((function(a) {
554
554
  n.addLabelsOfSeries(e.getViewOfSeriesModel(a));
555
555
  })), n.updateLayoutConfig(e), n.layout(e), n.processLabelsOverall();
@@ -561,7 +561,7 @@ function getSectorCornerRadius(a, e, t) {
561
561
  if (null == n) return t ? {
562
562
  cornerRadius: 0
563
563
  } : null;
564
- O(n) || (n = [ n, n, n, n ]);
564
+ K(n) || (n = [ n, n, n, n ]);
565
565
  var r = Math.abs(e.r || 0 - e.r0 || 0);
566
566
  return {
567
567
  cornerRadius: W(n, (function(a) {
@@ -1,6 +1,6 @@
1
- import { proxyCustomElement as e, HTMLElement as t, createEvent as i, h as n, transformTag as o } from "@stencil/core/internal/client";
1
+ import { proxyCustomElement as e, HTMLElement as t, createEvent as i, h as n, transformTag as a } from "@stencil/core/internal/client";
2
2
 
3
- const a = e(class extends t {
3
+ const o = e(class extends t {
4
4
  constructor(e) {
5
5
  super(), !1 !== e && this.__registerHost(), this.__attachShadow(), this.badge = i(this, "badge", 7),
6
6
  this.onIFrameLoad = e => {
@@ -42,7 +42,7 @@ const a = e(class extends t {
42
42
  // #region Render Methods
43
43
  render() {
44
44
  return n("div", {
45
- key: "6c0524ab1981900cc7a37803fd9426c6397049c4",
45
+ key: "b55643965ef49af2e41a683686db00b97e1c90b7",
46
46
  id: `tab-pane-${this.guid}-${this.index}`,
47
47
  class: "tab-pane" + (this.selected ? "" : " hidden"),
48
48
  role: "tabpanel",
@@ -50,12 +50,12 @@ const a = e(class extends t {
50
50
  "aria-hidden": "" + !this.selected,
51
51
  "aria-labelledby": `tab-${this.guid}-${this.index}`
52
52
  }, this.selected && void 0 !== this.provided && !this.provided && n("div", {
53
- key: "10cc2712e1ccefa6a9bb3b657830636da4d81980"
53
+ key: "f04f1594eba66d962d9adbab48bf3559f658c650"
54
54
  }, n("slot", {
55
- key: "cde7112d4035c6f118e9c50b0fe5d9d91c70ee7d",
55
+ key: "08804102412a6b57ac9b9db2002d1608f8b22c19",
56
56
  name: "loading-wrapper"
57
57
  }), n("iframe", {
58
- key: "851972991feb3b8f6c7f569e92ff2e624d94e221",
58
+ key: "a2524435de8072fb27ebdcc9762a1f20367df098",
59
59
  hidden: !0,
60
60
  name: this.moduleId,
61
61
  scrolling: "no",
@@ -78,11 +78,11 @@ const a = e(class extends t {
78
78
  value: e.value,
79
79
  name: e.key
80
80
  })))) : ""), n("div", {
81
- key: "741c6f2c89dc15493f165428929f589425aa4d75",
81
+ key: "59e9d5ddbabadb0e66615d998403d267c259f937",
82
82
  class: "slot-wrapper",
83
83
  hidden: this.selected && void 0 !== this.provided && !this.provided
84
84
  }, n("slot", {
85
- key: "17100ec2dc0ea2d1e27628d36e9e6e1139f293a9"
85
+ key: "450c5724cf32ba05a2fc93b8adeba83b08e871e4"
86
86
  })));
87
87
  }
88
88
  get hostElement() {
@@ -146,10 +146,10 @@ const a = e(class extends t {
146
146
  } ]
147
147
  } ]);
148
148
 
149
- const s = a, defineCustomElement = function() {
149
+ const s = o, defineCustomElement = function() {
150
150
  if ("undefined" == typeof customElements) return;
151
151
  [ "tecton-tab-pane" ].forEach((e => {
152
- if ("tecton-tab-pane" === e) customElements.get(o(e)) || customElements.define(o(e), a);
152
+ if ("tecton-tab-pane" === e) customElements.get(a(e)) || customElements.define(a(e), o);
153
153
  }));
154
154
  };
155
155