Skip to content

Commit

Permalink
Fixed #14228, Fixed #14229
Browse files Browse the repository at this point in the history
  • Loading branch information
cetincakiroglu committed Nov 28, 2023
1 parent 0b8bbe4 commit b1fa20d
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 8 deletions.
2 changes: 1 addition & 1 deletion src/app/components/autocomplete/autocomplete.interface.ts
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ export interface AutoCompleteDropdownClickEvent {
* @see {@link AutoComplete.onSelect}
* @group Events
*/
export interface AutoCompleteOnSelectEvent {
export interface AutoCompleteSelectEvent {
/**
* Browser event.
*/
Expand Down
6 changes: 3 additions & 3 deletions src/app/components/autocomplete/autocomplete.ts
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ import { SpinnerIcon } from 'primeng/icons/spinner';
import { TimesIcon } from 'primeng/icons/times';
import { ChevronDownIcon } from 'primeng/icons/chevrondown';
import { Nullable, VoidListener } from 'primeng/ts-helpers';
import { AutoCompleteCompleteEvent, AutoCompleteDropdownClickEvent, AutoCompleteLazyLoadEvent, AutoCompleteOnSelectEvent, AutoCompleteUnselectEvent } from './autocomplete.interface';
import { AutoCompleteCompleteEvent, AutoCompleteDropdownClickEvent, AutoCompleteLazyLoadEvent, AutoCompleteSelectEvent, AutoCompleteUnselectEvent } from './autocomplete.interface';

export const AUTOCOMPLETE_VALUE_ACCESSOR: any = {
provide: NG_VALUE_ACCESSOR,
Expand Down Expand Up @@ -611,10 +611,10 @@ export class AutoComplete implements AfterViewChecked, AfterContentInit, OnDestr
@Output() completeMethod: EventEmitter<AutoCompleteCompleteEvent> = new EventEmitter<AutoCompleteCompleteEvent>();
/**
* Callback to invoke when a suggestion is selected.
* @param {AutoCompleteOnSelectEvent} event - custom select event.
* @param {AutoCompleteSelectEvent} event - custom select event.
* @group Emits
*/
@Output() onSelect: EventEmitter<AutoCompleteOnSelectEvent> = new EventEmitter<AutoCompleteOnSelectEvent>();
@Output() onSelect: EventEmitter<AutoCompleteSelectEvent> = new EventEmitter<AutoCompleteSelectEvent>();
/**
* Callback to invoke when a selected value is removed.
* @param {AutoCompleteUnselectEvent} event - custom unselect event.
Expand Down
2 changes: 1 addition & 1 deletion src/app/components/inputswitch/inputswitch.interface.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import { InputSwitch } from './inputswitch';
* @see {@link InputSwitch.onChange}
* @group Events
*/
export interface InputSwitchOnChangeEvent {
export interface InputSwitchChangeEvent {
/**
* Browser event.
*/
Expand Down
6 changes: 3 additions & 3 deletions src/app/components/inputswitch/inputswitch.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import { CommonModule } from '@angular/common';
import { ChangeDetectionStrategy, ChangeDetectorRef, Component, ElementRef, EventEmitter, Input, NgModule, Output, ViewChild, ViewEncapsulation, forwardRef } from '@angular/core';
import { NG_VALUE_ACCESSOR } from '@angular/forms';
import { InputSwitchOnChangeEvent } from './inputswitch.interface';
import { InputSwitchChangeEvent } from './inputswitch.interface';

export const INPUTSWITCH_VALUE_ACCESSOR: any = {
provide: NG_VALUE_ACCESSOR,
Expand Down Expand Up @@ -110,10 +110,10 @@ export class InputSwitch {
@Input() ariaLabelledBy: string | undefined;
/**
* Callback to invoke when the on value change.
* @param {InputSwitchOnChangeEvent} event - Custom change event.
* @param {InputSwitchChangeEvent} event - Custom change event.
* @group Emits
*/
@Output() onChange: EventEmitter<InputSwitchOnChangeEvent> = new EventEmitter<InputSwitchOnChangeEvent>();
@Output() onChange: EventEmitter<InputSwitchChangeEvent> = new EventEmitter<InputSwitchChangeEvent>();

@ViewChild('input') input!: ElementRef;

Expand Down

0 comments on commit b1fa20d

Please sign in to comment.