genesys-spark-components 3.34.3 → 3.34.4
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.
- package/CHANGELOG.md +2 -0
- package/dist/cjs/{DateTimeFormatter-642387ff.js → DateTimeFormatter-e4e20cfc.js} +1 -1
- package/dist/cjs/{after-next-render-1e8c15f5.js → after-next-render-a09f528a.js} +4 -0
- package/dist/cjs/genesys-webcomponents.cjs.js +2 -2
- package/dist/cjs/gux-accordion-legacy.cjs.entry.js +2 -2
- package/dist/cjs/gux-accordion-section.cjs.entry.js +1 -1
- package/dist/cjs/gux-accordion.cjs.entry.js +2 -2
- package/dist/cjs/gux-action-button-legacy.cjs.entry.js +4 -4
- package/dist/cjs/gux-action-button.cjs.entry.js +9 -9
- package/dist/cjs/gux-action-item.cjs.entry.js +1 -1
- package/dist/cjs/gux-action-list-divider.cjs.entry.js +1 -1
- package/dist/cjs/gux-action-list-legacy.cjs.entry.js +2 -2
- package/dist/cjs/gux-action-toast.cjs.entry.js +2 -2
- package/dist/cjs/gux-advanced-dropdown.cjs.entry.js +6 -5
- package/dist/cjs/gux-all-row-select.cjs.entry.js +2 -2
- package/dist/cjs/gux-announce-beta.cjs.entry.js +3 -3
- package/dist/cjs/gux-badge-beta.cjs.entry.js +3 -3
- package/dist/cjs/gux-blank-state-beta.cjs.entry.js +3 -3
- package/dist/cjs/gux-breadcrumb-item.cjs.entry.js +1 -1
- package/dist/cjs/gux-breadcrumbs.cjs.entry.js +3 -3
- package/dist/cjs/gux-button-multi-legacy.cjs.entry.js +3 -3
- package/dist/cjs/gux-button-multi.cjs.entry.js +8 -8
- package/dist/cjs/gux-button-slot-beta.cjs.entry.js +2 -2
- package/dist/cjs/gux-button.cjs.entry.js +2 -2
- package/dist/cjs/gux-calendar.cjs.entry.js +9 -8
- package/dist/cjs/gux-card-beta.cjs.entry.js +2 -2
- package/dist/cjs/gux-chart-column-beta.cjs.entry.js +2 -2
- package/dist/cjs/gux-chart-donut-beta.cjs.entry.js +2 -2
- package/dist/cjs/gux-chart-line-beta.cjs.entry.js +2 -2
- package/dist/cjs/gux-chart-pie-beta.cjs.entry.js +2 -2
- package/dist/cjs/gux-chart-scatter-plot-beta.cjs.entry.js +2 -2
- package/dist/cjs/gux-color-select_2.cjs.entry.js +1 -1
- package/dist/cjs/gux-command-action.cjs.entry.js +1 -1
- package/dist/cjs/gux-command-palette-legacy.cjs.entry.js +3 -3
- package/dist/cjs/gux-content-search.cjs.entry.js +3 -3
- package/dist/cjs/gux-copy-to-clipboard-beta.cjs.entry.js +3 -3
- package/dist/cjs/gux-date-beta.cjs.entry.js +4 -4
- package/dist/cjs/gux-date-time-beta.cjs.entry.js +4 -4
- package/dist/cjs/gux-datepicker.cjs.entry.js +10 -10
- package/dist/cjs/gux-disclosure-button.cjs.entry.js +3 -3
- package/dist/cjs/gux-dismiss-button.cjs.entry.js +3 -3
- package/dist/cjs/gux-dropdown-legacy.cjs.entry.js +4 -4
- package/dist/cjs/gux-dropdown-multi-beta.cjs.entry.js +5 -5
- package/dist/cjs/gux-dropdown-multi-tag.cjs.entry.js +2 -2
- package/dist/cjs/gux-dropdown-option.cjs.entry.js +1 -1
- package/dist/cjs/gux-dropdown_3.cjs.entry.js +5 -5
- package/dist/cjs/gux-error-message-beta.cjs.entry.js +2 -2
- package/dist/cjs/gux-flyout-menu-beta.cjs.entry.js +8 -7
- package/dist/cjs/gux-form-field-checkbox.cjs.entry.js +4 -4
- package/dist/cjs/gux-form-field-color.cjs.entry.js +5 -5
- package/dist/cjs/{gux-form-field-container-284d1d01.js → gux-form-field-container-a217a455.js} +1 -1
- package/dist/cjs/gux-form-field-dropdown.cjs.entry.js +5 -5
- package/dist/cjs/gux-form-field-input-clear-button.cjs.entry.js +3 -3
- package/dist/cjs/gux-form-field-legacy.cjs.entry.js +3 -3
- package/dist/cjs/gux-form-field-number.cjs.entry.js +6 -6
- package/dist/cjs/gux-form-field-radio.cjs.entry.js +4 -4
- package/dist/cjs/gux-form-field-range.cjs.entry.js +5 -5
- package/dist/cjs/gux-form-field-search.cjs.entry.js +5 -5
- package/dist/cjs/gux-form-field-select.cjs.entry.js +5 -5
- package/dist/cjs/gux-form-field-text-like.cjs.entry.js +5 -5
- package/dist/cjs/gux-form-field-textarea.cjs.entry.js +5 -5
- package/dist/cjs/gux-form-field-time-picker.cjs.entry.js +5 -5
- package/dist/cjs/{gux-form-field.service-8424f99d.js → gux-form-field.service-a91c3c52.js} +1 -1
- package/dist/cjs/gux-icon.cjs.entry.js +2 -2
- package/dist/cjs/gux-input-checkbox_7.cjs.entry.js +2 -2
- package/dist/cjs/gux-input-search.cjs.entry.js +2 -2
- package/dist/cjs/gux-input-text-like.cjs.entry.js +2 -2
- package/dist/cjs/gux-list-divider-legacy.cjs.entry.js +1 -1
- package/dist/cjs/gux-list-divider.cjs.entry.js +1 -1
- package/dist/cjs/gux-list-item-legacy_2.cjs.entry.js +2 -2
- package/dist/cjs/gux-list-item.cjs.entry.js +1 -1
- package/dist/cjs/gux-list.cjs.entry.js +2 -2
- package/dist/cjs/gux-listbox-multi.cjs.entry.js +3 -3
- package/dist/cjs/gux-loading-message-beta.cjs.entry.js +4 -3
- package/dist/cjs/gux-menu-option.cjs.entry.js +2 -2
- package/dist/cjs/gux-menu.cjs.entry.js +1 -1
- package/dist/cjs/{gux-menu.common-6a6c2b85.js → gux-menu.common-ada23b94.js} +0 -2
- package/dist/cjs/gux-modal.cjs.entry.js +2 -2
- package/dist/cjs/gux-month-calendar.cjs.entry.js +3 -3
- package/dist/cjs/gux-month-list_2.cjs.entry.js +1 -1
- package/dist/cjs/gux-month-picker-beta.cjs.entry.js +5 -5
- package/dist/cjs/gux-notification-toast.cjs.entry.js +2 -2
- package/dist/cjs/gux-option-legacy.cjs.entry.js +1 -1
- package/dist/cjs/gux-option-multi.cjs.entry.js +1 -1
- package/dist/cjs/gux-page-loading-spinner.cjs.entry.js +2 -2
- package/dist/cjs/gux-pagination-beta.cjs.entry.js +4 -3
- package/dist/cjs/gux-pagination-buttons-beta_3.cjs.entry.js +2 -2
- package/dist/cjs/gux-pagination-buttons_3.cjs.entry.js +2 -2
- package/dist/cjs/gux-pagination-cursor.cjs.entry.js +3 -3
- package/dist/cjs/gux-pagination.cjs.entry.js +2 -2
- package/dist/cjs/gux-panel-frame-legacy.cjs.entry.js +2 -2
- package/dist/cjs/gux-popover-list.cjs.entry.js +3 -3
- package/dist/cjs/gux-popover.cjs.entry.js +3 -3
- package/dist/cjs/gux-popup.cjs.entry.js +1 -1
- package/dist/cjs/gux-radial-loading.cjs.entry.js +3 -3
- package/dist/cjs/gux-radial-progress.cjs.entry.js +2 -2
- package/dist/cjs/gux-rating.cjs.entry.js +2 -2
- package/dist/cjs/gux-row-select.cjs.entry.js +2 -2
- package/dist/cjs/gux-screen-reader-beta.cjs.entry.js +2 -2
- package/dist/cjs/gux-side-panel-button.cjs.entry.js +1 -1
- package/dist/cjs/gux-side-panel-legacy.cjs.entry.js +2 -2
- package/dist/cjs/gux-simple-toast.cjs.entry.js +2 -2
- package/dist/cjs/gux-skip-navigation-item.cjs.entry.js +1 -1
- package/dist/cjs/gux-skip-navigation-list-beta.cjs.entry.js +3 -3
- package/dist/cjs/gux-sort-control.cjs.entry.js +3 -3
- package/dist/cjs/gux-submenu.cjs.entry.js +10 -8
- package/dist/cjs/gux-switch-item.cjs.entry.js +1 -1
- package/dist/cjs/gux-switch.cjs.entry.js +2 -2
- package/dist/cjs/gux-tab-advanced-list.cjs.entry.js +7 -7
- package/dist/cjs/gux-tab-advanced-panel.cjs.entry.js +1 -1
- package/dist/cjs/gux-tab-advanced.cjs.entry.js +9 -9
- package/dist/cjs/gux-tab-dropdown-option-legacy.cjs.entry.js +1 -1
- package/dist/cjs/gux-tab-legacy.cjs.entry.js +1 -1
- package/dist/cjs/gux-tab-list.cjs.entry.js +5 -4
- package/dist/cjs/gux-tab-panel.cjs.entry.js +1 -1
- package/dist/cjs/gux-tab.cjs.entry.js +1 -1
- package/dist/cjs/gux-table-beta.cjs.entry.js +3 -3
- package/dist/cjs/gux-table-select-menu.cjs.entry.js +5 -5
- package/dist/cjs/gux-table-select-popover.cjs.entry.js +2 -2
- package/dist/cjs/gux-tabs-advanced.cjs.entry.js +2 -2
- package/dist/cjs/gux-tabs-legacy.cjs.entry.js +3 -3
- package/dist/cjs/gux-tabs.cjs.entry.js +2 -2
- package/dist/cjs/gux-tag-beta.cjs.entry.js +3 -3
- package/dist/cjs/gux-text-highlight.cjs.entry.js +2 -2
- package/dist/cjs/gux-text-label-legacy.cjs.entry.js +2 -2
- package/dist/cjs/gux-time-beta.cjs.entry.js +4 -4
- package/dist/cjs/gux-time-picker-beta.cjs.entry.js +7 -7
- package/dist/cjs/gux-toggle-slider.cjs.entry.js +1 -1
- package/dist/cjs/gux-toggle.cjs.entry.js +3 -3
- package/dist/cjs/gux-tooltip-title.cjs.entry.js +2 -2
- package/dist/cjs/gux-tooltip.cjs.entry.js +2 -2
- package/dist/cjs/gux-truncate-beta.cjs.entry.js +3 -3
- package/dist/cjs/gux-visualization-beta.cjs.entry.js +3 -3
- package/dist/cjs/{index-6d7040d6.js → index-b0d0cf83.js} +1 -1
- package/dist/cjs/{index-a4138a99.js → index-ce5e725f.js} +219 -201
- package/dist/cjs/loader.cjs.js +2 -2
- package/dist/cjs/{on-click-outside-64dc5f14.js → on-click-outside-63ec9076.js} +1 -1
- package/dist/cjs/{on-mutation-74bf4591.js → on-mutation-3a62df7a.js} +1 -1
- package/dist/cjs/{on-resize-b1f6a92b.js → on-resize-827aa87c.js} +1 -1
- package/dist/cjs/{usage-tracking-557653f7.js → usage-tracking-9f3cf4bf.js} +4 -4
- package/dist/collection/collection-manifest.json +1 -1
- package/dist/collection/components/beta/gux-flyout-menu/gux-flyout-menu.js +7 -6
- package/dist/collection/components/beta/gux-flyout-menu/gux-menu/gux-menu.common.js +0 -1
- package/dist/collection/components/beta/gux-flyout-menu/gux-menu/gux-submenu/gux-submenu.js +10 -8
- package/dist/collection/components/beta/gux-loading-message/gux-loading-message.js +2 -1
- package/dist/collection/components/beta/gux-pagination-beta/gux-pagination-beta.js +2 -1
- package/dist/collection/components/beta/gux-table/gux-table-select-menu/gux-table-select-menu.js +5 -5
- package/dist/collection/components/beta/gux-time-picker/gux-time-picker.js +6 -6
- package/dist/collection/components/stable/gux-action-button/gux-action-button.js +7 -7
- package/dist/collection/components/stable/gux-advanced-dropdown/gux-advanced-dropdown.js +4 -3
- package/dist/collection/components/stable/gux-button-multi/gux-button-multi.js +7 -7
- package/dist/collection/components/stable/gux-calendar/gux-calendar.js +8 -7
- package/dist/collection/components/stable/gux-datepicker/gux-datepicker.js +10 -10
- package/dist/collection/components/stable/gux-tabs/gux-tab-list/gux-tab-list.js +2 -1
- package/dist/collection/components/stable/gux-tabs-advanced/gux-tab-advanced/gux-tab-advanced.js +9 -9
- package/dist/collection/components/stable/gux-tabs-advanced/gux-tab-advanced-list/gux-tab-advanced-list.js +6 -6
- package/dist/collection/utils/dom/after-next-render.js +3 -0
- package/dist/deploy-info.json +3 -3
- package/dist/esm/{DateTimeFormatter-bac9ad67.js → DateTimeFormatter-9021bd61.js} +1 -1
- package/dist/esm/after-next-render-ed0f7dcd.js +8 -0
- package/dist/esm/genesys-webcomponents.js +2 -2
- package/dist/esm/gux-accordion-legacy.entry.js +2 -2
- package/dist/esm/gux-accordion-section.entry.js +1 -1
- package/dist/esm/gux-accordion.entry.js +2 -2
- package/dist/esm/gux-action-button-legacy.entry.js +4 -4
- package/dist/esm/gux-action-button.entry.js +9 -9
- package/dist/esm/gux-action-item.entry.js +1 -1
- package/dist/esm/gux-action-list-divider.entry.js +1 -1
- package/dist/esm/gux-action-list-legacy.entry.js +2 -2
- package/dist/esm/gux-action-toast.entry.js +2 -2
- package/dist/esm/gux-advanced-dropdown.entry.js +6 -5
- package/dist/esm/gux-all-row-select.entry.js +2 -2
- package/dist/esm/gux-announce-beta.entry.js +3 -3
- package/dist/esm/gux-badge-beta.entry.js +3 -3
- package/dist/esm/gux-blank-state-beta.entry.js +3 -3
- package/dist/esm/gux-breadcrumb-item.entry.js +1 -1
- package/dist/esm/gux-breadcrumbs.entry.js +3 -3
- package/dist/esm/gux-button-multi-legacy.entry.js +3 -3
- package/dist/esm/gux-button-multi.entry.js +8 -8
- package/dist/esm/gux-button-slot-beta.entry.js +2 -2
- package/dist/esm/gux-button.entry.js +2 -2
- package/dist/esm/gux-calendar.entry.js +9 -8
- package/dist/esm/gux-card-beta.entry.js +2 -2
- package/dist/esm/gux-chart-column-beta.entry.js +2 -2
- package/dist/esm/gux-chart-donut-beta.entry.js +2 -2
- package/dist/esm/gux-chart-line-beta.entry.js +2 -2
- package/dist/esm/gux-chart-pie-beta.entry.js +2 -2
- package/dist/esm/gux-chart-scatter-plot-beta.entry.js +2 -2
- package/dist/esm/gux-color-select_2.entry.js +1 -1
- package/dist/esm/gux-command-action.entry.js +1 -1
- package/dist/esm/gux-command-palette-legacy.entry.js +3 -3
- package/dist/esm/gux-content-search.entry.js +3 -3
- package/dist/esm/gux-copy-to-clipboard-beta.entry.js +3 -3
- package/dist/esm/gux-date-beta.entry.js +4 -4
- package/dist/esm/gux-date-time-beta.entry.js +4 -4
- package/dist/esm/gux-datepicker.entry.js +10 -10
- package/dist/esm/gux-disclosure-button.entry.js +3 -3
- package/dist/esm/gux-dismiss-button.entry.js +3 -3
- package/dist/esm/gux-dropdown-legacy.entry.js +4 -4
- package/dist/esm/gux-dropdown-multi-beta.entry.js +5 -5
- package/dist/esm/gux-dropdown-multi-tag.entry.js +2 -2
- package/dist/esm/gux-dropdown-option.entry.js +1 -1
- package/dist/esm/gux-dropdown_3.entry.js +5 -5
- package/dist/esm/gux-error-message-beta.entry.js +2 -2
- package/dist/esm/gux-flyout-menu-beta.entry.js +8 -7
- package/dist/esm/gux-form-field-checkbox.entry.js +4 -4
- package/dist/esm/gux-form-field-color.entry.js +5 -5
- package/dist/esm/{gux-form-field-container-2d8e8d4e.js → gux-form-field-container-9d8dfc4d.js} +1 -1
- package/dist/esm/gux-form-field-dropdown.entry.js +5 -5
- package/dist/esm/gux-form-field-input-clear-button.entry.js +3 -3
- package/dist/esm/gux-form-field-legacy.entry.js +3 -3
- package/dist/esm/gux-form-field-number.entry.js +6 -6
- package/dist/esm/gux-form-field-radio.entry.js +4 -4
- package/dist/esm/gux-form-field-range.entry.js +5 -5
- package/dist/esm/gux-form-field-search.entry.js +5 -5
- package/dist/esm/gux-form-field-select.entry.js +5 -5
- package/dist/esm/gux-form-field-text-like.entry.js +5 -5
- package/dist/esm/gux-form-field-textarea.entry.js +5 -5
- package/dist/esm/gux-form-field-time-picker.entry.js +5 -5
- package/dist/esm/{gux-form-field.service-e046de13.js → gux-form-field.service-72dd122e.js} +1 -1
- package/dist/esm/gux-icon.entry.js +2 -2
- package/dist/esm/gux-input-checkbox_7.entry.js +2 -2
- package/dist/esm/gux-input-search.entry.js +2 -2
- package/dist/esm/gux-input-text-like.entry.js +2 -2
- package/dist/esm/gux-list-divider-legacy.entry.js +1 -1
- package/dist/esm/gux-list-divider.entry.js +1 -1
- package/dist/esm/gux-list-item-legacy_2.entry.js +2 -2
- package/dist/esm/gux-list-item.entry.js +1 -1
- package/dist/esm/gux-list.entry.js +2 -2
- package/dist/esm/gux-listbox-multi.entry.js +3 -3
- package/dist/esm/gux-loading-message-beta.entry.js +4 -3
- package/dist/esm/gux-menu-option.entry.js +2 -2
- package/dist/esm/{gux-menu.common-60ab04e4.js → gux-menu.common-4a871a5c.js} +1 -2
- package/dist/esm/gux-menu.entry.js +1 -1
- package/dist/esm/gux-modal.entry.js +2 -2
- package/dist/esm/gux-month-calendar.entry.js +3 -3
- package/dist/esm/gux-month-list_2.entry.js +1 -1
- package/dist/esm/gux-month-picker-beta.entry.js +5 -5
- package/dist/esm/gux-notification-toast.entry.js +2 -2
- package/dist/esm/gux-option-legacy.entry.js +1 -1
- package/dist/esm/gux-option-multi.entry.js +1 -1
- package/dist/esm/gux-page-loading-spinner.entry.js +2 -2
- package/dist/esm/gux-pagination-beta.entry.js +4 -3
- package/dist/esm/gux-pagination-buttons-beta_3.entry.js +2 -2
- package/dist/esm/gux-pagination-buttons_3.entry.js +2 -2
- package/dist/esm/gux-pagination-cursor.entry.js +3 -3
- package/dist/esm/gux-pagination.entry.js +2 -2
- package/dist/esm/gux-panel-frame-legacy.entry.js +2 -2
- package/dist/esm/gux-popover-list.entry.js +3 -3
- package/dist/esm/gux-popover.entry.js +3 -3
- package/dist/esm/gux-popup.entry.js +1 -1
- package/dist/esm/gux-radial-loading.entry.js +3 -3
- package/dist/esm/gux-radial-progress.entry.js +2 -2
- package/dist/esm/gux-rating.entry.js +2 -2
- package/dist/esm/gux-row-select.entry.js +2 -2
- package/dist/esm/gux-screen-reader-beta.entry.js +2 -2
- package/dist/esm/gux-side-panel-button.entry.js +1 -1
- package/dist/esm/gux-side-panel-legacy.entry.js +2 -2
- package/dist/esm/gux-simple-toast.entry.js +2 -2
- package/dist/esm/gux-skip-navigation-item.entry.js +1 -1
- package/dist/esm/gux-skip-navigation-list-beta.entry.js +3 -3
- package/dist/esm/gux-sort-control.entry.js +3 -3
- package/dist/esm/gux-submenu.entry.js +10 -8
- package/dist/esm/gux-switch-item.entry.js +1 -1
- package/dist/esm/gux-switch.entry.js +2 -2
- package/dist/esm/gux-tab-advanced-list.entry.js +7 -7
- package/dist/esm/gux-tab-advanced-panel.entry.js +1 -1
- package/dist/esm/gux-tab-advanced.entry.js +9 -9
- package/dist/esm/gux-tab-dropdown-option-legacy.entry.js +1 -1
- package/dist/esm/gux-tab-legacy.entry.js +1 -1
- package/dist/esm/gux-tab-list.entry.js +5 -4
- package/dist/esm/gux-tab-panel.entry.js +1 -1
- package/dist/esm/gux-tab.entry.js +1 -1
- package/dist/esm/gux-table-beta.entry.js +3 -3
- package/dist/esm/gux-table-select-menu.entry.js +5 -5
- package/dist/esm/gux-table-select-popover.entry.js +2 -2
- package/dist/esm/gux-tabs-advanced.entry.js +2 -2
- package/dist/esm/gux-tabs-legacy.entry.js +3 -3
- package/dist/esm/gux-tabs.entry.js +2 -2
- package/dist/esm/gux-tag-beta.entry.js +3 -3
- package/dist/esm/gux-text-highlight.entry.js +2 -2
- package/dist/esm/gux-text-label-legacy.entry.js +2 -2
- package/dist/esm/gux-time-beta.entry.js +4 -4
- package/dist/esm/gux-time-picker-beta.entry.js +7 -7
- package/dist/esm/gux-toggle-slider.entry.js +1 -1
- package/dist/esm/gux-toggle.entry.js +3 -3
- package/dist/esm/gux-tooltip-title.entry.js +2 -2
- package/dist/esm/gux-tooltip.entry.js +2 -2
- package/dist/esm/gux-truncate-beta.entry.js +3 -3
- package/dist/esm/gux-visualization-beta.entry.js +3 -3
- package/dist/esm/{index-3e21de1b.js → index-a108e8ae.js} +1 -1
- package/dist/esm/{index-738480cf.js → index-be334191.js} +219 -201
- package/dist/esm/loader.js +2 -2
- package/dist/esm/{on-click-outside-b20ff612.js → on-click-outside-d48a73bb.js} +1 -1
- package/dist/esm/{on-mutation-70eb931c.js → on-mutation-50c94529.js} +1 -1
- package/dist/esm/{on-resize-d93fa9d3.js → on-resize-6c3d6eb1.js} +1 -1
- package/dist/esm/polyfills/css-shim.js +1 -1
- package/dist/esm/{usage-tracking-ebfa8afc.js → usage-tracking-f659944d.js} +4 -4
- package/dist/genesys-webcomponents/genesys-webcomponents.esm.js +1 -1
- package/dist/genesys-webcomponents/{p-0d6fad7c.entry.js → p-01a91fbe.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-d6d5864c.entry.js → p-034e3301.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-33fddd63.entry.js → p-073a8994.entry.js} +1 -1
- package/dist/genesys-webcomponents/p-091f51f6.js +1 -0
- package/dist/genesys-webcomponents/{p-b6b1cf11.entry.js → p-0a9a85cf.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-8616db32.entry.js → p-0aa3c79b.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-d1e61fa1.entry.js → p-0b366023.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-3b3750fd.entry.js → p-0bd51874.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-08c12489.entry.js → p-0c56cffb.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-fb01e3be.entry.js → p-0e238832.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-fc2c7fe0.entry.js → p-123a1aba.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-2c6704b4.entry.js → p-12e6e578.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-f795c463.entry.js → p-13147115.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-a0e9f950.entry.js → p-15a76a8e.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-3028846b.entry.js → p-1bc551b8.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-bac93bcc.entry.js → p-1c9725aa.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-3d5bc6db.entry.js → p-1f2dd68a.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-012b4134.entry.js → p-1fde1cdb.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-946598f2.entry.js → p-2196e258.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-4cd3ada5.entry.js → p-21db9d95.entry.js} +1 -1
- package/dist/genesys-webcomponents/p-22fedc93.entry.js +1 -0
- package/dist/genesys-webcomponents/{p-8b856a2a.entry.js → p-24294f52.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-d20b924d.entry.js → p-2b26ea79.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-50a85300.entry.js → p-2b7ebb6d.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-5e0a36fa.entry.js → p-2ca47503.entry.js} +1 -1
- package/dist/genesys-webcomponents/p-2e93c4d4.entry.js +1 -0
- package/dist/genesys-webcomponents/{p-1cf366a8.entry.js → p-2fb93eed.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-ff5f76be.entry.js → p-3018628c.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-f3a03e57.entry.js → p-30439d93.entry.js} +1 -1
- package/dist/genesys-webcomponents/p-32a8cff0.entry.js +1 -0
- package/dist/genesys-webcomponents/{p-dfc36ceb.entry.js → p-34f7ed93.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-30ede06b.entry.js → p-378abc43.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-4a3da574.entry.js → p-3cec7b3d.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-10c1abf7.entry.js → p-3e560a75.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-08a97593.entry.js → p-4345786a.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-072069d4.entry.js → p-44923231.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-20acb6bb.entry.js → p-45366a7d.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-e401fc21.entry.js → p-45814b8f.entry.js} +1 -1
- package/dist/genesys-webcomponents/p-46de3eee.entry.js +1 -0
- package/dist/genesys-webcomponents/{p-111e073a.entry.js → p-4821aeea.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-585b35f9.entry.js → p-49274302.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-ec1e353e.entry.js → p-4b059747.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-acaeef44.entry.js → p-4be22b77.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-22537b71.entry.js → p-4bfa89c1.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-0f9add49.entry.js → p-4e5ac326.entry.js} +1 -1
- package/dist/genesys-webcomponents/p-4ecf9bd3.entry.js +1 -0
- package/dist/genesys-webcomponents/{p-b38cbec4.entry.js → p-4ede43a5.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-9f51d3db.entry.js → p-5067610b.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-d47c8f4b.entry.js → p-50b9435c.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-fcec7432.entry.js → p-52a9d575.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-d8ec0443.js → p-56e6f5a4.js} +1 -1
- package/dist/genesys-webcomponents/p-58b9f336.entry.js +1 -0
- package/dist/genesys-webcomponents/{p-651d1f53.entry.js → p-593d0833.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-f26f38af.entry.js → p-59b9d5ba.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-617c216c.entry.js → p-5a391947.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-4571c2b6.entry.js → p-5c2e60b6.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-f3315768.entry.js → p-5da71c8f.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-92f61f75.entry.js → p-5dd27547.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-3973c720.entry.js → p-5ed079fb.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-8ec30a43.entry.js → p-5f844a6b.entry.js} +1 -1
- package/dist/genesys-webcomponents/p-61c4c05c.entry.js +1 -0
- package/dist/genesys-webcomponents/{p-a15d6a18.entry.js → p-6345eb0a.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-4b85456f.entry.js → p-63e68016.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-be323edd.entry.js → p-6955d8b5.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-4d911880.entry.js → p-6b0ed39c.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-2eeceab0.entry.js → p-6b0fef12.entry.js} +1 -1
- package/dist/genesys-webcomponents/p-6d99c5b6.entry.js +1 -0
- package/dist/genesys-webcomponents/p-71565253.entry.js +1 -0
- package/dist/genesys-webcomponents/p-74411ee1.entry.js +1 -0
- package/dist/genesys-webcomponents/p-7a1d01cb.js +2 -0
- package/dist/genesys-webcomponents/{p-1f6b2594.js → p-7a3b06ab.js} +1 -1
- package/dist/genesys-webcomponents/{p-d56eac15.entry.js → p-7a675633.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-17abccd0.entry.js → p-7c4cd09e.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-6f8e79ba.entry.js → p-8190652b.entry.js} +1 -1
- package/dist/genesys-webcomponents/p-837e3eff.js +1 -0
- package/dist/genesys-webcomponents/{p-cc60367a.entry.js → p-849c5f57.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-3802f75e.entry.js → p-84a8f494.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-a5fb3291.entry.js → p-8e88f03e.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-5d08bb94.entry.js → p-9145c1fc.entry.js} +1 -1
- package/dist/genesys-webcomponents/p-939b6e89.js +1 -0
- package/dist/genesys-webcomponents/{p-8f01b4db.entry.js → p-93aea175.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-9d33deb4.entry.js → p-987cd0fc.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-a48e577f.entry.js → p-9b46d528.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-a0133281.entry.js → p-9de9efef.entry.js} +1 -1
- package/dist/genesys-webcomponents/p-9e727598.entry.js +1 -0
- package/dist/genesys-webcomponents/{p-038ea6d9.entry.js → p-a4fc485c.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-02ae33fb.entry.js → p-a6a91398.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-46688b11.entry.js → p-a7db6ac4.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-cb1a02f4.js → p-a83860d3.js} +1 -1
- package/dist/genesys-webcomponents/{p-d0e9852a.js → p-a9504f06.js} +1 -1
- package/dist/genesys-webcomponents/{p-0672347e.entry.js → p-a9f65a5d.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-41f05a68.entry.js → p-ab1a1ae3.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-9c9dc7a9.entry.js → p-ac3832cf.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-e87e6914.entry.js → p-acd4b9fa.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-553fd4e4.entry.js → p-aee86fa4.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-93829e9f.entry.js → p-af40e8d8.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-a2531e51.entry.js → p-b144c2d3.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-e1ac8068.entry.js → p-b1554e98.entry.js} +1 -1
- package/dist/genesys-webcomponents/p-b1adb21d.entry.js +1 -0
- package/dist/genesys-webcomponents/{p-a010db45.entry.js → p-b39e2de0.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-fb745019.entry.js → p-b4b4a9f2.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-c9576487.js → p-b6ea91fa.js} +1 -1
- package/dist/genesys-webcomponents/{p-6028c32a.entry.js → p-b8fe533f.entry.js} +1 -1
- package/dist/genesys-webcomponents/p-b9c652da.entry.js +1 -0
- package/dist/genesys-webcomponents/{p-ad0caa6b.entry.js → p-bbe14250.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-a5b67e24.entry.js → p-c1a7df32.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-7d64c6a5.js → p-c35bd7c8.js} +1 -1
- package/dist/genesys-webcomponents/{p-312689ad.entry.js → p-c45d63f9.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-75c666bd.entry.js → p-c4bf8326.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-02f0fb86.entry.js → p-c5198639.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-946bbb86.entry.js → p-c5e41345.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-a6ca0137.entry.js → p-c826ae78.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-f37d5462.entry.js → p-c8e86edc.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-7ee4570d.entry.js → p-c90cf2a9.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-082b0c1e.entry.js → p-c93c0e57.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-940e5dec.entry.js → p-d253bf31.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-4f2fbbc1.entry.js → p-d94245e8.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-19016dbb.entry.js → p-db522341.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-3acc62ab.entry.js → p-dbb02903.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-ef3d49ac.entry.js → p-ddfae9bb.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-163ecea2.entry.js → p-e040d2b1.entry.js} +1 -1
- package/dist/genesys-webcomponents/p-e4cae0ee.entry.js +1 -0
- package/dist/genesys-webcomponents/{p-1fa5e36d.entry.js → p-e523b0b8.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-e48653ef.entry.js → p-e6136416.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-347cdc05.entry.js → p-e7ff2e6f.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-3b97344d.entry.js → p-ed6a7bd8.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-d01b852c.entry.js → p-efd89331.entry.js} +1 -1
- package/dist/genesys-webcomponents/p-f0429a61.entry.js +1 -0
- package/dist/genesys-webcomponents/{p-db1c355f.entry.js → p-f0910962.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-b410d16c.entry.js → p-f1068f15.entry.js} +1 -1
- package/dist/genesys-webcomponents/p-f29b10df.entry.js +1 -0
- package/dist/genesys-webcomponents/{p-fa7e4154.entry.js → p-f6a49f14.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-d915144d.js → p-f77f86a9.js} +1 -1
- package/dist/genesys-webcomponents/{p-163a7345.entry.js → p-fd6d210c.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-7a01d840.entry.js → p-fdf84fc3.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-c45f35a1.entry.js → p-ff578d21.entry.js} +1 -1
- package/dist/genesys-webcomponents/p-ff9823fc.entry.js +1 -0
- package/dist/stencil-wrapper.js +1 -1
- package/dist/types/components/beta/gux-flyout-menu/gux-menu/gux-menu.common.d.ts +0 -1
- package/dist/types/components/beta/gux-table/gux-table-select-menu/gux-table-select-menu.d.ts +0 -1
- package/dist/types/components/beta/gux-time-picker/gux-time-picker.d.ts +0 -1
- package/dist/types/components/stable/gux-action-button/gux-action-button.d.ts +0 -1
- package/dist/types/components/stable/gux-button-multi/gux-button-multi.d.ts +0 -1
- package/dist/types/components/stable/gux-tabs-advanced/gux-tab-advanced/gux-tab-advanced.d.ts +0 -1
- package/dist/types/components/stable/gux-tabs-advanced/gux-tab-advanced-list/gux-tab-advanced-list.d.ts +0 -1
- package/dist/types/stencil-public-runtime.d.ts +15 -4
- package/dist/types/utils/dom/after-next-render.d.ts +1 -0
- package/package.json +4 -4
- package/dist/esm/after-next-render-8743ee2f.js +0 -5
- package/dist/genesys-webcomponents/p-09203df6.entry.js +0 -1
- package/dist/genesys-webcomponents/p-36e87d12.entry.js +0 -1
- package/dist/genesys-webcomponents/p-39a696d6.js +0 -2
- package/dist/genesys-webcomponents/p-3cee3c32.entry.js +0 -1
- package/dist/genesys-webcomponents/p-3d3019e1.js +0 -1
- package/dist/genesys-webcomponents/p-4cd5a46e.entry.js +0 -1
- package/dist/genesys-webcomponents/p-5df781f3.entry.js +0 -1
- package/dist/genesys-webcomponents/p-6b3daec8.entry.js +0 -1
- package/dist/genesys-webcomponents/p-6e3596bd.entry.js +0 -1
- package/dist/genesys-webcomponents/p-82eb8b00.js +0 -1
- package/dist/genesys-webcomponents/p-95dd4e4a.entry.js +0 -1
- package/dist/genesys-webcomponents/p-9952f41a.entry.js +0 -1
- package/dist/genesys-webcomponents/p-a02c3341.js +0 -1
- package/dist/genesys-webcomponents/p-d007aa66.entry.js +0 -1
- package/dist/genesys-webcomponents/p-d239237c.entry.js +0 -1
- package/dist/genesys-webcomponents/p-d300c446.entry.js +0 -1
- package/dist/genesys-webcomponents/p-d6daf4ee.entry.js +0 -1
- package/dist/genesys-webcomponents/p-dc806095.entry.js +0 -1
- package/dist/genesys-webcomponents/p-e8373273.entry.js +0 -1
- package/dist/genesys-webcomponents/p-f5353c95.entry.js +0 -1
- package/dist/genesys-webcomponents/p-f58cd752.entry.js +0 -1
|
@@ -22,6 +22,14 @@ function _interopNamespace(e) {
|
|
|
22
22
|
|
|
23
23
|
const NAMESPACE = 'genesys-webcomponents';
|
|
24
24
|
|
|
25
|
+
/**
|
|
26
|
+
* Virtual DOM patching algorithm based on Snabbdom by
|
|
27
|
+
* Simon Friis Vindum (@paldepind)
|
|
28
|
+
* Licensed under the MIT License
|
|
29
|
+
* https://github.com/snabbdom/snabbdom/blob/master/LICENSE
|
|
30
|
+
*
|
|
31
|
+
* Modified for Stencil's renderer and slot projection
|
|
32
|
+
*/
|
|
25
33
|
let scopeId;
|
|
26
34
|
let contentRef;
|
|
27
35
|
let hostTagName;
|
|
@@ -30,62 +38,10 @@ let checkSlotFallbackVisibility = false;
|
|
|
30
38
|
let checkSlotRelocate = false;
|
|
31
39
|
let isSvgMode = false;
|
|
32
40
|
let queuePending = false;
|
|
33
|
-
const
|
|
34
|
-
const
|
|
35
|
-
|
|
36
|
-
$flags$: 0,
|
|
37
|
-
$resourcesUrl$: '',
|
|
38
|
-
jmp: (h) => h(),
|
|
39
|
-
raf: (h) => requestAnimationFrame(h),
|
|
40
|
-
ael: (el, eventName, listener, opts) => el.addEventListener(eventName, listener, opts),
|
|
41
|
-
rel: (el, eventName, listener, opts) => el.removeEventListener(eventName, listener, opts),
|
|
42
|
-
ce: (eventName, opts) => new CustomEvent(eventName, opts),
|
|
43
|
-
};
|
|
44
|
-
const promiseResolve = (v) => Promise.resolve(v);
|
|
45
|
-
const supportsConstructableStylesheets = /*@__PURE__*/ (() => {
|
|
46
|
-
try {
|
|
47
|
-
new CSSStyleSheet();
|
|
48
|
-
return typeof new CSSStyleSheet().replaceSync === 'function';
|
|
49
|
-
}
|
|
50
|
-
catch (e) { }
|
|
51
|
-
return false;
|
|
52
|
-
})()
|
|
53
|
-
;
|
|
54
|
-
const addHostEventListeners = (elm, hostRef, listeners, attachParentListeners) => {
|
|
55
|
-
if (listeners) {
|
|
56
|
-
listeners.map(([flags, name, method]) => {
|
|
57
|
-
const target = getHostListenerTarget(elm, flags) ;
|
|
58
|
-
const handler = hostListenerProxy(hostRef, method);
|
|
59
|
-
const opts = hostListenerOpts(flags);
|
|
60
|
-
plt.ael(target, name, handler, opts);
|
|
61
|
-
(hostRef.$rmListeners$ = hostRef.$rmListeners$ || []).push(() => plt.rel(target, name, handler, opts));
|
|
62
|
-
});
|
|
63
|
-
}
|
|
64
|
-
};
|
|
65
|
-
const hostListenerProxy = (hostRef, methodName) => (ev) => {
|
|
66
|
-
try {
|
|
67
|
-
{
|
|
68
|
-
if (hostRef.$flags$ & 256 /* HOST_FLAGS.isListenReady */) {
|
|
69
|
-
// instance is ready, let's call it's member method for this event
|
|
70
|
-
hostRef.$lazyInstance$[methodName](ev);
|
|
71
|
-
}
|
|
72
|
-
else {
|
|
73
|
-
(hostRef.$queuedListeners$ = hostRef.$queuedListeners$ || []).push([methodName, ev]);
|
|
74
|
-
}
|
|
75
|
-
}
|
|
76
|
-
}
|
|
77
|
-
catch (e) {
|
|
78
|
-
consoleError(e);
|
|
79
|
-
}
|
|
80
|
-
};
|
|
81
|
-
const getHostListenerTarget = (elm, flags) => {
|
|
82
|
-
if (flags & 8 /* LISTENER_FLAGS.TargetWindow */)
|
|
83
|
-
return win;
|
|
84
|
-
return elm;
|
|
41
|
+
const getAssetPath = (path) => {
|
|
42
|
+
const assetUrl = new URL(path, plt.$resourcesUrl$);
|
|
43
|
+
return assetUrl.origin !== win.location.origin ? assetUrl.href : assetUrl.pathname;
|
|
85
44
|
};
|
|
86
|
-
// prettier-ignore
|
|
87
|
-
const hostListenerOpts = (flags) => (flags & 2 /* LISTENER_FLAGS.Capture */) !== 0;
|
|
88
|
-
const HYDRATED_CSS = '{visibility:hidden}[hydrated]{visibility:inherit}';
|
|
89
45
|
const createTime = (fnName, tagName = '') => {
|
|
90
46
|
{
|
|
91
47
|
return () => {
|
|
@@ -100,76 +56,7 @@ const uniqueTime = (key, measureText) => {
|
|
|
100
56
|
};
|
|
101
57
|
}
|
|
102
58
|
};
|
|
103
|
-
const
|
|
104
|
-
const registerStyle = (scopeId, cssText, allowCS) => {
|
|
105
|
-
let style = styles.get(scopeId);
|
|
106
|
-
if (supportsConstructableStylesheets && allowCS) {
|
|
107
|
-
style = (style || new CSSStyleSheet());
|
|
108
|
-
if (typeof style === 'string') {
|
|
109
|
-
style = cssText;
|
|
110
|
-
}
|
|
111
|
-
else {
|
|
112
|
-
style.replaceSync(cssText);
|
|
113
|
-
}
|
|
114
|
-
}
|
|
115
|
-
else {
|
|
116
|
-
style = cssText;
|
|
117
|
-
}
|
|
118
|
-
styles.set(scopeId, style);
|
|
119
|
-
};
|
|
120
|
-
const addStyle = (styleContainerNode, cmpMeta, mode, hostElm) => {
|
|
121
|
-
let scopeId = getScopeId(cmpMeta);
|
|
122
|
-
const style = styles.get(scopeId);
|
|
123
|
-
// if an element is NOT connected then getRootNode() will return the wrong root node
|
|
124
|
-
// so the fallback is to always use the document for the root node in those cases
|
|
125
|
-
styleContainerNode = styleContainerNode.nodeType === 11 /* NODE_TYPE.DocumentFragment */ ? styleContainerNode : doc;
|
|
126
|
-
if (style) {
|
|
127
|
-
if (typeof style === 'string') {
|
|
128
|
-
styleContainerNode = styleContainerNode.head || styleContainerNode;
|
|
129
|
-
let appliedStyles = rootAppliedStyles.get(styleContainerNode);
|
|
130
|
-
let styleElm;
|
|
131
|
-
if (!appliedStyles) {
|
|
132
|
-
rootAppliedStyles.set(styleContainerNode, (appliedStyles = new Set()));
|
|
133
|
-
}
|
|
134
|
-
if (!appliedStyles.has(scopeId)) {
|
|
135
|
-
{
|
|
136
|
-
{
|
|
137
|
-
styleElm = doc.createElement('style');
|
|
138
|
-
styleElm.innerHTML = style;
|
|
139
|
-
}
|
|
140
|
-
styleContainerNode.insertBefore(styleElm, styleContainerNode.querySelector('link'));
|
|
141
|
-
}
|
|
142
|
-
if (appliedStyles) {
|
|
143
|
-
appliedStyles.add(scopeId);
|
|
144
|
-
}
|
|
145
|
-
}
|
|
146
|
-
}
|
|
147
|
-
else if (!styleContainerNode.adoptedStyleSheets.includes(style)) {
|
|
148
|
-
styleContainerNode.adoptedStyleSheets = [...styleContainerNode.adoptedStyleSheets, style];
|
|
149
|
-
}
|
|
150
|
-
}
|
|
151
|
-
return scopeId;
|
|
152
|
-
};
|
|
153
|
-
const attachStyles = (hostRef) => {
|
|
154
|
-
const cmpMeta = hostRef.$cmpMeta$;
|
|
155
|
-
const elm = hostRef.$hostElement$;
|
|
156
|
-
const flags = cmpMeta.$flags$;
|
|
157
|
-
const endAttachStyles = createTime('attachStyles', cmpMeta.$tagName$);
|
|
158
|
-
const scopeId = addStyle(elm.shadowRoot ? elm.shadowRoot : elm.getRootNode(), cmpMeta);
|
|
159
|
-
if (flags & 10 /* CMP_FLAGS.needsScopedEncapsulation */) {
|
|
160
|
-
// only required when we're NOT using native shadow dom (slot)
|
|
161
|
-
// or this browser doesn't support native shadow dom
|
|
162
|
-
// and this host element was NOT created with SSR
|
|
163
|
-
// let's pick out the inner content for slot projection
|
|
164
|
-
// create a node to represent where the original
|
|
165
|
-
// content was first placed, which is useful later on
|
|
166
|
-
// DOM WRITE!!
|
|
167
|
-
elm['s-sc'] = scopeId;
|
|
168
|
-
elm.classList.add(scopeId + '-h');
|
|
169
|
-
}
|
|
170
|
-
endAttachStyles();
|
|
171
|
-
};
|
|
172
|
-
const getScopeId = (cmp, mode) => 'sc-' + (cmp.$tagName$);
|
|
59
|
+
const HYDRATED_CSS = '{visibility:hidden}[hydrated]{visibility:inherit}';
|
|
173
60
|
/**
|
|
174
61
|
* Default style mode id
|
|
175
62
|
*/
|
|
@@ -318,6 +205,149 @@ const convertToPrivate = (node) => {
|
|
|
318
205
|
vnode.$name$ = node.vname;
|
|
319
206
|
return vnode;
|
|
320
207
|
};
|
|
208
|
+
/**
|
|
209
|
+
* Parse a new property value for a given property type.
|
|
210
|
+
*
|
|
211
|
+
* While the prop value can reasonably be expected to be of `any` type as far as TypeScript's type checker is concerned,
|
|
212
|
+
* it is not safe to assume that the string returned by evaluating `typeof propValue` matches:
|
|
213
|
+
* 1. `any`, the type given to `propValue` in the function signature
|
|
214
|
+
* 2. the type stored from `propType`.
|
|
215
|
+
*
|
|
216
|
+
* This function provides the capability to parse/coerce a property's value to potentially any other JavaScript type.
|
|
217
|
+
*
|
|
218
|
+
* Property values represented in TSX preserve their type information. In the example below, the number 0 is passed to
|
|
219
|
+
* a component. This `propValue` will preserve its type information (`typeof propValue === 'number'`). Note that is
|
|
220
|
+
* based on the type of the value being passed in, not the type declared of the class member decorated with `@Prop`.
|
|
221
|
+
* ```tsx
|
|
222
|
+
* <my-cmp prop-val={0}></my-cmp>
|
|
223
|
+
* ```
|
|
224
|
+
*
|
|
225
|
+
* HTML prop values on the other hand, will always a string
|
|
226
|
+
*
|
|
227
|
+
* @param propValue the new value to coerce to some type
|
|
228
|
+
* @param propType the type of the prop, expressed as a binary number
|
|
229
|
+
* @returns the parsed/coerced value
|
|
230
|
+
*/
|
|
231
|
+
const parsePropertyValue = (propValue, propType) => {
|
|
232
|
+
// ensure this value is of the correct prop type
|
|
233
|
+
if (propValue != null && !isComplexType(propValue)) {
|
|
234
|
+
if (propType & 4 /* MEMBER_FLAGS.Boolean */) {
|
|
235
|
+
// per the HTML spec, any string value means it is a boolean true value
|
|
236
|
+
// but we'll cheat here and say that the string "false" is the boolean false
|
|
237
|
+
return propValue === 'false' ? false : propValue === '' || !!propValue;
|
|
238
|
+
}
|
|
239
|
+
if (propType & 2 /* MEMBER_FLAGS.Number */) {
|
|
240
|
+
// force it to be a number
|
|
241
|
+
return parseFloat(propValue);
|
|
242
|
+
}
|
|
243
|
+
if (propType & 1 /* MEMBER_FLAGS.String */) {
|
|
244
|
+
// could have been passed as a number or boolean
|
|
245
|
+
// but we still want it as a string
|
|
246
|
+
return String(propValue);
|
|
247
|
+
}
|
|
248
|
+
// redundant return here for better minification
|
|
249
|
+
return propValue;
|
|
250
|
+
}
|
|
251
|
+
// not sure exactly what type we want
|
|
252
|
+
// so no need to change to a different type
|
|
253
|
+
return propValue;
|
|
254
|
+
};
|
|
255
|
+
const getElement = (ref) => (getHostRef(ref).$hostElement$ );
|
|
256
|
+
const createEvent = (ref, name, flags) => {
|
|
257
|
+
const elm = getElement(ref);
|
|
258
|
+
return {
|
|
259
|
+
emit: (detail) => {
|
|
260
|
+
return emitEvent(elm, name, {
|
|
261
|
+
bubbles: !!(flags & 4 /* EVENT_FLAGS.Bubbles */),
|
|
262
|
+
composed: !!(flags & 2 /* EVENT_FLAGS.Composed */),
|
|
263
|
+
cancelable: !!(flags & 1 /* EVENT_FLAGS.Cancellable */),
|
|
264
|
+
detail,
|
|
265
|
+
});
|
|
266
|
+
},
|
|
267
|
+
};
|
|
268
|
+
};
|
|
269
|
+
/**
|
|
270
|
+
* Helper function to create & dispatch a custom Event on a provided target
|
|
271
|
+
* @param elm the target of the Event
|
|
272
|
+
* @param name the name to give the custom Event
|
|
273
|
+
* @param opts options for configuring a custom Event
|
|
274
|
+
* @returns the custom Event
|
|
275
|
+
*/
|
|
276
|
+
const emitEvent = (elm, name, opts) => {
|
|
277
|
+
const ev = plt.ce(name, opts);
|
|
278
|
+
elm.dispatchEvent(ev);
|
|
279
|
+
return ev;
|
|
280
|
+
};
|
|
281
|
+
const rootAppliedStyles = /*@__PURE__*/ new WeakMap();
|
|
282
|
+
const registerStyle = (scopeId, cssText, allowCS) => {
|
|
283
|
+
let style = styles.get(scopeId);
|
|
284
|
+
if (supportsConstructableStylesheets && allowCS) {
|
|
285
|
+
style = (style || new CSSStyleSheet());
|
|
286
|
+
if (typeof style === 'string') {
|
|
287
|
+
style = cssText;
|
|
288
|
+
}
|
|
289
|
+
else {
|
|
290
|
+
style.replaceSync(cssText);
|
|
291
|
+
}
|
|
292
|
+
}
|
|
293
|
+
else {
|
|
294
|
+
style = cssText;
|
|
295
|
+
}
|
|
296
|
+
styles.set(scopeId, style);
|
|
297
|
+
};
|
|
298
|
+
const addStyle = (styleContainerNode, cmpMeta, mode, hostElm) => {
|
|
299
|
+
let scopeId = getScopeId(cmpMeta);
|
|
300
|
+
const style = styles.get(scopeId);
|
|
301
|
+
// if an element is NOT connected then getRootNode() will return the wrong root node
|
|
302
|
+
// so the fallback is to always use the document for the root node in those cases
|
|
303
|
+
styleContainerNode = styleContainerNode.nodeType === 11 /* NODE_TYPE.DocumentFragment */ ? styleContainerNode : doc;
|
|
304
|
+
if (style) {
|
|
305
|
+
if (typeof style === 'string') {
|
|
306
|
+
styleContainerNode = styleContainerNode.head || styleContainerNode;
|
|
307
|
+
let appliedStyles = rootAppliedStyles.get(styleContainerNode);
|
|
308
|
+
let styleElm;
|
|
309
|
+
if (!appliedStyles) {
|
|
310
|
+
rootAppliedStyles.set(styleContainerNode, (appliedStyles = new Set()));
|
|
311
|
+
}
|
|
312
|
+
if (!appliedStyles.has(scopeId)) {
|
|
313
|
+
{
|
|
314
|
+
{
|
|
315
|
+
styleElm = doc.createElement('style');
|
|
316
|
+
styleElm.innerHTML = style;
|
|
317
|
+
}
|
|
318
|
+
styleContainerNode.insertBefore(styleElm, styleContainerNode.querySelector('link'));
|
|
319
|
+
}
|
|
320
|
+
if (appliedStyles) {
|
|
321
|
+
appliedStyles.add(scopeId);
|
|
322
|
+
}
|
|
323
|
+
}
|
|
324
|
+
}
|
|
325
|
+
else if (!styleContainerNode.adoptedStyleSheets.includes(style)) {
|
|
326
|
+
styleContainerNode.adoptedStyleSheets = [...styleContainerNode.adoptedStyleSheets, style];
|
|
327
|
+
}
|
|
328
|
+
}
|
|
329
|
+
return scopeId;
|
|
330
|
+
};
|
|
331
|
+
const attachStyles = (hostRef) => {
|
|
332
|
+
const cmpMeta = hostRef.$cmpMeta$;
|
|
333
|
+
const elm = hostRef.$hostElement$;
|
|
334
|
+
const flags = cmpMeta.$flags$;
|
|
335
|
+
const endAttachStyles = createTime('attachStyles', cmpMeta.$tagName$);
|
|
336
|
+
const scopeId = addStyle(elm.shadowRoot ? elm.shadowRoot : elm.getRootNode(), cmpMeta);
|
|
337
|
+
if (flags & 10 /* CMP_FLAGS.needsScopedEncapsulation */) {
|
|
338
|
+
// only required when we're NOT using native shadow dom (slot)
|
|
339
|
+
// or this browser doesn't support native shadow dom
|
|
340
|
+
// and this host element was NOT created with SSR
|
|
341
|
+
// let's pick out the inner content for slot projection
|
|
342
|
+
// create a node to represent where the original
|
|
343
|
+
// content was first placed, which is useful later on
|
|
344
|
+
// DOM WRITE!!
|
|
345
|
+
elm['s-sc'] = scopeId;
|
|
346
|
+
elm.classList.add(scopeId + '-h');
|
|
347
|
+
}
|
|
348
|
+
endAttachStyles();
|
|
349
|
+
};
|
|
350
|
+
const getScopeId = (cmp, mode) => 'sc-' + (cmp.$tagName$);
|
|
321
351
|
/**
|
|
322
352
|
* Production setAccessor() function based on Preact by
|
|
323
353
|
* Jason Miller (@developit)
|
|
@@ -1222,32 +1252,6 @@ const renderVdom = (hostRef, renderFnResults) => {
|
|
|
1222
1252
|
relocateNodes.length = 0;
|
|
1223
1253
|
}
|
|
1224
1254
|
};
|
|
1225
|
-
const getElement = (ref) => (getHostRef(ref).$hostElement$ );
|
|
1226
|
-
const createEvent = (ref, name, flags) => {
|
|
1227
|
-
const elm = getElement(ref);
|
|
1228
|
-
return {
|
|
1229
|
-
emit: (detail) => {
|
|
1230
|
-
return emitEvent(elm, name, {
|
|
1231
|
-
bubbles: !!(flags & 4 /* EVENT_FLAGS.Bubbles */),
|
|
1232
|
-
composed: !!(flags & 2 /* EVENT_FLAGS.Composed */),
|
|
1233
|
-
cancelable: !!(flags & 1 /* EVENT_FLAGS.Cancellable */),
|
|
1234
|
-
detail,
|
|
1235
|
-
});
|
|
1236
|
-
},
|
|
1237
|
-
};
|
|
1238
|
-
};
|
|
1239
|
-
/**
|
|
1240
|
-
* Helper function to create & dispatch a custom Event on a provided target
|
|
1241
|
-
* @param elm the target of the Event
|
|
1242
|
-
* @param name the name to give the custom Event
|
|
1243
|
-
* @param opts options for configuring a custom Event
|
|
1244
|
-
* @returns the custom Event
|
|
1245
|
-
*/
|
|
1246
|
-
const emitEvent = (elm, name, opts) => {
|
|
1247
|
-
const ev = plt.ce(name, opts);
|
|
1248
|
-
elm.dispatchEvent(ev);
|
|
1249
|
-
return ev;
|
|
1250
|
-
};
|
|
1251
1255
|
const attachToAncestor = (hostRef, ancestorComponent) => {
|
|
1252
1256
|
if (ancestorComponent && !hostRef.$onRenderResolve$ && ancestorComponent['s-p']) {
|
|
1253
1257
|
ancestorComponent['s-p'].push(new Promise((r) => (hostRef.$onRenderResolve$ = r)));
|
|
@@ -1437,53 +1441,6 @@ const then = (promise, thenFn) => {
|
|
|
1437
1441
|
};
|
|
1438
1442
|
const addHydratedFlag = (elm) => elm.setAttribute('hydrated', '')
|
|
1439
1443
|
;
|
|
1440
|
-
/**
|
|
1441
|
-
* Parse a new property value for a given property type.
|
|
1442
|
-
*
|
|
1443
|
-
* While the prop value can reasonably be expected to be of `any` type as far as TypeScript's type checker is concerned,
|
|
1444
|
-
* it is not safe to assume that the string returned by evaluating `typeof propValue` matches:
|
|
1445
|
-
* 1. `any`, the type given to `propValue` in the function signature
|
|
1446
|
-
* 2. the type stored from `propType`.
|
|
1447
|
-
*
|
|
1448
|
-
* This function provides the capability to parse/coerce a property's value to potentially any other JavaScript type.
|
|
1449
|
-
*
|
|
1450
|
-
* Property values represented in TSX preserve their type information. In the example below, the number 0 is passed to
|
|
1451
|
-
* a component. This `propValue` will preserve its type information (`typeof propValue === 'number'`). Note that is
|
|
1452
|
-
* based on the type of the value being passed in, not the type declared of the class member decorated with `@Prop`.
|
|
1453
|
-
* ```tsx
|
|
1454
|
-
* <my-cmp prop-val={0}></my-cmp>
|
|
1455
|
-
* ```
|
|
1456
|
-
*
|
|
1457
|
-
* HTML prop values on the other hand, will always a string
|
|
1458
|
-
*
|
|
1459
|
-
* @param propValue the new value to coerce to some type
|
|
1460
|
-
* @param propType the type of the prop, expressed as a binary number
|
|
1461
|
-
* @returns the parsed/coerced value
|
|
1462
|
-
*/
|
|
1463
|
-
const parsePropertyValue = (propValue, propType) => {
|
|
1464
|
-
// ensure this value is of the correct prop type
|
|
1465
|
-
if (propValue != null && !isComplexType(propValue)) {
|
|
1466
|
-
if (propType & 4 /* MEMBER_FLAGS.Boolean */) {
|
|
1467
|
-
// per the HTML spec, any string value means it is a boolean true value
|
|
1468
|
-
// but we'll cheat here and say that the string "false" is the boolean false
|
|
1469
|
-
return propValue === 'false' ? false : propValue === '' || !!propValue;
|
|
1470
|
-
}
|
|
1471
|
-
if (propType & 2 /* MEMBER_FLAGS.Number */) {
|
|
1472
|
-
// force it to be a number
|
|
1473
|
-
return parseFloat(propValue);
|
|
1474
|
-
}
|
|
1475
|
-
if (propType & 1 /* MEMBER_FLAGS.String */) {
|
|
1476
|
-
// could have been passed as a number or boolean
|
|
1477
|
-
// but we still want it as a string
|
|
1478
|
-
return String(propValue);
|
|
1479
|
-
}
|
|
1480
|
-
// redundant return here for better minification
|
|
1481
|
-
return propValue;
|
|
1482
|
-
}
|
|
1483
|
-
// not sure exactly what type we want
|
|
1484
|
-
// so no need to change to a different type
|
|
1485
|
-
return propValue;
|
|
1486
|
-
};
|
|
1487
1444
|
const getValue = (ref, propName) => getHostRef(ref).$instanceValues$.get(propName);
|
|
1488
1445
|
const setValue = (ref, propName, newVal, cmpMeta) => {
|
|
1489
1446
|
// check our new property value against our internal value
|
|
@@ -1527,6 +1484,16 @@ const setValue = (ref, propName, newVal, cmpMeta) => {
|
|
|
1527
1484
|
}
|
|
1528
1485
|
}
|
|
1529
1486
|
};
|
|
1487
|
+
/**
|
|
1488
|
+
* Attach a series of runtime constructs to a compiled Stencil component
|
|
1489
|
+
* constructor, including getters and setters for the `@Prop` and `@State`
|
|
1490
|
+
* decorators, callbacks for when attributes change, and so on.
|
|
1491
|
+
*
|
|
1492
|
+
* @param Cstr the constructor for a component that we need to process
|
|
1493
|
+
* @param cmpMeta metadata collected previously about the component
|
|
1494
|
+
* @param flags a number used to store a series of bit flags
|
|
1495
|
+
* @returns a reference to the same constructor passed in (but now mutated)
|
|
1496
|
+
*/
|
|
1530
1497
|
const proxyComponent = (Cstr, cmpMeta, flags) => {
|
|
1531
1498
|
if (cmpMeta.$members$) {
|
|
1532
1499
|
if (Cstr.watchers) {
|
|
@@ -1901,10 +1868,40 @@ const bootstrapLazy = (lazyBundles, options = {}) => {
|
|
|
1901
1868
|
// Fallback appLoad event
|
|
1902
1869
|
endBootstrap();
|
|
1903
1870
|
};
|
|
1904
|
-
const
|
|
1905
|
-
|
|
1906
|
-
|
|
1871
|
+
const addHostEventListeners = (elm, hostRef, listeners, attachParentListeners) => {
|
|
1872
|
+
if (listeners) {
|
|
1873
|
+
listeners.map(([flags, name, method]) => {
|
|
1874
|
+
const target = getHostListenerTarget(elm, flags) ;
|
|
1875
|
+
const handler = hostListenerProxy(hostRef, method);
|
|
1876
|
+
const opts = hostListenerOpts(flags);
|
|
1877
|
+
plt.ael(target, name, handler, opts);
|
|
1878
|
+
(hostRef.$rmListeners$ = hostRef.$rmListeners$ || []).push(() => plt.rel(target, name, handler, opts));
|
|
1879
|
+
});
|
|
1880
|
+
}
|
|
1881
|
+
};
|
|
1882
|
+
const hostListenerProxy = (hostRef, methodName) => (ev) => {
|
|
1883
|
+
try {
|
|
1884
|
+
{
|
|
1885
|
+
if (hostRef.$flags$ & 256 /* HOST_FLAGS.isListenReady */) {
|
|
1886
|
+
// instance is ready, let's call it's member method for this event
|
|
1887
|
+
hostRef.$lazyInstance$[methodName](ev);
|
|
1888
|
+
}
|
|
1889
|
+
else {
|
|
1890
|
+
(hostRef.$queuedListeners$ = hostRef.$queuedListeners$ || []).push([methodName, ev]);
|
|
1891
|
+
}
|
|
1892
|
+
}
|
|
1893
|
+
}
|
|
1894
|
+
catch (e) {
|
|
1895
|
+
consoleError(e);
|
|
1896
|
+
}
|
|
1907
1897
|
};
|
|
1898
|
+
const getHostListenerTarget = (elm, flags) => {
|
|
1899
|
+
if (flags & 8 /* LISTENER_FLAGS.TargetWindow */)
|
|
1900
|
+
return win;
|
|
1901
|
+
return elm;
|
|
1902
|
+
};
|
|
1903
|
+
// prettier-ignore
|
|
1904
|
+
const hostListenerOpts = (flags) => (flags & 2 /* LISTENER_FLAGS.Capture */) !== 0;
|
|
1908
1905
|
const hostRefs = /*@__PURE__*/ new WeakMap();
|
|
1909
1906
|
const getHostRef = (ref) => hostRefs.get(ref);
|
|
1910
1907
|
const registerInstance = (lazyInstance, hostRef) => hostRefs.set((hostRef.$lazyInstance$ = lazyInstance), hostRef);
|
|
@@ -2464,6 +2461,27 @@ const loadModule = (cmpMeta, hostRef, hmrVersionId) => {
|
|
|
2464
2461
|
}, consoleError);
|
|
2465
2462
|
};
|
|
2466
2463
|
const styles = /*@__PURE__*/ new Map();
|
|
2464
|
+
const win = typeof window !== 'undefined' ? window : {};
|
|
2465
|
+
const doc = win.document || { head: {} };
|
|
2466
|
+
const plt = {
|
|
2467
|
+
$flags$: 0,
|
|
2468
|
+
$resourcesUrl$: '',
|
|
2469
|
+
jmp: (h) => h(),
|
|
2470
|
+
raf: (h) => requestAnimationFrame(h),
|
|
2471
|
+
ael: (el, eventName, listener, opts) => el.addEventListener(eventName, listener, opts),
|
|
2472
|
+
rel: (el, eventName, listener, opts) => el.removeEventListener(eventName, listener, opts),
|
|
2473
|
+
ce: (eventName, opts) => new CustomEvent(eventName, opts),
|
|
2474
|
+
};
|
|
2475
|
+
const promiseResolve = (v) => Promise.resolve(v);
|
|
2476
|
+
const supportsConstructableStylesheets = /*@__PURE__*/ (() => {
|
|
2477
|
+
try {
|
|
2478
|
+
new CSSStyleSheet();
|
|
2479
|
+
return typeof new CSSStyleSheet().replaceSync === 'function';
|
|
2480
|
+
}
|
|
2481
|
+
catch (e) { }
|
|
2482
|
+
return false;
|
|
2483
|
+
})()
|
|
2484
|
+
;
|
|
2467
2485
|
const queueDomReads = [];
|
|
2468
2486
|
const queueDomWrites = [];
|
|
2469
2487
|
const queueTask = (queue, write) => (cb) => {
|
package/dist/cjs/loader.cjs.js
CHANGED
|
@@ -2,10 +2,10 @@
|
|
|
2
2
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
|
-
const index = require('./index-
|
|
5
|
+
const index = require('./index-ce5e725f.js');
|
|
6
6
|
|
|
7
7
|
/*
|
|
8
|
-
Stencil Client Patch Esm v2.18.
|
|
8
|
+
Stencil Client Patch Esm v2.18.1 | MIT Licensed | https://stenciljs.com
|
|
9
9
|
*/
|
|
10
10
|
const patchEsm = () => {
|
|
11
11
|
return index.promiseResolve();
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
3
|
const name = "genesys-spark-components";
|
|
4
|
-
const version = "3.34.
|
|
4
|
+
const version = "3.34.4";
|
|
5
5
|
const description = "Common webcomponents";
|
|
6
6
|
const license = "MIT";
|
|
7
7
|
const main = "dist/stencil-wrapper.js";
|
|
@@ -76,7 +76,7 @@ const devDependencies = {
|
|
|
76
76
|
"@babel/preset-env": "^7.19.3",
|
|
77
77
|
"@commitlint/cli": "^17.1.2",
|
|
78
78
|
"@commitlint/config-conventional": "^17.1.0",
|
|
79
|
-
"@stencil/core": "^2.18.
|
|
79
|
+
"@stencil/core": "^2.18.1",
|
|
80
80
|
"@stencil/less": "^1.0.0",
|
|
81
81
|
"@stencil/react-output-target": "^0.3.1",
|
|
82
82
|
"@stencil/utils": "0.0.5",
|
|
@@ -85,8 +85,8 @@ const devDependencies = {
|
|
|
85
85
|
"@types/puppeteer": "^5.4.6",
|
|
86
86
|
"@types/resize-observer-browser": "^0.1.7",
|
|
87
87
|
"@types/sortablejs": "^1.15.0",
|
|
88
|
-
"@typescript-eslint/eslint-plugin": "^5.
|
|
89
|
-
"@typescript-eslint/parser": "^5.
|
|
88
|
+
"@typescript-eslint/eslint-plugin": "^5.39.0",
|
|
89
|
+
"@typescript-eslint/parser": "^5.39.0",
|
|
90
90
|
"axe-live": "^1.0.1",
|
|
91
91
|
"babel-loader": "^8.2.5",
|
|
92
92
|
commitizen: "^4.2.5",
|
|
@@ -1,7 +1,8 @@
|
|
|
1
|
-
import { createPopper } from '@popperjs/core';
|
|
2
1
|
import { h, Host } from '@stencil/core';
|
|
2
|
+
import { createPopper } from '@popperjs/core';
|
|
3
|
+
import { afterNextRenderTimeout } from '@utils/dom/after-next-render';
|
|
3
4
|
import { trackComponent } from '../../../usage-tracking';
|
|
4
|
-
import { hideDelay
|
|
5
|
+
import { hideDelay } from './gux-menu/gux-menu.common';
|
|
5
6
|
export class GuxFlyoutMenu {
|
|
6
7
|
constructor() {
|
|
7
8
|
this.isShown = false;
|
|
@@ -27,9 +28,9 @@ export class GuxFlyoutMenu {
|
|
|
27
28
|
this.focusOnMenu();
|
|
28
29
|
return;
|
|
29
30
|
case 'Enter':
|
|
30
|
-
this.hideDelayTimeout =
|
|
31
|
+
this.hideDelayTimeout = afterNextRenderTimeout(() => {
|
|
31
32
|
this.focusOnMenu();
|
|
32
|
-
}
|
|
33
|
+
});
|
|
33
34
|
return;
|
|
34
35
|
}
|
|
35
36
|
}
|
|
@@ -44,9 +45,9 @@ export class GuxFlyoutMenu {
|
|
|
44
45
|
this.root.focus();
|
|
45
46
|
}
|
|
46
47
|
else {
|
|
47
|
-
this.hideDelayTimeout =
|
|
48
|
+
this.hideDelayTimeout = afterNextRenderTimeout(() => {
|
|
48
49
|
this.focusOnMenu();
|
|
49
|
-
}
|
|
50
|
+
});
|
|
50
51
|
}
|
|
51
52
|
return;
|
|
52
53
|
}
|
|
@@ -1,6 +1,7 @@
|
|
|
1
|
-
import { createPopper } from '@popperjs/core';
|
|
2
1
|
import { h, Host } from '@stencil/core';
|
|
3
|
-
import {
|
|
2
|
+
import { createPopper } from '@popperjs/core';
|
|
3
|
+
import { afterNextRenderTimeout } from '@utils/dom/after-next-render';
|
|
4
|
+
import { hideDelay, menuNavigation } from '../gux-menu.common';
|
|
4
5
|
export class GuxSubmenu {
|
|
5
6
|
constructor() {
|
|
6
7
|
this.isShown = false;
|
|
@@ -23,17 +24,18 @@ export class GuxSubmenu {
|
|
|
23
24
|
menuNavigation(event, this.root);
|
|
24
25
|
switch (event.key) {
|
|
25
26
|
case 'Enter':
|
|
26
|
-
|
|
27
|
+
event.stopPropagation();
|
|
28
|
+
this.hideDelayTimeout = afterNextRenderTimeout(() => {
|
|
27
29
|
this.focusOnSubmenu();
|
|
28
|
-
}
|
|
30
|
+
});
|
|
29
31
|
void this.guxFocus();
|
|
30
32
|
break;
|
|
31
33
|
case 'ArrowRight':
|
|
32
34
|
event.stopPropagation();
|
|
33
35
|
this.show();
|
|
34
|
-
this.hideDelayTimeout =
|
|
36
|
+
this.hideDelayTimeout = afterNextRenderTimeout(() => {
|
|
35
37
|
this.focusOnSubmenu();
|
|
36
|
-
}
|
|
38
|
+
});
|
|
37
39
|
break;
|
|
38
40
|
case 'ArrowLeft':
|
|
39
41
|
case 'Escape':
|
|
@@ -54,9 +56,9 @@ export class GuxSubmenu {
|
|
|
54
56
|
this.root.focus();
|
|
55
57
|
}
|
|
56
58
|
else {
|
|
57
|
-
this.hideDelayTimeout =
|
|
59
|
+
this.hideDelayTimeout = afterNextRenderTimeout(() => {
|
|
58
60
|
this.focusOnSubmenu();
|
|
59
|
-
}
|
|
61
|
+
});
|
|
60
62
|
}
|
|
61
63
|
break;
|
|
62
64
|
}
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { h, readTask } from '@stencil/core';
|
|
2
|
+
import { afterNextRenderTimeout } from '@utils/dom/after-next-render';
|
|
2
3
|
import { trackComponent } from '../../../usage-tracking';
|
|
3
4
|
import * as loadingMessageWidth from './gux-loading-message-constants';
|
|
4
5
|
/**
|
|
@@ -33,7 +34,7 @@ export class GuxLoadingMessage {
|
|
|
33
34
|
if (this.resizeObserver) {
|
|
34
35
|
this.resizeObserver.observe(this.root);
|
|
35
36
|
}
|
|
36
|
-
|
|
37
|
+
afterNextRenderTimeout(() => {
|
|
37
38
|
this.updateLoadingMessageSize();
|
|
38
39
|
}, 500);
|
|
39
40
|
}
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { h, readTask } from '@stencil/core';
|
|
2
|
+
import { afterNextRenderTimeout } from '@utils/dom/after-next-render';
|
|
2
3
|
import { trackComponent } from '../../../usage-tracking';
|
|
3
4
|
/**
|
|
4
5
|
* The minimum size in px at which the advanced layout will display.
|
|
@@ -92,7 +93,7 @@ export class GuxPaginationBeta {
|
|
|
92
93
|
if (this.resizeObserver) {
|
|
93
94
|
this.resizeObserver.observe(this.root.shadowRoot.querySelector('.gux-pagination-container'));
|
|
94
95
|
}
|
|
95
|
-
|
|
96
|
+
afterNextRenderTimeout(() => {
|
|
96
97
|
this.checkPaginationContainerWidthForLayout();
|
|
97
98
|
}, 500);
|
|
98
99
|
}
|