@i-cell/ids-angular 0.1.13 → 0.2.1
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/accordion/index.d.ts +81 -5
- package/avatar/index.d.ts +66 -5
- package/badge/index.d.ts +61 -5
- package/breadcrumb/index.d.ts +67 -5
- package/button/index.d.ts +81 -5
- package/card/index.d.ts +91 -5
- package/checkbox/index.d.ts +137 -5
- package/chip/index.d.ts +82 -5
- package/core/index.d.ts +168 -5
- package/datepicker/index.d.ts +112 -5
- package/dialog/index.d.ts +66 -5
- package/divider/index.d.ts +45 -5
- package/fesm2022/i-cell-ids-angular-accordion.mjs +32 -32
- package/fesm2022/i-cell-ids-angular-accordion.mjs.map +1 -1
- package/fesm2022/i-cell-ids-angular-avatar.mjs +19 -19
- package/fesm2022/i-cell-ids-angular-avatar.mjs.map +1 -1
- package/fesm2022/i-cell-ids-angular-badge.mjs +25 -25
- package/fesm2022/i-cell-ids-angular-badge.mjs.map +1 -1
- package/fesm2022/i-cell-ids-angular-breadcrumb.mjs +41 -41
- package/fesm2022/i-cell-ids-angular-breadcrumb.mjs.map +1 -1
- package/fesm2022/i-cell-ids-angular-button.mjs +18 -18
- package/fesm2022/i-cell-ids-angular-button.mjs.map +1 -1
- package/fesm2022/i-cell-ids-angular-card.mjs +36 -36
- package/fesm2022/i-cell-ids-angular-card.mjs.map +1 -1
- package/fesm2022/i-cell-ids-angular-checkbox.mjs +44 -44
- package/fesm2022/i-cell-ids-angular-checkbox.mjs.map +1 -1
- package/fesm2022/i-cell-ids-angular-chip.mjs +28 -28
- package/fesm2022/i-cell-ids-angular-chip.mjs.map +1 -1
- package/fesm2022/i-cell-ids-angular-core.mjs +17 -17
- package/fesm2022/i-cell-ids-angular-core.mjs.map +1 -1
- package/fesm2022/i-cell-ids-angular-datepicker.mjs +66 -66
- package/fesm2022/i-cell-ids-angular-datepicker.mjs.map +1 -1
- package/fesm2022/i-cell-ids-angular-dialog.mjs +22 -22
- package/fesm2022/i-cell-ids-angular-dialog.mjs.map +1 -1
- package/fesm2022/i-cell-ids-angular-divider.mjs +13 -13
- package/fesm2022/i-cell-ids-angular-divider.mjs.map +1 -1
- package/fesm2022/i-cell-ids-angular-forms.mjs +156 -156
- package/fesm2022/i-cell-ids-angular-forms.mjs.map +1 -1
- package/fesm2022/i-cell-ids-angular-icon-button.mjs +13 -13
- package/fesm2022/i-cell-ids-angular-icon-button.mjs.map +1 -1
- package/fesm2022/i-cell-ids-angular-icon.mjs +16 -17
- package/fesm2022/i-cell-ids-angular-icon.mjs.map +1 -1
- package/fesm2022/i-cell-ids-angular-menu.mjs +19 -19
- package/fesm2022/i-cell-ids-angular-menu.mjs.map +1 -1
- package/fesm2022/i-cell-ids-angular-notification.mjs +27 -27
- package/fesm2022/i-cell-ids-angular-notification.mjs.map +1 -1
- package/fesm2022/i-cell-ids-angular-overlay-panel.mjs +9 -9
- package/fesm2022/i-cell-ids-angular-overlay-panel.mjs.map +1 -1
- package/fesm2022/i-cell-ids-angular-paginator.mjs +34 -34
- package/fesm2022/i-cell-ids-angular-paginator.mjs.map +1 -1
- package/fesm2022/i-cell-ids-angular-radio.mjs +30 -30
- package/fesm2022/i-cell-ids-angular-radio.mjs.map +1 -1
- package/fesm2022/i-cell-ids-angular-segmented-control-toggle.mjs +31 -31
- package/fesm2022/i-cell-ids-angular-segmented-control-toggle.mjs.map +1 -1
- package/fesm2022/i-cell-ids-angular-segmented-control.mjs +32 -32
- package/fesm2022/i-cell-ids-angular-segmented-control.mjs.map +1 -1
- package/fesm2022/i-cell-ids-angular-select.mjs +32 -32
- package/fesm2022/i-cell-ids-angular-select.mjs.map +1 -1
- package/fesm2022/i-cell-ids-angular-side-sheet.mjs +27 -27
- package/fesm2022/i-cell-ids-angular-side-sheet.mjs.map +1 -1
- package/fesm2022/i-cell-ids-angular-snackbar.mjs +29 -29
- package/fesm2022/i-cell-ids-angular-snackbar.mjs.map +1 -1
- package/fesm2022/i-cell-ids-angular-spinner.mjs +10 -10
- package/fesm2022/i-cell-ids-angular-spinner.mjs.map +1 -1
- package/fesm2022/i-cell-ids-angular-switch.mjs +35 -35
- package/fesm2022/i-cell-ids-angular-switch.mjs.map +1 -1
- package/fesm2022/i-cell-ids-angular-tab.mjs +27 -27
- package/fesm2022/i-cell-ids-angular-tab.mjs.map +1 -1
- package/fesm2022/i-cell-ids-angular-table.mjs +79 -79
- package/fesm2022/i-cell-ids-angular-table.mjs.map +1 -1
- package/fesm2022/i-cell-ids-angular-tag.mjs +18 -18
- package/fesm2022/i-cell-ids-angular-tag.mjs.map +1 -1
- package/fesm2022/i-cell-ids-angular-tooltip.mjs +30 -31
- package/fesm2022/i-cell-ids-angular-tooltip.mjs.map +1 -1
- package/forms/index.d.ts +468 -3
- package/icon/index.d.ts +69 -5
- package/icon-button/index.d.ts +66 -5
- package/index.d.ts +2 -5
- package/menu/index.d.ts +68 -5
- package/notification/index.d.ts +68 -5
- package/overlay-panel/index.d.ts +41 -5
- package/package.json +10 -10
- package/paginator/index.d.ts +122 -5
- package/radio/index.d.ts +95 -5
- package/segmented-control/index.d.ts +98 -5
- package/segmented-control-toggle/index.d.ts +103 -5
- package/select/index.d.ts +103 -5
- package/side-sheet/index.d.ts +84 -5
- package/snackbar/index.d.ts +149 -5
- package/spinner/index.d.ts +41 -5
- package/switch/index.d.ts +89 -5
- package/tab/index.d.ts +78 -5
- package/table/index.d.ts +390 -3
- package/tag/index.d.ts +70 -5
- package/tooltip/index.d.ts +96 -5
- package/accordion/accordion-animations.d.ts +0 -1
- package/accordion/accordion-defaults.d.ts +0 -18
- package/accordion/accordion-item/accordion-item.component.d.ts +0 -27
- package/accordion/accordion.component.d.ts +0 -29
- package/accordion/public-api.d.ts +0 -5
- package/accordion/types/accordion-appearance.type.d.ts +0 -5
- package/avatar/avatar-defaults.d.ts +0 -12
- package/avatar/avatar-image.directive.d.ts +0 -5
- package/avatar/avatar.component.d.ts +0 -28
- package/avatar/public-api.d.ts +0 -6
- package/avatar/tokens/avatar-parent.d.ts +0 -6
- package/avatar/types/avatar-type.type.d.ts +0 -6
- package/avatar/types/avatar-variant.type.d.ts +0 -8
- package/badge/badge-defaults.d.ts +0 -13
- package/badge/badge-limit.pipe.d.ts +0 -7
- package/badge/badge.component.d.ts +0 -17
- package/badge/badge.directive.d.ts +0 -25
- package/badge/public-api.d.ts +0 -5
- package/badge/types/badge-appearance.type.d.ts +0 -4
- package/badge/types/badge-variant.type.d.ts +0 -12
- package/breadcrumb/breadcrumb-defaults.d.ts +0 -17
- package/breadcrumb/breadcrumb.component.d.ts +0 -35
- package/breadcrumb/libs/breadcrumb-divider.component.d.ts +0 -13
- package/breadcrumb/libs/breadcrumb-link.directive.d.ts +0 -10
- package/breadcrumb/libs/breadcrumb-list.directive.d.ts +0 -5
- package/breadcrumb/libs/breadcrumb-page.directive.d.ts +0 -5
- package/breadcrumb/libs/breadcrumb-truncation.component.d.ts +0 -15
- package/breadcrumb/public-api.d.ts +0 -5
- package/breadcrumb/types/breadcrumb-divider.type.d.ts +0 -5
- package/breadcrumb/types/breadcrumb-hierarchy.type.d.ts +0 -5
- package/breadcrumb/types/breadcrumb-variant.type.d.ts +0 -6
- package/button/button-defaults.d.ts +0 -11
- package/button/button-group-defaults.d.ts +0 -7
- package/button/button-group.component.d.ts +0 -11
- package/button/button.component.d.ts +0 -29
- package/button/public-api.d.ts +0 -7
- package/button/tokens/button-parent.d.ts +0 -6
- package/button/types/button-appearance.type.d.ts +0 -6
- package/button/types/button-variant.type.d.ts +0 -14
- package/card/card-body.directive.d.ts +0 -6
- package/card/card-defaults.d.ts +0 -12
- package/card/card-footer.directive.d.ts +0 -6
- package/card/card-header.component.d.ts +0 -6
- package/card/card-media.directive.d.ts +0 -7
- package/card/card-section-base.directive.d.ts +0 -9
- package/card/card-subtitle.directive.d.ts +0 -5
- package/card/card-title.directive.d.ts +0 -5
- package/card/card.component.d.ts +0 -21
- package/card/public-api.d.ts +0 -10
- package/card/types/card-appearances.type.d.ts +0 -6
- package/card/types/card-variant.type.d.ts +0 -13
- package/checkbox/checkbox-defaults.d.ts +0 -9
- package/checkbox/checkbox-group-defaults.d.ts +0 -9
- package/checkbox/checkbox-group.component.d.ts +0 -28
- package/checkbox/checkbox.component.d.ts +0 -70
- package/checkbox/public-api.d.ts +0 -7
- package/checkbox/types/checkbox-events.class.d.ts +0 -6
- package/checkbox/types/checkbox-group-child.d.ts +0 -8
- package/checkbox/types/checkbox-parent.d.ts +0 -8
- package/checkbox/types/checkbox-state.type.d.ts +0 -6
- package/checkbox/types/checkbox-variant.type.d.ts +0 -6
- package/chip/chip-defaults.d.ts +0 -12
- package/chip/chip-group-defaults.d.ts +0 -9
- package/chip/chip-group.component.d.ts +0 -14
- package/chip/chip.component.d.ts +0 -35
- package/chip/public-api.d.ts +0 -7
- package/chip/types/chip-appearance.type.d.ts +0 -5
- package/chip/types/chip-events.type.d.ts +0 -4
- package/chip/types/chip-variant.type.d.ts +0 -8
- package/core/base-classes/component-base.d.ts +0 -13
- package/core/base-classes/directive-base.d.ts +0 -16
- package/core/directives/detect-scrollable.directive.d.ts +0 -11
- package/core/pipes/sentence-case.pipe.d.ts +0 -7
- package/core/public-api.d.ts +0 -17
- package/core/services/resize-observer.service.d.ts +0 -13
- package/core/types/orientation.type.d.ts +0 -5
- package/core/types/position.type.d.ts +0 -39
- package/core/types/size-collection.type.d.ts +0 -5
- package/core/types/size.type.d.ts +0 -7
- package/core/utils/class-prefix.d.ts +0 -2
- package/core/utils/class.d.ts +0 -2
- package/core/utils/coercion.d.ts +0 -6
- package/core/utils/compare.d.ts +0 -1
- package/core/utils/date.d.ts +0 -25
- package/core/utils/fallback-value.d.ts +0 -1
- package/core/utils/number.d.ts +0 -4
- package/core/utils/string.d.ts +0 -1
- package/datepicker/calendar/calendar-page.d.ts +0 -26
- package/datepicker/calendar/calendar.component.d.ts +0 -40
- package/datepicker/datepicker-defaults.d.ts +0 -7
- package/datepicker/datepicker-intl.d.ts +0 -22
- package/datepicker/datepicker-positions.d.ts +0 -2
- package/datepicker/datepicker.directive.d.ts +0 -58
- package/datepicker/day-selector/day-selector.component.d.ts +0 -26
- package/datepicker/month-selector/month-selector.component.d.ts +0 -20
- package/datepicker/public-api.d.ts +0 -7
- package/datepicker/tokens/date-formatter.d.ts +0 -3
- package/datepicker/tokens/date-parser.d.ts +0 -3
- package/datepicker/tokens/datepicker-view.d.ts +0 -6
- package/datepicker/trigger/datepicker-trigger.component.d.ts +0 -12
- package/datepicker/year-selector/year-selector.component.d.ts +0 -20
- package/dialog/custom-dialog-base.d.ts +0 -15
- package/dialog/dialog-defaults.d.ts +0 -9
- package/dialog/dialog-header.directive.d.ts +0 -7
- package/dialog/dialog.component.d.ts +0 -22
- package/dialog/dialog.service.d.ts +0 -17
- package/dialog/public-api.d.ts +0 -5
- package/divider/divider-defaults.d.ts +0 -12
- package/divider/divider.component.d.ts +0 -18
- package/divider/public-api.d.ts +0 -3
- package/divider/types/divider-variant.type.d.ts +0 -13
- package/forms/common/error/error-state.d.ts +0 -23
- package/forms/common/success/success-state.d.ts +0 -23
- package/forms/components/fieldset/fieldset-defaults.d.ts +0 -9
- package/forms/components/fieldset/fieldset-message.directive.d.ts +0 -5
- package/forms/components/fieldset/fieldset-row/fieldset-row.component.d.ts +0 -8
- package/forms/components/fieldset/fieldset.component.d.ts +0 -16
- package/forms/components/form-field/form-field-control.d.ts +0 -44
- package/forms/components/form-field/form-field-defaults.d.ts +0 -9
- package/forms/components/form-field/form-field.component.d.ts +0 -41
- package/forms/components/form-field/tokens/form-field-control.d.ts +0 -3
- package/forms/components/form-field/types/form-field-variant.type.d.ts +0 -5
- package/forms/components/input/input-defaults.d.ts +0 -9
- package/forms/components/input/input.directive.d.ts +0 -31
- package/forms/components/input/types/input.type.d.ts +0 -1
- package/forms/components/message/error-message/error-definition.directive.d.ts +0 -49
- package/forms/components/message/error-message/error-message.component.d.ts +0 -20
- package/forms/components/message/hint-message/hint-message.component.d.ts +0 -10
- package/forms/components/message/message-defaults.d.ts +0 -9
- package/forms/components/message/success-message/success-message.component.d.ts +0 -11
- package/forms/components/message/types/error-message-mapping.d.ts +0 -9
- package/forms/components/message/types/message-parent-form-field.d.ts +0 -9
- package/forms/components/message/types/message-variant.type.d.ts +0 -6
- package/forms/components/message/types/message.type.d.ts +0 -6
- package/forms/components/option/option-group.component.d.ts +0 -13
- package/forms/components/option/option.component.d.ts +0 -47
- package/forms/components/option/tokens/option-group.d.ts +0 -3
- package/forms/components/option/tokens/option-parent.d.ts +0 -11
- package/forms/components/option/types/option-events.class.d.ts +0 -7
- package/forms/components/pseudo-checkbox/pseudo-checkbox.component.d.ts +0 -14
- package/forms/components/pseudo-checkbox/tokens/pseudo-checkbox-parent.d.ts +0 -7
- package/forms/components/pseudo-checkbox/types/pseudo-checkbox-state.type.d.ts +0 -6
- package/forms/directives/form-field-action.directive.d.ts +0 -5
- package/forms/directives/label.directive.d.ts +0 -5
- package/forms/directives/message-prefix.directive.d.ts +0 -5
- package/forms/directives/message-suffix.directive.d.ts +0 -5
- package/forms/directives/message.directive.d.ts +0 -17
- package/forms/directives/prefix.directive.d.ts +0 -7
- package/forms/directives/suffix.directive.d.ts +0 -7
- package/forms/public-api.d.ts +0 -37
- package/forms/validators.d.ts +0 -9
- package/icon/icon-defaults.d.ts +0 -12
- package/icon/icon.component.d.ts +0 -33
- package/icon/public-api.d.ts +0 -5
- package/icon/tokens/icon-parent.d.ts +0 -6
- package/icon/types/icon-source.type.d.ts +0 -5
- package/icon/types/icon-variant.type.d.ts +0 -12
- package/icon-button/icon-button-defaults.d.ts +0 -11
- package/icon-button/icon-button.component.d.ts +0 -28
- package/icon-button/public-api.d.ts +0 -5
- package/icon-button/tokens/icon-button-parent.d.ts +0 -9
- package/icon-button/types/icon-button-appearance.type.d.ts +0 -6
- package/icon-button/types/icon-button-variant.type.d.ts +0 -13
- package/menu/action-menu/action-menu-trigger.directive.d.ts +0 -12
- package/menu/active-indicator/active-indicator.directive.d.ts +0 -7
- package/menu/menu-item/menu-item-defaults.d.ts +0 -12
- package/menu/menu-item/menu-item.component.d.ts +0 -27
- package/menu/menu-item/types/menu-item-appearance.type.d.ts +0 -5
- package/menu/menu-item/types/menu-item-variant.type.d.ts +0 -5
- package/menu/public-api.d.ts +0 -6
- package/notification/notification-action-button.directive.d.ts +0 -5
- package/notification/notification-defaults.d.ts +0 -15
- package/notification/notification.component.d.ts +0 -34
- package/notification/public-api.d.ts +0 -5
- package/notification/types/notification-appearance.type.d.ts +0 -5
- package/notification/types/notification-variant.type.d.ts +0 -10
- package/overlay-panel/overlay-panel-defaults.d.ts +0 -11
- package/overlay-panel/overlay-panel.component.d.ts +0 -18
- package/overlay-panel/public-api.d.ts +0 -4
- package/overlay-panel/types/overlay-panel-appearance.type.d.ts +0 -6
- package/overlay-panel/types/overlay-panel-variant.type.d.ts +0 -5
- package/paginator/paginator-defaults.d.ts +0 -22
- package/paginator/paginator-intl.d.ts +0 -24
- package/paginator/paginator.component.d.ts +0 -67
- package/paginator/public-api.d.ts +0 -5
- package/paginator/types/paginator-appearance.type.d.ts +0 -4
- package/paginator/types/paginator-events.class.d.ts +0 -6
- package/paginator/types/paginator-variant.type.d.ts +0 -7
- package/public-api.d.ts +0 -2
- package/radio/public-api.d.ts +0 -5
- package/radio/radio-defaults.d.ts +0 -11
- package/radio/radio-group.directive.d.ts +0 -46
- package/radio/radio.component.d.ts +0 -30
- package/radio/types/radio-events.class.d.ts +0 -6
- package/radio/types/radio-variant.type.d.ts +0 -6
- package/segmented-control/public-api.d.ts +0 -6
- package/segmented-control/segmented-control-defaults.d.ts +0 -11
- package/segmented-control/segmented-control-item.component.d.ts +0 -33
- package/segmented-control/segmented-control.directive.d.ts +0 -42
- package/segmented-control/types/segmented-control-appearance.type.d.ts +0 -4
- package/segmented-control/types/segmented-control-item-change.class.d.ts +0 -7
- package/segmented-control/types/segmented-control-variant.type.d.ts +0 -6
- package/segmented-control-toggle/public-api.d.ts +0 -6
- package/segmented-control-toggle/segmented-control-toggle-defaults.d.ts +0 -12
- package/segmented-control-toggle/segmented-control-toggle-item.component.d.ts +0 -32
- package/segmented-control-toggle/segmented-control-toggle.directive.d.ts +0 -43
- package/segmented-control-toggle/types/segmented-control-toggle-appearance.type.d.ts +0 -5
- package/segmented-control-toggle/types/segmented-control-toggle-item-change.class.d.ts +0 -6
- package/segmented-control-toggle/types/segmented-control-toggle-variant.type.d.ts +0 -11
- package/select/public-api.d.ts +0 -3
- package/select/select-defaults.d.ts +0 -9
- package/select/select-positions.d.ts +0 -2
- package/select/select-trigger.directive.d.ts +0 -5
- package/select/select.component.d.ts +0 -85
- package/side-sheet/public-api.d.ts +0 -3
- package/side-sheet/side-sheet-defaults.d.ts +0 -20
- package/side-sheet/side-sheet-header/side-sheet-header.component.d.ts +0 -19
- package/side-sheet/side-sheet.component.d.ts +0 -40
- package/side-sheet/types/side-sheet.type.d.ts +0 -20
- package/snackbar/animations.d.ts +0 -2
- package/snackbar/public-api.d.ts +0 -7
- package/snackbar/services/snackbar.service.d.ts +0 -28
- package/snackbar/snackbar-defaults.d.ts +0 -16
- package/snackbar/snackbar-group.component.d.ts +0 -25
- package/snackbar/snackbar-position-strategies.d.ts +0 -4
- package/snackbar/snackbar.component.d.ts +0 -51
- package/snackbar/types/snackbar-data.type.d.ts +0 -15
- package/snackbar/types/snackbar-inner-data.type.d.ts +0 -4
- package/snackbar/types/snackbar-position.type.d.ts +0 -9
- package/snackbar/types/snackbar-variant.type.d.ts +0 -8
- package/spinner/public-api.d.ts +0 -3
- package/spinner/spinner-defaults.d.ts +0 -11
- package/spinner/spinner.component.d.ts +0 -17
- package/spinner/types/spinner-variant.type.d.ts +0 -11
- package/switch/public-api.d.ts +0 -5
- package/switch/switch-animations.d.ts +0 -2
- package/switch/switch-defaults.d.ts +0 -13
- package/switch/switch-group.component.d.ts +0 -14
- package/switch/switch.component.d.ts +0 -45
- package/switch/types/switch-positions.type.d.ts +0 -10
- package/switch/types/switch-variant.type.d.ts +0 -6
- package/tab/public-api.d.ts +0 -6
- package/tab/tab-group-defaults.d.ts +0 -15
- package/tab/tab-group.component.d.ts +0 -30
- package/tab/tab.component.d.ts +0 -18
- package/tab/types/tab-group-position.type.d.ts +0 -6
- package/tab/types/tab-group-variant.type.d.ts +0 -6
- package/tab/types/tab-indicator-position.type.d.ts +0 -7
- package/table/components/cell-content/cell-content.component.d.ts +0 -25
- package/table/datasource/server-side-datasource.d.ts +0 -37
- package/table/directives/cell-renderer.d.ts +0 -13
- package/table/directives/cell-template.d.ts +0 -8
- package/table/directives/row-info-holder.d.ts +0 -9
- package/table/public-api.d.ts +0 -18
- package/table/table-defaults.d.ts +0 -22
- package/table/table-intl.d.ts +0 -25
- package/table/table.component.d.ts +0 -142
- package/table/types/pagination-params.d.ts +0 -9
- package/table/types/request-factory.d.ts +0 -5
- package/table/types/request-pagination-data.d.ts +0 -6
- package/table/types/response-data.d.ts +0 -5
- package/table/types/table-appearance.type.d.ts +0 -6
- package/table/types/table-cell-click-event.d.ts +0 -6
- package/table/types/table-column-def.d.ts +0 -97
- package/table/types/table-row-click-event.d.ts +0 -4
- package/table/types/table-row-keydown-event.d.ts +0 -4
- package/table/types/table-sort-direction.d.ts +0 -6
- package/table/types/table-sort-info.d.ts +0 -6
- package/table/types/table-variant.type.d.ts +0 -6
- package/tag/public-api.d.ts +0 -6
- package/tag/tag-defaults.d.ts +0 -11
- package/tag/tag-group-defaults.d.ts +0 -9
- package/tag/tag-group.component.d.ts +0 -13
- package/tag/tag.component.d.ts +0 -23
- package/tag/types/tag-appearance.type.d.ts +0 -5
- package/tag/types/tag-variant.type.d.ts +0 -13
- package/tooltip/public-api.d.ts +0 -5
- package/tooltip/tooltip-defaults.d.ts +0 -18
- package/tooltip/tooltip-position-strategies.d.ts +0 -3
- package/tooltip/tooltip.component.d.ts +0 -31
- package/tooltip/tooltip.directive.d.ts +0 -60
- package/tooltip/types/tooltip-position.type.d.ts +0 -11
- package/tooltip/types/tooltip-variant.type.d.ts +0 -5
- package/tooltip/types/tooltip.type.d.ts +0 -2
- package/tooltip/utils/tooltip-converters.d.ts +0 -3
package/forms/index.d.ts
CHANGED
|
@@ -1,5 +1,470 @@
|
|
|
1
|
+
import * as _angular_forms from '@angular/forms';
|
|
2
|
+
import { AbstractControl, FormGroupDirective, NgForm, NgControl, ControlEvent, ValidationErrors } from '@angular/forms';
|
|
3
|
+
import { Subject } from 'rxjs';
|
|
4
|
+
import * as _angular_core from '@angular/core';
|
|
5
|
+
import { InjectionToken, Injector, ElementRef, Signal, AfterViewInit, OnInit } from '@angular/core';
|
|
6
|
+
import * as _i_cell_ids_angular_core from '@i-cell/ids-angular/core';
|
|
7
|
+
import { ComponentBase, IdsSizeType, ComponentBaseWithDefaults } from '@i-cell/ids-angular/core';
|
|
8
|
+
import { FocusOrigin } from '@angular/cdk/a11y';
|
|
9
|
+
|
|
10
|
+
declare abstract class AbstractErrorStateMatcher {
|
|
11
|
+
abstract isErrorState(control: AbstractControl | null, form: FormGroupDirective | NgForm | null): boolean;
|
|
12
|
+
}
|
|
13
|
+
declare class ErrorStateMatcher extends AbstractErrorStateMatcher {
|
|
14
|
+
isErrorState(control: AbstractControl | null, form: FormGroupDirective | NgForm | null): boolean;
|
|
15
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<ErrorStateMatcher, never>;
|
|
16
|
+
static ɵprov: _angular_core.ɵɵInjectableDeclaration<ErrorStateMatcher>;
|
|
17
|
+
}
|
|
18
|
+
declare class ErrorStateTracker {
|
|
19
|
+
private _matcher;
|
|
20
|
+
private _ngControl;
|
|
21
|
+
private _parentFormGroup;
|
|
22
|
+
private _parentForm;
|
|
23
|
+
private _stateChanges?;
|
|
24
|
+
/** Whether the tracker is currently in an error state. */
|
|
25
|
+
hasErrorState: boolean;
|
|
26
|
+
constructor(_matcher: ErrorStateMatcher | null, _ngControl: NgControl | null, _parentFormGroup: FormGroupDirective | null, _parentForm: NgForm | null, _stateChanges?: Subject<void> | undefined);
|
|
27
|
+
/** Updates the error state based on the provided error state matcher. */
|
|
28
|
+
updateErrorState(): void;
|
|
29
|
+
}
|
|
30
|
+
|
|
31
|
+
declare abstract class AbstractSuccessStateMatcher {
|
|
32
|
+
abstract isSuccessState(control: AbstractControl | null, form: FormGroupDirective | NgForm | null): boolean;
|
|
33
|
+
}
|
|
34
|
+
declare class SuccessStateMatcher extends AbstractSuccessStateMatcher {
|
|
35
|
+
isSuccessState(control: AbstractControl | null, form: FormGroupDirective | NgForm | null): boolean;
|
|
36
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<SuccessStateMatcher, never>;
|
|
37
|
+
static ɵprov: _angular_core.ɵɵInjectableDeclaration<SuccessStateMatcher>;
|
|
38
|
+
}
|
|
39
|
+
declare class SuccessStateTracker {
|
|
40
|
+
private _matcher;
|
|
41
|
+
private _ngControl;
|
|
42
|
+
private _parentFormGroup;
|
|
43
|
+
private _parentForm;
|
|
44
|
+
private _stateChanges?;
|
|
45
|
+
/** Whether the tracker is currently in an success state. */
|
|
46
|
+
hasSuccessState: boolean;
|
|
47
|
+
constructor(_matcher: SuccessStateMatcher | null, _ngControl: NgControl | null, _parentFormGroup: FormGroupDirective | null, _parentForm: NgForm | null, _stateChanges?: Subject<void> | undefined);
|
|
48
|
+
/** Updates the success state based on the provided success state matcher. */
|
|
49
|
+
updateSuccessState(): void;
|
|
50
|
+
}
|
|
51
|
+
|
|
52
|
+
declare class IdsFieldsetRowComponent extends ComponentBase {
|
|
53
|
+
protected get _hostName(): string;
|
|
54
|
+
protected _hostClasses: _angular_core.WritableSignal<string>;
|
|
55
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<IdsFieldsetRowComponent, never>;
|
|
56
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<IdsFieldsetRowComponent, "ids-fieldset-row", never, {}, {}, never, ["*"], true, never>;
|
|
57
|
+
}
|
|
58
|
+
|
|
59
|
+
declare const IdsFormFieldVariant: {
|
|
60
|
+
readonly SURFACE: "surface";
|
|
61
|
+
readonly LIGHT: "light";
|
|
62
|
+
};
|
|
63
|
+
type IdsFormFieldVariantType = (typeof IdsFormFieldVariant)[keyof typeof IdsFormFieldVariant];
|
|
64
|
+
|
|
65
|
+
interface IdsFieldsetDefaultConfig {
|
|
66
|
+
size?: IdsSizeType;
|
|
67
|
+
variant?: IdsFormFieldVariantType;
|
|
68
|
+
}
|
|
69
|
+
declare const IDS_FIELDSET_DEFAULT_CONFIG: InjectionToken<IdsFieldsetDefaultConfig>;
|
|
70
|
+
declare function IDS_FIELDSET_DEFAULT_CONFIG_FACTORY(): Required<IdsFieldsetDefaultConfig>;
|
|
71
|
+
|
|
72
|
+
declare class IdsFieldsetMessageDirective {
|
|
73
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<IdsFieldsetMessageDirective, never>;
|
|
74
|
+
static ɵdir: _angular_core.ɵɵDirectiveDeclaration<IdsFieldsetMessageDirective, "[idsFieldsetMessage]", never, {}, {}, never, never, true, never>;
|
|
75
|
+
}
|
|
76
|
+
|
|
77
|
+
declare class IdsFieldsetComponent extends ComponentBaseWithDefaults<IdsFieldsetDefaultConfig> {
|
|
78
|
+
protected get _hostName(): string;
|
|
79
|
+
protected readonly _defaultConfig: Required<IdsFieldsetDefaultConfig>;
|
|
80
|
+
size: _angular_core.InputSignal<IdsSizeType>;
|
|
81
|
+
variant: _angular_core.InputSignal<IdsFormFieldVariantType>;
|
|
82
|
+
legend: _angular_core.InputSignal<string>;
|
|
83
|
+
private _fieldsetMessage;
|
|
84
|
+
protected _hasMessage: _angular_core.Signal<boolean>;
|
|
85
|
+
protected _hostClasses: _angular_core.Signal<string>;
|
|
86
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<IdsFieldsetComponent, never>;
|
|
87
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<IdsFieldsetComponent, "fieldset[idsFieldset]", never, { "size": { "alias": "size"; "required": false; "isSignal": true; }; "variant": { "alias": "variant"; "required": false; "isSignal": true; }; "legend": { "alias": "legend"; "required": false; "isSignal": true; }; }, {}, ["_fieldsetMessage"], ["[idsFieldsetMessage]", "ids-fieldset-row"], true, never>;
|
|
88
|
+
}
|
|
89
|
+
|
|
90
|
+
declare const formFieldControlClass = "ids-form-field-control";
|
|
91
|
+
declare abstract class IdsFormFieldControl<D = unknown> extends ComponentBaseWithDefaults<D> {
|
|
92
|
+
protected readonly _injector: Injector;
|
|
93
|
+
protected readonly _parentForm: NgForm | null;
|
|
94
|
+
protected readonly _parentFormGroup: FormGroupDirective | null;
|
|
95
|
+
readonly ngControl: _angular_core.WritableSignal<NgControl | null>;
|
|
96
|
+
readonly errorStateChanges: Subject<void>;
|
|
97
|
+
readonly successStateChanges: Subject<void>;
|
|
98
|
+
readonly canHandleSuccessState: _angular_core.InputSignal<boolean>;
|
|
99
|
+
readonly hasErrorState: _angular_core.WritableSignal<boolean>;
|
|
100
|
+
readonly hasSuccessState: _angular_core.WritableSignal<boolean>;
|
|
101
|
+
protected abstract readonly _elementRef: ElementRef;
|
|
102
|
+
abstract readonly errorStateMatcher: Signal<AbstractErrorStateMatcher>;
|
|
103
|
+
abstract readonly successStateMatcher: Signal<AbstractSuccessStateMatcher>;
|
|
104
|
+
private _canHandleSuccessStateEffect;
|
|
105
|
+
/** Handles the `disabled` input binding */
|
|
106
|
+
readonly disabledInput: _angular_core.InputSignalWithTransform<boolean, unknown>;
|
|
107
|
+
/** Stores the `disabled` state internally */
|
|
108
|
+
protected readonly _disabled: _angular_core.WritableSignal<boolean>;
|
|
109
|
+
/** The input's `disabled` state as a read-only signal (to enable/disable the contol programmatically, use the FormControl's related API) */
|
|
110
|
+
readonly disabled: Signal<boolean>;
|
|
111
|
+
readonly readonly: _angular_core.InputSignalWithTransform<boolean, unknown>;
|
|
112
|
+
/** This effect is triggered if the `disabled` attribute binding changes and delegates the change to the underlying FormControl */
|
|
113
|
+
private _disabledInputEffect;
|
|
114
|
+
readonly required: _angular_core.InputSignalWithTransform<boolean, unknown>;
|
|
115
|
+
readonly placeholder: _angular_core.InputSignal<string>;
|
|
116
|
+
abstract onContainerClick(event: MouseEvent): void;
|
|
117
|
+
protected _errorStateTracker?: ErrorStateTracker;
|
|
118
|
+
protected _successStateTracker?: SuccessStateTracker;
|
|
119
|
+
private _successStateSubscription?;
|
|
120
|
+
constructor();
|
|
121
|
+
setDescribedByIds(ids: string[]): void;
|
|
122
|
+
protected _initErrorStateTracker(): void;
|
|
123
|
+
protected _setSuccessStateTracker(canHandleSuccessState: boolean): void;
|
|
124
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<IdsFormFieldControl<any>, never>;
|
|
125
|
+
static ɵdir: _angular_core.ɵɵDirectiveDeclaration<IdsFormFieldControl<any>, never, never, { "canHandleSuccessState": { "alias": "canHandleSuccessState"; "required": false; "isSignal": true; }; "disabledInput": { "alias": "disabled"; "required": false; "isSignal": true; }; "readonly": { "alias": "readonly"; "required": false; "isSignal": true; }; "required": { "alias": "required"; "required": false; "isSignal": true; }; "placeholder": { "alias": "placeholder"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
126
|
+
}
|
|
127
|
+
|
|
128
|
+
declare const IDS_FORM_FIELD_CONTROL: InjectionToken<IdsFormFieldControl<unknown>>;
|
|
129
|
+
|
|
130
|
+
interface IdsFormFieldDefaultConfig {
|
|
131
|
+
size?: IdsSizeType;
|
|
132
|
+
variant?: IdsFormFieldVariantType;
|
|
133
|
+
}
|
|
134
|
+
declare const IDS_FORM_FIELD_DEFAULT_CONFIG: InjectionToken<IdsFormFieldDefaultConfig>;
|
|
135
|
+
declare function IDS_FORM_FIELD_DEFAULT_CONFIG_FACTORY(): Required<IdsFormFieldDefaultConfig>;
|
|
136
|
+
|
|
137
|
+
declare class IdsFormFieldComponent extends ComponentBaseWithDefaults<IdsFormFieldDefaultConfig> {
|
|
138
|
+
protected get _hostName(): string;
|
|
139
|
+
private readonly _changeDetectorRef;
|
|
140
|
+
private readonly _parentFieldset;
|
|
141
|
+
protected readonly _defaultConfig: Required<IdsFormFieldDefaultConfig>;
|
|
142
|
+
private _fieldWrapper;
|
|
143
|
+
private _child;
|
|
144
|
+
private _hintMessages;
|
|
145
|
+
private _successMessages;
|
|
146
|
+
private _errorMessages;
|
|
147
|
+
private _actions;
|
|
148
|
+
private _prefixes;
|
|
149
|
+
private _suffixes;
|
|
150
|
+
protected _hasActions: _angular_core.Signal<boolean>;
|
|
151
|
+
protected _hasLeadingIcon: _angular_core.Signal<boolean>;
|
|
152
|
+
protected _hasPrefix: _angular_core.Signal<boolean>;
|
|
153
|
+
protected _hasSuffix: _angular_core.Signal<boolean>;
|
|
154
|
+
protected _hasTrailingIcon: _angular_core.Signal<boolean>;
|
|
155
|
+
protected _inputId: _angular_core.Signal<string>;
|
|
156
|
+
size: _angular_core.InputSignal<IdsSizeType>;
|
|
157
|
+
variant: _angular_core.InputSignal<IdsFormFieldVariantType>;
|
|
158
|
+
parentOrSelfSize: _angular_core.Signal<IdsSizeType>;
|
|
159
|
+
parentOrSelfVariant: _angular_core.Signal<IdsFormFieldVariantType>;
|
|
160
|
+
controlDir: _angular_core.Signal<_angular_forms.NgControl | null>;
|
|
161
|
+
disabled: _angular_core.Signal<boolean>;
|
|
162
|
+
readonly: _angular_core.Signal<boolean>;
|
|
163
|
+
private _hasErrorState;
|
|
164
|
+
private _hasSuccessState;
|
|
165
|
+
protected _hostClasses: _angular_core.Signal<string>;
|
|
166
|
+
protected _displayedMessages: _angular_core.Signal<"error" | "success" | "hint" | undefined>;
|
|
167
|
+
hasRequiredValidator: _angular_core.Signal<boolean | undefined>;
|
|
168
|
+
getConnectedOverlayOrigin(): ElementRef;
|
|
169
|
+
containerClick(event: MouseEvent): void;
|
|
170
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<IdsFormFieldComponent, never>;
|
|
171
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<IdsFormFieldComponent, "ids-form-field", never, { "size": { "alias": "size"; "required": false; "isSignal": true; }; "variant": { "alias": "variant"; "required": false; "isSignal": true; }; }, {}, ["_child", "_hintMessages", "_successMessages", "_errorMessages", "_actions", "_prefixes", "_suffixes"], ["ids-label", "ids-icon[idsLeadingIcon]", "[idsPrefix]", "*", "[idsSuffix]", "ids-icon[idsTrailingIcon]", "[idsFormFieldAction]", "ids-error-message", "ids-success-message", "ids-hint-message"], true, never>;
|
|
172
|
+
}
|
|
173
|
+
|
|
174
|
+
interface IdsInputDefaultConfig {
|
|
175
|
+
errorStateMatcher?: typeof AbstractErrorStateMatcher;
|
|
176
|
+
successStateMatcher?: typeof AbstractSuccessStateMatcher;
|
|
177
|
+
}
|
|
178
|
+
declare const IDS_INPUT_DEFAULT_CONFIG: InjectionToken<IdsInputDefaultConfig>;
|
|
179
|
+
declare function IDS_INPUT_DEFAULT_CONFIG_FACTORY(): Required<IdsInputDefaultConfig>;
|
|
180
|
+
|
|
181
|
+
type IdsInputType = 'button' | 'checkbox' | 'color' | 'date' | 'datetime-local' | 'email' | 'file' | 'hidden' | 'image' | 'month' | 'number' | 'password' | 'radio' | 'range' | 'reset' | 'search' | 'submit' | 'tel' | 'text' | 'time' | 'url' | 'week';
|
|
182
|
+
|
|
183
|
+
declare class IdsInputDirective extends IdsFormFieldControl<IdsInputDefaultConfig> implements AfterViewInit {
|
|
184
|
+
protected get _hostName(): string;
|
|
185
|
+
protected readonly _elementRef: ElementRef<HTMLInputElement> | ElementRef<HTMLTextAreaElement>;
|
|
186
|
+
protected readonly _defaultConfig: Required<IdsInputDefaultConfig>;
|
|
187
|
+
private _focused;
|
|
188
|
+
name: _angular_core.InputSignal<string | undefined>;
|
|
189
|
+
type: _angular_core.InputSignal<IdsInputType>;
|
|
190
|
+
readonly errorStateMatcher: _angular_core.InputSignal<AbstractErrorStateMatcher>;
|
|
191
|
+
readonly successStateMatcher: _angular_core.InputSignal<AbstractSuccessStateMatcher>;
|
|
192
|
+
protected _hostClasses: _angular_core.Signal<string>;
|
|
193
|
+
private _validateTypeEffect;
|
|
194
|
+
ngAfterViewInit(): void;
|
|
195
|
+
private _validateType;
|
|
196
|
+
focus(options?: FocusOptions): void;
|
|
197
|
+
private _focusChanged;
|
|
198
|
+
updateControlState(event: ControlEvent): void;
|
|
199
|
+
/**
|
|
200
|
+
* Should be an arrow function in order to handle `this` outside of this class
|
|
201
|
+
*/
|
|
202
|
+
onContainerClick: () => void;
|
|
203
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<IdsInputDirective, never>;
|
|
204
|
+
static ɵdir: _angular_core.ɵɵDirectiveDeclaration<IdsInputDirective, "input[idsInput][ngModel]:not([formControl]):not([formControlName]), input[idsInput][formControl]:not([ngModel]):not([formControlName]), input[idsInput][formControlName]:not([ngModel]):not([formControl]), textarea[idsInput][ngModel]:not([formControl]):not([formControlName]), textarea[idsInput][formControl]:not([ngModel]):not([formControlName]), textarea[idsInput][formControlName]:not([ngModel]):not([formControl])", ["idsInput"], { "name": { "alias": "name"; "required": false; "isSignal": true; }; "type": { "alias": "type"; "required": false; "isSignal": true; }; "errorStateMatcher": { "alias": "errorStateMatcher"; "required": false; "isSignal": true; }; "successStateMatcher": { "alias": "successStateMatcher"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
205
|
+
}
|
|
206
|
+
|
|
1
207
|
/**
|
|
2
|
-
*
|
|
208
|
+
* A validation error's representation that maps an error message (or a function returning a message) to an error code.
|
|
3
209
|
*/
|
|
4
|
-
|
|
5
|
-
|
|
210
|
+
interface IdsErrorMessageMapping {
|
|
211
|
+
/** The code of the error (usually the error key returned by a {@link ValidatorFn}) */
|
|
212
|
+
code: string;
|
|
213
|
+
/** The error's message (either a string literal or a function that returns a literal) */
|
|
214
|
+
message: string | (() => string);
|
|
215
|
+
}
|
|
216
|
+
|
|
217
|
+
/**
|
|
218
|
+
* Directive to map an error message to an error code for a form field.
|
|
219
|
+
* Mappings must be defined between the directive element's tags ordered by priority (descending from top to bottom).
|
|
220
|
+
* The error code is provided as an attribute, while the error message will be this directive's text content.
|
|
221
|
+
* The latter can be a plain string literal or even an interpolated string value.
|
|
222
|
+
*
|
|
223
|
+
* @example
|
|
224
|
+
* ```html
|
|
225
|
+
* <ids-form-field>
|
|
226
|
+
* <ids-label>Input field</ids-label>
|
|
227
|
+
* <input
|
|
228
|
+
* idsInput
|
|
229
|
+
* ngModel
|
|
230
|
+
* customValidator
|
|
231
|
+
* required
|
|
232
|
+
* [minlength]="3"
|
|
233
|
+
* [maxlength]="10"
|
|
234
|
+
* [pattern]="validPattern"
|
|
235
|
+
* >
|
|
236
|
+
* <ids-error-message>
|
|
237
|
+
* <ids-error-def code="required">{{ 'ERROR.REQUIRED.CUSTOM' | translate }}</ids-error-def>
|
|
238
|
+
* <ids-error-def code="minlength">'minLength' error message</ids-error-def>
|
|
239
|
+
* <ids-error-def code="maxlength">'maxLength' error message</ids-error-def>
|
|
240
|
+
* <ids-error-def code="pattern">'pattern' error message with interpolation: {{ model.value }}</ids-error-def>
|
|
241
|
+
* <ids-error-def code="custom">Custom validator error message</ids-error-def>
|
|
242
|
+
* </ids-error-message>
|
|
243
|
+
* </ids-form-field>
|
|
244
|
+
* ```
|
|
245
|
+
*/
|
|
246
|
+
declare class IdsErrorDefinitionDirective {
|
|
247
|
+
/**
|
|
248
|
+
* The validation error's identifier code
|
|
249
|
+
*/
|
|
250
|
+
code: _angular_core.InputSignal<string>;
|
|
251
|
+
private _elementRef;
|
|
252
|
+
/**
|
|
253
|
+
* The validation error's message that will be presented to the user
|
|
254
|
+
*/
|
|
255
|
+
get errorMessage(): string;
|
|
256
|
+
/**
|
|
257
|
+
* Creates a IdsErrorMessageMapping instance based on this directive's state (code, errorMessage)
|
|
258
|
+
* @returns A IdsErrorMessageMapping instance
|
|
259
|
+
*/
|
|
260
|
+
toErrorMessageMapping(): IdsErrorMessageMapping;
|
|
261
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<IdsErrorDefinitionDirective, never>;
|
|
262
|
+
static ɵdir: _angular_core.ɵɵDirectiveDeclaration<IdsErrorDefinitionDirective, "ids-error-def", never, { "code": { "alias": "code"; "required": true; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
263
|
+
}
|
|
264
|
+
|
|
265
|
+
declare class IdsMessageSuffixDirective {
|
|
266
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<IdsMessageSuffixDirective, never>;
|
|
267
|
+
static ɵdir: _angular_core.ɵɵDirectiveDeclaration<IdsMessageSuffixDirective, "[idsMessageSuffix]", never, {}, {}, never, never, true, never>;
|
|
268
|
+
}
|
|
269
|
+
|
|
270
|
+
declare const IdsMessageVariant: {
|
|
271
|
+
readonly SURFACE: "surface";
|
|
272
|
+
readonly LIGHT: "light";
|
|
273
|
+
readonly DARK: "dark";
|
|
274
|
+
};
|
|
275
|
+
type IdsMessageVariantType = (typeof IdsMessageVariant)[keyof typeof IdsMessageVariant];
|
|
276
|
+
|
|
277
|
+
interface IdsMessageDefaultConfig {
|
|
278
|
+
size?: IdsSizeType;
|
|
279
|
+
variant?: IdsMessageVariantType;
|
|
280
|
+
}
|
|
281
|
+
declare const IDS_MESSAGE_DEFAULT_CONFIG: InjectionToken<IdsMessageDefaultConfig>;
|
|
282
|
+
declare function IDS_MESSAGE_DEFAULT_CONFIG_FACTORY(): Required<IdsMessageDefaultConfig>;
|
|
283
|
+
|
|
284
|
+
declare class IdsMessageDirective extends ComponentBaseWithDefaults<IdsMessageDefaultConfig> {
|
|
285
|
+
protected get _hostName(): string;
|
|
286
|
+
private readonly _parent;
|
|
287
|
+
protected readonly _defaultConfig: Required<IdsMessageDefaultConfig>;
|
|
288
|
+
size: _angular_core.InputSignal<IdsSizeType>;
|
|
289
|
+
variant: _angular_core.InputSignal<IdsMessageVariantType>;
|
|
290
|
+
private _parentOrSelfSize;
|
|
291
|
+
private _parentOrSelfVariant;
|
|
292
|
+
private _parentDisabled;
|
|
293
|
+
protected _hostClasses: _angular_core.Signal<string>;
|
|
294
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<IdsMessageDirective, never>;
|
|
295
|
+
static ɵdir: _angular_core.ɵɵDirectiveDeclaration<IdsMessageDirective, "[idsMessage]", never, { "size": { "alias": "size"; "required": false; "isSignal": true; }; "variant": { "alias": "variant"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
296
|
+
}
|
|
297
|
+
|
|
298
|
+
declare class IdsErrorMessageComponent extends ComponentBase {
|
|
299
|
+
protected get _hostName(): string;
|
|
300
|
+
private _parent;
|
|
301
|
+
private _control;
|
|
302
|
+
private _errorDefDirs;
|
|
303
|
+
private _errorDefs;
|
|
304
|
+
protected _validationError: _angular_core.WritableSignal<IdsErrorMessageMapping | null>;
|
|
305
|
+
protected _hostClasses: _angular_core.Signal<string>;
|
|
306
|
+
suffixes: _angular_core.Signal<readonly IdsMessageSuffixDirective[]>;
|
|
307
|
+
constructor();
|
|
308
|
+
private _selectMostImportantValidationError;
|
|
309
|
+
protected _getValidationErrorMessage(messageOrFn: IdsErrorMessageMapping['message']): string;
|
|
310
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<IdsErrorMessageComponent, never>;
|
|
311
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<IdsErrorMessageComponent, "ids-error-message", never, {}, {}, ["_errorDefDirs", "suffixes"], ["[idsMessagePrefix]", "[idsMessageSuffix]"], true, [{ directive: typeof IdsMessageDirective; inputs: {}; outputs: {}; }]>;
|
|
312
|
+
}
|
|
313
|
+
|
|
314
|
+
declare class IdsMessagePrefixDirective {
|
|
315
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<IdsMessagePrefixDirective, never>;
|
|
316
|
+
static ɵdir: _angular_core.ɵɵDirectiveDeclaration<IdsMessagePrefixDirective, "[idsMessagePrefix]", never, {}, {}, never, never, true, never>;
|
|
317
|
+
}
|
|
318
|
+
|
|
319
|
+
declare class IdsHintMessageComponent {
|
|
320
|
+
prefixes: _angular_core.Signal<readonly IdsMessagePrefixDirective[]>;
|
|
321
|
+
suffixes: _angular_core.Signal<readonly IdsMessageSuffixDirective[]>;
|
|
322
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<IdsHintMessageComponent, never>;
|
|
323
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<IdsHintMessageComponent, "ids-hint-message", never, {}, {}, ["prefixes", "suffixes"], ["[idsMessagePrefix]", "*", "[idsMessageSuffix]"], true, [{ directive: typeof IdsMessageDirective; inputs: { "size": "size"; "variant": "variant"; }; outputs: {}; }]>;
|
|
324
|
+
}
|
|
325
|
+
|
|
326
|
+
declare class IdsSuccessMessageComponent extends ComponentBase {
|
|
327
|
+
protected get _hostName(): string;
|
|
328
|
+
protected _hostClasses: _angular_core.Signal<string>;
|
|
329
|
+
suffixes: _angular_core.Signal<readonly IdsMessageSuffixDirective[]>;
|
|
330
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<IdsSuccessMessageComponent, never>;
|
|
331
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<IdsSuccessMessageComponent, "ids-success-message", never, {}, {}, ["suffixes"], ["[idsMessagePrefix]", "*", "[idsMessageSuffix]"], true, [{ directive: typeof IdsMessageDirective; inputs: {}; outputs: {}; }]>;
|
|
332
|
+
}
|
|
333
|
+
|
|
334
|
+
declare const Message: {
|
|
335
|
+
readonly HINT: "hint";
|
|
336
|
+
readonly ERROR: "error";
|
|
337
|
+
readonly SUCCESS: "success";
|
|
338
|
+
};
|
|
339
|
+
type MessageType = (typeof Message)[keyof typeof Message];
|
|
340
|
+
|
|
341
|
+
declare class IdsOptionGroupComponent extends ComponentBase {
|
|
342
|
+
protected get _hostName(): string;
|
|
343
|
+
private readonly _parent;
|
|
344
|
+
protected readonly _inert: boolean;
|
|
345
|
+
label: _angular_core.InputSignal<string | undefined>;
|
|
346
|
+
disabled: _angular_core.InputSignalWithTransform<boolean, unknown>;
|
|
347
|
+
protected readonly _labelId: _angular_core.Signal<string>;
|
|
348
|
+
protected readonly _hostClasses: _angular_core.Signal<string>;
|
|
349
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<IdsOptionGroupComponent, never>;
|
|
350
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<IdsOptionGroupComponent, "ids-option-group", never, { "label": { "alias": "label"; "required": false; "isSignal": true; }; "disabled": { "alias": "disabled"; "required": false; "isSignal": true; }; }, {}, never, ["ids-option, ng-container"], true, never>;
|
|
351
|
+
}
|
|
352
|
+
|
|
353
|
+
declare const IDS_OPTION_GROUP: InjectionToken<IdsOptionGroupComponent>;
|
|
354
|
+
|
|
355
|
+
interface IdsOptionParentComponent {
|
|
356
|
+
multiSelect: Signal<boolean>;
|
|
357
|
+
inertGroups?: boolean;
|
|
358
|
+
parentSize: Signal<IdsSizeType>;
|
|
359
|
+
parentVariant: Signal<IdsFormFieldVariantType>;
|
|
360
|
+
isOptionPreSelectedByValue(optionValue: unknown): boolean;
|
|
361
|
+
}
|
|
362
|
+
declare const IDS_OPTION_PARENT_COMPONENT: InjectionToken<IdsOptionParentComponent>;
|
|
363
|
+
|
|
364
|
+
interface IdsPseudoCheckboxParent<T extends string> {
|
|
365
|
+
embeddedPseudoCheckboxSize: Signal<IdsSizeType>;
|
|
366
|
+
embeddedPseudoCheckboxVariant: Signal<T>;
|
|
367
|
+
}
|
|
368
|
+
declare const IDS_PSEUDO_CHECKBOX_PARENT: InjectionToken<IdsPseudoCheckboxParent<string>>;
|
|
369
|
+
|
|
370
|
+
declare class IdsOptionComponent<T = unknown> extends ComponentBase implements OnInit, IdsPseudoCheckboxParent<IdsFormFieldVariantType> {
|
|
371
|
+
protected get _hostName(): string;
|
|
372
|
+
private readonly _parent;
|
|
373
|
+
private readonly _element;
|
|
374
|
+
readonly group: IdsOptionGroupComponent | null;
|
|
375
|
+
private _textElement;
|
|
376
|
+
selected: _angular_core.WritableSignal<boolean>;
|
|
377
|
+
private _active;
|
|
378
|
+
size: _angular_core.Signal<_i_cell_ids_angular_core.IdsSizeType>;
|
|
379
|
+
variant: _angular_core.Signal<IdsFormFieldVariantType>;
|
|
380
|
+
value: _angular_core.InputSignal<T | undefined>;
|
|
381
|
+
explicitViewValue: _angular_core.InputSignal<string | null>;
|
|
382
|
+
disabledInput: _angular_core.InputSignalWithTransform<boolean, unknown>;
|
|
383
|
+
disabled: boolean;
|
|
384
|
+
protected _groupOrOptionIsDisabled: _angular_core.Signal<boolean>;
|
|
385
|
+
protected readonly _multiSelect: boolean;
|
|
386
|
+
onSelectionChange: _angular_core.OutputEmitterRef<IdsOptionSelectionChange<T>>;
|
|
387
|
+
viewValue: _angular_core.Signal<string>;
|
|
388
|
+
protected readonly _hostClasses: _angular_core.Signal<string>;
|
|
389
|
+
protected _pseudoCheckboxState: _angular_core.Signal<"unchecked" | "checked">;
|
|
390
|
+
embeddedPseudoCheckboxSize: _angular_core.Signal<_i_cell_ids_angular_core.IdsSizeType>;
|
|
391
|
+
embeddedPseudoCheckboxVariant: _angular_core.WritableSignal<"surface">;
|
|
392
|
+
constructor();
|
|
393
|
+
ngOnInit(): void;
|
|
394
|
+
private _handleKeydown;
|
|
395
|
+
selectViaInteraction(): void;
|
|
396
|
+
getHostElement(): HTMLElement;
|
|
397
|
+
select(emitEvent?: boolean): void;
|
|
398
|
+
deselect(emitEvent?: boolean): void;
|
|
399
|
+
focus(_origin?: FocusOrigin, options?: FocusOptions): void;
|
|
400
|
+
setActiveStyles(): void;
|
|
401
|
+
setInactiveStyles(): void;
|
|
402
|
+
getLabel(): string;
|
|
403
|
+
private _emitSelectionChangeEvent;
|
|
404
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<IdsOptionComponent<any>, never>;
|
|
405
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<IdsOptionComponent<any>, "ids-option", never, { "value": { "alias": "value"; "required": false; "isSignal": true; }; "explicitViewValue": { "alias": "viewValue"; "required": false; "isSignal": true; }; "disabledInput": { "alias": "disabled"; "required": false; "isSignal": true; }; }, { "onSelectionChange": "onSelectionChange"; }, never, ["*"], true, never>;
|
|
406
|
+
}
|
|
407
|
+
declare function _countGroupLabelsBeforeOption(optionIndex: number, options: Readonly<IdsOptionComponent[]>, optionGroups: Readonly<IdsOptionGroupComponent[]>): number;
|
|
408
|
+
declare function _getOptionScrollPosition(optionOffset: number, optionHeight: number, currentScrollPosition: number, panelHeight: number): number;
|
|
409
|
+
|
|
410
|
+
declare class IdsOptionSelectionChange<T = unknown> {
|
|
411
|
+
source: IdsOptionComponent<T>;
|
|
412
|
+
selected: boolean;
|
|
413
|
+
isUserInput: boolean;
|
|
414
|
+
constructor(source: IdsOptionComponent<T>, selected: boolean, isUserInput?: boolean);
|
|
415
|
+
}
|
|
416
|
+
|
|
417
|
+
declare const IdsPseudoCheckboxState: {
|
|
418
|
+
readonly UNCHECKED: "unchecked";
|
|
419
|
+
readonly CHECKED: "checked";
|
|
420
|
+
readonly INDETERMINATE: "indeterminate";
|
|
421
|
+
};
|
|
422
|
+
type IdsPseudoCheckboxStateType = (typeof IdsPseudoCheckboxState)[keyof typeof IdsPseudoCheckboxState];
|
|
423
|
+
|
|
424
|
+
declare class PseudoCheckboxComponent extends ComponentBase {
|
|
425
|
+
protected get _hostName(): string;
|
|
426
|
+
private readonly _parent;
|
|
427
|
+
checkboxState: _angular_core.InputSignal<IdsPseudoCheckboxStateType>;
|
|
428
|
+
disabled: _angular_core.InputSignalWithTransform<boolean, unknown>;
|
|
429
|
+
protected _isChecked: _angular_core.Signal<boolean>;
|
|
430
|
+
protected _isIndeterminate: _angular_core.Signal<boolean>;
|
|
431
|
+
protected _hostClasses: _angular_core.Signal<string>;
|
|
432
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<PseudoCheckboxComponent, never>;
|
|
433
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<PseudoCheckboxComponent, "ids-pseudo-checkbox", never, { "checkboxState": { "alias": "checkboxState"; "required": false; "isSignal": true; }; "disabled": { "alias": "disabled"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
434
|
+
}
|
|
435
|
+
|
|
436
|
+
declare class IdsFormFieldActionDirective {
|
|
437
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<IdsFormFieldActionDirective, never>;
|
|
438
|
+
static ɵdir: _angular_core.ɵɵDirectiveDeclaration<IdsFormFieldActionDirective, "[idsFormFieldAction]", never, {}, {}, never, never, true, never>;
|
|
439
|
+
}
|
|
440
|
+
|
|
441
|
+
declare class IdsLabelDirective {
|
|
442
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<IdsLabelDirective, never>;
|
|
443
|
+
static ɵdir: _angular_core.ɵɵDirectiveDeclaration<IdsLabelDirective, "ids-label", never, {}, {}, never, never, true, never>;
|
|
444
|
+
}
|
|
445
|
+
|
|
446
|
+
declare class IdsPrefixDirective {
|
|
447
|
+
set idsLeadingIcon(value: '');
|
|
448
|
+
isLeadingIcon: boolean;
|
|
449
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<IdsPrefixDirective, never>;
|
|
450
|
+
static ɵdir: _angular_core.ɵɵDirectiveDeclaration<IdsPrefixDirective, "[idsPrefix], [idsLeadingIcon]", never, { "idsLeadingIcon": { "alias": "idsLeadingIcon"; "required": false; }; }, {}, never, never, true, never>;
|
|
451
|
+
}
|
|
452
|
+
|
|
453
|
+
declare class IdsSuffixDirective {
|
|
454
|
+
set idsTrailingIcon(value: '');
|
|
455
|
+
isTrailingIcon: boolean;
|
|
456
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<IdsSuffixDirective, never>;
|
|
457
|
+
static ɵdir: _angular_core.ɵɵDirectiveDeclaration<IdsSuffixDirective, "[idsSuffix], [idsTrailingIcon]", never, { "idsTrailingIcon": { "alias": "idsTrailingIcon"; "required": false; }; }, {}, never, never, true, never>;
|
|
458
|
+
}
|
|
459
|
+
|
|
460
|
+
declare class IdsValidators {
|
|
461
|
+
static required(control: AbstractControl): ValidationErrors | null;
|
|
462
|
+
static requiredTrue(control: AbstractControl): ValidationErrors | null;
|
|
463
|
+
static requiredFalse(control: AbstractControl): ValidationErrors | null;
|
|
464
|
+
}
|
|
465
|
+
declare function requiredValidator(control: AbstractControl): ValidationErrors | null;
|
|
466
|
+
declare function requiredTrueValidator(control: AbstractControl): ValidationErrors | null;
|
|
467
|
+
declare function requiredFalseValidator(control: AbstractControl): ValidationErrors | null;
|
|
468
|
+
|
|
469
|
+
export { AbstractErrorStateMatcher, AbstractSuccessStateMatcher, ErrorStateMatcher, ErrorStateTracker, IDS_FIELDSET_DEFAULT_CONFIG, IDS_FIELDSET_DEFAULT_CONFIG_FACTORY, IDS_FORM_FIELD_CONTROL, IDS_FORM_FIELD_DEFAULT_CONFIG, IDS_FORM_FIELD_DEFAULT_CONFIG_FACTORY, IDS_INPUT_DEFAULT_CONFIG, IDS_INPUT_DEFAULT_CONFIG_FACTORY, IDS_MESSAGE_DEFAULT_CONFIG, IDS_MESSAGE_DEFAULT_CONFIG_FACTORY, IDS_OPTION_GROUP, IDS_OPTION_PARENT_COMPONENT, IDS_PSEUDO_CHECKBOX_PARENT, IdsErrorDefinitionDirective, IdsErrorMessageComponent, IdsFieldsetComponent, IdsFieldsetMessageDirective, IdsFieldsetRowComponent, IdsFormFieldActionDirective, IdsFormFieldComponent, IdsFormFieldControl, IdsFormFieldVariant, IdsHintMessageComponent, IdsInputDirective, IdsLabelDirective, IdsMessageDirective, IdsMessagePrefixDirective, IdsMessageSuffixDirective, IdsMessageVariant, IdsOptionComponent, IdsOptionGroupComponent, IdsOptionSelectionChange, IdsPrefixDirective, IdsPseudoCheckboxState, IdsSuccessMessageComponent, IdsSuffixDirective, IdsValidators, Message, PseudoCheckboxComponent, SuccessStateMatcher, SuccessStateTracker, _countGroupLabelsBeforeOption, _getOptionScrollPosition, formFieldControlClass, requiredFalseValidator, requiredTrueValidator, requiredValidator };
|
|
470
|
+
export type { IdsErrorMessageMapping, IdsFieldsetDefaultConfig, IdsFormFieldDefaultConfig, IdsFormFieldVariantType, IdsInputDefaultConfig, IdsMessageDefaultConfig, IdsMessageVariantType, IdsOptionParentComponent, IdsPseudoCheckboxParent, IdsPseudoCheckboxStateType, MessageType };
|
package/icon/index.d.ts
CHANGED
|
@@ -1,5 +1,69 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
1
|
+
import * as _angular_core from '@angular/core';
|
|
2
|
+
import { Signal, InjectionToken, OnInit } from '@angular/core';
|
|
3
|
+
import { IdsSizeType, IdsSizeCollectionType, ComponentBaseWithDefaults } from '@i-cell/ids-angular/core';
|
|
4
|
+
|
|
5
|
+
declare const IdsIconVariant: {
|
|
6
|
+
readonly PRIMARY: "primary";
|
|
7
|
+
readonly SECONDARY: "secondary";
|
|
8
|
+
readonly SURFACE: "surface";
|
|
9
|
+
readonly BRAND: "brand";
|
|
10
|
+
readonly LIGHT: "light";
|
|
11
|
+
readonly DARK: "dark";
|
|
12
|
+
readonly SUCCESS: "success";
|
|
13
|
+
readonly WARNING: "warning";
|
|
14
|
+
readonly ERROR: "error";
|
|
15
|
+
};
|
|
16
|
+
type IdsIconVariantType = (typeof IdsIconVariant)[keyof typeof IdsIconVariant];
|
|
17
|
+
|
|
18
|
+
declare abstract class IdsIconParent {
|
|
19
|
+
readonly embeddedIconVariant: Signal<IdsIconVariantType>;
|
|
20
|
+
}
|
|
21
|
+
declare const IDS_ICON_PARENT: InjectionToken<IdsIconParent>;
|
|
22
|
+
|
|
23
|
+
declare const IdsIconSource: {
|
|
24
|
+
readonly SVG: "svg";
|
|
25
|
+
readonly FONT: "font";
|
|
26
|
+
};
|
|
27
|
+
type IdsIconSourceType = (typeof IdsIconSource)[keyof typeof IdsIconSource];
|
|
28
|
+
|
|
29
|
+
interface IdsIconDefaultConfig {
|
|
30
|
+
size?: IdsSizeType;
|
|
31
|
+
sizeCollection?: IdsSizeCollectionType;
|
|
32
|
+
variant?: IdsIconVariantType;
|
|
33
|
+
iconAssetsPath: string;
|
|
34
|
+
fontNameMappings?: Record<string, string>;
|
|
35
|
+
}
|
|
36
|
+
declare const IDS_ICON_DEFAULT_CONFIG: InjectionToken<IdsIconDefaultConfig>;
|
|
37
|
+
declare function IDS_ICON_DEFAULT_CONFIG_FACTORY(): Required<IdsIconDefaultConfig>;
|
|
38
|
+
|
|
39
|
+
declare class IdsIconComponent extends ComponentBaseWithDefaults<IdsIconDefaultConfig> implements OnInit {
|
|
40
|
+
protected get _hostName(): string;
|
|
41
|
+
private readonly _parent;
|
|
42
|
+
protected readonly _defaultConfig: Required<IdsIconDefaultConfig>;
|
|
43
|
+
private readonly _elementRef;
|
|
44
|
+
private readonly _document;
|
|
45
|
+
private readonly _httpClient;
|
|
46
|
+
private readonly _sanitizer;
|
|
47
|
+
size: _angular_core.InputSignal<IdsSizeType>;
|
|
48
|
+
sizeCollection: _angular_core.InputSignal<IdsSizeCollectionType>;
|
|
49
|
+
variant: _angular_core.InputSignal<IdsIconVariantType>;
|
|
50
|
+
fontIcon: _angular_core.InputSignalWithTransform<string | null, string>;
|
|
51
|
+
svgIconName: _angular_core.InputSignalWithTransform<string | null, string>;
|
|
52
|
+
ariaHidden: _angular_core.InputSignalWithTransform<boolean, unknown>;
|
|
53
|
+
protected _svgIcon: SVGElement | null;
|
|
54
|
+
protected _safeFontIcon: _angular_core.Signal<string | null>;
|
|
55
|
+
protected _iconSourceType: _angular_core.Signal<"svg" | "font">;
|
|
56
|
+
private _parentOrSelfVariant;
|
|
57
|
+
protected _hostClasses: _angular_core.Signal<string>;
|
|
58
|
+
private _sanitizeSvgIconEffect;
|
|
59
|
+
ngOnInit(): void;
|
|
60
|
+
private _getSvgElementSource;
|
|
61
|
+
private _setSvgElement;
|
|
62
|
+
private _clearSvgElement;
|
|
63
|
+
private _getSvgElement;
|
|
64
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<IdsIconComponent, never>;
|
|
65
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<IdsIconComponent, "ids-icon", never, { "size": { "alias": "size"; "required": false; "isSignal": true; }; "sizeCollection": { "alias": "sizeCollection"; "required": false; "isSignal": true; }; "variant": { "alias": "variant"; "required": false; "isSignal": true; }; "fontIcon": { "alias": "fontIcon"; "required": false; "isSignal": true; }; "svgIconName": { "alias": "svgIcon"; "required": false; "isSignal": true; }; "ariaHidden": { "alias": "aria-hidden"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
66
|
+
}
|
|
67
|
+
|
|
68
|
+
export { IDS_ICON_DEFAULT_CONFIG, IDS_ICON_DEFAULT_CONFIG_FACTORY, IDS_ICON_PARENT, IdsIconComponent, IdsIconParent, IdsIconSource, IdsIconVariant };
|
|
69
|
+
export type { IdsIconDefaultConfig, IdsIconSourceType, IdsIconVariantType };
|
package/icon-button/index.d.ts
CHANGED
|
@@ -1,5 +1,66 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
1
|
+
import * as _angular_core from '@angular/core';
|
|
2
|
+
import { Signal, InjectionToken } from '@angular/core';
|
|
3
|
+
import { IdsSizeType, ComponentBaseWithDefaults } from '@i-cell/ids-angular/core';
|
|
4
|
+
import { IdsIconComponent } from '@i-cell/ids-angular/icon';
|
|
5
|
+
|
|
6
|
+
declare const IdsIconButtonAppearance: {
|
|
7
|
+
readonly FILLED: "filled";
|
|
8
|
+
readonly OUTLINED: "outlined";
|
|
9
|
+
readonly STANDARD: "standard";
|
|
10
|
+
};
|
|
11
|
+
type IdsIconButtonAppearanceType = (typeof IdsIconButtonAppearance)[keyof typeof IdsIconButtonAppearance];
|
|
12
|
+
|
|
13
|
+
declare const IdsIconButtonVariant: {
|
|
14
|
+
readonly PRIMARY: "primary";
|
|
15
|
+
readonly SECONDARY: "secondary";
|
|
16
|
+
readonly SURFACE: "surface";
|
|
17
|
+
readonly BRAND: "brand";
|
|
18
|
+
readonly LIGHT: "light";
|
|
19
|
+
readonly DARK: "dark";
|
|
20
|
+
readonly INFO: "info";
|
|
21
|
+
readonly SUCCESS: "success";
|
|
22
|
+
readonly WARNING: "warning";
|
|
23
|
+
readonly ERROR: "error";
|
|
24
|
+
};
|
|
25
|
+
type IdsIconButtonVariantType = (typeof IdsIconButtonVariant)[keyof typeof IdsIconButtonVariant];
|
|
26
|
+
|
|
27
|
+
declare abstract class IdsIconButtonParent {
|
|
28
|
+
readonly embeddedIconButtonVariant: Signal<IdsIconButtonVariantType>;
|
|
29
|
+
readonly embeddedIconButtonAppearance: Signal<IdsIconButtonAppearanceType>;
|
|
30
|
+
readonly disabled: Signal<boolean>;
|
|
31
|
+
}
|
|
32
|
+
declare const IDS_ICON_BUTTON_PARENT: InjectionToken<IdsIconButtonParent>;
|
|
33
|
+
|
|
34
|
+
interface IdsIconButtonDefaultConfig {
|
|
35
|
+
appearance?: IdsIconButtonAppearanceType;
|
|
36
|
+
size?: IdsSizeType;
|
|
37
|
+
variant?: IdsIconButtonVariantType;
|
|
38
|
+
}
|
|
39
|
+
declare const IDS_ICON_BUTTON_DEFAULT_CONFIG: InjectionToken<IdsIconButtonDefaultConfig>;
|
|
40
|
+
declare function IDS_ICON_BUTTON_DEFAULT_CONFIG_FACTORY(): Required<IdsIconButtonDefaultConfig>;
|
|
41
|
+
|
|
42
|
+
declare class IdsIconButtonComponent extends ComponentBaseWithDefaults<IdsIconButtonDefaultConfig> {
|
|
43
|
+
protected get _hostName(): string;
|
|
44
|
+
private readonly _parent;
|
|
45
|
+
private _hostElement;
|
|
46
|
+
private _routerLink;
|
|
47
|
+
protected readonly _defaultConfig: Required<IdsIconButtonDefaultConfig>;
|
|
48
|
+
appearance: _angular_core.InputSignal<IdsIconButtonAppearanceType>;
|
|
49
|
+
size: _angular_core.InputSignal<IdsSizeType>;
|
|
50
|
+
variant: _angular_core.InputSignal<IdsIconButtonVariantType>;
|
|
51
|
+
disabled: _angular_core.InputSignalWithTransform<boolean, unknown>;
|
|
52
|
+
protected _icons: _angular_core.Signal<readonly IdsIconComponent[]>;
|
|
53
|
+
private _parentOrSelfAppearance;
|
|
54
|
+
private _parentOrSelfVariant;
|
|
55
|
+
private _parentOrSelfDisabled;
|
|
56
|
+
protected _hostClasses: _angular_core.Signal<string>;
|
|
57
|
+
private get _buttonType();
|
|
58
|
+
constructor();
|
|
59
|
+
private _disableLink;
|
|
60
|
+
private _enableLink;
|
|
61
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<IdsIconButtonComponent, never>;
|
|
62
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<IdsIconButtonComponent, "button[idsIconButton], a[idsIconButton]", never, { "appearance": { "alias": "appearance"; "required": false; "isSignal": true; }; "size": { "alias": "size"; "required": false; "isSignal": true; }; "variant": { "alias": "variant"; "required": false; "isSignal": true; }; "disabled": { "alias": "disabled"; "required": false; "isSignal": true; }; }, {}, ["_icons"], ["ids-icon"], true, never>;
|
|
63
|
+
}
|
|
64
|
+
|
|
65
|
+
export { IDS_ICON_BUTTON_DEFAULT_CONFIG, IDS_ICON_BUTTON_DEFAULT_CONFIG_FACTORY, IDS_ICON_BUTTON_PARENT, IdsIconButtonAppearance, IdsIconButtonComponent, IdsIconButtonParent, IdsIconButtonVariant };
|
|
66
|
+
export type { IdsIconButtonAppearanceType, IdsIconButtonDefaultConfig, IdsIconButtonVariantType };
|
package/index.d.ts
CHANGED