Skip to content

Commit

Permalink
Merge branch 'master' of https://github.com/primefaces/primeng
Browse files Browse the repository at this point in the history
  • Loading branch information
cagataycivici committed Nov 28, 2023
2 parents 3f8dcc3 + 9518245 commit b00d864
Show file tree
Hide file tree
Showing 5 changed files with 10 additions and 10 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
4 changes: 2 additions & 2 deletions src/app/showcase/layout/config/app.config.component.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import { CommonModule, DOCUMENT } from '@angular/common';
import { Component, EventEmitter, Inject, Output, Renderer2 } from '@angular/core';
import { FormsModule } from '@angular/forms';
import { ButtonModule } from 'primeng/button';
import { InputSwitchModule, InputSwitchOnChangeEvent } from 'primeng/inputswitch';
import { InputSwitchModule, InputSwitchChangeEvent } from 'primeng/inputswitch';
import { RadioButtonModule } from 'primeng/radiobutton';
import { SelectButtonChangeEvent, SelectButtonModule } from 'primeng/selectbutton';
import { SidebarModule } from 'primeng/sidebar';
Expand Down Expand Up @@ -113,7 +113,7 @@ export class AppConfigComponent {
this.configService.setInputStyle(event.value);
}

onRippleChange(event: InputSwitchOnChangeEvent) {
onRippleChange(event: InputSwitchChangeEvent) {
this.configService.setRipple(event.checked);
}

Expand Down

1 comment on commit b00d864

@vercel
Copy link

@vercel vercel bot commented on b00d864 Nov 28, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.