q2-tecton-elements 1.54.6 → 1.54.8

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 (418) hide show
  1. package/dist/bundle-report.json +266 -209
  2. package/dist/cjs/{index-76f63767.js → index-7aecfed8.js} +33 -1
  3. package/dist/cjs/index-7aecfed8.js.map +1 -0
  4. package/dist/cjs/loader.cjs.js +1 -1
  5. package/dist/cjs/q2-action-group.cjs.entry.js +2 -2
  6. package/dist/cjs/q2-action-sheet.cjs.entry.js +2 -2
  7. package/dist/cjs/q2-avatar.cjs.entry.js +1 -1
  8. package/dist/cjs/q2-badge_7.cjs.entry.js +4 -4
  9. package/dist/cjs/q2-calendar.cjs.entry.js +1 -1
  10. package/dist/cjs/q2-card.cjs.entry.js +1 -1
  11. package/dist/cjs/q2-carousel-pane.cjs.entry.js +3 -3
  12. package/dist/cjs/q2-carousel.cjs.entry.js +1 -1
  13. package/dist/cjs/q2-chart-area.cjs.entry.js +2 -2
  14. package/dist/cjs/q2-chart-bar.cjs.entry.js +2 -2
  15. package/dist/cjs/q2-chart-donut.cjs.entry.js +2 -2
  16. package/dist/cjs/q2-checkbox-group.cjs.entry.js +1 -1
  17. package/dist/cjs/q2-checkbox.cjs.entry.js +1 -1
  18. package/dist/cjs/q2-currency.cjs.entry.js +1 -1
  19. package/dist/cjs/q2-data-table.cjs.entry.js +1 -1
  20. package/dist/cjs/q2-detail.cjs.entry.js +2 -2
  21. package/dist/cjs/q2-dropdown-item.cjs.entry.js +1 -1
  22. package/dist/cjs/q2-dropdown.cjs.entry.js +27 -22
  23. package/dist/cjs/q2-dropdown.cjs.entry.js.map +1 -1
  24. package/dist/cjs/q2-editable-field.cjs.entry.js +1 -1
  25. package/dist/cjs/q2-example.cjs.entry.js +1 -1
  26. package/dist/cjs/q2-file-picker.cjs.entry.js +1 -1
  27. package/dist/cjs/q2-formatted-text.cjs.entry.js +1 -1
  28. package/dist/cjs/q2-item_3.cjs.entry.js +3 -3
  29. package/dist/cjs/q2-legend.cjs.entry.js +1 -1
  30. package/dist/cjs/q2-loc.cjs.entry.js +2 -2
  31. package/dist/cjs/q2-message.cjs.entry.js +2 -2
  32. package/dist/cjs/q2-month-picker.cjs.entry.js +3 -3
  33. package/dist/cjs/q2-optgroup.cjs.entry.js +2 -2
  34. package/dist/cjs/q2-option-list_2.cjs.entry.js +73 -69
  35. package/dist/cjs/q2-option-list_2.cjs.entry.js.map +1 -1
  36. package/dist/cjs/q2-option.cjs.entry.js +1 -1
  37. package/dist/cjs/q2-pagination.cjs.entry.js +4 -4
  38. package/dist/cjs/q2-pill.cjs.entry.js +2 -2
  39. package/dist/cjs/q2-radio-group.cjs.entry.js +1 -1
  40. package/dist/cjs/q2-radio.cjs.entry.js +1 -1
  41. package/dist/cjs/q2-relative-time.cjs.entry.js +2 -2
  42. package/dist/cjs/q2-resize-observer.cjs.entry.js +1 -1
  43. package/dist/cjs/q2-section.cjs.entry.js +3 -3
  44. package/dist/cjs/q2-select.cjs.entry.js +127 -13
  45. package/dist/cjs/q2-select.cjs.entry.js.map +1 -1
  46. package/dist/cjs/q2-stepper-pane.cjs.entry.js +1 -1
  47. package/dist/cjs/q2-stepper-vertical.cjs.entry.js +2 -2
  48. package/dist/cjs/q2-stepper.cjs.entry.js +2 -2
  49. package/dist/cjs/q2-tag.cjs.entry.js +2 -2
  50. package/dist/cjs/q2-tecton-elements.cjs.js +1 -1
  51. package/dist/cjs/q2-textarea.cjs.entry.js +2 -2
  52. package/dist/cjs/q2-tooltip.cjs.entry.js +1 -1
  53. package/dist/cjs/tecton-tab-pane.cjs.entry.js +2 -2
  54. package/dist/collection/components/click-elsewhere/click-elsewhere.js.map +1 -1
  55. package/dist/collection/components/click-elsewhere/test/click-elsewhere-test.e2e.js.map +1 -1
  56. package/dist/collection/components/q2-action-group/q2-action-group.js +1 -1
  57. package/dist/collection/components/q2-action-group/q2-action-group.js.map +1 -1
  58. package/dist/collection/components/q2-action-group/test/q2-action-group.e2e.js.map +1 -1
  59. package/dist/collection/components/q2-action-group/test/q2-action-group.spec.js.map +1 -1
  60. package/dist/collection/components/q2-action-sheet/q2-action-sheet.js +1 -1
  61. package/dist/collection/components/q2-action-sheet/q2-action-sheet.js.map +1 -1
  62. package/dist/collection/components/q2-action-sheet/test/q2-action-sheet-test.e2e.js.map +1 -1
  63. package/dist/collection/components/q2-avatar/q2-avatar.js +1 -1
  64. package/dist/collection/components/q2-avatar/q2-avatar.js.map +1 -1
  65. package/dist/collection/components/q2-avatar/test/q2-avatar-test.e2e.js.map +1 -1
  66. package/dist/collection/components/q2-badge/q2-badge.js.map +1 -1
  67. package/dist/collection/components/q2-badge/test/q2-badge-test.e2e.js.map +1 -1
  68. package/dist/collection/components/q2-btn/q2-btn.js.map +1 -1
  69. package/dist/collection/components/q2-btn/test/q2-btn-test.e2e.js.map +1 -1
  70. package/dist/collection/components/q2-calendar/q2-calendar-helpers.js.map +1 -1
  71. package/dist/collection/components/q2-calendar/q2-calendar-types.js.map +1 -1
  72. package/dist/collection/components/q2-calendar/q2-calendar-validation.js.map +1 -1
  73. package/dist/collection/components/q2-calendar/q2-calendar.js.map +1 -1
  74. package/dist/collection/components/q2-calendar/q2-month-picker.js +2 -2
  75. package/dist/collection/components/q2-calendar/q2-month-picker.js.map +1 -1
  76. package/dist/collection/components/q2-calendar/test/helpers-test.e2e.js.map +1 -1
  77. package/dist/collection/components/q2-calendar/test/q2-calendar-month-picker-test.e2e.js.map +1 -1
  78. package/dist/collection/components/q2-calendar/test/q2-calendar-test.e2e.js +2 -2
  79. package/dist/collection/components/q2-calendar/test/q2-calendar-test.e2e.js.map +1 -1
  80. package/dist/collection/components/q2-calendar/test/validation-test.e2e.js.map +1 -1
  81. package/dist/collection/components/q2-card/q2-card.js.map +1 -1
  82. package/dist/collection/components/q2-card/test/q2-card-test.e2e.js.map +1 -1
  83. package/dist/collection/components/q2-carousel/q2-carousel.js.map +1 -1
  84. package/dist/collection/components/q2-carousel/test/q2-carousel-test.e2e.js.map +1 -1
  85. package/dist/collection/components/q2-carousel-pane/q2-carousel-pane.js +2 -2
  86. package/dist/collection/components/q2-carousel-pane/q2-carousel-pane.js.map +1 -1
  87. package/dist/collection/components/q2-carousel-pane/test/q2-carousel-pane-test.e2e.js.map +1 -1
  88. package/dist/collection/components/q2-carousel-pane/test/q2-carousel-pane-test.spec.js.map +1 -1
  89. package/dist/collection/components/q2-chart-area/q2-chart-area.js +1 -1
  90. package/dist/collection/components/q2-chart-area/q2-chart-area.js.map +1 -1
  91. package/dist/collection/components/q2-chart-area/test/q2-chart-area-test.e2e.js.map +1 -1
  92. package/dist/collection/components/q2-chart-bar/q2-chart-bar.js +1 -1
  93. package/dist/collection/components/q2-chart-bar/q2-chart-bar.js.map +1 -1
  94. package/dist/collection/components/q2-chart-bar/test/q2-chart-bar-test.e2e.js.map +1 -1
  95. package/dist/collection/components/q2-chart-donut/q2-chart-donut.js +1 -1
  96. package/dist/collection/components/q2-chart-donut/q2-chart-donut.js.map +1 -1
  97. package/dist/collection/components/q2-chart-donut/test/q2-chart-donut-test.e2e.js.map +1 -1
  98. package/dist/collection/components/q2-checkbox/q2-checkbox.js.map +1 -1
  99. package/dist/collection/components/q2-checkbox/test/q2-checkbox-test.e2e.js.map +1 -1
  100. package/dist/collection/components/q2-checkbox-group/q2-checkbox-group.js.map +1 -1
  101. package/dist/collection/components/q2-checkbox-group/test/q2-checkbox-group-test.e2e.js.map +1 -1
  102. package/dist/collection/components/q2-currency/q2-currency.js +1 -1
  103. package/dist/collection/components/q2-currency/q2-currency.js.map +1 -1
  104. package/dist/collection/components/q2-currency/test/q2-currency-test.e2e.js.map +1 -1
  105. package/dist/collection/components/q2-data-table/q2-data-table.js.map +1 -1
  106. package/dist/collection/components/q2-data-table/test/q2-data-table-test.e2e.js.map +1 -1
  107. package/dist/collection/components/q2-detail/q2-detail.js +1 -1
  108. package/dist/collection/components/q2-detail/q2-detail.js.map +1 -1
  109. package/dist/collection/components/q2-detail/test/q2-detail-test.e2e.js.map +1 -1
  110. package/dist/collection/components/q2-dropdown/q2-dropdown.js +27 -21
  111. package/dist/collection/components/q2-dropdown/q2-dropdown.js.map +1 -1
  112. package/dist/collection/components/q2-dropdown/test/q2-dropdown-test.e2e.js +34 -32
  113. package/dist/collection/components/q2-dropdown/test/q2-dropdown-test.e2e.js.map +1 -1
  114. package/dist/collection/components/q2-dropdown-item/q2-dropdown-item.js.map +1 -1
  115. package/dist/collection/components/q2-dropdown-item/test/q2-dropdown-item-test.e2e.js.map +1 -1
  116. package/dist/collection/components/q2-editable-field/q2-editable-field.js.map +1 -1
  117. package/dist/collection/components/q2-editable-field/test/q2-editable-field-test.e2e.js.map +1 -1
  118. package/dist/collection/components/q2-example/q2-example.js +1 -1
  119. package/dist/collection/components/q2-example/q2-example.js.map +1 -1
  120. package/dist/collection/components/q2-example/test/q2-example.e2e.js.map +1 -1
  121. package/dist/collection/components/q2-example/test/q2-example.spec.js.map +1 -1
  122. package/dist/collection/components/q2-file-picker/q2-file-picker.js.map +1 -1
  123. package/dist/collection/components/q2-file-picker/test/q2-file-picker-test.e2e.js.map +1 -1
  124. package/dist/collection/components/q2-file-picker/test/q2-file-picker-test.spec.js.map +1 -1
  125. package/dist/collection/components/q2-formatted-text/q2-formatted-text.js +1 -1
  126. package/dist/collection/components/q2-formatted-text/q2-formatted-text.js.map +1 -1
  127. package/dist/collection/components/q2-formatted-text/test/q2-formatted-text-test.e2e.js.map +1 -1
  128. package/dist/collection/components/q2-icon/q2-icon-types.js.map +1 -1
  129. package/dist/collection/components/q2-icon/q2-icon.js.map +1 -1
  130. package/dist/collection/components/q2-icon/test/q2-icon-test.e2e.js.map +1 -1
  131. package/dist/collection/components/q2-input/formatting/alpha.js.map +1 -1
  132. package/dist/collection/components/q2-input/formatting/alpha.spec.js.map +1 -1
  133. package/dist/collection/components/q2-input/formatting/alphanumeric.js.map +1 -1
  134. package/dist/collection/components/q2-input/formatting/alphanumeric.spec.js.map +1 -1
  135. package/dist/collection/components/q2-input/formatting/credit-card.js.map +1 -1
  136. package/dist/collection/components/q2-input/formatting/credit-card.spec.js.map +1 -1
  137. package/dist/collection/components/q2-input/formatting/currency.js.map +1 -1
  138. package/dist/collection/components/q2-input/formatting/currency.spec.js.map +1 -1
  139. package/dist/collection/components/q2-input/formatting/date.js.map +1 -1
  140. package/dist/collection/components/q2-input/formatting/date.spec.js.map +1 -1
  141. package/dist/collection/components/q2-input/formatting/generic.js.map +1 -1
  142. package/dist/collection/components/q2-input/formatting/number.js.map +1 -1
  143. package/dist/collection/components/q2-input/formatting/numeric.js.map +1 -1
  144. package/dist/collection/components/q2-input/formatting/numeric.spec.js.map +1 -1
  145. package/dist/collection/components/q2-input/formatting/phone.js.map +1 -1
  146. package/dist/collection/components/q2-input/formatting/phone.spec.js.map +1 -1
  147. package/dist/collection/components/q2-input/formatting/postal.js.map +1 -1
  148. package/dist/collection/components/q2-input/formatting/postal.spec.js.map +1 -1
  149. package/dist/collection/components/q2-input/formatting/ssn.js.map +1 -1
  150. package/dist/collection/components/q2-input/formatting/ssn.spec.js.map +1 -1
  151. package/dist/collection/components/q2-input/formatting/tin.js.map +1 -1
  152. package/dist/collection/components/q2-input/formatting/tin.spec.js.map +1 -1
  153. package/dist/collection/components/q2-input/q2-input-types.js.map +1 -1
  154. package/dist/collection/components/q2-input/q2-input.js +1 -1
  155. package/dist/collection/components/q2-input/q2-input.js.map +1 -1
  156. package/dist/collection/components/q2-input/test/q2-input-credit-card-test.e2e.js.map +1 -1
  157. package/dist/collection/components/q2-input/test/q2-input-test.e2e.js.map +1 -1
  158. package/dist/collection/components/q2-input/test/q2-input-test.spec.js.map +1 -1
  159. package/dist/collection/components/q2-item/q2-item.js +1 -1
  160. package/dist/collection/components/q2-item/q2-item.js.map +1 -1
  161. package/dist/collection/components/q2-item/test/q2-item-test.e2e.js.map +1 -1
  162. package/dist/collection/components/q2-item/test/q2-item-test.spec.js.map +1 -1
  163. package/dist/collection/components/q2-legend/q2-legend.js +1 -1
  164. package/dist/collection/components/q2-legend/q2-legend.js.map +1 -1
  165. package/dist/collection/components/q2-legend/test/q2-legend-test.e2e.js.map +1 -1
  166. package/dist/collection/components/q2-legend/test/q2-legend-test.spec.js.map +1 -1
  167. package/dist/collection/components/q2-link/q2-link.js.map +1 -1
  168. package/dist/collection/components/q2-link/test/q2-link-test.e2e.js.map +1 -1
  169. package/dist/collection/components/q2-link/test/q2-link-test.spec.js.map +1 -1
  170. package/dist/collection/components/q2-list/q2-list.js +1 -1
  171. package/dist/collection/components/q2-list/q2-list.js.map +1 -1
  172. package/dist/collection/components/q2-list/test/q2-list-test.e2e.js.map +1 -1
  173. package/dist/collection/components/q2-loading/q2-loading.js.map +1 -1
  174. package/dist/collection/components/q2-loading/skeleton/q2-loading-element/index.js.map +1 -1
  175. package/dist/collection/components/q2-loading/skeleton/shapes.js.map +1 -1
  176. package/dist/collection/components/q2-loading/test/q2-loading-element-test.e2e.js.map +1 -1
  177. package/dist/collection/components/q2-loading/test/q2-loading-test.e2e.js.map +1 -1
  178. package/dist/collection/components/q2-loc/q2-loc.js +1 -1
  179. package/dist/collection/components/q2-loc/q2-loc.js.map +1 -1
  180. package/dist/collection/components/q2-loc/test/q2-loc-test.e2e.js.map +1 -1
  181. package/dist/collection/components/q2-loc/test/q2-loc-test.spec.js.map +1 -1
  182. package/dist/collection/components/q2-message/q2-message.js +1 -1
  183. package/dist/collection/components/q2-message/q2-message.js.map +1 -1
  184. package/dist/collection/components/q2-message/test/q2-message-test.e2e.js.map +1 -1
  185. package/dist/collection/components/q2-optgroup/q2-optgroup.js +1 -1
  186. package/dist/collection/components/q2-optgroup/q2-optgroup.js.map +1 -1
  187. package/dist/collection/components/q2-optgroup/test/q2-optgroup-test.e2e.js.map +1 -1
  188. package/dist/collection/components/q2-option/q2-option.js.map +1 -1
  189. package/dist/collection/components/q2-option/test/q2-option-test.e2e.js.map +1 -1
  190. package/dist/collection/components/q2-option/test/q2-option-test.spec.js.map +1 -1
  191. package/dist/collection/components/q2-option-list/q2-option-list.js.map +1 -1
  192. package/dist/collection/components/q2-option-list/test/q2-option-list-test.e2e.js.map +1 -1
  193. package/dist/collection/components/q2-option-list/test/q2-option-list.spec.js.map +1 -1
  194. package/dist/collection/components/q2-pagination/q2-pagination.js +3 -3
  195. package/dist/collection/components/q2-pagination/q2-pagination.js.map +1 -1
  196. package/dist/collection/components/q2-pagination/test/q2-pagination-test.e2e.js +1 -0
  197. package/dist/collection/components/q2-pagination/test/q2-pagination-test.e2e.js.map +1 -1
  198. package/dist/collection/components/q2-pill/q2-pill.js +1 -1
  199. package/dist/collection/components/q2-pill/q2-pill.js.map +1 -1
  200. package/dist/collection/components/q2-pill/test/q2-pill-test.e2e.js.map +1 -1
  201. package/dist/collection/components/q2-popover/q2-popover.css +18 -10
  202. package/dist/collection/components/q2-popover/q2-popover.js +74 -69
  203. package/dist/collection/components/q2-popover/q2-popover.js.map +1 -1
  204. package/dist/collection/components/q2-popover/test/q2-popover-test.e2e.js +1 -34
  205. package/dist/collection/components/q2-popover/test/q2-popover-test.e2e.js.map +1 -1
  206. package/dist/collection/components/q2-popover/test/q2-popover-test.spec.js +902 -511
  207. package/dist/collection/components/q2-popover/test/q2-popover-test.spec.js.map +1 -1
  208. package/dist/collection/components/q2-radio/q2-radio.js.map +1 -1
  209. package/dist/collection/components/q2-radio/test/q2-radio-test.e2e.js.map +1 -1
  210. package/dist/collection/components/q2-radio-group/q2-radio-group.js.map +1 -1
  211. package/dist/collection/components/q2-radio-group/test/q2-radio-group-test.e2e.js.map +1 -1
  212. package/dist/collection/components/q2-relative-time/q2-relative-time.js +1 -1
  213. package/dist/collection/components/q2-relative-time/q2-relative-time.js.map +1 -1
  214. package/dist/collection/components/q2-relative-time/test/q2-relative-time-test.e2e.js.map +1 -1
  215. package/dist/collection/components/q2-resize-observer/q2-resize-observer.js +1 -1
  216. package/dist/collection/components/q2-resize-observer/q2-resize-observer.js.map +1 -1
  217. package/dist/collection/components/q2-resize-observer/test/q2-resize-observer.e2e.js.map +1 -1
  218. package/dist/collection/components/q2-resize-observer/test/q2-resize-observer.spec.js.map +1 -1
  219. package/dist/collection/components/q2-section/q2-section.js +2 -2
  220. package/dist/collection/components/q2-section/q2-section.js.map +1 -1
  221. package/dist/collection/components/q2-section/test/q2-section-test.e2e.js.map +1 -1
  222. package/dist/collection/components/q2-select/q2-select.js +148 -15
  223. package/dist/collection/components/q2-select/q2-select.js.map +1 -1
  224. package/dist/collection/components/q2-select/test/q2-select-test.e2e.js.map +1 -1
  225. package/dist/collection/components/q2-select/test/q2-select-test.spec.js +552 -0
  226. package/dist/collection/components/q2-select/test/q2-select-test.spec.js.map +1 -0
  227. package/dist/collection/components/q2-stepper/q2-stepper.js +1 -1
  228. package/dist/collection/components/q2-stepper/q2-stepper.js.map +1 -1
  229. package/dist/collection/components/q2-stepper/test/q2-stepper-test.e2e.js.map +1 -1
  230. package/dist/collection/components/q2-stepper-pane/q2-stepper-pane.js.map +1 -1
  231. package/dist/collection/components/q2-stepper-pane/test/q2-stepper-pane-test.e2e.js.map +1 -1
  232. package/dist/collection/components/q2-stepper-vertical/q2-stepper-vertical.js +1 -1
  233. package/dist/collection/components/q2-stepper-vertical/q2-stepper-vertical.js.map +1 -1
  234. package/dist/collection/components/q2-stepper-vertical/test/q2-stepper-vertical-test.e2e.js.map +1 -1
  235. package/dist/collection/components/q2-tab-container/q2-tab-container.js +1 -1
  236. package/dist/collection/components/q2-tab-container/q2-tab-container.js.map +1 -1
  237. package/dist/collection/components/q2-tab-container/test/q2-tab-container-test.e2e.js.map +1 -1
  238. package/dist/collection/components/q2-tab-container/test/q2-tab-container-test.spec.js.map +1 -1
  239. package/dist/collection/components/q2-tab-pane/q2-tab-pane.js +1 -1
  240. package/dist/collection/components/q2-tab-pane/q2-tab-pane.js.map +1 -1
  241. package/dist/collection/components/q2-tab-pane/test/q2-tab-pane-test.e2e.js.map +1 -1
  242. package/dist/collection/components/q2-tag/q2-tag.js +1 -1
  243. package/dist/collection/components/q2-tag/q2-tag.js.map +1 -1
  244. package/dist/collection/components/q2-tag/test/q2-tag-test.e2e.js +5 -0
  245. package/dist/collection/components/q2-tag/test/q2-tag-test.e2e.js.map +1 -1
  246. package/dist/collection/components/q2-textarea/q2-textarea.js +1 -1
  247. package/dist/collection/components/q2-textarea/q2-textarea.js.map +1 -1
  248. package/dist/collection/components/q2-textarea/test/q2-textarea-test.e2e.js.map +1 -1
  249. package/dist/collection/components/q2-tooltip/q2-tooltip.js.map +1 -1
  250. package/dist/collection/components/q2-tooltip/test/q2-tooltip-test.e2e.js.map +1 -1
  251. package/dist/collection/components/tecton-tab-pane/tecton-tab-pane-types.js.map +1 -1
  252. package/dist/collection/components/tecton-tab-pane/tecton-tab-pane.js +2 -2
  253. package/dist/collection/components/tecton-tab-pane/tecton-tab-pane.js.map +1 -1
  254. package/dist/collection/components/tecton-tab-pane/test/tecton-tab-pane-test.e2e.js.map +1 -1
  255. package/dist/collection/index.js.map +1 -1
  256. package/dist/collection/utils/action-sheet.js.map +1 -1
  257. package/dist/collection/utils/charting.js.map +1 -1
  258. package/dist/collection/utils/helpers.js.map +1 -1
  259. package/dist/collection/utils/index.js +37 -0
  260. package/dist/collection/utils/index.js.map +1 -1
  261. package/dist/collection/utils/mirror-emit.js.map +1 -1
  262. package/dist/collection/utils/sanitize-html-string.js.map +1 -1
  263. package/dist/collection/utils/sanitize-regex-string.js.map +1 -1
  264. package/dist/collection/utils/test/action-sheet-test.e2e.js.map +1 -1
  265. package/dist/collection/utils/test/index.spec.js.map +1 -1
  266. package/dist/components/index2.js +32 -1
  267. package/dist/components/index2.js.map +1 -1
  268. package/dist/components/q2-action-group.js +1 -1
  269. package/dist/components/q2-action-sheet.js +1 -1
  270. package/dist/components/q2-avatar2.js +1 -1
  271. package/dist/components/q2-carousel-pane.js +2 -2
  272. package/dist/components/q2-chart-area.js +1 -1
  273. package/dist/components/q2-chart-bar.js +1 -1
  274. package/dist/components/q2-chart-donut.js +1 -1
  275. package/dist/components/q2-currency.js +1 -1
  276. package/dist/components/q2-detail.js +1 -1
  277. package/dist/components/q2-dropdown.js +26 -21
  278. package/dist/components/q2-dropdown.js.map +1 -1
  279. package/dist/components/q2-example.js +1 -1
  280. package/dist/components/q2-formatted-text.js +1 -1
  281. package/dist/components/q2-input2.js +1 -1
  282. package/dist/components/q2-item2.js +1 -1
  283. package/dist/components/q2-legend2.js +1 -1
  284. package/dist/components/q2-list2.js +1 -1
  285. package/dist/components/q2-loc.js +1 -1
  286. package/dist/components/q2-message2.js +1 -1
  287. package/dist/components/q2-month-picker.js +2 -2
  288. package/dist/components/q2-optgroup2.js +1 -1
  289. package/dist/components/q2-pagination.js +3 -3
  290. package/dist/components/q2-pill.js +1 -1
  291. package/dist/components/q2-popover2.js +73 -69
  292. package/dist/components/q2-popover2.js.map +1 -1
  293. package/dist/components/q2-relative-time.js +1 -1
  294. package/dist/components/q2-resize-observer2.js +1 -1
  295. package/dist/components/q2-section.js +2 -2
  296. package/dist/components/q2-select2.js +130 -16
  297. package/dist/components/q2-select2.js.map +1 -1
  298. package/dist/components/q2-stepper-vertical.js +1 -1
  299. package/dist/components/q2-stepper.js +1 -1
  300. package/dist/components/q2-tab-container.js +1 -1
  301. package/dist/components/q2-tab-pane.js +1 -1
  302. package/dist/components/q2-tag.js +1 -1
  303. package/dist/components/q2-textarea.js +1 -1
  304. package/dist/components/tecton-tab-pane.js +2 -2
  305. package/dist/esm/{index-504f1a9e.js → index-99c46474.js} +33 -2
  306. package/dist/{cjs/index-76f63767.js.map → esm/index-99c46474.js.map} +1 -1
  307. package/dist/esm/loader.js +1 -1
  308. package/dist/esm/q2-action-group.entry.js +2 -2
  309. package/dist/esm/q2-action-sheet.entry.js +2 -2
  310. package/dist/esm/q2-avatar.entry.js +1 -1
  311. package/dist/esm/q2-badge_7.entry.js +4 -4
  312. package/dist/esm/q2-calendar.entry.js +1 -1
  313. package/dist/esm/q2-card.entry.js +1 -1
  314. package/dist/esm/q2-carousel-pane.entry.js +3 -3
  315. package/dist/esm/q2-carousel.entry.js +1 -1
  316. package/dist/esm/q2-chart-area.entry.js +2 -2
  317. package/dist/esm/q2-chart-bar.entry.js +2 -2
  318. package/dist/esm/q2-chart-donut.entry.js +2 -2
  319. package/dist/esm/q2-checkbox-group.entry.js +1 -1
  320. package/dist/esm/q2-checkbox.entry.js +1 -1
  321. package/dist/esm/q2-currency.entry.js +1 -1
  322. package/dist/esm/q2-data-table.entry.js +1 -1
  323. package/dist/esm/q2-detail.entry.js +2 -2
  324. package/dist/esm/q2-dropdown-item.entry.js +1 -1
  325. package/dist/esm/q2-dropdown.entry.js +27 -22
  326. package/dist/esm/q2-dropdown.entry.js.map +1 -1
  327. package/dist/esm/q2-editable-field.entry.js +1 -1
  328. package/dist/esm/q2-example.entry.js +1 -1
  329. package/dist/esm/q2-file-picker.entry.js +1 -1
  330. package/dist/esm/q2-formatted-text.entry.js +1 -1
  331. package/dist/esm/q2-item_3.entry.js +3 -3
  332. package/dist/esm/q2-legend.entry.js +1 -1
  333. package/dist/esm/q2-loc.entry.js +2 -2
  334. package/dist/esm/q2-message.entry.js +2 -2
  335. package/dist/esm/q2-month-picker.entry.js +3 -3
  336. package/dist/esm/q2-optgroup.entry.js +2 -2
  337. package/dist/esm/q2-option-list_2.entry.js +73 -69
  338. package/dist/esm/q2-option-list_2.entry.js.map +1 -1
  339. package/dist/esm/q2-option.entry.js +1 -1
  340. package/dist/esm/q2-pagination.entry.js +4 -4
  341. package/dist/esm/q2-pill.entry.js +2 -2
  342. package/dist/esm/q2-radio-group.entry.js +1 -1
  343. package/dist/esm/q2-radio.entry.js +1 -1
  344. package/dist/esm/q2-relative-time.entry.js +2 -2
  345. package/dist/esm/q2-resize-observer.entry.js +1 -1
  346. package/dist/esm/q2-section.entry.js +3 -3
  347. package/dist/esm/q2-select.entry.js +128 -14
  348. package/dist/esm/q2-select.entry.js.map +1 -1
  349. package/dist/esm/q2-stepper-pane.entry.js +1 -1
  350. package/dist/esm/q2-stepper-vertical.entry.js +2 -2
  351. package/dist/esm/q2-stepper.entry.js +2 -2
  352. package/dist/esm/q2-tag.entry.js +2 -2
  353. package/dist/esm/q2-tecton-elements.js +1 -1
  354. package/dist/esm/q2-textarea.entry.js +2 -2
  355. package/dist/esm/q2-tooltip.entry.js +1 -1
  356. package/dist/esm/tecton-tab-pane.entry.js +2 -2
  357. package/dist/jest.setup.js +33 -0
  358. package/dist/jest.setup.js.map +1 -0
  359. package/dist/q2-tecton-elements/{index-504f1a9e.js → index-99c46474.js} +76 -51
  360. package/dist/q2-tecton-elements/index-99c46474.js.map +1 -0
  361. package/dist/q2-tecton-elements/q2-action-group.entry.js +4 -4
  362. package/dist/q2-tecton-elements/q2-action-sheet.entry.js +34 -34
  363. package/dist/q2-tecton-elements/q2-avatar.entry.js +6 -6
  364. package/dist/q2-tecton-elements/q2-badge_7.entry.js +17 -17
  365. package/dist/q2-tecton-elements/q2-calendar.entry.js +1 -1
  366. package/dist/q2-tecton-elements/q2-card.entry.js +1 -1
  367. package/dist/q2-tecton-elements/q2-carousel-pane.entry.js +21 -21
  368. package/dist/q2-tecton-elements/q2-carousel.entry.js +1 -1
  369. package/dist/q2-tecton-elements/q2-chart-area.entry.js +3 -3
  370. package/dist/q2-tecton-elements/q2-chart-bar.entry.js +80 -80
  371. package/dist/q2-tecton-elements/q2-chart-donut.entry.js +101 -101
  372. package/dist/q2-tecton-elements/q2-checkbox-group.entry.js +1 -1
  373. package/dist/q2-tecton-elements/q2-checkbox.entry.js +1 -1
  374. package/dist/q2-tecton-elements/q2-currency.entry.js +6 -6
  375. package/dist/q2-tecton-elements/q2-data-table.entry.js +1 -1
  376. package/dist/q2-tecton-elements/q2-detail.entry.js +39 -39
  377. package/dist/q2-tecton-elements/q2-dropdown-item.entry.js +1 -1
  378. package/dist/q2-tecton-elements/q2-dropdown.entry.js +81 -75
  379. package/dist/q2-tecton-elements/q2-dropdown.entry.js.map +1 -1
  380. package/dist/q2-tecton-elements/q2-editable-field.entry.js +1 -1
  381. package/dist/q2-tecton-elements/q2-example.entry.js +1 -1
  382. package/dist/q2-tecton-elements/q2-file-picker.entry.js +1 -1
  383. package/dist/q2-tecton-elements/q2-formatted-text.entry.js +2 -2
  384. package/dist/q2-tecton-elements/q2-item_3.entry.js +19 -19
  385. package/dist/q2-tecton-elements/q2-legend.entry.js +2 -2
  386. package/dist/q2-tecton-elements/q2-loc.entry.js +2 -2
  387. package/dist/q2-tecton-elements/q2-message.entry.js +21 -21
  388. package/dist/q2-tecton-elements/q2-month-picker.entry.js +14 -14
  389. package/dist/q2-tecton-elements/q2-optgroup.entry.js +8 -8
  390. package/dist/q2-tecton-elements/q2-option-list_2.entry.js +150 -140
  391. package/dist/q2-tecton-elements/q2-option-list_2.entry.js.map +1 -1
  392. package/dist/q2-tecton-elements/q2-option.entry.js +1 -1
  393. package/dist/q2-tecton-elements/q2-pagination.entry.js +19 -19
  394. package/dist/q2-tecton-elements/q2-pill.entry.js +14 -14
  395. package/dist/q2-tecton-elements/q2-radio-group.entry.js +5 -5
  396. package/dist/q2-tecton-elements/q2-radio.entry.js +1 -1
  397. package/dist/q2-tecton-elements/q2-relative-time.entry.js +2 -2
  398. package/dist/q2-tecton-elements/q2-resize-observer.entry.js +1 -1
  399. package/dist/q2-tecton-elements/q2-section.entry.js +19 -19
  400. package/dist/q2-tecton-elements/q2-select.entry.js +191 -90
  401. package/dist/q2-tecton-elements/q2-select.entry.js.map +1 -1
  402. package/dist/q2-tecton-elements/q2-stepper-pane.entry.js +1 -1
  403. package/dist/q2-tecton-elements/q2-stepper-vertical.entry.js +28 -28
  404. package/dist/q2-tecton-elements/q2-stepper.entry.js +29 -29
  405. package/dist/q2-tecton-elements/q2-tag.entry.js +6 -6
  406. package/dist/q2-tecton-elements/q2-tecton-elements.esm.js +1 -1
  407. package/dist/q2-tecton-elements/q2-tecton-elements.esm.js.map +1 -1
  408. package/dist/q2-tecton-elements/q2-textarea.entry.js +3 -3
  409. package/dist/q2-tecton-elements/q2-tooltip.entry.js +1 -1
  410. package/dist/q2-tecton-elements/tecton-tab-pane.entry.js +9 -9
  411. package/dist/types/builds/q2e/development/tecton/tecton/packages/q2-tecton-elements/.stencil/jest.setup.d.ts +10 -0
  412. package/dist/types/components/q2-dropdown/q2-dropdown.d.ts +6 -4
  413. package/dist/types/components/q2-popover/q2-popover.d.ts +4 -4
  414. package/dist/types/components/q2-select/q2-select.d.ts +23 -0
  415. package/dist/types/utils/index.d.ts +3 -0
  416. package/package.json +3 -3
  417. package/dist/esm/index-504f1a9e.js.map +0 -1
  418. package/dist/q2-tecton-elements/index-504f1a9e.js.map +0 -1
@@ -1,11 +1,11 @@
1
1
  import { h as e } from "./index-7a5365e2.js";
2
2
 
3
3
  const debounce = (e, n = 300) => {
4
- let i;
5
- return function(...o) {
6
- clearTimeout(i);
7
- i = setTimeout((() => {
8
- e(...o);
4
+ let o;
5
+ return function(...i) {
6
+ clearTimeout(o);
7
+ o = setTimeout((() => {
8
+ e(...i);
9
9
  }), n);
10
10
  };
11
11
  };
@@ -14,13 +14,38 @@ function isMobile() {
14
14
  return /Android|webOS|iPhone|iPad|iPod|BlackBerry|Mobile|IEMobile|Windows Phone|Opera Mini/i.test(navigator.userAgent);
15
15
  }
16
16
 
17
+ function isInScrollableContainer(e) {
18
+ let n = e;
19
+ while (n && n !== document.body && n !== document.documentElement) {
20
+ // Move to parent
21
+ if (n.parentElement) {
22
+ n = n.parentElement;
23
+ } else {
24
+ // Try to cross shadow DOM boundary
25
+ const e = n.getRootNode();
26
+ if (e && e.host) {
27
+ n = e.host;
28
+ } else {
29
+ break;
30
+ }
31
+ }
32
+ const e = window.getComputedStyle(n);
33
+ const o = e.overflow === "scroll" || e.overflow === "auto" || e.overflowX === "scroll" || e.overflowX === "auto" || e.overflowY === "scroll" || e.overflowY === "auto";
34
+ const i = n.scrollHeight > n.clientHeight || n.scrollWidth > n.clientWidth;
35
+ if (o && i) {
36
+ return true;
37
+ }
38
+ }
39
+ return false;
40
+ }
41
+
17
42
  function isRelatedTargetWithinHost(e, n) {
18
43
  return e.relatedTarget !== n && !n.contains(e.relatedTarget);
19
44
  }
20
45
 
21
46
  function isEventFromElement(e, n) {
22
- var i;
23
- return ((i = e.composedPath) === null || i === void 0 ? void 0 : i.call(e)[0]) === n;
47
+ var o;
48
+ return ((o = e.composedPath) === null || o === void 0 ? void 0 : o.call(e)[0]) === n;
24
49
  }
25
50
 
26
51
  function overrideFocus(e) {
@@ -69,24 +94,24 @@ function waitForNextPaint() {
69
94
  }
70
95
 
71
96
  function loc(e, n) {
72
- var i, o, t;
97
+ var o, i, t;
73
98
  if (!e) return "";
74
- if (((i = window.Tecton) === null || i === void 0 ? void 0 : i.noStrings) === true) {
99
+ if (((o = window.Tecton) === null || o === void 0 ? void 0 : o.noStrings) === true) {
75
100
  return e;
76
101
  }
77
- return (t = (o = window === null || window === void 0 ? void 0 : window.TectonElements) === null || o === void 0 ? void 0 : o.loc(e, n)) !== null && t !== void 0 ? t : e;
102
+ return (t = (i = window === null || window === void 0 ? void 0 : window.TectonElements) === null || i === void 0 ? void 0 : i.loc(e, n)) !== null && t !== void 0 ? t : e;
78
103
  }
79
104
 
80
105
  function renderLabel(n) {
81
- const {label: i, hideLabel: o, optional: t, readonly: a} = n;
106
+ const {label: o, hideLabel: i, optional: t, readonly: a} = n;
82
107
  const r = [ "input-label" ];
83
108
  let s = "";
84
- let l = o;
109
+ let l = i;
85
110
  if (!l) {
86
111
  const e = n.hostElement.querySelectorAll('[slot="label"]');
87
- const o = e.length > 0;
88
- const t = !!i;
89
- l = t || o ? false : true;
112
+ const i = e.length > 0;
113
+ const t = !!o;
114
+ l = t || i ? false : true;
90
115
  }
91
116
  if (l) r.push("sr");
92
117
  if (t) {
@@ -105,7 +130,7 @@ function renderLabel(n) {
105
130
  class: r.join(" ")
106
131
  }, e("slot", {
107
132
  name: "label"
108
- }, i ? loc(i) : undefined, s));
133
+ }, o ? loc(o) : undefined, s));
109
134
  }
110
135
 
111
136
  function hasSlotContent(e, n) {
@@ -116,8 +141,8 @@ function handleAriaLabel(e) {
116
141
  const {ariaLabel: n} = e;
117
142
  if (!n) return;
118
143
  // If empty ariaLabel prop is set to primitive symbol by framework wrapper, set ariaLabel to undefined and return
119
- const i = Symbol().toString();
120
- if (n === i) {
144
+ const o = Symbol().toString();
145
+ if (n === o) {
121
146
  e.ariaLabel = undefined;
122
147
  return;
123
148
  }
@@ -129,57 +154,57 @@ function handleAriaLabel(e) {
129
154
 
130
155
  /**
131
156
  * Handles when a prop has been renamed on a component without introducing a breaking change.
132
- */ function handleRenamedProp(e, n, i, o) {
157
+ */ function handleRenamedProp(e, n, o, i) {
133
158
  if (typeof e[n] === "undefined") return;
134
159
  // If old prop has value, aka set in component, call handleDeprecationWarning()
135
160
  if (e[n]) {
136
161
  handleDeprecationWarning(e, n, "prop");
137
162
  }
138
- e[i] = e[n];
139
- if (o) {
163
+ e[o] = e[n];
164
+ if (i) {
140
165
  delete e[n];
141
166
  }
142
167
  }
143
168
 
144
- function handleDeprecationWarning(e, n, i) {
169
+ function handleDeprecationWarning(e, n, o) {
145
170
  if (window.location.hostname === "localhost" || window.location.host === "stack.q2developer.com") {
146
171
  if (e[n] === "undefined") return;
147
- const o = e.constructor.name.toLowerCase().slice(2);
148
- switch (i) {
172
+ const i = e.constructor.name.toLowerCase().slice(2);
173
+ switch (o) {
149
174
  case "prop":
150
- if (n === "size" && o === "btn") {
175
+ if (n === "size" && i === "btn") {
151
176
  console.warn(`The property of size in q2-btn should not be typeof number, or typeof string containing a number. This functionality will be deprecated in an upcoming release. Instead, please use the value 'undefined', or typeof string with any of the following values: "small" / "medium" / "large" `);
152
177
  } else {
153
- console.warn(`The property ${n} in q2-${o} has been marked for deprecation and will be removed in an upcoming major release.`);
178
+ console.warn(`The property ${n} in q2-${i} has been marked for deprecation and will be removed in an upcoming major release.`);
154
179
  }
155
180
  break;
156
181
 
157
182
  case "function":
158
- console.warn(`The function ${n} in ${o} has been marked for deprecation and will be removed in an upcoming major release.`);
183
+ console.warn(`The function ${n} in ${i} has been marked for deprecation and will be removed in an upcoming major release.`);
159
184
  break;
160
185
 
161
186
  case "method":
162
- console.warn(`The method ${n} in ${o} has been marked for deprecation and will be removed in an upcoming major release.`);
187
+ console.warn(`The method ${n} in ${i} has been marked for deprecation and will be removed in an upcoming major release.`);
163
188
  break;
164
189
 
165
190
  case "event":
166
- console.warn(`The event ${n} in ${o} has been marked for deprecation and will be removed in an upcoming major release.`);
191
+ console.warn(`The event ${n} in ${i} has been marked for deprecation and will be removed in an upcoming major release.`);
167
192
  break;
168
193
 
169
194
  default:
170
- console.error(`handleDeprecationWarning --\x3e No type found for desired deprecation: ${n} in q2-${o}: deprecatedItemType = ${n}`);
195
+ console.error(`handleDeprecationWarning --\x3e No type found for desired deprecation: ${n} in q2-${i}: deprecatedItemType = ${n}`);
171
196
  }
172
197
  }
173
198
  }
174
199
 
175
200
  function renderMessages(n) {
176
- const i = n.hasError ? "danger" : "info";
201
+ const o = n.hasError ? "danger" : "info";
177
202
  return e("div", {
178
203
  class: "messages-container"
179
204
  }, e("q2-message", {
180
205
  appearance: "minimal",
181
206
  description: true,
182
- type: i,
207
+ type: o,
183
208
  "test-id": "message"
184
209
  }, e("ul", {
185
210
  id: n.inputDescribedBy
@@ -190,16 +215,16 @@ function renderMessages(n) {
190
215
 
191
216
  function setMessageHeight(e) {
192
217
  const n = e.hostElement.shadowRoot.querySelector(".messages-container");
193
- const i = n.querySelector("q2-message");
218
+ const o = n.querySelector("q2-message");
194
219
  nextPaint((() => {
195
- const o = e.showMessages && e.hasFocus ? i.getBoundingClientRect().height : 0;
196
- if (n.style.getPropertyValue("height") === `${o}px`) return;
197
- if (o === 0) {
198
- i.classList.add("invisible");
220
+ const i = e.showMessages && e.hasFocus ? o.getBoundingClientRect().height : 0;
221
+ if (n.style.getPropertyValue("height") === `${i}px`) return;
222
+ if (i === 0) {
223
+ o.classList.add("invisible");
199
224
  n.style.removeProperty("height");
200
225
  } else {
201
- i.classList.remove("invisible");
202
- n.style.setProperty("height", `${o}px`);
226
+ o.classList.remove("invisible");
227
+ n.style.setProperty("height", `${i}px`);
203
228
  }
204
229
  }));
205
230
  }
@@ -228,28 +253,28 @@ const handleColor = e => {
228
253
  * @return {Promise<string>} All translated text content in DOM order
229
254
  */ const getAllText = async (e, n = {}) => {
230
255
  if (!e) return "";
231
- const i = Object.assign({
256
+ const o = Object.assign({
232
257
  trim: true,
233
258
  normalizeWhitespace: false,
234
259
  skipComponentReady: false
235
260
  }, n);
236
- const o = new Set([ "STYLE", "SCRIPT", "NOSCRIPT", "TEMPLATE", "#comment" ]);
261
+ const i = new Set([ "STYLE", "SCRIPT", "NOSCRIPT", "TEMPLATE", "#comment" ]);
237
262
  const t = new WeakSet;
238
263
  let a = "";
239
264
  async function processNode(e) {
240
265
  var n;
241
- if (t.has(e) || o.has(e.nodeName)) return;
266
+ if (t.has(e) || i.has(e.nodeName)) return;
242
267
  t.add(e);
243
268
  // Handle text nodes
244
269
  if (e.nodeType === Node.TEXT_NODE) {
245
- const o = i.trim ? e.textContent.trim() : e.textContent;
246
- if (o) {
270
+ const i = o.trim ? e.textContent.trim() : e.textContent;
271
+ if (i) {
247
272
  // Add space between adjacent text nodes if needed
248
- if (a && !a.endsWith(" ") && !o.startsWith(" ")) {
273
+ if (a && !a.endsWith(" ") && !i.startsWith(" ")) {
249
274
  a += " ";
250
275
  }
251
276
  // Translate the text
252
- a += i.skipComponentReady ? (n = window.TectonElements) === null || n === void 0 ? void 0 : n.loc(o) : loc(o);
277
+ a += o.skipComponentReady ? (n = window.TectonElements) === null || n === void 0 ? void 0 : n.loc(i) : loc(i);
253
278
  }
254
279
  return;
255
280
  }
@@ -257,7 +282,7 @@ const handleColor = e => {
257
282
  if (e.nodeType === Node.ELEMENT_NODE) {
258
283
  // Wait for Stencil component if needed
259
284
  const n = e.nodeName.startsWith("Q2-") && typeof e.componentOnReady === "function";
260
- if (n && !i.skipComponentReady) {
285
+ if (n && !o.skipComponentReady) {
261
286
  await e.componentOnReady();
262
287
  }
263
288
  // Process children in light DOM
@@ -292,14 +317,14 @@ const handleColor = e => {
292
317
  }
293
318
  await processNode(e);
294
319
  // Apply final formatting
295
- if (i.trim) {
320
+ if (o.trim) {
296
321
  a = a.trim();
297
322
  }
298
- if (i.normalizeWhitespace) {
323
+ if (o.normalizeWhitespace) {
299
324
  a = a.replace(/\s+/g, " ");
300
325
  }
301
326
  return a;
302
327
  };
303
328
 
304
- export { handleAriaLabel as a, handleColor as b, createGuid as c, isMobile as d, hasSlotContent as e, renderLabel as f, getAriaValueFromProp as g, handleDeprecationWarning as h, isEventFromElement as i, handleRenamedProp as j, isTouchDevice as k, loc as l, resizeIframe as m, nextPaint as n, overrideFocus as o, debounce as p, isRelatedTargetWithinHost as q, renderMessages as r, setMessageHeight as s, isFirefox as t, getAllText as u, isVisible as v, waitForNextPaint as w };
305
- //# sourceMappingURL=index-504f1a9e.js.map
329
+ export { handleAriaLabel as a, handleColor as b, createGuid as c, isMobile as d, hasSlotContent as e, renderLabel as f, getAriaValueFromProp as g, handleDeprecationWarning as h, isEventFromElement as i, handleRenamedProp as j, isTouchDevice as k, loc as l, resizeIframe as m, nextPaint as n, overrideFocus as o, debounce as p, isRelatedTargetWithinHost as q, renderMessages as r, setMessageHeight as s, isFirefox as t, getAllText as u, isVisible as v, waitForNextPaint as w, isInScrollableContainer as x };
330
+ //# sourceMappingURL=index-99c46474.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"names":["debounce","fn","delay","timeout","args","clearTimeout","setTimeout","isMobile","test","navigator","userAgent","isInScrollableContainer","element","current","document","body","documentElement","parentElement","root","getRootNode","host","style","window","getComputedStyle","hasScrollableOverflow","overflow","overflowX","overflowY","hasOverflowingContent","scrollHeight","clientHeight","scrollWidth","clientWidth","isRelatedTargetWithinHost","event","relatedTarget","contains","isEventFromElement","_a","composedPath","call","overrideFocus","hostElement","focus","dispatchEvent","FocusEvent","bubbles","isFirefox","toLowerCase","includes","isTouchDevice","maxTouchPoints","getAriaValueFromProp","prop","validValues","undefined","guid","createGuid","nextPaint","requestAnimationFrame","isVisible","offsetWidth","offsetHeight","getClientRects","length","waitForNextPaint","Promise","resolve","loc","key","subs","Tecton","noStrings","_c","_b","TectonElements","renderLabel","target","label","hideLabel","optional","readonly","labelClasses","helpText","shouldHideLabel","labelSlotElements","querySelectorAll","hasSlotContent","hasLabel","push","h","class","htmlFor","inputId","join","name","slotName","querySelector","handleAriaLabel","ariaLabel","FW_WRAPPERS_EMPTY_PROP","Symbol","toString","handleRenamedProp","oldProp","newProp","removeOldProp","handleDeprecationWarning","deprecatedItemName","deprecatedItemType","location","hostname","componentName","constructor","slice","console","warn","error","renderMessages","type","hasError","appearance","description","id","inputDescribedBy","messages","map","message","setMessageHeight","messageContainer","shadowRoot","q2Message","height","showMessages","hasFocus","getBoundingClientRect","getPropertyValue","classList","add","removeProperty","remove","setProperty","resizeIframe","handleColor","intent","color","getAllText","async","options","opts","Object","assign","trim","normalizeWhitespace","skipComponentReady","nodesToSkip","Set","processedNodes","WeakSet","result","processNode","node","has","nodeName","nodeType","Node","TEXT_NODE","text","textContent","endsWith","startsWith","ELEMENT_NODE","isStencilComponent","componentOnReady","child","childNodes","shadowChild","assignedNodes","assigned","fallback","replace"],"sources":["src/utils/index.tsx"],"sourcesContent":["import { h } from '@stencil/core';\nimport { Q2Btn } from 'src/components/q2-btn/q2-btn';\nimport { Q2Calendar } from 'src/components/q2-calendar/q2-calendar';\nimport { Q2Carousel } from 'src/components/q2-carousel/q2-carousel';\nimport { Q2Checkbox } from 'src/components/q2-checkbox/q2-checkbox';\nimport { Q2CheckboxGroup } from 'src/components/q2-checkbox-group/q2-checkbox-group';\nimport { Q2RadioGroup } from 'src/components/q2-radio-group/q2-radio-group';\nimport { Q2Dropdown } from 'src/components/q2-dropdown/q2-dropdown';\nimport { Q2DropdownItem } from 'src/components/q2-dropdown-item/q2-dropdown-item';\nimport { Q2EditableField } from 'src/components/q2-editable-field/q2-editable-field';\nimport { Q2Input } from 'src/components/q2-input/q2-input';\nimport { Q2Loading } from 'src/components/q2-loading/q2-loading';\nimport { Q2Radio } from 'src/components/q2-radio/q2-radio';\nimport { Q2Select } from 'src/components/q2-select/q2-select';\nimport { FormFieldTypes, IDict } from 'src/util';\n\nexport const debounce = <F extends (...args: Parameters<F>) => ReturnType<F>>(fn: F, delay: number = 300) => {\n let timeout: ReturnType<typeof setTimeout>;\n return function (...args: Parameters<F>) {\n clearTimeout(timeout);\n timeout = setTimeout(() => {\n fn(...args);\n }, delay);\n };\n};\n\nexport function isAndroid(): boolean {\n return /Android/i.test(navigator.userAgent);\n}\n\nexport function isIOS(): boolean {\n return /iPad|iPhone|iPod/.test(navigator.userAgent);\n}\n\nexport function isMobile(): boolean {\n return /Android|webOS|iPhone|iPad|iPod|BlackBerry|Mobile|IEMobile|Windows Phone|Opera Mini/i.test(\n navigator.userAgent\n );\n}\n\nexport function isInScrollableContainer(element) {\n let current = element;\n\n while (current && current !== document.body && current !== document.documentElement) {\n // Move to parent\n if (current.parentElement) {\n current = current.parentElement;\n } else {\n // Try to cross shadow DOM boundary\n const root = current.getRootNode();\n if (root && root.host) {\n current = root.host;\n } else {\n break;\n }\n }\n\n const style = window.getComputedStyle(current);\n const hasScrollableOverflow =\n style.overflow === 'scroll' ||\n style.overflow === 'auto' ||\n style.overflowX === 'scroll' ||\n style.overflowX === 'auto' ||\n style.overflowY === 'scroll' ||\n style.overflowY === 'auto';\n\n const hasOverflowingContent =\n current.scrollHeight > current.clientHeight || current.scrollWidth > current.clientWidth;\n\n if (hasScrollableOverflow && hasOverflowingContent) {\n return true;\n }\n }\n\n return false;\n}\n\nexport function isHostLosingFocus(event: FocusEvent, hostElement: HTMLElement) {\n const type = event.type;\n const focusInTypes = ['focusin', 'focus'];\n const isFocusIn = focusInTypes.includes(type);\n\n // on focusin: `target` is element losing focus, `relatedTarget` is element gaining focus\n // on focusout: `target` is element gaining focus, `relatedTarget` is element losing focus\n const elementGainingFocus = isFocusIn ? event.target : event.relatedTarget;\n\n const isElementNestedInHostElement = (element: HTMLElement) => {\n if (element === hostElement) return true;\n if (element.parentElement) {\n return isElementNestedInHostElement(element.parentElement);\n }\n return false;\n };\n\n if (!(elementGainingFocus instanceof HTMLElement)) return true;\n return !isElementNestedInHostElement(elementGainingFocus);\n}\n\nexport function isRelatedTargetWithinHost(event: FocusEvent, element: HTMLElement) {\n return event.relatedTarget !== element && !element.contains(event.relatedTarget as Node);\n}\n\nexport function isEventFromElement(event: Event, element: HTMLElement): boolean {\n return event.composedPath?.()[0] === element;\n}\n\nexport function overrideFocus(hostElement: HTMLElement) {\n hostElement.focus = () => hostElement?.dispatchEvent(new FocusEvent('focus', { bubbles: false }));\n}\n\nexport function isFirefox() {\n const userAgent = navigator.userAgent.toLowerCase();\n return userAgent.includes('firefox');\n}\n\nexport function isTouchDevice() {\n return 'ontouchstart' in window || navigator.maxTouchPoints > 0;\n}\n\nexport function isSafari() {\n const userAgent = navigator.userAgent.toLowerCase();\n return userAgent.includes('safari') && !userAgent.includes('chrome');\n}\n\n/**\n * Returns the value of a prop if it is defined and included in the `validValues`\n * array. This is used primarily to prevent Vue wrappers from setting aria props\n * to \"Symbol()\" when the prop is not set.\n */\nexport function getAriaValueFromProp(prop: string, validValues?: string[]) {\n if (prop === undefined) return prop;\n if (!validValues) return prop !== 'Symbol()' ? prop : undefined;\n return validValues.includes(prop) || prop === '' ? prop : undefined;\n}\n\nlet guid: number = 1000;\nexport function createGuid(): number {\n return guid++;\n}\n\nexport function nextPaint(fn: (value?: unknown) => void) {\n requestAnimationFrame(() => {\n requestAnimationFrame(fn);\n });\n}\n\nexport function isVisible(element: HTMLElement) {\n return element.offsetWidth > 0 || element.offsetHeight > 0 || element.getClientRects().length > 0;\n}\n\nexport function waitForNextPaint() {\n return new Promise(resolve => nextPaint(resolve));\n}\n\nexport function capitalize(value: string) {\n return `${value.charAt(0).toUpperCase()}${value.slice(1)}`;\n}\n\nexport function pick(props: string[]): (obj: object) => object {\n return obj => {\n return props.reduce((memo, prop) => {\n return {\n ...memo,\n [prop]: obj[prop],\n };\n }, {});\n };\n}\n\nexport function loc(key: string, subs?: IDict<any> | string[]) {\n if (!key) return '';\n if (window.Tecton?.noStrings === true) {\n return key;\n }\n return window?.TectonElements?.loc(key, subs) ?? key;\n}\n\nexport function renderLabel(target: FormFieldTypes | Q2RadioGroup | Q2CheckboxGroup) {\n const { label, hideLabel, optional, readonly } = target;\n const labelClasses: string[] = ['input-label'];\n let helpText = '';\n\n let shouldHideLabel = hideLabel;\n if (!shouldHideLabel) {\n const labelSlotElements = target.hostElement.querySelectorAll<HTMLSlotElement>('[slot=\"label\"]');\n const hasSlotContent = labelSlotElements.length > 0;\n const hasLabel = !!label;\n\n shouldHideLabel = hasLabel || hasSlotContent ? false : true;\n }\n\n if (shouldHideLabel) labelClasses.push('sr');\n if (optional) {\n helpText = <span class=\"optional-tag\">{loc('tecton.element.input.optional')}</span>;\n }\n if (readonly) {\n helpText = <span class=\"optional-tag\">{loc('tecton.element.input.readonly')}</span>;\n labelClasses.push('readonly-field');\n }\n return (\n <label\n htmlFor={target.inputId}\n class={labelClasses.join(' ')}\n >\n <slot name=\"label\">\n {label ? loc(label) : undefined}\n {helpText}\n </slot>\n </label>\n );\n}\n\nexport function hasSlotContent(target: HTMLElement, slotName: string) {\n return target.querySelector(`[slot=\"${slotName}\"]`) !== null;\n}\n\nexport function handleAriaLabel(\n target:\n | Q2Input\n | Q2Select\n | Q2Radio\n | Q2Checkbox\n | Q2EditableField\n | Q2Dropdown\n | Q2DropdownItem\n | Q2Loading\n | Q2Carousel\n | Q2Calendar\n | Q2Btn\n) {\n const { ariaLabel } = target;\n if (!ariaLabel) return;\n\n // If empty ariaLabel prop is set to primitive symbol by framework wrapper, set ariaLabel to undefined and return\n const FW_WRAPPERS_EMPTY_PROP = Symbol().toString();\n if (ariaLabel === FW_WRAPPERS_EMPTY_PROP) {\n target.ariaLabel = undefined;\n return;\n }\n\n // If ariaLabel is set, set hideLabel to true and set label to ariaLabel\n if ('hideLabel' in target) target.hideLabel = true;\n target.label = loc(ariaLabel);\n target.ariaLabel = undefined;\n}\n\n/**\n * Handles when a prop has been renamed on a component without introducing a breaking change.\n */\nexport function handleRenamedProp(target: object, oldProp: string, newProp: string, removeOldProp?: boolean) {\n if (typeof target[oldProp] === 'undefined') return;\n\n // If old prop has value, aka set in component, call handleDeprecationWarning()\n if (target[oldProp]) {\n handleDeprecationWarning(target, oldProp, 'prop');\n }\n\n target[newProp] = target[oldProp];\n\n if (removeOldProp) {\n delete target[oldProp];\n }\n}\n\nexport function handleDeprecationWarning(\n target: object,\n deprecatedItemName: string,\n deprecatedItemType: 'function' | 'prop' | 'method' | 'event'\n) {\n if (window.location.hostname === 'localhost' || window.location.host === 'stack.q2developer.com') {\n if (target[deprecatedItemName] === 'undefined') return;\n\n const componentName = target.constructor.name.toLowerCase().slice(2);\n\n switch (deprecatedItemType) {\n case 'prop':\n if (deprecatedItemName === 'size' && componentName === 'btn') {\n console.warn(\n `The property of size in q2-btn should not be typeof number, or typeof string containing a number. This functionality will be deprecated in an upcoming release. Instead, please use the value 'undefined', or typeof string with any of the following values: \"small\" / \"medium\" / \"large\" `\n );\n } else {\n console.warn(\n `The property ${deprecatedItemName} in q2-${componentName} has been marked for deprecation and will be removed in an upcoming major release.`\n );\n }\n break;\n\n case 'function':\n console.warn(\n `The function ${deprecatedItemName} in ${componentName} has been marked for deprecation and will be removed in an upcoming major release.`\n );\n break;\n\n case 'method':\n console.warn(\n `The method ${deprecatedItemName} in ${componentName} has been marked for deprecation and will be removed in an upcoming major release.`\n );\n break;\n\n case 'event':\n console.warn(\n `The event ${deprecatedItemName} in ${componentName} has been marked for deprecation and will be removed in an upcoming major release.`\n );\n break;\n\n default:\n console.error(\n `handleDeprecationWarning --> No type found for desired deprecation: ${deprecatedItemName} in q2-${componentName}: deprecatedItemType = ${deprecatedItemName}`\n );\n }\n }\n}\n\nexport function renderMessages(target: FormFieldTypes) {\n const type = target.hasError ? 'danger' : 'info';\n\n return (\n <div class=\"messages-container\">\n <q2-message\n appearance=\"minimal\"\n description\n type={type}\n test-id=\"message\"\n >\n <ul id={target.inputDescribedBy}>\n {target.messages.map(message => (\n <li test-id=\"messageListItem\">{loc(message)}</li>\n ))}\n </ul>\n </q2-message>\n </div>\n );\n}\n\nexport function setMessageHeight(target: FormFieldTypes) {\n const messageContainer = (target.hostElement.shadowRoot as ShadowRoot).querySelector<HTMLDivElement>(\n '.messages-container'\n );\n const q2Message = messageContainer.querySelector('q2-message');\n nextPaint(() => {\n const height = target.showMessages && target.hasFocus ? q2Message.getBoundingClientRect().height : 0;\n\n if (messageContainer.style.getPropertyValue('height') === `${height}px`) return;\n\n if (height === 0) {\n q2Message.classList.add('invisible');\n messageContainer.style.removeProperty('height');\n } else {\n q2Message.classList.remove('invisible');\n messageContainer.style.setProperty('height', `${height}px`);\n }\n });\n}\n\nexport const resizeIframe = () => {\n return window.TectonElements?.resizeIframe?.();\n};\n\n// Handling color attribute (deprecated)\nexport const handleColor = (target: Q2Btn) => {\n if (!target.intent && ['primary', 'secondary'].includes(target.color)) {\n target.intent = `workflow-${target.color}` as HTMLQ2BtnElement['intent'];\n target.color = undefined;\n }\n};\n\n/**\n * Gets all translated text content from an element, including shadow DOM content\n *\n * @param {Element} element - The element to extract text from\n * @param {Object} options - Configuration options\n * @param {boolean} [options.trim=true] - Whether to trim whitespace\n * @param {boolean} [options.normalizeWhitespace=false] - Whether to normalize whitespace\n * @param {boolean} [options.skipComponentReady=false] - Skip waiting for components (for test environments)\n * @return {Promise<string>} All translated text content in DOM order\n */\nexport const getAllText = async (element, options = {}) => {\n if (!element) return '';\n\n const opts = {\n trim: true,\n normalizeWhitespace: false,\n skipComponentReady: false,\n ...options,\n };\n\n const nodesToSkip = new Set(['STYLE', 'SCRIPT', 'NOSCRIPT', 'TEMPLATE', '#comment']);\n const processedNodes = new WeakSet();\n let result = '';\n\n async function processNode(node) {\n if (processedNodes.has(node) || nodesToSkip.has(node.nodeName)) return;\n\n processedNodes.add(node);\n\n // Handle text nodes\n if (node.nodeType === Node.TEXT_NODE) {\n const text = opts.trim ? node.textContent.trim() : node.textContent;\n\n if (text) {\n // Add space between adjacent text nodes if needed\n if (result && !result.endsWith(' ') && !text.startsWith(' ')) {\n result += ' ';\n }\n\n // Translate the text\n result += opts.skipComponentReady ? window.TectonElements?.loc(text) : loc(text);\n }\n return;\n }\n\n // Handle element nodes\n if (node.nodeType === Node.ELEMENT_NODE) {\n // Wait for Stencil component if needed\n const isStencilComponent = node.nodeName.startsWith('Q2-') && typeof node.componentOnReady === 'function';\n\n if (isStencilComponent && !opts.skipComponentReady) {\n await node.componentOnReady();\n }\n\n // Process children in light DOM\n for (const child of node.childNodes) {\n await processNode(child);\n }\n\n // Process shadow DOM if present\n if (node.shadowRoot) {\n for (const shadowChild of node.shadowRoot.childNodes) {\n await processNode(shadowChild);\n }\n }\n\n // Handle slot elements with assigned nodes\n if (node.nodeName === 'SLOT' && typeof node.assignedNodes === 'function') {\n const assignedNodes = node.assignedNodes();\n\n if (assignedNodes.length > 0) {\n for (const assigned of assignedNodes) {\n if (!processedNodes.has(assigned)) {\n await processNode(assigned);\n }\n }\n } else {\n // Process slot fallback content\n for (const fallback of node.childNodes) {\n if (!processedNodes.has(fallback)) {\n await processNode(fallback);\n }\n }\n }\n }\n }\n }\n\n await processNode(element);\n\n // Apply final formatting\n if (opts.trim) {\n result = result.trim();\n }\n\n if (opts.normalizeWhitespace) {\n result = result.replace(/\\s+/g, ' ');\n }\n\n return result;\n};\n"],"mappings":";;MAgBaA,WAAW,CAAsDC,GAAOC,IAAgB;EACjG,IAAIC;EACJ,OAAO,YAAaC;IAChBC,aAAaF;IACbA,IAAUG,YAAW;MACjBL,KAAMG;AAAK,QACZF;;AACN;;SAWWK;EACZ,OAAO,sFAAsFC,KACzFC,UAAUC;AAElB;;SAEgBC,wBAAwBC;EACpC,IAAIC,IAAUD;EAEd,OAAOC,KAAWA,MAAYC,SAASC,QAAQF,MAAYC,SAASE,iBAAiB;;IAEj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46474.js";
4
4
 
5
5
  const n = '*{box-sizing:border-box}*:active{outline:none}*:focus{outline:none;box-shadow:var(--const-double-focus-ring, 0 0 0 2px #ffffff, 0 0 0 4px #0066cc)}:host{box-shadow:none !important}::-moz-focus-inner{border:none}input,textarea,button{font-family:inherit;font-size:inherit;font-stretch:inherit}:host(.sr),:host(.sr) button{border:0;clip:rect(0 0 0 0);height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute;width:1px;white-space:nowrap}.sr,.sr button{border:0;clip:rect(0 0 0 0);height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute;width:1px;white-space:nowrap}.hidden{display:none}:host([hidden]){display:none}.invisible{visibility:hidden}:host(: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));width:100%;display:flex;gap:var(--comp-default-action-group-gap)}.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{flex-wrap:nowrap}.container.horizontal.has-q2-link{gap:var(--comp-link-gap)}.container.horizontal.has-q2-link ::slotted(q2-link){position:relative}.container.horizontal.has-q2-link ::slotted(q2-link:not(:last-child))::before{content:"";display:inline-block;width:0;height:28px;border-left:1px solid var(--t-gray-12, #d9d9d9);position:absolute;left:calc(var(--comp-link-gap) * -0.5)}.container.vertical ::slotted(q2-btn),.container.horizontal.full-width ::slotted(q2-btn){display:block;width:100%}';
6
6
 
@@ -78,16 +78,16 @@ const r = class {
78
78
  if (n) a.push("has-q2-link");
79
79
  a.push(o);
80
80
  return i("q2-resize-observer", {
81
- key: "4a0d43a1ad7512a7b9864f20e5728a83449bf655",
81
+ key: "ab27728fc6a2db3889063ba85ebf6602dea38f92",
82
82
  onTctResize: this.handleResize,
83
83
  disabled: t
84
84
  }, i("div", {
85
- key: "5641b2bd03ecbdf8e6d64a01aeb678fada71d56e",
85
+ key: "3fcdbf8857cf6defa57e8a3d5b32c712b4d69554",
86
86
  ref: t => this.container = t,
87
87
  class: a.join(" "),
88
88
  role: "group"
89
89
  }, i("slot", {
90
- key: "22759c9b188a7605945bd351992889e26aa423c1"
90
+ key: "c13ab3ae0c177dbf64dca516153bb9c4c7db92a2"
91
91
  })));
92
92
  }
93
93
  get hostElement() {
@@ -1,6 +1,6 @@
1
1
  import { r as e, c as t, h as n, F as o, g as i } from "./index-7a5365e2.js";
2
2
 
3
- import { l as a, w as r } from "./index-504f1a9e.js";
3
+ import { l as a, w as r } from "./index-99c46474.js";
4
4
 
5
5
  var s = typeof globalThis !== "undefined" ? globalThis : typeof window !== "undefined" ? window : typeof global !== "undefined" ? global : typeof self !== "undefined" ? self : {};
6
6
 
@@ -37,8 +37,8 @@ var l = {
37
37
  };
38
38
  }
39
39
  const d = unapply(Array.prototype.forEach);
40
- const u = unapply(Array.prototype.lastIndexOf);
41
- const f = unapply(Array.prototype.pop);
40
+ const f = unapply(Array.prototype.lastIndexOf);
41
+ const u = unapply(Array.prototype.pop);
42
42
  const p = unapply(Array.prototype.push);
43
43
  const h = unapply(Array.prototype.splice);
44
44
  const m = unapply(String.prototype.toLowerCase);
@@ -324,7 +324,7 @@ var l = {
324
324
  /**
325
325
  * Expose whether this browser supports running the full DOMPurify.
326
326
  */ DOMPurify.isSupported = typeof e === "function" && typeof Z === "function" && ne && ne.createHTMLDocument !== undefined;
327
- const {MUSTACHE_EXPR: le, ERB_EXPR: ce, TMPLIT_EXPR: de, DATA_ATTR: ue, ARIA_ATTR: fe, IS_SCRIPT_OR_DATA: pe, ATTR_WHITESPACE: he, CUSTOM_ELEMENT: me} = W;
327
+ const {MUSTACHE_EXPR: le, ERB_EXPR: ce, TMPLIT_EXPR: de, DATA_ATTR: fe, ARIA_ATTR: ue, IS_SCRIPT_OR_DATA: pe, ATTR_WHITESPACE: he, CUSTOM_ELEMENT: me} = W;
328
328
  let {IS_ALLOWED_URI: ge} = W;
329
329
  /**
330
330
  * We consider the elements and attributes below to be safe. Ideally
@@ -441,7 +441,7 @@ var l = {
441
441
  * @param cfg optional config literal
442
442
  */
443
443
  // eslint-disable-next-line complexity
444
- const ut = function _parseConfig() {
444
+ const ft = function _parseConfig() {
445
445
  let e = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};
446
446
  if (lt && lt === e) {
447
447
  return;
@@ -598,7 +598,7 @@ var l = {
598
598
  };
599
599
  /* Keep track of all possible SVG and MathML tags
600
600
  * so that we can perform the namespace checks
601
- * correctly. */ const ft = addToSet({}, [ ..._, ...A, ...E ]);
601
+ * correctly. */ const ut = addToSet({}, [ ..._, ...A, ...E ]);
602
602
  const pt = addToSet({}, [ ...z, ...R ]);
603
603
  /**
604
604
  * @param element a DOM element whose namespace is being checked
@@ -635,7 +635,7 @@ var l = {
635
635
  }
636
636
  // We only allow elements that are defined in SVG
637
637
  // spec. All others are disallowed in SVG namespace.
638
- return Boolean(ft[n]);
638
+ return Boolean(ut[n]);
639
639
  }
640
640
  if (e.namespaceURI === Ve) {
641
641
  // The only way to switch from HTML namespace to MathML
@@ -665,7 +665,7 @@ var l = {
665
665
  }
666
666
  // We disallow tags that are specific for MathML
667
667
  // or SVG and should never appear in HTML namespace
668
- return !pt[n] && (ot[n] || !ft[n]);
668
+ return !pt[n] && (ot[n] || !ut[n]);
669
669
  }
670
670
  // For XHTML and XML documents that support custom namespaces
671
671
  if (it === "application/xhtml+xml" && Ze[e.namespaceURI]) {
@@ -898,7 +898,7 @@ var l = {
898
898
  /* Allow valid data-* attributes: At least one character after "-"
899
899
  (https://html.spec.whatwg.org/multipage/dom.html#embedding-custom-non-visible-data-with-the-data-*-attributes)
900
900
  XML-compatible (https://html.spec.whatwg.org/multipage/infrastructure.html#xml-compatible and http://www.w3.org/TR/xml/#d0e804)
901
- We don't need to check the value; it's always URI safe. */ if (_e && !Te[t] && k(ue, t)) ; else if (Se && k(fe, t)) ; else if (!ve[t] || Te[t]) {
901
+ We don't need to check the value; it's always URI safe. */ if (_e && !Te[t] && k(fe, t)) ; else if (Se && k(ue, t)) ; else if (!ve[t] || Te[t]) {
902
902
  if (
903
903
  // First condition does a very basic check if a) it's basically a valid custom element tagname AND
904
904
  // b) if the tagName passes whatever the user has configured for CUSTOM_ELEMENT_HANDLING.tagNameCheck
@@ -988,13 +988,13 @@ var l = {
988
988
  c = y(c, e, " ");
989
989
  }));
990
990
  }
991
- /* Is `value` valid for this attribute? */ const u = st(e.nodeName);
992
- if (!kt(u, l, c)) {
991
+ /* Is `value` valid for this attribute? */ const f = st(e.nodeName);
992
+ if (!kt(f, l, c)) {
993
993
  continue;
994
994
  }
995
995
  /* Handle attributes that require Trusted Types */ if (ee && typeof B === "object" && typeof B.getAttributeType === "function") {
996
996
  if (r) ; else {
997
- switch (B.getAttributeType(u, l)) {
997
+ switch (B.getAttributeType(f, l)) {
998
998
  case "TrustedHTML":
999
999
  {
1000
1000
  c = ee.createHTML(c);
@@ -1019,7 +1019,7 @@ var l = {
1019
1019
  if (vt(e)) {
1020
1020
  mt(e);
1021
1021
  } else {
1022
- f(DOMPurify.removed);
1022
+ u(DOMPurify.removed);
1023
1023
  }
1024
1024
  } catch (e) {}
1025
1025
  }
@@ -1071,7 +1071,7 @@ var l = {
1071
1071
  return e;
1072
1072
  }
1073
1073
  /* Assign config vars */ if (!Me) {
1074
- ut(t);
1074
+ ft(t);
1075
1075
  }
1076
1076
  /* Clean up removed elements */ DOMPurify.removed = [];
1077
1077
  /* Check if dirty is correctly typed for IN_PLACE */ if (typeof e === "string") {
@@ -1148,20 +1148,20 @@ var l = {
1148
1148
  }
1149
1149
  return s;
1150
1150
  }
1151
- let u = Oe ? n.outerHTML : n.innerHTML;
1151
+ let f = Oe ? n.outerHTML : n.innerHTML;
1152
1152
  /* Serialize doctype if allowed */ if (Oe && be["!doctype"] && n.ownerDocument && n.ownerDocument.doctype && n.ownerDocument.doctype.name && k(U, n.ownerDocument.doctype.name)) {
1153
- u = "<!DOCTYPE " + n.ownerDocument.doctype.name + ">\n" + u;
1153
+ f = "<!DOCTYPE " + n.ownerDocument.doctype.name + ">\n" + f;
1154
1154
  }
1155
1155
  /* Sanitize final string template-safe */ if (ze) {
1156
1156
  d([ le, ce, de ], (e => {
1157
- u = y(u, e, " ");
1157
+ f = y(f, e, " ");
1158
1158
  }));
1159
1159
  }
1160
- return ee && Pe ? ee.createHTML(u) : u;
1160
+ return ee && Pe ? ee.createHTML(f) : f;
1161
1161
  };
1162
1162
  DOMPurify.setConfig = function() {
1163
1163
  let e = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};
1164
- ut(e);
1164
+ ft(e);
1165
1165
  Me = true;
1166
1166
  };
1167
1167
  DOMPurify.clearConfig = function() {
@@ -1171,7 +1171,7 @@ var l = {
1171
1171
  DOMPurify.isValidAttribute = function(e, t, n) {
1172
1172
  /* Initialize shared config vars if necessary. */
1173
1173
  if (!lt) {
1174
- ut({});
1174
+ ft({});
1175
1175
  }
1176
1176
  const o = st(e);
1177
1177
  const i = st(t);
@@ -1185,10 +1185,10 @@ var l = {
1185
1185
  };
1186
1186
  DOMPurify.removeHook = function(e, t) {
1187
1187
  if (t !== undefined) {
1188
- const n = u(se[e], t);
1188
+ const n = f(se[e], t);
1189
1189
  return n === -1 ? undefined : h(se[e], n, 1)[0];
1190
1190
  }
1191
- return f(se[e]);
1191
+ return u(se[e]);
1192
1192
  };
1193
1193
  DOMPurify.removeHooks = function(e) {
1194
1194
  se[e] = [];
@@ -1216,9 +1216,9 @@ function sanitizeHTMLString(e) {
1216
1216
 
1217
1217
  const d = '*{box-sizing:border-box}*:active{outline:none}*:focus{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}@keyframes showBackdrop{from{opacity:0}}@keyframes hideBackdrop{to{opacity:0}}dialog{--comp-border-radius-default:var(--app-scale-3x, 15px) var(--app-scale-3x, 15px) 0 0;--comp-border-radius:var(--tct-action-sheet-border-radius, var(--comp-border-radius-default));--comp-desktop-border-radius:var(--tct-action-sheet-border-radius, var(--app-scale-3x, 15px));--comp-close-button-size:var(--tct-action-sheet-close-button-size, var(--t-a11y-min-size, 44px));--comp-header-height:var(--tct-action-sheet-header-height, var(--t-a11y-min-size, 44px));--comp-dialog-background:var(--tct-action-sheet-background, var(--t-base, #ffffff));--comp-dialog-color:var(--tct-action-sheet-color, var(--t-text, #4d4d4d));--comp-dialog-padding:var(--tct-action-sheet-padding, var(--app-scale-3x, 15px));--comp-content-gradient-height:var(--tct-action-sheet-content-gradient-height, var(--app-scale-2x, 10px));--comp-dialog-gap:var(--tct-action-sheet-gap, var(--app-scale-2x, 10px));--comp-dialog-max-width:var(--tct-action-sheet-max-width, 400px);--comp-dialog-max-height:var(--tct-action-sheet-max-height, var(--comp-action-sheet-computed-max-height, 75vh));--comp-dialog-min-height:var(--tct-action-sheet-min-height, var(--comp-action-sheet-computed-min-height, 20vh));--comp-dialog-box-shadow:var(--tct-action-sheet-box-shadow, var(--app-shadow-2, 0px 0px 2px rgba(0, 0, 0, 0.12), 0px 4px 8px rgba(0, 0, 0, 0.14)));position:fixed;top:100%;bottom:unset;color:var(--comp-dialog-color);background:var(--comp-dialog-background);transition:transform var(--tct-action-sheet-tween, var(--app-tween-2, 0.4s ease)), opacity var(--tct-action-sheet-tween, var(--app-tween-2, 0.4s ease));width:100%;max-width:var(--comp-dialog-max-width);border:0;border-radius:var(--comp-border-radius);box-shadow:var(--comp-dialog-box-shadow);padding:0;height:auto;overflow:hidden;min-height:var(--comp-dialog-min-height);max-height:var(--comp-dialog-max-height)}dialog::backdrop{opacity:0;background:var(--tct-action-sheet-backdrop-background, var(--t-top-a2, rgba(13, 13, 13, 0.6)))}dialog[open].is-opening,dialog[open].is-open{transform:translateY(-100%)}@media screen and (min-width: 1200px){dialog[open].is-opening,dialog[open].is-open{opacity:1;transform:translateY(0)}}dialog[open].is-opening::backdrop,dialog[open].is-open::backdrop{opacity:1;animation:showBackdrop var(--tct-action-sheet-tween, var(--app-tween-2, 0.4s ease))}dialog[open].is-closing{transform:translateY(10%)}dialog[open].is-closing::backdrop{animation:hideBackdrop var(--tct-action-sheet-tween, var(--app-tween-2, 0.4s ease))}@media screen and (min-width: 1200px){dialog{border-radius:var(--comp-desktop-border-radius);top:0px;bottom:0px;height:fit-content;transform:translateY(10%);opacity:0}}.content{overflow-y:auto;--comp-scrollbar-size:var(--tct-scrollbar-size, var(--t-scrollbar-size, var(--app-scale-1x, 5px)));--comp-scrollbar-border-radius:var(--tct-scrollbar-border-radius, var(--t-scrollbar-border-radius, var(--app-border-radius-1, 4px)));--comp-scrollbar-color:var(--tct-scrollbar-color, var(--t-scrollbar-color, var(--t-a11y-gray-color, #747474)));scrollbar-width:thin;scrollbar-color:var(--comp-scrollbar-color) transparent}.content::-webkit-scrollbar{width:var(--comp-scrollbar-size);height:var(--comp-scrollbar-size);margin:5px}.content::-webkit-scrollbar-thumb{background:var(--comp-scrollbar-color);border-radius:var(--comp-scrollbar-border-radius)}.content::-webkit-scrollbar-track{background:transparent;border-radius:var(--comp-scrollbar-border-radius)}.interior{display:grid;grid-template-rows:44px 1fr auto;gap:var(--comp-dialog-gap);max-height:calc(var(--comp-dialog-max-height) - var(--comp-dialog-padding));padding:var(--comp-dialog-padding)}.interior.is-list header,.interior.is-list footer{position:relative}.interior.is-list header:before,.interior.is-list footer:before{content:"";display:block;position:absolute;left:0;height:var(--comp-content-gradient-height);width:100%;z-index:1}header{display:grid;grid-template-columns:var(--comp-close-button-size) 1fr var(--comp-close-button-size);grid-template-areas:". title close";gap:var(--comp-dialog-gap)}header .title{grid-area:title;text-align:center;line-height:var(--comp-header-height)}header .btn-close{grid-area:close;width:var(--comp-close-button-size);height:var(--comp-close-button-size)}footer{display:flex;justify-content:end}';
1218
1218
 
1219
- const u = d;
1219
+ const f = d;
1220
1220
 
1221
- var f = undefined && undefined.__rest || function(e, t) {
1221
+ var u = undefined && undefined.__rest || function(e, t) {
1222
1222
  var n = {};
1223
1223
  for (var o in e) if (Object.prototype.hasOwnProperty.call(e, o) && t.indexOf(o) < 0) n[o] = e[o];
1224
1224
  if (e != null && typeof Object.getOwnPropertySymbols === "function") for (var i = 0, o = Object.getOwnPropertySymbols(e); i < o.length; i++) {
@@ -1248,7 +1248,7 @@ const p = class {
1248
1248
  };
1249
1249
  this.generateOption = e => {
1250
1250
  const t = document.createElement("q2-option");
1251
- const {innerHTML: n} = e, o = f(e, [ "innerHTML" ]);
1251
+ const {innerHTML: n} = e, o = u(e, [ "innerHTML" ]);
1252
1252
  if (n) t.innerHTML = sanitizeHTMLString(n);
1253
1253
  Object.entries(o).forEach((([e, n]) => {
1254
1254
  if (n === undefined) return;
@@ -1440,32 +1440,32 @@ const p = class {
1440
1440
  const r = (t === null || t === void 0 ? void 0 : t.appearance) || "slot";
1441
1441
  const s = `interior is-${r}`;
1442
1442
  return n("dialog", {
1443
- key: "89438ac3af7a795d3b83a4171c74e0b1255ccb95",
1443
+ key: "b108b17a4ba3a4e08acc15001e627ea861447357",
1444
1444
  ref: e => this.dialogElement = e,
1445
1445
  class: i,
1446
1446
  onClick: this.onClick
1447
1447
  }, n("div", {
1448
- key: "a17e57ba2693ee5dbd70ae888fde0d5df2837ccb",
1448
+ key: "bca59c1c6dc53949091e98fd5495952571fe184e",
1449
1449
  class: s
1450
1450
  }, o && n("header", {
1451
- key: "7da7a414195ed0e3e3f8dbc1692adeabd4dee09b"
1451
+ key: "7b7d0e2a7182f4848485d478e3f47f5f29d309e7"
1452
1452
  }, n("div", {
1453
- key: "f83976916359a1c9318086c486ab59e7f001e9ca",
1453
+ key: "0f6612d2eec2b65c9bf56c4cc56f748ede27b0d1",
1454
1454
  class: "title"
1455
1455
  }, (t === null || t === void 0 ? void 0 : t.title) || this.title), !this.hideClose && n("q2-btn", {
1456
- key: "873a7f92f6103bb671594640c56786d3dcb389d8",
1456
+ key: "dee03828d0810b4e9cd9767053f63e60f6af4c9d",
1457
1457
  class: "btn-close",
1458
1458
  "test-id": "btnClose",
1459
1459
  onClick: this.onCancel,
1460
1460
  label: "tecton.element.actionSheet.close",
1461
1461
  "hide-label": true
1462
1462
  }, n("q2-icon", {
1463
- key: "bb5d5f0d92186171564b2fe74d7b95e98962ed9c",
1463
+ key: "a625a61f60e023f3aae7800e6a645c41e2d9a71e",
1464
1464
  type: "close"
1465
1465
  }))), ((e = this.data) === null || e === void 0 ? void 0 : e.description) && n("p", {
1466
- key: "2620549f6ca4b669011a4dbd2be0a470d65ee857"
1466
+ key: "2da7e20b0b2095049ed834147e14d46fcefecfc4"
1467
1467
  }, t.description), a && n(a, {
1468
- key: "bf22c21f56b4551f4bf6ddbcc6385669ed02b66b",
1468
+ key: "40f00574f58afd907c4f1f59ff14cdd4db2b853c",
1469
1469
  data: this.data
1470
1470
  })));
1471
1471
  }
@@ -1474,7 +1474,7 @@ const p = class {
1474
1474
  }
1475
1475
  };
1476
1476
 
1477
- p.style = u;
1477
+ p.style = f;
1478
1478
 
1479
1479
  export { p as q2_action_sheet };
1480
1480
  //# sourceMappingURL=q2-action-sheet.entry.js.map
@@ -52,9 +52,9 @@ const c = class {
52
52
  const e = (this.name || this.initials) && (!this.src || this.badSrc);
53
53
  const c = !this.name && !this.initials && (!this.src || this.badSrc);
54
54
  return t("div", {
55
- key: "2377fb1226c542252d8c1826aa762cc0267bb8a2"
55
+ key: "fb5f6b225de751e0d0aeb5b9e2d92128f184c899"
56
56
  }, r && t("img", {
57
- key: "baa5c36dd4be833bd017daa75b57dc0cf9ea01bf",
57
+ key: "093ecb0b7e608589fda969b54ef3d5bc072ce245",
58
58
  class: i ? "avatar-img" : "avatar-img-default",
59
59
  "test-id": "userImage",
60
60
  src: this.src,
@@ -62,7 +62,7 @@ const c = class {
62
62
  onLoad: this.onLoad,
63
63
  alt: this.name || ""
64
64
  }), e && t("svg", {
65
- key: "d4977d3adf04544ed9f13b079abfa2a2e1ce3a56",
65
+ key: "dac89c0aca1a250d5d15b8536d323cf1b4bbe616",
66
66
  viewBox: "0 0 100 100",
67
67
  preserveAspectRatio: "xMidYMid meet",
68
68
  "test-id": "userInitials",
@@ -70,18 +70,18 @@ const c = class {
70
70
  "aria-label": this.name,
71
71
  "aria-hidden": !this.name && "true"
72
72
  }, t("text", {
73
- key: "8de6490d4949b8f20beef384ba78c371edf1d81a",
73
+ key: "85cdca32e6172a0f9c3b590a277a056fbec6c8ae",
74
74
  x: "50",
75
75
  y: "50",
76
76
  "dominant-baseline": "central",
77
77
  "text-anchor": "middle",
78
78
  "aria-hidden": "true"
79
79
  }, a)), c && t("div", {
80
- key: "9946f0f312626acb2693ef058b98480a5c4011ed",
80
+ key: "2a8e7bb8d8d7f25b7df61f162b0adc362a6dbbb6",
81
81
  "test-id": "fallbackIcon",
82
82
  class: "fallback"
83
83
  }, t("q2-icon", {
84
- key: "d6c99a8f8b12216c7a00d936f22ec7ac49aec151",
84
+ key: "ddb717e672bc21ce35823e69255d4fda8c50dc61",
85
85
  type: this.icon
86
86
  })));
87
87
  }