genesys-spark-components 3.17.1 → 3.18.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 +7 -0
- 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-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 +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-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-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 +1 -1
- package/dist/cjs/gux-dropdown_3.cjs.entry.js +6 -2
- 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 +4 -4
- package/dist/cjs/gux-form-field-color.cjs.entry.js +4 -3
- package/dist/cjs/gux-form-field-dropdown.cjs.entry.js +7 -8
- 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 +5 -4
- package/dist/cjs/gux-form-field-radio.cjs.entry.js +4 -4
- package/dist/cjs/gux-form-field-range.cjs.entry.js +4 -3
- package/dist/cjs/gux-form-field-search.cjs.entry.js +4 -3
- package/dist/cjs/gux-form-field-select.cjs.entry.js +4 -3
- package/dist/cjs/gux-form-field-text-like.cjs.entry.js +4 -3
- package/dist/cjs/gux-form-field-textarea.cjs.entry.js +4 -3
- 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-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-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-visualization-beta.cjs.entry.js +1 -1
- package/dist/cjs/on-input-disabled-state-change-d66fb86b.js +25 -0
- package/dist/cjs/{usage-tracking-a1cfacb3.js → usage-tracking-0f512a00.js} +1 -1
- package/dist/collection/components/stable/gux-dropdown/gux-dropdown.js +6 -1
- package/dist/collection/components/stable/gux-form-field/components/gux-form-field-checkbox/gux-form-field-checkbox.js +4 -3
- package/dist/collection/components/stable/gux-form-field/components/gux-form-field-color/gux-form-field-color.js +5 -4
- package/dist/collection/components/stable/gux-form-field/components/gux-form-field-dropdown/gux-form-field-dropdown.css +1 -75
- package/dist/collection/components/stable/gux-form-field/components/gux-form-field-dropdown/gux-form-field-dropdown.js +7 -9
- 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-number/gux-form-field-number.js +5 -4
- package/dist/collection/components/stable/gux-form-field/components/gux-form-field-radio/gux-form-field-radio.js +4 -3
- package/dist/collection/components/stable/gux-form-field/components/gux-form-field-range/gux-form-field-range.js +4 -3
- package/dist/collection/components/stable/gux-form-field/components/gux-form-field-search/gux-form-field-search.js +4 -3
- package/dist/collection/components/stable/gux-form-field/components/gux-form-field-select/gux-form-field-select.js +4 -3
- package/dist/collection/components/stable/gux-form-field/components/gux-form-field-text-like/gux-form-field-text-like.js +4 -3
- package/dist/collection/components/stable/gux-form-field/components/gux-form-field-textarea/gux-form-field-textarea.js +4 -3
- package/dist/collection/utils/dom/calculate-input-disabled-state.js +4 -0
- package/dist/collection/utils/dom/on-input-disabled-state-change.js +16 -0
- package/dist/deploy-info.json +3 -3
- 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-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 +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-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-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 +1 -1
- package/dist/esm/gux-dropdown_3.entry.js +6 -2
- 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 +4 -4
- package/dist/esm/gux-form-field-color.entry.js +5 -4
- package/dist/esm/gux-form-field-dropdown.entry.js +8 -9
- 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 +6 -5
- package/dist/esm/gux-form-field-radio.entry.js +4 -4
- package/dist/esm/gux-form-field-range.entry.js +5 -4
- 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 +5 -4
- 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-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-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-visualization-beta.entry.js +1 -1
- package/dist/esm/on-input-disabled-state-change-3ea76372.js +22 -0
- package/dist/esm/{usage-tracking-1815b37d.js → usage-tracking-948a5373.js} +1 -1
- package/dist/genesys-webcomponents/genesys-webcomponents.esm.js +1 -1
- package/dist/genesys-webcomponents/{p-d46b6457.entry.js → p-09ab117e.entry.js} +1 -1
- package/dist/genesys-webcomponents/p-0b4a9b35.entry.js +1 -0
- package/dist/genesys-webcomponents/{p-6f5b7b0a.entry.js → p-0c50e20e.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-0c88ce67.entry.js → p-111b8435.entry.js} +1 -1
- package/dist/genesys-webcomponents/p-150a4bd8.entry.js +1 -0
- package/dist/genesys-webcomponents/{p-c6be8743.entry.js → p-169733a5.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-e79c57d4.entry.js → p-16df966d.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-046c4d4c.entry.js → p-1769b6ff.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-9d9a02b4.entry.js → p-17908503.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-4b3b26f5.entry.js → p-25c150e3.entry.js} +1 -1
- package/dist/genesys-webcomponents/p-2782f006.entry.js +1 -0
- package/dist/genesys-webcomponents/{p-bc7cd0af.entry.js → p-28f03a5d.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-e13c8acf.entry.js → p-2adcfd33.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-80111d4a.entry.js → p-30b37192.entry.js} +1 -1
- package/dist/genesys-webcomponents/p-36f9ff5e.entry.js +1 -0
- package/dist/genesys-webcomponents/p-3ad47753.entry.js +1 -0
- package/dist/genesys-webcomponents/{p-7916892d.entry.js → p-3e206fb1.entry.js} +1 -1
- package/dist/genesys-webcomponents/p-3f5341ea.js +1 -0
- package/dist/genesys-webcomponents/{p-d47ca13d.entry.js → p-40c2ba38.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-5e6469f2.entry.js → p-48ce1096.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-e63f5f19.entry.js → p-50e897ee.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-2265bb6f.entry.js → p-5303de24.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-038656e8.entry.js → p-53c89479.entry.js} +1 -1
- package/dist/genesys-webcomponents/p-54645ba9.entry.js +1 -0
- package/dist/genesys-webcomponents/{p-90c01d84.entry.js → p-56f537c0.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-9048c58d.entry.js → p-5990e5fd.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-ac9e00d2.entry.js → p-5b0790d8.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-393bb7f2.entry.js → p-5cace795.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-e05d4857.entry.js → p-5cc0cfa1.entry.js} +1 -1
- package/dist/genesys-webcomponents/p-64e15d04.entry.js +1 -0
- package/dist/genesys-webcomponents/{p-51b6e718.entry.js → p-651a6b40.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-e056757e.entry.js → p-70cef75e.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-9c25fc0d.entry.js → p-7162e2d7.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-64a5ea8e.entry.js → p-72ee9982.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-b99a3610.entry.js → p-74770123.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-a7d38535.entry.js → p-7adf4fa1.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-56725338.entry.js → p-7e88aa16.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-b6e98893.entry.js → p-86c50675.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-38eaa363.entry.js → p-8a8bc5e5.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-6d753e41.entry.js → p-8ed063e3.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-c9608773.entry.js → p-8f386e5c.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-8aa41116.entry.js → p-911ebf55.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-d0275db5.entry.js → p-912216aa.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-19f61f9c.entry.js → p-9456b981.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-49f518f9.entry.js → p-9df72d1e.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-c8937107.entry.js → p-a2ee277b.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-465f89f6.js → p-a31a9ac2.js} +1 -1
- package/dist/genesys-webcomponents/{p-93ea816b.entry.js → p-a3b6843c.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-da430acd.entry.js → p-a40377e4.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-9fb6e0c4.entry.js → p-a7c34d4c.entry.js} +1 -1
- package/dist/genesys-webcomponents/p-a89c8069.entry.js +1 -0
- package/dist/genesys-webcomponents/{p-4d527abb.entry.js → p-aa736a41.entry.js} +1 -1
- package/dist/genesys-webcomponents/p-b21d3698.entry.js +1 -0
- package/dist/genesys-webcomponents/{p-9d6961b1.entry.js → p-b2309b0b.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-9169702e.entry.js → p-b74626dc.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-1f68e4a3.entry.js → p-ba6e3051.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-bf9be6a2.entry.js → p-c246d607.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-0827c25a.entry.js → p-c7bbaaa5.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-cfd1c47d.entry.js → p-cb72abbf.entry.js} +1 -1
- package/dist/genesys-webcomponents/p-cdfa4905.entry.js +1 -0
- package/dist/genesys-webcomponents/p-cecfa1a7.entry.js +1 -0
- package/dist/genesys-webcomponents/{p-9441a376.entry.js → p-d0cbdc7b.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-11f7efbf.entry.js → p-d351d730.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-f98efaab.entry.js → p-d3bd8bce.entry.js} +1 -1
- package/dist/genesys-webcomponents/p-d59434ef.entry.js +1 -0
- package/dist/genesys-webcomponents/{p-178b2b06.entry.js → p-d5acc1af.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-3bad07db.entry.js → p-d6b3f559.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-6358f9cb.entry.js → p-dafb9bdf.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-f1ad2c64.entry.js → p-db143023.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-706c3ebe.entry.js → p-e50c6278.entry.js} +1 -1
- package/dist/genesys-webcomponents/p-e5ff6fc2.entry.js +1 -0
- package/dist/genesys-webcomponents/{p-fbc901ab.entry.js → p-e941fd32.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-a331ec5a.entry.js → p-ed5aa2f5.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-00851515.entry.js → p-f1c6cbbd.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-234e4466.entry.js → p-f9fefb87.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-6899ba7f.entry.js → p-fafab77e.entry.js} +1 -1
- package/dist/genesys-webcomponents/{p-8b8e80f2.entry.js → p-ffb5b5e5.entry.js} +1 -1
- package/dist/stencil-wrapper.js +1 -1
- package/dist/types/utils/dom/calculate-input-disabled-state.d.ts +1 -0
- package/dist/types/utils/dom/on-input-disabled-state-change.d.ts +1 -0
- package/package.json +1 -1
- package/dist/genesys-webcomponents/p-297ced22.entry.js +0 -1
- package/dist/genesys-webcomponents/p-2bcbc97c.entry.js +0 -1
- package/dist/genesys-webcomponents/p-3e7ba83a.entry.js +0 -1
- package/dist/genesys-webcomponents/p-58044e15.entry.js +0 -1
- package/dist/genesys-webcomponents/p-5f58575f.entry.js +0 -1
- package/dist/genesys-webcomponents/p-6d2cdd09.entry.js +0 -1
- package/dist/genesys-webcomponents/p-85cd9ac2.entry.js +0 -1
- package/dist/genesys-webcomponents/p-8b48f04a.entry.js +0 -1
- package/dist/genesys-webcomponents/p-95b1c3da.entry.js +0 -1
- package/dist/genesys-webcomponents/p-b9ae2afa.entry.js +0 -1
- package/dist/genesys-webcomponents/p-e69e61b7.entry.js +0 -1
- package/dist/genesys-webcomponents/p-e6a3b956.entry.js +0 -1
- package/dist/genesys-webcomponents/p-f0607d82.entry.js +0 -1
|
@@ -3,10 +3,11 @@
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
5
|
const index = require('./index-262c2e3a.js');
|
|
6
|
+
const onInputDisabledStateChange = require('./on-input-disabled-state-change-d66fb86b.js');
|
|
6
7
|
const onMutation = require('./on-mutation-230d7667.js');
|
|
7
8
|
const onAttributeChange = require('./on-attribute-change-37556263.js');
|
|
8
9
|
const preventBrowserValidationStyling = require('./prevent-browser-validation-styling-d21b1a56.js');
|
|
9
|
-
const usageTracking = require('./usage-tracking-
|
|
10
|
+
const usageTracking = require('./usage-tracking-0f512a00.js');
|
|
10
11
|
const guxFormFieldLabel = require('./gux-form-field-label-bc36c597.js');
|
|
11
12
|
const guxFormField_service = require('./gux-form-field.service-13fc997c.js');
|
|
12
13
|
require('./random-html-id-b86b61c0.js');
|
|
@@ -72,10 +73,10 @@ const GuxFormField = class {
|
|
|
72
73
|
setInput() {
|
|
73
74
|
this.input = this.root.querySelector('input[type="range"][slot="input"]');
|
|
74
75
|
preventBrowserValidationStyling.preventBrowserValidationStyling(this.input);
|
|
75
|
-
this.disabled = this.input
|
|
76
|
+
this.disabled = onInputDisabledStateChange.calculateInputDisabledState(this.input);
|
|
76
77
|
this.required = this.input.required;
|
|
77
78
|
this.value = this.input.value;
|
|
78
|
-
this.disabledObserver =
|
|
79
|
+
this.disabledObserver = onInputDisabledStateChange.onInputDisabledStateChange(this.input, (disabled) => {
|
|
79
80
|
this.disabled = disabled;
|
|
80
81
|
});
|
|
81
82
|
this.requiredObserver = onAttributeChange.onRequiredChange(this.input, (required) => {
|
|
@@ -3,10 +3,11 @@
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
5
|
const index = require('./index-262c2e3a.js');
|
|
6
|
+
const onInputDisabledStateChange = require('./on-input-disabled-state-change-d66fb86b.js');
|
|
6
7
|
const onMutation = require('./on-mutation-230d7667.js');
|
|
7
8
|
const onAttributeChange = require('./on-attribute-change-37556263.js');
|
|
8
9
|
const preventBrowserValidationStyling = require('./prevent-browser-validation-styling-d21b1a56.js');
|
|
9
|
-
const usageTracking = require('./usage-tracking-
|
|
10
|
+
const usageTracking = require('./usage-tracking-0f512a00.js');
|
|
10
11
|
const guxFormFieldLabel = require('./gux-form-field-label-bc36c597.js');
|
|
11
12
|
const guxFormField_service = require('./gux-form-field.service-13fc997c.js');
|
|
12
13
|
require('./random-html-id-b86b61c0.js');
|
|
@@ -70,9 +71,9 @@ const GuxFormFieldSearch = class {
|
|
|
70
71
|
this.input.addEventListener('input', () => {
|
|
71
72
|
this.hasContent = guxFormField_service.hasContent(this.input);
|
|
72
73
|
});
|
|
73
|
-
this.disabled = this.input
|
|
74
|
+
this.disabled = onInputDisabledStateChange.calculateInputDisabledState(this.input);
|
|
74
75
|
this.required = this.input.required;
|
|
75
|
-
this.disabledObserver =
|
|
76
|
+
this.disabledObserver = onInputDisabledStateChange.onInputDisabledStateChange(this.input, (disabled) => {
|
|
76
77
|
this.disabled = disabled;
|
|
77
78
|
});
|
|
78
79
|
this.requiredObserver = onAttributeChange.onRequiredChange(this.input, (required) => {
|
|
@@ -3,10 +3,11 @@
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
5
|
const index = require('./index-262c2e3a.js');
|
|
6
|
+
const onInputDisabledStateChange = require('./on-input-disabled-state-change-d66fb86b.js');
|
|
6
7
|
const onMutation = require('./on-mutation-230d7667.js');
|
|
7
8
|
const onAttributeChange = require('./on-attribute-change-37556263.js');
|
|
8
9
|
const preventBrowserValidationStyling = require('./prevent-browser-validation-styling-d21b1a56.js');
|
|
9
|
-
const usageTracking = require('./usage-tracking-
|
|
10
|
+
const usageTracking = require('./usage-tracking-0f512a00.js');
|
|
10
11
|
const guxFormFieldLabel = require('./gux-form-field-label-bc36c597.js');
|
|
11
12
|
const guxFormField_service = require('./gux-form-field.service-13fc997c.js');
|
|
12
13
|
require('./random-html-id-b86b61c0.js');
|
|
@@ -64,9 +65,9 @@ const GuxFormFieldSelect = class {
|
|
|
64
65
|
setInput() {
|
|
65
66
|
this.input = this.root.querySelector('select[slot="input"]');
|
|
66
67
|
preventBrowserValidationStyling.preventBrowserValidationStyling(this.input);
|
|
67
|
-
this.disabled = this.input
|
|
68
|
+
this.disabled = onInputDisabledStateChange.calculateInputDisabledState(this.input);
|
|
68
69
|
this.required = this.input.required;
|
|
69
|
-
this.disabledObserver =
|
|
70
|
+
this.disabledObserver = onInputDisabledStateChange.onInputDisabledStateChange(this.input, (disabled) => {
|
|
70
71
|
this.disabled = disabled;
|
|
71
72
|
});
|
|
72
73
|
this.requiredObserver = onAttributeChange.onRequiredChange(this.input, (required) => {
|
|
@@ -3,10 +3,11 @@
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
5
|
const index = require('./index-262c2e3a.js');
|
|
6
|
+
const onInputDisabledStateChange = require('./on-input-disabled-state-change-d66fb86b.js');
|
|
6
7
|
const onMutation = require('./on-mutation-230d7667.js');
|
|
7
8
|
const onAttributeChange = require('./on-attribute-change-37556263.js');
|
|
8
9
|
const preventBrowserValidationStyling = require('./prevent-browser-validation-styling-d21b1a56.js');
|
|
9
|
-
const usageTracking = require('./usage-tracking-
|
|
10
|
+
const usageTracking = require('./usage-tracking-0f512a00.js');
|
|
10
11
|
const guxFormFieldLabel = require('./gux-form-field-label-bc36c597.js');
|
|
11
12
|
const guxFormField_service = require('./gux-form-field.service-13fc997c.js');
|
|
12
13
|
require('./random-html-id-b86b61c0.js');
|
|
@@ -70,9 +71,9 @@ const GuxFormFieldTextLike = class {
|
|
|
70
71
|
this.input.addEventListener('input', () => {
|
|
71
72
|
this.hasContent = guxFormField_service.hasContent(this.input);
|
|
72
73
|
});
|
|
73
|
-
this.disabled = this.input
|
|
74
|
+
this.disabled = onInputDisabledStateChange.calculateInputDisabledState(this.input);
|
|
74
75
|
this.required = this.input.required;
|
|
75
|
-
this.disabledObserver =
|
|
76
|
+
this.disabledObserver = onInputDisabledStateChange.onInputDisabledStateChange(this.input, (disabled) => {
|
|
76
77
|
this.disabled = disabled;
|
|
77
78
|
});
|
|
78
79
|
this.requiredObserver = onAttributeChange.onRequiredChange(this.input, (required) => {
|
|
@@ -3,10 +3,11 @@
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
5
|
const index = require('./index-262c2e3a.js');
|
|
6
|
+
const onInputDisabledStateChange = require('./on-input-disabled-state-change-d66fb86b.js');
|
|
6
7
|
const onMutation = require('./on-mutation-230d7667.js');
|
|
7
8
|
const onAttributeChange = require('./on-attribute-change-37556263.js');
|
|
8
9
|
const preventBrowserValidationStyling = require('./prevent-browser-validation-styling-d21b1a56.js');
|
|
9
|
-
const usageTracking = require('./usage-tracking-
|
|
10
|
+
const usageTracking = require('./usage-tracking-0f512a00.js');
|
|
10
11
|
const guxFormFieldLabel = require('./gux-form-field-label-bc36c597.js');
|
|
11
12
|
const guxFormField_service = require('./gux-form-field.service-13fc997c.js');
|
|
12
13
|
require('./random-html-id-b86b61c0.js');
|
|
@@ -70,9 +71,9 @@ const GuxFormFieldTextarea = class {
|
|
|
70
71
|
this.input.addEventListener('input', () => {
|
|
71
72
|
this.updateHeight(this.textareaContainerElement, this.input, this.resize);
|
|
72
73
|
});
|
|
73
|
-
this.disabled = this.input
|
|
74
|
+
this.disabled = onInputDisabledStateChange.calculateInputDisabledState(this.input);
|
|
74
75
|
this.required = this.input.required;
|
|
75
|
-
this.disabledObserver =
|
|
76
|
+
this.disabledObserver = onInputDisabledStateChange.onInputDisabledStateChange(this.input, (disabled) => {
|
|
76
77
|
this.disabled = disabled;
|
|
77
78
|
});
|
|
78
79
|
this.requiredObserver = onAttributeChange.onRequiredChange(this.input, (required) => {
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
5
|
const index = require('./index-262c2e3a.js');
|
|
6
|
-
const usageTracking = require('./usage-tracking-
|
|
6
|
+
const usageTracking = require('./usage-tracking-0f512a00.js');
|
|
7
7
|
const logError = require('./log-error-a57681bf.js');
|
|
8
8
|
|
|
9
9
|
const iconNameMap = {
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
5
|
const index = require('./index-262c2e3a.js');
|
|
6
|
-
const usageTracking = require('./usage-tracking-
|
|
6
|
+
const usageTracking = require('./usage-tracking-0f512a00.js');
|
|
7
7
|
|
|
8
8
|
const guxListItemCss = ":host:focus .gux-list-item,:host:active .gux-list-item,:host:hover:not([disabled]) .gux-list-item{color:#fdfdfd;background:#2a60c8}:host(:focus) .gux-list-item,:host(:active) .gux-list-item,:host(:hover:not([disabled])) .gux-list-item{color:#fdfdfd;background:#2a60c8}:host([disabled]) .gux-list-item{pointer-events:none;cursor:default;opacity:0.5}.gux-list-item{display:flex;height:max-content;padding:0 16px;line-height:32px;word-wrap:break-word;cursor:pointer}.gux-list-item .gux-text{width:100%}";
|
|
9
9
|
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
5
|
const index = require('./index-262c2e3a.js');
|
|
6
|
-
const usageTracking = require('./usage-tracking-
|
|
6
|
+
const usageTracking = require('./usage-tracking-0f512a00.js');
|
|
7
7
|
|
|
8
8
|
const validFocusableItems = ['gux-list-item'];
|
|
9
9
|
function getRootChildren(root) {
|
|
@@ -7,7 +7,7 @@ const guxListbox_service = require('./gux-listbox.service-d394da79.js');
|
|
|
7
7
|
const index$1 = require('./index-03fd0894.js');
|
|
8
8
|
const whenEventIsFrom = require('./when-event-is-from-69b5ca13.js');
|
|
9
9
|
const simulateNativeEvent = require('./simulate-native-event-fe3e62da.js');
|
|
10
|
-
const usageTracking = require('./usage-tracking-
|
|
10
|
+
const usageTracking = require('./usage-tracking-0f512a00.js');
|
|
11
11
|
require('./get-closest-element-ab4b2eee.js');
|
|
12
12
|
|
|
13
13
|
const noMatches = "No matches";
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
5
|
const index = require('./index-262c2e3a.js');
|
|
6
|
-
const usageTracking = require('./usage-tracking-
|
|
6
|
+
const usageTracking = require('./usage-tracking-0f512a00.js');
|
|
7
7
|
|
|
8
8
|
/**
|
|
9
9
|
* Below are the max-widths for the loading component.
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
5
|
const index = require('./index-262c2e3a.js');
|
|
6
|
-
const usageTracking = require('./usage-tracking-
|
|
6
|
+
const usageTracking = require('./usage-tracking-0f512a00.js');
|
|
7
7
|
|
|
8
8
|
const guxModalCss = ":host .gux-modal{position:fixed;top:0;right:0;bottom:0;left:0;z-index:1;display:flex;align-items:center;justify-content:center;color:#2e394c;background:rgba(32, 41, 55, 0.8)}:host .gux-modal .gux-modal-container{box-shadow:0 8px 24px rgba(32, 41, 55, 0.4);position:relative;box-sizing:border-box;display:flex;flex-direction:column;justify-content:space-between;padding:40px;background:#fdfdfd;border:1px solid #b4bccb;border-radius:4px}:host .gux-modal .gux-modal-container.gux-small{width:416px;max-height:min(368px, 100vh - 2 * 24px)}:host .gux-modal .gux-modal-container.gux-medium{width:672px;max-height:min(640px, 100vh - 2 * 24px)}:host .gux-modal .gux-modal-container.gux-large{width:940px;max-height:min(640px, 100vh - 2 * 24px)}:host .gux-modal .gux-modal-container.gux-dynamic{max-width:calc(100vw - 2 * 24px);max-height:calc(100vh - 2 * 24px)}:host .gux-modal .gux-modal-container.gux-dynamic .gux-modal-content{max-height:none}:host .gux-modal .gux-modal-container .gux-modal-header{padding-bottom:24px;margin:0;font-family:Roboto, sans-serif;font-weight:400;font-weight:300;font-size:24px;line-height:32px}:host .gux-modal .gux-modal-container .gux-modal-content{max-height:432px;margin:0 8px 24px;overflow-y:auto}:host .gux-modal .gux-modal-container .gux-modal-content.gux-no-buttons{margin-bottom:0}:host .gux-modal .gux-modal-container .gux-button-footer{display:flex;justify-content:space-between}:host .gux-modal .gux-modal-container .gux-button-footer .gux-left-align-buttons gux-button{padding-right:5px}:host .gux-modal .gux-modal-container .gux-button-footer .gux-right-align-buttons gux-button{padding-left:5px}@media (max-width: 416px){:host .gux-modal .gux-modal-container.gux-small,:host .gux-modal .gux-modal-container.gux-medium,:host .gux-modal .gux-modal-container.gux-large{width:100%;height:100%}}";
|
|
9
9
|
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
5
|
const index = require('./index-262c2e3a.js');
|
|
6
|
-
const usageTracking = require('./usage-tracking-
|
|
6
|
+
const usageTracking = require('./usage-tracking-0f512a00.js');
|
|
7
7
|
|
|
8
8
|
const guxNotificationToastCss = ":host{position:relative;display:flex;flex-direction:row;flex-wrap:nowrap;align-content:stretch;align-items:flex-start;justify-content:flex-start;width:294px;padding:16px 8px 16px 16px;margin-bottom:4px;color:#2e394c;background:#f6f7f9;border:1px solid #b4bccb;border-color:#b4bccb;border-radius:4px;box-shadow:0 2px 4px rgba(32, 41, 55, 0.24)}.gux-icon{flex:0 1 auto;align-self:auto;order:0;margin:4px}.gux-icon ::slotted(gux-icon){width:24px !important;height:24px !important}.gux-icon.gux-alert{color:#ea0b0b}.gux-icon.gux-warning{color:#ffae00}.gux-icon.gux-positive{color:#3c8527}.gux-icon.gux-neutral{color:#203b73}.gux-content{display:flex;flex:1 1 auto;flex-direction:column;flex-wrap:nowrap;align-content:stretch;align-items:flex-start;align-self:auto;justify-content:flex-start;order:0}.gux-content .gux-title{flex:1 1 auto;align-self:auto;order:0;max-height:48px;margin:0 12px 0 8px;overflow:hidden;font-size:14px;line-height:20px;color:#2e394c;text-overflow:ellipsis}.gux-content .gux-message{flex:1 1 auto;align-self:auto;order:0;max-height:24px;margin:0 12px 0 8px;overflow:hidden;line-height:24px;text-overflow:ellipsis}";
|
|
9
9
|
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
5
|
const index = require('./index-262c2e3a.js');
|
|
6
|
-
const usageTracking = require('./usage-tracking-
|
|
6
|
+
const usageTracking = require('./usage-tracking-0f512a00.js');
|
|
7
7
|
|
|
8
8
|
const guxPageLoadingSpinnerCss = ":host{display:flex}.gux-spinner{margin:auto}";
|
|
9
9
|
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
5
|
const index = require('./index-262c2e3a.js');
|
|
6
|
-
const usageTracking = require('./usage-tracking-
|
|
6
|
+
const usageTracking = require('./usage-tracking-0f512a00.js');
|
|
7
7
|
|
|
8
8
|
const guxPaginationBetaCss = ":host{display:block;border-top:1px solid #e2e6ee}.gux-pagination-container{display:flex;flex-direction:row;flex-wrap:nowrap;align-content:stretch;align-items:center;justify-content:space-between;height:40px;margin:12px 12px 0 12px}.gux-pagination-container .gux-pagination-info{display:flex;flex:1 1 auto;flex-direction:row;flex-wrap:nowrap;align-content:stretch;align-items:center;align-self:auto;justify-content:flex-start;order:0}.gux-pagination-container .gux-pagination-info>*{flex:0 1 auto;align-self:auto;order:0}.gux-pagination-container .gux-pagination-change{flex:1 1 auto;align-self:auto;order:0;margin-left:24px}.gux-pagination-container .gux-pagination-change:first-child{margin-left:0}";
|
|
9
9
|
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
5
|
const index = require('./index-262c2e3a.js');
|
|
6
|
-
const usageTracking = require('./usage-tracking-
|
|
6
|
+
const usageTracking = require('./usage-tracking-0f512a00.js');
|
|
7
7
|
const index$1 = require('./index-03fd0894.js');
|
|
8
8
|
require('./get-closest-element-ab4b2eee.js');
|
|
9
9
|
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
5
|
const index = require('./index-262c2e3a.js');
|
|
6
|
-
const usageTracking = require('./usage-tracking-
|
|
6
|
+
const usageTracking = require('./usage-tracking-0f512a00.js');
|
|
7
7
|
|
|
8
8
|
const guxPaginationCss = ":host{display:block;border-top:1px solid #e2e6ee}.gux-pagination-container{display:flex;flex-direction:row;flex-wrap:nowrap;align-content:stretch;align-items:center;justify-content:space-between;height:32px;margin-top:12px}.gux-pagination-container .gux-pagination-info{display:flex;flex:1 1 auto;flex-direction:row;flex-wrap:nowrap;align-content:stretch;align-items:center;align-self:auto;justify-content:flex-start;order:0}.gux-pagination-container .gux-pagination-info>*{flex:0 1 auto;align-self:auto;order:0}.gux-pagination-container .gux-pagination-change{flex:1 1 auto;align-self:auto;order:0;margin-left:16px}.gux-pagination-container .gux-pagination-change:first-child{margin-left:0}";
|
|
9
9
|
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
5
|
const index = require('./index-262c2e3a.js');
|
|
6
|
-
const usageTracking = require('./usage-tracking-
|
|
6
|
+
const usageTracking = require('./usage-tracking-0f512a00.js');
|
|
7
7
|
|
|
8
8
|
function hasSlot(element, slotName) {
|
|
9
9
|
return Boolean(element.querySelector(`[slot=${slotName}]`));
|
|
@@ -5,7 +5,7 @@ Object.defineProperty(exports, '__esModule', { value: true });
|
|
|
5
5
|
const index = require('./index-262c2e3a.js');
|
|
6
6
|
const onClickOutside = require('./on-click-outside-0d16a176.js');
|
|
7
7
|
const onAttributeChange = require('./on-attribute-change-37556263.js');
|
|
8
|
-
const usageTracking = require('./usage-tracking-
|
|
8
|
+
const usageTracking = require('./usage-tracking-0f512a00.js');
|
|
9
9
|
const popper = require('./popper-71bf3058.js');
|
|
10
10
|
|
|
11
11
|
const guxPopoverListCss = ":host{color:#2e394c}.gux-popover-wrapper{z-index:2;display:inline-block;padding:8px 0;background-color:#fdfdfd;border:1px solid #b4bccb;border-radius:4px;box-shadow:0 2px 4px rgba(32, 41, 55, 0.24)}.gux-popover-wrapper .gux-arrow,.gux-popover-wrapper .gux-arrow::before{position:absolute;width:10px;height:10px;background:inherit}.gux-popover-wrapper .gux-arrow{visibility:hidden}.gux-popover-wrapper .gux-arrow::before{visibility:visible;content:'';transform:rotate(45deg)}.gux-popover-wrapper[data-popper-placement='bottom'] .gux-arrow,.gux-popover-wrapper[data-popper-placement='bottom-start'] .gux-arrow,.gux-popover-wrapper[data-popper-placement='bottom-end'] .gux-arrow{top:-5px}.gux-popover-wrapper[data-popper-placement='bottom'] .gux-arrow::before,.gux-popover-wrapper[data-popper-placement='bottom-start'] .gux-arrow::before,.gux-popover-wrapper[data-popper-placement='bottom-end'] .gux-arrow::before{border-top:1px solid #b4bccb;border-left:1px solid #b4bccb}.gux-popover-wrapper[data-popper-placement='top'] .gux-arrow,.gux-popover-wrapper[data-popper-placement='top-start'] .gux-arrow,.gux-popover-wrapper[data-popper-placement='top-end'] .gux-arrow{bottom:-5px}.gux-popover-wrapper[data-popper-placement='top'] .gux-arrow::before,.gux-popover-wrapper[data-popper-placement='top-start'] .gux-arrow::before,.gux-popover-wrapper[data-popper-placement='top-end'] .gux-arrow::before{border-right:1px solid #b4bccb;border-bottom:1px solid #b4bccb}.gux-popover-wrapper[data-popper-placement='left'] .gux-arrow,.gux-popover-wrapper[data-popper-placement='left-start'] .gux-arrow,.gux-popover-wrapper[data-popper-placement='left-end'] .gux-arrow{right:-5px}.gux-popover-wrapper[data-popper-placement='left'] .gux-arrow::before,.gux-popover-wrapper[data-popper-placement='left-start'] .gux-arrow::before,.gux-popover-wrapper[data-popper-placement='left-end'] .gux-arrow::before{border-top:1px solid #b4bccb;border-right:1px solid #b4bccb}.gux-popover-wrapper[data-popper-placement='right'] .gux-arrow,.gux-popover-wrapper[data-popper-placement='right-start'] .gux-arrow,.gux-popover-wrapper[data-popper-placement='right-end'] .gux-arrow{left:-5px}.gux-popover-wrapper[data-popper-placement='right'] .gux-arrow::before,.gux-popover-wrapper[data-popper-placement='right-start'] .gux-arrow::before,.gux-popover-wrapper[data-popper-placement='right-end'] .gux-arrow::before{border-bottom:1px solid #b4bccb;border-left:1px solid #b4bccb}";
|
|
@@ -5,7 +5,7 @@ Object.defineProperty(exports, '__esModule', { value: true });
|
|
|
5
5
|
const index = require('./index-262c2e3a.js');
|
|
6
6
|
const onClickOutside = require('./on-click-outside-0d16a176.js');
|
|
7
7
|
const onAttributeChange = require('./on-attribute-change-37556263.js');
|
|
8
|
-
const usageTracking = require('./usage-tracking-
|
|
8
|
+
const usageTracking = require('./usage-tracking-0f512a00.js');
|
|
9
9
|
const popper = require('./popper-71bf3058.js');
|
|
10
10
|
|
|
11
11
|
const guxPopoverCss = ":host{color:#2e394c}.gux-popover-wrapper{z-index:2;display:inline-block;padding:16px;background-color:#fdfdfd;border:1px solid #b4bccb;border-radius:4px;box-shadow:0 2px 4px rgba(32, 41, 55, 0.24)}.gux-popover-wrapper .gux-arrow,.gux-popover-wrapper .gux-arrow::before{position:absolute;width:10px;height:10px;background:inherit}.gux-popover-wrapper .gux-arrow{visibility:hidden}.gux-popover-wrapper .gux-arrow::before{visibility:visible;content:'';transform:rotate(45deg)}.gux-popover-wrapper[data-popper-placement='bottom'] .gux-arrow,.gux-popover-wrapper[data-popper-placement='bottom-start'] .gux-arrow,.gux-popover-wrapper[data-popper-placement='bottom-end'] .gux-arrow{top:-5px}.gux-popover-wrapper[data-popper-placement='bottom'] .gux-arrow::before,.gux-popover-wrapper[data-popper-placement='bottom-start'] .gux-arrow::before,.gux-popover-wrapper[data-popper-placement='bottom-end'] .gux-arrow::before{border-top:1px solid #b4bccb;border-left:1px solid #b4bccb}.gux-popover-wrapper[data-popper-placement='top'] .gux-arrow,.gux-popover-wrapper[data-popper-placement='top-start'] .gux-arrow,.gux-popover-wrapper[data-popper-placement='top-end'] .gux-arrow{bottom:-5px}.gux-popover-wrapper[data-popper-placement='top'] .gux-arrow::before,.gux-popover-wrapper[data-popper-placement='top-start'] .gux-arrow::before,.gux-popover-wrapper[data-popper-placement='top-end'] .gux-arrow::before{border-right:1px solid #b4bccb;border-bottom:1px solid #b4bccb}.gux-popover-wrapper[data-popper-placement='left'] .gux-arrow,.gux-popover-wrapper[data-popper-placement='left-start'] .gux-arrow,.gux-popover-wrapper[data-popper-placement='left-end'] .gux-arrow{right:-5px}.gux-popover-wrapper[data-popper-placement='left'] .gux-arrow::before,.gux-popover-wrapper[data-popper-placement='left-start'] .gux-arrow::before,.gux-popover-wrapper[data-popper-placement='left-end'] .gux-arrow::before{border-top:1px solid #b4bccb;border-right:1px solid #b4bccb}.gux-popover-wrapper[data-popper-placement='right'] .gux-arrow,.gux-popover-wrapper[data-popper-placement='right-start'] .gux-arrow,.gux-popover-wrapper[data-popper-placement='right-end'] .gux-arrow{left:-5px}.gux-popover-wrapper[data-popper-placement='right'] .gux-arrow::before,.gux-popover-wrapper[data-popper-placement='right-start'] .gux-arrow::before,.gux-popover-wrapper[data-popper-placement='right-end'] .gux-arrow::before{border-bottom:1px solid #b4bccb;border-left:1px solid #b4bccb}";
|
|
@@ -4,7 +4,7 @@ Object.defineProperty(exports, '__esModule', { value: true });
|
|
|
4
4
|
|
|
5
5
|
const index = require('./index-262c2e3a.js');
|
|
6
6
|
const index$1 = require('./index-03fd0894.js');
|
|
7
|
-
const usageTracking = require('./usage-tracking-
|
|
7
|
+
const usageTracking = require('./usage-tracking-0f512a00.js');
|
|
8
8
|
require('./get-closest-element-ab4b2eee.js');
|
|
9
9
|
|
|
10
10
|
const loading = "Loading";
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
5
|
const index = require('./index-262c2e3a.js');
|
|
6
|
-
const usageTracking = require('./usage-tracking-
|
|
6
|
+
const usageTracking = require('./usage-tracking-0f512a00.js');
|
|
7
7
|
const logError = require('./log-error-a57681bf.js');
|
|
8
8
|
const randomHtmlId = require('./random-html-id-b86b61c0.js');
|
|
9
9
|
const clamp = require('./clamp-1bb96117.js');
|
|
@@ -5,7 +5,7 @@ Object.defineProperty(exports, '__esModule', { value: true });
|
|
|
5
5
|
const index = require('./index-262c2e3a.js');
|
|
6
6
|
const simulateNativeEvent = require('./simulate-native-event-fe3e62da.js');
|
|
7
7
|
const clamp = require('./clamp-1bb96117.js');
|
|
8
|
-
const usageTracking = require('./usage-tracking-
|
|
8
|
+
const usageTracking = require('./usage-tracking-0f512a00.js');
|
|
9
9
|
const logError = require('./log-error-a57681bf.js');
|
|
10
10
|
|
|
11
11
|
const guxRatingCss = ":host{display:inline-flex;user-select:none}:host:focus{outline:none;box-shadow:0 0 0 3px rgba(117, 168, 255, 0.5)}.gux-rating-star-container{color:#2e394c}.gux-rating-star-container.gux-disabled{opacity:0.5}.gux-rating-star-container gux-icon{width:24px;height:24px}";
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
5
|
const index = require('./index-262c2e3a.js');
|
|
6
|
-
const usageTracking = require('./usage-tracking-
|
|
6
|
+
const usageTracking = require('./usage-tracking-0f512a00.js');
|
|
7
7
|
|
|
8
8
|
const guxSidePanelCss = "gux-side-panel-legacy aside{position:relative;display:flex;flex-direction:row-reverse;width:49px;height:100%;color:#2e394c;background-color:#fdfdfd}gux-side-panel-legacy aside.gux-left{flex-direction:row}gux-side-panel-legacy aside.gux-left .gux-panel-content{left:49px}gux-side-panel-legacy aside.gux-right .gux-panel-content{right:49px}gux-side-panel-legacy aside .gux-panel-icons{border:1px solid #e2e6ee}gux-side-panel-legacy aside .gux-panel-icons gux-side-panel-button{display:flex;flex-direction:column}gux-side-panel-legacy aside .gux-panel-content{position:absolute;width:280px;height:100%}gux-side-panel-legacy aside .gux-panel-content [slot='side-panel-content']{height:100%}gux-side-panel-legacy aside .gux-panel-content.gux-closed{display:none}.gux-side-panel-dark-theme{color:#fdfdfd}.gux-side-panel-dark-theme aside{background-color:#2e394c}.gux-side-panel-dark-theme aside .gux-panel-icons{border-color:#202937}.gux-dark-theme gux-side-panel-legacy{color:#fdfdfd}.gux-dark-theme gux-side-panel-legacy aside{background-color:#2e394c}.gux-dark-theme gux-side-panel-legacy aside .gux-panel-icons{border-color:#202937}gux-side-panel-legacy.gux-dark-theme{color:#fdfdfd}gux-side-panel-legacy.gux-dark-theme aside{background-color:#2e394c}gux-side-panel-legacy.gux-dark-theme aside .gux-panel-icons{border-color:#202937}.gux-side-panel-light-theme{color:#2e394c}.gux-light-theme gux-side-panel-legacy{color:#2e394c}gux-side-panel-legacy.gux-light-theme{color:#2e394c}gux-side-panel-legacy{color:#2e394c}";
|
|
9
9
|
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
5
|
const index = require('./index-262c2e3a.js');
|
|
6
|
-
const usageTracking = require('./usage-tracking-
|
|
6
|
+
const usageTracking = require('./usage-tracking-0f512a00.js');
|
|
7
7
|
|
|
8
8
|
const guxSimpleToastCss = ":host{position:relative;display:flex;flex-direction:row;flex-wrap:nowrap;align-content:stretch;align-items:flex-start;justify-content:flex-start;width:286px;padding:8px 16px;margin-bottom:4px;color:#2e394c;background:#f6f7f9;border:1px solid;border-color:#b4bccb;border-radius:4px;box-shadow:0 2px 4px rgba(32, 41, 55, 0.24)}.gux-icon{flex:0 1 auto;align-self:auto;order:0;margin:6px 0}.gux-icon.gux-alert{color:#ea0b0b}.gux-icon.gux-warning{color:#ffae00}.gux-icon.gux-positive{color:#3c8527}.gux-icon.gux-neutral{color:#203b73}.gux-icon gux-icon{width:12px;height:12px}.gux-message{flex:1 1 auto;align-self:auto;order:0;max-height:48px;margin:0 12px 0 8px;overflow:hidden;line-height:24px;text-overflow:ellipsis}";
|
|
9
9
|
|
|
@@ -4,7 +4,7 @@ Object.defineProperty(exports, '__esModule', { value: true });
|
|
|
4
4
|
|
|
5
5
|
const index = require('./index-262c2e3a.js');
|
|
6
6
|
const index$1 = require('./index-03fd0894.js');
|
|
7
|
-
const usageTracking = require('./usage-tracking-
|
|
7
|
+
const usageTracking = require('./usage-tracking-0f512a00.js');
|
|
8
8
|
const getClosestElement = require('./get-closest-element-ab4b2eee.js');
|
|
9
9
|
const onMutation = require('./on-mutation-8f8a4460.js');
|
|
10
10
|
const en = require('./en-dc1f49b7.js');
|
|
@@ -4,7 +4,7 @@ Object.defineProperty(exports, '__esModule', { value: true });
|
|
|
4
4
|
|
|
5
5
|
const index = require('./index-262c2e3a.js');
|
|
6
6
|
const simulateNativeEvent = require('./simulate-native-event-fe3e62da.js');
|
|
7
|
-
const usageTracking = require('./usage-tracking-
|
|
7
|
+
const usageTracking = require('./usage-tracking-0f512a00.js');
|
|
8
8
|
|
|
9
9
|
const guxSwitchCss = "gux-switch{display:flex;align-items:flex-end}";
|
|
10
10
|
|
|
@@ -6,7 +6,7 @@ const index = require('./index-262c2e3a.js');
|
|
|
6
6
|
const index$1 = require('./index-03fd0894.js');
|
|
7
7
|
const whenEventIsFrom = require('./when-event-is-from-69b5ca13.js');
|
|
8
8
|
const randomHtmlId = require('./random-html-id-b86b61c0.js');
|
|
9
|
-
const usageTracking = require('./usage-tracking-
|
|
9
|
+
const usageTracking = require('./usage-tracking-0f512a00.js');
|
|
10
10
|
const en = require('./en-dc1f49b7.js');
|
|
11
11
|
require('./get-closest-element-ab4b2eee.js');
|
|
12
12
|
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
5
|
const index = require('./index-262c2e3a.js');
|
|
6
|
-
const usageTracking = require('./usage-tracking-
|
|
6
|
+
const usageTracking = require('./usage-tracking-0f512a00.js');
|
|
7
7
|
|
|
8
8
|
const guxTabsAdvancedCss = "gux-tabs-advanced{-custom-noop:noop}";
|
|
9
9
|
|
|
@@ -4,7 +4,7 @@ Object.defineProperty(exports, '__esModule', { value: true });
|
|
|
4
4
|
|
|
5
5
|
const index = require('./index-262c2e3a.js');
|
|
6
6
|
const sortable_esm = require('./sortable.esm-d03e1767.js');
|
|
7
|
-
const usageTracking = require('./usage-tracking-
|
|
7
|
+
const usageTracking = require('./usage-tracking-0f512a00.js');
|
|
8
8
|
const index$1 = require('./index-03fd0894.js');
|
|
9
9
|
const whenEventIsFrom = require('./when-event-is-from-69b5ca13.js');
|
|
10
10
|
require('./get-closest-element-ab4b2eee.js');
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
5
|
const index = require('./index-262c2e3a.js');
|
|
6
|
-
const usageTracking = require('./usage-tracking-
|
|
6
|
+
const usageTracking = require('./usage-tracking-0f512a00.js');
|
|
7
7
|
|
|
8
8
|
const guxTabsCss = ".gux-tabs.gux-vertical{display:flex;height:100%}";
|
|
9
9
|
|
|
@@ -4,7 +4,7 @@ Object.defineProperty(exports, '__esModule', { value: true });
|
|
|
4
4
|
|
|
5
5
|
const index = require('./index-262c2e3a.js');
|
|
6
6
|
const index$1 = require('./index-03fd0894.js');
|
|
7
|
-
const usageTracking = require('./usage-tracking-
|
|
7
|
+
const usageTracking = require('./usage-tracking-0f512a00.js');
|
|
8
8
|
require('./get-closest-element-ab4b2eee.js');
|
|
9
9
|
|
|
10
10
|
const tag = "tag with label: {label}";
|
|
@@ -4,7 +4,7 @@ Object.defineProperty(exports, '__esModule', { value: true });
|
|
|
4
4
|
|
|
5
5
|
const index = require('./index-262c2e3a.js');
|
|
6
6
|
const search = require('./search-a2ed7f26.js');
|
|
7
|
-
const usageTracking = require('./usage-tracking-
|
|
7
|
+
const usageTracking = require('./usage-tracking-0f512a00.js');
|
|
8
8
|
|
|
9
9
|
const GuxTextHighlight = class {
|
|
10
10
|
constructor(hostRef) {
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
5
|
const index = require('./index-262c2e3a.js');
|
|
6
|
-
const usageTracking = require('./usage-tracking-
|
|
6
|
+
const usageTracking = require('./usage-tracking-0f512a00.js');
|
|
7
7
|
|
|
8
8
|
const guxTextLabelCss = "gux-text-label-legacy .gux-label{margin-right:8px}gux-text-label-legacy .gux-text-label-container.gux-beside{display:flex;flex-direction:row;align-items:baseline}gux-text-label-legacy .gux-text-label-container.gux-beside .gux-labeled-component{flex:1 1 auto}.gux-text-label-dark-theme{color:#fdfdfd}.gux-dark-theme gux-text-label-legacy{color:#fdfdfd}gux-text-label-legacy.gux-dark-theme{color:#fdfdfd}.gux-text-label-light-theme{color:#2e394c}.gux-light-theme gux-text-label-legacy{color:#2e394c}gux-text-label-legacy.gux-light-theme{color:#2e394c}gux-text-label-legacy{color:#2e394c}";
|
|
9
9
|
|
|
@@ -4,7 +4,7 @@ Object.defineProperty(exports, '__esModule', { value: true });
|
|
|
4
4
|
|
|
5
5
|
const index = require('./index-262c2e3a.js');
|
|
6
6
|
const onClickOutside = require('./on-click-outside-0d16a176.js');
|
|
7
|
-
const usageTracking = require('./usage-tracking-
|
|
7
|
+
const usageTracking = require('./usage-tracking-0f512a00.js');
|
|
8
8
|
const index$1 = require('./index-03fd0894.js');
|
|
9
9
|
require('./get-closest-element-ab4b2eee.js');
|
|
10
10
|
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
5
|
const index = require('./index-262c2e3a.js');
|
|
6
|
-
const usageTracking = require('./usage-tracking-
|
|
6
|
+
const usageTracking = require('./usage-tracking-0f512a00.js');
|
|
7
7
|
const randomHtmlId = require('./random-html-id-b86b61c0.js');
|
|
8
8
|
const index$1 = require('./index-03fd0894.js');
|
|
9
9
|
require('./get-closest-element-ab4b2eee.js');
|
|
@@ -4,7 +4,7 @@ Object.defineProperty(exports, '__esModule', { value: true });
|
|
|
4
4
|
|
|
5
5
|
const index = require('./index-262c2e3a.js');
|
|
6
6
|
const randomHtmlId = require('./random-html-id-b86b61c0.js');
|
|
7
|
-
const usageTracking = require('./usage-tracking-
|
|
7
|
+
const usageTracking = require('./usage-tracking-0f512a00.js');
|
|
8
8
|
const popper = require('./popper-71bf3058.js');
|
|
9
9
|
|
|
10
10
|
const guxTooltipCss = ":host{z-index:1;box-sizing:border-box;max-width:250px;padding:6px 12px;font-size:12px;color:#2e394c;pointer-events:none;visibility:hidden !important;background-color:#fdfdfd;border:1px solid #b4bccb;border-radius:4px;box-shadow:0 2px 4px rgba(32, 41, 55, 0.24);opacity:0;transition:opacity 0.25s ease-in-out}:host(.gux-show){visibility:visible !important;opacity:1}";
|
|
@@ -5,7 +5,7 @@ Object.defineProperty(exports, '__esModule', { value: true });
|
|
|
5
5
|
const index$2 = require('./index-262c2e3a.js');
|
|
6
6
|
const _commonjsHelpers = require('./_commonjsHelpers-537d719a.js');
|
|
7
7
|
const index$3 = require('./index-03fd0894.js');
|
|
8
|
-
const usageTracking = require('./usage-tracking-
|
|
8
|
+
const usageTracking = require('./usage-tracking-0f512a00.js');
|
|
9
9
|
require('./get-closest-element-ab4b2eee.js');
|
|
10
10
|
|
|
11
11
|
/*!
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
function calculateInputDisabledState(element) {
|
|
4
|
+
const fieldSet = element.closest('fieldset');
|
|
5
|
+
return element.disabled || (fieldSet === null || fieldSet === void 0 ? void 0 : fieldSet.disabled);
|
|
6
|
+
}
|
|
7
|
+
|
|
8
|
+
function onInputDisabledStateChange(element, callback) {
|
|
9
|
+
const fieldSet = element.closest('fieldset');
|
|
10
|
+
const observer = new MutationObserver(mutations => {
|
|
11
|
+
mutations.forEach(mutation => {
|
|
12
|
+
if (mutation.attributeName === 'disabled') {
|
|
13
|
+
callback(calculateInputDisabledState(element));
|
|
14
|
+
}
|
|
15
|
+
});
|
|
16
|
+
});
|
|
17
|
+
observer.observe(element, { attributes: true });
|
|
18
|
+
if (fieldSet) {
|
|
19
|
+
observer.observe(fieldSet, { attributes: true });
|
|
20
|
+
}
|
|
21
|
+
return observer;
|
|
22
|
+
}
|
|
23
|
+
|
|
24
|
+
exports.calculateInputDisabledState = calculateInputDisabledState;
|
|
25
|
+
exports.onInputDisabledStateChange = onInputDisabledStateChange;
|
|
@@ -8,6 +8,8 @@ import { Component, Element, forceUpdate, h, Listen, Prop, State, Watch } from '
|
|
|
8
8
|
import { OnClickOutside } from '../../../utils/decorator/on-click-outside';
|
|
9
9
|
import { buildI18nForComponent } from '../../../i18n';
|
|
10
10
|
import simulateNativeEvent from '../../../utils/dom/simulate-native-event';
|
|
11
|
+
import { calculateInputDisabledState } from '../../../utils/dom/calculate-input-disabled-state';
|
|
12
|
+
import { onInputDisabledStateChange } from '../../../utils/dom/on-input-disabled-state-change';
|
|
11
13
|
import { trackComponent } from '../../../usage-tracking';
|
|
12
14
|
import translationResources from './i18n/en.json';
|
|
13
15
|
import { getSearchOption } from '../gux-listbox/gux-listbox.service';
|
|
@@ -104,6 +106,9 @@ export class GuxDropdown {
|
|
|
104
106
|
this.i18n = await buildI18nForComponent(this.root, translationResources);
|
|
105
107
|
this.listboxElement = this.root.querySelector('gux-listbox');
|
|
106
108
|
this.validateValue(this.value);
|
|
109
|
+
onInputDisabledStateChange(this.root, () => {
|
|
110
|
+
forceUpdate(this.root);
|
|
111
|
+
});
|
|
107
112
|
}
|
|
108
113
|
componentDidLoad() {
|
|
109
114
|
this.listboxElement.addEventListener('input', (event) => {
|
|
@@ -222,7 +227,7 @@ export class GuxDropdown {
|
|
|
222
227
|
'gux-target-container-collapsed': !(this.expanded && this.filterable)
|
|
223
228
|
}, slot: "target" },
|
|
224
229
|
this.renderFilterInputField(),
|
|
225
|
-
h("button", { type: "button", class: "gux-field gux-field-button", disabled: this.
|
|
230
|
+
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() },
|
|
226
231
|
this.renderTargetContent(),
|
|
227
232
|
h("gux-icon", { class: {
|
|
228
233
|
'gux-expand-icon': true
|
|
@@ -5,8 +5,9 @@ var __decorate = (this && this.__decorate) || function (decorators, target, key,
|
|
|
5
5
|
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
6
6
|
};
|
|
7
7
|
import { Component, Element, h, Host, State } from '@stencil/core';
|
|
8
|
+
import { calculateInputDisabledState } from '../../../../../utils/dom/calculate-input-disabled-state';
|
|
9
|
+
import { onInputDisabledStateChange } from '../../../../../utils/dom/on-input-disabled-state-change';
|
|
8
10
|
import { OnMutation } from '../../../../../utils/decorator/on-mutation';
|
|
9
|
-
import { onDisabledChange } from '../../../../../utils/dom/on-attribute-change';
|
|
10
11
|
import { preventBrowserValidationStyling } from '../../../../../utils/dom/prevent-browser-validation-styling';
|
|
11
12
|
import { trackComponent } from '../../../../../usage-tracking';
|
|
12
13
|
import { GuxFormFieldError } from '../../functional-components/gux-form-field-error/gux-form-field-error';
|
|
@@ -46,8 +47,8 @@ export class GuxFormFieldCheckbox {
|
|
|
46
47
|
setInput() {
|
|
47
48
|
this.input = this.root.querySelector('input[type="checkbox"][slot="input"]');
|
|
48
49
|
preventBrowserValidationStyling(this.input);
|
|
49
|
-
this.disabled = this.input
|
|
50
|
-
this.disabledObserver =
|
|
50
|
+
this.disabled = calculateInputDisabledState(this.input);
|
|
51
|
+
this.disabledObserver = onInputDisabledStateChange(this.input, (disabled) => {
|
|
51
52
|
this.disabled = disabled;
|
|
52
53
|
});
|
|
53
54
|
validateFormIds(this.root, this.input);
|
|
@@ -5,15 +5,16 @@ var __decorate = (this && this.__decorate) || function (decorators, target, key,
|
|
|
5
5
|
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
6
6
|
};
|
|
7
7
|
import { Component, Element, h, Prop, State } from '@stencil/core';
|
|
8
|
+
import { calculateInputDisabledState } from '../../../../../utils/dom/calculate-input-disabled-state';
|
|
9
|
+
import { onInputDisabledStateChange } from '../../../../../utils/dom/on-input-disabled-state-change';
|
|
8
10
|
import { OnMutation } from '../../../../../utils/decorator/on-mutation';
|
|
9
|
-
import { onDisabledChange } from '../../../../../utils/dom/on-attribute-change';
|
|
10
11
|
import { onRequiredChange } from '../../../../../utils/dom/on-attribute-change';
|
|
11
12
|
import { preventBrowserValidationStyling } from '../../../../../utils/dom/prevent-browser-validation-styling';
|
|
12
13
|
import { trackComponent } from '../../../../../usage-tracking';
|
|
13
14
|
import { GuxFormFieldContainer } from '../../functional-components/gux-form-field-container/gux-form-field-container';
|
|
14
15
|
import { GuxFormFieldError } from '../../functional-components/gux-form-field-error/gux-form-field-error';
|
|
15
16
|
import { GuxFormFieldLabel } from '../../functional-components/gux-form-field-label/gux-form-field-label';
|
|
16
|
-
import {
|
|
17
|
+
import { getComputedLabelPosition, hasErrorSlot, validateFormIds } from '../../gux-form-field.service';
|
|
17
18
|
/**
|
|
18
19
|
* @slot input - Required slot for input tag
|
|
19
20
|
* @slot label - Required slot for label tag
|
|
@@ -59,9 +60,9 @@ export class GuxFormFieldColor {
|
|
|
59
60
|
setInput() {
|
|
60
61
|
this.input = this.root.querySelector('input[type="color"][slot="input"]');
|
|
61
62
|
preventBrowserValidationStyling(this.input);
|
|
62
|
-
this.disabled = this.input
|
|
63
|
+
this.disabled = calculateInputDisabledState(this.input);
|
|
63
64
|
this.required = this.input.required;
|
|
64
|
-
this.disabledObserver =
|
|
65
|
+
this.disabledObserver = onInputDisabledStateChange(this.input, (disabled) => {
|
|
65
66
|
this.disabled = disabled;
|
|
66
67
|
});
|
|
67
68
|
this.requiredObserver = onRequiredChange(this.input, (required) => {
|