genesys-spark-components 3.24.1 → 3.26.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/CHANGELOG.md +31 -0
- package/dist/cjs/genesys-webcomponents.cjs.js +1 -1
- package/dist/cjs/gux-accordion-legacy.cjs.entry.js +1 -1
- package/dist/cjs/gux-accordion.cjs.entry.js +1 -1
- package/dist/cjs/gux-action-button-legacy.cjs.entry.js +1 -1
- package/dist/cjs/gux-action-button.cjs.entry.js +1 -1
- package/dist/cjs/gux-action-list-legacy.cjs.entry.js +1 -1
- package/dist/cjs/gux-action-toast.cjs.entry.js +1 -1
- package/dist/cjs/gux-advanced-dropdown.cjs.entry.js +1 -1
- package/dist/cjs/gux-badge-beta.cjs.entry.js +1 -1
- package/dist/cjs/gux-blank-state-beta.cjs.entry.js +67 -0
- package/dist/cjs/gux-breadcrumbs.cjs.entry.js +1 -1
- package/dist/cjs/gux-button-multi-legacy.cjs.entry.js +1 -1
- package/dist/cjs/gux-button-multi.cjs.entry.js +1 -1
- package/dist/cjs/gux-button-slot-beta.cjs.entry.js +7 -3
- 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-beta.cjs.entry.js +1 -1
- package/dist/cjs/gux-chart-column-beta.cjs.entry.js +1 -1
- package/dist/cjs/gux-chart-donut-beta.cjs.entry.js +1 -1
- package/dist/cjs/gux-chart-line-beta.cjs.entry.js +1 -1
- package/dist/cjs/gux-chart-pie-beta.cjs.entry.js +1 -1
- package/dist/cjs/gux-chart-scatter-plot-beta.cjs.entry.js +1 -1
- package/dist/cjs/gux-command-palette-legacy.cjs.entry.js +1 -1
- package/dist/cjs/gux-content-search.cjs.entry.js +1 -1
- package/dist/cjs/gux-copy-to-clipboard-beta.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.cjs.entry.js +1 -1
- package/dist/cjs/gux-dismiss-button.cjs.entry.js +1 -1
- package/dist/cjs/gux-dropdown-legacy.cjs.entry.js +1 -1
- package/dist/cjs/gux-dropdown-multi-beta.cjs.entry.js +5 -3
- package/dist/cjs/gux-dropdown-option.cjs.entry.js +1 -1
- package/dist/cjs/gux-dropdown_3.cjs.entry.js +6 -4
- package/dist/cjs/gux-error-message-beta.cjs.entry.js +1 -1
- package/dist/cjs/gux-flyout-menu-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 +12 -2
- package/dist/cjs/gux-form-field-input-clear-button.cjs.entry.js +1 -1
- package/dist/cjs/gux-form-field-legacy.cjs.entry.js +1 -1
- package/dist/cjs/gux-form-field-number.cjs.entry.js +2 -2
- package/dist/cjs/gux-form-field-radio.cjs.entry.js +1 -1
- package/dist/cjs/gux-form-field-range.cjs.entry.js +2 -2
- package/dist/cjs/gux-form-field-search.cjs.entry.js +2 -2
- package/dist/cjs/gux-form-field-select.cjs.entry.js +2 -2
- package/dist/cjs/gux-form-field-text-like.cjs.entry.js +2 -2
- package/dist/cjs/gux-form-field-textarea.cjs.entry.js +2 -2
- package/dist/cjs/gux-icon.cjs.entry.js +1 -1
- package/dist/cjs/gux-list-item-legacy_2.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-beta.cjs.entry.js +1 -1
- package/dist/cjs/gux-modal.cjs.entry.js +1 -1
- package/dist/cjs/gux-notification-toast.cjs.entry.js +1 -1
- package/dist/cjs/gux-page-loading-spinner.cjs.entry.js +1 -1
- package/dist/cjs/gux-pagination-beta.cjs.entry.js +1 -1
- package/dist/cjs/gux-pagination-cursor.cjs.entry.js +1 -1
- package/dist/cjs/gux-pagination.cjs.entry.js +1 -1
- package/dist/cjs/gux-panel-frame-legacy.cjs.entry.js +1 -1
- package/dist/cjs/gux-popover-list.cjs.entry.js +1 -1
- package/dist/cjs/gux-popover.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-side-panel-legacy.cjs.entry.js +1 -1
- package/dist/cjs/gux-simple-toast.cjs.entry.js +1 -1
- package/dist/cjs/gux-skip-navigation-list-beta.cjs.entry.js +1 -1
- package/dist/cjs/gux-sort-control.cjs.entry.js +1 -1
- package/dist/cjs/gux-switch.cjs.entry.js +1 -1
- package/dist/cjs/gux-table-beta.cjs.entry.js +1 -1
- package/dist/cjs/gux-tabs-advanced.cjs.entry.js +1 -1
- package/dist/cjs/gux-tabs-legacy.cjs.entry.js +1 -1
- package/dist/cjs/gux-tabs.cjs.entry.js +1 -1
- package/dist/cjs/gux-tag-beta.cjs.entry.js +1 -1
- package/dist/cjs/gux-text-highlight.cjs.entry.js +1 -1
- package/dist/cjs/gux-text-label-legacy.cjs.entry.js +1 -1
- package/dist/cjs/gux-time-beta.cjs.entry.js +1 -1
- package/dist/cjs/gux-time-picker-beta.cjs.entry.js +1 -1
- package/dist/cjs/gux-toggle.cjs.entry.js +1 -1
- package/dist/cjs/gux-tooltip.cjs.entry.js +1 -1
- package/dist/cjs/gux-truncate-beta.cjs.entry.js +2 -20
- package/dist/cjs/gux-visualization-beta.cjs.entry.js +1 -1
- package/dist/cjs/index-262c2e3a.js +8 -4
- package/dist/cjs/loader.cjs.js +1 -1
- package/dist/cjs/on-resize-5c72a54c.js +24 -0
- package/dist/cjs/{usage-tracking-14db66d2.js → usage-tracking-2125d6be.js} +1 -1
- package/dist/collection/collection-manifest.json +1 -0
- package/dist/collection/components/beta/gux-blank-state/gux-blank-state-constants.js +5 -0
- package/dist/collection/components/beta/gux-blank-state/gux-blank-state.css +61 -0
- package/dist/collection/components/beta/gux-blank-state/gux-blank-state.js +69 -0
- package/dist/collection/components/beta/gux-blank-state/gux-blank-state.types.js +1 -0
- package/dist/collection/components/beta/gux-button-slot/gux-button-slot.js +6 -2
- package/dist/collection/components/beta/gux-dropdown-multi/gux-dropdown-multi.css +4 -0
- package/dist/collection/components/beta/gux-dropdown-multi/gux-dropdown-multi.js +21 -1
- package/dist/collection/components/stable/gux-advanced-dropdown/dropdown-option/gux-dropdown-option.css +8 -3
- package/dist/collection/components/stable/gux-dropdown/gux-dropdown.css +4 -0
- package/dist/collection/components/stable/gux-dropdown/gux-dropdown.js +21 -1
- package/dist/collection/components/stable/gux-form-field/components/gux-form-field-color/gux-form-field-color.css +1 -1
- package/dist/collection/components/stable/gux-form-field/components/gux-form-field-dropdown/gux-form-field-dropdown.css +1 -4
- package/dist/collection/components/stable/gux-form-field/components/gux-form-field-dropdown/gux-form-field-dropdown.js +12 -1
- package/dist/collection/components/stable/gux-form-field/components/gux-form-field-number/gux-form-field-number.css +1 -1
- package/dist/collection/components/stable/gux-form-field/components/gux-form-field-range/gux-form-field-range.css +1 -1
- package/dist/collection/components/stable/gux-form-field/components/gux-form-field-search/gux-form-field-search.css +1 -1
- package/dist/collection/components/stable/gux-form-field/components/gux-form-field-select/gux-form-field-select.css +1 -1
- package/dist/collection/components/stable/gux-form-field/components/gux-form-field-text-like/gux-form-field-text-like.css +1 -1
- package/dist/collection/components/stable/gux-form-field/components/gux-form-field-textarea/gux-form-field-textarea.css +1 -1
- package/dist/collection/components/stable/gux-listbox/gux-option/gux-option.css +1 -1
- package/dist/deploy-info.json +3 -3
- package/dist/esm/genesys-webcomponents.js +1 -1
- package/dist/esm/gux-accordion-legacy.entry.js +1 -1
- package/dist/esm/gux-accordion.entry.js +1 -1
- package/dist/esm/gux-action-button-legacy.entry.js +1 -1
- package/dist/esm/gux-action-button.entry.js +1 -1
- package/dist/esm/gux-action-list-legacy.entry.js +1 -1
- package/dist/esm/gux-action-toast.entry.js +1 -1
- package/dist/esm/gux-advanced-dropdown.entry.js +1 -1
- package/dist/esm/gux-badge-beta.entry.js +1 -1
- package/dist/esm/gux-blank-state-beta.entry.js +63 -0
- package/dist/esm/gux-breadcrumbs.entry.js +1 -1
- package/dist/esm/gux-button-multi-legacy.entry.js +1 -1
- package/dist/esm/gux-button-multi.entry.js +1 -1
- package/dist/esm/gux-button-slot-beta.entry.js +7 -3
- package/dist/esm/gux-button.entry.js +1 -1
- package/dist/esm/gux-calendar.entry.js +1 -1
- package/dist/esm/gux-card-beta.entry.js +1 -1
- package/dist/esm/gux-chart-column-beta.entry.js +1 -1
- package/dist/esm/gux-chart-donut-beta.entry.js +1 -1
- package/dist/esm/gux-chart-line-beta.entry.js +1 -1
- package/dist/esm/gux-chart-pie-beta.entry.js +1 -1
- package/dist/esm/gux-chart-scatter-plot-beta.entry.js +1 -1
- package/dist/esm/gux-command-palette-legacy.entry.js +1 -1
- package/dist/esm/gux-content-search.entry.js +1 -1
- package/dist/esm/gux-copy-to-clipboard-beta.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.entry.js +1 -1
- package/dist/esm/gux-dismiss-button.entry.js +1 -1
- package/dist/esm/gux-dropdown-legacy.entry.js +1 -1
- package/dist/esm/gux-dropdown-multi-beta.entry.js +5 -3
- package/dist/esm/gux-dropdown-option.entry.js +1 -1
- package/dist/esm/gux-dropdown_3.entry.js +6 -4
- package/dist/esm/gux-error-message-beta.entry.js +1 -1
- package/dist/esm/gux-flyout-menu-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 +12 -2
- package/dist/esm/gux-form-field-input-clear-button.entry.js +1 -1
- package/dist/esm/gux-form-field-legacy.entry.js +1 -1
- package/dist/esm/gux-form-field-number.entry.js +2 -2
- package/dist/esm/gux-form-field-radio.entry.js +1 -1
- package/dist/esm/gux-form-field-range.entry.js +2 -2
- package/dist/esm/gux-form-field-search.entry.js +2 -2
- package/dist/esm/gux-form-field-select.entry.js +2 -2
- package/dist/esm/gux-form-field-text-like.entry.js +2 -2
- package/dist/esm/gux-form-field-textarea.entry.js +2 -2
- package/dist/esm/gux-icon.entry.js +1 -1
- package/dist/esm/gux-list-item-legacy_2.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-beta.entry.js +1 -1
- package/dist/esm/gux-modal.entry.js +1 -1
- package/dist/esm/gux-notification-toast.entry.js +1 -1
- package/dist/esm/gux-page-loading-spinner.entry.js +1 -1
- package/dist/esm/gux-pagination-beta.entry.js +1 -1
- package/dist/esm/gux-pagination-cursor.entry.js +1 -1
- package/dist/esm/gux-pagination.entry.js +1 -1
- package/dist/esm/gux-panel-frame-legacy.entry.js +1 -1
- package/dist/esm/gux-popover-list.entry.js +1 -1
- package/dist/esm/gux-popover.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-side-panel-legacy.entry.js +1 -1
- package/dist/esm/gux-simple-toast.entry.js +1 -1
- package/dist/esm/gux-skip-navigation-list-beta.entry.js +1 -1
- package/dist/esm/gux-sort-control.entry.js +1 -1
- package/dist/esm/gux-switch.entry.js +1 -1
- package/dist/esm/gux-table-beta.entry.js +1 -1
- package/dist/esm/gux-tabs-advanced.entry.js +1 -1
- package/dist/esm/gux-tabs-legacy.entry.js +1 -1
- package/dist/esm/gux-tabs.entry.js +1 -1
- package/dist/esm/gux-tag-beta.entry.js +1 -1
- package/dist/esm/gux-text-highlight.entry.js +1 -1
- package/dist/esm/gux-text-label-legacy.entry.js +1 -1
- package/dist/esm/gux-time-beta.entry.js +1 -1
- package/dist/esm/gux-time-picker-beta.entry.js +1 -1
- package/dist/esm/gux-toggle.entry.js +1 -1
- package/dist/esm/gux-tooltip.entry.js +1 -1
- package/dist/esm/gux-truncate-beta.entry.js +2 -20
- package/dist/esm/gux-visualization-beta.entry.js +1 -1
- package/dist/esm/index-74e605ae.js +8 -4
- package/dist/esm/loader.js +1 -1
- package/dist/esm/on-resize-93d44c73.js +22 -0
- package/dist/esm/{usage-tracking-186d3605.js → usage-tracking-f920c725.js} +1 -1
- package/dist/genesys-webcomponents/genesys-webcomponents.esm.js +1 -1
- package/dist/genesys-webcomponents/{p-1efbbb2f.entry.js → p-012609e1.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-655061bf.entry.js → p-064b88e5.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-6119ea3d.entry.js → p-0bfd4c6e.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-61f1f78f.entry.js → p-0db579f8.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-460c74d7.entry.js → p-123453c4.entry.js} +1 -1
- package/dist/genesys-webcomponents/p-155d0ab7.entry.js +1 -0
- package/dist/genesys-webcomponents/{p-45ce63fb.entry.js → p-16024625.entry.js} +1 -1
- package/dist/genesys-webcomponents/p-1603ef69.entry.js +1 -0
- package/dist/genesys-webcomponents/{p-ef056354.entry.js → p-1921a783.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-af6efd3b.entry.js → p-1b9ead5e.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-7d3c03a0.entry.js → p-1d9f4bf8.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-70da34ad.entry.js → p-1e06bd32.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-f7ae7ec9.entry.js → p-26bf7dfc.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-4b648822.entry.js → p-2b163b61.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-af123249.entry.js → p-3110f4a9.entry.js} +1 -1
- package/dist/genesys-webcomponents/p-352a622c.entry.js +1 -0
- package/dist/genesys-webcomponents/{p-f2ce7d5b.entry.js → p-37e33e8f.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-7855edeb.entry.js → p-383295a1.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-6684e302.entry.js → p-3b20f84b.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-d9c414ca.js → p-3e5a0951.js} +1 -1
- package/dist/genesys-webcomponents/{p-a31bf43a.entry.js → p-3fbe7b54.entry.js} +1 -1
- package/dist/genesys-webcomponents/p-40dbd271.entry.js +1 -0
- package/dist/genesys-webcomponents/{p-e472d82e.entry.js → p-4135019e.entry.js} +1 -1
- package/dist/genesys-webcomponents/p-414e9f46.entry.js +1 -0
- package/dist/genesys-webcomponents/p-478ad2ef.entry.js +1 -0
- package/dist/genesys-webcomponents/{p-7f0fb453.entry.js → p-4918337d.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-1e94b8fd.entry.js → p-4a758d8a.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-3c7e0008.entry.js → p-4c52ad9a.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-74785c56.entry.js → p-4c7997cf.entry.js} +1 -1
- package/dist/genesys-webcomponents/p-4cfd4bb5.entry.js +1 -0
- package/dist/genesys-webcomponents/{p-96b0dd1b.entry.js → p-4db2fb79.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-29b35b4d.entry.js → p-4eaa62ca.entry.js} +1 -1
- package/dist/genesys-webcomponents/p-51f6b10b.entry.js +1 -0
- package/dist/genesys-webcomponents/{p-1259bc67.entry.js → p-52058c25.entry.js} +1 -1
- package/dist/genesys-webcomponents/p-58b4a3ae.entry.js +1 -0
- package/dist/genesys-webcomponents/{p-bf805ff2.entry.js → p-5d4abb28.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-ed1fa155.entry.js → p-62c6141e.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-2824b4a8.entry.js → p-664dffe9.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-cc655a52.entry.js → p-682e3cfc.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-1ba71065.entry.js → p-687eada8.entry.js} +1 -1
- package/dist/genesys-webcomponents/p-696ad300.entry.js +1 -0
- package/dist/genesys-webcomponents/{p-2907353f.entry.js → p-69dfb1de.entry.js} +1 -1
- package/dist/genesys-webcomponents/p-6b2dc7f8.entry.js +1 -0
- package/dist/genesys-webcomponents/p-6e4bb6a7.js +1 -0
- package/dist/genesys-webcomponents/{p-570ca4d0.entry.js → p-6e7ab00e.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-6a1141a1.entry.js → p-78886e67.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-0a57586e.entry.js → p-7a1b6199.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-083be643.entry.js → p-7b5370cc.entry.js} +1 -1
- package/dist/genesys-webcomponents/p-7f9469c2.entry.js +1 -0
- package/dist/genesys-webcomponents/{p-82e1e634.entry.js → p-857c2f6c.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-436388f8.entry.js → p-86d08504.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-4c8f8bed.entry.js → p-87405a38.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-3a4da46c.entry.js → p-89b9d9bd.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-f0a65f43.entry.js → p-8a17c588.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-998ad9d6.entry.js → p-8bfc41c7.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-1050c4f4.entry.js → p-8f538960.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-1b34fefe.entry.js → p-aa7983ba.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-6de0f6d0.entry.js → p-b0984fb6.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-e93c8d20.entry.js → p-b0edefc2.entry.js} +1 -1
- package/dist/genesys-webcomponents/p-b85919bd.entry.js +1 -0
- package/dist/genesys-webcomponents/{p-7a63eb60.entry.js → p-ba752cd3.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-6a99faf7.entry.js → p-baf8d9be.entry.js} +1 -1
- package/dist/genesys-webcomponents/p-bb2b65ea.entry.js +1 -0
- package/dist/genesys-webcomponents/{p-0c5a0f36.entry.js → p-bcb896cc.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-4f7fff7d.entry.js → p-bdfa2076.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-b6103361.entry.js → p-be1df150.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-eb339906.entry.js → p-c400a790.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-00930289.entry.js → p-c66109bf.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-d4d01270.entry.js → p-c9cfa49b.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-e7cbe3be.entry.js → p-cd41a944.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-5679ba64.entry.js → p-ce61eae7.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-9d48fe42.entry.js → p-cf5cc93e.entry.js} +1 -1
- package/dist/genesys-webcomponents/p-d06d6576.entry.js +1 -0
- package/dist/genesys-webcomponents/{p-05d62184.entry.js → p-d3816787.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-5dd01d66.entry.js → p-dcb3f48d.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-4fe82f03.entry.js → p-e00bb018.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-1e88c5e9.entry.js → p-e26d1ef6.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-a6f85a5d.entry.js → p-e6749617.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-aded9619.entry.js → p-eda2f811.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-82f0df51.entry.js → p-f25dfaf2.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-22087510.entry.js → p-f840e2d7.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-a3996adc.entry.js → p-f8743b4c.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-3be76966.entry.js → p-fb6387e8.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-156253c0.entry.js → p-fe44d8c4.entry.js} +1 -1
- package/dist/stencil-wrapper.js +1 -1
- package/dist/types/components/beta/gux-blank-state/gux-blank-state-constants.d.ts +5 -0
- package/dist/types/components/beta/gux-blank-state/gux-blank-state.d.ts +20 -0
- package/dist/types/components/beta/gux-blank-state/gux-blank-state.types.d.ts +1 -0
- package/dist/types/components/beta/gux-dropdown-multi/gux-dropdown-multi.d.ts +1 -0
- package/dist/types/components/stable/gux-dropdown/gux-dropdown.d.ts +1 -0
- package/dist/types/components/stable/gux-form-field/components/gux-form-field-dropdown/gux-form-field-dropdown.d.ts +1 -0
- package/dist/types/components.d.ts +17 -0
- package/package.json +1 -1
- package/dist/genesys-webcomponents/p-000e353a.entry.js +0 -1
- package/dist/genesys-webcomponents/p-382360e3.entry.js +0 -1
- package/dist/genesys-webcomponents/p-41e0a5d3.entry.js +0 -1
- package/dist/genesys-webcomponents/p-4d6351a6.entry.js +0 -1
- package/dist/genesys-webcomponents/p-5434373f.entry.js +0 -1
- package/dist/genesys-webcomponents/p-619f43e7.entry.js +0 -1
- package/dist/genesys-webcomponents/p-8ede6684.entry.js +0 -1
- package/dist/genesys-webcomponents/p-9a6f9da4.entry.js +0 -1
- package/dist/genesys-webcomponents/p-9de3144a.entry.js +0 -1
- package/dist/genesys-webcomponents/p-b0101d90.entry.js +0 -1
- package/dist/genesys-webcomponents/p-b8fb800b.entry.js +0 -1
- package/dist/genesys-webcomponents/p-c04bf69f.entry.js +0 -1
- package/dist/genesys-webcomponents/p-c12fc61c.entry.js +0 -1
- package/dist/genesys-webcomponents/p-dc77f38e.entry.js +0 -1
|
@@ -0,0 +1,63 @@
|
|
|
1
|
+
import { r as registerInstance, d as readTask, h, g as getElement } from './index-74e605ae.js';
|
|
2
|
+
import { t as trackComponent } from './usage-tracking-f920c725.js';
|
|
3
|
+
import { O as OnResize } from './on-resize-93d44c73.js';
|
|
4
|
+
|
|
5
|
+
/**
|
|
6
|
+
* Below are the max-widths for the blank state component.
|
|
7
|
+
*/
|
|
8
|
+
const SMALL_STATE = 160;
|
|
9
|
+
const MEDIUM_STATE = 300;
|
|
10
|
+
|
|
11
|
+
const guxBlankStateCss = ":host{display:flex;flex-direction:column;align-items:center;justify-content:center}.gux-container{display:flex;flex-direction:column;align-items:center;justify-content:center}.gux-container ::slotted(gux-icon){width:48px;height:48px;color:#c8cfda}.gux-container slot[name='primary-message']{color:#364154;text-align:center;font-family:Roboto, sans-serif;font-weight:400;font-weight:700;font-size:14px;line-height:20px}.gux-container slot[name='additional-guidance']{color:#364154;text-align:center;font-family:Roboto, sans-serif;font-weight:400;font-size:11px;line-height:16px}.gux-container.gux-small .gux-message-container,.gux-container.gux-medium .gux-message-container{padding:8px 0 4px}.gux-container.gux-small .gux-guidance-container,.gux-container.gux-medium .gux-guidance-container{padding-bottom:8px}.gux-container.gux-large .gux-message-container{padding:16px 0 4px}.gux-container.gux-large .gux-message-container slot[name='primary-message']{font-family:Roboto, sans-serif;font-weight:400;font-weight:300;font-size:24px;line-height:32px}.gux-container.gux-large .gux-guidance-container{padding-bottom:16px}.gux-container.gux-large .gux-guidance-container slot[name='additional-guidance']{font-family:Roboto, sans-serif;font-weight:400;font-size:14px;line-height:24px}";
|
|
12
|
+
|
|
13
|
+
var __decorate = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {
|
|
14
|
+
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
15
|
+
if (typeof Reflect === "object" && typeof Reflect.decorate === "function")
|
|
16
|
+
r = Reflect.decorate(decorators, target, key, desc);
|
|
17
|
+
else
|
|
18
|
+
for (var i = decorators.length - 1; i >= 0; i--)
|
|
19
|
+
if (d = decorators[i])
|
|
20
|
+
r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
21
|
+
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
22
|
+
};
|
|
23
|
+
const GuxBlankState = class {
|
|
24
|
+
constructor(hostRef) {
|
|
25
|
+
registerInstance(this, hostRef);
|
|
26
|
+
}
|
|
27
|
+
onResize() {
|
|
28
|
+
this.setBlankStateSize();
|
|
29
|
+
}
|
|
30
|
+
componentWillLoad() {
|
|
31
|
+
trackComponent(this.root);
|
|
32
|
+
}
|
|
33
|
+
componentDidLoad() {
|
|
34
|
+
this.setBlankStateSize();
|
|
35
|
+
}
|
|
36
|
+
setBlankStateSize() {
|
|
37
|
+
readTask(() => {
|
|
38
|
+
const containerWidth = this.root.clientWidth;
|
|
39
|
+
if (containerWidth <= SMALL_STATE) {
|
|
40
|
+
this.blankStateSize = 'small';
|
|
41
|
+
}
|
|
42
|
+
else if (containerWidth <= MEDIUM_STATE) {
|
|
43
|
+
this.blankStateSize = 'medium';
|
|
44
|
+
}
|
|
45
|
+
else {
|
|
46
|
+
this.blankStateSize = 'large';
|
|
47
|
+
}
|
|
48
|
+
});
|
|
49
|
+
}
|
|
50
|
+
render() {
|
|
51
|
+
return (h("div", { class: {
|
|
52
|
+
'gux-container': true,
|
|
53
|
+
[`gux-${this.blankStateSize}`]: true
|
|
54
|
+
} }, h("slot", { name: "image" }), h("div", { class: "gux-message-container" }, h("slot", { name: "primary-message" })), h("div", { class: "gux-guidance-container" }, h("slot", { name: "additional-guidance" })), h("gux-button-slot-beta", { accent: "primary" }, h("slot", { name: "call-to-action" }))));
|
|
55
|
+
}
|
|
56
|
+
get root() { return getElement(this); }
|
|
57
|
+
};
|
|
58
|
+
__decorate([
|
|
59
|
+
OnResize()
|
|
60
|
+
], GuxBlankState.prototype, "onResize", null);
|
|
61
|
+
GuxBlankState.style = guxBlankStateCss;
|
|
62
|
+
|
|
63
|
+
export { GuxBlankState as gux_blank_state_beta };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { r as registerInstance, h, g as getElement } from './index-74e605ae.js';
|
|
2
2
|
import { b as buildI18nForComponent } from './index-b8a25b60.js';
|
|
3
|
-
import { t as trackComponent } from './usage-tracking-
|
|
3
|
+
import { t as trackComponent } from './usage-tracking-f920c725.js';
|
|
4
4
|
import './get-closest-element-1597503c.js';
|
|
5
5
|
|
|
6
6
|
const breadcrumbs = "Breadcrumbs";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { r as registerInstance, c as createEvent, h, g as getElement } from './index-74e605ae.js';
|
|
2
|
-
import { t as trackComponent } from './usage-tracking-
|
|
2
|
+
import { t as trackComponent } from './usage-tracking-f920c725.js';
|
|
3
3
|
import { O as OnClickOutside } from './on-click-outside-36dcc9e4.js';
|
|
4
4
|
|
|
5
5
|
const guxButtonMultiCss = ":host{display:block;font-family:Roboto, sans-serif;font-weight:400;font-size:12px;line-height:20px}.gux-button-multi-container .gux-dropdown-button button>*{vertical-align:middle}.gux-button-multi-container .gux-dropdown-button button gux-icon{width:16px;height:16px;margin-left:8px}";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { r as registerInstance, c as createEvent, h, g as getElement } from './index-74e605ae.js';
|
|
2
|
-
import { t as trackComponent } from './usage-tracking-
|
|
2
|
+
import { t as trackComponent } from './usage-tracking-f920c725.js';
|
|
3
3
|
import { O as OnClickOutside } from './on-click-outside-36dcc9e4.js';
|
|
4
4
|
|
|
5
5
|
const guxButtonMultiCss = ":host{display:block;-webkit-user-select:none;user-select:none;font-family:Roboto, sans-serif;font-weight:400;font-size:12px;line-height:20px}.gux-button-multi-container .gux-dropdown-button button{display:inline-flex;align-items:center}.gux-button-multi-container .gux-dropdown-button button gux-icon{width:16px;height:16px;margin-left:8px}.gux-list-container{padding:8px 0;margin:0;list-style:none;background-color:#fdfdfd;border:1px solid #b4bccb;border-radius:4px;box-shadow:0 2px 4px rgba(32, 41, 55, 0.24)}";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { r as registerInstance, h, H as Host, g as getElement } from './index-74e605ae.js';
|
|
2
|
-
import { t as trackComponent } from './usage-tracking-
|
|
2
|
+
import { t as trackComponent } from './usage-tracking-f920c725.js';
|
|
3
3
|
import { l as logError } from './log-error-b1a1a086.js';
|
|
4
4
|
|
|
5
5
|
const guxButtonSlotCss = ":host{display:inline-block;min-width:32px;pointer-events:none}::slotted(input[type='button']),::slotted(input[type='submit']),::slotted(button){width:100%;height:32px;padding:0 16px;overflow:hidden;color:#2e394c;text-overflow:ellipsis;white-space:nowrap;pointer-events:auto;cursor:pointer;background-color:#e2e6ee;border:none;border-radius:4px;font-size:12px;line-height:20px;font-family:Roboto, sans-serif;font-weight:400;font-weight:700}::slotted(input[type='button'][disabled]),::slotted(input[type='submit'][disabled]),::slotted(button[disabled]){color:rgba(46, 57, 76, 0.5);cursor:default;background-color:rgba(226, 230, 238, 0.5)}::slotted(input[type='button']:focus),::slotted(input[type='submit']:focus),::slotted(button:focus){outline:none}::slotted(input[type='button']:focus:enabled),::slotted(input[type='submit']:focus:enabled),::slotted(button:focus:enabled){outline:none;box-shadow:0 0 0 1px #fdfdfd, 0 0 0 4px #aac9ff}::slotted(input[type='button']:hover:enabled),::slotted(input[type='submit']:hover:enabled),::slotted(button:hover:enabled){background-color:#d7dce5}::slotted(input[type='button']:active:enabled),::slotted(input[type='submit']:active:enabled),::slotted(button:active:enabled){background-color:#c8cfda}:host([accent='primary']) ::slotted(input[type='button']),:host([accent='primary']) ::slotted(input[type='submit']),:host([accent='primary']) ::slotted(button){color:#fdfdfd;background-color:#2a60c8}:host([accent='primary']) ::slotted(input[type='button'][disabled]),:host([accent='primary']) ::slotted(input[type='submit'][disabled]),:host([accent='primary']) ::slotted(button[disabled]){color:rgba(253, 253, 253, 0.5);background-color:rgba(42, 96, 200, 0.5)}:host([accent='primary']) ::slotted(input[type='button']:hover:enabled),:host([accent='primary']) ::slotted(input[type='submit']:hover:enabled),:host([accent='primary']) ::slotted(button:hover:enabled){background-color:#2754ac}:host([accent='primary']) ::slotted(input[type='button']:active:enabled),:host([accent='primary']) ::slotted(input[type='submit']:active:enabled),:host([accent='primary']) ::slotted(button:active:enabled){background-color:#23478f}:host([accent='tertiary']) ::slotted(input[type='button']),:host([accent='tertiary']) ::slotted(input[type='submit']),:host([accent='tertiary']) ::slotted(button){color:#2a60c8;background-color:#fdfdfd;border:1px solid #2a60c8}:host([accent='tertiary']) ::slotted(input[type='button']),:host([accent='tertiary']) ::slotted(input[type='submit']),:host([accent='tertiary']) ::slotted(button){color:#2a60c8;background-color:#fdfdfd;border:1px solid #2a60c8}:host([accent='tertiary']) ::slotted(input[type='button'][disabled]),:host([accent='tertiary']) ::slotted(input[type='submit'][disabled]),:host([accent='tertiary']) ::slotted(button[disabled]){color:rgba(42, 96, 200, 0.5);background-color:rgba(253, 253, 253, 0.5);border-color:rgba(42, 96, 200, 0.5)}:host([accent='tertiary']) ::slotted(input[type='button']:hover:enabled),:host([accent='tertiary']) ::slotted(input[type='submit']:hover:enabled),:host([accent='tertiary']) ::slotted(button:hover:enabled){color:#fdfdfd;background-color:#2754ac}:host([accent='tertiary']) ::slotted(input[type='button']:active:enabled),:host([accent='tertiary']) ::slotted(input[type='submit']:active:enabled),:host([accent='tertiary']) ::slotted(button:active:enabled){color:#fdfdfd;background-color:#23478f}:host([accent='ghost']) ::slotted(input[type='button']),:host([accent='ghost']) ::slotted(input[type='submit']),:host([accent='ghost']) ::slotted(button){color:#2a60c8;background:none;border:none}:host([accent='ghost']) ::slotted(input[type='button'][disabled]),:host([accent='ghost']) ::slotted(input[type='submit'][disabled]),:host([accent='ghost']) ::slotted(button[disabled]){color:rgba(42, 96, 200, 0.5)}:host([accent='ghost']) ::slotted(input[type='button']:hover:enabled),:host([accent='ghost']) ::slotted(input[type='submit']:hover:enabled),:host([accent='ghost']) ::slotted(button:hover:enabled){color:#2754ac;background-color:rgba(222, 234, 255, 0.33)}:host([accent='ghost']) ::slotted(input[type='button']:active:enabled),:host([accent='ghost']) ::slotted(input[type='submit']:active:enabled),:host([accent='ghost']) ::slotted(button:active:enabled){color:#2754ac;background-color:#deeaff}";
|
|
@@ -10,8 +10,12 @@ const GuxButtonSlot = class {
|
|
|
10
10
|
this.accent = 'secondary';
|
|
11
11
|
}
|
|
12
12
|
validateSlotContent() {
|
|
13
|
-
|
|
14
|
-
|
|
13
|
+
let slottedElement = this.root.children[0];
|
|
14
|
+
let slottedTagName = slottedElement.tagName;
|
|
15
|
+
if (slottedTagName === 'SLOT') {
|
|
16
|
+
slottedElement = slottedElement.assignedNodes()[0];
|
|
17
|
+
slottedTagName = slottedElement.tagName;
|
|
18
|
+
}
|
|
15
19
|
if (slottedTagName === 'BUTTON') {
|
|
16
20
|
return;
|
|
17
21
|
}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { r as registerInstance, h, g as getElement } from './index-74e605ae.js';
|
|
2
|
-
import { t as trackComponent } from './usage-tracking-
|
|
2
|
+
import { t as trackComponent } from './usage-tracking-f920c725.js';
|
|
3
3
|
|
|
4
4
|
const guxButtonCss = ":host{display:inline-block;min-width:32px;pointer-events:none;-webkit-user-select:none;user-select:none}:host(:focus){outline:none}:host(:focus) button{outline:none}::slotted(gux-icon){width:16px;height:16px}::slotted(*){padding-left:4px;vertical-align:middle}::slotted(*:first-child){padding:0}button{width:100%;height:32px;padding:0 16px;overflow:hidden;color:#2e394c;text-overflow:ellipsis;white-space:nowrap;pointer-events:auto;cursor:pointer;background-color:#e2e6ee;border:none;border-radius:4px;font-size:12px;line-height:20px;font-family:Roboto, sans-serif;font-weight:400;font-weight:700}button[disabled]{color:rgba(46, 57, 76, 0.5);cursor:default;background-color:rgba(226, 230, 238, 0.5)}button:hover:enabled{background-color:#d7dce5}button:active:enabled{background-color:#c8cfda}button:focus:enabled{outline:none;box-shadow:0 0 0 1px #fdfdfd, 0 0 0 4px #aac9ff}button.gux-tertiary{color:#2a60c8;background-color:#fdfdfd;border:1px solid #2a60c8}button.gux-tertiary[disabled]{color:rgba(42, 96, 200, 0.5);background-color:rgba(253, 253, 253, 0.5);border-color:rgba(42, 96, 200, 0.5)}button.gux-tertiary:hover:enabled{color:#fdfdfd;background-color:#2754ac}button.gux-tertiary:active:enabled{color:#fdfdfd;background-color:#23478f}button.gux-ghost{color:#2a60c8;background:none;border:none}button.gux-ghost[disabled]{color:rgba(42, 96, 200, 0.5)}button.gux-ghost:hover:enabled{color:#2754ac;background-color:rgba(222, 234, 255, 0.33)}button.gux-ghost:active:enabled{color:#2754ac;background-color:#deeaff}button.gux-primary{color:#fdfdfd;background-color:#2a60c8}button.gux-primary[disabled]{color:rgba(253, 253, 253, 0.5);background-color:rgba(42, 96, 200, 0.5)}button.gux-primary:hover:enabled{background-color:#2754ac}button.gux-primary:active:enabled{background-color:#23478f}";
|
|
5
5
|
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { r as registerInstance, c as createEvent, h, g as getElement } from './index-74e605ae.js';
|
|
2
|
-
import { t as trackComponent } from './usage-tracking-
|
|
2
|
+
import { t as trackComponent } from './usage-tracking-f920c725.js';
|
|
3
3
|
import { a as asIsoDateRange, c as fromIsoDateRange, b as asIsoDate, f as fromIsoDate } from './iso-dates-a7c704a4.js';
|
|
4
4
|
import { g as getDesiredLocale, a as getStartOfWeek } from './index-b8a25b60.js';
|
|
5
5
|
import './get-closest-element-1597503c.js';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { r as registerInstance, h, g as getElement } from './index-74e605ae.js';
|
|
2
|
-
import { t as trackComponent } from './usage-tracking-
|
|
2
|
+
import { t as trackComponent } from './usage-tracking-f920c725.js';
|
|
3
3
|
|
|
4
4
|
const guxCardCss = ":host{box-sizing:border-box;display:flex;flex-direction:column;align-items:flex-start;width:fit-content;padding:16px;background-color:#fdfdfd;border:1px solid #e2e6ee;border-radius:4px}:host([accent='outline']){background-color:#fdfdfd}:host([accent='filled']){background-color:#f6f7f9}:host([accent='raised']){box-shadow:0 0 2px rgba(32, 41, 55, 0.16)}";
|
|
5
5
|
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { r as registerInstance, h, g as getElement } from './index-74e605ae.js';
|
|
2
|
-
import { t as trackComponent } from './usage-tracking-
|
|
2
|
+
import { t as trackComponent } from './usage-tracking-f920c725.js';
|
|
3
3
|
import { V as VISUALIZATION_COLORS } from './color-palette-1cfb5585.js';
|
|
4
4
|
import { l as logError } from './log-error-b1a1a086.js';
|
|
5
5
|
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { r as registerInstance, h, g as getElement } from './index-74e605ae.js';
|
|
2
|
-
import { t as trackComponent } from './usage-tracking-
|
|
2
|
+
import { t as trackComponent } from './usage-tracking-f920c725.js';
|
|
3
3
|
import { l as logError } from './log-error-b1a1a086.js';
|
|
4
4
|
import { V as VISUALIZATION_COLORS } from './color-palette-1cfb5585.js';
|
|
5
5
|
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { r as registerInstance, h, g as getElement } from './index-74e605ae.js';
|
|
2
|
-
import { t as trackComponent } from './usage-tracking-
|
|
2
|
+
import { t as trackComponent } from './usage-tracking-f920c725.js';
|
|
3
3
|
import { V as VISUALIZATION_COLORS } from './color-palette-1cfb5585.js';
|
|
4
4
|
import { l as logError } from './log-error-b1a1a086.js';
|
|
5
5
|
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { r as registerInstance, h, g as getElement } from './index-74e605ae.js';
|
|
2
|
-
import { t as trackComponent } from './usage-tracking-
|
|
2
|
+
import { t as trackComponent } from './usage-tracking-f920c725.js';
|
|
3
3
|
import { l as logError } from './log-error-b1a1a086.js';
|
|
4
4
|
import { V as VISUALIZATION_COLORS } from './color-palette-1cfb5585.js';
|
|
5
5
|
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { r as registerInstance, h, g as getElement } from './index-74e605ae.js';
|
|
2
|
-
import { t as trackComponent } from './usage-tracking-
|
|
2
|
+
import { t as trackComponent } from './usage-tracking-f920c725.js';
|
|
3
3
|
import { V as VISUALIZATION_COLORS } from './color-palette-1cfb5585.js';
|
|
4
4
|
import { l as logError } from './log-error-b1a1a086.js';
|
|
5
5
|
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { r as registerInstance, h, g as getElement } from './index-74e605ae.js';
|
|
2
2
|
import { m as matchesFuzzy } from './search-2ca67cb1.js';
|
|
3
3
|
import { b as buildI18nForComponent } from './index-b8a25b60.js';
|
|
4
|
-
import { t as trackComponent } from './usage-tracking-
|
|
4
|
+
import { t as trackComponent } from './usage-tracking-f920c725.js';
|
|
5
5
|
import './get-closest-element-1597503c.js';
|
|
6
6
|
|
|
7
7
|
const recentSearch = "Recently Searched:";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { r as registerInstance, c as createEvent, h, g as getElement } from './index-74e605ae.js';
|
|
2
|
-
import { t as trackComponent } from './usage-tracking-
|
|
2
|
+
import { t as trackComponent } from './usage-tracking-f920c725.js';
|
|
3
3
|
import { b as buildI18nForComponent } from './index-b8a25b60.js';
|
|
4
4
|
import { o as onDisabledChange } from './on-attribute-change-2b01c315.js';
|
|
5
5
|
import './get-closest-element-1597503c.js';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { r as registerInstance, h, g as getElement } from './index-74e605ae.js';
|
|
2
|
-
import { t as trackComponent } from './usage-tracking-
|
|
2
|
+
import { t as trackComponent } from './usage-tracking-f920c725.js';
|
|
3
3
|
import { b as buildI18nForComponent } from './index-b8a25b60.js';
|
|
4
4
|
import './get-closest-element-1597503c.js';
|
|
5
5
|
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { r as registerInstance, h, H as Host, g as getElement } from './index-74e605ae.js';
|
|
2
|
-
import { t as trackComponent } from './usage-tracking-
|
|
2
|
+
import { t as trackComponent } from './usage-tracking-f920c725.js';
|
|
3
3
|
import { D as DateTimeFormatter } from './DateTimeFormatter-2785da9d.js';
|
|
4
4
|
import { g as getDesiredLocale } from './index-b8a25b60.js';
|
|
5
5
|
import './get-closest-element-1597503c.js';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { r as registerInstance, h, H as Host, g as getElement } from './index-74e605ae.js';
|
|
2
|
-
import { t as trackComponent } from './usage-tracking-
|
|
2
|
+
import { t as trackComponent } from './usage-tracking-f920c725.js';
|
|
3
3
|
import { D as DateTimeFormatter } from './DateTimeFormatter-2785da9d.js';
|
|
4
4
|
import { g as getDesiredLocale } from './index-b8a25b60.js';
|
|
5
5
|
import './get-closest-element-1597503c.js';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { r as registerInstance, c as createEvent, h, g as getElement } from './index-74e605ae.js';
|
|
2
|
-
import { t as trackComponent } from './usage-tracking-
|
|
2
|
+
import { t as trackComponent } from './usage-tracking-f920c725.js';
|
|
3
3
|
import { r as randomHTMLId } from './random-html-id-8e3f658c.js';
|
|
4
4
|
import { b as buildI18nForComponent } from './index-b8a25b60.js';
|
|
5
5
|
import { f as fromIsoDate, a as asIsoDateRange, b as asIsoDate, c as fromIsoDateRange } from './iso-dates-a7c704a4.js';
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { r as registerInstance, c as createEvent, h, g as getElement } from './index-74e605ae.js';
|
|
2
2
|
import { r as randomHTMLId } from './random-html-id-8e3f658c.js';
|
|
3
|
-
import { t as trackComponent } from './usage-tracking-
|
|
3
|
+
import { t as trackComponent } from './usage-tracking-f920c725.js';
|
|
4
4
|
import { b as buildI18nForComponent } from './index-b8a25b60.js';
|
|
5
5
|
import './get-closest-element-1597503c.js';
|
|
6
6
|
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { r as registerInstance, h, g as getElement } from './index-74e605ae.js';
|
|
2
|
-
import { t as trackComponent } from './usage-tracking-
|
|
2
|
+
import { t as trackComponent } from './usage-tracking-f920c725.js';
|
|
3
3
|
import { b as buildI18nForComponent } from './index-b8a25b60.js';
|
|
4
4
|
import './get-closest-element-1597503c.js';
|
|
5
5
|
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { r as registerInstance, c as createEvent, f as forceUpdate, h, g as getElement } from './index-74e605ae.js';
|
|
2
2
|
import { O as OnClickOutside } from './on-click-outside-36dcc9e4.js';
|
|
3
3
|
import { w as whenEventIsFrom } from './when-event-is-from-18667084.js';
|
|
4
|
-
import { t as trackComponent } from './usage-tracking-
|
|
4
|
+
import { t as trackComponent } from './usage-tracking-f920c725.js';
|
|
5
5
|
import { O as OnMutation } from './on-mutation-26225065.js';
|
|
6
6
|
|
|
7
7
|
const guxDropdownCss = "gux-dropdown-legacy .gux-hidden{display:none}gux-dropdown-legacy div.gux-dropdown{position:relative;margin:4px 0}gux-dropdown-legacy div.gux-dropdown.gux-disabled{pointer-events:none;cursor:default;opacity:0.5}gux-dropdown-legacy div.gux-dropdown .gux-select-field{position:relative;width:100%;height:32px}gux-dropdown-legacy div.gux-dropdown .gux-select-field .gux-filter-suggestion{position:absolute;box-sizing:border-box;width:100%;height:32px;padding:6px 25px 6px 14px;overflow:hidden;font-size:12px;line-height:1.6667;text-overflow:ellipsis;white-space:nowrap;pointer-events:none}gux-dropdown-legacy div.gux-dropdown .gux-select-field .gux-filter-suggestion .gux-filter-text{color:#2e394c}gux-dropdown-legacy div.gux-dropdown .gux-select-field .gux-filter-suggestion .gux-filter-typeahead{color:#596373}gux-dropdown-legacy div.gux-dropdown .gux-select-field gux-input-text-like>div{margin:0}gux-dropdown-legacy div.gux-dropdown .gux-select-field gux-input-text-like input{width:100%;padding-right:25px;font-size:12px;text-overflow:ellipsis;cursor:pointer;background-color:transparent}gux-dropdown-legacy div.gux-dropdown .gux-select-field gux-input-text-like.gux-unclearable button{display:none}gux-dropdown-legacy div.gux-dropdown .gux-select-field button.gux-dropdown-indicator{position:absolute;top:1px;right:3px;bottom:0;display:block;overflow:hidden;pointer-events:none;cursor:pointer;background:none;border:none;outline:none}gux-dropdown-legacy div.gux-dropdown .gux-select-field button.gux-dropdown-indicator gux-icon{width:16px;height:16px;color:#596373}gux-dropdown-legacy div.gux-dropdown .gux-select-field:hover button.gux-dropdown-indicator gux-icon,gux-dropdown-legacy div.gux-dropdown .gux-select-field:focus-within button.gux-dropdown-indicator gux-icon{color:#2e394c}gux-dropdown-legacy div.gux-dropdown .gux-options{position:absolute;z-index:var(--gux-zindex-popup, 1);display:none;width:100%;padding:8px 0;margin-top:2px;overflow-y:auto;color:#2e394c;background:#fdfdfd;border:1px solid #b4bccb;border-radius:4px;box-shadow:0 2px 4px rgba(32, 41, 55, 0.24)}gux-dropdown-legacy div.gux-dropdown .gux-options.gux-opened{display:block}gux-dropdown-legacy div.gux-dropdown .gux-options>gux-option-legacy{position:relative;display:flex;height:32px;padding:0 16px;line-height:32px;cursor:pointer}gux-dropdown-legacy div.gux-dropdown .gux-options>gux-option-legacy>div{position:relative;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}gux-dropdown-legacy div.gux-dropdown .gux-options>gux-option-legacy>div .gux-filter-suggestion{position:absolute}gux-dropdown-legacy div.gux-dropdown .gux-options>gux-option-legacy[disabled]{pointer-events:none;cursor:default;opacity:0.5}gux-dropdown-legacy div.gux-dropdown .gux-options>gux-option-legacy.gux-filtered{display:none}gux-dropdown-legacy div.gux-dropdown .gux-options>gux-option-legacy:not([disabled])[selected]{color:#2e394c;background:#deeaff}gux-dropdown-legacy div.gux-dropdown .gux-options>gux-option-legacy:not([disabled]):hover,gux-dropdown-legacy div.gux-dropdown .gux-options>gux-option-legacy:not([disabled]):focus{color:#fdfdfd;background:#2a60c8}gux-dropdown-legacy div.gux-dropdown.gux-page .gux-select-field{height:48px}gux-dropdown-legacy div.gux-dropdown.gux-page .gux-select-field .gux-filter-suggestion{height:48px;padding:2px 25px 4px 11px;overflow:hidden;line-height:1.6667;white-space:nowrap;font-family:Roboto, sans-serif;font-weight:400;font-weight:300;font-size:24px;line-height:32px}gux-dropdown-legacy div.gux-dropdown.gux-page .gux-select-field gux-input-text-like div.gux-input-container{height:48px}gux-dropdown-legacy div.gux-dropdown.gux-page .gux-select-field gux-input-text-like input{font-family:Roboto, sans-serif;font-weight:400;font-weight:300;font-size:24px;line-height:32px;height:48px;line-height:1.6667;color:transparent;border:none;border-bottom:2px solid transparent;caret-color:#2e394c}gux-dropdown-legacy div.gux-dropdown.gux-page .gux-select-field gux-input-text-like input:focus{border:none;border-bottom:2px solid rgba(117, 168, 255, 0.5);box-shadow:none}gux-dropdown-legacy div.gux-dropdown.gux-page.gux-active .gux-select-field gux-input-text-like input:focus{border-bottom:1px solid #2a60c8}gux-dropdown-legacy div.gux-dropdown.gux-palette .gux-select-field{height:52px}gux-dropdown-legacy div.gux-dropdown.gux-palette .gux-select-field .gux-filter-suggestion{height:52px;padding:9px 25px 4px 11px;overflow:hidden;line-height:1.6667;white-space:nowrap;font-family:Roboto, sans-serif;font-weight:400;font-weight:300;font-size:18px;line-height:24px}gux-dropdown-legacy div.gux-dropdown.gux-palette .gux-select-field gux-input-text-like div.gux-input-container{height:52px}gux-dropdown-legacy div.gux-dropdown.gux-palette .gux-select-field gux-input-text-like input{font-family:Roboto, sans-serif;font-weight:400;font-weight:300;font-size:18px;line-height:24px;height:52px;line-height:1.6667;border:none;border-bottom:2px solid transparent}gux-dropdown-legacy div.gux-dropdown.gux-palette .gux-select-field gux-input-text-like input:focus{border:none;border-bottom:2px solid rgba(117, 168, 255, 0.5);box-shadow:none}gux-dropdown-legacy div.gux-dropdown.gux-palette.gux-active .gux-select-field gux-input-text-like input:focus{border-bottom:1px solid #2a60c8}gux-dropdown-legacy:hover gux-icon,gux-dropdown-legacy:focus gux-icon{color:#2e394c}.gux-dropdown-light-theme div.gux-dropdown .gux-select-field .gux-filter-suggestion{color:#596373}.gux-dropdown-light-theme div.gux-dropdown .gux-select-field gux-input-text-like input{color:transparent;caret-color:#2e394c;border-color:#6b7585}.gux-dropdown-light-theme div.gux-dropdown .gux-select-field button.gux-dropdown-indicator{color:#596373}.gux-dropdown-light-theme div.gux-dropdown.gux-page .gux-select-field .gux-filter-suggestion{color:#8a97ad;background-color:#fdfdfd}.gux-dropdown-light-theme div.gux-dropdown.gux-page .gux-select-field gux-input-text-like input{border-bottom:1px solid #6b7585}.gux-dropdown-light-theme div.gux-dropdown.gux-page.gux-active gux-input-text-like input{border-bottom:1px solid #75a8ff}.gux-dropdown-light-theme div.gux-dropdown.gux-palette .gux-select-field .gux-filter-suggestion{color:#8a97ad;background-color:#fdfdfd}.gux-dropdown-light-theme div.gux-dropdown.gux-palette .gux-select-field gux-input-text-like input{border-bottom:1px solid #6b7585}.gux-dropdown-light-theme div.gux-dropdown.gux-palette.gux-active gux-input-text-like input{border-bottom:1px solid #75a8ff}gux-dropdown-legacy div.gux-dropdown .gux-select-field .gux-filter-suggestion{color:#596373}gux-dropdown-legacy div.gux-dropdown .gux-select-field gux-input-text-like input{color:transparent;caret-color:#2e394c;border-color:#6b7585}gux-dropdown-legacy div.gux-dropdown .gux-select-field button.gux-dropdown-indicator{color:#596373}gux-dropdown-legacy div.gux-dropdown.gux-page .gux-select-field .gux-filter-suggestion{color:#8a97ad;background-color:#fdfdfd}gux-dropdown-legacy div.gux-dropdown.gux-page .gux-select-field gux-input-text-like input{border-bottom:1px solid #6b7585}gux-dropdown-legacy div.gux-dropdown.gux-page.gux-active gux-input-text-like input{border-bottom:1px solid #75a8ff}gux-dropdown-legacy div.gux-dropdown.gux-palette .gux-select-field .gux-filter-suggestion{color:#8a97ad;background-color:#fdfdfd}gux-dropdown-legacy div.gux-dropdown.gux-palette .gux-select-field gux-input-text-like input{border-bottom:1px solid #6b7585}gux-dropdown-legacy div.gux-dropdown.gux-palette.gux-active gux-input-text-like input{border-bottom:1px solid #75a8ff}";
|
|
@@ -2,7 +2,7 @@ import { r as registerInstance, f as forceUpdate, h, g as getElement } from './i
|
|
|
2
2
|
import { O as OnClickOutside } from './on-click-outside-36dcc9e4.js';
|
|
3
3
|
import { b as buildI18nForComponent } from './index-b8a25b60.js';
|
|
4
4
|
import { s as simulateNativeEvent } from './simulate-native-event-ac69961f.js';
|
|
5
|
-
import { t as trackComponent } from './usage-tracking-
|
|
5
|
+
import { t as trackComponent } from './usage-tracking-f920c725.js';
|
|
6
6
|
import { g as getSearchOption } from './gux-listbox.service-3541a2f7.js';
|
|
7
7
|
import './get-closest-element-1597503c.js';
|
|
8
8
|
|
|
@@ -17,7 +17,7 @@ const translationResources = {
|
|
|
17
17
|
numberSelected: numberSelected
|
|
18
18
|
};
|
|
19
19
|
|
|
20
|
-
const guxDropdownMultiCss = ":host{color:#2e394c}.gux-dropdown-container{position:relative}gux-dropdown-multi-tag{position:absolute;right:32px;bottom:4px}.gux-field,.gux-target-container-expanded{all:unset;box-sizing:border-box;display:flex;flex-direction:row;flex-wrap:nowrap;align-content:stretch;align-items:center;justify-content:center;width:100%;height:32px;padding:6px 0 6px 6px;font-family:inherit;font-size:12px;line-height:1.6667;cursor:pointer;background-color:#f6f7f9}.gux-field.gux-input-field{height:30px;cursor:text}.gux-field .gux-field-content{position:relative;display:flex;flex:1 1 0;flex-direction:row;flex-wrap:nowrap;align-content:stretch;align-items:flex-start;justify-content:flex-start;min-width:0;height:100%}.gux-field .gux-field-content .gux-filter,.gux-field .gux-field-content .gux-selected-option,.gux-field .gux-field-content .gux-placeholder{flex:1 1 auto;align-self:auto;order:0;padding-left:6px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.gux-field .gux-field-content .gux-filter .gux-sr-only:not(:focus):not(:active),.gux-field .gux-field-content .gux-selected-option .gux-sr-only:not(:focus):not(:active),.gux-field .gux-field-content .gux-placeholder .gux-sr-only:not(:focus):not(:active){position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);clip-path:inset(50%);white-space:nowrap}.gux-field .gux-field-content .gux-filter{position:relative;height:100%;padding-left:0}.gux-field .gux-field-content .gux-filter .gux-filter-input{all:unset;width:100%;caret-color:#2e394c}.gux-field .gux-field-content .gux-filter .gux-filter-display .gux-filter-text{color:#2e394c}.gux-field .gux-field-content .gux-filter .gux-filter-display .gux-filter-suggestion{color:#596373}.gux-field .gux-field-content .gux-filter .gux-filter-input,.gux-field .gux-field-content .gux-filter .gux-filter-display{position:absolute}.gux-field .gux-field-content .gux-placeholder{color:#596373}.gux-field .gux-expand-icon{flex:0 0 auto;align-self:auto;order:0;width:16px;height:16px;padding:0 8px;color:#596373}.gux-target-container-expanded{border:1px solid #6b7585;border-radius:4px;box-shadow:inset 0 0 4px rgba(32, 41, 55, 0.16)}.gux-target-container-expanded:focus-within{outline:none;box-shadow:0 0 0 1px #fdfdfd, 0 0 0 4px #aac9ff}.gux-target-container-expanded .gux-filter-input{background-color:inherit;border:none}.gux-target-container-expanded .gux-filter-input:focus{border:none;outline:none}.gux-target-container-expanded .gux-field-button{width:auto;height:30px;padding:0 0 0 8px;margin:0;background:inherit;border:none;outline:none;box-shadow:none}.gux-target-container-expanded .gux-field-button:focus{outline:none}.gux-target-container-collapsed .gux-field-button{border:1px solid #6b7585;border-radius:4px;box-shadow:inset 0 0 4px rgba(32, 41, 55, 0.16)}.gux-target-container-collapsed .gux-field-button:focus{outline:none;box-shadow:0 0 0 1px #fdfdfd, 0 0 0 4px #aac9ff}.gux-listbox-container{box-sizing:border-box;margin:0;color:#2e394c}.gux-error-message-container{display:none;margin:4px 0}.gux-error-message-container.gux-show{display:flex}";
|
|
20
|
+
const guxDropdownMultiCss = ":host{color:#2e394c}.gux-dropdown-container{position:relative}gux-dropdown-multi-tag{position:absolute;right:32px;bottom:4px}.gux-error.gux-target-container-collapsed .gux-field-button,.gux-error.gux-target-container-expanded{border-color:#ea0b0b}.gux-field,.gux-target-container-expanded{all:unset;box-sizing:border-box;display:flex;flex-direction:row;flex-wrap:nowrap;align-content:stretch;align-items:center;justify-content:center;width:100%;height:32px;padding:6px 0 6px 6px;font-family:inherit;font-size:12px;line-height:1.6667;cursor:pointer;background-color:#f6f7f9}.gux-field.gux-input-field{height:30px;cursor:text}.gux-field .gux-field-content{position:relative;display:flex;flex:1 1 0;flex-direction:row;flex-wrap:nowrap;align-content:stretch;align-items:flex-start;justify-content:flex-start;min-width:0;height:100%}.gux-field .gux-field-content .gux-filter,.gux-field .gux-field-content .gux-selected-option,.gux-field .gux-field-content .gux-placeholder{flex:1 1 auto;align-self:auto;order:0;padding-left:6px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.gux-field .gux-field-content .gux-filter .gux-sr-only:not(:focus):not(:active),.gux-field .gux-field-content .gux-selected-option .gux-sr-only:not(:focus):not(:active),.gux-field .gux-field-content .gux-placeholder .gux-sr-only:not(:focus):not(:active){position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);clip-path:inset(50%);white-space:nowrap}.gux-field .gux-field-content .gux-filter{position:relative;height:100%;padding-left:0}.gux-field .gux-field-content .gux-filter .gux-filter-input{all:unset;width:100%;caret-color:#2e394c}.gux-field .gux-field-content .gux-filter .gux-filter-display .gux-filter-text{color:#2e394c}.gux-field .gux-field-content .gux-filter .gux-filter-display .gux-filter-suggestion{color:#596373}.gux-field .gux-field-content .gux-filter .gux-filter-input,.gux-field .gux-field-content .gux-filter .gux-filter-display{position:absolute}.gux-field .gux-field-content .gux-placeholder{color:#596373}.gux-field .gux-expand-icon{flex:0 0 auto;align-self:auto;order:0;width:16px;height:16px;padding:0 8px;color:#596373}.gux-target-container-expanded{border:1px solid #6b7585;border-radius:4px;box-shadow:inset 0 0 4px rgba(32, 41, 55, 0.16)}.gux-target-container-expanded:focus-within{outline:none;box-shadow:0 0 0 1px #fdfdfd, 0 0 0 4px #aac9ff}.gux-target-container-expanded .gux-filter-input{background-color:inherit;border:none}.gux-target-container-expanded .gux-filter-input:focus{border:none;outline:none}.gux-target-container-expanded .gux-field-button{width:auto;height:30px;padding:0 0 0 8px;margin:0;background:inherit;border:none;outline:none;box-shadow:none}.gux-target-container-expanded .gux-field-button:focus{outline:none}.gux-target-container-collapsed .gux-field-button{border:1px solid #6b7585;border-radius:4px;box-shadow:inset 0 0 4px rgba(32, 41, 55, 0.16)}.gux-target-container-collapsed .gux-field-button:focus{outline:none;box-shadow:0 0 0 1px #fdfdfd, 0 0 0 4px #aac9ff}.gux-listbox-container{box-sizing:border-box;margin:0;color:#2e394c}.gux-error-message-container{display:none;margin:4px 0}.gux-error-message-container.gux-show{display:flex}";
|
|
21
21
|
|
|
22
22
|
var __decorate = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {
|
|
23
23
|
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
@@ -35,6 +35,7 @@ const GuxDropdownMulti = class {
|
|
|
35
35
|
this.disabled = false;
|
|
36
36
|
this.required = false;
|
|
37
37
|
this.filterable = false;
|
|
38
|
+
this.hasError = false;
|
|
38
39
|
this.expanded = false;
|
|
39
40
|
this.filter = '';
|
|
40
41
|
}
|
|
@@ -264,7 +265,8 @@ const GuxDropdownMulti = class {
|
|
|
264
265
|
return (h("div", { class: {
|
|
265
266
|
'gux-target-container': true,
|
|
266
267
|
'gux-target-container-expanded': this.expanded && this.filterable,
|
|
267
|
-
'gux-target-container-collapsed': !(this.expanded && this.filterable)
|
|
268
|
+
'gux-target-container-collapsed': !(this.expanded && this.filterable),
|
|
269
|
+
'gux-error': this.hasError
|
|
268
270
|
}, slot: "target" }, this.renderFilterInputField(), h("button", { type: "button", class: "gux-field gux-field-button", disabled: this.disabled, onClick: this.fieldButtonClick.bind(this), ref: el => (this.fieldButtonElement = el), "aria-haspopup": "listbox", "aria-expanded": this.expanded.toString() }, this.renderTargetContent(), h("gux-icon", { class: {
|
|
269
271
|
'gux-expand-icon': true
|
|
270
272
|
}, "screenreader-text": this.i18n('dropdown'), iconName: "chevron-small-down" }))));
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { r as registerInstance, c as createEvent, h, g as getElement, H as Host } from './index-74e605ae.js';
|
|
2
2
|
|
|
3
|
-
const guxDropdownOptionCss = "gux-dropdown-option{position:relative;display:flex;height:var(--option-height);padding:0 16px;line-height:32px;cursor:pointer}gux-dropdown-option div.gux-dropdown-option{position:relative;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}gux-dropdown-option div.gux-dropdown-option .gux-ghost{position:absolute}gux-dropdown-option[filtered]{display:none}gux-dropdown-option[disabled]{pointer-events:none;cursor:default;opacity:0.5}gux-dropdown-option:not(
|
|
3
|
+
const guxDropdownOptionCss = "gux-dropdown-option{position:relative;display:flex;height:var(--option-height);padding:0 16px;line-height:32px;cursor:pointer}gux-dropdown-option div.gux-dropdown-option{position:relative;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}gux-dropdown-option div.gux-dropdown-option .gux-ghost{position:absolute}gux-dropdown-option[filtered]{display:none}gux-dropdown-option[disabled]{pointer-events:none;cursor:default;opacity:0.5}gux-dropdown-option[disabled='false']{pointer-events:auto;cursor:pointer;opacity:1}gux-dropdown-option:not(:disabled)[selected]{color:#2e394c;background:#deeaff}gux-dropdown-option:not(:disabled):hover,gux-dropdown-option:not(:disabled):focus{color:#fdfdfd;background:#2a60c8}";
|
|
4
4
|
|
|
5
5
|
// RegExp escape string from http://stackoverflow.com/a/3561711/23528
|
|
6
6
|
const escapeRegexStr = /[-/\\^$*+?.()|[\]{}]/g;
|
|
@@ -3,7 +3,7 @@ import { O as OnClickOutside } from './on-click-outside-36dcc9e4.js';
|
|
|
3
3
|
import { b as buildI18nForComponent } from './index-b8a25b60.js';
|
|
4
4
|
import { s as simulateNativeEvent } from './simulate-native-event-ac69961f.js';
|
|
5
5
|
import { o as onInputDisabledStateChange, c as calculateInputDisabledState } from './on-input-disabled-state-change-3ea76372.js';
|
|
6
|
-
import { t as trackComponent } from './usage-tracking-
|
|
6
|
+
import { t as trackComponent } from './usage-tracking-f920c725.js';
|
|
7
7
|
import { g as getSearchOption, s as setInitialActiveOption, c as clearActiveOptions, a as setLastOptionActive, b as setFirstOptionActive, h as hasPreviousOption, d as setPreviousOptionActive, e as hasNextOption, f as setNextOptionActive, i as actOnActiveOption, j as goToOption, o as onClickedOption } from './gux-listbox.service-3541a2f7.js';
|
|
8
8
|
import { w as whenEventIsFrom } from './when-event-is-from-18667084.js';
|
|
9
9
|
import { r as randomHTMLId } from './random-html-id-8e3f658c.js';
|
|
@@ -18,7 +18,7 @@ const translationResources$1 = {
|
|
|
18
18
|
dropdown: dropdown
|
|
19
19
|
};
|
|
20
20
|
|
|
21
|
-
const guxDropdownCss = ":host{color:#2e394c}.gux-field,.gux-target-container-expanded{all:unset;box-sizing:border-box;display:flex;flex-direction:row;flex-wrap:nowrap;align-content:stretch;align-items:center;justify-content:center;width:100%;height:32px;padding:6px 8px 6px 6px;font-family:inherit;font-size:12px;line-height:1.6667;cursor:pointer;background-color:#f6f7f9}.gux-field.gux-input-field{height:30px}.gux-field .gux-field-content{display:flex;flex:1 1 0;flex-direction:row;flex-wrap:nowrap;align-content:stretch;align-items:flex-start;justify-content:flex-start;min-width:0;height:100%}.gux-field .gux-field-content .gux-filter,.gux-field .gux-field-content .gux-selected-option,.gux-field .gux-field-content .gux-placeholder{flex:1 1 auto;align-self:auto;order:0;padding-left:6px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.gux-field .gux-field-content .gux-filter{position:relative;height:100%}.gux-field .gux-field-content .gux-filter .gux-filter-input{all:unset;width:100%;color:transparent;caret-color:#2e394c}.gux-field .gux-field-content .gux-filter .gux-filter-display .gux-filter-text{color:#2e394c}.gux-field .gux-field-content .gux-filter .gux-filter-display .gux-filter-suggestion{color:#596373}.gux-field .gux-field-content .gux-filter .gux-filter-input,.gux-field .gux-field-content .gux-filter .gux-filter-display{position:absolute}.gux-field .gux-field-content .gux-placeholder{color:#596373}.gux-field .gux-expand-icon{flex:0 0 auto;align-self:auto;order:0;width:16px;height:16px;padding-left:8px;color:#596373}.gux-target-container-expanded{border:1px solid #6b7585;border-radius:4px;box-shadow:inset 0 0 4px rgba(32, 41, 55, 0.16)}.gux-target-container-expanded:focus-within{outline:none;box-shadow:0 0 0 1px #fdfdfd, 0 0 0 4px #aac9ff}.gux-target-container-expanded .gux-filter-input{background-color:inherit;border:none}.gux-target-container-expanded .gux-filter-input:focus{border:none;outline:none}.gux-target-container-expanded .gux-field-button{width:auto;height:30px;padding:0 0 0 8px;margin:0;background:inherit;border:none;outline:none;box-shadow:none}.gux-target-container-expanded .gux-field-button:focus{outline:none}.gux-target-container-collapsed .gux-field-button{border:1px solid #6b7585;border-radius:4px;box-shadow:inset 0 0 4px rgba(32, 41, 55, 0.16)}.gux-target-container-collapsed .gux-field-button:focus{outline:none;box-shadow:0 0 0 1px #fdfdfd, 0 0 0 4px #aac9ff}.gux-listbox-container{box-sizing:border-box;margin:0;color:#2e394c}";
|
|
21
|
+
const guxDropdownCss = ":host{color:#2e394c}.gux-field,.gux-target-container-expanded{all:unset;box-sizing:border-box;display:flex;flex-direction:row;flex-wrap:nowrap;align-content:stretch;align-items:center;justify-content:center;width:100%;height:32px;padding:6px 8px 6px 6px;font-family:inherit;font-size:12px;line-height:1.6667;cursor:pointer;background-color:#f6f7f9}.gux-error.gux-target-container-collapsed .gux-field-button,.gux-error.gux-target-container-expanded{border-color:#ea0b0b}.gux-field.gux-input-field{height:30px}.gux-field .gux-field-content{display:flex;flex:1 1 0;flex-direction:row;flex-wrap:nowrap;align-content:stretch;align-items:flex-start;justify-content:flex-start;min-width:0;height:100%}.gux-field .gux-field-content .gux-filter,.gux-field .gux-field-content .gux-selected-option,.gux-field .gux-field-content .gux-placeholder{flex:1 1 auto;align-self:auto;order:0;padding-left:6px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.gux-field .gux-field-content .gux-filter{position:relative;height:100%}.gux-field .gux-field-content .gux-filter .gux-filter-input{all:unset;width:100%;color:transparent;caret-color:#2e394c}.gux-field .gux-field-content .gux-filter .gux-filter-display .gux-filter-text{color:#2e394c}.gux-field .gux-field-content .gux-filter .gux-filter-display .gux-filter-suggestion{color:#596373}.gux-field .gux-field-content .gux-filter .gux-filter-input,.gux-field .gux-field-content .gux-filter .gux-filter-display{position:absolute}.gux-field .gux-field-content .gux-placeholder{color:#596373}.gux-field .gux-expand-icon{flex:0 0 auto;align-self:auto;order:0;width:16px;height:16px;padding-left:8px;color:#596373}.gux-target-container-expanded{border:1px solid #6b7585;border-radius:4px;box-shadow:inset 0 0 4px rgba(32, 41, 55, 0.16)}.gux-target-container-expanded:focus-within{outline:none;box-shadow:0 0 0 1px #fdfdfd, 0 0 0 4px #aac9ff}.gux-target-container-expanded .gux-filter-input{background-color:inherit;border:none}.gux-target-container-expanded .gux-filter-input:focus{border:none;outline:none}.gux-target-container-expanded .gux-field-button{width:auto;height:30px;padding:0 0 0 8px;margin:0;background:inherit;border:none;outline:none;box-shadow:none}.gux-target-container-expanded .gux-field-button:focus{outline:none}.gux-target-container-collapsed .gux-field-button{border:1px solid #6b7585;border-radius:4px;box-shadow:inset 0 0 4px rgba(32, 41, 55, 0.16)}.gux-target-container-collapsed .gux-field-button:focus{outline:none;box-shadow:0 0 0 1px #fdfdfd, 0 0 0 4px #aac9ff}.gux-listbox-container{box-sizing:border-box;margin:0;color:#2e394c}";
|
|
22
22
|
|
|
23
23
|
var __decorate = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {
|
|
24
24
|
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
@@ -36,6 +36,7 @@ const GuxDropdown = class {
|
|
|
36
36
|
this.disabled = false;
|
|
37
37
|
this.required = false;
|
|
38
38
|
this.filterable = false;
|
|
39
|
+
this.hasError = false;
|
|
39
40
|
this.expanded = false;
|
|
40
41
|
this.filter = '';
|
|
41
42
|
}
|
|
@@ -233,7 +234,8 @@ const GuxDropdown = class {
|
|
|
233
234
|
renderTarget() {
|
|
234
235
|
return (h("div", { class: {
|
|
235
236
|
'gux-target-container-expanded': this.expanded && this.filterable,
|
|
236
|
-
'gux-target-container-collapsed': !(this.expanded && this.filterable)
|
|
237
|
+
'gux-target-container-collapsed': !(this.expanded && this.filterable),
|
|
238
|
+
'gux-error': this.hasError
|
|
237
239
|
}, slot: "target" }, this.renderFilterInputField(), h("button", { type: "button", class: "gux-field gux-field-button", disabled: calculateInputDisabledState(this.root), onClick: this.fieldButtonClick.bind(this), ref: el => (this.fieldButtonElement = el), "aria-haspopup": "listbox", "aria-expanded": this.expanded.toString() }, this.renderTargetContent(), h("gux-icon", { class: {
|
|
238
240
|
'gux-expand-icon': true
|
|
239
241
|
}, "screenreader-text": this.i18n('dropdown'), iconName: "chevron-small-down" }))));
|
|
@@ -389,7 +391,7 @@ const GuxListbox = class {
|
|
|
389
391
|
};
|
|
390
392
|
GuxListbox.style = guxListboxCss;
|
|
391
393
|
|
|
392
|
-
const guxOptionCss = "gux-option{box-sizing:border-box;display:flex;min-height:32px;padding:8px 16px;color:#2e394c;word-wrap:break-word;cursor:pointer}gux-option.gux-disabled{pointer-events:none;cursor:default;opacity:0.5}gux-option.gux-selected{background:#deeaff}gux-option.gux-active,gux-option.gux-hovered:not(
|
|
394
|
+
const guxOptionCss = "gux-option{box-sizing:border-box;display:flex;min-height:32px;padding:8px 16px;color:#2e394c;word-wrap:break-word;cursor:pointer}gux-option.gux-disabled{pointer-events:none;cursor:default;opacity:0.5}gux-option.gux-selected{background:#deeaff}gux-option.gux-active,gux-option.gux-hovered:not(:disabled){color:#fdfdfd;background:#2a60c8}gux-option.gux-filtered{display:none}";
|
|
393
395
|
|
|
394
396
|
const GuxOption = class {
|
|
395
397
|
constructor(hostRef) {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { r as registerInstance, h, g as getElement } from './index-74e605ae.js';
|
|
2
|
-
import { t as trackComponent } from './usage-tracking-
|
|
2
|
+
import { t as trackComponent } from './usage-tracking-f920c725.js';
|
|
3
3
|
|
|
4
4
|
const guxErrorMessageBetaCss = ".gux-container{display:flex;flex-direction:row;flex-wrap:nowrap;align-content:stretch;align-items:flex-start;justify-content:flex-start;font-size:11px;color:#2e394c}.gux-container gux-icon{flex:0 1 auto;align-self:auto;order:0;width:16px;height:16px;margin:0 4px;color:#ea0b0b}.gux-container .gux-message{flex:0 1 auto;align-self:auto;order:0}";
|
|
5
5
|
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { r as registerInstance, h, H as Host, g as getElement } from './index-74e605ae.js';
|
|
2
|
-
import { t as trackComponent } from './usage-tracking-
|
|
2
|
+
import { t as trackComponent } from './usage-tracking-f920c725.js';
|
|
3
3
|
import { m as moveFocusDelay, h as hideDelay } from './gux-menu.common-60ab04e4.js';
|
|
4
4
|
import { c as createPopper } from './popper-93ecb064.js';
|
|
5
5
|
|
|
@@ -2,7 +2,7 @@ import { r as registerInstance, h, H as Host, g as getElement } from './index-74
|
|
|
2
2
|
import { c as calculateInputDisabledState, o as onInputDisabledStateChange } from './on-input-disabled-state-change-3ea76372.js';
|
|
3
3
|
import { O as OnMutation } from './on-mutation-26225065.js';
|
|
4
4
|
import { p as preventBrowserValidationStyling } from './prevent-browser-validation-styling-d16c3f4c.js';
|
|
5
|
-
import { t as trackComponent } from './usage-tracking-
|
|
5
|
+
import { t as trackComponent } from './usage-tracking-f920c725.js';
|
|
6
6
|
import { h as hasErrorSlot, G as GuxFormFieldError, v as validateFormIds } from './gux-form-field.service-debdaed0.js';
|
|
7
7
|
import './random-html-id-8e3f658c.js';
|
|
8
8
|
import './log-error-b1a1a086.js';
|
|
@@ -3,7 +3,7 @@ import { c as calculateInputDisabledState, o as onInputDisabledStateChange } fro
|
|
|
3
3
|
import { O as OnMutation } from './on-mutation-26225065.js';
|
|
4
4
|
import { a as onRequiredChange } from './on-attribute-change-2b01c315.js';
|
|
5
5
|
import { p as preventBrowserValidationStyling } from './prevent-browser-validation-styling-d16c3f4c.js';
|
|
6
|
-
import { t as trackComponent } from './usage-tracking-
|
|
6
|
+
import { t as trackComponent } from './usage-tracking-f920c725.js';
|
|
7
7
|
import { G as GuxFormFieldLabel, a as GuxFormFieldContainer } from './gux-form-field-label-92550ff3.js';
|
|
8
8
|
import { h as hasErrorSlot, G as GuxFormFieldError, v as validateFormIds, g as getComputedLabelPosition } from './gux-form-field.service-debdaed0.js';
|
|
9
9
|
import './random-html-id-8e3f658c.js';
|
|
@@ -11,7 +11,7 @@ import './log-error-b1a1a086.js';
|
|
|
11
11
|
import './set-input-value-5adeaccc.js';
|
|
12
12
|
import './simulate-native-event-ac69961f.js';
|
|
13
13
|
|
|
14
|
-
const guxFormFieldColorCss = ".gux-form-field-container{margin:16px 0}.gux-form-field-container.gux-beside{display:flex;flex-direction:row}.gux-form-field-error{display:none;flex-direction:row;flex-wrap:nowrap;align-content:stretch;align-items:flex-start;justify-content:flex-start;margin:4px 0;font-size:11px;color:#2e394c}.gux-form-field-error.gux-show{display:flex}.gux-form-field-error gux-icon{flex:0 1 auto;align-self:auto;order:0;width:16px;height:16px;margin:0 4px;color:#ea0b0b}.gux-form-field-error .gux-message{flex:0 1 auto;align-self:auto;order:0}.gux-form-field-label.gux-required::after{font-size:12px;color:#ea0b0b;content:' *'}.gux-form-field-label.gux-beside{position:relative;top:8px;width:fit-content;min-width:45px;margin-right:8px}.gux-form-field-label.gux-above{margin-bottom:8px}.gux-form-field-label.gux-screenreader{position:absolute;top:auto;left:-10000px;width:1px;height:1px;overflow:hidden}:host{display:block;color:#2e394c}::slotted(label){font-family:Roboto, sans-serif;font-weight:400;font-weight:700;font-size:12px;line-height:16px}::slotted(input){flex:1 1 auto;align-self:auto;order:0;width:100%;overflow:hidden;font-size:12px;color:#2e394c;text-align:right;text-overflow:ellipsis;background-color:#f6f7f9;border:none;outline:none}::slotted(input)::placeholder{color:#596373;opacity:1}.gux-input-and-error-container{flex-grow:1}.gux-input-and-error-container .gux-input{display:flex;flex-direction:row;flex-wrap:nowrap;align-content:stretch;align-items:center}.gux-input-and-error-container .gux-input .gux-input-container{box-sizing:border-box;display:flex;flex:1 1 auto;flex-direction:row;flex-wrap:nowrap;align-content:stretch;align-items:center;align-self:auto;justify-content:center;order:0;width:100%;height:32px;padding:4px;font-family:inherit;font-size:12px;line-height:1.6667;color:#2e394c;background-color:#f6f7f9;background-image:none;border:1px solid #6b7585;border-radius:4px;box-shadow:inset 0 0 4px rgba(32, 41, 55, 0.16)}.gux-input-and-error-container .gux-input .gux-input-container.gux-disabled{opacity:0.5}.gux-input-and-error-container .gux-input .gux-input-container:focus-within{border-color:#2a60c8;outline:none;box-shadow:0 0 0 1px #fdfdfd, 0 0 0 4px #aac9ff}.gux-input-and-error-container .gux-input .gux-input-container.gux-input-error .gux-input-container{border-color:#ea0b0b}";
|
|
14
|
+
const guxFormFieldColorCss = ".gux-form-field-container{margin:var(--gux-form-field-container-margin-top, 16px) 0 var(--gux-form-field-container-margin-bottom, 16px) 0}.gux-form-field-container.gux-beside{display:flex;flex-direction:row}.gux-form-field-error{display:none;flex-direction:row;flex-wrap:nowrap;align-content:stretch;align-items:flex-start;justify-content:flex-start;margin:4px 0;font-size:11px;color:#2e394c}.gux-form-field-error.gux-show{display:flex}.gux-form-field-error gux-icon{flex:0 1 auto;align-self:auto;order:0;width:16px;height:16px;margin:0 4px;color:#ea0b0b}.gux-form-field-error .gux-message{flex:0 1 auto;align-self:auto;order:0}.gux-form-field-label.gux-required::after{font-size:12px;color:#ea0b0b;content:' *'}.gux-form-field-label.gux-beside{position:relative;top:8px;width:fit-content;min-width:45px;margin-right:8px}.gux-form-field-label.gux-above{margin-bottom:8px}.gux-form-field-label.gux-screenreader{position:absolute;top:auto;left:-10000px;width:1px;height:1px;overflow:hidden}:host{display:block;color:#2e394c}::slotted(label){font-family:Roboto, sans-serif;font-weight:400;font-weight:700;font-size:12px;line-height:16px}::slotted(input){flex:1 1 auto;align-self:auto;order:0;width:100%;overflow:hidden;font-size:12px;color:#2e394c;text-align:right;text-overflow:ellipsis;background-color:#f6f7f9;border:none;outline:none}::slotted(input)::placeholder{color:#596373;opacity:1}.gux-input-and-error-container{flex-grow:1}.gux-input-and-error-container .gux-input{display:flex;flex-direction:row;flex-wrap:nowrap;align-content:stretch;align-items:center}.gux-input-and-error-container .gux-input .gux-input-container{box-sizing:border-box;display:flex;flex:1 1 auto;flex-direction:row;flex-wrap:nowrap;align-content:stretch;align-items:center;align-self:auto;justify-content:center;order:0;width:100%;height:32px;padding:4px;font-family:inherit;font-size:12px;line-height:1.6667;color:#2e394c;background-color:#f6f7f9;background-image:none;border:1px solid #6b7585;border-radius:4px;box-shadow:inset 0 0 4px rgba(32, 41, 55, 0.16)}.gux-input-and-error-container .gux-input .gux-input-container.gux-disabled{opacity:0.5}.gux-input-and-error-container .gux-input .gux-input-container:focus-within{border-color:#2a60c8;outline:none;box-shadow:0 0 0 1px #fdfdfd, 0 0 0 4px #aac9ff}.gux-input-and-error-container .gux-input .gux-input-container.gux-input-error .gux-input-container{border-color:#ea0b0b}";
|
|
15
15
|
|
|
16
16
|
var __decorate = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {
|
|
17
17
|
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
@@ -2,7 +2,7 @@ import { r as registerInstance, h, g as getElement } from './index-74e605ae.js';
|
|
|
2
2
|
import { c as calculateInputDisabledState, o as onInputDisabledStateChange } from './on-input-disabled-state-change-3ea76372.js';
|
|
3
3
|
import { O as OnMutation } from './on-mutation-26225065.js';
|
|
4
4
|
import { a as onRequiredChange } from './on-attribute-change-2b01c315.js';
|
|
5
|
-
import { t as trackComponent } from './usage-tracking-
|
|
5
|
+
import { t as trackComponent } from './usage-tracking-f920c725.js';
|
|
6
6
|
import { G as GuxFormFieldLabel, a as GuxFormFieldContainer } from './gux-form-field-label-92550ff3.js';
|
|
7
7
|
import { h as hasErrorSlot, G as GuxFormFieldError, v as validateFormIds, g as getComputedLabelPosition } from './gux-form-field.service-debdaed0.js';
|
|
8
8
|
import './random-html-id-8e3f658c.js';
|
|
@@ -10,7 +10,7 @@ import './log-error-b1a1a086.js';
|
|
|
10
10
|
import './set-input-value-5adeaccc.js';
|
|
11
11
|
import './simulate-native-event-ac69961f.js';
|
|
12
12
|
|
|
13
|
-
const guxFormFieldDropdownCss = ".gux-form-field-container{margin:16px 0}.gux-form-field-container.gux-beside{display:flex;flex-direction:row}.gux-form-field-error{display:none;flex-direction:row;flex-wrap:nowrap;align-content:stretch;align-items:flex-start;justify-content:flex-start;margin:4px 0;font-size:11px;color:#2e394c}.gux-form-field-error.gux-show{display:flex}.gux-form-field-error gux-icon{flex:0 1 auto;align-self:auto;order:0;width:16px;height:16px;margin:0 4px;color:#ea0b0b}.gux-form-field-error .gux-message{flex:0 1 auto;align-self:auto;order:0}.gux-form-field-label.gux-required::after{font-size:12px;color:#ea0b0b;content:' *'}.gux-form-field-label.gux-beside{position:relative;top:8px;width:fit-content;min-width:45px;margin-right:8px}.gux-form-field-label.gux-above{margin-bottom:8px}.gux-form-field-label.gux-screenreader{position:absolute;top:auto;left:-10000px;width:1px;height:1px;overflow:hidden}:host{display:block;color:#2e394c}::slotted(label){font-family:Roboto, sans-serif;font-weight:400;font-weight:700;font-size:12px;line-height:16px}.gux-input-and-error-container{flex-grow:1}.gux-input-and-error-container .gux-input.gux-disabled{pointer-events:none;opacity:0.5}
|
|
13
|
+
const guxFormFieldDropdownCss = ".gux-form-field-container{margin:var(--gux-form-field-container-margin-top, 16px) 0 var(--gux-form-field-container-margin-bottom, 16px) 0}.gux-form-field-container.gux-beside{display:flex;flex-direction:row}.gux-form-field-error{display:none;flex-direction:row;flex-wrap:nowrap;align-content:stretch;align-items:flex-start;justify-content:flex-start;margin:4px 0;font-size:11px;color:#2e394c}.gux-form-field-error.gux-show{display:flex}.gux-form-field-error gux-icon{flex:0 1 auto;align-self:auto;order:0;width:16px;height:16px;margin:0 4px;color:#ea0b0b}.gux-form-field-error .gux-message{flex:0 1 auto;align-self:auto;order:0}.gux-form-field-label.gux-required::after{font-size:12px;color:#ea0b0b;content:' *'}.gux-form-field-label.gux-beside{position:relative;top:8px;width:fit-content;min-width:45px;margin-right:8px}.gux-form-field-label.gux-above{margin-bottom:8px}.gux-form-field-label.gux-screenreader{position:absolute;top:auto;left:-10000px;width:1px;height:1px;overflow:hidden}:host{display:block;color:#2e394c}::slotted(label){font-family:Roboto, sans-serif;font-weight:400;font-weight:700;font-size:12px;line-height:16px}.gux-input-and-error-container{flex-grow:1}.gux-input-and-error-container .gux-input.gux-disabled{pointer-events:none;opacity:0.5}";
|
|
14
14
|
|
|
15
15
|
var __decorate = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {
|
|
16
16
|
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
@@ -28,6 +28,13 @@ const GuxFormFieldDropdown = class {
|
|
|
28
28
|
this.computedLabelPosition = 'above';
|
|
29
29
|
this.hasError = false;
|
|
30
30
|
}
|
|
31
|
+
watchValue(hasError) {
|
|
32
|
+
const dropdownSlot = this.root.querySelector('gux-dropdown') ||
|
|
33
|
+
this.root.querySelector('gux-dropdown-multi-beta');
|
|
34
|
+
if (dropdownSlot) {
|
|
35
|
+
dropdownSlot.hasError = hasError;
|
|
36
|
+
}
|
|
37
|
+
}
|
|
31
38
|
onMutation() {
|
|
32
39
|
this.hasError = hasErrorSlot(this.root);
|
|
33
40
|
}
|
|
@@ -77,6 +84,9 @@ const GuxFormFieldDropdown = class {
|
|
|
77
84
|
this.computedLabelPosition = getComputedLabelPosition(this.label, this.labelPosition);
|
|
78
85
|
}
|
|
79
86
|
get root() { return getElement(this); }
|
|
87
|
+
static get watchers() { return {
|
|
88
|
+
"hasError": ["watchValue"]
|
|
89
|
+
}; }
|
|
80
90
|
};
|
|
81
91
|
__decorate([
|
|
82
92
|
OnMutation({ childList: true, subtree: true })
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { r as registerInstance, h, g as getElement } from './index-74e605ae.js';
|
|
2
|
-
import { t as trackComponent } from './usage-tracking-
|
|
2
|
+
import { t as trackComponent } from './usage-tracking-f920c725.js';
|
|
3
3
|
import { b as buildI18nForComponent } from './index-b8a25b60.js';
|
|
4
4
|
import './get-closest-element-1597503c.js';
|
|
5
5
|
|
|
@@ -4,7 +4,7 @@ import { r as randomHTMLId } from './random-html-id-8e3f658c.js';
|
|
|
4
4
|
import { l as logError } from './log-error-b1a1a086.js';
|
|
5
5
|
import { a as onRequiredChange } from './on-attribute-change-2b01c315.js';
|
|
6
6
|
import { p as preventBrowserValidationStyling } from './prevent-browser-validation-styling-d16c3f4c.js';
|
|
7
|
-
import { t as trackComponent } from './usage-tracking-
|
|
7
|
+
import { t as trackComponent } from './usage-tracking-f920c725.js';
|
|
8
8
|
|
|
9
9
|
const guxFormFieldCss = "gux-form-field-legacy{display:block;color:#2e394c}gux-form-field-legacy .gux-label-and-input-and-error-container{margin:16px 0}gux-form-field-legacy .gux-label-and-input-and-error-container label{font-size:12px;font-weight:bold;line-height:20px}gux-form-field-legacy .gux-label-and-input-and-error-container input,gux-form-field-legacy .gux-label-and-input-and-error-container select{width:100%;font-size:12px}gux-form-field-legacy .gux-label-and-input-and-error-container .gux-input-container input{overflow:hidden;text-overflow:ellipsis}gux-form-field-legacy .gux-label-and-input-and-error-container .gux-input-error .gux-input-container{border-color:#ea0b0b}gux-form-field-legacy .gux-label-and-input-and-error-container .gux-input-error textarea{border-color:#ea0b0b}gux-form-field-legacy .gux-label-and-input-and-error-container .gux-input-error .gux-input-color-main-element{border-color:#ea0b0b}gux-form-field-legacy .gux-label-and-input-and-error-container .gux-input-and-error-container{flex-grow:1}gux-form-field-legacy .gux-label-and-input-and-error-container.gux-beside{display:flex;flex-direction:row}gux-form-field-legacy .gux-label-and-input-and-error-container.gux-beside .gux-label-container{position:relative;top:7px;width:fit-content;min-width:45px;margin-right:8px}gux-form-field-legacy .gux-label-and-input-and-error-container.gux-beside gux-input-range,gux-form-field-legacy .gux-label-and-input-and-error-container.gux-beside gux-input-select,gux-form-field-legacy .gux-label-and-input-and-error-container.gux-beside gux-input-text-like,gux-form-field-legacy .gux-label-and-input-and-error-container.gux-beside gux-input-search{flex:1 1 auto}gux-form-field-legacy .gux-label-and-input-and-error-container.gux-screenreader label{position:absolute;top:auto;left:-10000px;width:1px;height:1px;overflow:hidden}gux-form-field-legacy .gux-required::after{font-size:12px;color:#ea0b0b;content:' *'}gux-form-field-legacy .gux-error{display:none;margin:4px 0}gux-form-field-legacy .gux-error.gux-show{display:block}";
|
|
10
10
|
|
|
@@ -4,7 +4,7 @@ import { c as calculateInputDisabledState, o as onInputDisabledStateChange } fro
|
|
|
4
4
|
import { O as OnMutation } from './on-mutation-26225065.js';
|
|
5
5
|
import { a as onRequiredChange } from './on-attribute-change-2b01c315.js';
|
|
6
6
|
import { p as preventBrowserValidationStyling } from './prevent-browser-validation-styling-d16c3f4c.js';
|
|
7
|
-
import { t as trackComponent } from './usage-tracking-
|
|
7
|
+
import { t as trackComponent } from './usage-tracking-f920c725.js';
|
|
8
8
|
import { s as setInputValue } from './set-input-value-5adeaccc.js';
|
|
9
9
|
import { s as simulateNativeEvent } from './simulate-native-event-ac69961f.js';
|
|
10
10
|
import { G as GuxFormFieldLabel, a as GuxFormFieldContainer } from './gux-form-field-label-92550ff3.js';
|
|
@@ -20,7 +20,7 @@ const componentResources = {
|
|
|
20
20
|
decrement: decrement
|
|
21
21
|
};
|
|
22
22
|
|
|
23
|
-
const guxFormFieldNumberCss = ".gux-form-field-container{margin:16px 0}.gux-form-field-container.gux-beside{display:flex;flex-direction:row}.gux-form-field-error{display:none;flex-direction:row;flex-wrap:nowrap;align-content:stretch;align-items:flex-start;justify-content:flex-start;margin:4px 0;font-size:11px;color:#2e394c}.gux-form-field-error.gux-show{display:flex}.gux-form-field-error gux-icon{flex:0 1 auto;align-self:auto;order:0;width:16px;height:16px;margin:0 4px;color:#ea0b0b}.gux-form-field-error .gux-message{flex:0 1 auto;align-self:auto;order:0}.gux-form-field-label.gux-required::after{font-size:12px;color:#ea0b0b;content:' *'}.gux-form-field-label.gux-beside{position:relative;top:8px;width:fit-content;min-width:45px;margin-right:8px}.gux-form-field-label.gux-above{margin-bottom:8px}.gux-form-field-label.gux-screenreader{position:absolute;top:auto;left:-10000px;width:1px;height:1px;overflow:hidden}:host{display:block;color:#2e394c}::slotted(label){font-family:Roboto, sans-serif;font-weight:400;font-weight:700;font-size:12px;line-height:16px}::slotted(input){flex:1 1 auto;align-self:auto;order:0;width:108px;overflow:hidden;font-size:12px;color:#2e394c;text-align:right;text-overflow:ellipsis;background-color:#f6f7f9;border:none;outline:none}::slotted(input)::placeholder{color:#596373;opacity:1}.gux-input-and-error-container{flex-grow:1}.gux-input-and-error-container .gux-input{display:flex;flex-direction:row;flex-wrap:nowrap;align-content:stretch;align-items:center;width:-moz-fit-content;width:fit-content}.gux-input-and-error-container .gux-input .gux-input-container{box-sizing:border-box;display:flex;flex:1 1 auto;flex-direction:row;flex-wrap:nowrap;align-content:stretch;align-items:center;align-self:auto;justify-content:center;order:0;width:100%;height:32px;padding:4px 12px;font-family:inherit;font-size:12px;line-height:1.6667;color:#2e394c;background-color:#f6f7f9;background-image:none;border:1px solid #6b7585;border-radius:4px;box-shadow:inset 0 0 4px rgba(32, 41, 55, 0.16)}.gux-input-and-error-container .gux-input .gux-input-container.gux-disabled{opacity:0.5}.gux-input-and-error-container .gux-input .gux-input-container.gux-clear{padding-right:0}.gux-input-and-error-container .gux-input .gux-input-container:focus-within{border-color:#2a60c8;outline:none;box-shadow:0 0 0 1px #fdfdfd, 0 0 0 4px #aac9ff}.gux-input-and-error-container .gux-input.gux-input-error .gux-input-container{border-color:#ea0b0b}.gux-step-buttons-container{flex:0 1 16px;align-self:auto;order:0;margin:0 4px}.gux-step-buttons-container .gux-step-button{flex:0 1 auto;align-self:auto;order:0;padding:2px;color:#596373;background:transparent;border:none}.gux-step-buttons-container .gux-step-button:not(:disabled):focus,.gux-step-buttons-container .gux-step-button:not(:disabled):hover{color:#2a60c8;cursor:pointer}.gux-step-buttons-container .gux-step-button gux-icon{width:10px;height:10px}";
|
|
23
|
+
const guxFormFieldNumberCss = ".gux-form-field-container{margin:var(--gux-form-field-container-margin-top, 16px) 0 var(--gux-form-field-container-margin-bottom, 16px) 0}.gux-form-field-container.gux-beside{display:flex;flex-direction:row}.gux-form-field-error{display:none;flex-direction:row;flex-wrap:nowrap;align-content:stretch;align-items:flex-start;justify-content:flex-start;margin:4px 0;font-size:11px;color:#2e394c}.gux-form-field-error.gux-show{display:flex}.gux-form-field-error gux-icon{flex:0 1 auto;align-self:auto;order:0;width:16px;height:16px;margin:0 4px;color:#ea0b0b}.gux-form-field-error .gux-message{flex:0 1 auto;align-self:auto;order:0}.gux-form-field-label.gux-required::after{font-size:12px;color:#ea0b0b;content:' *'}.gux-form-field-label.gux-beside{position:relative;top:8px;width:fit-content;min-width:45px;margin-right:8px}.gux-form-field-label.gux-above{margin-bottom:8px}.gux-form-field-label.gux-screenreader{position:absolute;top:auto;left:-10000px;width:1px;height:1px;overflow:hidden}:host{display:block;color:#2e394c}::slotted(label){font-family:Roboto, sans-serif;font-weight:400;font-weight:700;font-size:12px;line-height:16px}::slotted(input){flex:1 1 auto;align-self:auto;order:0;width:108px;overflow:hidden;font-size:12px;color:#2e394c;text-align:right;text-overflow:ellipsis;background-color:#f6f7f9;border:none;outline:none}::slotted(input)::placeholder{color:#596373;opacity:1}.gux-input-and-error-container{flex-grow:1}.gux-input-and-error-container .gux-input{display:flex;flex-direction:row;flex-wrap:nowrap;align-content:stretch;align-items:center;width:-moz-fit-content;width:fit-content}.gux-input-and-error-container .gux-input .gux-input-container{box-sizing:border-box;display:flex;flex:1 1 auto;flex-direction:row;flex-wrap:nowrap;align-content:stretch;align-items:center;align-self:auto;justify-content:center;order:0;width:100%;height:32px;padding:4px 12px;font-family:inherit;font-size:12px;line-height:1.6667;color:#2e394c;background-color:#f6f7f9;background-image:none;border:1px solid #6b7585;border-radius:4px;box-shadow:inset 0 0 4px rgba(32, 41, 55, 0.16)}.gux-input-and-error-container .gux-input .gux-input-container.gux-disabled{opacity:0.5}.gux-input-and-error-container .gux-input .gux-input-container.gux-clear{padding-right:0}.gux-input-and-error-container .gux-input .gux-input-container:focus-within{border-color:#2a60c8;outline:none;box-shadow:0 0 0 1px #fdfdfd, 0 0 0 4px #aac9ff}.gux-input-and-error-container .gux-input.gux-input-error .gux-input-container{border-color:#ea0b0b}.gux-step-buttons-container{flex:0 1 16px;align-self:auto;order:0;margin:0 4px}.gux-step-buttons-container .gux-step-button{flex:0 1 auto;align-self:auto;order:0;padding:2px;color:#596373;background:transparent;border:none}.gux-step-buttons-container .gux-step-button:not(:disabled):focus,.gux-step-buttons-container .gux-step-button:not(:disabled):hover{color:#2a60c8;cursor:pointer}.gux-step-buttons-container .gux-step-button gux-icon{width:10px;height:10px}";
|
|
24
24
|
|
|
25
25
|
var __decorate = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {
|
|
26
26
|
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
@@ -2,7 +2,7 @@ import { r as registerInstance, h, H as Host, g as getElement } from './index-74
|
|
|
2
2
|
import { c as calculateInputDisabledState, o as onInputDisabledStateChange } from './on-input-disabled-state-change-3ea76372.js';
|
|
3
3
|
import { O as OnMutation } from './on-mutation-26225065.js';
|
|
4
4
|
import { p as preventBrowserValidationStyling } from './prevent-browser-validation-styling-d16c3f4c.js';
|
|
5
|
-
import { t as trackComponent } from './usage-tracking-
|
|
5
|
+
import { t as trackComponent } from './usage-tracking-f920c725.js';
|
|
6
6
|
import { h as hasErrorSlot, G as GuxFormFieldError, v as validateFormIds } from './gux-form-field.service-debdaed0.js';
|
|
7
7
|
import './random-html-id-8e3f658c.js';
|
|
8
8
|
import './log-error-b1a1a086.js';
|