genesys-spark-components 4.187.0 → 4.187.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 (699) hide show
  1. package/dist/cjs/genesys-webcomponents.cjs.js +1 -1
  2. package/dist/cjs/{get-valid-timezone-wrCyyRlV.js → get-valid-timezone-Bnt1qVB-.js} +1 -1
  3. package/dist/cjs/gux-accordion-section.cjs.entry.js +1 -1
  4. package/dist/cjs/gux-accordion.cjs.entry.js +2 -2
  5. package/dist/cjs/gux-action-button.cjs.entry.js +5 -5
  6. package/dist/cjs/gux-action-toast-legacy.cjs.entry.js +2 -2
  7. package/dist/cjs/gux-advanced-dropdown-legacy.cjs.entry.js +6 -6
  8. package/dist/cjs/gux-all-row-select.cjs.entry.js +3 -3
  9. package/dist/cjs/gux-announce-beta.cjs.entry.js +2 -2
  10. package/dist/cjs/gux-avatar-beta.cjs.entry.js +5 -5
  11. package/dist/cjs/gux-avatar-change-photo-beta.cjs.entry.js +4 -4
  12. package/dist/cjs/gux-avatar-focusable-beta.cjs.entry.js +1 -1
  13. package/dist/cjs/gux-avatar-group-add-item-beta_3.cjs.entry.js +5 -5
  14. package/dist/cjs/gux-avatar-group-beta.cjs.entry.js +2 -2
  15. package/dist/cjs/gux-avatar-group-item-beta.cjs.entry.js +2 -2
  16. package/dist/cjs/gux-badge.cjs.entry.js +5 -5
  17. package/dist/cjs/gux-blank-state-beta.cjs.entry.js +3 -3
  18. package/dist/cjs/gux-blank-state.cjs.entry.js +3 -3
  19. package/dist/cjs/gux-branch-multi.cjs.entry.js +2 -2
  20. package/dist/cjs/gux-branch.cjs.entry.js +2 -2
  21. package/dist/cjs/gux-breadcrumb-item.cjs.entry.js +1 -1
  22. package/dist/cjs/gux-breadcrumbs.cjs.entry.js +4 -4
  23. package/dist/cjs/gux-button-multi.cjs.entry.js +3 -3
  24. package/dist/cjs/gux-button-slot.cjs.entry.js +2 -2
  25. package/dist/cjs/gux-button_2.cjs.entry.js +3 -3
  26. package/dist/cjs/gux-calendar-beta.cjs.entry.js +3 -3
  27. package/dist/cjs/gux-calendar.cjs.entry.js +4 -4
  28. package/dist/cjs/gux-card.cjs.entry.js +2 -2
  29. package/dist/cjs/gux-cloud-logo-beta.cjs.entry.js +4 -4
  30. package/dist/cjs/gux-cloud-logomark-beta.cjs.entry.js +4 -4
  31. package/dist/cjs/gux-column-manager-item.cjs.entry.js +5 -5
  32. package/dist/cjs/gux-column-manager.cjs.entry.js +4 -4
  33. package/dist/cjs/gux-content-search.cjs.entry.js +5 -5
  34. package/dist/cjs/gux-context-menu.cjs.entry.js +6 -6
  35. package/dist/cjs/gux-copy-to-clipboard.cjs.entry.js +4 -4
  36. package/dist/cjs/gux-create-option.cjs.entry.js +4 -4
  37. package/dist/cjs/gux-cta-group.cjs.entry.js +1 -1
  38. package/dist/cjs/gux-date-beta.cjs.entry.js +5 -5
  39. package/dist/cjs/gux-date-time-beta.cjs.entry.js +5 -5
  40. package/dist/cjs/gux-datepicker.cjs.entry.js +5 -5
  41. package/dist/cjs/gux-day-beta.cjs.entry.js +3 -3
  42. package/dist/cjs/gux-disclosure-button-legacy.cjs.entry.js +5 -5
  43. package/dist/cjs/gux-dismiss-button.cjs.entry.js +5 -5
  44. package/dist/cjs/gux-dropdown-multi-tag.cjs.entry.js +3 -3
  45. package/dist/cjs/gux-dropdown-multi.cjs.entry.js +6 -6
  46. package/dist/cjs/gux-dropdown-option.cjs.entry.js +1 -1
  47. package/dist/cjs/gux-dropdown_3.cjs.entry.js +6 -6
  48. package/dist/cjs/gux-file-list-item.cjs.entry.js +5 -5
  49. package/dist/cjs/gux-flag-icon-beta.cjs.entry.js +4 -4
  50. package/dist/cjs/gux-flyout-menu.cjs.entry.js +5 -5
  51. package/dist/cjs/gux-form-beta.cjs.entry.js +1 -1
  52. package/dist/cjs/gux-form-description.cjs.entry.js +1 -1
  53. package/dist/cjs/gux-form-field-checkbox-group-beta.cjs.entry.js +8 -8
  54. package/dist/cjs/gux-form-field-checkbox.cjs.entry.js +4 -4
  55. package/dist/cjs/gux-form-field-color.cjs.entry.js +5 -5
  56. package/dist/cjs/{gux-form-field-container-C_ksnWvh.js → gux-form-field-container-BkBBWJ-I.js} +1 -1
  57. package/dist/cjs/gux-form-field-dropdown.cjs.entry.js +9 -9
  58. package/dist/cjs/{gux-form-field-error-DsQplUhW.js → gux-form-field-error-FIcB4Fjw.js} +1 -1
  59. package/dist/cjs/{gux-form-field-fieldset-container-DDS9BG7u.js → gux-form-field-fieldset-container-SYa1tvh_.js} +1 -1
  60. package/dist/cjs/gux-form-field-file-beta.cjs.entry.js +7 -7
  61. package/dist/cjs/gux-form-field-file.cjs.entry.js +5 -5
  62. package/dist/cjs/gux-form-field-input-clear-button.cjs.entry.js +4 -4
  63. package/dist/cjs/gux-form-field-label-indicator.cjs.entry.js +3 -3
  64. package/dist/cjs/gux-form-field-number_2.cjs.entry.js +14 -14
  65. package/dist/cjs/gux-form-field-phone.cjs.entry.js +10 -10
  66. package/dist/cjs/gux-form-field-radio-group-beta.cjs.entry.js +8 -8
  67. package/dist/cjs/gux-form-field-radio.cjs.entry.js +4 -4
  68. package/dist/cjs/gux-form-field-range.cjs.entry.js +6 -6
  69. package/dist/cjs/gux-form-field-search.cjs.entry.js +5 -5
  70. package/dist/cjs/gux-form-field-select.cjs.entry.js +5 -5
  71. package/dist/cjs/gux-form-field-text-like.cjs.entry.js +5 -5
  72. package/dist/cjs/gux-form-field-textarea.cjs.entry.js +5 -5
  73. package/dist/cjs/gux-form-field-time-picker.cjs.entry.js +10 -10
  74. package/dist/cjs/gux-form-field-time-zone-picker.cjs.entry.js +9 -9
  75. package/dist/cjs/gux-form-fieldset-heading.cjs.entry.js +1 -1
  76. package/dist/cjs/gux-form-footer.cjs.entry.js +2 -2
  77. package/dist/cjs/gux-form-heading.cjs.entry.js +1 -1
  78. package/dist/cjs/gux-icon-tooltip-beta.cjs.entry.js +2 -2
  79. package/dist/cjs/gux-icon.cjs.entry.js +2 -2
  80. package/dist/cjs/gux-illustration-beta.cjs.entry.js +2 -2
  81. package/dist/cjs/gux-inline-alert.cjs.entry.js +5 -5
  82. package/dist/cjs/gux-inline-dropdown-beta.cjs.entry.js +6 -6
  83. package/dist/cjs/gux-label-info-beta.cjs.entry.js +2 -2
  84. package/dist/cjs/gux-leaf-multi.cjs.entry.js +2 -2
  85. package/dist/cjs/gux-leaf.cjs.entry.js +2 -2
  86. package/dist/cjs/gux-link-beta.cjs.entry.js +2 -2
  87. package/dist/cjs/gux-list-divider.cjs.entry.js +1 -1
  88. package/dist/cjs/gux-list-item.cjs.entry.js +1 -1
  89. package/dist/cjs/gux-list.cjs.entry.js +2 -2
  90. package/dist/cjs/gux-listbox-multi.cjs.entry.js +4 -4
  91. package/dist/cjs/gux-loading-message.cjs.entry.js +2 -2
  92. package/dist/cjs/gux-logo-beta.cjs.entry.js +6 -6
  93. package/dist/cjs/gux-logomark-beta.cjs.entry.js +4 -4
  94. package/dist/cjs/gux-menu-option.cjs.entry.js +1 -1
  95. package/dist/cjs/gux-menu.cjs.entry.js +1 -1
  96. package/dist/cjs/gux-modal-legacy.cjs.entry.js +2 -2
  97. package/dist/cjs/gux-modal-side-panel-beta.cjs.entry.js +2 -2
  98. package/dist/cjs/gux-modal.cjs.entry.js +2 -2
  99. package/dist/cjs/gux-month-calendar.cjs.entry.js +3 -3
  100. package/dist/cjs/gux-month-list_2.cjs.entry.js +1 -1
  101. package/dist/cjs/gux-month-picker-beta.cjs.entry.js +5 -5
  102. package/dist/cjs/gux-notification-toast-legacy.cjs.entry.js +2 -2
  103. package/dist/cjs/gux-option-group-beta.cjs.entry.js +1 -1
  104. package/dist/cjs/gux-option-icon.cjs.entry.js +1 -1
  105. package/dist/cjs/gux-option-multi.cjs.entry.js +4 -4
  106. package/dist/cjs/gux-option-status-beta.cjs.entry.js +1 -1
  107. package/dist/cjs/gux-page-loading-spinner.cjs.entry.js +2 -2
  108. package/dist/cjs/gux-pagination-buttons-legacy_3.cjs.entry.js +6 -6
  109. package/dist/cjs/gux-pagination-buttons_2.cjs.entry.js +5 -5
  110. package/dist/cjs/gux-pagination-cursor.cjs.entry.js +3 -3
  111. package/dist/cjs/gux-pagination-items-per-page.cjs.entry.js +3 -3
  112. package/dist/cjs/gux-pagination-legacy.cjs.entry.js +2 -2
  113. package/dist/cjs/gux-pagination.cjs.entry.js +2 -2
  114. package/dist/cjs/gux-phone-input-beta.cjs.entry.js +5 -5
  115. package/dist/cjs/gux-popover-beta.cjs.entry.js +3 -3
  116. package/dist/cjs/gux-popover-list-beta.cjs.entry.js +3 -3
  117. package/dist/cjs/gux-popover-list.cjs.entry.js +3 -3
  118. package/dist/cjs/gux-popup.cjs.entry.js +1 -1
  119. package/dist/cjs/gux-prompt-input-beta.cjs.entry.js +5 -5
  120. package/dist/cjs/gux-radial-loading.cjs.entry.js +4 -4
  121. package/dist/cjs/gux-radial-progress.cjs.entry.js +2 -2
  122. package/dist/cjs/gux-rating.cjs.entry.js +5 -5
  123. package/dist/cjs/gux-rich-highlight-list-item.cjs.entry.js +5 -5
  124. package/dist/cjs/gux-rich-style-list-item_3.cjs.entry.js +5 -5
  125. package/dist/cjs/gux-rich-text-editor-action-group.cjs.entry.js +1 -1
  126. package/dist/cjs/gux-rich-text-editor-action-link.cjs.entry.js +5 -5
  127. package/dist/cjs/gux-rich-text-editor-action-rich-style.cjs.entry.js +5 -5
  128. package/dist/cjs/gux-rich-text-editor-action-text-highlight.cjs.entry.js +5 -5
  129. package/dist/cjs/gux-rich-text-editor-action.cjs.entry.js +3 -3
  130. package/dist/cjs/gux-rich-text-editor-beta.cjs.entry.js +7 -7
  131. package/dist/cjs/gux-rich-text-editor-list.cjs.entry.js +2 -2
  132. package/dist/cjs/gux-row-select.cjs.entry.js +4 -4
  133. package/dist/cjs/gux-screen-reader-beta.cjs.entry.js +2 -2
  134. package/dist/cjs/gux-segmented-control-beta.cjs.entry.js +2 -2
  135. package/dist/cjs/gux-segmented-control-divider.cjs.entry.js +1 -1
  136. package/dist/cjs/gux-segmented-control-item.cjs.entry.js +1 -1
  137. package/dist/cjs/gux-select-all.cjs.entry.js +4 -4
  138. package/dist/cjs/gux-selector-card-beta.cjs.entry.js +2 -2
  139. package/dist/cjs/gux-selector-cards-beta.cjs.entry.js +2 -2
  140. package/dist/cjs/gux-side-panel-beta.cjs.entry.js +2 -2
  141. package/dist/cjs/gux-side-panel-header.cjs.entry.js +2 -2
  142. package/dist/cjs/gux-side-panel-heading.cjs.entry.js +2 -2
  143. package/dist/cjs/gux-simple-toast-legacy.cjs.entry.js +2 -2
  144. package/dist/cjs/gux-skip-navigation-item.cjs.entry.js +1 -1
  145. package/dist/cjs/gux-skip-navigation-list.cjs.entry.js +4 -4
  146. package/dist/cjs/gux-sort-control.cjs.entry.js +5 -5
  147. package/dist/cjs/gux-status-indicator-beta.cjs.entry.js +2 -2
  148. package/dist/cjs/gux-step-title.cjs.entry.js +2 -2
  149. package/dist/cjs/gux-step.cjs.entry.js +2 -2
  150. package/dist/cjs/gux-stepper-beta.cjs.entry.js +2 -2
  151. package/dist/cjs/gux-submenu.cjs.entry.js +1 -1
  152. package/dist/cjs/gux-switch-item.cjs.entry.js +1 -1
  153. package/dist/cjs/gux-switch-legacy.cjs.entry.js +2 -2
  154. package/dist/cjs/gux-tab-advanced-list.cjs.entry.js +4 -4
  155. package/dist/cjs/gux-tab-advanced-panel.cjs.entry.js +1 -1
  156. package/dist/cjs/gux-tab-advanced.cjs.entry.js +4 -4
  157. package/dist/cjs/gux-tab-list.cjs.entry.js +5 -5
  158. package/dist/cjs/gux-tab-panel.cjs.entry.js +1 -1
  159. package/dist/cjs/gux-tab.cjs.entry.js +1 -1
  160. package/dist/cjs/gux-table-select-menu.cjs.entry.js +3 -3
  161. package/dist/cjs/gux-table-toolbar-action.cjs.entry.js +3 -3
  162. package/dist/cjs/gux-table-toolbar-custom-action.cjs.entry.js +2 -2
  163. package/dist/cjs/gux-table-toolbar-menu-button.cjs.entry.js +5 -5
  164. package/dist/cjs/gux-table-toolbar.cjs.entry.js +4 -4
  165. package/dist/cjs/gux-table.cjs.entry.js +4 -4
  166. package/dist/cjs/gux-tabs-advanced.cjs.entry.js +2 -2
  167. package/dist/cjs/gux-tabs.cjs.entry.js +2 -2
  168. package/dist/cjs/gux-tag.cjs.entry.js +5 -5
  169. package/dist/cjs/gux-text-highlight.cjs.entry.js +2 -2
  170. package/dist/cjs/gux-time-beta.cjs.entry.js +4 -4
  171. package/dist/cjs/gux-time-picker.cjs.entry.js +5 -5
  172. package/dist/cjs/gux-time-zone-beta.cjs.entry.js +4 -4
  173. package/dist/cjs/gux-time-zone-picker-beta.cjs.entry.js +5 -5
  174. package/dist/cjs/gux-toast.cjs.entry.js +2 -2
  175. package/dist/cjs/gux-toggle-slider.cjs.entry.js +1 -1
  176. package/dist/cjs/gux-toggle.cjs.entry.js +5 -5
  177. package/dist/cjs/gux-tooltip-base-beta_2.cjs.entry.js +2 -2
  178. package/dist/cjs/gux-tooltip-pointer-beta.cjs.entry.js +2 -2
  179. package/dist/cjs/gux-tooltip-title.cjs.entry.js +3 -3
  180. package/dist/cjs/gux-tooltip_2.cjs.entry.js +4 -4
  181. package/dist/cjs/gux-tree-beta.cjs.entry.js +3 -3
  182. package/dist/cjs/gux-tree-multi-beta.cjs.entry.js +3 -3
  183. package/dist/cjs/{gux-tree-multi.service-BFBspBvZ.js → gux-tree-multi.service-BMVYO4y1.js} +1 -1
  184. package/dist/cjs/{gux-tree.service-DM6q_PoD.js → gux-tree.service-DSfLZNH7.js} +1 -1
  185. package/dist/cjs/{index-CjUBUVCO.js → index-CnZZCg2E.js} +1 -1
  186. package/dist/cjs/index-DJ9HGtdZ.js +2759 -0
  187. package/dist/cjs/loader.cjs.js +1 -1
  188. package/dist/cjs/{on-click-outside-CXDzyPsA.js → on-click-outside-Cn9ProR4.js} +1 -1
  189. package/dist/cjs/{on-mutation-Bpt2qL-s.js → on-mutation-una8GcoZ.js} +1 -1
  190. package/dist/cjs/{on-resize-nisbdZkE.js → on-resize-BVaymqbW.js} +1 -1
  191. package/dist/cjs/{usage-AjULwro2.js → usage-Ypiicskt.js} +1 -1
  192. package/dist/collection/components/beta/gux-avatar/gux-avatar-change-photo/gux-avatar-change-photo.js +2 -2
  193. package/dist/collection/components/beta/gux-avatar/gux-avatar.js +3 -3
  194. package/dist/collection/components/beta/gux-avatar-group/gux-avatar-group-add-item/gux-avatar-group-add-item.js +2 -2
  195. package/dist/collection/components/beta/gux-calendar-beta/gux-calendar.js +2 -2
  196. package/dist/collection/components/beta/gux-cloud-logo/gux-cloud-logo.js +2 -2
  197. package/dist/collection/components/beta/gux-cloud-logomark/gux-cloud-logomark.js +2 -2
  198. package/dist/collection/components/beta/gux-date/gux-date.js +3 -3
  199. package/dist/collection/components/beta/gux-date-time/gux-date-time.js +3 -3
  200. package/dist/collection/components/beta/gux-day/gux-day.js +2 -2
  201. package/dist/collection/components/beta/gux-flag-icon/gux-flag-icon.js +2 -2
  202. package/dist/collection/components/beta/gux-inline-dropdown/gux-inline-dropdown.js +2 -2
  203. package/dist/collection/components/beta/gux-logo/gux-logo.js +4 -4
  204. package/dist/collection/components/beta/gux-logomark/gux-logomark.js +2 -2
  205. package/dist/collection/components/beta/gux-month-picker/gux-month-calendar/gux-month-calendar.js +2 -2
  206. package/dist/collection/components/beta/gux-month-picker/gux-month-picker.js +2 -2
  207. package/dist/collection/components/beta/gux-phone-input/gux-phone-input.js +2 -2
  208. package/dist/collection/components/beta/gux-prompt-input/gux-prompt-input-beta.js +3 -3
  209. package/dist/collection/components/beta/gux-rich-text-editor/gux-rich-text-editor-action/gux-rich-text-editor-action-link/gux-rich-text-editor-action-link.js +2 -2
  210. package/dist/collection/components/beta/gux-rich-text-editor/gux-rich-text-editor-action/gux-rich-text-editor-action-rich-style/gux-rich-text-editor-action-rich-style.js +2 -2
  211. package/dist/collection/components/beta/gux-rich-text-editor/gux-rich-text-editor-action/gux-rich-text-editor-action-text-highlight/gux-rich-text-editor-action-text-highlight.js +2 -2
  212. package/dist/collection/components/beta/gux-rich-text-editor/gux-rich-text-editor-action/gux-rich-text-editor-action.js +1 -1
  213. package/dist/collection/components/beta/gux-rich-text-editor/gux-rich-text-editor-beta.js +3 -3
  214. package/dist/collection/components/beta/gux-rich-text-editor/gux-rich-text-editor-list/gux-rich-highlight-list-item/gux-rich-highlight-list-item.js +3 -3
  215. package/dist/collection/components/beta/gux-rich-text-editor/gux-rich-text-editor-menu/gux-rich-text-editor-menu.js +2 -2
  216. package/dist/collection/components/beta/gux-time-zone/gux-time-zone.js +2 -2
  217. package/dist/collection/components/beta/gux-time-zone-picker/gux-time-zone-picker.js +3 -3
  218. package/dist/collection/components/legacy/gux-advanced-dropdown-legacy/gux-advanced-dropdown.js +3 -3
  219. package/dist/collection/components/legacy/gux-disclosure-button-legacy/gux-disclosure-button.js +3 -3
  220. package/dist/collection/components/legacy/gux-pagination-legacy/gux-pagination-buttons-legacy/gux-pagination-buttons.js +2 -2
  221. package/dist/collection/components/legacy/gux-pagination-legacy/gux-pagination-item-counts-legacy/gux-pagination-item-counts.js +3 -3
  222. package/dist/collection/components/legacy/gux-pagination-legacy/gux-pagination-items-per-page-legacy/gux-pagination-items-per-page.js +2 -2
  223. package/dist/collection/components/stable/gux-action-button/gux-action-button.js +2 -2
  224. package/dist/collection/components/stable/gux-badge/gux-badge.js +2 -2
  225. package/dist/collection/components/stable/gux-breadcrumbs/gux-breadcrumbs.js +2 -2
  226. package/dist/collection/components/stable/gux-calendar/gux-calendar.js +2 -2
  227. package/dist/collection/components/stable/gux-column-manager/gux-column-manager-item/gux-column-manager-item.js +4 -4
  228. package/dist/collection/components/stable/gux-column-manager/gux-column-manager.js +2 -2
  229. package/dist/collection/components/stable/gux-content-search/gux-content-search.js +3 -3
  230. package/dist/collection/components/stable/gux-context-menu/gux-context-menu.js +3 -3
  231. package/dist/collection/components/stable/gux-copy-to-clipboard/gux-copy-to-clipboard.js +2 -2
  232. package/dist/collection/components/stable/gux-datepicker/gux-datepicker.js +2 -2
  233. package/dist/collection/components/stable/gux-dismiss-button/gux-dismiss-button.js +3 -3
  234. package/dist/collection/components/stable/gux-dropdown/gux-dropdown.js +2 -2
  235. package/dist/collection/components/stable/gux-dropdown-multi/gux-dropdown-multi-tag/gux-dropdown-multi-tag.js +2 -2
  236. package/dist/collection/components/stable/gux-dropdown-multi/gux-dropdown-multi.js +2 -2
  237. package/dist/collection/components/stable/gux-flyout-menu/gux-flyout-menu.js +3 -3
  238. package/dist/collection/components/stable/gux-form-field/components/gux-form-field-checkbox-group/gux-form-field-checkbox-group.js +3 -3
  239. package/dist/collection/components/stable/gux-form-field/components/gux-form-field-dropdown/gux-form-field-dropdown.js +4 -4
  240. package/dist/collection/components/stable/gux-form-field/components/gux-form-field-file-beta/components/gux-file-list-item/gux-file-list-item.js +3 -3
  241. package/dist/collection/components/stable/gux-form-field/components/gux-form-field-file-beta/gux-form-field-file.js +2 -2
  242. package/dist/collection/components/stable/gux-form-field/components/gux-form-field-number/gux-form-field-number.js +4 -4
  243. package/dist/collection/components/stable/gux-form-field/components/gux-form-field-phone/gux-form-field-phone.js +5 -5
  244. package/dist/collection/components/stable/gux-form-field/components/gux-form-field-radio-group/gux-form-field-radio-group.js +3 -3
  245. package/dist/collection/components/stable/gux-form-field/components/gux-form-field-time-picker/gux-form-field-time-picker.js +5 -5
  246. package/dist/collection/components/stable/gux-form-field/components/gux-form-field-time-zone-picker/gux-form-field-time-zone-picker.js +4 -4
  247. package/dist/collection/components/stable/gux-form-field/helper-components/gux-form-field-input-clear-button/gux-form-field-input-clear-button.js +2 -2
  248. package/dist/collection/components/stable/gux-form-field/helper-components/gux-form-field-label-indicator/gux-form-field-label-indicator.js +1 -1
  249. package/dist/collection/components/stable/gux-inline-alert/gux-inline-alert.js +3 -3
  250. package/dist/collection/components/stable/gux-listbox/gux-listbox.js +1 -1
  251. package/dist/collection/components/stable/gux-listbox-multi/gux-create-option/gux-create-option.js +3 -3
  252. package/dist/collection/components/stable/gux-listbox-multi/gux-listbox-multi.js +1 -1
  253. package/dist/collection/components/stable/gux-listbox-multi/gux-option-multi/gux-option-multi.js +3 -3
  254. package/dist/collection/components/stable/gux-listbox-multi/gux-select-all/gux-select-all.js +3 -3
  255. package/dist/collection/components/stable/gux-pagination/gux-pagination-buttons/gux-pagination-buttons.js +2 -2
  256. package/dist/collection/components/stable/gux-pagination/gux-pagination-buttons/gux-pagination-ellipsis-button/gux-pagination-ellipsis-button.js +5 -5
  257. package/dist/collection/components/stable/gux-pagination/gux-pagination-item-counts/gux-pagination-item-counts.js +3 -3
  258. package/dist/collection/components/stable/gux-pagination/gux-pagination-items-per-page/gux-pagination-items-per-page.js +2 -2
  259. package/dist/collection/components/stable/gux-pagination-cursor/gux-pagination-cursor.js +1 -1
  260. package/dist/collection/components/stable/gux-radial-loading/gux-radial-loading.js +2 -2
  261. package/dist/collection/components/stable/gux-rating/gux-rating.js +2 -2
  262. package/dist/collection/components/stable/gux-skip-navigation-list/gux-skip-navigation-list.js +2 -2
  263. package/dist/collection/components/stable/gux-table/gux-all-row-select/gux-all-row-select.js +2 -2
  264. package/dist/collection/components/stable/gux-table/gux-row-select/gux-row-select.js +3 -3
  265. package/dist/collection/components/stable/gux-table/gux-sort-control/gux-sort-control.js +3 -3
  266. package/dist/collection/components/stable/gux-table/gux-table-select-menu/gux-table-select-menu.js +2 -2
  267. package/dist/collection/components/stable/gux-table/gux-table.js +2 -2
  268. package/dist/collection/components/stable/gux-table-toolbar/gux-table-toolbar-menu-button/gux-table-toolbar-menu-button.js +2 -2
  269. package/dist/collection/components/stable/gux-tabs/gux-tab-list/gux-tab-list.js +3 -3
  270. package/dist/collection/components/stable/gux-tabs-advanced/gux-tab-advanced/gux-tab-advanced.js +3 -3
  271. package/dist/collection/components/stable/gux-tabs-advanced/gux-tab-advanced-list/gux-tab-advanced-list.js +2 -2
  272. package/dist/collection/components/stable/gux-tag/gux-tag.js +2 -2
  273. package/dist/collection/components/stable/gux-time-picker/gux-time-picker.js +2 -2
  274. package/dist/collection/components/stable/gux-time-picker/gux-time-picker.service.js +1 -1
  275. package/dist/collection/components/stable/gux-toggle/gux-toggle.js +3 -3
  276. package/dist/esm/genesys-webcomponents.js +2 -2
  277. package/dist/esm/{get-valid-timezone-LDHU1yLM.js → get-valid-timezone-BwWDgKs2.js} +1 -1
  278. package/dist/esm/gux-accordion-section.entry.js +1 -1
  279. package/dist/esm/gux-accordion.entry.js +2 -2
  280. package/dist/esm/gux-action-button.entry.js +5 -5
  281. package/dist/esm/gux-action-toast-legacy.entry.js +2 -2
  282. package/dist/esm/gux-advanced-dropdown-legacy.entry.js +6 -6
  283. package/dist/esm/gux-all-row-select.entry.js +3 -3
  284. package/dist/esm/gux-announce-beta.entry.js +2 -2
  285. package/dist/esm/gux-avatar-beta.entry.js +5 -5
  286. package/dist/esm/gux-avatar-change-photo-beta.entry.js +4 -4
  287. package/dist/esm/gux-avatar-focusable-beta.entry.js +1 -1
  288. package/dist/esm/gux-avatar-group-add-item-beta_3.entry.js +5 -5
  289. package/dist/esm/gux-avatar-group-beta.entry.js +2 -2
  290. package/dist/esm/gux-avatar-group-item-beta.entry.js +2 -2
  291. package/dist/esm/gux-badge.entry.js +5 -5
  292. package/dist/esm/gux-blank-state-beta.entry.js +3 -3
  293. package/dist/esm/gux-blank-state.entry.js +3 -3
  294. package/dist/esm/gux-branch-multi.entry.js +2 -2
  295. package/dist/esm/gux-branch.entry.js +2 -2
  296. package/dist/esm/gux-breadcrumb-item.entry.js +1 -1
  297. package/dist/esm/gux-breadcrumbs.entry.js +4 -4
  298. package/dist/esm/gux-button-multi.entry.js +3 -3
  299. package/dist/esm/gux-button-slot.entry.js +2 -2
  300. package/dist/esm/gux-button_2.entry.js +3 -3
  301. package/dist/esm/gux-calendar-beta.entry.js +3 -3
  302. package/dist/esm/gux-calendar.entry.js +4 -4
  303. package/dist/esm/gux-card.entry.js +2 -2
  304. package/dist/esm/gux-cloud-logo-beta.entry.js +4 -4
  305. package/dist/esm/gux-cloud-logomark-beta.entry.js +4 -4
  306. package/dist/esm/gux-column-manager-item.entry.js +5 -5
  307. package/dist/esm/gux-column-manager.entry.js +4 -4
  308. package/dist/esm/gux-content-search.entry.js +5 -5
  309. package/dist/esm/gux-context-menu.entry.js +6 -6
  310. package/dist/esm/gux-copy-to-clipboard.entry.js +4 -4
  311. package/dist/esm/gux-create-option.entry.js +4 -4
  312. package/dist/esm/gux-cta-group.entry.js +1 -1
  313. package/dist/esm/gux-date-beta.entry.js +5 -5
  314. package/dist/esm/gux-date-time-beta.entry.js +5 -5
  315. package/dist/esm/gux-datepicker.entry.js +5 -5
  316. package/dist/esm/gux-day-beta.entry.js +3 -3
  317. package/dist/esm/gux-disclosure-button-legacy.entry.js +5 -5
  318. package/dist/esm/gux-dismiss-button.entry.js +5 -5
  319. package/dist/esm/gux-dropdown-multi-tag.entry.js +3 -3
  320. package/dist/esm/gux-dropdown-multi.entry.js +6 -6
  321. package/dist/esm/gux-dropdown-option.entry.js +1 -1
  322. package/dist/esm/gux-dropdown_3.entry.js +6 -6
  323. package/dist/esm/gux-file-list-item.entry.js +5 -5
  324. package/dist/esm/gux-flag-icon-beta.entry.js +4 -4
  325. package/dist/esm/gux-flyout-menu.entry.js +5 -5
  326. package/dist/esm/gux-form-beta.entry.js +1 -1
  327. package/dist/esm/gux-form-description.entry.js +1 -1
  328. package/dist/esm/gux-form-field-checkbox-group-beta.entry.js +8 -8
  329. package/dist/esm/gux-form-field-checkbox.entry.js +4 -4
  330. package/dist/esm/gux-form-field-color.entry.js +5 -5
  331. package/dist/esm/{gux-form-field-container-Dp9t605U.js → gux-form-field-container-CFRZ4efk.js} +1 -1
  332. package/dist/esm/gux-form-field-dropdown.entry.js +9 -9
  333. package/dist/esm/{gux-form-field-error-CUxY2-XD.js → gux-form-field-error-DqC53Y19.js} +1 -1
  334. package/dist/esm/{gux-form-field-fieldset-container-BT88yCp7.js → gux-form-field-fieldset-container-DgG_S0vs.js} +1 -1
  335. package/dist/esm/gux-form-field-file-beta.entry.js +7 -7
  336. package/dist/esm/gux-form-field-file.entry.js +5 -5
  337. package/dist/esm/gux-form-field-input-clear-button.entry.js +4 -4
  338. package/dist/esm/gux-form-field-label-indicator.entry.js +3 -3
  339. package/dist/esm/gux-form-field-number_2.entry.js +14 -14
  340. package/dist/esm/gux-form-field-phone.entry.js +10 -10
  341. package/dist/esm/gux-form-field-radio-group-beta.entry.js +8 -8
  342. package/dist/esm/gux-form-field-radio.entry.js +4 -4
  343. package/dist/esm/gux-form-field-range.entry.js +6 -6
  344. package/dist/esm/gux-form-field-search.entry.js +5 -5
  345. package/dist/esm/gux-form-field-select.entry.js +5 -5
  346. package/dist/esm/gux-form-field-text-like.entry.js +5 -5
  347. package/dist/esm/gux-form-field-textarea.entry.js +5 -5
  348. package/dist/esm/gux-form-field-time-picker.entry.js +10 -10
  349. package/dist/esm/gux-form-field-time-zone-picker.entry.js +9 -9
  350. package/dist/esm/gux-form-fieldset-heading.entry.js +1 -1
  351. package/dist/esm/gux-form-footer.entry.js +2 -2
  352. package/dist/esm/gux-form-heading.entry.js +1 -1
  353. package/dist/esm/gux-icon-tooltip-beta.entry.js +2 -2
  354. package/dist/esm/gux-icon.entry.js +2 -2
  355. package/dist/esm/gux-illustration-beta.entry.js +2 -2
  356. package/dist/esm/gux-inline-alert.entry.js +5 -5
  357. package/dist/esm/gux-inline-dropdown-beta.entry.js +6 -6
  358. package/dist/esm/gux-label-info-beta.entry.js +2 -2
  359. package/dist/esm/gux-leaf-multi.entry.js +2 -2
  360. package/dist/esm/gux-leaf.entry.js +2 -2
  361. package/dist/esm/gux-link-beta.entry.js +2 -2
  362. package/dist/esm/gux-list-divider.entry.js +1 -1
  363. package/dist/esm/gux-list-item.entry.js +1 -1
  364. package/dist/esm/gux-list.entry.js +2 -2
  365. package/dist/esm/gux-listbox-multi.entry.js +4 -4
  366. package/dist/esm/gux-loading-message.entry.js +2 -2
  367. package/dist/esm/gux-logo-beta.entry.js +6 -6
  368. package/dist/esm/gux-logomark-beta.entry.js +4 -4
  369. package/dist/esm/gux-menu-option.entry.js +1 -1
  370. package/dist/esm/gux-menu.entry.js +1 -1
  371. package/dist/esm/gux-modal-legacy.entry.js +2 -2
  372. package/dist/esm/gux-modal-side-panel-beta.entry.js +2 -2
  373. package/dist/esm/gux-modal.entry.js +2 -2
  374. package/dist/esm/gux-month-calendar.entry.js +3 -3
  375. package/dist/esm/gux-month-list_2.entry.js +1 -1
  376. package/dist/esm/gux-month-picker-beta.entry.js +5 -5
  377. package/dist/esm/gux-notification-toast-legacy.entry.js +2 -2
  378. package/dist/esm/gux-option-group-beta.entry.js +1 -1
  379. package/dist/esm/gux-option-icon.entry.js +1 -1
  380. package/dist/esm/gux-option-multi.entry.js +4 -4
  381. package/dist/esm/gux-option-status-beta.entry.js +1 -1
  382. package/dist/esm/gux-page-loading-spinner.entry.js +2 -2
  383. package/dist/esm/gux-pagination-buttons-legacy_3.entry.js +6 -6
  384. package/dist/esm/gux-pagination-buttons_2.entry.js +5 -5
  385. package/dist/esm/gux-pagination-cursor.entry.js +3 -3
  386. package/dist/esm/gux-pagination-items-per-page.entry.js +3 -3
  387. package/dist/esm/gux-pagination-legacy.entry.js +2 -2
  388. package/dist/esm/gux-pagination.entry.js +2 -2
  389. package/dist/esm/gux-phone-input-beta.entry.js +5 -5
  390. package/dist/esm/gux-popover-beta.entry.js +3 -3
  391. package/dist/esm/gux-popover-list-beta.entry.js +3 -3
  392. package/dist/esm/gux-popover-list.entry.js +3 -3
  393. package/dist/esm/gux-popup.entry.js +1 -1
  394. package/dist/esm/gux-prompt-input-beta.entry.js +5 -5
  395. package/dist/esm/gux-radial-loading.entry.js +4 -4
  396. package/dist/esm/gux-radial-progress.entry.js +2 -2
  397. package/dist/esm/gux-rating.entry.js +5 -5
  398. package/dist/esm/gux-rich-highlight-list-item.entry.js +5 -5
  399. package/dist/esm/gux-rich-style-list-item_3.entry.js +5 -5
  400. package/dist/esm/gux-rich-text-editor-action-group.entry.js +1 -1
  401. package/dist/esm/gux-rich-text-editor-action-link.entry.js +5 -5
  402. package/dist/esm/gux-rich-text-editor-action-rich-style.entry.js +5 -5
  403. package/dist/esm/gux-rich-text-editor-action-text-highlight.entry.js +5 -5
  404. package/dist/esm/gux-rich-text-editor-action.entry.js +3 -3
  405. package/dist/esm/gux-rich-text-editor-beta.entry.js +7 -7
  406. package/dist/esm/gux-rich-text-editor-list.entry.js +2 -2
  407. package/dist/esm/gux-row-select.entry.js +4 -4
  408. package/dist/esm/gux-screen-reader-beta.entry.js +2 -2
  409. package/dist/esm/gux-segmented-control-beta.entry.js +2 -2
  410. package/dist/esm/gux-segmented-control-divider.entry.js +1 -1
  411. package/dist/esm/gux-segmented-control-item.entry.js +1 -1
  412. package/dist/esm/gux-select-all.entry.js +4 -4
  413. package/dist/esm/gux-selector-card-beta.entry.js +2 -2
  414. package/dist/esm/gux-selector-cards-beta.entry.js +2 -2
  415. package/dist/esm/gux-side-panel-beta.entry.js +2 -2
  416. package/dist/esm/gux-side-panel-header.entry.js +2 -2
  417. package/dist/esm/gux-side-panel-heading.entry.js +2 -2
  418. package/dist/esm/gux-simple-toast-legacy.entry.js +2 -2
  419. package/dist/esm/gux-skip-navigation-item.entry.js +1 -1
  420. package/dist/esm/gux-skip-navigation-list.entry.js +4 -4
  421. package/dist/esm/gux-sort-control.entry.js +5 -5
  422. package/dist/esm/gux-status-indicator-beta.entry.js +2 -2
  423. package/dist/esm/gux-step-title.entry.js +2 -2
  424. package/dist/esm/gux-step.entry.js +2 -2
  425. package/dist/esm/gux-stepper-beta.entry.js +2 -2
  426. package/dist/esm/gux-submenu.entry.js +1 -1
  427. package/dist/esm/gux-switch-item.entry.js +1 -1
  428. package/dist/esm/gux-switch-legacy.entry.js +2 -2
  429. package/dist/esm/gux-tab-advanced-list.entry.js +4 -4
  430. package/dist/esm/gux-tab-advanced-panel.entry.js +1 -1
  431. package/dist/esm/gux-tab-advanced.entry.js +4 -4
  432. package/dist/esm/gux-tab-list.entry.js +5 -5
  433. package/dist/esm/gux-tab-panel.entry.js +1 -1
  434. package/dist/esm/gux-tab.entry.js +1 -1
  435. package/dist/esm/gux-table-select-menu.entry.js +3 -3
  436. package/dist/esm/gux-table-toolbar-action.entry.js +3 -3
  437. package/dist/esm/gux-table-toolbar-custom-action.entry.js +2 -2
  438. package/dist/esm/gux-table-toolbar-menu-button.entry.js +5 -5
  439. package/dist/esm/gux-table-toolbar.entry.js +4 -4
  440. package/dist/esm/gux-table.entry.js +4 -4
  441. package/dist/esm/gux-tabs-advanced.entry.js +2 -2
  442. package/dist/esm/gux-tabs.entry.js +2 -2
  443. package/dist/esm/gux-tag.entry.js +5 -5
  444. package/dist/esm/gux-text-highlight.entry.js +2 -2
  445. package/dist/esm/gux-time-beta.entry.js +4 -4
  446. package/dist/esm/gux-time-picker.entry.js +5 -5
  447. package/dist/esm/gux-time-zone-beta.entry.js +4 -4
  448. package/dist/esm/gux-time-zone-picker-beta.entry.js +5 -5
  449. package/dist/esm/gux-toast.entry.js +2 -2
  450. package/dist/esm/gux-toggle-slider.entry.js +1 -1
  451. package/dist/esm/gux-toggle.entry.js +5 -5
  452. package/dist/esm/gux-tooltip-base-beta_2.entry.js +2 -2
  453. package/dist/esm/gux-tooltip-pointer-beta.entry.js +2 -2
  454. package/dist/esm/gux-tooltip-title.entry.js +3 -3
  455. package/dist/esm/gux-tooltip_2.entry.js +4 -4
  456. package/dist/esm/gux-tree-beta.entry.js +3 -3
  457. package/dist/esm/gux-tree-multi-beta.entry.js +3 -3
  458. package/dist/esm/{gux-tree-multi.service-BLZ1mRfa.js → gux-tree-multi.service-CEhOBcZd.js} +1 -1
  459. package/dist/esm/{gux-tree.service-BDeQhvUY.js → gux-tree.service-DG8xt8RZ.js} +1 -1
  460. package/dist/esm/{index-BcJFUYIV.js → index-CeE4Vvh6.js} +1 -1
  461. package/dist/esm/index-mm833MRp.js +2727 -0
  462. package/dist/esm/loader.js +2 -2
  463. package/dist/esm/{on-click-outside-CQ9-ZPII.js → on-click-outside-BDKZueG1.js} +1 -1
  464. package/dist/esm/{on-mutation-CEhI74kI.js → on-mutation-BAeUmzgF.js} +1 -1
  465. package/dist/esm/{on-resize-BzUqKdDk.js → on-resize-ByRtFU8p.js} +1 -1
  466. package/dist/esm/{usage-Rs2JRIbr.js → usage-Bk9hX_6O.js} +1 -1
  467. package/dist/genesys-webcomponents/genesys-webcomponents-legacy.css +1 -1
  468. package/dist/genesys-webcomponents/genesys-webcomponents.css +9 -9
  469. package/dist/genesys-webcomponents/genesys-webcomponents.esm.js +1 -1
  470. package/dist/genesys-webcomponents/{p-6b824fd9.entry.js → p-013e3c33.entry.js} +1 -1
  471. package/dist/genesys-webcomponents/{p-604b2744.entry.js → p-024c5bd7.entry.js} +1 -1
  472. package/dist/genesys-webcomponents/{p-7d44c65c.entry.js → p-03897c15.entry.js} +1 -1
  473. package/dist/genesys-webcomponents/{p-1143e67a.entry.js → p-04431ed6.entry.js} +1 -1
  474. package/dist/genesys-webcomponents/p-09146dba.entry.js +1 -0
  475. package/dist/genesys-webcomponents/{p-735e8911.entry.js → p-091f39f1.entry.js} +1 -1
  476. package/dist/genesys-webcomponents/{p-d6bab5ee.entry.js → p-09649590.entry.js} +1 -1
  477. package/dist/genesys-webcomponents/{p-85ac0d64.entry.js → p-09de7dec.entry.js} +1 -1
  478. package/dist/genesys-webcomponents/{p-4f987d3f.entry.js → p-09f33fd5.entry.js} +1 -1
  479. package/dist/genesys-webcomponents/{p-3de77c0a.entry.js → p-0cbff9e9.entry.js} +1 -1
  480. package/dist/genesys-webcomponents/p-0dacef46.entry.js +1 -0
  481. package/dist/genesys-webcomponents/{p-9194b48f.entry.js → p-0f3b84f0.entry.js} +1 -1
  482. package/dist/genesys-webcomponents/{p-DTOY_vUZ.js → p-0tG-lFhH.js} +1 -1
  483. package/dist/genesys-webcomponents/{p-9d5748bc.entry.js → p-10260c86.entry.js} +1 -1
  484. package/dist/genesys-webcomponents/{p-4e7ebeb5.entry.js → p-149c0790.entry.js} +1 -1
  485. package/dist/genesys-webcomponents/{p-3fb0d661.entry.js → p-15694ab7.entry.js} +1 -1
  486. package/dist/genesys-webcomponents/{p-e79a1499.entry.js → p-15f3a969.entry.js} +1 -1
  487. package/dist/genesys-webcomponents/{p-6b60a5ab.entry.js → p-163b7982.entry.js} +1 -1
  488. package/dist/genesys-webcomponents/{p-6b9009ab.entry.js → p-189457b6.entry.js} +1 -1
  489. package/dist/genesys-webcomponents/{p-5ad94ac4.entry.js → p-18a14293.entry.js} +1 -1
  490. package/dist/genesys-webcomponents/{p-9e128581.entry.js → p-19040d1c.entry.js} +1 -1
  491. package/dist/genesys-webcomponents/{p-14e0a23c.entry.js → p-1a6f96bc.entry.js} +1 -1
  492. package/dist/genesys-webcomponents/{p-80796be1.entry.js → p-1bd94bc5.entry.js} +1 -1
  493. package/dist/genesys-webcomponents/{p-e2a61aa7.entry.js → p-1c41349d.entry.js} +1 -1
  494. package/dist/genesys-webcomponents/{p-ecf7e943.entry.js → p-1d3ebb8c.entry.js} +1 -1
  495. package/dist/genesys-webcomponents/{p-2ca39314.entry.js → p-1ff8c4dc.entry.js} +1 -1
  496. package/dist/genesys-webcomponents/p-1mmdDpx8.js +1 -0
  497. package/dist/genesys-webcomponents/{p-511680eb.entry.js → p-20c7d0fb.entry.js} +1 -1
  498. package/dist/genesys-webcomponents/{p-6143f5e6.entry.js → p-2236e4f5.entry.js} +1 -1
  499. package/dist/genesys-webcomponents/{p-68e1a751.entry.js → p-2501d280.entry.js} +1 -1
  500. package/dist/genesys-webcomponents/{p-f0adb667.entry.js → p-250391fe.entry.js} +1 -1
  501. package/dist/genesys-webcomponents/{p-ca5895ae.entry.js → p-2661b07e.entry.js} +1 -1
  502. package/dist/genesys-webcomponents/p-2a98b607.entry.js +1 -0
  503. package/dist/genesys-webcomponents/{p-2d995ba2.entry.js → p-2d2af6d1.entry.js} +1 -1
  504. package/dist/genesys-webcomponents/{p-388c0bf5.entry.js → p-2ed010a8.entry.js} +1 -1
  505. package/dist/genesys-webcomponents/{p-d044fae7.entry.js → p-2fcc608f.entry.js} +1 -1
  506. package/dist/genesys-webcomponents/{p-793f4896.entry.js → p-321d85f8.entry.js} +1 -1
  507. package/dist/genesys-webcomponents/{p-da6fd610.entry.js → p-32f17393.entry.js} +1 -1
  508. package/dist/genesys-webcomponents/{p-df07b95c.entry.js → p-349f1afa.entry.js} +1 -1
  509. package/dist/genesys-webcomponents/{p-594ea8d2.entry.js → p-34c655eb.entry.js} +1 -1
  510. package/dist/genesys-webcomponents/{p-ee016e6f.entry.js → p-367ea289.entry.js} +1 -1
  511. package/dist/genesys-webcomponents/{p-fba7d262.entry.js → p-36af37ae.entry.js} +1 -1
  512. package/dist/genesys-webcomponents/{p-4e78c189.entry.js → p-37b38bcc.entry.js} +1 -1
  513. package/dist/genesys-webcomponents/{p-1e7418da.entry.js → p-38fc0f14.entry.js} +1 -1
  514. package/dist/genesys-webcomponents/{p-915f735e.entry.js → p-3d4ebed0.entry.js} +1 -1
  515. package/dist/genesys-webcomponents/p-3e50360d.entry.js +1 -0
  516. package/dist/genesys-webcomponents/p-3e898719.entry.js +1 -0
  517. package/dist/genesys-webcomponents/{p-69f74026.entry.js → p-3ecb4060.entry.js} +1 -1
  518. package/dist/genesys-webcomponents/{p-b9687ebc.entry.js → p-4350f7bc.entry.js} +1 -1
  519. package/dist/genesys-webcomponents/{p-76413a19.entry.js → p-4485df35.entry.js} +1 -1
  520. package/dist/genesys-webcomponents/{p-d4b9fb68.entry.js → p-459e19df.entry.js} +1 -1
  521. package/dist/genesys-webcomponents/{p-4d4a75d3.entry.js → p-47ba2493.entry.js} +1 -1
  522. package/dist/genesys-webcomponents/p-487b8a7f.entry.js +1 -0
  523. package/dist/genesys-webcomponents/{p-4824adb4.entry.js → p-4b5e919b.entry.js} +1 -1
  524. package/dist/genesys-webcomponents/{p-f8b08e9b.entry.js → p-4c2f1433.entry.js} +1 -1
  525. package/dist/genesys-webcomponents/{p-19e601ac.entry.js → p-4d4de998.entry.js} +1 -1
  526. package/dist/genesys-webcomponents/{p-0138cf91.entry.js → p-4d7bea11.entry.js} +1 -1
  527. package/dist/genesys-webcomponents/{p-8928dc71.entry.js → p-4e5d7bcb.entry.js} +1 -1
  528. package/dist/genesys-webcomponents/{p-817e1c7c.entry.js → p-51afd986.entry.js} +1 -1
  529. package/dist/genesys-webcomponents/p-53a84f93.entry.js +1 -0
  530. package/dist/genesys-webcomponents/{p-1b629207.entry.js → p-545bc747.entry.js} +1 -1
  531. package/dist/genesys-webcomponents/{p-5f8eab1d.entry.js → p-54608dba.entry.js} +1 -1
  532. package/dist/genesys-webcomponents/{p-f61405e3.entry.js → p-56eefc7c.entry.js} +1 -1
  533. package/dist/genesys-webcomponents/{p-529d0936.entry.js → p-581d8bab.entry.js} +1 -1
  534. package/dist/genesys-webcomponents/{p-b2fe2d58.entry.js → p-5826fdec.entry.js} +1 -1
  535. package/dist/genesys-webcomponents/{p-2751551a.entry.js → p-5a6accac.entry.js} +1 -1
  536. package/dist/genesys-webcomponents/p-5cc0dc7b.entry.js +1 -0
  537. package/dist/genesys-webcomponents/{p-5966f299.entry.js → p-5cff9d1c.entry.js} +1 -1
  538. package/dist/genesys-webcomponents/{p-d76e2e8b.entry.js → p-5d8114f4.entry.js} +1 -1
  539. package/dist/genesys-webcomponents/{p-dd86e60a.entry.js → p-5e6a3b79.entry.js} +1 -1
  540. package/dist/genesys-webcomponents/{p-ada55ecc.entry.js → p-5f4d960f.entry.js} +1 -1
  541. package/dist/genesys-webcomponents/{p-cb7016bc.entry.js → p-6111e683.entry.js} +1 -1
  542. package/dist/genesys-webcomponents/{p-c730f729.entry.js → p-6419f6ef.entry.js} +1 -1
  543. package/dist/genesys-webcomponents/{p-bbdee0aa.entry.js → p-64b8f3c0.entry.js} +1 -1
  544. package/dist/genesys-webcomponents/p-6747cb6b.entry.js +1 -0
  545. package/dist/genesys-webcomponents/{p-0689c05f.entry.js → p-67ae6c31.entry.js} +1 -1
  546. package/dist/genesys-webcomponents/{p-02c0c8bd.entry.js → p-682398bc.entry.js} +1 -1
  547. package/dist/genesys-webcomponents/p-686a3f3c.entry.js +1 -0
  548. package/dist/genesys-webcomponents/{p-13ad07ed.entry.js → p-68826892.entry.js} +1 -1
  549. package/dist/genesys-webcomponents/{p-97f44251.entry.js → p-6b20aa19.entry.js} +1 -1
  550. package/dist/genesys-webcomponents/{p-4583ad97.entry.js → p-71d25073.entry.js} +1 -1
  551. package/dist/genesys-webcomponents/{p-c65a772e.entry.js → p-72be9416.entry.js} +1 -1
  552. package/dist/genesys-webcomponents/{p-6673b677.entry.js → p-73b5d09a.entry.js} +1 -1
  553. package/dist/genesys-webcomponents/p-7421a1b7.entry.js +1 -0
  554. package/dist/genesys-webcomponents/{p-5f8fb9e7.entry.js → p-743e60e7.entry.js} +1 -1
  555. package/dist/genesys-webcomponents/{p-c4f46959.entry.js → p-777c1a9e.entry.js} +1 -1
  556. package/dist/genesys-webcomponents/{p-d3c8b3f6.entry.js → p-77ddb8e9.entry.js} +1 -1
  557. package/dist/genesys-webcomponents/{p-116b0969.entry.js → p-77e16378.entry.js} +1 -1
  558. package/dist/genesys-webcomponents/p-780e2bbc.entry.js +1 -0
  559. package/dist/genesys-webcomponents/{p-51363810.entry.js → p-78e4a090.entry.js} +1 -1
  560. package/dist/genesys-webcomponents/p-791c159e.entry.js +1 -0
  561. package/dist/genesys-webcomponents/p-7a1645fa.entry.js +1 -0
  562. package/dist/genesys-webcomponents/{p-89ea2249.entry.js → p-7a3b6441.entry.js} +1 -1
  563. package/dist/genesys-webcomponents/{p-80c1b60d.entry.js → p-7b4ccc02.entry.js} +1 -1
  564. package/dist/genesys-webcomponents/{p-2c696396.entry.js → p-82f103c4.entry.js} +1 -1
  565. package/dist/genesys-webcomponents/{p-41f2f980.entry.js → p-85aa96c9.entry.js} +1 -1
  566. package/dist/genesys-webcomponents/{p-a602ddd7.entry.js → p-869cbfef.entry.js} +1 -1
  567. package/dist/genesys-webcomponents/p-873a4971.entry.js +1 -0
  568. package/dist/genesys-webcomponents/{p-7c30b05d.entry.js → p-8a7fe03e.entry.js} +1 -1
  569. package/dist/genesys-webcomponents/{p-e6c4c61a.entry.js → p-8a91eb6a.entry.js} +1 -1
  570. package/dist/genesys-webcomponents/{p-9aba9db8.entry.js → p-8ba208a6.entry.js} +1 -1
  571. package/dist/genesys-webcomponents/{p-654484f4.entry.js → p-8d6ed0bb.entry.js} +1 -1
  572. package/dist/genesys-webcomponents/{p-88c3eac2.entry.js → p-90110fb2.entry.js} +1 -1
  573. package/dist/genesys-webcomponents/{p-82b24a37.entry.js → p-951e0b12.entry.js} +1 -1
  574. package/dist/genesys-webcomponents/{p-542efa61.entry.js → p-9607d0ae.entry.js} +1 -1
  575. package/dist/genesys-webcomponents/{p-5b476ecb.entry.js → p-96e984bd.entry.js} +1 -1
  576. package/dist/genesys-webcomponents/{p-a92ac07f.entry.js → p-98004717.entry.js} +1 -1
  577. package/dist/genesys-webcomponents/p-981cdb0b.entry.js +1 -0
  578. package/dist/genesys-webcomponents/{p-804b04f3.entry.js → p-9840f9d8.entry.js} +1 -1
  579. package/dist/genesys-webcomponents/p-99e2e425.entry.js +1 -0
  580. package/dist/genesys-webcomponents/{p-455e5b12.entry.js → p-9a096d50.entry.js} +1 -1
  581. package/dist/genesys-webcomponents/p-9a329638.entry.js +1 -0
  582. package/dist/genesys-webcomponents/{p-6dbe33e3.entry.js → p-9bfab72c.entry.js} +1 -1
  583. package/dist/genesys-webcomponents/p-9e7c72ef.entry.js +1 -0
  584. package/dist/genesys-webcomponents/{p-eee9623f.entry.js → p-9eaaa1c0.entry.js} +1 -1
  585. package/dist/genesys-webcomponents/{p-af889d1b.entry.js → p-9f492956.entry.js} +1 -1
  586. package/dist/genesys-webcomponents/{p-Rs2JRIbr.js → p-Bk9hX_6O.js} +1 -1
  587. package/dist/genesys-webcomponents/{p-kyGdOoF4.js → p-BkM3RdTO.js} +1 -1
  588. package/dist/genesys-webcomponents/{p-CuKTBQuB.js → p-Bxg2lxW0.js} +1 -1
  589. package/dist/genesys-webcomponents/{p-BS-Yw6fq.js → p-CoPBSWau.js} +1 -1
  590. package/dist/genesys-webcomponents/{p-BvVMx5eW.js → p-CuMZPTZF.js} +1 -1
  591. package/dist/genesys-webcomponents/{p-DcL3bWH_.js → p-D7iHtfrY.js} +1 -1
  592. package/dist/genesys-webcomponents/{p-5GSd1tCA.js → p-DR1RHELj.js} +1 -1
  593. package/dist/genesys-webcomponents/{p-D1QZQXQN.js → p-D_8CR3cJ.js} +1 -1
  594. package/dist/genesys-webcomponents/{p-hPZIPnvb.js → p-KbW44rlb.js} +1 -1
  595. package/dist/genesys-webcomponents/{p-c24d26bd.entry.js → p-a4d41223.entry.js} +1 -1
  596. package/dist/genesys-webcomponents/{p-abd41a0a.entry.js → p-a6077763.entry.js} +1 -1
  597. package/dist/genesys-webcomponents/{p-6ced25e5.entry.js → p-abb54abc.entry.js} +1 -1
  598. package/dist/genesys-webcomponents/{p-a1fd1b76.entry.js → p-abfec18e.entry.js} +1 -1
  599. package/dist/genesys-webcomponents/{p-daeb7b3d.entry.js → p-ac905094.entry.js} +1 -1
  600. package/dist/genesys-webcomponents/p-ade4ba99.entry.js +1 -0
  601. package/dist/genesys-webcomponents/{p-6af9c429.entry.js → p-ae3a0ed8.entry.js} +1 -1
  602. package/dist/genesys-webcomponents/{p-a47e8d79.entry.js → p-ae67f863.entry.js} +1 -1
  603. package/dist/genesys-webcomponents/{p-a19435f2.entry.js → p-aff0c154.entry.js} +1 -1
  604. package/dist/genesys-webcomponents/{p-4109c6f3.entry.js → p-b2d1ecce.entry.js} +1 -1
  605. package/dist/genesys-webcomponents/{p-d481cd97.entry.js → p-b3e3f1ec.entry.js} +1 -1
  606. package/dist/genesys-webcomponents/{p-8a7d7ab8.entry.js → p-b6e80839.entry.js} +1 -1
  607. package/dist/genesys-webcomponents/{p-c4aa7007.entry.js → p-b892cde5.entry.js} +1 -1
  608. package/dist/genesys-webcomponents/{p-c7c698a3.entry.js → p-b98a9f78.entry.js} +1 -1
  609. package/dist/genesys-webcomponents/{p-e8b1acf8.entry.js → p-bad949b8.entry.js} +1 -1
  610. package/dist/genesys-webcomponents/p-bb323488.entry.js +1 -0
  611. package/dist/genesys-webcomponents/{p-a5b09cd4.entry.js → p-bc6e07cf.entry.js} +1 -1
  612. package/dist/genesys-webcomponents/{p-56600163.entry.js → p-bef8cc12.entry.js} +1 -1
  613. package/dist/genesys-webcomponents/{p-211b4081.entry.js → p-c1db307f.entry.js} +1 -1
  614. package/dist/genesys-webcomponents/{p-abaf39a1.entry.js → p-c2d2430e.entry.js} +1 -1
  615. package/dist/genesys-webcomponents/{p-7aa3759d.entry.js → p-c4dee7b9.entry.js} +1 -1
  616. package/dist/genesys-webcomponents/{p-56914068.entry.js → p-ca64f653.entry.js} +1 -1
  617. package/dist/genesys-webcomponents/{p-7c0e93f8.entry.js → p-cd893268.entry.js} +1 -1
  618. package/dist/genesys-webcomponents/{p-7c2f239e.entry.js → p-cdb721d8.entry.js} +1 -1
  619. package/dist/genesys-webcomponents/p-cedfa7c0.entry.js +1 -0
  620. package/dist/genesys-webcomponents/{p-14c696cd.entry.js → p-cf318744.entry.js} +1 -1
  621. package/dist/genesys-webcomponents/{p-c2ba0289.entry.js → p-d219d656.entry.js} +1 -1
  622. package/dist/genesys-webcomponents/{p-394673f5.entry.js → p-d3b1d624.entry.js} +1 -1
  623. package/dist/genesys-webcomponents/{p-82b687a0.entry.js → p-d4135044.entry.js} +1 -1
  624. package/dist/genesys-webcomponents/{p-404dc0eb.entry.js → p-d47e350b.entry.js} +2 -2
  625. package/dist/genesys-webcomponents/{p-a4a9aee6.entry.js → p-d784f87d.entry.js} +1 -1
  626. package/dist/genesys-webcomponents/{p-c8780166.entry.js → p-d7a2b347.entry.js} +1 -1
  627. package/dist/genesys-webcomponents/{p-e188a089.entry.js → p-d9ba561a.entry.js} +1 -1
  628. package/dist/genesys-webcomponents/{p-9876b783.entry.js → p-dbdc447e.entry.js} +1 -1
  629. package/dist/genesys-webcomponents/{p-e13a8c22.entry.js → p-dbe2fed8.entry.js} +1 -1
  630. package/dist/genesys-webcomponents/p-dc1fee05.entry.js +1 -0
  631. package/dist/genesys-webcomponents/{p-f251e963.entry.js → p-dd9d3bc9.entry.js} +1 -1
  632. package/dist/genesys-webcomponents/{p-f798847a.entry.js → p-df4ac31b.entry.js} +1 -1
  633. package/dist/genesys-webcomponents/{p-6072777e.entry.js → p-e0f750be.entry.js} +1 -1
  634. package/dist/genesys-webcomponents/{p-d7a86919.entry.js → p-e18193c8.entry.js} +1 -1
  635. package/dist/genesys-webcomponents/{p-53d57143.entry.js → p-e21679ab.entry.js} +1 -1
  636. package/dist/genesys-webcomponents/p-e34ce4a0.entry.js +1 -0
  637. package/dist/genesys-webcomponents/p-e3671880.entry.js +1 -0
  638. package/dist/genesys-webcomponents/{p-91e7a597.entry.js → p-e5eea8aa.entry.js} +1 -1
  639. package/dist/genesys-webcomponents/{p-42b34fb6.entry.js → p-e902c696.entry.js} +1 -1
  640. package/dist/genesys-webcomponents/{p-31849628.entry.js → p-e92c1b8a.entry.js} +1 -1
  641. package/dist/genesys-webcomponents/{p-e3392f3b.entry.js → p-e95226d1.entry.js} +1 -1
  642. package/dist/genesys-webcomponents/{p-c6b1df0a.entry.js → p-ea2ad326.entry.js} +1 -1
  643. package/dist/genesys-webcomponents/{p-ba3376c4.entry.js → p-ea40f5b2.entry.js} +1 -1
  644. package/dist/genesys-webcomponents/{p-11ed456c.entry.js → p-eb5a48e9.entry.js} +1 -1
  645. package/dist/genesys-webcomponents/{p-5feccc59.entry.js → p-ede10314.entry.js} +1 -1
  646. package/dist/genesys-webcomponents/{p-c7da3b17.entry.js → p-ee14d94c.entry.js} +1 -1
  647. package/dist/genesys-webcomponents/{p-5bf1dc65.entry.js → p-ee857ca7.entry.js} +1 -1
  648. package/dist/genesys-webcomponents/p-f26230e7.entry.js +1 -0
  649. package/dist/genesys-webcomponents/{p-f40ced8a.entry.js → p-f26867a3.entry.js} +1 -1
  650. package/dist/genesys-webcomponents/{p-fd62e802.entry.js → p-f413af7f.entry.js} +1 -1
  651. package/dist/genesys-webcomponents/{p-ba4a9c32.entry.js → p-f60dd4e1.entry.js} +1 -1
  652. package/dist/genesys-webcomponents/{p-21751fc9.entry.js → p-f781f503.entry.js} +1 -1
  653. package/dist/genesys-webcomponents/{p-584f4cab.entry.js → p-f9f43ca9.entry.js} +1 -1
  654. package/dist/genesys-webcomponents/p-f9f5f4b9.entry.js +1 -0
  655. package/dist/genesys-webcomponents/{p-b10829bc.entry.js → p-fb7ec589.entry.js} +1 -1
  656. package/dist/genesys-webcomponents/{p-cb4791a1.entry.js → p-fc6234ce.entry.js} +1 -1
  657. package/dist/genesys-webcomponents/p-ff393e3b.entry.js +1 -0
  658. package/dist/genesys-webcomponents/p-mm833MRp.js +2 -0
  659. package/dist/stencil-wrapper.js +1 -1
  660. package/dist/types/components/beta/gux-date/gux-date.d.ts +2 -2
  661. package/dist/types/components/beta/gux-date-time/gux-date-time.d.ts +2 -2
  662. package/dist/types/components/beta/gux-phone-input/services/region-map.service.d.ts +1 -1
  663. package/dist/types/components/stable/gux-datepicker/gux-datepicker.d.ts +1 -1
  664. package/dist/types/components/stable/gux-flyout-menu/gux-flyout-menu.d.ts +1 -1
  665. package/dist/types/components.d.ts +10 -6
  666. package/dist/types/stencil-wrapper.d.ts +1 -1
  667. package/package.json +1 -1
  668. package/dist/cjs/index-C1LZ-Zd8.js +0 -2759
  669. package/dist/esm/index-CjVJoR6g.js +0 -2727
  670. package/dist/genesys-webcomponents/p-09559c89.entry.js +0 -1
  671. package/dist/genesys-webcomponents/p-0b8dda78.entry.js +0 -1
  672. package/dist/genesys-webcomponents/p-210c186b.entry.js +0 -1
  673. package/dist/genesys-webcomponents/p-22829ab6.entry.js +0 -1
  674. package/dist/genesys-webcomponents/p-25f680c1.entry.js +0 -1
  675. package/dist/genesys-webcomponents/p-2719b581.entry.js +0 -1
  676. package/dist/genesys-webcomponents/p-34b4b88f.entry.js +0 -1
  677. package/dist/genesys-webcomponents/p-3f0ee34a.entry.js +0 -1
  678. package/dist/genesys-webcomponents/p-444f40f2.entry.js +0 -1
  679. package/dist/genesys-webcomponents/p-460bccb8.entry.js +0 -1
  680. package/dist/genesys-webcomponents/p-4c173cf5.entry.js +0 -1
  681. package/dist/genesys-webcomponents/p-563631e1.entry.js +0 -1
  682. package/dist/genesys-webcomponents/p-5d97fc6f.entry.js +0 -1
  683. package/dist/genesys-webcomponents/p-6a52bb89.entry.js +0 -1
  684. package/dist/genesys-webcomponents/p-81326113.entry.js +0 -1
  685. package/dist/genesys-webcomponents/p-88ab5dbc.entry.js +0 -1
  686. package/dist/genesys-webcomponents/p-95fe5745.entry.js +0 -1
  687. package/dist/genesys-webcomponents/p-CjVJoR6g.js +0 -2
  688. package/dist/genesys-webcomponents/p-DaK6PJIg.js +0 -1
  689. package/dist/genesys-webcomponents/p-a64eb544.entry.js +0 -1
  690. package/dist/genesys-webcomponents/p-aebc7595.entry.js +0 -1
  691. package/dist/genesys-webcomponents/p-b72a5a0e.entry.js +0 -1
  692. package/dist/genesys-webcomponents/p-c1e6e606.entry.js +0 -1
  693. package/dist/genesys-webcomponents/p-c4ad9367.entry.js +0 -1
  694. package/dist/genesys-webcomponents/p-cf52b41d.entry.js +0 -1
  695. package/dist/genesys-webcomponents/p-d7c19e09.entry.js +0 -1
  696. package/dist/genesys-webcomponents/p-dea58474.entry.js +0 -1
  697. package/dist/genesys-webcomponents/p-e05cf7c9.entry.js +0 -1
  698. package/dist/genesys-webcomponents/p-e0d0f67d.entry.js +0 -1
  699. package/dist/genesys-webcomponents/p-f2f5743f.entry.js +0 -1
@@ -1 +1 @@
1
- import{r as t,c as i,h as e}from"./p-CjVJoR6g.js";const a=class{constructor(e){t(this,e),this.internalactivatetabpanel=i(this,"internalactivatetabpanel",7),this.guxDisabled=!1,this.active=!1}onClick(){this.active||this.guxDisabled||this.internalactivatetabpanel.emit(this.tabId)}onFocusin(){this.tooltipTitleElement.setShowTooltip()}onFocusout(){this.tooltipTitleElement.setHideTooltip()}async guxSetActive(t){this.active=t}async guxFocus(){this.buttonElement.focus()}async guxGetActive(){return this.active}getTabIndex(){return this.guxDisabled?null:this.active?0:-1}render(){return e("button",{key:"6c8e685ca903eda10992b22fa3c7a0367006cfd7",class:{"gux-disabled":this.guxDisabled,"gux-tab":!0,"gux-active":this.active},type:"button",disabled:this.guxDisabled,id:`gux-${this.tabId}-tab`,role:"tab","aria-controls":`gux-${this.tabId}-panel`,"aria-selected":this.active.toString(),tabIndex:this.getTabIndex(),ref:t=>this.buttonElement=t},e("gux-tooltip-title",{key:"bffd54df99bc228f92a60bb0efce81881eca820c",ref:t=>this.tooltipTitleElement=t},e("span",{key:"46b726159347e3f4c6211fab6a33407df12455a0"},e("slot",{key:"2402ba1edf07fa1bf15606ed9a7c1ae261bb3022"}))))}};a.style="gux-tab.gux-vertical{box-sizing:border-box;border-inline-end:var(--gse-ui-tabs-item-divider-vertical-width) solid var(--gse-ui-tabs-item-divider-dividerColor)}gux-tab.gux-vertical .gux-tab{display:flex;justify-content:flex-end;inline-size:var(--gse-ui-tabs-set-vertical-width);block-size:var(--gse-ui-tabs-item-vertical-fixedHeight);padding:var(--gse-ui-tabs-item-vertical-padding);border-inline-end:var(--gse-ui-tabs-item-indicator-vertical-width) solid transparent}gux-tab.gux-vertical .gux-tab.gux-active{border-inline-end-color:var(--gse-ui-tabs-item-indicator-activeColor)}gux-tab.gux-vertical .gux-tab:hover:not(.gux-active):not(.gux-disabled){border-inline-end-color:var(--gse-ui-tabs-item-indicator-hoverColor)}gux-tab.gux-horizontal .gux-tab{box-sizing:border-box;max-inline-size:160px;block-size:var(--gse-ui-tabs-item-horizontal-fixedHeight);padding:var(--gse-ui-tabs-item-horizontal-padding);border-block-end:var(--gse-ui-tabs-item-indicator-horizontal-height) solid transparent}gux-tab.gux-horizontal .gux-tab.gux-active{border-block-end-color:var(--gse-ui-tabs-item-indicator-activeColor)}gux-tab.gux-horizontal .gux-tab:hover:not(.gux-active):not(.gux-disabled){border-block-end-color:var(--gse-ui-tabs-item-indicator-hoverColor)}gux-tab.gux-horizontal .gux-tab gux-tooltip-title{margin:auto}gux-tabs[alignment=center]>gux-tab-list .gux-scrollable-section{justify-content:center}gux-tabs[alignment=full-width]>gux-tab-list .gux-scrollable-section{flex-grow:1}gux-tabs[alignment=full-width]>gux-tab-list gux-tab{inline-size:100%;max-inline-size:100%}gux-tabs[alignment=full-width]>gux-tab-list gux-tab .gux-tab{inline-size:100%;max-inline-size:100%}gux-tab{display:flex}gux-tab .gux-tab{display:flex;align-items:center;block-size:var(--gse-ui-tabs-item-height);font-family:var(--gse-ui-tabs-item-itemText-fontFamily);font-size:var(--gse-ui-tabs-item-itemText-fontSize);font-weight:var(--gse-ui-tabs-item-itemText-fontWeight);line-height:var(--gse-ui-tabs-item-itemText-lineHeight);color:var(--gse-ui-tabs-item-itemTextColor);cursor:pointer;background-color:transparent;border:none}gux-tab .gux-tab.gux-disabled{cursor:default}gux-tab .gux-tab.gux-disabled gux-tooltip-title{opacity:var(--gse-ui-tabs-item-disableOpacity)}gux-tab .gux-tab:focus-visible{outline:var(--gse-ui-tabs-focusRing-border-width) var(--gse-ui-tabs-focusRing-border-style) var(--gse-ui-tabs-focusRing-border-color);outline-offset:calc(var(--gse-ui-tabs-focusRing-border-width) * -1);border-radius:var(--gse-ui-tabs-focusRing-borderRadius)}gux-tab .gux-tab gux-tooltip-title{white-space:nowrap}";export{a as gux_tab}
1
+ import{r as t,c as i,h as e}from"./p-mm833MRp.js";const a=class{constructor(e){t(this,e),this.internalactivatetabpanel=i(this,"internalactivatetabpanel",7),this.guxDisabled=!1,this.active=!1}onClick(){this.active||this.guxDisabled||this.internalactivatetabpanel.emit(this.tabId)}onFocusin(){this.tooltipTitleElement.setShowTooltip()}onFocusout(){this.tooltipTitleElement.setHideTooltip()}async guxSetActive(t){this.active=t}async guxFocus(){this.buttonElement.focus()}async guxGetActive(){return this.active}getTabIndex(){return this.guxDisabled?null:this.active?0:-1}render(){return e("button",{key:"6c8e685ca903eda10992b22fa3c7a0367006cfd7",class:{"gux-disabled":this.guxDisabled,"gux-tab":!0,"gux-active":this.active},type:"button",disabled:this.guxDisabled,id:`gux-${this.tabId}-tab`,role:"tab","aria-controls":`gux-${this.tabId}-panel`,"aria-selected":this.active.toString(),tabIndex:this.getTabIndex(),ref:t=>this.buttonElement=t},e("gux-tooltip-title",{key:"bffd54df99bc228f92a60bb0efce81881eca820c",ref:t=>this.tooltipTitleElement=t},e("span",{key:"46b726159347e3f4c6211fab6a33407df12455a0"},e("slot",{key:"2402ba1edf07fa1bf15606ed9a7c1ae261bb3022"}))))}};a.style="gux-tab.gux-vertical{box-sizing:border-box;border-inline-end:var(--gse-ui-tabs-item-divider-vertical-width) solid var(--gse-ui-tabs-item-divider-dividerColor)}gux-tab.gux-vertical .gux-tab{display:flex;justify-content:flex-end;inline-size:var(--gse-ui-tabs-set-vertical-width);block-size:var(--gse-ui-tabs-item-vertical-fixedHeight);padding:var(--gse-ui-tabs-item-vertical-padding);border-inline-end:var(--gse-ui-tabs-item-indicator-vertical-width) solid transparent}gux-tab.gux-vertical .gux-tab.gux-active{border-inline-end-color:var(--gse-ui-tabs-item-indicator-activeColor)}gux-tab.gux-vertical .gux-tab:hover:not(.gux-active):not(.gux-disabled){border-inline-end-color:var(--gse-ui-tabs-item-indicator-hoverColor)}gux-tab.gux-horizontal .gux-tab{box-sizing:border-box;max-inline-size:160px;block-size:var(--gse-ui-tabs-item-horizontal-fixedHeight);padding:var(--gse-ui-tabs-item-horizontal-padding);border-block-end:var(--gse-ui-tabs-item-indicator-horizontal-height) solid transparent}gux-tab.gux-horizontal .gux-tab.gux-active{border-block-end-color:var(--gse-ui-tabs-item-indicator-activeColor)}gux-tab.gux-horizontal .gux-tab:hover:not(.gux-active):not(.gux-disabled){border-block-end-color:var(--gse-ui-tabs-item-indicator-hoverColor)}gux-tab.gux-horizontal .gux-tab gux-tooltip-title{margin:auto}gux-tabs[alignment=center]>gux-tab-list .gux-scrollable-section{justify-content:center}gux-tabs[alignment=full-width]>gux-tab-list .gux-scrollable-section{flex-grow:1}gux-tabs[alignment=full-width]>gux-tab-list gux-tab{inline-size:100%;max-inline-size:100%}gux-tabs[alignment=full-width]>gux-tab-list gux-tab .gux-tab{inline-size:100%;max-inline-size:100%}gux-tab{display:flex}gux-tab .gux-tab{display:flex;align-items:center;block-size:var(--gse-ui-tabs-item-height);font-family:var(--gse-ui-tabs-item-itemText-fontFamily);font-size:var(--gse-ui-tabs-item-itemText-fontSize);font-weight:var(--gse-ui-tabs-item-itemText-fontWeight);line-height:var(--gse-ui-tabs-item-itemText-lineHeight);color:var(--gse-ui-tabs-item-itemTextColor);cursor:pointer;background-color:transparent;border:none}gux-tab .gux-tab.gux-disabled{cursor:default}gux-tab .gux-tab.gux-disabled gux-tooltip-title{opacity:var(--gse-ui-tabs-item-disableOpacity)}gux-tab .gux-tab:focus-visible{outline:var(--gse-ui-tabs-focusRing-border-width) var(--gse-ui-tabs-focusRing-border-style) var(--gse-ui-tabs-focusRing-border-color);outline-offset:calc(var(--gse-ui-tabs-focusRing-border-width) * -1);border-radius:var(--gse-ui-tabs-focusRing-borderRadius)}gux-tab .gux-tab gux-tooltip-title{white-space:nowrap}";export{a as gux_tab}
@@ -1 +1 @@
1
- import{r as e,c as a,h as s,a as t}from"./p-CjVJoR6g.js";import{r as i}from"./p-D9jKBqIb.js";import{t as o}from"./p-Rs2JRIbr.js";const d=class{constructor(s){e(this,s),this.modalSidePanelDismiss=a(this,"modalSidePanelDismiss",7),this.open=!1,this.size="medium",this.dialogElement=null}syncOpenState(){this.open?this.dialogElement.showModal():(this.dialogElement.close(),this.modalSidePanelDismiss.emit())}sidepaneldismissHandler(){this.open=!1}onKeydown(e){if("Escape"===e.key)return e.preventDefault(),void(this.open=!1)}async showModal(){this.open=!0}async close(){this.open=!1}componentWillLoad(){o(this.root,{variant:this.size})}componentDidLoad(){this.open&&this.dialogElement.showModal()}render(){const e=i();return s("dialog",{key:"095e5b8decec78894747a17279092f518c343e05",ref:e=>this.dialogElement=e,"aria-labelledby":e,class:{"gux-open":this.open}},s("gux-side-panel-beta",{key:"713617fd7471fe072ce387b9960540e72c9ec8f9",size:this.size},s("div",{key:"e8944cfbc525af66f4c48d4d39efac5e9d0095ab",slot:"header",id:e},s("slot",{key:"dc84bde8fcec8b902a82971f6c6dba9b75d3213d",name:"header"})),s("div",{key:"bbc3d8206df640277d3157ef3a854167a474cb56",slot:"content"},s("slot",{key:"b0af309b0a42632775e87e3eb239f6888ab269b1",name:"content"})),s("div",{key:"07d5a3e90572c0f51c5e739e6a2b68a6d7b7438d",slot:"footer"},s("slot",{key:"a04f6dfee20d647aadf13cc8a2b5beef23699fca",name:"footer"}))))}get root(){return t(this)}static get watchers(){return{open:["syncOpenState"]}}};d.style="dialog{inset-inline-start:auto;block-size:100%;min-block-size:100%;padding:0;margin:unset;border:none;transform:translateX(100%);transition:transform 0.2s ease-in-out}dialog.gux-open{transform:translateX(0%)}dialog::backdrop{background:var(--gse-ui-sidePanel-shroudColor);opacity:var(--gse-ui-sidePanel-shroud-opacity)}::slotted(footer){flex:0 0 auto;padding:var(--gse-ui-sidePanel-footer-padding);border-block-start:var(--gse-ui-sidePanel-divider-width) var(--gse-ui-sidePanel-divider-style) var(--gse-ui-sidePanel-divider-color)}::slotted(gux-side-panel-header){border-block-end:none}";export{d as gux_modal_side_panel_beta}
1
+ import{r as e,c as a,h as s,a as t}from"./p-mm833MRp.js";import{r as i}from"./p-D9jKBqIb.js";import{t as o}from"./p-Bk9hX_6O.js";const d=class{constructor(s){e(this,s),this.modalSidePanelDismiss=a(this,"modalSidePanelDismiss",7),this.open=!1,this.size="medium",this.dialogElement=null}syncOpenState(){this.open?this.dialogElement.showModal():(this.dialogElement.close(),this.modalSidePanelDismiss.emit())}sidepaneldismissHandler(){this.open=!1}onKeydown(e){if("Escape"===e.key)return e.preventDefault(),void(this.open=!1)}async showModal(){this.open=!0}async close(){this.open=!1}componentWillLoad(){o(this.root,{variant:this.size})}componentDidLoad(){this.open&&this.dialogElement.showModal()}render(){const e=i();return s("dialog",{key:"095e5b8decec78894747a17279092f518c343e05",ref:e=>this.dialogElement=e,"aria-labelledby":e,class:{"gux-open":this.open}},s("gux-side-panel-beta",{key:"713617fd7471fe072ce387b9960540e72c9ec8f9",size:this.size},s("div",{key:"e8944cfbc525af66f4c48d4d39efac5e9d0095ab",slot:"header",id:e},s("slot",{key:"dc84bde8fcec8b902a82971f6c6dba9b75d3213d",name:"header"})),s("div",{key:"bbc3d8206df640277d3157ef3a854167a474cb56",slot:"content"},s("slot",{key:"b0af309b0a42632775e87e3eb239f6888ab269b1",name:"content"})),s("div",{key:"07d5a3e90572c0f51c5e739e6a2b68a6d7b7438d",slot:"footer"},s("slot",{key:"a04f6dfee20d647aadf13cc8a2b5beef23699fca",name:"footer"}))))}get root(){return t(this)}static get watchers(){return{open:["syncOpenState"]}}};d.style="dialog{inset-inline-start:auto;block-size:100%;min-block-size:100%;padding:0;margin:unset;border:none;transform:translateX(100%);transition:transform 0.2s ease-in-out}dialog.gux-open{transform:translateX(0%)}dialog::backdrop{background:var(--gse-ui-sidePanel-shroudColor);opacity:var(--gse-ui-sidePanel-shroud-opacity)}::slotted(footer){flex:0 0 auto;padding:var(--gse-ui-sidePanel-footer-padding);border-block-start:var(--gse-ui-sidePanel-divider-width) var(--gse-ui-sidePanel-divider-style) var(--gse-ui-sidePanel-divider-color)}::slotted(gux-side-panel-header){border-block-end:none}";export{d as gux_modal_side_panel_beta}
@@ -1 +1 @@
1
- import{r as e,h as i,H as r,a as t}from"./p-CjVJoR6g.js";const o=class{constructor(i){e(this,i),this.hideActionDivider=!1}renderActionGroupDivider(){if(!this.hideActionDivider)return i("div",{class:"gux-divider"})}render(){return i(r,{key:"379c8b3c31865c223cdee90195e95b4aec9d0f10"},i("div",{key:"9dbf64765c02261eb2805dbe8c243755d0ba718e",class:"gux-action-group-container"},i("slot",{key:"37077be40e3905fb1f134d6bce434d0d631d99d6"})),this.renderActionGroupDivider())}get root(){return t(this)}};o.style=":host{display:flex;flex-direction:row}:host(.gux-hidden) .gux-divider{display:none}:host(.gux-hidden) ::slotted(:not(gux-rich-text-editor-action-link)){display:none}.gux-action-group-container{display:flex;flex-direction:row;flex-wrap:nowrap;gap:var(--gse-ui-rte-toolbarBtnGroup-gap);align-items:flex-start;justify-content:flex-start}.gux-divider{inline-size:var(--gse-ui-rte-divider-width);block-size:var(--gse-ui-rte-divider-height);margin:var(--gse-ui-rte-toolbar-divider-margin);background-color:var(--gse-ui-rte-toolbar-divider-color)}";export{o as gux_rich_text_editor_action_group}
1
+ import{r as e,h as i,H as r,a as t}from"./p-mm833MRp.js";const o=class{constructor(i){e(this,i),this.hideActionDivider=!1}renderActionGroupDivider(){if(!this.hideActionDivider)return i("div",{class:"gux-divider"})}render(){return i(r,{key:"379c8b3c31865c223cdee90195e95b4aec9d0f10"},i("div",{key:"9dbf64765c02261eb2805dbe8c243755d0ba718e",class:"gux-action-group-container"},i("slot",{key:"37077be40e3905fb1f134d6bce434d0d631d99d6"})),this.renderActionGroupDivider())}get root(){return t(this)}};o.style=":host{display:flex;flex-direction:row}:host(.gux-hidden) .gux-divider{display:none}:host(.gux-hidden) ::slotted(:not(gux-rich-text-editor-action-link)){display:none}.gux-action-group-container{display:flex;flex-direction:row;flex-wrap:nowrap;gap:var(--gse-ui-rte-toolbarBtnGroup-gap);align-items:flex-start;justify-content:flex-start}.gux-divider{inline-size:var(--gse-ui-rte-divider-width);block-size:var(--gse-ui-rte-divider-height);margin:var(--gse-ui-rte-toolbar-divider-margin);background-color:var(--gse-ui-rte-toolbar-divider-color)}";export{o as gux_rich_text_editor_action_group}
@@ -1 +1 @@
1
- import{r as e,h as t,a}from"./p-CjVJoR6g.js";import{g as o}from"./p-D1QZQXQN.js";import{d as r}from"./p-DvPw3gUX.js";import{q as n}from"./p-B10WAyAx.js";import"./p-Cd4R0amv.js";import"./p-DCZG2J0G.js";import"./p-BFTU3MAI.js";const i=class{constructor(t){e(this,t)}onDayPropChange(){this.readDateFromProp()}readDateFromProp(){this.date=n.PlainDate.from(this.day)}async connectedCallback(){this.readDateFromProp();const e=o(this.root);this.readerFormatter=r(e,{year:"numeric",month:"long",day:"numeric"})}render(){return t("button",{key:"2d8305937c7a53c11099218aaca046d3d934789e",type:"button",disabled:this.disabled},t("slot",{key:"74f5bf6960078fe2fb6eb8c5bea1512704af8d5b"},t("span",{key:"2b69325ccee65e6e2c969d7fe27081ec2bcb656a","aria-hidden":"true"},this.date.day),t("span",{key:"eaf3c54e0e9bc3b297ca1259250e3bc8abce0804",class:"gux-sr-only"},function(e,t){const a=new Date;return a.setFullYear(t.year),a.setMonth(t.month-1,1),a.setDate(t.day),a.setHours(12),a.setMinutes(0),a.setSeconds(0),a.setMilliseconds(0),e.format(a)}(this.readerFormatter,this.date))))}static get delegatesFocus(){return!0}get root(){return a(this)}static get watchers(){return{day:["onDayPropChange"]}}};i.style=":host{display:inline-block;inline-size:var(--gse-ui-calendarMenu-day-date-size);block-size:var(--gse-ui-calendarMenu-day-input-height);outline:none;border:none;border-radius:var(--gse-ui-calendarMenu-month-borderRadius)}:host(:hover){background-color:var(--gse-ui-calendarMenu-date-hover-backgroundColor)}:host(:focus-within){outline:var(--gse-semantic-focusOutline-md-borderWidth) solid var(--gse-semantic-border-focus);outline-offset:var(--gse-semantic-focusOutline-offset);border-radius:var(--gse-ui-calendarMenu-month-focusBorderRadius)}:host([aria-current=true]){color:var(--gse-ui-calendarMenu-date-selected-foregroundColor);background-color:var(--gse-ui-calendarMenu-date-selected-backgroundColor)}:host(:disabled),:host(.gux-muted){opacity:var(--gse-ui-calendarMenu-disabled-opacity)}button{padding:0;margin:0;color:inherit;background:none;border:none;inline-size:100%;block-size:100%;font-family:var(--gse-ui-calendarMenu-date-currentText-fontFamily);font-size:var(--gse-ui-calendarMenu-date-defaultText-fontSize);font-style:normal;font-weight:var(--gse-ui-calendarMenu-date-defaultText-fontWeight);line-height:32px;vertical-align:middle;text-align:center;cursor:pointer}button:focus{outline:none}.gux-sr-only{}.gux-sr-only:not(:focus):not(:active){position:absolute;width:1px;height:1px;overflow:hidden;white-space:nowrap;clip-path:inset(50%)}";export{i as gux_day_beta}
1
+ import{r as e,h as t,a}from"./p-mm833MRp.js";import{g as o}from"./p-D_8CR3cJ.js";import{d as r}from"./p-DvPw3gUX.js";import{q as n}from"./p-B10WAyAx.js";import"./p-Cd4R0amv.js";import"./p-DCZG2J0G.js";import"./p-BFTU3MAI.js";const i=class{constructor(t){e(this,t)}onDayPropChange(){this.readDateFromProp()}readDateFromProp(){this.date=n.PlainDate.from(this.day)}async connectedCallback(){this.readDateFromProp();const e=o(this.root);this.readerFormatter=r(e,{year:"numeric",month:"long",day:"numeric"})}render(){return t("button",{key:"4ca50771f8c43c6605db8c33818c7b85cb2a31c9",type:"button",disabled:this.disabled},t("slot",{key:"7d2d8e8f42603287f759bf6cb14271bd8a7ef6d8"},t("span",{key:"6c235a758c10fdb4ebc71aec3efbc40c5c703050","aria-hidden":"true"},this.date.day),t("span",{key:"8d3eab023b34790ef085f320ac6363e989354c37",class:"gux-sr-only"},function(e,t){const a=new Date;return a.setFullYear(t.year),a.setMonth(t.month-1,1),a.setDate(t.day),a.setHours(12),a.setMinutes(0),a.setSeconds(0),a.setMilliseconds(0),e.format(a)}(this.readerFormatter,this.date))))}static get delegatesFocus(){return!0}get root(){return a(this)}static get watchers(){return{day:["onDayPropChange"]}}};i.style=":host{display:inline-block;inline-size:var(--gse-ui-calendarMenu-day-date-size);block-size:var(--gse-ui-calendarMenu-day-input-height);outline:none;border:none;border-radius:var(--gse-ui-calendarMenu-month-borderRadius)}:host(:hover){background-color:var(--gse-ui-calendarMenu-date-hover-backgroundColor)}:host(:focus-within){outline:var(--gse-semantic-focusOutline-md-borderWidth) solid var(--gse-semantic-border-focus);outline-offset:var(--gse-semantic-focusOutline-offset);border-radius:var(--gse-ui-calendarMenu-month-focusBorderRadius)}:host([aria-current=true]){color:var(--gse-ui-calendarMenu-date-selected-foregroundColor);background-color:var(--gse-ui-calendarMenu-date-selected-backgroundColor)}:host(:disabled),:host(.gux-muted){opacity:var(--gse-ui-calendarMenu-disabled-opacity)}button{padding:0;margin:0;color:inherit;background:none;border:none;inline-size:100%;block-size:100%;font-family:var(--gse-ui-calendarMenu-date-currentText-fontFamily);font-size:var(--gse-ui-calendarMenu-date-defaultText-fontSize);font-style:normal;font-weight:var(--gse-ui-calendarMenu-date-defaultText-fontWeight);line-height:32px;vertical-align:middle;text-align:center;cursor:pointer}button:focus{outline:none}.gux-sr-only{}.gux-sr-only:not(:focus):not(:active){position:absolute;width:1px;height:1px;overflow:hidden;white-space:nowrap;clip-path:inset(50%)}";export{i as gux_day_beta}
@@ -1,7 +1,7 @@
1
- import{r as t,c as i,d as n,w as e,h as o,a as r}from"./p-CjVJoR6g.js";import{O as a}from"./p-DaK6PJIg.js";import{e as s}from"./p-C6ZfOd6U.js";import{a as u}from"./p-Bg4q97BS.js";import{b as l}from"./p-D1QZQXQN.js";import{t as c}from"./p-DFTYqKJS.js";import"./p-Cd4R0amv.js";
1
+ import{r as t,c as i,d as n,w as e,h as o,a as r}from"./p-mm833MRp.js";import{O as a}from"./p-1mmdDpx8.js";import{e as s}from"./p-C6ZfOd6U.js";import{a as u}from"./p-Bg4q97BS.js";import{b as l}from"./p-D_8CR3cJ.js";import{t as c}from"./p-DFTYqKJS.js";import"./p-Cd4R0amv.js";
2
2
  /**!
3
3
  * Sortable 1.15.6
4
4
  * @author RubaXa <trash@rubaxa.org>
5
5
  * @author owenm <owen23355@gmail.com>
6
6
  * @license MIT
7
- */function h(t,i){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var e=Object.getOwnPropertySymbols(t);i&&(e=e.filter((function(i){return Object.getOwnPropertyDescriptor(t,i).enumerable}))),n.push.apply(n,e)}return n}function f(t){for(var i=1;i<arguments.length;i++){var n=null!=arguments[i]?arguments[i]:{};i%2?h(Object(n),!0).forEach((function(i){v(t,i,n[i])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):h(Object(n)).forEach((function(i){Object.defineProperty(t,i,Object.getOwnPropertyDescriptor(n,i))}))}return t}function d(t){return d="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},d(t)}function v(t,i,n){return i in t?Object.defineProperty(t,i,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[i]=n,t}function b(){return b=Object.assign||function(t){for(var i=1;i<arguments.length;i++){var n=arguments[i];for(var e in n)Object.prototype.hasOwnProperty.call(n,e)&&(t[e]=n[e])}return t},b.apply(this,arguments)}function g(t){if("undefined"!=typeof window&&window.navigator)return!!navigator.userAgent.match(t)}var m=g(/(?:Trident.*rv[ :]?11\.|msie|iemobile|Windows Phone)/i),p=g(/Edge/i),w=g(/firefox/i),x=g(/safari/i)&&!g(/chrome/i)&&!g(/android/i),y=g(/iP(ad|od|hone)/i),E=g(/chrome/i)&&g(/android/i),S={capture:!1,passive:!1};function T(t,i,n){t.addEventListener(i,n,!m&&S)}function O(t,i,n){t.removeEventListener(i,n,!m&&S)}function k(t,i){if(i){if(">"===i[0]&&(i=i.substring(1)),t)try{if(t.matches)return t.matches(i);if(t.msMatchesSelector)return t.msMatchesSelector(i);if(t.webkitMatchesSelector)return t.webkitMatchesSelector(i)}catch(t){return!1}return!1}}function M(t){return t.host&&t!==document&&t.host.nodeType?t.host:t.parentNode}function I(t,i,n,e){if(t){n=n||document;do{if(null!=i&&(">"===i[0]?t.parentNode===n&&k(t,i):k(t,i))||e&&t===n)return t;if(t===n)break}while(t=M(t))}return null}var j,C=/\s+/g;function A(t,i,n){if(t&&i)if(t.classList)t.classList[n?"add":"remove"](i);else{var e=(" "+t.className+" ").replace(C," ").replace(" "+i+" "," ");t.className=(e+(n?" "+i:"")).replace(C," ")}}function D(t,i,n){var e=t&&t.style;if(e){if(void 0===n)return document.defaultView&&document.defaultView.getComputedStyle?n=document.defaultView.getComputedStyle(t,""):t.currentStyle&&(n=t.currentStyle),void 0===i?n:n[i];i in e||-1!==i.indexOf("webkit")||(i="-webkit-"+i),e[i]=n+("string"==typeof n?"":"px")}}function _(t,i){var n="";if("string"==typeof t)n=t;else do{var e=D(t,"transform");e&&"none"!==e&&(n=e+" "+n)}while(!i&&(t=t.parentNode));var o=window.DOMMatrix||window.WebKitCSSMatrix||window.CSSMatrix||window.MSCSSMatrix;return o&&new o(n)}function z(t,i,n){if(t){var e=t.getElementsByTagName(i),o=0,r=e.length;if(n)for(;o<r;o++)n(e[o],o);return e}return[]}function R(){return document.scrollingElement||document.documentElement}function N(t,i,n,e,o){if(t.getBoundingClientRect||t===window){var r,a,s,u,l,c,h;if(t!==window&&t.parentNode&&t!==R()?(a=(r=t.getBoundingClientRect()).top,s=r.left,u=r.bottom,l=r.right,c=r.height,h=r.width):(a=0,s=0,u=window.innerHeight,l=window.innerWidth,c=window.innerHeight,h=window.innerWidth),(i||n)&&t!==window&&(o=o||t.parentNode,!m))do{if(o&&o.getBoundingClientRect&&("none"!==D(o,"transform")||n&&"static"!==D(o,"position"))){var f=o.getBoundingClientRect();a-=f.top+parseInt(D(o,"border-top-width")),s-=f.left+parseInt(D(o,"border-left-width")),u=a+r.height,l=s+r.width;break}}while(o=o.parentNode);if(e&&t!==window){var d=_(o||t),v=d&&d.a,b=d&&d.d;d&&(u=(a/=b)+(c/=b),l=(s/=v)+(h/=v))}return{top:a,left:s,bottom:u,right:l,width:h,height:c}}}function L(t,i,n){for(var e=K(t,!0),o=N(t)[i];e;){if(!(o>=N(e)[n]))return e;if(e===R())break;e=K(e,!1)}return!1}function F(t,i,n,e){for(var o=0,r=0,a=t.children;r<a.length;){if("none"!==a[r].style.display&&a[r]!==Wt.ghost&&(e||a[r]!==Wt.dragged)&&I(a[r],n.draggable,t,!1)){if(o===i)return a[r];o++}r++}return null}function B(t,i){for(var n=t.lastElementChild;n&&(n===Wt.ghost||"none"===D(n,"display")||i&&!k(n,i));)n=n.previousElementSibling;return n||null}function P(t,i){var n=0;if(!t||!t.parentNode)return-1;for(;t=t.previousElementSibling;)"TEMPLATE"===t.nodeName.toUpperCase()||t===Wt.clone||i&&!k(t,i)||n++;return n}function H(t){var i=0,n=0,e=R();if(t)do{var o=_(t);i+=t.scrollLeft*o.a,n+=t.scrollTop*o.d}while(t!==e&&(t=t.parentNode));return[i,n]}function K(t,i){if(!t||!t.getBoundingClientRect)return R();var n=t,e=!1;do{if(n.clientWidth<n.scrollWidth||n.clientHeight<n.scrollHeight){var o=D(n);if(n.clientWidth<n.scrollWidth&&("auto"==o.overflowX||"scroll"==o.overflowX)||n.clientHeight<n.scrollHeight&&("auto"==o.overflowY||"scroll"==o.overflowY)){if(!n.getBoundingClientRect||n===document.body)return R();if(e||i)return n;e=!0}}}while(n=n.parentNode);return R()}function G(t,i){return Math.round(t.top)===Math.round(i.top)&&Math.round(t.left)===Math.round(i.left)&&Math.round(t.height)===Math.round(i.height)&&Math.round(t.width)===Math.round(i.width)}function U(t,i){return function(){if(!j){var n=arguments;1===n.length?t.call(this,n[0]):t.apply(this,n),j=setTimeout((function(){j=void 0}),i)}}}function W(t,i,n){t.scrollLeft+=i,t.scrollTop+=n}function J(t){var i=window.Polymer,n=window.jQuery||window.Zepto;return i&&i.dom?i.dom(t).cloneNode(!0):n?n(t).clone(!0)[0]:t.cloneNode(!0)}function Q(t,i,n){var e={};return Array.from(t.children).forEach((function(o){var r,a,s,u;if(I(o,i.draggable,t,!1)&&!o.animated&&o!==n){var l=N(o);e.left=Math.min(null!==(r=e.left)&&void 0!==r?r:1/0,l.left),e.top=Math.min(null!==(a=e.top)&&void 0!==a?a:1/0,l.top),e.right=Math.max(null!==(s=e.right)&&void 0!==s?s:-1/0,l.right),e.bottom=Math.max(null!==(u=e.bottom)&&void 0!==u?u:-1/0,l.bottom)}})),e.width=e.right-e.left,e.height=e.bottom-e.top,e.x=e.left,e.y=e.top,e}var X="Sortable"+(new Date).getTime();var Y=[],Z={initializeByDefault:!0},q={mount:function(t){for(var i in Z)Z.hasOwnProperty(i)&&!(i in t)&&(t[i]=Z[i]);Y.forEach((function(i){if(i.pluginName===t.pluginName)throw"Sortable: Cannot mount plugin ".concat(t.pluginName," more than once")})),Y.push(t)},pluginEvent:function(t,i,n){var e=this;this.eventCanceled=!1,n.cancel=function(){e.eventCanceled=!0};var o=t+"Global";Y.forEach((function(e){i[e.pluginName]&&(i[e.pluginName][o]&&i[e.pluginName][o](f({sortable:i},n)),i.options[e.pluginName]&&i[e.pluginName][t]&&i[e.pluginName][t](f({sortable:i},n)))}))},initializePlugins:function(t,i,n){for(var e in Y.forEach((function(e){var o=e.pluginName;if(t.options[o]||e.initializeByDefault){var r=new e(t,i,t.options);r.sortable=t,r.options=t.options,t[o]=r,b(n,r.defaults)}})),t.options)if(t.options.hasOwnProperty(e)){var o=this.modifyOption(t,e,t.options[e]);void 0!==o&&(t.options[e]=o)}},getEventProperties:function(t,i){var n={};return Y.forEach((function(e){"function"==typeof e.eventProperties&&b(n,e.eventProperties.call(i[e.pluginName],t))})),n},modifyOption:function(t,i,n){var e;return Y.forEach((function(o){t[o.pluginName]&&o.optionListeners&&"function"==typeof o.optionListeners[i]&&(e=o.optionListeners[i].call(t[o.pluginName],n))})),e}},V=["evt"],$=function(t,i){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},e=n.evt,o=function(t,i){if(null==t)return{};var n,e,o=function(t,i){if(null==t)return{};var n,e,o={},r=Object.keys(t);for(e=0;e<r.length;e++)i.indexOf(n=r[e])>=0||(o[n]=t[n]);return o}(t,i);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);for(e=0;e<r.length;e++)i.indexOf(n=r[e])>=0||Object.prototype.propertyIsEnumerable.call(t,n)&&(o[n]=t[n])}return o}(n,V);q.pluginEvent.bind(Wt)(t,i,f({dragEl:it,parentEl:nt,ghostEl:et,rootEl:ot,nextEl:rt,lastDownEl:at,cloneEl:st,cloneHidden:ut,dragStarted:yt,putSortable:vt,activeSortable:Wt.active,originalEvent:e,oldIndex:lt,oldDraggableIndex:ht,newIndex:ct,newDraggableIndex:ft,hideGhostForTarget:Ht,unhideGhostForTarget:Kt,cloneNowHidden:function(){ut=!0},cloneNowShown:function(){ut=!1},dispatchSortableEvent:function(t){tt({sortable:i,name:t,originalEvent:e})}},o))};function tt(t){!function(t){var i=t.sortable,n=t.rootEl,e=t.name,o=t.targetEl,r=t.cloneEl,a=t.toEl,s=t.fromEl,u=t.oldIndex,l=t.newIndex,c=t.oldDraggableIndex,h=t.newDraggableIndex,d=t.originalEvent,v=t.putSortable,b=t.extraEventProperties;if(i=i||n&&n[X]){var g,w=i.options,x="on"+e.charAt(0).toUpperCase()+e.substr(1);!window.CustomEvent||m||p?(g=document.createEvent("Event")).initEvent(e,!0,!0):g=new CustomEvent(e,{bubbles:!0,cancelable:!0}),g.to=a||n,g.from=s||n,g.item=o||n,g.clone=r,g.oldIndex=u,g.newIndex=l,g.oldDraggableIndex=c,g.newDraggableIndex=h,g.originalEvent=d,g.pullMode=v?v.lastPutMode:void 0;var y=f(f({},b),q.getEventProperties(e,i));for(var E in y)g[E]=y[E];n&&n.dispatchEvent(g),w[x]&&w[x].call(i,g)}}(f({putSortable:vt,cloneEl:st,targetEl:it,rootEl:ot,oldIndex:lt,oldDraggableIndex:ht,newIndex:ct,newDraggableIndex:ft},t))}var it,nt,et,ot,rt,at,st,ut,lt,ct,ht,ft,dt,vt,bt,gt,mt,pt,wt,xt,yt,Et,St,Tt,Ot,kt=!1,Mt=!1,It=[],jt=!1,Ct=!1,At=[],Dt=!1,_t=[],zt="undefined"!=typeof document,Rt=y,Nt=p||m?"cssFloat":"float",Lt=zt&&!E&&!y&&"draggable"in document.createElement("div"),Ft=function(){if(zt){if(m)return!1;var t=document.createElement("x");return t.style.cssText="pointer-events:auto","auto"===t.style.pointerEvents}}(),Bt=function(t,i){var n=D(t),e=parseInt(n.width)-parseInt(n.paddingLeft)-parseInt(n.paddingRight)-parseInt(n.borderLeftWidth)-parseInt(n.borderRightWidth),o=F(t,0,i),r=F(t,1,i),a=o&&D(o),s=r&&D(r),u=a&&parseInt(a.marginLeft)+parseInt(a.marginRight)+N(o).width,l=s&&parseInt(s.marginLeft)+parseInt(s.marginRight)+N(r).width;return"flex"===n.display?"column"===n.flexDirection||"column-reverse"===n.flexDirection?"vertical":"horizontal":"grid"===n.display?n.gridTemplateColumns.split(" ").length<=1?"vertical":"horizontal":o&&a.float&&"none"!==a.float?!r||"both"!==s.clear&&s.clear!==("left"===a.float?"left":"right")?"horizontal":"vertical":o&&("block"===a.display||"flex"===a.display||"table"===a.display||"grid"===a.display||u>=e&&"none"===n[Nt]||r&&"none"===n[Nt]&&u+l>e)?"vertical":"horizontal"},Pt=function(t){function i(t,n){return function(e,o,r,a){if(null==t&&(n||e.options.group.name&&o.options.group.name&&e.options.group.name===o.options.group.name))return!0;if(null==t||!1===t)return!1;if(n&&"clone"===t)return t;if("function"==typeof t)return i(t(e,o,r,a),n)(e,o,r,a);var s=(n?e:o).options.group.name;return!0===t||"string"==typeof t&&t===s||t.join&&t.indexOf(s)>-1}}var n={},e=t.group;e&&"object"==d(e)||(e={name:e}),n.name=e.name,n.checkPull=i(e.pull,!0),n.checkPut=i(e.put),n.revertClone=e.revertClone,t.group=n},Ht=function(){!Ft&&et&&D(et,"display","none")},Kt=function(){!Ft&&et&&D(et,"display","")};zt&&!E&&document.addEventListener("click",(function(t){if(Mt)return t.preventDefault(),t.stopPropagation&&t.stopPropagation(),t.stopImmediatePropagation&&t.stopImmediatePropagation(),Mt=!1,!1}),!0);var Gt=function(t){if(it){var i=(o=(t=t.touches?t.touches[0]:t).clientX,r=t.clientY,It.some((function(t){var i=t[X].options.emptyInsertThreshold;if(i&&!B(t)){var n=N(t);return o>=n.left-i&&o<=n.right+i&&r>=n.top-i&&r<=n.bottom+i?a=t:void 0}})),a);if(i){var n={};for(var e in t)t.hasOwnProperty(e)&&(n[e]=t[e]);n.target=n.rootEl=i,n.preventDefault=void 0,n.stopPropagation=void 0,i[X]._onDragOver(n)}}var o,r,a},Ut=function(t){it&&it.parentNode[X]._isOutsideThisEl(t.target)};function Wt(t,i){if(!t||!t.nodeType||1!==t.nodeType)throw"Sortable: `el` must be an HTMLElement, not ".concat({}.toString.call(t));this.el=t,this.options=i=b({},i),t[X]=this;var n,e,o={group:null,sort:!0,disabled:!1,store:null,handle:null,draggable:/^[uo]l$/i.test(t.nodeName)?">li":">*",swapThreshold:1,invertSwap:!1,invertedSwapThreshold:null,removeCloneOnHide:!0,direction:function(){return Bt(t,this.options)},ghostClass:"sortable-ghost",chosenClass:"sortable-chosen",dragClass:"sortable-drag",ignore:"a, img",filter:null,preventOnFilter:!0,animation:0,easing:null,setData:function(t,i){t.setData("Text",i.textContent)},dropBubble:!1,dragoverBubble:!1,dataIdAttr:"data-id",delay:0,delayOnTouchOnly:!1,touchStartThreshold:(Number.parseInt?Number:window).parseInt(window.devicePixelRatio,10)||1,forceFallback:!1,fallbackClass:"sortable-fallback",fallbackOnBody:!1,fallbackTolerance:0,fallbackOffset:{x:0,y:0},supportPointer:!1!==Wt.supportPointer&&"PointerEvent"in window&&(!x||y),emptyInsertThreshold:5};for(var r in q.initializePlugins(this,t,o),o)!(r in i)&&(i[r]=o[r]);for(var a in Pt(i),this)"_"===a.charAt(0)&&"function"==typeof this[a]&&(this[a]=this[a].bind(this));this.nativeDraggable=!i.forceFallback&&Lt,this.nativeDraggable&&(this.options.touchStartThreshold=1),i.supportPointer?T(t,"pointerdown",this._onTapStart):(T(t,"mousedown",this._onTapStart),T(t,"touchstart",this._onTapStart)),this.nativeDraggable&&(T(t,"dragover",this),T(t,"dragenter",this)),It.push(this.el),i.store&&i.store.get&&this.sort(i.store.get(this)||[]),b(this,(e=[],{captureAnimationState:function(){e=[],this.options.animation&&[].slice.call(this.el.children).forEach((function(t){if("none"!==D(t,"display")&&t!==Wt.ghost){e.push({target:t,rect:N(t)});var i=f({},e[e.length-1].rect);if(t.thisAnimationDuration){var n=_(t,!0);n&&(i.top-=n.f,i.left-=n.e)}t.fromRect=i}}))},addAnimationState:function(t){e.push(t)},removeAnimationState:function(t){e.splice(function(t,i){for(var n in t)if(t.hasOwnProperty(n))for(var e in i)if(i.hasOwnProperty(e)&&i[e]===t[n][e])return Number(n);return-1}(e,{target:t}),1)},animateAll:function(t){var i=this;if(!this.options.animation)return clearTimeout(n),void("function"==typeof t&&t());var o=!1,r=0;e.forEach((function(t){var n=0,e=t.target,a=e.fromRect,s=N(e),u=e.prevFromRect,l=e.prevToRect,c=t.rect,h=_(e,!0);h&&(s.top-=h.f,s.left-=h.e),e.toRect=s,e.thisAnimationDuration&&G(u,s)&&!G(a,s)&&(c.top-s.top)/(c.left-s.left)==(a.top-s.top)/(a.left-s.left)&&(n=function(t,i,n,e){return Math.sqrt(Math.pow(i.top-t.top,2)+Math.pow(i.left-t.left,2))/Math.sqrt(Math.pow(i.top-n.top,2)+Math.pow(i.left-n.left,2))*e.animation}(c,u,l,i.options)),G(s,a)||(e.prevFromRect=a,e.prevToRect=s,n||(n=i.options.animation),i.animate(e,c,s,n)),n&&(o=!0,r=Math.max(r,n),clearTimeout(e.animationResetTimer),e.animationResetTimer=setTimeout((function(){e.animationTime=0,e.prevFromRect=null,e.fromRect=null,e.prevToRect=null,e.thisAnimationDuration=null}),n),e.thisAnimationDuration=n)})),clearTimeout(n),o?n=setTimeout((function(){"function"==typeof t&&t()}),r):"function"==typeof t&&t(),e=[]},animate:function(t,i,n,e){if(e){D(t,"transition",""),D(t,"transform","");var o=_(this.el),r=(i.left-n.left)/(o&&o.a||1),a=(i.top-n.top)/(o&&o.d||1);t.animatingX=!!r,t.animatingY=!!a,D(t,"transform","translate3d("+r+"px,"+a+"px,0)"),this.forRepaintDummy=function(t){return t.offsetWidth}(t),D(t,"transition","transform "+e+"ms"+(this.options.easing?" "+this.options.easing:"")),D(t,"transform","translate3d(0,0,0)"),"number"==typeof t.animated&&clearTimeout(t.animated),t.animated=setTimeout((function(){D(t,"transition",""),D(t,"transform",""),t.animated=!1,t.animatingX=!1,t.animatingY=!1}),e)}}}))}function Jt(t,i,n,e,o,r,a,s){var u,l,c=t[X],h=c.options.onMove;return!window.CustomEvent||m||p?(u=document.createEvent("Event")).initEvent("move",!0,!0):u=new CustomEvent("move",{bubbles:!0,cancelable:!0}),u.to=i,u.from=t,u.dragged=n,u.draggedRect=e,u.related=o||i,u.relatedRect=r||N(i),u.willInsertAfter=s,u.originalEvent=a,t.dispatchEvent(u),h&&(l=h.call(c,u,a)),l}function Qt(t){t.draggable=!1}function Xt(){Dt=!1}function Yt(t){for(var i=t.tagName+t.className+t.src+t.href+t.textContent,n=i.length,e=0;n--;)e+=i.charCodeAt(n);return e.toString(36)}function Zt(t){return setTimeout(t,0)}function qt(t){return clearTimeout(t)}Wt.prototype={constructor:Wt,_isOutsideThisEl:function(t){this.el.contains(t)||t===this.el||(Et=null)},_getDirection:function(t,i){return"function"==typeof this.options.direction?this.options.direction.call(this,t,i,it):this.options.direction},_onTapStart:function(t){if(t.cancelable){var i=this,n=this.el,e=this.options,o=e.preventOnFilter,r=t.type,a=t.touches&&t.touches[0]||t.pointerType&&"touch"===t.pointerType&&t,s=(a||t).target,u=t.target.shadowRoot&&(t.path&&t.path[0]||t.composedPath&&t.composedPath()[0])||s,l=e.filter;if(function(t){_t.length=0;for(var i=t.getElementsByTagName("input"),n=i.length;n--;){var e=i[n];e.checked&&_t.push(e)}}(n),!it&&!(/mousedown|pointerdown/.test(r)&&0!==t.button||e.disabled)&&!u.isContentEditable&&(this.nativeDraggable||!x||!s||"SELECT"!==s.tagName.toUpperCase())&&!((s=I(s,e.draggable,n,!1))&&s.animated||at===s)){if(lt=P(s),ht=P(s,e.draggable),"function"==typeof l){if(l.call(this,t,s,this))return tt({sortable:i,rootEl:u,name:"filter",targetEl:s,toEl:n,fromEl:n}),$("filter",i,{evt:t}),void(o&&t.preventDefault())}else if(l&&(l=l.split(",").some((function(e){if(e=I(u,e.trim(),n,!1))return tt({sortable:i,rootEl:e,name:"filter",targetEl:s,fromEl:n,toEl:n}),$("filter",i,{evt:t}),!0}))))return void(o&&t.preventDefault());e.handle&&!I(u,e.handle,n,!1)||this._prepareDragStart(t,a,s)}}},_prepareDragStart:function(t,i,n){var e,o=this,r=o.el,a=o.options,s=r.ownerDocument;if(n&&!it&&n.parentNode===r){var u=N(n);if(ot=r,nt=(it=n).parentNode,rt=it.nextSibling,at=n,dt=a.group,Wt.dragged=it,wt=(bt={target:it,clientX:(i||t).clientX,clientY:(i||t).clientY}).clientX-u.left,xt=bt.clientY-u.top,this._lastX=(i||t).clientX,this._lastY=(i||t).clientY,it.style["will-change"]="all",e=function(){$("delayEnded",o,{evt:t}),Wt.eventCanceled?o._onDrop():(o._disableDelayedDragEvents(),!w&&o.nativeDraggable&&(it.draggable=!0),o._triggerDragStart(t,i),tt({sortable:o,name:"choose",originalEvent:t}),A(it,a.chosenClass,!0))},a.ignore.split(",").forEach((function(t){z(it,t.trim(),Qt)})),T(s,"dragover",Gt),T(s,"mousemove",Gt),T(s,"touchmove",Gt),a.supportPointer?(T(s,"pointerup",o._onDrop),!this.nativeDraggable&&T(s,"pointercancel",o._onDrop)):(T(s,"mouseup",o._onDrop),T(s,"touchend",o._onDrop),T(s,"touchcancel",o._onDrop)),w&&this.nativeDraggable&&(this.options.touchStartThreshold=4,it.draggable=!0),$("delayStart",this,{evt:t}),!a.delay||a.delayOnTouchOnly&&!i||this.nativeDraggable&&(p||m))e();else{if(Wt.eventCanceled)return void this._onDrop();a.supportPointer?(T(s,"pointerup",o._disableDelayedDrag),T(s,"pointercancel",o._disableDelayedDrag)):(T(s,"mouseup",o._disableDelayedDrag),T(s,"touchend",o._disableDelayedDrag),T(s,"touchcancel",o._disableDelayedDrag)),T(s,"mousemove",o._delayedDragTouchMoveHandler),T(s,"touchmove",o._delayedDragTouchMoveHandler),a.supportPointer&&T(s,"pointermove",o._delayedDragTouchMoveHandler),o._dragStartTimer=setTimeout(e,a.delay)}}},_delayedDragTouchMoveHandler:function(t){var i=t.touches?t.touches[0]:t;Math.max(Math.abs(i.clientX-this._lastX),Math.abs(i.clientY-this._lastY))>=Math.floor(this.options.touchStartThreshold/(this.nativeDraggable&&window.devicePixelRatio||1))&&this._disableDelayedDrag()},_disableDelayedDrag:function(){it&&Qt(it),clearTimeout(this._dragStartTimer),this._disableDelayedDragEvents()},_disableDelayedDragEvents:function(){var t=this.el.ownerDocument;O(t,"mouseup",this._disableDelayedDrag),O(t,"touchend",this._disableDelayedDrag),O(t,"touchcancel",this._disableDelayedDrag),O(t,"pointerup",this._disableDelayedDrag),O(t,"pointercancel",this._disableDelayedDrag),O(t,"mousemove",this._delayedDragTouchMoveHandler),O(t,"touchmove",this._delayedDragTouchMoveHandler),O(t,"pointermove",this._delayedDragTouchMoveHandler)},_triggerDragStart:function(t,i){i=i||"touch"==t.pointerType&&t,!this.nativeDraggable||i?T(document,this.options.supportPointer?"pointermove":i?"touchmove":"mousemove",this._onTouchMove):(T(it,"dragend",this),T(ot,"dragstart",this._onDragStart));try{document.selection?Zt((function(){document.selection.empty()})):window.getSelection().removeAllRanges()}catch(t){}},_dragStarted:function(t,i){if(kt=!1,ot&&it){$("dragStarted",this,{evt:i}),this.nativeDraggable&&T(document,"dragover",Ut);var n=this.options;!t&&A(it,n.dragClass,!1),A(it,n.ghostClass,!0),Wt.active=this,t&&this._appendGhost(),tt({sortable:this,name:"start",originalEvent:i})}else this._nulling()},_emulateDragOver:function(){if(gt){this._lastX=gt.clientX,this._lastY=gt.clientY,Ht();for(var t=document.elementFromPoint(gt.clientX,gt.clientY),i=t;t&&t.shadowRoot&&(t=t.shadowRoot.elementFromPoint(gt.clientX,gt.clientY))!==i;)i=t;if(it.parentNode[X]._isOutsideThisEl(t),i)do{if(i[X]&&i[X]._onDragOver({clientX:gt.clientX,clientY:gt.clientY,target:t,rootEl:i})&&!this.options.dragoverBubble)break;t=i}while(i=M(i));Kt()}},_onTouchMove:function(t){if(bt){var i=this.options,n=i.fallbackTolerance,e=i.fallbackOffset,o=t.touches?t.touches[0]:t,r=et&&_(et,!0),a=et&&r&&r.a,s=et&&r&&r.d,u=Rt&&Ot&&H(Ot),l=(o.clientX-bt.clientX+e.x)/(a||1)+(u?u[0]-At[0]:0)/(a||1),c=(o.clientY-bt.clientY+e.y)/(s||1)+(u?u[1]-At[1]:0)/(s||1);if(!Wt.active&&!kt){if(n&&Math.max(Math.abs(o.clientX-this._lastX),Math.abs(o.clientY-this._lastY))<n)return;this._onDragStart(t,!0)}if(et){r?(r.e+=l-(mt||0),r.f+=c-(pt||0)):r={a:1,b:0,c:0,d:1,e:l,f:c};var h="matrix(".concat(r.a,",").concat(r.b,",").concat(r.c,",").concat(r.d,",").concat(r.e,",").concat(r.f,")");D(et,"webkitTransform",h),D(et,"mozTransform",h),D(et,"msTransform",h),D(et,"transform",h),mt=l,pt=c,gt=o}t.cancelable&&t.preventDefault()}},_appendGhost:function(){if(!et){var t=this.options.fallbackOnBody?document.body:ot,i=N(it,!0,Rt,!0,t),n=this.options;if(Rt){for(Ot=t;"static"===D(Ot,"position")&&"none"===D(Ot,"transform")&&Ot!==document;)Ot=Ot.parentNode;Ot!==document.body&&Ot!==document.documentElement?(Ot===document&&(Ot=R()),i.top+=Ot.scrollTop,i.left+=Ot.scrollLeft):Ot=R(),At=H(Ot)}A(et=it.cloneNode(!0),n.ghostClass,!1),A(et,n.fallbackClass,!0),A(et,n.dragClass,!0),D(et,"transition",""),D(et,"transform",""),D(et,"box-sizing","border-box"),D(et,"margin",0),D(et,"top",i.top),D(et,"left",i.left),D(et,"width",i.width),D(et,"height",i.height),D(et,"opacity","0.8"),D(et,"position",Rt?"absolute":"fixed"),D(et,"zIndex","100000"),D(et,"pointerEvents","none"),Wt.ghost=et,t.appendChild(et),D(et,"transform-origin",wt/parseInt(et.style.width)*100+"% "+xt/parseInt(et.style.height)*100+"%")}},_onDragStart:function(t,i){var n=this,e=t.dataTransfer,o=n.options;$("dragStart",this,{evt:t}),Wt.eventCanceled?this._onDrop():($("setupClone",this),Wt.eventCanceled||((st=J(it)).removeAttribute("id"),st.draggable=!1,st.style["will-change"]="",this._hideClone(),A(st,this.options.chosenClass,!1),Wt.clone=st),n.cloneId=Zt((function(){$("clone",n),Wt.eventCanceled||(n.options.removeCloneOnHide||ot.insertBefore(st,it),n._hideClone(),tt({sortable:n,name:"clone"}))})),!i&&A(it,o.dragClass,!0),i?(Mt=!0,n._loopId=setInterval(n._emulateDragOver,50)):(O(document,"mouseup",n._onDrop),O(document,"touchend",n._onDrop),O(document,"touchcancel",n._onDrop),e&&(e.effectAllowed="move",o.setData&&o.setData.call(n,e,it)),T(document,"drop",n),D(it,"transform","translateZ(0)")),kt=!0,n._dragStartId=Zt(n._dragStarted.bind(n,i,t)),T(document,"selectstart",n),yt=!0,window.getSelection().removeAllRanges(),x&&D(document.body,"user-select","none"))},_onDragOver:function(t){var i,n,e,o,r=this.el,a=t.target,s=this.options,u=s.group,l=Wt.active,c=dt===u,h=s.sort,d=vt||l,v=this,b=!1;if(!Dt){if(void 0!==t.preventDefault&&t.cancelable&&t.preventDefault(),a=I(a,s.draggable,r,!0),_("dragOver"),Wt.eventCanceled)return b;if(it.contains(t.target)||a.animated&&a.animatingX&&a.animatingY||v._ignoreWhileAnimating===a)return R(!1);if(Mt=!1,l&&!s.disabled&&(c?h||(e=nt!==ot):vt===this||(this.lastPutMode=dt.checkPull(this,l,it,t))&&u.checkPut(this,l,it,t))){if(o="vertical"===this._getDirection(t,a),i=N(it),_("dragOverValid"),Wt.eventCanceled)return b;if(e)return nt=ot,z(),this._hideClone(),_("revert"),Wt.eventCanceled||(rt?ot.insertBefore(it,rt):ot.appendChild(it)),R(!0);var g=B(r,s.draggable);if(!g||function(t,i,n){var e=N(B(n.el,n.options.draggable)),o=Q(n.el,n.options,et);return i?t.clientX>o.right+10||t.clientY>e.bottom&&t.clientX>e.left:t.clientY>o.bottom+10||t.clientX>e.right&&t.clientY>e.top}(t,o,this)&&!g.animated){if(g===it)return R(!1);if(g&&r===t.target&&(a=g),a&&(n=N(a)),!1!==Jt(ot,r,it,i,a,n,t,!!a))return z(),g&&g.nextSibling?r.insertBefore(it,g.nextSibling):r.appendChild(it),nt=r,H(),R(!0)}else if(g&&function(t,i,n){var e=N(F(n.el,0,n.options,!0)),o=Q(n.el,n.options,et);return i?t.clientX<o.left-10||t.clientY<e.top&&t.clientX<e.right:t.clientY<o.top-10||t.clientY<e.bottom&&t.clientX<e.left}(t,o,this)){var m=F(r,0,s,!0);if(m===it)return R(!1);if(n=N(a=m),!1!==Jt(ot,r,it,i,a,n,t,!1))return z(),r.insertBefore(it,m),nt=r,H(),R(!0)}else if(a.parentNode===r){n=N(a);var p,w,x,y=it.parentNode!==r,E=!function(t,i,n){var e=n?t.left:t.top,o=n?i.left:i.top;return e===o||(n?t.right:t.bottom)===(n?i.right:i.bottom)||e+(n?t.width:t.height)/2===o+(n?i.width:i.height)/2}(it.animated&&it.toRect||i,a.animated&&a.toRect||n,o),S=o?"top":"left",T=L(a,"top","top")||L(it,"top","top"),O=T?T.scrollTop:void 0;if(Et!==a&&(w=n[S],jt=!1,Ct=!E&&s.invertSwap||y),p=function(t,i,n,e,o,r,a,s){var u=e?t.clientY:t.clientX,l=e?n.height:n.width,c=e?n.top:n.left,h=e?n.bottom:n.right,f=!1;if(!a)if(s&&Tt<l*o){if(!jt&&(1===St?u>c+l*r/2:u<h-l*r/2)&&(jt=!0),jt)f=!0;else if(1===St?u<c+Tt:u>h-Tt)return-St}else if(u>c+l*(1-o)/2&&u<h-l*(1-o)/2)return function(t){return P(it)<P(t)?1:-1}(i);return(f=f||a)&&(u<c+l*r/2||u>h-l*r/2)?u>c+l/2?1:-1:0}(t,a,n,o,E?1:s.swapThreshold,null==s.invertedSwapThreshold?s.swapThreshold:s.invertedSwapThreshold,Ct,Et===a),0!==p){var k=P(it);do{x=nt.children[k-=p]}while(x&&("none"===D(x,"display")||x===et))}if(0===p||x===a)return R(!1);Et=a,St=p;var M=a.nextElementSibling,j=!1,C=Jt(ot,r,it,i,a,n,t,j=1===p);if(!1!==C)return 1!==C&&-1!==C||(j=1===C),Dt=!0,setTimeout(Xt,30),z(),j&&!M?r.appendChild(it):a.parentNode.insertBefore(it,j?M:a),T&&W(T,0,O-T.scrollTop),nt=it.parentNode,void 0===w||Ct||(Tt=Math.abs(w-N(a)[S])),H(),R(!0)}if(r.contains(it))return R(!1)}return!1}function _(s,u){$(s,v,f({evt:t,isOwner:c,axis:o?"vertical":"horizontal",revert:e,dragRect:i,targetRect:n,canSort:h,fromSortable:d,target:a,completed:R,onMove:function(n,e){return Jt(ot,r,it,i,n,N(n),t,e)},changed:H},u))}function z(){_("dragOverAnimationCapture"),v.captureAnimationState(),v!==d&&d.captureAnimationState()}function R(i){return _("dragOverCompleted",{insertion:i}),i&&(c?l._hideClone():l._showClone(v),v!==d&&(A(it,vt?vt.options.ghostClass:l.options.ghostClass,!1),A(it,s.ghostClass,!0)),vt!==v&&v!==Wt.active?vt=v:v===Wt.active&&vt&&(vt=null),d===v&&(v._ignoreWhileAnimating=a),v.animateAll((function(){_("dragOverAnimationComplete"),v._ignoreWhileAnimating=null})),v!==d&&(d.animateAll(),d._ignoreWhileAnimating=null)),(a===it&&!it.animated||a===r&&!a.animated)&&(Et=null),s.dragoverBubble||t.rootEl||a===document||(it.parentNode[X]._isOutsideThisEl(t.target),!i&&Gt(t)),!s.dragoverBubble&&t.stopPropagation&&t.stopPropagation(),b=!0}function H(){ct=P(it),ft=P(it,s.draggable),tt({sortable:v,name:"change",toEl:r,newIndex:ct,newDraggableIndex:ft,originalEvent:t})}},_ignoreWhileAnimating:null,_offMoveEvents:function(){O(document,"mousemove",this._onTouchMove),O(document,"touchmove",this._onTouchMove),O(document,"pointermove",this._onTouchMove),O(document,"dragover",Gt),O(document,"mousemove",Gt),O(document,"touchmove",Gt)},_offUpEvents:function(){var t=this.el.ownerDocument;O(t,"mouseup",this._onDrop),O(t,"touchend",this._onDrop),O(t,"pointerup",this._onDrop),O(t,"pointercancel",this._onDrop),O(t,"touchcancel",this._onDrop),O(document,"selectstart",this)},_onDrop:function(t){var i=this.el,n=this.options;ct=P(it),ft=P(it,n.draggable),$("drop",this,{evt:t}),nt=it&&it.parentNode,ct=P(it),ft=P(it,n.draggable),Wt.eventCanceled||(kt=!1,Ct=!1,jt=!1,clearInterval(this._loopId),clearTimeout(this._dragStartTimer),qt(this.cloneId),qt(this._dragStartId),this.nativeDraggable&&(O(document,"drop",this),O(i,"dragstart",this._onDragStart)),this._offMoveEvents(),this._offUpEvents(),x&&D(document.body,"user-select",""),D(it,"transform",""),t&&(yt&&(t.cancelable&&t.preventDefault(),!n.dropBubble&&t.stopPropagation()),et&&et.parentNode&&et.parentNode.removeChild(et),(ot===nt||vt&&"clone"!==vt.lastPutMode)&&st&&st.parentNode&&st.parentNode.removeChild(st),it&&(this.nativeDraggable&&O(it,"dragend",this),Qt(it),it.style["will-change"]="",yt&&!kt&&A(it,vt?vt.options.ghostClass:this.options.ghostClass,!1),A(it,this.options.chosenClass,!1),tt({sortable:this,name:"unchoose",toEl:nt,newIndex:null,newDraggableIndex:null,originalEvent:t}),ot!==nt?(ct>=0&&(tt({rootEl:nt,name:"add",toEl:nt,fromEl:ot,originalEvent:t}),tt({sortable:this,name:"remove",toEl:nt,originalEvent:t}),tt({rootEl:nt,name:"sort",toEl:nt,fromEl:ot,originalEvent:t}),tt({sortable:this,name:"sort",toEl:nt,originalEvent:t})),vt&&vt.save()):ct!==lt&&ct>=0&&(tt({sortable:this,name:"update",toEl:nt,originalEvent:t}),tt({sortable:this,name:"sort",toEl:nt,originalEvent:t})),Wt.active&&(null!=ct&&-1!==ct||(ct=lt,ft=ht),tt({sortable:this,name:"end",toEl:nt,originalEvent:t}),this.save())))),this._nulling()},_nulling:function(){$("nulling",this),ot=it=nt=et=rt=st=at=ut=bt=gt=yt=ct=ft=lt=ht=Et=St=vt=dt=Wt.dragged=Wt.ghost=Wt.clone=Wt.active=null,_t.forEach((function(t){t.checked=!0})),_t.length=mt=pt=0},handleEvent:function(t){switch(t.type){case"drop":case"dragend":this._onDrop(t);break;case"dragenter":case"dragover":it&&(this._onDragOver(t),function(t){t.dataTransfer&&(t.dataTransfer.dropEffect="move"),t.cancelable&&t.preventDefault()}(t));break;case"selectstart":t.preventDefault()}},toArray:function(){for(var t,i=[],n=this.el.children,e=0,o=n.length,r=this.options;e<o;e++)I(t=n[e],r.draggable,this.el,!1)&&i.push(t.getAttribute(r.dataIdAttr)||Yt(t));return i},sort:function(t,i){var n={},e=this.el;this.toArray().forEach((function(t,i){var o=e.children[i];I(o,this.options.draggable,e,!1)&&(n[t]=o)}),this),i&&this.captureAnimationState(),t.forEach((function(t){n[t]&&(e.removeChild(n[t]),e.appendChild(n[t]))})),i&&this.animateAll()},save:function(){var t=this.options.store;t&&t.set&&t.set(this)},closest:function(t,i){return I(t,i||this.options.draggable,this.el,!1)},option:function(t,i){var n=this.options;if(void 0===i)return n[t];var e=q.modifyOption(this,t,i);n[t]=void 0!==e?e:i,"group"===t&&Pt(n)},destroy:function(){$("destroy",this);var t=this.el;t[X]=null,O(t,"mousedown",this._onTapStart),O(t,"touchstart",this._onTapStart),O(t,"pointerdown",this._onTapStart),this.nativeDraggable&&(O(t,"dragover",this),O(t,"dragenter",this)),Array.prototype.forEach.call(t.querySelectorAll("[draggable]"),(function(t){t.removeAttribute("draggable")})),this._onDrop(),this._disableDelayedDragEvents(),It.splice(It.indexOf(this.el),1),this.el=t=null},_hideClone:function(){if(!ut){if($("hideClone",this),Wt.eventCanceled)return;D(st,"display","none"),this.options.removeCloneOnHide&&st.parentNode&&st.parentNode.removeChild(st),ut=!0}},_showClone:function(t){if("clone"===t.lastPutMode){if(ut){if($("showClone",this),Wt.eventCanceled)return;it.parentNode!=ot||this.options.group.revertClone?rt?ot.insertBefore(st,rt):ot.appendChild(st):ot.insertBefore(st,it),this.options.group.revertClone&&this.animate(it,st),D(st,"display",""),ut=!1}}else this._hideClone()}},zt&&T(document,"touchmove",(function(t){(Wt.active||kt)&&t.cancelable&&t.preventDefault()})),Wt.utils={on:T,off:O,css:D,find:z,is:function(t,i){return!!I(t,i,t,!1)},extend:function(t,i){if(t&&i)for(var n in i)i.hasOwnProperty(n)&&(t[n]=i[n]);return t},throttle:U,closest:I,toggleClass:A,clone:J,index:P,nextTick:Zt,cancelNextTick:qt,detectDirection:Bt,getChild:F,expando:X},Wt.get=function(t){return t[X]},Wt.mount=function(){for(var t=arguments.length,i=new Array(t),n=0;n<t;n++)i[n]=arguments[n];i[0].constructor===Array&&(i=i[0]),i.forEach((function(t){if(!t.prototype||!t.prototype.constructor)throw"Sortable: Mounted plugin must be a constructor function, not ".concat({}.toString.call(t));t.utils&&(Wt.utils=f(f({},Wt.utils),t.utils)),q.mount(t)}))},Wt.create=function(t,i){return new Wt(t,i)},Wt.version="1.15.6";var Vt,$t,ti,ii,ni,ei,oi=[],ri=!1;function ai(){oi.forEach((function(t){clearInterval(t.pid)})),oi=[]}function si(){clearInterval(ei)}var ui=U((function(t,i,n,e){if(i.scroll){var o,r=(t.touches?t.touches[0]:t).clientX,a=(t.touches?t.touches[0]:t).clientY,s=i.scrollSensitivity,u=i.scrollSpeed,l=R(),c=!1;$t!==n&&($t=n,ai(),o=i.scrollFn,!0===(Vt=i.scroll)&&(Vt=K(n,!0)));var h=0,f=Vt;do{var d=f,v=N(d),b=v.top,g=v.bottom,m=v.left,p=v.right,w=v.width,x=v.height,y=void 0,E=void 0,S=d.scrollWidth,T=d.scrollHeight,O=D(d),k=d.scrollLeft,M=d.scrollTop;d===l?(y=w<S&&("auto"===O.overflowX||"scroll"===O.overflowX||"visible"===O.overflowX),E=x<T&&("auto"===O.overflowY||"scroll"===O.overflowY||"visible"===O.overflowY)):(y=w<S&&("auto"===O.overflowX||"scroll"===O.overflowX),E=x<T&&("auto"===O.overflowY||"scroll"===O.overflowY));var I=y&&(Math.abs(p-r)<=s&&k+w<S)-(Math.abs(m-r)<=s&&!!k),j=E&&(Math.abs(g-a)<=s&&M+x<T)-(Math.abs(b-a)<=s&&!!M);if(!oi[h])for(var C=0;C<=h;C++)oi[C]||(oi[C]={});oi[h].vx==I&&oi[h].vy==j&&oi[h].el===d||(oi[h].el=d,oi[h].vx=I,oi[h].vy=j,clearInterval(oi[h].pid),0==I&&0==j||(c=!0,oi[h].pid=setInterval(function(){e&&0===this.layer&&Wt.active._onTouchMove(ni);var i=oi[this.layer].vy?oi[this.layer].vy*u:0,n=oi[this.layer].vx?oi[this.layer].vx*u:0;"function"==typeof o&&"continue"!==o.call(Wt.dragged.parentNode[X],n,i,t,ni,oi[this.layer].el)||W(oi[this.layer].el,n,i)}.bind({layer:h}),24))),h++}while(i.bubbleScroll&&f!==l&&(f=K(f,!1)));ri=c}}),30),li=function(t){var i=t.originalEvent,n=t.putSortable,e=t.dragEl,o=t.dispatchSortableEvent,r=t.unhideGhostForTarget;if(i){var a=n||t.activeSortable;(0,t.hideGhostForTarget)();var s=i.changedTouches&&i.changedTouches.length?i.changedTouches[0]:i,u=document.elementFromPoint(s.clientX,s.clientY);r(),a&&!a.el.contains(u)&&(o("spill"),this.onSpill({dragEl:e,putSortable:n}))}};function ci(){}function hi(){}ci.prototype={startIndex:null,dragStart:function(t){this.startIndex=t.oldDraggableIndex},onSpill:function(t){var i=t.dragEl,n=t.putSortable;this.sortable.captureAnimationState(),n&&n.captureAnimationState();var e=F(this.sortable.el,this.startIndex,this.options);e?this.sortable.el.insertBefore(i,e):this.sortable.el.appendChild(i),this.sortable.animateAll(),n&&n.animateAll()},drop:li},b(ci,{pluginName:"revertOnSpill"}),hi.prototype={onSpill:function(t){var i=t.dragEl,n=t.putSortable||this.sortable;n.captureAnimationState(),i.parentNode&&i.parentNode.removeChild(i),n.animateAll()},drop:li},b(hi,{pluginName:"removeOnSpill"}),Wt.mount(new function(){function t(){for(var t in this.defaults={scroll:!0,forceAutoScrollFallback:!1,scrollSensitivity:30,scrollSpeed:10,bubbleScroll:!0},this)"_"===t.charAt(0)&&"function"==typeof this[t]&&(this[t]=this[t].bind(this))}return t.prototype={dragStarted:function(t){var i=t.originalEvent;this.sortable.nativeDraggable?T(document,"dragover",this._handleAutoScroll):T(document,this.options.supportPointer?"pointermove":i.touches?"touchmove":"mousemove",this._handleFallbackAutoScroll)},dragOverCompleted:function(t){var i=t.originalEvent;this.options.dragOverBubble||i.rootEl||this._handleAutoScroll(i)},drop:function(){this.sortable.nativeDraggable?O(document,"dragover",this._handleAutoScroll):(O(document,"pointermove",this._handleFallbackAutoScroll),O(document,"touchmove",this._handleFallbackAutoScroll),O(document,"mousemove",this._handleFallbackAutoScroll)),si(),ai(),clearTimeout(j),j=void 0},nulling:function(){ni=$t=Vt=ri=ei=ti=ii=null,oi.length=0},_handleFallbackAutoScroll:function(t){this._handleAutoScroll(t,!0)},_handleAutoScroll:function(t,i){var n=this,e=(t.touches?t.touches[0]:t).clientX,o=(t.touches?t.touches[0]:t).clientY,r=document.elementFromPoint(e,o);if(ni=t,i||this.options.forceAutoScrollFallback||p||m||x){ui(t,this.options,r,i);var a=K(r,!0);!ri||ei&&e===ti&&o===ii||(ei&&si(),ei=setInterval((function(){var r=K(document.elementFromPoint(e,o),!0);r!==a&&(a=r,ai()),ui(t,n.options,r,i)}),10),ti=e,ii=o)}else{if(!this.options.bubbleScroll||K(r,!0)===R())return void ai();ui(t,this.options,K(r,!1),!1)}}},b(t,{pluginName:"scroll",initializeByDefault:!0})}),Wt.mount(hi,ci);const fi=class{constructor(n){t(this,n),this.newTab=i(this,"newTab",7),this.sortChanged=i(this,"sortChanged",7),this.showNewTabButton=!0,this.tabLimit=1/0,this.allowSort=!0,this.focused=0,this.disableAddTabButton=!1,this.hasScrollbar=!1,this.keyboardSort=!1,this.initialSortIndex=0,this.ariaLiveAlert=""}onFocusin(t){this.allowSort&&s(".gux-tablist",t)&&!this.keyboardSort&&(this.ariaLiveAlert="toggleSort")}onFocusout(t){this.root.querySelector(".gux-tablist").contains(t.relatedTarget)||this.tabTriggers.forEach(((t,i)=>{t.guxGetActive().then((n=>{n?this.focused=i:(t.querySelector(".gux-tab-button").setAttribute("tabindex","-1"),t.querySelector(".gux-tab-options-button")&&t.querySelector(".gux-tab-options-button").setAttribute("tabindex","-1"))}))}))}watchAllowSort(t){t?this.validateSortableInstance():this.destroySortable()}onMutation(){this.setTabTriggers()}onKeydown(t){switch(t.key){case"ArrowRight":case"ArrowDown":if(t.preventDefault(),this.keyboardSort&&!s(".gux-tab-options-button",t)){this.ariaLiveAlert="";const t=this.root.querySelector(".gux-tablist"),i=t.querySelectorAll("gux-tab-advanced"),n=Array.prototype.indexOf.call(i,this.sortTarget);let e;e=n===i.length-1?i[0]:i[n+2],t.insertBefore(this.sortTarget,e),this.tabTriggers=this.root.querySelectorAll("gux-tab-advanced"),this.tabTriggers.forEach(((t,i)=>{var n;t.tabId===(null===(n=this.sortTarget)||void 0===n?void 0:n.getAttribute("tab-id"))&&(this.focused=i)})),this.focusTab(this.focused)}else s(".gux-tab-options-button",t)||s(".gux-dropdown-option-container",t)||this.handleKeyboardScroll("forward");break;case"ArrowLeft":case"ArrowUp":if(t.preventDefault(),this.keyboardSort&&!s(".gux-tab-options-button",t)){this.ariaLiveAlert="";const t=this.root.querySelector(".gux-tablist"),i=t.querySelectorAll("gux-tab-advanced"),n=Array.prototype.indexOf.call(i,this.sortTarget);t.insertBefore(this.sortTarget,i[n-1]||null),this.tabTriggers=this.root.querySelectorAll("gux-tab-advanced"),this.tabTriggers.forEach(((t,i)=>{var n;t.tabId===(null===(n=this.sortTarget)||void 0===n?void 0:n.getAttribute("tab-id"))&&(this.focused=i)})),this.focusTab(this.focused)}else s(".gux-tab-options-button",t)||s(".gux-dropdown-option-container",t)||this.handleKeyboardScroll("backward");break;case"Escape":t.preventDefault(),this.keyboardSort&&this.allowSort&&(this.keyboardSort=!1,this.ariaLiveAlert="sortCancelled",this.root.querySelector(".gux-tablist").insertBefore(this.sortTarget,this.tabTriggers[this.initialSortIndex]||null)),this.tabTriggers=this.root.querySelectorAll("gux-tab-advanced"),this.tabTriggers.forEach(((t,i)=>{var n;t.tabId===(null===(n=this.sortTarget)||void 0===n?void 0:n.getAttribute("tab-id"))&&(this.focused=i)})),this.focusTab(this.initialSortIndex),u((()=>{this.focusTab(this.initialSortIndex)}));break;case"Enter":this.keyboardSort&&(t.preventDefault(),this.keyboardSort=!1,this.ariaLiveAlert="sortComplete",this.tabTriggers=this.root.querySelectorAll("gux-tab-advanced"),this.tabTriggers.forEach(((t,i)=>{var n;t.tabId===(null===(n=this.sortTarget)||void 0===n?void 0:n.getAttribute("tab-id"))&&(this.focused=i)})),this.emitSortChanged());break;case"Tab":this.keyboardSort&&(this.keyboardSort=!1,this.ariaLiveAlert="sortCancelled");break;case"Home":t.preventDefault(),this.focusTab(0);break;case"End":t.preventDefault(),this.focusTab(this.tabTriggers.length-1)}}onKeyup(t){" "===t.key&&s(".gux-tab",t)&&!s(".gux-tab-options-button",t)&&!s("gux-popover-list",t)&&this.allowSort&&(t.preventDefault(),!0===this.keyboardSort?(this.keyboardSort=!1,this.ariaLiveAlert="sortComplete",this.tabTriggers=this.root.querySelectorAll("gux-tab-advanced"),this.tabTriggers.forEach(((t,i)=>{var n;t.tabId===(null===(n=this.sortTarget)||void 0===n?void 0:n.getAttribute("tab-id"))&&(this.focused=i)})),this.focusTab(this.focused),this.emitSortChanged()):(this.keyboardSort=!0,this.sortTarget=t.target.closest("gux-tab-advanced"),this.tabTriggers.forEach(((t,i)=>{var n;t.tabId===(null===(n=this.sortTarget)||void 0===n?void 0:n.getAttribute("tab-id"))&&(this.initialSortIndex=i)})),this.ariaLiveAlert="sortModeOn"))}async guxSetActive(t){this.tabTriggers.forEach(((i,n)=>{const e=i.tabId===t;i.guxSetActive(e),e&&(this.focused=n)}))}focusTab(t){this.focused=t,this.tabTriggers.forEach(((t,i)=>{t.guxGetActive().then((n=>{this.focused===i||n||(t.querySelector(".gux-tab-button").setAttribute("tabindex","-1"),t.querySelector(".gux-tab-options-button")&&t.querySelector(".gux-tab-options-button").setAttribute("tabindex","-1"))}))})),this.tabTriggers[this.focused].querySelector("button").setAttribute("tabindex","0"),this.tabTriggers[this.focused].querySelector(".gux-tab-options-button")&&this.tabTriggers[this.focused].querySelector(".gux-tab-options-button").setAttribute("tabindex","0"),this.tabTriggers[this.focused].guxFocus()}setTabTriggers(){this.tabTriggers=this.root.querySelectorAll("gux-tab-advanced"),this.triggerIds=this.tabTriggers?Array.from(this.tabTriggers).map((t=>`gux-${t.getAttribute("tab-id")}-tab`)).join(" "):""}createSortable(){this.sortableInstance=new Wt(this.root.querySelector(".gux-tablist"),{animation:250,draggable:"gux-tab-advanced",filter:".ignore-sort",onMove:t=>!t.related.classList.contains("ignore-sort"),onUpdate:()=>{this.emitSortChanged()}})}destroySortable(){this.sortableInstance&&(this.sortableInstance.destroy(),this.sortableInstance=null)}emitSortChanged(){const t=Array.from(this.root.querySelectorAll("gux-tab-advanced")).map((t=>t.tabId));this.sortChanged.emit(t)}checkForScrollbarHideOrShow(){n((()=>{const t=this.root.querySelector(".gux-scrollable-section"),i=t.clientWidth<t.scrollWidth;i!==this.hasScrollbar&&(this.hasScrollbar=i)}))}handleKeyboardScroll(t){"forward"===t?this.focused<this.tabTriggers.length-1?(this.hasScrollbar&&this.scrollRight(),this.focusTab(this.focused+1)):(this.hasScrollbar&&this.scrollToStart(),this.focusTab(0)):"backward"===t&&(this.focused>0?(this.hasScrollbar&&this.scrollLeft(),this.focusTab(this.focused-1)):(this.hasScrollbar&&this.scrollToEnd(),this.focusTab(this.tabTriggers.length-1)))}disconnectedCallback(){this.sortableInstance&&this.destroySortable(),this.resizeObserver&&this.resizeObserver.unobserve(this.root.querySelector(".gux-tab-container")),this.domObserver&&this.domObserver.disconnect()}async componentWillLoad(){this.setTabTriggers(),this.i18n=await l(this.root,c,"gux-tabs-advanced")}validateSortableInstance(){this.allowSort&&!this.sortableInstance&&this.createSortable()}componentDidLoad(){this.validateSortableInstance(),!this.resizeObserver&&window.ResizeObserver&&(this.resizeObserver=new ResizeObserver((()=>this.checkForScrollbarHideOrShow()))),this.resizeObserver&&this.resizeObserver.observe(this.root.querySelector(".gux-scrollable-section")),!this.domObserver&&window.MutationObserver&&(this.domObserver=new MutationObserver((()=>this.checkForScrollbarHideOrShow()))),this.domObserver&&this.domObserver.observe(this.root,{childList:!0,attributes:!1,subtree:!0}),u((()=>{this.checkForScrollbarHideOrShow()}),500)}scrollLeft(){e((()=>{var t;this.root.querySelector(".gux-scrollable-section").scrollBy(-(null===(t=this.root.querySelector("gux-tab-advanced"))||void 0===t?void 0:t.scrollWidth),0)}))}scrollRight(){e((()=>{var t;this.root.querySelector(".gux-scrollable-section").scrollBy(null===(t=this.root.querySelector("gux-tab-advanced"))||void 0===t?void 0:t.scrollWidth,0)}))}scrollToStart(){const t=this.root.querySelector(".gux-scrollable-section");e((()=>{null==t||t.scrollBy(-(null==t?void 0:t.scrollWidth),0)}))}scrollToEnd(){const t=this.root.querySelector(".gux-scrollable-section");e((()=>{t.scrollBy(null==t?void 0:t.scrollWidth,0)}))}componentWillRender(){const t=Array.from(this.root.querySelectorAll("gux-tab-advanced"));this.disableAddTabButton=t.length>=this.tabLimit}render(){return[this.renderAlert(),o("div",{key:"f7079bf1082659cb1f5a29f0928e428f3b5fbf25",class:"gux-tab-container"},this.renderScrollButton("scrollLeft"),o("div",{key:"a49ab3480db2fb423a9bf7d23233e20d9bc3a077",class:"gux-scrollable-section"},o("div",{key:"94e12932f89485177fac11deaa9100e17261060c",class:"gux-tablist",role:"tablist","data-gux-tab-sorting":this.keyboardSort,"aria-owns":this.triggerIds},o("slot",{key:"14fe46a598158256533200e5f603e57a33ef6bbd"}))),this.renderScrollButton("scrollRight"),this.renderAddButton())]}renderAlert(){return o("div",{class:"gux-sr-only gux-aria-live-region","aria-live":"polite"},this.ariaLiveAlert?this.i18n(this.ariaLiveAlert):"")}renderAddButton(){return o("div",null,this.showNewTabButton?o("gux-button-slot",{accent:"ghost"},o("button",{onClick:()=>this.newTab.emit(),disabled:this.disableAddTabButton},o("slot",{name:"add-tab"},o("gux-icon",{size:"small","icon-name":"fa/plus-regular",decorative:!0}),o("gux-screen-reader-beta",null,this.disableAddTabButton?this.i18n("disableNewTab"):this.root.querySelector('[slot="add-tab"]')?this.root.querySelector('[slot="add-tab"]').textContent.trim():this.i18n("createNewTab"))))):null)}renderScrollButton(t){return o("div",null,this.hasScrollbar?o("gux-button-slot",{class:"gux-scroll-button",accent:"ghost","icon-only":!0},o("button",{tabindex:"-1",onDragOver:()=>this.getScrollDirection(t),onClick:()=>this.getScrollDirection(t)},o("gux-icon",{size:"small","icon-name":this.getChevronIconName(t),decorative:!0}),o("gux-screen-reader-beta",null,this.i18n(t)))):null)}getScrollDirection(t){switch(t){case"scrollLeft":this.scrollLeft();break;case"scrollRight":this.scrollRight()}}getChevronIconName(t){switch(t){case"scrollLeft":return"fa/chevron-left-regular";case"scrollRight":return"fa/chevron-right-regular"}}get root(){return r(this)}static get watchers(){return{allowSort:["watchAllowSort"]}}};(function(t,i,n,e){var o,r=arguments.length,a=r<3?i:null===e?e=Object.getOwnPropertyDescriptor(i,n):e;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(t,i,n,e);else for(var s=t.length-1;s>=0;s--)(o=t[s])&&(a=(r<3?o(a):r>3?o(i,n,a):o(i,n))||a);r>3&&a&&Object.defineProperty(i,n,a)})([a({childList:!0,subtree:!0})],fi.prototype,"onMutation",null),fi.style=".gux-tab-container{display:flex;flex-direction:row;flex-wrap:nowrap;align-items:center;justify-content:flex-start;inline-size:100%;background-color:var(--gse-ui-advancedTabs-set-backgroundColor)}.gux-tab-container button{block-size:var(--gse-ui-button-default-height);padding:var(--gse-ui-button-default-paddingIconOnly);border-radius:var(--gse-ui-button-borderRadius)}.gux-tab-container [slot=add-tab]{display:flex;align-items:center;justify-content:center}.gux-tab-container .gux-scrollable-section{display:flex;flex-direction:row;flex-wrap:nowrap;align-items:center;justify-content:flex-start;overflow-x:auto;scrollbar-width:none;border-block-end:var(--gse-ui-advancedTabs-item-divider-border-width) var(--gse-ui-advancedTabs-item-divider-border-style) var(--gse-ui-advancedTabs-item-divider-border-color);scroll-behavior:smooth}.gux-tab-container .gux-scrollable-section::-webkit-scrollbar{block-size:0}.gux-tab-container .gux-scrollable-section .gux-tablist{display:flex;flex-direction:row;flex-wrap:nowrap;align-items:center;justify-content:flex-start}.gux-sr-only{position:absolute;top:auto;left:-10000px;width:1px;height:1px;overflow:hidden}";export{fi as gux_tab_advanced_list}
7
+ */function h(t,i){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var e=Object.getOwnPropertySymbols(t);i&&(e=e.filter((function(i){return Object.getOwnPropertyDescriptor(t,i).enumerable}))),n.push.apply(n,e)}return n}function d(t){for(var i=1;i<arguments.length;i++){var n=null!=arguments[i]?arguments[i]:{};i%2?h(Object(n),!0).forEach((function(i){v(t,i,n[i])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):h(Object(n)).forEach((function(i){Object.defineProperty(t,i,Object.getOwnPropertyDescriptor(n,i))}))}return t}function f(t){return f="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},f(t)}function v(t,i,n){return i in t?Object.defineProperty(t,i,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[i]=n,t}function b(){return b=Object.assign||function(t){for(var i=1;i<arguments.length;i++){var n=arguments[i];for(var e in n)Object.prototype.hasOwnProperty.call(n,e)&&(t[e]=n[e])}return t},b.apply(this,arguments)}function g(t){if("undefined"!=typeof window&&window.navigator)return!!navigator.userAgent.match(t)}var m=g(/(?:Trident.*rv[ :]?11\.|msie|iemobile|Windows Phone)/i),p=g(/Edge/i),w=g(/firefox/i),x=g(/safari/i)&&!g(/chrome/i)&&!g(/android/i),y=g(/iP(ad|od|hone)/i),E=g(/chrome/i)&&g(/android/i),S={capture:!1,passive:!1};function T(t,i,n){t.addEventListener(i,n,!m&&S)}function O(t,i,n){t.removeEventListener(i,n,!m&&S)}function k(t,i){if(i){if(">"===i[0]&&(i=i.substring(1)),t)try{if(t.matches)return t.matches(i);if(t.msMatchesSelector)return t.msMatchesSelector(i);if(t.webkitMatchesSelector)return t.webkitMatchesSelector(i)}catch(t){return!1}return!1}}function M(t){return t.host&&t!==document&&t.host.nodeType?t.host:t.parentNode}function I(t,i,n,e){if(t){n=n||document;do{if(null!=i&&(">"===i[0]?t.parentNode===n&&k(t,i):k(t,i))||e&&t===n)return t;if(t===n)break}while(t=M(t))}return null}var C,j=/\s+/g;function A(t,i,n){if(t&&i)if(t.classList)t.classList[n?"add":"remove"](i);else{var e=(" "+t.className+" ").replace(j," ").replace(" "+i+" "," ");t.className=(e+(n?" "+i:"")).replace(j," ")}}function D(t,i,n){var e=t&&t.style;if(e){if(void 0===n)return document.defaultView&&document.defaultView.getComputedStyle?n=document.defaultView.getComputedStyle(t,""):t.currentStyle&&(n=t.currentStyle),void 0===i?n:n[i];i in e||-1!==i.indexOf("webkit")||(i="-webkit-"+i),e[i]=n+("string"==typeof n?"":"px")}}function _(t,i){var n="";if("string"==typeof t)n=t;else do{var e=D(t,"transform");e&&"none"!==e&&(n=e+" "+n)}while(!i&&(t=t.parentNode));var o=window.DOMMatrix||window.WebKitCSSMatrix||window.CSSMatrix||window.MSCSSMatrix;return o&&new o(n)}function z(t,i,n){if(t){var e=t.getElementsByTagName(i),o=0,r=e.length;if(n)for(;o<r;o++)n(e[o],o);return e}return[]}function R(){return document.scrollingElement||document.documentElement}function L(t,i,n,e,o){if(t.getBoundingClientRect||t===window){var r,a,s,u,l,c,h;if(t!==window&&t.parentNode&&t!==R()?(a=(r=t.getBoundingClientRect()).top,s=r.left,u=r.bottom,l=r.right,c=r.height,h=r.width):(a=0,s=0,u=window.innerHeight,l=window.innerWidth,c=window.innerHeight,h=window.innerWidth),(i||n)&&t!==window&&(o=o||t.parentNode,!m))do{if(o&&o.getBoundingClientRect&&("none"!==D(o,"transform")||n&&"static"!==D(o,"position"))){var d=o.getBoundingClientRect();a-=d.top+parseInt(D(o,"border-top-width")),s-=d.left+parseInt(D(o,"border-left-width")),u=a+r.height,l=s+r.width;break}}while(o=o.parentNode);if(e&&t!==window){var f=_(o||t),v=f&&f.a,b=f&&f.d;f&&(u=(a/=b)+(c/=b),l=(s/=v)+(h/=v))}return{top:a,left:s,bottom:u,right:l,width:h,height:c}}}function N(t,i,n){for(var e=G(t,!0),o=L(t)[i];e;){if(!(o>=L(e)[n]))return e;if(e===R())break;e=G(e,!1)}return!1}function F(t,i,n,e){for(var o=0,r=0,a=t.children;r<a.length;){if("none"!==a[r].style.display&&a[r]!==Wt.ghost&&(e||a[r]!==Wt.dragged)&&I(a[r],n.draggable,t,!1)){if(o===i)return a[r];o++}r++}return null}function B(t,i){for(var n=t.lastElementChild;n&&(n===Wt.ghost||"none"===D(n,"display")||i&&!k(n,i));)n=n.previousElementSibling;return n||null}function H(t,i){var n=0;if(!t||!t.parentNode)return-1;for(;t=t.previousElementSibling;)"TEMPLATE"===t.nodeName.toUpperCase()||t===Wt.clone||i&&!k(t,i)||n++;return n}function P(t){var i=0,n=0,e=R();if(t)do{var o=_(t);i+=t.scrollLeft*o.a,n+=t.scrollTop*o.d}while(t!==e&&(t=t.parentNode));return[i,n]}function G(t,i){if(!t||!t.getBoundingClientRect)return R();var n=t,e=!1;do{if(n.clientWidth<n.scrollWidth||n.clientHeight<n.scrollHeight){var o=D(n);if(n.clientWidth<n.scrollWidth&&("auto"==o.overflowX||"scroll"==o.overflowX)||n.clientHeight<n.scrollHeight&&("auto"==o.overflowY||"scroll"==o.overflowY)){if(!n.getBoundingClientRect||n===document.body)return R();if(e||i)return n;e=!0}}}while(n=n.parentNode);return R()}function K(t,i){return Math.round(t.top)===Math.round(i.top)&&Math.round(t.left)===Math.round(i.left)&&Math.round(t.height)===Math.round(i.height)&&Math.round(t.width)===Math.round(i.width)}function U(t,i){return function(){if(!C){var n=arguments;1===n.length?t.call(this,n[0]):t.apply(this,n),C=setTimeout((function(){C=void 0}),i)}}}function W(t,i,n){t.scrollLeft+=i,t.scrollTop+=n}function Y(t){var i=window.Polymer,n=window.jQuery||window.Zepto;return i&&i.dom?i.dom(t).cloneNode(!0):n?n(t).clone(!0)[0]:t.cloneNode(!0)}function q(t,i,n){var e={};return Array.from(t.children).forEach((function(o){var r,a,s,u;if(I(o,i.draggable,t,!1)&&!o.animated&&o!==n){var l=L(o);e.left=Math.min(null!==(r=e.left)&&void 0!==r?r:1/0,l.left),e.top=Math.min(null!==(a=e.top)&&void 0!==a?a:1/0,l.top),e.right=Math.max(null!==(s=e.right)&&void 0!==s?s:-1/0,l.right),e.bottom=Math.max(null!==(u=e.bottom)&&void 0!==u?u:-1/0,l.bottom)}})),e.width=e.right-e.left,e.height=e.bottom-e.top,e.x=e.left,e.y=e.top,e}var J="Sortable"+(new Date).getTime();var X=[],Z={initializeByDefault:!0},$={mount:function(t){for(var i in Z)Z.hasOwnProperty(i)&&!(i in t)&&(t[i]=Z[i]);X.forEach((function(i){if(i.pluginName===t.pluginName)throw"Sortable: Cannot mount plugin ".concat(t.pluginName," more than once")})),X.push(t)},pluginEvent:function(t,i,n){var e=this;this.eventCanceled=!1,n.cancel=function(){e.eventCanceled=!0};var o=t+"Global";X.forEach((function(e){i[e.pluginName]&&(i[e.pluginName][o]&&i[e.pluginName][o](d({sortable:i},n)),i.options[e.pluginName]&&i[e.pluginName][t]&&i[e.pluginName][t](d({sortable:i},n)))}))},initializePlugins:function(t,i,n){for(var e in X.forEach((function(e){var o=e.pluginName;if(t.options[o]||e.initializeByDefault){var r=new e(t,i,t.options);r.sortable=t,r.options=t.options,t[o]=r,b(n,r.defaults)}})),t.options)if(t.options.hasOwnProperty(e)){var o=this.modifyOption(t,e,t.options[e]);void 0!==o&&(t.options[e]=o)}},getEventProperties:function(t,i){var n={};return X.forEach((function(e){"function"==typeof e.eventProperties&&b(n,e.eventProperties.call(i[e.pluginName],t))})),n},modifyOption:function(t,i,n){var e;return X.forEach((function(o){t[o.pluginName]&&o.optionListeners&&"function"==typeof o.optionListeners[i]&&(e=o.optionListeners[i].call(t[o.pluginName],n))})),e}},V=["evt"],Q=function(t,i){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},e=n.evt,o=function(t,i){if(null==t)return{};var n,e,o=function(t,i){if(null==t)return{};var n,e,o={},r=Object.keys(t);for(e=0;e<r.length;e++)i.indexOf(n=r[e])>=0||(o[n]=t[n]);return o}(t,i);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);for(e=0;e<r.length;e++)i.indexOf(n=r[e])>=0||Object.prototype.propertyIsEnumerable.call(t,n)&&(o[n]=t[n])}return o}(n,V);$.pluginEvent.bind(Wt)(t,i,d({dragEl:it,parentEl:nt,ghostEl:et,rootEl:ot,nextEl:rt,lastDownEl:at,cloneEl:st,cloneHidden:ut,dragStarted:yt,putSortable:vt,activeSortable:Wt.active,originalEvent:e,oldIndex:lt,oldDraggableIndex:ht,newIndex:ct,newDraggableIndex:dt,hideGhostForTarget:Pt,unhideGhostForTarget:Gt,cloneNowHidden:function(){ut=!0},cloneNowShown:function(){ut=!1},dispatchSortableEvent:function(t){tt({sortable:i,name:t,originalEvent:e})}},o))};function tt(t){!function(t){var i=t.sortable,n=t.rootEl,e=t.name,o=t.targetEl,r=t.cloneEl,a=t.toEl,s=t.fromEl,u=t.oldIndex,l=t.newIndex,c=t.oldDraggableIndex,h=t.newDraggableIndex,f=t.originalEvent,v=t.putSortable,b=t.extraEventProperties;if(i=i||n&&n[J]){var g,w=i.options,x="on"+e.charAt(0).toUpperCase()+e.substr(1);!window.CustomEvent||m||p?(g=document.createEvent("Event")).initEvent(e,!0,!0):g=new CustomEvent(e,{bubbles:!0,cancelable:!0}),g.to=a||n,g.from=s||n,g.item=o||n,g.clone=r,g.oldIndex=u,g.newIndex=l,g.oldDraggableIndex=c,g.newDraggableIndex=h,g.originalEvent=f,g.pullMode=v?v.lastPutMode:void 0;var y=d(d({},b),$.getEventProperties(e,i));for(var E in y)g[E]=y[E];n&&n.dispatchEvent(g),w[x]&&w[x].call(i,g)}}(d({putSortable:vt,cloneEl:st,targetEl:it,rootEl:ot,oldIndex:lt,oldDraggableIndex:ht,newIndex:ct,newDraggableIndex:dt},t))}var it,nt,et,ot,rt,at,st,ut,lt,ct,ht,dt,ft,vt,bt,gt,mt,pt,wt,xt,yt,Et,St,Tt,Ot,kt=!1,Mt=!1,It=[],Ct=!1,jt=!1,At=[],Dt=!1,_t=[],zt="undefined"!=typeof document,Rt=y,Lt=p||m?"cssFloat":"float",Nt=zt&&!E&&!y&&"draggable"in document.createElement("div"),Ft=function(){if(zt){if(m)return!1;var t=document.createElement("x");return t.style.cssText="pointer-events:auto","auto"===t.style.pointerEvents}}(),Bt=function(t,i){var n=D(t),e=parseInt(n.width)-parseInt(n.paddingLeft)-parseInt(n.paddingRight)-parseInt(n.borderLeftWidth)-parseInt(n.borderRightWidth),o=F(t,0,i),r=F(t,1,i),a=o&&D(o),s=r&&D(r),u=a&&parseInt(a.marginLeft)+parseInt(a.marginRight)+L(o).width,l=s&&parseInt(s.marginLeft)+parseInt(s.marginRight)+L(r).width;return"flex"===n.display?"column"===n.flexDirection||"column-reverse"===n.flexDirection?"vertical":"horizontal":"grid"===n.display?n.gridTemplateColumns.split(" ").length<=1?"vertical":"horizontal":o&&a.float&&"none"!==a.float?!r||"both"!==s.clear&&s.clear!==("left"===a.float?"left":"right")?"horizontal":"vertical":o&&("block"===a.display||"flex"===a.display||"table"===a.display||"grid"===a.display||u>=e&&"none"===n[Lt]||r&&"none"===n[Lt]&&u+l>e)?"vertical":"horizontal"},Ht=function(t){function i(t,n){return function(e,o,r,a){if(null==t&&(n||e.options.group.name&&o.options.group.name&&e.options.group.name===o.options.group.name))return!0;if(null==t||!1===t)return!1;if(n&&"clone"===t)return t;if("function"==typeof t)return i(t(e,o,r,a),n)(e,o,r,a);var s=(n?e:o).options.group.name;return!0===t||"string"==typeof t&&t===s||t.join&&t.indexOf(s)>-1}}var n={},e=t.group;e&&"object"==f(e)||(e={name:e}),n.name=e.name,n.checkPull=i(e.pull,!0),n.checkPut=i(e.put),n.revertClone=e.revertClone,t.group=n},Pt=function(){!Ft&&et&&D(et,"display","none")},Gt=function(){!Ft&&et&&D(et,"display","")};zt&&!E&&document.addEventListener("click",(function(t){if(Mt)return t.preventDefault(),t.stopPropagation&&t.stopPropagation(),t.stopImmediatePropagation&&t.stopImmediatePropagation(),Mt=!1,!1}),!0);var Kt=function(t){if(it){var i=(o=(t=t.touches?t.touches[0]:t).clientX,r=t.clientY,It.some((function(t){var i=t[J].options.emptyInsertThreshold;if(i&&!B(t)){var n=L(t);return o>=n.left-i&&o<=n.right+i&&r>=n.top-i&&r<=n.bottom+i?a=t:void 0}})),a);if(i){var n={};for(var e in t)t.hasOwnProperty(e)&&(n[e]=t[e]);n.target=n.rootEl=i,n.preventDefault=void 0,n.stopPropagation=void 0,i[J]._onDragOver(n)}}var o,r,a},Ut=function(t){it&&it.parentNode[J]._isOutsideThisEl(t.target)};function Wt(t,i){if(!t||!t.nodeType||1!==t.nodeType)throw"Sortable: `el` must be an HTMLElement, not ".concat({}.toString.call(t));this.el=t,this.options=i=b({},i),t[J]=this;var n,e,o={group:null,sort:!0,disabled:!1,store:null,handle:null,draggable:/^[uo]l$/i.test(t.nodeName)?">li":">*",swapThreshold:1,invertSwap:!1,invertedSwapThreshold:null,removeCloneOnHide:!0,direction:function(){return Bt(t,this.options)},ghostClass:"sortable-ghost",chosenClass:"sortable-chosen",dragClass:"sortable-drag",ignore:"a, img",filter:null,preventOnFilter:!0,animation:0,easing:null,setData:function(t,i){t.setData("Text",i.textContent)},dropBubble:!1,dragoverBubble:!1,dataIdAttr:"data-id",delay:0,delayOnTouchOnly:!1,touchStartThreshold:(Number.parseInt?Number:window).parseInt(window.devicePixelRatio,10)||1,forceFallback:!1,fallbackClass:"sortable-fallback",fallbackOnBody:!1,fallbackTolerance:0,fallbackOffset:{x:0,y:0},supportPointer:!1!==Wt.supportPointer&&"PointerEvent"in window&&(!x||y),emptyInsertThreshold:5};for(var r in $.initializePlugins(this,t,o),o)!(r in i)&&(i[r]=o[r]);for(var a in Ht(i),this)"_"===a.charAt(0)&&"function"==typeof this[a]&&(this[a]=this[a].bind(this));this.nativeDraggable=!i.forceFallback&&Nt,this.nativeDraggable&&(this.options.touchStartThreshold=1),i.supportPointer?T(t,"pointerdown",this._onTapStart):(T(t,"mousedown",this._onTapStart),T(t,"touchstart",this._onTapStart)),this.nativeDraggable&&(T(t,"dragover",this),T(t,"dragenter",this)),It.push(this.el),i.store&&i.store.get&&this.sort(i.store.get(this)||[]),b(this,(e=[],{captureAnimationState:function(){e=[],this.options.animation&&[].slice.call(this.el.children).forEach((function(t){if("none"!==D(t,"display")&&t!==Wt.ghost){e.push({target:t,rect:L(t)});var i=d({},e[e.length-1].rect);if(t.thisAnimationDuration){var n=_(t,!0);n&&(i.top-=n.f,i.left-=n.e)}t.fromRect=i}}))},addAnimationState:function(t){e.push(t)},removeAnimationState:function(t){e.splice(function(t,i){for(var n in t)if(t.hasOwnProperty(n))for(var e in i)if(i.hasOwnProperty(e)&&i[e]===t[n][e])return Number(n);return-1}(e,{target:t}),1)},animateAll:function(t){var i=this;if(!this.options.animation)return clearTimeout(n),void("function"==typeof t&&t());var o=!1,r=0;e.forEach((function(t){var n=0,e=t.target,a=e.fromRect,s=L(e),u=e.prevFromRect,l=e.prevToRect,c=t.rect,h=_(e,!0);h&&(s.top-=h.f,s.left-=h.e),e.toRect=s,e.thisAnimationDuration&&K(u,s)&&!K(a,s)&&(c.top-s.top)/(c.left-s.left)==(a.top-s.top)/(a.left-s.left)&&(n=function(t,i,n,e){return Math.sqrt(Math.pow(i.top-t.top,2)+Math.pow(i.left-t.left,2))/Math.sqrt(Math.pow(i.top-n.top,2)+Math.pow(i.left-n.left,2))*e.animation}(c,u,l,i.options)),K(s,a)||(e.prevFromRect=a,e.prevToRect=s,n||(n=i.options.animation),i.animate(e,c,s,n)),n&&(o=!0,r=Math.max(r,n),clearTimeout(e.animationResetTimer),e.animationResetTimer=setTimeout((function(){e.animationTime=0,e.prevFromRect=null,e.fromRect=null,e.prevToRect=null,e.thisAnimationDuration=null}),n),e.thisAnimationDuration=n)})),clearTimeout(n),o?n=setTimeout((function(){"function"==typeof t&&t()}),r):"function"==typeof t&&t(),e=[]},animate:function(t,i,n,e){if(e){D(t,"transition",""),D(t,"transform","");var o=_(this.el),r=(i.left-n.left)/(o&&o.a||1),a=(i.top-n.top)/(o&&o.d||1);t.animatingX=!!r,t.animatingY=!!a,D(t,"transform","translate3d("+r+"px,"+a+"px,0)"),this.forRepaintDummy=function(t){return t.offsetWidth}(t),D(t,"transition","transform "+e+"ms"+(this.options.easing?" "+this.options.easing:"")),D(t,"transform","translate3d(0,0,0)"),"number"==typeof t.animated&&clearTimeout(t.animated),t.animated=setTimeout((function(){D(t,"transition",""),D(t,"transform",""),t.animated=!1,t.animatingX=!1,t.animatingY=!1}),e)}}}))}function Yt(t,i,n,e,o,r,a,s){var u,l,c=t[J],h=c.options.onMove;return!window.CustomEvent||m||p?(u=document.createEvent("Event")).initEvent("move",!0,!0):u=new CustomEvent("move",{bubbles:!0,cancelable:!0}),u.to=i,u.from=t,u.dragged=n,u.draggedRect=e,u.related=o||i,u.relatedRect=r||L(i),u.willInsertAfter=s,u.originalEvent=a,t.dispatchEvent(u),h&&(l=h.call(c,u,a)),l}function qt(t){t.draggable=!1}function Jt(){Dt=!1}function Xt(t){for(var i=t.tagName+t.className+t.src+t.href+t.textContent,n=i.length,e=0;n--;)e+=i.charCodeAt(n);return e.toString(36)}function Zt(t){return setTimeout(t,0)}function $t(t){return clearTimeout(t)}Wt.prototype={constructor:Wt,_isOutsideThisEl:function(t){this.el.contains(t)||t===this.el||(Et=null)},_getDirection:function(t,i){return"function"==typeof this.options.direction?this.options.direction.call(this,t,i,it):this.options.direction},_onTapStart:function(t){if(t.cancelable){var i=this,n=this.el,e=this.options,o=e.preventOnFilter,r=t.type,a=t.touches&&t.touches[0]||t.pointerType&&"touch"===t.pointerType&&t,s=(a||t).target,u=t.target.shadowRoot&&(t.path&&t.path[0]||t.composedPath&&t.composedPath()[0])||s,l=e.filter;if(function(t){_t.length=0;for(var i=t.getElementsByTagName("input"),n=i.length;n--;){var e=i[n];e.checked&&_t.push(e)}}(n),!it&&!(/mousedown|pointerdown/.test(r)&&0!==t.button||e.disabled)&&!u.isContentEditable&&(this.nativeDraggable||!x||!s||"SELECT"!==s.tagName.toUpperCase())&&!((s=I(s,e.draggable,n,!1))&&s.animated||at===s)){if(lt=H(s),ht=H(s,e.draggable),"function"==typeof l){if(l.call(this,t,s,this))return tt({sortable:i,rootEl:u,name:"filter",targetEl:s,toEl:n,fromEl:n}),Q("filter",i,{evt:t}),void(o&&t.preventDefault())}else if(l&&(l=l.split(",").some((function(e){if(e=I(u,e.trim(),n,!1))return tt({sortable:i,rootEl:e,name:"filter",targetEl:s,fromEl:n,toEl:n}),Q("filter",i,{evt:t}),!0}))))return void(o&&t.preventDefault());e.handle&&!I(u,e.handle,n,!1)||this._prepareDragStart(t,a,s)}}},_prepareDragStart:function(t,i,n){var e,o=this,r=o.el,a=o.options,s=r.ownerDocument;if(n&&!it&&n.parentNode===r){var u=L(n);if(ot=r,nt=(it=n).parentNode,rt=it.nextSibling,at=n,ft=a.group,Wt.dragged=it,wt=(bt={target:it,clientX:(i||t).clientX,clientY:(i||t).clientY}).clientX-u.left,xt=bt.clientY-u.top,this._lastX=(i||t).clientX,this._lastY=(i||t).clientY,it.style["will-change"]="all",e=function(){Q("delayEnded",o,{evt:t}),Wt.eventCanceled?o._onDrop():(o._disableDelayedDragEvents(),!w&&o.nativeDraggable&&(it.draggable=!0),o._triggerDragStart(t,i),tt({sortable:o,name:"choose",originalEvent:t}),A(it,a.chosenClass,!0))},a.ignore.split(",").forEach((function(t){z(it,t.trim(),qt)})),T(s,"dragover",Kt),T(s,"mousemove",Kt),T(s,"touchmove",Kt),a.supportPointer?(T(s,"pointerup",o._onDrop),!this.nativeDraggable&&T(s,"pointercancel",o._onDrop)):(T(s,"mouseup",o._onDrop),T(s,"touchend",o._onDrop),T(s,"touchcancel",o._onDrop)),w&&this.nativeDraggable&&(this.options.touchStartThreshold=4,it.draggable=!0),Q("delayStart",this,{evt:t}),!a.delay||a.delayOnTouchOnly&&!i||this.nativeDraggable&&(p||m))e();else{if(Wt.eventCanceled)return void this._onDrop();a.supportPointer?(T(s,"pointerup",o._disableDelayedDrag),T(s,"pointercancel",o._disableDelayedDrag)):(T(s,"mouseup",o._disableDelayedDrag),T(s,"touchend",o._disableDelayedDrag),T(s,"touchcancel",o._disableDelayedDrag)),T(s,"mousemove",o._delayedDragTouchMoveHandler),T(s,"touchmove",o._delayedDragTouchMoveHandler),a.supportPointer&&T(s,"pointermove",o._delayedDragTouchMoveHandler),o._dragStartTimer=setTimeout(e,a.delay)}}},_delayedDragTouchMoveHandler:function(t){var i=t.touches?t.touches[0]:t;Math.max(Math.abs(i.clientX-this._lastX),Math.abs(i.clientY-this._lastY))>=Math.floor(this.options.touchStartThreshold/(this.nativeDraggable&&window.devicePixelRatio||1))&&this._disableDelayedDrag()},_disableDelayedDrag:function(){it&&qt(it),clearTimeout(this._dragStartTimer),this._disableDelayedDragEvents()},_disableDelayedDragEvents:function(){var t=this.el.ownerDocument;O(t,"mouseup",this._disableDelayedDrag),O(t,"touchend",this._disableDelayedDrag),O(t,"touchcancel",this._disableDelayedDrag),O(t,"pointerup",this._disableDelayedDrag),O(t,"pointercancel",this._disableDelayedDrag),O(t,"mousemove",this._delayedDragTouchMoveHandler),O(t,"touchmove",this._delayedDragTouchMoveHandler),O(t,"pointermove",this._delayedDragTouchMoveHandler)},_triggerDragStart:function(t,i){i=i||"touch"==t.pointerType&&t,!this.nativeDraggable||i?T(document,this.options.supportPointer?"pointermove":i?"touchmove":"mousemove",this._onTouchMove):(T(it,"dragend",this),T(ot,"dragstart",this._onDragStart));try{document.selection?Zt((function(){document.selection.empty()})):window.getSelection().removeAllRanges()}catch(t){}},_dragStarted:function(t,i){if(kt=!1,ot&&it){Q("dragStarted",this,{evt:i}),this.nativeDraggable&&T(document,"dragover",Ut);var n=this.options;!t&&A(it,n.dragClass,!1),A(it,n.ghostClass,!0),Wt.active=this,t&&this._appendGhost(),tt({sortable:this,name:"start",originalEvent:i})}else this._nulling()},_emulateDragOver:function(){if(gt){this._lastX=gt.clientX,this._lastY=gt.clientY,Pt();for(var t=document.elementFromPoint(gt.clientX,gt.clientY),i=t;t&&t.shadowRoot&&(t=t.shadowRoot.elementFromPoint(gt.clientX,gt.clientY))!==i;)i=t;if(it.parentNode[J]._isOutsideThisEl(t),i)do{if(i[J]&&i[J]._onDragOver({clientX:gt.clientX,clientY:gt.clientY,target:t,rootEl:i})&&!this.options.dragoverBubble)break;t=i}while(i=M(i));Gt()}},_onTouchMove:function(t){if(bt){var i=this.options,n=i.fallbackTolerance,e=i.fallbackOffset,o=t.touches?t.touches[0]:t,r=et&&_(et,!0),a=et&&r&&r.a,s=et&&r&&r.d,u=Rt&&Ot&&P(Ot),l=(o.clientX-bt.clientX+e.x)/(a||1)+(u?u[0]-At[0]:0)/(a||1),c=(o.clientY-bt.clientY+e.y)/(s||1)+(u?u[1]-At[1]:0)/(s||1);if(!Wt.active&&!kt){if(n&&Math.max(Math.abs(o.clientX-this._lastX),Math.abs(o.clientY-this._lastY))<n)return;this._onDragStart(t,!0)}if(et){r?(r.e+=l-(mt||0),r.f+=c-(pt||0)):r={a:1,b:0,c:0,d:1,e:l,f:c};var h="matrix(".concat(r.a,",").concat(r.b,",").concat(r.c,",").concat(r.d,",").concat(r.e,",").concat(r.f,")");D(et,"webkitTransform",h),D(et,"mozTransform",h),D(et,"msTransform",h),D(et,"transform",h),mt=l,pt=c,gt=o}t.cancelable&&t.preventDefault()}},_appendGhost:function(){if(!et){var t=this.options.fallbackOnBody?document.body:ot,i=L(it,!0,Rt,!0,t),n=this.options;if(Rt){for(Ot=t;"static"===D(Ot,"position")&&"none"===D(Ot,"transform")&&Ot!==document;)Ot=Ot.parentNode;Ot!==document.body&&Ot!==document.documentElement?(Ot===document&&(Ot=R()),i.top+=Ot.scrollTop,i.left+=Ot.scrollLeft):Ot=R(),At=P(Ot)}A(et=it.cloneNode(!0),n.ghostClass,!1),A(et,n.fallbackClass,!0),A(et,n.dragClass,!0),D(et,"transition",""),D(et,"transform",""),D(et,"box-sizing","border-box"),D(et,"margin",0),D(et,"top",i.top),D(et,"left",i.left),D(et,"width",i.width),D(et,"height",i.height),D(et,"opacity","0.8"),D(et,"position",Rt?"absolute":"fixed"),D(et,"zIndex","100000"),D(et,"pointerEvents","none"),Wt.ghost=et,t.appendChild(et),D(et,"transform-origin",wt/parseInt(et.style.width)*100+"% "+xt/parseInt(et.style.height)*100+"%")}},_onDragStart:function(t,i){var n=this,e=t.dataTransfer,o=n.options;Q("dragStart",this,{evt:t}),Wt.eventCanceled?this._onDrop():(Q("setupClone",this),Wt.eventCanceled||((st=Y(it)).removeAttribute("id"),st.draggable=!1,st.style["will-change"]="",this._hideClone(),A(st,this.options.chosenClass,!1),Wt.clone=st),n.cloneId=Zt((function(){Q("clone",n),Wt.eventCanceled||(n.options.removeCloneOnHide||ot.insertBefore(st,it),n._hideClone(),tt({sortable:n,name:"clone"}))})),!i&&A(it,o.dragClass,!0),i?(Mt=!0,n._loopId=setInterval(n._emulateDragOver,50)):(O(document,"mouseup",n._onDrop),O(document,"touchend",n._onDrop),O(document,"touchcancel",n._onDrop),e&&(e.effectAllowed="move",o.setData&&o.setData.call(n,e,it)),T(document,"drop",n),D(it,"transform","translateZ(0)")),kt=!0,n._dragStartId=Zt(n._dragStarted.bind(n,i,t)),T(document,"selectstart",n),yt=!0,window.getSelection().removeAllRanges(),x&&D(document.body,"user-select","none"))},_onDragOver:function(t){var i,n,e,o,r=this.el,a=t.target,s=this.options,u=s.group,l=Wt.active,c=ft===u,h=s.sort,f=vt||l,v=this,b=!1;if(!Dt){if(void 0!==t.preventDefault&&t.cancelable&&t.preventDefault(),a=I(a,s.draggable,r,!0),_("dragOver"),Wt.eventCanceled)return b;if(it.contains(t.target)||a.animated&&a.animatingX&&a.animatingY||v._ignoreWhileAnimating===a)return R(!1);if(Mt=!1,l&&!s.disabled&&(c?h||(e=nt!==ot):vt===this||(this.lastPutMode=ft.checkPull(this,l,it,t))&&u.checkPut(this,l,it,t))){if(o="vertical"===this._getDirection(t,a),i=L(it),_("dragOverValid"),Wt.eventCanceled)return b;if(e)return nt=ot,z(),this._hideClone(),_("revert"),Wt.eventCanceled||(rt?ot.insertBefore(it,rt):ot.appendChild(it)),R(!0);var g=B(r,s.draggable);if(!g||function(t,i,n){var e=L(B(n.el,n.options.draggable)),o=q(n.el,n.options,et);return i?t.clientX>o.right+10||t.clientY>e.bottom&&t.clientX>e.left:t.clientY>o.bottom+10||t.clientX>e.right&&t.clientY>e.top}(t,o,this)&&!g.animated){if(g===it)return R(!1);if(g&&r===t.target&&(a=g),a&&(n=L(a)),!1!==Yt(ot,r,it,i,a,n,t,!!a))return z(),g&&g.nextSibling?r.insertBefore(it,g.nextSibling):r.appendChild(it),nt=r,P(),R(!0)}else if(g&&function(t,i,n){var e=L(F(n.el,0,n.options,!0)),o=q(n.el,n.options,et);return i?t.clientX<o.left-10||t.clientY<e.top&&t.clientX<e.right:t.clientY<o.top-10||t.clientY<e.bottom&&t.clientX<e.left}(t,o,this)){var m=F(r,0,s,!0);if(m===it)return R(!1);if(n=L(a=m),!1!==Yt(ot,r,it,i,a,n,t,!1))return z(),r.insertBefore(it,m),nt=r,P(),R(!0)}else if(a.parentNode===r){n=L(a);var p,w,x,y=it.parentNode!==r,E=!function(t,i,n){var e=n?t.left:t.top,o=n?i.left:i.top;return e===o||(n?t.right:t.bottom)===(n?i.right:i.bottom)||e+(n?t.width:t.height)/2===o+(n?i.width:i.height)/2}(it.animated&&it.toRect||i,a.animated&&a.toRect||n,o),S=o?"top":"left",T=N(a,"top","top")||N(it,"top","top"),O=T?T.scrollTop:void 0;if(Et!==a&&(w=n[S],Ct=!1,jt=!E&&s.invertSwap||y),p=function(t,i,n,e,o,r,a,s){var u=e?t.clientY:t.clientX,l=e?n.height:n.width,c=e?n.top:n.left,h=e?n.bottom:n.right,d=!1;if(!a)if(s&&Tt<l*o){if(!Ct&&(1===St?u>c+l*r/2:u<h-l*r/2)&&(Ct=!0),Ct)d=!0;else if(1===St?u<c+Tt:u>h-Tt)return-St}else if(u>c+l*(1-o)/2&&u<h-l*(1-o)/2)return function(t){return H(it)<H(t)?1:-1}(i);return(d=d||a)&&(u<c+l*r/2||u>h-l*r/2)?u>c+l/2?1:-1:0}(t,a,n,o,E?1:s.swapThreshold,null==s.invertedSwapThreshold?s.swapThreshold:s.invertedSwapThreshold,jt,Et===a),0!==p){var k=H(it);do{x=nt.children[k-=p]}while(x&&("none"===D(x,"display")||x===et))}if(0===p||x===a)return R(!1);Et=a,St=p;var M=a.nextElementSibling,C=!1,j=Yt(ot,r,it,i,a,n,t,C=1===p);if(!1!==j)return 1!==j&&-1!==j||(C=1===j),Dt=!0,setTimeout(Jt,30),z(),C&&!M?r.appendChild(it):a.parentNode.insertBefore(it,C?M:a),T&&W(T,0,O-T.scrollTop),nt=it.parentNode,void 0===w||jt||(Tt=Math.abs(w-L(a)[S])),P(),R(!0)}if(r.contains(it))return R(!1)}return!1}function _(s,u){Q(s,v,d({evt:t,isOwner:c,axis:o?"vertical":"horizontal",revert:e,dragRect:i,targetRect:n,canSort:h,fromSortable:f,target:a,completed:R,onMove:function(n,e){return Yt(ot,r,it,i,n,L(n),t,e)},changed:P},u))}function z(){_("dragOverAnimationCapture"),v.captureAnimationState(),v!==f&&f.captureAnimationState()}function R(i){return _("dragOverCompleted",{insertion:i}),i&&(c?l._hideClone():l._showClone(v),v!==f&&(A(it,vt?vt.options.ghostClass:l.options.ghostClass,!1),A(it,s.ghostClass,!0)),vt!==v&&v!==Wt.active?vt=v:v===Wt.active&&vt&&(vt=null),f===v&&(v._ignoreWhileAnimating=a),v.animateAll((function(){_("dragOverAnimationComplete"),v._ignoreWhileAnimating=null})),v!==f&&(f.animateAll(),f._ignoreWhileAnimating=null)),(a===it&&!it.animated||a===r&&!a.animated)&&(Et=null),s.dragoverBubble||t.rootEl||a===document||(it.parentNode[J]._isOutsideThisEl(t.target),!i&&Kt(t)),!s.dragoverBubble&&t.stopPropagation&&t.stopPropagation(),b=!0}function P(){ct=H(it),dt=H(it,s.draggable),tt({sortable:v,name:"change",toEl:r,newIndex:ct,newDraggableIndex:dt,originalEvent:t})}},_ignoreWhileAnimating:null,_offMoveEvents:function(){O(document,"mousemove",this._onTouchMove),O(document,"touchmove",this._onTouchMove),O(document,"pointermove",this._onTouchMove),O(document,"dragover",Kt),O(document,"mousemove",Kt),O(document,"touchmove",Kt)},_offUpEvents:function(){var t=this.el.ownerDocument;O(t,"mouseup",this._onDrop),O(t,"touchend",this._onDrop),O(t,"pointerup",this._onDrop),O(t,"pointercancel",this._onDrop),O(t,"touchcancel",this._onDrop),O(document,"selectstart",this)},_onDrop:function(t){var i=this.el,n=this.options;ct=H(it),dt=H(it,n.draggable),Q("drop",this,{evt:t}),nt=it&&it.parentNode,ct=H(it),dt=H(it,n.draggable),Wt.eventCanceled||(kt=!1,jt=!1,Ct=!1,clearInterval(this._loopId),clearTimeout(this._dragStartTimer),$t(this.cloneId),$t(this._dragStartId),this.nativeDraggable&&(O(document,"drop",this),O(i,"dragstart",this._onDragStart)),this._offMoveEvents(),this._offUpEvents(),x&&D(document.body,"user-select",""),D(it,"transform",""),t&&(yt&&(t.cancelable&&t.preventDefault(),!n.dropBubble&&t.stopPropagation()),et&&et.parentNode&&et.parentNode.removeChild(et),(ot===nt||vt&&"clone"!==vt.lastPutMode)&&st&&st.parentNode&&st.parentNode.removeChild(st),it&&(this.nativeDraggable&&O(it,"dragend",this),qt(it),it.style["will-change"]="",yt&&!kt&&A(it,vt?vt.options.ghostClass:this.options.ghostClass,!1),A(it,this.options.chosenClass,!1),tt({sortable:this,name:"unchoose",toEl:nt,newIndex:null,newDraggableIndex:null,originalEvent:t}),ot!==nt?(ct>=0&&(tt({rootEl:nt,name:"add",toEl:nt,fromEl:ot,originalEvent:t}),tt({sortable:this,name:"remove",toEl:nt,originalEvent:t}),tt({rootEl:nt,name:"sort",toEl:nt,fromEl:ot,originalEvent:t}),tt({sortable:this,name:"sort",toEl:nt,originalEvent:t})),vt&&vt.save()):ct!==lt&&ct>=0&&(tt({sortable:this,name:"update",toEl:nt,originalEvent:t}),tt({sortable:this,name:"sort",toEl:nt,originalEvent:t})),Wt.active&&(null!=ct&&-1!==ct||(ct=lt,dt=ht),tt({sortable:this,name:"end",toEl:nt,originalEvent:t}),this.save())))),this._nulling()},_nulling:function(){Q("nulling",this),ot=it=nt=et=rt=st=at=ut=bt=gt=yt=ct=dt=lt=ht=Et=St=vt=ft=Wt.dragged=Wt.ghost=Wt.clone=Wt.active=null,_t.forEach((function(t){t.checked=!0})),_t.length=mt=pt=0},handleEvent:function(t){switch(t.type){case"drop":case"dragend":this._onDrop(t);break;case"dragenter":case"dragover":it&&(this._onDragOver(t),function(t){t.dataTransfer&&(t.dataTransfer.dropEffect="move"),t.cancelable&&t.preventDefault()}(t));break;case"selectstart":t.preventDefault()}},toArray:function(){for(var t,i=[],n=this.el.children,e=0,o=n.length,r=this.options;e<o;e++)I(t=n[e],r.draggable,this.el,!1)&&i.push(t.getAttribute(r.dataIdAttr)||Xt(t));return i},sort:function(t,i){var n={},e=this.el;this.toArray().forEach((function(t,i){var o=e.children[i];I(o,this.options.draggable,e,!1)&&(n[t]=o)}),this),i&&this.captureAnimationState(),t.forEach((function(t){n[t]&&(e.removeChild(n[t]),e.appendChild(n[t]))})),i&&this.animateAll()},save:function(){var t=this.options.store;t&&t.set&&t.set(this)},closest:function(t,i){return I(t,i||this.options.draggable,this.el,!1)},option:function(t,i){var n=this.options;if(void 0===i)return n[t];var e=$.modifyOption(this,t,i);n[t]=void 0!==e?e:i,"group"===t&&Ht(n)},destroy:function(){Q("destroy",this);var t=this.el;t[J]=null,O(t,"mousedown",this._onTapStart),O(t,"touchstart",this._onTapStart),O(t,"pointerdown",this._onTapStart),this.nativeDraggable&&(O(t,"dragover",this),O(t,"dragenter",this)),Array.prototype.forEach.call(t.querySelectorAll("[draggable]"),(function(t){t.removeAttribute("draggable")})),this._onDrop(),this._disableDelayedDragEvents(),It.splice(It.indexOf(this.el),1),this.el=t=null},_hideClone:function(){if(!ut){if(Q("hideClone",this),Wt.eventCanceled)return;D(st,"display","none"),this.options.removeCloneOnHide&&st.parentNode&&st.parentNode.removeChild(st),ut=!0}},_showClone:function(t){if("clone"===t.lastPutMode){if(ut){if(Q("showClone",this),Wt.eventCanceled)return;it.parentNode!=ot||this.options.group.revertClone?rt?ot.insertBefore(st,rt):ot.appendChild(st):ot.insertBefore(st,it),this.options.group.revertClone&&this.animate(it,st),D(st,"display",""),ut=!1}}else this._hideClone()}},zt&&T(document,"touchmove",(function(t){(Wt.active||kt)&&t.cancelable&&t.preventDefault()})),Wt.utils={on:T,off:O,css:D,find:z,is:function(t,i){return!!I(t,i,t,!1)},extend:function(t,i){if(t&&i)for(var n in i)i.hasOwnProperty(n)&&(t[n]=i[n]);return t},throttle:U,closest:I,toggleClass:A,clone:Y,index:H,nextTick:Zt,cancelNextTick:$t,detectDirection:Bt,getChild:F,expando:J},Wt.get=function(t){return t[J]},Wt.mount=function(){for(var t=arguments.length,i=new Array(t),n=0;n<t;n++)i[n]=arguments[n];i[0].constructor===Array&&(i=i[0]),i.forEach((function(t){if(!t.prototype||!t.prototype.constructor)throw"Sortable: Mounted plugin must be a constructor function, not ".concat({}.toString.call(t));t.utils&&(Wt.utils=d(d({},Wt.utils),t.utils)),$.mount(t)}))},Wt.create=function(t,i){return new Wt(t,i)},Wt.version="1.15.6";var Vt,Qt,ti,ii,ni,ei,oi=[],ri=!1;function ai(){oi.forEach((function(t){clearInterval(t.pid)})),oi=[]}function si(){clearInterval(ei)}var ui=U((function(t,i,n,e){if(i.scroll){var o,r=(t.touches?t.touches[0]:t).clientX,a=(t.touches?t.touches[0]:t).clientY,s=i.scrollSensitivity,u=i.scrollSpeed,l=R(),c=!1;Qt!==n&&(Qt=n,ai(),o=i.scrollFn,!0===(Vt=i.scroll)&&(Vt=G(n,!0)));var h=0,d=Vt;do{var f=d,v=L(f),b=v.top,g=v.bottom,m=v.left,p=v.right,w=v.width,x=v.height,y=void 0,E=void 0,S=f.scrollWidth,T=f.scrollHeight,O=D(f),k=f.scrollLeft,M=f.scrollTop;f===l?(y=w<S&&("auto"===O.overflowX||"scroll"===O.overflowX||"visible"===O.overflowX),E=x<T&&("auto"===O.overflowY||"scroll"===O.overflowY||"visible"===O.overflowY)):(y=w<S&&("auto"===O.overflowX||"scroll"===O.overflowX),E=x<T&&("auto"===O.overflowY||"scroll"===O.overflowY));var I=y&&(Math.abs(p-r)<=s&&k+w<S)-(Math.abs(m-r)<=s&&!!k),C=E&&(Math.abs(g-a)<=s&&M+x<T)-(Math.abs(b-a)<=s&&!!M);if(!oi[h])for(var j=0;j<=h;j++)oi[j]||(oi[j]={});oi[h].vx==I&&oi[h].vy==C&&oi[h].el===f||(oi[h].el=f,oi[h].vx=I,oi[h].vy=C,clearInterval(oi[h].pid),0==I&&0==C||(c=!0,oi[h].pid=setInterval(function(){e&&0===this.layer&&Wt.active._onTouchMove(ni);var i=oi[this.layer].vy?oi[this.layer].vy*u:0,n=oi[this.layer].vx?oi[this.layer].vx*u:0;"function"==typeof o&&"continue"!==o.call(Wt.dragged.parentNode[J],n,i,t,ni,oi[this.layer].el)||W(oi[this.layer].el,n,i)}.bind({layer:h}),24))),h++}while(i.bubbleScroll&&d!==l&&(d=G(d,!1)));ri=c}}),30),li=function(t){var i=t.originalEvent,n=t.putSortable,e=t.dragEl,o=t.dispatchSortableEvent,r=t.unhideGhostForTarget;if(i){var a=n||t.activeSortable;(0,t.hideGhostForTarget)();var s=i.changedTouches&&i.changedTouches.length?i.changedTouches[0]:i,u=document.elementFromPoint(s.clientX,s.clientY);r(),a&&!a.el.contains(u)&&(o("spill"),this.onSpill({dragEl:e,putSortable:n}))}};function ci(){}function hi(){}ci.prototype={startIndex:null,dragStart:function(t){this.startIndex=t.oldDraggableIndex},onSpill:function(t){var i=t.dragEl,n=t.putSortable;this.sortable.captureAnimationState(),n&&n.captureAnimationState();var e=F(this.sortable.el,this.startIndex,this.options);e?this.sortable.el.insertBefore(i,e):this.sortable.el.appendChild(i),this.sortable.animateAll(),n&&n.animateAll()},drop:li},b(ci,{pluginName:"revertOnSpill"}),hi.prototype={onSpill:function(t){var i=t.dragEl,n=t.putSortable||this.sortable;n.captureAnimationState(),i.parentNode&&i.parentNode.removeChild(i),n.animateAll()},drop:li},b(hi,{pluginName:"removeOnSpill"}),Wt.mount(new function(){function t(){for(var t in this.defaults={scroll:!0,forceAutoScrollFallback:!1,scrollSensitivity:30,scrollSpeed:10,bubbleScroll:!0},this)"_"===t.charAt(0)&&"function"==typeof this[t]&&(this[t]=this[t].bind(this))}return t.prototype={dragStarted:function(t){var i=t.originalEvent;this.sortable.nativeDraggable?T(document,"dragover",this._handleAutoScroll):T(document,this.options.supportPointer?"pointermove":i.touches?"touchmove":"mousemove",this._handleFallbackAutoScroll)},dragOverCompleted:function(t){var i=t.originalEvent;this.options.dragOverBubble||i.rootEl||this._handleAutoScroll(i)},drop:function(){this.sortable.nativeDraggable?O(document,"dragover",this._handleAutoScroll):(O(document,"pointermove",this._handleFallbackAutoScroll),O(document,"touchmove",this._handleFallbackAutoScroll),O(document,"mousemove",this._handleFallbackAutoScroll)),si(),ai(),clearTimeout(C),C=void 0},nulling:function(){ni=Qt=Vt=ri=ei=ti=ii=null,oi.length=0},_handleFallbackAutoScroll:function(t){this._handleAutoScroll(t,!0)},_handleAutoScroll:function(t,i){var n=this,e=(t.touches?t.touches[0]:t).clientX,o=(t.touches?t.touches[0]:t).clientY,r=document.elementFromPoint(e,o);if(ni=t,i||this.options.forceAutoScrollFallback||p||m||x){ui(t,this.options,r,i);var a=G(r,!0);!ri||ei&&e===ti&&o===ii||(ei&&si(),ei=setInterval((function(){var r=G(document.elementFromPoint(e,o),!0);r!==a&&(a=r,ai()),ui(t,n.options,r,i)}),10),ti=e,ii=o)}else{if(!this.options.bubbleScroll||G(r,!0)===R())return void ai();ui(t,this.options,G(r,!1),!1)}}},b(t,{pluginName:"scroll",initializeByDefault:!0})}),Wt.mount(hi,ci);const di=class{constructor(n){t(this,n),this.newTab=i(this,"newTab",7),this.sortChanged=i(this,"sortChanged",7),this.showNewTabButton=!0,this.tabLimit=1/0,this.allowSort=!0,this.focused=0,this.disableAddTabButton=!1,this.hasScrollbar=!1,this.keyboardSort=!1,this.initialSortIndex=0,this.ariaLiveAlert=""}onFocusin(t){this.allowSort&&s(".gux-tablist",t)&&!this.keyboardSort&&(this.ariaLiveAlert="toggleSort")}onFocusout(t){this.root.querySelector(".gux-tablist").contains(t.relatedTarget)||this.tabTriggers.forEach(((t,i)=>{t.guxGetActive().then((n=>{n?this.focused=i:(t.querySelector(".gux-tab-button").setAttribute("tabindex","-1"),t.querySelector(".gux-tab-options-button")&&t.querySelector(".gux-tab-options-button").setAttribute("tabindex","-1"))}))}))}watchAllowSort(t){t?this.validateSortableInstance():this.destroySortable()}onMutation(){this.setTabTriggers()}onKeydown(t){switch(t.key){case"ArrowRight":case"ArrowDown":if(t.preventDefault(),this.keyboardSort&&!s(".gux-tab-options-button",t)){this.ariaLiveAlert="";const t=this.root.querySelector(".gux-tablist"),i=t.querySelectorAll("gux-tab-advanced"),n=Array.prototype.indexOf.call(i,this.sortTarget);let e;e=n===i.length-1?i[0]:i[n+2],t.insertBefore(this.sortTarget,e),this.tabTriggers=this.root.querySelectorAll("gux-tab-advanced"),this.tabTriggers.forEach(((t,i)=>{var n;t.tabId===(null===(n=this.sortTarget)||void 0===n?void 0:n.getAttribute("tab-id"))&&(this.focused=i)})),this.focusTab(this.focused)}else s(".gux-tab-options-button",t)||s(".gux-dropdown-option-container",t)||this.handleKeyboardScroll("forward");break;case"ArrowLeft":case"ArrowUp":if(t.preventDefault(),this.keyboardSort&&!s(".gux-tab-options-button",t)){this.ariaLiveAlert="";const t=this.root.querySelector(".gux-tablist"),i=t.querySelectorAll("gux-tab-advanced"),n=Array.prototype.indexOf.call(i,this.sortTarget);t.insertBefore(this.sortTarget,i[n-1]||null),this.tabTriggers=this.root.querySelectorAll("gux-tab-advanced"),this.tabTriggers.forEach(((t,i)=>{var n;t.tabId===(null===(n=this.sortTarget)||void 0===n?void 0:n.getAttribute("tab-id"))&&(this.focused=i)})),this.focusTab(this.focused)}else s(".gux-tab-options-button",t)||s(".gux-dropdown-option-container",t)||this.handleKeyboardScroll("backward");break;case"Escape":t.preventDefault(),this.keyboardSort&&this.allowSort&&(this.keyboardSort=!1,this.ariaLiveAlert="sortCancelled",this.root.querySelector(".gux-tablist").insertBefore(this.sortTarget,this.tabTriggers[this.initialSortIndex]||null)),this.tabTriggers=this.root.querySelectorAll("gux-tab-advanced"),this.tabTriggers.forEach(((t,i)=>{var n;t.tabId===(null===(n=this.sortTarget)||void 0===n?void 0:n.getAttribute("tab-id"))&&(this.focused=i)})),this.focusTab(this.initialSortIndex),u((()=>{this.focusTab(this.initialSortIndex)}));break;case"Enter":this.keyboardSort&&(t.preventDefault(),this.keyboardSort=!1,this.ariaLiveAlert="sortComplete",this.tabTriggers=this.root.querySelectorAll("gux-tab-advanced"),this.tabTriggers.forEach(((t,i)=>{var n;t.tabId===(null===(n=this.sortTarget)||void 0===n?void 0:n.getAttribute("tab-id"))&&(this.focused=i)})),this.emitSortChanged());break;case"Tab":this.keyboardSort&&(this.keyboardSort=!1,this.ariaLiveAlert="sortCancelled");break;case"Home":t.preventDefault(),this.focusTab(0);break;case"End":t.preventDefault(),this.focusTab(this.tabTriggers.length-1)}}onKeyup(t){" "===t.key&&s(".gux-tab",t)&&!s(".gux-tab-options-button",t)&&!s("gux-popover-list",t)&&this.allowSort&&(t.preventDefault(),!0===this.keyboardSort?(this.keyboardSort=!1,this.ariaLiveAlert="sortComplete",this.tabTriggers=this.root.querySelectorAll("gux-tab-advanced"),this.tabTriggers.forEach(((t,i)=>{var n;t.tabId===(null===(n=this.sortTarget)||void 0===n?void 0:n.getAttribute("tab-id"))&&(this.focused=i)})),this.focusTab(this.focused),this.emitSortChanged()):(this.keyboardSort=!0,this.sortTarget=t.target.closest("gux-tab-advanced"),this.tabTriggers.forEach(((t,i)=>{var n;t.tabId===(null===(n=this.sortTarget)||void 0===n?void 0:n.getAttribute("tab-id"))&&(this.initialSortIndex=i)})),this.ariaLiveAlert="sortModeOn"))}async guxSetActive(t){this.tabTriggers.forEach(((i,n)=>{const e=i.tabId===t;i.guxSetActive(e),e&&(this.focused=n)}))}focusTab(t){this.focused=t,this.tabTriggers.forEach(((t,i)=>{t.guxGetActive().then((n=>{this.focused===i||n||(t.querySelector(".gux-tab-button").setAttribute("tabindex","-1"),t.querySelector(".gux-tab-options-button")&&t.querySelector(".gux-tab-options-button").setAttribute("tabindex","-1"))}))})),this.tabTriggers[this.focused].querySelector("button").setAttribute("tabindex","0"),this.tabTriggers[this.focused].querySelector(".gux-tab-options-button")&&this.tabTriggers[this.focused].querySelector(".gux-tab-options-button").setAttribute("tabindex","0"),this.tabTriggers[this.focused].guxFocus()}setTabTriggers(){this.tabTriggers=this.root.querySelectorAll("gux-tab-advanced"),this.triggerIds=this.tabTriggers?Array.from(this.tabTriggers).map((t=>`gux-${t.getAttribute("tab-id")}-tab`)).join(" "):""}createSortable(){this.sortableInstance=new Wt(this.root.querySelector(".gux-tablist"),{animation:250,draggable:"gux-tab-advanced",filter:".ignore-sort",onMove:t=>!t.related.classList.contains("ignore-sort"),onUpdate:()=>{this.emitSortChanged()}})}destroySortable(){this.sortableInstance&&(this.sortableInstance.destroy(),this.sortableInstance=null)}emitSortChanged(){const t=Array.from(this.root.querySelectorAll("gux-tab-advanced")).map((t=>t.tabId));this.sortChanged.emit(t)}checkForScrollbarHideOrShow(){n((()=>{const t=this.root.querySelector(".gux-scrollable-section"),i=t.clientWidth<t.scrollWidth;i!==this.hasScrollbar&&(this.hasScrollbar=i)}))}handleKeyboardScroll(t){"forward"===t?this.focused<this.tabTriggers.length-1?(this.hasScrollbar&&this.scrollRight(),this.focusTab(this.focused+1)):(this.hasScrollbar&&this.scrollToStart(),this.focusTab(0)):"backward"===t&&(this.focused>0?(this.hasScrollbar&&this.scrollLeft(),this.focusTab(this.focused-1)):(this.hasScrollbar&&this.scrollToEnd(),this.focusTab(this.tabTriggers.length-1)))}disconnectedCallback(){this.sortableInstance&&this.destroySortable(),this.resizeObserver&&this.resizeObserver.unobserve(this.root.querySelector(".gux-tab-container")),this.domObserver&&this.domObserver.disconnect()}async componentWillLoad(){this.setTabTriggers(),this.i18n=await l(this.root,c,"gux-tabs-advanced")}validateSortableInstance(){this.allowSort&&!this.sortableInstance&&this.createSortable()}componentDidLoad(){this.validateSortableInstance(),!this.resizeObserver&&window.ResizeObserver&&(this.resizeObserver=new ResizeObserver((()=>this.checkForScrollbarHideOrShow()))),this.resizeObserver&&this.resizeObserver.observe(this.root.querySelector(".gux-scrollable-section")),!this.domObserver&&window.MutationObserver&&(this.domObserver=new MutationObserver((()=>this.checkForScrollbarHideOrShow()))),this.domObserver&&this.domObserver.observe(this.root,{childList:!0,attributes:!1,subtree:!0}),u((()=>{this.checkForScrollbarHideOrShow()}),500)}scrollLeft(){e((()=>{var t;this.root.querySelector(".gux-scrollable-section").scrollBy(-(null===(t=this.root.querySelector("gux-tab-advanced"))||void 0===t?void 0:t.scrollWidth),0)}))}scrollRight(){e((()=>{var t;this.root.querySelector(".gux-scrollable-section").scrollBy(null===(t=this.root.querySelector("gux-tab-advanced"))||void 0===t?void 0:t.scrollWidth,0)}))}scrollToStart(){const t=this.root.querySelector(".gux-scrollable-section");e((()=>{null==t||t.scrollBy(-(null==t?void 0:t.scrollWidth),0)}))}scrollToEnd(){const t=this.root.querySelector(".gux-scrollable-section");e((()=>{t.scrollBy(null==t?void 0:t.scrollWidth,0)}))}componentWillRender(){const t=Array.from(this.root.querySelectorAll("gux-tab-advanced"));this.disableAddTabButton=t.length>=this.tabLimit}render(){return[this.renderAlert(),o("div",{key:"7eb6de681d6a851a3c8124938e8796968ad563db",class:"gux-tab-container"},this.renderScrollButton("scrollLeft"),o("div",{key:"476574f42f44e79042ab89a73552653ae85a23b4",class:"gux-scrollable-section"},o("div",{key:"b6c0ff76968aa8857397d705ae96f831b79d1236",class:"gux-tablist",role:"tablist","data-gux-tab-sorting":this.keyboardSort,"aria-owns":this.triggerIds},o("slot",{key:"57b1e81a81bdf546058d78b9993337925e633df6"}))),this.renderScrollButton("scrollRight"),this.renderAddButton())]}renderAlert(){return o("div",{class:"gux-sr-only gux-aria-live-region","aria-live":"polite"},this.ariaLiveAlert?this.i18n(this.ariaLiveAlert):"")}renderAddButton(){return o("div",null,this.showNewTabButton?o("gux-button-slot",{accent:"ghost"},o("button",{onClick:()=>this.newTab.emit(),disabled:this.disableAddTabButton},o("slot",{name:"add-tab"},o("gux-icon",{size:"small","icon-name":"fa/plus-regular",decorative:!0}),o("gux-screen-reader-beta",null,this.disableAddTabButton?this.i18n("disableNewTab"):this.root.querySelector('[slot="add-tab"]')?this.root.querySelector('[slot="add-tab"]').textContent.trim():this.i18n("createNewTab"))))):null)}renderScrollButton(t){return o("div",null,this.hasScrollbar?o("gux-button-slot",{class:"gux-scroll-button",accent:"ghost","icon-only":!0},o("button",{tabindex:"-1",onDragOver:()=>this.getScrollDirection(t),onClick:()=>this.getScrollDirection(t)},o("gux-icon",{size:"small","icon-name":this.getChevronIconName(t),decorative:!0}),o("gux-screen-reader-beta",null,this.i18n(t)))):null)}getScrollDirection(t){switch(t){case"scrollLeft":this.scrollLeft();break;case"scrollRight":this.scrollRight()}}getChevronIconName(t){switch(t){case"scrollLeft":return"fa/chevron-left-regular";case"scrollRight":return"fa/chevron-right-regular"}}get root(){return r(this)}static get watchers(){return{allowSort:["watchAllowSort"]}}};(function(t,i,n,e){var o,r=arguments.length,a=r<3?i:null===e?e=Object.getOwnPropertyDescriptor(i,n):e;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(t,i,n,e);else for(var s=t.length-1;s>=0;s--)(o=t[s])&&(a=(r<3?o(a):r>3?o(i,n,a):o(i,n))||a);r>3&&a&&Object.defineProperty(i,n,a)})([a({childList:!0,subtree:!0})],di.prototype,"onMutation",null),di.style=".gux-tab-container{display:flex;flex-direction:row;flex-wrap:nowrap;align-items:center;justify-content:flex-start;inline-size:100%;background-color:var(--gse-ui-advancedTabs-set-backgroundColor)}.gux-tab-container button{block-size:var(--gse-ui-button-default-height);padding:var(--gse-ui-button-default-paddingIconOnly);border-radius:var(--gse-ui-button-borderRadius)}.gux-tab-container [slot=add-tab]{display:flex;align-items:center;justify-content:center}.gux-tab-container .gux-scrollable-section{display:flex;flex-direction:row;flex-wrap:nowrap;align-items:center;justify-content:flex-start;overflow-x:auto;scrollbar-width:none;border-block-end:var(--gse-ui-advancedTabs-item-divider-border-width) var(--gse-ui-advancedTabs-item-divider-border-style) var(--gse-ui-advancedTabs-item-divider-border-color);scroll-behavior:smooth}.gux-tab-container .gux-scrollable-section::-webkit-scrollbar{block-size:0}.gux-tab-container .gux-scrollable-section .gux-tablist{display:flex;flex-direction:row;flex-wrap:nowrap;align-items:center;justify-content:flex-start}.gux-sr-only{position:absolute;top:auto;left:-10000px;width:1px;height:1px;overflow:hidden}";export{di as gux_tab_advanced_list}
@@ -1 +1 @@
1
- import{r as t,h as a,a as s}from"./p-CjVJoR6g.js";import{t as e}from"./p-Rs2JRIbr.js";import{h as i}from"./p-qzV3vtOw.js";const o=class{constructor(a){t(this,a),this.accent="info"}async componentWillLoad(){e(this.root,{variant:this.accent})}componentDidLoad(){this.applyTableStyle()}applyTableStyle(){var t;"td"===(null===(t=this.root.parentElement)||void 0===t?void 0:t.tagName.toLowerCase())&&this.statusIndicatorContainerElement.classList.add("gux-has-table-parent")}renderTooltip(){if(i(this.root,"tooltip-text"))return a("gux-tooltip",null,a("slot",{name:"tooltip-text"}))}render(){return a("div",{key:"6d65f9349aabefc7815477b5edd4d730353191bd",class:"gux-status-indicator",ref:t=>this.statusIndicatorContainerElement=t},a("span",{key:"e93d0d092730e63e3af78b72159eed7105998cca",class:`gux-status-icon gux-status-icon-${this.accent}`}),a("div",{key:"b3d3688cb4e7aa917e23daa8be2593bc848a29bd",class:"gux-status-indicator-text"},a("slot",{key:"e8b83e29c592ab27e5782a3e59aa8d80a1fc603e"})),this.renderTooltip())}get root(){return s(this)}};o.style=".gux-status-indicator{display:inline-flex;gap:var(--gse-ui-dataTableItems-statusIndicator-gap);align-items:center;padding:var(--gse-ui-dataTableItems-statusIndicator-gap);font-size:var(--gse-ui-dataTableItems-statusIndicator-label-fontSize);line-height:var(--gse-ui-dataTableItems-statusIndicator-label-lineHeight);border-radius:var(--gse-ui-dataTableItems-statusIndicator-borderRadius)}.gux-status-indicator:hover{cursor:default;background-color:var(--gse-ui-dataTableItems-statusIndicator-hover)}.gux-has-table-parent{position:relative;inset-inline-start:-8px}.gux-status-indicator-text{color:var(--gse-ui-dataTableItems-statusIndicator-text)}.gux-status-icon{display:inline-flex}.gux-status-icon::before{content:\"\"}.gux-status-icon-info::before{-webkit-mask-image:url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12' %3E%3Cpath d='M6 0C7.59 0 9.12 0.629997 10.245 1.755C11.37 2.88 12 4.41 12 6C12 7.59 11.37 9.12 10.245 10.245C9.12 11.37 7.59 12 6 12C4.41 12 2.88 11.37 1.755 10.245C0.629997 9.12 0 7.59 0 6C0 4.41 0.629997 2.88 1.755 1.755C2.88 0.629997 4.41 0 6 0Z' /%3E%3C/svg%3E\");mask-image:url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12' %3E%3Cpath d='M6 0C7.59 0 9.12 0.629997 10.245 1.755C11.37 2.88 12 4.41 12 6C12 7.59 11.37 9.12 10.245 10.245C9.12 11.37 7.59 12 6 12C4.41 12 2.88 11.37 1.755 10.245C0.629997 9.12 0 7.59 0 6C0 4.41 0.629997 2.88 1.755 1.755C2.88 0.629997 4.41 0 6 0Z' /%3E%3C/svg%3E\");inline-size:var(--gse-ui-dataTableItems-statusIndicator-label-fontSize);block-size:var(--gse-ui-dataTableItems-statusIndicator-label-fontSize);background:var(--gse-ui-statusGlyph-information)}.gux-status-icon-warning::before{inline-size:var(--gse-ui-dataTableItems-statusIndicator-label-fontSize);block-size:var(--gse-ui-dataTableItems-statusIndicator-label-fontSize);-webkit-mask-image:url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12' %3E%3Cpath d='M6.16516 0.749268C6.49521 0.749268 6.80275 0.921791 6.97527 1.21434L12.0386 9.8407C12.2111 10.1332 12.2111 10.4933 12.0386 10.7783C11.8735 11.0709 11.5585 11.2509 11.2285 11.2509H1.10186C0.764303 11.2509 0.456764 11.0709 0.291738 10.7783C0.126712 10.4858 0.126712 10.1257 0.291738 9.8407L5.35504 1.21434C5.52757 0.929292 5.8276 0.749268 6.16516 0.749268Z' /%3E%3C/svg%3E\");mask-image:url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12' %3E%3Cpath d='M6.16516 0.749268C6.49521 0.749268 6.80275 0.921791 6.97527 1.21434L12.0386 9.8407C12.2111 10.1332 12.2111 10.4933 12.0386 10.7783C11.8735 11.0709 11.5585 11.2509 11.2285 11.2509H1.10186C0.764303 11.2509 0.456764 11.0709 0.291738 10.7783C0.126712 10.4858 0.126712 10.1257 0.291738 9.8407L5.35504 1.21434C5.52757 0.929292 5.8276 0.749268 6.16516 0.749268Z' /%3E%3C/svg%3E\");background:var(--gse-ui-statusGlyph-neutral)}.gux-status-icon-error::before{inline-size:var(--gse-ui-dataTableItems-statusIndicator-label-fontSize);block-size:var(--gse-ui-dataTableItems-statusIndicator-label-fontSize);-webkit-mask-image:url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12' %3E%3Cpath d='M0.236102 6.88C-0.0787008 6.33785 -0.0787008 5.66215 0.236102 5.12L2.36477 1.38C2.67957 0.837853 3.24922 0.5 3.87133 0.5H8.12867C8.75078 0.5 9.32043 0.837853 9.63523 1.38L11.7639 5.12C12.0787 5.66215 12.0787 6.33785 11.7639 6.88L9.63523 10.62C9.32043 11.1621 8.75078 11.5 8.12867 11.5H3.87133C3.24922 11.5 2.67957 11.1621 2.36477 10.62L0.236102 6.88Z' /%3E%3C/svg%3E\");mask-image:url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12' %3E%3Cpath d='M0.236102 6.88C-0.0787008 6.33785 -0.0787008 5.66215 0.236102 5.12L2.36477 1.38C2.67957 0.837853 3.24922 0.5 3.87133 0.5H8.12867C8.75078 0.5 9.32043 0.837853 9.63523 1.38L11.7639 5.12C12.0787 5.66215 12.0787 6.33785 11.7639 6.88L9.63523 10.62C9.32043 11.1621 8.75078 11.5 8.12867 11.5H3.87133C3.24922 11.5 2.67957 11.1621 2.36477 10.62L0.236102 6.88Z' /%3E%3C/svg%3E\");background:var(--gse-ui-statusGlyph-negative)}.gux-status-icon-success::before{inline-size:var(--gse-ui-dataTableItems-statusIndicator-label-fontSize);block-size:var(--gse-ui-dataTableItems-statusIndicator-label-fontSize);-webkit-mask-image:url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12' %3E%3Cpath d='M6 0C7.59 0 9.12 0.629997 10.245 1.755C11.37 2.88 12 4.41 12 6C12 7.59 11.37 9.12 10.245 10.245C9.12 11.37 7.59 12 6 12C4.41 12 2.88 11.37 1.755 10.245C0.629997 9.12 0 7.59 0 6C0 4.41 0.629997 2.88 1.755 1.755C2.88 0.629997 4.41 0 6 0Z' /%3E%3C/svg%3E\");mask-image:url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12' %3E%3Cpath d='M6 0C7.59 0 9.12 0.629997 10.245 1.755C11.37 2.88 12 4.41 12 6C12 7.59 11.37 9.12 10.245 10.245C9.12 11.37 7.59 12 6 12C4.41 12 2.88 11.37 1.755 10.245C0.629997 9.12 0 7.59 0 6C0 4.41 0.629997 2.88 1.755 1.755C2.88 0.629997 4.41 0 6 0Z' /%3E%3C/svg%3E\");background:var(--gse-ui-statusGlyph-positive)}";export{o as gux_status_indicator_beta}
1
+ import{r as t,h as a,a as s}from"./p-mm833MRp.js";import{t as e}from"./p-Bk9hX_6O.js";import{h as i}from"./p-qzV3vtOw.js";const o=class{constructor(a){t(this,a),this.accent="info"}async componentWillLoad(){e(this.root,{variant:this.accent})}componentDidLoad(){this.applyTableStyle()}applyTableStyle(){var t;"td"===(null===(t=this.root.parentElement)||void 0===t?void 0:t.tagName.toLowerCase())&&this.statusIndicatorContainerElement.classList.add("gux-has-table-parent")}renderTooltip(){if(i(this.root,"tooltip-text"))return a("gux-tooltip",null,a("slot",{name:"tooltip-text"}))}render(){return a("div",{key:"6d65f9349aabefc7815477b5edd4d730353191bd",class:"gux-status-indicator",ref:t=>this.statusIndicatorContainerElement=t},a("span",{key:"e93d0d092730e63e3af78b72159eed7105998cca",class:`gux-status-icon gux-status-icon-${this.accent}`}),a("div",{key:"b3d3688cb4e7aa917e23daa8be2593bc848a29bd",class:"gux-status-indicator-text"},a("slot",{key:"e8b83e29c592ab27e5782a3e59aa8d80a1fc603e"})),this.renderTooltip())}get root(){return s(this)}};o.style=".gux-status-indicator{display:inline-flex;gap:var(--gse-ui-dataTableItems-statusIndicator-gap);align-items:center;padding:var(--gse-ui-dataTableItems-statusIndicator-gap);font-size:var(--gse-ui-dataTableItems-statusIndicator-label-fontSize);line-height:var(--gse-ui-dataTableItems-statusIndicator-label-lineHeight);border-radius:var(--gse-ui-dataTableItems-statusIndicator-borderRadius)}.gux-status-indicator:hover{cursor:default;background-color:var(--gse-ui-dataTableItems-statusIndicator-hover)}.gux-has-table-parent{position:relative;inset-inline-start:-8px}.gux-status-indicator-text{color:var(--gse-ui-dataTableItems-statusIndicator-text)}.gux-status-icon{display:inline-flex}.gux-status-icon::before{content:\"\"}.gux-status-icon-info::before{-webkit-mask-image:url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12' %3E%3Cpath d='M6 0C7.59 0 9.12 0.629997 10.245 1.755C11.37 2.88 12 4.41 12 6C12 7.59 11.37 9.12 10.245 10.245C9.12 11.37 7.59 12 6 12C4.41 12 2.88 11.37 1.755 10.245C0.629997 9.12 0 7.59 0 6C0 4.41 0.629997 2.88 1.755 1.755C2.88 0.629997 4.41 0 6 0Z' /%3E%3C/svg%3E\");mask-image:url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12' %3E%3Cpath d='M6 0C7.59 0 9.12 0.629997 10.245 1.755C11.37 2.88 12 4.41 12 6C12 7.59 11.37 9.12 10.245 10.245C9.12 11.37 7.59 12 6 12C4.41 12 2.88 11.37 1.755 10.245C0.629997 9.12 0 7.59 0 6C0 4.41 0.629997 2.88 1.755 1.755C2.88 0.629997 4.41 0 6 0Z' /%3E%3C/svg%3E\");inline-size:var(--gse-ui-dataTableItems-statusIndicator-label-fontSize);block-size:var(--gse-ui-dataTableItems-statusIndicator-label-fontSize);background:var(--gse-ui-statusGlyph-information)}.gux-status-icon-warning::before{inline-size:var(--gse-ui-dataTableItems-statusIndicator-label-fontSize);block-size:var(--gse-ui-dataTableItems-statusIndicator-label-fontSize);-webkit-mask-image:url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12' %3E%3Cpath d='M6.16516 0.749268C6.49521 0.749268 6.80275 0.921791 6.97527 1.21434L12.0386 9.8407C12.2111 10.1332 12.2111 10.4933 12.0386 10.7783C11.8735 11.0709 11.5585 11.2509 11.2285 11.2509H1.10186C0.764303 11.2509 0.456764 11.0709 0.291738 10.7783C0.126712 10.4858 0.126712 10.1257 0.291738 9.8407L5.35504 1.21434C5.52757 0.929292 5.8276 0.749268 6.16516 0.749268Z' /%3E%3C/svg%3E\");mask-image:url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12' %3E%3Cpath d='M6.16516 0.749268C6.49521 0.749268 6.80275 0.921791 6.97527 1.21434L12.0386 9.8407C12.2111 10.1332 12.2111 10.4933 12.0386 10.7783C11.8735 11.0709 11.5585 11.2509 11.2285 11.2509H1.10186C0.764303 11.2509 0.456764 11.0709 0.291738 10.7783C0.126712 10.4858 0.126712 10.1257 0.291738 9.8407L5.35504 1.21434C5.52757 0.929292 5.8276 0.749268 6.16516 0.749268Z' /%3E%3C/svg%3E\");background:var(--gse-ui-statusGlyph-neutral)}.gux-status-icon-error::before{inline-size:var(--gse-ui-dataTableItems-statusIndicator-label-fontSize);block-size:var(--gse-ui-dataTableItems-statusIndicator-label-fontSize);-webkit-mask-image:url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12' %3E%3Cpath d='M0.236102 6.88C-0.0787008 6.33785 -0.0787008 5.66215 0.236102 5.12L2.36477 1.38C2.67957 0.837853 3.24922 0.5 3.87133 0.5H8.12867C8.75078 0.5 9.32043 0.837853 9.63523 1.38L11.7639 5.12C12.0787 5.66215 12.0787 6.33785 11.7639 6.88L9.63523 10.62C9.32043 11.1621 8.75078 11.5 8.12867 11.5H3.87133C3.24922 11.5 2.67957 11.1621 2.36477 10.62L0.236102 6.88Z' /%3E%3C/svg%3E\");mask-image:url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12' %3E%3Cpath d='M0.236102 6.88C-0.0787008 6.33785 -0.0787008 5.66215 0.236102 5.12L2.36477 1.38C2.67957 0.837853 3.24922 0.5 3.87133 0.5H8.12867C8.75078 0.5 9.32043 0.837853 9.63523 1.38L11.7639 5.12C12.0787 5.66215 12.0787 6.33785 11.7639 6.88L9.63523 10.62C9.32043 11.1621 8.75078 11.5 8.12867 11.5H3.87133C3.24922 11.5 2.67957 11.1621 2.36477 10.62L0.236102 6.88Z' /%3E%3C/svg%3E\");background:var(--gse-ui-statusGlyph-negative)}.gux-status-icon-success::before{inline-size:var(--gse-ui-dataTableItems-statusIndicator-label-fontSize);block-size:var(--gse-ui-dataTableItems-statusIndicator-label-fontSize);-webkit-mask-image:url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12' %3E%3Cpath d='M6 0C7.59 0 9.12 0.629997 10.245 1.755C11.37 2.88 12 4.41 12 6C12 7.59 11.37 9.12 10.245 10.245C9.12 11.37 7.59 12 6 12C4.41 12 2.88 11.37 1.755 10.245C0.629997 9.12 0 7.59 0 6C0 4.41 0.629997 2.88 1.755 1.755C2.88 0.629997 4.41 0 6 0Z' /%3E%3C/svg%3E\");mask-image:url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12' %3E%3Cpath d='M6 0C7.59 0 9.12 0.629997 10.245 1.755C11.37 2.88 12 4.41 12 6C12 7.59 11.37 9.12 10.245 10.245C9.12 11.37 7.59 12 6 12C4.41 12 2.88 11.37 1.755 10.245C0.629997 9.12 0 7.59 0 6C0 4.41 0.629997 2.88 1.755 1.755C2.88 0.629997 4.41 0 6 0Z' /%3E%3C/svg%3E\");background:var(--gse-ui-statusGlyph-positive)}";export{o as gux_status_indicator_beta}
@@ -1 +1 @@
1
- import{r as a,c as t,d as i,h as e,a as n}from"./p-CjVJoR6g.js";import{a as s}from"./p-Bg4q97BS.js";import{t as o}from"./p-Rs2JRIbr.js";const r=class{constructor(i){a(this,i),this.guxpaginationchange=t(this,"guxpaginationchange",7),this.reinstateLayoutBreakpoint=0,this.layout="advanced",this.currentPage=1,this.totalItems=0,this.itemsPerPage=25,this.disabled=!1}setPage(a){if(a<=0)return void this.setPage(1);const t=this.calculateTotalPages(this.totalItems,this.itemsPerPage);a>t?this.setPage(t):(this.currentPage=a,this.guxpaginationchange.emit({currentPage:this.currentPage,itemsPerPage:this.itemsPerPage}))}handleInternalitemsperpagechange(a){this.itemsPerPage=a.detail,this.setPage(1)}handleInternalcurrentpagechange(a){this.setPage(a.detail)}calculateTotalPages(a,t){return Math.max(1,Math.ceil(a/t))}calculateCurrentPage(a,t){return Math.max(a>0?1:0,Math.min(t,a))}checkPaginationContainerWidthForLayout(){i((()=>{const a=this.root.shadowRoot.querySelector(".gux-pagination-container"),t=this.root.shadowRoot.querySelector(".gux-pagination-spacer"),i=a.clientWidth;t.clientWidth<24&&"simple"!==this.displayedLayout?(this.reinstateLayoutBreakpoint=i,this.displayedLayout="simple"):i>this.reinstateLayoutBreakpoint&&(this.reinstateLayoutBreakpoint=0,this.displayedLayout=this.layout)}))}componentWillLoad(){o(this.root,{variant:this.layout})}componentWillRender(){this.totalPages=this.calculateTotalPages(this.totalItems,this.itemsPerPage),this.currentPage=this.calculateCurrentPage(this.totalPages,this.currentPage)}disconnectedCallback(){this.resizeObserver&&this.resizeObserver.unobserve(this.root.shadowRoot.querySelector(".gux-pagination-container"))}componentDidLoad(){!this.resizeObserver&&window.ResizeObserver&&(this.resizeObserver=new ResizeObserver((()=>this.checkPaginationContainerWidthForLayout()))),this.resizeObserver&&this.resizeObserver.observe(this.root.shadowRoot.querySelector(".gux-pagination-container")),s((()=>{this.checkPaginationContainerWidthForLayout()}),500)}render(){return e("div",{key:"daed1d8b7d56f32b3a8438dba26d8f7007ec4f37",class:"gux-pagination-container"},e("div",{key:"3abb083f9de877d44cc943a00ebbbe459975a2fa",class:"gux-pagination-info"},e("gux-pagination-item-counts",{key:"1c2f9210221bc608aa962957b91453a8a9d5e394","total-items":this.totalItems,"current-page":this.currentPage,"items-per-page":this.itemsPerPage}),"advanced"===this.displayedLayout&&e("gux-pagination-items-per-page",{key:"646a61531538b09fd698fc7b1e5e1c13065174e7",disabled:this.disabled,"items-per-page":this.itemsPerPage,onInternalitemsperpagechange:this.handleInternalitemsperpagechange.bind(this)})),e("div",{key:"7702e98c978599ef0101b44ca0fe1a941cc21565",class:"gux-pagination-spacer"}),e("div",{key:"e4b252cc252e623b68452f103ca22eeaea81ba90",class:"gux-pagination-change"},e("gux-pagination-buttons",{key:"1026685623c4715131e7f28964468f22a6325ca1",disabled:this.disabled,layout:this.displayedLayout,"current-page":this.currentPage,"total-pages":this.totalPages,onInternalcurrentpagechange:this.handleInternalcurrentpagechange.bind(this)})))}get root(){return n(this)}};r.style=":host{display:block;block-size:var(--gse-ui-dataTableItems-cell-tablePagination-height);border-block-start:var(--gse-ui-dataTableItems-tablePagination-divider-width) var(--gse-ui-dataTableItems-tablePagination-divider-style) var(--gse-ui-dataTableItems-tablePagination-divider-color)}.gux-pagination-container{display:flex;flex-direction:row;flex-wrap:nowrap;place-content:stretch space-between;align-items:center;padding:var(--gse-ui-dataTableItems-tablePagination-padding);background-color:var(--gse-ui-dataTableItems-tablePagination-defaultBackgroundColor)}.gux-pagination-container .gux-pagination-info{display:flex;flex:0 1 auto;flex-direction:row;flex-wrap:nowrap;gap:var(--gse-ui-dataTableItems-tablePagination-recordsetControls-gap);place-content:stretch flex-start;align-items:center;align-self:auto;order:0}.gux-pagination-container .gux-pagination-info>*{flex:0 1 auto;align-self:auto;order:0}.gux-pagination-container .gux-pagination-spacer{flex:1 1 auto;align-self:auto;order:0}.gux-pagination-container .gux-pagination-change{flex:0 1 auto;align-self:auto;order:0}.gux-pagination-container .gux-pagination-change:first-child{margin-inline-start:0}";export{r as gux_pagination}
1
+ import{r as a,c as t,d as i,h as e,a as n}from"./p-mm833MRp.js";import{a as s}from"./p-Bg4q97BS.js";import{t as o}from"./p-Bk9hX_6O.js";const r=class{constructor(i){a(this,i),this.guxpaginationchange=t(this,"guxpaginationchange",7),this.reinstateLayoutBreakpoint=0,this.layout="advanced",this.currentPage=1,this.totalItems=0,this.itemsPerPage=25,this.disabled=!1}setPage(a){if(a<=0)return void this.setPage(1);const t=this.calculateTotalPages(this.totalItems,this.itemsPerPage);a>t?this.setPage(t):(this.currentPage=a,this.guxpaginationchange.emit({currentPage:this.currentPage,itemsPerPage:this.itemsPerPage}))}handleInternalitemsperpagechange(a){this.itemsPerPage=a.detail,this.setPage(1)}handleInternalcurrentpagechange(a){this.setPage(a.detail)}calculateTotalPages(a,t){return Math.max(1,Math.ceil(a/t))}calculateCurrentPage(a,t){return Math.max(a>0?1:0,Math.min(t,a))}checkPaginationContainerWidthForLayout(){i((()=>{const a=this.root.shadowRoot.querySelector(".gux-pagination-container"),t=this.root.shadowRoot.querySelector(".gux-pagination-spacer"),i=a.clientWidth;t.clientWidth<24&&"simple"!==this.displayedLayout?(this.reinstateLayoutBreakpoint=i,this.displayedLayout="simple"):i>this.reinstateLayoutBreakpoint&&(this.reinstateLayoutBreakpoint=0,this.displayedLayout=this.layout)}))}componentWillLoad(){o(this.root,{variant:this.layout})}componentWillRender(){this.totalPages=this.calculateTotalPages(this.totalItems,this.itemsPerPage),this.currentPage=this.calculateCurrentPage(this.totalPages,this.currentPage)}disconnectedCallback(){this.resizeObserver&&this.resizeObserver.unobserve(this.root.shadowRoot.querySelector(".gux-pagination-container"))}componentDidLoad(){!this.resizeObserver&&window.ResizeObserver&&(this.resizeObserver=new ResizeObserver((()=>this.checkPaginationContainerWidthForLayout()))),this.resizeObserver&&this.resizeObserver.observe(this.root.shadowRoot.querySelector(".gux-pagination-container")),s((()=>{this.checkPaginationContainerWidthForLayout()}),500)}render(){return e("div",{key:"daed1d8b7d56f32b3a8438dba26d8f7007ec4f37",class:"gux-pagination-container"},e("div",{key:"3abb083f9de877d44cc943a00ebbbe459975a2fa",class:"gux-pagination-info"},e("gux-pagination-item-counts",{key:"1c2f9210221bc608aa962957b91453a8a9d5e394","total-items":this.totalItems,"current-page":this.currentPage,"items-per-page":this.itemsPerPage}),"advanced"===this.displayedLayout&&e("gux-pagination-items-per-page",{key:"646a61531538b09fd698fc7b1e5e1c13065174e7",disabled:this.disabled,"items-per-page":this.itemsPerPage,onInternalitemsperpagechange:this.handleInternalitemsperpagechange.bind(this)})),e("div",{key:"7702e98c978599ef0101b44ca0fe1a941cc21565",class:"gux-pagination-spacer"}),e("div",{key:"e4b252cc252e623b68452f103ca22eeaea81ba90",class:"gux-pagination-change"},e("gux-pagination-buttons",{key:"1026685623c4715131e7f28964468f22a6325ca1",disabled:this.disabled,layout:this.displayedLayout,"current-page":this.currentPage,"total-pages":this.totalPages,onInternalcurrentpagechange:this.handleInternalcurrentpagechange.bind(this)})))}get root(){return n(this)}};r.style=":host{display:block;block-size:var(--gse-ui-dataTableItems-cell-tablePagination-height);border-block-start:var(--gse-ui-dataTableItems-tablePagination-divider-width) var(--gse-ui-dataTableItems-tablePagination-divider-style) var(--gse-ui-dataTableItems-tablePagination-divider-color)}.gux-pagination-container{display:flex;flex-direction:row;flex-wrap:nowrap;place-content:stretch space-between;align-items:center;padding:var(--gse-ui-dataTableItems-tablePagination-padding);background-color:var(--gse-ui-dataTableItems-tablePagination-defaultBackgroundColor)}.gux-pagination-container .gux-pagination-info{display:flex;flex:0 1 auto;flex-direction:row;flex-wrap:nowrap;gap:var(--gse-ui-dataTableItems-tablePagination-recordsetControls-gap);place-content:stretch flex-start;align-items:center;align-self:auto;order:0}.gux-pagination-container .gux-pagination-info>*{flex:0 1 auto;align-self:auto;order:0}.gux-pagination-container .gux-pagination-spacer{flex:1 1 auto;align-self:auto;order:0}.gux-pagination-container .gux-pagination-change{flex:0 1 auto;align-self:auto;order:0}.gux-pagination-container .gux-pagination-change:first-child{margin-inline-start:0}";export{r as gux_pagination}
@@ -1 +1 @@
1
- import{r as t,c as e,h as s,a as i}from"./p-CjVJoR6g.js";import{O as a}from"./p-BvVMx5eW.js";import{w as o}from"./p-kLXvN2m9.js";import{a as r}from"./p-Bg4q97BS.js";import{t as n}from"./p-Rs2JRIbr.js";const c=["primary","secondary","tertiary"];const u=class{constructor(s){t(this,s),this.open=e(this,"open",7),this.close=e(this,"close",7),this.disabled=!1,this.accent="secondary",this.guxAriaLabel="",this.isOpen=!1}handleKeydown(t){const e=t.composedPath();switch(t.key){case"Escape":this.isOpen=!1,e.includes(this.listElement)&&(t.preventDefault(),this.dropdownButton.focus());break;case"Tab":this.isOpen=!1;break;case"Enter":case"ArrowDown":e.includes(this.dropdownButton)&&(t.preventDefault(),this.isOpen=!0,this.focusFirstItemInPopupList());break;case"ArrowUp":e.includes(this.dropdownButton)&&(t.preventDefault(),this.isOpen=!0,this.focusLastItemInPopupList())}}handleKeyup(t){if(" "===t.key)t.composedPath().includes(this.dropdownButton)&&(this.isOpen=!0,this.focusFirstItemInPopupList())}watchDisabled(t){t&&(this.isOpen=!1)}watchValue(t){t?this.open.emit():(this.listElement.blur(),this.close.emit())}onClickOutside(){this.isOpen=!1}toggle(){this.disabled||(this.isOpen=!this.isOpen,this.isOpen&&this.focusPopupList())}focusPopupList(){r((()=>{this.listElement.focus()}))}focusFirstItemInPopupList(){r((()=>{this.listElement.guxFocusFirstItem()}))}focusLastItemInPopupList(){r((()=>{this.listElement.guxFocusLastItem()}))}onListClick(t){o("gux-list-item",t,(()=>{this.isOpen=!1,this.dropdownButton.focus()}))}componentWillLoad(){n(this.root,{variant:this.accent})}render(){return s("gux-popup",{key:"81151ec4803c66a856f2ae63a4abd1fd914e9c18",expanded:this.isOpen,"exceed-target-width":!0,placement:"bottom-end"},s("div",{key:"763aa8765d6456ced163b16392f28152cdfbec5b",slot:"target",class:"gux-button-multi-container"},s("gux-button-slot",{key:"a0d770793d6a522e9d11ebfe4869bb9fc2166f06",class:"gux-dropdown-button",accent:(t=this.accent,c.find((e=>e===t))?t:"secondary")},s("button",{key:"16ed22bf8400f1813c205bf690b8527e10083243",type:"button",disabled:this.disabled,ref:t=>this.dropdownButton=t,onMouseUp:()=>this.toggle(),"aria-haspopup":"true","aria-expanded":this.isOpen.toString(),"aria-label":this.guxAriaLabel},s("slot",{key:"b8a1d7d212b3aa69b9d2707a5f268d4ef047f68e",name:"title"}),s("gux-icon",{key:"a0c2d0ffb219e64bcfb5d9cb89a75e489a322619",size:"small",decorative:!0,"icon-name":"custom/chevron-down-small-regular"})))),s("div",{key:"c8df9601b7a0ca07a6a66688ec7f5b8689d96533",class:"gux-list-container",slot:"popup"},s("gux-list",{key:"58768f2f58d1d1099c199efedf94aac619617077",onClick:t=>this.onListClick(t),ref:t=>this.listElement=t},s("slot",{key:"ce515bb2d9336172e274e7fbcdf8930a8032322b"}))));var t}static get delegatesFocus(){return!0}get root(){return i(this)}static get watchers(){return{disabled:["watchDisabled"],isOpen:["watchValue"]}}};(function(t,e,s,i){var a,o=arguments.length,r=o<3?e:null===i?i=Object.getOwnPropertyDescriptor(e,s):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)r=Reflect.decorate(t,e,s,i);else for(var n=t.length-1;n>=0;n--)(a=t[n])&&(r=(o<3?a(r):o>3?a(e,s,r):a(e,s))||r);o>3&&r&&Object.defineProperty(e,s,r)})([a({triggerEvents:"mousedown"})],u.prototype,"onClickOutside",null),u.style=":host{display:block;-webkit-user-select:none;user-select:none}.gux-button-multi-container .gux-dropdown-button button{display:inline-flex;align-items:center}.gux-button-multi-container .gux-dropdown-button button gux-icon{margin-inline-start:var(--gse-ui-button-gap)}.gux-list-container{max-inline-size:220px;margin:0;overflow-y:auto;background:var(--gse-ui-menu-backgroundColor);border-color:var(--gse-ui-menu-border-color);border-style:var(--gse-ui-menu-border-style);border-width:var(--gse-ui-menu-border-width);border-radius:var(--gse-ui-menu-borderRadius);box-shadow:var(--gse-ui-menu-boxShadow)}";export{u as gux_button_multi}
1
+ import{r as t,c as e,h as s,a as i}from"./p-mm833MRp.js";import{O as a}from"./p-CuMZPTZF.js";import{w as o}from"./p-kLXvN2m9.js";import{a as r}from"./p-Bg4q97BS.js";import{t as n}from"./p-Bk9hX_6O.js";const c=["primary","secondary","tertiary"];const u=class{constructor(s){t(this,s),this.open=e(this,"open",7),this.close=e(this,"close",7),this.disabled=!1,this.accent="secondary",this.guxAriaLabel="",this.isOpen=!1}handleKeydown(t){const e=t.composedPath();switch(t.key){case"Escape":this.isOpen=!1,e.includes(this.listElement)&&(t.preventDefault(),this.dropdownButton.focus());break;case"Tab":this.isOpen=!1;break;case"Enter":case"ArrowDown":e.includes(this.dropdownButton)&&(t.preventDefault(),this.isOpen=!0,this.focusFirstItemInPopupList());break;case"ArrowUp":e.includes(this.dropdownButton)&&(t.preventDefault(),this.isOpen=!0,this.focusLastItemInPopupList())}}handleKeyup(t){if(" "===t.key)t.composedPath().includes(this.dropdownButton)&&(this.isOpen=!0,this.focusFirstItemInPopupList())}watchDisabled(t){t&&(this.isOpen=!1)}watchValue(t){t?this.open.emit():(this.listElement.blur(),this.close.emit())}onClickOutside(){this.isOpen=!1}toggle(){this.disabled||(this.isOpen=!this.isOpen,this.isOpen&&this.focusPopupList())}focusPopupList(){r((()=>{this.listElement.focus()}))}focusFirstItemInPopupList(){r((()=>{this.listElement.guxFocusFirstItem()}))}focusLastItemInPopupList(){r((()=>{this.listElement.guxFocusLastItem()}))}onListClick(t){o("gux-list-item",t,(()=>{this.isOpen=!1,this.dropdownButton.focus()}))}componentWillLoad(){n(this.root,{variant:this.accent})}render(){return s("gux-popup",{key:"81151ec4803c66a856f2ae63a4abd1fd914e9c18",expanded:this.isOpen,"exceed-target-width":!0,placement:"bottom-end"},s("div",{key:"763aa8765d6456ced163b16392f28152cdfbec5b",slot:"target",class:"gux-button-multi-container"},s("gux-button-slot",{key:"a0d770793d6a522e9d11ebfe4869bb9fc2166f06",class:"gux-dropdown-button",accent:(t=this.accent,c.find((e=>e===t))?t:"secondary")},s("button",{key:"16ed22bf8400f1813c205bf690b8527e10083243",type:"button",disabled:this.disabled,ref:t=>this.dropdownButton=t,onMouseUp:()=>this.toggle(),"aria-haspopup":"true","aria-expanded":this.isOpen.toString(),"aria-label":this.guxAriaLabel},s("slot",{key:"b8a1d7d212b3aa69b9d2707a5f268d4ef047f68e",name:"title"}),s("gux-icon",{key:"a0c2d0ffb219e64bcfb5d9cb89a75e489a322619",size:"small",decorative:!0,"icon-name":"custom/chevron-down-small-regular"})))),s("div",{key:"c8df9601b7a0ca07a6a66688ec7f5b8689d96533",class:"gux-list-container",slot:"popup"},s("gux-list",{key:"58768f2f58d1d1099c199efedf94aac619617077",onClick:t=>this.onListClick(t),ref:t=>this.listElement=t},s("slot",{key:"ce515bb2d9336172e274e7fbcdf8930a8032322b"}))));var t}static get delegatesFocus(){return!0}get root(){return i(this)}static get watchers(){return{disabled:["watchDisabled"],isOpen:["watchValue"]}}};(function(t,e,s,i){var a,o=arguments.length,r=o<3?e:null===i?i=Object.getOwnPropertyDescriptor(e,s):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)r=Reflect.decorate(t,e,s,i);else for(var n=t.length-1;n>=0;n--)(a=t[n])&&(r=(o<3?a(r):o>3?a(e,s,r):a(e,s))||r);o>3&&r&&Object.defineProperty(e,s,r)})([a({triggerEvents:"mousedown"})],u.prototype,"onClickOutside",null),u.style=":host{display:block;-webkit-user-select:none;user-select:none}.gux-button-multi-container .gux-dropdown-button button{display:inline-flex;align-items:center}.gux-button-multi-container .gux-dropdown-button button gux-icon{margin-inline-start:var(--gse-ui-button-gap)}.gux-list-container{max-inline-size:220px;margin:0;overflow-y:auto;background:var(--gse-ui-menu-backgroundColor);border-color:var(--gse-ui-menu-border-color);border-style:var(--gse-ui-menu-border-style);border-width:var(--gse-ui-menu-border-width);border-radius:var(--gse-ui-menu-borderRadius);box-shadow:var(--gse-ui-menu-boxShadow)}";export{u as gux_button_multi}
@@ -1 +1 @@
1
- import{r as e,h as r,a as o}from"./p-CjVJoR6g.js";import{t as a}from"./p-Rs2JRIbr.js";import{b as g}from"./p-D1QZQXQN.js";import{O as i}from"./p-DaK6PJIg.js";import"./p-Cd4R0amv.js";var l={info:"badge with label: {label}, accent: info","info-bold":"badge with label: {label}, accent: info bold",success:"badge with label: {label}, accent: success","success-bold":"badge with label: {label}, accent: success bold",warning:"badge with label: {label}, accent: warning","warning-bold":"badge with label: {label}, accent: warning bold",error:"badge with label: {label}, accent: error","error-bold":"badge with label: {label}, accent: error bold",inherit:"badge with label: {label}","inherit-bold":"badge with label: {label}, bold"};const t=class{constructor(r){e(this,r),this.accent="info",this.bold=!1}onMutation(){this.label=this.root.textContent||""}onSlotChange(e){const r=e.composedPath()[0].assignedNodes();this.label=r.map((e=>e.textContent)).join("")}renderBadgeTitle(){return r("gux-tooltip-title",{"aria-hidden":"true"},r("span",null,r("slot",{"aria-hidden":"true",onSlotchange:this.onSlotChange.bind(this)})))}renderSrText(){return r("div",{class:"gux-sr-only"},this.i18n(this.getVariant(),{label:this.label}))}getVariant(){return`${this.accent}${this.bold?"-bold":""}`}async componentWillLoad(){a(this.root),this.i18n=await g(this.root,l)}render(){return r("div",{key:"1ae7ee1b9230d602745befe14c414a63cae92b21",class:{"gux-badge":!0,[`gux-${this.accent}`]:!0,"gux-bold":this.bold}},this.renderBadgeTitle(),this.renderSrText())}get root(){return o(this)}};(function(e,r,o,a){var g,i=arguments.length,l=i<3?r:null===a?a=Object.getOwnPropertyDescriptor(r,o):a;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)l=Reflect.decorate(e,r,o,a);else for(var t=e.length-1;t>=0;t--)(g=e[t])&&(l=(i<3?g(l):i>3?g(r,o,l):g(r,o))||l);i>3&&l&&Object.defineProperty(r,o,l)})([i({childList:!0,subtree:!0,characterData:!0})],t.prototype,"onMutation",null),t.style=":host{display:inline-block;block-size:fit-content;border-radius:var(--gse-ui-badge-borderRadius)}.gux-badge{display:flex;flex-direction:row;gap:var(--gse-ui-badge-gap);align-items:center;justify-content:center;block-size:var(--gse-ui-badge-height);padding:var(--gse-ui-badge-padding);font-family:var(--gse-ui-badge-text-fontFamily);font-size:var(--gse-ui-badge-text-fontSize);font-weight:var(--gse-ui-badge-text-fontWeight);line-height:var(--gse-ui-badge-text-lineHeight);border-radius:var(--gse-ui-badge-borderRadius)}.gux-badge gux-tooltip-title{white-space:nowrap}.gux-badge .gux-sr-only{}.gux-badge .gux-sr-only:not(:focus):not(:active){position:absolute;width:1px;height:1px;overflow:hidden;white-space:nowrap;clip-path:inset(50%)}.gux-badge.gux-info{color:var(--gse-ui-badge-info-regular-foregroundColor);background-color:var(--gse-ui-badge-info-regular-backgroundColor)}.gux-badge.gux-info.gux-bold{color:var(--gse-ui-badge-info-bold-foregroundColor);background-color:var(--gse-ui-badge-info-bold-backgroundColor)}.gux-badge.gux-error{color:var(--gse-ui-badge-error-regular-foregroundColor);background-color:var(--gse-ui-badge-error-regular-backgroundColor)}.gux-badge.gux-error.gux-bold{color:var(--gse-ui-badge-error-bold-foregroundColor);background-color:var(--gse-ui-badge-error-bold-backgroundColor)}.gux-badge.gux-warning{color:var(--gse-ui-badge-warning-regular-foregroundColor);background-color:var(--gse-ui-badge-warning-regular-backgroundColor)}.gux-badge.gux-warning.gux-bold{color:var(--gse-ui-badge-warning-bold-foregroundColor);background-color:var(--gse-ui-badge-warning-bold-backgroundColor)}.gux-badge.gux-success{color:var(--gse-ui-badge-success-regular-foregroundColor);background-color:var(--gse-ui-badge-success-regular-backgroundColor)}.gux-badge.gux-success.gux-bold{color:var(--gse-ui-badge-success-bold-foregroundColor);background-color:var(--gse-ui-badge-success-bold-backgroundColor)}.gux-badge.gux-inherit{color:inherit;background-color:inherit}";export{t as gux_badge}
1
+ import{r as e,h as r,a as o}from"./p-mm833MRp.js";import{t as a}from"./p-Bk9hX_6O.js";import{b as g}from"./p-D_8CR3cJ.js";import{O as i}from"./p-1mmdDpx8.js";import"./p-Cd4R0amv.js";var l={info:"badge with label: {label}, accent: info","info-bold":"badge with label: {label}, accent: info bold",success:"badge with label: {label}, accent: success","success-bold":"badge with label: {label}, accent: success bold",warning:"badge with label: {label}, accent: warning","warning-bold":"badge with label: {label}, accent: warning bold",error:"badge with label: {label}, accent: error","error-bold":"badge with label: {label}, accent: error bold",inherit:"badge with label: {label}","inherit-bold":"badge with label: {label}, bold"};const t=class{constructor(r){e(this,r),this.accent="info",this.bold=!1}onMutation(){this.label=this.root.textContent||""}onSlotChange(e){const r=e.composedPath()[0].assignedNodes();this.label=r.map((e=>e.textContent)).join("")}renderBadgeTitle(){return r("gux-tooltip-title",{"aria-hidden":"true"},r("span",null,r("slot",{"aria-hidden":"true",onSlotchange:this.onSlotChange.bind(this)})))}renderSrText(){return r("div",{class:"gux-sr-only"},this.i18n(this.getVariant(),{label:this.label}))}getVariant(){return`${this.accent}${this.bold?"-bold":""}`}async componentWillLoad(){a(this.root),this.i18n=await g(this.root,l)}render(){return r("div",{key:"feb45369a5d97e8e4b88b3a59cb9bba4a379d9f0",class:{"gux-badge":!0,[`gux-${this.accent}`]:!0,"gux-bold":this.bold}},this.renderBadgeTitle(),this.renderSrText())}get root(){return o(this)}};(function(e,r,o,a){var g,i=arguments.length,l=i<3?r:null===a?a=Object.getOwnPropertyDescriptor(r,o):a;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)l=Reflect.decorate(e,r,o,a);else for(var t=e.length-1;t>=0;t--)(g=e[t])&&(l=(i<3?g(l):i>3?g(r,o,l):g(r,o))||l);i>3&&l&&Object.defineProperty(r,o,l)})([i({childList:!0,subtree:!0,characterData:!0})],t.prototype,"onMutation",null),t.style=":host{display:inline-block;block-size:fit-content;border-radius:var(--gse-ui-badge-borderRadius)}.gux-badge{display:flex;flex-direction:row;gap:var(--gse-ui-badge-gap);align-items:center;justify-content:center;block-size:var(--gse-ui-badge-height);padding:var(--gse-ui-badge-padding);font-family:var(--gse-ui-badge-text-fontFamily);font-size:var(--gse-ui-badge-text-fontSize);font-weight:var(--gse-ui-badge-text-fontWeight);line-height:var(--gse-ui-badge-text-lineHeight);border-radius:var(--gse-ui-badge-borderRadius)}.gux-badge gux-tooltip-title{white-space:nowrap}.gux-badge .gux-sr-only{}.gux-badge .gux-sr-only:not(:focus):not(:active){position:absolute;width:1px;height:1px;overflow:hidden;white-space:nowrap;clip-path:inset(50%)}.gux-badge.gux-info{color:var(--gse-ui-badge-info-regular-foregroundColor);background-color:var(--gse-ui-badge-info-regular-backgroundColor)}.gux-badge.gux-info.gux-bold{color:var(--gse-ui-badge-info-bold-foregroundColor);background-color:var(--gse-ui-badge-info-bold-backgroundColor)}.gux-badge.gux-error{color:var(--gse-ui-badge-error-regular-foregroundColor);background-color:var(--gse-ui-badge-error-regular-backgroundColor)}.gux-badge.gux-error.gux-bold{color:var(--gse-ui-badge-error-bold-foregroundColor);background-color:var(--gse-ui-badge-error-bold-backgroundColor)}.gux-badge.gux-warning{color:var(--gse-ui-badge-warning-regular-foregroundColor);background-color:var(--gse-ui-badge-warning-regular-backgroundColor)}.gux-badge.gux-warning.gux-bold{color:var(--gse-ui-badge-warning-bold-foregroundColor);background-color:var(--gse-ui-badge-warning-bold-backgroundColor)}.gux-badge.gux-success{color:var(--gse-ui-badge-success-regular-foregroundColor);background-color:var(--gse-ui-badge-success-regular-backgroundColor)}.gux-badge.gux-success.gux-bold{color:var(--gse-ui-badge-success-bold-foregroundColor);background-color:var(--gse-ui-badge-success-bold-backgroundColor)}.gux-badge.gux-inherit{color:inherit;background-color:inherit}";export{t as gux_badge}
@@ -1 +1 @@
1
- import{r as t,f as e,d as i,h as a,H as o,a as n}from"./p-CjVJoR6g.js";import{O as s}from"./p-DTOY_vUZ.js";import{O as r}from"./p-DaK6PJIg.js";import{t as l}from"./p-Rs2JRIbr.js";import{g as c}from"./p-BBpQG81s.js";import{a as d}from"./p-Bg4q97BS.js";import{l as u}from"./p-DxtJDeL9.js";function h(t,e){[].concat(t).forEach((t=>{null!=t&&(t.accent=e)}))}function b(t,...e){e.flat().filter((t=>null!=t&&!(null==t?void 0:t.hasAttribute("icon-only")))).forEach((e=>e.iconOnly=t))}var p=function(t,e,i,a){var o,n=arguments.length,s=n<3?e:null===a?a=Object.getOwnPropertyDescriptor(e,i):a;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(t,e,i,a);else for(var r=t.length-1;r>=0;r--)(o=t[r])&&(s=(n<3?o(s):n>3?o(e,i,s):o(e,i))||s);return n>3&&s&&Object.defineProperty(e,i,s),s};const m=class{constructor(e){t(this,e),this.displayedLayout="full",this.hasContextDivider=!1,this.minimumSizes={full:0,iconOnly:0,condensed:0}}onMutation(){this.hasContextDivider=this.needsContextDivider(),e(this.root)}recordLayoutMinSize(){i((()=>{var t,e,i;const a=0|(null===(t=this.searchAndFilterContainer)||void 0===t?void 0:t.clientWidth),o=0|(null===(e=this.actionsContainer)||void 0===e?void 0:e.clientWidth),n=0|(null===(i=this.minControlSize)||void 0===i?void 0:i.clientWidth);this.minimumSizes[this.displayedLayout]=a+o+n}))}get minControlSize(){return this.root.shadowRoot.querySelector(".section-spacing")}get actionsContainer(){return this.root.shadowRoot.querySelector(".gux-contextual-permanent-primary")}get searchAndFilterContainer(){return this.root.shadowRoot.querySelector(".search-filter-container")}get filterSlot(){return c(this.root,"search-and-filter")}get menuActionSlot(){return c(this.root,"menu-actions")}get permanentSlot(){return c(this.root,"permanent-actions")||this.menuActionSlot&&c(this.menuActionSlot,"permanent-actions")}get contextualSlot(){return c(this.root,"contextual-actions")}get primaryAction(){var t;return null===(t=this.root)||void 0===t?void 0:t.querySelector("gux-table-toolbar-custom-action[slot]")}get permanentActions(){var t,e;return(null===(t=this.permanentSlot)||void 0===t?void 0:t.hasChildNodes)?Array.from(null===(e=this.permanentSlot)||void 0===e?void 0:e.querySelectorAll("gux-table-toolbar-action, gux-table-toolbar-custom-action")):[]}get menuActionsItems(){var t,e;if(null===(t=this.menuActionSlot)||void 0===t?void 0:t.hasChildNodes)return Array.from(null===(e=this.menuActionSlot)||void 0===e?void 0:e.querySelectorAll("gux-table-toolbar-action, gux-table-toolbar-custom-action"))}get contextualActions(){var t,e;return(null===(t=this.contextualSlot)||void 0===t?void 0:t.hasChildNodes)?Array.from(null===(e=this.contextualSlot)||void 0===e?void 0:e.querySelectorAll("gux-table-toolbar-action, gux-table-toolbar-custom-action")):[]}get filterActions(){var t,e;return(null===(t=this.filterSlot)||void 0===t?void 0:t.hasChildNodes)?Array.from(null===(e=this.filterSlot)||void 0===e?void 0:e.querySelectorAll("gux-table-toolbar-action, gux-table-toolbar-custom-action")):[]}get allFilterContextual(){var t;return null===(t=this.filterActions)||void 0===t?void 0:t.concat(this.contextualActions)}needsContextDivider(){var t;return(null===(t=this.contextualActions)||void 0===t?void 0:t.length)&&this.contextualSlot!==this.root.lastElementChild}renderMenu(){var t;return Boolean((null===(t=this.menuActionsItems)||void 0===t?void 0:t.length)||"condensed"==this.displayedLayout)}renderFullLayout(){this.displayedLayout="full",b(!1,this.primaryAction,...this.allFilterContextual,...this.permanentActions)}renderIconOnlyLayoutScaleDown(){this.displayedLayout="iconOnly",b(!0,this.primaryAction,...this.allFilterContextual,...this.permanentActions)}renderIconOnlyLayoutScaleUp(){var t,e;this.displayedLayout="iconOnly",h(this.permanentActions,"secondary"),h(this.primaryAction,"primary"),b(!0,this.primaryAction,...this.allFilterContextual,...this.permanentActions),this.permanentActions&&(null===(t=this.root)||void 0===t||t.appendChild(this.permanentSlot)),this.primaryAction&&(null===(e=this.root)||void 0===e||e.appendChild(this.primaryAction))}renderCondensedLayout(){var t,e;this.displayedLayout="condensed",this.permanentActions&&(null===(t=this.menuActionSlot)||void 0===t||t.appendChild(this.permanentSlot)),this.primaryAction&&(null===(e=this.menuActionSlot)||void 0===e||e.appendChild(this.primaryAction)),b(!0,...this.allFilterContextual),b(!1,...this.permanentActions),b(!1,this.primaryAction),h(this.menuActionsItems,"ghost")}validateSlot(t){this.root.querySelector(`[slot=${t}]`)||u(this.root,`gux-table-toolbar requires a ${t} slot`)}componentWillRender(){l(this.root),this.hasContextDivider=this.needsContextDivider()}componentWillLoad(){this.validateSlot("menu-actions")}componentDidLoad(){d((()=>{this.recordLayoutMinSize(),this.checkResponsiveLayout()})),h(this.menuActionsItems,"ghost")}componentDidUpdate(){this.recordLayoutMinSize(),this.checkResponsiveLayout()}checkResponsiveLayout(){i((()=>{const t=this.root.clientWidth;t<=this.minimumSizes.iconOnly?"iconOnly"==this.displayedLayout&&this.renderCondensedLayout():t<=this.minimumSizes.full?"full"==this.displayedLayout?this.renderIconOnlyLayoutScaleDown():"condensed"==this.displayedLayout&&this.renderIconOnlyLayoutScaleUp():this.minimumSizes.iconOnly>this.minimumSizes.full?this.renderIconOnlyLayoutScaleUp():this.renderFullLayout()}))}render(){return a(o,{key:"e7fe904d097cfc944ca5cb883be17e4ea5d15194",role:"toolbar","aria-orientation":"horizontal","gs-layout":this.displayedLayout},a("div",{key:"45792fb25aa79506a45faa74b647044c3bd33ded",class:"search-filter-container"},a("slot",{key:"56a0cc5778a5c8979b9a35f659291e74074539bf",name:"search-and-filter"})),a("div",{key:"839408d1b1323cafe77e7d0778e44e34788e3feb",class:"section-spacing"}),a("div",{key:"818873535d3474925d986bc6b0104483b46e812e",class:"gux-contextual-permanent-primary"},a("div",{key:"426efac6c89f42db5793ec89aa7042bc36b531ff",class:{"gux-contextual-wrapper":this.hasContextDivider}},a("slot",{key:"d136baab7645d091246f1e9118bbfcfb18a5f61f",name:"contextual-actions"})),a("div",{key:"539f2f2b8920886a08bebb1b18068ece140bf7e5",class:"gux-permanent-menu-primary-wrapper"},a("slot",{key:"843d60a9782919ed208744341a47b6d2c36acb50",name:"permanent-actions"}),a("gux-table-toolbar-menu-button",{key:"bf087ee5aae1e42b8f38e07ae3df60332186d26f","show-menu":this.renderMenu()},a("slot",{key:"dd82663092a9d140b1cb602f63931a3816120cd5",name:"menu-actions"})),a("slot",{key:"f2637b336a9b3d1b229930fb83c9ba6dd1be149c",name:"primary-action"}))))}get root(){return n(this)}};p([r({childList:!0,subtree:!0})],m.prototype,"onMutation",null),p([s()],m.prototype,"checkResponsiveLayout",null),m.style=":host{display:flex;flex-direction:row;align-items:center;justify-content:space-between;inline-size:100%;max-block-size:var(--gse-ui-dataTableItems-tableToolbar-height);visibility:hidden;transition:visibility 0s 0.5s;}@keyframes show-toolbar{to{visibility:visible}}:host .search-filter-container{min-inline-size:260px;padding-inline-end:var(--gse-ui-dataTableItems-tableToolbar-gap)}:host slot[name=search-and-filter]::slotted(*){display:flex;flex-direction:row;gap:var(--gse-ui-dataTableItems-tableToolbar-tableToolbarGroup-gap);align-content:flex-start;align-items:center}:host .section-spacing{display:flex;flex-direction:row;min-inline-size:72px}:host .gux-contextual-permanent-primary{display:flex;flex-direction:row;justify-content:space-between;padding-inline-start:var(--gse-ui-dataTableItems-tableToolbar-gap)}:host .gux-contextual-permanent-primary slot[name=permanent-actions]::slotted(*),:host .gux-contextual-permanent-primary slot[name=contextual-actions]::slotted(*){display:flex;flex-direction:row;flex-wrap:nowrap;gap:var(--gse-ui-dataTableItems-tableToolbar-tableToolbarGroup-gap);align-content:flex-end;align-items:center}:host .gux-contextual-permanent-primary .gux-contextual-wrapper{padding-inline-end:var(--gse-ui-dataTableItems-tableToolbar-gap);border-inline-end:var(--gse-ui-dataTableItems-tableToolbar-divider-width) solid var(--gse-ui-dataTableItems-tableToolbar-dividerColor)}:host .gux-contextual-permanent-primary .gux-permanent-menu-primary-wrapper{display:flex;flex-direction:row;flex-wrap:nowrap;gap:var(--gse-ui-dataTableItems-tableToolbar-tableToolbarGroup-gap);margin-inline-start:var(--gse-ui-dataTableItems-tableToolbar-gap)}";export{m as gux_table_toolbar}
1
+ import{r as t,f as e,d as i,h as a,H as o,a as n}from"./p-mm833MRp.js";import{O as s}from"./p-0tG-lFhH.js";import{O as l}from"./p-1mmdDpx8.js";import{t as r}from"./p-Bk9hX_6O.js";import{g as c}from"./p-BBpQG81s.js";import{a as d}from"./p-Bg4q97BS.js";import{l as u}from"./p-DxtJDeL9.js";function h(t,e){[].concat(t).forEach((t=>{null!=t&&(t.accent=e)}))}function b(t,...e){e.flat().filter((t=>null!=t&&!(null==t?void 0:t.hasAttribute("icon-only")))).forEach((e=>e.iconOnly=t))}var p=function(t,e,i,a){var o,n=arguments.length,s=n<3?e:null===a?a=Object.getOwnPropertyDescriptor(e,i):a;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(t,e,i,a);else for(var l=t.length-1;l>=0;l--)(o=t[l])&&(s=(n<3?o(s):n>3?o(e,i,s):o(e,i))||s);return n>3&&s&&Object.defineProperty(e,i,s),s};const m=class{constructor(e){t(this,e),this.displayedLayout="full",this.hasContextDivider=!1,this.minimumSizes={full:0,iconOnly:0,condensed:0}}onMutation(){this.hasContextDivider=this.needsContextDivider(),e(this.root)}recordLayoutMinSize(){i((()=>{var t,e,i;const a=0|(null===(t=this.searchAndFilterContainer)||void 0===t?void 0:t.clientWidth),o=0|(null===(e=this.actionsContainer)||void 0===e?void 0:e.clientWidth),n=0|(null===(i=this.minControlSize)||void 0===i?void 0:i.clientWidth);this.minimumSizes[this.displayedLayout]=a+o+n}))}get minControlSize(){return this.root.shadowRoot.querySelector(".section-spacing")}get actionsContainer(){return this.root.shadowRoot.querySelector(".gux-contextual-permanent-primary")}get searchAndFilterContainer(){return this.root.shadowRoot.querySelector(".search-filter-container")}get filterSlot(){return c(this.root,"search-and-filter")}get menuActionSlot(){return c(this.root,"menu-actions")}get permanentSlot(){return c(this.root,"permanent-actions")||this.menuActionSlot&&c(this.menuActionSlot,"permanent-actions")}get contextualSlot(){return c(this.root,"contextual-actions")}get primaryAction(){var t;return null===(t=this.root)||void 0===t?void 0:t.querySelector("gux-table-toolbar-custom-action[slot]")}get permanentActions(){var t,e;return(null===(t=this.permanentSlot)||void 0===t?void 0:t.hasChildNodes)?Array.from(null===(e=this.permanentSlot)||void 0===e?void 0:e.querySelectorAll("gux-table-toolbar-action, gux-table-toolbar-custom-action")):[]}get menuActionsItems(){var t,e;if(null===(t=this.menuActionSlot)||void 0===t?void 0:t.hasChildNodes)return Array.from(null===(e=this.menuActionSlot)||void 0===e?void 0:e.querySelectorAll("gux-table-toolbar-action, gux-table-toolbar-custom-action"))}get contextualActions(){var t,e;return(null===(t=this.contextualSlot)||void 0===t?void 0:t.hasChildNodes)?Array.from(null===(e=this.contextualSlot)||void 0===e?void 0:e.querySelectorAll("gux-table-toolbar-action, gux-table-toolbar-custom-action")):[]}get filterActions(){var t,e;return(null===(t=this.filterSlot)||void 0===t?void 0:t.hasChildNodes)?Array.from(null===(e=this.filterSlot)||void 0===e?void 0:e.querySelectorAll("gux-table-toolbar-action, gux-table-toolbar-custom-action")):[]}get allFilterContextual(){var t;return null===(t=this.filterActions)||void 0===t?void 0:t.concat(this.contextualActions)}needsContextDivider(){var t;return(null===(t=this.contextualActions)||void 0===t?void 0:t.length)&&this.contextualSlot!==this.root.lastElementChild}renderMenu(){var t;return Boolean((null===(t=this.menuActionsItems)||void 0===t?void 0:t.length)||"condensed"==this.displayedLayout)}renderFullLayout(){this.displayedLayout="full",b(!1,this.primaryAction,...this.allFilterContextual,...this.permanentActions)}renderIconOnlyLayoutScaleDown(){this.displayedLayout="iconOnly",b(!0,this.primaryAction,...this.allFilterContextual,...this.permanentActions)}renderIconOnlyLayoutScaleUp(){var t,e;this.displayedLayout="iconOnly",h(this.permanentActions,"secondary"),h(this.primaryAction,"primary"),b(!0,this.primaryAction,...this.allFilterContextual,...this.permanentActions),this.permanentActions&&(null===(t=this.root)||void 0===t||t.appendChild(this.permanentSlot)),this.primaryAction&&(null===(e=this.root)||void 0===e||e.appendChild(this.primaryAction))}renderCondensedLayout(){var t,e;this.displayedLayout="condensed",this.permanentActions&&(null===(t=this.menuActionSlot)||void 0===t||t.appendChild(this.permanentSlot)),this.primaryAction&&(null===(e=this.menuActionSlot)||void 0===e||e.appendChild(this.primaryAction)),b(!0,...this.allFilterContextual),b(!1,...this.permanentActions),b(!1,this.primaryAction),h(this.menuActionsItems,"ghost")}validateSlot(t){this.root.querySelector(`[slot=${t}]`)||u(this.root,`gux-table-toolbar requires a ${t} slot`)}componentWillRender(){r(this.root),this.hasContextDivider=this.needsContextDivider()}componentWillLoad(){this.validateSlot("menu-actions")}componentDidLoad(){d((()=>{this.recordLayoutMinSize(),this.checkResponsiveLayout()})),h(this.menuActionsItems,"ghost")}componentDidUpdate(){this.recordLayoutMinSize(),this.checkResponsiveLayout()}checkResponsiveLayout(){i((()=>{const t=this.root.clientWidth;t<=this.minimumSizes.iconOnly?"iconOnly"==this.displayedLayout&&this.renderCondensedLayout():t<=this.minimumSizes.full?"full"==this.displayedLayout?this.renderIconOnlyLayoutScaleDown():"condensed"==this.displayedLayout&&this.renderIconOnlyLayoutScaleUp():this.minimumSizes.iconOnly>this.minimumSizes.full?this.renderIconOnlyLayoutScaleUp():this.renderFullLayout()}))}render(){return a(o,{key:"e7fe904d097cfc944ca5cb883be17e4ea5d15194",role:"toolbar","aria-orientation":"horizontal","gs-layout":this.displayedLayout},a("div",{key:"45792fb25aa79506a45faa74b647044c3bd33ded",class:"search-filter-container"},a("slot",{key:"56a0cc5778a5c8979b9a35f659291e74074539bf",name:"search-and-filter"})),a("div",{key:"839408d1b1323cafe77e7d0778e44e34788e3feb",class:"section-spacing"}),a("div",{key:"818873535d3474925d986bc6b0104483b46e812e",class:"gux-contextual-permanent-primary"},a("div",{key:"426efac6c89f42db5793ec89aa7042bc36b531ff",class:{"gux-contextual-wrapper":this.hasContextDivider}},a("slot",{key:"d136baab7645d091246f1e9118bbfcfb18a5f61f",name:"contextual-actions"})),a("div",{key:"539f2f2b8920886a08bebb1b18068ece140bf7e5",class:"gux-permanent-menu-primary-wrapper"},a("slot",{key:"843d60a9782919ed208744341a47b6d2c36acb50",name:"permanent-actions"}),a("gux-table-toolbar-menu-button",{key:"bf087ee5aae1e42b8f38e07ae3df60332186d26f","show-menu":this.renderMenu()},a("slot",{key:"dd82663092a9d140b1cb602f63931a3816120cd5",name:"menu-actions"})),a("slot",{key:"f2637b336a9b3d1b229930fb83c9ba6dd1be149c",name:"primary-action"}))))}get root(){return n(this)}};p([l({childList:!0,subtree:!0})],m.prototype,"onMutation",null),p([s()],m.prototype,"checkResponsiveLayout",null),m.style=":host{display:flex;flex-direction:row;align-items:center;justify-content:space-between;inline-size:100%;max-block-size:var(--gse-ui-dataTableItems-tableToolbar-height);visibility:hidden;transition:visibility 0s 0.5s;}@keyframes show-toolbar{to{visibility:visible}}:host .search-filter-container{min-inline-size:260px;padding-inline-end:var(--gse-ui-dataTableItems-tableToolbar-gap)}:host slot[name=search-and-filter]::slotted(*){display:flex;flex-direction:row;gap:var(--gse-ui-dataTableItems-tableToolbar-tableToolbarGroup-gap);align-content:flex-start;align-items:center}:host .section-spacing{display:flex;flex-direction:row;min-inline-size:72px}:host .gux-contextual-permanent-primary{display:flex;flex-direction:row;justify-content:space-between;padding-inline-start:var(--gse-ui-dataTableItems-tableToolbar-gap)}:host .gux-contextual-permanent-primary slot[name=permanent-actions]::slotted(*),:host .gux-contextual-permanent-primary slot[name=contextual-actions]::slotted(*){display:flex;flex-direction:row;flex-wrap:nowrap;gap:var(--gse-ui-dataTableItems-tableToolbar-tableToolbarGroup-gap);align-content:flex-end;align-items:center}:host .gux-contextual-permanent-primary .gux-contextual-wrapper{padding-inline-end:var(--gse-ui-dataTableItems-tableToolbar-gap);border-inline-end:var(--gse-ui-dataTableItems-tableToolbar-divider-width) solid var(--gse-ui-dataTableItems-tableToolbar-dividerColor)}:host .gux-contextual-permanent-primary .gux-permanent-menu-primary-wrapper{display:flex;flex-direction:row;flex-wrap:nowrap;gap:var(--gse-ui-dataTableItems-tableToolbar-tableToolbarGroup-gap);margin-inline-start:var(--gse-ui-dataTableItems-tableToolbar-gap)}";export{m as gux_table_toolbar}
@@ -0,0 +1 @@
1
+ import{r as t,h as s,H as e,a as i}from"./p-mm833MRp.js";import{t as r}from"./p-Bk9hX_6O.js";import{D as o,g as a}from"./p-D7iHtfrY.js";import{d as h,a as m}from"./p-DvPw3gUX.js";import{u as p}from"./p-BgaA4g76.js";import{g as n}from"./p-D_8CR3cJ.js";import"./p-DCZG2J0G.js";import"./p-Cd4R0amv.js";const f=class{constructor(s){t(this,s),this.hasRegionalDatesCookie=!1,this.datetime=(new Date).toISOString(),this.format="short"}componentWillLoad(){r(this.root),p()?this.hasRegionalDatesCookie=!0:this.formatter=new o(n(this.root))}renderDate(){return this.hasRegionalDatesCookie?h(m(this.root),{dateStyle:this.format,timeZone:a(this.timeZone)}).format(new Date(this.datetime)):this.formatter.formatDate(new Date(this.datetime),this.format,{timeZone:a(this.timeZone)})}render(){return s(e,{key:"e974f51b418e3eb2f0499733908e7cce39acf037"},this.renderDate())}get root(){return i(this)}};export{f as gux_date_beta}
@@ -1 +1 @@
1
- import{r as t,c as s,h as i,H as e,a as r}from"./p-CjVJoR6g.js";import{t as a}from"./p-Rs2JRIbr.js";import{n as o,p as h,l as c,f as n}from"./p-BebXX5IS.js";const l=["gux-rich-style-list-item","gux-rich-highlight-list-item","gux-rich-text-editor-sub-list"],g=class{constructor(i){t(this,i),this.internallistitemsupdated=s(this,"internallistitemsupdated",7),this.listItems=[]}get listItemsSlot(){return this.root.querySelector("slot")}get listItemElements(){var t;const s=null===(t=this.listItemsSlot)||void 0===t?void 0:t.assignedElements();return s?Array.from(s):[]}handleHighlighItemsNavigation(){if(this.listItemsSlot){const t=this.listItemsSlot.assignedElements().find((t=>"gux-rich-highlight-list-item"===t.tagName.toLowerCase()));if(t){const s=t.shadowRoot.querySelector("button");s&&(s.tabIndex=0)}}}setListItems(){this.listItems=this.listItemElements,this.internallistitemsupdated.emit()}async componentWillLoad(){a(this.root),this.setListItems(),this.handleHighlighItemsNavigation()}onKeyDown(t){const s=t.target;if(!s)return;const i=s.matches("gux-rich-highlight-list-item");switch(t.key){case"ArrowUp":t.preventDefault(),h(this.root,l);break;case"ArrowDown":t.preventDefault(),o(this.root,l);break;case"Home":t.preventDefault(),n(this.root,l);break;case"End":t.preventDefault(),c(this.root,l);break;case"ArrowLeft":i&&(t.preventDefault(),h(this.root,l));break;case"ArrowRight":i&&(t.preventDefault(),o(this.root,l))}}async guxFocusFirstItem(){n(this.root,l)}async guxFocusLastItem(){c(this.root,l)}render(){return i(e,{key:"a4a3e97b3c87ce3b3a7097c7a615ce3fe2035267",role:"list"},i("slot",{key:"ab4767819665cdc49dfbbc430578a585071cfc96",onSlotchange:()=>this.setListItems()}))}static get delegatesFocus(){return!0}get root(){return r(this)}};g.style=":host{display:flex;flex-direction:column;flex-wrap:nowrap;place-content:stretch flex-start;align-items:flex-start;padding:var(--gse-ui-menu-padding)}";export{g as gux_rich_text_editor_list}
1
+ import{r as t,c as s,h as i,H as e,a as r}from"./p-mm833MRp.js";import{t as a}from"./p-Bk9hX_6O.js";import{n as h,p as o,l as c,f as n}from"./p-BebXX5IS.js";const l=["gux-rich-style-list-item","gux-rich-highlight-list-item","gux-rich-text-editor-sub-list"],g=class{constructor(i){t(this,i),this.internallistitemsupdated=s(this,"internallistitemsupdated",7),this.listItems=[]}get listItemsSlot(){return this.root.querySelector("slot")}get listItemElements(){var t;const s=null===(t=this.listItemsSlot)||void 0===t?void 0:t.assignedElements();return s?Array.from(s):[]}handleHighlighItemsNavigation(){if(this.listItemsSlot){const t=this.listItemsSlot.assignedElements().find((t=>"gux-rich-highlight-list-item"===t.tagName.toLowerCase()));if(t){const s=t.shadowRoot.querySelector("button");s&&(s.tabIndex=0)}}}setListItems(){this.listItems=this.listItemElements,this.internallistitemsupdated.emit()}async componentWillLoad(){a(this.root),this.setListItems(),this.handleHighlighItemsNavigation()}onKeyDown(t){const s=t.target;if(!s)return;const i=s.matches("gux-rich-highlight-list-item");switch(t.key){case"ArrowUp":t.preventDefault(),o(this.root,l);break;case"ArrowDown":t.preventDefault(),h(this.root,l);break;case"Home":t.preventDefault(),n(this.root,l);break;case"End":t.preventDefault(),c(this.root,l);break;case"ArrowLeft":i&&(t.preventDefault(),o(this.root,l));break;case"ArrowRight":i&&(t.preventDefault(),h(this.root,l))}}async guxFocusFirstItem(){n(this.root,l)}async guxFocusLastItem(){c(this.root,l)}render(){return i(e,{key:"a4a3e97b3c87ce3b3a7097c7a615ce3fe2035267",role:"list"},i("slot",{key:"ab4767819665cdc49dfbbc430578a585071cfc96",onSlotchange:()=>this.setListItems()}))}static get delegatesFocus(){return!0}get root(){return r(this)}};g.style=":host{display:flex;flex-direction:column;flex-wrap:nowrap;place-content:stretch flex-start;align-items:flex-start;padding:var(--gse-ui-menu-padding)}";export{g as gux_rich_text_editor_list}
@@ -1 +1 @@
1
- import{r as e,c as t,h as n,H as i,a}from"./p-CjVJoR6g.js";import{t as r}from"./p-Rs2JRIbr.js";import{b as o}from"./p-D1QZQXQN.js";import"./p-Cd4R0amv.js";var s={inputPlaceholder:"Ask Genesys AI",generateGenesysAIText:"Generate Genesys AI text"};const d=class{constructor(n){e(this,n),this.onpromptinputgenerate=t(this,"onpromptinputgenerate",7),this.isGenerating=!1,this.hasInputText=!1}onKeyDown(e){this.inputElement.value&&"Enter"===e.key&&this.submit()}async componentWillLoad(){r(this.root),this.i18n=await o(this.root,s)}submit(){this.onpromptinputgenerate.emit({inputText:this.inputElement.value,isGenerating:!0}),this.isGenerating=!0}stopGeneration(){this.onpromptinputgenerate.emit({inputText:this.inputElement.value,isGenerating:!1}),this.isGenerating=!1}handleInput(){var e;this.hasInputText=(null===(e=this.inputElement.value)||void 0===e?void 0:e.length)>0,this.inputElement.parentElement.dataset.replicatedValue=this.inputElement.value}renderSubmitButton(){return n("gux-button-slot",{accent:"primary"},n("button",{type:"button",class:"gux-generate"+(this.hasInputText?"-active":""),onClick:()=>this.submit(),disabled:!this.hasInputText,title:this.i18n("generateGenesysAIText"),"data-testid":"generate-button"},n("gux-icon",{"icon-name":"fa/arrow-up-regular",size:"small",decorative:!0})))}renderStopButton(){return n("gux-button-slot",{accent:"danger"},n("button",{type:"button",class:"gux-generate-cancel",onClick:()=>this.stopGeneration(),"data-testid":"stop-generation"},n("gux-icon",{"icon-name":"fa/square-regular",size:"small",decorative:!0})))}render(){return n(i,{key:"8fa5511a660fd1611549f0d81297bdae37f67d9f"},n("div",{key:"8ccc77be89b54868c7f09abbb26690b275522831",class:"gux-input-container"},n("div",{key:"fe78b53da0f422c6a0c0e5863339da7d8a0175e2",class:"gux-grow-wrap"},n("textarea",{key:"0b6baada0d0d4cd526031b4d62b8ea8a668a1b48",rows:1,class:"gux-input",ref:e=>this.inputElement=e,placeholder:this.placeholder||this.i18n("inputPlaceholder"),onInput:this.handleInput.bind(this),"data-testid":"prompt-input"})),this.isGenerating?this.renderStopButton():this.renderSubmitButton()),n("div",{key:"3094cf911e36147145df8ced21f3ca6f8d75548f",class:"caution-message"},n("slot",{key:"dd124a9ffb1d4db388e53268fc569ead37057dfd",name:"caution-message"})))}static get delegatesFocus(){return!0}get root(){return a(this)}};d.style='.gux-input-container{display:flex;flex-shrink:0;gap:var(--gse-ui-rte-innerContainer-gap);align-items:center;inline-size:400px;padding-block:12px;padding-inline:16px;background:var(--gse-ui-formControl-input-backgroundColor);border:var(--gse-semantic-container-edges-borderWidth) solid var(--gse-semantic-border-container-edges-dataTable-default);border-radius:var(--gse-ui-rte-container-borderRadius)}.gux-input-container:focus-within{border:var(--gse-semantic-container-edges-borderWidth) solid var(--gse-semantic-foreground-interactive-secondary-active)}.gux-input-container gux-button-slot{align-self:flex-end}.gux-input-container .gux-grow-wrap{display:grid;inline-size:100%;min-block-size:0;max-block-size:var(--gse-ui-promptInput-simple-label-maxHeight);padding:var(--gse-ui-promptInput-complex-labelContainer-scrollEnabled-padding);overflow:hidden auto}.gux-input-container .gux-grow-wrap::after{visibility:hidden;grid-area:1/1/2/2;padding:0;margin:0;font-family:var(--gse-semantic-theme-fontFamily-body);font-size:var(--gse-core-fontSize-sm);font-weight:var(--gse-core-fontWeight-regular);line-height:var(--gse-core-lineHeight-sm);color:var(--gse-semantic-foreground-formControl-textInput-placeholder);word-break:normal;overflow-wrap:anywhere;white-space:pre-wrap;content:attr(data-replicated-value) " ";border:0}.gux-input-container .gux-grow-wrap>textarea{grid-area:1/1/2/2;overflow:hidden;word-break:normal;overflow-wrap:anywhere;resize:none}.gux-input-container .gux-input{inline-size:100%;font-family:var(--gse-semantic-theme-fontFamily-body);font-size:var(--gse-core-fontSize-sm);font-style:normal;font-weight:var(--gse-core-fontWeight-regular);line-height:var(--gse-core-lineHeight-sm);color:var(--gse-semantic-foreground-formControl-textInput-placeholder);outline:none;border:none}.gux-input-container .gux-generate{display:flex;flex-shrink:0;align-items:center;justify-content:center;inline-size:var(--gse-ui-button-iconOnly-width);block-size:var(--gse-ui-button-default-height);padding-block:0;padding-inline:var(--gse-ui-button-default-paddingIconOnly);background:var(--gse-ui-button-primary-default-backgroundColor);border-radius:var(--gse-ui-button-borderRadius);opacity:var(--gse-ui-button-disabled-opacity)}.gux-input-container .gux-generate-active{display:flex;flex-shrink:0;align-items:center;justify-content:center;inline-size:var(--gse-ui-button-iconOnly-width);block-size:var(--gse-ui-button-default-height);padding-block:0;padding-inline:var(--gse-ui-button-default-paddingIconOnly);background:var(--gse-ui-button-primary-default-backgroundColor);border-radius:var(--gse-ui-button-borderRadius)}.gux-input-container .gux-generate-cancel{display:flex;gap:var(--gse-ui-segmentedControl-button-padding);align-items:center;justify-content:center;inline-size:var(--gse-ui-button-iconOnly-width);block-size:var(--gse-ui-button-default-height);padding-block:0;padding-inline:8px}.gux-input-container .gux-generate-cancel gux-icon{background:var(--gse-ui-formControl-input-backgroundColor)}.caution-message{align-items:center;inline-size:400px;padding-block:12px;padding-inline:16px;font-family:var(--gse-semantic-theme-fontFamily-body);font-size:var(--gse-core-fontSize-2xs);font-style:normal;font-weight:var(--gse-core-fontWeight-regular);line-height:var(--gse-core-lineHeight-3xs);color:var(--gse-semantic-foreground-container-midEmphasis);text-decoration-thickness:auto;text-decoration-style:solid;text-decoration-skip-ink:auto;text-underline-position:from-font;text-underline-offset:auto}';export{d as gux_prompt_input_beta}
1
+ import{r as e,c as t,h as n,H as i,a}from"./p-mm833MRp.js";import{t as r}from"./p-Bk9hX_6O.js";import{b as o}from"./p-D_8CR3cJ.js";import"./p-Cd4R0amv.js";var s={inputPlaceholder:"Ask Genesys AI",generateGenesysAIText:"Generate Genesys AI text"};const d=class{constructor(n){e(this,n),this.onpromptinputgenerate=t(this,"onpromptinputgenerate",7),this.isGenerating=!1,this.hasInputText=!1}onKeyDown(e){this.inputElement.value&&"Enter"===e.key&&this.submit()}async componentWillLoad(){r(this.root),this.i18n=await o(this.root,s)}submit(){this.onpromptinputgenerate.emit({inputText:this.inputElement.value,isGenerating:!0}),this.isGenerating=!0}stopGeneration(){this.onpromptinputgenerate.emit({inputText:this.inputElement.value,isGenerating:!1}),this.isGenerating=!1}handleInput(){var e;this.hasInputText=(null===(e=this.inputElement.value)||void 0===e?void 0:e.length)>0,this.inputElement.parentElement.dataset.replicatedValue=this.inputElement.value}renderSubmitButton(){return n("gux-button-slot",{accent:"primary"},n("button",{type:"button",class:"gux-generate"+(this.hasInputText?"-active":""),onClick:()=>this.submit(),disabled:!this.hasInputText,title:this.i18n("generateGenesysAIText"),"data-testid":"generate-button"},n("gux-icon",{"icon-name":"fa/arrow-up-regular",size:"small",decorative:!0})))}renderStopButton(){return n("gux-button-slot",{accent:"danger"},n("button",{type:"button",class:"gux-generate-cancel",onClick:()=>this.stopGeneration(),"data-testid":"stop-generation"},n("gux-icon",{"icon-name":"fa/square-regular",size:"small",decorative:!0})))}render(){return n(i,{key:"2b44fed4349f39b8ba53c2c754ad096fd8255529"},n("div",{key:"fdaa19cb535c864044b7dec3d25bdfbf4be61710",class:"gux-input-container"},n("div",{key:"b3369ca4d8b857fbea207dd9a4f5b84f517a57ad",class:"gux-grow-wrap"},n("textarea",{key:"2969a22b5b9df0cce92ee8ba70d170c985a9e7bb",rows:1,class:"gux-input",ref:e=>this.inputElement=e,placeholder:this.placeholder||this.i18n("inputPlaceholder"),onInput:this.handleInput.bind(this),"data-testid":"prompt-input"})),this.isGenerating?this.renderStopButton():this.renderSubmitButton()),n("div",{key:"5058ebf7ca4cd6f11c4662ea0b6a6be285edab82",class:"caution-message"},n("slot",{key:"2bbe3da2d8147d11f1c28a5db7232f133a782d5d",name:"caution-message"})))}static get delegatesFocus(){return!0}get root(){return a(this)}};d.style='.gux-input-container{display:flex;flex-shrink:0;gap:var(--gse-ui-rte-innerContainer-gap);align-items:center;inline-size:400px;padding-block:12px;padding-inline:16px;background:var(--gse-ui-formControl-input-backgroundColor);border:var(--gse-semantic-container-edges-borderWidth) solid var(--gse-semantic-border-container-edges-dataTable-default);border-radius:var(--gse-ui-rte-container-borderRadius)}.gux-input-container:focus-within{border:var(--gse-semantic-container-edges-borderWidth) solid var(--gse-semantic-foreground-interactive-secondary-active)}.gux-input-container gux-button-slot{align-self:flex-end}.gux-input-container .gux-grow-wrap{display:grid;inline-size:100%;min-block-size:0;max-block-size:var(--gse-ui-promptInput-simple-label-maxHeight);padding:var(--gse-ui-promptInput-complex-labelContainer-scrollEnabled-padding);overflow:hidden auto}.gux-input-container .gux-grow-wrap::after{visibility:hidden;grid-area:1/1/2/2;padding:0;margin:0;font-family:var(--gse-semantic-theme-fontFamily-body);font-size:var(--gse-core-fontSize-sm);font-weight:var(--gse-core-fontWeight-regular);line-height:var(--gse-core-lineHeight-sm);color:var(--gse-semantic-foreground-formControl-textInput-placeholder);word-break:normal;overflow-wrap:anywhere;white-space:pre-wrap;content:attr(data-replicated-value) " ";border:0}.gux-input-container .gux-grow-wrap>textarea{grid-area:1/1/2/2;overflow:hidden;word-break:normal;overflow-wrap:anywhere;resize:none}.gux-input-container .gux-input{inline-size:100%;font-family:var(--gse-semantic-theme-fontFamily-body);font-size:var(--gse-core-fontSize-sm);font-style:normal;font-weight:var(--gse-core-fontWeight-regular);line-height:var(--gse-core-lineHeight-sm);color:var(--gse-semantic-foreground-formControl-textInput-placeholder);outline:none;border:none}.gux-input-container .gux-generate{display:flex;flex-shrink:0;align-items:center;justify-content:center;inline-size:var(--gse-ui-button-iconOnly-width);block-size:var(--gse-ui-button-default-height);padding-block:0;padding-inline:var(--gse-ui-button-default-paddingIconOnly);background:var(--gse-ui-button-primary-default-backgroundColor);border-radius:var(--gse-ui-button-borderRadius);opacity:var(--gse-ui-button-disabled-opacity)}.gux-input-container .gux-generate-active{display:flex;flex-shrink:0;align-items:center;justify-content:center;inline-size:var(--gse-ui-button-iconOnly-width);block-size:var(--gse-ui-button-default-height);padding-block:0;padding-inline:var(--gse-ui-button-default-paddingIconOnly);background:var(--gse-ui-button-primary-default-backgroundColor);border-radius:var(--gse-ui-button-borderRadius)}.gux-input-container .gux-generate-cancel{display:flex;gap:var(--gse-ui-segmentedControl-button-padding);align-items:center;justify-content:center;inline-size:var(--gse-ui-button-iconOnly-width);block-size:var(--gse-ui-button-default-height);padding-block:0;padding-inline:8px}.gux-input-container .gux-generate-cancel gux-icon{background:var(--gse-ui-formControl-input-backgroundColor)}.caution-message{align-items:center;inline-size:400px;padding-block:12px;padding-inline:16px;font-family:var(--gse-semantic-theme-fontFamily-body);font-size:var(--gse-core-fontSize-2xs);font-style:normal;font-weight:var(--gse-core-fontWeight-regular);line-height:var(--gse-core-lineHeight-3xs);color:var(--gse-semantic-foreground-container-midEmphasis);text-decoration-thickness:auto;text-decoration-style:solid;text-decoration-skip-ink:auto;text-underline-position:from-font;text-underline-offset:auto}';export{d as gux_prompt_input_beta}
@@ -1 +1 @@
1
- import{r as t,h as s,a as o}from"./p-CjVJoR6g.js";import{l as e}from"./p-DxtJDeL9.js";const a=class{constructor(s){t(this,s),this.align="start",this.dangerous=!1}validatePrimarySlot(t){t?(["GUX-BUTTON","GUX-ACTION-BUTTON","GUX-BUTTON-MULTI","GUX-BUTTON-SLOT"].includes(t.tagName)||e(this.root,"You must slot a button element in the primary slot."),this.dangerous?t.accent="danger":"primary"!==t.accent&&(t.accent="primary")):e(this.root,"You must slot a primary CTA.")}validateSecondarySlot(t){t&&(["GUX-BUTTON","GUX-ACTION-BUTTON","GUX-BUTTON-MULTI","GUX-BUTTON-SLOT"].includes(t.tagName)?"secondary"!==t.accent&&(t.accent="secondary"):e(this.root,"You must slot a button element in the secondary slot."))}validateDismissSlot(t){t&&(["GUX-BUTTON","GUX-BUTTON-SLOT"].includes(t.tagName)?"ghost"!==t.accent&&(t.accent="ghost"):e(this.root,"You must slot a gux-button or gux-button-slot in the dismiss slot."))}componentWillLoad(){this.validatePrimarySlot(this.root.querySelector("[slot=primary]")),this.validateSecondarySlot(this.root.querySelector("[slot=secondary]")),this.validateDismissSlot(this.root.querySelector("[slot=dismiss]"))}render(){return s("div",{key:"1a13e0cbbec482fe85735ea27f724d2b3fd64dcf",class:`gux-cta-group gux-${this.align}-align`},s("slot",{key:"d2c23840e405df9a15f989fad7b6db8057412832",name:"primary"}),s("slot",{key:"57e6352df29b3dbf5ae0dbec74454bac2d74bab5",name:"secondary"}),s("slot",{key:"33d077ed94e57849ae71ba5cac3b0717f5551e59",name:"dismiss"}))}get root(){return o(this)}};a.style=":host{display:block}.gux-cta-group{display:flex;flex-direction:row;flex-wrap:nowrap;gap:var(--gse-ui-ctaGroup-gap);justify-content:start}.gux-cta-group.gux-end-align{flex-direction:row-reverse;justify-content:end}.gux-cta-group ::slotted(gux-button){flex:0 1 auto;min-inline-size:0}";export{a as gux_cta_group}
1
+ import{r as t,h as s,a as o}from"./p-mm833MRp.js";import{l as e}from"./p-DxtJDeL9.js";const a=class{constructor(s){t(this,s),this.align="start",this.dangerous=!1}validatePrimarySlot(t){t?(["GUX-BUTTON","GUX-ACTION-BUTTON","GUX-BUTTON-MULTI","GUX-BUTTON-SLOT"].includes(t.tagName)||e(this.root,"You must slot a button element in the primary slot."),this.dangerous?t.accent="danger":"primary"!==t.accent&&(t.accent="primary")):e(this.root,"You must slot a primary CTA.")}validateSecondarySlot(t){t&&(["GUX-BUTTON","GUX-ACTION-BUTTON","GUX-BUTTON-MULTI","GUX-BUTTON-SLOT"].includes(t.tagName)?"secondary"!==t.accent&&(t.accent="secondary"):e(this.root,"You must slot a button element in the secondary slot."))}validateDismissSlot(t){t&&(["GUX-BUTTON","GUX-BUTTON-SLOT"].includes(t.tagName)?"ghost"!==t.accent&&(t.accent="ghost"):e(this.root,"You must slot a gux-button or gux-button-slot in the dismiss slot."))}componentWillLoad(){this.validatePrimarySlot(this.root.querySelector("[slot=primary]")),this.validateSecondarySlot(this.root.querySelector("[slot=secondary]")),this.validateDismissSlot(this.root.querySelector("[slot=dismiss]"))}render(){return s("div",{key:"1a13e0cbbec482fe85735ea27f724d2b3fd64dcf",class:`gux-cta-group gux-${this.align}-align`},s("slot",{key:"d2c23840e405df9a15f989fad7b6db8057412832",name:"primary"}),s("slot",{key:"57e6352df29b3dbf5ae0dbec74454bac2d74bab5",name:"secondary"}),s("slot",{key:"33d077ed94e57849ae71ba5cac3b0717f5551e59",name:"dismiss"}))}get root(){return o(this)}};a.style=":host{display:block}.gux-cta-group{display:flex;flex-direction:row;flex-wrap:nowrap;gap:var(--gse-ui-ctaGroup-gap);justify-content:start}.gux-cta-group.gux-end-align{flex-direction:row-reverse;justify-content:end}.gux-cta-group ::slotted(gux-button){flex:0 1 auto;min-inline-size:0}";export{a as gux_cta_group}