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
|
@@ -1,5 +1,13 @@
|
|
|
1
1
|
const NAMESPACE = 'genesys-webcomponents';
|
|
2
2
|
|
|
3
|
+
/**
|
|
4
|
+
* Virtual DOM patching algorithm based on Snabbdom by
|
|
5
|
+
* Simon Friis Vindum (@paldepind)
|
|
6
|
+
* Licensed under the MIT License
|
|
7
|
+
* https://github.com/snabbdom/snabbdom/blob/master/LICENSE
|
|
8
|
+
*
|
|
9
|
+
* Modified for Stencil's renderer and slot projection
|
|
10
|
+
*/
|
|
3
11
|
let scopeId;
|
|
4
12
|
let contentRef;
|
|
5
13
|
let hostTagName;
|
|
@@ -8,62 +16,10 @@ let checkSlotFallbackVisibility = false;
|
|
|
8
16
|
let checkSlotRelocate = false;
|
|
9
17
|
let isSvgMode = false;
|
|
10
18
|
let queuePending = false;
|
|
11
|
-
const
|
|
12
|
-
const
|
|
13
|
-
|
|
14
|
-
$flags$: 0,
|
|
15
|
-
$resourcesUrl$: '',
|
|
16
|
-
jmp: (h) => h(),
|
|
17
|
-
raf: (h) => requestAnimationFrame(h),
|
|
18
|
-
ael: (el, eventName, listener, opts) => el.addEventListener(eventName, listener, opts),
|
|
19
|
-
rel: (el, eventName, listener, opts) => el.removeEventListener(eventName, listener, opts),
|
|
20
|
-
ce: (eventName, opts) => new CustomEvent(eventName, opts),
|
|
21
|
-
};
|
|
22
|
-
const promiseResolve = (v) => Promise.resolve(v);
|
|
23
|
-
const supportsConstructableStylesheets = /*@__PURE__*/ (() => {
|
|
24
|
-
try {
|
|
25
|
-
new CSSStyleSheet();
|
|
26
|
-
return typeof new CSSStyleSheet().replaceSync === 'function';
|
|
27
|
-
}
|
|
28
|
-
catch (e) { }
|
|
29
|
-
return false;
|
|
30
|
-
})()
|
|
31
|
-
;
|
|
32
|
-
const addHostEventListeners = (elm, hostRef, listeners, attachParentListeners) => {
|
|
33
|
-
if (listeners) {
|
|
34
|
-
listeners.map(([flags, name, method]) => {
|
|
35
|
-
const target = getHostListenerTarget(elm, flags) ;
|
|
36
|
-
const handler = hostListenerProxy(hostRef, method);
|
|
37
|
-
const opts = hostListenerOpts(flags);
|
|
38
|
-
plt.ael(target, name, handler, opts);
|
|
39
|
-
(hostRef.$rmListeners$ = hostRef.$rmListeners$ || []).push(() => plt.rel(target, name, handler, opts));
|
|
40
|
-
});
|
|
41
|
-
}
|
|
42
|
-
};
|
|
43
|
-
const hostListenerProxy = (hostRef, methodName) => (ev) => {
|
|
44
|
-
try {
|
|
45
|
-
{
|
|
46
|
-
if (hostRef.$flags$ & 256 /* HOST_FLAGS.isListenReady */) {
|
|
47
|
-
// instance is ready, let's call it's member method for this event
|
|
48
|
-
hostRef.$lazyInstance$[methodName](ev);
|
|
49
|
-
}
|
|
50
|
-
else {
|
|
51
|
-
(hostRef.$queuedListeners$ = hostRef.$queuedListeners$ || []).push([methodName, ev]);
|
|
52
|
-
}
|
|
53
|
-
}
|
|
54
|
-
}
|
|
55
|
-
catch (e) {
|
|
56
|
-
consoleError(e);
|
|
57
|
-
}
|
|
58
|
-
};
|
|
59
|
-
const getHostListenerTarget = (elm, flags) => {
|
|
60
|
-
if (flags & 8 /* LISTENER_FLAGS.TargetWindow */)
|
|
61
|
-
return win;
|
|
62
|
-
return elm;
|
|
19
|
+
const getAssetPath = (path) => {
|
|
20
|
+
const assetUrl = new URL(path, plt.$resourcesUrl$);
|
|
21
|
+
return assetUrl.origin !== win.location.origin ? assetUrl.href : assetUrl.pathname;
|
|
63
22
|
};
|
|
64
|
-
// prettier-ignore
|
|
65
|
-
const hostListenerOpts = (flags) => (flags & 2 /* LISTENER_FLAGS.Capture */) !== 0;
|
|
66
|
-
const HYDRATED_CSS = '{visibility:hidden}[hydrated]{visibility:inherit}';
|
|
67
23
|
const createTime = (fnName, tagName = '') => {
|
|
68
24
|
{
|
|
69
25
|
return () => {
|
|
@@ -78,76 +34,7 @@ const uniqueTime = (key, measureText) => {
|
|
|
78
34
|
};
|
|
79
35
|
}
|
|
80
36
|
};
|
|
81
|
-
const
|
|
82
|
-
const registerStyle = (scopeId, cssText, allowCS) => {
|
|
83
|
-
let style = styles.get(scopeId);
|
|
84
|
-
if (supportsConstructableStylesheets && allowCS) {
|
|
85
|
-
style = (style || new CSSStyleSheet());
|
|
86
|
-
if (typeof style === 'string') {
|
|
87
|
-
style = cssText;
|
|
88
|
-
}
|
|
89
|
-
else {
|
|
90
|
-
style.replaceSync(cssText);
|
|
91
|
-
}
|
|
92
|
-
}
|
|
93
|
-
else {
|
|
94
|
-
style = cssText;
|
|
95
|
-
}
|
|
96
|
-
styles.set(scopeId, style);
|
|
97
|
-
};
|
|
98
|
-
const addStyle = (styleContainerNode, cmpMeta, mode, hostElm) => {
|
|
99
|
-
let scopeId = getScopeId(cmpMeta);
|
|
100
|
-
const style = styles.get(scopeId);
|
|
101
|
-
// if an element is NOT connected then getRootNode() will return the wrong root node
|
|
102
|
-
// so the fallback is to always use the document for the root node in those cases
|
|
103
|
-
styleContainerNode = styleContainerNode.nodeType === 11 /* NODE_TYPE.DocumentFragment */ ? styleContainerNode : doc;
|
|
104
|
-
if (style) {
|
|
105
|
-
if (typeof style === 'string') {
|
|
106
|
-
styleContainerNode = styleContainerNode.head || styleContainerNode;
|
|
107
|
-
let appliedStyles = rootAppliedStyles.get(styleContainerNode);
|
|
108
|
-
let styleElm;
|
|
109
|
-
if (!appliedStyles) {
|
|
110
|
-
rootAppliedStyles.set(styleContainerNode, (appliedStyles = new Set()));
|
|
111
|
-
}
|
|
112
|
-
if (!appliedStyles.has(scopeId)) {
|
|
113
|
-
{
|
|
114
|
-
{
|
|
115
|
-
styleElm = doc.createElement('style');
|
|
116
|
-
styleElm.innerHTML = style;
|
|
117
|
-
}
|
|
118
|
-
styleContainerNode.insertBefore(styleElm, styleContainerNode.querySelector('link'));
|
|
119
|
-
}
|
|
120
|
-
if (appliedStyles) {
|
|
121
|
-
appliedStyles.add(scopeId);
|
|
122
|
-
}
|
|
123
|
-
}
|
|
124
|
-
}
|
|
125
|
-
else if (!styleContainerNode.adoptedStyleSheets.includes(style)) {
|
|
126
|
-
styleContainerNode.adoptedStyleSheets = [...styleContainerNode.adoptedStyleSheets, style];
|
|
127
|
-
}
|
|
128
|
-
}
|
|
129
|
-
return scopeId;
|
|
130
|
-
};
|
|
131
|
-
const attachStyles = (hostRef) => {
|
|
132
|
-
const cmpMeta = hostRef.$cmpMeta$;
|
|
133
|
-
const elm = hostRef.$hostElement$;
|
|
134
|
-
const flags = cmpMeta.$flags$;
|
|
135
|
-
const endAttachStyles = createTime('attachStyles', cmpMeta.$tagName$);
|
|
136
|
-
const scopeId = addStyle(elm.shadowRoot ? elm.shadowRoot : elm.getRootNode(), cmpMeta);
|
|
137
|
-
if (flags & 10 /* CMP_FLAGS.needsScopedEncapsulation */) {
|
|
138
|
-
// only required when we're NOT using native shadow dom (slot)
|
|
139
|
-
// or this browser doesn't support native shadow dom
|
|
140
|
-
// and this host element was NOT created with SSR
|
|
141
|
-
// let's pick out the inner content for slot projection
|
|
142
|
-
// create a node to represent where the original
|
|
143
|
-
// content was first placed, which is useful later on
|
|
144
|
-
// DOM WRITE!!
|
|
145
|
-
elm['s-sc'] = scopeId;
|
|
146
|
-
elm.classList.add(scopeId + '-h');
|
|
147
|
-
}
|
|
148
|
-
endAttachStyles();
|
|
149
|
-
};
|
|
150
|
-
const getScopeId = (cmp, mode) => 'sc-' + (cmp.$tagName$);
|
|
37
|
+
const HYDRATED_CSS = '{visibility:hidden}[hydrated]{visibility:inherit}';
|
|
151
38
|
/**
|
|
152
39
|
* Default style mode id
|
|
153
40
|
*/
|
|
@@ -296,6 +183,149 @@ const convertToPrivate = (node) => {
|
|
|
296
183
|
vnode.$name$ = node.vname;
|
|
297
184
|
return vnode;
|
|
298
185
|
};
|
|
186
|
+
/**
|
|
187
|
+
* Parse a new property value for a given property type.
|
|
188
|
+
*
|
|
189
|
+
* While the prop value can reasonably be expected to be of `any` type as far as TypeScript's type checker is concerned,
|
|
190
|
+
* it is not safe to assume that the string returned by evaluating `typeof propValue` matches:
|
|
191
|
+
* 1. `any`, the type given to `propValue` in the function signature
|
|
192
|
+
* 2. the type stored from `propType`.
|
|
193
|
+
*
|
|
194
|
+
* This function provides the capability to parse/coerce a property's value to potentially any other JavaScript type.
|
|
195
|
+
*
|
|
196
|
+
* Property values represented in TSX preserve their type information. In the example below, the number 0 is passed to
|
|
197
|
+
* a component. This `propValue` will preserve its type information (`typeof propValue === 'number'`). Note that is
|
|
198
|
+
* based on the type of the value being passed in, not the type declared of the class member decorated with `@Prop`.
|
|
199
|
+
* ```tsx
|
|
200
|
+
* <my-cmp prop-val={0}></my-cmp>
|
|
201
|
+
* ```
|
|
202
|
+
*
|
|
203
|
+
* HTML prop values on the other hand, will always a string
|
|
204
|
+
*
|
|
205
|
+
* @param propValue the new value to coerce to some type
|
|
206
|
+
* @param propType the type of the prop, expressed as a binary number
|
|
207
|
+
* @returns the parsed/coerced value
|
|
208
|
+
*/
|
|
209
|
+
const parsePropertyValue = (propValue, propType) => {
|
|
210
|
+
// ensure this value is of the correct prop type
|
|
211
|
+
if (propValue != null && !isComplexType(propValue)) {
|
|
212
|
+
if (propType & 4 /* MEMBER_FLAGS.Boolean */) {
|
|
213
|
+
// per the HTML spec, any string value means it is a boolean true value
|
|
214
|
+
// but we'll cheat here and say that the string "false" is the boolean false
|
|
215
|
+
return propValue === 'false' ? false : propValue === '' || !!propValue;
|
|
216
|
+
}
|
|
217
|
+
if (propType & 2 /* MEMBER_FLAGS.Number */) {
|
|
218
|
+
// force it to be a number
|
|
219
|
+
return parseFloat(propValue);
|
|
220
|
+
}
|
|
221
|
+
if (propType & 1 /* MEMBER_FLAGS.String */) {
|
|
222
|
+
// could have been passed as a number or boolean
|
|
223
|
+
// but we still want it as a string
|
|
224
|
+
return String(propValue);
|
|
225
|
+
}
|
|
226
|
+
// redundant return here for better minification
|
|
227
|
+
return propValue;
|
|
228
|
+
}
|
|
229
|
+
// not sure exactly what type we want
|
|
230
|
+
// so no need to change to a different type
|
|
231
|
+
return propValue;
|
|
232
|
+
};
|
|
233
|
+
const getElement = (ref) => (getHostRef(ref).$hostElement$ );
|
|
234
|
+
const createEvent = (ref, name, flags) => {
|
|
235
|
+
const elm = getElement(ref);
|
|
236
|
+
return {
|
|
237
|
+
emit: (detail) => {
|
|
238
|
+
return emitEvent(elm, name, {
|
|
239
|
+
bubbles: !!(flags & 4 /* EVENT_FLAGS.Bubbles */),
|
|
240
|
+
composed: !!(flags & 2 /* EVENT_FLAGS.Composed */),
|
|
241
|
+
cancelable: !!(flags & 1 /* EVENT_FLAGS.Cancellable */),
|
|
242
|
+
detail,
|
|
243
|
+
});
|
|
244
|
+
},
|
|
245
|
+
};
|
|
246
|
+
};
|
|
247
|
+
/**
|
|
248
|
+
* Helper function to create & dispatch a custom Event on a provided target
|
|
249
|
+
* @param elm the target of the Event
|
|
250
|
+
* @param name the name to give the custom Event
|
|
251
|
+
* @param opts options for configuring a custom Event
|
|
252
|
+
* @returns the custom Event
|
|
253
|
+
*/
|
|
254
|
+
const emitEvent = (elm, name, opts) => {
|
|
255
|
+
const ev = plt.ce(name, opts);
|
|
256
|
+
elm.dispatchEvent(ev);
|
|
257
|
+
return ev;
|
|
258
|
+
};
|
|
259
|
+
const rootAppliedStyles = /*@__PURE__*/ new WeakMap();
|
|
260
|
+
const registerStyle = (scopeId, cssText, allowCS) => {
|
|
261
|
+
let style = styles.get(scopeId);
|
|
262
|
+
if (supportsConstructableStylesheets && allowCS) {
|
|
263
|
+
style = (style || new CSSStyleSheet());
|
|
264
|
+
if (typeof style === 'string') {
|
|
265
|
+
style = cssText;
|
|
266
|
+
}
|
|
267
|
+
else {
|
|
268
|
+
style.replaceSync(cssText);
|
|
269
|
+
}
|
|
270
|
+
}
|
|
271
|
+
else {
|
|
272
|
+
style = cssText;
|
|
273
|
+
}
|
|
274
|
+
styles.set(scopeId, style);
|
|
275
|
+
};
|
|
276
|
+
const addStyle = (styleContainerNode, cmpMeta, mode, hostElm) => {
|
|
277
|
+
let scopeId = getScopeId(cmpMeta);
|
|
278
|
+
const style = styles.get(scopeId);
|
|
279
|
+
// if an element is NOT connected then getRootNode() will return the wrong root node
|
|
280
|
+
// so the fallback is to always use the document for the root node in those cases
|
|
281
|
+
styleContainerNode = styleContainerNode.nodeType === 11 /* NODE_TYPE.DocumentFragment */ ? styleContainerNode : doc;
|
|
282
|
+
if (style) {
|
|
283
|
+
if (typeof style === 'string') {
|
|
284
|
+
styleContainerNode = styleContainerNode.head || styleContainerNode;
|
|
285
|
+
let appliedStyles = rootAppliedStyles.get(styleContainerNode);
|
|
286
|
+
let styleElm;
|
|
287
|
+
if (!appliedStyles) {
|
|
288
|
+
rootAppliedStyles.set(styleContainerNode, (appliedStyles = new Set()));
|
|
289
|
+
}
|
|
290
|
+
if (!appliedStyles.has(scopeId)) {
|
|
291
|
+
{
|
|
292
|
+
{
|
|
293
|
+
styleElm = doc.createElement('style');
|
|
294
|
+
styleElm.innerHTML = style;
|
|
295
|
+
}
|
|
296
|
+
styleContainerNode.insertBefore(styleElm, styleContainerNode.querySelector('link'));
|
|
297
|
+
}
|
|
298
|
+
if (appliedStyles) {
|
|
299
|
+
appliedStyles.add(scopeId);
|
|
300
|
+
}
|
|
301
|
+
}
|
|
302
|
+
}
|
|
303
|
+
else if (!styleContainerNode.adoptedStyleSheets.includes(style)) {
|
|
304
|
+
styleContainerNode.adoptedStyleSheets = [...styleContainerNode.adoptedStyleSheets, style];
|
|
305
|
+
}
|
|
306
|
+
}
|
|
307
|
+
return scopeId;
|
|
308
|
+
};
|
|
309
|
+
const attachStyles = (hostRef) => {
|
|
310
|
+
const cmpMeta = hostRef.$cmpMeta$;
|
|
311
|
+
const elm = hostRef.$hostElement$;
|
|
312
|
+
const flags = cmpMeta.$flags$;
|
|
313
|
+
const endAttachStyles = createTime('attachStyles', cmpMeta.$tagName$);
|
|
314
|
+
const scopeId = addStyle(elm.shadowRoot ? elm.shadowRoot : elm.getRootNode(), cmpMeta);
|
|
315
|
+
if (flags & 10 /* CMP_FLAGS.needsScopedEncapsulation */) {
|
|
316
|
+
// only required when we're NOT using native shadow dom (slot)
|
|
317
|
+
// or this browser doesn't support native shadow dom
|
|
318
|
+
// and this host element was NOT created with SSR
|
|
319
|
+
// let's pick out the inner content for slot projection
|
|
320
|
+
// create a node to represent where the original
|
|
321
|
+
// content was first placed, which is useful later on
|
|
322
|
+
// DOM WRITE!!
|
|
323
|
+
elm['s-sc'] = scopeId;
|
|
324
|
+
elm.classList.add(scopeId + '-h');
|
|
325
|
+
}
|
|
326
|
+
endAttachStyles();
|
|
327
|
+
};
|
|
328
|
+
const getScopeId = (cmp, mode) => 'sc-' + (cmp.$tagName$);
|
|
299
329
|
/**
|
|
300
330
|
* Production setAccessor() function based on Preact by
|
|
301
331
|
* Jason Miller (@developit)
|
|
@@ -1200,32 +1230,6 @@ const renderVdom = (hostRef, renderFnResults) => {
|
|
|
1200
1230
|
relocateNodes.length = 0;
|
|
1201
1231
|
}
|
|
1202
1232
|
};
|
|
1203
|
-
const getElement = (ref) => (getHostRef(ref).$hostElement$ );
|
|
1204
|
-
const createEvent = (ref, name, flags) => {
|
|
1205
|
-
const elm = getElement(ref);
|
|
1206
|
-
return {
|
|
1207
|
-
emit: (detail) => {
|
|
1208
|
-
return emitEvent(elm, name, {
|
|
1209
|
-
bubbles: !!(flags & 4 /* EVENT_FLAGS.Bubbles */),
|
|
1210
|
-
composed: !!(flags & 2 /* EVENT_FLAGS.Composed */),
|
|
1211
|
-
cancelable: !!(flags & 1 /* EVENT_FLAGS.Cancellable */),
|
|
1212
|
-
detail,
|
|
1213
|
-
});
|
|
1214
|
-
},
|
|
1215
|
-
};
|
|
1216
|
-
};
|
|
1217
|
-
/**
|
|
1218
|
-
* Helper function to create & dispatch a custom Event on a provided target
|
|
1219
|
-
* @param elm the target of the Event
|
|
1220
|
-
* @param name the name to give the custom Event
|
|
1221
|
-
* @param opts options for configuring a custom Event
|
|
1222
|
-
* @returns the custom Event
|
|
1223
|
-
*/
|
|
1224
|
-
const emitEvent = (elm, name, opts) => {
|
|
1225
|
-
const ev = plt.ce(name, opts);
|
|
1226
|
-
elm.dispatchEvent(ev);
|
|
1227
|
-
return ev;
|
|
1228
|
-
};
|
|
1229
1233
|
const attachToAncestor = (hostRef, ancestorComponent) => {
|
|
1230
1234
|
if (ancestorComponent && !hostRef.$onRenderResolve$ && ancestorComponent['s-p']) {
|
|
1231
1235
|
ancestorComponent['s-p'].push(new Promise((r) => (hostRef.$onRenderResolve$ = r)));
|
|
@@ -1415,53 +1419,6 @@ const then = (promise, thenFn) => {
|
|
|
1415
1419
|
};
|
|
1416
1420
|
const addHydratedFlag = (elm) => elm.setAttribute('hydrated', '')
|
|
1417
1421
|
;
|
|
1418
|
-
/**
|
|
1419
|
-
* Parse a new property value for a given property type.
|
|
1420
|
-
*
|
|
1421
|
-
* While the prop value can reasonably be expected to be of `any` type as far as TypeScript's type checker is concerned,
|
|
1422
|
-
* it is not safe to assume that the string returned by evaluating `typeof propValue` matches:
|
|
1423
|
-
* 1. `any`, the type given to `propValue` in the function signature
|
|
1424
|
-
* 2. the type stored from `propType`.
|
|
1425
|
-
*
|
|
1426
|
-
* This function provides the capability to parse/coerce a property's value to potentially any other JavaScript type.
|
|
1427
|
-
*
|
|
1428
|
-
* Property values represented in TSX preserve their type information. In the example below, the number 0 is passed to
|
|
1429
|
-
* a component. This `propValue` will preserve its type information (`typeof propValue === 'number'`). Note that is
|
|
1430
|
-
* based on the type of the value being passed in, not the type declared of the class member decorated with `@Prop`.
|
|
1431
|
-
* ```tsx
|
|
1432
|
-
* <my-cmp prop-val={0}></my-cmp>
|
|
1433
|
-
* ```
|
|
1434
|
-
*
|
|
1435
|
-
* HTML prop values on the other hand, will always a string
|
|
1436
|
-
*
|
|
1437
|
-
* @param propValue the new value to coerce to some type
|
|
1438
|
-
* @param propType the type of the prop, expressed as a binary number
|
|
1439
|
-
* @returns the parsed/coerced value
|
|
1440
|
-
*/
|
|
1441
|
-
const parsePropertyValue = (propValue, propType) => {
|
|
1442
|
-
// ensure this value is of the correct prop type
|
|
1443
|
-
if (propValue != null && !isComplexType(propValue)) {
|
|
1444
|
-
if (propType & 4 /* MEMBER_FLAGS.Boolean */) {
|
|
1445
|
-
// per the HTML spec, any string value means it is a boolean true value
|
|
1446
|
-
// but we'll cheat here and say that the string "false" is the boolean false
|
|
1447
|
-
return propValue === 'false' ? false : propValue === '' || !!propValue;
|
|
1448
|
-
}
|
|
1449
|
-
if (propType & 2 /* MEMBER_FLAGS.Number */) {
|
|
1450
|
-
// force it to be a number
|
|
1451
|
-
return parseFloat(propValue);
|
|
1452
|
-
}
|
|
1453
|
-
if (propType & 1 /* MEMBER_FLAGS.String */) {
|
|
1454
|
-
// could have been passed as a number or boolean
|
|
1455
|
-
// but we still want it as a string
|
|
1456
|
-
return String(propValue);
|
|
1457
|
-
}
|
|
1458
|
-
// redundant return here for better minification
|
|
1459
|
-
return propValue;
|
|
1460
|
-
}
|
|
1461
|
-
// not sure exactly what type we want
|
|
1462
|
-
// so no need to change to a different type
|
|
1463
|
-
return propValue;
|
|
1464
|
-
};
|
|
1465
1422
|
const getValue = (ref, propName) => getHostRef(ref).$instanceValues$.get(propName);
|
|
1466
1423
|
const setValue = (ref, propName, newVal, cmpMeta) => {
|
|
1467
1424
|
// check our new property value against our internal value
|
|
@@ -1505,6 +1462,16 @@ const setValue = (ref, propName, newVal, cmpMeta) => {
|
|
|
1505
1462
|
}
|
|
1506
1463
|
}
|
|
1507
1464
|
};
|
|
1465
|
+
/**
|
|
1466
|
+
* Attach a series of runtime constructs to a compiled Stencil component
|
|
1467
|
+
* constructor, including getters and setters for the `@Prop` and `@State`
|
|
1468
|
+
* decorators, callbacks for when attributes change, and so on.
|
|
1469
|
+
*
|
|
1470
|
+
* @param Cstr the constructor for a component that we need to process
|
|
1471
|
+
* @param cmpMeta metadata collected previously about the component
|
|
1472
|
+
* @param flags a number used to store a series of bit flags
|
|
1473
|
+
* @returns a reference to the same constructor passed in (but now mutated)
|
|
1474
|
+
*/
|
|
1508
1475
|
const proxyComponent = (Cstr, cmpMeta, flags) => {
|
|
1509
1476
|
if (cmpMeta.$members$) {
|
|
1510
1477
|
if (Cstr.watchers) {
|
|
@@ -1879,10 +1846,40 @@ const bootstrapLazy = (lazyBundles, options = {}) => {
|
|
|
1879
1846
|
// Fallback appLoad event
|
|
1880
1847
|
endBootstrap();
|
|
1881
1848
|
};
|
|
1882
|
-
const
|
|
1883
|
-
|
|
1884
|
-
|
|
1849
|
+
const addHostEventListeners = (elm, hostRef, listeners, attachParentListeners) => {
|
|
1850
|
+
if (listeners) {
|
|
1851
|
+
listeners.map(([flags, name, method]) => {
|
|
1852
|
+
const target = getHostListenerTarget(elm, flags) ;
|
|
1853
|
+
const handler = hostListenerProxy(hostRef, method);
|
|
1854
|
+
const opts = hostListenerOpts(flags);
|
|
1855
|
+
plt.ael(target, name, handler, opts);
|
|
1856
|
+
(hostRef.$rmListeners$ = hostRef.$rmListeners$ || []).push(() => plt.rel(target, name, handler, opts));
|
|
1857
|
+
});
|
|
1858
|
+
}
|
|
1859
|
+
};
|
|
1860
|
+
const hostListenerProxy = (hostRef, methodName) => (ev) => {
|
|
1861
|
+
try {
|
|
1862
|
+
{
|
|
1863
|
+
if (hostRef.$flags$ & 256 /* HOST_FLAGS.isListenReady */) {
|
|
1864
|
+
// instance is ready, let's call it's member method for this event
|
|
1865
|
+
hostRef.$lazyInstance$[methodName](ev);
|
|
1866
|
+
}
|
|
1867
|
+
else {
|
|
1868
|
+
(hostRef.$queuedListeners$ = hostRef.$queuedListeners$ || []).push([methodName, ev]);
|
|
1869
|
+
}
|
|
1870
|
+
}
|
|
1871
|
+
}
|
|
1872
|
+
catch (e) {
|
|
1873
|
+
consoleError(e);
|
|
1874
|
+
}
|
|
1885
1875
|
};
|
|
1876
|
+
const getHostListenerTarget = (elm, flags) => {
|
|
1877
|
+
if (flags & 8 /* LISTENER_FLAGS.TargetWindow */)
|
|
1878
|
+
return win;
|
|
1879
|
+
return elm;
|
|
1880
|
+
};
|
|
1881
|
+
// prettier-ignore
|
|
1882
|
+
const hostListenerOpts = (flags) => (flags & 2 /* LISTENER_FLAGS.Capture */) !== 0;
|
|
1886
1883
|
const hostRefs = /*@__PURE__*/ new WeakMap();
|
|
1887
1884
|
const getHostRef = (ref) => hostRefs.get(ref);
|
|
1888
1885
|
const registerInstance = (lazyInstance, hostRef) => hostRefs.set((hostRef.$lazyInstance$ = lazyInstance), hostRef);
|
|
@@ -2442,6 +2439,27 @@ const loadModule = (cmpMeta, hostRef, hmrVersionId) => {
|
|
|
2442
2439
|
}, consoleError);
|
|
2443
2440
|
};
|
|
2444
2441
|
const styles = /*@__PURE__*/ new Map();
|
|
2442
|
+
const win = typeof window !== 'undefined' ? window : {};
|
|
2443
|
+
const doc = win.document || { head: {} };
|
|
2444
|
+
const plt = {
|
|
2445
|
+
$flags$: 0,
|
|
2446
|
+
$resourcesUrl$: '',
|
|
2447
|
+
jmp: (h) => h(),
|
|
2448
|
+
raf: (h) => requestAnimationFrame(h),
|
|
2449
|
+
ael: (el, eventName, listener, opts) => el.addEventListener(eventName, listener, opts),
|
|
2450
|
+
rel: (el, eventName, listener, opts) => el.removeEventListener(eventName, listener, opts),
|
|
2451
|
+
ce: (eventName, opts) => new CustomEvent(eventName, opts),
|
|
2452
|
+
};
|
|
2453
|
+
const promiseResolve = (v) => Promise.resolve(v);
|
|
2454
|
+
const supportsConstructableStylesheets = /*@__PURE__*/ (() => {
|
|
2455
|
+
try {
|
|
2456
|
+
new CSSStyleSheet();
|
|
2457
|
+
return typeof new CSSStyleSheet().replaceSync === 'function';
|
|
2458
|
+
}
|
|
2459
|
+
catch (e) { }
|
|
2460
|
+
return false;
|
|
2461
|
+
})()
|
|
2462
|
+
;
|
|
2445
2463
|
const queueDomReads = [];
|
|
2446
2464
|
const queueDomWrites = [];
|
|
2447
2465
|
const queueTask = (queue, write) => (cb) => {
|
package/dist/esm/loader.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { p as promiseResolve, b as bootstrapLazy } from './index-
|
|
1
|
+
import { p as promiseResolve, b as bootstrapLazy } from './index-be334191.js';
|
|
2
2
|
|
|
3
3
|
/*
|
|
4
|
-
Stencil Client Patch Esm v2.18.
|
|
4
|
+
Stencil Client Patch Esm v2.18.1 | MIT Licensed | https://stenciljs.com
|
|
5
5
|
*/
|
|
6
6
|
const patchEsm = () => {
|
|
7
7
|
return promiseResolve();
|
|
@@ -1 +1 @@
|
|
|
1
|
-
var __assign=this&&this.__assign||function(){return(__assign=Object.assign||function(e){for(var t,r=1,n=arguments.length;r<n;r++)for(var s in t=arguments[r])Object.prototype.hasOwnProperty.call(t,s)&&(e[s]=t[s]);return e}).apply(this,arguments)},StyleNode=function(){this.start=0,this.end=0,this.previous=null,this.parent=null,this.rules=null,this.parsedCssText="",this.cssText="",this.atRule=!1,this.type=0,this.keyframesName="",this.selector="",this.parsedSelector=""};function parse(e){return parseCss(lex(e=clean(e)),e)}function clean(e){return e.replace(RX.comments,"").replace(RX.port,"")}function lex(e){var t=new StyleNode;t.start=0,t.end=e.length;for(var r=t,n=0,s=e.length;n<s;n++)if(e[n]===OPEN_BRACE){r.rules||(r.rules=[]);var o=r,a=o.rules[o.rules.length-1]||null;(r=new StyleNode).start=n+1,r.parent=o,r.previous=a,o.rules.push(r)}else e[n]===CLOSE_BRACE&&(r.end=n+1,r=r.parent||t);return t}function parseCss(e,t){var r=t.substring(e.start,e.end-1);if(e.parsedCssText=e.cssText=r.trim(),e.parent){var n=e.previous?e.previous.end:e.parent.start;r=(r=(r=_expandUnicodeEscapes(r=t.substring(n,e.start-1))).replace(RX.multipleSpaces," ")).substring(r.lastIndexOf(";")+1);var s=e.parsedSelector=e.selector=r.trim();e.atRule=0===s.indexOf(AT_START),e.atRule?0===s.indexOf(MEDIA_START)?e.type=types.MEDIA_RULE:s.match(RX.keyframesRule)&&(e.type=types.KEYFRAMES_RULE,e.keyframesName=e.selector.split(RX.multipleSpaces).pop()):0===s.indexOf(VAR_START)?e.type=types.MIXIN_RULE:e.type=types.STYLE_RULE}var o=e.rules;if(o)for(var a=0,i=o.length,l=void 0;a<i&&(l=o[a]);a++)parseCss(l,t);return e}function _expandUnicodeEscapes(e){return e.replace(/\\([0-9a-f]{1,6})\s/gi,(function(){for(var e=arguments[1],t=6-e.length;t--;)e="0"+e;return"\\"+e}))}var types={STYLE_RULE:1,KEYFRAMES_RULE:7,MEDIA_RULE:4,MIXIN_RULE:1e3},OPEN_BRACE="{",CLOSE_BRACE="}",RX={comments:/\/\*[^*]*\*+([^/*][^*]*\*+)*\//gim,port:/@import[^;]*;/gim,customProp:/(?:^[^;\-\s}]+)?--[^;{}]*?:[^{};]*?(?:[;\n]|$)/gim,mixinProp:/(?:^[^;\-\s}]+)?--[^;{}]*?:[^{};]*?{[^}]*?}(?:[;\n]|$)?/gim,mixinApply:/@apply\s*\(?[^);]*\)?\s*(?:[;\n]|$)?/gim,varApply:/[^;:]*?:[^;]*?var\([^;]*\)(?:[;\n]|$)?/gim,keyframesRule:/^@[^\s]*keyframes/,multipleSpaces:/\s+/g},VAR_START="--",MEDIA_START="@media",AT_START="@";function findRegex(e,t,r){e.lastIndex=0;var n=t.substring(r).match(e);if(n){var s=r+n.index;return{start:s,end:s+n[0].length}}return null}var VAR_USAGE_START=/\bvar\(/,VAR_ASSIGN_START=/\B--[\w-]+\s*:/,COMMENTS=/\/\*[^*]*\*+([^/*][^*]*\*+)*\//gim,TRAILING_LINES=/^[\t ]+\n/gm;function resolveVar(e,t,r){return e[t]?e[t]:r?executeTemplate(r,e):""}function findVarEndIndex(e,t){for(var r=0,n=t;n<e.length;n++){var s=e[n];if("("===s)r++;else if(")"===s&&--r<=0)return n+1}return n}function parseVar(e,t){var r=findRegex(VAR_USAGE_START,e,t);if(!r)return null;var n=findVarEndIndex(e,r.start),s=e.substring(r.end,n-1).split(","),o=s[0],a=s.slice(1);return{start:r.start,end:n,propName:o.trim(),fallback:a.length>0?a.join(",").trim():void 0}}function compileVar(e,t,r){var n=parseVar(e,r);if(!n)return t.push(e.substring(r,e.length)),e.length;var s=n.propName,o=null!=n.fallback?compileTemplate(n.fallback):void 0;return t.push(e.substring(r,n.start),(function(e){return resolveVar(e,s,o)})),n.end}function executeTemplate(e,t){for(var r="",n=0;n<e.length;n++){var s=e[n];r+="string"==typeof s?s:s(t)}return r}function findEndValue(e,t){for(var r=!1,n=!1,s=t;s<e.length;s++){var o=e[s];if(r)n&&'"'===o&&(r=!1),n||"'"!==o||(r=!1);else if('"'===o)r=!0,n=!0;else if("'"===o)r=!0,n=!1;else{if(";"===o)return s+1;if("}"===o)return s}}return s}function removeCustomAssigns(e){for(var t="",r=0;;){var n=findRegex(VAR_ASSIGN_START,e,r),s=n?n.start:e.length;if(t+=e.substring(r,s),!n)break;r=findEndValue(e,s)}return t}function compileTemplate(e){var t=0;e=removeCustomAssigns(e=e.replace(COMMENTS,"")).replace(TRAILING_LINES,"");for(var r=[];t<e.length;)t=compileVar(e,r,t);return r}function resolveValues(e){var t={};e.forEach((function(e){e.declarations.forEach((function(e){t[e.prop]=e.value}))}));for(var r={},n=Object.entries(t),s=function(e){var t=!1;if(n.forEach((function(e){var n=e[0],s=executeTemplate(e[1],r);s!==r[n]&&(r[n]=s,t=!0)})),!t)return"break"},o=0;o<10;o++){if("break"===s())break}return r}function getSelectors(e,t){if(void 0===t&&(t=0),!e.rules)return[];var r=[];return e.rules.filter((function(e){return e.type===types.STYLE_RULE})).forEach((function(e){var n=getDeclarations(e.cssText);n.length>0&&e.parsedSelector.split(",").forEach((function(e){e=e.trim(),r.push({selector:e,declarations:n,specificity:computeSpecificity(),nu:t})})),t++})),r}function computeSpecificity(e){return 1}var IMPORTANT="!important",FIND_DECLARATIONS=/(?:^|[;\s{]\s*)(--[\w-]*?)\s*:\s*(?:((?:'(?:\\'|.)*?'|"(?:\\"|.)*?"|\([^)]*?\)|[^};{])+)|\{([^}]*)\}(?:(?=[;\s}])|$))/gm;function getDeclarations(e){for(var t,r=[];t=FIND_DECLARATIONS.exec(e.trim());){var n=normalizeValue(t[2]),s=n.value,o=n.important;r.push({prop:t[1].trim(),value:compileTemplate(s),important:o})}return r}function normalizeValue(e){var t=(e=e.replace(/\s+/gim," ").trim()).endsWith(IMPORTANT);return t&&(e=e.slice(0,e.length-IMPORTANT.length).trim()),{value:e,important:t}}function getActiveSelectors(e,t,r){var n=[],s=getScopesForElement(t,e);return r.forEach((function(e){return n.push(e)})),s.forEach((function(e){return n.push(e)})),sortSelectors(getSelectorsForScopes(n).filter((function(t){return matches(e,t.selector)})))}function getScopesForElement(e,t){for(var r=[];t;){var n=e.get(t);n&&r.push(n),t=t.parentElement}return r}function getSelectorsForScopes(e){var t=[];return e.forEach((function(e){t.push.apply(t,e.selectors)})),t}function sortSelectors(e){return e.sort((function(e,t){return e.specificity===t.specificity?e.nu-t.nu:e.specificity-t.specificity})),e}function matches(e,t){return":root"===t||"html"===t||e.matches(t)}function parseCSS(e){var t=parse(e),r=compileTemplate(e);return{original:e,template:r,selectors:getSelectors(t),usesCssVars:r.length>1}}function addGlobalStyle(e,t){if(e.some((function(e){return e.styleEl===t})))return!1;var r=parseCSS(t.textContent);return r.styleEl=t,e.push(r),!0}function updateGlobalScopes(e){var t=resolveValues(getSelectorsForScopes(e));e.forEach((function(e){e.usesCssVars&&(e.styleEl.textContent=executeTemplate(e.template,t))}))}function reScope(e,t){var r=e.template.map((function(r){return"string"==typeof r?replaceScope(r,e.scopeId,t):r})),n=e.selectors.map((function(r){return __assign(__assign({},r),{selector:replaceScope(r.selector,e.scopeId,t)})}));return __assign(__assign({},e),{template:r,selectors:n,scopeId:t})}function replaceScope(e,t,r){return e=replaceAll(e,"\\.".concat(t),".".concat(r))}function replaceAll(e,t,r){return e.replace(new RegExp(t,"g"),r)}function loadDocument(e,t){return loadDocumentStyles(e,t),loadDocumentLinks(e,t).then((function(){updateGlobalScopes(t)}))}function startWatcher(e,t){"undefined"!=typeof MutationObserver&&new MutationObserver((function(){loadDocumentStyles(e,t)&&updateGlobalScopes(t)})).observe(document.head,{childList:!0})}function loadDocumentLinks(e,t){for(var r=[],n=e.querySelectorAll('link[rel="stylesheet"][href]:not([data-no-shim])'),s=0;s<n.length;s++)r.push(addGlobalLink(e,t,n[s]));return Promise.all(r)}function loadDocumentStyles(e,t){return Array.from(e.querySelectorAll("style:not([data-styles]):not([data-no-shim])")).map((function(e){return addGlobalStyle(t,e)})).some(Boolean)}function addGlobalLink(e,t,r){var n=r.href;return fetch(n).then((function(e){return e.text()})).then((function(s){if(hasCssVariables(s)&&r.parentNode){hasRelativeUrls(s)&&(s=fixRelativeUrls(s,n));var o=e.createElement("style");o.setAttribute("data-styles",""),o.textContent=s,addGlobalStyle(t,o),r.parentNode.insertBefore(o,r),r.remove()}})).catch((function(e){console.error(e)}))}var CSS_VARIABLE_REGEXP=/[\s;{]--[-a-zA-Z0-9]+\s*:/m;function hasCssVariables(e){return e.indexOf("var(")>-1||CSS_VARIABLE_REGEXP.test(e)}var CSS_URL_REGEXP=/url[\s]*\([\s]*['"]?(?!(?:https?|data)\:|\/)([^\'\"\)]*)[\s]*['"]?\)[\s]*/gim;function hasRelativeUrls(e){return CSS_URL_REGEXP.lastIndex=0,CSS_URL_REGEXP.test(e)}function fixRelativeUrls(e,t){var r=t.replace(/[^/]*$/,"");return e.replace(CSS_URL_REGEXP,(function(e,t){var n=r+t;return e.replace(t,n)}))}var CustomStyle=function(){function e(e,t){this.win=e,this.doc=t,this.count=0,this.hostStyleMap=new WeakMap,this.hostScopeMap=new WeakMap,this.globalScopes=[],this.scopesMap=new Map,this.didInit=!1}return e.prototype.i=function(){var e=this;return this.didInit||!this.win.requestAnimationFrame?Promise.resolve():(this.didInit=!0,new Promise((function(t){e.win.requestAnimationFrame((function(){startWatcher(e.doc,e.globalScopes),loadDocument(e.doc,e.globalScopes).then((function(){return t()}))}))})))},e.prototype.addLink=function(e){var t=this;return addGlobalLink(this.doc,this.globalScopes,e).then((function(){t.updateGlobal()}))},e.prototype.addGlobalStyle=function(e){addGlobalStyle(this.globalScopes,e)&&this.updateGlobal()},e.prototype.createHostStyle=function(e,t,r,n){if(this.hostScopeMap.has(e))throw new Error("host style already created");var s=this.registerHostTemplate(r,t,n),o=this.doc.createElement("style");return o.setAttribute("data-no-shim",""),s.usesCssVars?n?(o["s-sc"]=t="".concat(s.scopeId,"-").concat(this.count),o.textContent="/*needs update*/",this.hostStyleMap.set(e,o),this.hostScopeMap.set(e,reScope(s,t)),this.count++):(s.styleEl=o,s.usesCssVars||(o.textContent=executeTemplate(s.template,{})),this.globalScopes.push(s),this.updateGlobal(),this.hostScopeMap.set(e,s)):o.textContent=r,o},e.prototype.removeHost=function(e){var t=this.hostStyleMap.get(e);t&&t.remove(),this.hostStyleMap.delete(e),this.hostScopeMap.delete(e)},e.prototype.updateHost=function(e){var t=this.hostScopeMap.get(e);if(t&&t.usesCssVars&&t.isScoped){var r=this.hostStyleMap.get(e);if(r){var n=resolveValues(getActiveSelectors(e,this.hostScopeMap,this.globalScopes));r.textContent=executeTemplate(t.template,n)}}},e.prototype.updateGlobal=function(){updateGlobalScopes(this.globalScopes)},e.prototype.registerHostTemplate=function(e,t,r){var n=this.scopesMap.get(t);return n||((n=parseCSS(e)).scopeId=t,n.isScoped=r,this.scopesMap.set(t,n)),n},e}();!function(e){!e||e.__cssshim||e.CSS&&e.CSS.supports&&e.CSS.supports("color","var(--c)")||(e.__cssshim=new CustomStyle(e,e.document))}("undefined"!=typeof window&&window);
|
|
1
|
+
var __assign=this&&this.__assign||function(){return(__assign=Object.assign||function(e){for(var t,r=1,n=arguments.length;r<n;r++)for(var s in t=arguments[r])Object.prototype.hasOwnProperty.call(t,s)&&(e[s]=t[s]);return e}).apply(this,arguments)},StyleNode=function(){this.start=0,this.end=0,this.previous=null,this.parent=null,this.rules=null,this.parsedCssText="",this.cssText="",this.atRule=!1,this.type=0,this.keyframesName="",this.selector="",this.parsedSelector=""};function parse(e){return parseCss(lex(e=clean(e)),e)}function clean(e){return e.replace(RX.comments,"").replace(RX.port,"")}function lex(e){var t=new StyleNode;t.start=0,t.end=e.length;for(var r=t,n=0,s=e.length;n<s;n++)if(e[n]===OPEN_BRACE){r.rules||(r.rules=[]);var o=r,a=o.rules[o.rules.length-1]||null;(r=new StyleNode).start=n+1,r.parent=o,r.previous=a,o.rules.push(r)}else e[n]===CLOSE_BRACE&&(r.end=n+1,r=r.parent||t);return t}function parseCss(e,t){var r=t.substring(e.start,e.end-1);if(e.parsedCssText=e.cssText=r.trim(),e.parent){var n=e.previous?e.previous.end:e.parent.start;r=(r=(r=_expandUnicodeEscapes(r=t.substring(n,e.start-1))).replace(RX.multipleSpaces," ")).substring(r.lastIndexOf(";")+1);var s=e.parsedSelector=e.selector=r.trim();e.atRule=0===s.indexOf(AT_START),e.atRule?0===s.indexOf(MEDIA_START)?e.type=types.MEDIA_RULE:s.match(RX.keyframesRule)&&(e.type=types.KEYFRAMES_RULE,e.keyframesName=e.selector.split(RX.multipleSpaces).pop()):0===s.indexOf(VAR_START)?e.type=types.MIXIN_RULE:e.type=types.STYLE_RULE}var o=e.rules;if(o)for(var a=0,i=o.length,l=void 0;a<i&&(l=o[a]);a++)parseCss(l,t);return e}function _expandUnicodeEscapes(e){return e.replace(/\\([0-9a-f]{1,6})\s/gi,(function(){for(var e=arguments[1],t=6-e.length;t--;)e="0"+e;return"\\"+e}))}var types={STYLE_RULE:1,KEYFRAMES_RULE:7,MEDIA_RULE:4,MIXIN_RULE:1e3},OPEN_BRACE="{",CLOSE_BRACE="}",RX={comments:/\/\*[^*]*\*+([^/*][^*]*\*+)*\//gim,port:/@import[^;]*;/gim,customProp:/(?:^[^;\-\s}]+)?--[^;{}]*?:[^{};]*?(?:[;\n]|$)/gim,mixinProp:/(?:^[^;\-\s}]+)?--[^;{}]*?:[^{};]*?{[^}]*?}(?:[;\n]|$)?/gim,mixinApply:/@apply\s*\(?[^);]*\)?\s*(?:[;\n]|$)?/gim,varApply:/[^;:]*?:[^;]*?var\([^;]*\)(?:[;\n]|$)?/gim,keyframesRule:/^@[^\s]*keyframes/,multipleSpaces:/\s+/g},VAR_START="--",MEDIA_START="@media",AT_START="@",VAR_USAGE_START=/\bvar\(/,VAR_ASSIGN_START=/\B--[\w-]+\s*:/,COMMENTS=/\/\*[^*]*\*+([^/*][^*]*\*+)*\//gim,TRAILING_LINES=/^[\t ]+\n/gm;function findRegex(e,t,r){e.lastIndex=0;var n=t.substring(r).match(e);if(n){var s=r+n.index;return{start:s,end:s+n[0].length}}return null}function resolveVar(e,t,r){return e[t]?e[t]:r?executeTemplate(r,e):""}function findVarEndIndex(e,t){for(var r=0,n=t;n<e.length;n++){var s=e[n];if("("===s)r++;else if(")"===s&&--r<=0)return n+1}return n}function parseVar(e,t){var r=findRegex(VAR_USAGE_START,e,t);if(!r)return null;var n=findVarEndIndex(e,r.start),s=e.substring(r.end,n-1).split(","),o=s[0],a=s.slice(1);return{start:r.start,end:n,propName:o.trim(),fallback:a.length>0?a.join(",").trim():void 0}}function compileVar(e,t,r){var n=parseVar(e,r);if(!n)return t.push(e.substring(r,e.length)),e.length;var s=n.propName,o=null!=n.fallback?compileTemplate(n.fallback):void 0;return t.push(e.substring(r,n.start),(function(e){return resolveVar(e,s,o)})),n.end}function executeTemplate(e,t){for(var r="",n=0;n<e.length;n++){var s=e[n];r+="string"==typeof s?s:s(t)}return r}function findEndValue(e,t){for(var r=!1,n=!1,s=t;s<e.length;s++){var o=e[s];if(r)n&&'"'===o&&(r=!1),n||"'"!==o||(r=!1);else if('"'===o)r=!0,n=!0;else if("'"===o)r=!0,n=!1;else{if(";"===o)return s+1;if("}"===o)return s}}return s}function removeCustomAssigns(e){for(var t="",r=0;;){var n=findRegex(VAR_ASSIGN_START,e,r),s=n?n.start:e.length;if(t+=e.substring(r,s),!n)break;r=findEndValue(e,s)}return t}function compileTemplate(e){var t=0;e=removeCustomAssigns(e=e.replace(COMMENTS,"")).replace(TRAILING_LINES,"");for(var r=[];t<e.length;)t=compileVar(e,r,t);return r}function resolveValues(e){var t={};e.forEach((function(e){e.declarations.forEach((function(e){t[e.prop]=e.value}))}));for(var r={},n=Object.entries(t),s=function(e){var t=!1;if(n.forEach((function(e){var n=e[0],s=executeTemplate(e[1],r);s!==r[n]&&(r[n]=s,t=!0)})),!t)return"break"},o=0;o<10;o++){if("break"===s())break}return r}function getSelectors(e,t){if(void 0===t&&(t=0),!e.rules)return[];var r=[];return e.rules.filter((function(e){return e.type===types.STYLE_RULE})).forEach((function(e){var n=getDeclarations(e.cssText);n.length>0&&e.parsedSelector.split(",").forEach((function(e){e=e.trim(),r.push({selector:e,declarations:n,specificity:computeSpecificity(),nu:t})})),t++})),r}function computeSpecificity(e){return 1}var IMPORTANT="!important",FIND_DECLARATIONS=/(?:^|[;\s{]\s*)(--[\w-]*?)\s*:\s*(?:((?:'(?:\\'|.)*?'|"(?:\\"|.)*?"|\([^)]*?\)|[^};{])+)|\{([^}]*)\}(?:(?=[;\s}])|$))/gm;function getDeclarations(e){for(var t,r=[];t=FIND_DECLARATIONS.exec(e.trim());){var n=normalizeValue(t[2]),s=n.value,o=n.important;r.push({prop:t[1].trim(),value:compileTemplate(s),important:o})}return r}function normalizeValue(e){var t=(e=e.replace(/\s+/gim," ").trim()).endsWith(IMPORTANT);return t&&(e=e.slice(0,e.length-IMPORTANT.length).trim()),{value:e,important:t}}function getActiveSelectors(e,t,r){var n=[],s=getScopesForElement(t,e);return r.forEach((function(e){return n.push(e)})),s.forEach((function(e){return n.push(e)})),sortSelectors(getSelectorsForScopes(n).filter((function(t){return matches(e,t.selector)})))}function getScopesForElement(e,t){for(var r=[];t;){var n=e.get(t);n&&r.push(n),t=t.parentElement}return r}function getSelectorsForScopes(e){var t=[];return e.forEach((function(e){t.push.apply(t,e.selectors)})),t}function sortSelectors(e){return e.sort((function(e,t){return e.specificity===t.specificity?e.nu-t.nu:e.specificity-t.specificity})),e}function matches(e,t){return":root"===t||"html"===t||e.matches(t)}function parseCSS(e){var t=parse(e),r=compileTemplate(e);return{original:e,template:r,selectors:getSelectors(t),usesCssVars:r.length>1}}function addGlobalStyle(e,t){if(e.some((function(e){return e.styleEl===t})))return!1;var r=parseCSS(t.textContent);return r.styleEl=t,e.push(r),!0}function updateGlobalScopes(e){var t=resolveValues(getSelectorsForScopes(e));e.forEach((function(e){e.usesCssVars&&(e.styleEl.textContent=executeTemplate(e.template,t))}))}function reScope(e,t){var r=e.template.map((function(r){return"string"==typeof r?replaceScope(r,e.scopeId,t):r})),n=e.selectors.map((function(r){return __assign(__assign({},r),{selector:replaceScope(r.selector,e.scopeId,t)})}));return __assign(__assign({},e),{template:r,selectors:n,scopeId:t})}function replaceScope(e,t,r){return e=replaceAll(e,"\\.".concat(t),".".concat(r))}function replaceAll(e,t,r){return e.replace(new RegExp(t,"g"),r)}function loadDocument(e,t){return loadDocumentStyles(e,t),loadDocumentLinks(e,t).then((function(){updateGlobalScopes(t)}))}function startWatcher(e,t){"undefined"!=typeof MutationObserver&&new MutationObserver((function(){loadDocumentStyles(e,t)&&updateGlobalScopes(t)})).observe(document.head,{childList:!0})}function loadDocumentLinks(e,t){for(var r=[],n=e.querySelectorAll('link[rel="stylesheet"][href]:not([data-no-shim])'),s=0;s<n.length;s++)r.push(addGlobalLink(e,t,n[s]));return Promise.all(r)}function loadDocumentStyles(e,t){return Array.from(e.querySelectorAll("style:not([data-styles]):not([data-no-shim])")).map((function(e){return addGlobalStyle(t,e)})).some(Boolean)}function addGlobalLink(e,t,r){var n=r.href;return fetch(n).then((function(e){return e.text()})).then((function(s){if(hasCssVariables(s)&&r.parentNode){hasRelativeUrls(s)&&(s=fixRelativeUrls(s,n));var o=e.createElement("style");o.setAttribute("data-styles",""),o.textContent=s,addGlobalStyle(t,o),r.parentNode.insertBefore(o,r),r.remove()}})).catch((function(e){console.error(e)}))}var CSS_VARIABLE_REGEXP=/[\s;{]--[-a-zA-Z0-9]+\s*:/m;function hasCssVariables(e){return e.indexOf("var(")>-1||CSS_VARIABLE_REGEXP.test(e)}var CSS_URL_REGEXP=/url[\s]*\([\s]*['"]?(?!(?:https?|data)\:|\/)([^\'\"\)]*)[\s]*['"]?\)[\s]*/gim;function hasRelativeUrls(e){return CSS_URL_REGEXP.lastIndex=0,CSS_URL_REGEXP.test(e)}function fixRelativeUrls(e,t){var r=t.replace(/[^/]*$/,"");return e.replace(CSS_URL_REGEXP,(function(e,t){var n=r+t;return e.replace(t,n)}))}var CustomStyle=function(){function e(e,t){this.win=e,this.doc=t,this.count=0,this.hostStyleMap=new WeakMap,this.hostScopeMap=new WeakMap,this.globalScopes=[],this.scopesMap=new Map,this.didInit=!1}return e.prototype.i=function(){var e=this;return this.didInit||!this.win.requestAnimationFrame?Promise.resolve():(this.didInit=!0,new Promise((function(t){e.win.requestAnimationFrame((function(){startWatcher(e.doc,e.globalScopes),loadDocument(e.doc,e.globalScopes).then((function(){return t()}))}))})))},e.prototype.addLink=function(e){var t=this;return addGlobalLink(this.doc,this.globalScopes,e).then((function(){t.updateGlobal()}))},e.prototype.addGlobalStyle=function(e){addGlobalStyle(this.globalScopes,e)&&this.updateGlobal()},e.prototype.createHostStyle=function(e,t,r,n){if(this.hostScopeMap.has(e))throw new Error("host style already created");var s=this.registerHostTemplate(r,t,n),o=this.doc.createElement("style");return o.setAttribute("data-no-shim",""),s.usesCssVars?n?(o["s-sc"]=t="".concat(s.scopeId,"-").concat(this.count),o.textContent="/*needs update*/",this.hostStyleMap.set(e,o),this.hostScopeMap.set(e,reScope(s,t)),this.count++):(s.styleEl=o,s.usesCssVars||(o.textContent=executeTemplate(s.template,{})),this.globalScopes.push(s),this.updateGlobal(),this.hostScopeMap.set(e,s)):o.textContent=r,o},e.prototype.removeHost=function(e){var t=this.hostStyleMap.get(e);t&&t.remove(),this.hostStyleMap.delete(e),this.hostScopeMap.delete(e)},e.prototype.updateHost=function(e){var t=this.hostScopeMap.get(e);if(t&&t.usesCssVars&&t.isScoped){var r=this.hostStyleMap.get(e);if(r){var n=resolveValues(getActiveSelectors(e,this.hostScopeMap,this.globalScopes));r.textContent=executeTemplate(t.template,n)}}},e.prototype.updateGlobal=function(){updateGlobalScopes(this.globalScopes)},e.prototype.registerHostTemplate=function(e,t,r){var n=this.scopesMap.get(t);return n||((n=parseCSS(e)).scopeId=t,n.isScoped=r,this.scopesMap.set(t,n)),n},e}();!function(e){!e||e.__cssshim||e.CSS&&e.CSS.supports&&e.CSS.supports("color","var(--c)")||(e.__cssshim=new CustomStyle(e,e.document))}("undefined"!=typeof window&&window);
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
const name = "genesys-spark-components";
|
|
2
|
-
const version = "3.34.
|
|
2
|
+
const version = "3.34.4";
|
|
3
3
|
const description = "Common webcomponents";
|
|
4
4
|
const license = "MIT";
|
|
5
5
|
const main = "dist/stencil-wrapper.js";
|
|
@@ -74,7 +74,7 @@ const devDependencies = {
|
|
|
74
74
|
"@babel/preset-env": "^7.19.3",
|
|
75
75
|
"@commitlint/cli": "^17.1.2",
|
|
76
76
|
"@commitlint/config-conventional": "^17.1.0",
|
|
77
|
-
"@stencil/core": "^2.18.
|
|
77
|
+
"@stencil/core": "^2.18.1",
|
|
78
78
|
"@stencil/less": "^1.0.0",
|
|
79
79
|
"@stencil/react-output-target": "^0.3.1",
|
|
80
80
|
"@stencil/utils": "0.0.5",
|
|
@@ -83,8 +83,8 @@ const devDependencies = {
|
|
|
83
83
|
"@types/puppeteer": "^5.4.6",
|
|
84
84
|
"@types/resize-observer-browser": "^0.1.7",
|
|
85
85
|
"@types/sortablejs": "^1.15.0",
|
|
86
|
-
"@typescript-eslint/eslint-plugin": "^5.
|
|
87
|
-
"@typescript-eslint/parser": "^5.
|
|
86
|
+
"@typescript-eslint/eslint-plugin": "^5.39.0",
|
|
87
|
+
"@typescript-eslint/parser": "^5.39.0",
|
|
88
88
|
"axe-live": "^1.0.1",
|
|
89
89
|
"babel-loader": "^8.2.5",
|
|
90
90
|
commitizen: "^4.2.5",
|