genesys-spark-components 3.30.0 → 3.31.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (570) hide show
  1. package/CHANGELOG.md +10 -1
  2. package/dist/cjs/{DateTimeFormatter-a064b050.js → DateTimeFormatter-b2eaf6ee.js} +1 -1
  3. package/dist/cjs/genesys-webcomponents.cjs.js +3 -3
  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 +12 -5
  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 +21 -11
  14. package/dist/cjs/gux-all-row-select.cjs.entry.js +2 -2
  15. package/dist/cjs/gux-announce-beta.cjs.entry.js +2 -2
  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 +11 -4
  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 +11 -11
  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 +15 -15
  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 +4 -4
  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 +4 -4
  46. package/dist/cjs/gux-error-message-beta.cjs.entry.js +2 -2
  47. package/dist/cjs/gux-flyout-menu-beta.cjs.entry.js +2 -2
  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-dropdown.cjs.entry.js +5 -5
  51. package/dist/cjs/gux-form-field-input-clear-button.cjs.entry.js +3 -3
  52. package/dist/cjs/{gux-form-field-label-bc36c597.js → gux-form-field-label-cb1bc6c7.js} +1 -1
  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.service-c1cdde0e.js → gux-form-field.service-efa61d04.js} +1 -1
  62. package/dist/cjs/gux-icon.cjs.entry.js +2 -2
  63. package/dist/cjs/gux-input-checkbox_7.cjs.entry.js +2 -2
  64. package/dist/cjs/gux-input-search.cjs.entry.js +2 -2
  65. package/dist/cjs/gux-input-text-like.cjs.entry.js +2 -2
  66. package/dist/cjs/gux-list-divider-legacy.cjs.entry.js +1 -1
  67. package/dist/cjs/gux-list-divider.cjs.entry.js +1 -1
  68. package/dist/cjs/gux-list-item-legacy_2.cjs.entry.js +2 -2
  69. package/dist/cjs/gux-list-item.cjs.entry.js +1 -1
  70. package/dist/cjs/gux-list.cjs.entry.js +2 -2
  71. package/dist/cjs/gux-listbox-multi.cjs.entry.js +3 -3
  72. package/dist/cjs/gux-loading-message-beta.cjs.entry.js +2 -2
  73. package/dist/cjs/gux-menu-option.cjs.entry.js +1 -1
  74. package/dist/cjs/gux-menu.cjs.entry.js +1 -1
  75. package/dist/cjs/gux-modal.cjs.entry.js +2 -2
  76. package/dist/cjs/gux-month-calendar.cjs.entry.js +2 -2
  77. package/dist/cjs/gux-month-list_2.cjs.entry.js +1 -1
  78. package/dist/cjs/gux-month-picker-beta.cjs.entry.js +4 -4
  79. package/dist/cjs/gux-notification-toast.cjs.entry.js +2 -2
  80. package/dist/cjs/gux-option-legacy.cjs.entry.js +1 -1
  81. package/dist/cjs/gux-option-multi.cjs.entry.js +1 -1
  82. package/dist/cjs/gux-page-loading-spinner.cjs.entry.js +2 -2
  83. package/dist/cjs/gux-pagination-beta.cjs.entry.js +2 -2
  84. package/dist/cjs/gux-pagination-buttons-beta_3.cjs.entry.js +2 -2
  85. package/dist/cjs/gux-pagination-buttons_3.cjs.entry.js +2 -2
  86. package/dist/cjs/gux-pagination-cursor.cjs.entry.js +3 -3
  87. package/dist/cjs/gux-pagination.cjs.entry.js +2 -2
  88. package/dist/cjs/gux-panel-frame-legacy.cjs.entry.js +2 -2
  89. package/dist/cjs/gux-popover-list.cjs.entry.js +3 -3
  90. package/dist/cjs/gux-popover.cjs.entry.js +3 -3
  91. package/dist/cjs/gux-popup.cjs.entry.js +8 -1
  92. package/dist/cjs/gux-radial-loading.cjs.entry.js +3 -3
  93. package/dist/cjs/gux-radial-progress.cjs.entry.js +2 -2
  94. package/dist/cjs/gux-rating.cjs.entry.js +2 -2
  95. package/dist/cjs/gux-row-select.cjs.entry.js +2 -2
  96. package/dist/cjs/gux-side-panel-button.cjs.entry.js +1 -1
  97. package/dist/cjs/gux-side-panel-legacy.cjs.entry.js +2 -2
  98. package/dist/cjs/gux-simple-toast.cjs.entry.js +2 -2
  99. package/dist/cjs/gux-skip-navigation-item.cjs.entry.js +1 -1
  100. package/dist/cjs/gux-skip-navigation-list-beta.cjs.entry.js +3 -3
  101. package/dist/cjs/gux-sort-control.cjs.entry.js +3 -3
  102. package/dist/cjs/gux-submenu.cjs.entry.js +1 -1
  103. package/dist/cjs/gux-switch-item.cjs.entry.js +1 -1
  104. package/dist/cjs/gux-switch.cjs.entry.js +2 -2
  105. package/dist/cjs/gux-tab-advanced-list.cjs.entry.js +3 -3
  106. package/dist/cjs/gux-tab-advanced-panel.cjs.entry.js +1 -1
  107. package/dist/cjs/gux-tab-advanced.cjs.entry.js +2 -2
  108. package/dist/cjs/gux-tab-dropdown-option-legacy.cjs.entry.js +1 -1
  109. package/dist/cjs/gux-tab-legacy.cjs.entry.js +1 -1
  110. package/dist/cjs/gux-tab-list.cjs.entry.js +3 -3
  111. package/dist/cjs/gux-tab-panel.cjs.entry.js +1 -1
  112. package/dist/cjs/gux-tab.cjs.entry.js +1 -1
  113. package/dist/cjs/gux-table-beta.cjs.entry.js +3 -3
  114. package/dist/cjs/gux-table-select-menu.cjs.entry.js +2 -2
  115. package/dist/cjs/gux-table-select-popover.cjs.entry.js +2 -2
  116. package/dist/cjs/gux-tabs-advanced.cjs.entry.js +2 -2
  117. package/dist/cjs/gux-tabs-legacy.cjs.entry.js +3 -3
  118. package/dist/cjs/gux-tabs.cjs.entry.js +2 -2
  119. package/dist/cjs/gux-tag-beta.cjs.entry.js +3 -3
  120. package/dist/cjs/gux-text-highlight.cjs.entry.js +2 -2
  121. package/dist/cjs/gux-text-label-legacy.cjs.entry.js +2 -2
  122. package/dist/cjs/gux-time-beta.cjs.entry.js +4 -4
  123. package/dist/cjs/gux-time-picker-beta.cjs.entry.js +4 -4
  124. package/dist/cjs/gux-toggle-slider.cjs.entry.js +1 -1
  125. package/dist/cjs/gux-toggle.cjs.entry.js +3 -3
  126. package/dist/cjs/gux-tooltip-title.cjs.entry.js +2 -2
  127. package/dist/cjs/gux-tooltip.cjs.entry.js +2 -2
  128. package/dist/cjs/gux-truncate-beta.cjs.entry.js +3 -3
  129. package/dist/cjs/gux-visualization-beta.cjs.entry.js +3 -3
  130. package/dist/cjs/{index-262c2e3a.js → index-a4138a99.js} +264 -84
  131. package/dist/cjs/{index-13101536.js → index-d06e1e14.js} +1 -1
  132. package/dist/cjs/loader.cjs.js +3 -3
  133. package/dist/cjs/{on-click-outside-0d16a176.js → on-click-outside-64dc5f14.js} +1 -1
  134. package/dist/cjs/{on-mutation-230d7667.js → on-mutation-74bf4591.js} +1 -1
  135. package/dist/cjs/{on-resize-5c72a54c.js → on-resize-b1f6a92b.js} +1 -1
  136. package/dist/cjs/{usage-tracking-4f592648.js → usage-tracking-f1397528.js} +18 -15
  137. package/dist/collection/collection-manifest.json +2 -2
  138. package/dist/collection/components/beta/gux-announce/gux-announce.js +59 -53
  139. package/dist/collection/components/beta/gux-badge/gux-badge.js +61 -57
  140. package/dist/collection/components/beta/gux-blank-state/gux-blank-state.js +23 -20
  141. package/dist/collection/components/beta/gux-button-slot/gux-button-slot.js +38 -33
  142. package/dist/collection/components/beta/gux-card/gux-card.js +37 -31
  143. package/dist/collection/components/beta/gux-chart-column/gux-chart-column.js +197 -189
  144. package/dist/collection/components/beta/gux-chart-donut/gux-chart-donut.js +345 -337
  145. package/dist/collection/components/beta/gux-chart-line/gux-chart-line.js +247 -239
  146. package/dist/collection/components/beta/gux-chart-pie/gux-chart-pie.js +167 -159
  147. package/dist/collection/components/beta/gux-chart-scatter-plot/gux-chart-scatter-plot.js +215 -207
  148. package/dist/collection/components/beta/gux-copy-to-clipboard/gux-copy-to-clipboard.js +38 -40
  149. package/dist/collection/components/beta/gux-date/gux-date.js +44 -42
  150. package/dist/collection/components/beta/gux-date-time/gux-date-time.js +44 -42
  151. package/dist/collection/components/beta/gux-dropdown-multi/gux-dropdown-multi-tag/gux-dropdown-multi-tag.js +85 -76
  152. package/dist/collection/components/beta/gux-dropdown-multi/gux-dropdown-multi.js +207 -207
  153. package/dist/collection/components/beta/gux-error-message-beta/gux-error-message-beta.js +12 -12
  154. package/dist/collection/components/beta/gux-flyout-menu/gux-flyout-menu.js +71 -65
  155. package/dist/collection/components/beta/gux-flyout-menu/gux-menu/gux-menu-option/gux-menu-option.js +39 -33
  156. package/dist/collection/components/beta/gux-flyout-menu/gux-menu/gux-menu.js +12 -10
  157. package/dist/collection/components/beta/gux-flyout-menu/gux-menu/gux-submenu/gux-submenu.js +110 -102
  158. package/dist/collection/components/beta/gux-loading-message/gux-loading-message.js +18 -15
  159. package/dist/collection/components/beta/gux-month-picker/gux-month-calendar/gux-month-calendar.js +123 -119
  160. package/dist/collection/components/beta/gux-month-picker/gux-month-calendar/gux-month-list/gux-month-list-item/gux-month-list-item.js +86 -81
  161. package/dist/collection/components/beta/gux-month-picker/gux-month-calendar/gux-month-list/gux-month-list.js +39 -33
  162. package/dist/collection/components/beta/gux-month-picker/gux-month-picker.js +125 -118
  163. package/dist/collection/components/beta/gux-pagination-beta/gux-pagination-beta.js +120 -115
  164. package/dist/collection/components/beta/gux-pagination-beta/gux-pagination-buttons-beta/gux-pagination-buttons-beta.js +87 -94
  165. package/dist/collection/components/beta/gux-pagination-beta/gux-pagination-item-counts-beta/gux-pagination-item-counts-beta.js +71 -67
  166. package/dist/collection/components/beta/gux-pagination-beta/gux-pagination-items-per-page-beta/gux-pagination-items-per-page-beta.js +65 -62
  167. package/dist/collection/components/beta/gux-popover-list/gux-popover-list.js +121 -109
  168. package/dist/collection/components/beta/gux-skip-navigation-list/gux-skip-navigation-item/gux-skip-navigation-item.js +12 -9
  169. package/dist/collection/components/beta/gux-skip-navigation-list/gux-skip-navigation-list.js +12 -11
  170. package/dist/collection/components/beta/gux-table/gux-all-row-select/gux-all-row-select.js +81 -73
  171. package/dist/collection/components/beta/gux-table/gux-row-select/gux-row-select.js +76 -70
  172. package/dist/collection/components/beta/gux-table/gux-sort-control/gux-sort-control.js +69 -63
  173. package/dist/collection/components/beta/gux-table/gux-table-select-menu/gux-table-select-menu.js +56 -51
  174. package/dist/collection/components/beta/gux-table/gux-table-select-menu/gux-table-select-popover/gux-table-header-popover.js +84 -70
  175. package/dist/collection/components/beta/gux-table/gux-table.js +191 -187
  176. package/dist/collection/components/beta/gux-tag/gux-tag.js +123 -117
  177. package/dist/collection/components/beta/gux-time/gux-time.js +44 -42
  178. package/dist/collection/components/beta/gux-time-picker/gux-time-picker.js +161 -147
  179. package/dist/collection/components/beta/gux-truncate/gux-truncate.js +70 -61
  180. package/dist/collection/components/beta/gux-visualization/gux-visualization.js +82 -74
  181. package/dist/collection/components/legacy/gux-accordion-legacy/gux-accordion.js +132 -130
  182. package/dist/collection/components/legacy/gux-action-button-legacy/gux-action-button.js +188 -181
  183. package/dist/collection/components/legacy/gux-action-list-legacy/gux-action-item/gux-action-item.js +105 -98
  184. package/dist/collection/components/legacy/gux-action-list-legacy/gux-action-list-divider/gux-action-list-divider.js +11 -7
  185. package/dist/collection/components/legacy/gux-action-list-legacy/gux-action-list.js +86 -77
  186. package/dist/collection/components/legacy/gux-button-multi-legacy/gux-button-multi.js +150 -141
  187. package/dist/collection/components/legacy/gux-command-palette-legacy/gux-command-action/gux-command-action.js +128 -123
  188. package/dist/collection/components/legacy/gux-command-palette-legacy/gux-command-palette.js +54 -56
  189. package/dist/collection/components/legacy/gux-dropdown-legacy/gux-dropdown.js +173 -167
  190. package/dist/collection/components/legacy/gux-dropdown-legacy/gux-option-legacy/gux-option.js +114 -107
  191. package/dist/collection/components/legacy/gux-form-field-legacy/components/gux-input-checkbox/gux-input-checkbox.js +12 -10
  192. package/dist/collection/components/legacy/gux-form-field-legacy/components/gux-input-color/components/gux-color-select/gux-color-select.js +27 -21
  193. package/dist/collection/components/legacy/gux-form-field-legacy/components/gux-input-color/components/gux-input-color-option/gux-input-color-option.js +65 -57
  194. package/dist/collection/components/legacy/gux-form-field-legacy/components/gux-input-color/gux-input-color.js +94 -91
  195. package/dist/collection/components/legacy/gux-form-field-legacy/components/gux-input-number/gux-input-number.js +41 -42
  196. package/dist/collection/components/legacy/gux-form-field-legacy/components/gux-input-radio/gux-input-radio.js +12 -10
  197. package/dist/collection/components/legacy/gux-form-field-legacy/components/gux-input-range/gux-input-range.js +100 -97
  198. package/dist/collection/components/legacy/gux-form-field-legacy/components/gux-input-search/gux-input-search.js +19 -17
  199. package/dist/collection/components/legacy/gux-form-field-legacy/components/gux-input-select/gux-input-select.js +17 -13
  200. package/dist/collection/components/legacy/gux-form-field-legacy/components/gux-input-text-like/gux-input-text-like.js +40 -35
  201. package/dist/collection/components/legacy/gux-form-field-legacy/components/gux-input-textarea/gux-input-textarea.js +38 -33
  202. package/dist/collection/components/legacy/gux-form-field-legacy/gux-form-field.js +141 -177
  203. package/dist/collection/components/legacy/gux-list-legacy/gux-list.js +144 -129
  204. package/dist/collection/components/legacy/gux-list-legacy/list-divider/gux-list-divider.js +11 -7
  205. package/dist/collection/components/legacy/gux-list-legacy/list-item/gux-list-item.js +101 -94
  206. package/dist/collection/components/legacy/gux-panel-frame-legacy/gux-panel-frame.js +15 -17
  207. package/dist/collection/components/legacy/gux-side-panel-legacy/buttons/gux-side-panel-button.js +66 -61
  208. package/dist/collection/components/legacy/gux-side-panel-legacy/gux-side-panel.js +51 -49
  209. package/dist/collection/components/legacy/gux-tabs-legacy/gux-tab-dropdown-option-legacy/gux-tab-dropdown-option-legacy.js +49 -46
  210. package/dist/collection/components/legacy/gux-tabs-legacy/gux-tab-legacy/gux-tab-legacy.js +91 -89
  211. package/dist/collection/components/legacy/gux-tabs-legacy/gux-tabs-legacy.js +154 -150
  212. package/dist/collection/components/legacy/gux-text-label-legacy/gux-text-label.js +50 -48
  213. package/dist/collection/components/stable/gux-accordion/gux-accordion-section/gux-accordion-section.js +147 -146
  214. package/dist/collection/components/stable/gux-accordion/gux-accordion.js +42 -34
  215. package/dist/collection/components/stable/gux-action-button/gux-action-button.js +195 -182
  216. package/dist/collection/components/stable/gux-action-toast/gux-action-toast.js +12 -20
  217. package/dist/collection/components/stable/gux-advanced-dropdown/dropdown-option/gux-dropdown-option.js +160 -151
  218. package/dist/collection/components/stable/gux-advanced-dropdown/gux-advanced-dropdown.css +17 -38
  219. package/dist/collection/components/stable/gux-advanced-dropdown/gux-advanced-dropdown.js +203 -199
  220. package/dist/collection/components/stable/gux-breadcrumbs/breadcrumb-item/gux-breadcrumb-item.js +35 -33
  221. package/dist/collection/components/stable/gux-breadcrumbs/gux-breadcrumbs.js +38 -33
  222. package/dist/collection/components/stable/gux-button/gux-button.js +92 -87
  223. package/dist/collection/components/stable/gux-button-multi/gux-button-multi.js +157 -142
  224. package/dist/collection/components/stable/gux-calendar/gux-calendar.js +198 -203
  225. package/dist/collection/components/stable/gux-content-search/gux-content-search.js +102 -102
  226. package/dist/collection/components/stable/gux-datepicker/gux-datepicker.js +235 -231
  227. package/dist/collection/components/stable/gux-datepicker/gux-datepicker.service.js +2 -2
  228. package/dist/collection/components/stable/gux-disclosure-button/gux-disclosure-button.js +105 -97
  229. package/dist/collection/components/stable/gux-dismiss-button/gux-dismiss-button.js +12 -9
  230. package/dist/collection/components/stable/gux-dropdown/gux-dropdown.js +182 -180
  231. package/dist/collection/components/stable/gux-form-field/components/gux-form-field-checkbox/gux-form-field-checkbox.js +24 -22
  232. package/dist/collection/components/stable/gux-form-field/components/gux-form-field-color/gux-form-field-color.js +57 -53
  233. package/dist/collection/components/stable/gux-form-field/components/gux-form-field-dropdown/gux-form-field-dropdown.js +61 -54
  234. package/dist/collection/components/stable/gux-form-field/components/gux-form-field-number/gux-form-field-number.js +94 -94
  235. package/dist/collection/components/stable/gux-form-field/components/gux-form-field-radio/gux-form-field-radio.js +24 -22
  236. package/dist/collection/components/stable/gux-form-field/components/gux-form-field-range/gux-form-field-range.js +126 -126
  237. package/dist/collection/components/stable/gux-form-field/components/gux-form-field-search/gux-form-field-search.js +59 -57
  238. package/dist/collection/components/stable/gux-form-field/components/gux-form-field-select/gux-form-field-select.js +57 -54
  239. package/dist/collection/components/stable/gux-form-field/components/gux-form-field-text-like/gux-form-field-text-like.js +96 -93
  240. package/dist/collection/components/stable/gux-form-field/components/gux-form-field-textarea/gux-form-field-textarea.js +76 -71
  241. package/dist/collection/components/stable/gux-form-field/functional-components/gux-form-field-error/gux-form-field-error.js +1 -3
  242. package/dist/collection/components/stable/gux-form-field/helper-components/gux-form-field-input-clear-button/gux-form-field-input-clear-button.js +12 -9
  243. package/dist/collection/components/stable/gux-icon/gux-icon.js +83 -73
  244. package/dist/collection/components/stable/gux-list/gux-list-divider/gux-list-divider.js +11 -7
  245. package/dist/collection/components/stable/gux-list/gux-list-item/gux-list-item.js +49 -43
  246. package/dist/collection/components/stable/gux-list/gux-list.js +39 -33
  247. package/dist/collection/components/stable/gux-listbox/gux-listbox.js +131 -119
  248. package/dist/collection/components/stable/gux-listbox/gux-option/gux-option.js +133 -126
  249. package/dist/collection/components/stable/gux-listbox-multi/gux-listbox-multi.js +137 -123
  250. package/dist/collection/components/stable/gux-listbox-multi/gux-option-multi/gux-option-multi.js +133 -127
  251. package/dist/collection/components/stable/gux-modal/gux-modal.js +100 -104
  252. package/dist/collection/components/stable/gux-notification-toast/gux-notification-toast.js +55 -55
  253. package/dist/collection/components/stable/gux-page-loading-spinner/gux-page-loading-spinner.js +32 -26
  254. package/dist/collection/components/stable/gux-pagination/gux-pagination-buttons/gux-pagination-buttons.js +91 -104
  255. package/dist/collection/components/stable/gux-pagination/gux-pagination-item-counts/gux-pagination-item-counts.js +71 -67
  256. package/dist/collection/components/stable/gux-pagination/gux-pagination-items-per-page/gux-pagination-items-per-page.js +65 -62
  257. package/dist/collection/components/stable/gux-pagination/gux-pagination.js +119 -112
  258. package/dist/collection/components/stable/gux-pagination-cursor/gux-pagination-cursor.js +73 -69
  259. package/dist/collection/components/stable/gux-popover/gux-popover.js +121 -109
  260. package/dist/collection/components/stable/gux-popup/gux-popup.js +67 -55
  261. package/dist/collection/components/stable/gux-radial-loading/gux-radial-loading.js +55 -50
  262. package/dist/collection/components/stable/gux-radial-progress/gux-radial-progress.functional.js +4 -15
  263. package/dist/collection/components/stable/gux-radial-progress/gux-radial-progress.js +87 -81
  264. package/dist/collection/components/stable/gux-rating/gux-rating.js +103 -96
  265. package/dist/collection/components/stable/gux-simple-toast/gux-simple-toast.js +55 -52
  266. package/dist/collection/components/stable/gux-switch/gux-switch-item/gux-switch-item.js +76 -70
  267. package/dist/collection/components/stable/gux-switch/gux-switch.js +68 -59
  268. package/dist/collection/components/stable/gux-tabs/gux-tab/gux-tab.js +142 -131
  269. package/dist/collection/components/stable/gux-tabs/gux-tab-list/gux-tab-list.js +81 -72
  270. package/dist/collection/components/stable/gux-tabs/gux-tab-panel/gux-tab-panel.js +82 -69
  271. package/dist/collection/components/stable/gux-tabs/gux-tabs.js +134 -122
  272. package/dist/collection/components/stable/gux-tabs-advanced/gux-tab-advanced/gux-tab-advanced.js +166 -160
  273. package/dist/collection/components/stable/gux-tabs-advanced/gux-tab-advanced-list/gux-tab-advanced-list.js +172 -163
  274. package/dist/collection/components/stable/gux-tabs-advanced/gux-tab-advanced-panel/gux-tab-advanced-panel.js +82 -69
  275. package/dist/collection/components/stable/gux-tabs-advanced/gux-tabs-advanced.js +92 -80
  276. package/dist/collection/components/stable/gux-text-highlight/gux-text-highlight.js +60 -60
  277. package/dist/collection/components/stable/gux-toggle/gux-toggle-slider/gux-toggle-slider.js +102 -99
  278. package/dist/collection/components/stable/gux-toggle/gux-toggle.js +193 -197
  279. package/dist/collection/components/stable/gux-tooltip/gux-tooltip.js +99 -89
  280. package/dist/collection/components/stable/gux-tooltip-title/gux-tooltip-title.js +79 -66
  281. package/dist/deploy-info.json +3 -3
  282. package/dist/esm/{DateTimeFormatter-2785da9d.js → DateTimeFormatter-eea8583f.js} +1 -1
  283. package/dist/esm/genesys-webcomponents.js +3 -3
  284. package/dist/esm/gux-accordion-legacy.entry.js +2 -2
  285. package/dist/esm/gux-accordion-section.entry.js +1 -1
  286. package/dist/esm/gux-accordion.entry.js +2 -2
  287. package/dist/esm/gux-action-button-legacy.entry.js +4 -4
  288. package/dist/esm/gux-action-button.entry.js +12 -5
  289. package/dist/esm/gux-action-item.entry.js +1 -1
  290. package/dist/esm/gux-action-list-divider.entry.js +1 -1
  291. package/dist/esm/gux-action-list-legacy.entry.js +2 -2
  292. package/dist/esm/gux-action-toast.entry.js +2 -2
  293. package/dist/esm/gux-advanced-dropdown.entry.js +21 -11
  294. package/dist/esm/gux-all-row-select.entry.js +2 -2
  295. package/dist/esm/gux-announce-beta.entry.js +2 -2
  296. package/dist/esm/gux-badge-beta.entry.js +3 -3
  297. package/dist/esm/gux-blank-state-beta.entry.js +3 -3
  298. package/dist/esm/gux-breadcrumb-item.entry.js +1 -1
  299. package/dist/esm/gux-breadcrumbs.entry.js +3 -3
  300. package/dist/esm/gux-button-multi-legacy.entry.js +3 -3
  301. package/dist/esm/gux-button-multi.entry.js +11 -4
  302. package/dist/esm/gux-button-slot-beta.entry.js +2 -2
  303. package/dist/esm/gux-button.entry.js +2 -2
  304. package/dist/esm/gux-calendar.entry.js +11 -11
  305. package/dist/esm/gux-card-beta.entry.js +2 -2
  306. package/dist/esm/gux-chart-column-beta.entry.js +2 -2
  307. package/dist/esm/gux-chart-donut-beta.entry.js +2 -2
  308. package/dist/esm/gux-chart-line-beta.entry.js +2 -2
  309. package/dist/esm/gux-chart-pie-beta.entry.js +2 -2
  310. package/dist/esm/gux-chart-scatter-plot-beta.entry.js +2 -2
  311. package/dist/esm/gux-color-select_2.entry.js +1 -1
  312. package/dist/esm/gux-command-action.entry.js +1 -1
  313. package/dist/esm/gux-command-palette-legacy.entry.js +3 -3
  314. package/dist/esm/gux-content-search.entry.js +3 -3
  315. package/dist/esm/gux-copy-to-clipboard-beta.entry.js +3 -3
  316. package/dist/esm/gux-date-beta.entry.js +4 -4
  317. package/dist/esm/gux-date-time-beta.entry.js +4 -4
  318. package/dist/esm/gux-datepicker.entry.js +15 -15
  319. package/dist/esm/gux-disclosure-button.entry.js +3 -3
  320. package/dist/esm/gux-dismiss-button.entry.js +3 -3
  321. package/dist/esm/gux-dropdown-legacy.entry.js +4 -4
  322. package/dist/esm/gux-dropdown-multi-beta.entry.js +4 -4
  323. package/dist/esm/gux-dropdown-multi-tag.entry.js +2 -2
  324. package/dist/esm/gux-dropdown-option.entry.js +1 -1
  325. package/dist/esm/gux-dropdown_3.entry.js +4 -4
  326. package/dist/esm/gux-error-message-beta.entry.js +2 -2
  327. package/dist/esm/gux-flyout-menu-beta.entry.js +2 -2
  328. package/dist/esm/gux-form-field-checkbox.entry.js +4 -4
  329. package/dist/esm/gux-form-field-color.entry.js +5 -5
  330. package/dist/esm/gux-form-field-dropdown.entry.js +5 -5
  331. package/dist/esm/gux-form-field-input-clear-button.entry.js +3 -3
  332. package/dist/esm/{gux-form-field-label-92550ff3.js → gux-form-field-label-9c6f4df6.js} +1 -1
  333. package/dist/esm/gux-form-field-legacy.entry.js +3 -3
  334. package/dist/esm/gux-form-field-number.entry.js +6 -6
  335. package/dist/esm/gux-form-field-radio.entry.js +4 -4
  336. package/dist/esm/gux-form-field-range.entry.js +5 -5
  337. package/dist/esm/gux-form-field-search.entry.js +5 -5
  338. package/dist/esm/gux-form-field-select.entry.js +5 -5
  339. package/dist/esm/gux-form-field-text-like.entry.js +5 -5
  340. package/dist/esm/gux-form-field-textarea.entry.js +5 -5
  341. package/dist/esm/{gux-form-field.service-debdaed0.js → gux-form-field.service-7676fb91.js} +1 -1
  342. package/dist/esm/gux-icon.entry.js +2 -2
  343. package/dist/esm/gux-input-checkbox_7.entry.js +2 -2
  344. package/dist/esm/gux-input-search.entry.js +2 -2
  345. package/dist/esm/gux-input-text-like.entry.js +2 -2
  346. package/dist/esm/gux-list-divider-legacy.entry.js +1 -1
  347. package/dist/esm/gux-list-divider.entry.js +1 -1
  348. package/dist/esm/gux-list-item-legacy_2.entry.js +2 -2
  349. package/dist/esm/gux-list-item.entry.js +1 -1
  350. package/dist/esm/gux-list.entry.js +2 -2
  351. package/dist/esm/gux-listbox-multi.entry.js +3 -3
  352. package/dist/esm/gux-loading-message-beta.entry.js +2 -2
  353. package/dist/esm/gux-menu-option.entry.js +1 -1
  354. package/dist/esm/gux-menu.entry.js +1 -1
  355. package/dist/esm/gux-modal.entry.js +2 -2
  356. package/dist/esm/gux-month-calendar.entry.js +2 -2
  357. package/dist/esm/gux-month-list_2.entry.js +1 -1
  358. package/dist/esm/gux-month-picker-beta.entry.js +4 -4
  359. package/dist/esm/gux-notification-toast.entry.js +2 -2
  360. package/dist/esm/gux-option-legacy.entry.js +1 -1
  361. package/dist/esm/gux-option-multi.entry.js +1 -1
  362. package/dist/esm/gux-page-loading-spinner.entry.js +2 -2
  363. package/dist/esm/gux-pagination-beta.entry.js +2 -2
  364. package/dist/esm/gux-pagination-buttons-beta_3.entry.js +2 -2
  365. package/dist/esm/gux-pagination-buttons_3.entry.js +2 -2
  366. package/dist/esm/gux-pagination-cursor.entry.js +3 -3
  367. package/dist/esm/gux-pagination.entry.js +2 -2
  368. package/dist/esm/gux-panel-frame-legacy.entry.js +2 -2
  369. package/dist/esm/gux-popover-list.entry.js +3 -3
  370. package/dist/esm/gux-popover.entry.js +3 -3
  371. package/dist/esm/gux-popup.entry.js +8 -1
  372. package/dist/esm/gux-radial-loading.entry.js +3 -3
  373. package/dist/esm/gux-radial-progress.entry.js +2 -2
  374. package/dist/esm/gux-rating.entry.js +2 -2
  375. package/dist/esm/gux-row-select.entry.js +2 -2
  376. package/dist/esm/gux-side-panel-button.entry.js +1 -1
  377. package/dist/esm/gux-side-panel-legacy.entry.js +2 -2
  378. package/dist/esm/gux-simple-toast.entry.js +2 -2
  379. package/dist/esm/gux-skip-navigation-item.entry.js +1 -1
  380. package/dist/esm/gux-skip-navigation-list-beta.entry.js +3 -3
  381. package/dist/esm/gux-sort-control.entry.js +3 -3
  382. package/dist/esm/gux-submenu.entry.js +1 -1
  383. package/dist/esm/gux-switch-item.entry.js +1 -1
  384. package/dist/esm/gux-switch.entry.js +2 -2
  385. package/dist/esm/gux-tab-advanced-list.entry.js +3 -3
  386. package/dist/esm/gux-tab-advanced-panel.entry.js +1 -1
  387. package/dist/esm/gux-tab-advanced.entry.js +2 -2
  388. package/dist/esm/gux-tab-dropdown-option-legacy.entry.js +1 -1
  389. package/dist/esm/gux-tab-legacy.entry.js +1 -1
  390. package/dist/esm/gux-tab-list.entry.js +3 -3
  391. package/dist/esm/gux-tab-panel.entry.js +1 -1
  392. package/dist/esm/gux-tab.entry.js +1 -1
  393. package/dist/esm/gux-table-beta.entry.js +3 -3
  394. package/dist/esm/gux-table-select-menu.entry.js +2 -2
  395. package/dist/esm/gux-table-select-popover.entry.js +2 -2
  396. package/dist/esm/gux-tabs-advanced.entry.js +2 -2
  397. package/dist/esm/gux-tabs-legacy.entry.js +3 -3
  398. package/dist/esm/gux-tabs.entry.js +2 -2
  399. package/dist/esm/gux-tag-beta.entry.js +3 -3
  400. package/dist/esm/gux-text-highlight.entry.js +2 -2
  401. package/dist/esm/gux-text-label-legacy.entry.js +2 -2
  402. package/dist/esm/gux-time-beta.entry.js +4 -4
  403. package/dist/esm/gux-time-picker-beta.entry.js +4 -4
  404. package/dist/esm/gux-toggle-slider.entry.js +1 -1
  405. package/dist/esm/gux-toggle.entry.js +3 -3
  406. package/dist/esm/gux-tooltip-title.entry.js +2 -2
  407. package/dist/esm/gux-tooltip.entry.js +2 -2
  408. package/dist/esm/gux-truncate-beta.entry.js +3 -3
  409. package/dist/esm/gux-visualization-beta.entry.js +3 -3
  410. package/dist/esm/{index-74e605ae.js → index-738480cf.js} +264 -84
  411. package/dist/esm/{index-b8a25b60.js → index-bb5400c7.js} +1 -1
  412. package/dist/esm/loader.js +3 -3
  413. package/dist/esm/{on-click-outside-36dcc9e4.js → on-click-outside-b20ff612.js} +1 -1
  414. package/dist/esm/{on-mutation-26225065.js → on-mutation-70eb931c.js} +1 -1
  415. package/dist/esm/{on-resize-93d44c73.js → on-resize-d93fa9d3.js} +1 -1
  416. package/dist/esm/{usage-tracking-37a167df.js → usage-tracking-bb3c3fa5.js} +18 -15
  417. package/dist/genesys-webcomponents/genesys-webcomponents.css +1 -1
  418. package/dist/genesys-webcomponents/genesys-webcomponents.esm.js +1 -1
  419. package/dist/genesys-webcomponents/less/typography.less +6 -4
  420. package/dist/genesys-webcomponents/p-010e32ae.entry.js +1 -0
  421. package/dist/genesys-webcomponents/{p-5ca20d69.entry.js → p-02d6e00d.entry.js} +1 -1
  422. package/dist/genesys-webcomponents/{p-db416066.entry.js → p-038ea6d9.entry.js} +1 -1
  423. package/dist/genesys-webcomponents/{p-625f19b6.js → p-061af639.js} +1 -1
  424. package/dist/genesys-webcomponents/{p-b69f38b8.entry.js → p-0672347e.entry.js} +1 -1
  425. package/dist/genesys-webcomponents/{p-9be4eded.entry.js → p-072069d4.entry.js} +1 -1
  426. package/dist/genesys-webcomponents/{p-813cb992.entry.js → p-09c1d108.entry.js} +1 -1
  427. package/dist/genesys-webcomponents/{p-5dc2aad1.entry.js → p-0b14936e.entry.js} +1 -1
  428. package/dist/genesys-webcomponents/{p-f8c8d648.entry.js → p-0b7b78ae.entry.js} +1 -1
  429. package/dist/genesys-webcomponents/p-0c1c42c6.entry.js +1 -0
  430. package/dist/genesys-webcomponents/p-0c9532ac.entry.js +1 -0
  431. package/dist/genesys-webcomponents/{p-100ac561.entry.js → p-0ee691a3.entry.js} +1 -1
  432. package/dist/genesys-webcomponents/{p-153f8165.entry.js → p-107ba6c1.entry.js} +1 -1
  433. package/dist/genesys-webcomponents/{p-41d6a277.entry.js → p-1422848a.entry.js} +1 -1
  434. package/dist/genesys-webcomponents/{p-df98316c.entry.js → p-145a78cc.entry.js} +1 -1
  435. package/dist/genesys-webcomponents/{p-9d08314b.entry.js → p-14fcf400.entry.js} +1 -1
  436. package/dist/genesys-webcomponents/{p-29aa611a.entry.js → p-15d501e9.entry.js} +1 -1
  437. package/dist/genesys-webcomponents/{p-d04ba776.entry.js → p-16a940c4.entry.js} +1 -1
  438. package/dist/genesys-webcomponents/{p-9e02562b.entry.js → p-19016dbb.entry.js} +1 -1
  439. package/dist/genesys-webcomponents/{p-ebc5b52b.entry.js → p-1afd507d.entry.js} +1 -1
  440. package/dist/genesys-webcomponents/{p-da26004d.entry.js → p-1f057fe4.entry.js} +1 -1
  441. package/dist/genesys-webcomponents/{p-25ea189a.entry.js → p-1fa5e36d.entry.js} +1 -1
  442. package/dist/genesys-webcomponents/{p-cf517e22.entry.js → p-1fe4af87.entry.js} +1 -1
  443. package/dist/genesys-webcomponents/{p-9b4f20af.entry.js → p-206d497d.entry.js} +1 -1
  444. package/dist/genesys-webcomponents/{p-f1b8c02a.entry.js → p-2510072c.entry.js} +1 -1
  445. package/dist/genesys-webcomponents/{p-f7c7b39e.entry.js → p-2f02b7ee.entry.js} +1 -1
  446. package/dist/genesys-webcomponents/{p-b7b2833c.entry.js → p-2f5346f7.entry.js} +1 -1
  447. package/dist/genesys-webcomponents/{p-b36e02ef.entry.js → p-30d11cea.entry.js} +1 -1
  448. package/dist/genesys-webcomponents/{p-3d934438.entry.js → p-34381b1c.entry.js} +1 -1
  449. package/dist/genesys-webcomponents/{p-7f83787d.entry.js → p-34a0b528.entry.js} +1 -1
  450. package/dist/genesys-webcomponents/{p-ff0d864f.entry.js → p-361f19c1.entry.js} +1 -1
  451. package/dist/genesys-webcomponents/{p-383295a1.entry.js → p-3802f75e.entry.js} +1 -1
  452. package/dist/genesys-webcomponents/{p-74b510cb.js → p-39a696d6.js} +0 -0
  453. package/dist/genesys-webcomponents/p-3a317ea6.entry.js +1 -0
  454. package/dist/genesys-webcomponents/{p-3925fad5.entry.js → p-3a9b4e19.entry.js} +1 -1
  455. package/dist/genesys-webcomponents/{p-f2541b39.entry.js → p-3b3750fd.entry.js} +1 -1
  456. package/dist/genesys-webcomponents/{p-cdb2e81e.entry.js → p-3cbef4e3.entry.js} +1 -1
  457. package/dist/genesys-webcomponents/{p-f322cf80.entry.js → p-3cee3c32.entry.js} +1 -1
  458. package/dist/genesys-webcomponents/{p-586ed893.entry.js → p-3d5bc6db.entry.js} +1 -1
  459. package/dist/genesys-webcomponents/{p-37eb7c8e.entry.js → p-41f05a68.entry.js} +1 -1
  460. package/dist/genesys-webcomponents/{p-31c82b14.entry.js → p-445744b5.entry.js} +1 -1
  461. package/dist/genesys-webcomponents/{p-cd847a4e.entry.js → p-466fe3c7.entry.js} +1 -1
  462. package/dist/genesys-webcomponents/{p-2a4ec113.entry.js → p-47367daa.entry.js} +1 -1
  463. package/dist/genesys-webcomponents/{p-59baee6a.entry.js → p-479ecc5a.entry.js} +1 -1
  464. package/dist/genesys-webcomponents/{p-defdb6b9.js → p-49a06d0c.js} +1 -1
  465. package/dist/genesys-webcomponents/{p-9e166d9e.entry.js → p-49aca08a.entry.js} +1 -1
  466. package/dist/genesys-webcomponents/{p-af89dfe0.entry.js → p-4a3da574.entry.js} +1 -1
  467. package/dist/genesys-webcomponents/{p-10d43316.entry.js → p-4e48c698.entry.js} +1 -1
  468. package/dist/genesys-webcomponents/{p-d9172b8a.entry.js → p-4ef1cd93.entry.js} +1 -1
  469. package/dist/genesys-webcomponents/p-53f4d04d.entry.js +1 -0
  470. package/dist/genesys-webcomponents/{p-c57dc224.entry.js → p-553fd4e4.entry.js} +1 -1
  471. package/dist/genesys-webcomponents/{p-bf0b1b8d.entry.js → p-55833c42.entry.js} +1 -1
  472. package/dist/genesys-webcomponents/{p-cc5c4d63.entry.js → p-56d8edd4.entry.js} +1 -1
  473. package/dist/genesys-webcomponents/{p-30a98c8d.entry.js → p-5734a7e6.entry.js} +1 -1
  474. package/dist/genesys-webcomponents/{p-89dfb302.entry.js → p-58195df2.entry.js} +1 -1
  475. package/dist/genesys-webcomponents/{p-62ef624d.entry.js → p-5d08bb94.entry.js} +1 -1
  476. package/dist/genesys-webcomponents/{p-be2f6031.entry.js → p-5e0a36fa.entry.js} +1 -1
  477. package/dist/genesys-webcomponents/{p-9a353956.entry.js → p-6028c32a.entry.js} +1 -1
  478. package/dist/genesys-webcomponents/{p-d11e6787.entry.js → p-617c216c.entry.js} +1 -1
  479. package/dist/genesys-webcomponents/{p-741eb0a1.entry.js → p-65b4e6fb.entry.js} +1 -1
  480. package/dist/genesys-webcomponents/{p-acbd8ea1.entry.js → p-692ea8bd.entry.js} +1 -1
  481. package/dist/genesys-webcomponents/{p-4a78f67d.entry.js → p-717bf68c.entry.js} +1 -1
  482. package/dist/genesys-webcomponents/{p-0f4df601.entry.js → p-74489c5b.entry.js} +1 -1
  483. package/dist/genesys-webcomponents/{p-40433687.entry.js → p-780fa940.entry.js} +1 -1
  484. package/dist/genesys-webcomponents/{p-5cb24f27.entry.js → p-7ab871b9.entry.js} +1 -1
  485. package/dist/genesys-webcomponents/{p-1b89118e.entry.js → p-7abafe11.entry.js} +1 -1
  486. package/dist/genesys-webcomponents/{p-3f934634.entry.js → p-7b8718c2.entry.js} +1 -1
  487. package/dist/genesys-webcomponents/{p-cd138279.entry.js → p-7c2893ee.entry.js} +1 -1
  488. package/dist/genesys-webcomponents/{p-924184cc.entry.js → p-7de111b5.entry.js} +1 -1
  489. package/dist/genesys-webcomponents/{p-8963c4cb.entry.js → p-7ee4570d.entry.js} +1 -1
  490. package/dist/genesys-webcomponents/p-82eb8b00.js +1 -0
  491. package/dist/genesys-webcomponents/{p-441ce8d7.entry.js → p-837489d7.entry.js} +1 -1
  492. package/dist/genesys-webcomponents/{p-7602faf4.entry.js → p-839faa37.entry.js} +1 -1
  493. package/dist/genesys-webcomponents/{p-e141df2a.entry.js → p-869f5b44.entry.js} +1 -1
  494. package/dist/genesys-webcomponents/{p-1ac910f8.entry.js → p-8b7c48ed.entry.js} +1 -1
  495. package/dist/genesys-webcomponents/{p-293bf77d.entry.js → p-8e79ce34.entry.js} +1 -1
  496. package/dist/genesys-webcomponents/{p-03ff2482.entry.js → p-902d2057.entry.js} +1 -1
  497. package/dist/genesys-webcomponents/p-918b390a.entry.js +1 -0
  498. package/dist/genesys-webcomponents/{p-17ff41a2.entry.js → p-92389923.entry.js} +1 -1
  499. package/dist/genesys-webcomponents/{p-4c52f819.entry.js → p-92f61f75.entry.js} +1 -1
  500. package/dist/genesys-webcomponents/{p-fcc96193.entry.js → p-940e5dec.entry.js} +1 -1
  501. package/dist/genesys-webcomponents/{p-67c279a8.entry.js → p-9612b333.entry.js} +1 -1
  502. package/dist/genesys-webcomponents/{p-cbc37021.entry.js → p-96996f1b.entry.js} +1 -1
  503. package/dist/genesys-webcomponents/{p-f3ddde8f.entry.js → p-9a324232.entry.js} +1 -1
  504. package/dist/genesys-webcomponents/{p-75a477c5.entry.js → p-9a50c2d9.entry.js} +1 -1
  505. package/dist/genesys-webcomponents/{p-9c7d20f3.entry.js → p-9abc8ad6.entry.js} +1 -1
  506. package/dist/genesys-webcomponents/{p-d8f19b6e.entry.js → p-a010db45.entry.js} +1 -1
  507. package/dist/genesys-webcomponents/{p-dd38b278.entry.js → p-a3ce5fb4.entry.js} +1 -1
  508. package/dist/genesys-webcomponents/p-a568063b.entry.js +1 -0
  509. package/dist/genesys-webcomponents/{p-93b949d2.entry.js → p-a5b67e24.entry.js} +1 -1
  510. package/dist/genesys-webcomponents/{p-2f36b876.entry.js → p-a6f8eae7.entry.js} +1 -1
  511. package/dist/genesys-webcomponents/p-a72b07de.entry.js +1 -0
  512. package/dist/genesys-webcomponents/p-ab7d9e7f.entry.js +1 -0
  513. package/dist/genesys-webcomponents/{p-bd8955b3.entry.js → p-abb7ba99.entry.js} +1 -1
  514. package/dist/genesys-webcomponents/{p-d30184ce.entry.js → p-b07b1338.entry.js} +1 -1
  515. package/dist/genesys-webcomponents/{p-f67f7d96.entry.js → p-b38cbec4.entry.js} +1 -1
  516. package/dist/genesys-webcomponents/{p-b6d7f014.entry.js → p-b50c36b1.entry.js} +1 -1
  517. package/dist/genesys-webcomponents/{p-4c10a897.entry.js → p-b6a24e44.entry.js} +1 -1
  518. package/dist/genesys-webcomponents/{p-dbf7b898.entry.js → p-b7616e43.entry.js} +1 -1
  519. package/dist/genesys-webcomponents/{p-bfa4d7b0.entry.js → p-b7694e54.entry.js} +1 -1
  520. package/dist/genesys-webcomponents/{p-ce9546e7.entry.js → p-b937042c.entry.js} +1 -1
  521. package/dist/genesys-webcomponents/{p-4126e464.entry.js → p-bd94ae56.entry.js} +1 -1
  522. package/dist/genesys-webcomponents/{p-3742fd1f.entry.js → p-c27ddfa4.entry.js} +1 -1
  523. package/dist/genesys-webcomponents/{p-a623a639.entry.js → p-c2bb6fb4.entry.js} +1 -1
  524. package/dist/genesys-webcomponents/{p-1c9dfc78.js → p-c894d516.js} +1 -1
  525. package/dist/genesys-webcomponents/{p-398a26d4.entry.js → p-caf735be.entry.js} +1 -1
  526. package/dist/genesys-webcomponents/{p-2260e9c1.entry.js → p-cc60367a.entry.js} +1 -1
  527. package/dist/genesys-webcomponents/{p-0db98d93.entry.js → p-ce7102d1.entry.js} +1 -1
  528. package/dist/genesys-webcomponents/{p-478ad2ef.entry.js → p-d01b852c.entry.js} +1 -1
  529. package/dist/genesys-webcomponents/{p-6e4bb6a7.js → p-d0e9852a.js} +1 -1
  530. package/dist/genesys-webcomponents/p-d188a562.entry.js +1 -0
  531. package/dist/genesys-webcomponents/{p-003399e8.entry.js → p-d46f1661.entry.js} +1 -1
  532. package/dist/genesys-webcomponents/{p-1483627b.entry.js → p-d47c8f4b.entry.js} +1 -1
  533. package/dist/genesys-webcomponents/{p-8caf2514.js → p-d57c937c.js} +1 -1
  534. package/dist/genesys-webcomponents/{p-2fefb4aa.entry.js → p-d835d4a3.entry.js} +1 -1
  535. package/dist/genesys-webcomponents/{p-acd2fa20.js → p-d915144d.js} +1 -1
  536. package/dist/genesys-webcomponents/{p-ed274751.entry.js → p-dc446774.entry.js} +1 -1
  537. package/dist/genesys-webcomponents/{p-1a1ac578.entry.js → p-dd301580.entry.js} +1 -1
  538. package/dist/genesys-webcomponents/{p-2f3bcc18.entry.js → p-de44579b.entry.js} +1 -1
  539. package/dist/genesys-webcomponents/{p-3b2105aa.entry.js → p-df6d1bf6.entry.js} +1 -1
  540. package/dist/genesys-webcomponents/p-e084917f.entry.js +1 -0
  541. package/dist/genesys-webcomponents/{p-17f60003.entry.js → p-e4c34041.entry.js} +1 -1
  542. package/dist/genesys-webcomponents/{p-5f11236d.entry.js → p-e54fafe5.entry.js} +1 -1
  543. package/dist/genesys-webcomponents/{p-0e8ad0ab.entry.js → p-e8de9828.entry.js} +1 -1
  544. package/dist/genesys-webcomponents/{p-e05b0da9.entry.js → p-ed3b0b2e.entry.js} +1 -1
  545. package/dist/genesys-webcomponents/{p-87526488.entry.js → p-f3315768.entry.js} +1 -1
  546. package/dist/genesys-webcomponents/{p-913ba6ea.entry.js → p-f7b5163f.entry.js} +1 -1
  547. package/dist/genesys-webcomponents/{p-08b4611d.js → p-f8ed25c3.js} +1 -1
  548. package/dist/genesys-webcomponents/{p-d88efa01.entry.js → p-fc2c7fe0.entry.js} +1 -1
  549. package/dist/genesys-webcomponents/{p-54cc96aa.entry.js → p-fd79f6b0.entry.js} +1 -1
  550. package/dist/genesys-webcomponents/{p-506daeda.entry.js → p-fdf8ab44.entry.js} +1 -1
  551. package/dist/genesys-webcomponents/{p-841af57f.entry.js → p-fea347f8.entry.js} +1 -1
  552. package/dist/genesys-webcomponents/{p-38439a3a.entry.js → p-ff5f76be.entry.js} +1 -1
  553. package/dist/loader/package.json +1 -0
  554. package/dist/stencil-wrapper.js +1 -1
  555. package/dist/types/components/stable/gux-action-button/gux-action-button.d.ts +1 -0
  556. package/dist/types/components/stable/gux-advanced-dropdown/gux-advanced-dropdown.d.ts +1 -1
  557. package/dist/types/components/stable/gux-button-multi/gux-button-multi.d.ts +1 -0
  558. package/package.json +18 -15
  559. package/dist/genesys-webcomponents/p-0aec677e.entry.js +0 -1
  560. package/dist/genesys-webcomponents/p-3d3e13b9.entry.js +0 -1
  561. package/dist/genesys-webcomponents/p-4b50d89a.entry.js +0 -1
  562. package/dist/genesys-webcomponents/p-589f4b0a.entry.js +0 -1
  563. package/dist/genesys-webcomponents/p-7363b55d.entry.js +0 -1
  564. package/dist/genesys-webcomponents/p-737e577b.entry.js +0 -1
  565. package/dist/genesys-webcomponents/p-8eca1007.entry.js +0 -1
  566. package/dist/genesys-webcomponents/p-a994bec5.entry.js +0 -1
  567. package/dist/genesys-webcomponents/p-b58cc6b4.entry.js +0 -1
  568. package/dist/genesys-webcomponents/p-c324299b.entry.js +0 -1
  569. package/dist/genesys-webcomponents/p-d93f3a20.entry.js +0 -1
  570. package/dist/genesys-webcomponents/p-e3c80187.js +0 -1
@@ -43,7 +43,7 @@ const addHostEventListeners = (elm, hostRef, listeners, attachParentListeners) =
43
43
  const hostListenerProxy = (hostRef, methodName) => (ev) => {
44
44
  try {
45
45
  {
46
- if (hostRef.$flags$ & 256 /* isListenReady */) {
46
+ if (hostRef.$flags$ & 256 /* HOST_FLAGS.isListenReady */) {
47
47
  // instance is ready, let's call it's member method for this event
48
48
  hostRef.$lazyInstance$[methodName](ev);
49
49
  }
@@ -57,12 +57,12 @@ const hostListenerProxy = (hostRef, methodName) => (ev) => {
57
57
  }
58
58
  };
59
59
  const getHostListenerTarget = (elm, flags) => {
60
- if (flags & 8 /* TargetWindow */)
60
+ if (flags & 8 /* LISTENER_FLAGS.TargetWindow */)
61
61
  return win;
62
62
  return elm;
63
63
  };
64
64
  // prettier-ignore
65
- const hostListenerOpts = (flags) => (flags & 2 /* Capture */) !== 0;
65
+ const hostListenerOpts = (flags) => (flags & 2 /* LISTENER_FLAGS.Capture */) !== 0;
66
66
  const HYDRATED_CSS = '{visibility:hidden}[hydrated]{visibility:inherit}';
67
67
  const createTime = (fnName, tagName = '') => {
68
68
  {
@@ -78,7 +78,7 @@ const uniqueTime = (key, measureText) => {
78
78
  };
79
79
  }
80
80
  };
81
- const rootAppliedStyles = new WeakMap();
81
+ const rootAppliedStyles = /*@__PURE__*/ new WeakMap();
82
82
  const registerStyle = (scopeId, cssText, allowCS) => {
83
83
  let style = styles.get(scopeId);
84
84
  if (supportsConstructableStylesheets && allowCS) {
@@ -100,7 +100,7 @@ const addStyle = (styleContainerNode, cmpMeta, mode, hostElm) => {
100
100
  const style = styles.get(scopeId);
101
101
  // if an element is NOT connected then getRootNode() will return the wrong root node
102
102
  // so the fallback is to always use the document for the root node in those cases
103
- styleContainerNode = styleContainerNode.nodeType === 11 /* DocumentFragment */ ? styleContainerNode : doc;
103
+ styleContainerNode = styleContainerNode.nodeType === 11 /* NODE_TYPE.DocumentFragment */ ? styleContainerNode : doc;
104
104
  if (style) {
105
105
  if (typeof style === 'string') {
106
106
  styleContainerNode = styleContainerNode.head || styleContainerNode;
@@ -134,7 +134,7 @@ const attachStyles = (hostRef) => {
134
134
  const flags = cmpMeta.$flags$;
135
135
  const endAttachStyles = createTime('attachStyles', cmpMeta.$tagName$);
136
136
  const scopeId = addStyle(elm.shadowRoot ? elm.shadowRoot : elm.getRootNode(), cmpMeta);
137
- if (flags & 10 /* needsScopedEncapsulation */) {
137
+ if (flags & 10 /* CMP_FLAGS.needsScopedEncapsulation */) {
138
138
  // only required when we're NOT using native shadow dom (slot)
139
139
  // or this browser doesn't support native shadow dom
140
140
  // and this host element was NOT created with SSR
@@ -415,7 +415,7 @@ const setAccessor = (elm, memberName, oldValue, newValue, isSvg, flags) => {
415
415
  }
416
416
  }
417
417
  }
418
- else if ((!isProp || flags & 4 /* isHost */ || isSvg) && !isComplex) {
418
+ else if ((!isProp || flags & 4 /* VNODE_FLAGS.isHost */ || isSvg) && !isComplex) {
419
419
  newValue = newValue === true ? '' : newValue;
420
420
  {
421
421
  elm.setAttribute(memberName, newValue);
@@ -430,7 +430,7 @@ const updateElement = (oldVnode, newVnode, isSvgMode, memberName) => {
430
430
  // if the element passed in is a shadow root, which is a document fragment
431
431
  // then we want to be adding attrs/props to the shadow root's "host" element
432
432
  // if it's not a shadow root, then we add attrs/props to the same element
433
- const elm = newVnode.$elm$.nodeType === 11 /* DocumentFragment */ && newVnode.$elm$.host
433
+ const elm = newVnode.$elm$.nodeType === 11 /* NODE_TYPE.DocumentFragment */ && newVnode.$elm$.host
434
434
  ? newVnode.$elm$.host
435
435
  : newVnode.$elm$;
436
436
  const oldVnodeAttrs = (oldVnode && oldVnode.$attrs$) || EMPTY_OBJ;
@@ -448,6 +448,16 @@ const updateElement = (oldVnode, newVnode, isSvgMode, memberName) => {
448
448
  setAccessor(elm, memberName, oldVnodeAttrs[memberName], newVnodeAttrs[memberName], isSvgMode, newVnode.$flags$);
449
449
  }
450
450
  };
451
+ /**
452
+ * Create a DOM Node corresponding to one of the children of a given VNode.
453
+ *
454
+ * @param oldParentVNode the parent VNode from the previous render
455
+ * @param newParentVNode the parent VNode from the current render
456
+ * @param childIndex the index of the VNode, in the _new_ parent node's
457
+ * children, for which we will create a new DOM node
458
+ * @param parentElm the parent DOM node which our new node will be a child of
459
+ * @returns the newly created node
460
+ */
451
461
  const createElm = (oldParentVNode, newParentVNode, childIndex, parentElm) => {
452
462
  // tslint:disable-next-line: prefer-const
453
463
  const newVNode = newParentVNode.$children$[childIndex];
@@ -465,16 +475,16 @@ const createElm = (oldParentVNode, newParentVNode, childIndex, parentElm) => {
465
475
  }
466
476
  newVNode.$flags$ |= newVNode.$children$
467
477
  ? // slot element has fallback content
468
- 2 /* isSlotFallback */
478
+ 2 /* VNODE_FLAGS.isSlotFallback */
469
479
  : // slot element does not have fallback content
470
- 1 /* isSlotReference */;
480
+ 1 /* VNODE_FLAGS.isSlotReference */;
471
481
  }
472
482
  }
473
483
  if (newVNode.$text$ !== null) {
474
484
  // create text node
475
485
  elm = newVNode.$elm$ = doc.createTextNode(newVNode.$text$);
476
486
  }
477
- else if (newVNode.$flags$ & 1 /* isSlotReference */) {
487
+ else if (newVNode.$flags$ & 1 /* VNODE_FLAGS.isSlotReference */) {
478
488
  // create a slot reference node
479
489
  elm = newVNode.$elm$ =
480
490
  doc.createTextNode('');
@@ -484,7 +494,7 @@ const createElm = (oldParentVNode, newParentVNode, childIndex, parentElm) => {
484
494
  isSvgMode = newVNode.$tag$ === 'svg';
485
495
  }
486
496
  // create element
487
- elm = newVNode.$elm$ = (doc.createElementNS(isSvgMode ? SVG_NS : HTML_NS, newVNode.$flags$ & 2 /* isSlotFallback */
497
+ elm = newVNode.$elm$ = (doc.createElementNS(isSvgMode ? SVG_NS : HTML_NS, newVNode.$flags$ & 2 /* VNODE_FLAGS.isSlotFallback */
488
498
  ? 'slot-fb'
489
499
  : newVNode.$tag$)
490
500
  );
@@ -524,7 +534,7 @@ const createElm = (oldParentVNode, newParentVNode, childIndex, parentElm) => {
524
534
  }
525
535
  {
526
536
  elm['s-hn'] = hostTagName;
527
- if (newVNode.$flags$ & (2 /* isSlotFallback */ | 1 /* isSlotReference */)) {
537
+ if (newVNode.$flags$ & (2 /* VNODE_FLAGS.isSlotFallback */ | 1 /* VNODE_FLAGS.isSlotReference */)) {
528
538
  // remember the content reference comment
529
539
  elm['s-sr'] = true;
530
540
  // remember the content reference comment
@@ -543,7 +553,7 @@ const createElm = (oldParentVNode, newParentVNode, childIndex, parentElm) => {
543
553
  return elm;
544
554
  };
545
555
  const putBackInOriginalLocation = (parentElm, recursive) => {
546
- plt.$flags$ |= 1 /* isTmpDisconnected */;
556
+ plt.$flags$ |= 1 /* PLATFORM_FLAGS.isTmpDisconnected */;
547
557
  const oldSlotChildNodes = parentElm.childNodes;
548
558
  for (let i = oldSlotChildNodes.length - 1; i >= 0; i--) {
549
559
  const childNode = oldSlotChildNodes[i];
@@ -564,7 +574,7 @@ const putBackInOriginalLocation = (parentElm, recursive) => {
564
574
  putBackInOriginalLocation(childNode, recursive);
565
575
  }
566
576
  }
567
- plt.$flags$ &= ~1 /* isTmpDisconnected */;
577
+ plt.$flags$ &= ~1 /* PLATFORM_FLAGS.isTmpDisconnected */;
568
578
  };
569
579
  const addVnodes = (parentElm, before, parentVNode, vnodes, startIdx, endIdx) => {
570
580
  let containerElm = ((parentElm['s-cr'] && parentElm['s-cr'].parentNode) || parentElm);
@@ -606,6 +616,74 @@ const removeVnodes = (vnodes, startIdx, endIdx, vnode, elm) => {
606
616
  }
607
617
  }
608
618
  };
619
+ /**
620
+ * Reconcile the children of a new VNode with the children of an old VNode by
621
+ * traversing the two collections of children, identifying nodes that are
622
+ * conserved or changed, calling out to `patch` to make any necessary
623
+ * updates to the DOM, and rearranging DOM nodes as needed.
624
+ *
625
+ * The algorithm for reconciling children works by analyzing two 'windows' onto
626
+ * the two arrays of children (`oldCh` and `newCh`). We keep track of the
627
+ * 'windows' by storing start and end indices and references to the
628
+ * corresponding array entries. Initially the two 'windows' are basically equal
629
+ * to the entire array, but we progressively narrow the windows until there are
630
+ * no children left to update by doing the following:
631
+ *
632
+ * 1. Skip any `null` entries at the beginning or end of the two arrays, so
633
+ * that if we have an initial array like the following we'll end up dealing
634
+ * only with a window bounded by the highlighted elements:
635
+ *
636
+ * [null, null, VNode1 , ... , VNode2, null, null]
637
+ * ^^^^^^ ^^^^^^
638
+ *
639
+ * 2. Check to see if the elements at the head and tail positions are equal
640
+ * across the windows. This will basically detect elements which haven't
641
+ * been added, removed, or changed position, i.e. if you had the following
642
+ * VNode elements (represented as HTML):
643
+ *
644
+ * oldVNode: `<div><p><span>HEY</span></p></div>`
645
+ * newVNode: `<div><p><span>THERE</span></p></div>`
646
+ *
647
+ * Then when comparing the children of the `<div>` tag we check the equality
648
+ * of the VNodes corresponding to the `<p>` tags and, since they are the
649
+ * same tag in the same position, we'd be able to avoid completely
650
+ * re-rendering the subtree under them with a new DOM element and would just
651
+ * call out to `patch` to handle reconciling their children and so on.
652
+ *
653
+ * 3. Check, for both windows, to see if the element at the beginning of the
654
+ * window corresponds to the element at the end of the other window. This is
655
+ * a heuristic which will let us identify _some_ situations in which
656
+ * elements have changed position, for instance it _should_ detect that the
657
+ * children nodes themselves have not changed but merely moved in the
658
+ * following example:
659
+ *
660
+ * oldVNode: `<div><element-one /><element-two /></div>`
661
+ * newVNode: `<div><element-two /><element-one /></div>`
662
+ *
663
+ * If we find cases like this then we also need to move the concrete DOM
664
+ * elements corresponding to the moved children to write the re-order to the
665
+ * DOM.
666
+ *
667
+ * 4. Finally, if VNodes have the `key` attribute set on them we check for any
668
+ * nodes in the old children which have the same key as the first element in
669
+ * our window on the new children. If we find such a node we handle calling
670
+ * out to `patch`, moving relevant DOM nodes, and so on, in accordance with
671
+ * what we find.
672
+ *
673
+ * Finally, once we've narrowed our 'windows' to the point that either of them
674
+ * collapse (i.e. they have length 0) we then handle any remaining VNode
675
+ * insertion or deletion that needs to happen to get a DOM state that correctly
676
+ * reflects the new child VNodes. If, for instance, after our window on the old
677
+ * children has collapsed we still have more nodes on the new children that
678
+ * we haven't dealt with yet then we need to add them, or if the new children
679
+ * collapse but we still have unhandled _old_ children then we need to make
680
+ * sure the corresponding DOM nodes are removed.
681
+ *
682
+ * @param parentElm the node into which the parent VNode is rendered
683
+ * @param oldCh the old children of the parent node
684
+ * @param newVNode the new VNode which will replace the parent
685
+ * @param newCh the new children of the parent node
686
+ */
609
687
  const updateChildren = (parentElm, oldCh, newVNode, newCh) => {
610
688
  let oldStartIdx = 0;
611
689
  let newStartIdx = 0;
@@ -621,7 +699,7 @@ const updateChildren = (parentElm, oldCh, newVNode, newCh) => {
621
699
  let elmToMove;
622
700
  while (oldStartIdx <= oldEndIdx && newStartIdx <= newEndIdx) {
623
701
  if (oldStartVnode == null) {
624
- // Vnode might have been moved left
702
+ // VNode might have been moved left
625
703
  oldStartVnode = oldCh[++oldStartIdx];
626
704
  }
627
705
  else if (oldEndVnode == null) {
@@ -634,37 +712,100 @@ const updateChildren = (parentElm, oldCh, newVNode, newCh) => {
634
712
  newEndVnode = newCh[--newEndIdx];
635
713
  }
636
714
  else if (isSameVnode(oldStartVnode, newStartVnode)) {
715
+ // if the start nodes are the same then we should patch the new VNode
716
+ // onto the old one, and increment our `newStartIdx` and `oldStartIdx`
717
+ // indices to reflect that. We don't need to move any DOM Nodes around
718
+ // since things are matched up in order.
637
719
  patch(oldStartVnode, newStartVnode);
638
720
  oldStartVnode = oldCh[++oldStartIdx];
639
721
  newStartVnode = newCh[++newStartIdx];
640
722
  }
641
723
  else if (isSameVnode(oldEndVnode, newEndVnode)) {
724
+ // likewise, if the end nodes are the same we patch new onto old and
725
+ // decrement our end indices, and also likewise in this case we don't
726
+ // need to move any DOM Nodes.
642
727
  patch(oldEndVnode, newEndVnode);
643
728
  oldEndVnode = oldCh[--oldEndIdx];
644
729
  newEndVnode = newCh[--newEndIdx];
645
730
  }
646
731
  else if (isSameVnode(oldStartVnode, newEndVnode)) {
647
- // Vnode moved right
732
+ // case: "Vnode moved right"
733
+ //
734
+ // We've found that the last node in our window on the new children is
735
+ // the same VNode as the _first_ node in our window on the old children
736
+ // we're dealing with now. Visually, this is the layout of these two
737
+ // nodes:
738
+ //
739
+ // newCh: [..., newStartVnode , ... , newEndVnode , ...]
740
+ // ^^^^^^^^^^^
741
+ // oldCh: [..., oldStartVnode , ... , oldEndVnode , ...]
742
+ // ^^^^^^^^^^^^^
743
+ //
744
+ // In this situation we need to patch `newEndVnode` onto `oldStartVnode`
745
+ // and move the DOM element for `oldStartVnode`.
648
746
  if ((oldStartVnode.$tag$ === 'slot' || newEndVnode.$tag$ === 'slot')) {
649
747
  putBackInOriginalLocation(oldStartVnode.$elm$.parentNode, false);
650
748
  }
651
749
  patch(oldStartVnode, newEndVnode);
750
+ // We need to move the element for `oldStartVnode` into a position which
751
+ // will be appropriate for `newEndVnode`. For this we can use
752
+ // `.insertBefore` and `oldEndVnode.$elm$.nextSibling`. If there is a
753
+ // sibling for `oldEndVnode.$elm$` then we want to move the DOM node for
754
+ // `oldStartVnode` between `oldEndVnode` and it's sibling, like so:
755
+ //
756
+ // <old-start-node />
757
+ // <some-intervening-node />
758
+ // <old-end-node />
759
+ // <!-- -> <-- `oldStartVnode.$elm$` should be inserted here
760
+ // <next-sibling />
761
+ //
762
+ // If instead `oldEndVnode.$elm$` has no sibling then we just want to put
763
+ // the node for `oldStartVnode` at the end of the children of
764
+ // `parentElm`. Luckily, `Node.nextSibling` will return `null` if there
765
+ // aren't any siblings, and passing `null` to `Node.insertBefore` will
766
+ // append it to the children of the parent element.
652
767
  parentElm.insertBefore(oldStartVnode.$elm$, oldEndVnode.$elm$.nextSibling);
653
768
  oldStartVnode = oldCh[++oldStartIdx];
654
769
  newEndVnode = newCh[--newEndIdx];
655
770
  }
656
771
  else if (isSameVnode(oldEndVnode, newStartVnode)) {
657
- // Vnode moved left
772
+ // case: "Vnode moved left"
773
+ //
774
+ // We've found that the first node in our window on the new children is
775
+ // the same VNode as the _last_ node in our window on the old children.
776
+ // Visually, this is the layout of these two nodes:
777
+ //
778
+ // newCh: [..., newStartVnode , ... , newEndVnode , ...]
779
+ // ^^^^^^^^^^^^^
780
+ // oldCh: [..., oldStartVnode , ... , oldEndVnode , ...]
781
+ // ^^^^^^^^^^^
782
+ //
783
+ // In this situation we need to patch `newStartVnode` onto `oldEndVnode`
784
+ // (which will handle updating any changed attributes, reconciling their
785
+ // children etc) but we also need to move the DOM node to which
786
+ // `oldEndVnode` corresponds.
658
787
  if ((oldStartVnode.$tag$ === 'slot' || newEndVnode.$tag$ === 'slot')) {
659
788
  putBackInOriginalLocation(oldEndVnode.$elm$.parentNode, false);
660
789
  }
661
790
  patch(oldEndVnode, newStartVnode);
791
+ // We've already checked above if `oldStartVnode` and `newStartVnode` are
792
+ // the same node, so since we're here we know that they are not. Thus we
793
+ // can move the element for `oldEndVnode` _before_ the element for
794
+ // `oldStartVnode`, leaving `oldStartVnode` to be reconciled in the
795
+ // future.
662
796
  parentElm.insertBefore(oldEndVnode.$elm$, oldStartVnode.$elm$);
663
797
  oldEndVnode = oldCh[--oldEndIdx];
664
798
  newStartVnode = newCh[++newStartIdx];
665
799
  }
666
800
  else {
667
- // createKeyToOldIdx
801
+ // Here we do some checks to match up old and new nodes based on the
802
+ // `$key$` attribute, which is set by putting a `key="my-key"` attribute
803
+ // in the JSX for a DOM element in the implementation of a Stencil
804
+ // component.
805
+ //
806
+ // First we check to see if there are any nodes in the array of old
807
+ // children which have the same key as the first node in the new
808
+ // children.
668
809
  idxInOld = -1;
669
810
  {
670
811
  for (i = oldStartIdx; i <= oldEndIdx; ++i) {
@@ -675,23 +816,32 @@ const updateChildren = (parentElm, oldCh, newVNode, newCh) => {
675
816
  }
676
817
  }
677
818
  if (idxInOld >= 0) {
819
+ // We found a node in the old children which matches up with the first
820
+ // node in the new children! So let's deal with that
678
821
  elmToMove = oldCh[idxInOld];
679
822
  if (elmToMove.$tag$ !== newStartVnode.$tag$) {
823
+ // the tag doesn't match so we'll need a new DOM element
680
824
  node = createElm(oldCh && oldCh[newStartIdx], newVNode, idxInOld, parentElm);
681
825
  }
682
826
  else {
683
827
  patch(elmToMove, newStartVnode);
828
+ // invalidate the matching old node so that we won't try to update it
829
+ // again later on
684
830
  oldCh[idxInOld] = undefined;
685
831
  node = elmToMove.$elm$;
686
832
  }
687
833
  newStartVnode = newCh[++newStartIdx];
688
834
  }
689
835
  else {
690
- // new element
836
+ // We either didn't find an element in the old children that matches
837
+ // the key of the first new child OR the build is not using `key`
838
+ // attributes at all. In either case we need to create a new element
839
+ // for the new node.
691
840
  node = createElm(oldCh && oldCh[newStartIdx], newVNode, newStartIdx, parentElm);
692
841
  newStartVnode = newCh[++newStartIdx];
693
842
  }
694
843
  if (node) {
844
+ // if we created a new node then handle inserting it to the DOM
695
845
  {
696
846
  parentReferenceNode(oldStartVnode.$elm$).insertBefore(node, referenceNode(oldStartVnode.$elm$));
697
847
  }
@@ -699,21 +849,43 @@ const updateChildren = (parentElm, oldCh, newVNode, newCh) => {
699
849
  }
700
850
  }
701
851
  if (oldStartIdx > oldEndIdx) {
852
+ // we have some more new nodes to add which don't match up with old nodes
702
853
  addVnodes(parentElm, newCh[newEndIdx + 1] == null ? null : newCh[newEndIdx + 1].$elm$, newVNode, newCh, newStartIdx, newEndIdx);
703
854
  }
704
855
  else if (newStartIdx > newEndIdx) {
856
+ // there are nodes in the `oldCh` array which no longer correspond to nodes
857
+ // in the new array, so lets remove them (which entails cleaning up the
858
+ // relevant DOM nodes)
705
859
  removeVnodes(oldCh, oldStartIdx, oldEndIdx);
706
860
  }
707
861
  };
708
- const isSameVnode = (vnode1, vnode2) => {
862
+ /**
863
+ * Compare two VNodes to determine if they are the same
864
+ *
865
+ * **NB**: This function is an equality _heuristic_ based on the available
866
+ * information set on the two VNodes and can be misleading under certain
867
+ * circumstances. In particular, if the two nodes do not have `key` attrs
868
+ * (available under `$key$` on VNodes) then the function falls back on merely
869
+ * checking that they have the same tag.
870
+ *
871
+ * So, in other words, if `key` attrs are not set on VNodes which may be
872
+ * changing order within a `children` array or something along those lines then
873
+ * we could obtain a false positive and then have to do needless re-rendering.
874
+ *
875
+ * @param leftVNode the first VNode to check
876
+ * @param rightVNode the second VNode to check
877
+ * @returns whether they're equal or not
878
+ */
879
+ const isSameVnode = (leftVNode, rightVNode) => {
709
880
  // compare if two vnode to see if they're "technically" the same
710
881
  // need to have the same element tag, and same key to be the same
711
- if (vnode1.$tag$ === vnode2.$tag$) {
712
- if (vnode1.$tag$ === 'slot') {
713
- return vnode1.$name$ === vnode2.$name$;
882
+ if (leftVNode.$tag$ === rightVNode.$tag$) {
883
+ if (leftVNode.$tag$ === 'slot') {
884
+ return leftVNode.$name$ === rightVNode.$name$;
714
885
  }
886
+ // this will be set if components in the build have `key` attrs set on them
715
887
  {
716
- return vnode1.$key$ === vnode2.$key$;
888
+ return leftVNode.$key$ === rightVNode.$key$;
717
889
  }
718
890
  }
719
891
  return false;
@@ -726,6 +898,14 @@ const referenceNode = (node) => {
726
898
  return (node && node['s-ol']) || node;
727
899
  };
728
900
  const parentReferenceNode = (node) => (node['s-ol'] ? node['s-ol'] : node).parentNode;
901
+ /**
902
+ * Handle reconciling an outdated VNode with a new one which corresponds to
903
+ * it. This function handles flushing updates to the DOM and reconciling the
904
+ * children of the two nodes (if any).
905
+ *
906
+ * @param oldVNode an old VNode whose DOM element and children we want to update
907
+ * @param newVNode a new VNode representing an updated version of the old one
908
+ */
729
909
  const patch = (oldVNode, newVNode) => {
730
910
  const elm = (newVNode.$elm$ = oldVNode.$elm$);
731
911
  const oldChildren = oldVNode.$children$;
@@ -739,7 +919,6 @@ const patch = (oldVNode, newVNode) => {
739
919
  // only add this to the when the compiler sees we're using an svg somewhere
740
920
  isSvgMode = tag === 'svg' ? true : tag === 'foreignObject' ? false : isSvgMode;
741
921
  }
742
- // element node
743
922
  {
744
923
  if (tag === 'slot')
745
924
  ;
@@ -752,6 +931,7 @@ const patch = (oldVNode, newVNode) => {
752
931
  }
753
932
  if (oldChildren !== null && newChildren !== null) {
754
933
  // looks like there's child vnodes for both the old and new vnodes
934
+ // so we need to call `updateChildren` to reconcile them
755
935
  updateChildren(elm, oldChildren, newVNode, newChildren);
756
936
  }
757
937
  else if (newChildren !== null) {
@@ -792,7 +972,7 @@ const updateFallbackSlotVisibility = (elm) => {
792
972
  let nodeType;
793
973
  for (i = 0, ilen = childNodes.length; i < ilen; i++) {
794
974
  childNode = childNodes[i];
795
- if (childNode.nodeType === 1 /* ElementNode */) {
975
+ if (childNode.nodeType === 1 /* NODE_TYPE.ElementNode */) {
796
976
  if (childNode['s-sr']) {
797
977
  // this is a slot fallback node
798
978
  // get the slot name for this slot reference node
@@ -804,7 +984,7 @@ const updateFallbackSlotVisibility = (elm) => {
804
984
  nodeType = childNodes[j].nodeType;
805
985
  if (childNodes[j]['s-hn'] !== childNode['s-hn'] || slotNameAttr !== '') {
806
986
  // this sibling node is from a different component OR is a named fallback slot node
807
- if (nodeType === 1 /* ElementNode */ && slotNameAttr === childNodes[j].getAttribute('slot')) {
987
+ if (nodeType === 1 /* NODE_TYPE.ElementNode */ && slotNameAttr === childNodes[j].getAttribute('slot')) {
808
988
  childNode.hidden = true;
809
989
  break;
810
990
  }
@@ -813,8 +993,8 @@ const updateFallbackSlotVisibility = (elm) => {
813
993
  // this is a default fallback slot node
814
994
  // any element or text node (with content)
815
995
  // should hide the default fallback slot node
816
- if (nodeType === 1 /* ElementNode */ ||
817
- (nodeType === 3 /* TextNode */ && childNodes[j].textContent.trim() !== '')) {
996
+ if (nodeType === 1 /* NODE_TYPE.ElementNode */ ||
997
+ (nodeType === 3 /* NODE_TYPE.TextNode */ && childNodes[j].textContent.trim() !== '')) {
818
998
  childNode.hidden = true;
819
999
  break;
820
1000
  }
@@ -892,13 +1072,13 @@ const relocateSlotContent = (elm) => {
892
1072
  }
893
1073
  }
894
1074
  }
895
- if (childNode.nodeType === 1 /* ElementNode */) {
1075
+ if (childNode.nodeType === 1 /* NODE_TYPE.ElementNode */) {
896
1076
  relocateSlotContent(childNode);
897
1077
  }
898
1078
  }
899
1079
  };
900
1080
  const isNodeLocatedInSlot = (nodeToRelocate, slotNameAttr) => {
901
- if (nodeToRelocate.nodeType === 1 /* ElementNode */) {
1081
+ if (nodeToRelocate.nodeType === 1 /* NODE_TYPE.ElementNode */) {
902
1082
  if (nodeToRelocate.getAttribute('slot') === null && slotNameAttr === '') {
903
1083
  return true;
904
1084
  }
@@ -929,7 +1109,7 @@ const renderVdom = (hostRef, renderFnResults) => {
929
1109
  cmpMeta.$attrsToReflect$.map(([propName, attribute]) => (rootVnode.$attrs$[attribute] = hostElm[propName]));
930
1110
  }
931
1111
  rootVnode.$tag$ = null;
932
- rootVnode.$flags$ |= 4 /* isHost */;
1112
+ rootVnode.$flags$ |= 4 /* VNODE_FLAGS.isHost */;
933
1113
  hostRef.$vnode$ = rootVnode;
934
1114
  rootVnode.$elm$ = oldVNode.$elm$ = (hostElm.shadowRoot || hostElm );
935
1115
  {
@@ -937,7 +1117,7 @@ const renderVdom = (hostRef, renderFnResults) => {
937
1117
  }
938
1118
  {
939
1119
  contentRef = hostElm['s-cr'];
940
- useNativeShadowDom = (cmpMeta.$flags$ & 1 /* shadowDomEncapsulation */) !== 0;
1120
+ useNativeShadowDom = (cmpMeta.$flags$ & 1 /* CMP_FLAGS.shadowDomEncapsulation */) !== 0;
941
1121
  // always reset
942
1122
  checkSlotFallbackVisibility = false;
943
1123
  }
@@ -946,7 +1126,7 @@ const renderVdom = (hostRef, renderFnResults) => {
946
1126
  {
947
1127
  // while we're moving nodes around existing nodes, temporarily disable
948
1128
  // the disconnectCallback from working
949
- plt.$flags$ |= 1 /* isTmpDisconnected */;
1129
+ plt.$flags$ |= 1 /* PLATFORM_FLAGS.isTmpDisconnected */;
950
1130
  if (checkSlotRelocate) {
951
1131
  relocateSlotContent(rootVnode.$elm$);
952
1132
  let relocateData;
@@ -1004,7 +1184,7 @@ const renderVdom = (hostRef, renderFnResults) => {
1004
1184
  }
1005
1185
  else {
1006
1186
  // this node doesn't have a slot home to go to, so let's hide it
1007
- if (nodeToRelocate.nodeType === 1 /* ElementNode */) {
1187
+ if (nodeToRelocate.nodeType === 1 /* NODE_TYPE.ElementNode */) {
1008
1188
  nodeToRelocate.hidden = true;
1009
1189
  }
1010
1190
  }
@@ -1015,7 +1195,7 @@ const renderVdom = (hostRef, renderFnResults) => {
1015
1195
  }
1016
1196
  // done moving nodes around
1017
1197
  // allow the disconnect callback to work again
1018
- plt.$flags$ &= ~1 /* isTmpDisconnected */;
1198
+ plt.$flags$ &= ~1 /* PLATFORM_FLAGS.isTmpDisconnected */;
1019
1199
  // always reset
1020
1200
  relocateNodes.length = 0;
1021
1201
  }
@@ -1026,9 +1206,9 @@ const createEvent = (ref, name, flags) => {
1026
1206
  return {
1027
1207
  emit: (detail) => {
1028
1208
  return emitEvent(elm, name, {
1029
- bubbles: !!(flags & 4 /* Bubbles */),
1030
- composed: !!(flags & 2 /* Composed */),
1031
- cancelable: !!(flags & 1 /* Cancellable */),
1209
+ bubbles: !!(flags & 4 /* EVENT_FLAGS.Bubbles */),
1210
+ composed: !!(flags & 2 /* EVENT_FLAGS.Composed */),
1211
+ cancelable: !!(flags & 1 /* EVENT_FLAGS.Cancellable */),
1032
1212
  detail,
1033
1213
  });
1034
1214
  },
@@ -1053,10 +1233,10 @@ const attachToAncestor = (hostRef, ancestorComponent) => {
1053
1233
  };
1054
1234
  const scheduleUpdate = (hostRef, isInitialLoad) => {
1055
1235
  {
1056
- hostRef.$flags$ |= 16 /* isQueuedForUpdate */;
1236
+ hostRef.$flags$ |= 16 /* HOST_FLAGS.isQueuedForUpdate */;
1057
1237
  }
1058
- if (hostRef.$flags$ & 4 /* isWaitingForChildren */) {
1059
- hostRef.$flags$ |= 512 /* needsRerender */;
1238
+ if (hostRef.$flags$ & 4 /* HOST_FLAGS.isWaitingForChildren */) {
1239
+ hostRef.$flags$ |= 512 /* HOST_FLAGS.needsRerender */;
1060
1240
  return;
1061
1241
  }
1062
1242
  attachToAncestor(hostRef, hostRef.$ancestorComponent$);
@@ -1072,7 +1252,7 @@ const dispatchHooks = (hostRef, isInitialLoad) => {
1072
1252
  let promise;
1073
1253
  if (isInitialLoad) {
1074
1254
  {
1075
- hostRef.$flags$ |= 256 /* isListenReady */;
1255
+ hostRef.$flags$ |= 256 /* HOST_FLAGS.isListenReady */;
1076
1256
  if (hostRef.$queuedListeners$) {
1077
1257
  hostRef.$queuedListeners$.map(([methodName, event]) => safeCall(instance, methodName, event));
1078
1258
  hostRef.$queuedListeners$ = null;
@@ -1118,7 +1298,7 @@ const updateComponent = async (hostRef, instance, isInitialLoad) => {
1118
1298
  }
1119
1299
  else {
1120
1300
  Promise.all(childrenPromises).then(postUpdate);
1121
- hostRef.$flags$ |= 4 /* isWaitingForChildren */;
1301
+ hostRef.$flags$ |= 4 /* HOST_FLAGS.isWaitingForChildren */;
1122
1302
  childrenPromises.length = 0;
1123
1303
  }
1124
1304
  }
@@ -1127,10 +1307,10 @@ const callRender = (hostRef, instance, elm) => {
1127
1307
  try {
1128
1308
  instance = instance.render() ;
1129
1309
  {
1130
- hostRef.$flags$ &= ~16 /* isQueuedForUpdate */;
1310
+ hostRef.$flags$ &= ~16 /* HOST_FLAGS.isQueuedForUpdate */;
1131
1311
  }
1132
1312
  {
1133
- hostRef.$flags$ |= 2 /* hasRendered */;
1313
+ hostRef.$flags$ |= 2 /* HOST_FLAGS.hasRendered */;
1134
1314
  }
1135
1315
  {
1136
1316
  {
@@ -1157,8 +1337,8 @@ const postUpdateComponent = (hostRef) => {
1157
1337
  {
1158
1338
  safeCall(instance, 'componentDidRender');
1159
1339
  }
1160
- if (!(hostRef.$flags$ & 64 /* hasLoadedComponent */)) {
1161
- hostRef.$flags$ |= 64 /* hasLoadedComponent */;
1340
+ if (!(hostRef.$flags$ & 64 /* HOST_FLAGS.hasLoadedComponent */)) {
1341
+ hostRef.$flags$ |= 64 /* HOST_FLAGS.hasLoadedComponent */;
1162
1342
  {
1163
1343
  // DOM WRITE!
1164
1344
  addHydratedFlag(elm);
@@ -1190,10 +1370,10 @@ const postUpdateComponent = (hostRef) => {
1190
1370
  hostRef.$onRenderResolve$();
1191
1371
  hostRef.$onRenderResolve$ = undefined;
1192
1372
  }
1193
- if (hostRef.$flags$ & 512 /* needsRerender */) {
1373
+ if (hostRef.$flags$ & 512 /* HOST_FLAGS.needsRerender */) {
1194
1374
  nextTick(() => scheduleUpdate(hostRef, false));
1195
1375
  }
1196
- hostRef.$flags$ &= ~(4 /* isWaitingForChildren */ | 512 /* needsRerender */);
1376
+ hostRef.$flags$ &= ~(4 /* HOST_FLAGS.isWaitingForChildren */ | 512 /* HOST_FLAGS.needsRerender */);
1197
1377
  }
1198
1378
  // ( •_•)
1199
1379
  // ( •_•)>⌐■-■
@@ -1204,7 +1384,7 @@ const forceUpdate = (ref) => {
1204
1384
  const hostRef = getHostRef(ref);
1205
1385
  const isConnected = hostRef.$hostElement$.isConnected;
1206
1386
  if (isConnected &&
1207
- (hostRef.$flags$ & (2 /* hasRendered */ | 16 /* isQueuedForUpdate */)) === 2 /* hasRendered */) {
1387
+ (hostRef.$flags$ & (2 /* HOST_FLAGS.hasRendered */ | 16 /* HOST_FLAGS.isQueuedForUpdate */)) === 2 /* HOST_FLAGS.hasRendered */) {
1208
1388
  scheduleUpdate(hostRef, false);
1209
1389
  }
1210
1390
  // Returns "true" when the forced update was successfully scheduled
@@ -1261,16 +1441,16 @@ const addHydratedFlag = (elm) => elm.setAttribute('hydrated', '')
1261
1441
  const parsePropertyValue = (propValue, propType) => {
1262
1442
  // ensure this value is of the correct prop type
1263
1443
  if (propValue != null && !isComplexType(propValue)) {
1264
- if (propType & 4 /* Boolean */) {
1444
+ if (propType & 4 /* MEMBER_FLAGS.Boolean */) {
1265
1445
  // per the HTML spec, any string value means it is a boolean true value
1266
1446
  // but we'll cheat here and say that the string "false" is the boolean false
1267
1447
  return propValue === 'false' ? false : propValue === '' || !!propValue;
1268
1448
  }
1269
- if (propType & 2 /* Number */) {
1449
+ if (propType & 2 /* MEMBER_FLAGS.Number */) {
1270
1450
  // force it to be a number
1271
1451
  return parseFloat(propValue);
1272
1452
  }
1273
- if (propType & 1 /* String */) {
1453
+ if (propType & 1 /* MEMBER_FLAGS.String */) {
1274
1454
  // could have been passed as a number or boolean
1275
1455
  // but we still want it as a string
1276
1456
  return String(propValue);
@@ -1294,13 +1474,13 @@ const setValue = (ref, propName, newVal, cmpMeta) => {
1294
1474
  // explicitly check for NaN on both sides, as `NaN === NaN` is always false
1295
1475
  const areBothNaN = Number.isNaN(oldVal) && Number.isNaN(newVal);
1296
1476
  const didValueChange = newVal !== oldVal && !areBothNaN;
1297
- if ((!(flags & 8 /* isConstructingInstance */) || oldVal === undefined) && didValueChange) {
1477
+ if ((!(flags & 8 /* HOST_FLAGS.isConstructingInstance */) || oldVal === undefined) && didValueChange) {
1298
1478
  // gadzooks! the property's value has changed!!
1299
1479
  // set our new value!
1300
1480
  hostRef.$instanceValues$.set(propName, newVal);
1301
1481
  if (instance) {
1302
1482
  // get an array of method names of watch functions to call
1303
- if (cmpMeta.$watchers$ && flags & 128 /* isWatchReady */) {
1483
+ if (cmpMeta.$watchers$ && flags & 128 /* HOST_FLAGS.isWatchReady */) {
1304
1484
  const watchMethods = cmpMeta.$watchers$[propName];
1305
1485
  if (watchMethods) {
1306
1486
  // this instance is watching for when this property changed
@@ -1315,7 +1495,7 @@ const setValue = (ref, propName, newVal, cmpMeta) => {
1315
1495
  });
1316
1496
  }
1317
1497
  }
1318
- if ((flags & (2 /* hasRendered */ | 16 /* isQueuedForUpdate */)) === 2 /* hasRendered */) {
1498
+ if ((flags & (2 /* HOST_FLAGS.hasRendered */ | 16 /* HOST_FLAGS.isQueuedForUpdate */)) === 2 /* HOST_FLAGS.hasRendered */) {
1319
1499
  // looks like this value actually changed, so we've got work to do!
1320
1500
  // but only if we've already rendered, otherwise just chill out
1321
1501
  // queue that we need to do an update, but don't worry about queuing
@@ -1334,8 +1514,8 @@ const proxyComponent = (Cstr, cmpMeta, flags) => {
1334
1514
  const members = Object.entries(cmpMeta.$members$);
1335
1515
  const prototype = Cstr.prototype;
1336
1516
  members.map(([memberName, [memberFlags]]) => {
1337
- if ((memberFlags & 31 /* Prop */ ||
1338
- ((flags & 2 /* proxyState */) && memberFlags & 32 /* State */))) {
1517
+ if ((memberFlags & 31 /* MEMBER_FLAGS.Prop */ ||
1518
+ ((flags & 2 /* PROXY_FLAGS.proxyState */) && memberFlags & 32 /* MEMBER_FLAGS.State */))) {
1339
1519
  // proxyComponent - prop
1340
1520
  Object.defineProperty(prototype, memberName, {
1341
1521
  get() {
@@ -1350,8 +1530,8 @@ const proxyComponent = (Cstr, cmpMeta, flags) => {
1350
1530
  enumerable: true,
1351
1531
  });
1352
1532
  }
1353
- else if (flags & 1 /* isElementConstructor */ &&
1354
- memberFlags & 64 /* Method */) {
1533
+ else if (flags & 1 /* PROXY_FLAGS.isElementConstructor */ &&
1534
+ memberFlags & 64 /* MEMBER_FLAGS.Method */) {
1355
1535
  // proxyComponent - method
1356
1536
  Object.defineProperty(prototype, memberName, {
1357
1537
  value(...args) {
@@ -1361,7 +1541,7 @@ const proxyComponent = (Cstr, cmpMeta, flags) => {
1361
1541
  });
1362
1542
  }
1363
1543
  });
1364
- if ((flags & 1 /* isElementConstructor */)) {
1544
+ if ((flags & 1 /* PROXY_FLAGS.isElementConstructor */)) {
1365
1545
  const attrNameToPropName = new Map();
1366
1546
  prototype.attributeChangedCallback = function (attrName, _oldValue, newValue) {
1367
1547
  plt.jmp(() => {
@@ -1417,11 +1597,11 @@ const proxyComponent = (Cstr, cmpMeta, flags) => {
1417
1597
  // create an array of attributes to observe
1418
1598
  // and also create a map of html attribute name to js property name
1419
1599
  Cstr.observedAttributes = members
1420
- .filter(([_, m]) => m[0] & 15 /* HasAttribute */) // filter to only keep props that should match attributes
1600
+ .filter(([_, m]) => m[0] & 15 /* MEMBER_FLAGS.HasAttribute */) // filter to only keep props that should match attributes
1421
1601
  .map(([propName, m]) => {
1422
1602
  const attrName = m[1] || propName;
1423
1603
  attrNameToPropName.set(attrName, propName);
1424
- if (m[0] & 512 /* ReflectAttr */) {
1604
+ if (m[0] & 512 /* MEMBER_FLAGS.ReflectAttr */) {
1425
1605
  cmpMeta.$attrsToReflect$.push([propName, attrName]);
1426
1606
  }
1427
1607
  return attrName;
@@ -1432,10 +1612,10 @@ const proxyComponent = (Cstr, cmpMeta, flags) => {
1432
1612
  };
1433
1613
  const initializeComponent = async (elm, hostRef, cmpMeta, hmrVersionId, Cstr) => {
1434
1614
  // initializeComponent
1435
- if ((hostRef.$flags$ & 32 /* hasInitializedComponent */) === 0) {
1615
+ if ((hostRef.$flags$ & 32 /* HOST_FLAGS.hasInitializedComponent */) === 0) {
1436
1616
  {
1437
1617
  // we haven't initialized this element yet
1438
- hostRef.$flags$ |= 32 /* hasInitializedComponent */;
1618
+ hostRef.$flags$ |= 32 /* HOST_FLAGS.hasInitializedComponent */;
1439
1619
  // lazy loaded components
1440
1620
  // request the component's implementation to be
1441
1621
  // wired up with the host element
@@ -1453,7 +1633,7 @@ const initializeComponent = async (elm, hostRef, cmpMeta, hmrVersionId, Cstr) =>
1453
1633
  {
1454
1634
  cmpMeta.$watchers$ = Cstr.watchers;
1455
1635
  }
1456
- proxyComponent(Cstr, cmpMeta, 2 /* proxyState */);
1636
+ proxyComponent(Cstr, cmpMeta, 2 /* PROXY_FLAGS.proxyState */);
1457
1637
  Cstr.isProxied = true;
1458
1638
  }
1459
1639
  const endNewInstance = createTime('createInstance', cmpMeta.$tagName$);
@@ -1461,7 +1641,7 @@ const initializeComponent = async (elm, hostRef, cmpMeta, hmrVersionId, Cstr) =>
1461
1641
  // but let's keep track of when we start and stop
1462
1642
  // so that the getters/setters don't incorrectly step on data
1463
1643
  {
1464
- hostRef.$flags$ |= 8 /* isConstructingInstance */;
1644
+ hostRef.$flags$ |= 8 /* HOST_FLAGS.isConstructingInstance */;
1465
1645
  }
1466
1646
  // construct the lazy-loaded component implementation
1467
1647
  // passing the hostRef is very important during
@@ -1474,10 +1654,10 @@ const initializeComponent = async (elm, hostRef, cmpMeta, hmrVersionId, Cstr) =>
1474
1654
  consoleError(e);
1475
1655
  }
1476
1656
  {
1477
- hostRef.$flags$ &= ~8 /* isConstructingInstance */;
1657
+ hostRef.$flags$ &= ~8 /* HOST_FLAGS.isConstructingInstance */;
1478
1658
  }
1479
1659
  {
1480
- hostRef.$flags$ |= 128 /* isWatchReady */;
1660
+ hostRef.$flags$ |= 128 /* HOST_FLAGS.isWatchReady */;
1481
1661
  }
1482
1662
  endNewInstance();
1483
1663
  fireConnectedCallback(hostRef.$lazyInstance$);
@@ -1488,7 +1668,7 @@ const initializeComponent = async (elm, hostRef, cmpMeta, hmrVersionId, Cstr) =>
1488
1668
  const scopeId = getScopeId(cmpMeta);
1489
1669
  if (!styles.has(scopeId)) {
1490
1670
  const endRegisterStyles = createTime('registerStyles', cmpMeta.$tagName$);
1491
- registerStyle(scopeId, style, !!(cmpMeta.$flags$ & 1 /* shadowDomEncapsulation */));
1671
+ registerStyle(scopeId, style, !!(cmpMeta.$flags$ & 1 /* CMP_FLAGS.shadowDomEncapsulation */));
1492
1672
  endRegisterStyles();
1493
1673
  }
1494
1674
  }
@@ -1515,19 +1695,19 @@ const fireConnectedCallback = (instance) => {
1515
1695
  }
1516
1696
  };
1517
1697
  const connectedCallback = (elm) => {
1518
- if ((plt.$flags$ & 1 /* isTmpDisconnected */) === 0) {
1698
+ if ((plt.$flags$ & 1 /* PLATFORM_FLAGS.isTmpDisconnected */) === 0) {
1519
1699
  const hostRef = getHostRef(elm);
1520
1700
  const cmpMeta = hostRef.$cmpMeta$;
1521
1701
  const endConnected = createTime('connectedCallback', cmpMeta.$tagName$);
1522
- if (!(hostRef.$flags$ & 1 /* hasConnected */)) {
1702
+ if (!(hostRef.$flags$ & 1 /* HOST_FLAGS.hasConnected */)) {
1523
1703
  // first time this component has connected
1524
- hostRef.$flags$ |= 1 /* hasConnected */;
1704
+ hostRef.$flags$ |= 1 /* HOST_FLAGS.hasConnected */;
1525
1705
  {
1526
1706
  // initUpdate
1527
1707
  // if the slot polyfill is required we'll need to put some nodes
1528
1708
  // in here to act as original content anchors as we move nodes around
1529
1709
  // host element has been connected to the DOM
1530
- if ((cmpMeta.$flags$ & (4 /* hasSlotRelocation */ | 8 /* needsShadowDomShim */))) {
1710
+ if ((cmpMeta.$flags$ & (4 /* CMP_FLAGS.hasSlotRelocation */ | 8 /* CMP_FLAGS.needsShadowDomShim */))) {
1531
1711
  setContentReference(elm);
1532
1712
  }
1533
1713
  }
@@ -1550,7 +1730,7 @@ const connectedCallback = (elm) => {
1550
1730
  // https://developers.google.com/web/fundamentals/web-components/best-practices#lazy-properties
1551
1731
  if (cmpMeta.$members$) {
1552
1732
  Object.entries(cmpMeta.$members$).map(([memberName, [memberFlags]]) => {
1553
- if (memberFlags & 31 /* Prop */ && elm.hasOwnProperty(memberName)) {
1733
+ if (memberFlags & 31 /* MEMBER_FLAGS.Prop */ && elm.hasOwnProperty(memberName)) {
1554
1734
  const value = elm[memberName];
1555
1735
  delete elm[memberName];
1556
1736
  elm[memberName] = value;
@@ -1584,7 +1764,7 @@ const setContentReference = (elm) => {
1584
1764
  elm.insertBefore(contentRefElm, elm.firstChild);
1585
1765
  };
1586
1766
  const disconnectedCallback = (elm) => {
1587
- if ((plt.$flags$ & 1 /* isTmpDisconnected */) === 0) {
1767
+ if ((plt.$flags$ & 1 /* PLATFORM_FLAGS.isTmpDisconnected */) === 0) {
1588
1768
  const hostRef = getHostRef(elm);
1589
1769
  const instance = hostRef.$lazyInstance$ ;
1590
1770
  {
@@ -1639,7 +1819,7 @@ const bootstrapLazy = (lazyBundles, options = {}) => {
1639
1819
  super(self);
1640
1820
  self = this;
1641
1821
  registerHost(self, cmpMeta);
1642
- if (cmpMeta.$flags$ & 1 /* shadowDomEncapsulation */) {
1822
+ if (cmpMeta.$flags$ & 1 /* CMP_FLAGS.shadowDomEncapsulation */) {
1643
1823
  // this component is using shadow dom
1644
1824
  // and this browser supports shadow dom
1645
1825
  // add the read-only property "shadowRoot" to the host element
@@ -1648,7 +1828,7 @@ const bootstrapLazy = (lazyBundles, options = {}) => {
1648
1828
  {
1649
1829
  self.attachShadow({
1650
1830
  mode: 'open',
1651
- delegatesFocus: !!(cmpMeta.$flags$ & 16 /* shadowDelegatesFocus */),
1831
+ delegatesFocus: !!(cmpMeta.$flags$ & 16 /* CMP_FLAGS.shadowDelegatesFocus */),
1652
1832
  });
1653
1833
  }
1654
1834
  }
@@ -1677,7 +1857,7 @@ const bootstrapLazy = (lazyBundles, options = {}) => {
1677
1857
  cmpMeta.$lazyBundleId$ = lazyBundle[0];
1678
1858
  if (!exclude.includes(tagName) && !customElements.get(tagName)) {
1679
1859
  cmpTags.push(tagName);
1680
- customElements.define(tagName, proxyComponent(HostElement, cmpMeta, 1 /* isElementConstructor */));
1860
+ customElements.define(tagName, proxyComponent(HostElement, cmpMeta, 1 /* PROXY_FLAGS.isElementConstructor */));
1681
1861
  }
1682
1862
  });
1683
1863
  });
@@ -1703,7 +1883,7 @@ const getAssetPath = (path) => {
1703
1883
  const assetUrl = new URL(path, plt.$resourcesUrl$);
1704
1884
  return assetUrl.origin !== win.location.origin ? assetUrl.href : assetUrl.pathname;
1705
1885
  };
1706
- const hostRefs = new WeakMap();
1886
+ const hostRefs = /*@__PURE__*/ new WeakMap();
1707
1887
  const getHostRef = (ref) => hostRefs.get(ref);
1708
1888
  const registerInstance = (lazyInstance, hostRef) => hostRefs.set((hostRef.$lazyInstance$ = lazyInstance), hostRef);
1709
1889
  const registerHost = (elm, cmpMeta) => {
@@ -2253,14 +2433,14 @@ const loadModule = (cmpMeta, hostRef, hmrVersionId) => {
2253
2433
  return importedModule[exportName];
2254
2434
  }, consoleError);
2255
2435
  };
2256
- const styles = new Map();
2436
+ const styles = /*@__PURE__*/ new Map();
2257
2437
  const queueDomReads = [];
2258
2438
  const queueDomWrites = [];
2259
2439
  const queueTask = (queue, write) => (cb) => {
2260
2440
  queue.push(cb);
2261
2441
  if (!queuePending) {
2262
2442
  queuePending = true;
2263
- if (write && plt.$flags$ & 4 /* queueSync */) {
2443
+ if (write && plt.$flags$ & 4 /* PLATFORM_FLAGS.queueSync */) {
2264
2444
  nextTick(flush);
2265
2445
  }
2266
2446
  else {