From 422d994bfaf9c1ed00114f431656e02e28e3ff9b Mon Sep 17 00:00:00 2001 From: mertsincan Date: Mon, 26 Jun 2023 13:11:25 +0100 Subject: [PATCH] Update utils.d.ts and cosmetics --- components/lib/confirmpopup/BaseConfirmPopup.vue | 2 +- components/lib/utils/Utils.d.ts | 4 ++++ 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/components/lib/confirmpopup/BaseConfirmPopup.vue b/components/lib/confirmpopup/BaseConfirmPopup.vue index 5bd3509e9..b124ffb1d 100644 --- a/components/lib/confirmpopup/BaseConfirmPopup.vue +++ b/components/lib/confirmpopup/BaseConfirmPopup.vue @@ -90,7 +90,7 @@ const classes = { acceptButton: ({ instance }) => ['p-confirm-dialog-accept', instance.confirmation ? instance.confirmation.acceptClass : null] }; -const { load: loadStyle } = useStyle(styles, { id: 'primevue_confirmPopup_style', manual: true }); +const { load: loadStyle } = useStyle(styles, { id: 'primevue_confirmpopup_style', manual: true }); export default { name: 'BaseConfirmPopup', diff --git a/components/lib/utils/Utils.d.ts b/components/lib/utils/Utils.d.ts index 49ca3cfc3..215bf4967 100644 --- a/components/lib/utils/Utils.d.ts +++ b/components/lib/utils/Utils.d.ts @@ -20,8 +20,12 @@ export declare class DomHandler { static addClass(el: HTMLElement, className: string): void; static removeClass(el: HTMLElement, className: string): void; static hasClass(el: HTMLElement, className: string): boolean; + static addStyles(el: HTMLElement, styles: object): void; static find(el: HTMLElement, selector: string): any[]; static findSingle(el: HTMLElement, selector: string): any; + static getAttribute(el: HTMLElement, name: string): any; + static isAttributeEquals(el: HTMLElement, name: string, value: any): boolean; + static isAttributeNotEquals(el: HTMLElement, name: string, value: any): boolean; static getHeight(el: HTMLElement): number; static getWidth(el: HTMLElement): number; static absolutePosition(el: HTMLElement, target: HTMLElement): void;