@ember-eui/validated-form 8.0.45 → 8.0.47
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/declarations/components/default-theme.d.ts +1 -0
- package/declarations/components/default-theme.d.ts.map +1 -1
- package/declarations/components/validated-form/field-checkbox-group.d.ts +2 -1
- package/declarations/components/validated-form/field-checkbox-group.d.ts.map +1 -1
- package/declarations/components/validated-form/field-combo-box.d.ts +1 -0
- package/declarations/components/validated-form/field-combo-box.d.ts.map +1 -1
- package/declarations/components/validated-form/field-dual-range-slider.d.ts +1 -0
- package/declarations/components/validated-form/field-dual-range-slider.d.ts.map +1 -1
- package/declarations/components/validated-form/field-markdown-editor.d.ts +1 -0
- package/declarations/components/validated-form/field-markdown-editor.d.ts.map +1 -1
- package/declarations/components/validated-form/field-number.d.ts +1 -0
- package/declarations/components/validated-form/field-number.d.ts.map +1 -1
- package/declarations/components/validated-form/field-password.d.ts +1 -0
- package/declarations/components/validated-form/field-password.d.ts.map +1 -1
- package/declarations/components/validated-form/field-radio-group.d.ts +1 -0
- package/declarations/components/validated-form/field-radio-group.d.ts.map +1 -1
- package/declarations/components/validated-form/field-range-slider.d.ts +1 -0
- package/declarations/components/validated-form/field-range-slider.d.ts.map +1 -1
- package/declarations/components/validated-form/field-select.d.ts +1 -0
- package/declarations/components/validated-form/field-select.d.ts.map +1 -1
- package/declarations/components/validated-form/field-switch.d.ts +1 -0
- package/declarations/components/validated-form/field-switch.d.ts.map +1 -1
- package/declarations/components/validated-form/field-text-area.d.ts +1 -0
- package/declarations/components/validated-form/field-text-area.d.ts.map +1 -1
- package/declarations/components/validated-form/field-text.d.ts +1 -0
- package/declarations/components/validated-form/field-text.d.ts.map +1 -1
- package/dist/components/default-theme.js +1 -1
- package/dist/components/default-theme.js.map +1 -1
- package/dist/components/validated-form/field-checkbox-group.js +1 -1
- package/dist/components/validated-form/field-checkbox-group.js.map +1 -1
- package/dist/components/validated-form/field-combo-box.js +1 -1
- package/dist/components/validated-form/field-combo-box.js.map +1 -1
- package/dist/components/validated-form/field-dual-range-slider.js +1 -1
- package/dist/components/validated-form/field-dual-range-slider.js.map +1 -1
- package/dist/components/validated-form/field-markdown-editor.js +1 -1
- package/dist/components/validated-form/field-markdown-editor.js.map +1 -1
- package/dist/components/validated-form/field-number.js +1 -1
- package/dist/components/validated-form/field-number.js.map +1 -1
- package/dist/components/validated-form/field-password.js +1 -1
- package/dist/components/validated-form/field-password.js.map +1 -1
- package/dist/components/validated-form/field-radio-group.js +1 -1
- package/dist/components/validated-form/field-radio-group.js.map +1 -1
- package/dist/components/validated-form/field-range-slider.js +1 -1
- package/dist/components/validated-form/field-range-slider.js.map +1 -1
- package/dist/components/validated-form/field-select.js +1 -1
- package/dist/components/validated-form/field-select.js.map +1 -1
- package/dist/components/validated-form/field-switch.js +1 -1
- package/dist/components/validated-form/field-switch.js.map +1 -1
- package/dist/components/validated-form/field-text-area.js +1 -1
- package/dist/components/validated-form/field-text-area.js.map +1 -1
- package/dist/components/validated-form/field-text.js +1 -1
- package/dist/components/validated-form/field-text.js.map +1 -1
- package/package.json +4 -9
- package/declarations/core/src/-private/random-id.d.ts +0 -9
- package/declarations/core/src/-private/random-id.d.ts.map +0 -1
- package/declarations/core/src/components/common.d.ts +0 -42
- package/declarations/core/src/components/common.d.ts.map +0 -1
- package/declarations/core/src/components/eui-accordion.d.ts +0 -101
- package/declarations/core/src/components/eui-accordion.d.ts.map +0 -1
- package/declarations/core/src/components/eui-auto-sizer.d.ts +0 -64
- package/declarations/core/src/components/eui-auto-sizer.d.ts.map +0 -1
- package/declarations/core/src/components/eui-avatar.d.ts +0 -22
- package/declarations/core/src/components/eui-avatar.d.ts.map +0 -1
- package/declarations/core/src/components/eui-badge-group.d.ts +0 -23
- package/declarations/core/src/components/eui-badge-group.d.ts.map +0 -1
- package/declarations/core/src/components/eui-badge.d.ts +0 -30
- package/declarations/core/src/components/eui-badge.d.ts.map +0 -1
- package/declarations/core/src/components/eui-beta-badge.d.ts +0 -63
- package/declarations/core/src/components/eui-beta-badge.d.ts.map +0 -1
- package/declarations/core/src/components/eui-bottom-bar.d.ts +0 -35
- package/declarations/core/src/components/eui-bottom-bar.d.ts.map +0 -1
- package/declarations/core/src/components/eui-breadcrumbs.d.ts +0 -70
- package/declarations/core/src/components/eui-breadcrumbs.d.ts.map +0 -1
- package/declarations/core/src/components/eui-button-content.d.ts +0 -21
- package/declarations/core/src/components/eui-button-content.d.ts.map +0 -1
- package/declarations/core/src/components/eui-button-empty.d.ts +0 -33
- package/declarations/core/src/components/eui-button-empty.d.ts.map +0 -1
- package/declarations/core/src/components/eui-button-group-button.d.ts +0 -29
- package/declarations/core/src/components/eui-button-group-button.d.ts.map +0 -1
- package/declarations/core/src/components/eui-button-group.d.ts +0 -41
- package/declarations/core/src/components/eui-button-group.d.ts.map +0 -1
- package/declarations/core/src/components/eui-button-icon.d.ts +0 -25
- package/declarations/core/src/components/eui-button-icon.d.ts.map +0 -1
- package/declarations/core/src/components/eui-button.d.ts +0 -34
- package/declarations/core/src/components/eui-button.d.ts.map +0 -1
- package/declarations/core/src/components/eui-call-out.d.ts +0 -21
- package/declarations/core/src/components/eui-call-out.d.ts.map +0 -1
- package/declarations/core/src/components/eui-card-select.d.ts +0 -29
- package/declarations/core/src/components/eui-card-select.d.ts.map +0 -1
- package/declarations/core/src/components/eui-card.d.ts +0 -68
- package/declarations/core/src/components/eui-card.d.ts.map +0 -1
- package/declarations/core/src/components/eui-checkable-card.d.ts +0 -21
- package/declarations/core/src/components/eui-checkable-card.d.ts.map +0 -1
- package/declarations/core/src/components/eui-checkbox-group.d.ts +0 -27
- package/declarations/core/src/components/eui-checkbox-group.d.ts.map +0 -1
- package/declarations/core/src/components/eui-checkbox.d.ts +0 -27
- package/declarations/core/src/components/eui-checkbox.d.ts.map +0 -1
- package/declarations/core/src/components/eui-code-block/controls.d.ts +0 -13
- package/declarations/core/src/components/eui-code-block/controls.d.ts.map +0 -1
- package/declarations/core/src/components/eui-code-block/full-screen-display.d.ts +0 -11
- package/declarations/core/src/components/eui-code-block/full-screen-display.d.ts.map +0 -1
- package/declarations/core/src/components/eui-code-block/virtualized.d.ts +0 -20
- package/declarations/core/src/components/eui-code-block/virtualized.d.ts.map +0 -1
- package/declarations/core/src/components/eui-code-block.d.ts +0 -92
- package/declarations/core/src/components/eui-code-block.d.ts.map +0 -1
- package/declarations/core/src/components/eui-code.d.ts +0 -21
- package/declarations/core/src/components/eui-code.d.ts.map +0 -1
- package/declarations/core/src/components/eui-collapsible-nav.d.ts +0 -66
- package/declarations/core/src/components/eui-collapsible-nav.d.ts.map +0 -1
- package/declarations/core/src/components/eui-combo-box/create-option.d.ts +0 -18
- package/declarations/core/src/components/eui-combo-box/create-option.d.ts.map +0 -1
- package/declarations/core/src/components/eui-combo-box/group.d.ts +0 -16
- package/declarations/core/src/components/eui-combo-box/group.d.ts.map +0 -1
- package/declarations/core/src/components/eui-combo-box/no-matches-message.d.ts +0 -11
- package/declarations/core/src/components/eui-combo-box/no-matches-message.d.ts.map +0 -1
- package/declarations/core/src/components/eui-combo-box/options.d.ts +0 -12
- package/declarations/core/src/components/eui-combo-box/options.d.ts.map +0 -1
- package/declarations/core/src/components/eui-combo-box/search-message.d.ts +0 -11
- package/declarations/core/src/components/eui-combo-box/search-message.d.ts.map +0 -1
- package/declarations/core/src/components/eui-combo-box/trigger/input.d.ts +0 -6
- package/declarations/core/src/components/eui-combo-box/trigger/input.d.ts.map +0 -1
- package/declarations/core/src/components/eui-combo-box/trigger.d.ts +0 -4
- package/declarations/core/src/components/eui-combo-box/trigger.d.ts.map +0 -1
- package/declarations/core/src/components/eui-combo-box-pill.d.ts +0 -22
- package/declarations/core/src/components/eui-combo-box-pill.d.ts.map +0 -1
- package/declarations/core/src/components/eui-combo-box.d.ts +0 -93
- package/declarations/core/src/components/eui-combo-box.d.ts.map +0 -1
- package/declarations/core/src/components/eui-comment-list.d.ts +0 -10
- package/declarations/core/src/components/eui-comment-list.d.ts.map +0 -1
- package/declarations/core/src/components/eui-comment-timeline.d.ts +0 -15
- package/declarations/core/src/components/eui-comment-timeline.d.ts.map +0 -1
- package/declarations/core/src/components/eui-comment.d.ts +0 -20
- package/declarations/core/src/components/eui-comment.d.ts.map +0 -1
- package/declarations/core/src/components/eui-confirm-modal.d.ts +0 -23
- package/declarations/core/src/components/eui-confirm-modal.d.ts.map +0 -1
- package/declarations/core/src/components/eui-context-menu-item.d.ts +0 -25
- package/declarations/core/src/components/eui-context-menu-item.d.ts.map +0 -1
- package/declarations/core/src/components/eui-context-menu-panel.d.ts +0 -10
- package/declarations/core/src/components/eui-context-menu-panel.d.ts.map +0 -1
- package/declarations/core/src/components/eui-copy.d.ts +0 -36
- package/declarations/core/src/components/eui-copy.d.ts.map +0 -1
- package/declarations/core/src/components/eui-described-form-group.d.ts +0 -27
- package/declarations/core/src/components/eui-described-form-group.d.ts.map +0 -1
- package/declarations/core/src/components/eui-description-list-description.d.ts +0 -10
- package/declarations/core/src/components/eui-description-list-description.d.ts.map +0 -1
- package/declarations/core/src/components/eui-description-list-title.d.ts +0 -10
- package/declarations/core/src/components/eui-description-list-title.d.ts.map +0 -1
- package/declarations/core/src/components/eui-description-list.d.ts +0 -27
- package/declarations/core/src/components/eui-description-list.d.ts.map +0 -1
- package/declarations/core/src/components/eui-dual-range.d.ts +0 -141
- package/declarations/core/src/components/eui-dual-range.d.ts.map +0 -1
- package/declarations/core/src/components/eui-empty-prompt.d.ts +0 -29
- package/declarations/core/src/components/eui-empty-prompt.d.ts.map +0 -1
- package/declarations/core/src/components/eui-field-number.d.ts +0 -57
- package/declarations/core/src/components/eui-field-number.d.ts.map +0 -1
- package/declarations/core/src/components/eui-field-password.d.ts +0 -28
- package/declarations/core/src/components/eui-field-password.d.ts.map +0 -1
- package/declarations/core/src/components/eui-field-search.d.ts +0 -52
- package/declarations/core/src/components/eui-field-search.d.ts.map +0 -1
- package/declarations/core/src/components/eui-field-text.d.ts +0 -29
- package/declarations/core/src/components/eui-field-text.d.ts.map +0 -1
- package/declarations/core/src/components/eui-file-picker.d.ts +0 -60
- package/declarations/core/src/components/eui-file-picker.d.ts.map +0 -1
- package/declarations/core/src/components/eui-flex-grid.d.ts +0 -33
- package/declarations/core/src/components/eui-flex-grid.d.ts.map +0 -1
- package/declarations/core/src/components/eui-flex-group.d.ts +0 -20
- package/declarations/core/src/components/eui-flex-group.d.ts.map +0 -1
- package/declarations/core/src/components/eui-flex-item.d.ts +0 -15
- package/declarations/core/src/components/eui-flex-item.d.ts.map +0 -1
- package/declarations/core/src/components/eui-flyout-body.d.ts +0 -12
- package/declarations/core/src/components/eui-flyout-body.d.ts.map +0 -1
- package/declarations/core/src/components/eui-flyout-footer.d.ts +0 -10
- package/declarations/core/src/components/eui-flyout-footer.d.ts.map +0 -1
- package/declarations/core/src/components/eui-flyout-header.d.ts +0 -13
- package/declarations/core/src/components/eui-flyout-header.d.ts.map +0 -1
- package/declarations/core/src/components/eui-flyout.d.ts +0 -92
- package/declarations/core/src/components/eui-flyout.d.ts.map +0 -1
- package/declarations/core/src/components/eui-form-control-layout-clear-button.d.ts +0 -14
- package/declarations/core/src/components/eui-form-control-layout-clear-button.d.ts.map +0 -1
- package/declarations/core/src/components/eui-form-control-layout-custom-icon.d.ts +0 -16
- package/declarations/core/src/components/eui-form-control-layout-custom-icon.d.ts.map +0 -1
- package/declarations/core/src/components/eui-form-control-layout-delimited.d.ts +0 -25
- package/declarations/core/src/components/eui-form-control-layout-delimited.d.ts.map +0 -1
- package/declarations/core/src/components/eui-form-control-layout-icons.d.ts +0 -17
- package/declarations/core/src/components/eui-form-control-layout-icons.d.ts.map +0 -1
- package/declarations/core/src/components/eui-form-control-layout.d.ts +0 -30
- package/declarations/core/src/components/eui-form-control-layout.d.ts.map +0 -1
- package/declarations/core/src/components/eui-form-error-text.d.ts +0 -10
- package/declarations/core/src/components/eui-form-error-text.d.ts.map +0 -1
- package/declarations/core/src/components/eui-form-fieldset.d.ts +0 -18
- package/declarations/core/src/components/eui-form-fieldset.d.ts.map +0 -1
- package/declarations/core/src/components/eui-form-help-text.d.ts +0 -13
- package/declarations/core/src/components/eui-form-help-text.d.ts.map +0 -1
- package/declarations/core/src/components/eui-form-label.d.ts +0 -17
- package/declarations/core/src/components/eui-form-label.d.ts.map +0 -1
- package/declarations/core/src/components/eui-form-legend.d.ts +0 -14
- package/declarations/core/src/components/eui-form-legend.d.ts.map +0 -1
- package/declarations/core/src/components/eui-form-row.d.ts +0 -35
- package/declarations/core/src/components/eui-form-row.d.ts.map +0 -1
- package/declarations/core/src/components/eui-form.d.ts +0 -20
- package/declarations/core/src/components/eui-form.d.ts.map +0 -1
- package/declarations/core/src/components/eui-header-alert.d.ts +0 -14
- package/declarations/core/src/components/eui-header-alert.d.ts.map +0 -1
- package/declarations/core/src/components/eui-header-breadcrumbs.d.ts +0 -14
- package/declarations/core/src/components/eui-header-breadcrumbs.d.ts.map +0 -1
- package/declarations/core/src/components/eui-header-link.d.ts +0 -14
- package/declarations/core/src/components/eui-header-link.d.ts.map +0 -1
- package/declarations/core/src/components/eui-header-links.d.ts +0 -20
- package/declarations/core/src/components/eui-header-links.d.ts.map +0 -1
- package/declarations/core/src/components/eui-header-logo.d.ts +0 -17
- package/declarations/core/src/components/eui-header-logo.d.ts.map +0 -1
- package/declarations/core/src/components/eui-header-section-item-button.d.ts +0 -26
- package/declarations/core/src/components/eui-header-section-item-button.d.ts.map +0 -1
- package/declarations/core/src/components/eui-header-section-item.d.ts +0 -14
- package/declarations/core/src/components/eui-header-section-item.d.ts.map +0 -1
- package/declarations/core/src/components/eui-header-section.d.ts +0 -15
- package/declarations/core/src/components/eui-header-section.d.ts.map +0 -1
- package/declarations/core/src/components/eui-header.d.ts +0 -23
- package/declarations/core/src/components/eui-header.d.ts.map +0 -1
- package/declarations/core/src/components/eui-health.d.ts +0 -21
- package/declarations/core/src/components/eui-health.d.ts.map +0 -1
- package/declarations/core/src/components/eui-hide-for.d.ts +0 -21
- package/declarations/core/src/components/eui-hide-for.d.ts.map +0 -1
- package/declarations/core/src/components/eui-horizontal-rule.d.ts +0 -12
- package/declarations/core/src/components/eui-horizontal-rule.d.ts.map +0 -1
- package/declarations/core/src/components/eui-i18n/render.d.ts +0 -12
- package/declarations/core/src/components/eui-i18n/render.d.ts.map +0 -1
- package/declarations/core/src/components/eui-i18n.d.ts +0 -32
- package/declarations/core/src/components/eui-i18n.d.ts.map +0 -1
- package/declarations/core/src/components/eui-icon-tip.d.ts +0 -29
- package/declarations/core/src/components/eui-icon-tip.d.ts.map +0 -1
- package/declarations/core/src/components/eui-icon.d.ts +0 -80
- package/declarations/core/src/components/eui-icon.d.ts.map +0 -1
- package/declarations/core/src/components/eui-image.d.ts +0 -62
- package/declarations/core/src/components/eui-image.d.ts.map +0 -1
- package/declarations/core/src/components/eui-inner-text.d.ts +0 -21
- package/declarations/core/src/components/eui-inner-text.d.ts.map +0 -1
- package/declarations/core/src/components/eui-input-popover.d.ts +0 -44
- package/declarations/core/src/components/eui-input-popover.d.ts.map +0 -1
- package/declarations/core/src/components/eui-key-pad-menu-item.d.ts +0 -26
- package/declarations/core/src/components/eui-key-pad-menu-item.d.ts.map +0 -1
- package/declarations/core/src/components/eui-key-pad-menu.d.ts +0 -23
- package/declarations/core/src/components/eui-key-pad-menu.d.ts.map +0 -1
- package/declarations/core/src/components/eui-link.d.ts +0 -18
- package/declarations/core/src/components/eui-link.d.ts.map +0 -1
- package/declarations/core/src/components/eui-list-group-item.d.ts +0 -26
- package/declarations/core/src/components/eui-list-group-item.d.ts.map +0 -1
- package/declarations/core/src/components/eui-list-group.d.ts +0 -16
- package/declarations/core/src/components/eui-list-group.d.ts.map +0 -1
- package/declarations/core/src/components/eui-loading-content.d.ts +0 -14
- package/declarations/core/src/components/eui-loading-content.d.ts.map +0 -1
- package/declarations/core/src/components/eui-loading-logo.d.ts +0 -13
- package/declarations/core/src/components/eui-loading-logo.d.ts.map +0 -1
- package/declarations/core/src/components/eui-loading-spinner.d.ts +0 -11
- package/declarations/core/src/components/eui-loading-spinner.d.ts.map +0 -1
- package/declarations/core/src/components/eui-markdown-editor-drop-zone.d.ts +0 -17
- package/declarations/core/src/components/eui-markdown-editor-drop-zone.d.ts.map +0 -1
- package/declarations/core/src/components/eui-markdown-editor-footer/icons/markdown-logo.d.ts +0 -10
- package/declarations/core/src/components/eui-markdown-editor-footer/icons/markdown-logo.d.ts.map +0 -1
- package/declarations/core/src/components/eui-markdown-editor-footer.d.ts +0 -13
- package/declarations/core/src/components/eui-markdown-editor-footer.d.ts.map +0 -1
- package/declarations/core/src/components/eui-markdown-editor-text-area.d.ts +0 -14
- package/declarations/core/src/components/eui-markdown-editor-text-area.d.ts.map +0 -1
- package/declarations/core/src/components/eui-markdown-editor-toolbar/icons/markdown-checkmark.d.ts +0 -11
- package/declarations/core/src/components/eui-markdown-editor-toolbar/icons/markdown-checkmark.d.ts.map +0 -1
- package/declarations/core/src/components/eui-markdown-editor-toolbar.d.ts +0 -60
- package/declarations/core/src/components/eui-markdown-editor-toolbar.d.ts.map +0 -1
- package/declarations/core/src/components/eui-markdown-editor.d.ts +0 -95
- package/declarations/core/src/components/eui-markdown-editor.d.ts.map +0 -1
- package/declarations/core/src/components/eui-markdown-format/markdown-checkbox.d.ts +0 -24
- package/declarations/core/src/components/eui-markdown-format/markdown-checkbox.d.ts.map +0 -1
- package/declarations/core/src/components/eui-markdown-format/markdown-code-block.d.ts +0 -15
- package/declarations/core/src/components/eui-markdown-format/markdown-code-block.d.ts.map +0 -1
- package/declarations/core/src/components/eui-markdown-format/markdown-code.d.ts +0 -13
- package/declarations/core/src/components/eui-markdown-format/markdown-code.d.ts.map +0 -1
- package/declarations/core/src/components/eui-markdown-format/markdown-tooltip.d.ts +0 -15
- package/declarations/core/src/components/eui-markdown-format/markdown-tooltip.d.ts.map +0 -1
- package/declarations/core/src/components/eui-markdown-format.d.ts +0 -23
- package/declarations/core/src/components/eui-markdown-format.d.ts.map +0 -1
- package/declarations/core/src/components/eui-modal-body.d.ts +0 -10
- package/declarations/core/src/components/eui-modal-body.d.ts.map +0 -1
- package/declarations/core/src/components/eui-modal-footer.d.ts +0 -10
- package/declarations/core/src/components/eui-modal-footer.d.ts.map +0 -1
- package/declarations/core/src/components/eui-modal-header-title.d.ts +0 -10
- package/declarations/core/src/components/eui-modal-header-title.d.ts.map +0 -1
- package/declarations/core/src/components/eui-modal-header.d.ts +0 -10
- package/declarations/core/src/components/eui-modal-header.d.ts.map +0 -1
- package/declarations/core/src/components/eui-modal.d.ts +0 -27
- package/declarations/core/src/components/eui-modal.d.ts.map +0 -1
- package/declarations/core/src/components/eui-notification-badge.d.ts +0 -15
- package/declarations/core/src/components/eui-notification-badge.d.ts.map +0 -1
- package/declarations/core/src/components/eui-notification-event-messages.d.ts +0 -13
- package/declarations/core/src/components/eui-notification-event-messages.d.ts.map +0 -1
- package/declarations/core/src/components/eui-notification-event-meta.d.ts +0 -24
- package/declarations/core/src/components/eui-notification-event-meta.d.ts.map +0 -1
- package/declarations/core/src/components/eui-notification-event-read-button.d.ts +0 -13
- package/declarations/core/src/components/eui-notification-event-read-button.d.ts.map +0 -1
- package/declarations/core/src/components/eui-notification-event-read-icon.d.ts +0 -14
- package/declarations/core/src/components/eui-notification-event-read-icon.d.ts.map +0 -1
- package/declarations/core/src/components/eui-notification-event.d.ts +0 -40
- package/declarations/core/src/components/eui-notification-event.d.ts.map +0 -1
- package/declarations/core/src/components/eui-overlay-mask.d.ts +0 -20
- package/declarations/core/src/components/eui-overlay-mask.d.ts.map +0 -1
- package/declarations/core/src/components/eui-page-body.d.ts +0 -22
- package/declarations/core/src/components/eui-page-body.d.ts.map +0 -1
- package/declarations/core/src/components/eui-page-content-body.d.ts +0 -18
- package/declarations/core/src/components/eui-page-content-body.d.ts.map +0 -1
- package/declarations/core/src/components/eui-page-content-header-section.d.ts +0 -10
- package/declarations/core/src/components/eui-page-content-header-section.d.ts.map +0 -1
- package/declarations/core/src/components/eui-page-content-header.d.ts +0 -13
- package/declarations/core/src/components/eui-page-content-header.d.ts.map +0 -1
- package/declarations/core/src/components/eui-page-content.d.ts +0 -22
- package/declarations/core/src/components/eui-page-content.d.ts.map +0 -1
- package/declarations/core/src/components/eui-page-header-content.d.ts +0 -98
- package/declarations/core/src/components/eui-page-header-content.d.ts.map +0 -1
- package/declarations/core/src/components/eui-page-header-section.d.ts +0 -10
- package/declarations/core/src/components/eui-page-header-section.d.ts.map +0 -1
- package/declarations/core/src/components/eui-page-header.d.ts +0 -89
- package/declarations/core/src/components/eui-page-header.d.ts.map +0 -1
- package/declarations/core/src/components/eui-page-side-bar.d.ts +0 -15
- package/declarations/core/src/components/eui-page-side-bar.d.ts.map +0 -1
- package/declarations/core/src/components/eui-page-template.d.ts +0 -77
- package/declarations/core/src/components/eui-page-template.d.ts.map +0 -1
- package/declarations/core/src/components/eui-page.d.ts +0 -17
- package/declarations/core/src/components/eui-page.d.ts.map +0 -1
- package/declarations/core/src/components/eui-pagination/button-wrapper.d.ts +0 -16
- package/declarations/core/src/components/eui-pagination/button-wrapper.d.ts.map +0 -1
- package/declarations/core/src/components/eui-pagination/next-button.d.ts +0 -19
- package/declarations/core/src/components/eui-pagination/next-button.d.ts.map +0 -1
- package/declarations/core/src/components/eui-pagination/previous-button.d.ts +0 -18
- package/declarations/core/src/components/eui-pagination/previous-button.d.ts.map +0 -1
- package/declarations/core/src/components/eui-pagination-button.d.ts +0 -20
- package/declarations/core/src/components/eui-pagination-button.d.ts.map +0 -1
- package/declarations/core/src/components/eui-pagination.d.ts +0 -79
- package/declarations/core/src/components/eui-pagination.d.ts.map +0 -1
- package/declarations/core/src/components/eui-panel.d.ts +0 -45
- package/declarations/core/src/components/eui-panel.d.ts.map +0 -1
- package/declarations/core/src/components/eui-popover-footer.d.ts +0 -14
- package/declarations/core/src/components/eui-popover-footer.d.ts.map +0 -1
- package/declarations/core/src/components/eui-popover-title.d.ts +0 -14
- package/declarations/core/src/components/eui-popover-title.d.ts.map +0 -1
- package/declarations/core/src/components/eui-popover.d.ts +0 -217
- package/declarations/core/src/components/eui-popover.d.ts.map +0 -1
- package/declarations/core/src/components/eui-portal.d.ts +0 -28
- package/declarations/core/src/components/eui-portal.d.ts.map +0 -1
- package/declarations/core/src/components/eui-progress.d.ts +0 -22
- package/declarations/core/src/components/eui-progress.d.ts.map +0 -1
- package/declarations/core/src/components/eui-radio-group.d.ts +0 -25
- package/declarations/core/src/components/eui-radio-group.d.ts.map +0 -1
- package/declarations/core/src/components/eui-radio.d.ts +0 -24
- package/declarations/core/src/components/eui-radio.d.ts.map +0 -1
- package/declarations/core/src/components/eui-range-highlight.d.ts +0 -16
- package/declarations/core/src/components/eui-range-highlight.d.ts.map +0 -1
- package/declarations/core/src/components/eui-range-input.d.ts +0 -25
- package/declarations/core/src/components/eui-range-input.d.ts.map +0 -1
- package/declarations/core/src/components/eui-range-label.d.ts +0 -13
- package/declarations/core/src/components/eui-range-label.d.ts.map +0 -1
- package/declarations/core/src/components/eui-range-levels.d.ts +0 -27
- package/declarations/core/src/components/eui-range-levels.d.ts.map +0 -1
- package/declarations/core/src/components/eui-range-slider.d.ts +0 -25
- package/declarations/core/src/components/eui-range-slider.d.ts.map +0 -1
- package/declarations/core/src/components/eui-range-thumb.d.ts +0 -15
- package/declarations/core/src/components/eui-range-thumb.d.ts.map +0 -1
- package/declarations/core/src/components/eui-range-ticks.d.ts +0 -29
- package/declarations/core/src/components/eui-range-ticks.d.ts.map +0 -1
- package/declarations/core/src/components/eui-range-tooltip.d.ts +0 -33
- package/declarations/core/src/components/eui-range-tooltip.d.ts.map +0 -1
- package/declarations/core/src/components/eui-range-track.d.ts +0 -43
- package/declarations/core/src/components/eui-range-track.d.ts.map +0 -1
- package/declarations/core/src/components/eui-range-wrapper.d.ts +0 -14
- package/declarations/core/src/components/eui-range-wrapper.d.ts.map +0 -1
- package/declarations/core/src/components/eui-range.d.ts +0 -112
- package/declarations/core/src/components/eui-range.d.ts.map +0 -1
- package/declarations/core/src/components/eui-select.d.ts +0 -31
- package/declarations/core/src/components/eui-select.d.ts.map +0 -1
- package/declarations/core/src/components/eui-selectable-list-item.d.ts +0 -15
- package/declarations/core/src/components/eui-selectable-list-item.d.ts.map +0 -1
- package/declarations/core/src/components/eui-show-for.d.ts +0 -30
- package/declarations/core/src/components/eui-show-for.d.ts.map +0 -1
- package/declarations/core/src/components/eui-side-nav-item/button.d.ts +0 -16
- package/declarations/core/src/components/eui-side-nav-item/button.d.ts.map +0 -1
- package/declarations/core/src/components/eui-side-nav-item.d.ts +0 -32
- package/declarations/core/src/components/eui-side-nav-item.d.ts.map +0 -1
- package/declarations/core/src/components/eui-side-nav.d.ts +0 -48
- package/declarations/core/src/components/eui-side-nav.d.ts.map +0 -1
- package/declarations/core/src/components/eui-spacer.d.ts +0 -11
- package/declarations/core/src/components/eui-spacer.d.ts.map +0 -1
- package/declarations/core/src/components/eui-stat/description.d.ts +0 -15
- package/declarations/core/src/components/eui-stat/description.d.ts.map +0 -1
- package/declarations/core/src/components/eui-stat/title.d.ts +0 -17
- package/declarations/core/src/components/eui-stat/title.d.ts.map +0 -1
- package/declarations/core/src/components/eui-stat.d.ts +0 -28
- package/declarations/core/src/components/eui-stat.d.ts.map +0 -1
- package/declarations/core/src/components/eui-step-horizontal.d.ts +0 -38
- package/declarations/core/src/components/eui-step-horizontal.d.ts.map +0 -1
- package/declarations/core/src/components/eui-step-number.d.ts +0 -31
- package/declarations/core/src/components/eui-step-number.d.ts.map +0 -1
- package/declarations/core/src/components/eui-step.d.ts +0 -18
- package/declarations/core/src/components/eui-step.d.ts.map +0 -1
- package/declarations/core/src/components/eui-steps.d.ts +0 -13
- package/declarations/core/src/components/eui-steps.d.ts.map +0 -1
- package/declarations/core/src/components/eui-sub-steps.d.ts +0 -10
- package/declarations/core/src/components/eui-sub-steps.d.ts.map +0 -1
- package/declarations/core/src/components/eui-super-date-picker/date-popover/absolute-tab.d.ts +0 -27
- package/declarations/core/src/components/eui-super-date-picker/date-popover/absolute-tab.d.ts.map +0 -1
- package/declarations/core/src/components/eui-super-date-picker/date-popover/datetime-picker.d.ts +0 -65
- package/declarations/core/src/components/eui-super-date-picker/date-popover/datetime-picker.d.ts.map +0 -1
- package/declarations/core/src/components/eui-super-date-picker/date-popover/eui-date-popover-button.d.ts +0 -45
- package/declarations/core/src/components/eui-super-date-picker/date-popover/eui-date-popover-button.d.ts.map +0 -1
- package/declarations/core/src/components/eui-super-date-picker/date-popover/eui-date-popover-content.d.ts +0 -49
- package/declarations/core/src/components/eui-super-date-picker/date-popover/eui-date-popover-content.d.ts.map +0 -1
- package/declarations/core/src/components/eui-super-date-picker/date-popover/now-tab.d.ts +0 -10
- package/declarations/core/src/components/eui-super-date-picker/date-popover/now-tab.d.ts.map +0 -1
- package/declarations/core/src/components/eui-super-date-picker/date-popover/relative-tab.d.ts +0 -31
- package/declarations/core/src/components/eui-super-date-picker/date-popover/relative-tab.d.ts.map +0 -1
- package/declarations/core/src/components/eui-super-date-picker/eui-date-picker-range.d.ts +0 -18
- package/declarations/core/src/components/eui-super-date-picker/eui-date-picker-range.d.ts.map +0 -1
- package/declarations/core/src/components/eui-super-date-picker/eui-quick-select-popover/eui-commonly-used-time-ranges.d.ts +0 -14
- package/declarations/core/src/components/eui-super-date-picker/eui-quick-select-popover/eui-commonly-used-time-ranges.d.ts.map +0 -1
- package/declarations/core/src/components/eui-super-date-picker/eui-quick-select-popover/eui-quick-select.d.ts +0 -37
- package/declarations/core/src/components/eui-super-date-picker/eui-quick-select-popover/eui-quick-select.d.ts.map +0 -1
- package/declarations/core/src/components/eui-super-date-picker/eui-quick-select-popover/eui-recently-used.d.ts +0 -14
- package/declarations/core/src/components/eui-super-date-picker/eui-quick-select-popover/eui-recently-used.d.ts.map +0 -1
- package/declarations/core/src/components/eui-super-date-picker/eui-quick-select-popover.d.ts +0 -33
- package/declarations/core/src/components/eui-super-date-picker/eui-quick-select-popover.d.ts.map +0 -1
- package/declarations/core/src/components/eui-super-date-picker/eui-super-update-button.d.ts +0 -20
- package/declarations/core/src/components/eui-super-date-picker/eui-super-update-button.d.ts.map +0 -1
- package/declarations/core/src/components/eui-super-date-picker/utils/index.d.ts +0 -31
- package/declarations/core/src/components/eui-super-date-picker/utils/index.d.ts.map +0 -1
- package/declarations/core/src/components/eui-super-date-picker/utils/quick-select.d.ts +0 -14
- package/declarations/core/src/components/eui-super-date-picker/utils/quick-select.d.ts.map +0 -1
- package/declarations/core/src/components/eui-super-date-picker/utils/time-options.d.ts +0 -20
- package/declarations/core/src/components/eui-super-date-picker/utils/time-options.d.ts.map +0 -1
- package/declarations/core/src/components/eui-super-date-picker.d.ts +0 -102
- package/declarations/core/src/components/eui-super-date-picker.d.ts.map +0 -1
- package/declarations/core/src/components/eui-switch.d.ts +0 -30
- package/declarations/core/src/components/eui-switch.d.ts.map +0 -1
- package/declarations/core/src/components/eui-tab.d.ts +0 -21
- package/declarations/core/src/components/eui-tab.d.ts.map +0 -1
- package/declarations/core/src/components/eui-tabbed-content.d.ts +0 -65
- package/declarations/core/src/components/eui-tabbed-content.d.ts.map +0 -1
- package/declarations/core/src/components/eui-tabs.d.ts +0 -18
- package/declarations/core/src/components/eui-tabs.d.ts.map +0 -1
- package/declarations/core/src/components/eui-text-align.d.ts +0 -13
- package/declarations/core/src/components/eui-text-align.d.ts.map +0 -1
- package/declarations/core/src/components/eui-text-area.d.ts +0 -22
- package/declarations/core/src/components/eui-text-area.d.ts.map +0 -1
- package/declarations/core/src/components/eui-text-color.d.ts +0 -14
- package/declarations/core/src/components/eui-text-color.d.ts.map +0 -1
- package/declarations/core/src/components/eui-text.d.ts +0 -19
- package/declarations/core/src/components/eui-text.d.ts.map +0 -1
- package/declarations/core/src/components/eui-title.d.ts +0 -17
- package/declarations/core/src/components/eui-title.d.ts.map +0 -1
- package/declarations/core/src/components/eui-toast.d.ts +0 -35
- package/declarations/core/src/components/eui-toast.d.ts.map +0 -1
- package/declarations/core/src/components/eui-tool-tip-popover.d.ts +0 -26
- package/declarations/core/src/components/eui-tool-tip-popover.d.ts.map +0 -1
- package/declarations/core/src/components/eui-tool-tip.d.ts +0 -108
- package/declarations/core/src/components/eui-tool-tip.d.ts.map +0 -1
- package/declarations/core/src/components/text-block.d.ts +0 -13
- package/declarations/core/src/components/text-block.d.ts.map +0 -1
- package/declarations/core/src/components.d.ts +0 -150
- package/declarations/core/src/components.d.ts.map +0 -1
- package/declarations/core/src/helpers/arg-or-default.d.ts +0 -21
- package/declarations/core/src/helpers/arg-or-default.d.ts.map +0 -1
- package/declarations/core/src/helpers/cast-to.d.ts +0 -14
- package/declarations/core/src/helpers/cast-to.d.ts.map +0 -1
- package/declarations/core/src/helpers/class-names.d.ts +0 -47
- package/declarations/core/src/helpers/class-names.d.ts.map +0 -1
- package/declarations/core/src/helpers/eui-page-restrict-width.d.ts +0 -30
- package/declarations/core/src/helpers/eui-page-restrict-width.d.ts.map +0 -1
- package/declarations/core/src/helpers/get-eui-config.d.ts +0 -14
- package/declarations/core/src/helpers/get-eui-config.d.ts.map +0 -1
- package/declarations/core/src/helpers/get-range-tick.d.ts +0 -21
- package/declarations/core/src/helpers/get-range-tick.d.ts.map +0 -1
- package/declarations/core/src/helpers/hex-to-rgb.d.ts +0 -10
- package/declarations/core/src/helpers/hex-to-rgb.d.ts.map +0 -1
- package/declarations/core/src/helpers/inline-styles.d.ts +0 -19
- package/declarations/core/src/helpers/inline-styles.d.ts.map +0 -1
- package/declarations/core/src/helpers/is-color-dark.d.ts +0 -10
- package/declarations/core/src/helpers/is-color-dark.d.ts.map +0 -1
- package/declarations/core/src/helpers/is-item-open.d.ts +0 -16
- package/declarations/core/src/helpers/is-item-open.d.ts.map +0 -1
- package/declarations/core/src/helpers/is-valid-hex.d.ts +0 -10
- package/declarations/core/src/helpers/is-valid-hex.d.ts.map +0 -1
- package/declarations/core/src/helpers/merge.d.ts +0 -9
- package/declarations/core/src/helpers/merge.d.ts.map +0 -1
- package/declarations/core/src/helpers/to-initials.d.ts +0 -11
- package/declarations/core/src/helpers/to-initials.d.ts.map +0 -1
- package/declarations/core/src/helpers/type-of.d.ts +0 -10
- package/declarations/core/src/helpers/type-of.d.ts.map +0 -1
- package/declarations/core/src/helpers/use-state.d.ts +0 -21
- package/declarations/core/src/helpers/use-state.d.ts.map +0 -1
- package/declarations/core/src/helpers.d.ts +0 -9
- package/declarations/core/src/helpers.d.ts.map +0 -1
- package/declarations/core/src/i18n/util.d.ts +0 -12
- package/declarations/core/src/i18n/util.d.ts.map +0 -1
- package/declarations/core/src/modifiers/mutation-observer.d.ts +0 -12
- package/declarations/core/src/modifiers/mutation-observer.d.ts.map +0 -1
- package/declarations/core/src/modifiers/outside-click-detector.d.ts +0 -38
- package/declarations/core/src/modifiers/outside-click-detector.d.ts.map +0 -1
- package/declarations/core/src/modifiers/resize-observer.d.ts +0 -36
- package/declarations/core/src/modifiers/resize-observer.d.ts.map +0 -1
- package/declarations/core/src/modifiers/screen-reader-only.d.ts +0 -9
- package/declarations/core/src/modifiers/screen-reader-only.d.ts.map +0 -1
- package/declarations/core/src/modifiers/simple-style.d.ts +0 -12
- package/declarations/core/src/modifiers/simple-style.d.ts.map +0 -1
- package/declarations/core/src/modifiers/use-is-within-breakpoints.d.ts +0 -15
- package/declarations/core/src/modifiers/use-is-within-breakpoints.d.ts.map +0 -1
- package/declarations/core/src/modifiers/validatable-control.d.ts +0 -9
- package/declarations/core/src/modifiers/validatable-control.d.ts.map +0 -1
- package/declarations/core/src/services/eui-config.d.ts +0 -15
- package/declarations/core/src/services/eui-config.d.ts.map +0 -1
- package/declarations/core/src/services/eui-i18n.d.ts +0 -24
- package/declarations/core/src/services/eui-i18n.d.ts.map +0 -1
- package/declarations/core/src/utils/accesibility/accessible-click-keys.d.ts +0 -5
- package/declarations/core/src/utils/accesibility/accessible-click-keys.d.ts.map +0 -1
- package/declarations/core/src/utils/accesibility/cascading-menu-keys.d.ts +0 -9
- package/declarations/core/src/utils/accesibility/cascading-menu-keys.d.ts.map +0 -1
- package/declarations/core/src/utils/accesibility/combo-box-keys.d.ts +0 -8
- package/declarations/core/src/utils/accesibility/combo-box-keys.d.ts.map +0 -1
- package/declarations/core/src/utils/accesibility/index.d.ts +0 -4
- package/declarations/core/src/utils/accesibility/index.d.ts.map +0 -1
- package/declarations/core/src/utils/breakpoint.d.ts +0 -50
- package/declarations/core/src/utils/breakpoint.d.ts.map +0 -1
- package/declarations/core/src/utils/browser/browser.d.ts +0 -6
- package/declarations/core/src/utils/browser/browser.d.ts.map +0 -1
- package/declarations/core/src/utils/browser/index.d.ts +0 -2
- package/declarations/core/src/utils/browser/index.d.ts.map +0 -1
- package/declarations/core/src/utils/code/utils.d.ts +0 -32
- package/declarations/core/src/utils/code/utils.d.ts.map +0 -1
- package/declarations/core/src/utils/color/color_palette.d.ts +0 -24
- package/declarations/core/src/utils/color/color_palette.d.ts.map +0 -1
- package/declarations/core/src/utils/color/eui_palettes.d.ts +0 -37
- package/declarations/core/src/utils/color/eui_palettes.d.ts.map +0 -1
- package/declarations/core/src/utils/color/index.d.ts +0 -6
- package/declarations/core/src/utils/color/index.d.ts.map +0 -1
- package/declarations/core/src/utils/copy-to-clipboard.d.ts +0 -2
- package/declarations/core/src/utils/copy-to-clipboard.d.ts.map +0 -1
- package/declarations/core/src/utils/css-mappings/eui-accordion.d.ts +0 -12
- package/declarations/core/src/utils/css-mappings/eui-accordion.d.ts.map +0 -1
- package/declarations/core/src/utils/css-mappings/eui-avatar.d.ts +0 -23
- package/declarations/core/src/utils/css-mappings/eui-avatar.d.ts.map +0 -1
- package/declarations/core/src/utils/css-mappings/eui-badge-group.d.ts +0 -8
- package/declarations/core/src/utils/css-mappings/eui-badge-group.d.ts.map +0 -1
- package/declarations/core/src/utils/css-mappings/eui-badge.d.ts +0 -31
- package/declarations/core/src/utils/css-mappings/eui-badge.d.ts.map +0 -1
- package/declarations/core/src/utils/css-mappings/eui-beta-badge.d.ts +0 -13
- package/declarations/core/src/utils/css-mappings/eui-beta-badge.d.ts.map +0 -1
- package/declarations/core/src/utils/css-mappings/eui-bottom-bar.d.ts +0 -4
- package/declarations/core/src/utils/css-mappings/eui-bottom-bar.d.ts.map +0 -1
- package/declarations/core/src/utils/css-mappings/eui-button-empty.d.ts +0 -22
- package/declarations/core/src/utils/css-mappings/eui-button-empty.d.ts.map +0 -1
- package/declarations/core/src/utils/css-mappings/eui-button-group-button.d.ts +0 -4
- package/declarations/core/src/utils/css-mappings/eui-button-group-button.d.ts.map +0 -1
- package/declarations/core/src/utils/css-mappings/eui-button-group.d.ts +0 -4
- package/declarations/core/src/utils/css-mappings/eui-button-group.d.ts.map +0 -1
- package/declarations/core/src/utils/css-mappings/eui-button-icon.d.ts +0 -23
- package/declarations/core/src/utils/css-mappings/eui-button-icon.d.ts.map +0 -1
- package/declarations/core/src/utils/css-mappings/eui-button.d.ts +0 -13
- package/declarations/core/src/utils/css-mappings/eui-button.d.ts.map +0 -1
- package/declarations/core/src/utils/css-mappings/eui-call-out.d.ts +0 -13
- package/declarations/core/src/utils/css-mappings/eui-call-out.d.ts.map +0 -1
- package/declarations/core/src/utils/css-mappings/eui-card-select.d.ts +0 -4
- package/declarations/core/src/utils/css-mappings/eui-card-select.d.ts.map +0 -1
- package/declarations/core/src/utils/css-mappings/eui-card.d.ts +0 -9
- package/declarations/core/src/utils/css-mappings/eui-card.d.ts.map +0 -1
- package/declarations/core/src/utils/css-mappings/eui-code-block.d.ts +0 -15
- package/declarations/core/src/utils/css-mappings/eui-code-block.d.ts.map +0 -1
- package/declarations/core/src/utils/css-mappings/eui-collapsible-nav-group.d.ts +0 -9
- package/declarations/core/src/utils/css-mappings/eui-collapsible-nav-group.d.ts.map +0 -1
- package/declarations/core/src/utils/css-mappings/eui-comment-event.d.ts +0 -4
- package/declarations/core/src/utils/css-mappings/eui-comment-event.d.ts.map +0 -1
- package/declarations/core/src/utils/css-mappings/eui-comment-timeline-icon.d.ts +0 -7
- package/declarations/core/src/utils/css-mappings/eui-comment-timeline-icon.d.ts.map +0 -1
- package/declarations/core/src/utils/css-mappings/eui-context-menu-item.d.ts +0 -15
- package/declarations/core/src/utils/css-mappings/eui-context-menu-item.d.ts.map +0 -1
- package/declarations/core/src/utils/css-mappings/eui-described-form-group.d.ts +0 -12
- package/declarations/core/src/utils/css-mappings/eui-described-form-group.d.ts.map +0 -1
- package/declarations/core/src/utils/css-mappings/eui-description-list.d.ts +0 -18
- package/declarations/core/src/utils/css-mappings/eui-description-list.d.ts.map +0 -1
- package/declarations/core/src/utils/css-mappings/eui-empty-prompt.d.ts +0 -10
- package/declarations/core/src/utils/css-mappings/eui-empty-prompt.d.ts.map +0 -1
- package/declarations/core/src/utils/css-mappings/eui-file-picker.d.ts +0 -8
- package/declarations/core/src/utils/css-mappings/eui-file-picker.d.ts.map +0 -1
- package/declarations/core/src/utils/css-mappings/eui-flex-grid.d.ts +0 -22
- package/declarations/core/src/utils/css-mappings/eui-flex-grid.d.ts.map +0 -1
- package/declarations/core/src/utils/css-mappings/eui-flex-group.d.ts +0 -33
- package/declarations/core/src/utils/css-mappings/eui-flex-group.d.ts.map +0 -1
- package/declarations/core/src/utils/css-mappings/eui-flex-item.d.ts +0 -17
- package/declarations/core/src/utils/css-mappings/eui-flex-item.d.ts.map +0 -1
- package/declarations/core/src/utils/css-mappings/eui-flyout.d.ts +0 -23
- package/declarations/core/src/utils/css-mappings/eui-flyout.d.ts.map +0 -1
- package/declarations/core/src/utils/css-mappings/eui-form-control-layout-clear-button.d.ts +0 -8
- package/declarations/core/src/utils/css-mappings/eui-form-control-layout-clear-button.d.ts.map +0 -1
- package/declarations/core/src/utils/css-mappings/eui-form-row.d.ts +0 -12
- package/declarations/core/src/utils/css-mappings/eui-form-row.d.ts.map +0 -1
- package/declarations/core/src/utils/css-mappings/eui-global-toast-list.d.ts +0 -8
- package/declarations/core/src/utils/css-mappings/eui-global-toast-list.d.ts.map +0 -1
- package/declarations/core/src/utils/css-mappings/eui-header-links.d.ts +0 -18
- package/declarations/core/src/utils/css-mappings/eui-header-links.d.ts.map +0 -1
- package/declarations/core/src/utils/css-mappings/eui-header-section-item.d.ts +0 -9
- package/declarations/core/src/utils/css-mappings/eui-header-section-item.d.ts.map +0 -1
- package/declarations/core/src/utils/css-mappings/eui-header-section.d.ts +0 -12
- package/declarations/core/src/utils/css-mappings/eui-header-section.d.ts.map +0 -1
- package/declarations/core/src/utils/css-mappings/eui-header.d.ts +0 -12
- package/declarations/core/src/utils/css-mappings/eui-header.d.ts.map +0 -1
- package/declarations/core/src/utils/css-mappings/eui-health.d.ts +0 -10
- package/declarations/core/src/utils/css-mappings/eui-health.d.ts.map +0 -1
- package/declarations/core/src/utils/css-mappings/eui-horizontal-rule.d.ts +0 -18
- package/declarations/core/src/utils/css-mappings/eui-horizontal-rule.d.ts.map +0 -1
- package/declarations/core/src/utils/css-mappings/eui-icon.d.ts +0 -494
- package/declarations/core/src/utils/css-mappings/eui-icon.d.ts.map +0 -1
- package/declarations/core/src/utils/css-mappings/eui-image.d.ts +0 -22
- package/declarations/core/src/utils/css-mappings/eui-image.d.ts.map +0 -1
- package/declarations/core/src/utils/css-mappings/eui-link.d.ts +0 -14
- package/declarations/core/src/utils/css-mappings/eui-link.d.ts.map +0 -1
- package/declarations/core/src/utils/css-mappings/eui-list-group-item.d.ts +0 -17
- package/declarations/core/src/utils/css-mappings/eui-list-group-item.d.ts.map +0 -1
- package/declarations/core/src/utils/css-mappings/eui-list-group.d.ts +0 -12
- package/declarations/core/src/utils/css-mappings/eui-list-group.d.ts.map +0 -1
- package/declarations/core/src/utils/css-mappings/eui-loading-spinner.d.ts +0 -10
- package/declarations/core/src/utils/css-mappings/eui-loading-spinner.d.ts.map +0 -1
- package/declarations/core/src/utils/css-mappings/eui-modal.d.ts +0 -7
- package/declarations/core/src/utils/css-mappings/eui-modal.d.ts.map +0 -1
- package/declarations/core/src/utils/css-mappings/eui-notification-badge.d.ts +0 -11
- package/declarations/core/src/utils/css-mappings/eui-notification-badge.d.ts.map +0 -1
- package/declarations/core/src/utils/css-mappings/eui-page-body.d.ts +0 -16
- package/declarations/core/src/utils/css-mappings/eui-page-body.d.ts.map +0 -1
- package/declarations/core/src/utils/css-mappings/eui-page-content-body.d.ts +0 -10
- package/declarations/core/src/utils/css-mappings/eui-page-content-body.d.ts.map +0 -1
- package/declarations/core/src/utils/css-mappings/eui-page-content.d.ts +0 -10
- package/declarations/core/src/utils/css-mappings/eui-page-content.d.ts.map +0 -1
- package/declarations/core/src/utils/css-mappings/eui-page-header.d.ts +0 -10
- package/declarations/core/src/utils/css-mappings/eui-page-header.d.ts.map +0 -1
- package/declarations/core/src/utils/css-mappings/eui-page-side-bar.d.ts +0 -10
- package/declarations/core/src/utils/css-mappings/eui-page-side-bar.d.ts.map +0 -1
- package/declarations/core/src/utils/css-mappings/eui-page.d.ts +0 -24
- package/declarations/core/src/utils/css-mappings/eui-page.d.ts.map +0 -1
- package/declarations/core/src/utils/css-mappings/eui-panel.d.ts +0 -24
- package/declarations/core/src/utils/css-mappings/eui-panel.d.ts.map +0 -1
- package/declarations/core/src/utils/css-mappings/eui-popover-footer.d.ts +0 -10
- package/declarations/core/src/utils/css-mappings/eui-popover-footer.d.ts.map +0 -1
- package/declarations/core/src/utils/css-mappings/eui-popover-title.d.ts +0 -10
- package/declarations/core/src/utils/css-mappings/eui-popover-title.d.ts.map +0 -1
- package/declarations/core/src/utils/css-mappings/eui-popover.d.ts +0 -22
- package/declarations/core/src/utils/css-mappings/eui-popover.d.ts.map +0 -1
- package/declarations/core/src/utils/css-mappings/eui-progress-data.d.ts +0 -3
- package/declarations/core/src/utils/css-mappings/eui-progress-data.d.ts.map +0 -1
- package/declarations/core/src/utils/css-mappings/eui-progress.d.ts +0 -50
- package/declarations/core/src/utils/css-mappings/eui-progress.d.ts.map +0 -1
- package/declarations/core/src/utils/css-mappings/eui-range-highlight.d.ts +0 -11
- package/declarations/core/src/utils/css-mappings/eui-range-highlight.d.ts.map +0 -1
- package/declarations/core/src/utils/css-mappings/eui-range-input.d.ts +0 -8
- package/declarations/core/src/utils/css-mappings/eui-range-input.d.ts.map +0 -1
- package/declarations/core/src/utils/css-mappings/eui-range-levels.d.ts +0 -13
- package/declarations/core/src/utils/css-mappings/eui-range-levels.d.ts.map +0 -1
- package/declarations/core/src/utils/css-mappings/eui-selectable-list-item.d.ts +0 -7
- package/declarations/core/src/utils/css-mappings/eui-selectable-list-item.d.ts.map +0 -1
- package/declarations/core/src/utils/css-mappings/eui-spacer.d.ts +0 -12
- package/declarations/core/src/utils/css-mappings/eui-spacer.d.ts.map +0 -1
- package/declarations/core/src/utils/css-mappings/eui-stat.d.ts +0 -17
- package/declarations/core/src/utils/css-mappings/eui-stat.d.ts.map +0 -1
- package/declarations/core/src/utils/css-mappings/eui-step-number.d.ts +0 -11
- package/declarations/core/src/utils/css-mappings/eui-step-number.d.ts.map +0 -1
- package/declarations/core/src/utils/css-mappings/eui-tabs.d.ts +0 -14
- package/declarations/core/src/utils/css-mappings/eui-tabs.d.ts.map +0 -1
- package/declarations/core/src/utils/css-mappings/eui-text-align.d.ts +0 -9
- package/declarations/core/src/utils/css-mappings/eui-text-align.d.ts.map +0 -1
- package/declarations/core/src/utils/css-mappings/eui-text-area.d.ts +0 -10
- package/declarations/core/src/utils/css-mappings/eui-text-area.d.ts.map +0 -1
- package/declarations/core/src/utils/css-mappings/eui-text-color.d.ts +0 -14
- package/declarations/core/src/utils/css-mappings/eui-text-color.d.ts.map +0 -1
- package/declarations/core/src/utils/css-mappings/eui-text.d.ts +0 -9
- package/declarations/core/src/utils/css-mappings/eui-text.d.ts.map +0 -1
- package/declarations/core/src/utils/css-mappings/eui-title.d.ts +0 -15
- package/declarations/core/src/utils/css-mappings/eui-title.d.ts.map +0 -1
- package/declarations/core/src/utils/css-mappings/eui-toast.d.ts +0 -11
- package/declarations/core/src/utils/css-mappings/eui-toast.d.ts.map +0 -1
- package/declarations/core/src/utils/css-mappings/eui-tool-tip.d.ts +0 -10
- package/declarations/core/src/utils/css-mappings/eui-tool-tip.d.ts.map +0 -1
- package/declarations/core/src/utils/css-mappings/index.d.ts +0 -3
- package/declarations/core/src/utils/css-mappings/index.d.ts.map +0 -1
- package/declarations/core/src/utils/detect-element-resize.d.ts +0 -17
- package/declarations/core/src/utils/detect-element-resize.d.ts.map +0 -1
- package/declarations/core/src/utils/keys.d.ts +0 -31
- package/declarations/core/src/utils/keys.d.ts.map +0 -1
- package/declarations/core/src/utils/markdown/markdown-actions.d.ts +0 -45
- package/declarations/core/src/utils/markdown/markdown-actions.d.ts.map +0 -1
- package/declarations/core/src/utils/markdown/markdown-modes.d.ts +0 -4
- package/declarations/core/src/utils/markdown/markdown-modes.d.ts.map +0 -1
- package/declarations/core/src/utils/markdown/markdown-types.d.ts +0 -100
- package/declarations/core/src/utils/markdown/markdown-types.d.ts.map +0 -1
- package/declarations/core/src/utils/markdown/plugins/markdown-add-components/index.d.ts +0 -3
- package/declarations/core/src/utils/markdown/plugins/markdown-add-components/index.d.ts.map +0 -1
- package/declarations/core/src/utils/markdown/plugins/markdown-add-components/processor.d.ts +0 -6
- package/declarations/core/src/utils/markdown/plugins/markdown-add-components/processor.d.ts.map +0 -1
- package/declarations/core/src/utils/markdown/plugins/markdown-checkbox/index.d.ts +0 -2
- package/declarations/core/src/utils/markdown/plugins/markdown-checkbox/index.d.ts.map +0 -1
- package/declarations/core/src/utils/markdown/plugins/markdown-checkbox/parser.d.ts +0 -3
- package/declarations/core/src/utils/markdown/plugins/markdown-checkbox/parser.d.ts.map +0 -1
- package/declarations/core/src/utils/markdown/plugins/markdown-default-plugins/index.d.ts +0 -5
- package/declarations/core/src/utils/markdown/plugins/markdown-default-plugins/index.d.ts.map +0 -1
- package/declarations/core/src/utils/markdown/plugins/markdown-default-plugins/parsing-plugins.d.ts +0 -7
- package/declarations/core/src/utils/markdown/plugins/markdown-default-plugins/parsing-plugins.d.ts.map +0 -1
- package/declarations/core/src/utils/markdown/plugins/markdown-default-plugins/plugins.d.ts +0 -11
- package/declarations/core/src/utils/markdown/plugins/markdown-default-plugins/plugins.d.ts.map +0 -1
- package/declarations/core/src/utils/markdown/plugins/markdown-default-plugins/processing-plugins.d.ts +0 -21
- package/declarations/core/src/utils/markdown/plugins/markdown-default-plugins/processing-plugins.d.ts.map +0 -1
- package/declarations/core/src/utils/markdown/plugins/markdown-default-plugins/ui-plugins.d.ts +0 -7
- package/declarations/core/src/utils/markdown/plugins/markdown-default-plugins/ui-plugins.d.ts.map +0 -1
- package/declarations/core/src/utils/markdown/plugins/markdown-tooltip/index.d.ts +0 -3
- package/declarations/core/src/utils/markdown/plugins/markdown-tooltip/index.d.ts.map +0 -1
- package/declarations/core/src/utils/markdown/plugins/markdown-tooltip/parser.d.ts +0 -3
- package/declarations/core/src/utils/markdown/plugins/markdown-tooltip/parser.d.ts.map +0 -1
- package/declarations/core/src/utils/markdown/plugins/markdown-tooltip/plugin.d.ts +0 -14
- package/declarations/core/src/utils/markdown/plugins/markdown-tooltip/plugin.d.ts.map +0 -1
- package/declarations/core/src/utils/markdown/plugins/to-dom.d.ts +0 -20
- package/declarations/core/src/utils/markdown/plugins/to-dom.d.ts.map +0 -1
- package/declarations/core/src/utils/markdown/remark/remark-prismjs.d.ts +0 -5
- package/declarations/core/src/utils/markdown/remark/remark-prismjs.d.ts.map +0 -1
- package/declarations/core/src/utils/maybe-unwrap-proxy.d.ts +0 -5
- package/declarations/core/src/utils/maybe-unwrap-proxy.d.ts.map +0 -1
- package/declarations/core/src/utils/number/index.d.ts +0 -2
- package/declarations/core/src/utils/number/index.d.ts.map +0 -1
- package/declarations/core/src/utils/number/number.d.ts +0 -3
- package/declarations/core/src/utils/number/number.d.ts.map +0 -1
- package/declarations/core/src/utils/popover/index.d.ts +0 -154
- package/declarations/core/src/utils/popover/index.d.ts.map +0 -1
- package/declarations/core/src/utils/popover/types.d.ts +0 -2
- package/declarations/core/src/utils/popover/types.d.ts.map +0 -1
- package/declarations/core/src/utils/predicate/common_predicates.d.ts +0 -6
- package/declarations/core/src/utils/predicate/common_predicates.d.ts.map +0 -1
- package/declarations/core/src/utils/predicate/index.d.ts +0 -3
- package/declarations/core/src/utils/predicate/index.d.ts.map +0 -1
- package/declarations/core/src/utils/predicate/lodash_predicates.d.ts +0 -8
- package/declarations/core/src/utils/predicate/lodash_predicates.d.ts.map +0 -1
- package/declarations/core/src/utils/range/index.d.ts +0 -2
- package/declarations/core/src/utils/range/index.d.ts.map +0 -1
- package/declarations/core/src/utils/transition.d.ts +0 -8
- package/declarations/core/src/utils/transition.d.ts.map +0 -1
- package/declarations/validated-form/src/-private/random-id.d.ts +0 -9
- package/declarations/validated-form/src/-private/random-id.d.ts.map +0 -1
- package/declarations/validated-form/src/components/validated-form/field-base.d.ts +0 -58
- package/declarations/validated-form/src/components/validated-form/field-base.d.ts.map +0 -1
- package/declarations/validated-form/src/components/validated-form/field-checkbox-group.d.ts +0 -30
- package/declarations/validated-form/src/components/validated-form/field-checkbox-group.d.ts.map +0 -1
- package/declarations/validated-form/src/components/validated-form/field-combo-box.d.ts +0 -27
- package/declarations/validated-form/src/components/validated-form/field-combo-box.d.ts.map +0 -1
- package/declarations/validated-form/src/components/validated-form/field-dual-range-slider.d.ts +0 -32
- package/declarations/validated-form/src/components/validated-form/field-dual-range-slider.d.ts.map +0 -1
- package/declarations/validated-form/src/components/validated-form/field-markdown-editor.d.ts +0 -25
- package/declarations/validated-form/src/components/validated-form/field-markdown-editor.d.ts.map +0 -1
- package/declarations/validated-form/src/components/validated-form/field-number.d.ts +0 -24
- package/declarations/validated-form/src/components/validated-form/field-number.d.ts.map +0 -1
- package/declarations/validated-form/src/components/validated-form/field-password.d.ts +0 -24
- package/declarations/validated-form/src/components/validated-form/field-password.d.ts.map +0 -1
- package/declarations/validated-form/src/components/validated-form/field-radio-group.d.ts +0 -29
- package/declarations/validated-form/src/components/validated-form/field-radio-group.d.ts.map +0 -1
- package/declarations/validated-form/src/components/validated-form/field-range-slider.d.ts +0 -28
- package/declarations/validated-form/src/components/validated-form/field-range-slider.d.ts.map +0 -1
- package/declarations/validated-form/src/components/validated-form/field-select.d.ts +0 -23
- package/declarations/validated-form/src/components/validated-form/field-select.d.ts.map +0 -1
- package/declarations/validated-form/src/components/validated-form/field-switch.d.ts +0 -24
- package/declarations/validated-form/src/components/validated-form/field-switch.d.ts.map +0 -1
- package/declarations/validated-form/src/components/validated-form/field-text-area.d.ts +0 -29
- package/declarations/validated-form/src/components/validated-form/field-text-area.d.ts.map +0 -1
- package/declarations/validated-form/src/components/validated-form/field-text.d.ts +0 -22
- package/declarations/validated-form/src/components/validated-form/field-text.d.ts.map +0 -1
- package/declarations/validated-form/src/components/validated-form.d.ts +0 -109
- package/declarations/validated-form/src/components/validated-form.d.ts.map +0 -1
- package/declarations/validated-form/src/utils/build-validation-messages.d.ts +0 -13
- package/declarations/validated-form/src/utils/build-validation-messages.d.ts.map +0 -1
- package/declarations/validated-form/src/utils/get-messages.d.ts +0 -11
- package/declarations/validated-form/src/utils/get-messages.d.ts.map +0 -1
- package/declarations/validated-form/src/utils/validation-errors.d.ts +0 -2
- package/declarations/validated-form/src/utils/validation-errors.d.ts.map +0 -1
- package/declarations/validated-form/src/utils/with-defaults.d.ts +0 -10
- package/declarations/validated-form/src/utils/with-defaults.d.ts.map +0 -1
- package/declarations/validated-form/src/validators/messages.d.ts +0 -4
- package/declarations/validated-form/src/validators/messages.d.ts.map +0 -1
- package/dist/_app_/utils/build-validation-messages.js +0 -1
- package/dist/_app_/utils/get-messages.js +0 -1
- package/dist/_app_/utils/validation-errors.js +0 -1
- package/dist/_app_/utils/with-defaults.js +0 -1
- package/dist/_app_/validators/messages.js +0 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"field-password.js","sources":["../../../src/components/validated-form/field-password.gts"],"sourcesContent":["import { template } from \"@ember/template-compiler\";\nimport { fn } from '@ember/helper';\nimport { on } from '@ember/modifier';\nimport didInsert from '@ember/render-modifiers/modifiers/did-insert';\nimport didUpdate from '@ember/render-modifiers/modifiers/did-update';\nimport EuiFieldPassword from '@ember-eui/core/components/eui-field-password';\nimport EuiFormRow from '@ember-eui/core/components/eui-form-row';\nimport { argOrDefault } from '@ember-eui/core/helpers';\nimport { not } from 'ember-truth-helpers';\nimport randomId from '../../-private/random-id';\nimport ValidatedFormFieldBase from './field-base.gts';\nimport type { FieldBaseSignature } from './field-base.gts';\nimport type { EuiFieldPasswordSignature } from '@ember-eui/core/components/eui-field-password';\nimport type { EuiFormRowSignature } from '@ember-eui/core/components/eui-form-row';\nexport interface FieldPasswordSignature {\n Element: EuiFieldPasswordSignature['Element'];\n Args: FieldBaseSignature['Args'] & EuiFormRowSignature['Args'] & EuiFieldPasswordSignature['Args'] & {\n rowClasses?: string;\n fieldClasses?: string;\n formId?: string;\n ariaLabel?: string;\n autofocus?: boolean;\n onChange?: (state: boolean, e: MouseEvent) => void;\n placeholder?: string;\n };\n Blocks: {\n label: [...EuiFormRowSignature['Blocks']['label']];\n prepend: [...EuiFieldPasswordSignature['Blocks']['prepend']];\n append: [...EuiFieldPasswordSignature['Blocks']['append']];\n };\n}\nexport default class ValidatedFormFieldPassword extends ValidatedFormFieldBase<FieldPasswordSignature> {\n static{\n template(`\n {{#let (argOrDefault @id (randomId)) as |theId|}}\n <EuiFormRow\n class={{this.rowClasses}}\n @labelType={{@labelType}}\n @display={{@display}}\n @hasEmptyLabelSpace={{@hasEmptyLabelSpace}}\n @fullWidth={{@fullWidth}}\n @hasChildLabel={{@hasChildLabel}}\n @label={{this.label}}\n @labelAppend={{@labelAppend}}\n @id={{theId}}\n @isInvalid={{this.isInvalidAndTouched}}\n @error={{this.validationErrorMessages}}\n @helpText={{@helpText}}\n @errorClasses={{@errorClasses}}\n @isFakeLabelBlock={{not (has-block \"label\")}}\n {{didInsert this.setValidationMessages}}\n {{didUpdate this.didUpdateValue @validations}}\n {{didUpdate this.didUpdateValue @value}}\n >\n <:label>\n {{yield to=\"label\"}}\n </:label>\n <:field>\n <EuiFieldPassword\n class={{@fieldClasses}}\n form={{@formId}}\n aria-label={{@ariaLabel}}\n @isInvalid={{this.isInvalidAndTouched}}\n @fullWidth={{@fullWidth}}\n @isLoading={{@isLoading}}\n @compressed={{@compressed}}\n @inputRef={{@inputRef}}\n @value={{@value}}\n @type={{@type}}\n @id={{theId}}\n @disabled={{@disabled}}\n @isFakePrependBlock={{not (has-block \"prepend\")}}\n @isFakeAppendBlock={{not (has-block \"append\")}}\n autofocus={{@autofocus}}\n placeholder={{@placeholder}}\n ...attributes\n {{on \"blur\" (fn this.setIsTouched true)}}\n {{on \"input\" this.handleChange}}\n >\n <:prepend as |classes inputId|>\n {{yield classes inputId to=\"prepend\"}}\n </:prepend>\n <:append as |classes inputId|>\n {{yield classes inputId to=\"append\"}}\n </:append>\n </EuiFieldPassword>\n </:field>\n </EuiFormRow>\n {{/let}}\n `, {\n component: this,\n eval () {\n return eval(arguments[0]);\n }\n });\n }\n}\n"],"names":["ValidatedFormFieldPassword","ValidatedFormFieldBase","setComponentTemplate","precompileTemplate","scope","argOrDefault","randomId","EuiFormRow","not","didInsert","didUpdate","EuiFieldPassword","on","fn","strictMode"],"mappings":";;;;;;;;;;;;;
|
|
1
|
+
{"version":3,"file":"field-password.js","sources":["../../../src/components/validated-form/field-password.gts"],"sourcesContent":["import { template } from \"@ember/template-compiler\";\nimport { fn } from '@ember/helper';\nimport { on } from '@ember/modifier';\nimport didInsert from '@ember/render-modifiers/modifiers/did-insert';\nimport didUpdate from '@ember/render-modifiers/modifiers/did-update';\nimport EuiFieldPassword from '@ember-eui/core/components/eui-field-password';\nimport EuiFormRow from '@ember-eui/core/components/eui-form-row';\nimport { argOrDefault } from '@ember-eui/core/helpers';\nimport { not } from 'ember-truth-helpers';\nimport randomId from '../../-private/random-id';\nimport ValidatedFormFieldBase from './field-base.gts';\nimport type { FieldBaseSignature } from './field-base.gts';\nimport type { EuiFieldPasswordSignature } from '@ember-eui/core/components/eui-field-password';\nimport type { EuiFormRowSignature } from '@ember-eui/core/components/eui-form-row';\nexport interface FieldPasswordSignature {\n Element: EuiFieldPasswordSignature['Element'];\n Args: FieldBaseSignature['Args'] & EuiFormRowSignature['Args'] & EuiFieldPasswordSignature['Args'] & {\n rowClasses?: string;\n fieldClasses?: string;\n formId?: string;\n ariaLabel?: string;\n autofocus?: boolean;\n onChange?: (state: boolean, e: MouseEvent) => void;\n placeholder?: string;\n };\n Blocks: {\n label: [...EuiFormRowSignature['Blocks']['label']];\n helpText: [...EuiFormRowSignature['Blocks']['helpText']];\n prepend: [...EuiFieldPasswordSignature['Blocks']['prepend']];\n append: [...EuiFieldPasswordSignature['Blocks']['append']];\n };\n}\nexport default class ValidatedFormFieldPassword extends ValidatedFormFieldBase<FieldPasswordSignature> {\n static{\n template(`\n {{#let (argOrDefault @id (randomId)) as |theId|}}\n <EuiFormRow\n class={{this.rowClasses}}\n @labelType={{@labelType}}\n @display={{@display}}\n @hasEmptyLabelSpace={{@hasEmptyLabelSpace}}\n @fullWidth={{@fullWidth}}\n @hasChildLabel={{@hasChildLabel}}\n @label={{this.label}}\n @labelAppend={{@labelAppend}}\n @id={{theId}}\n @isInvalid={{this.isInvalidAndTouched}}\n @error={{this.validationErrorMessages}}\n @helpText={{@helpText}}\n @errorClasses={{@errorClasses}}\n @isFakeLabelBlock={{not (has-block \"label\")}}\n @isFakeHelpTextBlock={{not (has-block \"helpText\")}}\n {{didInsert this.setValidationMessages}}\n {{didUpdate this.didUpdateValue @validations}}\n {{didUpdate this.didUpdateValue @value}}\n >\n <:label>\n {{yield to=\"label\"}}\n </:label>\n <:field>\n <EuiFieldPassword\n class={{@fieldClasses}}\n form={{@formId}}\n aria-label={{@ariaLabel}}\n @isInvalid={{this.isInvalidAndTouched}}\n @fullWidth={{@fullWidth}}\n @isLoading={{@isLoading}}\n @compressed={{@compressed}}\n @inputRef={{@inputRef}}\n @value={{@value}}\n @type={{@type}}\n @id={{theId}}\n @disabled={{@disabled}}\n @isFakePrependBlock={{not (has-block \"prepend\")}}\n @isFakeAppendBlock={{not (has-block \"append\")}}\n autofocus={{@autofocus}}\n placeholder={{@placeholder}}\n ...attributes\n {{on \"blur\" (fn this.setIsTouched true)}}\n {{on \"input\" this.handleChange}}\n >\n <:prepend as |classes inputId|>\n {{yield classes inputId to=\"prepend\"}}\n </:prepend>\n <:append as |classes inputId|>\n {{yield classes inputId to=\"append\"}}\n </:append>\n </EuiFieldPassword>\n </:field>\n <:helpText as |helpText|>\n {{yield helpText to=\"helpText\"}}\n </:helpText>\n </EuiFormRow>\n {{/let}}\n `, {\n component: this,\n eval () {\n return eval(arguments[0]);\n }\n });\n }\n}\n"],"names":["ValidatedFormFieldPassword","ValidatedFormFieldBase","setComponentTemplate","precompileTemplate","scope","argOrDefault","randomId","EuiFormRow","not","didInsert","didUpdate","EuiFieldPassword","on","fn","strictMode"],"mappings":";;;;;;;;;;;;;AAgCe,MAAMA,0BAA0B,SAASC,sBAAsB,CAAyB;AACnG,EAAA;IACIC,oBAAA,CAAAC,kBAAA,CA4DH,ovDAAA,EAAA;AAAAC,MAAAA,KAAA,EAAAA,OAAA;QAAAC,YAAA;QAAAC,QAAA;QAAAC,UAAA;QAAAC,GAAA;QAAAC,SAAA;QAAAC,SAAA;QAAAC,gBAAA;QAAAC,EAAA;AAAAC,QAAAA,EAAAA;AAAA,OAAA,CAAA;MAAAC,UAAA,EAAA,IAAA;KAKI,CAAC,EAJa,IAAI,CAAA,CAAA;AAKvB,GAAA;AACJ;;;;"}
|
|
@@ -45,7 +45,7 @@ class ValidatedFormFieldRadioGroup extends ValidatedFormFieldBase {
|
|
|
45
45
|
n(this.prototype, "handleChange", [action]);
|
|
46
46
|
}
|
|
47
47
|
static {
|
|
48
|
-
setComponentTemplate(precompileTemplate("\n {{#let (argOrDefault @id (randomId)) as |theId|}}\n <EuiFormRow class={{this.rowClasses}} @labelType={{@labelType}} @display={{@display}} @hasEmptyLabelSpace={{@hasEmptyLabelSpace}} @fullWidth={{@fullWidth}} @hasChildLabel={{@hasChildLabel}} @label={{this.label}} @labelAppend={{@labelAppend}} @id={{theId}} @isInvalid={{this.isInvalidAndTouched}} @error={{this.validationErrorMessages}} @helpText={{@helpText}} @errorClasses={{@errorClasses}} @isFakeLabelBlock={{not (has-block \"label\")}} {{didInsert this.setValidationMessages}} {{didUpdate this.didUpdateValue @validations}} {{didUpdate this.didUpdateValue @value}}>\n <:label as |label|>\n {{yield label to=\"label\"}}\n </:label>\n <:field>\n <EuiRadioGroup class={{@fieldClasses}} @formId={{@formId}} aria-label={{@ariaLabel}} @disabled={{@disabled}} @valueKey={{@valueKey}} @labelKey={{@labelKey}} @compressed={{@compressed}} @name={{@name}} @options={{this.options}} @idSelected={{this.value}} @legend={{@legend}} @onChange={{this.handleChange}} autofocus={{@autofocus}} ...attributes />\n </:field>\n </EuiFormRow>\n {{/let}}\n ", {
|
|
48
|
+
setComponentTemplate(precompileTemplate("\n {{#let (argOrDefault @id (randomId)) as |theId|}}\n <EuiFormRow class={{this.rowClasses}} @labelType={{@labelType}} @display={{@display}} @hasEmptyLabelSpace={{@hasEmptyLabelSpace}} @fullWidth={{@fullWidth}} @hasChildLabel={{@hasChildLabel}} @label={{this.label}} @labelAppend={{@labelAppend}} @id={{theId}} @isInvalid={{this.isInvalidAndTouched}} @error={{this.validationErrorMessages}} @helpText={{@helpText}} @errorClasses={{@errorClasses}} @isFakeLabelBlock={{not (has-block \"label\")}} @isFakeHelpTextBlock={{not (has-block \"helpText\")}} {{didInsert this.setValidationMessages}} {{didUpdate this.didUpdateValue @validations}} {{didUpdate this.didUpdateValue @value}}>\n <:label as |label|>\n {{yield label to=\"label\"}}\n </:label>\n <:field>\n <EuiRadioGroup class={{@fieldClasses}} @formId={{@formId}} aria-label={{@ariaLabel}} @disabled={{@disabled}} @valueKey={{@valueKey}} @labelKey={{@labelKey}} @compressed={{@compressed}} @name={{@name}} @options={{this.options}} @idSelected={{this.value}} @legend={{@legend}} @onChange={{this.handleChange}} autofocus={{@autofocus}} ...attributes />\n </:field>\n <:helpText as |helpText|>\n {{yield helpText to=\"helpText\"}}\n </:helpText>\n </EuiFormRow>\n {{/let}}\n ", {
|
|
49
49
|
scope: () => ({
|
|
50
50
|
argOrDefault,
|
|
51
51
|
randomId,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"field-radio-group.js","sources":["../../../src/components/validated-form/field-radio-group.gts"],"sourcesContent":["import { template } from \"@ember/template-compiler\";\nimport { action } from '@ember/object';\nimport didInsert from '@ember/render-modifiers/modifiers/did-insert';\nimport didUpdate from '@ember/render-modifiers/modifiers/did-update';\nimport EuiFormRow from '@ember-eui/core/components/eui-form-row';\nimport EuiRadioGroup from '@ember-eui/core/components/eui-radio-group';\nimport { argOrDefault } from '@ember-eui/core/helpers';\nimport { maybeUnwrapProxy } from '@ember-eui/core/utils/maybe-unwrap-proxy';\nimport { not } from 'ember-truth-helpers';\nimport randomId from '../../-private/random-id';\nimport ValidatedFormFieldBase from './field-base.gts';\nimport type { FieldBaseSignature } from './field-base.gts';\nimport type { EuiFormRowSignature } from '@ember-eui/core/components/eui-form-row';\nimport type { EuiRadioGroupSignature } from '@ember-eui/core/components/eui-radio-group';\nexport interface FieldRadioGroupSignature {\n Element: EuiRadioGroupSignature['Element'];\n Args: FieldBaseSignature['Args'] & EuiFormRowSignature['Args'] & EuiRadioGroupSignature['Args'] & {\n rowClasses?: string;\n fieldClasses?: string;\n formId?: string;\n ariaLabel?: string;\n autofocus?: boolean;\n onChange?: (state: boolean, e: MouseEvent) => void;\n };\n Blocks: {\n label: [...EuiFormRowSignature['Blocks']['label']];\n };\n}\nexport default class ValidatedFormFieldRadioGroup extends ValidatedFormFieldBase<FieldRadioGroupSignature> {\n get value() {\n let value1 = maybeUnwrapProxy(this.args.value);\n return value1?.toArray?.() || value1;\n }\n get arrayToMap() {\n const currArr1 = this.args.value || [];\n return this.transformToMap(currArr1);\n }\n transformToMap(value1 = []) {\n let valuesMap1 = value1.reduce((acc1, val1: string)=>{\n acc1[val1] = true;\n return acc1;\n }, {} as {\n [key: string]: boolean;\n });\n return valuesMap1;\n }\n @action\n //@ts-expect-error\n handleChange(optionId1: string) {\n let value1 = this.value || [];\n const found1 = value1.find((v1: string)=>v1 === optionId1);\n let newArr1 = [];\n if (found1) {\n newArr1 = value1.filter((v1: string)=>v1 !== optionId1);\n } else {\n newArr1 = [\n ...value1,\n optionId1\n ];\n }\n this.args.onChange?.(newArr1);\n this.isTouched = true;\n }\n static{\n template(`\n {{#let (argOrDefault @id (randomId)) as |theId|}}\n <EuiFormRow\n class={{this.rowClasses}}\n @labelType={{@labelType}}\n @display={{@display}}\n @hasEmptyLabelSpace={{@hasEmptyLabelSpace}}\n @fullWidth={{@fullWidth}}\n @hasChildLabel={{@hasChildLabel}}\n @label={{this.label}}\n @labelAppend={{@labelAppend}}\n @id={{theId}}\n @isInvalid={{this.isInvalidAndTouched}}\n @error={{this.validationErrorMessages}}\n @helpText={{@helpText}}\n @errorClasses={{@errorClasses}}\n @isFakeLabelBlock={{not (has-block \"label\")}}\n {{didInsert this.setValidationMessages}}\n {{didUpdate this.didUpdateValue @validations}}\n {{didUpdate this.didUpdateValue @value}}\n >\n <:label as |label|>\n {{yield label to=\"label\"}}\n </:label>\n <:field>\n <EuiRadioGroup\n class={{@fieldClasses}}\n @formId={{@formId}}\n aria-label={{@ariaLabel}}\n @disabled={{@disabled}}\n @valueKey={{@valueKey}}\n @labelKey={{@labelKey}}\n @compressed={{@compressed}}\n @name={{@name}}\n @options={{this.options}}\n @idSelected={{this.value}}\n @legend={{@legend}}\n @onChange={{this.handleChange}}\n autofocus={{@autofocus}}\n ...attributes\n />\n </:field>\n </EuiFormRow>\n {{/let}}\n `, {\n component: this,\n eval () {\n return eval(arguments[0]);\n }\n });\n }\n}\n"],"names":["ValidatedFormFieldRadioGroup","ValidatedFormFieldBase","value","value1","maybeUnwrapProxy","args","toArray","arrayToMap","currArr1","transformToMap","valuesMap1","reduce","acc1","val1","handleChange","optionId1","found1","find","v1","newArr1","filter","onChange","isTouched","n","this","prototype","action","setComponentTemplate","precompileTemplate","scope","argOrDefault","randomId","EuiFormRow","not","didInsert","didUpdate","EuiRadioGroup","strictMode"],"mappings":";;;;;;;;;;;;;;
|
|
1
|
+
{"version":3,"file":"field-radio-group.js","sources":["../../../src/components/validated-form/field-radio-group.gts"],"sourcesContent":["import { template } from \"@ember/template-compiler\";\nimport { action } from '@ember/object';\nimport didInsert from '@ember/render-modifiers/modifiers/did-insert';\nimport didUpdate from '@ember/render-modifiers/modifiers/did-update';\nimport EuiFormRow from '@ember-eui/core/components/eui-form-row';\nimport EuiRadioGroup from '@ember-eui/core/components/eui-radio-group';\nimport { argOrDefault } from '@ember-eui/core/helpers';\nimport { maybeUnwrapProxy } from '@ember-eui/core/utils/maybe-unwrap-proxy';\nimport { not } from 'ember-truth-helpers';\nimport randomId from '../../-private/random-id';\nimport ValidatedFormFieldBase from './field-base.gts';\nimport type { FieldBaseSignature } from './field-base.gts';\nimport type { EuiFormRowSignature } from '@ember-eui/core/components/eui-form-row';\nimport type { EuiRadioGroupSignature } from '@ember-eui/core/components/eui-radio-group';\nexport interface FieldRadioGroupSignature {\n Element: EuiRadioGroupSignature['Element'];\n Args: FieldBaseSignature['Args'] & EuiFormRowSignature['Args'] & EuiRadioGroupSignature['Args'] & {\n rowClasses?: string;\n fieldClasses?: string;\n formId?: string;\n ariaLabel?: string;\n autofocus?: boolean;\n onChange?: (state: boolean, e: MouseEvent) => void;\n };\n Blocks: {\n label: [...EuiFormRowSignature['Blocks']['label']];\n helpText: [...EuiFormRowSignature['Blocks']['helpText']];\n };\n}\nexport default class ValidatedFormFieldRadioGroup extends ValidatedFormFieldBase<FieldRadioGroupSignature> {\n get value() {\n let value1 = maybeUnwrapProxy(this.args.value);\n return value1?.toArray?.() || value1;\n }\n get arrayToMap() {\n const currArr1 = this.args.value || [];\n return this.transformToMap(currArr1);\n }\n transformToMap(value1 = []) {\n let valuesMap1 = value1.reduce((acc1, val1: string)=>{\n acc1[val1] = true;\n return acc1;\n }, {} as {\n [key: string]: boolean;\n });\n return valuesMap1;\n }\n @action\n //@ts-expect-error\n handleChange(optionId1: string) {\n let value1 = this.value || [];\n const found1 = value1.find((v1: string)=>v1 === optionId1);\n let newArr1 = [];\n if (found1) {\n newArr1 = value1.filter((v1: string)=>v1 !== optionId1);\n } else {\n newArr1 = [\n ...value1,\n optionId1\n ];\n }\n this.args.onChange?.(newArr1);\n this.isTouched = true;\n }\n static{\n template(`\n {{#let (argOrDefault @id (randomId)) as |theId|}}\n <EuiFormRow\n class={{this.rowClasses}}\n @labelType={{@labelType}}\n @display={{@display}}\n @hasEmptyLabelSpace={{@hasEmptyLabelSpace}}\n @fullWidth={{@fullWidth}}\n @hasChildLabel={{@hasChildLabel}}\n @label={{this.label}}\n @labelAppend={{@labelAppend}}\n @id={{theId}}\n @isInvalid={{this.isInvalidAndTouched}}\n @error={{this.validationErrorMessages}}\n @helpText={{@helpText}}\n @errorClasses={{@errorClasses}}\n @isFakeLabelBlock={{not (has-block \"label\")}}\n @isFakeHelpTextBlock={{not (has-block \"helpText\")}}\n {{didInsert this.setValidationMessages}}\n {{didUpdate this.didUpdateValue @validations}}\n {{didUpdate this.didUpdateValue @value}}\n >\n <:label as |label|>\n {{yield label to=\"label\"}}\n </:label>\n <:field>\n <EuiRadioGroup\n class={{@fieldClasses}}\n @formId={{@formId}}\n aria-label={{@ariaLabel}}\n @disabled={{@disabled}}\n @valueKey={{@valueKey}}\n @labelKey={{@labelKey}}\n @compressed={{@compressed}}\n @name={{@name}}\n @options={{this.options}}\n @idSelected={{this.value}}\n @legend={{@legend}}\n @onChange={{this.handleChange}}\n autofocus={{@autofocus}}\n ...attributes\n />\n </:field>\n <:helpText as |helpText|>\n {{yield helpText to=\"helpText\"}}\n </:helpText>\n </EuiFormRow>\n {{/let}}\n `, {\n component: this,\n eval () {\n return eval(arguments[0]);\n }\n });\n }\n}\n"],"names":["ValidatedFormFieldRadioGroup","ValidatedFormFieldBase","value","value1","maybeUnwrapProxy","args","toArray","arrayToMap","currArr1","transformToMap","valuesMap1","reduce","acc1","val1","handleChange","optionId1","found1","find","v1","newArr1","filter","onChange","isTouched","n","this","prototype","action","setComponentTemplate","precompileTemplate","scope","argOrDefault","randomId","EuiFormRow","not","didInsert","didUpdate","EuiRadioGroup","strictMode"],"mappings":";;;;;;;;;;;;;;AA6Be,MAAMA,4BAA4B,SAASC,sBAAsB,CAA2B;EACvG,IAAIC,KAAKA,GAAG;IACR,IAAIC,MAAM,GAAGC,gBAAgB,CAAC,IAAI,CAACC,IAAI,CAACH,KAAK,CAAC,CAAA;AAC9C,IAAA,OAAOC,MAAM,EAAEG,OAAO,IAAI,IAAIH,MAAM,CAAA;AACxC,GAAA;EACA,IAAII,UAAUA,GAAG;IACb,MAAMC,QAAQ,GAAG,IAAI,CAACH,IAAI,CAACH,KAAK,IAAI,EAAE,CAAA;AACtC,IAAA,OAAO,IAAI,CAACO,cAAc,CAACD,QAAQ,CAAC,CAAA;AACxC,GAAA;AACAC,EAAAA,cAAcA,CAACN,MAAM,GAAG,EAAE,EAAE;IACxB,IAAIO,UAAU,GAAGP,MAAM,CAACQ,MAAM,CAAC,CAACC,IAAI,EAAEC,IAAY,KAAG;AACjDD,MAAAA,IAAI,CAACC,IAAI,CAAC,GAAG,IAAI,CAAA;AACjB,MAAA,OAAOD,IAAI,CAAA;KACd,EAAE,EAEF,CAAC,CAAA;AACF,IAAA,OAAOF,UAAU,CAAA;AACrB,GAAA;AAEA;EACAI,YAAYA,CAACC,SAAiB,EAAE;AAC5B,IAAA,IAAIZ,MAAM,GAAG,IAAI,CAACD,KAAK,IAAI,EAAE,CAAA;IAC7B,MAAMc,MAAM,GAAGb,MAAM,CAACc,IAAI,CAAEC,EAAU,IAAGA,EAAE,KAAKH,SAAS,CAAC,CAAA;IAC1D,IAAII,OAAO,GAAG,EAAE,CAAA;AAChB,IAAA,IAAIH,MAAM,EAAE;MACRG,OAAO,GAAGhB,MAAM,CAACiB,MAAM,CAAEF,EAAU,IAAGA,EAAE,KAAKH,SAAS,CAAC,CAAA;AAC3D,KAAC,MAAM;AACHI,MAAAA,OAAO,GAAG,CACN,GAAGhB,MAAM,EACTY,SAAS,CACZ,CAAA;AACL,KAAA;AACA,IAAA,IAAI,CAACV,IAAI,CAACgB,QAAQ,GAAGF,OAAO,CAAC,CAAA;IAC7B,IAAI,CAACG,SAAS,GAAG,IAAI,CAAA;AACzB,GAAA;AAAC,EAAA;AAAAC,IAAAA,CAAA,CAAAC,IAAA,CAAAC,SAAA,mBAhBAC,MAAM,CAAA,CAAA,CAAA;AAAA,GAAA;AAiBP,EAAA;IACIC,oBAAA,CAAAC,kBAAA,CAgDH,kyCAAA,EAAA;AAAAC,MAAAA,KAAA,EAAAA,OAAA;QAAAC,YAAA;QAAAC,QAAA;QAAAC,UAAA;QAAAC,GAAA;QAAAC,SAAA;QAAAC,SAAA;AAAAC,QAAAA,aAAAA;AAAA,OAAA,CAAA;MAAAC,UAAA,EAAA,IAAA;KAKI,CAAC,EAJa,IAAI,CAAA,CAAA;AAKvB,GAAA;AACJ;;;;"}
|
|
@@ -13,7 +13,7 @@ import { setComponentTemplate } from '@ember/component';
|
|
|
13
13
|
|
|
14
14
|
class ValidatedFormFieldRangeSlider extends ValidatedFormFieldBase {
|
|
15
15
|
static {
|
|
16
|
-
setComponentTemplate(precompileTemplate("\n {{#let (argOrDefault @id (randomId)) as |theId|}}\n <EuiFormRow class={{this.rowClasses}} @labelType={{@labelType}} @display={{@display}} @hasEmptyLabelSpace={{@hasEmptyLabelSpace}} @fullWidth={{@fullWidth}} @hasChildLabel={{@hasChildLabel}} @label={{this.label}} @labelAppend={{@labelAppend}} @id={{theId}} @isInvalid={{this.isInvalidAndTouched}} @error={{this.validationErrorMessages}} @helpText={{@helpText}} @errorClasses={{@errorClasses}} @isFakeLabelBlock={{not (has-block \"label\")}} {{didInsert this.setValidationMessages}} {{didUpdate this.didUpdateValue @validations}} {{didUpdate this.didUpdateValue @value}}>\n <:label>\n {{yield to=\"label\"}}\n </:label>\n\n <:field>\n <EuiRange class={{@fieldClasses}} form={{@formId}} @compressed={{@compressed}} @readOnly={{@readOnly}} @fullWidth={{@fullWidth}} @id={{theId}} @levels={{@levels}} @step={{@step}} @showInput={{@showInput}} @showLabels={{@showLabels}} @showRange={{@showRange}} @showTicks={{@showTicks}} @showValue={{@showValue}} @disabled={{@disabled}} @ticks={{@ticks}} @tickInterval={{@tickInterval}} @valuePrepend={{@valuePrepend}} @valueAppend={{@valueAppend}} @onChange={{this.handleChange}} @value={{@value}} @max={{@max}} @isLoading={{@isLoading}} @min={{@min}} @isInvalid={{this.isInvalidAndTouched}} @isPrependProvided={{has-block \"prepend\"}} @isAppendProvided={{has-block \"append\"}} @isFakeMinBlock={{not (has-block \"min\")}} @isFakeMaxBlock={{not (has-block \"max\")}} @isFakeValueBlock={{not (has-block \"value\")}} @isFakeValuePrependBlock={{not (has-block \"valuePrepend\")}} @isFakeValueAppendBlock={{not (has-block \"valueAppend\")}} aria-label={{@ariaLabel}} autofocus={{@autofocus}} ...attributes {{on \"blur\" (fn this.setIsTouched true)}}>\n <:prepend as |classes|>\n {{yield classes to=\"prepend\"}}\n </:prepend>\n <:min as |min|>\n {{yield min to=\"min\"}}\n </:min>\n <:valuePrepend>\n {{yield to=\"valuePrepend\"}}\n </:valuePrepend>\n <:value>\n {{yield to=\"value\"}}\n </:value>\n <:valueAppend>\n {{yield to=\"valueAppend\"}}\n </:valueAppend>\n <:max as |max|>\n {{yield max to=\"max\"}}\n </:max>\n <:append as |classes|>\n {{yield classes to=\"append\"}}\n </:append>\n </EuiRange>\n </:field>\n </EuiFormRow>\n {{/let}}\n ", {
|
|
16
|
+
setComponentTemplate(precompileTemplate("\n {{#let (argOrDefault @id (randomId)) as |theId|}}\n <EuiFormRow class={{this.rowClasses}} @labelType={{@labelType}} @display={{@display}} @hasEmptyLabelSpace={{@hasEmptyLabelSpace}} @fullWidth={{@fullWidth}} @hasChildLabel={{@hasChildLabel}} @label={{this.label}} @labelAppend={{@labelAppend}} @id={{theId}} @isInvalid={{this.isInvalidAndTouched}} @error={{this.validationErrorMessages}} @helpText={{@helpText}} @errorClasses={{@errorClasses}} @isFakeLabelBlock={{not (has-block \"label\")}} @isFakeHelpTextBlock={{not (has-block \"helpText\")}} {{didInsert this.setValidationMessages}} {{didUpdate this.didUpdateValue @validations}} {{didUpdate this.didUpdateValue @value}}>\n <:label>\n {{yield to=\"label\"}}\n </:label>\n\n <:field>\n <EuiRange class={{@fieldClasses}} form={{@formId}} @compressed={{@compressed}} @readOnly={{@readOnly}} @fullWidth={{@fullWidth}} @id={{theId}} @levels={{@levels}} @step={{@step}} @showInput={{@showInput}} @showLabels={{@showLabels}} @showRange={{@showRange}} @showTicks={{@showTicks}} @showValue={{@showValue}} @disabled={{@disabled}} @ticks={{@ticks}} @tickInterval={{@tickInterval}} @valuePrepend={{@valuePrepend}} @valueAppend={{@valueAppend}} @onChange={{this.handleChange}} @value={{@value}} @max={{@max}} @isLoading={{@isLoading}} @min={{@min}} @isInvalid={{this.isInvalidAndTouched}} @isPrependProvided={{has-block \"prepend\"}} @isAppendProvided={{has-block \"append\"}} @isFakeMinBlock={{not (has-block \"min\")}} @isFakeMaxBlock={{not (has-block \"max\")}} @isFakeValueBlock={{not (has-block \"value\")}} @isFakeValuePrependBlock={{not (has-block \"valuePrepend\")}} @isFakeValueAppendBlock={{not (has-block \"valueAppend\")}} aria-label={{@ariaLabel}} autofocus={{@autofocus}} ...attributes {{on \"blur\" (fn this.setIsTouched true)}}>\n <:prepend as |classes|>\n {{yield classes to=\"prepend\"}}\n </:prepend>\n <:min as |min|>\n {{yield min to=\"min\"}}\n </:min>\n <:valuePrepend>\n {{yield to=\"valuePrepend\"}}\n </:valuePrepend>\n <:value>\n {{yield to=\"value\"}}\n </:value>\n <:valueAppend>\n {{yield to=\"valueAppend\"}}\n </:valueAppend>\n <:max as |max|>\n {{yield max to=\"max\"}}\n </:max>\n <:append as |classes|>\n {{yield classes to=\"append\"}}\n </:append>\n </EuiRange>\n </:field>\n <:helpText as |helpText|>\n {{yield helpText to=\"helpText\"}} \n </:helpText>\n </EuiFormRow>\n {{/let}}\n ", {
|
|
17
17
|
scope: () => ({
|
|
18
18
|
argOrDefault,
|
|
19
19
|
randomId,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"field-range-slider.js","sources":["../../../src/components/validated-form/field-range-slider.gts"],"sourcesContent":["import { template } from \"@ember/template-compiler\";\nimport { fn } from '@ember/helper';\nimport { on } from '@ember/modifier';\nimport didInsert from '@ember/render-modifiers/modifiers/did-insert';\nimport didUpdate from '@ember/render-modifiers/modifiers/did-update';\nimport EuiFormRow from '@ember-eui/core/components/eui-form-row';\nimport EuiRange from '@ember-eui/core/components/eui-range';\nimport { argOrDefault } from '@ember-eui/core/helpers';\nimport { not } from 'ember-truth-helpers';\nimport randomId from '../../-private/random-id';\nimport ValidatedFormFieldBase from './field-base.gts';\nimport type { FieldBaseSignature } from './field-base.gts';\nimport type { EuiFormRowSignature } from '@ember-eui/core/components/eui-form-row';\nimport type { EuiRangeSignature } from '@ember-eui/core/components/eui-range';\nexport interface FieldRangeSliderSignature {\n Element: EuiRangeSignature['Element'];\n Args: FieldBaseSignature['Args'] & EuiFormRowSignature['Args'] & EuiRangeSignature['Args'] & {\n rowClasses?: string;\n fieldClasses?: string;\n formId?: string;\n ariaLabel?: string;\n autofocus?: boolean;\n onChange?: (state: boolean, e: MouseEvent) => void;\n };\n Blocks: {\n label: [];\n prepend: [...EuiRangeSignature['Blocks']['prepend']];\n min: [...EuiRangeSignature['Blocks']['min']];\n valuePrepend: [...EuiRangeSignature['Blocks']['valuePrepend']];\n value: [...EuiRangeSignature['Blocks']['value']];\n valueAppend: [...EuiRangeSignature['Blocks']['valueAppend']];\n append: [...EuiRangeSignature['Blocks']['append']];\n max: [...EuiRangeSignature['Blocks']['max']];\n };\n}\nexport default class ValidatedFormFieldRangeSlider extends ValidatedFormFieldBase<FieldRangeSliderSignature> {\n static{\n template(`\n {{#let (argOrDefault @id (randomId)) as |theId|}}\n <EuiFormRow\n class={{this.rowClasses}}\n @labelType={{@labelType}}\n @display={{@display}}\n @hasEmptyLabelSpace={{@hasEmptyLabelSpace}}\n @fullWidth={{@fullWidth}}\n @hasChildLabel={{@hasChildLabel}}\n @label={{this.label}}\n @labelAppend={{@labelAppend}}\n @id={{theId}}\n @isInvalid={{this.isInvalidAndTouched}}\n @error={{this.validationErrorMessages}}\n @helpText={{@helpText}}\n @errorClasses={{@errorClasses}}\n @isFakeLabelBlock={{not (has-block \"label\")}}\n {{didInsert this.setValidationMessages}}\n {{didUpdate this.didUpdateValue @validations}}\n {{didUpdate this.didUpdateValue @value}}\n >\n <:label>\n {{yield to=\"label\"}}\n </:label>\n\n <:field>\n <EuiRange\n class={{@fieldClasses}}\n form={{@formId}}\n @compressed={{@compressed}}\n @readOnly={{@readOnly}}\n @fullWidth={{@fullWidth}}\n @id={{theId}}\n @levels={{@levels}}\n @step={{@step}}\n @showInput={{@showInput}}\n @showLabels={{@showLabels}}\n @showRange={{@showRange}}\n @showTicks={{@showTicks}}\n @showValue={{@showValue}}\n @disabled={{@disabled}}\n @ticks={{@ticks}}\n @tickInterval={{@tickInterval}}\n @valuePrepend={{@valuePrepend}}\n @valueAppend={{@valueAppend}}\n @onChange={{this.handleChange}}\n @value={{@value}}\n @max={{@max}}\n @isLoading={{@isLoading}}\n @min={{@min}}\n @isInvalid={{this.isInvalidAndTouched}}\n @isPrependProvided={{has-block \"prepend\"}}\n @isAppendProvided={{has-block \"append\"}}\n @isFakeMinBlock={{not (has-block \"min\")}}\n @isFakeMaxBlock={{not (has-block \"max\")}}\n @isFakeValueBlock={{not (has-block \"value\")}}\n @isFakeValuePrependBlock={{not (has-block \"valuePrepend\")}}\n @isFakeValueAppendBlock={{not (has-block \"valueAppend\")}}\n aria-label={{@ariaLabel}}\n autofocus={{@autofocus}}\n ...attributes\n {{on \"blur\" (fn this.setIsTouched true)}}\n >\n <:prepend as |classes|>\n {{yield classes to=\"prepend\"}}\n </:prepend>\n <:min as |min|>\n {{yield min to=\"min\"}}\n </:min>\n <:valuePrepend>\n {{yield to=\"valuePrepend\"}}\n </:valuePrepend>\n <:value>\n {{yield to=\"value\"}}\n </:value>\n <:valueAppend>\n {{yield to=\"valueAppend\"}}\n </:valueAppend>\n <:max as |max|>\n {{yield max to=\"max\"}}\n </:max>\n <:append as |classes|>\n {{yield classes to=\"append\"}}\n </:append>\n </EuiRange>\n </:field>\n </EuiFormRow>\n {{/let}}\n `, {\n component: this,\n eval () {\n return eval(arguments[0]);\n }\n });\n }\n}\n"],"names":["ValidatedFormFieldRangeSlider","ValidatedFormFieldBase","setComponentTemplate","precompileTemplate","scope","argOrDefault","randomId","EuiFormRow","not","didInsert","didUpdate","EuiRange","on","fn","strictMode"],"mappings":";;;;;;;;;;;;;
|
|
1
|
+
{"version":3,"file":"field-range-slider.js","sources":["../../../src/components/validated-form/field-range-slider.gts"],"sourcesContent":["import { template } from \"@ember/template-compiler\";\nimport { fn } from '@ember/helper';\nimport { on } from '@ember/modifier';\nimport didInsert from '@ember/render-modifiers/modifiers/did-insert';\nimport didUpdate from '@ember/render-modifiers/modifiers/did-update';\nimport EuiFormRow from '@ember-eui/core/components/eui-form-row';\nimport EuiRange from '@ember-eui/core/components/eui-range';\nimport { argOrDefault } from '@ember-eui/core/helpers';\nimport { not } from 'ember-truth-helpers';\nimport randomId from '../../-private/random-id';\nimport ValidatedFormFieldBase from './field-base.gts';\nimport type { FieldBaseSignature } from './field-base.gts';\nimport type { EuiFormRowSignature } from '@ember-eui/core/components/eui-form-row';\nimport type { EuiRangeSignature } from '@ember-eui/core/components/eui-range';\nexport interface FieldRangeSliderSignature {\n Element: EuiRangeSignature['Element'];\n Args: FieldBaseSignature['Args'] & EuiFormRowSignature['Args'] & EuiRangeSignature['Args'] & {\n rowClasses?: string;\n fieldClasses?: string;\n formId?: string;\n ariaLabel?: string;\n autofocus?: boolean;\n onChange?: (state: boolean, e: MouseEvent) => void;\n };\n Blocks: {\n label: [];\n helpText: [...EuiFormRowSignature['Blocks']['helpText']];\n prepend: [...EuiRangeSignature['Blocks']['prepend']];\n min: [...EuiRangeSignature['Blocks']['min']];\n valuePrepend: [...EuiRangeSignature['Blocks']['valuePrepend']];\n value: [...EuiRangeSignature['Blocks']['value']];\n valueAppend: [...EuiRangeSignature['Blocks']['valueAppend']];\n append: [...EuiRangeSignature['Blocks']['append']];\n max: [...EuiRangeSignature['Blocks']['max']];\n };\n}\nexport default class ValidatedFormFieldRangeSlider extends ValidatedFormFieldBase<FieldRangeSliderSignature> {\n static{\n template(`\n {{#let (argOrDefault @id (randomId)) as |theId|}}\n <EuiFormRow\n class={{this.rowClasses}}\n @labelType={{@labelType}}\n @display={{@display}}\n @hasEmptyLabelSpace={{@hasEmptyLabelSpace}}\n @fullWidth={{@fullWidth}}\n @hasChildLabel={{@hasChildLabel}}\n @label={{this.label}}\n @labelAppend={{@labelAppend}}\n @id={{theId}}\n @isInvalid={{this.isInvalidAndTouched}}\n @error={{this.validationErrorMessages}}\n @helpText={{@helpText}}\n @errorClasses={{@errorClasses}}\n @isFakeLabelBlock={{not (has-block \"label\")}}\n @isFakeHelpTextBlock={{not (has-block \"helpText\")}}\n {{didInsert this.setValidationMessages}}\n {{didUpdate this.didUpdateValue @validations}}\n {{didUpdate this.didUpdateValue @value}}\n >\n <:label>\n {{yield to=\"label\"}}\n </:label>\n\n <:field>\n <EuiRange\n class={{@fieldClasses}}\n form={{@formId}}\n @compressed={{@compressed}}\n @readOnly={{@readOnly}}\n @fullWidth={{@fullWidth}}\n @id={{theId}}\n @levels={{@levels}}\n @step={{@step}}\n @showInput={{@showInput}}\n @showLabels={{@showLabels}}\n @showRange={{@showRange}}\n @showTicks={{@showTicks}}\n @showValue={{@showValue}}\n @disabled={{@disabled}}\n @ticks={{@ticks}}\n @tickInterval={{@tickInterval}}\n @valuePrepend={{@valuePrepend}}\n @valueAppend={{@valueAppend}}\n @onChange={{this.handleChange}}\n @value={{@value}}\n @max={{@max}}\n @isLoading={{@isLoading}}\n @min={{@min}}\n @isInvalid={{this.isInvalidAndTouched}}\n @isPrependProvided={{has-block \"prepend\"}}\n @isAppendProvided={{has-block \"append\"}}\n @isFakeMinBlock={{not (has-block \"min\")}}\n @isFakeMaxBlock={{not (has-block \"max\")}}\n @isFakeValueBlock={{not (has-block \"value\")}}\n @isFakeValuePrependBlock={{not (has-block \"valuePrepend\")}}\n @isFakeValueAppendBlock={{not (has-block \"valueAppend\")}}\n aria-label={{@ariaLabel}}\n autofocus={{@autofocus}}\n ...attributes\n {{on \"blur\" (fn this.setIsTouched true)}}\n >\n <:prepend as |classes|>\n {{yield classes to=\"prepend\"}}\n </:prepend>\n <:min as |min|>\n {{yield min to=\"min\"}}\n </:min>\n <:valuePrepend>\n {{yield to=\"valuePrepend\"}}\n </:valuePrepend>\n <:value>\n {{yield to=\"value\"}}\n </:value>\n <:valueAppend>\n {{yield to=\"valueAppend\"}}\n </:valueAppend>\n <:max as |max|>\n {{yield max to=\"max\"}}\n </:max>\n <:append as |classes|>\n {{yield classes to=\"append\"}}\n </:append>\n </EuiRange>\n </:field>\n <:helpText as |helpText|>\n {{yield helpText to=\"helpText\"}} \n </:helpText>\n </EuiFormRow>\n {{/let}}\n `, {\n component: this,\n eval () {\n return eval(arguments[0]);\n }\n });\n }\n}\n"],"names":["ValidatedFormFieldRangeSlider","ValidatedFormFieldBase","setComponentTemplate","precompileTemplate","scope","argOrDefault","randomId","EuiFormRow","not","didInsert","didUpdate","EuiRange","on","fn","strictMode"],"mappings":";;;;;;;;;;;;;AAoCe,MAAMA,6BAA6B,SAASC,sBAAsB,CAA4B;AACzG,EAAA;IACIC,oBAAA,CAAAC,kBAAA,CA4FH,mpFAAA,EAAA;AAAAC,MAAAA,KAAA,EAAAA,OAAA;QAAAC,YAAA;QAAAC,QAAA;QAAAC,UAAA;QAAAC,GAAA;QAAAC,SAAA;QAAAC,SAAA;QAAAC,QAAA;QAAAC,EAAA;AAAAC,QAAAA,EAAAA;AAAA,OAAA,CAAA;MAAAC,UAAA,EAAA,IAAA;KAKI,CAAC,EAJa,IAAI,CAAA,CAAA;AAKvB,GAAA;AACJ;;;;"}
|
|
@@ -13,7 +13,7 @@ import { setComponentTemplate } from '@ember/component';
|
|
|
13
13
|
|
|
14
14
|
class ValidatedFormFieldSelect extends ValidatedFormFieldBase {
|
|
15
15
|
static {
|
|
16
|
-
setComponentTemplate(precompileTemplate("\n {{#let (argOrDefault @id (randomId)) as |theId|}}\n <EuiFormRow class={{this.rowClasses}} @labelType={{@labelType}} @display={{@display}} @hasEmptyLabelSpace={{@hasEmptyLabelSpace}} @fullWidth={{@fullWidth}} @hasChildLabel={{@hasChildLabel}} @label={{this.label}} @labelAppend={{@labelAppend}} @id={{theId}} @isInvalid={{this.isInvalidAndTouched}} @error={{this.validationErrorMessages}} @helpText={{@helpText}} @errorClasses={{@errorClasses}} @isFakeLabelBlock={{not (has-block \"label\")}} {{didInsert this.setValidationMessages}} {{didUpdate this.didUpdateValue @validations}} {{didUpdate this.didUpdateValue @value}}>\n <:label>\n {{yield to=\"label\"}}\n </:label>\n\n <:field>\n <EuiSelect aria-label={{@ariaLabel}} class={{@fieldClasses}} form={{@formId}} @options={{this.options}} @isInvalid={{this.isInvalidAndTouched}} @fullWidth={{@fullWidth}} @isLoading={{@isLoading}} @hasNoInitialSelection={{@hasNoInitialSelection}} @inputRef={{@inputRef}} @disabled={{@disabled}} @value={{@value}} @compressed={{@compressed}} @isFakePrependBlock={{not (has-block \"prepend\")}} @isFakeAppendBlock={{not (has-block \"append\")}} @id={{theId}} autofocus={{@autofocus}} ...attributes {{on \"blur\" (fn this.setIsTouched true)}} {{on \"change\" this.handleChange}}>\n <:prepend as |classes inputId|>\n {{yield classes inputId to=\"prepend\"}}\n </:prepend>\n <:append as |classes inputId|>\n {{yield classes inputId to=\"append\"}}\n </:append>\n </EuiSelect>\n </:field>\n </EuiFormRow>\n {{/let}}\n ", {
|
|
16
|
+
setComponentTemplate(precompileTemplate("\n {{#let (argOrDefault @id (randomId)) as |theId|}}\n <EuiFormRow class={{this.rowClasses}} @labelType={{@labelType}} @display={{@display}} @hasEmptyLabelSpace={{@hasEmptyLabelSpace}} @fullWidth={{@fullWidth}} @hasChildLabel={{@hasChildLabel}} @label={{this.label}} @labelAppend={{@labelAppend}} @id={{theId}} @isInvalid={{this.isInvalidAndTouched}} @error={{this.validationErrorMessages}} @helpText={{@helpText}} @errorClasses={{@errorClasses}} @isFakeLabelBlock={{not (has-block \"label\")}} @isFakeHelpTextBlock={{not (has-block \"helpText\")}} {{didInsert this.setValidationMessages}} {{didUpdate this.didUpdateValue @validations}} {{didUpdate this.didUpdateValue @value}}>\n <:label>\n {{yield to=\"label\"}}\n </:label>\n\n <:field>\n <EuiSelect aria-label={{@ariaLabel}} class={{@fieldClasses}} form={{@formId}} @options={{this.options}} @isInvalid={{this.isInvalidAndTouched}} @fullWidth={{@fullWidth}} @isLoading={{@isLoading}} @hasNoInitialSelection={{@hasNoInitialSelection}} @inputRef={{@inputRef}} @disabled={{@disabled}} @value={{@value}} @compressed={{@compressed}} @isFakePrependBlock={{not (has-block \"prepend\")}} @isFakeAppendBlock={{not (has-block \"append\")}} @id={{theId}} autofocus={{@autofocus}} ...attributes {{on \"blur\" (fn this.setIsTouched true)}} {{on \"change\" this.handleChange}}>\n <:prepend as |classes inputId|>\n {{yield classes inputId to=\"prepend\"}}\n </:prepend>\n <:append as |classes inputId|>\n {{yield classes inputId to=\"append\"}}\n </:append>\n </EuiSelect>\n </:field>\n <:helpText as |helpText|>\n {{yield helpText to=\"helpText\"}}\n </:helpText>\n </EuiFormRow>\n {{/let}}\n ", {
|
|
17
17
|
scope: () => ({
|
|
18
18
|
argOrDefault,
|
|
19
19
|
randomId,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"field-select.js","sources":["../../../src/components/validated-form/field-select.gts"],"sourcesContent":["import { template } from \"@ember/template-compiler\";\nimport { fn } from '@ember/helper';\nimport { on } from '@ember/modifier';\nimport didInsert from '@ember/render-modifiers/modifiers/did-insert';\nimport didUpdate from '@ember/render-modifiers/modifiers/did-update';\nimport EuiFormRow from '@ember-eui/core/components/eui-form-row';\nimport EuiSelect from '@ember-eui/core/components/eui-select';\nimport { argOrDefault } from '@ember-eui/core/helpers';\nimport { not } from 'ember-truth-helpers';\nimport randomId from '../../-private/random-id';\nimport ValidatedFormFieldBase from './field-base.gts';\nimport type { FieldBaseSignature } from './field-base.gts';\nimport type { EuiFormRowSignature } from '@ember-eui/core/components/eui-form-row';\nimport type { EuiSelectSignature } from '@ember-eui/core/components/eui-select';\nexport interface FieldSelectSignature {\n Element: EuiSelectSignature['Element'];\n Args: FieldBaseSignature['Args'] & EuiFormRowSignature['Args'] & EuiSelectSignature['Args'] & {\n rowClasses?: string;\n fieldClasses?: string;\n formId?: string;\n ariaLabel?: string;\n autofocus?: boolean;\n onChange?: (state: boolean, e: MouseEvent) => void;\n };\n Blocks: {\n label: [];\n prepend: [...EuiSelectSignature['Blocks']['prepend']];\n append: [...EuiSelectSignature['Blocks']['append']];\n };\n}\nexport default class ValidatedFormFieldSelect extends ValidatedFormFieldBase<FieldSelectSignature> {\n static{\n template(`\n {{#let (argOrDefault @id (randomId)) as |theId|}}\n <EuiFormRow\n class={{this.rowClasses}}\n @labelType={{@labelType}}\n @display={{@display}}\n @hasEmptyLabelSpace={{@hasEmptyLabelSpace}}\n @fullWidth={{@fullWidth}}\n @hasChildLabel={{@hasChildLabel}}\n @label={{this.label}}\n @labelAppend={{@labelAppend}}\n @id={{theId}}\n @isInvalid={{this.isInvalidAndTouched}}\n @error={{this.validationErrorMessages}}\n @helpText={{@helpText}}\n @errorClasses={{@errorClasses}}\n @isFakeLabelBlock={{not (has-block \"label\")}}\n {{didInsert this.setValidationMessages}}\n {{didUpdate this.didUpdateValue @validations}}\n {{didUpdate this.didUpdateValue @value}}\n >\n <:label>\n {{yield to=\"label\"}}\n </:label>\n\n <:field>\n <EuiSelect\n aria-label={{@ariaLabel}}\n class={{@fieldClasses}}\n form={{@formId}}\n @options={{this.options}}\n @isInvalid={{this.isInvalidAndTouched}}\n @fullWidth={{@fullWidth}}\n @isLoading={{@isLoading}}\n @hasNoInitialSelection={{@hasNoInitialSelection}}\n @inputRef={{@inputRef}}\n @disabled={{@disabled}}\n @value={{@value}}\n @compressed={{@compressed}}\n @isFakePrependBlock={{not (has-block \"prepend\")}}\n @isFakeAppendBlock={{not (has-block \"append\")}}\n @id={{theId}}\n autofocus={{@autofocus}}\n ...attributes\n {{on \"blur\" (fn this.setIsTouched true)}}\n {{on \"change\" this.handleChange}}\n >\n <:prepend as |classes inputId|>\n {{yield classes inputId to=\"prepend\"}}\n </:prepend>\n <:append as |classes inputId|>\n {{yield classes inputId to=\"append\"}}\n </:append>\n </EuiSelect>\n </:field>\n </EuiFormRow>\n {{/let}}\n `, {\n component: this,\n eval () {\n return eval(arguments[0]);\n }\n });\n }\n}\n"],"names":["ValidatedFormFieldSelect","ValidatedFormFieldBase","setComponentTemplate","precompileTemplate","scope","argOrDefault","randomId","EuiFormRow","not","didInsert","didUpdate","EuiSelect","on","fn","strictMode"],"mappings":";;;;;;;;;;;;;
|
|
1
|
+
{"version":3,"file":"field-select.js","sources":["../../../src/components/validated-form/field-select.gts"],"sourcesContent":["import { template } from \"@ember/template-compiler\";\nimport { fn } from '@ember/helper';\nimport { on } from '@ember/modifier';\nimport didInsert from '@ember/render-modifiers/modifiers/did-insert';\nimport didUpdate from '@ember/render-modifiers/modifiers/did-update';\nimport EuiFormRow from '@ember-eui/core/components/eui-form-row';\nimport EuiSelect from '@ember-eui/core/components/eui-select';\nimport { argOrDefault } from '@ember-eui/core/helpers';\nimport { not } from 'ember-truth-helpers';\nimport randomId from '../../-private/random-id';\nimport ValidatedFormFieldBase from './field-base.gts';\nimport type { FieldBaseSignature } from './field-base.gts';\nimport type { EuiFormRowSignature } from '@ember-eui/core/components/eui-form-row';\nimport type { EuiSelectSignature } from '@ember-eui/core/components/eui-select';\nexport interface FieldSelectSignature {\n Element: EuiSelectSignature['Element'];\n Args: FieldBaseSignature['Args'] & EuiFormRowSignature['Args'] & EuiSelectSignature['Args'] & {\n rowClasses?: string;\n fieldClasses?: string;\n formId?: string;\n ariaLabel?: string;\n autofocus?: boolean;\n onChange?: (state: boolean, e: MouseEvent) => void;\n };\n Blocks: {\n label: [];\n helpText: [...EuiFormRowSignature['Blocks']['helpText']];\n prepend: [...EuiSelectSignature['Blocks']['prepend']];\n append: [...EuiSelectSignature['Blocks']['append']];\n };\n}\nexport default class ValidatedFormFieldSelect extends ValidatedFormFieldBase<FieldSelectSignature> {\n static{\n template(`\n {{#let (argOrDefault @id (randomId)) as |theId|}}\n <EuiFormRow\n class={{this.rowClasses}}\n @labelType={{@labelType}}\n @display={{@display}}\n @hasEmptyLabelSpace={{@hasEmptyLabelSpace}}\n @fullWidth={{@fullWidth}}\n @hasChildLabel={{@hasChildLabel}}\n @label={{this.label}}\n @labelAppend={{@labelAppend}}\n @id={{theId}}\n @isInvalid={{this.isInvalidAndTouched}}\n @error={{this.validationErrorMessages}}\n @helpText={{@helpText}}\n @errorClasses={{@errorClasses}}\n @isFakeLabelBlock={{not (has-block \"label\")}}\n @isFakeHelpTextBlock={{not (has-block \"helpText\")}}\n {{didInsert this.setValidationMessages}}\n {{didUpdate this.didUpdateValue @validations}}\n {{didUpdate this.didUpdateValue @value}}\n >\n <:label>\n {{yield to=\"label\"}}\n </:label>\n\n <:field>\n <EuiSelect\n aria-label={{@ariaLabel}}\n class={{@fieldClasses}}\n form={{@formId}}\n @options={{this.options}}\n @isInvalid={{this.isInvalidAndTouched}}\n @fullWidth={{@fullWidth}}\n @isLoading={{@isLoading}}\n @hasNoInitialSelection={{@hasNoInitialSelection}}\n @inputRef={{@inputRef}}\n @disabled={{@disabled}}\n @value={{@value}}\n @compressed={{@compressed}}\n @isFakePrependBlock={{not (has-block \"prepend\")}}\n @isFakeAppendBlock={{not (has-block \"append\")}}\n @id={{theId}}\n autofocus={{@autofocus}}\n ...attributes\n {{on \"blur\" (fn this.setIsTouched true)}}\n {{on \"change\" this.handleChange}}\n >\n <:prepend as |classes inputId|>\n {{yield classes inputId to=\"prepend\"}}\n </:prepend>\n <:append as |classes inputId|>\n {{yield classes inputId to=\"append\"}}\n </:append>\n </EuiSelect>\n </:field>\n <:helpText as |helpText|>\n {{yield helpText to=\"helpText\"}}\n </:helpText>\n </EuiFormRow>\n {{/let}}\n `, {\n component: this,\n eval () {\n return eval(arguments[0]);\n }\n });\n }\n}\n"],"names":["ValidatedFormFieldSelect","ValidatedFormFieldBase","setComponentTemplate","precompileTemplate","scope","argOrDefault","randomId","EuiFormRow","not","didInsert","didUpdate","EuiSelect","on","fn","strictMode"],"mappings":";;;;;;;;;;;;;AA+Be,MAAMA,wBAAwB,SAASC,sBAAsB,CAAuB;AAC/F,EAAA;IACIC,oBAAA,CAAAC,kBAAA,CA6DH,wwDAAA,EAAA;AAAAC,MAAAA,KAAA,EAAAA,OAAA;QAAAC,YAAA;QAAAC,QAAA;QAAAC,UAAA;QAAAC,GAAA;QAAAC,SAAA;QAAAC,SAAA;QAAAC,SAAA;QAAAC,EAAA;AAAAC,QAAAA,EAAAA;AAAA,OAAA,CAAA;MAAAC,UAAA,EAAA,IAAA;KAKI,CAAC,EAJa,IAAI,CAAA,CAAA;AAKvB,GAAA;AACJ;;;;"}
|
|
@@ -24,7 +24,7 @@ class ValidatedFormFieldSwitch extends ValidatedFormFieldBase {
|
|
|
24
24
|
n(this.prototype, "handleChange", [action]);
|
|
25
25
|
}
|
|
26
26
|
static {
|
|
27
|
-
setComponentTemplate(precompileTemplate("\n {{#let (argOrDefault @id (randomId)) as |theId|}}\n <EuiFormRow class={{this.rowClasses}} @labelType={{@labelType}} @display={{@display}} @hasEmptyLabelSpace={{@hasEmptyLabelSpace}} @fullWidth={{@fullWidth}} @hasChildLabel={{@hasChildLabel}} @label={{this.label}} @labelAppend={{@labelAppend}} @id={{theId}} @isInvalid={{this.isInvalidAndTouched}} @error={{this.validationErrorMessages}} @helpText={{@helpText}} @errorClasses={{@errorClasses}} @isFakeLabelBlock={{not (has-block \"label\")}} {{didInsert this.setValidationMessages}} {{didUpdate this.didUpdateValue @validations}} {{didUpdate this.didUpdateValue @value}}>\n <:label>\n {{yield to=\"label\"}}\n </:label>\n <:field>\n <EuiSwitch class={{@fieldClasses}} form={{@formId}} aria-label={{@ariaLabel}} @id={{theId}} @showLabel={{@showLabel}} @label={{@switchLabel}} @checked={{@value}} @onChange={{this.handleChange}} @isFakeLabelBlock={{not (has-block \"switch-label\")}} @disabled={{@disabled}} @compressed={{@compressed}} @type={{@type}} {{on \"blur\" (fn this.setIsTouched true)}} ...attributes>\n <:label>\n {{yield to=\"switch-label\"}}\n </:label>\n </EuiSwitch>\n </:field>\n </EuiFormRow>\n {{/let}}\n ", {
|
|
27
|
+
setComponentTemplate(precompileTemplate("\n {{#let (argOrDefault @id (randomId)) as |theId|}}\n <EuiFormRow class={{this.rowClasses}} @labelType={{@labelType}} @display={{@display}} @hasEmptyLabelSpace={{@hasEmptyLabelSpace}} @fullWidth={{@fullWidth}} @hasChildLabel={{@hasChildLabel}} @label={{this.label}} @labelAppend={{@labelAppend}} @id={{theId}} @isInvalid={{this.isInvalidAndTouched}} @error={{this.validationErrorMessages}} @helpText={{@helpText}} @errorClasses={{@errorClasses}} @isFakeLabelBlock={{not (has-block \"label\")}} @isFakeHelpTextBlock={{not (has-block \"helpText\")}} {{didInsert this.setValidationMessages}} {{didUpdate this.didUpdateValue @validations}} {{didUpdate this.didUpdateValue @value}}>\n <:label>\n {{yield to=\"label\"}}\n </:label>\n <:field>\n <EuiSwitch class={{@fieldClasses}} form={{@formId}} aria-label={{@ariaLabel}} @id={{theId}} @showLabel={{@showLabel}} @label={{@switchLabel}} @checked={{@value}} @onChange={{this.handleChange}} @isFakeLabelBlock={{not (has-block \"switch-label\")}} @disabled={{@disabled}} @compressed={{@compressed}} @type={{@type}} {{on \"blur\" (fn this.setIsTouched true)}} ...attributes>\n <:label>\n {{yield to=\"switch-label\"}}\n </:label>\n </EuiSwitch>\n </:field>\n <:helpText as |helpText|>\n {{yield helpText to=\"helpText\"}}\n </:helpText>\n </EuiFormRow>\n {{/let}}\n ", {
|
|
28
28
|
scope: () => ({
|
|
29
29
|
argOrDefault,
|
|
30
30
|
randomId,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"field-switch.js","sources":["../../../src/components/validated-form/field-switch.gts"],"sourcesContent":["import { template } from \"@ember/template-compiler\";\nimport { fn } from '@ember/helper';\nimport { on } from '@ember/modifier';\nimport { action } from '@ember/object';\nimport didInsert from '@ember/render-modifiers/modifiers/did-insert';\nimport didUpdate from '@ember/render-modifiers/modifiers/did-update';\nimport EuiFormRow from '@ember-eui/core/components/eui-form-row';\nimport EuiSwitch from '@ember-eui/core/components/eui-switch';\nimport { argOrDefault } from '@ember-eui/core/helpers';\nimport { not } from 'ember-truth-helpers';\nimport randomId from '../../-private/random-id';\nimport ValidatedFormFieldBase from './field-base.gts';\nimport type { FieldBaseSignature } from './field-base.gts';\nimport type { EuiFormRowSignature } from '@ember-eui/core/components/eui-form-row';\nimport type { EuiSwitchSignature } from '@ember-eui/core/components/eui-switch';\nexport interface FieldSwitchSignature {\n Element: EuiSwitchSignature['Element'];\n Args: FieldBaseSignature['Args'] & EuiFormRowSignature['Args'] & EuiSwitchSignature['Args'] & {\n rowClasses?: string;\n fieldClasses?: string;\n formId?: string;\n ariaLabel?: string;\n autofocus?: boolean;\n switchLabel?: EuiSwitchSignature['Args']['label'];\n onChange?: (state: boolean, e: MouseEvent) => void;\n };\n Blocks: {\n label: [];\n 'switch-label': [];\n };\n}\nexport default class ValidatedFormFieldSwitch extends ValidatedFormFieldBase<FieldSwitchSignature> {\n @action\n handleChange(e1: MouseEvent) {\n e1.preventDefault();\n const checked1 = (e1.target as HTMLInputElement).checked;\n this.args.onChange?.(checked1, e1);\n this.notifyValidityChange();\n }\n static{\n template(`\n {{#let (argOrDefault @id (randomId)) as |theId|}}\n <EuiFormRow\n class={{this.rowClasses}}\n @labelType={{@labelType}}\n @display={{@display}}\n @hasEmptyLabelSpace={{@hasEmptyLabelSpace}}\n @fullWidth={{@fullWidth}}\n @hasChildLabel={{@hasChildLabel}}\n @label={{this.label}}\n @labelAppend={{@labelAppend}}\n @id={{theId}}\n @isInvalid={{this.isInvalidAndTouched}}\n @error={{this.validationErrorMessages}}\n @helpText={{@helpText}}\n @errorClasses={{@errorClasses}}\n @isFakeLabelBlock={{not (has-block \"label\")}}\n {{didInsert this.setValidationMessages}}\n {{didUpdate this.didUpdateValue @validations}}\n {{didUpdate this.didUpdateValue @value}}\n >\n <:label>\n {{yield to=\"label\"}}\n </:label>\n <:field>\n <EuiSwitch\n class={{@fieldClasses}}\n form={{@formId}}\n aria-label={{@ariaLabel}}\n @id={{theId}}\n @showLabel={{@showLabel}}\n @label={{@switchLabel}}\n @checked={{@value}}\n @onChange={{this.handleChange}}\n @isFakeLabelBlock={{not (has-block \"switch-label\")}}\n @disabled={{@disabled}}\n @compressed={{@compressed}}\n @type={{@type}}\n {{on \"blur\" (fn this.setIsTouched true)}}\n ...attributes\n >\n <:label>\n {{yield to=\"switch-label\"}}\n </:label>\n </EuiSwitch>\n </:field>\n </EuiFormRow>\n {{/let}}\n `, {\n component: this,\n eval () {\n return eval(arguments[0]);\n }\n });\n }\n}\n"],"names":["ValidatedFormFieldSwitch","ValidatedFormFieldBase","handleChange","e1","preventDefault","checked1","target","checked","args","onChange","notifyValidityChange","n","this","prototype","action","setComponentTemplate","precompileTemplate","scope","argOrDefault","randomId","EuiFormRow","not","didInsert","didUpdate","EuiSwitch","on","fn","strictMode"],"mappings":";;;;;;;;;;;;;;;
|
|
1
|
+
{"version":3,"file":"field-switch.js","sources":["../../../src/components/validated-form/field-switch.gts"],"sourcesContent":["import { template } from \"@ember/template-compiler\";\nimport { fn } from '@ember/helper';\nimport { on } from '@ember/modifier';\nimport { action } from '@ember/object';\nimport didInsert from '@ember/render-modifiers/modifiers/did-insert';\nimport didUpdate from '@ember/render-modifiers/modifiers/did-update';\nimport EuiFormRow from '@ember-eui/core/components/eui-form-row';\nimport EuiSwitch from '@ember-eui/core/components/eui-switch';\nimport { argOrDefault } from '@ember-eui/core/helpers';\nimport { not } from 'ember-truth-helpers';\nimport randomId from '../../-private/random-id';\nimport ValidatedFormFieldBase from './field-base.gts';\nimport type { FieldBaseSignature } from './field-base.gts';\nimport type { EuiFormRowSignature } from '@ember-eui/core/components/eui-form-row';\nimport type { EuiSwitchSignature } from '@ember-eui/core/components/eui-switch';\nexport interface FieldSwitchSignature {\n Element: EuiSwitchSignature['Element'];\n Args: FieldBaseSignature['Args'] & EuiFormRowSignature['Args'] & EuiSwitchSignature['Args'] & {\n rowClasses?: string;\n fieldClasses?: string;\n formId?: string;\n ariaLabel?: string;\n autofocus?: boolean;\n switchLabel?: EuiSwitchSignature['Args']['label'];\n onChange?: (state: boolean, e: MouseEvent) => void;\n };\n Blocks: {\n label: [];\n helpText: EuiFormRowSignature['Blocks']['helpText'];\n 'switch-label': [];\n };\n}\nexport default class ValidatedFormFieldSwitch extends ValidatedFormFieldBase<FieldSwitchSignature> {\n @action\n handleChange(e1: MouseEvent) {\n e1.preventDefault();\n const checked1 = (e1.target as HTMLInputElement).checked;\n this.args.onChange?.(checked1, e1);\n this.notifyValidityChange();\n }\n static{\n template(`\n {{#let (argOrDefault @id (randomId)) as |theId|}}\n <EuiFormRow\n class={{this.rowClasses}}\n @labelType={{@labelType}}\n @display={{@display}}\n @hasEmptyLabelSpace={{@hasEmptyLabelSpace}}\n @fullWidth={{@fullWidth}}\n @hasChildLabel={{@hasChildLabel}}\n @label={{this.label}}\n @labelAppend={{@labelAppend}}\n @id={{theId}}\n @isInvalid={{this.isInvalidAndTouched}}\n @error={{this.validationErrorMessages}}\n @helpText={{@helpText}}\n @errorClasses={{@errorClasses}}\n @isFakeLabelBlock={{not (has-block \"label\")}}\n @isFakeHelpTextBlock={{not (has-block \"helpText\")}}\n {{didInsert this.setValidationMessages}}\n {{didUpdate this.didUpdateValue @validations}}\n {{didUpdate this.didUpdateValue @value}}\n >\n <:label>\n {{yield to=\"label\"}}\n </:label>\n <:field>\n <EuiSwitch\n class={{@fieldClasses}}\n form={{@formId}}\n aria-label={{@ariaLabel}}\n @id={{theId}}\n @showLabel={{@showLabel}}\n @label={{@switchLabel}}\n @checked={{@value}}\n @onChange={{this.handleChange}}\n @isFakeLabelBlock={{not (has-block \"switch-label\")}}\n @disabled={{@disabled}}\n @compressed={{@compressed}}\n @type={{@type}}\n {{on \"blur\" (fn this.setIsTouched true)}}\n ...attributes\n >\n <:label>\n {{yield to=\"switch-label\"}}\n </:label>\n </EuiSwitch>\n </:field>\n <:helpText as |helpText|>\n {{yield helpText to=\"helpText\"}}\n </:helpText>\n </EuiFormRow>\n {{/let}}\n `, {\n component: this,\n eval () {\n return eval(arguments[0]);\n }\n });\n }\n}\n"],"names":["ValidatedFormFieldSwitch","ValidatedFormFieldBase","handleChange","e1","preventDefault","checked1","target","checked","args","onChange","notifyValidityChange","n","this","prototype","action","setComponentTemplate","precompileTemplate","scope","argOrDefault","randomId","EuiFormRow","not","didInsert","didUpdate","EuiSwitch","on","fn","strictMode"],"mappings":";;;;;;;;;;;;;;;AAgCe,MAAMA,wBAAwB,SAASC,sBAAsB,CAAuB;EAE/FC,YAAYA,CAACC,EAAc,EAAE;IACzBA,EAAE,CAACC,cAAc,EAAE,CAAA;AACnB,IAAA,MAAMC,QAAQ,GAAIF,EAAE,CAACG,MAAM,CAAsBC,OAAO,CAAA;IACxD,IAAI,CAACC,IAAI,CAACC,QAAQ,GAAGJ,QAAQ,EAAEF,EAAE,CAAC,CAAA;IAClC,IAAI,CAACO,oBAAoB,EAAE,CAAA;AAC/B,GAAA;AAAC,EAAA;AAAAC,IAAAA,CAAA,CAAAC,IAAA,CAAAC,SAAA,mBANAC,MAAM,CAAA,CAAA,CAAA;AAAA,GAAA;AAOP,EAAA;IACIC,oBAAA,CAAAC,kBAAA,CAoDH,+5CAAA,EAAA;AAAAC,MAAAA,KAAA,EAAAA,OAAA;QAAAC,YAAA;QAAAC,QAAA;QAAAC,UAAA;QAAAC,GAAA;QAAAC,SAAA;QAAAC,SAAA;QAAAC,SAAA;QAAAC,EAAA;AAAAC,QAAAA,EAAAA;AAAA,OAAA,CAAA;MAAAC,UAAA,EAAA,IAAA;KAKI,CAAC,EAJa,IAAI,CAAA,CAAA;AAKvB,GAAA;AACJ;;;;"}
|
|
@@ -13,7 +13,7 @@ import { setComponentTemplate } from '@ember/component';
|
|
|
13
13
|
|
|
14
14
|
class ValidatedFormFieldTextArea extends ValidatedFormFieldBase {
|
|
15
15
|
static {
|
|
16
|
-
setComponentTemplate(precompileTemplate("\n {{#let (argOrDefault @id (randomId)) as |theId|}}\n <EuiFormRow class={{this.rowClasses}} @labelType={{@labelType}} @display={{@display}} @hasEmptyLabelSpace={{@hasEmptyLabelSpace}} @fullWidth={{@fullWidth}} @hasChildLabel={{@hasChildLabel}} @label={{this.label}} @labelAppend={{@labelAppend}} @id={{theId}} @isInvalid={{this.isInvalidAndTouched}} @error={{this.validationErrorMessages}} @helpText={{@helpText}} @errorClasses={{@errorClasses}} @isFakeLabelBlock={{not (has-block \"label\")}} {{didInsert this.setValidationMessages}} {{didUpdate this.didUpdateValue @validations}} {{didUpdate this.didUpdateValue @value}}>\n <:label>\n {{yield to=\"label\"}}\n </:label>\n <:field>\n <EuiTextArea class={{@fieldClasses}} form={{@formId}} aria-label={{@ariaLabel}} @value={{@value}} @isInvalid={{this.isInvalidAndTouched}} @fullWidth={{@fullWidth}} @compressed={{@compressed}} @resize={{@resize}} @disabled={{@disabled}} @inputRef={{@inputRef}} @id={{theId}} @rows={{@rows}} autofocus={{@autofocus}} placeholder={{@placeholder}} ...attributes {{on \"blur\" (fn this.setIsTouched true)}} {{on \"input\" this.handleChange}}>\n {{yield}}\n </EuiTextArea>\n </:field>\n </EuiFormRow>\n {{/let}}\n ", {
|
|
16
|
+
setComponentTemplate(precompileTemplate("\n {{#let (argOrDefault @id (randomId)) as |theId|}}\n <EuiFormRow class={{this.rowClasses}} @labelType={{@labelType}} @display={{@display}} @hasEmptyLabelSpace={{@hasEmptyLabelSpace}} @fullWidth={{@fullWidth}} @hasChildLabel={{@hasChildLabel}} @label={{this.label}} @labelAppend={{@labelAppend}} @id={{theId}} @isInvalid={{this.isInvalidAndTouched}} @error={{this.validationErrorMessages}} @helpText={{@helpText}} @errorClasses={{@errorClasses}} @isFakeLabelBlock={{not (has-block \"label\")}} @isFakeHelpTextBlock={{not (has-block \"helpText\")}} {{didInsert this.setValidationMessages}} {{didUpdate this.didUpdateValue @validations}} {{didUpdate this.didUpdateValue @value}}>\n <:label>\n {{yield to=\"label\"}}\n </:label>\n <:field>\n <EuiTextArea class={{@fieldClasses}} form={{@formId}} aria-label={{@ariaLabel}} @value={{@value}} @isInvalid={{this.isInvalidAndTouched}} @fullWidth={{@fullWidth}} @compressed={{@compressed}} @resize={{@resize}} @disabled={{@disabled}} @inputRef={{@inputRef}} @id={{theId}} @rows={{@rows}} autofocus={{@autofocus}} placeholder={{@placeholder}} ...attributes {{on \"blur\" (fn this.setIsTouched true)}} {{on \"input\" this.handleChange}}>\n {{yield}}\n </EuiTextArea>\n </:field>\n <:helpText as |helpText|>\n {{yield helpText to=\"helpText\"}}\n </:helpText>\n </EuiFormRow>\n {{/let}}\n ", {
|
|
17
17
|
scope: () => ({
|
|
18
18
|
argOrDefault,
|
|
19
19
|
randomId,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"field-text-area.js","sources":["../../../src/components/validated-form/field-text-area.gts"],"sourcesContent":["import { template } from \"@ember/template-compiler\";\nimport { fn } from '@ember/helper';\nimport { on } from '@ember/modifier';\nimport didInsert from '@ember/render-modifiers/modifiers/did-insert';\nimport didUpdate from '@ember/render-modifiers/modifiers/did-update';\nimport EuiFormRow from '@ember-eui/core/components/eui-form-row';\nimport EuiTextArea from '@ember-eui/core/components/eui-text-area';\nimport { argOrDefault } from '@ember-eui/core/helpers';\nimport { not } from 'ember-truth-helpers';\nimport randomId from '../../-private/random-id';\nimport ValidatedFormFieldBase from './field-base.gts';\nimport type { FieldBaseSignature } from './field-base.gts';\nimport type { EuiFormRowSignature } from '@ember-eui/core/components/eui-form-row';\nimport type { EuiTextAreaSignature } from '@ember-eui/core/components/eui-text-area';\nimport type { ComponentLike } from '@glint/template';\nexport interface FieldTextAreaSignature extends FieldBaseSignature {\n Element: EuiTextAreaSignature['Element'];\n Args: FieldBaseSignature['Args'] & EuiFormRowSignature['Args'] & EuiTextAreaSignature['Args'] & {\n formId?: string;\n ariaLabel?: string;\n rows?: number;\n resize?: 'vertical' | 'horizontal' | 'both' | 'none';\n rowClasses?: string;\n fieldClasses?: string;\n labelAppend?: ComponentLike;\n prepend?: ComponentLike;\n append?: ComponentLike;\n placeholder?: string;\n autofocus?: boolean;\n inputRef?: (element: HTMLTextAreaElement) => void;\n };\n Blocks: {\n label: [];\n default: [...EuiTextAreaSignature['Blocks']['default']];\n };\n}\nexport default class ValidatedFormFieldTextArea extends ValidatedFormFieldBase<FieldTextAreaSignature> {\n static{\n template(`\n {{#let (argOrDefault @id (randomId)) as |theId|}}\n <EuiFormRow\n class={{this.rowClasses}}\n @labelType={{@labelType}}\n @display={{@display}}\n @hasEmptyLabelSpace={{@hasEmptyLabelSpace}}\n @fullWidth={{@fullWidth}}\n @hasChildLabel={{@hasChildLabel}}\n @label={{this.label}}\n @labelAppend={{@labelAppend}}\n @id={{theId}}\n @isInvalid={{this.isInvalidAndTouched}}\n @error={{this.validationErrorMessages}}\n @helpText={{@helpText}}\n @errorClasses={{@errorClasses}}\n @isFakeLabelBlock={{not (has-block \"label\")}}\n {{didInsert this.setValidationMessages}}\n {{didUpdate this.didUpdateValue @validations}}\n {{didUpdate this.didUpdateValue @value}}\n >\n <:label>\n {{yield to=\"label\"}}\n </:label>\n <:field>\n <EuiTextArea\n class={{@fieldClasses}}\n form={{@formId}}\n aria-label={{@ariaLabel}}\n @value={{@value}}\n @isInvalid={{this.isInvalidAndTouched}}\n @fullWidth={{@fullWidth}}\n @compressed={{@compressed}}\n @resize={{@resize}}\n @disabled={{@disabled}}\n @inputRef={{@inputRef}}\n @id={{theId}}\n @rows={{@rows}}\n autofocus={{@autofocus}}\n placeholder={{@placeholder}}\n ...attributes\n {{on \"blur\" (fn this.setIsTouched true)}}\n {{on \"input\" this.handleChange}}\n >\n {{yield}}\n </EuiTextArea>\n </:field>\n </EuiFormRow>\n {{/let}}\n `, {\n component: this,\n eval () {\n return eval(arguments[0]);\n }\n });\n }\n}\n"],"names":["ValidatedFormFieldTextArea","ValidatedFormFieldBase","setComponentTemplate","precompileTemplate","scope","argOrDefault","randomId","EuiFormRow","not","didInsert","didUpdate","EuiTextArea","on","fn","strictMode"],"mappings":";;;;;;;;;;;;;
|
|
1
|
+
{"version":3,"file":"field-text-area.js","sources":["../../../src/components/validated-form/field-text-area.gts"],"sourcesContent":["import { template } from \"@ember/template-compiler\";\nimport { fn } from '@ember/helper';\nimport { on } from '@ember/modifier';\nimport didInsert from '@ember/render-modifiers/modifiers/did-insert';\nimport didUpdate from '@ember/render-modifiers/modifiers/did-update';\nimport EuiFormRow from '@ember-eui/core/components/eui-form-row';\nimport EuiTextArea from '@ember-eui/core/components/eui-text-area';\nimport { argOrDefault } from '@ember-eui/core/helpers';\nimport { not } from 'ember-truth-helpers';\nimport randomId from '../../-private/random-id';\nimport ValidatedFormFieldBase from './field-base.gts';\nimport type { FieldBaseSignature } from './field-base.gts';\nimport type { EuiFormRowSignature } from '@ember-eui/core/components/eui-form-row';\nimport type { EuiTextAreaSignature } from '@ember-eui/core/components/eui-text-area';\nimport type { ComponentLike } from '@glint/template';\nexport interface FieldTextAreaSignature extends FieldBaseSignature {\n Element: EuiTextAreaSignature['Element'];\n Args: FieldBaseSignature['Args'] & EuiFormRowSignature['Args'] & EuiTextAreaSignature['Args'] & {\n formId?: string;\n ariaLabel?: string;\n rows?: number;\n resize?: 'vertical' | 'horizontal' | 'both' | 'none';\n rowClasses?: string;\n fieldClasses?: string;\n labelAppend?: ComponentLike;\n prepend?: ComponentLike;\n append?: ComponentLike;\n placeholder?: string;\n autofocus?: boolean;\n inputRef?: (element: HTMLTextAreaElement) => void;\n };\n Blocks: {\n label: [];\n helpText: [...EuiFormRowSignature['Blocks']['helpText']];\n default: [...EuiTextAreaSignature['Blocks']['default']];\n };\n}\nexport default class ValidatedFormFieldTextArea extends ValidatedFormFieldBase<FieldTextAreaSignature> {\n static{\n template(`\n {{#let (argOrDefault @id (randomId)) as |theId|}}\n <EuiFormRow\n class={{this.rowClasses}}\n @labelType={{@labelType}}\n @display={{@display}}\n @hasEmptyLabelSpace={{@hasEmptyLabelSpace}}\n @fullWidth={{@fullWidth}}\n @hasChildLabel={{@hasChildLabel}}\n @label={{this.label}}\n @labelAppend={{@labelAppend}}\n @id={{theId}}\n @isInvalid={{this.isInvalidAndTouched}}\n @error={{this.validationErrorMessages}}\n @helpText={{@helpText}}\n @errorClasses={{@errorClasses}}\n @isFakeLabelBlock={{not (has-block \"label\")}}\n @isFakeHelpTextBlock={{not (has-block \"helpText\")}}\n {{didInsert this.setValidationMessages}}\n {{didUpdate this.didUpdateValue @validations}}\n {{didUpdate this.didUpdateValue @value}}\n >\n <:label>\n {{yield to=\"label\"}}\n </:label>\n <:field>\n <EuiTextArea\n class={{@fieldClasses}}\n form={{@formId}}\n aria-label={{@ariaLabel}}\n @value={{@value}}\n @isInvalid={{this.isInvalidAndTouched}}\n @fullWidth={{@fullWidth}}\n @compressed={{@compressed}}\n @resize={{@resize}}\n @disabled={{@disabled}}\n @inputRef={{@inputRef}}\n @id={{theId}}\n @rows={{@rows}}\n autofocus={{@autofocus}}\n placeholder={{@placeholder}}\n ...attributes\n {{on \"blur\" (fn this.setIsTouched true)}}\n {{on \"input\" this.handleChange}}\n >\n {{yield}}\n </EuiTextArea>\n </:field>\n <:helpText as |helpText|>\n {{yield helpText to=\"helpText\"}}\n </:helpText>\n </EuiFormRow>\n {{/let}}\n `, {\n component: this,\n eval () {\n return eval(arguments[0]);\n }\n });\n }\n}\n"],"names":["ValidatedFormFieldTextArea","ValidatedFormFieldBase","setComponentTemplate","precompileTemplate","scope","argOrDefault","randomId","EuiFormRow","not","didInsert","didUpdate","EuiTextArea","on","fn","strictMode"],"mappings":";;;;;;;;;;;;;AAqCe,MAAMA,0BAA0B,SAASC,sBAAsB,CAAyB;AACnG,EAAA;IACIC,oBAAA,CAAAC,kBAAA,CAqDH,45CAAA,EAAA;AAAAC,MAAAA,KAAA,EAAAA,OAAA;QAAAC,YAAA;QAAAC,QAAA;QAAAC,UAAA;QAAAC,GAAA;QAAAC,SAAA;QAAAC,SAAA;QAAAC,WAAA;QAAAC,EAAA;AAAAC,QAAAA,EAAAA;AAAA,OAAA,CAAA;MAAAC,UAAA,EAAA,IAAA;KAKI,CAAC,EAJa,IAAI,CAAA,CAAA;AAKvB,GAAA;AACJ;;;;"}
|
|
@@ -13,7 +13,7 @@ import { setComponentTemplate } from '@ember/component';
|
|
|
13
13
|
|
|
14
14
|
class ValidatedFormFieldText extends ValidatedFormFieldBase {
|
|
15
15
|
static {
|
|
16
|
-
setComponentTemplate(precompileTemplate("\n {{#let (argOrDefault @id (randomId)) as |theId|}}\n <EuiFormRow class={{this.rowClasses}} @labelType={{@labelType}} @display={{@display}} @hasEmptyLabelSpace={{@hasEmptyLabelSpace}} @fullWidth={{@fullWidth}} @hasChildLabel={{@hasChildLabel}} @label={{this.label}} @labelAppend={{@labelAppend}} @id={{theId}} @isInvalid={{this.isInvalidAndTouched}} @error={{this.validationErrorMessages}} @helpText={{@helpText}} @errorClasses={{@errorClasses}} @isFakeLabelBlock={{not (has-block \"label\")}} {{didInsert this.setValidationMessages}} {{didUpdate this.didUpdateValue @validations}} {{didUpdate this.didUpdateValue @value}}>\n <:label>\n {{yield to=\"label\"}}\n </:label>\n <:field>\n <EuiFieldText class={{@fieldClasses}} aria-label={{@ariaLabel}} form={{@formId}} @value={{@value}} @icon={{@icon}} @isInvalid={{this.isInvalidAndTouched}} @fullWidth={{@fullWidth}} @isLoading={{@isLoading}} @disabled={{@disabled}} @readOnly={{@readOnly}} @inputRef={{@inputRef}} @controlOnly={{@controlOnly}} @compressed={{@compressed}} @clear={{@clear}} @id={{theId}} @isFakePrependBlock={{not (has-block \"prepend\")}} @isFakeAppendBlock={{not (has-block \"append\")}} autofocus={{@autofocus}} placeholder={{@placeholder}} {{on \"blur\" (fn this.setIsTouched true)}} {{on \"input\" this.handleChange}} ...attributes>\n <:prepend as |classes inputId|>\n {{yield classes inputId to=\"prepend\"}}\n </:prepend>\n <:append as |classes inputId|>\n {{yield classes inputId to=\"append\"}}\n </:append>\n </EuiFieldText>\n </:field>\n </EuiFormRow>\n {{/let}}\n ", {
|
|
16
|
+
setComponentTemplate(precompileTemplate("\n {{#let (argOrDefault @id (randomId)) as |theId|}}\n <EuiFormRow class={{this.rowClasses}} @labelType={{@labelType}} @display={{@display}} @hasEmptyLabelSpace={{@hasEmptyLabelSpace}} @fullWidth={{@fullWidth}} @hasChildLabel={{@hasChildLabel}} @label={{this.label}} @labelAppend={{@labelAppend}} @id={{theId}} @isInvalid={{this.isInvalidAndTouched}} @error={{this.validationErrorMessages}} @helpText={{@helpText}} @errorClasses={{@errorClasses}} @isFakeLabelBlock={{not (has-block \"label\")}} @isFakeHelpTextBlock={{not (has-block \"helpText\")}} {{didInsert this.setValidationMessages}} {{didUpdate this.didUpdateValue @validations}} {{didUpdate this.didUpdateValue @value}}>\n <:label>\n {{yield to=\"label\"}}\n </:label>\n <:field>\n <EuiFieldText class={{@fieldClasses}} aria-label={{@ariaLabel}} form={{@formId}} @value={{@value}} @icon={{@icon}} @isInvalid={{this.isInvalidAndTouched}} @fullWidth={{@fullWidth}} @isLoading={{@isLoading}} @disabled={{@disabled}} @readOnly={{@readOnly}} @inputRef={{@inputRef}} @controlOnly={{@controlOnly}} @compressed={{@compressed}} @clear={{@clear}} @id={{theId}} @isFakePrependBlock={{not (has-block \"prepend\")}} @isFakeAppendBlock={{not (has-block \"append\")}} autofocus={{@autofocus}} placeholder={{@placeholder}} {{on \"blur\" (fn this.setIsTouched true)}} {{on \"input\" this.handleChange}} ...attributes>\n <:prepend as |classes inputId|>\n {{yield classes inputId to=\"prepend\"}}\n </:prepend>\n <:append as |classes inputId|>\n {{yield classes inputId to=\"append\"}}\n </:append>\n </EuiFieldText>\n </:field>\n <:helpText as |helpText|>\n {{yield helpText to=\"helpText\"}}\n </:helpText>\n </EuiFormRow>\n {{/let}}\n ", {
|
|
17
17
|
scope: () => ({
|
|
18
18
|
argOrDefault,
|
|
19
19
|
randomId,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"field-text.js","sources":["../../../src/components/validated-form/field-text.gts"],"sourcesContent":["import { template } from \"@ember/template-compiler\";\nimport { fn } from '@ember/helper';\nimport { on } from '@ember/modifier';\nimport didInsert from '@ember/render-modifiers/modifiers/did-insert';\nimport didUpdate from '@ember/render-modifiers/modifiers/did-update';\nimport EuiFieldText from '@ember-eui/core/components/eui-field-text';\nimport EuiFormRow from '@ember-eui/core/components/eui-form-row';\nimport { argOrDefault } from '@ember-eui/core/helpers';\nimport { not } from 'ember-truth-helpers';\nimport randomId from '../../-private/random-id';\nimport ValidatedFormFieldBase from './field-base.gts';\nimport type { FieldBaseSignature } from './field-base.gts';\nimport type { EuiFieldTextSignature } from '@ember-eui/core/components/eui-field-text';\nimport type { EuiFormRowSignature } from '@ember-eui/core/components/eui-form-row';\nexport interface FieldTextSignature {\n Element: EuiFieldTextSignature['Element'];\n Args: FieldBaseSignature['Args'] & EuiFormRowSignature['Args'] & EuiFieldTextSignature['Args'] & {\n rowClasses?: string;\n fieldClasses?: string;\n formId?: string;\n ariaLabel?: string;\n autofocus?: boolean;\n };\n Blocks: {\n label: [];\n prepend: [...EuiFieldTextSignature['Blocks']['prepend']];\n append: [...EuiFieldTextSignature['Blocks']['append']];\n };\n}\nexport default class ValidatedFormFieldText extends ValidatedFormFieldBase<FieldTextSignature> {\n static{\n template(`\n {{#let (argOrDefault @id (randomId)) as |theId|}}\n <EuiFormRow\n class={{this.rowClasses}}\n @labelType={{@labelType}}\n @display={{@display}}\n @hasEmptyLabelSpace={{@hasEmptyLabelSpace}}\n @fullWidth={{@fullWidth}}\n @hasChildLabel={{@hasChildLabel}}\n @label={{this.label}}\n @labelAppend={{@labelAppend}}\n @id={{theId}}\n @isInvalid={{this.isInvalidAndTouched}}\n @error={{this.validationErrorMessages}}\n @helpText={{@helpText}}\n @errorClasses={{@errorClasses}}\n @isFakeLabelBlock={{not (has-block \"label\")}}\n {{didInsert this.setValidationMessages}}\n {{didUpdate this.didUpdateValue @validations}}\n {{didUpdate this.didUpdateValue @value}}\n >\n <:label>\n {{yield to=\"label\"}}\n </:label>\n <:field>\n <EuiFieldText\n class={{@fieldClasses}}\n aria-label={{@ariaLabel}}\n form={{@formId}}\n @value={{@value}}\n @icon={{@icon}}\n @isInvalid={{this.isInvalidAndTouched}}\n @fullWidth={{@fullWidth}}\n @isLoading={{@isLoading}}\n @disabled={{@disabled}}\n @readOnly={{@readOnly}}\n @inputRef={{@inputRef}}\n @controlOnly={{@controlOnly}}\n @compressed={{@compressed}}\n @clear={{@clear}}\n @id={{theId}}\n @isFakePrependBlock={{not (has-block \"prepend\")}}\n @isFakeAppendBlock={{not (has-block \"append\")}}\n autofocus={{@autofocus}}\n placeholder={{@placeholder}}\n {{on \"blur\" (fn this.setIsTouched true)}}\n {{on \"input\" this.handleChange}}\n ...attributes\n >\n <:prepend as |classes inputId|>\n {{yield classes inputId to=\"prepend\"}}\n </:prepend>\n <:append as |classes inputId|>\n {{yield classes inputId to=\"append\"}}\n </:append>\n </EuiFieldText>\n </:field>\n </EuiFormRow>\n {{/let}}\n `, {\n component: this,\n eval () {\n return eval(arguments[0]);\n }\n });\n }\n}\n"],"names":["ValidatedFormFieldText","ValidatedFormFieldBase","setComponentTemplate","precompileTemplate","scope","argOrDefault","randomId","EuiFormRow","not","didInsert","didUpdate","EuiFieldText","on","fn","strictMode"],"mappings":";;;;;;;;;;;;;
|
|
1
|
+
{"version":3,"file":"field-text.js","sources":["../../../src/components/validated-form/field-text.gts"],"sourcesContent":["import { template } from \"@ember/template-compiler\";\nimport { fn } from '@ember/helper';\nimport { on } from '@ember/modifier';\nimport didInsert from '@ember/render-modifiers/modifiers/did-insert';\nimport didUpdate from '@ember/render-modifiers/modifiers/did-update';\nimport EuiFieldText from '@ember-eui/core/components/eui-field-text';\nimport EuiFormRow from '@ember-eui/core/components/eui-form-row';\nimport { argOrDefault } from '@ember-eui/core/helpers';\nimport { not } from 'ember-truth-helpers';\nimport randomId from '../../-private/random-id';\nimport ValidatedFormFieldBase from './field-base.gts';\nimport type { FieldBaseSignature } from './field-base.gts';\nimport type { EuiFieldTextSignature } from '@ember-eui/core/components/eui-field-text';\nimport type { EuiFormRowSignature } from '@ember-eui/core/components/eui-form-row';\nexport interface FieldTextSignature {\n Element: EuiFieldTextSignature['Element'];\n Args: FieldBaseSignature['Args'] & EuiFormRowSignature['Args'] & EuiFieldTextSignature['Args'] & {\n rowClasses?: string;\n fieldClasses?: string;\n formId?: string;\n ariaLabel?: string;\n autofocus?: boolean;\n };\n Blocks: {\n label: [];\n helpText: [...EuiFormRowSignature['Blocks']['helpText']];\n prepend: [...EuiFieldTextSignature['Blocks']['prepend']];\n append: [...EuiFieldTextSignature['Blocks']['append']];\n };\n}\nexport default class ValidatedFormFieldText extends ValidatedFormFieldBase<FieldTextSignature> {\n static{\n template(`\n {{#let (argOrDefault @id (randomId)) as |theId|}}\n <EuiFormRow\n class={{this.rowClasses}}\n @labelType={{@labelType}}\n @display={{@display}}\n @hasEmptyLabelSpace={{@hasEmptyLabelSpace}}\n @fullWidth={{@fullWidth}}\n @hasChildLabel={{@hasChildLabel}}\n @label={{this.label}}\n @labelAppend={{@labelAppend}}\n @id={{theId}}\n @isInvalid={{this.isInvalidAndTouched}}\n @error={{this.validationErrorMessages}}\n @helpText={{@helpText}}\n @errorClasses={{@errorClasses}}\n @isFakeLabelBlock={{not (has-block \"label\")}}\n @isFakeHelpTextBlock={{not (has-block \"helpText\")}}\n {{didInsert this.setValidationMessages}}\n {{didUpdate this.didUpdateValue @validations}}\n {{didUpdate this.didUpdateValue @value}}\n >\n <:label>\n {{yield to=\"label\"}}\n </:label>\n <:field>\n <EuiFieldText\n class={{@fieldClasses}}\n aria-label={{@ariaLabel}}\n form={{@formId}}\n @value={{@value}}\n @icon={{@icon}}\n @isInvalid={{this.isInvalidAndTouched}}\n @fullWidth={{@fullWidth}}\n @isLoading={{@isLoading}}\n @disabled={{@disabled}}\n @readOnly={{@readOnly}}\n @inputRef={{@inputRef}}\n @controlOnly={{@controlOnly}}\n @compressed={{@compressed}}\n @clear={{@clear}}\n @id={{theId}}\n @isFakePrependBlock={{not (has-block \"prepend\")}}\n @isFakeAppendBlock={{not (has-block \"append\")}}\n autofocus={{@autofocus}}\n placeholder={{@placeholder}}\n {{on \"blur\" (fn this.setIsTouched true)}}\n {{on \"input\" this.handleChange}}\n ...attributes\n >\n <:prepend as |classes inputId|>\n {{yield classes inputId to=\"prepend\"}}\n </:prepend>\n <:append as |classes inputId|>\n {{yield classes inputId to=\"append\"}}\n </:append>\n </EuiFieldText>\n </:field>\n <:helpText as |helpText|>\n {{yield helpText to=\"helpText\"}}\n </:helpText>\n </EuiFormRow>\n {{/let}}\n `, {\n component: this,\n eval () {\n return eval(arguments[0]);\n }\n });\n }\n}\n"],"names":["ValidatedFormFieldText","ValidatedFormFieldBase","setComponentTemplate","precompileTemplate","scope","argOrDefault","randomId","EuiFormRow","not","didInsert","didUpdate","EuiFieldText","on","fn","strictMode"],"mappings":";;;;;;;;;;;;;AA8Be,MAAMA,sBAAsB,SAASC,sBAAsB,CAAqB;AAC3F,EAAA;IACIC,oBAAA,CAAAC,kBAAA,CA+DH,ozDAAA,EAAA;AAAAC,MAAAA,KAAA,EAAAA,OAAA;QAAAC,YAAA;QAAAC,QAAA;QAAAC,UAAA;QAAAC,GAAA;QAAAC,SAAA;QAAAC,SAAA;QAAAC,YAAA;QAAAC,EAAA;AAAAC,QAAAA,EAAAA;AAAA,OAAA,CAAA;MAAAC,UAAA,EAAA,IAAA;KAKI,CAAC,EAJa,IAAI,CAAA,CAAA;AAKvB,GAAA;AACJ;;;;"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ember-eui/validated-form",
|
|
3
|
-
"version": "8.0.
|
|
3
|
+
"version": "8.0.47",
|
|
4
4
|
"description": "The default blueprint for ember-cli addons.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"ember-addon"
|
|
@@ -40,7 +40,7 @@
|
|
|
40
40
|
"decorator-transforms": "^1.0.3"
|
|
41
41
|
},
|
|
42
42
|
"peerDependencies": {
|
|
43
|
-
"@ember-eui/core": "^8.0.
|
|
43
|
+
"@ember-eui/core": "^8.0.47",
|
|
44
44
|
"@glimmer/component": "^1.1.2",
|
|
45
45
|
"@glimmer/tracking": "^1.1.2",
|
|
46
46
|
"ember-source": "^3.28.0 || >=4.0.0"
|
|
@@ -101,7 +101,7 @@
|
|
|
101
101
|
"rollup-plugin-ts": "^3.0.2",
|
|
102
102
|
"typescript": "~5.0.3",
|
|
103
103
|
"webpack": "^5.89.0",
|
|
104
|
-
"@ember-eui/core": "8.0.
|
|
104
|
+
"@ember-eui/core": "8.0.47"
|
|
105
105
|
},
|
|
106
106
|
"engines": {
|
|
107
107
|
"node": "12.* || 14.* || >= 16"
|
|
@@ -131,12 +131,7 @@
|
|
|
131
131
|
"./components/validated-form/field-select.js": "./dist/_app_/components/validated-form/field-select.js",
|
|
132
132
|
"./components/validated-form/field-switch.js": "./dist/_app_/components/validated-form/field-switch.js",
|
|
133
133
|
"./components/validated-form/field-text-area.js": "./dist/_app_/components/validated-form/field-text-area.js",
|
|
134
|
-
"./components/validated-form/field-text.js": "./dist/_app_/components/validated-form/field-text.js"
|
|
135
|
-
"./utils/build-validation-messages.js": "./dist/_app_/utils/build-validation-messages.js",
|
|
136
|
-
"./utils/get-messages.js": "./dist/_app_/utils/get-messages.js",
|
|
137
|
-
"./utils/validation-errors.js": "./dist/_app_/utils/validation-errors.js",
|
|
138
|
-
"./utils/with-defaults.js": "./dist/_app_/utils/with-defaults.js",
|
|
139
|
-
"./validators/messages.js": "./dist/_app_/validators/messages.js"
|
|
134
|
+
"./components/validated-form/field-text.js": "./dist/_app_/components/validated-form/field-text.js"
|
|
140
135
|
}
|
|
141
136
|
},
|
|
142
137
|
"volta": {
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"random-id.d.ts","sourceRoot":"","sources":["../../../../../core/src/-private/random-id.ts"],"names":[],"mappings":";;;;;;;AAEA,wBAKa"}
|
|
@@ -1,42 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* XOR for some properties applied to a type
|
|
3
|
-
* (XOR is one of these but not both or neither)
|
|
4
|
-
*
|
|
5
|
-
* Usage: OneOf<typeToExtend, one | but | not | multiple | of | these | are | required>
|
|
6
|
-
*
|
|
7
|
-
* To require aria-label or aria-labelledby but not both
|
|
8
|
-
* Example: OneOf<Type, 'aria-label' | 'aria-labelledby'>
|
|
9
|
-
*/
|
|
10
|
-
export type OneOf<T, K extends keyof T> = Omit<T, K> & {
|
|
11
|
-
[k in K]: Pick<Required<T>, k> & {
|
|
12
|
-
[k1 in Exclude<K, k>]?: never;
|
|
13
|
-
};
|
|
14
|
-
}[K];
|
|
15
|
-
export interface CommonArgs {
|
|
16
|
-
id?: string;
|
|
17
|
-
className?: string;
|
|
18
|
-
'aria-label'?: string;
|
|
19
|
-
'data-test-subj'?: string;
|
|
20
|
-
}
|
|
21
|
-
/**
|
|
22
|
-
* Wraps Object.keys with proper typescript definition of the resulting array
|
|
23
|
-
*/
|
|
24
|
-
export declare function keysOf<T extends Record<string, unknown>, K extends keyof T>(obj: T): K[];
|
|
25
|
-
/**
|
|
26
|
-
* Returns member keys in U not present in T set to never
|
|
27
|
-
* T = { 'one', 'two', 'three' }
|
|
28
|
-
* U = { 'three', 'four', 'five' }
|
|
29
|
-
* returns { 'four': never, 'five': never }
|
|
30
|
-
*/
|
|
31
|
-
export type DisambiguateSet<T, U> = {
|
|
32
|
-
[P in Exclude<keyof T, keyof U>]?: never;
|
|
33
|
-
};
|
|
34
|
-
/**
|
|
35
|
-
* Allow either T or U, preventing any additional keys of the other type from being present
|
|
36
|
-
*/
|
|
37
|
-
export type ExclusiveUnion<T, U> = T | U extends Record<string, unknown> ? (DisambiguateSet<T, U> & U) | (DisambiguateSet<U, T> & T) : T | U;
|
|
38
|
-
type UnionKeys<T> = T extends any ? keyof T : never;
|
|
39
|
-
export type DistributivePick<T, K extends UnionKeys<T>> = T extends any ? Pick<T, Extract<keyof T, K>> : never;
|
|
40
|
-
export type DistributiveOmit<T, K extends UnionKeys<T>> = T extends any ? Omit<T, Extract<keyof T, K>> : never;
|
|
41
|
-
export {};
|
|
42
|
-
//# sourceMappingURL=common.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"common.d.ts","sourceRoot":"","sources":["../../../../../core/src/components/common.ts"],"names":[],"mappings":"AACA;;;;;;;;GAQG;AACH,MAAM,MAAM,KAAK,CAAC,CAAC,EAAE,CAAC,SAAS,MAAM,CAAC,IAAI,IAAI,CAAC,CAAC,EAAE,CAAC,CAAC,GAClD;KAAG,CAAC,IAAI,CAAC,GAAG,IAAI,CAAC,QAAQ,CAAC,CAAC,CAAC,EAAE,CAAC,CAAC,GAAG;SAAG,EAAE,IAAI,OAAO,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC,CAAC,EAAE,KAAK;KAAE;CAAE,CAAC,CAAC,CAAC,CAAC;AAE5E,MAAM,WAAW,UAAU;IACzB,EAAE,CAAC,EAAE,MAAM,CAAC;IACZ,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,gBAAgB,CAAC,EAAE,MAAM,CAAC;CAC3B;AAED;;GAEG;AACH,wBAAgB,MAAM,CAAC,CAAC,SAAS,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,EAAE,CAAC,SAAS,MAAM,CAAC,EACzE,GAAG,EAAE,CAAC,GACL,CAAC,EAAE,CAEL;AAED;;;;;GAKG;AACH,MAAM,MAAM,eAAe,CAAC,CAAC,EAAE,CAAC,IAAI;KACjC,CAAC,IAAI,OAAO,CAAC,MAAM,CAAC,EAAE,MAAM,CAAC,CAAC,CAAC,CAAC,EAAE,KAAK;CACzC,CAAC;AAEF;;GAEG;AACH,MAAM,MAAM,cAAc,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG,CAAC,SAAS,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,GACpE,CAAC,eAAe,CAAC,CAAC,EAAE,CAAC,CAAC,GAAG,CAAC,CAAC,GAAG,CAAC,eAAe,CAAC,CAAC,EAAE,CAAC,CAAC,GAAG,CAAC,CAAC,GACzD,CAAC,GAAG,CAAC,CAAC;AAQV,KAAK,SAAS,CAAC,CAAC,IAAI,CAAC,SAAS,GAAG,GAAG,MAAM,CAAC,GAAG,KAAK,CAAC;AACpD,MAAM,MAAM,gBAAgB,CAAC,CAAC,EAAE,CAAC,SAAS,SAAS,CAAC,CAAC,CAAC,IAAI,CAAC,SAAS,GAAG,GACnE,IAAI,CAAC,CAAC,EAAE,OAAO,CAAC,MAAM,CAAC,EAAE,CAAC,CAAC,CAAC,GAC5B,KAAK,CAAC;AACV,MAAM,MAAM,gBAAgB,CAAC,CAAC,EAAE,CAAC,SAAS,SAAS,CAAC,CAAC,CAAC,IAAI,CAAC,SAAS,GAAG,GACnE,IAAI,CAAC,CAAC,EAAE,OAAO,CAAC,MAAM,CAAC,EAAE,CAAC,CAAC,CAAC,GAC5B,KAAK,CAAC"}
|
|
@@ -1,101 +0,0 @@
|
|
|
1
|
-
import Component from '@glimmer/component';
|
|
2
|
-
import { htmlSafe } from '@ember/template';
|
|
3
|
-
import type { paddingMapping } from '../utils/css-mappings/eui-accordion.ts';
|
|
4
|
-
import type { CommonArgs } from './common.ts';
|
|
5
|
-
type EuiAccordionPaddingSize = keyof typeof paddingMapping;
|
|
6
|
-
type AccordionArgs = {
|
|
7
|
-
id?: string;
|
|
8
|
-
element?: 'div' | 'fieldset';
|
|
9
|
-
/**
|
|
10
|
-
* Class that will apply to the trigger for the accordion.
|
|
11
|
-
*/
|
|
12
|
-
buttonClassName?: string;
|
|
13
|
-
buttonProps?: CommonArgs;
|
|
14
|
-
/**
|
|
15
|
-
* Applied to the main button receiving the `onToggle` event.
|
|
16
|
-
* Anything other than the default `button` does not support removing the arrow display (for accessibility of focus).
|
|
17
|
-
*/
|
|
18
|
-
buttonElement?: 'div' | 'legend' | 'button';
|
|
19
|
-
/**
|
|
20
|
-
* Extra props to pass to the EuiButtonIcon containing the arrow.
|
|
21
|
-
*/
|
|
22
|
-
arrowProps?: {
|
|
23
|
-
className?: string;
|
|
24
|
-
};
|
|
25
|
-
/**
|
|
26
|
-
* Class that will apply to the trigger content for the accordion.
|
|
27
|
-
*/
|
|
28
|
-
buttonContentClassName?: string;
|
|
29
|
-
/**
|
|
30
|
-
* The content of the clickable trigger
|
|
31
|
-
*/
|
|
32
|
-
buttonContent?: Component;
|
|
33
|
-
/**
|
|
34
|
-
* Will appear right aligned against the button. Useful for separate actions like deletions.
|
|
35
|
-
*/
|
|
36
|
-
extraAction?: Component | boolean;
|
|
37
|
-
/**
|
|
38
|
-
* The accordion will start in the open state.
|
|
39
|
-
*/
|
|
40
|
-
initialIsOpen?: boolean;
|
|
41
|
-
/**
|
|
42
|
-
* Optional callback method called on open and close with a single `isOpen` parameter
|
|
43
|
-
*/
|
|
44
|
-
onToggle?: (isOpen: boolean) => void;
|
|
45
|
-
/**
|
|
46
|
-
* The padding around the exposed accordion content.
|
|
47
|
-
*/
|
|
48
|
-
paddingSize?: EuiAccordionPaddingSize;
|
|
49
|
-
/**
|
|
50
|
-
* Placement of the arrow indicator, or 'none' to hide it.
|
|
51
|
-
*/
|
|
52
|
-
arrowDisplay?: 'left' | 'right' | 'none';
|
|
53
|
-
/**
|
|
54
|
-
* Control the opening of accordion via prop
|
|
55
|
-
*/
|
|
56
|
-
forceState?: 'closed' | 'open';
|
|
57
|
-
/**
|
|
58
|
-
* Change `extraAction` and children into a loading spinner
|
|
59
|
-
*/
|
|
60
|
-
isLoading?: boolean;
|
|
61
|
-
/**
|
|
62
|
-
* Choose whether the loading message replaces the content. Customize the message by passing a node
|
|
63
|
-
*/
|
|
64
|
-
isLoadingMessage?: boolean | Component;
|
|
65
|
-
isOpen?: boolean;
|
|
66
|
-
childClassName?: string;
|
|
67
|
-
triggerClassName?: string;
|
|
68
|
-
childContentClassName?: string;
|
|
69
|
-
};
|
|
70
|
-
export interface EuiAccordionSignature {
|
|
71
|
-
Element: any;
|
|
72
|
-
Args: AccordionArgs;
|
|
73
|
-
Blocks: {
|
|
74
|
-
buttonContent: [boolean | undefined];
|
|
75
|
-
content: [];
|
|
76
|
-
extraAction: [boolean | undefined];
|
|
77
|
-
};
|
|
78
|
-
}
|
|
79
|
-
export default class EuiAccordionAccordionComponent extends Component<EuiAccordionSignature> {
|
|
80
|
-
isLoading: boolean;
|
|
81
|
-
isLoadingMessage: boolean;
|
|
82
|
-
initialIsOpen: boolean;
|
|
83
|
-
paddingSize: EuiAccordionPaddingSize;
|
|
84
|
-
arrowDisplay: AccordionArgs['arrowDisplay'];
|
|
85
|
-
_opened: boolean | undefined;
|
|
86
|
-
childWrapper: HTMLDivElement | null;
|
|
87
|
-
childContent: HTMLDivElement | null;
|
|
88
|
-
constructor(owner: unknown, args: AccordionArgs);
|
|
89
|
-
get buttonElement(): "button" | "legend";
|
|
90
|
-
get buttonElementIsFocusable(): boolean;
|
|
91
|
-
get _arrowDisplay(): "none" | "left" | "right" | undefined;
|
|
92
|
-
get isOpen(): boolean | undefined;
|
|
93
|
-
get hasLoadingMessage(): boolean;
|
|
94
|
-
get buttonClasses(): string;
|
|
95
|
-
get buttonContentClasses(): string;
|
|
96
|
-
get childContentStyle(): string | ReturnType<typeof htmlSafe>;
|
|
97
|
-
setChildContentHeight: () => void;
|
|
98
|
-
onToggle(): void;
|
|
99
|
-
}
|
|
100
|
-
export {};
|
|
101
|
-
//# sourceMappingURL=eui-accordion.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"eui-accordion.d.ts","sourceRoot":"","sources":["../../../../../core/src/components/eui-accordion.ts"],"names":[],"mappings":"AAAA,OAAO,SAAS,MAAM,oBAAoB,CAAC;AAM3C,OAAO,EAAE,QAAQ,EAAE,MAAM,iBAAiB,CAAC;AAc3C,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,wCAAwC,CAAC;AAC7E,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,aAAa,CAAC;AAE9C,KAAK,uBAAuB,GAAG,MAAM,OAAO,cAAc,CAAC;AAE3D,KAAK,aAAa,GAAG;IACnB,EAAE,CAAC,EAAE,MAAM,CAAC;IAEZ,OAAO,CAAC,EAAE,KAAK,GAAG,UAAU,CAAC;IAC7B;;OAEG;IACH,eAAe,CAAC,EAAE,MAAM,CAAC;IAEzB,WAAW,CAAC,EAAE,UAAU,CAAC;IAEzB;;;OAGG;IACH,aAAa,CAAC,EAAE,KAAK,GAAG,QAAQ,GAAG,QAAQ,CAAC;IAC5C;;OAEG;IACH,UAAU,CAAC,EAAE;QACX,SAAS,CAAC,EAAE,MAAM,CAAC;KACpB,CAAC;IAEF;;OAEG;IACH,sBAAsB,CAAC,EAAE,MAAM,CAAC;IAChC;;OAEG;IACH,aAAa,CAAC,EAAE,SAAS,CAAC;IAC1B;;OAEG;IACH,WAAW,CAAC,EAAE,SAAS,GAAG,OAAO,CAAC;IAClC;;OAEG;IACH,aAAa,CAAC,EAAE,OAAO,CAAC;IACxB;;OAEG;IACH,QAAQ,CAAC,EAAE,CAAC,MAAM,EAAE,OAAO,KAAK,IAAI,CAAC;IACrC;;OAEG;IACH,WAAW,CAAC,EAAE,uBAAuB,CAAC;IACtC;;OAEG;IACH,YAAY,CAAC,EAAE,MAAM,GAAG,OAAO,GAAG,MAAM,CAAC;IACzC;;OAEG;IACH,UAAU,CAAC,EAAE,QAAQ,GAAG,MAAM,CAAC;IAC/B;;OAEG;IACH,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB;;OAEG;IACH,gBAAgB,CAAC,EAAE,OAAO,GAAG,SAAS,CAAC;IAEvC,MAAM,CAAC,EAAE,OAAO,CAAC;IAEjB,cAAc,CAAC,EAAE,MAAM,CAAC;IACxB,gBAAgB,CAAC,EAAE,MAAM,CAAC;IAC1B,qBAAqB,CAAC,EAAE,MAAM,CAAC;CAChC,CAAC;AAEF,MAAM,WAAW,qBAAqB;IACpC,OAAO,EAAE,GAAG,CAAC;IACb,IAAI,EAAE,aAAa,CAAC;IACpB,MAAM,EAAE;QACN,aAAa,EAAE,CAAC,OAAO,GAAG,SAAS,CAAC,CAAC;QACrC,OAAO,EAAE,EAAE,CAAC;QACZ,WAAW,EAAE,CAAC,OAAO,GAAG,SAAS,CAAC,CAAC;KACpC,CAAC;CACH;AAED,MAAM,CAAC,OAAO,OAAO,8BAA+B,SAAQ,SAAS,CAAC,qBAAqB,CAAC;IAE5D,SAAS,EAAG,OAAO,CAAC;IACpB,gBAAgB,EAAG,OAAO,CAAC;IAC3B,aAAa,EAAG,OAAO,CAAC;IACvB,WAAW,EAAG,uBAAuB,CAAC;IACtC,YAAY,EAAG,aAAa,CAAC,cAAc,CAAC,CAAC;IAEnE,OAAO,sBAAC;IACR,YAAY,EAAE,cAAc,GAAG,IAAI,CAAQ;IAC3C,YAAY,EAAE,cAAc,GAAG,IAAI,CAAQ;gBAExC,KAAK,EAAE,OAAO,EAAE,IAAI,EAAE,aAAa;IAQ/C,IAAI,aAAa,wBAEhB;IAED,IAAI,wBAAwB,YAE3B;IAED,IAAI,aAAa,0CAIhB;IAED,IAAI,MAAM,IAAI,OAAO,GAAG,SAAS,CAIhC;IAED,IAAI,iBAAiB,IAAI,OAAO,CAE/B;IAED,IAAI,aAAa,IAAI,MAAM,CAM1B;IAED,IAAI,oBAAoB,IAAI,MAAM,CAKjC;IAED,IAAI,iBAAiB,IAAI,MAAM,GAAG,UAAU,CAAC,OAAO,QAAQ,CAAC,CAE5D;IAED,qBAAqB,aAYnB;IAGF,QAAQ,IAAI,IAAI;CAqKjB"}
|
|
@@ -1,64 +0,0 @@
|
|
|
1
|
-
import Component from '@glimmer/component';
|
|
2
|
-
type Size = {
|
|
3
|
-
height: number;
|
|
4
|
-
width: number;
|
|
5
|
-
};
|
|
6
|
-
interface EuiAutoSizerComponentArgs {
|
|
7
|
-
/** Function responsible for rendering children.*/
|
|
8
|
-
/** Optional custom CSS class name to attach to root AutoSizer element. */
|
|
9
|
-
className?: string;
|
|
10
|
-
/** Default height to use for initial render; useful for SSR */
|
|
11
|
-
defaultHeight?: number;
|
|
12
|
-
/** Default width to use for initial render; useful for SSR */
|
|
13
|
-
defaultWidth?: number;
|
|
14
|
-
/** Disable dynamic :height property */
|
|
15
|
-
disableHeight?: boolean;
|
|
16
|
-
/** Disable dynamic :width property */
|
|
17
|
-
disableWidth?: boolean;
|
|
18
|
-
/** Nonce of the inlined stylesheet for Content Security Policy */
|
|
19
|
-
nonce?: string;
|
|
20
|
-
/** Callback to be invoked on-resize */
|
|
21
|
-
onResize?: (size: Size) => void;
|
|
22
|
-
/** Optional inline style */
|
|
23
|
-
style?: Record<string, string>;
|
|
24
|
-
}
|
|
25
|
-
type ResizeHandler = (element: HTMLElement, onResize: () => void) => void;
|
|
26
|
-
type DetectElementResize = {
|
|
27
|
-
addResizeListener: ResizeHandler;
|
|
28
|
-
removeResizeListener: ResizeHandler;
|
|
29
|
-
};
|
|
30
|
-
type DynamicStyle = {
|
|
31
|
-
outerStyle: {
|
|
32
|
-
height?: number | string;
|
|
33
|
-
width?: number | string;
|
|
34
|
-
overflow?: string;
|
|
35
|
-
};
|
|
36
|
-
childStyle?: {
|
|
37
|
-
height?: number | string;
|
|
38
|
-
width?: number | string;
|
|
39
|
-
};
|
|
40
|
-
};
|
|
41
|
-
export interface EuiAutoSizerSignature {
|
|
42
|
-
Args: EuiAutoSizerComponentArgs;
|
|
43
|
-
Element: HTMLDivElement;
|
|
44
|
-
Blocks: {
|
|
45
|
-
default: [DynamicStyle['childStyle']];
|
|
46
|
-
};
|
|
47
|
-
}
|
|
48
|
-
export default class EuiAutoSizerComponent extends Component<EuiAutoSizerSignature> {
|
|
49
|
-
_autoSizer?: HTMLElement;
|
|
50
|
-
_parentNode?: HTMLElement;
|
|
51
|
-
_window?: any;
|
|
52
|
-
_detectElementResize?: DetectElementResize;
|
|
53
|
-
height: number | undefined;
|
|
54
|
-
width: number | undefined;
|
|
55
|
-
get disableHeight(): boolean;
|
|
56
|
-
get disableWidth(): boolean;
|
|
57
|
-
get style(): DynamicStyle;
|
|
58
|
-
setup(): void;
|
|
59
|
-
_onResize: () => void;
|
|
60
|
-
setRef: (ele: HTMLElement) => void;
|
|
61
|
-
willDestroy(): void;
|
|
62
|
-
}
|
|
63
|
-
export {};
|
|
64
|
-
//# sourceMappingURL=eui-auto-sizer.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"eui-auto-sizer.d.ts","sourceRoot":"","sources":["../../../../../core/src/components/eui-auto-sizer.ts"],"names":[],"mappings":"AAAA,OAAO,SAAS,MAAM,oBAAoB,CAAC;AAQ3C,KAAK,IAAI,GAAG;IACV,MAAM,EAAE,MAAM,CAAC;IACf,KAAK,EAAE,MAAM,CAAC;CACf,CAAC;AAEF,UAAU,yBAAyB;IACjC,kDAAkD;IAElD,2EAA2E;IAC3E,SAAS,CAAC,EAAE,MAAM,CAAC;IAEnB,+DAA+D;IAC/D,aAAa,CAAC,EAAE,MAAM,CAAC;IAEvB,8DAA8D;IAC9D,YAAY,CAAC,EAAE,MAAM,CAAC;IAEtB,uCAAuC;IACvC,aAAa,CAAC,EAAE,OAAO,CAAC;IAExB,sCAAsC;IACtC,YAAY,CAAC,EAAE,OAAO,CAAC;IAEvB,kEAAkE;IAClE,KAAK,CAAC,EAAE,MAAM,CAAC;IAEf,uCAAuC;IACvC,QAAQ,CAAC,EAAE,CAAC,IAAI,EAAE,IAAI,KAAK,IAAI,CAAC;IAEhC,4BAA4B;IAC5B,KAAK,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC;CAChC;AAED,KAAK,aAAa,GAAG,CAAC,OAAO,EAAE,WAAW,EAAE,QAAQ,EAAE,MAAM,IAAI,KAAK,IAAI,CAAC;AAE1E,KAAK,mBAAmB,GAAG;IACzB,iBAAiB,EAAE,aAAa,CAAC;IACjC,oBAAoB,EAAE,aAAa,CAAC;CACrC,CAAC;AAEF,KAAK,YAAY,GAAG;IAClB,UAAU,EAAE;QACV,MAAM,CAAC,EAAE,MAAM,GAAG,MAAM,CAAC;QACzB,KAAK,CAAC,EAAE,MAAM,GAAG,MAAM,CAAC;QACxB,QAAQ,CAAC,EAAE,MAAM,CAAC;KACnB,CAAC;IACF,UAAU,CAAC,EAAE;QACX,MAAM,CAAC,EAAE,MAAM,GAAG,MAAM,CAAC;QACzB,KAAK,CAAC,EAAE,MAAM,GAAG,MAAM,CAAC;KACzB,CAAC;CACH,CAAC;AAEF,MAAM,WAAW,qBAAqB;IACpC,IAAI,EAAE,yBAAyB,CAAC;IAChC,OAAO,EAAE,cAAc,CAAC;IACxB,MAAM,EAAE;QACN,OAAO,EAAE,CAAC,YAAY,CAAC,YAAY,CAAC,CAAC,CAAC;KACvC,CAAC;CACH;AAED,MAAM,CAAC,OAAO,OAAO,qBAAsB,SAAQ,SAAS,CAAC,qBAAqB,CAAC;IACjF,UAAU,CAAC,EAAE,WAAW,CAAC;IACzB,WAAW,CAAC,EAAE,WAAW,CAAC;IAC1B,OAAO,CAAC,EAAE,GAAG,CAAC;IACd,oBAAoB,CAAC,EAAE,mBAAmB,CAAC;IAElC,MAAM,EAAE,MAAM,GAAG,SAAS,CAAC;IAC3B,KAAK,EAAE,MAAM,GAAG,SAAS,CAAC;IAEnC,IAAI,aAAa,YAEhB;IAED,IAAI,YAAY,YAEf;IAED,IAAI,KAAK,iBAuBR;IAED,KAAK;IAgCL,SAAS,aA+BP;IAEF,MAAM,QAAS,WAAW,UAGxB;IAEF,WAAW,IAAI,IAAI;CAqBpB"}
|