genesys-spark-components 3.30.0 → 3.31.1

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 (571) hide show
  1. package/CHANGELOG.md +18 -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-3e54419a.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-ac0eb048.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-db416066.entry.js → p-038ea6d9.entry.js} +1 -1
  421. package/dist/genesys-webcomponents/{p-e05b0da9.entry.js → p-04a17f14.entry.js} +1 -1
  422. package/dist/genesys-webcomponents/{p-e141df2a.entry.js → p-04cdd0ae.entry.js} +1 -1
  423. package/dist/genesys-webcomponents/{p-ebc5b52b.entry.js → p-05be3200.entry.js} +1 -1
  424. package/dist/genesys-webcomponents/{p-625f19b6.js → p-061af639.js} +1 -1
  425. package/dist/genesys-webcomponents/{p-b69f38b8.entry.js → p-0672347e.entry.js} +1 -1
  426. package/dist/genesys-webcomponents/{p-9be4eded.entry.js → p-072069d4.entry.js} +1 -1
  427. package/dist/genesys-webcomponents/{p-813cb992.entry.js → p-09c1d108.entry.js} +1 -1
  428. package/dist/genesys-webcomponents/{p-3925fad5.entry.js → p-0aaec73f.entry.js} +1 -1
  429. package/dist/genesys-webcomponents/p-0c1c42c6.entry.js +1 -0
  430. package/dist/genesys-webcomponents/p-0d427145.entry.js +1 -0
  431. package/dist/genesys-webcomponents/{p-f8c8d648.entry.js → p-0d719bea.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-f3ddde8f.entry.js → p-12cdeac5.entry.js} +1 -1
  434. package/dist/genesys-webcomponents/{p-9e02562b.entry.js → p-19016dbb.entry.js} +1 -1
  435. package/dist/genesys-webcomponents/{p-5ca20d69.entry.js → p-1d748ad2.entry.js} +1 -1
  436. package/dist/genesys-webcomponents/{p-25ea189a.entry.js → p-1fa5e36d.entry.js} +1 -1
  437. package/dist/genesys-webcomponents/{p-cf517e22.entry.js → p-20d43a16.entry.js} +1 -1
  438. package/dist/genesys-webcomponents/{p-31c82b14.entry.js → p-2305358a.entry.js} +1 -1
  439. package/dist/genesys-webcomponents/p-239588a3.entry.js +1 -0
  440. package/dist/genesys-webcomponents/{p-100ac561.entry.js → p-244b8bbb.entry.js} +1 -1
  441. package/dist/genesys-webcomponents/{p-b7b2833c.entry.js → p-248ff744.entry.js} +1 -1
  442. package/dist/genesys-webcomponents/{p-17f60003.entry.js → p-272719d2.entry.js} +1 -1
  443. package/dist/genesys-webcomponents/{p-1a1ac578.entry.js → p-274cd883.entry.js} +1 -1
  444. package/dist/genesys-webcomponents/p-283d0f6c.entry.js +1 -0
  445. package/dist/genesys-webcomponents/{p-30a98c8d.entry.js → p-34f5a485.entry.js} +1 -1
  446. package/dist/genesys-webcomponents/{p-398a26d4.entry.js → p-3759f654.entry.js} +1 -1
  447. package/dist/genesys-webcomponents/{p-383295a1.entry.js → p-3802f75e.entry.js} +1 -1
  448. package/dist/genesys-webcomponents/p-395d5813.entry.js +1 -0
  449. package/dist/genesys-webcomponents/{p-74b510cb.js → p-39a696d6.js} +0 -0
  450. package/dist/genesys-webcomponents/{p-7602faf4.entry.js → p-3a3d36c1.entry.js} +1 -1
  451. package/dist/genesys-webcomponents/{p-f2541b39.entry.js → p-3b3750fd.entry.js} +1 -1
  452. package/dist/genesys-webcomponents/{p-f322cf80.entry.js → p-3cee3c32.entry.js} +1 -1
  453. package/dist/genesys-webcomponents/{p-586ed893.entry.js → p-3d5bc6db.entry.js} +1 -1
  454. package/dist/genesys-webcomponents/{p-37eb7c8e.entry.js → p-41f05a68.entry.js} +1 -1
  455. package/dist/genesys-webcomponents/{p-841af57f.entry.js → p-42133364.entry.js} +1 -1
  456. package/dist/genesys-webcomponents/{p-3d934438.entry.js → p-43ce2b16.entry.js} +1 -1
  457. package/dist/genesys-webcomponents/{p-2a4ec113.entry.js → p-457b2542.entry.js} +1 -1
  458. package/dist/genesys-webcomponents/{p-0f4df601.entry.js → p-4686e106.entry.js} +1 -1
  459. package/dist/genesys-webcomponents/{p-defdb6b9.js → p-49a06d0c.js} +1 -1
  460. package/dist/genesys-webcomponents/{p-af89dfe0.entry.js → p-4a3da574.entry.js} +1 -1
  461. package/dist/genesys-webcomponents/{p-67c279a8.entry.js → p-4e5ddaab.entry.js} +1 -1
  462. package/dist/genesys-webcomponents/{p-ff0d864f.entry.js → p-52c1d841.entry.js} +1 -1
  463. package/dist/genesys-webcomponents/{p-5dc2aad1.entry.js → p-5333c802.entry.js} +1 -1
  464. package/dist/genesys-webcomponents/{p-c57dc224.entry.js → p-553fd4e4.entry.js} +1 -1
  465. package/dist/genesys-webcomponents/{p-89dfb302.entry.js → p-58195df2.entry.js} +1 -1
  466. package/dist/genesys-webcomponents/{p-f1b8c02a.entry.js → p-591a2af3.entry.js} +1 -1
  467. package/dist/genesys-webcomponents/{p-bfa4d7b0.entry.js → p-5ca53abd.entry.js} +1 -1
  468. package/dist/genesys-webcomponents/{p-62ef624d.entry.js → p-5d08bb94.entry.js} +1 -1
  469. package/dist/genesys-webcomponents/p-5d8ecf51.entry.js +1 -0
  470. package/dist/genesys-webcomponents/{p-03ff2482.entry.js → p-5dfaa425.entry.js} +1 -1
  471. package/dist/genesys-webcomponents/{p-be2f6031.entry.js → p-5e0a36fa.entry.js} +1 -1
  472. package/dist/genesys-webcomponents/{p-d9172b8a.entry.js → p-5f54b0c8.entry.js} +1 -1
  473. package/dist/genesys-webcomponents/{p-4126e464.entry.js → p-5fa79fed.entry.js} +1 -1
  474. package/dist/genesys-webcomponents/{p-9a353956.entry.js → p-6028c32a.entry.js} +1 -1
  475. package/dist/genesys-webcomponents/{p-9c7d20f3.entry.js → p-61042f2f.entry.js} +1 -1
  476. package/dist/genesys-webcomponents/{p-d11e6787.entry.js → p-617c216c.entry.js} +1 -1
  477. package/dist/genesys-webcomponents/{p-dbf7b898.entry.js → p-6182d1d7.entry.js} +1 -1
  478. package/dist/genesys-webcomponents/{p-da26004d.entry.js → p-6239c681.entry.js} +1 -1
  479. package/dist/genesys-webcomponents/{p-913ba6ea.entry.js → p-62ac2e4f.entry.js} +1 -1
  480. package/dist/genesys-webcomponents/p-62cf5081.entry.js +1 -0
  481. package/dist/genesys-webcomponents/{p-003399e8.entry.js → p-6374ad01.entry.js} +1 -1
  482. package/dist/genesys-webcomponents/{p-acbd8ea1.entry.js → p-692ea8bd.entry.js} +1 -1
  483. package/dist/genesys-webcomponents/{p-4a78f67d.entry.js → p-717bf68c.entry.js} +1 -1
  484. package/dist/genesys-webcomponents/{p-5f11236d.entry.js → p-779e6af4.entry.js} +1 -1
  485. package/dist/genesys-webcomponents/{p-40433687.entry.js → p-78a24a7d.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-741eb0a1.entry.js → p-7c6d5e4f.entry.js} +1 -1
  488. package/dist/genesys-webcomponents/p-7d85e2f1.entry.js +1 -0
  489. package/dist/genesys-webcomponents/{p-8963c4cb.entry.js → p-7ee4570d.entry.js} +1 -1
  490. package/dist/genesys-webcomponents/{p-b6d7f014.entry.js → p-80860bf5.entry.js} +1 -1
  491. package/dist/genesys-webcomponents/{p-b36e02ef.entry.js → p-8171bff6.entry.js} +1 -1
  492. package/dist/genesys-webcomponents/{p-9b4f20af.entry.js → p-82c8e9ed.entry.js} +1 -1
  493. package/dist/genesys-webcomponents/p-82eb8b00.js +1 -0
  494. package/dist/genesys-webcomponents/{p-bf0b1b8d.entry.js → p-84b3420b.entry.js} +1 -1
  495. package/dist/genesys-webcomponents/{p-1ac910f8.entry.js → p-8b7c48ed.entry.js} +1 -1
  496. package/dist/genesys-webcomponents/{p-0e8ad0ab.entry.js → p-90eb1227.entry.js} +1 -1
  497. package/dist/genesys-webcomponents/{p-4c52f819.entry.js → p-92f61f75.entry.js} +1 -1
  498. package/dist/genesys-webcomponents/{p-fcc96193.entry.js → p-940e5dec.entry.js} +1 -1
  499. package/dist/genesys-webcomponents/{p-dd38b278.entry.js → p-966050f2.entry.js} +1 -1
  500. package/dist/genesys-webcomponents/{p-9e166d9e.entry.js → p-974435da.entry.js} +1 -1
  501. package/dist/genesys-webcomponents/{p-08b4611d.js → p-9876f432.js} +1 -1
  502. package/dist/genesys-webcomponents/{p-293bf77d.entry.js → p-98d6159b.entry.js} +1 -1
  503. package/dist/genesys-webcomponents/{p-cdb2e81e.entry.js → p-9f0e0e61.entry.js} +1 -1
  504. package/dist/genesys-webcomponents/{p-d8f19b6e.entry.js → p-a010db45.entry.js} +1 -1
  505. package/dist/genesys-webcomponents/{p-75a477c5.entry.js → p-a2cdec85.entry.js} +1 -1
  506. package/dist/genesys-webcomponents/{p-93b949d2.entry.js → p-a5b67e24.entry.js} +1 -1
  507. package/dist/genesys-webcomponents/{p-df98316c.entry.js → p-a6b32838.entry.js} +1 -1
  508. package/dist/genesys-webcomponents/{p-2f36b876.entry.js → p-a6f8eae7.entry.js} +1 -1
  509. package/dist/genesys-webcomponents/{p-bd8955b3.entry.js → p-abb7ba99.entry.js} +1 -1
  510. package/dist/genesys-webcomponents/{p-cbc37021.entry.js → p-aee0cc29.entry.js} +1 -1
  511. package/dist/genesys-webcomponents/{p-441ce8d7.entry.js → p-b1a57c7c.entry.js} +1 -1
  512. package/dist/genesys-webcomponents/{p-f67f7d96.entry.js → p-b38cbec4.entry.js} +1 -1
  513. package/dist/genesys-webcomponents/{p-ce9546e7.entry.js → p-b937042c.entry.js} +1 -1
  514. package/dist/genesys-webcomponents/{p-cd847a4e.entry.js → p-bd57705b.entry.js} +1 -1
  515. package/dist/genesys-webcomponents/{p-4c10a897.entry.js → p-be356414.entry.js} +1 -1
  516. package/dist/genesys-webcomponents/{p-41d6a277.entry.js → p-c2707b24.entry.js} +1 -1
  517. package/dist/genesys-webcomponents/p-c27eec66.entry.js +1 -0
  518. package/dist/genesys-webcomponents/{p-29aa611a.entry.js → p-c4db41b6.entry.js} +1 -1
  519. package/dist/genesys-webcomponents/{p-3742fd1f.entry.js → p-c6dcb03d.entry.js} +1 -1
  520. package/dist/genesys-webcomponents/{p-d04ba776.entry.js → p-c824d337.entry.js} +1 -1
  521. package/dist/genesys-webcomponents/{p-1c9dfc78.js → p-c894d516.js} +1 -1
  522. package/dist/genesys-webcomponents/{p-2260e9c1.entry.js → p-cc60367a.entry.js} +1 -1
  523. package/dist/genesys-webcomponents/p-cd3e959c.entry.js +1 -0
  524. package/dist/genesys-webcomponents/{p-924184cc.entry.js → p-ce11e7e7.entry.js} +1 -1
  525. package/dist/genesys-webcomponents/{p-478ad2ef.entry.js → p-d01b852c.entry.js} +1 -1
  526. package/dist/genesys-webcomponents/{p-6e4bb6a7.js → p-d0e9852a.js} +1 -1
  527. package/dist/genesys-webcomponents/{p-1b89118e.entry.js → p-d15a7df6.entry.js} +1 -1
  528. package/dist/genesys-webcomponents/{p-d30184ce.entry.js → p-d39ecb34.entry.js} +1 -1
  529. package/dist/genesys-webcomponents/{p-1483627b.entry.js → p-d47c8f4b.entry.js} +1 -1
  530. package/dist/genesys-webcomponents/{p-8caf2514.js → p-d57c937c.js} +1 -1
  531. package/dist/genesys-webcomponents/p-d6c5f7bc.entry.js +1 -0
  532. package/dist/genesys-webcomponents/{p-2fefb4aa.entry.js → p-d835d4a3.entry.js} +1 -1
  533. package/dist/genesys-webcomponents/{p-acd2fa20.js → p-d915144d.js} +1 -1
  534. package/dist/genesys-webcomponents/{p-3b2105aa.entry.js → p-da36b59f.entry.js} +1 -1
  535. package/dist/genesys-webcomponents/{p-54cc96aa.entry.js → p-dbe72553.entry.js} +1 -1
  536. package/dist/genesys-webcomponents/{p-ed274751.entry.js → p-dc446774.entry.js} +1 -1
  537. package/dist/genesys-webcomponents/{p-f7c7b39e.entry.js → p-dc69bc15.entry.js} +1 -1
  538. package/dist/genesys-webcomponents/{p-5cb24f27.entry.js → p-df2018c4.entry.js} +1 -1
  539. package/dist/genesys-webcomponents/{p-a623a639.entry.js → p-df9952e2.entry.js} +1 -1
  540. package/dist/genesys-webcomponents/p-eb2b1d67.entry.js +1 -0
  541. package/dist/genesys-webcomponents/{p-2f3bcc18.entry.js → p-ec4315f7.entry.js} +1 -1
  542. package/dist/genesys-webcomponents/{p-cc5c4d63.entry.js → p-ed220ff7.entry.js} +1 -1
  543. package/dist/genesys-webcomponents/{p-17ff41a2.entry.js → p-ef5348a2.entry.js} +1 -1
  544. package/dist/genesys-webcomponents/{p-cd138279.entry.js → p-f08cf24e.entry.js} +1 -1
  545. package/dist/genesys-webcomponents/{p-59baee6a.entry.js → p-f0dc4244.entry.js} +1 -1
  546. package/dist/genesys-webcomponents/{p-87526488.entry.js → p-f3315768.entry.js} +1 -1
  547. package/dist/genesys-webcomponents/{p-7f83787d.entry.js → p-f53a8a84.entry.js} +1 -1
  548. package/dist/genesys-webcomponents/{p-10d43316.entry.js → p-f9530f89.entry.js} +1 -1
  549. package/dist/genesys-webcomponents/{p-d88efa01.entry.js → p-fc2c7fe0.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-38439a3a.entry.js → p-ff5f76be.entry.js} +1 -1
  552. package/dist/genesys-webcomponents/{p-0db98d93.entry.js → p-ffb1c304.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-9d08314b.entry.js +0 -1
  567. package/dist/genesys-webcomponents/p-a994bec5.entry.js +0 -1
  568. package/dist/genesys-webcomponents/p-b58cc6b4.entry.js +0 -1
  569. package/dist/genesys-webcomponents/p-c324299b.entry.js +0 -1
  570. package/dist/genesys-webcomponents/p-d93f3a20.entry.js +0 -1
  571. package/dist/genesys-webcomponents/p-e3c80187.js +0 -1
@@ -65,7 +65,7 @@ const addHostEventListeners = (elm, hostRef, listeners, attachParentListeners) =
65
65
  const hostListenerProxy = (hostRef, methodName) => (ev) => {
66
66
  try {
67
67
  {
68
- if (hostRef.$flags$ & 256 /* isListenReady */) {
68
+ if (hostRef.$flags$ & 256 /* HOST_FLAGS.isListenReady */) {
69
69
  // instance is ready, let's call it's member method for this event
70
70
  hostRef.$lazyInstance$[methodName](ev);
71
71
  }
@@ -79,12 +79,12 @@ const hostListenerProxy = (hostRef, methodName) => (ev) => {
79
79
  }
80
80
  };
81
81
  const getHostListenerTarget = (elm, flags) => {
82
- if (flags & 8 /* TargetWindow */)
82
+ if (flags & 8 /* LISTENER_FLAGS.TargetWindow */)
83
83
  return win;
84
84
  return elm;
85
85
  };
86
86
  // prettier-ignore
87
- const hostListenerOpts = (flags) => (flags & 2 /* Capture */) !== 0;
87
+ const hostListenerOpts = (flags) => (flags & 2 /* LISTENER_FLAGS.Capture */) !== 0;
88
88
  const HYDRATED_CSS = '{visibility:hidden}[hydrated]{visibility:inherit}';
89
89
  const createTime = (fnName, tagName = '') => {
90
90
  {
@@ -100,7 +100,7 @@ const uniqueTime = (key, measureText) => {
100
100
  };
101
101
  }
102
102
  };
103
- const rootAppliedStyles = new WeakMap();
103
+ const rootAppliedStyles = /*@__PURE__*/ new WeakMap();
104
104
  const registerStyle = (scopeId, cssText, allowCS) => {
105
105
  let style = styles.get(scopeId);
106
106
  if (supportsConstructableStylesheets && allowCS) {
@@ -122,7 +122,7 @@ const addStyle = (styleContainerNode, cmpMeta, mode, hostElm) => {
122
122
  const style = styles.get(scopeId);
123
123
  // if an element is NOT connected then getRootNode() will return the wrong root node
124
124
  // so the fallback is to always use the document for the root node in those cases
125
- styleContainerNode = styleContainerNode.nodeType === 11 /* DocumentFragment */ ? styleContainerNode : doc;
125
+ styleContainerNode = styleContainerNode.nodeType === 11 /* NODE_TYPE.DocumentFragment */ ? styleContainerNode : doc;
126
126
  if (style) {
127
127
  if (typeof style === 'string') {
128
128
  styleContainerNode = styleContainerNode.head || styleContainerNode;
@@ -156,7 +156,7 @@ const attachStyles = (hostRef) => {
156
156
  const flags = cmpMeta.$flags$;
157
157
  const endAttachStyles = createTime('attachStyles', cmpMeta.$tagName$);
158
158
  const scopeId = addStyle(elm.shadowRoot ? elm.shadowRoot : elm.getRootNode(), cmpMeta);
159
- if (flags & 10 /* needsScopedEncapsulation */) {
159
+ if (flags & 10 /* CMP_FLAGS.needsScopedEncapsulation */) {
160
160
  // only required when we're NOT using native shadow dom (slot)
161
161
  // or this browser doesn't support native shadow dom
162
162
  // and this host element was NOT created with SSR
@@ -437,7 +437,7 @@ const setAccessor = (elm, memberName, oldValue, newValue, isSvg, flags) => {
437
437
  }
438
438
  }
439
439
  }
440
- else if ((!isProp || flags & 4 /* isHost */ || isSvg) && !isComplex) {
440
+ else if ((!isProp || flags & 4 /* VNODE_FLAGS.isHost */ || isSvg) && !isComplex) {
441
441
  newValue = newValue === true ? '' : newValue;
442
442
  {
443
443
  elm.setAttribute(memberName, newValue);
@@ -452,7 +452,7 @@ const updateElement = (oldVnode, newVnode, isSvgMode, memberName) => {
452
452
  // if the element passed in is a shadow root, which is a document fragment
453
453
  // then we want to be adding attrs/props to the shadow root's "host" element
454
454
  // if it's not a shadow root, then we add attrs/props to the same element
455
- const elm = newVnode.$elm$.nodeType === 11 /* DocumentFragment */ && newVnode.$elm$.host
455
+ const elm = newVnode.$elm$.nodeType === 11 /* NODE_TYPE.DocumentFragment */ && newVnode.$elm$.host
456
456
  ? newVnode.$elm$.host
457
457
  : newVnode.$elm$;
458
458
  const oldVnodeAttrs = (oldVnode && oldVnode.$attrs$) || EMPTY_OBJ;
@@ -470,6 +470,16 @@ const updateElement = (oldVnode, newVnode, isSvgMode, memberName) => {
470
470
  setAccessor(elm, memberName, oldVnodeAttrs[memberName], newVnodeAttrs[memberName], isSvgMode, newVnode.$flags$);
471
471
  }
472
472
  };
473
+ /**
474
+ * Create a DOM Node corresponding to one of the children of a given VNode.
475
+ *
476
+ * @param oldParentVNode the parent VNode from the previous render
477
+ * @param newParentVNode the parent VNode from the current render
478
+ * @param childIndex the index of the VNode, in the _new_ parent node's
479
+ * children, for which we will create a new DOM node
480
+ * @param parentElm the parent DOM node which our new node will be a child of
481
+ * @returns the newly created node
482
+ */
473
483
  const createElm = (oldParentVNode, newParentVNode, childIndex, parentElm) => {
474
484
  // tslint:disable-next-line: prefer-const
475
485
  const newVNode = newParentVNode.$children$[childIndex];
@@ -487,16 +497,16 @@ const createElm = (oldParentVNode, newParentVNode, childIndex, parentElm) => {
487
497
  }
488
498
  newVNode.$flags$ |= newVNode.$children$
489
499
  ? // slot element has fallback content
490
- 2 /* isSlotFallback */
500
+ 2 /* VNODE_FLAGS.isSlotFallback */
491
501
  : // slot element does not have fallback content
492
- 1 /* isSlotReference */;
502
+ 1 /* VNODE_FLAGS.isSlotReference */;
493
503
  }
494
504
  }
495
505
  if (newVNode.$text$ !== null) {
496
506
  // create text node
497
507
  elm = newVNode.$elm$ = doc.createTextNode(newVNode.$text$);
498
508
  }
499
- else if (newVNode.$flags$ & 1 /* isSlotReference */) {
509
+ else if (newVNode.$flags$ & 1 /* VNODE_FLAGS.isSlotReference */) {
500
510
  // create a slot reference node
501
511
  elm = newVNode.$elm$ =
502
512
  doc.createTextNode('');
@@ -506,7 +516,7 @@ const createElm = (oldParentVNode, newParentVNode, childIndex, parentElm) => {
506
516
  isSvgMode = newVNode.$tag$ === 'svg';
507
517
  }
508
518
  // create element
509
- elm = newVNode.$elm$ = (doc.createElementNS(isSvgMode ? SVG_NS : HTML_NS, newVNode.$flags$ & 2 /* isSlotFallback */
519
+ elm = newVNode.$elm$ = (doc.createElementNS(isSvgMode ? SVG_NS : HTML_NS, newVNode.$flags$ & 2 /* VNODE_FLAGS.isSlotFallback */
510
520
  ? 'slot-fb'
511
521
  : newVNode.$tag$)
512
522
  );
@@ -546,7 +556,7 @@ const createElm = (oldParentVNode, newParentVNode, childIndex, parentElm) => {
546
556
  }
547
557
  {
548
558
  elm['s-hn'] = hostTagName;
549
- if (newVNode.$flags$ & (2 /* isSlotFallback */ | 1 /* isSlotReference */)) {
559
+ if (newVNode.$flags$ & (2 /* VNODE_FLAGS.isSlotFallback */ | 1 /* VNODE_FLAGS.isSlotReference */)) {
550
560
  // remember the content reference comment
551
561
  elm['s-sr'] = true;
552
562
  // remember the content reference comment
@@ -565,7 +575,7 @@ const createElm = (oldParentVNode, newParentVNode, childIndex, parentElm) => {
565
575
  return elm;
566
576
  };
567
577
  const putBackInOriginalLocation = (parentElm, recursive) => {
568
- plt.$flags$ |= 1 /* isTmpDisconnected */;
578
+ plt.$flags$ |= 1 /* PLATFORM_FLAGS.isTmpDisconnected */;
569
579
  const oldSlotChildNodes = parentElm.childNodes;
570
580
  for (let i = oldSlotChildNodes.length - 1; i >= 0; i--) {
571
581
  const childNode = oldSlotChildNodes[i];
@@ -586,7 +596,7 @@ const putBackInOriginalLocation = (parentElm, recursive) => {
586
596
  putBackInOriginalLocation(childNode, recursive);
587
597
  }
588
598
  }
589
- plt.$flags$ &= ~1 /* isTmpDisconnected */;
599
+ plt.$flags$ &= ~1 /* PLATFORM_FLAGS.isTmpDisconnected */;
590
600
  };
591
601
  const addVnodes = (parentElm, before, parentVNode, vnodes, startIdx, endIdx) => {
592
602
  let containerElm = ((parentElm['s-cr'] && parentElm['s-cr'].parentNode) || parentElm);
@@ -628,6 +638,74 @@ const removeVnodes = (vnodes, startIdx, endIdx, vnode, elm) => {
628
638
  }
629
639
  }
630
640
  };
641
+ /**
642
+ * Reconcile the children of a new VNode with the children of an old VNode by
643
+ * traversing the two collections of children, identifying nodes that are
644
+ * conserved or changed, calling out to `patch` to make any necessary
645
+ * updates to the DOM, and rearranging DOM nodes as needed.
646
+ *
647
+ * The algorithm for reconciling children works by analyzing two 'windows' onto
648
+ * the two arrays of children (`oldCh` and `newCh`). We keep track of the
649
+ * 'windows' by storing start and end indices and references to the
650
+ * corresponding array entries. Initially the two 'windows' are basically equal
651
+ * to the entire array, but we progressively narrow the windows until there are
652
+ * no children left to update by doing the following:
653
+ *
654
+ * 1. Skip any `null` entries at the beginning or end of the two arrays, so
655
+ * that if we have an initial array like the following we'll end up dealing
656
+ * only with a window bounded by the highlighted elements:
657
+ *
658
+ * [null, null, VNode1 , ... , VNode2, null, null]
659
+ * ^^^^^^ ^^^^^^
660
+ *
661
+ * 2. Check to see if the elements at the head and tail positions are equal
662
+ * across the windows. This will basically detect elements which haven't
663
+ * been added, removed, or changed position, i.e. if you had the following
664
+ * VNode elements (represented as HTML):
665
+ *
666
+ * oldVNode: `<div><p><span>HEY</span></p></div>`
667
+ * newVNode: `<div><p><span>THERE</span></p></div>`
668
+ *
669
+ * Then when comparing the children of the `<div>` tag we check the equality
670
+ * of the VNodes corresponding to the `<p>` tags and, since they are the
671
+ * same tag in the same position, we'd be able to avoid completely
672
+ * re-rendering the subtree under them with a new DOM element and would just
673
+ * call out to `patch` to handle reconciling their children and so on.
674
+ *
675
+ * 3. Check, for both windows, to see if the element at the beginning of the
676
+ * window corresponds to the element at the end of the other window. This is
677
+ * a heuristic which will let us identify _some_ situations in which
678
+ * elements have changed position, for instance it _should_ detect that the
679
+ * children nodes themselves have not changed but merely moved in the
680
+ * following example:
681
+ *
682
+ * oldVNode: `<div><element-one /><element-two /></div>`
683
+ * newVNode: `<div><element-two /><element-one /></div>`
684
+ *
685
+ * If we find cases like this then we also need to move the concrete DOM
686
+ * elements corresponding to the moved children to write the re-order to the
687
+ * DOM.
688
+ *
689
+ * 4. Finally, if VNodes have the `key` attribute set on them we check for any
690
+ * nodes in the old children which have the same key as the first element in
691
+ * our window on the new children. If we find such a node we handle calling
692
+ * out to `patch`, moving relevant DOM nodes, and so on, in accordance with
693
+ * what we find.
694
+ *
695
+ * Finally, once we've narrowed our 'windows' to the point that either of them
696
+ * collapse (i.e. they have length 0) we then handle any remaining VNode
697
+ * insertion or deletion that needs to happen to get a DOM state that correctly
698
+ * reflects the new child VNodes. If, for instance, after our window on the old
699
+ * children has collapsed we still have more nodes on the new children that
700
+ * we haven't dealt with yet then we need to add them, or if the new children
701
+ * collapse but we still have unhandled _old_ children then we need to make
702
+ * sure the corresponding DOM nodes are removed.
703
+ *
704
+ * @param parentElm the node into which the parent VNode is rendered
705
+ * @param oldCh the old children of the parent node
706
+ * @param newVNode the new VNode which will replace the parent
707
+ * @param newCh the new children of the parent node
708
+ */
631
709
  const updateChildren = (parentElm, oldCh, newVNode, newCh) => {
632
710
  let oldStartIdx = 0;
633
711
  let newStartIdx = 0;
@@ -643,7 +721,7 @@ const updateChildren = (parentElm, oldCh, newVNode, newCh) => {
643
721
  let elmToMove;
644
722
  while (oldStartIdx <= oldEndIdx && newStartIdx <= newEndIdx) {
645
723
  if (oldStartVnode == null) {
646
- // Vnode might have been moved left
724
+ // VNode might have been moved left
647
725
  oldStartVnode = oldCh[++oldStartIdx];
648
726
  }
649
727
  else if (oldEndVnode == null) {
@@ -656,37 +734,100 @@ const updateChildren = (parentElm, oldCh, newVNode, newCh) => {
656
734
  newEndVnode = newCh[--newEndIdx];
657
735
  }
658
736
  else if (isSameVnode(oldStartVnode, newStartVnode)) {
737
+ // if the start nodes are the same then we should patch the new VNode
738
+ // onto the old one, and increment our `newStartIdx` and `oldStartIdx`
739
+ // indices to reflect that. We don't need to move any DOM Nodes around
740
+ // since things are matched up in order.
659
741
  patch(oldStartVnode, newStartVnode);
660
742
  oldStartVnode = oldCh[++oldStartIdx];
661
743
  newStartVnode = newCh[++newStartIdx];
662
744
  }
663
745
  else if (isSameVnode(oldEndVnode, newEndVnode)) {
746
+ // likewise, if the end nodes are the same we patch new onto old and
747
+ // decrement our end indices, and also likewise in this case we don't
748
+ // need to move any DOM Nodes.
664
749
  patch(oldEndVnode, newEndVnode);
665
750
  oldEndVnode = oldCh[--oldEndIdx];
666
751
  newEndVnode = newCh[--newEndIdx];
667
752
  }
668
753
  else if (isSameVnode(oldStartVnode, newEndVnode)) {
669
- // Vnode moved right
754
+ // case: "Vnode moved right"
755
+ //
756
+ // We've found that the last node in our window on the new children is
757
+ // the same VNode as the _first_ node in our window on the old children
758
+ // we're dealing with now. Visually, this is the layout of these two
759
+ // nodes:
760
+ //
761
+ // newCh: [..., newStartVnode , ... , newEndVnode , ...]
762
+ // ^^^^^^^^^^^
763
+ // oldCh: [..., oldStartVnode , ... , oldEndVnode , ...]
764
+ // ^^^^^^^^^^^^^
765
+ //
766
+ // In this situation we need to patch `newEndVnode` onto `oldStartVnode`
767
+ // and move the DOM element for `oldStartVnode`.
670
768
  if ((oldStartVnode.$tag$ === 'slot' || newEndVnode.$tag$ === 'slot')) {
671
769
  putBackInOriginalLocation(oldStartVnode.$elm$.parentNode, false);
672
770
  }
673
771
  patch(oldStartVnode, newEndVnode);
772
+ // We need to move the element for `oldStartVnode` into a position which
773
+ // will be appropriate for `newEndVnode`. For this we can use
774
+ // `.insertBefore` and `oldEndVnode.$elm$.nextSibling`. If there is a
775
+ // sibling for `oldEndVnode.$elm$` then we want to move the DOM node for
776
+ // `oldStartVnode` between `oldEndVnode` and it's sibling, like so:
777
+ //
778
+ // <old-start-node />
779
+ // <some-intervening-node />
780
+ // <old-end-node />
781
+ // <!-- -> <-- `oldStartVnode.$elm$` should be inserted here
782
+ // <next-sibling />
783
+ //
784
+ // If instead `oldEndVnode.$elm$` has no sibling then we just want to put
785
+ // the node for `oldStartVnode` at the end of the children of
786
+ // `parentElm`. Luckily, `Node.nextSibling` will return `null` if there
787
+ // aren't any siblings, and passing `null` to `Node.insertBefore` will
788
+ // append it to the children of the parent element.
674
789
  parentElm.insertBefore(oldStartVnode.$elm$, oldEndVnode.$elm$.nextSibling);
675
790
  oldStartVnode = oldCh[++oldStartIdx];
676
791
  newEndVnode = newCh[--newEndIdx];
677
792
  }
678
793
  else if (isSameVnode(oldEndVnode, newStartVnode)) {
679
- // Vnode moved left
794
+ // case: "Vnode moved left"
795
+ //
796
+ // We've found that the first node in our window on the new children is
797
+ // the same VNode as the _last_ node in our window on the old children.
798
+ // Visually, this is the layout of these two nodes:
799
+ //
800
+ // newCh: [..., newStartVnode , ... , newEndVnode , ...]
801
+ // ^^^^^^^^^^^^^
802
+ // oldCh: [..., oldStartVnode , ... , oldEndVnode , ...]
803
+ // ^^^^^^^^^^^
804
+ //
805
+ // In this situation we need to patch `newStartVnode` onto `oldEndVnode`
806
+ // (which will handle updating any changed attributes, reconciling their
807
+ // children etc) but we also need to move the DOM node to which
808
+ // `oldEndVnode` corresponds.
680
809
  if ((oldStartVnode.$tag$ === 'slot' || newEndVnode.$tag$ === 'slot')) {
681
810
  putBackInOriginalLocation(oldEndVnode.$elm$.parentNode, false);
682
811
  }
683
812
  patch(oldEndVnode, newStartVnode);
813
+ // We've already checked above if `oldStartVnode` and `newStartVnode` are
814
+ // the same node, so since we're here we know that they are not. Thus we
815
+ // can move the element for `oldEndVnode` _before_ the element for
816
+ // `oldStartVnode`, leaving `oldStartVnode` to be reconciled in the
817
+ // future.
684
818
  parentElm.insertBefore(oldEndVnode.$elm$, oldStartVnode.$elm$);
685
819
  oldEndVnode = oldCh[--oldEndIdx];
686
820
  newStartVnode = newCh[++newStartIdx];
687
821
  }
688
822
  else {
689
- // createKeyToOldIdx
823
+ // Here we do some checks to match up old and new nodes based on the
824
+ // `$key$` attribute, which is set by putting a `key="my-key"` attribute
825
+ // in the JSX for a DOM element in the implementation of a Stencil
826
+ // component.
827
+ //
828
+ // First we check to see if there are any nodes in the array of old
829
+ // children which have the same key as the first node in the new
830
+ // children.
690
831
  idxInOld = -1;
691
832
  {
692
833
  for (i = oldStartIdx; i <= oldEndIdx; ++i) {
@@ -697,23 +838,32 @@ const updateChildren = (parentElm, oldCh, newVNode, newCh) => {
697
838
  }
698
839
  }
699
840
  if (idxInOld >= 0) {
841
+ // We found a node in the old children which matches up with the first
842
+ // node in the new children! So let's deal with that
700
843
  elmToMove = oldCh[idxInOld];
701
844
  if (elmToMove.$tag$ !== newStartVnode.$tag$) {
845
+ // the tag doesn't match so we'll need a new DOM element
702
846
  node = createElm(oldCh && oldCh[newStartIdx], newVNode, idxInOld, parentElm);
703
847
  }
704
848
  else {
705
849
  patch(elmToMove, newStartVnode);
850
+ // invalidate the matching old node so that we won't try to update it
851
+ // again later on
706
852
  oldCh[idxInOld] = undefined;
707
853
  node = elmToMove.$elm$;
708
854
  }
709
855
  newStartVnode = newCh[++newStartIdx];
710
856
  }
711
857
  else {
712
- // new element
858
+ // We either didn't find an element in the old children that matches
859
+ // the key of the first new child OR the build is not using `key`
860
+ // attributes at all. In either case we need to create a new element
861
+ // for the new node.
713
862
  node = createElm(oldCh && oldCh[newStartIdx], newVNode, newStartIdx, parentElm);
714
863
  newStartVnode = newCh[++newStartIdx];
715
864
  }
716
865
  if (node) {
866
+ // if we created a new node then handle inserting it to the DOM
717
867
  {
718
868
  parentReferenceNode(oldStartVnode.$elm$).insertBefore(node, referenceNode(oldStartVnode.$elm$));
719
869
  }
@@ -721,21 +871,43 @@ const updateChildren = (parentElm, oldCh, newVNode, newCh) => {
721
871
  }
722
872
  }
723
873
  if (oldStartIdx > oldEndIdx) {
874
+ // we have some more new nodes to add which don't match up with old nodes
724
875
  addVnodes(parentElm, newCh[newEndIdx + 1] == null ? null : newCh[newEndIdx + 1].$elm$, newVNode, newCh, newStartIdx, newEndIdx);
725
876
  }
726
877
  else if (newStartIdx > newEndIdx) {
878
+ // there are nodes in the `oldCh` array which no longer correspond to nodes
879
+ // in the new array, so lets remove them (which entails cleaning up the
880
+ // relevant DOM nodes)
727
881
  removeVnodes(oldCh, oldStartIdx, oldEndIdx);
728
882
  }
729
883
  };
730
- const isSameVnode = (vnode1, vnode2) => {
884
+ /**
885
+ * Compare two VNodes to determine if they are the same
886
+ *
887
+ * **NB**: This function is an equality _heuristic_ based on the available
888
+ * information set on the two VNodes and can be misleading under certain
889
+ * circumstances. In particular, if the two nodes do not have `key` attrs
890
+ * (available under `$key$` on VNodes) then the function falls back on merely
891
+ * checking that they have the same tag.
892
+ *
893
+ * So, in other words, if `key` attrs are not set on VNodes which may be
894
+ * changing order within a `children` array or something along those lines then
895
+ * we could obtain a false positive and then have to do needless re-rendering.
896
+ *
897
+ * @param leftVNode the first VNode to check
898
+ * @param rightVNode the second VNode to check
899
+ * @returns whether they're equal or not
900
+ */
901
+ const isSameVnode = (leftVNode, rightVNode) => {
731
902
  // compare if two vnode to see if they're "technically" the same
732
903
  // need to have the same element tag, and same key to be the same
733
- if (vnode1.$tag$ === vnode2.$tag$) {
734
- if (vnode1.$tag$ === 'slot') {
735
- return vnode1.$name$ === vnode2.$name$;
904
+ if (leftVNode.$tag$ === rightVNode.$tag$) {
905
+ if (leftVNode.$tag$ === 'slot') {
906
+ return leftVNode.$name$ === rightVNode.$name$;
736
907
  }
908
+ // this will be set if components in the build have `key` attrs set on them
737
909
  {
738
- return vnode1.$key$ === vnode2.$key$;
910
+ return leftVNode.$key$ === rightVNode.$key$;
739
911
  }
740
912
  }
741
913
  return false;
@@ -748,6 +920,14 @@ const referenceNode = (node) => {
748
920
  return (node && node['s-ol']) || node;
749
921
  };
750
922
  const parentReferenceNode = (node) => (node['s-ol'] ? node['s-ol'] : node).parentNode;
923
+ /**
924
+ * Handle reconciling an outdated VNode with a new one which corresponds to
925
+ * it. This function handles flushing updates to the DOM and reconciling the
926
+ * children of the two nodes (if any).
927
+ *
928
+ * @param oldVNode an old VNode whose DOM element and children we want to update
929
+ * @param newVNode a new VNode representing an updated version of the old one
930
+ */
751
931
  const patch = (oldVNode, newVNode) => {
752
932
  const elm = (newVNode.$elm$ = oldVNode.$elm$);
753
933
  const oldChildren = oldVNode.$children$;
@@ -761,7 +941,6 @@ const patch = (oldVNode, newVNode) => {
761
941
  // only add this to the when the compiler sees we're using an svg somewhere
762
942
  isSvgMode = tag === 'svg' ? true : tag === 'foreignObject' ? false : isSvgMode;
763
943
  }
764
- // element node
765
944
  {
766
945
  if (tag === 'slot')
767
946
  ;
@@ -774,6 +953,7 @@ const patch = (oldVNode, newVNode) => {
774
953
  }
775
954
  if (oldChildren !== null && newChildren !== null) {
776
955
  // looks like there's child vnodes for both the old and new vnodes
956
+ // so we need to call `updateChildren` to reconcile them
777
957
  updateChildren(elm, oldChildren, newVNode, newChildren);
778
958
  }
779
959
  else if (newChildren !== null) {
@@ -814,7 +994,7 @@ const updateFallbackSlotVisibility = (elm) => {
814
994
  let nodeType;
815
995
  for (i = 0, ilen = childNodes.length; i < ilen; i++) {
816
996
  childNode = childNodes[i];
817
- if (childNode.nodeType === 1 /* ElementNode */) {
997
+ if (childNode.nodeType === 1 /* NODE_TYPE.ElementNode */) {
818
998
  if (childNode['s-sr']) {
819
999
  // this is a slot fallback node
820
1000
  // get the slot name for this slot reference node
@@ -826,7 +1006,7 @@ const updateFallbackSlotVisibility = (elm) => {
826
1006
  nodeType = childNodes[j].nodeType;
827
1007
  if (childNodes[j]['s-hn'] !== childNode['s-hn'] || slotNameAttr !== '') {
828
1008
  // this sibling node is from a different component OR is a named fallback slot node
829
- if (nodeType === 1 /* ElementNode */ && slotNameAttr === childNodes[j].getAttribute('slot')) {
1009
+ if (nodeType === 1 /* NODE_TYPE.ElementNode */ && slotNameAttr === childNodes[j].getAttribute('slot')) {
830
1010
  childNode.hidden = true;
831
1011
  break;
832
1012
  }
@@ -835,8 +1015,8 @@ const updateFallbackSlotVisibility = (elm) => {
835
1015
  // this is a default fallback slot node
836
1016
  // any element or text node (with content)
837
1017
  // should hide the default fallback slot node
838
- if (nodeType === 1 /* ElementNode */ ||
839
- (nodeType === 3 /* TextNode */ && childNodes[j].textContent.trim() !== '')) {
1018
+ if (nodeType === 1 /* NODE_TYPE.ElementNode */ ||
1019
+ (nodeType === 3 /* NODE_TYPE.TextNode */ && childNodes[j].textContent.trim() !== '')) {
840
1020
  childNode.hidden = true;
841
1021
  break;
842
1022
  }
@@ -914,13 +1094,13 @@ const relocateSlotContent = (elm) => {
914
1094
  }
915
1095
  }
916
1096
  }
917
- if (childNode.nodeType === 1 /* ElementNode */) {
1097
+ if (childNode.nodeType === 1 /* NODE_TYPE.ElementNode */) {
918
1098
  relocateSlotContent(childNode);
919
1099
  }
920
1100
  }
921
1101
  };
922
1102
  const isNodeLocatedInSlot = (nodeToRelocate, slotNameAttr) => {
923
- if (nodeToRelocate.nodeType === 1 /* ElementNode */) {
1103
+ if (nodeToRelocate.nodeType === 1 /* NODE_TYPE.ElementNode */) {
924
1104
  if (nodeToRelocate.getAttribute('slot') === null && slotNameAttr === '') {
925
1105
  return true;
926
1106
  }
@@ -951,7 +1131,7 @@ const renderVdom = (hostRef, renderFnResults) => {
951
1131
  cmpMeta.$attrsToReflect$.map(([propName, attribute]) => (rootVnode.$attrs$[attribute] = hostElm[propName]));
952
1132
  }
953
1133
  rootVnode.$tag$ = null;
954
- rootVnode.$flags$ |= 4 /* isHost */;
1134
+ rootVnode.$flags$ |= 4 /* VNODE_FLAGS.isHost */;
955
1135
  hostRef.$vnode$ = rootVnode;
956
1136
  rootVnode.$elm$ = oldVNode.$elm$ = (hostElm.shadowRoot || hostElm );
957
1137
  {
@@ -959,7 +1139,7 @@ const renderVdom = (hostRef, renderFnResults) => {
959
1139
  }
960
1140
  {
961
1141
  contentRef = hostElm['s-cr'];
962
- useNativeShadowDom = (cmpMeta.$flags$ & 1 /* shadowDomEncapsulation */) !== 0;
1142
+ useNativeShadowDom = (cmpMeta.$flags$ & 1 /* CMP_FLAGS.shadowDomEncapsulation */) !== 0;
963
1143
  // always reset
964
1144
  checkSlotFallbackVisibility = false;
965
1145
  }
@@ -968,7 +1148,7 @@ const renderVdom = (hostRef, renderFnResults) => {
968
1148
  {
969
1149
  // while we're moving nodes around existing nodes, temporarily disable
970
1150
  // the disconnectCallback from working
971
- plt.$flags$ |= 1 /* isTmpDisconnected */;
1151
+ plt.$flags$ |= 1 /* PLATFORM_FLAGS.isTmpDisconnected */;
972
1152
  if (checkSlotRelocate) {
973
1153
  relocateSlotContent(rootVnode.$elm$);
974
1154
  let relocateData;
@@ -1026,7 +1206,7 @@ const renderVdom = (hostRef, renderFnResults) => {
1026
1206
  }
1027
1207
  else {
1028
1208
  // this node doesn't have a slot home to go to, so let's hide it
1029
- if (nodeToRelocate.nodeType === 1 /* ElementNode */) {
1209
+ if (nodeToRelocate.nodeType === 1 /* NODE_TYPE.ElementNode */) {
1030
1210
  nodeToRelocate.hidden = true;
1031
1211
  }
1032
1212
  }
@@ -1037,7 +1217,7 @@ const renderVdom = (hostRef, renderFnResults) => {
1037
1217
  }
1038
1218
  // done moving nodes around
1039
1219
  // allow the disconnect callback to work again
1040
- plt.$flags$ &= ~1 /* isTmpDisconnected */;
1220
+ plt.$flags$ &= ~1 /* PLATFORM_FLAGS.isTmpDisconnected */;
1041
1221
  // always reset
1042
1222
  relocateNodes.length = 0;
1043
1223
  }
@@ -1048,9 +1228,9 @@ const createEvent = (ref, name, flags) => {
1048
1228
  return {
1049
1229
  emit: (detail) => {
1050
1230
  return emitEvent(elm, name, {
1051
- bubbles: !!(flags & 4 /* Bubbles */),
1052
- composed: !!(flags & 2 /* Composed */),
1053
- cancelable: !!(flags & 1 /* Cancellable */),
1231
+ bubbles: !!(flags & 4 /* EVENT_FLAGS.Bubbles */),
1232
+ composed: !!(flags & 2 /* EVENT_FLAGS.Composed */),
1233
+ cancelable: !!(flags & 1 /* EVENT_FLAGS.Cancellable */),
1054
1234
  detail,
1055
1235
  });
1056
1236
  },
@@ -1075,10 +1255,10 @@ const attachToAncestor = (hostRef, ancestorComponent) => {
1075
1255
  };
1076
1256
  const scheduleUpdate = (hostRef, isInitialLoad) => {
1077
1257
  {
1078
- hostRef.$flags$ |= 16 /* isQueuedForUpdate */;
1258
+ hostRef.$flags$ |= 16 /* HOST_FLAGS.isQueuedForUpdate */;
1079
1259
  }
1080
- if (hostRef.$flags$ & 4 /* isWaitingForChildren */) {
1081
- hostRef.$flags$ |= 512 /* needsRerender */;
1260
+ if (hostRef.$flags$ & 4 /* HOST_FLAGS.isWaitingForChildren */) {
1261
+ hostRef.$flags$ |= 512 /* HOST_FLAGS.needsRerender */;
1082
1262
  return;
1083
1263
  }
1084
1264
  attachToAncestor(hostRef, hostRef.$ancestorComponent$);
@@ -1094,7 +1274,7 @@ const dispatchHooks = (hostRef, isInitialLoad) => {
1094
1274
  let promise;
1095
1275
  if (isInitialLoad) {
1096
1276
  {
1097
- hostRef.$flags$ |= 256 /* isListenReady */;
1277
+ hostRef.$flags$ |= 256 /* HOST_FLAGS.isListenReady */;
1098
1278
  if (hostRef.$queuedListeners$) {
1099
1279
  hostRef.$queuedListeners$.map(([methodName, event]) => safeCall(instance, methodName, event));
1100
1280
  hostRef.$queuedListeners$ = null;
@@ -1140,7 +1320,7 @@ const updateComponent = async (hostRef, instance, isInitialLoad) => {
1140
1320
  }
1141
1321
  else {
1142
1322
  Promise.all(childrenPromises).then(postUpdate);
1143
- hostRef.$flags$ |= 4 /* isWaitingForChildren */;
1323
+ hostRef.$flags$ |= 4 /* HOST_FLAGS.isWaitingForChildren */;
1144
1324
  childrenPromises.length = 0;
1145
1325
  }
1146
1326
  }
@@ -1149,10 +1329,10 @@ const callRender = (hostRef, instance, elm) => {
1149
1329
  try {
1150
1330
  instance = instance.render() ;
1151
1331
  {
1152
- hostRef.$flags$ &= ~16 /* isQueuedForUpdate */;
1332
+ hostRef.$flags$ &= ~16 /* HOST_FLAGS.isQueuedForUpdate */;
1153
1333
  }
1154
1334
  {
1155
- hostRef.$flags$ |= 2 /* hasRendered */;
1335
+ hostRef.$flags$ |= 2 /* HOST_FLAGS.hasRendered */;
1156
1336
  }
1157
1337
  {
1158
1338
  {
@@ -1179,8 +1359,8 @@ const postUpdateComponent = (hostRef) => {
1179
1359
  {
1180
1360
  safeCall(instance, 'componentDidRender');
1181
1361
  }
1182
- if (!(hostRef.$flags$ & 64 /* hasLoadedComponent */)) {
1183
- hostRef.$flags$ |= 64 /* hasLoadedComponent */;
1362
+ if (!(hostRef.$flags$ & 64 /* HOST_FLAGS.hasLoadedComponent */)) {
1363
+ hostRef.$flags$ |= 64 /* HOST_FLAGS.hasLoadedComponent */;
1184
1364
  {
1185
1365
  // DOM WRITE!
1186
1366
  addHydratedFlag(elm);
@@ -1212,10 +1392,10 @@ const postUpdateComponent = (hostRef) => {
1212
1392
  hostRef.$onRenderResolve$();
1213
1393
  hostRef.$onRenderResolve$ = undefined;
1214
1394
  }
1215
- if (hostRef.$flags$ & 512 /* needsRerender */) {
1395
+ if (hostRef.$flags$ & 512 /* HOST_FLAGS.needsRerender */) {
1216
1396
  nextTick(() => scheduleUpdate(hostRef, false));
1217
1397
  }
1218
- hostRef.$flags$ &= ~(4 /* isWaitingForChildren */ | 512 /* needsRerender */);
1398
+ hostRef.$flags$ &= ~(4 /* HOST_FLAGS.isWaitingForChildren */ | 512 /* HOST_FLAGS.needsRerender */);
1219
1399
  }
1220
1400
  // ( •_•)
1221
1401
  // ( •_•)>⌐■-■
@@ -1226,7 +1406,7 @@ const forceUpdate = (ref) => {
1226
1406
  const hostRef = getHostRef(ref);
1227
1407
  const isConnected = hostRef.$hostElement$.isConnected;
1228
1408
  if (isConnected &&
1229
- (hostRef.$flags$ & (2 /* hasRendered */ | 16 /* isQueuedForUpdate */)) === 2 /* hasRendered */) {
1409
+ (hostRef.$flags$ & (2 /* HOST_FLAGS.hasRendered */ | 16 /* HOST_FLAGS.isQueuedForUpdate */)) === 2 /* HOST_FLAGS.hasRendered */) {
1230
1410
  scheduleUpdate(hostRef, false);
1231
1411
  }
1232
1412
  // Returns "true" when the forced update was successfully scheduled
@@ -1283,16 +1463,16 @@ const addHydratedFlag = (elm) => elm.setAttribute('hydrated', '')
1283
1463
  const parsePropertyValue = (propValue, propType) => {
1284
1464
  // ensure this value is of the correct prop type
1285
1465
  if (propValue != null && !isComplexType(propValue)) {
1286
- if (propType & 4 /* Boolean */) {
1466
+ if (propType & 4 /* MEMBER_FLAGS.Boolean */) {
1287
1467
  // per the HTML spec, any string value means it is a boolean true value
1288
1468
  // but we'll cheat here and say that the string "false" is the boolean false
1289
1469
  return propValue === 'false' ? false : propValue === '' || !!propValue;
1290
1470
  }
1291
- if (propType & 2 /* Number */) {
1471
+ if (propType & 2 /* MEMBER_FLAGS.Number */) {
1292
1472
  // force it to be a number
1293
1473
  return parseFloat(propValue);
1294
1474
  }
1295
- if (propType & 1 /* String */) {
1475
+ if (propType & 1 /* MEMBER_FLAGS.String */) {
1296
1476
  // could have been passed as a number or boolean
1297
1477
  // but we still want it as a string
1298
1478
  return String(propValue);
@@ -1316,13 +1496,13 @@ const setValue = (ref, propName, newVal, cmpMeta) => {
1316
1496
  // explicitly check for NaN on both sides, as `NaN === NaN` is always false
1317
1497
  const areBothNaN = Number.isNaN(oldVal) && Number.isNaN(newVal);
1318
1498
  const didValueChange = newVal !== oldVal && !areBothNaN;
1319
- if ((!(flags & 8 /* isConstructingInstance */) || oldVal === undefined) && didValueChange) {
1499
+ if ((!(flags & 8 /* HOST_FLAGS.isConstructingInstance */) || oldVal === undefined) && didValueChange) {
1320
1500
  // gadzooks! the property's value has changed!!
1321
1501
  // set our new value!
1322
1502
  hostRef.$instanceValues$.set(propName, newVal);
1323
1503
  if (instance) {
1324
1504
  // get an array of method names of watch functions to call
1325
- if (cmpMeta.$watchers$ && flags & 128 /* isWatchReady */) {
1505
+ if (cmpMeta.$watchers$ && flags & 128 /* HOST_FLAGS.isWatchReady */) {
1326
1506
  const watchMethods = cmpMeta.$watchers$[propName];
1327
1507
  if (watchMethods) {
1328
1508
  // this instance is watching for when this property changed
@@ -1337,7 +1517,7 @@ const setValue = (ref, propName, newVal, cmpMeta) => {
1337
1517
  });
1338
1518
  }
1339
1519
  }
1340
- if ((flags & (2 /* hasRendered */ | 16 /* isQueuedForUpdate */)) === 2 /* hasRendered */) {
1520
+ if ((flags & (2 /* HOST_FLAGS.hasRendered */ | 16 /* HOST_FLAGS.isQueuedForUpdate */)) === 2 /* HOST_FLAGS.hasRendered */) {
1341
1521
  // looks like this value actually changed, so we've got work to do!
1342
1522
  // but only if we've already rendered, otherwise just chill out
1343
1523
  // queue that we need to do an update, but don't worry about queuing
@@ -1356,8 +1536,8 @@ const proxyComponent = (Cstr, cmpMeta, flags) => {
1356
1536
  const members = Object.entries(cmpMeta.$members$);
1357
1537
  const prototype = Cstr.prototype;
1358
1538
  members.map(([memberName, [memberFlags]]) => {
1359
- if ((memberFlags & 31 /* Prop */ ||
1360
- ((flags & 2 /* proxyState */) && memberFlags & 32 /* State */))) {
1539
+ if ((memberFlags & 31 /* MEMBER_FLAGS.Prop */ ||
1540
+ ((flags & 2 /* PROXY_FLAGS.proxyState */) && memberFlags & 32 /* MEMBER_FLAGS.State */))) {
1361
1541
  // proxyComponent - prop
1362
1542
  Object.defineProperty(prototype, memberName, {
1363
1543
  get() {
@@ -1372,8 +1552,8 @@ const proxyComponent = (Cstr, cmpMeta, flags) => {
1372
1552
  enumerable: true,
1373
1553
  });
1374
1554
  }
1375
- else if (flags & 1 /* isElementConstructor */ &&
1376
- memberFlags & 64 /* Method */) {
1555
+ else if (flags & 1 /* PROXY_FLAGS.isElementConstructor */ &&
1556
+ memberFlags & 64 /* MEMBER_FLAGS.Method */) {
1377
1557
  // proxyComponent - method
1378
1558
  Object.defineProperty(prototype, memberName, {
1379
1559
  value(...args) {
@@ -1383,7 +1563,7 @@ const proxyComponent = (Cstr, cmpMeta, flags) => {
1383
1563
  });
1384
1564
  }
1385
1565
  });
1386
- if ((flags & 1 /* isElementConstructor */)) {
1566
+ if ((flags & 1 /* PROXY_FLAGS.isElementConstructor */)) {
1387
1567
  const attrNameToPropName = new Map();
1388
1568
  prototype.attributeChangedCallback = function (attrName, _oldValue, newValue) {
1389
1569
  plt.jmp(() => {
@@ -1439,11 +1619,11 @@ const proxyComponent = (Cstr, cmpMeta, flags) => {
1439
1619
  // create an array of attributes to observe
1440
1620
  // and also create a map of html attribute name to js property name
1441
1621
  Cstr.observedAttributes = members
1442
- .filter(([_, m]) => m[0] & 15 /* HasAttribute */) // filter to only keep props that should match attributes
1622
+ .filter(([_, m]) => m[0] & 15 /* MEMBER_FLAGS.HasAttribute */) // filter to only keep props that should match attributes
1443
1623
  .map(([propName, m]) => {
1444
1624
  const attrName = m[1] || propName;
1445
1625
  attrNameToPropName.set(attrName, propName);
1446
- if (m[0] & 512 /* ReflectAttr */) {
1626
+ if (m[0] & 512 /* MEMBER_FLAGS.ReflectAttr */) {
1447
1627
  cmpMeta.$attrsToReflect$.push([propName, attrName]);
1448
1628
  }
1449
1629
  return attrName;
@@ -1454,10 +1634,10 @@ const proxyComponent = (Cstr, cmpMeta, flags) => {
1454
1634
  };
1455
1635
  const initializeComponent = async (elm, hostRef, cmpMeta, hmrVersionId, Cstr) => {
1456
1636
  // initializeComponent
1457
- if ((hostRef.$flags$ & 32 /* hasInitializedComponent */) === 0) {
1637
+ if ((hostRef.$flags$ & 32 /* HOST_FLAGS.hasInitializedComponent */) === 0) {
1458
1638
  {
1459
1639
  // we haven't initialized this element yet
1460
- hostRef.$flags$ |= 32 /* hasInitializedComponent */;
1640
+ hostRef.$flags$ |= 32 /* HOST_FLAGS.hasInitializedComponent */;
1461
1641
  // lazy loaded components
1462
1642
  // request the component's implementation to be
1463
1643
  // wired up with the host element
@@ -1475,7 +1655,7 @@ const initializeComponent = async (elm, hostRef, cmpMeta, hmrVersionId, Cstr) =>
1475
1655
  {
1476
1656
  cmpMeta.$watchers$ = Cstr.watchers;
1477
1657
  }
1478
- proxyComponent(Cstr, cmpMeta, 2 /* proxyState */);
1658
+ proxyComponent(Cstr, cmpMeta, 2 /* PROXY_FLAGS.proxyState */);
1479
1659
  Cstr.isProxied = true;
1480
1660
  }
1481
1661
  const endNewInstance = createTime('createInstance', cmpMeta.$tagName$);
@@ -1483,7 +1663,7 @@ const initializeComponent = async (elm, hostRef, cmpMeta, hmrVersionId, Cstr) =>
1483
1663
  // but let's keep track of when we start and stop
1484
1664
  // so that the getters/setters don't incorrectly step on data
1485
1665
  {
1486
- hostRef.$flags$ |= 8 /* isConstructingInstance */;
1666
+ hostRef.$flags$ |= 8 /* HOST_FLAGS.isConstructingInstance */;
1487
1667
  }
1488
1668
  // construct the lazy-loaded component implementation
1489
1669
  // passing the hostRef is very important during
@@ -1496,10 +1676,10 @@ const initializeComponent = async (elm, hostRef, cmpMeta, hmrVersionId, Cstr) =>
1496
1676
  consoleError(e);
1497
1677
  }
1498
1678
  {
1499
- hostRef.$flags$ &= ~8 /* isConstructingInstance */;
1679
+ hostRef.$flags$ &= ~8 /* HOST_FLAGS.isConstructingInstance */;
1500
1680
  }
1501
1681
  {
1502
- hostRef.$flags$ |= 128 /* isWatchReady */;
1682
+ hostRef.$flags$ |= 128 /* HOST_FLAGS.isWatchReady */;
1503
1683
  }
1504
1684
  endNewInstance();
1505
1685
  fireConnectedCallback(hostRef.$lazyInstance$);
@@ -1510,7 +1690,7 @@ const initializeComponent = async (elm, hostRef, cmpMeta, hmrVersionId, Cstr) =>
1510
1690
  const scopeId = getScopeId(cmpMeta);
1511
1691
  if (!styles.has(scopeId)) {
1512
1692
  const endRegisterStyles = createTime('registerStyles', cmpMeta.$tagName$);
1513
- registerStyle(scopeId, style, !!(cmpMeta.$flags$ & 1 /* shadowDomEncapsulation */));
1693
+ registerStyle(scopeId, style, !!(cmpMeta.$flags$ & 1 /* CMP_FLAGS.shadowDomEncapsulation */));
1514
1694
  endRegisterStyles();
1515
1695
  }
1516
1696
  }
@@ -1537,19 +1717,19 @@ const fireConnectedCallback = (instance) => {
1537
1717
  }
1538
1718
  };
1539
1719
  const connectedCallback = (elm) => {
1540
- if ((plt.$flags$ & 1 /* isTmpDisconnected */) === 0) {
1720
+ if ((plt.$flags$ & 1 /* PLATFORM_FLAGS.isTmpDisconnected */) === 0) {
1541
1721
  const hostRef = getHostRef(elm);
1542
1722
  const cmpMeta = hostRef.$cmpMeta$;
1543
1723
  const endConnected = createTime('connectedCallback', cmpMeta.$tagName$);
1544
- if (!(hostRef.$flags$ & 1 /* hasConnected */)) {
1724
+ if (!(hostRef.$flags$ & 1 /* HOST_FLAGS.hasConnected */)) {
1545
1725
  // first time this component has connected
1546
- hostRef.$flags$ |= 1 /* hasConnected */;
1726
+ hostRef.$flags$ |= 1 /* HOST_FLAGS.hasConnected */;
1547
1727
  {
1548
1728
  // initUpdate
1549
1729
  // if the slot polyfill is required we'll need to put some nodes
1550
1730
  // in here to act as original content anchors as we move nodes around
1551
1731
  // host element has been connected to the DOM
1552
- if ((cmpMeta.$flags$ & (4 /* hasSlotRelocation */ | 8 /* needsShadowDomShim */))) {
1732
+ if ((cmpMeta.$flags$ & (4 /* CMP_FLAGS.hasSlotRelocation */ | 8 /* CMP_FLAGS.needsShadowDomShim */))) {
1553
1733
  setContentReference(elm);
1554
1734
  }
1555
1735
  }
@@ -1572,7 +1752,7 @@ const connectedCallback = (elm) => {
1572
1752
  // https://developers.google.com/web/fundamentals/web-components/best-practices#lazy-properties
1573
1753
  if (cmpMeta.$members$) {
1574
1754
  Object.entries(cmpMeta.$members$).map(([memberName, [memberFlags]]) => {
1575
- if (memberFlags & 31 /* Prop */ && elm.hasOwnProperty(memberName)) {
1755
+ if (memberFlags & 31 /* MEMBER_FLAGS.Prop */ && elm.hasOwnProperty(memberName)) {
1576
1756
  const value = elm[memberName];
1577
1757
  delete elm[memberName];
1578
1758
  elm[memberName] = value;
@@ -1606,7 +1786,7 @@ const setContentReference = (elm) => {
1606
1786
  elm.insertBefore(contentRefElm, elm.firstChild);
1607
1787
  };
1608
1788
  const disconnectedCallback = (elm) => {
1609
- if ((plt.$flags$ & 1 /* isTmpDisconnected */) === 0) {
1789
+ if ((plt.$flags$ & 1 /* PLATFORM_FLAGS.isTmpDisconnected */) === 0) {
1610
1790
  const hostRef = getHostRef(elm);
1611
1791
  const instance = hostRef.$lazyInstance$ ;
1612
1792
  {
@@ -1661,7 +1841,7 @@ const bootstrapLazy = (lazyBundles, options = {}) => {
1661
1841
  super(self);
1662
1842
  self = this;
1663
1843
  registerHost(self, cmpMeta);
1664
- if (cmpMeta.$flags$ & 1 /* shadowDomEncapsulation */) {
1844
+ if (cmpMeta.$flags$ & 1 /* CMP_FLAGS.shadowDomEncapsulation */) {
1665
1845
  // this component is using shadow dom
1666
1846
  // and this browser supports shadow dom
1667
1847
  // add the read-only property "shadowRoot" to the host element
@@ -1670,7 +1850,7 @@ const bootstrapLazy = (lazyBundles, options = {}) => {
1670
1850
  {
1671
1851
  self.attachShadow({
1672
1852
  mode: 'open',
1673
- delegatesFocus: !!(cmpMeta.$flags$ & 16 /* shadowDelegatesFocus */),
1853
+ delegatesFocus: !!(cmpMeta.$flags$ & 16 /* CMP_FLAGS.shadowDelegatesFocus */),
1674
1854
  });
1675
1855
  }
1676
1856
  }
@@ -1699,7 +1879,7 @@ const bootstrapLazy = (lazyBundles, options = {}) => {
1699
1879
  cmpMeta.$lazyBundleId$ = lazyBundle[0];
1700
1880
  if (!exclude.includes(tagName) && !customElements.get(tagName)) {
1701
1881
  cmpTags.push(tagName);
1702
- customElements.define(tagName, proxyComponent(HostElement, cmpMeta, 1 /* isElementConstructor */));
1882
+ customElements.define(tagName, proxyComponent(HostElement, cmpMeta, 1 /* PROXY_FLAGS.isElementConstructor */));
1703
1883
  }
1704
1884
  });
1705
1885
  });
@@ -1725,7 +1905,7 @@ const getAssetPath = (path) => {
1725
1905
  const assetUrl = new URL(path, plt.$resourcesUrl$);
1726
1906
  return assetUrl.origin !== win.location.origin ? assetUrl.href : assetUrl.pathname;
1727
1907
  };
1728
- const hostRefs = new WeakMap();
1908
+ const hostRefs = /*@__PURE__*/ new WeakMap();
1729
1909
  const getHostRef = (ref) => hostRefs.get(ref);
1730
1910
  const registerInstance = (lazyInstance, hostRef) => hostRefs.set((hostRef.$lazyInstance$ = lazyInstance), hostRef);
1731
1911
  const registerHost = (elm, cmpMeta) => {
@@ -2275,14 +2455,14 @@ const loadModule = (cmpMeta, hostRef, hmrVersionId) => {
2275
2455
  return importedModule[exportName];
2276
2456
  }, consoleError);
2277
2457
  };
2278
- const styles = new Map();
2458
+ const styles = /*@__PURE__*/ new Map();
2279
2459
  const queueDomReads = [];
2280
2460
  const queueDomWrites = [];
2281
2461
  const queueTask = (queue, write) => (cb) => {
2282
2462
  queue.push(cb);
2283
2463
  if (!queuePending) {
2284
2464
  queuePending = true;
2285
- if (write && plt.$flags$ & 4 /* queueSync */) {
2465
+ if (write && plt.$flags$ & 4 /* PLATFORM_FLAGS.queueSync */) {
2286
2466
  nextTick(flush);
2287
2467
  }
2288
2468
  else {