genesys-spark-components 4.115.1 → 4.116.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cjs/genesys-webcomponents.cjs.js +1 -1
- package/dist/cjs/gux-accordion.cjs.entry.js +1 -1
- package/dist/cjs/gux-action-button.cjs.entry.js +1 -1
- package/dist/cjs/gux-action-toast-legacy.cjs.entry.js +1 -1
- package/dist/cjs/gux-advanced-dropdown-legacy.cjs.entry.js +1 -1
- package/dist/cjs/gux-all-row-select.cjs.entry.js +1 -1
- package/dist/cjs/gux-announce-beta.cjs.entry.js +1 -1
- package/dist/cjs/gux-avatar-beta.cjs.entry.js +1 -1
- package/dist/cjs/gux-avatar-change-photo-beta.cjs.entry.js +1 -1
- package/dist/cjs/gux-avatar-group-beta.cjs.entry.js +1 -1
- package/dist/cjs/gux-avatar-group-item-beta.cjs.entry.js +1 -1
- package/dist/cjs/gux-avatar-overflow-beta_2.cjs.entry.js +1 -1
- package/dist/cjs/gux-badge.cjs.entry.js +1 -1
- package/dist/cjs/gux-blank-state.cjs.entry.js +1 -1
- package/dist/cjs/gux-breadcrumbs.cjs.entry.js +1 -1
- package/dist/cjs/gux-button-multi.cjs.entry.js +1 -1
- package/dist/cjs/gux-button-slot.cjs.entry.js +1 -1
- package/dist/cjs/gux-button_2.cjs.entry.js +3 -3
- package/dist/cjs/gux-calendar.cjs.entry.js +1 -1
- package/dist/cjs/gux-card.cjs.entry.js +1 -1
- package/dist/cjs/gux-column-manager.cjs.entry.js +1 -1
- package/dist/cjs/gux-content-search.cjs.entry.js +2 -2
- package/dist/cjs/gux-context-menu.cjs.entry.js +1 -1
- package/dist/cjs/gux-copy-to-clipboard.cjs.entry.js +1 -1
- package/dist/cjs/gux-create-option.cjs.entry.js +2 -2
- package/dist/cjs/gux-date-beta.cjs.entry.js +1 -1
- package/dist/cjs/gux-date-time-beta.cjs.entry.js +1 -1
- package/dist/cjs/gux-datepicker.cjs.entry.js +1 -1
- package/dist/cjs/gux-disclosure-button-legacy.cjs.entry.js +1 -1
- package/dist/cjs/gux-dismiss-button.cjs.entry.js +1 -1
- package/dist/cjs/gux-dropdown-multi.cjs.entry.js +1 -1
- package/dist/cjs/gux-dropdown_3.cjs.entry.js +1 -1
- package/dist/cjs/gux-file-list-item.cjs.entry.js +74 -0
- package/dist/cjs/gux-flag-icon-beta.cjs.entry.js +1 -1
- package/dist/cjs/gux-flyout-menu.cjs.entry.js +1 -1
- package/dist/cjs/gux-form-field-checkbox-group-beta.cjs.entry.js +1 -1
- package/dist/cjs/gux-form-field-checkbox.cjs.entry.js +1 -1
- package/dist/cjs/gux-form-field-color.cjs.entry.js +2 -2
- package/dist/cjs/gux-form-field-dropdown.cjs.entry.js +2 -2
- package/dist/cjs/gux-form-field-file-beta.cjs.entry.js +234 -0
- package/dist/cjs/gux-form-field-file.cjs.entry.js +2 -2
- package/dist/cjs/gux-form-field-input-clear-button.cjs.entry.js +2 -2
- package/dist/cjs/gux-form-field-label-indicator.cjs.entry.js +1 -1
- package/dist/cjs/gux-form-field-number_2.cjs.entry.js +9 -9
- package/dist/cjs/gux-form-field-phone.cjs.entry.js +6 -6
- package/dist/cjs/gux-form-field-radio-group-beta.cjs.entry.js +3 -3
- package/dist/cjs/gux-form-field-radio.cjs.entry.js +3 -3
- package/dist/cjs/gux-form-field-range.cjs.entry.js +4 -4
- 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 +2 -2
- package/dist/cjs/gux-form-field-textarea.cjs.entry.js +4 -4
- package/dist/cjs/gux-form-field-time-picker.cjs.entry.js +6 -6
- package/dist/cjs/gux-form-field-time-zone-picker.cjs.entry.js +5 -5
- package/dist/cjs/gux-form-footer.cjs.entry.js +1 -1
- package/dist/cjs/gux-icon-tooltip-beta.cjs.entry.js +1 -1
- package/dist/cjs/gux-icon.cjs.entry.js +2 -2
- package/dist/cjs/gux-inline-alert.cjs.entry.js +3 -3
- package/dist/cjs/gux-label-info-beta.cjs.entry.js +1 -1
- package/dist/cjs/gux-link-beta.cjs.entry.js +1 -1
- package/dist/cjs/gux-list.cjs.entry.js +1 -1
- package/dist/cjs/gux-listbox-multi.cjs.entry.js +2 -2
- package/dist/cjs/gux-loading-message.cjs.entry.js +2 -2
- package/dist/cjs/gux-modal-legacy.cjs.entry.js +1 -1
- package/dist/cjs/gux-modal-side-panel-beta.cjs.entry.js +1 -1
- package/dist/cjs/gux-modal.cjs.entry.js +2 -2
- package/dist/cjs/gux-month-picker-beta.cjs.entry.js +1 -1
- package/dist/cjs/gux-notification-toast-legacy.cjs.entry.js +1 -1
- package/dist/cjs/gux-page-loading-spinner.cjs.entry.js +2 -2
- package/dist/cjs/gux-pagination-buttons_2.cjs.entry.js +3 -3
- package/dist/cjs/gux-pagination-cursor.cjs.entry.js +1 -1
- package/dist/cjs/gux-pagination-items-per-page.cjs.entry.js +1 -1
- package/dist/cjs/gux-pagination-legacy.cjs.entry.js +1 -1
- package/dist/cjs/gux-pagination.cjs.entry.js +2 -2
- package/dist/cjs/gux-phone-input-beta.cjs.entry.js +1 -1
- package/dist/cjs/gux-popover-beta.cjs.entry.js +1 -1
- package/dist/cjs/gux-popover-list-beta.cjs.entry.js +1 -1
- package/dist/cjs/gux-popover-list.cjs.entry.js +3 -3
- package/dist/cjs/gux-popup.cjs.entry.js +3 -3
- package/dist/cjs/gux-radial-loading.cjs.entry.js +2 -2
- package/dist/cjs/gux-radial-progress.cjs.entry.js +1 -1
- package/dist/cjs/gux-rating.cjs.entry.js +2 -2
- package/dist/cjs/gux-rich-highlight-list-item.cjs.entry.js +1 -1
- package/dist/cjs/gux-rich-style-list-item.cjs.entry.js +1 -1
- package/dist/cjs/gux-rich-text-editor-action-link.cjs.entry.js +1 -1
- package/dist/cjs/gux-rich-text-editor-action-rich-style.cjs.entry.js +1 -1
- package/dist/cjs/gux-rich-text-editor-action-text-highlight.cjs.entry.js +1 -1
- package/dist/cjs/gux-rich-text-editor-action.cjs.entry.js +1 -1
- package/dist/cjs/gux-rich-text-editor-list.cjs.entry.js +1 -1
- package/dist/cjs/gux-row-select.cjs.entry.js +2 -2
- package/dist/cjs/gux-screen-reader-beta.cjs.entry.js +1 -1
- package/dist/cjs/gux-segmented-control-beta.cjs.entry.js +1 -1
- package/dist/cjs/gux-selector-card-beta.cjs.entry.js +1 -1
- package/dist/cjs/gux-selector-cards-beta.cjs.entry.js +1 -1
- package/dist/cjs/gux-side-panel-beta.cjs.entry.js +1 -1
- package/dist/cjs/gux-side-panel-heading.cjs.entry.js +1 -1
- package/dist/cjs/gux-simple-toast-legacy.cjs.entry.js +1 -1
- package/dist/cjs/gux-skip-navigation-item.cjs.entry.js +1 -1
- package/dist/cjs/gux-skip-navigation-list.cjs.entry.js +2 -2
- package/dist/cjs/gux-sort-control.cjs.entry.js +4 -4
- package/dist/cjs/gux-switch-legacy.cjs.entry.js +1 -1
- package/dist/cjs/gux-tab-advanced-list.cjs.entry.js +4 -4
- package/dist/cjs/gux-tab-advanced-panel.cjs.entry.js +1 -1
- package/dist/cjs/gux-tab-advanced.cjs.entry.js +3 -3
- package/dist/cjs/gux-tab-list.cjs.entry.js +2 -2
- package/dist/cjs/gux-tab-panel.cjs.entry.js +1 -1
- package/dist/cjs/gux-tab.cjs.entry.js +2 -2
- package/dist/cjs/gux-table-select-menu.cjs.entry.js +1 -1
- package/dist/cjs/gux-table-toolbar-action.cjs.entry.js +2 -2
- package/dist/cjs/gux-table-toolbar-custom-action.cjs.entry.js +2 -2
- package/dist/cjs/gux-table-toolbar-menu-button.cjs.entry.js +2 -2
- package/dist/cjs/gux-table-toolbar.cjs.entry.js +3 -3
- package/dist/cjs/gux-table.cjs.entry.js +2 -2
- package/dist/cjs/gux-tabs-advanced.cjs.entry.js +2 -2
- package/dist/cjs/gux-tabs.cjs.entry.js +2 -2
- package/dist/cjs/gux-tag.cjs.entry.js +2 -2
- package/dist/cjs/gux-text-highlight.cjs.entry.js +1 -1
- package/dist/cjs/gux-time-beta.cjs.entry.js +1 -1
- package/dist/cjs/gux-time-picker.cjs.entry.js +2 -2
- package/dist/cjs/gux-time-zone-beta.cjs.entry.js +1 -1
- package/dist/cjs/gux-time-zone-picker-beta.cjs.entry.js +1 -1
- package/dist/cjs/gux-toast.cjs.entry.js +3 -3
- package/dist/cjs/gux-toggle-slider.cjs.entry.js +2 -2
- package/dist/cjs/gux-toggle.cjs.entry.js +3 -3
- package/dist/cjs/gux-tooltip-base-beta_2.cjs.entry.js +1 -1
- package/dist/cjs/gux-tooltip-title.cjs.entry.js +2 -2
- package/dist/cjs/{gux-tooltip.cjs.entry.js → gux-tooltip_2.cjs.entry.js} +84 -3
- package/dist/cjs/index-2dd05ef3.js +24 -20
- package/dist/cjs/loader.cjs.js +1 -1
- package/dist/cjs/{on-attribute-change-321d434b.js → on-attribute-change-a9f44523.js} +12 -0
- package/dist/cjs/{usage-e9f2212c.js → usage-8174e7ca.js} +1 -1
- package/dist/collection/collection-manifest.json +2 -0
- package/dist/collection/components/stable/gux-form-field/components/gux-form-field-file-beta/components/gux-file-list-item/gux-file-list-item.css +66 -0
- package/dist/collection/components/stable/gux-form-field/components/gux-form-field-file-beta/components/gux-file-list-item/gux-file-list-item.js +153 -0
- package/dist/collection/components/stable/gux-form-field/components/gux-form-field-file-beta/gux-form-field-file.css +159 -0
- package/dist/collection/components/stable/gux-form-field/components/gux-form-field-file-beta/gux-form-field-file.js +296 -0
- package/dist/collection/components/stable/gux-form-field/components/gux-form-field-number/gux-form-field-number.js +3 -3
- package/dist/collection/components/stable/gux-form-field/components/gux-form-field-phone/gux-form-field-phone.js +4 -4
- package/dist/collection/components/stable/gux-form-field/components/gux-form-field-radio/gux-form-field-radio.js +2 -2
- package/dist/collection/components/stable/gux-form-field/components/gux-form-field-radio-group/gux-form-field-radio-group.js +2 -2
- package/dist/collection/components/stable/gux-form-field/components/gux-form-field-range/gux-form-field-range.js +2 -2
- package/dist/collection/components/stable/gux-form-field/components/gux-form-field-search/gux-form-field-search.js +3 -3
- package/dist/collection/components/stable/gux-form-field/components/gux-form-field-select/gux-form-field-select.js +3 -3
- package/dist/collection/components/stable/gux-form-field/components/gux-form-field-textarea/gux-form-field-textarea.js +2 -2
- package/dist/collection/components/stable/gux-form-field/components/gux-form-field-time-picker/gux-form-field-time-picker.js +4 -4
- package/dist/collection/components/stable/gux-form-field/components/gux-form-field-time-zone-picker/gux-form-field-time-zone-picker.js +3 -3
- package/dist/collection/components/stable/gux-form-field/helper-components/gux-form-field-input-clear-button/gux-form-field-input-clear-button.js +1 -1
- package/dist/collection/components/stable/gux-icon/gux-icon.js +1 -1
- package/dist/collection/components/stable/gux-inline-alert/gux-inline-alert.js +2 -2
- package/dist/collection/components/stable/gux-listbox-multi/gux-create-option/gux-create-option.js +2 -2
- package/dist/collection/components/stable/gux-listbox-multi/gux-listbox-multi.css +1 -1
- package/dist/collection/components/stable/gux-loading-message/gux-loading-message.js +1 -1
- package/dist/collection/components/stable/gux-modal/gux-modal.js +1 -1
- package/dist/collection/components/stable/gux-page-loading-spinner/gux-page-loading-spinner.js +1 -1
- package/dist/collection/components/stable/gux-pagination/gux-pagination-buttons/gux-pagination-buttons.js +1 -1
- package/dist/collection/components/stable/gux-pagination/gux-pagination-buttons/gux-pagination-ellipsis-button/gux-pagination-ellipsis-button.js +4 -4
- package/dist/collection/components/stable/gux-pagination/gux-pagination-item-counts/gux-pagination-item-counts.js +2 -2
- package/dist/collection/components/stable/gux-pagination/gux-pagination-items-per-page/gux-pagination-items-per-page.js +1 -1
- package/dist/collection/components/stable/gux-pagination/gux-pagination.js +1 -1
- package/dist/collection/components/stable/gux-popover/gux-popover.js +2 -2
- package/dist/collection/components/stable/gux-popover-list/gux-popover-list.js +2 -2
- package/dist/collection/components/stable/gux-popup/gux-popup.js +3 -3
- package/dist/collection/components/stable/gux-radial-loading/gux-radial-loading.js +1 -1
- package/dist/collection/components/stable/gux-rating/gux-rating.js +1 -1
- package/dist/collection/components/stable/gux-skip-navigation-list/gux-skip-navigation-item/gux-skip-navigation-item.js +1 -1
- package/dist/collection/components/stable/gux-skip-navigation-list/gux-skip-navigation-list.js +1 -1
- package/dist/collection/components/stable/gux-table/gux-all-row-select/gux-all-row-select.js +1 -1
- package/dist/collection/components/stable/gux-table/gux-row-select/gux-row-select.js +2 -2
- package/dist/collection/components/stable/gux-table/gux-sort-control/gux-sort-control.js +3 -3
- package/dist/collection/components/stable/gux-table/gux-table-select-menu/gux-table-select-menu.js +1 -1
- package/dist/collection/components/stable/gux-table/gux-table.js +1 -1
- package/dist/collection/components/stable/gux-table-toolbar/gux-table-toolbar-action/gux-table-toolbar-action.js +1 -1
- package/dist/collection/components/stable/gux-table-toolbar/gux-table-toolbar-custom-action/gux-table-toolbar-custom-action.js +1 -1
- package/dist/collection/components/stable/gux-table-toolbar/gux-table-toolbar-menu-button/gux-table-toolbar-menu-button.js +1 -1
- package/dist/collection/components/stable/gux-table-toolbar/gux-table-toolbar.js +2 -2
- package/dist/collection/components/stable/gux-tabs/gux-tab/gux-tab.js +2 -2
- package/dist/collection/components/stable/gux-tabs/gux-tab-list/gux-tab-list.js +2 -2
- package/dist/collection/components/stable/gux-tabs/gux-tab-panel/gux-tab-panel.js +1 -1
- package/dist/collection/components/stable/gux-tabs/gux-tabs.js +1 -1
- package/dist/collection/components/stable/gux-tabs-advanced/gux-tab-advanced/gux-tab-advanced.css +5 -0
- package/dist/collection/components/stable/gux-tabs-advanced/gux-tab-advanced/gux-tab-advanced.js +2 -2
- package/dist/collection/components/stable/gux-tabs-advanced/gux-tab-advanced-list/gux-tab-advanced-list.css +10 -1
- package/dist/collection/components/stable/gux-tabs-advanced/gux-tab-advanced-list/gux-tab-advanced-list.js +3 -3
- package/dist/collection/components/stable/gux-tabs-advanced/gux-tab-advanced-panel/gux-tab-advanced-panel.js +1 -1
- package/dist/collection/components/stable/gux-tabs-advanced/gux-tabs-advanced.js +1 -1
- package/dist/collection/components/stable/gux-tag/gux-tag.js +1 -1
- package/dist/collection/components/stable/gux-time-picker/gux-time-picker.js +1 -1
- package/dist/collection/components/stable/gux-toast/gux-toast.js +2 -2
- package/dist/collection/components/stable/gux-toggle/gux-toggle-slider/gux-toggle-slider.js +2 -2
- package/dist/collection/components/stable/gux-toggle/gux-toggle.js +2 -2
- package/dist/collection/components/stable/gux-tooltip/gux-tooltip.js +2 -2
- package/dist/collection/components/stable/gux-tooltip-title/gux-tooltip-title.js +2 -2
- package/dist/collection/components/stable/gux-truncate/gux-truncate.js +3 -3
- package/dist/collection/utils/dom/on-attribute-change.js +11 -0
- package/dist/esm/genesys-webcomponents.js +1 -1
- package/dist/esm/gux-accordion.entry.js +1 -1
- package/dist/esm/gux-action-button.entry.js +1 -1
- package/dist/esm/gux-action-toast-legacy.entry.js +1 -1
- package/dist/esm/gux-advanced-dropdown-legacy.entry.js +1 -1
- package/dist/esm/gux-all-row-select.entry.js +1 -1
- package/dist/esm/gux-announce-beta.entry.js +1 -1
- package/dist/esm/gux-avatar-beta.entry.js +1 -1
- package/dist/esm/gux-avatar-change-photo-beta.entry.js +1 -1
- package/dist/esm/gux-avatar-group-beta.entry.js +1 -1
- package/dist/esm/gux-avatar-group-item-beta.entry.js +1 -1
- package/dist/esm/gux-avatar-overflow-beta_2.entry.js +1 -1
- package/dist/esm/gux-badge.entry.js +1 -1
- package/dist/esm/gux-blank-state.entry.js +1 -1
- package/dist/esm/gux-breadcrumbs.entry.js +1 -1
- package/dist/esm/gux-button-multi.entry.js +1 -1
- package/dist/esm/gux-button-slot.entry.js +1 -1
- package/dist/esm/gux-button_2.entry.js +3 -3
- package/dist/esm/gux-calendar.entry.js +1 -1
- package/dist/esm/gux-card.entry.js +1 -1
- package/dist/esm/gux-column-manager.entry.js +1 -1
- package/dist/esm/gux-content-search.entry.js +2 -2
- package/dist/esm/gux-context-menu.entry.js +1 -1
- package/dist/esm/gux-copy-to-clipboard.entry.js +1 -1
- package/dist/esm/gux-create-option.entry.js +2 -2
- package/dist/esm/gux-date-beta.entry.js +1 -1
- package/dist/esm/gux-date-time-beta.entry.js +1 -1
- package/dist/esm/gux-datepicker.entry.js +1 -1
- package/dist/esm/gux-disclosure-button-legacy.entry.js +1 -1
- package/dist/esm/gux-dismiss-button.entry.js +1 -1
- package/dist/esm/gux-dropdown-multi.entry.js +1 -1
- package/dist/esm/gux-dropdown_3.entry.js +1 -1
- package/dist/esm/gux-file-list-item.entry.js +70 -0
- package/dist/esm/gux-flag-icon-beta.entry.js +1 -1
- package/dist/esm/gux-flyout-menu.entry.js +1 -1
- package/dist/esm/gux-form-field-checkbox-group-beta.entry.js +1 -1
- package/dist/esm/gux-form-field-checkbox.entry.js +1 -1
- package/dist/esm/gux-form-field-color.entry.js +2 -2
- package/dist/esm/gux-form-field-dropdown.entry.js +2 -2
- package/dist/esm/gux-form-field-file-beta.entry.js +230 -0
- package/dist/esm/gux-form-field-file.entry.js +2 -2
- package/dist/esm/gux-form-field-input-clear-button.entry.js +2 -2
- package/dist/esm/gux-form-field-label-indicator.entry.js +1 -1
- package/dist/esm/gux-form-field-number_2.entry.js +9 -9
- package/dist/esm/gux-form-field-phone.entry.js +6 -6
- package/dist/esm/gux-form-field-radio-group-beta.entry.js +3 -3
- package/dist/esm/gux-form-field-radio.entry.js +3 -3
- package/dist/esm/gux-form-field-range.entry.js +4 -4
- 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 +2 -2
- package/dist/esm/gux-form-field-textarea.entry.js +4 -4
- package/dist/esm/gux-form-field-time-picker.entry.js +6 -6
- package/dist/esm/gux-form-field-time-zone-picker.entry.js +5 -5
- package/dist/esm/gux-form-footer.entry.js +1 -1
- package/dist/esm/gux-icon-tooltip-beta.entry.js +1 -1
- package/dist/esm/gux-icon.entry.js +2 -2
- package/dist/esm/gux-inline-alert.entry.js +3 -3
- package/dist/esm/gux-label-info-beta.entry.js +1 -1
- package/dist/esm/gux-link-beta.entry.js +1 -1
- package/dist/esm/gux-list.entry.js +1 -1
- package/dist/esm/gux-listbox-multi.entry.js +2 -2
- package/dist/esm/gux-loading-message.entry.js +2 -2
- package/dist/esm/gux-modal-legacy.entry.js +1 -1
- package/dist/esm/gux-modal-side-panel-beta.entry.js +1 -1
- package/dist/esm/gux-modal.entry.js +2 -2
- package/dist/esm/gux-month-picker-beta.entry.js +1 -1
- package/dist/esm/gux-notification-toast-legacy.entry.js +1 -1
- package/dist/esm/gux-page-loading-spinner.entry.js +2 -2
- package/dist/esm/gux-pagination-buttons_2.entry.js +3 -3
- package/dist/esm/gux-pagination-cursor.entry.js +1 -1
- package/dist/esm/gux-pagination-items-per-page.entry.js +1 -1
- package/dist/esm/gux-pagination-legacy.entry.js +1 -1
- package/dist/esm/gux-pagination.entry.js +2 -2
- package/dist/esm/gux-phone-input-beta.entry.js +1 -1
- package/dist/esm/gux-popover-beta.entry.js +1 -1
- package/dist/esm/gux-popover-list-beta.entry.js +1 -1
- package/dist/esm/gux-popover-list.entry.js +3 -3
- package/dist/esm/gux-popup.entry.js +3 -3
- package/dist/esm/gux-radial-loading.entry.js +2 -2
- package/dist/esm/gux-radial-progress.entry.js +1 -1
- package/dist/esm/gux-rating.entry.js +2 -2
- package/dist/esm/gux-rich-highlight-list-item.entry.js +1 -1
- package/dist/esm/gux-rich-style-list-item.entry.js +1 -1
- package/dist/esm/gux-rich-text-editor-action-link.entry.js +1 -1
- package/dist/esm/gux-rich-text-editor-action-rich-style.entry.js +1 -1
- package/dist/esm/gux-rich-text-editor-action-text-highlight.entry.js +1 -1
- package/dist/esm/gux-rich-text-editor-action.entry.js +1 -1
- package/dist/esm/gux-rich-text-editor-list.entry.js +1 -1
- package/dist/esm/gux-row-select.entry.js +2 -2
- package/dist/esm/gux-screen-reader-beta.entry.js +1 -1
- package/dist/esm/gux-segmented-control-beta.entry.js +1 -1
- package/dist/esm/gux-selector-card-beta.entry.js +1 -1
- package/dist/esm/gux-selector-cards-beta.entry.js +1 -1
- package/dist/esm/gux-side-panel-beta.entry.js +1 -1
- package/dist/esm/gux-side-panel-heading.entry.js +1 -1
- package/dist/esm/gux-simple-toast-legacy.entry.js +1 -1
- package/dist/esm/gux-skip-navigation-item.entry.js +1 -1
- package/dist/esm/gux-skip-navigation-list.entry.js +2 -2
- package/dist/esm/gux-sort-control.entry.js +4 -4
- package/dist/esm/gux-switch-legacy.entry.js +1 -1
- package/dist/esm/gux-tab-advanced-list.entry.js +4 -4
- package/dist/esm/gux-tab-advanced-panel.entry.js +1 -1
- package/dist/esm/gux-tab-advanced.entry.js +3 -3
- package/dist/esm/gux-tab-list.entry.js +2 -2
- package/dist/esm/gux-tab-panel.entry.js +1 -1
- package/dist/esm/gux-tab.entry.js +2 -2
- package/dist/esm/gux-table-select-menu.entry.js +1 -1
- package/dist/esm/gux-table-toolbar-action.entry.js +2 -2
- package/dist/esm/gux-table-toolbar-custom-action.entry.js +2 -2
- package/dist/esm/gux-table-toolbar-menu-button.entry.js +2 -2
- package/dist/esm/gux-table-toolbar.entry.js +3 -3
- package/dist/esm/gux-table.entry.js +2 -2
- package/dist/esm/gux-tabs-advanced.entry.js +2 -2
- package/dist/esm/gux-tabs.entry.js +2 -2
- package/dist/esm/gux-tag.entry.js +2 -2
- package/dist/esm/gux-text-highlight.entry.js +1 -1
- package/dist/esm/gux-time-beta.entry.js +1 -1
- package/dist/esm/gux-time-picker.entry.js +2 -2
- package/dist/esm/gux-time-zone-beta.entry.js +1 -1
- package/dist/esm/gux-time-zone-picker-beta.entry.js +1 -1
- package/dist/esm/gux-toast.entry.js +3 -3
- package/dist/esm/gux-toggle-slider.entry.js +2 -2
- package/dist/esm/gux-toggle.entry.js +3 -3
- package/dist/esm/gux-tooltip-base-beta_2.entry.js +1 -1
- package/dist/esm/gux-tooltip-title.entry.js +2 -2
- package/dist/esm/{gux-tooltip.entry.js → gux-tooltip_2.entry.js} +85 -5
- package/dist/esm/index-feb7be20.js +24 -20
- package/dist/esm/loader.js +1 -1
- package/dist/esm/{on-attribute-change-f42eabee.js → on-attribute-change-33919964.js} +12 -1
- package/dist/esm/{usage-9c330580.js → usage-a89a5576.js} +1 -1
- package/dist/genesys-webcomponents/genesys-webcomponents.esm.js +1 -1
- package/dist/genesys-webcomponents/i18n/genesys-webcomponents.i18n.en.json +1 -1
- package/dist/genesys-webcomponents/{p-66645e5c.entry.js → p-00a526a9.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-5c58be88.entry.js → p-0132420c.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-16d31feb.entry.js → p-0410d3f7.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-e7cf6c6d.entry.js → p-057259e9.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-8cf7c686.entry.js → p-0580a273.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-dcc4fd5f.entry.js → p-06581119.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-4f362e88.js → p-0740e2df.js} +1 -1
- package/dist/genesys-webcomponents/{p-11253567.entry.js → p-0a10e2e9.entry.js} +1 -1
- package/dist/genesys-webcomponents/p-0b47480d.entry.js +1 -0
- package/dist/genesys-webcomponents/{p-96f5d164.entry.js → p-0b7b8102.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-c5d5e5bd.entry.js → p-0cb49eb4.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-c9d9a6b6.entry.js → p-174515eb.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-a43e0510.entry.js → p-1988f7e6.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-6a6236a2.entry.js → p-1b869ebd.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-6b26aef0.entry.js → p-1da678af.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-387905bb.entry.js → p-1f2cf80e.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-40daa702.entry.js → p-20e49335.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-fb2e15f5.entry.js → p-2101c83e.entry.js} +1 -1
- package/dist/genesys-webcomponents/p-22579915.entry.js +1 -0
- package/dist/genesys-webcomponents/{p-00757986.entry.js → p-229dc149.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-89ae91f1.entry.js → p-22c770b5.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-53f8fb9c.entry.js → p-26b46ece.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-83f99839.entry.js → p-2971f4e3.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-085b223b.entry.js → p-2e151cf0.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-cdd09836.entry.js → p-308c0605.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-3bcaf358.entry.js → p-3c6428a1.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-dd7be042.entry.js → p-3d5516ca.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-527eaeda.entry.js → p-4232be88.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-e1c24516.entry.js → p-432f4ab6.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-2dfd02ff.entry.js → p-4365f6cd.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-856928e1.entry.js → p-44069e34.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-5a53955e.entry.js → p-451cb16f.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-04e3c81a.entry.js → p-45d02ea7.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-162ff53e.entry.js → p-4a08ebff.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-028c5630.entry.js → p-4b140665.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-f2c85451.entry.js → p-4dfc6b6e.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-68f329b8.entry.js → p-4edda537.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-eed957f6.entry.js → p-4f114773.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-a3da8a2d.entry.js → p-4f51ab8d.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-14579d6d.entry.js → p-5289a9c8.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-544633db.entry.js → p-542eaf93.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-d3912e19.entry.js → p-59ac101f.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-c448e6d2.entry.js → p-5ab7c677.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-4200fb31.entry.js → p-602d476d.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-dbc7abfb.entry.js → p-63f7a0ff.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-21ee2e71.entry.js → p-65f9e3e8.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-724e155b.entry.js → p-66b4cc5e.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-9c02a360.entry.js → p-676ef058.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-ef4db655.entry.js → p-68350918.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-54f0f30d.entry.js → p-68ead306.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-c8c39016.entry.js → p-6a0dbd20.entry.js} +1 -1
- package/dist/genesys-webcomponents/p-6b12dd16.js +1 -0
- package/dist/genesys-webcomponents/p-71f111a3.entry.js +1 -0
- package/dist/genesys-webcomponents/{p-8c3fc3e0.entry.js → p-74effd2b.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-e71768a0.entry.js → p-7550a634.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-9bbb057f.entry.js → p-75b81271.entry.js} +1 -1
- package/dist/genesys-webcomponents/p-75dc5903.entry.js +1 -0
- package/dist/genesys-webcomponents/{p-64791f10.entry.js → p-760328b2.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-b1a44b54.entry.js → p-7715617b.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-63bfd1fa.entry.js → p-7848d54a.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-069f2fe2.entry.js → p-7aff2af6.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-9a12e6e3.entry.js → p-7b0f7f8e.entry.js} +1 -1
- package/dist/genesys-webcomponents/p-7e30698b.entry.js +1 -0
- package/dist/genesys-webcomponents/{p-5d251ef1.entry.js → p-7f3117f2.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-ae7388b9.entry.js → p-80a85831.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-c67267ed.entry.js → p-8256823a.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-9e70db3b.entry.js → p-86b3738c.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-3aa566e0.entry.js → p-86ec0e75.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-a9b2a651.entry.js → p-89cf828c.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-336d443a.entry.js → p-8a52859e.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-d5b15a1d.entry.js → p-8aaf25f6.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-73e6ab30.entry.js → p-8e0714f2.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-fc0be42d.entry.js → p-8e5766e5.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-2d930b2b.entry.js → p-8f8cc358.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-f333506d.entry.js → p-8fd3bf3f.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-bed8151a.entry.js → p-933290a9.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-98deb610.entry.js → p-9795ff8e.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-ab3a109e.entry.js → p-991c0c6c.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-8051ad60.entry.js → p-9dee006b.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-1b0e854d.entry.js → p-9e8a7451.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-7e24081f.entry.js → p-a01b5fe1.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-be8a9af0.entry.js → p-a894ae4a.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-df273ab8.entry.js → p-abd12365.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-dbe8e5ae.entry.js → p-ade05f70.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-1e79d2a8.entry.js → p-af98a983.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-6edebe6b.entry.js → p-b267726e.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-5256b27c.entry.js → p-b32ff839.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-d118c83a.entry.js → p-b60d4ee6.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-12d08ca8.entry.js → p-bbebe84a.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-6aaf185d.entry.js → p-be273318.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-c5bd2bd4.entry.js → p-c02e7527.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-7046c178.entry.js → p-c4964fc5.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-dc3580c6.entry.js → p-c4cb0f72.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-5039353e.entry.js → p-c77f56c2.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-b9c92fbb.entry.js → p-c798886e.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-fcaa82b7.entry.js → p-c83e7951.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-2f0f8e48.entry.js → p-c8cb2d1e.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-f23667e9.entry.js → p-cc1e1fc9.entry.js} +1 -1
- package/dist/genesys-webcomponents/p-cc2608c2.entry.js +1 -0
- package/dist/genesys-webcomponents/{p-4f1759d5.entry.js → p-cd03c105.entry.js} +1 -1
- package/dist/genesys-webcomponents/p-d17a454b.entry.js +1 -0
- package/dist/genesys-webcomponents/{p-a64fc44d.entry.js → p-d8f620af.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-1ef901bf.entry.js → p-da1f252b.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-8dfae62c.entry.js → p-da81b340.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-d5bcd405.entry.js → p-ddd4c68f.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-ac44c7e6.entry.js → p-def997a0.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-4099213f.entry.js → p-e06dd2a0.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-e12e6140.entry.js → p-e0a6cb94.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-21a6fe30.entry.js → p-e355f7f2.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-14a6dd0f.entry.js → p-e465738e.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-a598a1c2.entry.js → p-e551ffeb.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-c331bd68.entry.js → p-e5e516e9.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-85dcd3da.entry.js → p-eabc1fc9.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-75bf1516.entry.js → p-eafaef87.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-f2fc635a.entry.js → p-eb491f79.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-47733161.entry.js → p-ecc71b98.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-50ee8b09.entry.js → p-efbe10ff.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-cc386a21.entry.js → p-f0655420.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-3c71b54c.entry.js → p-f1839727.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-1e3d99b5.entry.js → p-f4400cba.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-7485e1ef.entry.js → p-f4a5a754.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-2fd41f66.entry.js → p-f5314df3.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-5e250c17.entry.js → p-f59fdfdf.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-aa18eb74.entry.js → p-f63f6abd.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-4e075626.entry.js → p-f6f92b11.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-624f26b2.entry.js → p-f9b076ec.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-87e9bf31.entry.js → p-fa9bcc28.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-0d4b33a8.entry.js → p-fe64e567.entry.js} +1 -1
- package/dist/stencil-wrapper.js +1 -1
- package/dist/types/components/stable/gux-form-field/components/gux-form-field-file-beta/components/gux-file-list-item/gux-file-list-item.d.ts +15 -0
- package/dist/types/components/stable/gux-form-field/components/gux-form-field-file-beta/gux-form-field-file.d.ts +49 -0
- package/dist/types/components.d.ts +60 -0
- package/dist/types/stencil-wrapper.d.ts +1 -1
- package/dist/types/utils/dom/on-attribute-change.d.ts +1 -0
- package/package.json +1 -1
- package/dist/cjs/gux-truncate.cjs.entry.js +0 -87
- package/dist/esm/gux-truncate.entry.js +0 -83
- package/dist/genesys-webcomponents/p-149ed4f3.entry.js +0 -1
- package/dist/genesys-webcomponents/p-2ecdc52f.entry.js +0 -1
- package/dist/genesys-webcomponents/p-48dcd676.entry.js +0 -1
- package/dist/genesys-webcomponents/p-64aff8dd.entry.js +0 -1
- package/dist/genesys-webcomponents/p-e5b1cffc.js +0 -1
- package/dist/genesys-webcomponents/p-eca569d4.entry.js +0 -1
- package/dist/genesys-webcomponents/p-fc49b13a.entry.js +0 -1
@@ -0,0 +1,230 @@
|
|
1
|
+
import { r as registerInstance, h, f as forceUpdate, g as getElement } from './index-feb7be20.js';
|
2
|
+
import { b as buildI18nForComponent } from './index-6fa3d266.js';
|
3
|
+
import { O as OnMutation } from './on-mutation-0160ea8e.js';
|
4
|
+
import { h as hasSlot } from './has-slot-f24a46a6.js';
|
5
|
+
import { t as trackComponent } from './usage-a89a5576.js';
|
6
|
+
import { G as GuxFormFieldHelp, a as GuxFormFieldError } from './gux-form-field-error-453cd4f0.js';
|
7
|
+
import { G as GuxFormFieldLabel, a as GuxFormFieldContainer } from './gux-form-field-container-3b76ab09.js';
|
8
|
+
import { g as getSlottedInput, v as validateFormIds } from './gux-form-field.service-173b5dfc.js';
|
9
|
+
import { p as preventBrowserValidationStyling } from './prevent-browser-validation-styling-3983eb0a.js';
|
10
|
+
import { a as onDisabledChange, o as onRequiredChange, b as onMultipleChange } from './on-attribute-change-33919964.js';
|
11
|
+
import { s as simulateNativeEvent } from './simulate-native-event-e0631897.js';
|
12
|
+
import './get-closest-element-728b9f18.js';
|
13
|
+
import './random-html-id-81ac821b.js';
|
14
|
+
import './log-error-274efeb7.js';
|
15
|
+
|
16
|
+
const uploadFile = "Upload file";
|
17
|
+
const uploadFiles = "Upload files";
|
18
|
+
const changeFile = "Change file";
|
19
|
+
const changeFiles = "Change files";
|
20
|
+
const clickToUpload = "Click to upload";
|
21
|
+
const dragAndDropFileInstructions = "Drag and drop a file here or";
|
22
|
+
const dragAndDropFilesInstructions = "Drag and drop files here or";
|
23
|
+
const componentResources = {
|
24
|
+
uploadFile: uploadFile,
|
25
|
+
uploadFiles: uploadFiles,
|
26
|
+
changeFile: changeFile,
|
27
|
+
changeFiles: changeFiles,
|
28
|
+
clickToUpload: clickToUpload,
|
29
|
+
dragAndDropFileInstructions: dragAndDropFileInstructions,
|
30
|
+
dragAndDropFilesInstructions: dragAndDropFilesInstructions
|
31
|
+
};
|
32
|
+
|
33
|
+
const guxFormFieldFileCss = ".gux-form-field-container.gux-beside{display:flex;flex-direction:row}.gux-form-field-error{display:none;flex-direction:row;flex-wrap:nowrap;gap:var(--gse-ui-formControl-helper-gap);place-content:stretch flex-start;padding:var(--gse-ui-formControl-helper-errorPadding);font-family:var(--gse-ui-formControl-helper-helperText-fontFamily);font-size:var(--gse-ui-formControl-helper-helperText-fontSize);line-height:var(--gse-ui-formControl-helper-helperText-lineHeight);color:var(--gse-ui-formControl-helper-errorColor)}.gux-form-field-error.gux-show{display:flex}.gux-form-field-error gux-icon{flex:0 1 auto;order:0;min-inline-size:var(--gse-ui-icon-small-size);min-block-size:var(--gse-ui-icon-small-size);color:var(--gse-ui-formControl-helper-errorColor)}.gux-form-field-error .gux-message{flex:0 1 auto;align-self:auto;order:0}.gux-form-field-label{display:inline-flex;flex:1 0 auto}.gux-form-field-label ::slotted(gux-label-info-beta){padding-inline-start:var(--gse-ui-formControl-formField-gap)}.gux-form-field-label.gux-beside{position:relative;inset-block-start:var(--gse-ui-formControl-input-top);inline-size:fit-content;min-inline-size:var(--gse-ui-formControl-input-textfield-minWidth);max-inline-size:fit-content;margin-inline-end:var(--gse-ui-formControl-group-gapItems)}.gux-form-field-label.gux-above{padding-block-end:var(--gse-ui-formControl-formField-gap)}.gux-form-field-label.gux-screenreader{position:absolute;top:auto;left:-10000px;width:1px;height:1px;overflow:hidden}.gux-form-field-help{display:none;flex-direction:row;flex-wrap:nowrap;place-content:stretch flex-start;align-items:flex-start;justify-content:flex-start;padding-block-start:var(--gse-ui-formControl-formField-gap);font-family:var(--gse-ui-formControl-helper-helperText-fontFamily);font-size:var(--gse-ui-formControl-helper-helperText-fontSize);line-height:var(--gse-ui-formControl-helper-helperText-lineHeight);color:var(--gse-ui-formControl-helper-defaultColor)}.gux-form-field-help.gux-show{display:flex}.gux-form-field-help .gux-message{flex:0 1 auto;align-self:none;order:0}:host{display:block}::slotted(label){font-family:var(--gse-ui-formControl-label-textBold-fontFamily);font-size:var(--gse-ui-formControl-label-textBold-fontSize);font-weight:var(--gse-ui-formControl-label-textBold-fontWeight);line-height:var(--gse-ui-formControl-label-textBold-lineHeight);color:var(--gse-ui-formControl-label-labelColor)}.gux-input-and-error-container{flex-grow:1}.gux-drop-container{box-sizing:border-box;display:flex;flex-direction:column;flex-wrap:nowrap;gap:var(--gse-ui-fileUpload-dragDrop-btnText-gap);margin-block:var(--gse-ui-fileUpload-mainContainer-gap);margin-inline:0;font-family:var(--gse-ui-fileUpload-dragAndDrop-dropZone-text-fontFamily);font-size:var(--gse-ui-fileUpload-dragAndDrop-dropZone-text-fontSize);font-weight:var(--gse-ui-fileUpload-dragAndDrop-dropZone-text-fontWeight);line-height:var(--gse-ui-fileUpload-dragAndDrop-dropZone-text-lineHeight);color:var(--gse-ui-fileUpload-dragAndDrop-dropZoneText-color)}.gux-drop-container.gux-drop-zone{place-content:stretch center;align-items:center;min-block-size:var(--gse-ui-fileUpload-dragAndDrop-dropZone-minHeight);padding:20px;border:var(--gse-ui-fileUpload-dragAndDrop-dropZone-default-border-width) var(--gse-ui-fileUpload-dragAndDrop-dropZone-default-border-style) var(--gse-ui-fileUpload-dragAndDrop-dropZone-default-border-color);border-radius:var(--gse-ui-fileUpload-dropZone-borderRadius)}.gux-drop-container.gux-drop-zone.gux-drag-over:not(.gux-disabled){background-color:var(--gse-ui-fileUpload-dragAndDrop-dropZone-background-active);border:var(--gse-ui-fileUpload-dragAndDrop-dropZone-active-border-width) var(--gse-ui-fileUpload-dragAndDrop-dropZone-active-border-style) var(--gse-ui-fileUpload-dragAndDrop-dropZone-active-border-color)}.gux-drop-container.gux-drop-zone.gux-disabled{border-color:rgba(0, 0, 64, 0.2509803922)}.gux-drop-container.gux-drop-zone.gux-disabled .gux-drag-and-drop-text{opacity:0.5}.gux-offscreen{position:absolute;top:auto;left:-10000px;width:1px;height:1px;overflow:hidden}.gux-proxy-button{inline-size:fit-content;border-radius:var(--gse-ui-button-borderRadius)}.gux-proxy-button:focus-within{outline:var(--gse-semantic-focusOutline-md-borderWidth) solid var(--gse-semantic-border-focus);outline-offset:var(--gse-semantic-focusOutline-offset)}.gux-file-list{display:flex;flex-direction:column;gap:var(--gse-ui-fileUpload-fileCard-cardGroup-gap);inline-size:100%}";
|
34
|
+
const GuxFormFieldFileBetaStyle0 = guxFormFieldFileCss;
|
35
|
+
|
36
|
+
var __decorate = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {
|
37
|
+
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
38
|
+
if (typeof Reflect === "object" && typeof Reflect.decorate === "function")
|
39
|
+
r = Reflect.decorate(decorators, target, key, desc);
|
40
|
+
else
|
41
|
+
for (var i = decorators.length - 1; i >= 0; i--)
|
42
|
+
if (d = decorators[i])
|
43
|
+
r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
44
|
+
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
45
|
+
};
|
46
|
+
const GuxFormFieldFileBeta = class {
|
47
|
+
constructor(hostRef) {
|
48
|
+
registerInstance(this, hostRef);
|
49
|
+
this.indicatorMark = 'required';
|
50
|
+
this.dragAndDrop = false;
|
51
|
+
this.disabled = false;
|
52
|
+
this.hasError = false;
|
53
|
+
this.hasHelp = false;
|
54
|
+
this.required = false;
|
55
|
+
}
|
56
|
+
onMutation() {
|
57
|
+
this.labelInfo = this.root.querySelector('[slot=label-info]');
|
58
|
+
this.hasError = hasSlot(this.root, 'error');
|
59
|
+
this.hasHelp = hasSlot(this.root, 'help');
|
60
|
+
}
|
61
|
+
handleKeyup(event) {
|
62
|
+
var _a, _b;
|
63
|
+
switch (event.key) {
|
64
|
+
case 'Tab': {
|
65
|
+
if (this.input.matches(':focus-visible')) {
|
66
|
+
void ((_a = this.labelInfo) === null || _a === void 0 ? void 0 : _a.showTooltip());
|
67
|
+
this.hideLabelInfoTimeout = setTimeout(() => {
|
68
|
+
var _a;
|
69
|
+
void ((_a = this.labelInfo) === null || _a === void 0 ? void 0 : _a.hideTooltip());
|
70
|
+
}, 6000);
|
71
|
+
}
|
72
|
+
break;
|
73
|
+
}
|
74
|
+
default: {
|
75
|
+
if (this.input.matches(':focus-visible')) {
|
76
|
+
void ((_b = this.labelInfo) === null || _b === void 0 ? void 0 : _b.hideTooltip());
|
77
|
+
clearTimeout(this.hideLabelInfoTimeout);
|
78
|
+
}
|
79
|
+
break;
|
80
|
+
}
|
81
|
+
}
|
82
|
+
}
|
83
|
+
onFocusout() {
|
84
|
+
var _a;
|
85
|
+
void ((_a = this.labelInfo) === null || _a === void 0 ? void 0 : _a.hideTooltip());
|
86
|
+
clearTimeout(this.hideLabelInfoTimeout);
|
87
|
+
}
|
88
|
+
onGuxRemoveFile(event) {
|
89
|
+
this.removeFile(event.detail);
|
90
|
+
}
|
91
|
+
async componentWillLoad() {
|
92
|
+
this.getI18nValue = await buildI18nForComponent(this.root, componentResources);
|
93
|
+
this.setInput();
|
94
|
+
this.hasError = hasSlot(this.root, 'error');
|
95
|
+
this.hasHelp = hasSlot(this.root, 'help');
|
96
|
+
this.labelInfo = this.root.querySelector('[slot=label-info]');
|
97
|
+
trackComponent(this.root);
|
98
|
+
}
|
99
|
+
disconnectedCallback() {
|
100
|
+
var _a, _b, _c;
|
101
|
+
(_a = this.disabledObserver) === null || _a === void 0 ? void 0 : _a.disconnect();
|
102
|
+
(_b = this.requiredObserver) === null || _b === void 0 ? void 0 : _b.disconnect();
|
103
|
+
(_c = this.multipleObserver) === null || _c === void 0 ? void 0 : _c.disconnect();
|
104
|
+
}
|
105
|
+
render() {
|
106
|
+
return (h(GuxFormFieldContainer, { key: '00c36efa4405c0b5a91f862cb01ec2b8a71046ec', labelPosition: "above" }, h(GuxFormFieldLabel, { key: '70256247ed84be23f88ae9bb38c49269b171ccf8', position: "above", required: this.required }, h("slot", { key: 'd533077057b2e9ba5a7d93db92227b370ca01958', name: "label" }), h("gux-form-field-label-indicator", { key: 'e97db53e8a57d4788e362145ead6edf1d06c6856', variant: this.indicatorMark, required: this.required }), h("slot", { key: '3404533998a709fe4de78b3d4acaf769892ae6a0', name: "label-info" })), h("div", { key: 'a76911d55098f00f1d3ad972aab42d9a4670328f', class: "gux-input-and-error-container" }, h(GuxFormFieldHelp, { key: '97d13f4d962563a6128a18f06d70b5adc830d0ee', show: this.hasHelp }, h("slot", { key: '15db9f5259d63b803cf34cb8d82974e79f2c7328', name: "help" })), this.renderInputSlot(), this.renderFileList(), h(GuxFormFieldError, { key: '7160af25b00b911a46598cc694c27abf9cddef9f', show: this.hasError }, h("slot", { key: '9cad5228cefbff40f83f7a3657927421d64900ee', name: "error" })))));
|
107
|
+
}
|
108
|
+
setInput() {
|
109
|
+
this.input = getSlottedInput(this.root, 'input[type="file"][slot="input"]');
|
110
|
+
this.input.addEventListener('input', () => {
|
111
|
+
forceUpdate(this.root);
|
112
|
+
});
|
113
|
+
preventBrowserValidationStyling(this.input);
|
114
|
+
this.disabled = this.input.disabled;
|
115
|
+
this.required = this.input.required;
|
116
|
+
this.disabledObserver = onDisabledChange(this.input, (disabled) => {
|
117
|
+
this.disabled = disabled;
|
118
|
+
});
|
119
|
+
this.requiredObserver = onRequiredChange(this.input, (required) => {
|
120
|
+
this.required = required;
|
121
|
+
});
|
122
|
+
this.multipleObserver = onMultipleChange(this.input, () => {
|
123
|
+
forceUpdate(this.root);
|
124
|
+
});
|
125
|
+
validateFormIds(this.root, this.input);
|
126
|
+
}
|
127
|
+
getDropZoneText() {
|
128
|
+
if (this.input.multiple) {
|
129
|
+
return this.getI18nValue('dragAndDropFilesInstructions');
|
130
|
+
}
|
131
|
+
else {
|
132
|
+
return this.getI18nValue('dragAndDropFileInstructions');
|
133
|
+
}
|
134
|
+
}
|
135
|
+
getProxyButtonText() {
|
136
|
+
if (this.dragAndDrop) {
|
137
|
+
return this.getI18nValue('clickToUpload');
|
138
|
+
}
|
139
|
+
else if (this.input.multiple) {
|
140
|
+
if (this.input.files.length > 0) {
|
141
|
+
return this.getI18nValue('changeFiles');
|
142
|
+
}
|
143
|
+
return this.getI18nValue('uploadFiles');
|
144
|
+
}
|
145
|
+
else {
|
146
|
+
if (this.input.files.length > 0) {
|
147
|
+
return this.getI18nValue('changeFile');
|
148
|
+
}
|
149
|
+
return this.getI18nValue('uploadFile');
|
150
|
+
}
|
151
|
+
}
|
152
|
+
removeFile(index) {
|
153
|
+
const fileList = this.input.files;
|
154
|
+
const dt = new DataTransfer();
|
155
|
+
for (let i = 0; i < fileList.length; i++) {
|
156
|
+
if (index !== i) {
|
157
|
+
dt.items.add(fileList[i]);
|
158
|
+
}
|
159
|
+
}
|
160
|
+
this.modifyInputFiles(dt.files);
|
161
|
+
}
|
162
|
+
modifyInputFiles(files) {
|
163
|
+
this.input.files = files;
|
164
|
+
simulateNativeEvent(this.root, 'input');
|
165
|
+
simulateNativeEvent(this.root, 'change');
|
166
|
+
forceUpdate(this.root);
|
167
|
+
}
|
168
|
+
onProxyFileButtonClick(event) {
|
169
|
+
event.preventDefault();
|
170
|
+
event.stopImmediatePropagation();
|
171
|
+
this.input.focus();
|
172
|
+
this.input.click();
|
173
|
+
}
|
174
|
+
onDrop(event) {
|
175
|
+
event.preventDefault();
|
176
|
+
event.stopPropagation();
|
177
|
+
if (this.disabled) {
|
178
|
+
return;
|
179
|
+
}
|
180
|
+
const currentFileList = this.input.files;
|
181
|
+
const newFileList = event.dataTransfer.items;
|
182
|
+
const dt = new DataTransfer();
|
183
|
+
for (let i = 0; i < currentFileList.length; i++) {
|
184
|
+
dt.items.add(currentFileList[i]);
|
185
|
+
}
|
186
|
+
for (let i = 0; i < newFileList.length; i++) {
|
187
|
+
const item = newFileList[i];
|
188
|
+
if (item.kind === 'file' && item.webkitGetAsEntry().isFile) {
|
189
|
+
dt.items.add(item.getAsFile());
|
190
|
+
}
|
191
|
+
}
|
192
|
+
this.dropContainer.classList.remove('gux-drag-over');
|
193
|
+
this.modifyInputFiles(dt.files);
|
194
|
+
}
|
195
|
+
onDragOver(event) {
|
196
|
+
event.preventDefault();
|
197
|
+
event.stopPropagation();
|
198
|
+
if (!this.disabled) {
|
199
|
+
this.dropContainer.classList.add('gux-drag-over');
|
200
|
+
}
|
201
|
+
}
|
202
|
+
onDragLeave(event) {
|
203
|
+
event.preventDefault();
|
204
|
+
event.stopPropagation();
|
205
|
+
this.dropContainer.classList.remove('gux-drag-over');
|
206
|
+
}
|
207
|
+
renderFileList() {
|
208
|
+
const files = Array.from(this.input.files || new DataTransfer().files);
|
209
|
+
if (files.length === 0) {
|
210
|
+
return null;
|
211
|
+
}
|
212
|
+
return (h("div", { class: "gux-file-list" }, files.map((file, index) => {
|
213
|
+
return (h("slot", { name: `file-${index}` }, h("gux-file-list-item", { name: file.name, index: index, disabled: this.disabled })));
|
214
|
+
})));
|
215
|
+
}
|
216
|
+
renderInputSlot() {
|
217
|
+
return (h("div", { ref: el => (this.dropContainer = el), class: {
|
218
|
+
'gux-drop-container': true,
|
219
|
+
'gux-drop-zone': this.dragAndDrop,
|
220
|
+
'gux-disabled': this.disabled
|
221
|
+
}, onDrop: event => this.onDrop(event), onDragOver: event => this.onDragOver(event), onDragEnter: event => this.onDragOver(event), onDragLeave: event => this.onDragLeave(event) }, this.dragAndDrop && (h("div", { class: "gux-drag-and-drop-text" }, this.getDropZoneText())), h("div", { class: "gux-proxy-button" }, h("gux-button-slot", { accent: "tertiary" }, h("button", { tabIndex: -1, type: "button", disabled: this.disabled, onClick: e => this.onProxyFileButtonClick(e) }, h("div", null, this.getProxyButtonText()))), h("div", { class: "gux-offscreen" }, h("slot", { name: "input", onSlotchange: () => this.setInput() })))));
|
222
|
+
}
|
223
|
+
get root() { return getElement(this); }
|
224
|
+
};
|
225
|
+
__decorate([
|
226
|
+
OnMutation({ childList: true, subtree: true })
|
227
|
+
], GuxFormFieldFileBeta.prototype, "onMutation", null);
|
228
|
+
GuxFormFieldFileBeta.style = GuxFormFieldFileBetaStyle0;
|
229
|
+
|
230
|
+
export { GuxFormFieldFileBeta as gux_form_field_file_beta };
|
@@ -1,12 +1,12 @@
|
|
1
1
|
import { r as registerInstance, h, g as getElement } from './index-feb7be20.js';
|
2
2
|
import { O as OnMutation } from './on-mutation-0160ea8e.js';
|
3
3
|
import { h as hasSlot } from './has-slot-f24a46a6.js';
|
4
|
-
import { t as trackComponent } from './usage-
|
4
|
+
import { t as trackComponent } from './usage-a89a5576.js';
|
5
5
|
import { a as GuxFormFieldError, G as GuxFormFieldHelp } from './gux-form-field-error-453cd4f0.js';
|
6
6
|
import { G as GuxFormFieldLabel, a as GuxFormFieldContainer } from './gux-form-field-container-3b76ab09.js';
|
7
7
|
import { a as getComputedLabelPosition, g as getSlottedInput, v as validateFormIds } from './gux-form-field.service-173b5dfc.js';
|
8
8
|
import { p as preventBrowserValidationStyling } from './prevent-browser-validation-styling-3983eb0a.js';
|
9
|
-
import { o as onRequiredChange } from './on-attribute-change-
|
9
|
+
import { o as onRequiredChange } from './on-attribute-change-33919964.js';
|
10
10
|
import './random-html-id-81ac821b.js';
|
11
11
|
import './log-error-274efeb7.js';
|
12
12
|
import './simulate-native-event-e0631897.js';
|
@@ -1,5 +1,5 @@
|
|
1
1
|
import { r as registerInstance, h, g as getElement } from './index-feb7be20.js';
|
2
|
-
import { t as trackComponent } from './usage-
|
2
|
+
import { t as trackComponent } from './usage-a89a5576.js';
|
3
3
|
import { b as buildI18nForComponent } from './index-6fa3d266.js';
|
4
4
|
import './get-closest-element-728b9f18.js';
|
5
5
|
|
@@ -20,7 +20,7 @@ const GuxFormFieldInputClearButton = class {
|
|
20
20
|
this.i18n = await buildI18nForComponent(this.root, translationResources);
|
21
21
|
}
|
22
22
|
render() {
|
23
|
-
return (h("button", { key: '
|
23
|
+
return (h("button", { key: '6e86e3de8c890587307feea9fb87fcf126e61b2c', tabIndex: -1, type: "button", title: this.i18n('clear') }, h("gux-icon", { key: 'd46f7ad0760b695fb26cce1d1db27f0c7674c58c', "icon-name": "fa/xmark-large-regular", decorative: true })));
|
24
24
|
}
|
25
25
|
static get delegatesFocus() { return true; }
|
26
26
|
get root() { return getElement(this); }
|
@@ -1,5 +1,5 @@
|
|
1
1
|
import { r as registerInstance, h, g as getElement } from './index-feb7be20.js';
|
2
|
-
import { t as trackComponent } from './usage-
|
2
|
+
import { t as trackComponent } from './usage-a89a5576.js';
|
3
3
|
import { b as buildI18nForComponent } from './index-6fa3d266.js';
|
4
4
|
import './get-closest-element-728b9f18.js';
|
5
5
|
|
@@ -2,14 +2,14 @@ import { r as registerInstance, f as forceUpdate, h, g as getElement, c as creat
|
|
2
2
|
import { b as buildI18nForComponent } from './index-6fa3d266.js';
|
3
3
|
import { c as calculateInputDisabledState, o as onInputDisabledStateChange } from './on-input-disabled-state-change-27395154.js';
|
4
4
|
import { O as OnMutation } from './on-mutation-0160ea8e.js';
|
5
|
-
import { o as onRequiredChange } from './on-attribute-change-
|
5
|
+
import { o as onRequiredChange } from './on-attribute-change-33919964.js';
|
6
6
|
import { p as preventBrowserValidationStyling } from './prevent-browser-validation-styling-3983eb0a.js';
|
7
7
|
import { h as hasContent, c as clearInput, g as getSlottedInput, v as validateFormIds, a as getComputedLabelPosition, d as setInputValue } from './gux-form-field.service-173b5dfc.js';
|
8
8
|
import { s as simulateNativeEvent } from './simulate-native-event-e0631897.js';
|
9
9
|
import { h as hasSlot } from './has-slot-f24a46a6.js';
|
10
10
|
import { a as GuxFormFieldError, G as GuxFormFieldHelp } from './gux-form-field-error-453cd4f0.js';
|
11
11
|
import { G as GuxFormFieldLabel, a as GuxFormFieldContainer } from './gux-form-field-container-3b76ab09.js';
|
12
|
-
import { t as trackComponent } from './usage-
|
12
|
+
import { t as trackComponent } from './usage-a89a5576.js';
|
13
13
|
import { f as focusInputElement } from './focus-input-element-8a137b12.js';
|
14
14
|
import { t as translationResources } from './en-25a315a0.js';
|
15
15
|
import { O as OnClickOutside } from './on-click-outside-4688e1f9.js';
|
@@ -109,14 +109,14 @@ const GuxFormFieldNumber = class {
|
|
109
109
|
}
|
110
110
|
render() {
|
111
111
|
const showClearButton = this.clearable && this.hasContent && !this.disabled;
|
112
|
-
return (h(GuxFormFieldContainer, { key: '
|
112
|
+
return (h(GuxFormFieldContainer, { key: 'ac43d3e00fd5df500e494d87e7324698acd4e0d3', labelPosition: this.computedLabelPosition }, h(GuxFormFieldLabel, { key: '97ba50cd5cea0ea57ed638b4abbf0b6edf9d193f', required: this.required, position: this.computedLabelPosition }, h("slot", { key: '584c04853deedafd0cdd8621defeca51fef4cc5d', name: "label", onSlotchange: () => this.setLabel() }), h("gux-form-field-label-indicator", { key: 'b4e9f91216e8a327a0e25f9dc8ae65a1f3e3e02a', variant: this.indicatorMark, required: this.required }), h("slot", { key: 'b011385f1fbaf8f825fab9a67f477ce20a42392a', name: "label-info" })), h("div", { key: '6ae1d9c9007f0cb6058aed17887e4d42260b7e65', class: "gux-input-and-error-container" }, h("div", { key: '5d41e8f121ac8272a0475d11e0d8b97a3b5fcdd3', class: {
|
113
113
|
'gux-input': true,
|
114
114
|
'gux-input-error': this.hasError
|
115
|
-
}, part: "input-section" }, h("div", { key: '
|
115
|
+
}, part: "input-section" }, h("div", { key: '44320059d441eca83c239358cfe0a87f1fa413e9', class: {
|
116
116
|
'gux-input-container': true,
|
117
117
|
'gux-disabled': this.disabled,
|
118
118
|
'gux-clear': showClearButton
|
119
|
-
}, onClick: () => focusInputElement(this.input) }, h("slot", { key: '
|
119
|
+
}, onClick: () => focusInputElement(this.input) }, h("slot", { key: 'bfc922e0c92a8827fa06e1f58a17a69c94a5a20b', name: "input", onSlotchange: () => this.setInput() }), showClearButton && (h("gux-form-field-input-clear-button", { key: '7e124f97a6e4f71882cb7ecf2696d6fa78ea9793', onClick: () => clearInput(this.input) }))), this.renderStepButtons(this.input, this.getI18nValue, this.disabled)), h(GuxFormFieldError, { key: '983f0c0a61491972c37a1bdf96852da45374296a', show: this.hasError }, h("slot", { key: '681c52116a4f3f38a122528f55026889decec2c2', name: "error" })), h(GuxFormFieldHelp, { key: '8c85f169d647fe851ad214cf7bd6c5d516f45798', show: !this.hasError && this.hasHelp }, h("slot", { key: 'b8ad7cfa8e5ddd3655118905fc4877dbd5bd88db', name: "help" })))));
|
120
120
|
}
|
121
121
|
get variant() {
|
122
122
|
const labelPositionVariant = this.labelPosition
|
@@ -277,10 +277,10 @@ const GuxPaginationEllipsisButton = class {
|
|
277
277
|
}
|
278
278
|
render() {
|
279
279
|
return [
|
280
|
-
h("gux-button", { key: '
|
281
|
-
h("gux-tooltip", { key: '
|
282
|
-
h("gux-popover", { key: '
|
283
|
-
evt.preventDefault() }), h("label", { key: '
|
280
|
+
h("gux-button", { key: '7765d2c90e47d168ba2f2492370bef18e1b224bc', accent: "ghost", id: "popover-target", type: "button", disabled: this.disabled, ref: el => (this.ellipsisButton = el), onClick: () => this.toggle(), "aria-haspopup": "true", "aria-expanded": this.isOpen.toString() }, h("gux-icon", { key: '440dba63e9b2f979e05eb2729b5f33c25222c0bf', screenreaderText: this.i18n('goToPage'), "icon-name": "fa/ellipsis-regular" })),
|
281
|
+
h("gux-tooltip", { key: 'f6ac963dd5cd96f312712e56bb38660f5ddc722d', for: "popover-target" }, h("div", { key: '47749ce9824722e918a637e35d8db9cc57fb312d', slot: "content" }, this.i18n('goToPage'))),
|
282
|
+
h("gux-popover", { key: '374abe1f13942da30b986fbcaf2061e487451dc6', "is-open": this.isOpen, for: "popover-target" }, h("span", { key: '2029e8e45a2504954c688e1cdfb21d450f196e55', slot: "title" }, this.i18n('goToPage')), h("gux-form-field-number", { key: '5ea400bc7fd9068f2f295c27fb5c610fc9608f77' }, h("input", { key: '8aeca3c756bff9228548e431eb177947067509fb', slot: "input", type: "number", ref: el => (this.inputElement = el), min: "1", max: this.totalPages, value: "1", onKeyDown: evt => ['e', 'E', '+', '-', '.'].includes(evt.key) &&
|
283
|
+
evt.preventDefault() }), h("label", { key: '9413e3e0f566b9193700aa1ceec1ad969441c830', slot: "label" })))
|
284
284
|
];
|
285
285
|
}
|
286
286
|
get root() { return getElement(this); }
|
@@ -1,8 +1,8 @@
|
|
1
1
|
import { r as registerInstance, h, g as getElement } from './index-feb7be20.js';
|
2
2
|
import { b as buildI18nForComponent } from './index-6fa3d266.js';
|
3
3
|
import { O as OnMutation } from './on-mutation-0160ea8e.js';
|
4
|
-
import { a as onDisabledChange, o as onRequiredChange } from './on-attribute-change-
|
5
|
-
import { t as trackComponent } from './usage-
|
4
|
+
import { a as onDisabledChange, o as onRequiredChange } from './on-attribute-change-33919964.js';
|
5
|
+
import { t as trackComponent } from './usage-a89a5576.js';
|
6
6
|
import { a as GuxFormFieldError, G as GuxFormFieldHelp } from './gux-form-field-error-453cd4f0.js';
|
7
7
|
import { G as GuxFormFieldVisualLabel, a as GuxFormFieldScreenreaderLabel, b as GuxFormFieldFieldsetContainer } from './gux-form-field-fieldset-container-6b73f582.js';
|
8
8
|
import { h as hasSlot } from './has-slot-f24a46a6.js';
|
@@ -98,14 +98,14 @@ const GuxFormFieldPhone = class {
|
|
98
98
|
}
|
99
99
|
render() {
|
100
100
|
var _a;
|
101
|
-
return (h(GuxFormFieldFieldsetContainer, { key: '
|
102
|
-
_a.textContent, this.renderText(this.getI18nValue('required'), this.required), this.renderText(getSlotTextContent(this.root, 'error'), this.hasError), this.renderText(getSlotTextContent(this.root, 'label-info'), this.hasLabelInfo)), h(GuxFormFieldVisualLabel, { key: '
|
101
|
+
return (h(GuxFormFieldFieldsetContainer, { key: 'c93531f34fd250f1eb87a3648985015bb8c47c28', labelPosition: this.computedLabelPosition }, h(GuxFormFieldScreenreaderLabel, { key: 'a91c9df2dc59a24499b5a180251f9dfbb4967a09' }, (_a = this.label) === null || _a === void 0 ? void 0 :
|
102
|
+
_a.textContent, this.renderText(this.getI18nValue('required'), this.required), this.renderText(getSlotTextContent(this.root, 'error'), this.hasError), this.renderText(getSlotTextContent(this.root, 'label-info'), this.hasLabelInfo)), h(GuxFormFieldVisualLabel, { key: '35480b4f84ecb8f1d75c728280e2aa4954678d20', position: this.computedLabelPosition, required: this.required }, h("slot", { key: '88e910a85326f24d17a9d3238ed152de4f07794d', name: "label", onSlotchange: () => this.setLabel() }), h("gux-form-field-label-indicator", { key: '633fa98eeb2b3be9d31316ff0a8583e67a2f9b27', variant: this.indicatorMark, required: this.required }), h("slot", { key: '97505c8a83c10c7a235b6b847ff2a6d71a401be2', name: "label-info" })), h("div", { key: '4dda89cb69f96b795f394f6507e0f9df9a169d6a', class: "gux-input-and-error-container" }, h("div", { key: 'f20777a0d251c8c18686ea3d8a7be3c0fa514d43', class: {
|
103
103
|
'gux-input': true,
|
104
104
|
'gux-input-error': this.hasError
|
105
|
-
} }, h("div", { key: '
|
105
|
+
} }, h("div", { key: 'e70478460b99c1810436761d1a7ee9b83fe158db', class: {
|
106
106
|
'gux-input-container': true,
|
107
107
|
'gux-disabled': this.disabled
|
108
|
-
} }, h("slot", { key: '
|
108
|
+
} }, h("slot", { key: '7a663e8dcf1eefdd1568e0e81baff975360c50c0' }))), h(GuxFormFieldError, { key: 'bf3c57ac3b1fcfe7ba368b3a3ff81ef125a62a24', show: this.hasError }, h("slot", { key: 'a0678cc8d2900f3c46ae748009f6c4950cbf73db', name: "error" })), h(GuxFormFieldHelp, { key: '309a6b11b3e6cd88711a561d17d6788699426ffc', show: !this.hasError && this.hasHelp }, h("slot", { key: 'bc3114fdf65b8d052004896c30f816973dc2af2d', name: "help" })))));
|
109
109
|
}
|
110
110
|
renderText(text, condition = false) {
|
111
111
|
if (condition) {
|
@@ -5,7 +5,7 @@ import { b as buildI18nForComponent } from './index-6fa3d266.js';
|
|
5
5
|
import { G as GuxFormFieldHelp, a as GuxFormFieldError } from './gux-form-field-error-453cd4f0.js';
|
6
6
|
import { G as GuxFormFieldVisualLabel, a as GuxFormFieldScreenreaderLabel, b as GuxFormFieldFieldsetContainer } from './gux-form-field-fieldset-container-6b73f582.js';
|
7
7
|
import { g as getSlotTextContent } from './get-slot-text-content-95a85429.js';
|
8
|
-
import { t as trackComponent } from './usage-
|
8
|
+
import { t as trackComponent } from './usage-a89a5576.js';
|
9
9
|
import './get-closest-element-728b9f18.js';
|
10
10
|
|
11
11
|
const required = "Required";
|
@@ -109,8 +109,8 @@ const GuxFormFieldRadioGroupBeta = class {
|
|
109
109
|
}
|
110
110
|
render() {
|
111
111
|
var _a;
|
112
|
-
return (h(GuxFormFieldFieldsetContainer, { key: '
|
113
|
-
_a.textContent, this.renderText(this.getI18nValue('required'), this.required), this.renderText(getSlotTextContent(this.root, 'group-error'), this.hasGroupError), this.renderText(getSlotTextContent(this.root, 'group-help'), this.hasGroupHelp), this.renderText(getSlotTextContent(this.root, 'group-label-info'), this.hasGroupLabelInfo)), h(GuxFormFieldVisualLabel, { key: '
|
112
|
+
return (h(GuxFormFieldFieldsetContainer, { key: 'c7d14a27a6f4c2695e9c04de9403db6899b727f2', labelPosition: "above", disabled: this.disabled }, h(GuxFormFieldScreenreaderLabel, { key: '3fced6220650dce263ff4c6225e8f858e3ade718' }, (_a = this.label) === null || _a === void 0 ? void 0 :
|
113
|
+
_a.textContent, this.renderText(this.getI18nValue('required'), this.required), this.renderText(getSlotTextContent(this.root, 'group-error'), this.hasGroupError), this.renderText(getSlotTextContent(this.root, 'group-help'), this.hasGroupHelp), this.renderText(getSlotTextContent(this.root, 'group-label-info'), this.hasGroupLabelInfo)), h(GuxFormFieldVisualLabel, { key: '5b7fc368bf6b1f793816e7f2c2b0ccb6ec0a70c4', position: "above", required: this.required }, h("slot", { key: '2b0cba5e51e8ae3c34313c587b03d22223d801b6', name: "group-label", onSlotchange: () => this.setLabel() }), h("gux-form-field-label-indicator", { key: '5bb4b22f9dc73924b01b70a636e1337945ff3090', variant: this.indicatorMark, required: this.required }), h("slot", { key: 'de06c0f5e0e94d84726cfb7acb1bff3e095d7b2b', name: "group-label-info" })), h("slot", { key: 'cb0850aab6e295d74abb35cfaa3f31b09e104de0' }), h(GuxFormFieldError, { key: 'f22cb70df0e5b738278176f79f70384d09c3d6bf', show: this.hasGroupError }, h("slot", { key: '4116b53dcbd33c54e8e272a5dee2f1ebea89f5d2', name: "group-error" })), h(GuxFormFieldHelp, { key: '97b2cf259a1c983819dc124bf3bc876a9ab271e8', show: !this.hasGroupError && this.hasGroupHelp }, h("slot", { key: '398190b7d563d24b5db92c21f97f2c3aafb0666c', name: "group-help" }))));
|
114
114
|
}
|
115
115
|
setLabel() {
|
116
116
|
this.label = this.root.querySelector('label[slot="group-label"]');
|
@@ -5,7 +5,7 @@ import { p as preventBrowserValidationStyling } from './prevent-browser-validati
|
|
5
5
|
import { h as hasSlot } from './has-slot-f24a46a6.js';
|
6
6
|
import { a as GuxFormFieldError, G as GuxFormFieldHelp } from './gux-form-field-error-453cd4f0.js';
|
7
7
|
import { g as getSlottedInput, v as validateFormIds } from './gux-form-field.service-173b5dfc.js';
|
8
|
-
import { t as trackComponent } from './usage-
|
8
|
+
import { t as trackComponent } from './usage-a89a5576.js';
|
9
9
|
import './random-html-id-81ac821b.js';
|
10
10
|
import './log-error-274efeb7.js';
|
11
11
|
import './simulate-native-event-e0631897.js';
|
@@ -48,10 +48,10 @@ const GuxFormFieldRadio = class {
|
|
48
48
|
}
|
49
49
|
}
|
50
50
|
render() {
|
51
|
-
return (h(Host, { key: '
|
51
|
+
return (h(Host, { key: '6666752113d7cc54d93ecc03e39f4ae79c4b4c3e', class: {
|
52
52
|
'gux-input-error': this.hasError || this.hasGroupError,
|
53
53
|
'gux-disabled': this.disabled
|
54
|
-
} }, h("div", { key: '
|
54
|
+
} }, h("div", { key: '37d807601e261fb975067c3a34ff7cd5d4d35960', class: "gux-form-field-container", "aria-disabled": this.disabled ? 'true' : 'false' }, h("div", { key: '963f0c694f739cc0471150d520b5bb3bc589ca60', class: "gux-input-label" }, h("div", { key: '9f169688ec401f48256058cdca76fc7d57cd4e81', class: "gux-input" }, h("slot", { key: '648e1c0ad77e044a705893b1f8bd5e01cf15f3f9', name: "input", onSlotchange: () => this.setInput() })), h("div", { key: 'ef20edaffa3add8f3346742b1a1c67407260c243', class: "gux-label" }, h("slot", { key: '5d872e8a456876ccd3a7146f423528791e59befc', name: "label" }))), h("div", { key: '6d9b6bcc13aabeea73c2569e5c75cded2187ac20', class: "error-and-help-text" }, h(GuxFormFieldError, { key: 'b4d6736b16687aa8c6c068faec518966a86f6f4d', show: this.hasError }, h("slot", { key: '7fb8a2e55e86292f0a484511942bf2eb6a0359a3', name: "error" })), h(GuxFormFieldHelp, { key: '2ef7e15ee387b4955a43238cb272d374c3717e82', show: !this.hasError && this.hasHelp }, h("slot", { key: '727179c2ccdadbae131825b613c42140a8783a56', name: "help" }))))));
|
55
55
|
}
|
56
56
|
setInput() {
|
57
57
|
this.input = getSlottedInput(this.root, 'input[type="radio"][slot="input"]');
|
@@ -1,13 +1,13 @@
|
|
1
1
|
import { r as registerInstance, f as forceUpdate, h, H as Host, g as getElement } from './index-feb7be20.js';
|
2
2
|
import { c as calculateInputDisabledState, o as onInputDisabledStateChange } from './on-input-disabled-state-change-27395154.js';
|
3
3
|
import { O as OnMutation } from './on-mutation-0160ea8e.js';
|
4
|
-
import { o as onRequiredChange } from './on-attribute-change-
|
4
|
+
import { o as onRequiredChange } from './on-attribute-change-33919964.js';
|
5
5
|
import { p as preventBrowserValidationStyling } from './prevent-browser-validation-styling-3983eb0a.js';
|
6
6
|
import { h as hasSlot } from './has-slot-f24a46a6.js';
|
7
7
|
import { a as GuxFormFieldError, G as GuxFormFieldHelp } from './gux-form-field-error-453cd4f0.js';
|
8
8
|
import { a as GuxFormFieldContainer, G as GuxFormFieldLabel } from './gux-form-field-container-3b76ab09.js';
|
9
9
|
import { g as getSlottedInput, v as validateFormIds, a as getComputedLabelPosition } from './gux-form-field.service-173b5dfc.js';
|
10
|
-
import { t as trackComponent } from './usage-
|
10
|
+
import { t as trackComponent } from './usage-a89a5576.js';
|
11
11
|
import { O as OnResize } from './on-resize-324dd7f4.js';
|
12
12
|
import './random-html-id-81ac821b.js';
|
13
13
|
import './log-error-274efeb7.js';
|
@@ -115,9 +115,9 @@ const GuxFormField = class {
|
|
115
115
|
clearInterval(this.valueWatcherId);
|
116
116
|
}
|
117
117
|
render() {
|
118
|
-
return (h(Host, { key: '
|
118
|
+
return (h(Host, { key: 'c99e1a14767177104ac7f733f5f6ca6d150e0eff', class: {
|
119
119
|
'gux-active': this.active
|
120
|
-
} }, h(GuxFormFieldContainer, { key: '
|
120
|
+
} }, h(GuxFormFieldContainer, { key: '870297b7670bf5ba072454ae1eaf83521410c508', labelPosition: this.computedLabelPosition }, h(GuxFormFieldLabel, { key: 'f9681cf3541f38478509061b65095db9c2bd7d18', required: this.required, position: this.computedLabelPosition }, h("slot", { key: 'b7996687ffcf1f9c94563f6312742f46b72577d6', name: "label", onSlotchange: () => this.setLabel() }), h("gux-form-field-label-indicator", { key: 'ad6a38c825b8d809b2af5555e4475cabf16af971', variant: this.indicatorMark, required: this.required }), h("slot", { key: 'cdd67828c38e5d584a59f0e708763644e830bba2', name: "label-info" })), h("div", { key: 'c5d63608d0a64fede86505309d48dddc02dd1a72', class: "gux-input-and-error-container" }, this.renderRangeInput(), h(GuxFormFieldError, { key: '551d86777213d48f1a57353ba7f9cae7493a5321', show: this.hasError }, h("slot", { key: 'fb87d31e460c0a70a9c8538ae4550d4ad57f30ec', name: "error" })), h(GuxFormFieldHelp, { key: 'fa41ac1ca1b8deb473191b7feaeab75dfeefea14', show: !this.hasError && this.hasHelp }, h("slot", { key: '594f71fa1ac41b1d4e0a9892decd54535c827f94', name: "help" }))))));
|
121
121
|
}
|
122
122
|
get variant() {
|
123
123
|
return this.labelPosition ? this.labelPosition.toLowerCase() : 'none';
|
@@ -1,13 +1,13 @@
|
|
1
1
|
import { r as registerInstance, f as forceUpdate, h, g as getElement } from './index-feb7be20.js';
|
2
2
|
import { c as calculateInputDisabledState, o as onInputDisabledStateChange } from './on-input-disabled-state-change-27395154.js';
|
3
3
|
import { O as OnMutation } from './on-mutation-0160ea8e.js';
|
4
|
-
import { o as onRequiredChange } from './on-attribute-change-
|
4
|
+
import { o as onRequiredChange } from './on-attribute-change-33919964.js';
|
5
5
|
import { p as preventBrowserValidationStyling } from './prevent-browser-validation-styling-3983eb0a.js';
|
6
6
|
import { h as hasSlot } from './has-slot-f24a46a6.js';
|
7
7
|
import { a as GuxFormFieldError, G as GuxFormFieldHelp } from './gux-form-field-error-453cd4f0.js';
|
8
8
|
import { G as GuxFormFieldLabel, a as GuxFormFieldContainer } from './gux-form-field-container-3b76ab09.js';
|
9
9
|
import { h as hasContent, c as clearInput, g as getSlottedInput, v as validateFormIds, a as getComputedLabelPosition } from './gux-form-field.service-173b5dfc.js';
|
10
|
-
import { t as trackComponent } from './usage-
|
10
|
+
import { t as trackComponent } from './usage-a89a5576.js';
|
11
11
|
import { f as focusInputElement } from './focus-input-element-8a137b12.js';
|
12
12
|
import './random-html-id-81ac821b.js';
|
13
13
|
import './log-error-274efeb7.js';
|
@@ -95,13 +95,13 @@ const GuxFormFieldSearch = class {
|
|
95
95
|
}
|
96
96
|
}
|
97
97
|
render() {
|
98
|
-
return (h(GuxFormFieldContainer, { key: '
|
98
|
+
return (h(GuxFormFieldContainer, { key: 'a2336e7651a6f5ff3820c3e2563a7c90c3874c08', labelPosition: this.computedLabelPosition }, h(GuxFormFieldLabel, { key: '6e097e2824de2fddc0a82bdf8e80cbb3657dcd14', required: this.required, position: this.computedLabelPosition }, h("slot", { key: '242a597a2fea8220c73d8b75c0587d25301d5f75', name: "label", onSlotchange: () => this.setLabel() }), h("gux-form-field-label-indicator", { key: '6fa3c4a77948a92e97ce7c67cf4cc48ac6f1939b', variant: this.indicatorMark, required: this.required }), h("slot", { key: '110f0db57d97eb5eb3a34a2ad9801a6afafb650c', name: "label-info" })), h("div", { key: '3fe4dafec0206dca0a83202086751e5269309b7a', class: "gux-input-and-error-container" }, h("div", { key: '786847c177cbe89d548008faf92cd6c506a443da', class: {
|
99
99
|
'gux-input': true,
|
100
100
|
'gux-input-error': this.hasError
|
101
|
-
} }, h("div", { key: '
|
101
|
+
} }, h("div", { key: '3eb4d02673dc99dbb421ae0c362e15cdc1f67972', class: {
|
102
102
|
'gux-input-container': true,
|
103
103
|
'gux-disabled': this.disabled
|
104
|
-
}, onClick: () => focusInputElement(this.input) }, h("gux-icon", { key: '
|
104
|
+
}, onClick: () => focusInputElement(this.input) }, h("gux-icon", { key: '3ba253edcb34ab1f074302cad02676e1ae0791df', "icon-name": "fa/magnifying-glass-regular", decorative: true }), h("slot", { key: '070b82abdc3bd54a946a99e62ad03beac74a097a', name: "input" }), this.clearable && this.hasContent && !this.disabled && (h("gux-form-field-input-clear-button", { key: '6a0d7bf586fd25c55a2de4c043b1625126306af8', onClick: () => clearInput(this.input) })))), h(GuxFormFieldError, { key: '4466425ff65f008288e9d3fba5a9e208a2a1c6a1', show: this.hasError }, h("slot", { key: '3b5e6dd26e7024f7a4154eb5aefb1dc51d396cc4', name: "error" })), h(GuxFormFieldHelp, { key: '4b062ea601c2d5fc9b0bf234870f520264ced92e', show: !this.hasError && this.hasHelp }, h("slot", { key: '11cf3ac8d19f9609d968b555bd468f138d1da4a3', name: "help" })))));
|
105
105
|
}
|
106
106
|
get variant() {
|
107
107
|
const labelPositionVariant = this.labelPosition
|
@@ -1,13 +1,13 @@
|
|
1
1
|
import { r as registerInstance, h, g as getElement } from './index-feb7be20.js';
|
2
2
|
import { c as calculateInputDisabledState, o as onInputDisabledStateChange } from './on-input-disabled-state-change-27395154.js';
|
3
3
|
import { O as OnMutation } from './on-mutation-0160ea8e.js';
|
4
|
-
import { o as onRequiredChange } from './on-attribute-change-
|
4
|
+
import { o as onRequiredChange } from './on-attribute-change-33919964.js';
|
5
5
|
import { p as preventBrowserValidationStyling } from './prevent-browser-validation-styling-3983eb0a.js';
|
6
6
|
import { h as hasSlot } from './has-slot-f24a46a6.js';
|
7
7
|
import { a as GuxFormFieldError, G as GuxFormFieldHelp } from './gux-form-field-error-453cd4f0.js';
|
8
8
|
import { G as GuxFormFieldLabel, a as GuxFormFieldContainer } from './gux-form-field-container-3b76ab09.js';
|
9
9
|
import { v as validateFormIds, a as getComputedLabelPosition } from './gux-form-field.service-173b5dfc.js';
|
10
|
-
import { t as trackComponent } from './usage-
|
10
|
+
import { t as trackComponent } from './usage-a89a5576.js';
|
11
11
|
import './random-html-id-81ac821b.js';
|
12
12
|
import './log-error-274efeb7.js';
|
13
13
|
import './simulate-native-event-e0631897.js';
|
@@ -85,13 +85,13 @@ const GuxFormFieldSelect = class {
|
|
85
85
|
}
|
86
86
|
}
|
87
87
|
render() {
|
88
|
-
return (h(GuxFormFieldContainer, { key: '
|
88
|
+
return (h(GuxFormFieldContainer, { key: 'bc2c490c7ad6a1fd9fb35fe7c17720ae0434d353', labelPosition: this.computedLabelPosition }, h(GuxFormFieldLabel, { key: '1d9d352c69498c7c18b0af044919c0353aa99916', required: this.required, position: this.computedLabelPosition }, h("slot", { key: '32c9ba5e2a27c5b867bbcfbbbabe0ccb22c90a1f', name: "label", onSlotchange: () => this.setLabel() }), h("gux-form-field-label-indicator", { key: '4b7a813d4f844e4e81d47ed8a1015a368e15d53c', variant: this.indicatorMark, required: this.required }), h("slot", { key: 'b1ecdf7980f691819057bf5d9235709315bfaa7d', name: "label-info" })), h("div", { key: '0e433faf1800d4155488c7ccb7410e07281a2274', class: "gux-input-and-error-container" }, h("div", { key: '51783b00b2f96fd486ddceaaaa86f6f44deee720', class: {
|
89
89
|
'gux-input': true,
|
90
90
|
'gux-input-error': this.hasError
|
91
|
-
} }, h("div", { key: '
|
91
|
+
} }, h("div", { key: 'c2e8f32366a97e19cddc0c88ff95c4c938e9f957', class: {
|
92
92
|
'gux-input-container': true,
|
93
93
|
'gux-disabled': this.disabled
|
94
|
-
} }, h("slot", { key: '
|
94
|
+
} }, h("slot", { key: '9255c1eb21a504e0ce4a8f6262b24d949e0b57de', name: "input" }), h("gux-icon", { key: '781da46b1bafae98554a1a734c1d4b0a4e1d1dd9', "icon-name": "custom/chevron-down-small-regular", decorative: true }))), h(GuxFormFieldError, { key: '0e5b86d31fbc2d7ca0a2336b880feff6b8ad3395', show: this.hasError }, h("slot", { key: '2ca26adcb51cf8d14f701065eec4186424c0fe55', name: "error" })), h(GuxFormFieldHelp, { key: '9c17f9bf58289bac8626a4f5d1df003d30953598', show: !this.hasError && this.hasHelp }, h("slot", { key: 'd224d3b3b65864305ee0dc4d0a13f12722905d02', name: "help" })))));
|
95
95
|
}
|
96
96
|
get variant() {
|
97
97
|
const labelPositionVariant = this.labelPosition
|
@@ -1,13 +1,13 @@
|
|
1
1
|
import { r as registerInstance, f as forceUpdate, h, g as getElement } from './index-feb7be20.js';
|
2
2
|
import { c as calculateInputDisabledState, o as onInputDisabledStateChange } from './on-input-disabled-state-change-27395154.js';
|
3
3
|
import { O as OnMutation } from './on-mutation-0160ea8e.js';
|
4
|
-
import { o as onRequiredChange } from './on-attribute-change-
|
4
|
+
import { o as onRequiredChange } from './on-attribute-change-33919964.js';
|
5
5
|
import { p as preventBrowserValidationStyling } from './prevent-browser-validation-styling-3983eb0a.js';
|
6
6
|
import { h as hasSlot } from './has-slot-f24a46a6.js';
|
7
7
|
import { a as GuxFormFieldError, G as GuxFormFieldHelp } from './gux-form-field-error-453cd4f0.js';
|
8
8
|
import { G as GuxFormFieldLabel, a as GuxFormFieldContainer } from './gux-form-field-container-3b76ab09.js';
|
9
9
|
import { h as hasContent, b as setSlotAriaDescribedby, c as clearInput, g as getSlottedInput, v as validateFormIds, a as getComputedLabelPosition } from './gux-form-field.service-173b5dfc.js';
|
10
|
-
import { t as trackComponent } from './usage-
|
10
|
+
import { t as trackComponent } from './usage-a89a5576.js';
|
11
11
|
import { f as focusInputElement } from './focus-input-element-8a137b12.js';
|
12
12
|
import './random-html-id-81ac821b.js';
|
13
13
|
import './log-error-274efeb7.js';
|
@@ -1,13 +1,13 @@
|
|
1
1
|
import { r as registerInstance, h, g as getElement } from './index-feb7be20.js';
|
2
2
|
import { c as calculateInputDisabledState, o as onInputDisabledStateChange } from './on-input-disabled-state-change-27395154.js';
|
3
3
|
import { O as OnMutation } from './on-mutation-0160ea8e.js';
|
4
|
-
import { o as onRequiredChange } from './on-attribute-change-
|
4
|
+
import { o as onRequiredChange } from './on-attribute-change-33919964.js';
|
5
5
|
import { p as preventBrowserValidationStyling } from './prevent-browser-validation-styling-3983eb0a.js';
|
6
6
|
import { h as hasSlot } from './has-slot-f24a46a6.js';
|
7
7
|
import { a as GuxFormFieldError, G as GuxFormFieldHelp } from './gux-form-field-error-453cd4f0.js';
|
8
8
|
import { G as GuxFormFieldLabel, a as GuxFormFieldContainer } from './gux-form-field-container-3b76ab09.js';
|
9
9
|
import { v as validateFormIds, a as getComputedLabelPosition } from './gux-form-field.service-173b5dfc.js';
|
10
|
-
import { t as trackComponent } from './usage-
|
10
|
+
import { t as trackComponent } from './usage-a89a5576.js';
|
11
11
|
import './random-html-id-81ac821b.js';
|
12
12
|
import './log-error-274efeb7.js';
|
13
13
|
import './simulate-native-event-e0631897.js';
|
@@ -89,12 +89,12 @@ const GuxFormFieldTextarea = class {
|
|
89
89
|
}
|
90
90
|
}
|
91
91
|
render() {
|
92
|
-
return (h(GuxFormFieldContainer, { key: '
|
92
|
+
return (h(GuxFormFieldContainer, { key: 'ff1116e958e1f4014e7b6d7b64be67fe9553b4e3', labelPosition: this.computedLabelPosition }, h(GuxFormFieldLabel, { key: '2b8585aece1242a77a09d3c7e6be911cfafdf2ef', required: this.required, position: this.computedLabelPosition }, h("slot", { key: '4bdc31c30e46b6992551674313bdc71ce3433813', name: "label", onSlotchange: () => this.setLabel() }), h("gux-form-field-label-indicator", { key: '774e5db50ddb91302eaecc1cb6ac37b589275b9d', variant: this.indicatorMark, required: this.required }), h("slot", { key: '93ac6b4edb3c526a4fc8713b4b70e833c154b5d1', name: "label-info" })), h("div", { key: '7398484c3e0cd708cda2a585d49e1f4b878e8442', class: "gux-input-and-error-container" }, h("div", { key: '6e89f5a2942bd719be32e109a06bb9ef500ea784', ref: el => (this.textareaContainerElement = el), class: {
|
93
93
|
'gux-input': true,
|
94
94
|
[`gux-resize-${this.resize}`]: true,
|
95
95
|
'gux-disabled': this.disabled,
|
96
96
|
'gux-input-error': this.hasError
|
97
|
-
} }, h("slot", { key: '
|
97
|
+
} }, h("slot", { key: '05b9db97c55a3a7d23a614478365ee04dec6324c', name: "input" })), h(GuxFormFieldError, { key: '3f092b502db804352a8b2934f6004572ab8dde20', show: this.hasError }, h("slot", { key: '63ade17e80798d9f3127282aff876c61cfcdb9b8', name: "error" })), h(GuxFormFieldHelp, { key: '7c23febf13fc9779645305345afd0f807c778bcb', show: !this.hasError && this.hasHelp }, h("slot", { key: 'df027b22b429b5e66ffa793b821a009ba83d45c9', name: "help" })))));
|
98
98
|
}
|
99
99
|
get variant() {
|
100
100
|
const labelPositionVariant = this.labelPosition
|