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
@@ -0,0 +1,153 @@
1
+ import { d as e } from "./index-O1A-ZSZs.js";
2
+
3
+ import { l as t } from "./index-CP8pXJ-l.js";
4
+
5
+ const a = "MM/DD/YYYY", n = [ a, "DD/MM/YYYY", "MM-DD-YYYY", "DD-MM-YYYY", "YYYY-MM-DD" ], r = {
6
+ "Choose a date": "tecton.element.datePicker.calendarLabel",
7
+ "Dates are shown in your local time zone.": "tecton.element.datePicker.disclaimer.localTimeZone"
8
+ }, o = /^\d{4}-\d{2}-\d{2}$/, s = /^(\d{4})-(\d{1,2})-(\d{1,2})(?:T.*)?$/, i = /^(\d{1,2})\/(\d{1,2})\/(\d{2}|\d{4})$/;
9
+
10
+ /** Determines a year for a month and day when typeable input omits the year. */
11
+ function buildInputDate(t, a) {
12
+ const [n, r, o] = t.split("/");
13
+ if (!n) return;
14
+ if (!r) return new Date((new Date).getFullYear(), Number(n) - 1, 1);
15
+ if (Number(r) <= 0) return;
16
+ const s = 4 === (null == o ? void 0 : o.length) ? Number(o) : Number(function(e, t, a) {
17
+ const n = `${e.padStart(2, "0")}/${t.padStart(2, "0")}`, r = new Date, o = `${r.getMonth() + 1}`.padStart(2, "0") + `/${r.getDate()}`.padStart(2, "0");
18
+ let s = r.getFullYear();
19
+ "future" === a && o > n && s++;
20
+ "past" === a && o < n && s--;
21
+ return `${s}`;
22
+ }(n, r, a)), i = new Date(s, Number(n) - 1, Number(r));
23
+ return e.isValid(i) ? i : void 0;
24
+ }
25
+
26
+ /** Formats a valid date as an ISO calendar date. */ function formatDateISO(t) {
27
+ if (e.isValid(t)) return e.formatISO(t, {
28
+ representation: "date"
29
+ });
30
+ }
31
+
32
+ /** Formats a date for an accessible day label. */ function formatDateFull(t) {
33
+ if (e.isValid(t)) return new Intl.DateTimeFormat("en-US", {
34
+ month: "long",
35
+ day: "numeric",
36
+ year: "numeric",
37
+ weekday: "long",
38
+ timeZone: Intl.DateTimeFormat().resolvedOptions().timeZone
39
+ }).format(t);
40
+ }
41
+
42
+ /** Returns localized abbreviated day names beginning with Sunday. */ function getDays() {
43
+ return [ t("tecton.element.calendar.days.short.Sunday"), t("tecton.element.calendar.days.short.Monday"), t("tecton.element.calendar.days.short.Tuesday"), t("tecton.element.calendar.days.short.Wednesday"), t("tecton.element.calendar.days.short.Thursday"), t("tecton.element.calendar.days.short.Friday"), t("tecton.element.calendar.days.short.Saturday") ];
44
+ }
45
+
46
+ /** Returns localized full day names beginning with Sunday. */ function getDaysOfWeek() {
47
+ return [ t("tecton.element.calendar.days.Sunday"), t("tecton.element.calendar.days.Monday"), t("tecton.element.calendar.days.Tuesday"), t("tecton.element.calendar.days.Wednesday"), t("tecton.element.calendar.days.Thursday"), t("tecton.element.calendar.days.Friday"), t("tecton.element.calendar.days.Saturday") ];
48
+ }
49
+
50
+ /** Parses the date picker's public ISO-only value contract. */ function parseDatePickerValue(e) {
51
+ if (!e || !o.test(e)) return;
52
+ const [t, a, n] = e.split("-").map(Number);
53
+ return dateFromParts(t, a, n);
54
+ }
55
+
56
+ /** Normalizes a legacy string or Moment-like value for the date picker's ISO-only calendar. */ function normalizeDatePickerValue(t) {
57
+ if (!t) return;
58
+ let a;
59
+ if (t instanceof Date) a = t; else if (function(e) {
60
+ return "string" != typeof e && "function" == typeof (null == e ? void 0 : e.toDate);
61
+ }
62
+ /** Formats a date using one of the date picker's supported numeric display formats. */ (t)) try {
63
+ a = t.toDate();
64
+ } catch (e) {
65
+ return;
66
+ } else {
67
+ const n = t.trim();
68
+ if (!n) return;
69
+ if (a = parseDatePickerValue(n), !a) {
70
+ const t = n.match(s), r = n.match(i);
71
+ if (t) a = dateFromParts(Number(t[1]), Number(t[2]), Number(t[3])); else if (r) {
72
+ const e = Number(r[3]);
73
+ a = dateFromParts(e < 100 ? (e >= 69 ? 1900 : 2e3) + e : e, Number(r[1]), Number(r[2]));
74
+ } else {
75
+ const t = new Date(n);
76
+ a = e.isValid(t) ? dateFromParts(t.getFullYear(), t.getMonth() + 1, t.getDate()) : void 0;
77
+ }
78
+ }
79
+ }
80
+ return formatDateISO(a);
81
+ }
82
+
83
+ /** Returns the month and year used to initialize the date picker grid. */ function setupMonthYear(e = new Date) {
84
+ return {
85
+ monthIndex: e.getMonth(),
86
+ selectedYear: e.getFullYear()
87
+ };
88
+ }
89
+
90
+ /** Returns the enabled day indexes represented by a calendar checksum. */
91
+ /** Determines whether a date is present in a whitelist. */
92
+ function validateAgainstWhitelist(t, a) {
93
+ return t.some((t => e.isSameDay(t, a)));
94
+ }
95
+
96
+ function parseDatePickerValues(e) {
97
+ return (e || []).map(parseDatePickerValue).filter((e => !!e));
98
+ }
99
+
100
+ function dateFromParts(e, t, a) {
101
+ const n = new Date(0);
102
+ if (n.setFullYear(e, t - 1, a), n.setHours(0, 0, 0, 0), n.getFullYear() === e && n.getMonth() === t - 1 && n.getDate() === a) return n;
103
+ }
104
+
105
+ function formatDisplayDate(e, t) {
106
+ const a = t.includes("-") ? "-" : "/", n = `${e.getMonth() + 1}`.padStart(2, "0"), r = `${e.getDate()}`.padStart(2, "0"), o = `${e.getFullYear()}`;
107
+ return (t.startsWith("YYYY") ? [ o, n, r ] : t.startsWith("DD") ? [ r, n, o ] : [ n, r, o ]).join(a);
108
+ }
109
+
110
+ /** Formats a date using the legacy Moment-style tokens accepted by q2-calendar. */ function formatLegacyDisplayDate(t, a) {
111
+ const n = a.replace(/[d]/g, "E").replace(/[D]/g, "d").replace(/[Y]/g, "y").replace(/[l]/g, "P").replace(/[W]/g, "I");
112
+ return e.format(t, n);
113
+ }
114
+
115
+ /** Determines whether a date satisfies every configured selection constraint. */ function isDateSelectable(t, a) {
116
+ const n = new Date(a.cutoffTime || ""), r =
117
+ /** Determines whether a date satisfies the configured bounds and cutoff. */
118
+ function(t, a, n) {
119
+ const r = e.isAfter(null == t ? void 0 : t.startDate, n), o = e.isBefore(null == t ? void 0 : t.endDate, n), s = e.isSameDay(a, n) && e.isAfter(a, null == t ? void 0 : t.cutOffTime);
120
+ return !(r || s || o);
121
+ }
122
+ /** Determines whether a date's weekday is enabled. */ ({
123
+ startDate: parseDatePickerValue(a.startDate),
124
+ endDate: parseDatePickerValue(a.endDate),
125
+ cutOffTime: e.isValid(n) ? n : void 0
126
+ }, new Date, t), o = parseDatePickerValues(a.validDates), s = (null == o ? void 0 : o.length) ? validateAgainstWhitelist(o, t) : function(e, t) {
127
+ return e.includes(t.getDay());
128
+ }
129
+ /** Determines whether a date is absent from a blacklist. */ (function(e = 127) {
130
+ const t = [];
131
+ for (let a = 0; a < 7; a++) e & 1 << a && t.push(a);
132
+ return e > 0 ? t : [];
133
+ }(a.daysOfWeekChecksum), t);
134
+ return r && s && function(e, t) {
135
+ return !validateAgainstWhitelist(e, t);
136
+ }(parseDatePickerValues(a.invalidDates), t);
137
+ }
138
+
139
+ /** Determines whether every date in an inclusive range is selectable. */ function isRangeSelectable(t, a, n) {
140
+ for (let r = t; r.getTime() <= a.getTime(); r = e.addDays(r, 1)) if (!isDateSelectable(r, n)) return !1;
141
+ return !0;
142
+ }
143
+
144
+ /** Resolves a date-picker localization key or mapped default string. */ function localizeDatePickerString(e, a = {}) {
145
+ return e ? t(r[e] || e, a) : "";
146
+ }
147
+
148
+ /** Returns a supported display format, falling back to the date-picker default. */ function normalizeDisplayFormat(e) {
149
+ const t = null == e ? void 0 : e.toUpperCase();
150
+ return n.includes(t) ? t : a;
151
+ }
152
+
153
+ export { getDaysOfWeek as a, formatDisplayDate as b, isRangeSelectable as c, formatDateFull as d, normalizeDatePickerValue as e, formatDateISO as f, getDays as g, formatLegacyDisplayDate as h, isDateSelectable as i, buildInputDate as j, localizeDatePickerString as l, normalizeDisplayFormat as n, parseDatePickerValue as p, setupMonthYear as s }
@@ -170,7 +170,7 @@ function renderLabel(n) {
170
170
  }
171
171
 
172
172
  function hasSlotContent(e, n) {
173
- return null !== e.querySelector(`[slot="${n}"]`);
173
+ return Array.from(e.children).some((e => e.getAttribute("slot") === n));
174
174
  }
175
175
 
176
176
  function handleAriaLabel(e) {
@@ -248,7 +248,7 @@ const resizeIframe = () => {
248
248
  var e, n;
249
249
  return null === (n = null === (e = window.TectonElements) || void 0 === e ? void 0 : e.resizeIframe) || void 0 === n ? void 0 : n.call(e);
250
250
  }, handleColor = e => {
251
- !e.intent && [ "primary", "secondary" ].includes(e.color) && (e.intent = `workflow-${e.color}`,
251
+ !e.intent && [ "primary", "secondary" ].includes(e.color) && (e.intent = e.color,
252
252
  e.color = void 0);
253
253
  }, getAllText = async (e, n = {}) => {
254
254
  if (!e) return "";
@@ -1,8 +1,8 @@
1
- import { r as t, h as i, g as n, c as o } from "./index-Cqkz7Bnm.js";
1
+ import { r as t, h as i, g as o } from "./index-Cqkz7Bnm.js";
2
2
 
3
- import { n as e } from "./index-Cps4jSQM.js";
3
+ import { n } from "./index-CP8pXJ-l.js";
4
4
 
5
- const r = class {
5
+ const e = class {
6
6
  constructor(i) {
7
7
  t(this, i),
8
8
  // #endregion
@@ -30,23 +30,23 @@ const r = class {
30
30
  // get the elements of the hostElement
31
31
  if (!i.length) return;
32
32
  // Remove all elements that are not approved Tecton components
33
- const n = [ "Q2-BTN", "Q2-LINK", "Q2-DROPDOWN", "Q2-TOOLTIP" ];
34
- let o = this.flattenElements(i).filter((t => {
33
+ const o = [ "Q2-BTN", "Q2-LINK", "Q2-DROPDOWN", "Q2-TOOLTIP" ];
34
+ let n = this.flattenElements(i).filter((t => {
35
35
  // Handle Q2-TOOLTIP validation
36
36
  if ("Q2-TOOLTIP" === t.tagName) return 1 !== t.children.length ? (console.warn("Q2-ACTION-GROUP: Q2-TOOLTIP is only allowed a single child inside Q2-ACTION-GROUP."),
37
37
  t.remove(), !1) : !(t.children[0] && ![ "Q2-BTN", "Q2-LINK" ].includes(t.children[0].tagName)) || (console.warn("Q2-ACTION-GROUP: Q2-TOOLTIP is only allowed to have a Q2-BTN or a Q2-LINK inside Q2-ACTION-GROUP."),
38
38
  t.remove(), !1);
39
- const i = n.includes(t.tagName);
39
+ const i = o.includes(t.tagName);
40
40
  return i || t.remove(), i;
41
41
  }));
42
42
  // Filter out non-coined buttons if coin exists
43
- this.hasCoin(o) && (o = o.filter((t => {
44
- let i = t.tagName, n = t.getAttribute("intent");
45
- return "Q2-TOOLTIP" === t.tagName && (i = t.children[0].tagName, n = t.children[0].getAttribute("intent")),
46
- "Q2-BTN" === i && "coin" === n || (t.remove(), !1);
43
+ this.hasCoin(n) && (n = n.filter((t => {
44
+ let i = t.tagName, o = t.getAttribute("intent");
45
+ return "Q2-TOOLTIP" === t.tagName && (i = t.children[0].tagName, o = t.children[0].getAttribute("intent")),
46
+ "Q2-BTN" === i && "coin" === o || (t.remove(), !1);
47
47
  })));
48
- "vertical" === t && !this.hasBtnOnly(o) && (console.warn('Q2-ACTION-GROUP: "Vertical" orientation is supported only for Q2-BTN (not coin intent), otherwise orientation will be set to "horizontal".'),
49
- this.orientation = "horizontal"), this.slottedElements = o;
48
+ "vertical" === t && !this.hasBtnOnly(n) && (console.warn('Q2-ACTION-GROUP: "Vertical" orientation is supported only for Q2-BTN (not coin intent), otherwise orientation will be set to "horizontal".'),
49
+ this.orientation = "horizontal"), this.slottedElements = n;
50
50
  }, this.flattenElements = t => {
51
51
  const i = [];
52
52
  return t.forEach((t => {
@@ -59,15 +59,15 @@ const r = class {
59
59
  } else i.push(t);
60
60
  })), i;
61
61
  }, this.handleResize = t => {
62
- const i = t.detail.entries[0].contentRect.width, n = this.orientationThreshold > i;
63
- this.autoOrientation = n ? "vertical" : "horizontal";
62
+ const i = t.detail.entries[0].contentRect.width, o = this.orientationThreshold > i;
63
+ this.autoOrientation = o ? "vertical" : "horizontal";
64
64
  }, this.handleSeparator = () => {
65
65
  const t = this.slottedElements.filter((t => {
66
66
  let i = t.tagName;
67
67
  return "Q2-TOOLTIP" === t.tagName && (i = t.children[0].tagName), [ "Q2-LINK", "Q2-DROPDOWN" ].includes(i);
68
68
  }));
69
- t.forEach(((i, n) => {
70
- i.classList.remove("is-last-action"), n === t.length - 1 && i.classList.add("is-last-action");
69
+ t.forEach(((i, o) => {
70
+ i.classList.remove("is-last-action"), o === t.length - 1 && i.classList.add("is-last-action");
71
71
  }));
72
72
  }, this.initMutationObserver = () => {
73
73
  if (!("MutationObserver" in window)) return;
@@ -100,7 +100,7 @@ const r = class {
100
100
  const {container: t} = this;
101
101
  t && (t.style.display = "none",
102
102
  // Fixes Safari not making the buttons fill the container when going from horizontal and full-width to vertical
103
- e((() => e((() => {
103
+ n((() => n((() => {
104
104
  t.style.display = null, this.filterSlottedElements();
105
105
  })))));
106
106
  }
@@ -117,35 +117,35 @@ const r = class {
117
117
  }
118
118
  handleFullWidth(t) {
119
119
  this.slottedElements.forEach((i => {
120
- const n = "Q2-TOOLTIP" === i.tagName ? i.children[0] : i;
121
- [ "Q2-LINK", "Q2-DROPDOWN" ].includes(n.tagName) && (t ? n.setAttribute("full-width", "") : n.removeAttribute("full-width"));
120
+ const o = "Q2-TOOLTIP" === i.tagName ? i.children[0] : i;
121
+ [ "Q2-LINK", "Q2-DROPDOWN" ].includes(o.tagName) && (t ? o.setAttribute("full-width", "") : o.removeAttribute("full-width"));
122
122
  }));
123
123
  }
124
124
  hasBtnOnly(t) {
125
125
  return t.every((t => {
126
- let i = t.tagName, n = t.getAttribute("intent");
127
- return "Q2-TOOLTIP" === t.tagName && (i = t.children[0].tagName, n = t.children[0].getAttribute("intent")),
128
- "Q2-BTN" === i && "coin" !== n;
126
+ let i = t.tagName, o = t.getAttribute("intent");
127
+ return "Q2-TOOLTIP" === t.tagName && (i = t.children[0].tagName, o = t.children[0].getAttribute("intent")),
128
+ "Q2-BTN" === i && "coin" !== o;
129
129
  }));
130
130
  }
131
131
  hasCoin(t) {
132
132
  return t.find((t => {
133
- let i = t.tagName, n = t.getAttribute("intent");
134
- return "Q2-TOOLTIP" === t.tagName && (i = t.children[0].tagName, n = t.children[0].getAttribute("intent")),
135
- "Q2-BTN" === i && "coin" === n;
133
+ let i = t.tagName, o = t.getAttribute("intent");
134
+ return "Q2-TOOLTIP" === t.tagName && (i = t.children[0].tagName, o = t.children[0].getAttribute("intent")),
135
+ "Q2-BTN" === i && "coin" === o;
136
136
  }));
137
137
  }
138
138
  // #endregion
139
139
  // #region Render Methods
140
140
  render() {
141
- const {shouldDisableResizeObserver: t, computedOrientation: n, fullWidth: o, slottedElements: e} = this, r = [ "container" ];
142
- return o && "horizontal" === n && r.push("full-width"), r.push(n), e.forEach((t => {
143
- let i = t.tagName.toLowerCase(), n = t.getAttribute("intent");
144
- "q2-tooltip" === i && (i = t.children[0].tagName.toLowerCase(), n = t.children[0].getAttribute("intent"),
141
+ const {shouldDisableResizeObserver: t, computedOrientation: o, fullWidth: n, slottedElements: e} = this, r = [ "container" ];
142
+ return n && "horizontal" === o && r.push("full-width"), r.push(o), e.forEach((t => {
143
+ let i = t.tagName.toLowerCase(), o = t.getAttribute("intent");
144
+ "q2-tooltip" === i && (i = t.children[0].tagName.toLowerCase(), o = t.children[0].getAttribute("intent"),
145
145
  r.includes("has-q2-tooltip") || r.push("has-q2-tooltip"));
146
- const o = `has-${i}${"q2-btn" === i && "coin" === n ? "-coin" : ""}`;
147
- r.includes(o) || r.push(o);
148
- })), this.handleFullWidth(!!o), i("q2-resize-observer", {
146
+ const n = `has-${i}${"q2-btn" === i && "coin" === o ? "-coin" : ""}`;
147
+ r.includes(n) || r.push(n);
148
+ })), this.handleFullWidth(!!n), i("q2-resize-observer", {
149
149
  key: "90c4038fda5346ea144fbe3bc2c5b77ab7e883cc",
150
150
  onTctResize: this.handleResize,
151
151
  disabled: t
@@ -159,7 +159,7 @@ const r = class {
159
159
  })));
160
160
  }
161
161
  get hostElement() {
162
- return n(this);
162
+ return o(this);
163
163
  }
164
164
  static get watchers() {
165
165
  return {
@@ -170,84 +170,6 @@ const r = class {
170
170
  }
171
171
  };
172
172
 
173
- r.style = '*{box-sizing:border-box}*:active{outline:none}*:focus-visible{outline:none;box-shadow:var(--const-double-focus-ring, 0 0 0 2px #ffffff, 0 0 0 4px #0066cc)}:host{box-shadow:none !important}::-moz-focus-inner{border:none}input,textarea,button{font-family:inherit;font-size:inherit;font-stretch:inherit}:host(.sr),:host(.sr) button{border:0;clip:rect(0 0 0 0);height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute;width:1px;white-space:nowrap}.sr,.sr button{border:0;clip:rect(0 0 0 0);height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute;width:1px;white-space:nowrap}.hidden{display:none}:host([hidden]){display:none}.invisible{visibility:hidden}@container style(--t-prefers-motion: "reduced"){*,*::before,*::after{animation-duration:0.01ms !important;transition-duration:0.01ms !important;animation-delay:0ms !important;transition-delay:0ms !important}}@container (not style(--t-prefers-motion: "normal")) and (not style(--t-prefers-motion: "reduced")){@media (prefers-reduced-motion: reduce){*,*::before,*::after{animation-duration:0.01ms !important;transition-duration:0.01ms !important;animation-delay:0ms !important;transition-delay:0ms !important}}}:host(:not([hidden])){display:block;width:100%;--comp-default-action-group-margin:var(--app-scale-5x, 25px) 0;margin:var(--tct-action-group-margin, var(--comp-default-action-group-margin))}.container{--comp-default-action-group-gap:var(--tct-action-group-gap, var(--app-scale-2x, 10px));--comp-link-gap:var(--tct-action-group-gap, var(--app-scale-4x, 20px));--tct-btn-icon-height:30px;width:100%;display:flex;gap:var(--comp-default-action-group-gap)}.container.has-q2-link{gap:var(--comp-link-gap)}.container.has-q2-btn-coin{column-gap:var(--tct-action-group-coin-column-gap, var(--app-scale-1x, 5px));row-gap:var(--tct-action-group-coin-row-gap, var(--app-scale-5x, 25px))}.container.vertical{flex-direction:var(--tct-action-group-vertical-flex-direction, column)}.container.vertical ::slotted(q2-btn){display:block;width:100%}.container.horizontal{justify-content:var(--tct-action-group-horizontal-justify-content, flex-start);flex-direction:var(--tct-action-group-horizontal-flex-direction, row-reverse);align-items:var(--tct-action-group-horizontal-align-items, center);flex-wrap:var(--tct-action-group-horizontal-flex-wrap, wrap)}.container.horizontal.full-width{--tct-action-group-horizontal-justify-content:space-around;flex-wrap:nowrap}.container.horizontal.has-q2-btn-coin{justify-content:var(--tct-action-group-coin-horizontal-justify-content, center);flex-direction:var(--tct-action-group-horizontal-flex-direction, row)}.container.horizontal ::slotted(:not(q2-btn)){position:relative}.container.horizontal ::slotted(:not(q2-btn):not(.is-last-action))::before{content:"";display:inline-block;width:0;height:var(--tct-action-group-separator-height, 20px);border-left:1px solid var(--tct-action-group-separator-color, var(--t-gray-12, #d9d9d9));position:absolute;left:calc(var(--comp-link-gap) * -0.5);top:50%;transform:translateY(-50%)}.container.vertical ::slotted(q2-btn),.container.horizontal.full-width ::slotted(q2-btn){display:block;width:100%}:host([full-width]:not([full-width=false])) .container{justify-content:space-evenly}';
173
+ e.style = '*{box-sizing:border-box}*:active{outline:none}*:focus-visible{outline:none;box-shadow:var(--const-double-focus-ring, 0 0 0 2px #ffffff, 0 0 0 4px #0066cc)}:host{box-shadow:none !important}::-moz-focus-inner{border:none}input,textarea,button{font-family:inherit;font-size:inherit;font-stretch:inherit}:host(.sr),:host(.sr) button{border:0;clip:rect(0 0 0 0);height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute;width:1px;white-space:nowrap}.sr,.sr button{border:0;clip:rect(0 0 0 0);height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute;width:1px;white-space:nowrap}.hidden{display:none}:host([hidden]){display:none}.invisible{visibility:hidden}@container style(--t-prefers-motion: "reduced"){*,*::before,*::after{animation-duration:0.01ms !important;transition-duration:0.01ms !important;animation-delay:0ms !important;transition-delay:0ms !important}}@container (not style(--t-prefers-motion: "normal")) and (not style(--t-prefers-motion: "reduced")){@media (prefers-reduced-motion: reduce){*,*::before,*::after{animation-duration:0.01ms !important;transition-duration:0.01ms !important;animation-delay:0ms !important;transition-delay:0ms !important}}}:host(:not([hidden])){display:block;width:100%;--comp-default-action-group-margin:var(--app-scale-5x, 25px) 0;margin:var(--tct-action-group-margin, var(--comp-default-action-group-margin))}.container{--comp-default-action-group-gap:var(--tct-action-group-gap, var(--app-scale-2x, 10px));--comp-link-gap:var(--tct-action-group-gap, var(--app-scale-4x, 20px));--tct-btn-icon-height:30px;width:100%;display:flex;gap:var(--comp-default-action-group-gap)}.container.has-q2-link{gap:var(--comp-link-gap)}.container.has-q2-btn-coin{column-gap:var(--tct-action-group-coin-column-gap, var(--app-scale-1x, 5px));row-gap:var(--tct-action-group-coin-row-gap, var(--app-scale-5x, 25px))}.container.vertical{flex-direction:var(--tct-action-group-vertical-flex-direction, column)}.container.vertical ::slotted(q2-btn){display:block;width:100%}.container.horizontal{justify-content:var(--tct-action-group-horizontal-justify-content, flex-start);flex-direction:var(--tct-action-group-horizontal-flex-direction, row-reverse);align-items:var(--tct-action-group-horizontal-align-items, center);flex-wrap:var(--tct-action-group-horizontal-flex-wrap, wrap)}.container.horizontal.full-width{--tct-action-group-horizontal-justify-content:space-around;flex-wrap:nowrap}.container.horizontal.has-q2-btn-coin{justify-content:var(--tct-action-group-coin-horizontal-justify-content, center);flex-direction:var(--tct-action-group-horizontal-flex-direction, row)}.container.horizontal ::slotted(:not(q2-btn)){position:relative}.container.horizontal ::slotted(:not(q2-btn):not(.is-last-action))::before{content:"";display:inline-block;width:0;height:var(--tct-action-group-separator-height, 20px);border-left:1px solid var(--tct-action-group-separator-color, var(--t-gray-12, #d9d9d9));position:absolute;left:calc(var(--comp-link-gap) * -0.5);top:50%;transform:translateY(-50%)}.container.vertical ::slotted(q2-btn),.container.horizontal.full-width ::slotted(q2-btn){display:block;width:100%}:host([full-width]:not([full-width=false])) .container{justify-content:space-evenly}';
174
174
 
175
- const a = class {
176
- constructor(i) {
177
- t(this, i), this.tctResize = o(this, "tctResize", 7), this.observedElements = [],
178
- // #endregion
179
- // #region Local Methods
180
- this.handleSlotChange = () => {
181
- this.disabled || this.startObserver();
182
- };
183
- }
184
- // #endregion
185
- // #region Component Lifecycle Events
186
- disconnectedCallback() {
187
- this.stopObserver(), this.resizeObserver = null;
188
- }
189
- componentDidLoad() {
190
- "undefined" != typeof ResizeObserver ? this.resizeObserver = new ResizeObserver((t => {
191
- this.tctResize.emit({
192
- entries: t
193
- }), this.currentResizeObserverEntries = t;
194
- })) : console.warn("ResizeObserver is not defined."), this.disabled || this.startObserver();
195
- }
196
- // #endregion
197
- // #region Public Methods API
198
- /**
199
- * Returns the latest entries reported by the component.
200
- */
201
- async getCurrentResizeEntries() {
202
- return this.currentResizeObserverEntries || [];
203
- }
204
- // #endregion
205
- // #region Watchers
206
- disabledUpdated(t) {
207
- t ? this.stopObserver() : this.startObserver();
208
- }
209
- startObserver() {
210
- var t, i, n;
211
- const o = this.hostElement.shadowRoot.querySelector("slot");
212
- if (null === o) return;
213
- const e = null !== (i = null === (t = o.assignedElements) || void 0 === t ? void 0 : t.call(o, {
214
- flatten: !0
215
- })) && void 0 !== i ? i : [];
216
- // Unwatch previous elements
217
- null === (n = this.observedElements) || void 0 === n || n.forEach((t => {
218
- var i;
219
- return null === (i = this.resizeObserver) || void 0 === i ? void 0 : i.unobserve(t);
220
- })), this.observedElements = [],
221
- // Watch new elements
222
- e.forEach((t => {
223
- var i;
224
- null === (i = this.resizeObserver) || void 0 === i || i.observe(t), this.observedElements.push(t);
225
- }));
226
- }
227
- stopObserver() {
228
- var t;
229
- null === (t = this.resizeObserver) || void 0 === t || t.disconnect();
230
- }
231
- // #endregion
232
- // #region Render Methods
233
- render() {
234
- return i("slot", {
235
- key: "f5cc2cee6e979f047d3854d243ec3560ae5cb35d",
236
- onSlotchange: this.handleSlotChange
237
- });
238
- }
239
- get hostElement() {
240
- return n(this);
241
- }
242
- static get watchers() {
243
- return {
244
- disabled: [ {
245
- disabledUpdated: 0
246
- } ]
247
- };
248
- }
249
- };
250
-
251
- a.style = '*{box-sizing:border-box}*:active{outline:none}*:focus-visible{outline:none;box-shadow:var(--const-double-focus-ring, 0 0 0 2px #ffffff, 0 0 0 4px #0066cc)}:host{box-shadow:none !important}::-moz-focus-inner{border:none}input,textarea,button{font-family:inherit;font-size:inherit;font-stretch:inherit}:host(.sr),:host(.sr) button{border:0;clip:rect(0 0 0 0);height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute;width:1px;white-space:nowrap}.sr,.sr button{border:0;clip:rect(0 0 0 0);height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute;width:1px;white-space:nowrap}.hidden{display:none}:host([hidden]){display:none}.invisible{visibility:hidden}@container style(--t-prefers-motion: "reduced"){*,*::before,*::after{animation-duration:0.01ms !important;transition-duration:0.01ms !important;animation-delay:0ms !important;transition-delay:0ms !important}}@container (not style(--t-prefers-motion: "normal")) and (not style(--t-prefers-motion: "reduced")){@media (prefers-reduced-motion: reduce){*,*::before,*::after{animation-duration:0.01ms !important;transition-duration:0.01ms !important;animation-delay:0ms !important;transition-delay:0ms !important}}}:host(:not([hidden])){display:block;width:100%}';
252
-
253
- export { r as q2_action_group, a as q2_resize_observer }
175
+ export { e as q2_action_group }