genesys-spark-components 4.73.1 → 4.74.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-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-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.cjs.entry.js +1 -1
- 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 +1 -1
- 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-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-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 +5 -4
- package/dist/cjs/gux-form-field-dropdown.cjs.entry.js +5 -4
- package/dist/cjs/gux-form-field-file.cjs.entry.js +3 -2
- package/dist/cjs/gux-form-field-input-clear-button.cjs.entry.js +1 -1
- package/dist/cjs/gux-form-field-label-indicator.cjs.entry.js +15 -4
- package/dist/cjs/gux-form-field-number_3.cjs.entry.js +5 -4
- package/dist/cjs/gux-form-field-phone.cjs.entry.js +6 -5
- package/dist/cjs/gux-form-field-radio-group-beta.cjs.entry.js +1 -1
- package/dist/cjs/gux-form-field-radio.cjs.entry.js +1 -1
- package/dist/cjs/gux-form-field-range.cjs.entry.js +4 -3
- package/dist/cjs/gux-form-field-search.cjs.entry.js +5 -4
- package/dist/cjs/gux-form-field-select.cjs.entry.js +5 -4
- package/dist/cjs/gux-form-field-text-like.cjs.entry.js +5 -4
- package/dist/cjs/gux-form-field-textarea.cjs.entry.js +4 -3
- package/dist/cjs/gux-form-field-time-picker.cjs.entry.js +6 -5
- package/dist/cjs/gux-form-field-time-zone-picker.cjs.entry.js +5 -4
- 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 +1 -1
- package/dist/cjs/gux-inline-alert.cjs.entry.js +1 -1
- package/dist/cjs/gux-label-info-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 +1 -1
- package/dist/cjs/gux-loading-message.cjs.entry.js +1 -1
- package/dist/cjs/gux-modal-legacy.cjs.entry.js +1 -1
- package/dist/cjs/gux-modal.cjs.entry.js +1 -1
- 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 +1 -1
- package/dist/cjs/gux-pagination-cursor.cjs.entry.js +1 -1
- package/dist/cjs/gux-pagination-legacy.cjs.entry.js +1 -1
- package/dist/cjs/gux-pagination.cjs.entry.js +1 -1
- package/dist/cjs/gux-phone-input-beta.cjs.entry.js +1 -1
- package/dist/cjs/gux-popover-list.cjs.entry.js +1 -1
- package/dist/cjs/gux-radial-loading.cjs.entry.js +1 -1
- package/dist/cjs/gux-radial-progress.cjs.entry.js +1 -1
- package/dist/cjs/gux-rating.cjs.entry.js +1 -1
- package/dist/cjs/gux-screen-reader-beta_2.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-simple-toast-legacy.cjs.entry.js +1 -1
- package/dist/cjs/gux-skip-navigation-list.cjs.entry.js +1 -1
- package/dist/cjs/gux-sort-control.cjs.entry.js +1 -1
- package/dist/cjs/gux-switch-legacy.cjs.entry.js +1 -1
- package/dist/cjs/gux-table-toolbar-action.cjs.entry.js +1 -1
- package/dist/cjs/gux-table-toolbar-custom-action.cjs.entry.js +1 -1
- package/dist/cjs/gux-table-toolbar-menu-button.cjs.entry.js +1 -1
- package/dist/cjs/gux-table-toolbar.cjs.entry.js +1 -1
- package/dist/cjs/gux-table.cjs.entry.js +1 -1
- package/dist/cjs/gux-tabs-advanced.cjs.entry.js +1 -1
- package/dist/cjs/gux-tabs.cjs.entry.js +1 -1
- package/dist/cjs/gux-tag.cjs.entry.js +1 -1
- 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 +1 -1
- 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 +1 -1
- package/dist/cjs/gux-toggle.cjs.entry.js +1 -1
- package/dist/cjs/gux-tooltip-base-beta.cjs.entry.js +1 -1
- package/dist/cjs/gux-tooltip.cjs.entry.js +1 -1
- package/dist/cjs/loader.cjs.js +1 -1
- package/dist/cjs/{usage-f1782f59.js → usage-b3bad09d.js} +1 -1
- package/dist/collection/components/stable/gux-form-field/components/gux-form-field-color/gux-form-field-color.js +28 -3
- package/dist/collection/components/stable/gux-form-field/components/gux-form-field-color/tests/gux-form-field-color.spec.js +14 -0
- package/dist/collection/components/stable/gux-form-field/components/gux-form-field-dropdown/gux-form-field-dropdown.js +28 -3
- package/dist/collection/components/stable/gux-form-field/components/gux-form-field-dropdown/tests/gux-form-field-dropdown.spec.js +61 -21
- package/dist/collection/components/stable/gux-form-field/components/gux-form-field-file/gux-form-field-file.js +26 -1
- package/dist/collection/components/stable/gux-form-field/components/gux-form-field-file/tests/gux-form-field-file.spec.js +20 -0
- package/dist/collection/components/stable/gux-form-field/components/gux-form-field-number/gux-form-field-number.js +28 -3
- package/dist/collection/components/stable/gux-form-field/components/gux-form-field-number/tests/gux-form-field-number.spec.js +14 -0
- package/dist/collection/components/stable/gux-form-field/components/gux-form-field-phone/gux-form-field-phone.js +29 -4
- package/dist/collection/components/stable/gux-form-field/components/gux-form-field-phone/tests/gux-form-field-phone.spec.js +14 -0
- package/dist/collection/components/stable/gux-form-field/components/gux-form-field-range/gux-form-field-range.js +27 -2
- package/dist/collection/components/stable/gux-form-field/components/gux-form-field-search/gux-form-field-search.js +28 -3
- package/dist/collection/components/stable/gux-form-field/components/gux-form-field-search/tests/gux-form-field-search.spec.js +14 -0
- package/dist/collection/components/stable/gux-form-field/components/gux-form-field-select/gux-form-field-select.js +28 -3
- package/dist/collection/components/stable/gux-form-field/components/gux-form-field-select/tests/gux-form-field-select.spec.js +18 -0
- package/dist/collection/components/stable/gux-form-field/components/gux-form-field-text-like/gux-form-field-text-like.js +28 -3
- package/dist/collection/components/stable/gux-form-field/components/gux-form-field-text-like/tests/gux-form-field-text-like.spec.js +14 -0
- package/dist/collection/components/stable/gux-form-field/components/gux-form-field-textarea/gux-form-field-textarea.js +27 -2
- package/dist/collection/components/stable/gux-form-field/components/gux-form-field-textarea/tests/gux-form-field-textarea.spec.js +14 -0
- package/dist/collection/components/stable/gux-form-field/components/gux-form-field-time-picker/gux-form-field-time-picker.js +29 -4
- package/dist/collection/components/stable/gux-form-field/components/gux-form-field-time-picker/tests/gux-form-field-time-picker.spec.js +14 -0
- package/dist/collection/components/stable/gux-form-field/components/gux-form-field-time-zone-picker/gux-form-field-time-zone-picker.js +28 -3
- package/dist/collection/components/stable/gux-form-field/components/gux-form-field-time-zone-picker/tests/gux-form-field-time-zone-picker.spec.js +62 -43
- package/dist/collection/components/stable/gux-form-field/helper-components/gux-form-field-optional-indicator/gux-form-field-label-indicator.css +9 -0
- package/dist/collection/components/stable/gux-form-field/helper-components/gux-form-field-optional-indicator/gux-form-field-label-indicator.js +8 -2
- 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-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-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.entry.js +1 -1
- 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 +1 -1
- 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-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-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 +5 -4
- package/dist/esm/gux-form-field-dropdown.entry.js +5 -4
- package/dist/esm/gux-form-field-file.entry.js +3 -2
- package/dist/esm/gux-form-field-input-clear-button.entry.js +1 -1
- package/dist/esm/gux-form-field-label-indicator.entry.js +15 -4
- package/dist/esm/gux-form-field-number_3.entry.js +5 -4
- package/dist/esm/gux-form-field-phone.entry.js +6 -5
- package/dist/esm/gux-form-field-radio-group-beta.entry.js +1 -1
- package/dist/esm/gux-form-field-radio.entry.js +1 -1
- package/dist/esm/gux-form-field-range.entry.js +4 -3
- package/dist/esm/gux-form-field-search.entry.js +5 -4
- package/dist/esm/gux-form-field-select.entry.js +5 -4
- package/dist/esm/gux-form-field-text-like.entry.js +5 -4
- package/dist/esm/gux-form-field-textarea.entry.js +4 -3
- package/dist/esm/gux-form-field-time-picker.entry.js +6 -5
- package/dist/esm/gux-form-field-time-zone-picker.entry.js +5 -4
- 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 +1 -1
- package/dist/esm/gux-inline-alert.entry.js +1 -1
- package/dist/esm/gux-label-info-beta.entry.js +1 -1
- package/dist/esm/gux-list.entry.js +1 -1
- package/dist/esm/gux-listbox-multi.entry.js +1 -1
- package/dist/esm/gux-loading-message.entry.js +1 -1
- package/dist/esm/gux-modal-legacy.entry.js +1 -1
- package/dist/esm/gux-modal.entry.js +1 -1
- 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 +1 -1
- package/dist/esm/gux-pagination-cursor.entry.js +1 -1
- package/dist/esm/gux-pagination-legacy.entry.js +1 -1
- package/dist/esm/gux-pagination.entry.js +1 -1
- package/dist/esm/gux-phone-input-beta.entry.js +1 -1
- package/dist/esm/gux-popover-list.entry.js +1 -1
- package/dist/esm/gux-radial-loading.entry.js +1 -1
- package/dist/esm/gux-radial-progress.entry.js +1 -1
- package/dist/esm/gux-rating.entry.js +1 -1
- package/dist/esm/gux-screen-reader-beta_2.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-simple-toast-legacy.entry.js +1 -1
- package/dist/esm/gux-skip-navigation-list.entry.js +1 -1
- package/dist/esm/gux-sort-control.entry.js +1 -1
- package/dist/esm/gux-switch-legacy.entry.js +1 -1
- package/dist/esm/gux-table-toolbar-action.entry.js +1 -1
- package/dist/esm/gux-table-toolbar-custom-action.entry.js +1 -1
- package/dist/esm/gux-table-toolbar-menu-button.entry.js +1 -1
- package/dist/esm/gux-table-toolbar.entry.js +1 -1
- package/dist/esm/gux-table.entry.js +1 -1
- package/dist/esm/gux-tabs-advanced.entry.js +1 -1
- package/dist/esm/gux-tabs.entry.js +1 -1
- package/dist/esm/gux-tag.entry.js +1 -1
- 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 +1 -1
- 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 +1 -1
- package/dist/esm/gux-toggle.entry.js +1 -1
- package/dist/esm/gux-tooltip-base-beta.entry.js +1 -1
- package/dist/esm/gux-tooltip.entry.js +1 -1
- package/dist/esm/loader.js +1 -1
- package/dist/esm/{usage-5960de2d.js → usage-f9c366ec.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-ce1b60fb.entry.js → p-014d074d.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-eaafe2d6.entry.js → p-04241d12.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-2716f3ae.entry.js → p-060b627c.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-1a53acf1.entry.js → p-06891972.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-6017569f.entry.js → p-0875b411.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-970aeae2.entry.js → p-0f5dfe47.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-c3e6759a.entry.js → p-11802d87.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-5599da88.entry.js → p-11bd3055.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-b2818bc7.entry.js → p-14ddfe8e.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-45c88005.entry.js → p-167a8187.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-7def8802.entry.js → p-1ff15e9d.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-c2848626.entry.js → p-21b55ee6.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-d82fb3c1.entry.js → p-25bd4937.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-36bb6458.entry.js → p-27ce2918.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-58f1d5a3.entry.js → p-2a4706be.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-81803e2f.entry.js → p-2e0f25c8.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-e064fc94.entry.js → p-2fdbade7.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-4861b98d.entry.js → p-314c137e.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-64a1e58c.entry.js → p-31998793.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-774622ca.entry.js → p-33f0bec1.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-d60b273e.entry.js → p-34df3d84.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-86271fd9.entry.js → p-3978c193.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-908638a9.entry.js → p-3a644ec7.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-a275daa4.entry.js → p-3ae60345.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-c67ccda3.entry.js → p-3c638a22.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-52b8e30a.entry.js → p-3cb1047b.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-1a0bee83.entry.js → p-43b48ebb.entry.js} +1 -1
- package/dist/genesys-webcomponents/p-480b3891.entry.js +1 -0
- package/dist/genesys-webcomponents/{p-e93412dd.entry.js → p-4a0007a7.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-88579745.entry.js → p-4b60d482.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-c2c556bc.entry.js → p-4bcf78ca.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-25d668eb.entry.js → p-4cfca967.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-321912f1.entry.js → p-4dd17bc5.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-c463c8cc.entry.js → p-4e74044a.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-0cd9c001.entry.js → p-5365558e.entry.js} +1 -1
- package/dist/genesys-webcomponents/p-549ee2c5.entry.js +1 -0
- package/dist/genesys-webcomponents/{p-8ad9a0b0.entry.js → p-56c533bc.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-4b71fe54.entry.js → p-5844741a.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-49186c5a.entry.js → p-5d734773.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-7a5d5d63.entry.js → p-60648c28.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-d4b1a078.entry.js → p-612729f2.entry.js} +1 -1
- package/dist/genesys-webcomponents/p-62692218.entry.js +1 -0
- package/dist/genesys-webcomponents/p-63b97318.entry.js +1 -0
- package/dist/genesys-webcomponents/p-648210bf.entry.js +1 -0
- package/dist/genesys-webcomponents/p-649c2649.entry.js +1 -0
- package/dist/genesys-webcomponents/p-655e6f4c.entry.js +1 -0
- package/dist/genesys-webcomponents/p-66339180.entry.js +1 -0
- package/dist/genesys-webcomponents/{p-a02a0384.entry.js → p-66bdf878.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-ccf44dd0.entry.js → p-6a49fb57.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-c928463f.entry.js → p-7185fb75.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-8b53d67d.entry.js → p-720ffdc8.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-6d81c600.entry.js → p-739c5edc.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-b2a73bac.entry.js → p-75d13982.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-4b5a4323.entry.js → p-77fc0bd3.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-86d588b8.entry.js → p-7c887fe7.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-28f9b7a0.entry.js → p-7c988b18.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-f2d39df6.entry.js → p-7cd95aec.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-9012b81b.entry.js → p-7ce1427e.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-036b55f5.entry.js → p-81457287.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-2e733b04.entry.js → p-870368c8.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-c4c0f0b8.entry.js → p-8c229122.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-9b27f824.entry.js → p-9042dbed.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-b90785e3.entry.js → p-9428a0e6.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-7d574027.entry.js → p-a0e85aca.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-af2f5f53.entry.js → p-ae8bb601.entry.js} +1 -1
- package/dist/genesys-webcomponents/p-b1e19398.entry.js +1 -0
- package/dist/genesys-webcomponents/{p-d60f0457.entry.js → p-bacf9ee3.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-50322043.entry.js → p-bbff0f4c.entry.js} +1 -1
- package/dist/genesys-webcomponents/p-beab0ebe.entry.js +1 -0
- package/dist/genesys-webcomponents/{p-72debd0d.entry.js → p-c228ed3f.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-2df23060.entry.js → p-c4369def.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-5e2cea89.entry.js → p-c4892aee.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-5339d7b0.entry.js → p-c534478b.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-1498f5bf.entry.js → p-c570c6ef.entry.js} +1 -1
- package/dist/genesys-webcomponents/p-c937df04.entry.js +1 -0
- package/dist/genesys-webcomponents/{p-96306bff.entry.js → p-cba33e6f.entry.js} +1 -1
- package/dist/genesys-webcomponents/p-d0aa61a4.entry.js +1 -0
- package/dist/genesys-webcomponents/{p-3b8e6be7.entry.js → p-d2d56541.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-e157f06b.entry.js → p-d3a3bcc8.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-06e574d9.entry.js → p-d42a14b6.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-d4247c28.entry.js → p-d515e850.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-663ddd36.entry.js → p-d6e9f72c.entry.js} +1 -1
- package/dist/genesys-webcomponents/p-d7c8259c.entry.js +1 -0
- package/dist/genesys-webcomponents/{p-22961478.entry.js → p-d8843760.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-b244521e.entry.js → p-dae41cf1.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-d90bdc07.js → p-e598cc41.js} +1 -1
- package/dist/genesys-webcomponents/{p-eacfe0a5.entry.js → p-e993f491.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-243074ba.entry.js → p-ec882573.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-13944463.entry.js → p-ee724156.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-b588e0e2.entry.js → p-f8f79d6f.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-59061478.entry.js → p-fb74abd0.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-2f841d5a.entry.js → p-fc551679.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-b34401f6.entry.js → p-fe5e81f7.entry.js} +1 -1
- package/dist/stencil-wrapper.js +1 -1
- package/dist/types/components/stable/gux-form-field/components/gux-form-field-color/gux-form-field-color.d.ts +7 -1
- package/dist/types/components/stable/gux-form-field/components/gux-form-field-dropdown/gux-form-field-dropdown.d.ts +7 -1
- package/dist/types/components/stable/gux-form-field/components/gux-form-field-file/gux-form-field-file.d.ts +7 -1
- package/dist/types/components/stable/gux-form-field/components/gux-form-field-number/gux-form-field-number.d.ts +7 -1
- package/dist/types/components/stable/gux-form-field/components/gux-form-field-phone/gux-form-field-phone.d.ts +7 -1
- package/dist/types/components/stable/gux-form-field/components/gux-form-field-range/gux-form-field-range.d.ts +7 -1
- package/dist/types/components/stable/gux-form-field/components/gux-form-field-search/gux-form-field-search.d.ts +7 -1
- package/dist/types/components/stable/gux-form-field/components/gux-form-field-select/gux-form-field-select.d.ts +7 -1
- package/dist/types/components/stable/gux-form-field/components/gux-form-field-text-like/gux-form-field-text-like.d.ts +7 -1
- package/dist/types/components/stable/gux-form-field/components/gux-form-field-textarea/gux-form-field-textarea.d.ts +7 -1
- package/dist/types/components/stable/gux-form-field/components/gux-form-field-time-picker/gux-form-field-time-picker.d.ts +7 -1
- package/dist/types/components/stable/gux-form-field/components/gux-form-field-time-zone-picker/gux-form-field-time-zone-picker.d.ts +7 -1
- package/dist/types/components/stable/gux-form-field/gux-form-field.types.d.ts +1 -0
- package/dist/types/components/stable/gux-form-field/helper-components/gux-form-field-optional-indicator/gux-form-field-label-indicator.d.ts +2 -1
- package/dist/types/components.d.ts +98 -2
- package/dist/types/stencil-wrapper.d.ts +1 -1
- package/package.json +1 -1
- package/dist/genesys-webcomponents/p-00667c5b.entry.js +0 -1
- package/dist/genesys-webcomponents/p-0084dab2.entry.js +0 -1
- package/dist/genesys-webcomponents/p-1062aa3f.entry.js +0 -1
- package/dist/genesys-webcomponents/p-3b70d5bb.entry.js +0 -1
- package/dist/genesys-webcomponents/p-4389e5bb.entry.js +0 -1
- package/dist/genesys-webcomponents/p-8acb1ead.entry.js +0 -1
- package/dist/genesys-webcomponents/p-93a2c914.entry.js +0 -1
- package/dist/genesys-webcomponents/p-ada62e65.entry.js +0 -1
- package/dist/genesys-webcomponents/p-b083eb05.entry.js +0 -1
- package/dist/genesys-webcomponents/p-b4ba89de.entry.js +0 -1
- package/dist/genesys-webcomponents/p-df1edaff.entry.js +0 -1
- package/dist/genesys-webcomponents/p-e0a8952d.entry.js +0 -1
- package/dist/genesys-webcomponents/p-f784c4f4.entry.js +0 -1
@@ -1 +1 @@
|
|
1
|
-
import{r as t,h as i,H as o,g as e}from"./p-2e827df1.js";import{a as s,o as a,f as r,s as n,h as l,c as h}from"./p-b43ee47b.js";import{r as d}from"./p-0934300e.js";import{t as c}from"./p-
|
1
|
+
import{r as t,h as i,H as o,g as e}from"./p-2e827df1.js";import{a as s,o as a,f as r,s as n,h as l,c as h}from"./p-b43ee47b.js";import{r as d}from"./p-0934300e.js";import{t as c}from"./p-e598cc41.js";import{f as p}from"./p-9b0d3713.js";import{b as g}from"./p-cf0e7d3b.js";const u=class{constructor(i){t(this,i),this.pointerenterHandler=()=>this.show(),this.pointerleaveHandler=()=>this.hide(),this.focusinHandler=()=>this.show(),this.focusoutHandler=()=>this.hide(),this.forElementListeners=new Map([["pointerenter",this.pointerenterHandler],["pointerleave",this.pointerleaveHandler],["focusin",this.focusinHandler],["focusout",this.focusoutHandler]]),this.id=d("gux-tooltip"),this.for=void 0,this.placement="bottom-start",this.accent="light",this.isShown=!1}handleKeyDown(t){"Escape"===t.key&&this.isShown&&this.hide()}async showTooltip(){this.show()}async hideTooltip(){this.hide()}runUpdatePosition(){this.cleanupUpdatePosition=s(this.forElement,this.root,(()=>this.updatePosition()),{ancestorScroll:!0,elementResize:!0,animationFrame:!1,ancestorResize:!0})}updatePosition(){const t=[a(16),r(),n(),l()];h(this.forElement,this.root,{placement:this.placement,strategy:"fixed",middleware:t}).then((({x:t,y:i,middlewareData:o})=>{var e;Object.assign(this.root.style,{left:`${t}px`,top:`${i}px`,visibility:(null===(e=o.hide)||void 0===e?void 0:e.referenceHidden)?"hidden":"visible"}),this.root.setAttribute("data-placement",this.placement)}))}show(){this.isShown=!0,g((()=>{this.runUpdatePosition()}))}hide(){this.cleanupUpdatePosition&&this.cleanupUpdatePosition(),this.isShown=!1}getForElement(){return this.for?p(this.root,this.for):this.root.parentElement}logForAttributeError(){this.root.isConnected&&console.error(`gux-tooltip: invalid element supplied to 'for': "${this.for}"`)}setForElement(){this.forElement=this.getForElement(),this.forElement?(this.forElement.setAttribute("aria-describedby",this.id),this.forElementListeners.forEach(((t,i)=>this.forElement.addEventListener(i,t)))):this.logForAttributeError()}disconnectForElement(){this.forElement&&(this.forElement.removeAttribute("aria-describedby"),this.forElementListeners.forEach(((t,i)=>this.forElement.removeEventListener(i,t))))}updateForElement(){this.disconnectForElement(),this.setForElement()}connectedCallback(){this.setForElement()}componentWillLoad(){c(this.root,{variant:this.placement})}disconnectedCallback(){this.cleanupUpdatePosition&&this.cleanupUpdatePosition(),this.disconnectForElement()}render(){return i(o,{key:"58ffcb9d5bb8a5ee638cc4f4ecfa948cfb912253",id:this.id,class:{"gux-show":this.isShown},role:"tooltip"},i("div",{key:"4c250ba6ab30b89bf2a8949514047de03ec3db0c",class:{"gux-container":!0,[`gux-${this.accent}`]:!0},"data-placement":this.placement},i("slot",{key:"a0317a87948d0fb91f0a591ad63419605b5a6d34",name:"content"},i("slot",{key:"43befaf01580296f7aefee7619cec57d00164b92"}))))}get root(){return e(this)}static get watchers(){return{for:["updateForElement"]}}};u.style=":host{position:fixed;z-index:var(--gse-semantic-zIndex-tooltip);display:none;width:max-content;max-width:250px;pointer-events:none;border-radius:var(--gse-ui-tooltip-borderRadius);box-shadow:var(--gse-ui-tooltip-boxShadow-x) var(--gse-ui-tooltip-boxShadow-y) var(--gse-ui-tooltip-boxShadow-blur) var(--gse-ui-tooltip-boxShadow-spread) var(--gse-ui-tooltip-boxShadow-color);opacity:0}:host(.gux-show){display:block;animation-name:fade-in;animation-duration:250ms;animation-delay:1s;animation-fill-mode:forwards}.gux-container{box-sizing:border-box;display:flex;flex-direction:row;gap:var(--gse-ui-tooltip-gap);place-content:center flex-start;padding:var(--gse-ui-tooltip-padding);font-family:var(--gse-ui-tooltip-text-fontFamily);font-size:var(--gse-ui-tooltip-text-fontSize);font-weight:var(--gse-ui-tooltip-text-fontWeight);line-height:var(--gse-ui-tooltip-text-lineHeight);color:var(--gse-ui-tooltip-light-foregroundColor);background-color:var(--gse-ui-tooltip-light-backgroundColor);border:var(--gse-ui-tooltip-light-border-width) var(--gse-ui-tooltip-light-border-style) var(--gse-ui-tooltip-light-border-color);border-radius:var(--gse-ui-tooltip-borderRadius)}.gux-container ::slotted(gux-icon){align-self:center;width:var(--gse-ui-icon-size-sm);height:var(--gse-ui-icon-size-sm);color:var(--gse-ui-tooltip-light-iconColor)}.gux-container ::slotted(*){width:100%;overflow-wrap:break-word;white-space:normal}.gux-container.gux-dark{color:var(--gse-ui-tooltip-dark-foregroundColor);background-color:var(--gse-ui-tooltip-dark-backgroundColor);border-color:var(--gse-ui-tooltip-dark-border-color)}.gux-container.gux-dark ::slotted(gux-icon){align-self:center;width:var(--gse-ui-icon-size-sm);height:var(--gse-ui-icon-size-sm);color:var(--gse-ui-tooltip-dark-iconColor)}@keyframes fade-in{0%{opacity:0}100%{opacity:1}}";export{u as gux_tooltip}
|
@@ -1 +1 @@
|
|
1
|
-
import{r as e,f as o,h as r,g as t}from"./p-2e827df1.js";import{O as l}from"./p-01471ba0.js";import{h as i}from"./p-6d8b4027.js";import{a}from"./p-8eaf8caf.js";import{s}from"./p-2c25e2f2.js";import{G as n,a as f}from"./p-fb1ab7b1.js";import{G as h,a as d,b as g}from"./p-0d5dcdd3.js";import{g as u}from"./p-0268a3e8.js";import{t as c}from"./p-d90bdc07.js";function p(e,o){if(o){const{checkedCheckboxes:r,totalCheckboxes:t}=function(e){const o=x(e).length,r=function(e){return x(e).filter((e=>e.checked))}(e).length;return{checkedCheckboxes:r,totalCheckboxes:o}}(e);0===r?(o.indeterminate=!1,o.checked=!1):r===t?(o.indeterminate=!1,o.checked=!0):o.indeterminate=!0}}function x(e){return Array.from(e.querySelectorAll('gux-form-field-checkbox input:not(gux-form-field-checkbox[slot="group-checkbox"] input'))}const m=class{constructor(o){e(this,o),this.hasGroupError=!1,this.hasGroupHelp=!1,this.hasGroupLabelInfo=!1,this.disabled=!1}watchGroupError(e){const o=this.root.querySelectorAll("gux-form-field-checkbox");o&&o.forEach((o=>{o.hasGroupError=e}))}watchDisabled(){this.setDisabledCheckboxes()}onMutation(){this.hasGroupError=i(this.root,"group-error"),this.hasGroupHelp=i(this.root,"group-help"),this.hasGroupLabelInfo=i(this.root,"group-label-info")}componentWillLoad(){this.hasGroupError=i(this.root,"group-error"),this.hasGroupHelp=i(this.root,"group-help"),this.hasGroupLabelInfo=i(this.root,"group-label-info"),this.setLabel(),this.setDisabledCheckboxes(),c(this.root)}componentDidLoad(){p(this.root,this.root.querySelector('gux-form-field-checkbox[slot="group-checkbox"] input'))}disconnectedCallback(){this.disabledObserver&&this.disabledObserver.disconnect()}getGroupCheckboxElement(){return this.root.querySelector('gux-form-field-checkbox[slot="group-checkbox"] input')}setDisabledCheckboxes(){const e=this.root.querySelectorAll("gux-form-field-checkbox");e&&e.forEach((e=>{e.hasGroupDisabled=this.disabled}))}onMainCheckboxChange(){const e=this.getGroupCheckboxElement();var r;r=e.checked,x(this.root).forEach((e=>{e.checked===r||e.disabled||(e.checked=r,s(e,"input"),s(e,"change"))})),o(this.root)}setupNestedCheckboxes(){this.warnMultipleGroupCheckbox(),this.warnGroupCheckboxNameAttr();const e=this.getGroupCheckboxElement();e?this.root.classList.add("gux-group-checkbox"):this.root.classList.remove("gux-group-checkbox"),null==e||e.addEventListener("change",(()=>{this.onMainCheckboxChange()})),this.initialSetNestedCheckboxes(null==e?void 0:e.checked)}initialSetNestedCheckboxes(e){const o=Array.from(this.root.querySelectorAll('gux-form-field-checkbox input:not(gux-form-field-checkbox[slot="group-checkbox"] input)'));(null==o?void 0:o.length)&&o.forEach((o=>{o.addEventListener("change",(()=>{this.updateMainCheckbox()})),e&&!o.disabled&&(o.checked=!0)}))}warnMultipleGroupCheckbox(){const e=this.root.querySelectorAll('gux-form-field-checkbox[slot="group-checkbox"] input');(null==e?void 0:e.length)>1&&a(this.root,"Can only have one group checkbox")}warnGroupCheckboxNameAttr(){const e=this.getGroupCheckboxElement();(null==e?void 0:e.hasAttribute("name"))&&a(this.root,"Group checkbox should not have a name attribute")}updateMainCheckbox(){p(this.root,this.root.querySelector('gux-form-field-checkbox[slot="group-checkbox"] input')),o(this.root)}renderText(e,o=!1){if(o)return" "+e}render(){var e;return r(g,{key:"d2d6388298b7166d57da2b5c22ef6db4b6e24f97",labelPosition:"above"},r(d,{key:"0db9d9ea4dd539a61278af772b8c6932849371fe"},null===(e=this.label)||void 0===e?void 0:e.textContent,this.renderText(u(this.root,"group-error"),this.hasGroupError),this.renderText(u(this.root,"group-help"),this.hasGroupHelp),this.renderText(u(this.root,"group-label-info"),this.hasGroupLabelInfo)),r(h,{key:"f9d920bfcb30926eda1564b809c0944ac8598ec2",position:"above",required:!1},r("slot",{key:"59f6fdb532fd40ef2ac79762398a17ecb51f7583",name:"group-label",onSlotchange:()=>this.setLabel()}),r("slot",{key:"2334ef8f61007cdb82182b7ae05fe6f012553b89",name:"group-label-info"})),r("slot",{key:"ea1e880daa92661d10b4eee4b7eede2bb29d0d54",onSlotchange:()=>this.setupNestedCheckboxes(),name:"group-checkbox"}),r("slot",{key:"d88a9ce2949718c4da74acb803889acc9ded4dde",onSlotchange:()=>this.updateMainCheckbox()}),r(f,{key:"dfcc4a70d226e2b9502931d7746052dba5efcd90",show:this.hasGroupError},r("slot",{key:"f6c779ada444a5712052f93f66d34427717f936d",name:"group-error"})),r(n,{key:"672573142344dc7288b5e8dc9bb4d0032c538c8c",show:!this.hasGroupError&&this.hasGroupHelp},r("slot",{key:"4e6668b094068ac793ddd1ef004601b2652dd113",name:"group-help"})))}setLabel(){this.label=this.root.querySelector('label[slot="group-label"]')}get root(){return t(this)}static get watchers(){return{hasGroupError:["watchGroupError"],disabled:["watchDisabled"]}}};(function(e,o,r,t){var l,i=arguments.length,a=i<3?o:null===t?t=Object.getOwnPropertyDescriptor(o,r):t;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,o,r,t);else for(var s=e.length-1;s>=0;s--)(l=e[s])&&(a=(i<3?l(a):i>3?l(o,r,a):l(o,r))||a);i>3&&a&&Object.defineProperty(o,r,a)})([l({childList:!0,subtree:!0})],m.prototype,"onMutation",null),m.style=".gux-form-field-fieldset-container{display:flex;min-width:0;padding:0;margin:0;border:none}.gux-form-field-fieldset-container.gux-beside{flex-direction:row}.gux-form-field-fieldset-container.gux-above{flex-direction:column}.gux-form-field-error{display:none;flex-direction:row;flex-wrap:nowrap;gap:var(--gse-ui-formControl-helper-gap);place-content:stretch flex-start;align-items:center;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;align-self:start;order:0;min-width:var(--gse-ui-icon-size-sm);min-height:var(--gse-ui-icon-size-sm);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-help{display:none;flex-direction:row;flex-wrap:nowrap;place-content:stretch flex-start;align-items:flex-start;justify-content:flex-start;padding:var(--gse-ui-formControl-helper-paddingSmall);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}.gux-form-field-error{display:none;flex-direction:row;flex-wrap:nowrap;gap:var(--gse-ui-formControl-helper-gap);place-content:stretch flex-start;align-items:center;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;align-self:start;order:0;min-width:var(--gse-ui-icon-size-sm);min-height:var(--gse-ui-icon-size-sm);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-help{display:none;flex-direction:row;flex-wrap:nowrap;place-content:stretch flex-start;align-items:flex-start;justify-content:flex-start;padding:var(--gse-ui-formControl-helper-paddingSmall);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}.gux-form-field-visual-label{display:inline-flex;flex:1 0 auto}.gux-form-field-visual-label ::slotted(gux-label-info-beta){padding-inline-start:var(--gse-ui-formControl-label-gap)}.gux-form-field-visual-label.gux-required gux-form-field-label-indicator{padding-inline-start:var(--gse-ui-formControl-label-gap)}.gux-form-field-visual-label.gux-beside{position:relative;top:var(--gse-ui-formControl-input-top);width:fit-content;min-width:var(--gse-ui-formControl-input-textfield-minWidth);max-width:fit-content;margin-right:var(--gse-ui-formControl-group-gapItems)}.gux-form-field-visual-label.gux-above{padding:var(--gse-ui-formControl-label-padding)}.gux-form-field-visual-label.gux-screenreader{display:none}.gux-form-field-screenreader-label{position:absolute;top:auto;left:-10000px;width:1px;height:1px;overflow:hidden}:host{display:block}:host([disabled]) .gux-form-field-legend-label{opacity:var(--gse-ui-formControl-input-disabled-opacity)}::slotted(gux-form-field-checkbox){padding-top:var(--gse-ui-formControl-group-gapItems)}::slotted(gux-form-field-checkbox:first-of-type){padding-top:0}:host(.gux-group-checkbox) ::slotted(gux-form-field-checkbox){padding-left:24px}:host(.gux-group-checkbox) slot[name=group-checkbox]::slotted(gux-form-field-checkbox){padding-left:0}.gux-form-field-legend-label{font-family:var(--gse-ui-formControl-label-text-fontFamily);font-size:var(--gse-ui-formControl-label-text-fontSize);font-weight:var(--gse-ui-formControl-label-text-fontWeight);line-height:var(--gse-ui-formControl-label-text-lineHeight);color:var(--gse-ui-formControl-label-labelColor)}:host([disabled]) ::slotted(label){opacity:var(--gse-ui-formControl-input-disabled-opacity)}::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)}";export{m as gux_form_field_checkbox_group_beta}
|
1
|
+
import{r as e,f as o,h as r,g as t}from"./p-2e827df1.js";import{O as l}from"./p-01471ba0.js";import{h as i}from"./p-6d8b4027.js";import{a}from"./p-8eaf8caf.js";import{s}from"./p-2c25e2f2.js";import{G as n,a as f}from"./p-fb1ab7b1.js";import{G as h,a as d,b as g}from"./p-0d5dcdd3.js";import{g as u}from"./p-0268a3e8.js";import{t as c}from"./p-e598cc41.js";function p(e,o){if(o){const{checkedCheckboxes:r,totalCheckboxes:t}=function(e){const o=x(e).length,r=function(e){return x(e).filter((e=>e.checked))}(e).length;return{checkedCheckboxes:r,totalCheckboxes:o}}(e);0===r?(o.indeterminate=!1,o.checked=!1):r===t?(o.indeterminate=!1,o.checked=!0):o.indeterminate=!0}}function x(e){return Array.from(e.querySelectorAll('gux-form-field-checkbox input:not(gux-form-field-checkbox[slot="group-checkbox"] input'))}const m=class{constructor(o){e(this,o),this.hasGroupError=!1,this.hasGroupHelp=!1,this.hasGroupLabelInfo=!1,this.disabled=!1}watchGroupError(e){const o=this.root.querySelectorAll("gux-form-field-checkbox");o&&o.forEach((o=>{o.hasGroupError=e}))}watchDisabled(){this.setDisabledCheckboxes()}onMutation(){this.hasGroupError=i(this.root,"group-error"),this.hasGroupHelp=i(this.root,"group-help"),this.hasGroupLabelInfo=i(this.root,"group-label-info")}componentWillLoad(){this.hasGroupError=i(this.root,"group-error"),this.hasGroupHelp=i(this.root,"group-help"),this.hasGroupLabelInfo=i(this.root,"group-label-info"),this.setLabel(),this.setDisabledCheckboxes(),c(this.root)}componentDidLoad(){p(this.root,this.root.querySelector('gux-form-field-checkbox[slot="group-checkbox"] input'))}disconnectedCallback(){this.disabledObserver&&this.disabledObserver.disconnect()}getGroupCheckboxElement(){return this.root.querySelector('gux-form-field-checkbox[slot="group-checkbox"] input')}setDisabledCheckboxes(){const e=this.root.querySelectorAll("gux-form-field-checkbox");e&&e.forEach((e=>{e.hasGroupDisabled=this.disabled}))}onMainCheckboxChange(){const e=this.getGroupCheckboxElement();var r;r=e.checked,x(this.root).forEach((e=>{e.checked===r||e.disabled||(e.checked=r,s(e,"input"),s(e,"change"))})),o(this.root)}setupNestedCheckboxes(){this.warnMultipleGroupCheckbox(),this.warnGroupCheckboxNameAttr();const e=this.getGroupCheckboxElement();e?this.root.classList.add("gux-group-checkbox"):this.root.classList.remove("gux-group-checkbox"),null==e||e.addEventListener("change",(()=>{this.onMainCheckboxChange()})),this.initialSetNestedCheckboxes(null==e?void 0:e.checked)}initialSetNestedCheckboxes(e){const o=Array.from(this.root.querySelectorAll('gux-form-field-checkbox input:not(gux-form-field-checkbox[slot="group-checkbox"] input)'));(null==o?void 0:o.length)&&o.forEach((o=>{o.addEventListener("change",(()=>{this.updateMainCheckbox()})),e&&!o.disabled&&(o.checked=!0)}))}warnMultipleGroupCheckbox(){const e=this.root.querySelectorAll('gux-form-field-checkbox[slot="group-checkbox"] input');(null==e?void 0:e.length)>1&&a(this.root,"Can only have one group checkbox")}warnGroupCheckboxNameAttr(){const e=this.getGroupCheckboxElement();(null==e?void 0:e.hasAttribute("name"))&&a(this.root,"Group checkbox should not have a name attribute")}updateMainCheckbox(){p(this.root,this.root.querySelector('gux-form-field-checkbox[slot="group-checkbox"] input')),o(this.root)}renderText(e,o=!1){if(o)return" "+e}render(){var e;return r(g,{key:"d2d6388298b7166d57da2b5c22ef6db4b6e24f97",labelPosition:"above"},r(d,{key:"0db9d9ea4dd539a61278af772b8c6932849371fe"},null===(e=this.label)||void 0===e?void 0:e.textContent,this.renderText(u(this.root,"group-error"),this.hasGroupError),this.renderText(u(this.root,"group-help"),this.hasGroupHelp),this.renderText(u(this.root,"group-label-info"),this.hasGroupLabelInfo)),r(h,{key:"f9d920bfcb30926eda1564b809c0944ac8598ec2",position:"above",required:!1},r("slot",{key:"59f6fdb532fd40ef2ac79762398a17ecb51f7583",name:"group-label",onSlotchange:()=>this.setLabel()}),r("slot",{key:"2334ef8f61007cdb82182b7ae05fe6f012553b89",name:"group-label-info"})),r("slot",{key:"ea1e880daa92661d10b4eee4b7eede2bb29d0d54",onSlotchange:()=>this.setupNestedCheckboxes(),name:"group-checkbox"}),r("slot",{key:"d88a9ce2949718c4da74acb803889acc9ded4dde",onSlotchange:()=>this.updateMainCheckbox()}),r(f,{key:"dfcc4a70d226e2b9502931d7746052dba5efcd90",show:this.hasGroupError},r("slot",{key:"f6c779ada444a5712052f93f66d34427717f936d",name:"group-error"})),r(n,{key:"672573142344dc7288b5e8dc9bb4d0032c538c8c",show:!this.hasGroupError&&this.hasGroupHelp},r("slot",{key:"4e6668b094068ac793ddd1ef004601b2652dd113",name:"group-help"})))}setLabel(){this.label=this.root.querySelector('label[slot="group-label"]')}get root(){return t(this)}static get watchers(){return{hasGroupError:["watchGroupError"],disabled:["watchDisabled"]}}};(function(e,o,r,t){var l,i=arguments.length,a=i<3?o:null===t?t=Object.getOwnPropertyDescriptor(o,r):t;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,o,r,t);else for(var s=e.length-1;s>=0;s--)(l=e[s])&&(a=(i<3?l(a):i>3?l(o,r,a):l(o,r))||a);i>3&&a&&Object.defineProperty(o,r,a)})([l({childList:!0,subtree:!0})],m.prototype,"onMutation",null),m.style=".gux-form-field-fieldset-container{display:flex;min-width:0;padding:0;margin:0;border:none}.gux-form-field-fieldset-container.gux-beside{flex-direction:row}.gux-form-field-fieldset-container.gux-above{flex-direction:column}.gux-form-field-error{display:none;flex-direction:row;flex-wrap:nowrap;gap:var(--gse-ui-formControl-helper-gap);place-content:stretch flex-start;align-items:center;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;align-self:start;order:0;min-width:var(--gse-ui-icon-size-sm);min-height:var(--gse-ui-icon-size-sm);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-help{display:none;flex-direction:row;flex-wrap:nowrap;place-content:stretch flex-start;align-items:flex-start;justify-content:flex-start;padding:var(--gse-ui-formControl-helper-paddingSmall);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}.gux-form-field-error{display:none;flex-direction:row;flex-wrap:nowrap;gap:var(--gse-ui-formControl-helper-gap);place-content:stretch flex-start;align-items:center;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;align-self:start;order:0;min-width:var(--gse-ui-icon-size-sm);min-height:var(--gse-ui-icon-size-sm);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-help{display:none;flex-direction:row;flex-wrap:nowrap;place-content:stretch flex-start;align-items:flex-start;justify-content:flex-start;padding:var(--gse-ui-formControl-helper-paddingSmall);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}.gux-form-field-visual-label{display:inline-flex;flex:1 0 auto}.gux-form-field-visual-label ::slotted(gux-label-info-beta){padding-inline-start:var(--gse-ui-formControl-label-gap)}.gux-form-field-visual-label.gux-required gux-form-field-label-indicator{padding-inline-start:var(--gse-ui-formControl-label-gap)}.gux-form-field-visual-label.gux-beside{position:relative;top:var(--gse-ui-formControl-input-top);width:fit-content;min-width:var(--gse-ui-formControl-input-textfield-minWidth);max-width:fit-content;margin-right:var(--gse-ui-formControl-group-gapItems)}.gux-form-field-visual-label.gux-above{padding:var(--gse-ui-formControl-label-padding)}.gux-form-field-visual-label.gux-screenreader{display:none}.gux-form-field-screenreader-label{position:absolute;top:auto;left:-10000px;width:1px;height:1px;overflow:hidden}:host{display:block}:host([disabled]) .gux-form-field-legend-label{opacity:var(--gse-ui-formControl-input-disabled-opacity)}::slotted(gux-form-field-checkbox){padding-top:var(--gse-ui-formControl-group-gapItems)}::slotted(gux-form-field-checkbox:first-of-type){padding-top:0}:host(.gux-group-checkbox) ::slotted(gux-form-field-checkbox){padding-left:24px}:host(.gux-group-checkbox) slot[name=group-checkbox]::slotted(gux-form-field-checkbox){padding-left:0}.gux-form-field-legend-label{font-family:var(--gse-ui-formControl-label-text-fontFamily);font-size:var(--gse-ui-formControl-label-text-fontSize);font-weight:var(--gse-ui-formControl-label-text-fontWeight);line-height:var(--gse-ui-formControl-label-text-lineHeight);color:var(--gse-ui-formControl-label-labelColor)}:host([disabled]) ::slotted(label){opacity:var(--gse-ui-formControl-input-disabled-opacity)}::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)}";export{m as gux_form_field_checkbox_group_beta}
|
package/dist/stencil-wrapper.js
CHANGED
@@ -7,7 +7,7 @@
|
|
7
7
|
*/
|
8
8
|
import { defineCustomElements } from '../dist/loader';
|
9
9
|
// Value templated out during build process (see scripts/wrap-stencil.js)
|
10
|
-
export const COMPONENT_ASSETS_PATH = '/spark-components/build-assets/4.
|
10
|
+
export const COMPONENT_ASSETS_PATH = '/spark-components/build-assets/4.74.0-313/genesys-webcomponents/';
|
11
11
|
// Default domain to load assets from
|
12
12
|
const DEFAULT_DOMAIN = 'app.mypurecloud.com';
|
13
13
|
// List of Genesys UI domains
|
@@ -1,5 +1,5 @@
|
|
1
1
|
import { JSX } from '../../../../../stencil-public-runtime';
|
2
|
-
import { GuxFormFieldLabelPosition } from '../../gux-form-field.types';
|
2
|
+
import { GuxFormFieldLabelPosition, GuxFormFieldIndicatorMark } from '../../gux-form-field.types';
|
3
3
|
/**
|
4
4
|
* @slot input - Required slot for input tag
|
5
5
|
* @slot label - Required slot for label tag
|
@@ -16,6 +16,12 @@ export declare class GuxFormFieldColor {
|
|
16
16
|
private hideLabelInfoTimeout;
|
17
17
|
private root;
|
18
18
|
labelPosition: GuxFormFieldLabelPosition;
|
19
|
+
/**
|
20
|
+
* Field indicator mark which can show *, (optional) or blank
|
21
|
+
* Defaults to required. When set to required, the component will display * for required fields and blank for optional
|
22
|
+
* When set to optional, the component will display (optional) for optional and blank for required.
|
23
|
+
*/
|
24
|
+
indicatorMark: GuxFormFieldIndicatorMark;
|
19
25
|
private computedLabelPosition;
|
20
26
|
private disabled;
|
21
27
|
private required;
|
@@ -1,5 +1,5 @@
|
|
1
1
|
import { JSX } from '../../../../../stencil-public-runtime';
|
2
|
-
import { GuxFormFieldLabelPosition } from '../../gux-form-field.types';
|
2
|
+
import { GuxFormFieldIndicatorMark, GuxFormFieldLabelPosition } from '../../gux-form-field.types';
|
3
3
|
/**
|
4
4
|
* @slot input - Required slot for input tag
|
5
5
|
* @slot label - Required slot for label tag
|
@@ -17,6 +17,12 @@ export declare class GuxFormFieldDropdown {
|
|
17
17
|
private hideLabelInfoTimeout;
|
18
18
|
private root;
|
19
19
|
labelPosition: GuxFormFieldLabelPosition;
|
20
|
+
/**
|
21
|
+
* Field indicator mark which can show *, (optional) or blank
|
22
|
+
* Defaults to required. When set to required, the component will display * for required fields and blank for optional
|
23
|
+
* When set to optional, the component will display (optional) for optional and blank for required.
|
24
|
+
*/
|
25
|
+
indicatorMark: GuxFormFieldIndicatorMark;
|
20
26
|
private computedLabelPosition;
|
21
27
|
private required;
|
22
28
|
private hasError;
|
@@ -1,5 +1,5 @@
|
|
1
1
|
import { JSX } from '../../../../../stencil-public-runtime';
|
2
|
-
import { GuxFormFieldLabelPosition } from '../../gux-form-field.types';
|
2
|
+
import { GuxFormFieldLabelPosition, GuxFormFieldIndicatorMark } from '../../gux-form-field.types';
|
3
3
|
/**
|
4
4
|
* @slot input - Required slot for input tag
|
5
5
|
* @slot label - Required slot for label tag
|
@@ -15,6 +15,12 @@ export declare class GuxFormFieldFile {
|
|
15
15
|
private hideLabelInfoTimeout;
|
16
16
|
private root;
|
17
17
|
labelPosition: GuxFormFieldLabelPosition;
|
18
|
+
/**
|
19
|
+
* Field indicator mark which can show *, (optional) or blank
|
20
|
+
* Defaults to required. When set to required, the component will display * for required fields and blank for optional
|
21
|
+
* When set to optional, the component will display (optional) for optional and blank for required.
|
22
|
+
*/
|
23
|
+
indicatorMark: GuxFormFieldIndicatorMark;
|
18
24
|
private computedLabelPosition;
|
19
25
|
private hasError;
|
20
26
|
private hasHelp;
|
@@ -1,5 +1,5 @@
|
|
1
1
|
import { JSX } from '../../../../../stencil-public-runtime';
|
2
|
-
import { GuxFormFieldLabelPosition } from '../../gux-form-field.types';
|
2
|
+
import { GuxFormFieldLabelPosition, GuxFormFieldIndicatorMark } from '../../gux-form-field.types';
|
3
3
|
/**
|
4
4
|
* @slot input - Required slot for input tag
|
5
5
|
* @slot label - Required slot for label tag
|
@@ -19,6 +19,12 @@ export declare class GuxFormFieldNumber {
|
|
19
19
|
private root;
|
20
20
|
clearable: boolean;
|
21
21
|
labelPosition: GuxFormFieldLabelPosition;
|
22
|
+
/**
|
23
|
+
* Field indicator mark which can show *, (optional) or blank
|
24
|
+
* Defaults to required. When set to required, the component will display * for required fields and blank for optional
|
25
|
+
* When set to optional, the component will display (optional) for optional and blank for required.
|
26
|
+
*/
|
27
|
+
indicatorMark: GuxFormFieldIndicatorMark;
|
22
28
|
private computedLabelPosition;
|
23
29
|
private disabled;
|
24
30
|
private required;
|
@@ -1,5 +1,5 @@
|
|
1
1
|
import { JSX } from '../../../../../stencil-public-runtime';
|
2
|
-
import { GuxFormFieldLabelPosition } from '../../gux-form-field.types';
|
2
|
+
import { GuxFormFieldLabelPosition, GuxFormFieldIndicatorMark } from '../../gux-form-field.types';
|
3
3
|
/**
|
4
4
|
* @slot - Required slot for gux-phone-input-beta tag
|
5
5
|
* @slot label - Required slot for label tag
|
@@ -17,6 +17,12 @@ export declare class GuxFormFieldPhone {
|
|
17
17
|
private hideLabelInfoTimeout;
|
18
18
|
private root;
|
19
19
|
labelPosition: GuxFormFieldLabelPosition;
|
20
|
+
/**
|
21
|
+
* Field indicator mark which can show *, (optional) or blank
|
22
|
+
* Defaults to required. When set to required, the component will display * for required fields and blank for optional
|
23
|
+
* When set to optional, the component will display (optional) for optional and blank for required.
|
24
|
+
*/
|
25
|
+
indicatorMark: GuxFormFieldIndicatorMark;
|
20
26
|
private computedLabelPosition;
|
21
27
|
private disabled;
|
22
28
|
private required;
|
@@ -1,5 +1,5 @@
|
|
1
1
|
import { JSX } from '../../../../../stencil-public-runtime';
|
2
|
-
import { GuxFormFieldLabelPosition } from '../../gux-form-field.types';
|
2
|
+
import { GuxFormFieldLabelPosition, GuxFormFieldIndicatorMark } from '../../gux-form-field.types';
|
3
3
|
/**
|
4
4
|
* @slot input - Required slot for input tag
|
5
5
|
* @slot label - Required slot for label tag
|
@@ -21,6 +21,12 @@ export declare class GuxFormField {
|
|
21
21
|
displayUnits: string;
|
22
22
|
valueInTooltip: boolean;
|
23
23
|
labelPosition: GuxFormFieldLabelPosition;
|
24
|
+
/**
|
25
|
+
* Field indicator mark which can show *, (optional) or blank
|
26
|
+
* Defaults to required. When set to required, the component will display * for required fields and blank for optional
|
27
|
+
* When set to optional, the component will display (optional) for optional and blank for required.
|
28
|
+
*/
|
29
|
+
indicatorMark: GuxFormFieldIndicatorMark;
|
24
30
|
private computedLabelPosition;
|
25
31
|
private disabled;
|
26
32
|
private required;
|
@@ -1,5 +1,5 @@
|
|
1
1
|
import { JSX } from '../../../../../stencil-public-runtime';
|
2
|
-
import { GuxFormFieldLabelPosition } from '../../gux-form-field.types';
|
2
|
+
import { GuxFormFieldLabelPosition, GuxFormFieldIndicatorMark } from '../../gux-form-field.types';
|
3
3
|
/**
|
4
4
|
* @slot input - Required slot for input tag
|
5
5
|
* @slot label - Required slot for label tag
|
@@ -16,6 +16,12 @@ export declare class GuxFormFieldSearch {
|
|
16
16
|
private hideLabelInfoTimeout;
|
17
17
|
private root;
|
18
18
|
labelPosition: GuxFormFieldLabelPosition;
|
19
|
+
/**
|
20
|
+
* Field indicator mark which can show *, (optional) or blank
|
21
|
+
* Defaults to required. When set to required, the component will display * for required fields and blank for optional
|
22
|
+
* When set to optional, the component will display (optional) for optional and blank for required.
|
23
|
+
*/
|
24
|
+
indicatorMark: GuxFormFieldIndicatorMark;
|
19
25
|
private computedLabelPosition;
|
20
26
|
private clearable;
|
21
27
|
private disabled;
|
@@ -1,5 +1,5 @@
|
|
1
1
|
import { JSX } from '../../../../../stencil-public-runtime';
|
2
|
-
import { GuxFormFieldLabelPosition } from '../../gux-form-field.types';
|
2
|
+
import { GuxFormFieldLabelPosition, GuxFormFieldIndicatorMark } from '../../gux-form-field.types';
|
3
3
|
/**
|
4
4
|
* @slot input - Required slot for input tag
|
5
5
|
* @slot label - Required slot for label tag
|
@@ -16,6 +16,12 @@ export declare class GuxFormFieldSelect {
|
|
16
16
|
private hideLabelInfoTimeout;
|
17
17
|
private root;
|
18
18
|
labelPosition: GuxFormFieldLabelPosition;
|
19
|
+
/**
|
20
|
+
* Field indicator mark which can show *, (optional) or blank
|
21
|
+
* Defaults to required. When set to required, the component will display * for required fields and blank for optional
|
22
|
+
* When set to optional, the component will display (optional) for optional and blank for required.
|
23
|
+
*/
|
24
|
+
indicatorMark: GuxFormFieldIndicatorMark;
|
19
25
|
private computedLabelPosition;
|
20
26
|
private disabled;
|
21
27
|
private required;
|
@@ -1,5 +1,5 @@
|
|
1
1
|
import { JSX } from '../../../../../stencil-public-runtime';
|
2
|
-
import { GuxFormFieldLabelPosition } from '../../gux-form-field.types';
|
2
|
+
import { GuxFormFieldLabelPosition, GuxFormFieldIndicatorMark } from '../../gux-form-field.types';
|
3
3
|
/**
|
4
4
|
* @slot input - Required slot for input tag
|
5
5
|
* @slot label - Required slot for label tag
|
@@ -20,6 +20,12 @@ export declare class GuxFormFieldTextLike {
|
|
20
20
|
clearable: boolean;
|
21
21
|
labelPosition: GuxFormFieldLabelPosition;
|
22
22
|
loading: boolean;
|
23
|
+
/**
|
24
|
+
* Field indicator mark which can show *, (optional) or blank
|
25
|
+
* Defaults to required. When set to required, the component will display * for required fields and blank for optional
|
26
|
+
* When set to optional, the component will display (optional) for optional and blank for required.
|
27
|
+
*/
|
28
|
+
indicatorMark: GuxFormFieldIndicatorMark;
|
23
29
|
private hasPrefix;
|
24
30
|
private hasSuffix;
|
25
31
|
private computedLabelPosition;
|
@@ -1,5 +1,5 @@
|
|
1
1
|
import { JSX } from '../../../../../stencil-public-runtime';
|
2
|
-
import { GuxFormFieldLabelPosition } from '../../gux-form-field.types';
|
2
|
+
import { GuxFormFieldLabelPosition, GuxFormFieldIndicatorMark } from '../../gux-form-field.types';
|
3
3
|
import { GuxFormFieldTextAreaResize } from './gux-form-field-textarea.types';
|
4
4
|
/**
|
5
5
|
* @slot input - Required slot for input tag
|
@@ -19,6 +19,12 @@ export declare class GuxFormFieldTextarea {
|
|
19
19
|
private root;
|
20
20
|
resize: GuxFormFieldTextAreaResize;
|
21
21
|
labelPosition: GuxFormFieldLabelPosition;
|
22
|
+
/**
|
23
|
+
* Field indicator mark which can show *, (optional) or blank
|
24
|
+
* Defaults to required. When set to required, the component will display * for required fields and blank for optional
|
25
|
+
* When set to optional, the component will display (optional) for optional and blank for required.
|
26
|
+
*/
|
27
|
+
indicatorMark: GuxFormFieldIndicatorMark;
|
22
28
|
private computedLabelPosition;
|
23
29
|
private disabled;
|
24
30
|
private required;
|
@@ -1,5 +1,5 @@
|
|
1
1
|
import { JSX } from '../../../../../stencil-public-runtime';
|
2
|
-
import { GuxFormFieldLabelPosition } from '../../gux-form-field.types';
|
2
|
+
import { GuxFormFieldLabelPosition, GuxFormFieldIndicatorMark } from '../../gux-form-field.types';
|
3
3
|
/**
|
4
4
|
* @slot Required slot for gux-time-picker tag
|
5
5
|
* @slot label - Required slot for label tag
|
@@ -17,6 +17,12 @@ export declare class GuxFormFieldTimePicker {
|
|
17
17
|
private hideLabelInfoTimeout;
|
18
18
|
private root;
|
19
19
|
labelPosition: GuxFormFieldLabelPosition;
|
20
|
+
/**
|
21
|
+
* Field indicator mark which can show *, (optional) or blank
|
22
|
+
* Defaults to required. When set to required, the component will display * for required fields and blank for optional
|
23
|
+
* When set to optional, the component will display (optional) for optional and blank for required.
|
24
|
+
*/
|
25
|
+
indicatorMark: GuxFormFieldIndicatorMark;
|
20
26
|
private computedLabelPosition;
|
21
27
|
private disabled;
|
22
28
|
private required;
|
@@ -1,5 +1,5 @@
|
|
1
1
|
import { JSX } from '../../../../../stencil-public-runtime';
|
2
|
-
import { GuxFormFieldLabelPosition } from '../../gux-form-field.types';
|
2
|
+
import { GuxFormFieldLabelPosition, GuxFormFieldIndicatorMark } from '../../gux-form-field.types';
|
3
3
|
/**
|
4
4
|
* @slot Required slot for gux-time-zone-picker-beta tag
|
5
5
|
* @slot label - Required slot for label tag
|
@@ -17,6 +17,12 @@ export declare class GuxFormFieldTimeZonePicker {
|
|
17
17
|
private hideLabelInfoTimeout;
|
18
18
|
private root;
|
19
19
|
labelPosition: GuxFormFieldLabelPosition;
|
20
|
+
/**
|
21
|
+
* Field indicator mark which can show *, (optional) or blank
|
22
|
+
* Defaults to required. When set to required, the component will display * for required fields and blank for optional
|
23
|
+
* When set to optional, the component will display (optional) for optional and blank for required.
|
24
|
+
*/
|
25
|
+
indicatorMark: GuxFormFieldIndicatorMark;
|
20
26
|
private computedLabelPosition;
|
21
27
|
private disabled;
|
22
28
|
private required;
|
@@ -1,9 +1,10 @@
|
|
1
1
|
import { JSX } from '../../../../../stencil-public-runtime';
|
2
2
|
import { GuxFormFieldLabelIndicatorVariant } from './gux-form-field-label-indicator.types';
|
3
3
|
export declare class GuxFormFieldLabelIndicator {
|
4
|
+
private i18n;
|
4
5
|
private root;
|
5
6
|
variant: GuxFormFieldLabelIndicatorVariant;
|
6
7
|
required: boolean;
|
7
|
-
componentWillLoad(): void
|
8
|
+
componentWillLoad(): Promise<void>;
|
8
9
|
render(): JSX.Element;
|
9
10
|
}
|
@@ -23,7 +23,7 @@ import { GuxDatepickerMode } from "./components/stable/gux-datepicker/gux-datepi
|
|
23
23
|
import { GuxDisclosureButtonPosition } from "./components/legacy/gux-disclosure-button-legacy/gux-disclosure-button.types";
|
24
24
|
import { GuxDismissButtonPosition } from "./components/stable/gux-dismiss-button/gux-dismiss-button.types";
|
25
25
|
import { GuxFilterTypes } from "./components/stable/gux-dropdown/gux-dropdown.types";
|
26
|
-
import { GuxFormFieldLabelPosition } from "./components/stable/gux-form-field/gux-form-field.types";
|
26
|
+
import { GuxFormFieldIndicatorMark, GuxFormFieldLabelPosition } from "./components/stable/gux-form-field/gux-form-field.types";
|
27
27
|
import { GuxFormFieldLabelIndicatorVariant } from "./components/stable/gux-form-field/helper-components/gux-form-field-optional-indicator/gux-form-field-label-indicator.types";
|
28
28
|
import { GuxFormFieldTextAreaResize } from "./components/stable/gux-form-field/components/gux-form-field-textarea/gux-form-field-textarea.types";
|
29
29
|
import { GuxFormFooterPlacement } from "./components/beta/gux-form/gux-form-footer/gux-form-footer.types";
|
@@ -72,7 +72,7 @@ export { GuxDatepickerMode } from "./components/stable/gux-datepicker/gux-datepi
|
|
72
72
|
export { GuxDisclosureButtonPosition } from "./components/legacy/gux-disclosure-button-legacy/gux-disclosure-button.types";
|
73
73
|
export { GuxDismissButtonPosition } from "./components/stable/gux-dismiss-button/gux-dismiss-button.types";
|
74
74
|
export { GuxFilterTypes } from "./components/stable/gux-dropdown/gux-dropdown.types";
|
75
|
-
export { GuxFormFieldLabelPosition } from "./components/stable/gux-form-field/gux-form-field.types";
|
75
|
+
export { GuxFormFieldIndicatorMark, GuxFormFieldLabelPosition } from "./components/stable/gux-form-field/gux-form-field.types";
|
76
76
|
export { GuxFormFieldLabelIndicatorVariant } from "./components/stable/gux-form-field/helper-components/gux-form-field-optional-indicator/gux-form-field-label-indicator.types";
|
77
77
|
export { GuxFormFieldTextAreaResize } from "./components/stable/gux-form-field/components/gux-form-field-textarea/gux-form-field-textarea.types";
|
78
78
|
export { GuxFormFooterPlacement } from "./components/beta/gux-form/gux-form-footer/gux-form-footer.types";
|
@@ -535,12 +535,24 @@ export namespace Components {
|
|
535
535
|
"disabled": boolean;
|
536
536
|
}
|
537
537
|
interface GuxFormFieldColor {
|
538
|
+
/**
|
539
|
+
* Field indicator mark which can show *, (optional) or blank Defaults to required. When set to required, the component will display * for required fields and blank for optional When set to optional, the component will display (optional) for optional and blank for required.
|
540
|
+
*/
|
541
|
+
"indicatorMark": GuxFormFieldIndicatorMark;
|
538
542
|
"labelPosition": GuxFormFieldLabelPosition;
|
539
543
|
}
|
540
544
|
interface GuxFormFieldDropdown {
|
545
|
+
/**
|
546
|
+
* Field indicator mark which can show *, (optional) or blank Defaults to required. When set to required, the component will display * for required fields and blank for optional When set to optional, the component will display (optional) for optional and blank for required.
|
547
|
+
*/
|
548
|
+
"indicatorMark": GuxFormFieldIndicatorMark;
|
541
549
|
"labelPosition": GuxFormFieldLabelPosition;
|
542
550
|
}
|
543
551
|
interface GuxFormFieldFile {
|
552
|
+
/**
|
553
|
+
* Field indicator mark which can show *, (optional) or blank Defaults to required. When set to required, the component will display * for required fields and blank for optional When set to optional, the component will display (optional) for optional and blank for required.
|
554
|
+
*/
|
555
|
+
"indicatorMark": GuxFormFieldIndicatorMark;
|
544
556
|
"labelPosition": GuxFormFieldLabelPosition;
|
545
557
|
}
|
546
558
|
interface GuxFormFieldInputClearButton {
|
@@ -552,9 +564,17 @@ export namespace Components {
|
|
552
564
|
interface GuxFormFieldNumber {
|
553
565
|
"clearable": boolean;
|
554
566
|
"guxForceUpdate": () => Promise<void>;
|
567
|
+
/**
|
568
|
+
* Field indicator mark which can show *, (optional) or blank Defaults to required. When set to required, the component will display * for required fields and blank for optional When set to optional, the component will display (optional) for optional and blank for required.
|
569
|
+
*/
|
570
|
+
"indicatorMark": GuxFormFieldIndicatorMark;
|
555
571
|
"labelPosition": GuxFormFieldLabelPosition;
|
556
572
|
}
|
557
573
|
interface GuxFormFieldPhone {
|
574
|
+
/**
|
575
|
+
* Field indicator mark which can show *, (optional) or blank Defaults to required. When set to required, the component will display * for required fields and blank for optional When set to optional, the component will display (optional) for optional and blank for required.
|
576
|
+
*/
|
577
|
+
"indicatorMark": GuxFormFieldIndicatorMark;
|
558
578
|
"labelPosition": GuxFormFieldLabelPosition;
|
559
579
|
}
|
560
580
|
interface GuxFormFieldRadio {
|
@@ -569,30 +589,58 @@ export namespace Components {
|
|
569
589
|
}
|
570
590
|
interface GuxFormFieldRange {
|
571
591
|
"displayUnits": string;
|
592
|
+
/**
|
593
|
+
* Field indicator mark which can show *, (optional) or blank Defaults to required. When set to required, the component will display * for required fields and blank for optional When set to optional, the component will display (optional) for optional and blank for required.
|
594
|
+
*/
|
595
|
+
"indicatorMark": GuxFormFieldIndicatorMark;
|
572
596
|
"labelPosition": GuxFormFieldLabelPosition;
|
573
597
|
"valueInTooltip": boolean;
|
574
598
|
}
|
575
599
|
interface GuxFormFieldSearch {
|
576
600
|
"guxForceUpdate": () => Promise<void>;
|
601
|
+
/**
|
602
|
+
* Field indicator mark which can show *, (optional) or blank Defaults to required. When set to required, the component will display * for required fields and blank for optional When set to optional, the component will display (optional) for optional and blank for required.
|
603
|
+
*/
|
604
|
+
"indicatorMark": GuxFormFieldIndicatorMark;
|
577
605
|
"labelPosition": GuxFormFieldLabelPosition;
|
578
606
|
}
|
579
607
|
interface GuxFormFieldSelect {
|
608
|
+
/**
|
609
|
+
* Field indicator mark which can show *, (optional) or blank Defaults to required. When set to required, the component will display * for required fields and blank for optional When set to optional, the component will display (optional) for optional and blank for required.
|
610
|
+
*/
|
611
|
+
"indicatorMark": GuxFormFieldIndicatorMark;
|
580
612
|
"labelPosition": GuxFormFieldLabelPosition;
|
581
613
|
}
|
582
614
|
interface GuxFormFieldTextLike {
|
583
615
|
"clearable": boolean;
|
584
616
|
"guxForceUpdate": () => Promise<void>;
|
617
|
+
/**
|
618
|
+
* Field indicator mark which can show *, (optional) or blank Defaults to required. When set to required, the component will display * for required fields and blank for optional When set to optional, the component will display (optional) for optional and blank for required.
|
619
|
+
*/
|
620
|
+
"indicatorMark": GuxFormFieldIndicatorMark;
|
585
621
|
"labelPosition": GuxFormFieldLabelPosition;
|
586
622
|
"loading": boolean;
|
587
623
|
}
|
588
624
|
interface GuxFormFieldTextarea {
|
625
|
+
/**
|
626
|
+
* Field indicator mark which can show *, (optional) or blank Defaults to required. When set to required, the component will display * for required fields and blank for optional When set to optional, the component will display (optional) for optional and blank for required.
|
627
|
+
*/
|
628
|
+
"indicatorMark": GuxFormFieldIndicatorMark;
|
589
629
|
"labelPosition": GuxFormFieldLabelPosition;
|
590
630
|
"resize": GuxFormFieldTextAreaResize;
|
591
631
|
}
|
592
632
|
interface GuxFormFieldTimePicker {
|
633
|
+
/**
|
634
|
+
* Field indicator mark which can show *, (optional) or blank Defaults to required. When set to required, the component will display * for required fields and blank for optional When set to optional, the component will display (optional) for optional and blank for required.
|
635
|
+
*/
|
636
|
+
"indicatorMark": GuxFormFieldIndicatorMark;
|
593
637
|
"labelPosition": GuxFormFieldLabelPosition;
|
594
638
|
}
|
595
639
|
interface GuxFormFieldTimeZonePicker {
|
640
|
+
/**
|
641
|
+
* Field indicator mark which can show *, (optional) or blank Defaults to required. When set to required, the component will display * for required fields and blank for optional When set to optional, the component will display (optional) for optional and blank for required.
|
642
|
+
*/
|
643
|
+
"indicatorMark": GuxFormFieldIndicatorMark;
|
596
644
|
"labelPosition": GuxFormFieldLabelPosition;
|
597
645
|
}
|
598
646
|
interface GuxFormFieldsetHeading {
|
@@ -3522,12 +3570,24 @@ declare namespace LocalJSX {
|
|
3522
3570
|
"disabled"?: boolean;
|
3523
3571
|
}
|
3524
3572
|
interface GuxFormFieldColor {
|
3573
|
+
/**
|
3574
|
+
* Field indicator mark which can show *, (optional) or blank Defaults to required. When set to required, the component will display * for required fields and blank for optional When set to optional, the component will display (optional) for optional and blank for required.
|
3575
|
+
*/
|
3576
|
+
"indicatorMark"?: GuxFormFieldIndicatorMark;
|
3525
3577
|
"labelPosition"?: GuxFormFieldLabelPosition;
|
3526
3578
|
}
|
3527
3579
|
interface GuxFormFieldDropdown {
|
3580
|
+
/**
|
3581
|
+
* Field indicator mark which can show *, (optional) or blank Defaults to required. When set to required, the component will display * for required fields and blank for optional When set to optional, the component will display (optional) for optional and blank for required.
|
3582
|
+
*/
|
3583
|
+
"indicatorMark"?: GuxFormFieldIndicatorMark;
|
3528
3584
|
"labelPosition"?: GuxFormFieldLabelPosition;
|
3529
3585
|
}
|
3530
3586
|
interface GuxFormFieldFile {
|
3587
|
+
/**
|
3588
|
+
* Field indicator mark which can show *, (optional) or blank Defaults to required. When set to required, the component will display * for required fields and blank for optional When set to optional, the component will display (optional) for optional and blank for required.
|
3589
|
+
*/
|
3590
|
+
"indicatorMark"?: GuxFormFieldIndicatorMark;
|
3531
3591
|
"labelPosition"?: GuxFormFieldLabelPosition;
|
3532
3592
|
}
|
3533
3593
|
interface GuxFormFieldInputClearButton {
|
@@ -3538,9 +3598,17 @@ declare namespace LocalJSX {
|
|
3538
3598
|
}
|
3539
3599
|
interface GuxFormFieldNumber {
|
3540
3600
|
"clearable"?: boolean;
|
3601
|
+
/**
|
3602
|
+
* Field indicator mark which can show *, (optional) or blank Defaults to required. When set to required, the component will display * for required fields and blank for optional When set to optional, the component will display (optional) for optional and blank for required.
|
3603
|
+
*/
|
3604
|
+
"indicatorMark"?: GuxFormFieldIndicatorMark;
|
3541
3605
|
"labelPosition"?: GuxFormFieldLabelPosition;
|
3542
3606
|
}
|
3543
3607
|
interface GuxFormFieldPhone {
|
3608
|
+
/**
|
3609
|
+
* Field indicator mark which can show *, (optional) or blank Defaults to required. When set to required, the component will display * for required fields and blank for optional When set to optional, the component will display (optional) for optional and blank for required.
|
3610
|
+
*/
|
3611
|
+
"indicatorMark"?: GuxFormFieldIndicatorMark;
|
3544
3612
|
"labelPosition"?: GuxFormFieldLabelPosition;
|
3545
3613
|
}
|
3546
3614
|
interface GuxFormFieldRadio {
|
@@ -3555,28 +3623,56 @@ declare namespace LocalJSX {
|
|
3555
3623
|
}
|
3556
3624
|
interface GuxFormFieldRange {
|
3557
3625
|
"displayUnits"?: string;
|
3626
|
+
/**
|
3627
|
+
* Field indicator mark which can show *, (optional) or blank Defaults to required. When set to required, the component will display * for required fields and blank for optional When set to optional, the component will display (optional) for optional and blank for required.
|
3628
|
+
*/
|
3629
|
+
"indicatorMark"?: GuxFormFieldIndicatorMark;
|
3558
3630
|
"labelPosition"?: GuxFormFieldLabelPosition;
|
3559
3631
|
"valueInTooltip"?: boolean;
|
3560
3632
|
}
|
3561
3633
|
interface GuxFormFieldSearch {
|
3634
|
+
/**
|
3635
|
+
* Field indicator mark which can show *, (optional) or blank Defaults to required. When set to required, the component will display * for required fields and blank for optional When set to optional, the component will display (optional) for optional and blank for required.
|
3636
|
+
*/
|
3637
|
+
"indicatorMark"?: GuxFormFieldIndicatorMark;
|
3562
3638
|
"labelPosition"?: GuxFormFieldLabelPosition;
|
3563
3639
|
}
|
3564
3640
|
interface GuxFormFieldSelect {
|
3641
|
+
/**
|
3642
|
+
* Field indicator mark which can show *, (optional) or blank Defaults to required. When set to required, the component will display * for required fields and blank for optional When set to optional, the component will display (optional) for optional and blank for required.
|
3643
|
+
*/
|
3644
|
+
"indicatorMark"?: GuxFormFieldIndicatorMark;
|
3565
3645
|
"labelPosition"?: GuxFormFieldLabelPosition;
|
3566
3646
|
}
|
3567
3647
|
interface GuxFormFieldTextLike {
|
3568
3648
|
"clearable"?: boolean;
|
3649
|
+
/**
|
3650
|
+
* Field indicator mark which can show *, (optional) or blank Defaults to required. When set to required, the component will display * for required fields and blank for optional When set to optional, the component will display (optional) for optional and blank for required.
|
3651
|
+
*/
|
3652
|
+
"indicatorMark"?: GuxFormFieldIndicatorMark;
|
3569
3653
|
"labelPosition"?: GuxFormFieldLabelPosition;
|
3570
3654
|
"loading"?: boolean;
|
3571
3655
|
}
|
3572
3656
|
interface GuxFormFieldTextarea {
|
3657
|
+
/**
|
3658
|
+
* Field indicator mark which can show *, (optional) or blank Defaults to required. When set to required, the component will display * for required fields and blank for optional When set to optional, the component will display (optional) for optional and blank for required.
|
3659
|
+
*/
|
3660
|
+
"indicatorMark"?: GuxFormFieldIndicatorMark;
|
3573
3661
|
"labelPosition"?: GuxFormFieldLabelPosition;
|
3574
3662
|
"resize"?: GuxFormFieldTextAreaResize;
|
3575
3663
|
}
|
3576
3664
|
interface GuxFormFieldTimePicker {
|
3665
|
+
/**
|
3666
|
+
* Field indicator mark which can show *, (optional) or blank Defaults to required. When set to required, the component will display * for required fields and blank for optional When set to optional, the component will display (optional) for optional and blank for required.
|
3667
|
+
*/
|
3668
|
+
"indicatorMark"?: GuxFormFieldIndicatorMark;
|
3577
3669
|
"labelPosition"?: GuxFormFieldLabelPosition;
|
3578
3670
|
}
|
3579
3671
|
interface GuxFormFieldTimeZonePicker {
|
3672
|
+
/**
|
3673
|
+
* Field indicator mark which can show *, (optional) or blank Defaults to required. When set to required, the component will display * for required fields and blank for optional When set to optional, the component will display (optional) for optional and blank for required.
|
3674
|
+
*/
|
3675
|
+
"indicatorMark"?: GuxFormFieldIndicatorMark;
|
3580
3676
|
"labelPosition"?: GuxFormFieldLabelPosition;
|
3581
3677
|
}
|
3582
3678
|
interface GuxFormFieldsetHeading {
|
@@ -1,2 +1,2 @@
|
|
1
|
-
export declare const COMPONENT_ASSETS_PATH = "/spark-components/build-assets/4.
|
1
|
+
export declare const COMPONENT_ASSETS_PATH = "/spark-components/build-assets/4.74.0-313/genesys-webcomponents/";
|
2
2
|
export declare function registerElements(): void;
|
package/package.json
CHANGED
@@ -1 +0,0 @@
|
|
1
|
-
import{r as e,h as t,g as o}from"./p-2e827df1.js";import{O as i}from"./p-01471ba0.js";import{h as r}from"./p-6d8b4027.js";import{t as l}from"./p-d90bdc07.js";import{a,G as s}from"./p-fb1ab7b1.js";import{G as f,a as n}from"./p-9773c4fe.js";import{a as d,g as h,v as u}from"./p-66246239.js";import{p}from"./p-a11d5d42.js";import{o as g}from"./p-e5b1cffc.js";import"./p-0934300e.js";import"./p-8eaf8caf.js";import"./p-2c25e2f2.js";const m=class{constructor(t){e(this,t),this.labelPosition=void 0,this.computedLabelPosition="above",this.hasError=!1,this.hasHelp=!1,this.required=!1}onMutation(){this.labelInfo=this.root.querySelector("[slot=label-info]"),this.hasError=r(this.root,"error"),this.hasHelp=r(this.root,"help")}handleKeyup(e){var t,o;"Tab"===e.key?this.input.matches(":focus-visible")&&(null===(t=this.labelInfo)||void 0===t||t.showTooltip(),this.hideLabelInfoTimeout=setTimeout((()=>{var e;null===(e=this.labelInfo)||void 0===e||e.hideTooltip()}),6e3)):this.input.matches(":focus-visible")&&(null===(o=this.labelInfo)||void 0===o||o.hideTooltip(),clearTimeout(this.hideLabelInfoTimeout))}onFocusout(){var e;null===(e=this.labelInfo)||void 0===e||e.hideTooltip(),clearTimeout(this.hideLabelInfoTimeout)}componentWillLoad(){this.setInput(),this.setLabel(),this.hasError=r(this.root,"error"),this.hasHelp=r(this.root,"help"),this.labelInfo=this.root.querySelector("[slot=label-info]"),l(this.root,{variant:this.variant})}disconnectedCallback(){this.requiredObserver&&this.requiredObserver.disconnect()}setLabel(){this.label=this.root.querySelector('label[slot="label"]'),this.computedLabelPosition=d(this.label,this.labelPosition)}setInput(){this.input=h(this.root,'input[type="file"][slot="input"]'),p(this.input),this.required=this.input.required,this.requiredObserver=g(this.input,(e=>{this.required=e})),u(this.root,this.input)}get variant(){return`fileInput-${this.labelPosition?this.labelPosition.toLowerCase():"none"}`}render(){return t(n,{key:"e5b4d9fdfa79cad57d505668636f26d2f9daf69c",labelPosition:this.computedLabelPosition},t(f,{key:"99f7577d1400eb36b0242b195008988b59f5f248",position:this.computedLabelPosition,required:this.required},t("slot",{key:"c12c665f1cd9dc5749057cfc2a594481ecc0faca",name:"label",onSlotchange:()=>this.setLabel()}),t("gux-form-field-label-indicator",{key:"52b9d60441ba013611560a7d2116c14e0e5323e0",variant:"required",required:this.required}),t("slot",{key:"5ffdd1246404deeb9f621ada51a85bb4ec29dd65",name:"label-info"})),t("div",{key:"b4d0f24cbe35ea18cb2390d7cad8db8c44186157",class:"gux-input-and-error-container"},t("slot",{key:"5576250cc594f994c3bd8d265c509e8a72fd49f1",name:"input",onSlotchange:()=>this.setInput()}),t(a,{key:"142b616ae68ce9bbf0add9261eb298b085c4eced",show:this.hasError},t("slot",{key:"f0e40d277507f95bf89a6adb7db6700e1760f969",name:"error"})),t(s,{key:"f9019d60c785a5f1134748beee6322b887f3e02a",show:!this.hasError&&this.hasHelp},t("slot",{key:"ce08f918eb12f490a5a1b0f6e02ec2c8866d3845",name:"help"}))))}get root(){return o(this)}};(function(e,t,o,i){var r,l=arguments.length,a=l<3?t:null===i?i=Object.getOwnPropertyDescriptor(t,o):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,o,i);else for(var s=e.length-1;s>=0;s--)(r=e[s])&&(a=(l<3?r(a):l>3?r(t,o,a):r(t,o))||a);l>3&&a&&Object.defineProperty(t,o,a)})([i({childList:!0,subtree:!0})],m.prototype,"onMutation",null),m.style=".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;align-items:center;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;align-self:start;order:0;min-width:var(--gse-ui-icon-size-sm);min-height:var(--gse-ui-icon-size-sm);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-label-gap)}.gux-form-field-label.gux-required gux-form-field-label-indicator{padding-inline-start:var(--gse-ui-formControl-label-gap)}.gux-form-field-label.gux-beside{position:relative;top:var(--gse-ui-formControl-input-top);width:fit-content;min-width:var(--gse-ui-formControl-input-textfield-minWidth);max-width:fit-content;margin-right:var(--gse-ui-formControl-group-gapItems)}.gux-form-field-label.gux-above{padding:var(--gse-ui-formControl-label-padding)}.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:var(--gse-ui-formControl-helper-paddingSmall);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}";export{m as gux_form_field_file}
|