pull/5880/head
Mert Sincan 2024-06-12 01:02:09 +01:00
parent c0e6ed737f
commit 6c9571f14a
4 changed files with 22 additions and 7 deletions

View File

@ -1,6 +1,6 @@
import { Plugin } from 'vue';
export interface PrimeVueConfiguration<PrimeVuePTOptions = any, PassThroughOptions = any> {
export interface PrimeVueConfiguration {
ripple?: boolean;
/**
* @deprecated since v4.0. Use 'inputVariant' instead.
@ -12,8 +12,8 @@ export interface PrimeVueConfiguration<PrimeVuePTOptions = any, PassThroughOptio
zIndex?: PrimeVueZIndexOptions;
theme?: any;
unstyled?: boolean;
pt?: PrimeVuePTOptions;
ptOptions?: PassThroughOptions;
pt?: any;
ptOptions?: any;
csp?: PrimeVueCSPOptions;
}

View File

@ -1,5 +1,5 @@
import type { DefaultPassThrough, PassThrough } from '@primevue/core';
import type { PrimeVueConfiguration as PrimeVueCoreConfiguration } from '@primevue/core/config';
import type { PrimeVueCSPOptions, PrimeVueLocaleOptions, PrimeVueZIndexOptions } from '@primevue/core/config';
import type { AccordionPassThroughOptions } from 'primevue/accordion';
import type { AccordionContentPassThroughOptions } from 'primevue/accordioncontent';
import type { AccordionHeaderPassThroughOptions } from 'primevue/accordionheader';
@ -110,7 +110,22 @@ import type { VirtualScrollerPassThroughOptions } from 'primevue/virtualscroller
export * from '@primevue/core/config';
export interface PrimeVueConfiguration extends PrimeVueCoreConfiguration<PassThrough<PrimeVuePTOptions>, PassThroughOptions> {}
export interface PrimeVueConfiguration {
ripple?: boolean;
/**
* @deprecated since v4.0. Use 'inputVariant' instead.
*/
inputStyle?: 'filled' | 'outlined' | undefined;
inputVariant?: 'filled' | 'outlined' | undefined;
locale?: PrimeVueLocaleOptions;
filterMatchModeOptions?: any;
zIndex?: PrimeVueZIndexOptions;
theme?: any;
unstyled?: boolean;
pt?: PassThrough<PrimeVuePTOptions>;
ptOptions?: PassThroughOptions;
csp?: PrimeVueCSPOptions;
}
export interface PrimeVuePTOptions {
accordion?: DefaultPassThrough<AccordionPassThroughOptions>;