Refactor
parent
c0e6ed737f
commit
6c9571f14a
|
@ -1,6 +1,6 @@
|
||||||
import { Plugin } from 'vue';
|
import { Plugin } from 'vue';
|
||||||
|
|
||||||
export interface PrimeVueConfiguration<PrimeVuePTOptions = any, PassThroughOptions = any> {
|
export interface PrimeVueConfiguration {
|
||||||
ripple?: boolean;
|
ripple?: boolean;
|
||||||
/**
|
/**
|
||||||
* @deprecated since v4.0. Use 'inputVariant' instead.
|
* @deprecated since v4.0. Use 'inputVariant' instead.
|
||||||
|
@ -12,8 +12,8 @@ export interface PrimeVueConfiguration<PrimeVuePTOptions = any, PassThroughOptio
|
||||||
zIndex?: PrimeVueZIndexOptions;
|
zIndex?: PrimeVueZIndexOptions;
|
||||||
theme?: any;
|
theme?: any;
|
||||||
unstyled?: boolean;
|
unstyled?: boolean;
|
||||||
pt?: PrimeVuePTOptions;
|
pt?: any;
|
||||||
ptOptions?: PassThroughOptions;
|
ptOptions?: any;
|
||||||
csp?: PrimeVueCSPOptions;
|
csp?: PrimeVueCSPOptions;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
import type { DefaultPassThrough, PassThrough } from '@primevue/core';
|
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 { AccordionPassThroughOptions } from 'primevue/accordion';
|
||||||
import type { AccordionContentPassThroughOptions } from 'primevue/accordioncontent';
|
import type { AccordionContentPassThroughOptions } from 'primevue/accordioncontent';
|
||||||
import type { AccordionHeaderPassThroughOptions } from 'primevue/accordionheader';
|
import type { AccordionHeaderPassThroughOptions } from 'primevue/accordionheader';
|
||||||
|
@ -110,7 +110,22 @@ import type { VirtualScrollerPassThroughOptions } from 'primevue/virtualscroller
|
||||||
|
|
||||||
export * from '@primevue/core/config';
|
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 {
|
export interface PrimeVuePTOptions {
|
||||||
accordion?: DefaultPassThrough<AccordionPassThroughOptions>;
|
accordion?: DefaultPassThrough<AccordionPassThroughOptions>;
|
||||||
|
|
Loading…
Reference in New Issue