genesys-spark-components 3.34.3 → 3.34.5

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 (472) hide show
  1. package/dist/cjs/{DateTimeFormatter-642387ff.js → DateTimeFormatter-e4e20cfc.js} +1 -1
  2. package/dist/cjs/{after-next-render-1e8c15f5.js → after-next-render-a09f528a.js} +4 -0
  3. package/dist/cjs/genesys-webcomponents.cjs.js +2 -2
  4. package/dist/cjs/gux-accordion-legacy.cjs.entry.js +2 -2
  5. package/dist/cjs/gux-accordion-section.cjs.entry.js +1 -1
  6. package/dist/cjs/gux-accordion.cjs.entry.js +2 -2
  7. package/dist/cjs/gux-action-button-legacy.cjs.entry.js +4 -4
  8. package/dist/cjs/gux-action-button.cjs.entry.js +9 -9
  9. package/dist/cjs/gux-action-item.cjs.entry.js +1 -1
  10. package/dist/cjs/gux-action-list-divider.cjs.entry.js +1 -1
  11. package/dist/cjs/gux-action-list-legacy.cjs.entry.js +2 -2
  12. package/dist/cjs/gux-action-toast.cjs.entry.js +2 -2
  13. package/dist/cjs/gux-advanced-dropdown.cjs.entry.js +6 -5
  14. package/dist/cjs/gux-all-row-select.cjs.entry.js +2 -2
  15. package/dist/cjs/gux-announce-beta.cjs.entry.js +3 -3
  16. package/dist/cjs/gux-badge-beta.cjs.entry.js +3 -3
  17. package/dist/cjs/gux-blank-state-beta.cjs.entry.js +3 -3
  18. package/dist/cjs/gux-breadcrumb-item.cjs.entry.js +1 -1
  19. package/dist/cjs/gux-breadcrumbs.cjs.entry.js +3 -3
  20. package/dist/cjs/gux-button-multi-legacy.cjs.entry.js +3 -3
  21. package/dist/cjs/gux-button-multi.cjs.entry.js +8 -8
  22. package/dist/cjs/gux-button-slot-beta.cjs.entry.js +2 -2
  23. package/dist/cjs/gux-button.cjs.entry.js +2 -2
  24. package/dist/cjs/gux-calendar.cjs.entry.js +9 -8
  25. package/dist/cjs/gux-card-beta.cjs.entry.js +2 -2
  26. package/dist/cjs/gux-chart-column-beta.cjs.entry.js +2 -2
  27. package/dist/cjs/gux-chart-donut-beta.cjs.entry.js +2 -2
  28. package/dist/cjs/gux-chart-line-beta.cjs.entry.js +2 -2
  29. package/dist/cjs/gux-chart-pie-beta.cjs.entry.js +2 -2
  30. package/dist/cjs/gux-chart-scatter-plot-beta.cjs.entry.js +2 -2
  31. package/dist/cjs/gux-color-select_2.cjs.entry.js +1 -1
  32. package/dist/cjs/gux-command-action.cjs.entry.js +1 -1
  33. package/dist/cjs/gux-command-palette-legacy.cjs.entry.js +3 -3
  34. package/dist/cjs/gux-content-search.cjs.entry.js +3 -3
  35. package/dist/cjs/gux-copy-to-clipboard-beta.cjs.entry.js +3 -3
  36. package/dist/cjs/gux-date-beta.cjs.entry.js +4 -4
  37. package/dist/cjs/gux-date-time-beta.cjs.entry.js +4 -4
  38. package/dist/cjs/gux-datepicker.cjs.entry.js +10 -10
  39. package/dist/cjs/gux-disclosure-button.cjs.entry.js +3 -3
  40. package/dist/cjs/gux-dismiss-button.cjs.entry.js +3 -3
  41. package/dist/cjs/gux-dropdown-legacy.cjs.entry.js +4 -4
  42. package/dist/cjs/gux-dropdown-multi-beta.cjs.entry.js +5 -5
  43. package/dist/cjs/gux-dropdown-multi-tag.cjs.entry.js +2 -2
  44. package/dist/cjs/gux-dropdown-option.cjs.entry.js +1 -1
  45. package/dist/cjs/gux-dropdown_3.cjs.entry.js +5 -5
  46. package/dist/cjs/gux-error-message-beta.cjs.entry.js +2 -2
  47. package/dist/cjs/gux-flyout-menu-beta.cjs.entry.js +8 -7
  48. package/dist/cjs/gux-form-field-checkbox.cjs.entry.js +4 -4
  49. package/dist/cjs/gux-form-field-color.cjs.entry.js +5 -5
  50. package/dist/cjs/{gux-form-field-container-284d1d01.js → gux-form-field-container-a217a455.js} +1 -1
  51. package/dist/cjs/gux-form-field-dropdown.cjs.entry.js +5 -5
  52. package/dist/cjs/gux-form-field-input-clear-button.cjs.entry.js +3 -3
  53. package/dist/cjs/gux-form-field-legacy.cjs.entry.js +3 -3
  54. package/dist/cjs/gux-form-field-number.cjs.entry.js +6 -6
  55. package/dist/cjs/gux-form-field-radio.cjs.entry.js +4 -4
  56. package/dist/cjs/gux-form-field-range.cjs.entry.js +5 -5
  57. package/dist/cjs/gux-form-field-search.cjs.entry.js +5 -5
  58. package/dist/cjs/gux-form-field-select.cjs.entry.js +5 -5
  59. package/dist/cjs/gux-form-field-text-like.cjs.entry.js +5 -5
  60. package/dist/cjs/gux-form-field-textarea.cjs.entry.js +5 -5
  61. package/dist/cjs/gux-form-field-time-picker.cjs.entry.js +5 -5
  62. package/dist/cjs/{gux-form-field.service-8424f99d.js → gux-form-field.service-a91c3c52.js} +1 -1
  63. package/dist/cjs/gux-icon.cjs.entry.js +2 -2
  64. package/dist/cjs/gux-input-checkbox_7.cjs.entry.js +2 -2
  65. package/dist/cjs/gux-input-search.cjs.entry.js +2 -2
  66. package/dist/cjs/gux-input-text-like.cjs.entry.js +2 -2
  67. package/dist/cjs/gux-list-divider-legacy.cjs.entry.js +1 -1
  68. package/dist/cjs/gux-list-divider.cjs.entry.js +1 -1
  69. package/dist/cjs/gux-list-item-legacy_2.cjs.entry.js +2 -2
  70. package/dist/cjs/gux-list-item.cjs.entry.js +1 -1
  71. package/dist/cjs/gux-list.cjs.entry.js +2 -2
  72. package/dist/cjs/gux-listbox-multi.cjs.entry.js +3 -3
  73. package/dist/cjs/gux-loading-message-beta.cjs.entry.js +4 -3
  74. package/dist/cjs/gux-menu-option.cjs.entry.js +2 -2
  75. package/dist/cjs/gux-menu.cjs.entry.js +1 -1
  76. package/dist/cjs/{gux-menu.common-6a6c2b85.js → gux-menu.common-ada23b94.js} +0 -2
  77. package/dist/cjs/gux-modal.cjs.entry.js +2 -2
  78. package/dist/cjs/gux-month-calendar.cjs.entry.js +3 -3
  79. package/dist/cjs/gux-month-list_2.cjs.entry.js +1 -1
  80. package/dist/cjs/gux-month-picker-beta.cjs.entry.js +5 -5
  81. package/dist/cjs/gux-notification-toast.cjs.entry.js +2 -2
  82. package/dist/cjs/gux-option-legacy.cjs.entry.js +1 -1
  83. package/dist/cjs/gux-option-multi.cjs.entry.js +1 -1
  84. package/dist/cjs/gux-page-loading-spinner.cjs.entry.js +2 -2
  85. package/dist/cjs/gux-pagination-beta.cjs.entry.js +4 -3
  86. package/dist/cjs/gux-pagination-buttons-beta_3.cjs.entry.js +2 -2
  87. package/dist/cjs/gux-pagination-buttons_3.cjs.entry.js +2 -2
  88. package/dist/cjs/gux-pagination-cursor.cjs.entry.js +3 -3
  89. package/dist/cjs/gux-pagination.cjs.entry.js +2 -2
  90. package/dist/cjs/gux-panel-frame-legacy.cjs.entry.js +2 -2
  91. package/dist/cjs/gux-popover-list.cjs.entry.js +3 -3
  92. package/dist/cjs/gux-popover.cjs.entry.js +3 -3
  93. package/dist/cjs/gux-popup.cjs.entry.js +1 -1
  94. package/dist/cjs/gux-radial-loading.cjs.entry.js +3 -3
  95. package/dist/cjs/gux-radial-progress.cjs.entry.js +2 -2
  96. package/dist/cjs/gux-rating.cjs.entry.js +2 -2
  97. package/dist/cjs/gux-row-select.cjs.entry.js +2 -2
  98. package/dist/cjs/gux-screen-reader-beta.cjs.entry.js +2 -2
  99. package/dist/cjs/gux-side-panel-button.cjs.entry.js +1 -1
  100. package/dist/cjs/gux-side-panel-legacy.cjs.entry.js +2 -2
  101. package/dist/cjs/gux-simple-toast.cjs.entry.js +2 -2
  102. package/dist/cjs/gux-skip-navigation-item.cjs.entry.js +1 -1
  103. package/dist/cjs/gux-skip-navigation-list-beta.cjs.entry.js +3 -3
  104. package/dist/cjs/gux-sort-control.cjs.entry.js +3 -3
  105. package/dist/cjs/gux-submenu.cjs.entry.js +10 -8
  106. package/dist/cjs/gux-switch-item.cjs.entry.js +1 -1
  107. package/dist/cjs/gux-switch.cjs.entry.js +2 -2
  108. package/dist/cjs/gux-tab-advanced-list.cjs.entry.js +7 -7
  109. package/dist/cjs/gux-tab-advanced-panel.cjs.entry.js +1 -1
  110. package/dist/cjs/gux-tab-advanced.cjs.entry.js +9 -9
  111. package/dist/cjs/gux-tab-dropdown-option-legacy.cjs.entry.js +1 -1
  112. package/dist/cjs/gux-tab-legacy.cjs.entry.js +1 -1
  113. package/dist/cjs/gux-tab-list.cjs.entry.js +5 -4
  114. package/dist/cjs/gux-tab-panel.cjs.entry.js +1 -1
  115. package/dist/cjs/gux-tab.cjs.entry.js +1 -1
  116. package/dist/cjs/gux-table-beta.cjs.entry.js +3 -3
  117. package/dist/cjs/gux-table-select-menu.cjs.entry.js +5 -5
  118. package/dist/cjs/gux-table-select-popover.cjs.entry.js +2 -2
  119. package/dist/cjs/gux-tabs-advanced.cjs.entry.js +2 -2
  120. package/dist/cjs/gux-tabs-legacy.cjs.entry.js +3 -3
  121. package/dist/cjs/gux-tabs.cjs.entry.js +2 -2
  122. package/dist/cjs/gux-tag-beta.cjs.entry.js +3 -3
  123. package/dist/cjs/gux-text-highlight.cjs.entry.js +2 -2
  124. package/dist/cjs/gux-text-label-legacy.cjs.entry.js +2 -2
  125. package/dist/cjs/gux-time-beta.cjs.entry.js +4 -4
  126. package/dist/cjs/gux-time-picker-beta.cjs.entry.js +7 -7
  127. package/dist/cjs/gux-toggle-slider.cjs.entry.js +1 -1
  128. package/dist/cjs/gux-toggle.cjs.entry.js +3 -3
  129. package/dist/cjs/gux-tooltip-title.cjs.entry.js +2 -2
  130. package/dist/cjs/gux-tooltip.cjs.entry.js +2 -2
  131. package/dist/cjs/gux-truncate-beta.cjs.entry.js +3 -3
  132. package/dist/cjs/gux-visualization-beta.cjs.entry.js +3 -3
  133. package/dist/cjs/{index-6d7040d6.js → index-b0d0cf83.js} +1 -1
  134. package/dist/cjs/{index-a4138a99.js → index-ce5e725f.js} +219 -201
  135. package/dist/cjs/loader.cjs.js +2 -2
  136. package/dist/cjs/{on-click-outside-64dc5f14.js → on-click-outside-63ec9076.js} +1 -1
  137. package/dist/cjs/{on-mutation-74bf4591.js → on-mutation-3a62df7a.js} +1 -1
  138. package/dist/cjs/{on-resize-b1f6a92b.js → on-resize-827aa87c.js} +1 -1
  139. package/dist/cjs/{usage-tracking-557653f7.js → usage-tracking-5fd86a7b.js} +4 -4
  140. package/dist/collection/collection-manifest.json +1 -1
  141. package/dist/collection/components/beta/gux-flyout-menu/gux-flyout-menu.js +7 -6
  142. package/dist/collection/components/beta/gux-flyout-menu/gux-menu/gux-menu.common.js +0 -1
  143. package/dist/collection/components/beta/gux-flyout-menu/gux-menu/gux-submenu/gux-submenu.js +10 -8
  144. package/dist/collection/components/beta/gux-loading-message/gux-loading-message.js +2 -1
  145. package/dist/collection/components/beta/gux-pagination-beta/gux-pagination-beta.js +2 -1
  146. package/dist/collection/components/beta/gux-table/gux-table-select-menu/gux-table-select-menu.js +5 -5
  147. package/dist/collection/components/beta/gux-time-picker/gux-time-picker.js +6 -6
  148. package/dist/collection/components/stable/gux-action-button/gux-action-button.js +7 -7
  149. package/dist/collection/components/stable/gux-advanced-dropdown/gux-advanced-dropdown.js +4 -3
  150. package/dist/collection/components/stable/gux-button-multi/gux-button-multi.js +7 -7
  151. package/dist/collection/components/stable/gux-calendar/gux-calendar.js +8 -7
  152. package/dist/collection/components/stable/gux-datepicker/gux-datepicker.js +10 -10
  153. package/dist/collection/components/stable/gux-tabs/gux-tab-list/gux-tab-list.js +2 -1
  154. package/dist/collection/components/stable/gux-tabs-advanced/gux-tab-advanced/gux-tab-advanced.js +9 -9
  155. package/dist/collection/components/stable/gux-tabs-advanced/gux-tab-advanced-list/gux-tab-advanced-list.js +6 -6
  156. package/dist/collection/utils/dom/after-next-render.js +3 -0
  157. package/dist/deploy-info.json +3 -3
  158. package/dist/esm/{DateTimeFormatter-bac9ad67.js → DateTimeFormatter-9021bd61.js} +1 -1
  159. package/dist/esm/after-next-render-ed0f7dcd.js +8 -0
  160. package/dist/esm/genesys-webcomponents.js +2 -2
  161. package/dist/esm/gux-accordion-legacy.entry.js +2 -2
  162. package/dist/esm/gux-accordion-section.entry.js +1 -1
  163. package/dist/esm/gux-accordion.entry.js +2 -2
  164. package/dist/esm/gux-action-button-legacy.entry.js +4 -4
  165. package/dist/esm/gux-action-button.entry.js +9 -9
  166. package/dist/esm/gux-action-item.entry.js +1 -1
  167. package/dist/esm/gux-action-list-divider.entry.js +1 -1
  168. package/dist/esm/gux-action-list-legacy.entry.js +2 -2
  169. package/dist/esm/gux-action-toast.entry.js +2 -2
  170. package/dist/esm/gux-advanced-dropdown.entry.js +6 -5
  171. package/dist/esm/gux-all-row-select.entry.js +2 -2
  172. package/dist/esm/gux-announce-beta.entry.js +3 -3
  173. package/dist/esm/gux-badge-beta.entry.js +3 -3
  174. package/dist/esm/gux-blank-state-beta.entry.js +3 -3
  175. package/dist/esm/gux-breadcrumb-item.entry.js +1 -1
  176. package/dist/esm/gux-breadcrumbs.entry.js +3 -3
  177. package/dist/esm/gux-button-multi-legacy.entry.js +3 -3
  178. package/dist/esm/gux-button-multi.entry.js +8 -8
  179. package/dist/esm/gux-button-slot-beta.entry.js +2 -2
  180. package/dist/esm/gux-button.entry.js +2 -2
  181. package/dist/esm/gux-calendar.entry.js +9 -8
  182. package/dist/esm/gux-card-beta.entry.js +2 -2
  183. package/dist/esm/gux-chart-column-beta.entry.js +2 -2
  184. package/dist/esm/gux-chart-donut-beta.entry.js +2 -2
  185. package/dist/esm/gux-chart-line-beta.entry.js +2 -2
  186. package/dist/esm/gux-chart-pie-beta.entry.js +2 -2
  187. package/dist/esm/gux-chart-scatter-plot-beta.entry.js +2 -2
  188. package/dist/esm/gux-color-select_2.entry.js +1 -1
  189. package/dist/esm/gux-command-action.entry.js +1 -1
  190. package/dist/esm/gux-command-palette-legacy.entry.js +3 -3
  191. package/dist/esm/gux-content-search.entry.js +3 -3
  192. package/dist/esm/gux-copy-to-clipboard-beta.entry.js +3 -3
  193. package/dist/esm/gux-date-beta.entry.js +4 -4
  194. package/dist/esm/gux-date-time-beta.entry.js +4 -4
  195. package/dist/esm/gux-datepicker.entry.js +10 -10
  196. package/dist/esm/gux-disclosure-button.entry.js +3 -3
  197. package/dist/esm/gux-dismiss-button.entry.js +3 -3
  198. package/dist/esm/gux-dropdown-legacy.entry.js +4 -4
  199. package/dist/esm/gux-dropdown-multi-beta.entry.js +5 -5
  200. package/dist/esm/gux-dropdown-multi-tag.entry.js +2 -2
  201. package/dist/esm/gux-dropdown-option.entry.js +1 -1
  202. package/dist/esm/gux-dropdown_3.entry.js +5 -5
  203. package/dist/esm/gux-error-message-beta.entry.js +2 -2
  204. package/dist/esm/gux-flyout-menu-beta.entry.js +8 -7
  205. package/dist/esm/gux-form-field-checkbox.entry.js +4 -4
  206. package/dist/esm/gux-form-field-color.entry.js +5 -5
  207. package/dist/esm/{gux-form-field-container-2d8e8d4e.js → gux-form-field-container-9d8dfc4d.js} +1 -1
  208. package/dist/esm/gux-form-field-dropdown.entry.js +5 -5
  209. package/dist/esm/gux-form-field-input-clear-button.entry.js +3 -3
  210. package/dist/esm/gux-form-field-legacy.entry.js +3 -3
  211. package/dist/esm/gux-form-field-number.entry.js +6 -6
  212. package/dist/esm/gux-form-field-radio.entry.js +4 -4
  213. package/dist/esm/gux-form-field-range.entry.js +5 -5
  214. package/dist/esm/gux-form-field-search.entry.js +5 -5
  215. package/dist/esm/gux-form-field-select.entry.js +5 -5
  216. package/dist/esm/gux-form-field-text-like.entry.js +5 -5
  217. package/dist/esm/gux-form-field-textarea.entry.js +5 -5
  218. package/dist/esm/gux-form-field-time-picker.entry.js +5 -5
  219. package/dist/esm/{gux-form-field.service-e046de13.js → gux-form-field.service-72dd122e.js} +1 -1
  220. package/dist/esm/gux-icon.entry.js +2 -2
  221. package/dist/esm/gux-input-checkbox_7.entry.js +2 -2
  222. package/dist/esm/gux-input-search.entry.js +2 -2
  223. package/dist/esm/gux-input-text-like.entry.js +2 -2
  224. package/dist/esm/gux-list-divider-legacy.entry.js +1 -1
  225. package/dist/esm/gux-list-divider.entry.js +1 -1
  226. package/dist/esm/gux-list-item-legacy_2.entry.js +2 -2
  227. package/dist/esm/gux-list-item.entry.js +1 -1
  228. package/dist/esm/gux-list.entry.js +2 -2
  229. package/dist/esm/gux-listbox-multi.entry.js +3 -3
  230. package/dist/esm/gux-loading-message-beta.entry.js +4 -3
  231. package/dist/esm/gux-menu-option.entry.js +2 -2
  232. package/dist/esm/{gux-menu.common-60ab04e4.js → gux-menu.common-4a871a5c.js} +1 -2
  233. package/dist/esm/gux-menu.entry.js +1 -1
  234. package/dist/esm/gux-modal.entry.js +2 -2
  235. package/dist/esm/gux-month-calendar.entry.js +3 -3
  236. package/dist/esm/gux-month-list_2.entry.js +1 -1
  237. package/dist/esm/gux-month-picker-beta.entry.js +5 -5
  238. package/dist/esm/gux-notification-toast.entry.js +2 -2
  239. package/dist/esm/gux-option-legacy.entry.js +1 -1
  240. package/dist/esm/gux-option-multi.entry.js +1 -1
  241. package/dist/esm/gux-page-loading-spinner.entry.js +2 -2
  242. package/dist/esm/gux-pagination-beta.entry.js +4 -3
  243. package/dist/esm/gux-pagination-buttons-beta_3.entry.js +2 -2
  244. package/dist/esm/gux-pagination-buttons_3.entry.js +2 -2
  245. package/dist/esm/gux-pagination-cursor.entry.js +3 -3
  246. package/dist/esm/gux-pagination.entry.js +2 -2
  247. package/dist/esm/gux-panel-frame-legacy.entry.js +2 -2
  248. package/dist/esm/gux-popover-list.entry.js +3 -3
  249. package/dist/esm/gux-popover.entry.js +3 -3
  250. package/dist/esm/gux-popup.entry.js +1 -1
  251. package/dist/esm/gux-radial-loading.entry.js +3 -3
  252. package/dist/esm/gux-radial-progress.entry.js +2 -2
  253. package/dist/esm/gux-rating.entry.js +2 -2
  254. package/dist/esm/gux-row-select.entry.js +2 -2
  255. package/dist/esm/gux-screen-reader-beta.entry.js +2 -2
  256. package/dist/esm/gux-side-panel-button.entry.js +1 -1
  257. package/dist/esm/gux-side-panel-legacy.entry.js +2 -2
  258. package/dist/esm/gux-simple-toast.entry.js +2 -2
  259. package/dist/esm/gux-skip-navigation-item.entry.js +1 -1
  260. package/dist/esm/gux-skip-navigation-list-beta.entry.js +3 -3
  261. package/dist/esm/gux-sort-control.entry.js +3 -3
  262. package/dist/esm/gux-submenu.entry.js +10 -8
  263. package/dist/esm/gux-switch-item.entry.js +1 -1
  264. package/dist/esm/gux-switch.entry.js +2 -2
  265. package/dist/esm/gux-tab-advanced-list.entry.js +7 -7
  266. package/dist/esm/gux-tab-advanced-panel.entry.js +1 -1
  267. package/dist/esm/gux-tab-advanced.entry.js +9 -9
  268. package/dist/esm/gux-tab-dropdown-option-legacy.entry.js +1 -1
  269. package/dist/esm/gux-tab-legacy.entry.js +1 -1
  270. package/dist/esm/gux-tab-list.entry.js +5 -4
  271. package/dist/esm/gux-tab-panel.entry.js +1 -1
  272. package/dist/esm/gux-tab.entry.js +1 -1
  273. package/dist/esm/gux-table-beta.entry.js +3 -3
  274. package/dist/esm/gux-table-select-menu.entry.js +5 -5
  275. package/dist/esm/gux-table-select-popover.entry.js +2 -2
  276. package/dist/esm/gux-tabs-advanced.entry.js +2 -2
  277. package/dist/esm/gux-tabs-legacy.entry.js +3 -3
  278. package/dist/esm/gux-tabs.entry.js +2 -2
  279. package/dist/esm/gux-tag-beta.entry.js +3 -3
  280. package/dist/esm/gux-text-highlight.entry.js +2 -2
  281. package/dist/esm/gux-text-label-legacy.entry.js +2 -2
  282. package/dist/esm/gux-time-beta.entry.js +4 -4
  283. package/dist/esm/gux-time-picker-beta.entry.js +7 -7
  284. package/dist/esm/gux-toggle-slider.entry.js +1 -1
  285. package/dist/esm/gux-toggle.entry.js +3 -3
  286. package/dist/esm/gux-tooltip-title.entry.js +2 -2
  287. package/dist/esm/gux-tooltip.entry.js +2 -2
  288. package/dist/esm/gux-truncate-beta.entry.js +3 -3
  289. package/dist/esm/gux-visualization-beta.entry.js +3 -3
  290. package/dist/esm/{index-3e21de1b.js → index-a108e8ae.js} +1 -1
  291. package/dist/esm/{index-738480cf.js → index-be334191.js} +219 -201
  292. package/dist/esm/loader.js +2 -2
  293. package/dist/esm/{on-click-outside-b20ff612.js → on-click-outside-d48a73bb.js} +1 -1
  294. package/dist/esm/{on-mutation-70eb931c.js → on-mutation-50c94529.js} +1 -1
  295. package/dist/esm/{on-resize-d93fa9d3.js → on-resize-6c3d6eb1.js} +1 -1
  296. package/dist/esm/polyfills/css-shim.js +1 -1
  297. package/dist/esm/{usage-tracking-ebfa8afc.js → usage-tracking-4994f5bb.js} +4 -4
  298. package/dist/genesys-webcomponents/genesys-webcomponents.esm.js +1 -1
  299. package/dist/genesys-webcomponents/{p-4cd3ada5.entry.js → p-02b2ff03.entry.js} +1 -1
  300. package/dist/genesys-webcomponents/{p-acaeef44.entry.js → p-046c80a3.entry.js} +1 -1
  301. package/dist/genesys-webcomponents/{p-e401fc21.entry.js → p-07d43dbb.entry.js} +1 -1
  302. package/dist/genesys-webcomponents/p-091f51f6.js +1 -0
  303. package/dist/genesys-webcomponents/{p-9f51d3db.entry.js → p-0a86cd9c.entry.js} +1 -1
  304. package/dist/genesys-webcomponents/{p-8616db32.entry.js → p-0aa3c79b.entry.js} +1 -1
  305. package/dist/genesys-webcomponents/{p-3b3750fd.entry.js → p-0bd51874.entry.js} +1 -1
  306. package/dist/genesys-webcomponents/{p-b410d16c.entry.js → p-0cc0d9b7.entry.js} +1 -1
  307. package/dist/genesys-webcomponents/{p-fb01e3be.entry.js → p-0e238832.entry.js} +1 -1
  308. package/dist/genesys-webcomponents/{p-e48653ef.entry.js → p-0f0f533f.entry.js} +1 -1
  309. package/dist/genesys-webcomponents/p-11ffd661.entry.js +1 -0
  310. package/dist/genesys-webcomponents/{p-fc2c7fe0.entry.js → p-123a1aba.entry.js} +1 -1
  311. package/dist/genesys-webcomponents/{p-be323edd.entry.js → p-126457aa.entry.js} +1 -1
  312. package/dist/genesys-webcomponents/{p-b6b1cf11.entry.js → p-1284f9b4.entry.js} +1 -1
  313. package/dist/genesys-webcomponents/{p-946598f2.entry.js → p-1a366638.entry.js} +1 -1
  314. package/dist/genesys-webcomponents/{p-02ae33fb.entry.js → p-1aa2a694.entry.js} +1 -1
  315. package/dist/genesys-webcomponents/{p-4d911880.entry.js → p-1b909f97.entry.js} +1 -1
  316. package/dist/genesys-webcomponents/{p-ec1e353e.entry.js → p-1d3cfe44.entry.js} +1 -1
  317. package/dist/genesys-webcomponents/{p-3d5bc6db.entry.js → p-1f2dd68a.entry.js} +1 -1
  318. package/dist/genesys-webcomponents/{p-a2531e51.entry.js → p-20e9bbaf.entry.js} +1 -1
  319. package/dist/genesys-webcomponents/{p-4b85456f.entry.js → p-24284b06.entry.js} +1 -1
  320. package/dist/genesys-webcomponents/{p-8f01b4db.entry.js → p-26c76fe5.entry.js} +1 -1
  321. package/dist/genesys-webcomponents/p-279cb82a.entry.js +1 -0
  322. package/dist/genesys-webcomponents/{p-5e0a36fa.entry.js → p-2ca47503.entry.js} +1 -1
  323. package/dist/genesys-webcomponents/{p-ff5f76be.entry.js → p-3018628c.entry.js} +1 -1
  324. package/dist/genesys-webcomponents/{p-3973c720.entry.js → p-31ffb854.entry.js} +1 -1
  325. package/dist/genesys-webcomponents/p-337aced7.entry.js +1 -0
  326. package/dist/genesys-webcomponents/{p-c45f35a1.entry.js → p-345c04aa.entry.js} +1 -1
  327. package/dist/genesys-webcomponents/{p-0d6fad7c.entry.js → p-39ef91b1.entry.js} +1 -1
  328. package/dist/genesys-webcomponents/{p-cb1a02f4.js → p-3c1c962d.js} +1 -1
  329. package/dist/genesys-webcomponents/{p-4a3da574.entry.js → p-3cec7b3d.entry.js} +1 -1
  330. package/dist/genesys-webcomponents/{p-072069d4.entry.js → p-44923231.entry.js} +1 -1
  331. package/dist/genesys-webcomponents/{p-d20b924d.entry.js → p-453cea9c.entry.js} +1 -1
  332. package/dist/genesys-webcomponents/p-45ea7485.entry.js +1 -0
  333. package/dist/genesys-webcomponents/p-46de3eee.entry.js +1 -0
  334. package/dist/genesys-webcomponents/{p-fb745019.entry.js → p-47ee2ada.entry.js} +1 -1
  335. package/dist/genesys-webcomponents/{p-585b35f9.entry.js → p-49274302.entry.js} +1 -1
  336. package/dist/genesys-webcomponents/{p-a0e9f950.entry.js → p-4e4bda15.entry.js} +1 -1
  337. package/dist/genesys-webcomponents/p-4ecf9bd3.entry.js +1 -0
  338. package/dist/genesys-webcomponents/{p-b38cbec4.entry.js → p-4ede43a5.entry.js} +1 -1
  339. package/dist/genesys-webcomponents/{p-46688b11.entry.js → p-4fdab00f.entry.js} +1 -1
  340. package/dist/genesys-webcomponents/{p-d47c8f4b.entry.js → p-50b9435c.entry.js} +1 -1
  341. package/dist/genesys-webcomponents/{p-d6daf4ee.entry.js → p-51a7a9ee.entry.js} +1 -1
  342. package/dist/genesys-webcomponents/p-51bace35.entry.js +1 -0
  343. package/dist/genesys-webcomponents/{p-f3a03e57.entry.js → p-5239618f.entry.js} +1 -1
  344. package/dist/genesys-webcomponents/{p-d1e61fa1.entry.js → p-533ea49e.entry.js} +1 -1
  345. package/dist/genesys-webcomponents/p-53bc87eb.entry.js +1 -0
  346. package/dist/genesys-webcomponents/{p-2c6704b4.entry.js → p-55ca2283.entry.js} +1 -1
  347. package/dist/genesys-webcomponents/{p-08a97593.entry.js → p-56b865f9.entry.js} +1 -1
  348. package/dist/genesys-webcomponents/{p-d8ec0443.js → p-56e6f5a4.js} +1 -1
  349. package/dist/genesys-webcomponents/{p-f26f38af.entry.js → p-59b9d5ba.entry.js} +1 -1
  350. package/dist/genesys-webcomponents/{p-617c216c.entry.js → p-5a391947.entry.js} +1 -1
  351. package/dist/genesys-webcomponents/p-5bb4555d.entry.js +1 -0
  352. package/dist/genesys-webcomponents/{p-bac93bcc.entry.js → p-5c760881.entry.js} +1 -1
  353. package/dist/genesys-webcomponents/{p-f3315768.entry.js → p-5da71c8f.entry.js} +1 -1
  354. package/dist/genesys-webcomponents/{p-92f61f75.entry.js → p-5dd27547.entry.js} +1 -1
  355. package/dist/genesys-webcomponents/{p-33fddd63.entry.js → p-5f480c10.entry.js} +1 -1
  356. package/dist/genesys-webcomponents/p-61c4c05c.entry.js +1 -0
  357. package/dist/genesys-webcomponents/{p-f795c463.entry.js → p-679187f1.entry.js} +1 -1
  358. package/dist/genesys-webcomponents/p-6d99c5b6.entry.js +1 -0
  359. package/dist/genesys-webcomponents/{p-ad0caa6b.entry.js → p-75efd25f.entry.js} +1 -1
  360. package/dist/genesys-webcomponents/{p-f37d5462.entry.js → p-77a7c230.entry.js} +1 -1
  361. package/dist/genesys-webcomponents/p-7a1d01cb.js +2 -0
  362. package/dist/genesys-webcomponents/{p-1f6b2594.js → p-7a3b06ab.js} +1 -1
  363. package/dist/genesys-webcomponents/{p-d56eac15.entry.js → p-7a675633.entry.js} +1 -1
  364. package/dist/genesys-webcomponents/{p-2eeceab0.entry.js → p-7f210242.entry.js} +1 -1
  365. package/dist/genesys-webcomponents/p-81b04c16.entry.js +1 -0
  366. package/dist/genesys-webcomponents/p-837e3eff.js +1 -0
  367. package/dist/genesys-webcomponents/p-8482c2d7.entry.js +1 -0
  368. package/dist/genesys-webcomponents/{p-cc60367a.entry.js → p-849c5f57.entry.js} +1 -1
  369. package/dist/genesys-webcomponents/{p-3802f75e.entry.js → p-84a8f494.entry.js} +1 -1
  370. package/dist/genesys-webcomponents/p-8597a48b.entry.js +1 -0
  371. package/dist/genesys-webcomponents/{p-a15d6a18.entry.js → p-8c45dd0f.entry.js} +1 -1
  372. package/dist/genesys-webcomponents/p-8c8d5128.entry.js +1 -0
  373. package/dist/genesys-webcomponents/{p-a5fb3291.entry.js → p-8e88f03e.entry.js} +1 -1
  374. package/dist/genesys-webcomponents/{p-5d08bb94.entry.js → p-9145c1fc.entry.js} +1 -1
  375. package/dist/genesys-webcomponents/{p-8ec30a43.entry.js → p-927b7e42.entry.js} +1 -1
  376. package/dist/genesys-webcomponents/p-939b6e89.js +1 -0
  377. package/dist/genesys-webcomponents/{p-651d1f53.entry.js → p-93a350fb.entry.js} +1 -1
  378. package/dist/genesys-webcomponents/{p-a48e577f.entry.js → p-93f2be37.entry.js} +1 -1
  379. package/dist/genesys-webcomponents/{p-163ecea2.entry.js → p-94c0d692.entry.js} +1 -1
  380. package/dist/genesys-webcomponents/{p-e87e6914.entry.js → p-9892c8d4.entry.js} +1 -1
  381. package/dist/genesys-webcomponents/{p-fcec7432.entry.js → p-a351e7e9.entry.js} +1 -1
  382. package/dist/genesys-webcomponents/{p-ef3d49ac.entry.js → p-a4917f0d.entry.js} +1 -1
  383. package/dist/genesys-webcomponents/{p-038ea6d9.entry.js → p-a4fc485c.entry.js} +1 -1
  384. package/dist/genesys-webcomponents/{p-d0e9852a.js → p-a9504f06.js} +1 -1
  385. package/dist/genesys-webcomponents/{p-0672347e.entry.js → p-a9f65a5d.entry.js} +1 -1
  386. package/dist/genesys-webcomponents/{p-41f05a68.entry.js → p-ab1a1ae3.entry.js} +1 -1
  387. package/dist/genesys-webcomponents/{p-10c1abf7.entry.js → p-ae73fab3.entry.js} +1 -1
  388. package/dist/genesys-webcomponents/{p-553fd4e4.entry.js → p-aee86fa4.entry.js} +1 -1
  389. package/dist/genesys-webcomponents/{p-4f2fbbc1.entry.js → p-b06099d0.entry.js} +1 -1
  390. package/dist/genesys-webcomponents/{p-93829e9f.entry.js → p-b25b6fff.entry.js} +1 -1
  391. package/dist/genesys-webcomponents/{p-082b0c1e.entry.js → p-b260046c.entry.js} +1 -1
  392. package/dist/genesys-webcomponents/{p-a010db45.entry.js → p-b39e2de0.entry.js} +1 -1
  393. package/dist/genesys-webcomponents/{p-c9576487.js → p-b6ea91fa.js} +1 -1
  394. package/dist/genesys-webcomponents/{p-e1ac8068.entry.js → p-b7b80a12.entry.js} +1 -1
  395. package/dist/genesys-webcomponents/{p-347cdc05.entry.js → p-b85a7961.entry.js} +1 -1
  396. package/dist/genesys-webcomponents/{p-6028c32a.entry.js → p-b8fe533f.entry.js} +1 -1
  397. package/dist/genesys-webcomponents/{p-1cf366a8.entry.js → p-bb3d1155.entry.js} +1 -1
  398. package/dist/genesys-webcomponents/{p-30ede06b.entry.js → p-bc2b81ac.entry.js} +1 -1
  399. package/dist/genesys-webcomponents/{p-20acb6bb.entry.js → p-c00adfca.entry.js} +1 -1
  400. package/dist/genesys-webcomponents/{p-50a85300.entry.js → p-c12db1ef.entry.js} +1 -1
  401. package/dist/genesys-webcomponents/{p-a5b67e24.entry.js → p-c1a7df32.entry.js} +1 -1
  402. package/dist/genesys-webcomponents/{p-7d64c6a5.js → p-c35bd7c8.js} +1 -1
  403. package/dist/genesys-webcomponents/{p-012b4134.entry.js → p-c39cfe9d.entry.js} +1 -1
  404. package/dist/genesys-webcomponents/{p-3b97344d.entry.js → p-c40306fb.entry.js} +1 -1
  405. package/dist/genesys-webcomponents/{p-a6ca0137.entry.js → p-c826ae78.entry.js} +1 -1
  406. package/dist/genesys-webcomponents/{p-7ee4570d.entry.js → p-c90cf2a9.entry.js} +1 -1
  407. package/dist/genesys-webcomponents/p-c95b8564.entry.js +1 -0
  408. package/dist/genesys-webcomponents/{p-4571c2b6.entry.js → p-c960de17.entry.js} +1 -1
  409. package/dist/genesys-webcomponents/{p-22537b71.entry.js → p-cc2db8bb.entry.js} +1 -1
  410. package/dist/genesys-webcomponents/{p-17abccd0.entry.js → p-d16c17c0.entry.js} +1 -1
  411. package/dist/genesys-webcomponents/{p-940e5dec.entry.js → p-d253bf31.entry.js} +1 -1
  412. package/dist/genesys-webcomponents/{p-9d33deb4.entry.js → p-d61a2e45.entry.js} +1 -1
  413. package/dist/genesys-webcomponents/p-da3c2455.entry.js +1 -0
  414. package/dist/genesys-webcomponents/{p-08c12489.entry.js → p-dadfd27d.entry.js} +1 -1
  415. package/dist/genesys-webcomponents/{p-19016dbb.entry.js → p-db522341.entry.js} +1 -1
  416. package/dist/genesys-webcomponents/{p-02f0fb86.entry.js → p-dda52303.entry.js} +1 -1
  417. package/dist/genesys-webcomponents/{p-9952f41a.entry.js → p-e1c31ddd.entry.js} +1 -1
  418. package/dist/genesys-webcomponents/{p-312689ad.entry.js → p-e2d16e06.entry.js} +1 -1
  419. package/dist/genesys-webcomponents/p-e333f284.entry.js +1 -0
  420. package/dist/genesys-webcomponents/{p-1fa5e36d.entry.js → p-e523b0b8.entry.js} +1 -1
  421. package/dist/genesys-webcomponents/{p-6f8e79ba.entry.js → p-e74d0da8.entry.js} +1 -1
  422. package/dist/genesys-webcomponents/{p-7a01d840.entry.js → p-e9455fb7.entry.js} +1 -1
  423. package/dist/genesys-webcomponents/{p-0f9add49.entry.js → p-eb7fe419.entry.js} +1 -1
  424. package/dist/genesys-webcomponents/{p-3028846b.entry.js → p-ebc605bc.entry.js} +1 -1
  425. package/dist/genesys-webcomponents/{p-111e073a.entry.js → p-ed842d06.entry.js} +1 -1
  426. package/dist/genesys-webcomponents/{p-d01b852c.entry.js → p-efd89331.entry.js} +1 -1
  427. package/dist/genesys-webcomponents/p-f0429a61.entry.js +1 -0
  428. package/dist/genesys-webcomponents/{p-db1c355f.entry.js → p-f0910962.entry.js} +1 -1
  429. package/dist/genesys-webcomponents/{p-3acc62ab.entry.js → p-f357f65e.entry.js} +1 -1
  430. package/dist/genesys-webcomponents/p-f4db0518.entry.js +1 -0
  431. package/dist/genesys-webcomponents/{p-fa7e4154.entry.js → p-f6a49f14.entry.js} +1 -1
  432. package/dist/genesys-webcomponents/{p-d915144d.js → p-f77f86a9.js} +1 -1
  433. package/dist/genesys-webcomponents/{p-75c666bd.entry.js → p-f788ab66.entry.js} +1 -1
  434. package/dist/genesys-webcomponents/{p-163a7345.entry.js → p-fd6d210c.entry.js} +1 -1
  435. package/dist/genesys-webcomponents/{p-9c9dc7a9.entry.js → p-fd76a3ba.entry.js} +1 -1
  436. package/dist/stencil-wrapper.js +1 -1
  437. package/dist/types/components/beta/gux-flyout-menu/gux-menu/gux-menu.common.d.ts +0 -1
  438. package/dist/types/components/beta/gux-table/gux-table-select-menu/gux-table-select-menu.d.ts +0 -1
  439. package/dist/types/components/beta/gux-time-picker/gux-time-picker.d.ts +0 -1
  440. package/dist/types/components/stable/gux-action-button/gux-action-button.d.ts +0 -1
  441. package/dist/types/components/stable/gux-button-multi/gux-button-multi.d.ts +0 -1
  442. package/dist/types/components/stable/gux-tabs-advanced/gux-tab-advanced/gux-tab-advanced.d.ts +0 -1
  443. package/dist/types/components/stable/gux-tabs-advanced/gux-tab-advanced-list/gux-tab-advanced-list.d.ts +0 -1
  444. package/dist/types/stencil-public-runtime.d.ts +15 -4
  445. package/dist/types/utils/dom/after-next-render.d.ts +1 -0
  446. package/package.json +4 -4
  447. package/CHANGELOG.md +0 -5507
  448. package/dist/esm/after-next-render-8743ee2f.js +0 -5
  449. package/dist/genesys-webcomponents/p-09203df6.entry.js +0 -1
  450. package/dist/genesys-webcomponents/p-36e87d12.entry.js +0 -1
  451. package/dist/genesys-webcomponents/p-39a696d6.js +0 -2
  452. package/dist/genesys-webcomponents/p-3cee3c32.entry.js +0 -1
  453. package/dist/genesys-webcomponents/p-3d3019e1.js +0 -1
  454. package/dist/genesys-webcomponents/p-4cd5a46e.entry.js +0 -1
  455. package/dist/genesys-webcomponents/p-5df781f3.entry.js +0 -1
  456. package/dist/genesys-webcomponents/p-6b3daec8.entry.js +0 -1
  457. package/dist/genesys-webcomponents/p-6e3596bd.entry.js +0 -1
  458. package/dist/genesys-webcomponents/p-82eb8b00.js +0 -1
  459. package/dist/genesys-webcomponents/p-8b856a2a.entry.js +0 -1
  460. package/dist/genesys-webcomponents/p-946bbb86.entry.js +0 -1
  461. package/dist/genesys-webcomponents/p-95dd4e4a.entry.js +0 -1
  462. package/dist/genesys-webcomponents/p-a0133281.entry.js +0 -1
  463. package/dist/genesys-webcomponents/p-a02c3341.js +0 -1
  464. package/dist/genesys-webcomponents/p-d007aa66.entry.js +0 -1
  465. package/dist/genesys-webcomponents/p-d239237c.entry.js +0 -1
  466. package/dist/genesys-webcomponents/p-d300c446.entry.js +0 -1
  467. package/dist/genesys-webcomponents/p-d6d5864c.entry.js +0 -1
  468. package/dist/genesys-webcomponents/p-dc806095.entry.js +0 -1
  469. package/dist/genesys-webcomponents/p-dfc36ceb.entry.js +0 -1
  470. package/dist/genesys-webcomponents/p-e8373273.entry.js +0 -1
  471. package/dist/genesys-webcomponents/p-f5353c95.entry.js +0 -1
  472. package/dist/genesys-webcomponents/p-f58cd752.entry.js +0 -1
@@ -1,5 +1,13 @@
1
1
  const NAMESPACE = 'genesys-webcomponents';
2
2
 
3
+ /**
4
+ * Virtual DOM patching algorithm based on Snabbdom by
5
+ * Simon Friis Vindum (@paldepind)
6
+ * Licensed under the MIT License
7
+ * https://github.com/snabbdom/snabbdom/blob/master/LICENSE
8
+ *
9
+ * Modified for Stencil's renderer and slot projection
10
+ */
3
11
  let scopeId;
4
12
  let contentRef;
5
13
  let hostTagName;
@@ -8,62 +16,10 @@ let checkSlotFallbackVisibility = false;
8
16
  let checkSlotRelocate = false;
9
17
  let isSvgMode = false;
10
18
  let queuePending = false;
11
- const win = typeof window !== 'undefined' ? window : {};
12
- const doc = win.document || { head: {} };
13
- const plt = {
14
- $flags$: 0,
15
- $resourcesUrl$: '',
16
- jmp: (h) => h(),
17
- raf: (h) => requestAnimationFrame(h),
18
- ael: (el, eventName, listener, opts) => el.addEventListener(eventName, listener, opts),
19
- rel: (el, eventName, listener, opts) => el.removeEventListener(eventName, listener, opts),
20
- ce: (eventName, opts) => new CustomEvent(eventName, opts),
21
- };
22
- const promiseResolve = (v) => Promise.resolve(v);
23
- const supportsConstructableStylesheets = /*@__PURE__*/ (() => {
24
- try {
25
- new CSSStyleSheet();
26
- return typeof new CSSStyleSheet().replaceSync === 'function';
27
- }
28
- catch (e) { }
29
- return false;
30
- })()
31
- ;
32
- const addHostEventListeners = (elm, hostRef, listeners, attachParentListeners) => {
33
- if (listeners) {
34
- listeners.map(([flags, name, method]) => {
35
- const target = getHostListenerTarget(elm, flags) ;
36
- const handler = hostListenerProxy(hostRef, method);
37
- const opts = hostListenerOpts(flags);
38
- plt.ael(target, name, handler, opts);
39
- (hostRef.$rmListeners$ = hostRef.$rmListeners$ || []).push(() => plt.rel(target, name, handler, opts));
40
- });
41
- }
42
- };
43
- const hostListenerProxy = (hostRef, methodName) => (ev) => {
44
- try {
45
- {
46
- if (hostRef.$flags$ & 256 /* HOST_FLAGS.isListenReady */) {
47
- // instance is ready, let's call it's member method for this event
48
- hostRef.$lazyInstance$[methodName](ev);
49
- }
50
- else {
51
- (hostRef.$queuedListeners$ = hostRef.$queuedListeners$ || []).push([methodName, ev]);
52
- }
53
- }
54
- }
55
- catch (e) {
56
- consoleError(e);
57
- }
58
- };
59
- const getHostListenerTarget = (elm, flags) => {
60
- if (flags & 8 /* LISTENER_FLAGS.TargetWindow */)
61
- return win;
62
- return elm;
19
+ const getAssetPath = (path) => {
20
+ const assetUrl = new URL(path, plt.$resourcesUrl$);
21
+ return assetUrl.origin !== win.location.origin ? assetUrl.href : assetUrl.pathname;
63
22
  };
64
- // prettier-ignore
65
- const hostListenerOpts = (flags) => (flags & 2 /* LISTENER_FLAGS.Capture */) !== 0;
66
- const HYDRATED_CSS = '{visibility:hidden}[hydrated]{visibility:inherit}';
67
23
  const createTime = (fnName, tagName = '') => {
68
24
  {
69
25
  return () => {
@@ -78,76 +34,7 @@ const uniqueTime = (key, measureText) => {
78
34
  };
79
35
  }
80
36
  };
81
- const rootAppliedStyles = /*@__PURE__*/ new WeakMap();
82
- const registerStyle = (scopeId, cssText, allowCS) => {
83
- let style = styles.get(scopeId);
84
- if (supportsConstructableStylesheets && allowCS) {
85
- style = (style || new CSSStyleSheet());
86
- if (typeof style === 'string') {
87
- style = cssText;
88
- }
89
- else {
90
- style.replaceSync(cssText);
91
- }
92
- }
93
- else {
94
- style = cssText;
95
- }
96
- styles.set(scopeId, style);
97
- };
98
- const addStyle = (styleContainerNode, cmpMeta, mode, hostElm) => {
99
- let scopeId = getScopeId(cmpMeta);
100
- const style = styles.get(scopeId);
101
- // if an element is NOT connected then getRootNode() will return the wrong root node
102
- // so the fallback is to always use the document for the root node in those cases
103
- styleContainerNode = styleContainerNode.nodeType === 11 /* NODE_TYPE.DocumentFragment */ ? styleContainerNode : doc;
104
- if (style) {
105
- if (typeof style === 'string') {
106
- styleContainerNode = styleContainerNode.head || styleContainerNode;
107
- let appliedStyles = rootAppliedStyles.get(styleContainerNode);
108
- let styleElm;
109
- if (!appliedStyles) {
110
- rootAppliedStyles.set(styleContainerNode, (appliedStyles = new Set()));
111
- }
112
- if (!appliedStyles.has(scopeId)) {
113
- {
114
- {
115
- styleElm = doc.createElement('style');
116
- styleElm.innerHTML = style;
117
- }
118
- styleContainerNode.insertBefore(styleElm, styleContainerNode.querySelector('link'));
119
- }
120
- if (appliedStyles) {
121
- appliedStyles.add(scopeId);
122
- }
123
- }
124
- }
125
- else if (!styleContainerNode.adoptedStyleSheets.includes(style)) {
126
- styleContainerNode.adoptedStyleSheets = [...styleContainerNode.adoptedStyleSheets, style];
127
- }
128
- }
129
- return scopeId;
130
- };
131
- const attachStyles = (hostRef) => {
132
- const cmpMeta = hostRef.$cmpMeta$;
133
- const elm = hostRef.$hostElement$;
134
- const flags = cmpMeta.$flags$;
135
- const endAttachStyles = createTime('attachStyles', cmpMeta.$tagName$);
136
- const scopeId = addStyle(elm.shadowRoot ? elm.shadowRoot : elm.getRootNode(), cmpMeta);
137
- if (flags & 10 /* CMP_FLAGS.needsScopedEncapsulation */) {
138
- // only required when we're NOT using native shadow dom (slot)
139
- // or this browser doesn't support native shadow dom
140
- // and this host element was NOT created with SSR
141
- // let's pick out the inner content for slot projection
142
- // create a node to represent where the original
143
- // content was first placed, which is useful later on
144
- // DOM WRITE!!
145
- elm['s-sc'] = scopeId;
146
- elm.classList.add(scopeId + '-h');
147
- }
148
- endAttachStyles();
149
- };
150
- const getScopeId = (cmp, mode) => 'sc-' + (cmp.$tagName$);
37
+ const HYDRATED_CSS = '{visibility:hidden}[hydrated]{visibility:inherit}';
151
38
  /**
152
39
  * Default style mode id
153
40
  */
@@ -296,6 +183,149 @@ const convertToPrivate = (node) => {
296
183
  vnode.$name$ = node.vname;
297
184
  return vnode;
298
185
  };
186
+ /**
187
+ * Parse a new property value for a given property type.
188
+ *
189
+ * While the prop value can reasonably be expected to be of `any` type as far as TypeScript's type checker is concerned,
190
+ * it is not safe to assume that the string returned by evaluating `typeof propValue` matches:
191
+ * 1. `any`, the type given to `propValue` in the function signature
192
+ * 2. the type stored from `propType`.
193
+ *
194
+ * This function provides the capability to parse/coerce a property's value to potentially any other JavaScript type.
195
+ *
196
+ * Property values represented in TSX preserve their type information. In the example below, the number 0 is passed to
197
+ * a component. This `propValue` will preserve its type information (`typeof propValue === 'number'`). Note that is
198
+ * based on the type of the value being passed in, not the type declared of the class member decorated with `@Prop`.
199
+ * ```tsx
200
+ * <my-cmp prop-val={0}></my-cmp>
201
+ * ```
202
+ *
203
+ * HTML prop values on the other hand, will always a string
204
+ *
205
+ * @param propValue the new value to coerce to some type
206
+ * @param propType the type of the prop, expressed as a binary number
207
+ * @returns the parsed/coerced value
208
+ */
209
+ const parsePropertyValue = (propValue, propType) => {
210
+ // ensure this value is of the correct prop type
211
+ if (propValue != null && !isComplexType(propValue)) {
212
+ if (propType & 4 /* MEMBER_FLAGS.Boolean */) {
213
+ // per the HTML spec, any string value means it is a boolean true value
214
+ // but we'll cheat here and say that the string "false" is the boolean false
215
+ return propValue === 'false' ? false : propValue === '' || !!propValue;
216
+ }
217
+ if (propType & 2 /* MEMBER_FLAGS.Number */) {
218
+ // force it to be a number
219
+ return parseFloat(propValue);
220
+ }
221
+ if (propType & 1 /* MEMBER_FLAGS.String */) {
222
+ // could have been passed as a number or boolean
223
+ // but we still want it as a string
224
+ return String(propValue);
225
+ }
226
+ // redundant return here for better minification
227
+ return propValue;
228
+ }
229
+ // not sure exactly what type we want
230
+ // so no need to change to a different type
231
+ return propValue;
232
+ };
233
+ const getElement = (ref) => (getHostRef(ref).$hostElement$ );
234
+ const createEvent = (ref, name, flags) => {
235
+ const elm = getElement(ref);
236
+ return {
237
+ emit: (detail) => {
238
+ return emitEvent(elm, name, {
239
+ bubbles: !!(flags & 4 /* EVENT_FLAGS.Bubbles */),
240
+ composed: !!(flags & 2 /* EVENT_FLAGS.Composed */),
241
+ cancelable: !!(flags & 1 /* EVENT_FLAGS.Cancellable */),
242
+ detail,
243
+ });
244
+ },
245
+ };
246
+ };
247
+ /**
248
+ * Helper function to create & dispatch a custom Event on a provided target
249
+ * @param elm the target of the Event
250
+ * @param name the name to give the custom Event
251
+ * @param opts options for configuring a custom Event
252
+ * @returns the custom Event
253
+ */
254
+ const emitEvent = (elm, name, opts) => {
255
+ const ev = plt.ce(name, opts);
256
+ elm.dispatchEvent(ev);
257
+ return ev;
258
+ };
259
+ const rootAppliedStyles = /*@__PURE__*/ new WeakMap();
260
+ const registerStyle = (scopeId, cssText, allowCS) => {
261
+ let style = styles.get(scopeId);
262
+ if (supportsConstructableStylesheets && allowCS) {
263
+ style = (style || new CSSStyleSheet());
264
+ if (typeof style === 'string') {
265
+ style = cssText;
266
+ }
267
+ else {
268
+ style.replaceSync(cssText);
269
+ }
270
+ }
271
+ else {
272
+ style = cssText;
273
+ }
274
+ styles.set(scopeId, style);
275
+ };
276
+ const addStyle = (styleContainerNode, cmpMeta, mode, hostElm) => {
277
+ let scopeId = getScopeId(cmpMeta);
278
+ const style = styles.get(scopeId);
279
+ // if an element is NOT connected then getRootNode() will return the wrong root node
280
+ // so the fallback is to always use the document for the root node in those cases
281
+ styleContainerNode = styleContainerNode.nodeType === 11 /* NODE_TYPE.DocumentFragment */ ? styleContainerNode : doc;
282
+ if (style) {
283
+ if (typeof style === 'string') {
284
+ styleContainerNode = styleContainerNode.head || styleContainerNode;
285
+ let appliedStyles = rootAppliedStyles.get(styleContainerNode);
286
+ let styleElm;
287
+ if (!appliedStyles) {
288
+ rootAppliedStyles.set(styleContainerNode, (appliedStyles = new Set()));
289
+ }
290
+ if (!appliedStyles.has(scopeId)) {
291
+ {
292
+ {
293
+ styleElm = doc.createElement('style');
294
+ styleElm.innerHTML = style;
295
+ }
296
+ styleContainerNode.insertBefore(styleElm, styleContainerNode.querySelector('link'));
297
+ }
298
+ if (appliedStyles) {
299
+ appliedStyles.add(scopeId);
300
+ }
301
+ }
302
+ }
303
+ else if (!styleContainerNode.adoptedStyleSheets.includes(style)) {
304
+ styleContainerNode.adoptedStyleSheets = [...styleContainerNode.adoptedStyleSheets, style];
305
+ }
306
+ }
307
+ return scopeId;
308
+ };
309
+ const attachStyles = (hostRef) => {
310
+ const cmpMeta = hostRef.$cmpMeta$;
311
+ const elm = hostRef.$hostElement$;
312
+ const flags = cmpMeta.$flags$;
313
+ const endAttachStyles = createTime('attachStyles', cmpMeta.$tagName$);
314
+ const scopeId = addStyle(elm.shadowRoot ? elm.shadowRoot : elm.getRootNode(), cmpMeta);
315
+ if (flags & 10 /* CMP_FLAGS.needsScopedEncapsulation */) {
316
+ // only required when we're NOT using native shadow dom (slot)
317
+ // or this browser doesn't support native shadow dom
318
+ // and this host element was NOT created with SSR
319
+ // let's pick out the inner content for slot projection
320
+ // create a node to represent where the original
321
+ // content was first placed, which is useful later on
322
+ // DOM WRITE!!
323
+ elm['s-sc'] = scopeId;
324
+ elm.classList.add(scopeId + '-h');
325
+ }
326
+ endAttachStyles();
327
+ };
328
+ const getScopeId = (cmp, mode) => 'sc-' + (cmp.$tagName$);
299
329
  /**
300
330
  * Production setAccessor() function based on Preact by
301
331
  * Jason Miller (@developit)
@@ -1200,32 +1230,6 @@ const renderVdom = (hostRef, renderFnResults) => {
1200
1230
  relocateNodes.length = 0;
1201
1231
  }
1202
1232
  };
1203
- const getElement = (ref) => (getHostRef(ref).$hostElement$ );
1204
- const createEvent = (ref, name, flags) => {
1205
- const elm = getElement(ref);
1206
- return {
1207
- emit: (detail) => {
1208
- return emitEvent(elm, name, {
1209
- bubbles: !!(flags & 4 /* EVENT_FLAGS.Bubbles */),
1210
- composed: !!(flags & 2 /* EVENT_FLAGS.Composed */),
1211
- cancelable: !!(flags & 1 /* EVENT_FLAGS.Cancellable */),
1212
- detail,
1213
- });
1214
- },
1215
- };
1216
- };
1217
- /**
1218
- * Helper function to create & dispatch a custom Event on a provided target
1219
- * @param elm the target of the Event
1220
- * @param name the name to give the custom Event
1221
- * @param opts options for configuring a custom Event
1222
- * @returns the custom Event
1223
- */
1224
- const emitEvent = (elm, name, opts) => {
1225
- const ev = plt.ce(name, opts);
1226
- elm.dispatchEvent(ev);
1227
- return ev;
1228
- };
1229
1233
  const attachToAncestor = (hostRef, ancestorComponent) => {
1230
1234
  if (ancestorComponent && !hostRef.$onRenderResolve$ && ancestorComponent['s-p']) {
1231
1235
  ancestorComponent['s-p'].push(new Promise((r) => (hostRef.$onRenderResolve$ = r)));
@@ -1415,53 +1419,6 @@ const then = (promise, thenFn) => {
1415
1419
  };
1416
1420
  const addHydratedFlag = (elm) => elm.setAttribute('hydrated', '')
1417
1421
  ;
1418
- /**
1419
- * Parse a new property value for a given property type.
1420
- *
1421
- * While the prop value can reasonably be expected to be of `any` type as far as TypeScript's type checker is concerned,
1422
- * it is not safe to assume that the string returned by evaluating `typeof propValue` matches:
1423
- * 1. `any`, the type given to `propValue` in the function signature
1424
- * 2. the type stored from `propType`.
1425
- *
1426
- * This function provides the capability to parse/coerce a property's value to potentially any other JavaScript type.
1427
- *
1428
- * Property values represented in TSX preserve their type information. In the example below, the number 0 is passed to
1429
- * a component. This `propValue` will preserve its type information (`typeof propValue === 'number'`). Note that is
1430
- * based on the type of the value being passed in, not the type declared of the class member decorated with `@Prop`.
1431
- * ```tsx
1432
- * <my-cmp prop-val={0}></my-cmp>
1433
- * ```
1434
- *
1435
- * HTML prop values on the other hand, will always a string
1436
- *
1437
- * @param propValue the new value to coerce to some type
1438
- * @param propType the type of the prop, expressed as a binary number
1439
- * @returns the parsed/coerced value
1440
- */
1441
- const parsePropertyValue = (propValue, propType) => {
1442
- // ensure this value is of the correct prop type
1443
- if (propValue != null && !isComplexType(propValue)) {
1444
- if (propType & 4 /* MEMBER_FLAGS.Boolean */) {
1445
- // per the HTML spec, any string value means it is a boolean true value
1446
- // but we'll cheat here and say that the string "false" is the boolean false
1447
- return propValue === 'false' ? false : propValue === '' || !!propValue;
1448
- }
1449
- if (propType & 2 /* MEMBER_FLAGS.Number */) {
1450
- // force it to be a number
1451
- return parseFloat(propValue);
1452
- }
1453
- if (propType & 1 /* MEMBER_FLAGS.String */) {
1454
- // could have been passed as a number or boolean
1455
- // but we still want it as a string
1456
- return String(propValue);
1457
- }
1458
- // redundant return here for better minification
1459
- return propValue;
1460
- }
1461
- // not sure exactly what type we want
1462
- // so no need to change to a different type
1463
- return propValue;
1464
- };
1465
1422
  const getValue = (ref, propName) => getHostRef(ref).$instanceValues$.get(propName);
1466
1423
  const setValue = (ref, propName, newVal, cmpMeta) => {
1467
1424
  // check our new property value against our internal value
@@ -1505,6 +1462,16 @@ const setValue = (ref, propName, newVal, cmpMeta) => {
1505
1462
  }
1506
1463
  }
1507
1464
  };
1465
+ /**
1466
+ * Attach a series of runtime constructs to a compiled Stencil component
1467
+ * constructor, including getters and setters for the `@Prop` and `@State`
1468
+ * decorators, callbacks for when attributes change, and so on.
1469
+ *
1470
+ * @param Cstr the constructor for a component that we need to process
1471
+ * @param cmpMeta metadata collected previously about the component
1472
+ * @param flags a number used to store a series of bit flags
1473
+ * @returns a reference to the same constructor passed in (but now mutated)
1474
+ */
1508
1475
  const proxyComponent = (Cstr, cmpMeta, flags) => {
1509
1476
  if (cmpMeta.$members$) {
1510
1477
  if (Cstr.watchers) {
@@ -1879,10 +1846,40 @@ const bootstrapLazy = (lazyBundles, options = {}) => {
1879
1846
  // Fallback appLoad event
1880
1847
  endBootstrap();
1881
1848
  };
1882
- const getAssetPath = (path) => {
1883
- const assetUrl = new URL(path, plt.$resourcesUrl$);
1884
- return assetUrl.origin !== win.location.origin ? assetUrl.href : assetUrl.pathname;
1849
+ const addHostEventListeners = (elm, hostRef, listeners, attachParentListeners) => {
1850
+ if (listeners) {
1851
+ listeners.map(([flags, name, method]) => {
1852
+ const target = getHostListenerTarget(elm, flags) ;
1853
+ const handler = hostListenerProxy(hostRef, method);
1854
+ const opts = hostListenerOpts(flags);
1855
+ plt.ael(target, name, handler, opts);
1856
+ (hostRef.$rmListeners$ = hostRef.$rmListeners$ || []).push(() => plt.rel(target, name, handler, opts));
1857
+ });
1858
+ }
1859
+ };
1860
+ const hostListenerProxy = (hostRef, methodName) => (ev) => {
1861
+ try {
1862
+ {
1863
+ if (hostRef.$flags$ & 256 /* HOST_FLAGS.isListenReady */) {
1864
+ // instance is ready, let's call it's member method for this event
1865
+ hostRef.$lazyInstance$[methodName](ev);
1866
+ }
1867
+ else {
1868
+ (hostRef.$queuedListeners$ = hostRef.$queuedListeners$ || []).push([methodName, ev]);
1869
+ }
1870
+ }
1871
+ }
1872
+ catch (e) {
1873
+ consoleError(e);
1874
+ }
1885
1875
  };
1876
+ const getHostListenerTarget = (elm, flags) => {
1877
+ if (flags & 8 /* LISTENER_FLAGS.TargetWindow */)
1878
+ return win;
1879
+ return elm;
1880
+ };
1881
+ // prettier-ignore
1882
+ const hostListenerOpts = (flags) => (flags & 2 /* LISTENER_FLAGS.Capture */) !== 0;
1886
1883
  const hostRefs = /*@__PURE__*/ new WeakMap();
1887
1884
  const getHostRef = (ref) => hostRefs.get(ref);
1888
1885
  const registerInstance = (lazyInstance, hostRef) => hostRefs.set((hostRef.$lazyInstance$ = lazyInstance), hostRef);
@@ -2442,6 +2439,27 @@ const loadModule = (cmpMeta, hostRef, hmrVersionId) => {
2442
2439
  }, consoleError);
2443
2440
  };
2444
2441
  const styles = /*@__PURE__*/ new Map();
2442
+ const win = typeof window !== 'undefined' ? window : {};
2443
+ const doc = win.document || { head: {} };
2444
+ const plt = {
2445
+ $flags$: 0,
2446
+ $resourcesUrl$: '',
2447
+ jmp: (h) => h(),
2448
+ raf: (h) => requestAnimationFrame(h),
2449
+ ael: (el, eventName, listener, opts) => el.addEventListener(eventName, listener, opts),
2450
+ rel: (el, eventName, listener, opts) => el.removeEventListener(eventName, listener, opts),
2451
+ ce: (eventName, opts) => new CustomEvent(eventName, opts),
2452
+ };
2453
+ const promiseResolve = (v) => Promise.resolve(v);
2454
+ const supportsConstructableStylesheets = /*@__PURE__*/ (() => {
2455
+ try {
2456
+ new CSSStyleSheet();
2457
+ return typeof new CSSStyleSheet().replaceSync === 'function';
2458
+ }
2459
+ catch (e) { }
2460
+ return false;
2461
+ })()
2462
+ ;
2445
2463
  const queueDomReads = [];
2446
2464
  const queueDomWrites = [];
2447
2465
  const queueTask = (queue, write) => (cb) => {
@@ -1,7 +1,7 @@
1
- import { p as promiseResolve, b as bootstrapLazy } from './index-738480cf.js';
1
+ import { p as promiseResolve, b as bootstrapLazy } from './index-be334191.js';
2
2
 
3
3
  /*
4
- Stencil Client Patch Esm v2.18.0 | MIT Licensed | https://stenciljs.com
4
+ Stencil Client Patch Esm v2.18.1 | MIT Licensed | https://stenciljs.com
5
5
  */
6
6
  const patchEsm = () => {
7
7
  return promiseResolve();
@@ -1,4 +1,4 @@
1
- import { g as getElement } from './index-738480cf.js';
1
+ import { g as getElement } from './index-be334191.js';
2
2
 
3
3
  /* eslint-disable @typescript-eslint/no-unsafe-return */
4
4
  const OnClickOutsideOptionsDefaults = {
@@ -1,4 +1,4 @@
1
- import { g as getElement } from './index-738480cf.js';
1
+ import { g as getElement } from './index-be334191.js';
2
2
 
3
3
  /* eslint-disable @typescript-eslint/no-unsafe-argument */
4
4
  function OnMutation(opt) {
@@ -1,4 +1,4 @@
1
- import { g as getElement } from './index-738480cf.js';
1
+ import { g as getElement } from './index-be334191.js';
2
2
 
3
3
  /* eslint-disable @typescript-eslint/no-unsafe-argument */
4
4
  function OnResize() {
@@ -1 +1 @@
1
- var __assign=this&&this.__assign||function(){return(__assign=Object.assign||function(e){for(var t,r=1,n=arguments.length;r<n;r++)for(var s in t=arguments[r])Object.prototype.hasOwnProperty.call(t,s)&&(e[s]=t[s]);return e}).apply(this,arguments)},StyleNode=function(){this.start=0,this.end=0,this.previous=null,this.parent=null,this.rules=null,this.parsedCssText="",this.cssText="",this.atRule=!1,this.type=0,this.keyframesName="",this.selector="",this.parsedSelector=""};function parse(e){return parseCss(lex(e=clean(e)),e)}function clean(e){return e.replace(RX.comments,"").replace(RX.port,"")}function lex(e){var t=new StyleNode;t.start=0,t.end=e.length;for(var r=t,n=0,s=e.length;n<s;n++)if(e[n]===OPEN_BRACE){r.rules||(r.rules=[]);var o=r,a=o.rules[o.rules.length-1]||null;(r=new StyleNode).start=n+1,r.parent=o,r.previous=a,o.rules.push(r)}else e[n]===CLOSE_BRACE&&(r.end=n+1,r=r.parent||t);return t}function parseCss(e,t){var r=t.substring(e.start,e.end-1);if(e.parsedCssText=e.cssText=r.trim(),e.parent){var n=e.previous?e.previous.end:e.parent.start;r=(r=(r=_expandUnicodeEscapes(r=t.substring(n,e.start-1))).replace(RX.multipleSpaces," ")).substring(r.lastIndexOf(";")+1);var s=e.parsedSelector=e.selector=r.trim();e.atRule=0===s.indexOf(AT_START),e.atRule?0===s.indexOf(MEDIA_START)?e.type=types.MEDIA_RULE:s.match(RX.keyframesRule)&&(e.type=types.KEYFRAMES_RULE,e.keyframesName=e.selector.split(RX.multipleSpaces).pop()):0===s.indexOf(VAR_START)?e.type=types.MIXIN_RULE:e.type=types.STYLE_RULE}var o=e.rules;if(o)for(var a=0,i=o.length,l=void 0;a<i&&(l=o[a]);a++)parseCss(l,t);return e}function _expandUnicodeEscapes(e){return e.replace(/\\([0-9a-f]{1,6})\s/gi,(function(){for(var e=arguments[1],t=6-e.length;t--;)e="0"+e;return"\\"+e}))}var types={STYLE_RULE:1,KEYFRAMES_RULE:7,MEDIA_RULE:4,MIXIN_RULE:1e3},OPEN_BRACE="{",CLOSE_BRACE="}",RX={comments:/\/\*[^*]*\*+([^/*][^*]*\*+)*\//gim,port:/@import[^;]*;/gim,customProp:/(?:^[^;\-\s}]+)?--[^;{}]*?:[^{};]*?(?:[;\n]|$)/gim,mixinProp:/(?:^[^;\-\s}]+)?--[^;{}]*?:[^{};]*?{[^}]*?}(?:[;\n]|$)?/gim,mixinApply:/@apply\s*\(?[^);]*\)?\s*(?:[;\n]|$)?/gim,varApply:/[^;:]*?:[^;]*?var\([^;]*\)(?:[;\n]|$)?/gim,keyframesRule:/^@[^\s]*keyframes/,multipleSpaces:/\s+/g},VAR_START="--",MEDIA_START="@media",AT_START="@";function findRegex(e,t,r){e.lastIndex=0;var n=t.substring(r).match(e);if(n){var s=r+n.index;return{start:s,end:s+n[0].length}}return null}var VAR_USAGE_START=/\bvar\(/,VAR_ASSIGN_START=/\B--[\w-]+\s*:/,COMMENTS=/\/\*[^*]*\*+([^/*][^*]*\*+)*\//gim,TRAILING_LINES=/^[\t ]+\n/gm;function resolveVar(e,t,r){return e[t]?e[t]:r?executeTemplate(r,e):""}function findVarEndIndex(e,t){for(var r=0,n=t;n<e.length;n++){var s=e[n];if("("===s)r++;else if(")"===s&&--r<=0)return n+1}return n}function parseVar(e,t){var r=findRegex(VAR_USAGE_START,e,t);if(!r)return null;var n=findVarEndIndex(e,r.start),s=e.substring(r.end,n-1).split(","),o=s[0],a=s.slice(1);return{start:r.start,end:n,propName:o.trim(),fallback:a.length>0?a.join(",").trim():void 0}}function compileVar(e,t,r){var n=parseVar(e,r);if(!n)return t.push(e.substring(r,e.length)),e.length;var s=n.propName,o=null!=n.fallback?compileTemplate(n.fallback):void 0;return t.push(e.substring(r,n.start),(function(e){return resolveVar(e,s,o)})),n.end}function executeTemplate(e,t){for(var r="",n=0;n<e.length;n++){var s=e[n];r+="string"==typeof s?s:s(t)}return r}function findEndValue(e,t){for(var r=!1,n=!1,s=t;s<e.length;s++){var o=e[s];if(r)n&&'"'===o&&(r=!1),n||"'"!==o||(r=!1);else if('"'===o)r=!0,n=!0;else if("'"===o)r=!0,n=!1;else{if(";"===o)return s+1;if("}"===o)return s}}return s}function removeCustomAssigns(e){for(var t="",r=0;;){var n=findRegex(VAR_ASSIGN_START,e,r),s=n?n.start:e.length;if(t+=e.substring(r,s),!n)break;r=findEndValue(e,s)}return t}function compileTemplate(e){var t=0;e=removeCustomAssigns(e=e.replace(COMMENTS,"")).replace(TRAILING_LINES,"");for(var r=[];t<e.length;)t=compileVar(e,r,t);return r}function resolveValues(e){var t={};e.forEach((function(e){e.declarations.forEach((function(e){t[e.prop]=e.value}))}));for(var r={},n=Object.entries(t),s=function(e){var t=!1;if(n.forEach((function(e){var n=e[0],s=executeTemplate(e[1],r);s!==r[n]&&(r[n]=s,t=!0)})),!t)return"break"},o=0;o<10;o++){if("break"===s())break}return r}function getSelectors(e,t){if(void 0===t&&(t=0),!e.rules)return[];var r=[];return e.rules.filter((function(e){return e.type===types.STYLE_RULE})).forEach((function(e){var n=getDeclarations(e.cssText);n.length>0&&e.parsedSelector.split(",").forEach((function(e){e=e.trim(),r.push({selector:e,declarations:n,specificity:computeSpecificity(),nu:t})})),t++})),r}function computeSpecificity(e){return 1}var IMPORTANT="!important",FIND_DECLARATIONS=/(?:^|[;\s{]\s*)(--[\w-]*?)\s*:\s*(?:((?:'(?:\\'|.)*?'|"(?:\\"|.)*?"|\([^)]*?\)|[^};{])+)|\{([^}]*)\}(?:(?=[;\s}])|$))/gm;function getDeclarations(e){for(var t,r=[];t=FIND_DECLARATIONS.exec(e.trim());){var n=normalizeValue(t[2]),s=n.value,o=n.important;r.push({prop:t[1].trim(),value:compileTemplate(s),important:o})}return r}function normalizeValue(e){var t=(e=e.replace(/\s+/gim," ").trim()).endsWith(IMPORTANT);return t&&(e=e.slice(0,e.length-IMPORTANT.length).trim()),{value:e,important:t}}function getActiveSelectors(e,t,r){var n=[],s=getScopesForElement(t,e);return r.forEach((function(e){return n.push(e)})),s.forEach((function(e){return n.push(e)})),sortSelectors(getSelectorsForScopes(n).filter((function(t){return matches(e,t.selector)})))}function getScopesForElement(e,t){for(var r=[];t;){var n=e.get(t);n&&r.push(n),t=t.parentElement}return r}function getSelectorsForScopes(e){var t=[];return e.forEach((function(e){t.push.apply(t,e.selectors)})),t}function sortSelectors(e){return e.sort((function(e,t){return e.specificity===t.specificity?e.nu-t.nu:e.specificity-t.specificity})),e}function matches(e,t){return":root"===t||"html"===t||e.matches(t)}function parseCSS(e){var t=parse(e),r=compileTemplate(e);return{original:e,template:r,selectors:getSelectors(t),usesCssVars:r.length>1}}function addGlobalStyle(e,t){if(e.some((function(e){return e.styleEl===t})))return!1;var r=parseCSS(t.textContent);return r.styleEl=t,e.push(r),!0}function updateGlobalScopes(e){var t=resolveValues(getSelectorsForScopes(e));e.forEach((function(e){e.usesCssVars&&(e.styleEl.textContent=executeTemplate(e.template,t))}))}function reScope(e,t){var r=e.template.map((function(r){return"string"==typeof r?replaceScope(r,e.scopeId,t):r})),n=e.selectors.map((function(r){return __assign(__assign({},r),{selector:replaceScope(r.selector,e.scopeId,t)})}));return __assign(__assign({},e),{template:r,selectors:n,scopeId:t})}function replaceScope(e,t,r){return e=replaceAll(e,"\\.".concat(t),".".concat(r))}function replaceAll(e,t,r){return e.replace(new RegExp(t,"g"),r)}function loadDocument(e,t){return loadDocumentStyles(e,t),loadDocumentLinks(e,t).then((function(){updateGlobalScopes(t)}))}function startWatcher(e,t){"undefined"!=typeof MutationObserver&&new MutationObserver((function(){loadDocumentStyles(e,t)&&updateGlobalScopes(t)})).observe(document.head,{childList:!0})}function loadDocumentLinks(e,t){for(var r=[],n=e.querySelectorAll('link[rel="stylesheet"][href]:not([data-no-shim])'),s=0;s<n.length;s++)r.push(addGlobalLink(e,t,n[s]));return Promise.all(r)}function loadDocumentStyles(e,t){return Array.from(e.querySelectorAll("style:not([data-styles]):not([data-no-shim])")).map((function(e){return addGlobalStyle(t,e)})).some(Boolean)}function addGlobalLink(e,t,r){var n=r.href;return fetch(n).then((function(e){return e.text()})).then((function(s){if(hasCssVariables(s)&&r.parentNode){hasRelativeUrls(s)&&(s=fixRelativeUrls(s,n));var o=e.createElement("style");o.setAttribute("data-styles",""),o.textContent=s,addGlobalStyle(t,o),r.parentNode.insertBefore(o,r),r.remove()}})).catch((function(e){console.error(e)}))}var CSS_VARIABLE_REGEXP=/[\s;{]--[-a-zA-Z0-9]+\s*:/m;function hasCssVariables(e){return e.indexOf("var(")>-1||CSS_VARIABLE_REGEXP.test(e)}var CSS_URL_REGEXP=/url[\s]*\([\s]*['"]?(?!(?:https?|data)\:|\/)([^\'\"\)]*)[\s]*['"]?\)[\s]*/gim;function hasRelativeUrls(e){return CSS_URL_REGEXP.lastIndex=0,CSS_URL_REGEXP.test(e)}function fixRelativeUrls(e,t){var r=t.replace(/[^/]*$/,"");return e.replace(CSS_URL_REGEXP,(function(e,t){var n=r+t;return e.replace(t,n)}))}var CustomStyle=function(){function e(e,t){this.win=e,this.doc=t,this.count=0,this.hostStyleMap=new WeakMap,this.hostScopeMap=new WeakMap,this.globalScopes=[],this.scopesMap=new Map,this.didInit=!1}return e.prototype.i=function(){var e=this;return this.didInit||!this.win.requestAnimationFrame?Promise.resolve():(this.didInit=!0,new Promise((function(t){e.win.requestAnimationFrame((function(){startWatcher(e.doc,e.globalScopes),loadDocument(e.doc,e.globalScopes).then((function(){return t()}))}))})))},e.prototype.addLink=function(e){var t=this;return addGlobalLink(this.doc,this.globalScopes,e).then((function(){t.updateGlobal()}))},e.prototype.addGlobalStyle=function(e){addGlobalStyle(this.globalScopes,e)&&this.updateGlobal()},e.prototype.createHostStyle=function(e,t,r,n){if(this.hostScopeMap.has(e))throw new Error("host style already created");var s=this.registerHostTemplate(r,t,n),o=this.doc.createElement("style");return o.setAttribute("data-no-shim",""),s.usesCssVars?n?(o["s-sc"]=t="".concat(s.scopeId,"-").concat(this.count),o.textContent="/*needs update*/",this.hostStyleMap.set(e,o),this.hostScopeMap.set(e,reScope(s,t)),this.count++):(s.styleEl=o,s.usesCssVars||(o.textContent=executeTemplate(s.template,{})),this.globalScopes.push(s),this.updateGlobal(),this.hostScopeMap.set(e,s)):o.textContent=r,o},e.prototype.removeHost=function(e){var t=this.hostStyleMap.get(e);t&&t.remove(),this.hostStyleMap.delete(e),this.hostScopeMap.delete(e)},e.prototype.updateHost=function(e){var t=this.hostScopeMap.get(e);if(t&&t.usesCssVars&&t.isScoped){var r=this.hostStyleMap.get(e);if(r){var n=resolveValues(getActiveSelectors(e,this.hostScopeMap,this.globalScopes));r.textContent=executeTemplate(t.template,n)}}},e.prototype.updateGlobal=function(){updateGlobalScopes(this.globalScopes)},e.prototype.registerHostTemplate=function(e,t,r){var n=this.scopesMap.get(t);return n||((n=parseCSS(e)).scopeId=t,n.isScoped=r,this.scopesMap.set(t,n)),n},e}();!function(e){!e||e.__cssshim||e.CSS&&e.CSS.supports&&e.CSS.supports("color","var(--c)")||(e.__cssshim=new CustomStyle(e,e.document))}("undefined"!=typeof window&&window);
1
+ var __assign=this&&this.__assign||function(){return(__assign=Object.assign||function(e){for(var t,r=1,n=arguments.length;r<n;r++)for(var s in t=arguments[r])Object.prototype.hasOwnProperty.call(t,s)&&(e[s]=t[s]);return e}).apply(this,arguments)},StyleNode=function(){this.start=0,this.end=0,this.previous=null,this.parent=null,this.rules=null,this.parsedCssText="",this.cssText="",this.atRule=!1,this.type=0,this.keyframesName="",this.selector="",this.parsedSelector=""};function parse(e){return parseCss(lex(e=clean(e)),e)}function clean(e){return e.replace(RX.comments,"").replace(RX.port,"")}function lex(e){var t=new StyleNode;t.start=0,t.end=e.length;for(var r=t,n=0,s=e.length;n<s;n++)if(e[n]===OPEN_BRACE){r.rules||(r.rules=[]);var o=r,a=o.rules[o.rules.length-1]||null;(r=new StyleNode).start=n+1,r.parent=o,r.previous=a,o.rules.push(r)}else e[n]===CLOSE_BRACE&&(r.end=n+1,r=r.parent||t);return t}function parseCss(e,t){var r=t.substring(e.start,e.end-1);if(e.parsedCssText=e.cssText=r.trim(),e.parent){var n=e.previous?e.previous.end:e.parent.start;r=(r=(r=_expandUnicodeEscapes(r=t.substring(n,e.start-1))).replace(RX.multipleSpaces," ")).substring(r.lastIndexOf(";")+1);var s=e.parsedSelector=e.selector=r.trim();e.atRule=0===s.indexOf(AT_START),e.atRule?0===s.indexOf(MEDIA_START)?e.type=types.MEDIA_RULE:s.match(RX.keyframesRule)&&(e.type=types.KEYFRAMES_RULE,e.keyframesName=e.selector.split(RX.multipleSpaces).pop()):0===s.indexOf(VAR_START)?e.type=types.MIXIN_RULE:e.type=types.STYLE_RULE}var o=e.rules;if(o)for(var a=0,i=o.length,l=void 0;a<i&&(l=o[a]);a++)parseCss(l,t);return e}function _expandUnicodeEscapes(e){return e.replace(/\\([0-9a-f]{1,6})\s/gi,(function(){for(var e=arguments[1],t=6-e.length;t--;)e="0"+e;return"\\"+e}))}var types={STYLE_RULE:1,KEYFRAMES_RULE:7,MEDIA_RULE:4,MIXIN_RULE:1e3},OPEN_BRACE="{",CLOSE_BRACE="}",RX={comments:/\/\*[^*]*\*+([^/*][^*]*\*+)*\//gim,port:/@import[^;]*;/gim,customProp:/(?:^[^;\-\s}]+)?--[^;{}]*?:[^{};]*?(?:[;\n]|$)/gim,mixinProp:/(?:^[^;\-\s}]+)?--[^;{}]*?:[^{};]*?{[^}]*?}(?:[;\n]|$)?/gim,mixinApply:/@apply\s*\(?[^);]*\)?\s*(?:[;\n]|$)?/gim,varApply:/[^;:]*?:[^;]*?var\([^;]*\)(?:[;\n]|$)?/gim,keyframesRule:/^@[^\s]*keyframes/,multipleSpaces:/\s+/g},VAR_START="--",MEDIA_START="@media",AT_START="@",VAR_USAGE_START=/\bvar\(/,VAR_ASSIGN_START=/\B--[\w-]+\s*:/,COMMENTS=/\/\*[^*]*\*+([^/*][^*]*\*+)*\//gim,TRAILING_LINES=/^[\t ]+\n/gm;function findRegex(e,t,r){e.lastIndex=0;var n=t.substring(r).match(e);if(n){var s=r+n.index;return{start:s,end:s+n[0].length}}return null}function resolveVar(e,t,r){return e[t]?e[t]:r?executeTemplate(r,e):""}function findVarEndIndex(e,t){for(var r=0,n=t;n<e.length;n++){var s=e[n];if("("===s)r++;else if(")"===s&&--r<=0)return n+1}return n}function parseVar(e,t){var r=findRegex(VAR_USAGE_START,e,t);if(!r)return null;var n=findVarEndIndex(e,r.start),s=e.substring(r.end,n-1).split(","),o=s[0],a=s.slice(1);return{start:r.start,end:n,propName:o.trim(),fallback:a.length>0?a.join(",").trim():void 0}}function compileVar(e,t,r){var n=parseVar(e,r);if(!n)return t.push(e.substring(r,e.length)),e.length;var s=n.propName,o=null!=n.fallback?compileTemplate(n.fallback):void 0;return t.push(e.substring(r,n.start),(function(e){return resolveVar(e,s,o)})),n.end}function executeTemplate(e,t){for(var r="",n=0;n<e.length;n++){var s=e[n];r+="string"==typeof s?s:s(t)}return r}function findEndValue(e,t){for(var r=!1,n=!1,s=t;s<e.length;s++){var o=e[s];if(r)n&&'"'===o&&(r=!1),n||"'"!==o||(r=!1);else if('"'===o)r=!0,n=!0;else if("'"===o)r=!0,n=!1;else{if(";"===o)return s+1;if("}"===o)return s}}return s}function removeCustomAssigns(e){for(var t="",r=0;;){var n=findRegex(VAR_ASSIGN_START,e,r),s=n?n.start:e.length;if(t+=e.substring(r,s),!n)break;r=findEndValue(e,s)}return t}function compileTemplate(e){var t=0;e=removeCustomAssigns(e=e.replace(COMMENTS,"")).replace(TRAILING_LINES,"");for(var r=[];t<e.length;)t=compileVar(e,r,t);return r}function resolveValues(e){var t={};e.forEach((function(e){e.declarations.forEach((function(e){t[e.prop]=e.value}))}));for(var r={},n=Object.entries(t),s=function(e){var t=!1;if(n.forEach((function(e){var n=e[0],s=executeTemplate(e[1],r);s!==r[n]&&(r[n]=s,t=!0)})),!t)return"break"},o=0;o<10;o++){if("break"===s())break}return r}function getSelectors(e,t){if(void 0===t&&(t=0),!e.rules)return[];var r=[];return e.rules.filter((function(e){return e.type===types.STYLE_RULE})).forEach((function(e){var n=getDeclarations(e.cssText);n.length>0&&e.parsedSelector.split(",").forEach((function(e){e=e.trim(),r.push({selector:e,declarations:n,specificity:computeSpecificity(),nu:t})})),t++})),r}function computeSpecificity(e){return 1}var IMPORTANT="!important",FIND_DECLARATIONS=/(?:^|[;\s{]\s*)(--[\w-]*?)\s*:\s*(?:((?:'(?:\\'|.)*?'|"(?:\\"|.)*?"|\([^)]*?\)|[^};{])+)|\{([^}]*)\}(?:(?=[;\s}])|$))/gm;function getDeclarations(e){for(var t,r=[];t=FIND_DECLARATIONS.exec(e.trim());){var n=normalizeValue(t[2]),s=n.value,o=n.important;r.push({prop:t[1].trim(),value:compileTemplate(s),important:o})}return r}function normalizeValue(e){var t=(e=e.replace(/\s+/gim," ").trim()).endsWith(IMPORTANT);return t&&(e=e.slice(0,e.length-IMPORTANT.length).trim()),{value:e,important:t}}function getActiveSelectors(e,t,r){var n=[],s=getScopesForElement(t,e);return r.forEach((function(e){return n.push(e)})),s.forEach((function(e){return n.push(e)})),sortSelectors(getSelectorsForScopes(n).filter((function(t){return matches(e,t.selector)})))}function getScopesForElement(e,t){for(var r=[];t;){var n=e.get(t);n&&r.push(n),t=t.parentElement}return r}function getSelectorsForScopes(e){var t=[];return e.forEach((function(e){t.push.apply(t,e.selectors)})),t}function sortSelectors(e){return e.sort((function(e,t){return e.specificity===t.specificity?e.nu-t.nu:e.specificity-t.specificity})),e}function matches(e,t){return":root"===t||"html"===t||e.matches(t)}function parseCSS(e){var t=parse(e),r=compileTemplate(e);return{original:e,template:r,selectors:getSelectors(t),usesCssVars:r.length>1}}function addGlobalStyle(e,t){if(e.some((function(e){return e.styleEl===t})))return!1;var r=parseCSS(t.textContent);return r.styleEl=t,e.push(r),!0}function updateGlobalScopes(e){var t=resolveValues(getSelectorsForScopes(e));e.forEach((function(e){e.usesCssVars&&(e.styleEl.textContent=executeTemplate(e.template,t))}))}function reScope(e,t){var r=e.template.map((function(r){return"string"==typeof r?replaceScope(r,e.scopeId,t):r})),n=e.selectors.map((function(r){return __assign(__assign({},r),{selector:replaceScope(r.selector,e.scopeId,t)})}));return __assign(__assign({},e),{template:r,selectors:n,scopeId:t})}function replaceScope(e,t,r){return e=replaceAll(e,"\\.".concat(t),".".concat(r))}function replaceAll(e,t,r){return e.replace(new RegExp(t,"g"),r)}function loadDocument(e,t){return loadDocumentStyles(e,t),loadDocumentLinks(e,t).then((function(){updateGlobalScopes(t)}))}function startWatcher(e,t){"undefined"!=typeof MutationObserver&&new MutationObserver((function(){loadDocumentStyles(e,t)&&updateGlobalScopes(t)})).observe(document.head,{childList:!0})}function loadDocumentLinks(e,t){for(var r=[],n=e.querySelectorAll('link[rel="stylesheet"][href]:not([data-no-shim])'),s=0;s<n.length;s++)r.push(addGlobalLink(e,t,n[s]));return Promise.all(r)}function loadDocumentStyles(e,t){return Array.from(e.querySelectorAll("style:not([data-styles]):not([data-no-shim])")).map((function(e){return addGlobalStyle(t,e)})).some(Boolean)}function addGlobalLink(e,t,r){var n=r.href;return fetch(n).then((function(e){return e.text()})).then((function(s){if(hasCssVariables(s)&&r.parentNode){hasRelativeUrls(s)&&(s=fixRelativeUrls(s,n));var o=e.createElement("style");o.setAttribute("data-styles",""),o.textContent=s,addGlobalStyle(t,o),r.parentNode.insertBefore(o,r),r.remove()}})).catch((function(e){console.error(e)}))}var CSS_VARIABLE_REGEXP=/[\s;{]--[-a-zA-Z0-9]+\s*:/m;function hasCssVariables(e){return e.indexOf("var(")>-1||CSS_VARIABLE_REGEXP.test(e)}var CSS_URL_REGEXP=/url[\s]*\([\s]*['"]?(?!(?:https?|data)\:|\/)([^\'\"\)]*)[\s]*['"]?\)[\s]*/gim;function hasRelativeUrls(e){return CSS_URL_REGEXP.lastIndex=0,CSS_URL_REGEXP.test(e)}function fixRelativeUrls(e,t){var r=t.replace(/[^/]*$/,"");return e.replace(CSS_URL_REGEXP,(function(e,t){var n=r+t;return e.replace(t,n)}))}var CustomStyle=function(){function e(e,t){this.win=e,this.doc=t,this.count=0,this.hostStyleMap=new WeakMap,this.hostScopeMap=new WeakMap,this.globalScopes=[],this.scopesMap=new Map,this.didInit=!1}return e.prototype.i=function(){var e=this;return this.didInit||!this.win.requestAnimationFrame?Promise.resolve():(this.didInit=!0,new Promise((function(t){e.win.requestAnimationFrame((function(){startWatcher(e.doc,e.globalScopes),loadDocument(e.doc,e.globalScopes).then((function(){return t()}))}))})))},e.prototype.addLink=function(e){var t=this;return addGlobalLink(this.doc,this.globalScopes,e).then((function(){t.updateGlobal()}))},e.prototype.addGlobalStyle=function(e){addGlobalStyle(this.globalScopes,e)&&this.updateGlobal()},e.prototype.createHostStyle=function(e,t,r,n){if(this.hostScopeMap.has(e))throw new Error("host style already created");var s=this.registerHostTemplate(r,t,n),o=this.doc.createElement("style");return o.setAttribute("data-no-shim",""),s.usesCssVars?n?(o["s-sc"]=t="".concat(s.scopeId,"-").concat(this.count),o.textContent="/*needs update*/",this.hostStyleMap.set(e,o),this.hostScopeMap.set(e,reScope(s,t)),this.count++):(s.styleEl=o,s.usesCssVars||(o.textContent=executeTemplate(s.template,{})),this.globalScopes.push(s),this.updateGlobal(),this.hostScopeMap.set(e,s)):o.textContent=r,o},e.prototype.removeHost=function(e){var t=this.hostStyleMap.get(e);t&&t.remove(),this.hostStyleMap.delete(e),this.hostScopeMap.delete(e)},e.prototype.updateHost=function(e){var t=this.hostScopeMap.get(e);if(t&&t.usesCssVars&&t.isScoped){var r=this.hostStyleMap.get(e);if(r){var n=resolveValues(getActiveSelectors(e,this.hostScopeMap,this.globalScopes));r.textContent=executeTemplate(t.template,n)}}},e.prototype.updateGlobal=function(){updateGlobalScopes(this.globalScopes)},e.prototype.registerHostTemplate=function(e,t,r){var n=this.scopesMap.get(t);return n||((n=parseCSS(e)).scopeId=t,n.isScoped=r,this.scopesMap.set(t,n)),n},e}();!function(e){!e||e.__cssshim||e.CSS&&e.CSS.supports&&e.CSS.supports("color","var(--c)")||(e.__cssshim=new CustomStyle(e,e.document))}("undefined"!=typeof window&&window);
@@ -1,5 +1,5 @@
1
1
  const name = "genesys-spark-components";
2
- const version = "3.34.3";
2
+ const version = "3.34.5";
3
3
  const description = "Common webcomponents";
4
4
  const license = "MIT";
5
5
  const main = "dist/stencil-wrapper.js";
@@ -74,7 +74,7 @@ const devDependencies = {
74
74
  "@babel/preset-env": "^7.19.3",
75
75
  "@commitlint/cli": "^17.1.2",
76
76
  "@commitlint/config-conventional": "^17.1.0",
77
- "@stencil/core": "^2.18.0",
77
+ "@stencil/core": "^2.18.1",
78
78
  "@stencil/less": "^1.0.0",
79
79
  "@stencil/react-output-target": "^0.3.1",
80
80
  "@stencil/utils": "0.0.5",
@@ -83,8 +83,8 @@ const devDependencies = {
83
83
  "@types/puppeteer": "^5.4.6",
84
84
  "@types/resize-observer-browser": "^0.1.7",
85
85
  "@types/sortablejs": "^1.15.0",
86
- "@typescript-eslint/eslint-plugin": "^5.38.1",
87
- "@typescript-eslint/parser": "^5.38.1",
86
+ "@typescript-eslint/eslint-plugin": "^5.39.0",
87
+ "@typescript-eslint/parser": "^5.39.0",
88
88
  "axe-live": "^1.0.1",
89
89
  "babel-loader": "^8.2.5",
90
90
  commitizen: "^4.2.5",