Fixed #5405 - TypeScript emits are in an incompatible format with defineEmits
parent
c3669ad03a
commit
98302e417e
|
@ -11,7 +11,7 @@ import { VNode } from 'vue';
|
|||
import { AccordionTabPassThroughOptionType } from '../accordiontab';
|
||||
import { ComponentHooks } from '../basecomponent';
|
||||
import { PassThroughOptions } from '../passthrough';
|
||||
import { ClassComponent, DesignToken, GlobalComponentConstructor, PassThrough } from '../ts-helpers';
|
||||
import { DefineComponent, DesignToken, EmitFn, GlobalComponentConstructor, PassThrough } from '../ts-helpers';
|
||||
|
||||
export declare type AccordionPassThroughOptionType = AccordionPassThroughAttributes | ((options: AccordionPassThroughMethodOptions) => AccordionPassThroughAttributes | string) | string | null | undefined;
|
||||
|
||||
|
@ -206,7 +206,7 @@ export interface AccordionSlots {
|
|||
/**
|
||||
* Defines valid emits in Accordion component.
|
||||
*/
|
||||
export interface AccordionEmits {
|
||||
interface AccordionEmitsOptions {
|
||||
/**
|
||||
* Emitted when the active panel changes.
|
||||
* @param {string | string[] | null | undefined} value - Value of new active panel.
|
||||
|
@ -238,6 +238,8 @@ export interface AccordionEmits {
|
|||
'tab-click'(event: AccordionClickEvent): void;
|
||||
}
|
||||
|
||||
export declare type AccordionEmits = EmitFn<AccordionEmitsOptions>;
|
||||
|
||||
/**
|
||||
* **PrimeVue - Accordion**
|
||||
*
|
||||
|
@ -250,11 +252,11 @@ export interface AccordionEmits {
|
|||
* @group Component
|
||||
*
|
||||
*/
|
||||
declare class Accordion extends ClassComponent<AccordionProps, AccordionSlots, AccordionEmits> {}
|
||||
declare const Accordion: DefineComponent<AccordionProps, AccordionSlots, AccordionEmits>;
|
||||
|
||||
declare module 'vue' {
|
||||
export interface GlobalComponents {
|
||||
Accordion: GlobalComponentConstructor<Accordion>;
|
||||
Accordion: GlobalComponentConstructor<AccordionProps, AccordionSlots, AccordionEmits>;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
@ -10,7 +10,7 @@
|
|||
import { VNode } from 'vue';
|
||||
import { ComponentHooks } from '../basecomponent';
|
||||
import { PassThroughOptions } from '../passthrough';
|
||||
import { ClassComponent, DesignToken, GlobalComponentConstructor, PassThrough } from '../ts-helpers';
|
||||
import { DefineComponent, DesignToken, EmitFn, GlobalComponentConstructor, PassThrough } from '../ts-helpers';
|
||||
|
||||
export declare type AccordionContentPassThroughOptionType = AccordionContentPassThroughAttributes | ((options: AccordionContentPassThroughMethodOptions) => AccordionContentPassThroughAttributes | string) | string | null | undefined;
|
||||
|
||||
|
@ -122,7 +122,9 @@ export interface AccordionContentSlots {
|
|||
default(): VNode[];
|
||||
}
|
||||
|
||||
export interface AccordionContentEmits {}
|
||||
interface AccordionContentEmitsOptions {}
|
||||
|
||||
export declare type AccordionContentEmits = EmitFn<AccordionContentEmitsOptions>;
|
||||
|
||||
/**
|
||||
* **PrimeVue - AccordionContent**
|
||||
|
@ -136,11 +138,11 @@ export interface AccordionContentEmits {}
|
|||
* @group Component
|
||||
*
|
||||
*/
|
||||
declare class AccordionContent extends ClassComponent<AccordionContentProps, AccordionContentSlots, AccordionContentEmits> {}
|
||||
declare const AccordionContent: DefineComponent<AccordionContentProps, AccordionContentSlots, AccordionContentEmits>;
|
||||
|
||||
declare module 'vue' {
|
||||
export interface GlobalComponents {
|
||||
AccordionContent: GlobalComponentConstructor<AccordionContent>;
|
||||
AccordionContent: GlobalComponentConstructor<AccordionContentProps, AccordionContentSlots, AccordionContentEmits>;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
@ -10,7 +10,7 @@
|
|||
import { VNode } from 'vue';
|
||||
import { ComponentHooks } from '../basecomponent';
|
||||
import { PassThroughOptions } from '../passthrough';
|
||||
import { ClassComponent, DesignToken, GlobalComponentConstructor, PassThrough } from '../ts-helpers';
|
||||
import { DefineComponent, DesignToken, EmitFn, GlobalComponentConstructor, PassThrough } from '../ts-helpers';
|
||||
|
||||
export declare type AccordionHeaderPassThroughOptionType = AccordionHeaderPassThroughAttributes | ((options: AccordionHeaderPassThroughMethodOptions) => AccordionHeaderPassThroughAttributes | string) | string | null | undefined;
|
||||
|
||||
|
@ -122,7 +122,9 @@ export interface AccordionHeaderSlots {
|
|||
toggleicon(): VNode[];
|
||||
}
|
||||
|
||||
export interface AccordionHeaderEmits {}
|
||||
interface AccordionHeaderEmitsOptions {}
|
||||
|
||||
export declare type AccordionHeaderEmits = EmitFn<AccordionHeaderEmitsOptions>;
|
||||
|
||||
/**
|
||||
* **PrimeVue - AccordionHeader**
|
||||
|
@ -136,11 +138,11 @@ export interface AccordionHeaderEmits {}
|
|||
* @group Component
|
||||
*
|
||||
*/
|
||||
declare class AccordionHeader extends ClassComponent<AccordionHeaderProps, AccordionHeaderSlots, AccordionHeaderEmits> {}
|
||||
declare const AccordionHeader: DefineComponent<AccordionHeaderProps, AccordionHeaderSlots, AccordionHeaderEmits>;
|
||||
|
||||
declare module 'vue' {
|
||||
export interface GlobalComponents {
|
||||
AccordionHeader: GlobalComponentConstructor<AccordionHeader>;
|
||||
AccordionHeader: GlobalComponentConstructor<AccordionHeaderProps, AccordionHeaderSlots, AccordionHeaderEmits>;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
@ -10,7 +10,7 @@
|
|||
import { VNode } from 'vue';
|
||||
import { ComponentHooks } from '../basecomponent';
|
||||
import { PassThroughOptions } from '../passthrough';
|
||||
import { ClassComponent, DesignToken, GlobalComponentConstructor, PassThrough } from '../ts-helpers';
|
||||
import { DefineComponent, DesignToken, EmitFn, GlobalComponentConstructor, PassThrough } from '../ts-helpers';
|
||||
|
||||
export declare type AccordionPanelPassThroughOptionType = AccordionPanelPassThroughAttributes | ((options: AccordionPanelPassThroughMethodOptions) => AccordionPanelPassThroughAttributes | string) | string | null | undefined;
|
||||
|
||||
|
@ -120,7 +120,9 @@ export interface AccordionPanelSlots {
|
|||
default(): VNode[];
|
||||
}
|
||||
|
||||
export interface AccordionPanelEmits {}
|
||||
interface AccordionPanelEmitsOptions {}
|
||||
|
||||
export declare type AccordionPanelEmits = EmitFn<AccordionPanelEmitsOptions>;
|
||||
|
||||
/**
|
||||
* **PrimeVue - AccordionPanel**
|
||||
|
@ -134,11 +136,11 @@ export interface AccordionPanelEmits {}
|
|||
* @group Component
|
||||
*
|
||||
*/
|
||||
declare class AccordionPanel extends ClassComponent<AccordionPanelProps, AccordionPanelSlots, AccordionPanelEmits> {}
|
||||
declare const AccordionPanel: DefineComponent<AccordionPanelProps, AccordionPanelSlots, AccordionPanelEmits>;
|
||||
|
||||
declare module 'vue' {
|
||||
export interface GlobalComponents {
|
||||
AccordionPanel: GlobalComponentConstructor<AccordionPanel>;
|
||||
AccordionPanel: GlobalComponentConstructor<AccordionPanelProps, AccordionPanelSlots, AccordionPanelEmits>;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
@ -10,7 +10,7 @@
|
|||
*/
|
||||
import { AnchorHTMLAttributes, HTMLAttributes, TransitionProps, VNode } from 'vue';
|
||||
import { PassThroughOptions } from '../passthrough';
|
||||
import { ClassComponent, DesignToken, GlobalComponentConstructor, PassThrough } from '../ts-helpers';
|
||||
import { DefineComponent, DesignToken, EmitFn, GlobalComponentConstructor, PassThrough } from '../ts-helpers';
|
||||
|
||||
export declare type AccordionTabPassThroughOptionType = AccordionTabPassThroughAttributes | ((options: AccordionTabPassThroughMethodOptions) => AccordionTabPassThroughAttributes | string) | string | null | undefined;
|
||||
|
||||
|
@ -216,7 +216,9 @@ export interface AccordionTabSlots {
|
|||
/**
|
||||
* Defines valid emits in AcordionTab component.
|
||||
*/
|
||||
export interface AccordionTabEmits {}
|
||||
interface AccordionTabEmitsOptions {}
|
||||
|
||||
export declare type AccordionTabEmits = EmitFn<AccordionTabEmitsOptions>;
|
||||
|
||||
/**
|
||||
* @deprecated since v4. Use the new structure of Accordion instead.
|
||||
|
@ -230,12 +232,13 @@ export interface AccordionTabEmits {}
|
|||
* ![PrimeVue](https://primefaces.org/cdn/primevue/images/logo-100.png)
|
||||
*
|
||||
* @group Component
|
||||
*
|
||||
*/
|
||||
declare class AccordionTab extends ClassComponent<AccordionTabProps, AccordionTabSlots, AccordionTabEmits> {}
|
||||
declare const AccordionTab: DefineComponent<AccordionTabProps, AccordionTabSlots, AccordionTabEmits>;
|
||||
|
||||
declare module 'vue' {
|
||||
export interface GlobalComponents {
|
||||
AccordionTab: GlobalComponentConstructor<AccordionTab>;
|
||||
AccordionTab: GlobalComponentConstructor<AccordionTabProps, AccordionTabSlots, AccordionTabEmits>;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
@ -12,7 +12,7 @@ import { ComponentHooks } from '../basecomponent';
|
|||
import { ChipPassThroughOptions } from '../chip';
|
||||
import { InputTextPassThroughOptions } from '../inputtext';
|
||||
import { PassThroughOptions } from '../passthrough';
|
||||
import { ClassComponent, DesignToken, GlobalComponentConstructor, HintedString, Nullable, PassThrough } from '../ts-helpers';
|
||||
import { DefineComponent, DesignToken, EmitFn, GlobalComponentConstructor, HintedString, Nullable, PassThrough } from '../ts-helpers';
|
||||
import { VirtualScrollerItemOptions, VirtualScrollerPassThroughOptionType, VirtualScrollerProps } from '../virtualscroller';
|
||||
|
||||
export declare type AutoCompletePassThroughOptionType = AutoCompletePassThroughAttributes | ((options: AutoCompletePassThroughMethodOptions) => AutoCompletePassThroughAttributes | string) | string | null | undefined;
|
||||
|
@ -778,7 +778,7 @@ export interface AutoCompleteSlots {
|
|||
/**
|
||||
* Defines valid emits in AutoComplete component.
|
||||
*/
|
||||
export interface AutoCompleteEmits {
|
||||
interface AutoCompleteEmitsOptions {
|
||||
/**
|
||||
* Emitted when the value changes.
|
||||
* @param {*} value - New value.
|
||||
|
@ -853,6 +853,8 @@ export interface AutoCompleteEmits {
|
|||
hide(): void;
|
||||
}
|
||||
|
||||
export declare type AutoCompleteEmits = EmitFn<AutoCompleteEmitsOptions>;
|
||||
|
||||
/**
|
||||
* **PrimeVue - AutoComplete**
|
||||
*
|
||||
|
@ -865,11 +867,11 @@ export interface AutoCompleteEmits {
|
|||
* @group Component
|
||||
*
|
||||
*/
|
||||
declare class AutoComplete extends ClassComponent<AutoCompleteProps, AutoCompleteSlots, AutoCompleteEmits> {}
|
||||
declare const AutoComplete: DefineComponent<AutoCompleteProps, AutoCompleteSlots, AutoCompleteEmits>;
|
||||
|
||||
declare module 'vue' {
|
||||
export interface GlobalComponents {
|
||||
AutoComplete: GlobalComponentConstructor<AutoComplete>;
|
||||
AutoComplete: GlobalComponentConstructor<AutoCompleteProps, AutoCompleteSlots, AutoCompleteEmits>;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
@ -9,7 +9,7 @@
|
|||
import { VNode } from 'vue';
|
||||
import { ComponentHooks } from '../basecomponent';
|
||||
import { PassThroughOptions } from '../passthrough';
|
||||
import { ClassComponent, DesignToken, GlobalComponentConstructor, PassThrough } from '../ts-helpers';
|
||||
import { DefineComponent, DesignToken, EmitFn, GlobalComponentConstructor, PassThrough } from '../ts-helpers';
|
||||
|
||||
export declare type AvatarPassThroughOptionType = AvatarPassThroughAttributes | ((options: AvatarPassThroughMethodOptions) => AvatarPassThroughAttributes | string) | string | null | undefined;
|
||||
|
||||
|
@ -147,13 +147,15 @@ export interface AvatarSlots {
|
|||
/**
|
||||
* Defines valid emits in Avatar component.
|
||||
*/
|
||||
export interface AvatarEmits {
|
||||
interface AvatarEmitsOptions {
|
||||
/**
|
||||
* Triggered when an error occurs while loading an image file.
|
||||
*/
|
||||
error(event: Event): void;
|
||||
}
|
||||
|
||||
export declare type AvatarEmits = EmitFn<AvatarEmitsOptions>;
|
||||
|
||||
/**
|
||||
* **PrimeVue - Avatar**
|
||||
*
|
||||
|
@ -164,12 +166,13 @@ export interface AvatarEmits {
|
|||
* ![PrimeVue](https://primefaces.org/cdn/primevue/images/logo-100.png)
|
||||
*
|
||||
* @group Component
|
||||
*
|
||||
*/
|
||||
declare class Avatar extends ClassComponent<AvatarProps, AvatarSlots, AvatarEmits> {}
|
||||
declare const Avatar: DefineComponent<AvatarProps, AvatarSlots, AvatarEmits>;
|
||||
|
||||
declare module 'vue' {
|
||||
export interface GlobalComponents {
|
||||
Avatar: GlobalComponentConstructor<Avatar>;
|
||||
Avatar: GlobalComponentConstructor<AvatarProps, AvatarSlots, AvatarEmits>;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
@ -10,7 +10,7 @@
|
|||
import { VNode } from 'vue';
|
||||
import { ComponentHooks } from '../basecomponent';
|
||||
import { PassThroughOptions } from '../passthrough';
|
||||
import { ClassComponent, DesignToken, GlobalComponentConstructor, PassThrough } from '../ts-helpers';
|
||||
import { DefineComponent, DesignToken, EmitFn, GlobalComponentConstructor, PassThrough } from '../ts-helpers';
|
||||
|
||||
export declare type AvatarGroupPassThroughOptionType = AvatarGroupPassThroughAttributes | ((options: AvatarGroupPassThroughMethodOptions) => AvatarGroupPassThroughAttributes | string) | string | null | undefined;
|
||||
|
||||
|
@ -101,7 +101,9 @@ export interface AvatarGroupSlots {
|
|||
/**
|
||||
* Defines valid emits in AvatarGroup component.
|
||||
*/
|
||||
export interface AvatarGroupEmits {}
|
||||
interface AvatarGroupEmitsOptions {}
|
||||
|
||||
export declare type AvatarGroupEmits = EmitFn<AvatarGroupEmitsOptions>;
|
||||
|
||||
/**
|
||||
* **PrimeVue - AvatarGroup**
|
||||
|
@ -113,12 +115,13 @@ export interface AvatarGroupEmits {}
|
|||
* ![PrimeVue](https://primefaces.org/cdn/primevue/images/logo-100.png)
|
||||
*
|
||||
* @group Component
|
||||
*
|
||||
*/
|
||||
declare class AvatarGroup extends ClassComponent<AvatarGroupProps, AvatarGroupSlots, AvatarGroupEmits> {}
|
||||
declare const AvatarGroup: DefineComponent<AvatarGroupProps, AvatarGroupSlots, AvatarGroupEmits>;
|
||||
|
||||
declare module 'vue' {
|
||||
export interface GlobalComponents {
|
||||
AvatarGroup: GlobalComponentConstructor<AvatarGroup>;
|
||||
AvatarGroup: GlobalComponentConstructor<AvatarGroupProps, AvatarGroupSlots, AvatarGroupEmits>;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
@ -10,7 +10,7 @@
|
|||
import { VNode } from 'vue';
|
||||
import { ComponentHooks } from '../basecomponent';
|
||||
import { PassThroughOptions } from '../passthrough';
|
||||
import { ClassComponent, DesignToken, GlobalComponentConstructor, HintedString, PassThrough } from '../ts-helpers';
|
||||
import { DefineComponent, DesignToken, EmitFn, GlobalComponentConstructor, HintedString, PassThrough } from '../ts-helpers';
|
||||
|
||||
export declare type BadgePassThroughOptionType<T = any> = BadgePassThroughAttributes | ((options: BadgePassThroughMethodOptions<T>) => BadgePassThroughAttributes | string) | string | null | undefined;
|
||||
|
||||
|
@ -109,7 +109,9 @@ export interface BadgeSlots {
|
|||
/**
|
||||
* Defines valid emits in Badge component.
|
||||
*/
|
||||
export interface BadgeEmits {}
|
||||
interface BadgeEmitsOptions {}
|
||||
|
||||
export declare type BadgeEmits = EmitFn<BadgeEmitsOptions>;
|
||||
|
||||
/**
|
||||
* **PrimeVue - Badge**
|
||||
|
@ -121,12 +123,13 @@ export interface BadgeEmits {}
|
|||
* ![PrimeVue](https://primefaces.org/cdn/primevue/images/logo-100.png)
|
||||
*
|
||||
* @group Component
|
||||
*
|
||||
*/
|
||||
declare class Badge extends ClassComponent<BadgeProps, BadgeSlots, BadgeEmits> {}
|
||||
declare const Badge: DefineComponent<BadgeProps, BadgeSlots, BadgeEmits>;
|
||||
|
||||
declare module 'vue' {
|
||||
export interface GlobalComponents {
|
||||
Badge: GlobalComponentConstructor<Badge>;
|
||||
Badge: GlobalComponentConstructor<BadgeProps, BadgeSlots, BadgeEmits>;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
@ -10,7 +10,7 @@
|
|||
import { VNode } from 'vue';
|
||||
import { ComponentHooks } from '../basecomponent';
|
||||
import { PassThroughOptions } from '../passthrough';
|
||||
import { ClassComponent, DesignToken, GlobalComponentConstructor, PassThrough } from '../ts-helpers';
|
||||
import { DefineComponent, DesignToken, EmitFn, GlobalComponentConstructor, PassThrough } from '../ts-helpers';
|
||||
|
||||
export declare type BlockUIPassThroughOptionType = BlockUIPassThroughAttributes | ((options: BlockUIPassThroughMethodOptions) => BlockUIPassThroughAttributes | string) | string | null | undefined;
|
||||
|
||||
|
@ -140,7 +140,7 @@ export interface BlockUISlots {
|
|||
/**
|
||||
* Defines valid emits in BlockUI component
|
||||
*/
|
||||
export interface BlockUIEmits {
|
||||
interface BlockUIEmitsOptions {
|
||||
/**
|
||||
* Fired when the element gets blocked.
|
||||
*/
|
||||
|
@ -151,6 +151,8 @@ export interface BlockUIEmits {
|
|||
unblock(): void;
|
||||
}
|
||||
|
||||
export declare type BlockUIEmits = EmitFn<BlockUIEmitsOptions>;
|
||||
|
||||
/**
|
||||
* **PrimeVue - BlockUI**
|
||||
*
|
||||
|
@ -161,12 +163,13 @@ export interface BlockUIEmits {
|
|||
* ![PrimeVue](https://primefaces.org/cdn/primevue/images/logo-100.png)
|
||||
*
|
||||
* @group Component
|
||||
*
|
||||
*/
|
||||
declare class BlockUI extends ClassComponent<BlockUIProps, BlockUISlots, BlockUIEmits> {}
|
||||
declare const BlockUI: DefineComponent<BlockUIProps, BlockUISlots, BlockUIEmits>;
|
||||
|
||||
declare module 'vue' {
|
||||
export interface GlobalComponents {
|
||||
BlockUI: GlobalComponentConstructor<BlockUI>;
|
||||
BlockUI: GlobalComponentConstructor<BlockUIProps, BlockUISlots, BlockUIEmits>;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
@ -11,7 +11,7 @@ import { VNode } from 'vue';
|
|||
import { ComponentHooks } from '../basecomponent';
|
||||
import { MenuItem } from '../menuitem';
|
||||
import { PassThroughOptions } from '../passthrough';
|
||||
import { ClassComponent, DesignToken, GlobalComponentConstructor, PassThrough } from '../ts-helpers';
|
||||
import { DefineComponent, DesignToken, EmitFn, GlobalComponentConstructor, PassThrough } from '../ts-helpers';
|
||||
|
||||
export declare type BreadcrumbPassThroughOptionType = BreadcrumbPassThroughAttributes | ((options: BreadcrumbPassThroughMethodOptions) => BreadcrumbPassThroughAttributes | string) | string | null | undefined;
|
||||
|
||||
|
@ -220,7 +220,9 @@ export interface BreadcrumbSlots {
|
|||
/**
|
||||
* Defines valid emits in Breadcrumb component.
|
||||
*/
|
||||
export interface BreadcrumbEmits {}
|
||||
interface BreadcrumbEmitsOptions {}
|
||||
|
||||
export declare type BreadcrumbEmits = EmitFn<BreadcrumbEmitsOptions>;
|
||||
|
||||
/**
|
||||
* **PrimeVue - Breadcrumb**
|
||||
|
@ -234,11 +236,11 @@ export interface BreadcrumbEmits {}
|
|||
* @group Component
|
||||
*
|
||||
*/
|
||||
declare class Breadcrumb extends ClassComponent<BreadcrumbProps, BreadcrumbSlots, BreadcrumbEmits> {}
|
||||
declare const Breadcrumb: DefineComponent<BreadcrumbProps, BreadcrumbSlots, BreadcrumbEmits>;
|
||||
|
||||
declare module 'vue' {
|
||||
export interface GlobalComponents {
|
||||
Breadcrumb: GlobalComponentConstructor<Breadcrumb>;
|
||||
Breadcrumb: GlobalComponentConstructor<BreadcrumbProps, BreadcrumbSlots, BreadcrumbEmits>;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
@ -10,7 +10,7 @@
|
|||
import { ButtonHTMLAttributes, VNode } from 'vue';
|
||||
import { ComponentHooks } from '../basecomponent';
|
||||
import { PassThroughOptions } from '../passthrough';
|
||||
import { ClassComponent, DesignToken, GlobalComponentConstructor, HintedString, PassThrough } from '../ts-helpers';
|
||||
import { DefineComponent, DesignToken, EmitFn, GlobalComponentConstructor, HintedString, PassThrough } from '../ts-helpers';
|
||||
|
||||
export declare type ButtonPassThroughOptionType<T = any> = ButtonPassThroughAttributes | ((options: ButtonPassThroughMethodOptions<T>) => ButtonPassThroughAttributes | string) | string | null | undefined;
|
||||
|
||||
|
@ -232,7 +232,9 @@ export interface ButtonSlots {
|
|||
/**
|
||||
* Defines valid emits in Button component.
|
||||
*/
|
||||
export interface ButtonEmits {}
|
||||
interface ButtonEmitsOptions {}
|
||||
|
||||
export declare type ButtonEmits = EmitFn<ButtonEmitsOptions>;
|
||||
|
||||
/**
|
||||
* **PrimeVue - Button**
|
||||
|
@ -244,12 +246,13 @@ export interface ButtonEmits {}
|
|||
* ![PrimeVue](https://primefaces.org/cdn/primevue/images/logo-100.png)
|
||||
*
|
||||
* @group Component
|
||||
*
|
||||
*/
|
||||
declare class Button extends ClassComponent<ButtonProps, ButtonSlots, ButtonEmits> {}
|
||||
declare const Button: DefineComponent<ButtonProps, ButtonSlots, ButtonEmits>;
|
||||
|
||||
declare module 'vue' {
|
||||
export interface GlobalComponents {
|
||||
Button: GlobalComponentConstructor<Button>;
|
||||
Button: GlobalComponentConstructor<ButtonProps, ButtonSlots, ButtonEmits>;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
@ -10,7 +10,7 @@
|
|||
import { VNode } from 'vue';
|
||||
import { ComponentHooks } from '../basecomponent';
|
||||
import { PassThroughOptions } from '../passthrough';
|
||||
import { ClassComponent, DesignToken, GlobalComponentConstructor, PassThrough } from '../ts-helpers';
|
||||
import { DefineComponent, DesignToken, EmitFn, GlobalComponentConstructor, PassThrough } from '../ts-helpers';
|
||||
|
||||
export declare type ButtonGroupPassThroughOptionType = ButtonGroupPassThroughAttributes | ((options: ButtonGroupPassThroughMethodOptions) => ButtonGroupPassThroughAttributes | string) | string | null | undefined;
|
||||
|
||||
|
@ -93,7 +93,9 @@ export interface ButtonGroupSlots {
|
|||
/**
|
||||
* Defines valid emits in ButtonGroup component.
|
||||
*/
|
||||
export interface ButtonGroupEmits {}
|
||||
interface ButtonGroupEmitsOptions {}
|
||||
|
||||
export declare type ButtonGroupEmits = EmitFn<ButtonGroupEmitsOptions>;
|
||||
|
||||
/**
|
||||
* **PrimeVue - ButtonGroup**
|
||||
|
@ -105,12 +107,13 @@ export interface ButtonGroupEmits {}
|
|||
* ![PrimeVue](https://primefaces.org/cdn/primevue/images/logo-100.png)
|
||||
*
|
||||
* @group Component
|
||||
*
|
||||
*/
|
||||
declare class ButtonGroup extends ClassComponent<ButtonGroupProps, ButtonGroupSlots, ButtonGroupEmits> {}
|
||||
declare const ButtonGroup: DefineComponent<ButtonGroupProps, ButtonGroupSlots, ButtonGroupEmits>;
|
||||
|
||||
declare module 'vue' {
|
||||
export interface GlobalComponents {
|
||||
ButtonGroup: GlobalComponentConstructor<ButtonGroup>;
|
||||
ButtonGroup: GlobalComponentConstructor<ButtonGroupProps, ButtonGroupSlots, ButtonGroupEmits>;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
@ -9,7 +9,7 @@
|
|||
*/
|
||||
import 'vue';
|
||||
import * as DatePicker from '../datepicker';
|
||||
import { ClassComponent, GlobalComponentConstructor } from '../ts-helpers';
|
||||
import { DefineComponent, EmitFn, GlobalComponentConstructor } from '../ts-helpers';
|
||||
|
||||
/**
|
||||
* Custom passthrough(pt) option method.
|
||||
|
@ -98,7 +98,9 @@ export interface CalendarSlots extends DatePicker.DatePickerSlots {}
|
|||
/**
|
||||
* Defines valid emits in Calendar component.
|
||||
*/
|
||||
export interface CalendarEmits extends DatePicker.DatePickerEmits {}
|
||||
interface CalendarEmitsOptions {}
|
||||
|
||||
export declare type CalendarEmits = EmitFn<CalendarEmitsOptions> & DatePicker.DatePickerEmits;
|
||||
|
||||
/**
|
||||
* @deprecated Deprecated since v4. Use DatePicker component instead.
|
||||
|
@ -112,12 +114,13 @@ export interface CalendarEmits extends DatePicker.DatePickerEmits {}
|
|||
* ![PrimeVue](https://primefaces.org/cdn/primevue/images/logo-100.png)
|
||||
*
|
||||
* @group Component
|
||||
*
|
||||
*/
|
||||
declare class Calendar extends ClassComponent<CalendarProps, CalendarSlots, CalendarEmits> {}
|
||||
declare const Calendar: DefineComponent<CalendarProps, CalendarSlots, CalendarEmits>;
|
||||
|
||||
declare module 'vue' {
|
||||
export interface GlobalComponents {
|
||||
Calendar: GlobalComponentConstructor<Calendar>;
|
||||
Calendar: GlobalComponentConstructor<CalendarProps, CalendarSlots, CalendarEmits>;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
@ -10,7 +10,7 @@
|
|||
import { VNode } from 'vue';
|
||||
import { ComponentHooks } from '../basecomponent';
|
||||
import { PassThroughOptions } from '../passthrough';
|
||||
import { ClassComponent, DesignToken, GlobalComponentConstructor, PassThrough } from '../ts-helpers';
|
||||
import { DefineComponent, DesignToken, EmitFn, GlobalComponentConstructor, PassThrough } from '../ts-helpers';
|
||||
|
||||
export declare type CardPassThroughOptionType = CardPassThroughAttributes | ((options: CardPassThroughMethodOptions) => CardPassThroughAttributes | string) | string | null | undefined;
|
||||
|
||||
|
@ -141,7 +141,9 @@ export interface CardSlots {
|
|||
/**
|
||||
* Defines valid emits in Card component.
|
||||
*/
|
||||
export interface CardEmits {}
|
||||
interface CardEmitsOptions {}
|
||||
|
||||
export declare type CardEmits = EmitFn<CardEmitsOptions>;
|
||||
|
||||
/**
|
||||
* **PrimeVue - Card**
|
||||
|
@ -153,12 +155,13 @@ export interface CardEmits {}
|
|||
* ![PrimeVue](https://primefaces.org/cdn/primevue/images/logo-100.png)
|
||||
*
|
||||
* @group Component
|
||||
*
|
||||
*/
|
||||
declare class Card extends ClassComponent<CardProps, CardSlots, CardEmits> {}
|
||||
declare const Card: DefineComponent<CardProps, CardSlots, CardEmits>;
|
||||
|
||||
declare module 'vue' {
|
||||
export interface GlobalComponents {
|
||||
Card: GlobalComponentConstructor<Card>;
|
||||
Card: GlobalComponentConstructor<CardProps, CardSlots, CardEmits>;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
@ -11,7 +11,7 @@ import { VNode } from 'vue';
|
|||
import { ComponentHooks } from '../basecomponent';
|
||||
import { ButtonPassThroughOptions } from '../button';
|
||||
import { PassThroughOptions } from '../passthrough';
|
||||
import { ClassComponent, DesignToken, GlobalComponentConstructor, PassThrough } from '../ts-helpers';
|
||||
import { DefineComponent, DesignToken, EmitFn, GlobalComponentConstructor, PassThrough } from '../ts-helpers';
|
||||
|
||||
export declare type CarouselPassThroughOptionType = CarouselPassThroughAttributes | ((options: CarouselPassThroughMethodOptions) => CarouselPassThroughAttributes | string) | string | null | undefined;
|
||||
|
||||
|
@ -370,7 +370,7 @@ export interface CarouselSlots {
|
|||
/**
|
||||
* Defines valid emits in Carousel component.
|
||||
*/
|
||||
export interface CarouselEmits {
|
||||
interface CarouselEmitsOptions {
|
||||
/**
|
||||
* Emitted when the page changes.
|
||||
* @param {number} value - New page value.
|
||||
|
@ -378,6 +378,8 @@ export interface CarouselEmits {
|
|||
'update:page'(value: number): void;
|
||||
}
|
||||
|
||||
export declare type CarouselEmits = EmitFn<CarouselEmitsOptions>;
|
||||
|
||||
/**
|
||||
* **PrimeVue - Carousel**
|
||||
*
|
||||
|
@ -390,11 +392,11 @@ export interface CarouselEmits {
|
|||
* @group Component
|
||||
*
|
||||
*/
|
||||
declare class Carousel extends ClassComponent<CarouselProps, CarouselSlots, CarouselEmits> {}
|
||||
declare const Carousel: DefineComponent<CarouselProps, CarouselSlots, CarouselEmits>;
|
||||
|
||||
declare module 'vue' {
|
||||
export interface GlobalComponents {
|
||||
Carousel: GlobalComponentConstructor<Carousel>;
|
||||
Carousel: GlobalComponentConstructor<CarouselProps, CarouselSlots, CarouselEmits>;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
@ -10,7 +10,7 @@
|
|||
import { HTMLAttributes, InputHTMLAttributes, TransitionProps, VNode } from 'vue';
|
||||
import { ComponentHooks } from '../basecomponent';
|
||||
import { PassThroughOptions } from '../passthrough';
|
||||
import { ClassComponent, DesignToken, GlobalComponentConstructor, HintedString, PassThrough } from '../ts-helpers';
|
||||
import { DefineComponent, DesignToken, EmitFn, GlobalComponentConstructor, HintedString, PassThrough } from '../ts-helpers';
|
||||
|
||||
export declare type CascadeSelectPassThroughOptionType = CascadeSelectPassThroughAttributes | ((options: CascadeSelectPassThroughMethodOptions) => CascadeSelectPassThroughAttributes | string) | string | null | undefined;
|
||||
|
||||
|
@ -497,7 +497,7 @@ export interface CascadeSelectSlots {
|
|||
/**
|
||||
* Defines valid emits in CascadeSelect component.
|
||||
*/
|
||||
export interface CascadeSelectEmits {
|
||||
interface CascadeSelectEmitsOptions {
|
||||
/**
|
||||
* Emitted when the value changes.
|
||||
* @param {*} value - New value.
|
||||
|
@ -546,6 +546,8 @@ export interface CascadeSelectEmits {
|
|||
hide(): void;
|
||||
}
|
||||
|
||||
export declare type CascadeSelectEmits = EmitFn<CascadeSelectEmitsOptions>;
|
||||
|
||||
/**
|
||||
* **PrimeVue - CascadeSelect**
|
||||
*
|
||||
|
@ -556,12 +558,13 @@ export interface CascadeSelectEmits {
|
|||
* ![PrimeVue(https://primefaces.org/cdn/primevue/images/logo-100.png)
|
||||
*
|
||||
* @group Component
|
||||
*
|
||||
*/
|
||||
declare class CascadeSelect extends ClassComponent<CascadeSelectProps, CascadeSelectSlots, CascadeSelectEmits> {}
|
||||
declare const CascadeSelect: DefineComponent<CascadeSelectProps, CascadeSelectSlots, CascadeSelectEmits>;
|
||||
|
||||
declare module 'vue' {
|
||||
export interface GlobalComponents {
|
||||
CascadeSelect: GlobalComponentConstructor<CascadeSelect>;
|
||||
CascadeSelect: GlobalComponentConstructor<CascadeSelectProps, CascadeSelectSlots, CascadeSelectEmits>;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
@ -10,7 +10,7 @@
|
|||
import { CanvasHTMLAttributes } from 'vue';
|
||||
import { ComponentHooks } from '../basecomponent';
|
||||
import { PassThroughOptions } from '../passthrough';
|
||||
import { ClassComponent, DesignToken, GlobalComponentConstructor, PassThrough } from '../ts-helpers';
|
||||
import { DefineComponent, DesignToken, EmitFn, GlobalComponentConstructor, PassThrough } from '../ts-helpers';
|
||||
|
||||
export declare type ChartPassThroughOptionType = ChartPassThroughAttributes | ((options: ChartPassThroughMethodOptions) => ChartPassThroughAttributes | string) | string | null | undefined;
|
||||
|
||||
|
@ -146,7 +146,7 @@ export interface ChartSlots {}
|
|||
/**
|
||||
* Defines valid emits in Chart component.
|
||||
*/
|
||||
export interface ChartEmits {
|
||||
interface ChartEmitsOptions {
|
||||
/**
|
||||
* Callback to invoke when a tab gets expanded.
|
||||
* @param {ChartSelectEvent} event - Custom select event.
|
||||
|
@ -159,19 +159,9 @@ export interface ChartEmits {
|
|||
loaded(chart: any): void;
|
||||
}
|
||||
|
||||
/**
|
||||
* **PrimeVue - Chart**
|
||||
*
|
||||
* _Chart groups a collection of contents in tabs._
|
||||
*
|
||||
* [Live Demo](https://www.primevue.org/chart/)
|
||||
* --- ---
|
||||
* ![PrimeVue](https://primefaces.org/cdn/primevue/images/logo-100.png)
|
||||
*
|
||||
* @group Component
|
||||
*
|
||||
*/
|
||||
declare class Chart extends ClassComponent<ChartProps, ChartSlots, ChartEmits> {
|
||||
export declare type ChartEmits = EmitFn<ChartEmitsOptions>;
|
||||
|
||||
export interface ChartMethods {
|
||||
/**
|
||||
* Redraws the graph.
|
||||
*
|
||||
|
@ -198,9 +188,23 @@ declare class Chart extends ClassComponent<ChartProps, ChartSlots, ChartEmits> {
|
|||
getChart(): any;
|
||||
}
|
||||
|
||||
/**
|
||||
* **PrimeVue - Chart**
|
||||
*
|
||||
* _Chart groups a collection of contents in tabs._
|
||||
*
|
||||
* [Live Demo](https://www.primevue.org/chart/)
|
||||
* --- ---
|
||||
* ![PrimeVue](https://primefaces.org/cdn/primevue/images/logo-100.png)
|
||||
*
|
||||
* @group Component
|
||||
*
|
||||
*/
|
||||
declare const Chart: DefineComponent<ChartProps, ChartSlots, ChartEmits, ChartMethods>;
|
||||
|
||||
declare module 'vue' {
|
||||
export interface GlobalComponents {
|
||||
Chart: GlobalComponentConstructor<Chart>;
|
||||
Chart: GlobalComponentConstructor<ChartProps, ChartSlots, ChartEmits, ChartMethods>;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
@ -10,7 +10,7 @@
|
|||
import { VNode } from 'vue';
|
||||
import { ComponentHooks } from '../basecomponent';
|
||||
import { PassThroughOptions } from '../passthrough';
|
||||
import { ClassComponent, DesignToken, GlobalComponentConstructor, PassThrough } from '../ts-helpers';
|
||||
import { DefineComponent, DesignToken, EmitFn, GlobalComponentConstructor, PassThrough } from '../ts-helpers';
|
||||
|
||||
export declare type CheckboxPassThroughOptionType = CheckboxPassThroughAttributes | ((options: CheckboxPassThroughMethodOptions) => CheckboxPassThroughAttributes | string) | string | null | undefined;
|
||||
|
||||
|
@ -235,7 +235,7 @@ export interface CheckboxSlots {
|
|||
/**
|
||||
* Defines valid emits in Checkbox component.
|
||||
*/
|
||||
export interface CheckboxEmits {
|
||||
interface CheckboxEmitsOptions {
|
||||
/**
|
||||
* Emitted when the value changes.
|
||||
* @param {*} value - New value.
|
||||
|
@ -258,6 +258,8 @@ export interface CheckboxEmits {
|
|||
blur(event: Event): void;
|
||||
}
|
||||
|
||||
export declare type CheckboxEmits = EmitFn<CheckboxEmitsOptions>;
|
||||
|
||||
/**
|
||||
* **PrimeVue - Checkbox**
|
||||
*
|
||||
|
@ -270,11 +272,11 @@ export interface CheckboxEmits {
|
|||
* @group Component
|
||||
*
|
||||
*/
|
||||
declare class Checkbox extends ClassComponent<CheckboxProps, CheckboxSlots, CheckboxEmits> {}
|
||||
declare const Checkbox: DefineComponent<CheckboxProps, CheckboxSlots, CheckboxEmits>;
|
||||
|
||||
declare module 'vue' {
|
||||
export interface GlobalComponents {
|
||||
Checkbox: GlobalComponentConstructor<Checkbox>;
|
||||
Checkbox: GlobalComponentConstructor<CheckboxProps, CheckboxSlots, CheckboxEmits>;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
@ -10,7 +10,7 @@
|
|||
import { VNode } from 'vue';
|
||||
import { ComponentHooks } from '../basecomponent';
|
||||
import { PassThroughOptions } from '../passthrough';
|
||||
import { ClassComponent, DesignToken, GlobalComponentConstructor, PassThrough } from '../ts-helpers';
|
||||
import { DefineComponent, DesignToken, EmitFn, GlobalComponentConstructor, PassThrough } from '../ts-helpers';
|
||||
|
||||
export declare type ChipPassThroughOptionType<T = any> = ChipPassThroughAttributes | ((options: ChipPassThroughMethodOptions<T>) => ChipPassThroughAttributes | string) | string | null | undefined;
|
||||
|
||||
|
@ -187,7 +187,7 @@ export interface ChipSlots {
|
|||
/**
|
||||
* Defines valid properties in Chip component.
|
||||
*/
|
||||
export interface ChipEmits {
|
||||
interface ChipEmitsOptions {
|
||||
/**
|
||||
* Callback to invoke when a chip is removed.
|
||||
* @param {Event} event - Browser event.
|
||||
|
@ -195,6 +195,8 @@ export interface ChipEmits {
|
|||
remove(event: Event): void;
|
||||
}
|
||||
|
||||
export declare type ChipEmits = EmitFn<ChipEmitsOptions>;
|
||||
|
||||
/**
|
||||
* **PrimeVue - Chip**
|
||||
*
|
||||
|
@ -205,12 +207,13 @@ export interface ChipEmits {
|
|||
* ![PrimeVue](https://primefaces.org/cdn/primevue/images/logo-100.png)
|
||||
*
|
||||
* @group Component
|
||||
*
|
||||
*/
|
||||
declare class Chip extends ClassComponent<ChipProps, ChipSlots, ChipEmits> {}
|
||||
declare const Chip: DefineComponent<ChipProps, ChipSlots, ChipEmits>;
|
||||
|
||||
declare module 'vue' {
|
||||
export interface GlobalComponents {
|
||||
Chip: GlobalComponentConstructor<Chip>;
|
||||
Chip: GlobalComponentConstructor<ChipProps, ChipSlots, ChipEmits>;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
@ -9,7 +9,7 @@
|
|||
*/
|
||||
import 'vue';
|
||||
import * as InputChips from '../inputchips';
|
||||
import { ClassComponent, GlobalComponentConstructor } from '../ts-helpers';
|
||||
import { DefineComponent, EmitFn, GlobalComponentConstructor } from '../ts-helpers';
|
||||
|
||||
/**
|
||||
* Custom passthrough(pt) option method.
|
||||
|
@ -61,7 +61,9 @@ export interface ChipsSlots extends InputChips.InputChipsSlots {}
|
|||
/**
|
||||
* Defines valid emits in Chips component.
|
||||
*/
|
||||
export interface ChipsEmits extends InputChips.InputChipsEmits {}
|
||||
interface ChipsEmitsOptions {}
|
||||
|
||||
export declare type ChipsEmits = EmitFn<ChipsEmitsOptions> & InputChips.InputChipsEmits;
|
||||
|
||||
/**
|
||||
* @deprecated Deprecated since v4. Use InputChips component instead.
|
||||
|
@ -77,11 +79,11 @@ export interface ChipsEmits extends InputChips.InputChipsEmits {}
|
|||
* @group Component
|
||||
*
|
||||
*/
|
||||
declare class Chips extends ClassComponent<ChipsProps, ChipsSlots, ChipsEmits> {}
|
||||
declare const Chips: DefineComponent<ChipsProps, ChipsSlots, ChipsEmits>;
|
||||
|
||||
declare module 'vue' {
|
||||
export interface GlobalComponents {
|
||||
Chips: GlobalComponentConstructor<Chips>;
|
||||
Chips: GlobalComponentConstructor<ChipsProps, ChipsSlots, ChipsEmits>;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
@ -10,7 +10,7 @@
|
|||
import { TransitionProps } from 'vue';
|
||||
import { ComponentHooks } from '../basecomponent';
|
||||
import { PassThroughOptions } from '../passthrough';
|
||||
import { ClassComponent, DesignToken, GlobalComponentConstructor, HintedString, PassThrough } from '../ts-helpers';
|
||||
import { DefineComponent, DesignToken, EmitFn, GlobalComponentConstructor, HintedString, PassThrough } from '../ts-helpers';
|
||||
|
||||
export declare type ColorPickerPassThroughOptionType = ColorPickerPassThroughAttributes | ((options: ColorPickerPassThroughMethodOptions) => ColorPickerPassThroughAttributes | string) | string | null | undefined;
|
||||
|
||||
|
@ -208,7 +208,7 @@ export interface ColorPickerSlots {}
|
|||
/**
|
||||
* Defines valid emits in ColorPicker component.
|
||||
*/
|
||||
export interface ColorPickerEmits {
|
||||
interface ColorPickerEmitsOptions {
|
||||
/**
|
||||
* Emitted when the value changes.
|
||||
* @param {*} value - New value.
|
||||
|
@ -229,6 +229,8 @@ export interface ColorPickerEmits {
|
|||
hide(): void;
|
||||
}
|
||||
|
||||
export declare type ColorPickerEmits = EmitFn<ColorPickerEmitsOptions>;
|
||||
|
||||
/**
|
||||
* **PrimeVue - ColorPicker**
|
||||
*
|
||||
|
@ -241,11 +243,11 @@ export interface ColorPickerEmits {
|
|||
* @group Component
|
||||
*
|
||||
*/
|
||||
declare class ColorPicker extends ClassComponent<ColorPickerProps, ColorPickerSlots, ColorPickerEmits> {}
|
||||
declare const ColorPicker: DefineComponent<ColorPickerProps, ColorPickerSlots, ColorPickerEmits>;
|
||||
|
||||
declare module 'vue' {
|
||||
export interface GlobalComponents {
|
||||
ColorPicker: GlobalComponentConstructor<ColorPicker>;
|
||||
ColorPicker: GlobalComponentConstructor<ColorPickerProps, ColorPickerSlots, ColorPickerEmits>;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
@ -17,7 +17,7 @@ import { DataTablePassThroughOptions } from '../datatable';
|
|||
import { PassThroughOptions } from '../passthrough';
|
||||
import { RadioButtonPassThroughOptionType } from '../radiobutton';
|
||||
import { SelectPassThroughOptionType } from '../select';
|
||||
import { ClassComponent, DesignToken, GlobalComponentConstructor, PassThrough } from '../ts-helpers';
|
||||
import { DefineComponent, DesignToken, EmitFn, GlobalComponentConstructor, PassThrough } from '../ts-helpers';
|
||||
import { VirtualScrollerLoaderOptions } from '../virtualscroller';
|
||||
|
||||
export declare type ColumnPassThroughOptionType = ColumnPassThroughAttributes | ((options: ColumnPassThroughMethodOptions) => ColumnPassThroughAttributes | string) | string | null | undefined;
|
||||
|
@ -974,7 +974,9 @@ export interface ColumnSlots {
|
|||
nodetoggleicon(): VNode[];
|
||||
}
|
||||
|
||||
export interface ColumnEmits {}
|
||||
interface ColumnEmitsOptions {}
|
||||
|
||||
export declare type ColumnEmits = EmitFn<ColumnEmitsOptions>;
|
||||
|
||||
/**
|
||||
* **PrimeVue - Column**
|
||||
|
@ -986,14 +988,15 @@ export interface ColumnEmits {}
|
|||
* ![PrimeVue](https://primefaces.org/cdn/primevue/images/logo-100.png)
|
||||
*
|
||||
* @group Component
|
||||
*
|
||||
*/
|
||||
declare class Column extends ClassComponent<ColumnProps, ColumnSlots, ColumnEmits> {}
|
||||
declare const Column: DefineComponent<ColumnProps, ColumnSlots, ColumnEmits>;
|
||||
|
||||
export type ColumnNode = Column & { props: Column['$props'] };
|
||||
export type ColumnNode = { props: ColumnProps };
|
||||
|
||||
declare module 'vue' {
|
||||
export interface GlobalComponents {
|
||||
Column: GlobalComponentConstructor<Column>;
|
||||
Column: GlobalComponentConstructor<ColumnProps, ColumnSlots, ColumnEmits>;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
@ -9,7 +9,7 @@
|
|||
*/
|
||||
import { ComponentHooks } from '../basecomponent';
|
||||
import { PassThroughOptions } from '../passthrough';
|
||||
import { ClassComponent, DesignToken, GlobalComponentConstructor, PassThrough } from '../ts-helpers';
|
||||
import { DefineComponent, DesignToken, EmitFn, GlobalComponentConstructor, PassThrough } from '../ts-helpers';
|
||||
|
||||
export declare type ColumnGroupPassThroughOptionType = ColumnGroupPassThroughAttributes | ((options: ColumnGroupPassThroughMethodOptions) => ColumnGroupPassThroughAttributes | string) | string | null | undefined;
|
||||
|
||||
|
@ -118,7 +118,9 @@ export interface ColumnGroupSlots {}
|
|||
/**
|
||||
* Defines valid emits in ColumnGroup component.
|
||||
*/
|
||||
export interface ColumnGroupEmits {}
|
||||
interface ColumnGroupEmitsOptions {}
|
||||
|
||||
export declare type ColumnGroupEmits = EmitFn<ColumnGroupEmitsOptions>;
|
||||
|
||||
/**
|
||||
* **PrimeVue - ColumnGroup**
|
||||
|
@ -130,12 +132,13 @@ export interface ColumnGroupEmits {}
|
|||
* ![PrimeVue](https://primefaces.org/cdn/primevue/images/logo-100.png)
|
||||
*
|
||||
* @group Component
|
||||
*
|
||||
*/
|
||||
declare class ColumnGroup extends ClassComponent<ColumnGroupProps, ColumnGroupSlots, ColumnGroupEmits> {}
|
||||
declare const ColumnGroup: DefineComponent<ColumnGroupProps, ColumnGroupSlots, ColumnGroupEmits>;
|
||||
|
||||
declare module 'vue' {
|
||||
export interface GlobalComponents {
|
||||
ColumnGroup: GlobalComponentConstructor<ColumnGroup>;
|
||||
ColumnGroup: GlobalComponentConstructor<ColumnGroupProps, ColumnGroupSlots, ColumnGroupEmits>;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
@ -12,7 +12,7 @@ import { ComponentHooks } from '../basecomponent';
|
|||
import { ButtonPassThroughOptions } from '../button';
|
||||
import { ConfirmationOptions } from '../confirmationoptions';
|
||||
import { PassThroughOptions } from '../passthrough';
|
||||
import { ClassComponent, DesignToken, GlobalComponentConstructor, PassThrough } from '../ts-helpers';
|
||||
import { DefineComponent, DesignToken, EmitFn, GlobalComponentConstructor, PassThrough } from '../ts-helpers';
|
||||
|
||||
export declare type ConfirmDialogPassThroughOptionType = ConfirmDialogPassThroughAttributes | ((options: ConfirmDialogPassThroughMethodOptions) => ConfirmDialogPassThroughAttributes | string) | string | null | undefined;
|
||||
|
||||
|
@ -279,7 +279,9 @@ export interface ConfirmDialogSlots {
|
|||
/**
|
||||
* Defines valid emits in ConfirmDialog component.
|
||||
*/
|
||||
export interface ConfirmDialogEmits {}
|
||||
export interface ConfirmDialogEmitsOptions {}
|
||||
|
||||
export declare type ConfirmDialogEmits = EmitFn<ConfirmDialogEmitsOptions>;
|
||||
|
||||
/**
|
||||
* **PrimeVue - ConfirmDialog**
|
||||
|
@ -291,12 +293,13 @@ export interface ConfirmDialogEmits {}
|
|||
* ![PrimeVue](https://primefaces.org/cdn/primevue/images/logo-100.png)
|
||||
*
|
||||
* @group Component
|
||||
*
|
||||
*/
|
||||
declare class ConfirmDialog extends ClassComponent<ConfirmDialogProps, ConfirmDialogSlots, ConfirmDialogEmits> {}
|
||||
declare const ConfirmDialog: DefineComponent<ConfirmDialogProps, ConfirmDialogSlots, ConfirmDialogEmits>;
|
||||
|
||||
declare module 'vue' {
|
||||
export interface GlobalComponents {
|
||||
ConfirmDialog: GlobalComponentConstructor<ConfirmDialog>;
|
||||
ConfirmDialog: GlobalComponentConstructor<ConfirmDialogProps, ConfirmDialogSlots, ConfirmDialogEmits>;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
@ -12,7 +12,7 @@ import { ComponentHooks } from '../basecomponent';
|
|||
import { ButtonPassThroughOptions } from '../button';
|
||||
import { ConfirmationOptions } from '../confirmationoptions';
|
||||
import { PassThroughOptions } from '../passthrough';
|
||||
import { ClassComponent, DesignToken, GlobalComponentConstructor, PassThrough } from '../ts-helpers';
|
||||
import { DefineComponent, DesignToken, EmitFn, GlobalComponentConstructor, PassThrough } from '../ts-helpers';
|
||||
|
||||
export declare type ConfirmPopupPassThroughOptionType = ConfirmPopupPassThroughAttributes | ((options: ConfirmPopupPassThroughMethodOptions) => ConfirmPopupPassThroughAttributes | string) | string | null | undefined;
|
||||
|
||||
|
@ -224,7 +224,9 @@ export interface ConfirmPopupSlots {
|
|||
/**
|
||||
* Defines valid emits in ConfirmPopup component.
|
||||
*/
|
||||
export interface ConfirmPopupEmits {}
|
||||
interface ConfirmPopupEmitsOptions {}
|
||||
|
||||
export declare type ConfirmPopupEmits = EmitFn<ConfirmPopupEmitsOptions>;
|
||||
|
||||
/**
|
||||
* **PrimeVue - ConfirmPopup**
|
||||
|
@ -236,12 +238,13 @@ export interface ConfirmPopupEmits {}
|
|||
* ![PrimeVue](https://primefaces.org/cdn/primevue/images/logo-100.png)
|
||||
*
|
||||
* @group Component
|
||||
*
|
||||
*/
|
||||
declare class ConfirmPopup extends ClassComponent<ConfirmPopupProps, ConfirmPopupSlots, ConfirmPopupEmits> {}
|
||||
declare const ConfirmPopup: DefineComponent<ConfirmPopupProps, ConfirmPopupSlots, ConfirmPopupEmits>;
|
||||
|
||||
declare module 'vue' {
|
||||
export interface GlobalComponents {
|
||||
ConfirmPopup: GlobalComponentConstructor<ConfirmPopup>;
|
||||
ConfirmPopup: GlobalComponentConstructor<ConfirmPopupProps, ConfirmPopupSlots, ConfirmPopupEmits>;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
@ -12,7 +12,7 @@ import { TransitionProps, VNode } from 'vue';
|
|||
import { ComponentHooks } from '../basecomponent';
|
||||
import { MenuItem } from '../menuitem';
|
||||
import { PassThroughOptions } from '../passthrough';
|
||||
import { ClassComponent, DesignToken, GlobalComponentConstructor, HintedString, PassThrough } from '../ts-helpers';
|
||||
import { DefineComponent, DesignToken, EmitFn, GlobalComponentConstructor, HintedString, PassThrough } from '../ts-helpers';
|
||||
|
||||
export declare type ContextMenuPassThroughOptionType = ContextMenuPassThroughAttributes | ((options: ContextMenuPassThroughMethodOptions) => ContextMenuPassThroughAttributes | string) | string | null | undefined;
|
||||
|
||||
|
@ -341,7 +341,7 @@ export interface ContextMenuSlots {
|
|||
/**
|
||||
* Defines valid emits in ContextMenu component.
|
||||
*/
|
||||
export interface ContextMenuEmits {
|
||||
interface ContextMenuEmitsOptions {
|
||||
/**
|
||||
* Callback to invoke when the component receives focus.
|
||||
* @param {Event} event - Browser event.
|
||||
|
@ -370,20 +370,9 @@ export interface ContextMenuEmits {
|
|||
hide(): void;
|
||||
}
|
||||
|
||||
/**
|
||||
* **PrimeVue - ContextMenu**
|
||||
*
|
||||
* _ContextMenu displays an overlay menu on right click of its target. Note that components like DataTable has special integration with ContextMenu.
|
||||
* Refer to documentation of the individual documentation of the with context menu support._
|
||||
*
|
||||
* [Live Demo](https://www.primevue.org/contextmenu/)
|
||||
* --- ---
|
||||
* ![PrimeVue](https://primefaces.org/cdn/primevue/images/logo-100.png)
|
||||
*
|
||||
* @group Component
|
||||
*
|
||||
*/
|
||||
declare class ContextMenu extends ClassComponent<ContextMenuProps, ContextMenuSlots, ContextMenuEmits> {
|
||||
export declare type ContextMenuEmits = EmitFn<ContextMenuEmitsOptions>;
|
||||
|
||||
export interface ContextMenuMethods {
|
||||
/**
|
||||
* Toggles the visibility of the menu.
|
||||
* @param {Event} event - Browser event.
|
||||
|
@ -406,9 +395,24 @@ declare class ContextMenu extends ClassComponent<ContextMenuProps, ContextMenuSl
|
|||
hide(): void;
|
||||
}
|
||||
|
||||
/**
|
||||
* **PrimeVue - ContextMenu**
|
||||
*
|
||||
* _ContextMenu displays an overlay menu on right click of its target. Note that components like DataTable has special integration with ContextMenu.
|
||||
* Refer to documentation of the individual documentation of the with context menu support._
|
||||
*
|
||||
* [Live Demo](https://www.primevue.org/contextmenu/)
|
||||
* --- ---
|
||||
* ![PrimeVue](https://primefaces.org/cdn/primevue/images/logo-100.png)
|
||||
*
|
||||
* @group Component
|
||||
*
|
||||
*/
|
||||
declare const ContextMenu: DefineComponent<ContextMenuProps, ContextMenuSlots, ContextMenuEmits, ContextMenuMethods>;
|
||||
|
||||
declare module 'vue' {
|
||||
export interface GlobalComponents {
|
||||
ContextMenu: GlobalComponentConstructor<ContextMenu>;
|
||||
ContextMenu: GlobalComponentConstructor<ContextMenuProps, ContextMenuSlots, ContextMenuEmits, ContextMenuMethods>;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
@ -15,7 +15,7 @@ import { ColumnGroupPassThroughOptionType } from '../columngroup';
|
|||
import { PaginatorPassThroughOptionType } from '../paginator';
|
||||
import { PassThroughOptions } from '../passthrough';
|
||||
import { RowPassThroughOptionType } from '../row';
|
||||
import { ClassComponent, DesignToken, GlobalComponentConstructor, HintedString, Nullable, PassThrough } from '../ts-helpers';
|
||||
import { DefineComponent, DesignToken, EmitFn, GlobalComponentConstructor, HintedString, Nullable, PassThrough } from '../ts-helpers';
|
||||
import { VirtualScrollerPassThroughOptionType, VirtualScrollerProps } from '../virtualscroller';
|
||||
|
||||
export declare type DataTablePassThroughOptionType = DataTablePassThroughAttributes | ((options: DataTablePassThroughMethodOptions) => DataTablePassThroughAttributes | string) | string | null | undefined;
|
||||
|
@ -1415,7 +1415,7 @@ export interface DataTableSlots {
|
|||
/**
|
||||
* Defines valid emits in Datatable component.
|
||||
*/
|
||||
export interface DataTableEmits {
|
||||
interface DataTableEmitsOptions {
|
||||
/**
|
||||
* Emitted when the first changes.
|
||||
* @param {number} value - New value.
|
||||
|
@ -1608,6 +1608,17 @@ export interface DataTableEmits {
|
|||
'state-save'(event: DataTableStateEvent): void;
|
||||
}
|
||||
|
||||
export declare type DataTableEmits = EmitFn<DataTableEmitsOptions>;
|
||||
|
||||
export interface DataTableMethods {
|
||||
/**
|
||||
* Exports the data to CSV format.
|
||||
* @param {DataTableExportCSVOptions} [options] - Export options.
|
||||
* @param {Object[]} [data] - Custom exportable data. This param can be used on lazy dataTable.
|
||||
*/
|
||||
exportCSV(options?: DataTableExportCSVOptions, data?: any[]): void;
|
||||
}
|
||||
|
||||
/**
|
||||
* **PrimeVue - DataTable**
|
||||
*
|
||||
|
@ -1618,19 +1629,13 @@ export interface DataTableEmits {
|
|||
* ![PrimeVue](https://primefaces.org/cdn/primevue/images/logo-100.png)
|
||||
*
|
||||
* @group Component
|
||||
*
|
||||
*/
|
||||
declare class DataTable extends ClassComponent<DataTableProps, DataTableSlots, DataTableEmits> {
|
||||
/**
|
||||
* Exports the data to CSV format.
|
||||
* @param {DataTableExportCSVOptions} [options] - Export options.
|
||||
* @param {Object[]} [data] - Custom exportable data. This param can be used on lazy dataTable.
|
||||
*/
|
||||
exportCSV(options?: DataTableExportCSVOptions, data?: any[]): void;
|
||||
}
|
||||
declare const DataTable: DefineComponent<DataTableProps, DataTableSlots, DataTableEmits, DataTableMethods>;
|
||||
|
||||
declare module 'vue' {
|
||||
export interface GlobalComponents {
|
||||
DataTable: GlobalComponentConstructor<DataTable>;
|
||||
DataTable: GlobalComponentConstructor<DataTableProps, DataTableSlots, DataTableEmits>;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
@ -11,7 +11,7 @@ import { VNode } from 'vue';
|
|||
import { ComponentHooks } from '../basecomponent';
|
||||
import { PaginatorPassThroughOptionType } from '../paginator';
|
||||
import { PassThroughOptions } from '../passthrough';
|
||||
import { ClassComponent, DesignToken, GlobalComponentConstructor, PassThrough } from '../ts-helpers';
|
||||
import { DefineComponent, DesignToken, EmitFn, GlobalComponentConstructor, PassThrough } from '../ts-helpers';
|
||||
|
||||
export declare type DataViewPassThroughOptionType = DataViewPassThroughAttributes | ((options: DataViewPassThroughMethodOptions) => DataViewPassThroughAttributes | string) | string | null | undefined;
|
||||
|
||||
|
@ -313,7 +313,7 @@ export interface DataViewSlots {
|
|||
/**
|
||||
* Defines valid slots in DataView component.
|
||||
*/
|
||||
export interface DataViewEmits {
|
||||
interface DataViewEmitsOptions {
|
||||
/**
|
||||
* Emitted when the first changes.
|
||||
* @param {number} value - New value.
|
||||
|
@ -331,6 +331,8 @@ export interface DataViewEmits {
|
|||
page(event: DataViewPageEvent): void;
|
||||
}
|
||||
|
||||
export declare type DataViewEmits = EmitFn<DataViewEmitsOptions>;
|
||||
|
||||
/**
|
||||
* **PrimeVue - DataView**
|
||||
*
|
||||
|
@ -343,11 +345,11 @@ export interface DataViewEmits {
|
|||
* @group Component
|
||||
*
|
||||
*/
|
||||
declare class DataView extends ClassComponent<DataViewProps, DataViewSlots, DataViewEmits> {}
|
||||
declare const DataView: DefineComponent<DataViewProps, DataViewSlots, DataViewEmits>;
|
||||
|
||||
declare module 'vue' {
|
||||
export interface GlobalComponents {
|
||||
DataView: GlobalComponentConstructor<DataView>;
|
||||
DataView: GlobalComponentConstructor<DataViewProps, DataViewSlots, DataViewEmits>;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
@ -12,7 +12,7 @@ import { ComponentHooks } from '../basecomponent';
|
|||
import { ButtonPassThroughOptions, ButtonProps } from '../button';
|
||||
import { InputTextPassThroughOptions } from '../inputtext';
|
||||
import { PassThroughOptions } from '../passthrough';
|
||||
import { ClassComponent, DesignToken, GlobalComponentConstructor, HintedString, PassThrough } from '../ts-helpers';
|
||||
import { DefineComponent, DesignToken, EmitFn, GlobalComponentConstructor, HintedString, PassThrough } from '../ts-helpers';
|
||||
|
||||
export declare type DatePickerPassThroughOptionType = DatePickerPassThroughAttributes | ((options: DatePickerPassThroughMethodOptions) => DatePickerPassThroughAttributes | string) | string | null | undefined;
|
||||
|
||||
|
@ -988,7 +988,7 @@ export interface DatePickerSlots {
|
|||
/**
|
||||
* Defines valid emits in DatePicker component.
|
||||
*/
|
||||
export interface DatePickerEmits {
|
||||
interface DatePickerEmitsOptions {
|
||||
/**
|
||||
* Emitted when the value changes.
|
||||
* @param {string | Date | string[] | Date[] | undefined} value - New value.
|
||||
|
@ -1048,6 +1048,8 @@ export interface DatePickerEmits {
|
|||
keydown(event: Event): void;
|
||||
}
|
||||
|
||||
export declare type DatePickerEmits = EmitFn<DatePickerEmitsOptions>;
|
||||
|
||||
/**
|
||||
* **PrimeVue - DatePicker**
|
||||
*
|
||||
|
@ -1058,12 +1060,13 @@ export interface DatePickerEmits {
|
|||
* ![PrimeVue](https://primefaces.org/cdn/primevue/images/logo-100.png)
|
||||
*
|
||||
* @group Component
|
||||
*
|
||||
*/
|
||||
declare class DatePicker extends ClassComponent<DatePickerProps, DatePickerSlots, DatePickerEmits> {}
|
||||
declare const DatePicker: DefineComponent<DatePickerProps, DatePickerSlots, DatePickerEmits>;
|
||||
|
||||
declare module 'vue' {
|
||||
export interface GlobalComponents {
|
||||
DatePicker: GlobalComponentConstructor<DatePicker>;
|
||||
DatePicker: GlobalComponentConstructor<DatePickerProps, DatePickerSlots, DatePickerEmits>;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
@ -10,7 +10,7 @@
|
|||
import { VNode } from 'vue';
|
||||
import { ComponentHooks } from '../basecomponent';
|
||||
import { PassThroughOptions } from '../passthrough';
|
||||
import { ClassComponent, DesignToken, GlobalComponentConstructor, PassThrough } from '../ts-helpers';
|
||||
import { DefineComponent, DesignToken, EmitFn, GlobalComponentConstructor, PassThrough } from '../ts-helpers';
|
||||
|
||||
export declare type DeferredContentPassThroughOptionType = DeferredContentPassThroughAttributes | ((options: DeferredContentPassThroughMethodOptions) => DeferredContentPassThroughAttributes | string) | string | null | undefined;
|
||||
|
||||
|
@ -116,13 +116,15 @@ export interface DeferredContentSlots {
|
|||
/**
|
||||
* Defines valid emits in DeferredContent component.
|
||||
*/
|
||||
export interface DeferredContentEmits {
|
||||
interface DeferredContentEmitsOptions {
|
||||
/**
|
||||
* Callback to invoke when deferred content is loaded.
|
||||
*/
|
||||
load(): void;
|
||||
}
|
||||
|
||||
export declare type DeferredContentEmits = EmitFn<DeferredContentEmitsOptions>;
|
||||
|
||||
/**
|
||||
* **PrimeVue - DeferredContent**
|
||||
*
|
||||
|
@ -133,12 +135,13 @@ export interface DeferredContentEmits {
|
|||
* ![PrimeVue](https://primefaces.org/cdn/primevue/images/logo-100.png)
|
||||
*
|
||||
* @group Component
|
||||
*
|
||||
*/
|
||||
declare class DeferredContent extends ClassComponent<DeferredContentProps, DeferredContentSlots, DeferredContentEmits> {}
|
||||
declare const DeferredContent: DefineComponent<DeferredContentProps, DeferredContentSlots, DeferredContentEmits>;
|
||||
|
||||
declare module 'vue' {
|
||||
export interface GlobalComponents {
|
||||
DeferredContent: GlobalComponentConstructor<DeferredContent>;
|
||||
DeferredContent: GlobalComponentConstructor<DeferredContentProps, DeferredContentSlots, DeferredContentEmits>;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
@ -11,7 +11,7 @@ import { HTMLAttributes, TransitionProps, VNode } from 'vue';
|
|||
import { ComponentHooks } from '../basecomponent';
|
||||
import { ButtonPassThroughOptions, ButtonProps } from '../button';
|
||||
import { PassThroughOptions } from '../passthrough';
|
||||
import { ClassComponent, DesignToken, GlobalComponentConstructor, HintedString, PassThrough } from '../ts-helpers';
|
||||
import { DefineComponent, DesignToken, EmitFn, GlobalComponentConstructor, HintedString, PassThrough } from '../ts-helpers';
|
||||
|
||||
export declare type DialogPassThroughOptionType<T = any> = DialogPassThroughAttributes | ((options: DialogPassThroughMethodOptions<T>) => DialogPassThroughAttributes | string) | string | null | undefined;
|
||||
|
||||
|
@ -392,7 +392,7 @@ export interface DialogSlots {
|
|||
/**
|
||||
* Defines valid emits in Dialog component.
|
||||
*/
|
||||
export interface DialogEmits {
|
||||
interface DialogEmitsOptions {
|
||||
/**
|
||||
* Emitted when the visible changes.
|
||||
* @param {boolean} value - New value.
|
||||
|
@ -427,6 +427,8 @@ export interface DialogEmits {
|
|||
dragend(event: Event): void;
|
||||
}
|
||||
|
||||
export declare type DialogEmits = EmitFn<DialogEmitsOptions>;
|
||||
|
||||
/**
|
||||
* **PrimeVue - Dialog**
|
||||
*
|
||||
|
@ -437,12 +439,13 @@ export interface DialogEmits {
|
|||
* ![PrimeVue](https://primefaces.org/cdn/primevue/images/logo-100.png)
|
||||
*
|
||||
* @group Component
|
||||
*
|
||||
*/
|
||||
declare class Dialog extends ClassComponent<DialogProps, DialogSlots, DialogEmits> {}
|
||||
declare const Dialog: DefineComponent<DialogProps, DialogSlots, DialogEmits>;
|
||||
|
||||
declare module 'vue' {
|
||||
export interface GlobalComponents {
|
||||
Dialog: GlobalComponentConstructor<Dialog>;
|
||||
Dialog: GlobalComponentConstructor<DialogProps, DialogSlots, DialogEmits>;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
@ -10,7 +10,7 @@
|
|||
import { VNode } from 'vue';
|
||||
import { ComponentHooks } from '../basecomponent';
|
||||
import { PassThroughOptions } from '../passthrough';
|
||||
import { ClassComponent, DesignToken, GlobalComponentConstructor, PassThrough } from '../ts-helpers';
|
||||
import { DefineComponent, DesignToken, EmitFn, GlobalComponentConstructor, PassThrough } from '../ts-helpers';
|
||||
|
||||
export declare type DividerPassThroughOptionType = DividerPassThroughAttributes | ((options: DividerPassThroughMethodOptions) => DividerPassThroughAttributes | string) | string | null | undefined;
|
||||
|
||||
|
@ -116,7 +116,9 @@ export interface DividerSlots {
|
|||
default(): VNode[];
|
||||
}
|
||||
|
||||
export interface DividerEmits {}
|
||||
interface DividerEmitsOptions {}
|
||||
|
||||
export declare type DividerEmits = EmitFn<DividerEmitsOptions>;
|
||||
|
||||
/**
|
||||
* **PrimeVue - Divider**
|
||||
|
@ -130,11 +132,11 @@ export interface DividerEmits {}
|
|||
* @group Component
|
||||
*
|
||||
*/
|
||||
declare class Divider extends ClassComponent<DividerProps, DividerSlots, DividerEmits> {}
|
||||
declare const Divider: DefineComponent<DividerProps, DividerSlots, DividerEmits>;
|
||||
|
||||
declare module 'vue' {
|
||||
export interface GlobalComponents {
|
||||
Divider: GlobalComponentConstructor<Divider>;
|
||||
Divider: GlobalComponentConstructor<DividerProps, DividerSlots, DividerEmits>;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
@ -11,7 +11,7 @@ import { VNode } from 'vue';
|
|||
import { ComponentHooks } from '../basecomponent';
|
||||
import { MenuItem } from '../menuitem';
|
||||
import { PassThroughOptions } from '../passthrough';
|
||||
import { ClassComponent, DesignToken, GlobalComponentConstructor, PassThrough } from '../ts-helpers';
|
||||
import { DefineComponent, DesignToken, EmitFn, GlobalComponentConstructor, PassThrough } from '../ts-helpers';
|
||||
|
||||
export declare type DockPassThroughOptionType = DockPassThroughAttributes | ((options: DockPassThroughMethodOptions) => DockPassThroughAttributes | string) | string | null | undefined;
|
||||
|
||||
|
@ -299,7 +299,7 @@ export interface DockSlots {
|
|||
/**
|
||||
* Defines valid emits in Dock component.
|
||||
*/
|
||||
export interface DockEmits {
|
||||
interface DockEmitsOptions {
|
||||
/**
|
||||
* Callback to invoke when the component receives focus.
|
||||
* @param {Event} event - Browser event.
|
||||
|
@ -312,6 +312,8 @@ export interface DockEmits {
|
|||
blur(event: Event): void;
|
||||
}
|
||||
|
||||
export declare type DockEmits = EmitFn<DockEmitsOptions>;
|
||||
|
||||
/**
|
||||
* **PrimeVue - Dock**
|
||||
*
|
||||
|
@ -324,11 +326,11 @@ export interface DockEmits {
|
|||
* @group Component
|
||||
*
|
||||
*/
|
||||
declare class Dock extends ClassComponent<DockProps, DockSlots, DockEmits> {}
|
||||
declare const Dock: DefineComponent<DockProps, DockSlots, DockEmits>;
|
||||
|
||||
declare module 'vue' {
|
||||
export interface GlobalComponents {
|
||||
Dock: GlobalComponentConstructor<Dock>;
|
||||
Dock: GlobalComponentConstructor<DockProps, DockSlots, DockEmits>;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
@ -11,7 +11,7 @@ import { TransitionProps, VNode } from 'vue';
|
|||
import { ComponentHooks } from '../basecomponent';
|
||||
import { ButtonPassThroughOptions } from '../button';
|
||||
import { PassThroughOptions } from '../passthrough';
|
||||
import { ClassComponent, DesignToken, GlobalComponentConstructor, PassThrough } from '../ts-helpers';
|
||||
import { DefineComponent, DesignToken, EmitFn, GlobalComponentConstructor, PassThrough } from '../ts-helpers';
|
||||
|
||||
export declare type DrawerPassThroughOptionType = DrawerPassThroughAttributes | ((options: DrawerPassThroughMethodOptions) => DrawerPassThroughAttributes | string) | string | null | undefined;
|
||||
|
||||
|
@ -251,7 +251,7 @@ export interface DrawerSlots {
|
|||
/**
|
||||
* Defines valid emits in Drawer component.
|
||||
*/
|
||||
export interface DrawerEmits {
|
||||
interface DrawerEmitsOptions {
|
||||
/**
|
||||
* Emitted when the value changes.
|
||||
* @param {boolean} value - New value.
|
||||
|
@ -267,6 +267,8 @@ export interface DrawerEmits {
|
|||
hide(): void;
|
||||
}
|
||||
|
||||
export declare type DrawerEmits = EmitFn<DrawerEmitsOptions>;
|
||||
|
||||
/**
|
||||
* **PrimeVue - Drawer**
|
||||
*
|
||||
|
@ -277,12 +279,13 @@ export interface DrawerEmits {
|
|||
* ![PrimeVue](https://primefaces.org/cdn/primevue/images/logo-100.png)
|
||||
*
|
||||
* @group Component
|
||||
*
|
||||
*/
|
||||
declare class Drawer extends ClassComponent<DrawerProps, DrawerSlots, DrawerEmits> {}
|
||||
declare const Drawer: DefineComponent<DrawerProps, DrawerSlots, DrawerEmits>;
|
||||
|
||||
declare module 'vue' {
|
||||
export interface GlobalComponents {
|
||||
Drawer: GlobalComponentConstructor<Drawer>;
|
||||
Drawer: GlobalComponentConstructor<DrawerProps, DrawerSlots, DrawerEmits>;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
@ -9,7 +9,7 @@
|
|||
*/
|
||||
import 'vue';
|
||||
import * as Select from '../select';
|
||||
import { ClassComponent, GlobalComponentConstructor } from '../ts-helpers';
|
||||
import { DefineComponent, EmitFn, GlobalComponentConstructor } from '../ts-helpers';
|
||||
|
||||
/**
|
||||
* Custom passthrough(pt) option method.
|
||||
|
@ -62,22 +62,11 @@ export interface DropdownSlots extends Select.SelectSlots {}
|
|||
/**
|
||||
* Defines valid emits in Dropdown component.
|
||||
*/
|
||||
export interface DropdownEmits extends Select.SelectEmits {}
|
||||
interface DropdownEmitsOptions {}
|
||||
|
||||
/**
|
||||
* @deprecated Deprecated since v4. Use Select component instead.
|
||||
*
|
||||
* **PrimeVue - Dropdown**
|
||||
*
|
||||
* _Dropdown also known as Select, is used to choose an item from a collection of options._
|
||||
*
|
||||
* [Live Demo](https://www.primevue.org/select/)
|
||||
* --- ---
|
||||
* ![PrimeVue](https://primefaces.org/cdn/primevue/images/logo-100.png)
|
||||
*
|
||||
* @group Component
|
||||
*/
|
||||
declare class Dropdown extends ClassComponent<DropdownProps, DropdownSlots, DropdownEmits> {
|
||||
export declare type DropdownEmits = EmitFn<DropdownEmitsOptions> & Select.SelectEmits;
|
||||
|
||||
export interface DropdownMethods {
|
||||
/**
|
||||
* Shows the overlay.
|
||||
* @param {boolean} [isFocus] - Decides whether to focus on the component. @defaultValue false.
|
||||
|
@ -94,9 +83,25 @@ declare class Dropdown extends ClassComponent<DropdownProps, DropdownSlots, Drop
|
|||
hide: (isFocus?: boolean) => void;
|
||||
}
|
||||
|
||||
/**
|
||||
* @deprecated Deprecated since v4. Use Select component instead.
|
||||
*
|
||||
* **PrimeVue - Dropdown**
|
||||
*
|
||||
* _Dropdown also known as Select, is used to choose an item from a collection of options._
|
||||
*
|
||||
* [Live Demo](https://www.primevue.org/select/)
|
||||
* --- ---
|
||||
* ![PrimeVue](https://primefaces.org/cdn/primevue/images/logo-100.png)
|
||||
*
|
||||
* @group Component
|
||||
*
|
||||
*/
|
||||
declare const Dropdown: DefineComponent<DropdownProps, DropdownSlots, DropdownEmits, DropdownMethods>;
|
||||
|
||||
declare module 'vue' {
|
||||
export interface GlobalComponents {
|
||||
Dropdown: GlobalComponentConstructor<Dropdown>;
|
||||
Dropdown: GlobalComponentConstructor<DropdownProps, DropdownSlots, DropdownEmits, DropdownMethods>;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
@ -7,7 +7,7 @@
|
|||
* @module dynamicdialog
|
||||
*
|
||||
*/
|
||||
import { ClassComponent, GlobalComponentConstructor } from '../ts-helpers';
|
||||
import { DefineComponent, EmitFn, GlobalComponentConstructor } from '../ts-helpers';
|
||||
|
||||
/**
|
||||
* Defines valid properties in DynamicDialog component.
|
||||
|
@ -20,16 +20,18 @@ export interface DynamicDialogProps {
|
|||
unstyled?: boolean;
|
||||
}
|
||||
|
||||
/**
|
||||
* Defines valid emits in DynamicDialog component.
|
||||
*/
|
||||
export interface DynamicDialogEmits {}
|
||||
|
||||
/**
|
||||
* Defines valid slots in DynamicDialog component.
|
||||
*/
|
||||
export interface DynamicDialogSlots {}
|
||||
|
||||
/**
|
||||
* Defines valid emits in DynamicDialog component.
|
||||
*/
|
||||
interface DynamicDialogEmitsOptions {}
|
||||
|
||||
export declare type DynamicDialogEmits = EmitFn<DynamicDialogEmitsOptions>;
|
||||
|
||||
/**
|
||||
* **PrimeVue - DynamicDialog**
|
||||
*
|
||||
|
@ -40,12 +42,13 @@ export interface DynamicDialogSlots {}
|
|||
* ![PrimeVue](https://primefaces.org/cdn/primevue/images/logo-100.png)
|
||||
*
|
||||
* @group Component
|
||||
*
|
||||
*/
|
||||
declare class DynamicDialog extends ClassComponent<DynamicDialogProps, DynamicDialogSlots, DynamicDialogEmits> {}
|
||||
declare const DynamicDialog: DefineComponent<DynamicDialogProps, DynamicDialogSlots, DynamicDialogEmits>;
|
||||
|
||||
declare module 'vue' {
|
||||
export interface GlobalComponents {
|
||||
DynamicDialog: GlobalComponentConstructor<DynamicDialog>;
|
||||
DynamicDialog: GlobalComponentConstructor<DynamicDialogProps, DynamicDialogSlots, DynamicDialogEmits>;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
@ -10,7 +10,7 @@
|
|||
import { VNode } from 'vue';
|
||||
import { ComponentHooks } from '../basecomponent';
|
||||
import { PassThroughOptions } from '../passthrough';
|
||||
import { ClassComponent, DesignToken, GlobalComponentConstructor, PassThrough } from '../ts-helpers';
|
||||
import { DefineComponent, DesignToken, EmitFn, GlobalComponentConstructor, PassThrough } from '../ts-helpers';
|
||||
|
||||
export declare type EditorPassThroughOptionType = EditorPassThroughAttributes | ((options: EditorPassThroughMethodOptions) => EditorPassThroughAttributes | string) | string | null | undefined;
|
||||
|
||||
|
@ -272,7 +272,7 @@ export interface EditorSlots {
|
|||
/**
|
||||
* Defines valid emits in Editor component.
|
||||
*/
|
||||
export interface EditorEmits {
|
||||
interface EditorEmitsOptions {
|
||||
/**
|
||||
* Emitted when the value changes.
|
||||
* @param {string} value - New value.
|
||||
|
@ -295,6 +295,8 @@ export interface EditorEmits {
|
|||
load(event: EditorLoadEvent): void;
|
||||
}
|
||||
|
||||
export declare type EditorEmits = EmitFn<EditorEmitsOptions>;
|
||||
|
||||
/**
|
||||
* **PrimeVue - Editor**
|
||||
*
|
||||
|
@ -307,11 +309,11 @@ export interface EditorEmits {
|
|||
* @group Component
|
||||
*
|
||||
*/
|
||||
declare class Editor extends ClassComponent<EditorProps, EditorSlots, EditorEmits> {}
|
||||
declare const Editor: DefineComponent<EditorProps, EditorSlots, EditorEmits>;
|
||||
|
||||
declare module 'vue' {
|
||||
export interface GlobalComponents {
|
||||
Editor: GlobalComponentConstructor<Editor>;
|
||||
Editor: GlobalComponentConstructor<EditorProps, EditorSlots, EditorEmits>;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
@ -10,7 +10,7 @@
|
|||
import { AnchorHTMLAttributes, TransitionProps, VNode } from 'vue';
|
||||
import { ComponentHooks } from '../basecomponent';
|
||||
import { PassThroughOptions } from '../passthrough';
|
||||
import { ClassComponent, DesignToken, GlobalComponentConstructor, PassThrough } from '../ts-helpers';
|
||||
import { DefineComponent, DesignToken, EmitFn, GlobalComponentConstructor, PassThrough } from '../ts-helpers';
|
||||
|
||||
export declare type FieldsetPassThroughOptionType = FieldsetPassThroughAttributes | ((options: FieldsetPassThroughMethodOptions) => FieldsetPassThroughAttributes | string) | string | null | undefined;
|
||||
|
||||
|
@ -216,7 +216,7 @@ export interface FieldsetSlots {
|
|||
/**
|
||||
* Defines valid emits in Fildset component.
|
||||
*/
|
||||
export interface FieldsetEmits {
|
||||
interface FieldsetEmitsOptions {
|
||||
/**
|
||||
* Emitted when the collapsed changes.
|
||||
* @param {boolean} value - New value.
|
||||
|
@ -229,6 +229,8 @@ export interface FieldsetEmits {
|
|||
toggle(event: FieldsetToggleEvent): void;
|
||||
}
|
||||
|
||||
export declare type FieldsetEmits = EmitFn<FieldsetEmitsOptions>;
|
||||
|
||||
/**
|
||||
* **PrimeVue - Fieldset**
|
||||
*
|
||||
|
@ -241,11 +243,11 @@ export interface FieldsetEmits {
|
|||
* @group Component
|
||||
*
|
||||
*/
|
||||
declare class Fieldset extends ClassComponent<FieldsetProps, FieldsetSlots, FieldsetEmits> {}
|
||||
declare const Fieldset: DefineComponent<FieldsetProps, FieldsetSlots, FieldsetEmits>;
|
||||
|
||||
declare module 'vue' {
|
||||
export interface GlobalComponents {
|
||||
Fieldset: GlobalComponentConstructor<Fieldset>;
|
||||
Fieldset: GlobalComponentConstructor<FieldsetProps, FieldsetSlots, FieldsetEmits>;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
@ -14,7 +14,7 @@ import { ButtonPassThroughOptions } from '../button';
|
|||
import { MessagePassThroughOptions } from '../message';
|
||||
import { PassThroughOptions } from '../passthrough';
|
||||
import { ProgressBarPassThroughOptions } from '../progressbar';
|
||||
import { ClassComponent, DesignToken, GlobalComponentConstructor, PassThrough } from '../ts-helpers';
|
||||
import { DefineComponent, DesignToken, EmitFn, GlobalComponentConstructor, PassThrough } from '../ts-helpers';
|
||||
|
||||
export declare type FileUploadPassThroughOptionType = FileUploadPassThroughAttributes | ((options: FileUploadPassThroughMethodOptions) => FileUploadPassThroughAttributes | string) | string | null | undefined;
|
||||
|
||||
|
@ -587,7 +587,7 @@ export interface FileUploadSlots {
|
|||
}): VNode[];
|
||||
}
|
||||
|
||||
export interface FileUploadEmits {
|
||||
interface FileUploadEmitsOptions {
|
||||
/**
|
||||
* Callback to invoke when files are selected.
|
||||
* @param {FileUploadSelectEvent} event - Custom select event.
|
||||
|
@ -639,6 +639,17 @@ export interface FileUploadEmits {
|
|||
removeUploadedFile(event: FileUploadRemoveUploadedFile): void;
|
||||
}
|
||||
|
||||
export declare type FileUploadEmits = EmitFn<FileUploadEmitsOptions>;
|
||||
|
||||
export interface FileUploadMethods {
|
||||
/**
|
||||
* Upload file.
|
||||
*
|
||||
* @memberof FileUpload
|
||||
*/
|
||||
upload(): void;
|
||||
}
|
||||
|
||||
/**
|
||||
* **PrimeVue - FileUpload**
|
||||
*
|
||||
|
@ -651,18 +662,11 @@ export interface FileUploadEmits {
|
|||
* @group Component
|
||||
*
|
||||
*/
|
||||
declare class FileUpload extends ClassComponent<FileUploadProps, FileUploadSlots, FileUploadEmits> {
|
||||
/**
|
||||
* Upload file.
|
||||
*
|
||||
* @memberof FileUpload
|
||||
*/
|
||||
upload(): void;
|
||||
}
|
||||
declare const FileUpload: DefineComponent<FileUploadProps, FileUploadSlots, FileUploadEmits>;
|
||||
|
||||
declare module 'vue' {
|
||||
export interface GlobalComponents {
|
||||
FileUpload: GlobalComponentConstructor<FileUpload>;
|
||||
FileUpload: GlobalComponentConstructor<FileUploadProps, FileUploadSlots, FileUploadEmits>;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
@ -10,7 +10,7 @@
|
|||
import { TransitionProps, VNode } from 'vue';
|
||||
import { ComponentHooks } from '../basecomponent';
|
||||
import { PassThroughOptions } from '../passthrough';
|
||||
import { ClassComponent, DesignToken, GlobalComponentConstructor, PassThrough } from '../ts-helpers';
|
||||
import { DefineComponent, DesignToken, EmitFn, GlobalComponentConstructor, PassThrough } from '../ts-helpers';
|
||||
|
||||
export declare type FloatLabelPassThroughOptionType = FloatLabelPassThroughAttributes | ((options: FloatLabelPassThroughMethodOptions) => FloatLabelPassThroughAttributes | string) | string | null | undefined;
|
||||
|
||||
|
@ -103,7 +103,9 @@ export interface FloatLabelSlots {
|
|||
/**
|
||||
* Defines valid emits in FloatLabel component.
|
||||
*/
|
||||
export interface FloatLabelEmits {}
|
||||
interface FloatLabelEmitsOptions {}
|
||||
|
||||
export declare type FloatLabelEmits = EmitFn<FloatLabelEmitsOptions>;
|
||||
|
||||
/**
|
||||
* **PrimeVue - FloatLabel**
|
||||
|
@ -117,11 +119,11 @@ export interface FloatLabelEmits {}
|
|||
* @group Component
|
||||
*
|
||||
*/
|
||||
declare class FloatLabel extends ClassComponent<FloatLabelProps, FloatLabelSlots, FloatLabelEmits> {}
|
||||
declare const FloatLabel: DefineComponent<FloatLabelProps, FloatLabelSlots, FloatLabelEmits>;
|
||||
|
||||
declare module 'vue' {
|
||||
export interface GlobalComponents {
|
||||
FloatLabel: GlobalComponentConstructor<FloatLabel>;
|
||||
FloatLabel: GlobalComponentConstructor<FloatLabelProps, FloatLabelSlots, FloatLabelEmits>;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
@ -10,7 +10,7 @@
|
|||
import { ButtonHTMLAttributes, HTMLAttributes, TransitionProps, VNode } from 'vue';
|
||||
import { ComponentHooks } from '../basecomponent';
|
||||
import { PassThroughOptions } from '../passthrough';
|
||||
import { ClassComponent, DesignToken, GlobalComponentConstructor, PassThrough } from '../ts-helpers';
|
||||
import { DefineComponent, DesignToken, EmitFn, GlobalComponentConstructor, PassThrough } from '../ts-helpers';
|
||||
|
||||
export declare type GalleriaPassThroughOptionType = GalleriaPassThroughAttributes | ((options: GalleriaPassThroughMethodOptions) => GalleriaPassThroughAttributes | string) | string | null | undefined;
|
||||
|
||||
|
@ -503,7 +503,7 @@ export interface GalleriaSlots {
|
|||
/**
|
||||
* Defines valid emits in Galleria component.
|
||||
*/
|
||||
export interface GalleriaEmits {
|
||||
interface GalleriaEmitsOptions {
|
||||
/**
|
||||
* Emitted when the active index changes.
|
||||
* @param {number} value - Index of new active item.
|
||||
|
@ -516,6 +516,8 @@ export interface GalleriaEmits {
|
|||
'update:visible'(value: boolean): void;
|
||||
}
|
||||
|
||||
export declare type GalleriaEmits = EmitFn<GalleriaEmitsOptions>;
|
||||
|
||||
/**
|
||||
* **PrimeVue - Galleria**
|
||||
*
|
||||
|
@ -528,11 +530,11 @@ export interface GalleriaEmits {
|
|||
* @group Component
|
||||
*
|
||||
*/
|
||||
declare class Galleria extends ClassComponent<GalleriaProps, GalleriaSlots, GalleriaEmits> {}
|
||||
declare const Galleria: DefineComponent<GalleriaProps, GalleriaSlots, GalleriaEmits>;
|
||||
|
||||
declare module 'vue' {
|
||||
export interface GlobalComponents {
|
||||
Galleria: GlobalComponentConstructor<Galleria>;
|
||||
Galleria: GlobalComponentConstructor<GalleriaProps, GalleriaSlots, GalleriaEmits>;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
@ -10,7 +10,7 @@
|
|||
import { VNode } from 'vue';
|
||||
import { ComponentHooks } from '../basecomponent';
|
||||
import { PassThroughOptions } from '../passthrough';
|
||||
import { ClassComponent, DesignToken, GlobalComponentConstructor, PassThrough } from '../ts-helpers';
|
||||
import { DefineComponent, DesignToken, EmitFn, GlobalComponentConstructor, PassThrough } from '../ts-helpers';
|
||||
|
||||
export declare type IconFieldPassThroughOptionType<T = any> = IconFieldPassThroughAttributes | ((options: IconFieldPassThroughMethodOptions<T>) => IconFieldPassThroughAttributes | string) | string | null | undefined;
|
||||
|
||||
|
@ -101,7 +101,9 @@ export interface IconFieldSlots {
|
|||
/**
|
||||
* Defines valid emits in IconField component.
|
||||
*/
|
||||
export interface IconFieldEmits {}
|
||||
interface IconFieldEmitsOptions {}
|
||||
|
||||
export declare type IconFieldEmits = EmitFn<IconFieldEmitsOptions>;
|
||||
|
||||
/**
|
||||
* **PrimeVue - IconField**
|
||||
|
@ -115,11 +117,11 @@ export interface IconFieldEmits {}
|
|||
* @group Component
|
||||
*
|
||||
*/
|
||||
declare class IconField extends ClassComponent<IconFieldProps, IconFieldSlots, IconFieldEmits> {}
|
||||
declare const IconField: DefineComponent<IconFieldProps, IconFieldSlots, IconFieldEmits>;
|
||||
|
||||
declare module 'vue' {
|
||||
export interface GlobalComponents {
|
||||
IconField: GlobalComponentConstructor<IconField>;
|
||||
IconField: GlobalComponentConstructor<IconFieldProps, IconFieldSlots, IconFieldEmits>;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
import { ClassComponent } from '../ts-helpers';
|
||||
import { DefineComponent, EmitFn } from '../ts-helpers';
|
||||
|
||||
export interface IconProps {
|
||||
label?: string | undefined;
|
||||
|
@ -7,6 +7,8 @@ export interface IconProps {
|
|||
|
||||
export interface IconSlots {}
|
||||
|
||||
export interface IconEmits {}
|
||||
interface IconEmitsOptions {}
|
||||
|
||||
export declare class Icon extends ClassComponent<IconProps, IconSlots, IconEmits> {}
|
||||
export declare type IconEmits = EmitFn<IconEmitsOptions>;
|
||||
|
||||
declare const Icon: DefineComponent<IconProps, IconSlots, IconEmits>;
|
||||
|
|
|
@ -10,7 +10,7 @@
|
|||
import { TransitionProps, VNode } from 'vue';
|
||||
import { ComponentHooks } from '../basecomponent';
|
||||
import { PassThroughOptions } from '../passthrough';
|
||||
import { ClassComponent, DesignToken, GlobalComponentConstructor, PassThrough } from '../ts-helpers';
|
||||
import { DefineComponent, DesignToken, EmitFn, GlobalComponentConstructor, PassThrough } from '../ts-helpers';
|
||||
|
||||
export declare type ImagePassThroughOptionType = ImagePassThroughAttributes | ((options: ImagePassThroughMethodOptions) => ImagePassThroughAttributes | string) | string | null | undefined;
|
||||
|
||||
|
@ -329,21 +329,11 @@ export interface ImageSlots {
|
|||
}): VNode[];
|
||||
}
|
||||
|
||||
export interface ImageEmits {}
|
||||
interface ImageEmitsOptions {}
|
||||
|
||||
/**
|
||||
* **PrimeVue - Image**
|
||||
*
|
||||
* _Displays an image with preview and tranformation options. For multiple image, see Galleria._
|
||||
*
|
||||
* [Live Demo](https://www.primevue.org/image/)
|
||||
* --- ---
|
||||
* ![PrimeVue](https://primefaces.org/cdn/primevue/images/logo-100.png)
|
||||
*
|
||||
* @group Component
|
||||
*
|
||||
*/
|
||||
declare class Image extends ClassComponent<ImageProps, ImageSlots, ImageEmits> {
|
||||
export declare type ImageEmits = EmitFn<ImageEmitsOptions>;
|
||||
|
||||
export interface ImageMethods {
|
||||
/**
|
||||
* Triggered when the preview overlay is shown.
|
||||
*
|
||||
|
@ -364,9 +354,23 @@ declare class Image extends ClassComponent<ImageProps, ImageSlots, ImageEmits> {
|
|||
error(): void;
|
||||
}
|
||||
|
||||
/**
|
||||
* **PrimeVue - Image**
|
||||
*
|
||||
* _Displays an image with preview and tranformation options. For multiple image, see Galleria._
|
||||
*
|
||||
* [Live Demo](https://www.primevue.org/image/)
|
||||
* --- ---
|
||||
* ![PrimeVue](https://primefaces.org/cdn/primevue/images/logo-100.png)
|
||||
*
|
||||
* @group Component
|
||||
*
|
||||
*/
|
||||
declare const Image: DefineComponent<ImageProps, ImageSlots, ImageEmits, ImageMethods>;
|
||||
|
||||
declare module 'vue' {
|
||||
export interface GlobalComponents {
|
||||
Image: GlobalComponentConstructor<Image>;
|
||||
Image: GlobalComponentConstructor<ImageProps, ImageSlots, ImageEmits, ImageMethods>;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
@ -10,7 +10,7 @@
|
|||
import { VNode } from 'vue';
|
||||
import { ComponentHooks } from '../basecomponent';
|
||||
import { PassThroughOptions } from '../passthrough';
|
||||
import { ClassComponent, DesignToken, GlobalComponentConstructor, HintedString, PassThrough } from '../ts-helpers';
|
||||
import { DefineComponent, DesignToken, EmitFn, GlobalComponentConstructor, HintedString, PassThrough } from '../ts-helpers';
|
||||
|
||||
export declare type InlineMessagePassThroughOptionType = InlineMessagePassThroughAttributes | ((options: InlineMessagePassThroughMethodOptions) => InlineMessagePassThroughAttributes | string) | string | null | undefined;
|
||||
|
||||
|
@ -134,7 +134,9 @@ export interface InlineMessageSlots {
|
|||
icon(): VNode[];
|
||||
}
|
||||
|
||||
export interface InlineMessageEmits {}
|
||||
interface InlineMessageEmitsOptions {}
|
||||
|
||||
export declare type InlineMessageEmits = EmitFn<InlineMessageEmitsOptions>;
|
||||
|
||||
/**
|
||||
* **PrimeVue - InlineMessage**
|
||||
|
@ -148,11 +150,11 @@ export interface InlineMessageEmits {}
|
|||
* @group Component
|
||||
*
|
||||
*/
|
||||
declare class InlineMessage extends ClassComponent<InlineMessageProps, InlineMessageSlots, InlineMessageEmits> {}
|
||||
declare const InlineMessage: DefineComponent<InlineMessageProps, InlineMessageSlots, InlineMessageEmits>;
|
||||
|
||||
declare module 'vue' {
|
||||
export interface GlobalComponents {
|
||||
InlineMessage: GlobalComponentConstructor<InlineMessage>;
|
||||
InlineMessage: GlobalComponentConstructor<InlineMessageProps, InlineMessageSlots, InlineMessageEmits>;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
@ -10,7 +10,7 @@
|
|||
import { HTMLAttributes, VNode } from 'vue';
|
||||
import { ComponentHooks } from '../basecomponent';
|
||||
import { PassThroughOptions } from '../passthrough';
|
||||
import { ClassComponent, DesignToken, GlobalComponentConstructor, PassThrough } from '../ts-helpers';
|
||||
import { DefineComponent, DesignToken, EmitFn, GlobalComponentConstructor, PassThrough } from '../ts-helpers';
|
||||
|
||||
export declare type InplacePassThroughOptionType = InplacePassThroughAttributes | ((options: InplacePassThroughMethodOptions) => InplacePassThroughAttributes | string) | string | null | undefined;
|
||||
|
||||
|
@ -167,7 +167,7 @@ export interface InplaceSlots {
|
|||
/**
|
||||
* Defines valid emits in Inplace component.
|
||||
*/
|
||||
export interface InplaceEmits {
|
||||
interface InplaceEmitsOptions {
|
||||
/**
|
||||
* Emitted when the active changes.
|
||||
* @param {boolean} value - New value.
|
||||
|
@ -185,6 +185,8 @@ export interface InplaceEmits {
|
|||
close(event: Event): void;
|
||||
}
|
||||
|
||||
export declare type InplaceEmits = EmitFn<InplaceEmitsOptions>;
|
||||
|
||||
/**
|
||||
* **PrimeVue - Inplace**
|
||||
*
|
||||
|
@ -195,12 +197,13 @@ export interface InplaceEmits {
|
|||
* ![PrimeVue](https://primefaces.org/cdn/primevue/images/logo-100.png)
|
||||
*
|
||||
* @group Component
|
||||
*
|
||||
*/
|
||||
declare class Inplace extends ClassComponent<InplaceProps, InplaceSlots, InplaceEmits> {}
|
||||
declare const Inplace: DefineComponent<InplaceProps, InplaceSlots, InplaceEmits>;
|
||||
|
||||
declare module 'vue' {
|
||||
export interface GlobalComponents {
|
||||
Inplace: GlobalComponentConstructor<Inplace>;
|
||||
Inplace: GlobalComponentConstructor<InplaceProps, InplaceSlots, InplaceEmits>;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
@ -11,7 +11,7 @@ import { InputHTMLAttributes, VNode } from 'vue';
|
|||
import { ComponentHooks } from '../basecomponent';
|
||||
import { ChipPassThroughOptions } from '../chip';
|
||||
import { PassThroughOptions } from '../passthrough';
|
||||
import { ClassComponent, DesignToken, GlobalComponentConstructor, PassThrough } from '../ts-helpers';
|
||||
import { DefineComponent, DesignToken, EmitFn, GlobalComponentConstructor, PassThrough } from '../ts-helpers';
|
||||
|
||||
export declare type InputChipsPassThroughOptionType = InputChipsPassThroughAttributes | ((options: InputChipsPassThroughMethodOptions) => InputChipsPassThroughAttributes | string) | string | null | undefined;
|
||||
|
||||
|
@ -320,7 +320,7 @@ export interface InputChipsSlots {
|
|||
/**
|
||||
* Defines valid emits in InputChips component.
|
||||
*/
|
||||
export interface InputChipsEmits {
|
||||
interface InputChipsEmitsOptions {
|
||||
/**
|
||||
* Emitted when the value changes.
|
||||
* @param {*} value - New value.
|
||||
|
@ -338,6 +338,8 @@ export interface InputChipsEmits {
|
|||
remove(event: InputChipsRemoveEvent): void;
|
||||
}
|
||||
|
||||
export declare type InputChipsEmits = EmitFn<InputChipsEmitsOptions>;
|
||||
|
||||
/**
|
||||
* **PrimeVue - InputChips**
|
||||
*
|
||||
|
@ -350,11 +352,11 @@ export interface InputChipsEmits {
|
|||
* @group Component
|
||||
*
|
||||
*/
|
||||
declare class InputChips extends ClassComponent<InputChipsProps, InputChipsSlots, InputChipsEmits> {}
|
||||
declare const InputChips: DefineComponent<InputChipsProps, InputChipsSlots, InputChipsEmits>;
|
||||
|
||||
declare module 'vue' {
|
||||
export interface GlobalComponents {
|
||||
InputChips: GlobalComponentConstructor<InputChips>;
|
||||
InputChips: GlobalComponentConstructor<InputChipsProps, InputChipsSlots, InputChipsEmits>;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
@ -10,7 +10,7 @@
|
|||
import { VNode } from 'vue';
|
||||
import { ComponentHooks } from '../basecomponent';
|
||||
import { PassThroughOptions } from '../passthrough';
|
||||
import { ClassComponent, DesignToken, GlobalComponentConstructor, PassThrough } from '../ts-helpers';
|
||||
import { DefineComponent, DesignToken, EmitFn, GlobalComponentConstructor, PassThrough } from '../ts-helpers';
|
||||
|
||||
export declare type InputGroupPassThroughOptionType = InputGroupPassThroughAttributes | ((options: InputGroupPassThroughMethodOptions) => InputGroupPassThroughAttributes | string) | string | null | undefined;
|
||||
|
||||
|
@ -102,7 +102,9 @@ export interface InputGroupSlots {
|
|||
/**
|
||||
* Defines valid emits in InputGroup component.
|
||||
*/
|
||||
export interface InputGroupEmits {}
|
||||
interface InputGroupEmitsOptions {}
|
||||
|
||||
export declare type InputGroupEmits = EmitFn<InputGroupEmitsOptions>;
|
||||
|
||||
/**
|
||||
* **PrimeVue - InputGroup**
|
||||
|
@ -114,12 +116,13 @@ export interface InputGroupEmits {}
|
|||
* ![PrimeVue](https://primefaces.org/cdn/primevue/images/logo-100.png)
|
||||
*
|
||||
* @group Component
|
||||
*
|
||||
*/
|
||||
declare class InputGroup extends ClassComponent<InputGroupProps, InputGroupSlots, InputGroupEmits> {}
|
||||
declare const InputGroup: DefineComponent<InputGroupProps, InputGroupSlots, InputGroupEmits>;
|
||||
|
||||
declare module 'vue' {
|
||||
export interface GlobalComponents {
|
||||
InputGroup: GlobalComponentConstructor<InputGroup>;
|
||||
InputGroup: GlobalComponentConstructor<InputGroupProps, InputGroupSlots, InputGroupEmits>;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
@ -10,7 +10,7 @@
|
|||
import { VNode } from 'vue';
|
||||
import { ComponentHooks } from '../basecomponent';
|
||||
import { PassThroughOptions } from '../passthrough';
|
||||
import { ClassComponent, DesignToken, GlobalComponentConstructor, PassThrough } from '../ts-helpers';
|
||||
import { DefineComponent, DesignToken, EmitFn, GlobalComponentConstructor, PassThrough } from '../ts-helpers';
|
||||
|
||||
export declare type InputGroupAddonPassThroughOptionType = InputGroupAddonPassThroughAttributes | ((options: InputGroupAddonPassThroughMethodOptions) => InputGroupAddonPassThroughAttributes | string) | string | null | undefined;
|
||||
|
||||
|
@ -102,7 +102,9 @@ export interface InputGroupAddonSlots {
|
|||
/**
|
||||
* Defines valid emits in InputGroupAddon component.
|
||||
*/
|
||||
export interface InputGroupAddonEmits {}
|
||||
interface InputGroupAddonEmitsOptions {}
|
||||
|
||||
export declare type InputGroupAddonEmits = EmitFn<InputGroupAddonEmitsOptions>;
|
||||
|
||||
/**
|
||||
* **PrimeVue - InputGroupAddon**
|
||||
|
@ -114,12 +116,13 @@ export interface InputGroupAddonEmits {}
|
|||
* ![PrimeVue](https://primefaces.org/cdn/primevue/images/logo-100.png)
|
||||
*
|
||||
* @group Component
|
||||
*
|
||||
*/
|
||||
declare class InputGroupAddon extends ClassComponent<InputGroupAddonProps, InputGroupAddonSlots, InputGroupAddonEmits> {}
|
||||
declare const InputGroupAddon: DefineComponent<InputGroupAddonProps, InputGroupAddonSlots, InputGroupAddonEmits>;
|
||||
|
||||
declare module 'vue' {
|
||||
export interface GlobalComponents {
|
||||
InputGroupAddon: GlobalComponentConstructor<InputGroupAddon>;
|
||||
InputGroupAddon: GlobalComponentConstructor<InputGroupAddonProps, InputGroupAddonSlots, InputGroupAddonEmits>;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
@ -10,7 +10,7 @@
|
|||
import { VNode } from 'vue';
|
||||
import { ComponentHooks } from '../basecomponent';
|
||||
import { PassThroughOptions } from '../passthrough';
|
||||
import { ClassComponent, DesignToken, GlobalComponentConstructor, PassThrough } from '../ts-helpers';
|
||||
import { DefineComponent, DesignToken, EmitFn, GlobalComponentConstructor, PassThrough } from '../ts-helpers';
|
||||
|
||||
export declare type InputIconPassThroughOptionType<T = any> = InputIconPassThroughAttributes | ((options: InputIconPassThroughMethodOptions<T>) => InputIconPassThroughAttributes | string) | string | null | undefined;
|
||||
|
||||
|
@ -97,7 +97,9 @@ export interface InputIconSlots {
|
|||
/**
|
||||
* Defines valid emits in InputIcon component.
|
||||
*/
|
||||
export interface InputIconEmits {}
|
||||
interface InputIconEmitsOptions {}
|
||||
|
||||
export declare type InputIconEmits = EmitFn<InputIconEmitsOptions>;
|
||||
|
||||
/**
|
||||
* **PrimeVue - InputIcon**
|
||||
|
@ -109,12 +111,13 @@ export interface InputIconEmits {}
|
|||
* ![PrimeVue](https://primefaces.org/cdn/primevue/images/logo-100.png)
|
||||
*
|
||||
* @group Component
|
||||
*
|
||||
*/
|
||||
declare class InputIcon extends ClassComponent<InputIconProps, InputIconSlots, InputIconEmits> {}
|
||||
declare const InputIcon: DefineComponent<InputIconProps, InputIconSlots, InputIconEmits>;
|
||||
|
||||
declare module 'vue' {
|
||||
export interface GlobalComponents {
|
||||
InputIcon: GlobalComponentConstructor<InputIcon>;
|
||||
InputIcon: GlobalComponentConstructor<InputIconProps, InputIconSlots, InputIconEmits>;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
@ -10,7 +10,7 @@
|
|||
import { ComponentHooks } from '../basecomponent';
|
||||
import { InputTextPassThroughOptions } from '../inputtext';
|
||||
import { PassThroughOptions } from '../passthrough';
|
||||
import { ClassComponent, DesignToken, GlobalComponentConstructor, PassThrough } from '../ts-helpers';
|
||||
import { DefineComponent, DesignToken, EmitFn, GlobalComponentConstructor, PassThrough } from '../ts-helpers';
|
||||
|
||||
export declare type InputMaskPassThroughOptionType = InputMaskPassThroughAttributes | ((options: InputMaskPassThroughMethodOptions) => InputMaskPassThroughAttributes | string) | string | null | undefined;
|
||||
|
||||
|
@ -174,7 +174,7 @@ export interface InputMaskSlots {}
|
|||
/**
|
||||
* Defines valid emits in InputMask component.
|
||||
*/
|
||||
export interface InputMaskEmits {
|
||||
interface InputMaskEmitsOptions {
|
||||
/**
|
||||
* Emitted when the value changes.
|
||||
* @param {string} value - New value.
|
||||
|
@ -206,6 +206,8 @@ export interface InputMaskEmits {
|
|||
complete: (event: Event) => void;
|
||||
}
|
||||
|
||||
export declare type InputMaskEmits = EmitFn<InputMaskEmitsOptions>;
|
||||
|
||||
/**
|
||||
* **PrimeVue - InputMask**
|
||||
*
|
||||
|
@ -218,11 +220,11 @@ export interface InputMaskEmits {
|
|||
* @group Component
|
||||
*
|
||||
*/
|
||||
declare class InputMask extends ClassComponent<InputMaskProps, InputMaskSlots, InputMaskEmits> {}
|
||||
declare const InputMask: DefineComponent<InputMaskProps, InputMaskSlots, InputMaskEmits>;
|
||||
|
||||
declare module 'vue' {
|
||||
export interface GlobalComponents {
|
||||
InputMask: GlobalComponentConstructor<InputMask>;
|
||||
InputMask: GlobalComponentConstructor<InputMaskProps, InputMaskSlots, InputMaskEmits>;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
@ -11,7 +11,7 @@ import { VNode } from 'vue';
|
|||
import { ComponentHooks } from '../basecomponent';
|
||||
import { InputTextPassThroughOptions } from '../inputtext';
|
||||
import { PassThroughOptions } from '../passthrough';
|
||||
import { ClassComponent, DesignToken, GlobalComponentConstructor, Nullable, PassThrough } from '../ts-helpers';
|
||||
import { DefineComponent, DesignToken, EmitFn, GlobalComponentConstructor, Nullable, PassThrough } from '../ts-helpers';
|
||||
|
||||
export declare type RoundingMode = 'ceil' | 'floor' | 'expand' | 'trunc' | 'halfCeil' | 'halfFloor' | 'halfExpand' | 'halfTrunc' | 'halfEven';
|
||||
|
||||
|
@ -420,7 +420,7 @@ export interface InputNumberSlots {
|
|||
/**
|
||||
* Defines valid emits in InputNumber component.
|
||||
*/
|
||||
export interface InputNumberEmits {
|
||||
interface InputNumberEmitsOptions {
|
||||
/**
|
||||
* Emitted when the value changes.
|
||||
* @param {number} value - New value.
|
||||
|
@ -443,6 +443,17 @@ export interface InputNumberEmits {
|
|||
blur(event: InputNumberBlurEvent): void;
|
||||
}
|
||||
|
||||
export declare type InputNumberEmits = EmitFn<InputNumberEmitsOptions>;
|
||||
|
||||
export interface InputNumberMethods {
|
||||
/**
|
||||
* Returns Intl.NumberFormat object.
|
||||
*
|
||||
* @memberof InputNumber
|
||||
*/
|
||||
getFormatter: () => Intl.NumberFormat | undefined;
|
||||
}
|
||||
|
||||
/**
|
||||
* **PrimeVue - InputNumber**
|
||||
*
|
||||
|
@ -453,19 +464,13 @@ export interface InputNumberEmits {
|
|||
* ![PrimeVue](https://primefaces.org/cdn/primevue/images/logo-100.png)
|
||||
*
|
||||
* @group Component
|
||||
*/
|
||||
declare class InputNumber extends ClassComponent<InputNumberProps, InputNumberSlots, InputNumberEmits> {
|
||||
/**
|
||||
* Returns Intl.NumberFormat object.
|
||||
*
|
||||
* @memberof InputNumber
|
||||
*/
|
||||
getFormatter: () => Intl.NumberFormat | undefined;
|
||||
}
|
||||
declare const InputNumber: DefineComponent<InputNumberProps, InputNumberSlots, InputNumberEmits>;
|
||||
|
||||
declare module 'vue' {
|
||||
export interface GlobalComponents {
|
||||
InputNumber: GlobalComponentConstructor<InputNumber>;
|
||||
InputNumber: GlobalComponentConstructor<InputNumberProps, InputNumberSlots, InputNumberEmits>;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
@ -11,7 +11,7 @@ import { VNode } from 'vue';
|
|||
import { ComponentHooks } from '../basecomponent';
|
||||
import { InputTextPassThroughOptions } from '../inputtext';
|
||||
import { PassThroughOptions } from '../passthrough';
|
||||
import { ClassComponent, DesignToken, GlobalComponentConstructor, PassThrough } from '../ts-helpers';
|
||||
import { DefineComponent, DesignToken, EmitFn, GlobalComponentConstructor, PassThrough } from '../ts-helpers';
|
||||
|
||||
export declare type InputOtpPassThroughOptionType = InputOtpPassThroughAttributes | ((options: InputOtpPassThroughMethodOptions) => InputOtpPassThroughAttributes | string) | string | null | undefined;
|
||||
|
||||
|
@ -233,7 +233,7 @@ export interface InputOtpSlots {
|
|||
/**
|
||||
* Defines valid emits in InputOtp component.
|
||||
*/
|
||||
export interface InputOtpEmits {
|
||||
interface InputOtpEmitsOptions {
|
||||
/**
|
||||
* Emitted when the value changes.
|
||||
* @param {boolean} value - New value.
|
||||
|
@ -256,6 +256,8 @@ export interface InputOtpEmits {
|
|||
blur(event: Event): void;
|
||||
}
|
||||
|
||||
export declare type InputOtpEmits = EmitFn<InputOtpEmitsOptions>;
|
||||
|
||||
/**
|
||||
* **PrimeVue - InputOtp**
|
||||
*
|
||||
|
@ -268,11 +270,11 @@ export interface InputOtpEmits {
|
|||
* @group Component
|
||||
*
|
||||
*/
|
||||
declare class InputOtp extends ClassComponent<InputOtpProps, InputOtpSlots, InputOtpEmits> {}
|
||||
declare const InputOtp: DefineComponent<InputOtpProps, InputOtpSlots, InputOtpEmits>;
|
||||
|
||||
declare module 'vue' {
|
||||
export interface GlobalComponents {
|
||||
InputOtp: GlobalComponentConstructor<InputOtp>;
|
||||
InputOtp: GlobalComponentConstructor<InputOtpProps, InputOtpSlots, InputOtpEmits>;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
@ -8,7 +8,7 @@
|
|||
*
|
||||
*/
|
||||
import * as ToggleSwitch from '../toggleswitch';
|
||||
import { ClassComponent, GlobalComponentConstructor } from '../ts-helpers';
|
||||
import { DefineComponent, EmitFn, GlobalComponentConstructor } from '../ts-helpers';
|
||||
/**
|
||||
* Custom passthrough(pt) option method.
|
||||
*/
|
||||
|
@ -40,7 +40,9 @@ export interface InputSwitchSlots extends ToggleSwitch.ToggleSwitchSlots {}
|
|||
/**
|
||||
* Defines valid emits in InputSwitch component.
|
||||
*/
|
||||
export interface InputSwitchEmits extends ToggleSwitch.ToggleSwitchEmits {}
|
||||
interface InputSwitchEmitsOptions {}
|
||||
|
||||
export declare type InputSwitchEmits = EmitFn<InputSwitchEmitsOptions> & ToggleSwitch.ToggleSwitchEmits;
|
||||
|
||||
/**
|
||||
* @deprecated Deprecated since v4. Use ToggleSwitch component instead.
|
||||
|
@ -56,11 +58,11 @@ export interface InputSwitchEmits extends ToggleSwitch.ToggleSwitchEmits {}
|
|||
* @group Component
|
||||
*
|
||||
*/
|
||||
declare class InputSwitch extends ClassComponent<InputSwitchProps, InputSwitchSlots, InputSwitchEmits> {}
|
||||
declare const InputSwitch: DefineComponent<InputSwitchProps, InputSwitchSlots, InputSwitchEmits>;
|
||||
|
||||
declare module 'vue' {
|
||||
export interface GlobalComponents {
|
||||
InputSwitch: GlobalComponentConstructor<InputSwitch>;
|
||||
InputSwitch: GlobalComponentConstructor<InputSwitchProps, InputSwitchSlots, InputSwitchEmits>;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
@ -10,7 +10,7 @@
|
|||
import { InputHTMLAttributes } from 'vue';
|
||||
import { ComponentHooks } from '../basecomponent';
|
||||
import { PassThroughOptions } from '../passthrough';
|
||||
import { ClassComponent, DesignToken, GlobalComponentConstructor, Nullable, PassThrough } from '../ts-helpers';
|
||||
import { DefineComponent, DesignToken, EmitFn, GlobalComponentConstructor, Nullable, PassThrough } from '../ts-helpers';
|
||||
|
||||
export declare type InputTextPassThroughOptionType<T = any> = InputTextPassThroughAttributes | ((options: InputTextPassThroughMethodOptions<T>) => InputTextPassThroughAttributes | string) | string | null | undefined;
|
||||
|
||||
|
@ -130,7 +130,7 @@ export interface InputTextSlots {}
|
|||
/**
|
||||
* Defines valid emits in InputText component.
|
||||
*/
|
||||
export interface InputTextEmits {
|
||||
interface InputTextEmitsOptions {
|
||||
/**
|
||||
* Emitted when the value changes.
|
||||
* @param {string} value - New value.
|
||||
|
@ -138,6 +138,8 @@ export interface InputTextEmits {
|
|||
'update:modelValue'(value: string | undefined): void;
|
||||
}
|
||||
|
||||
export declare type InputTextEmits = EmitFn<InputTextEmitsOptions>;
|
||||
|
||||
/**
|
||||
* **PrimeVue - InputText**
|
||||
*
|
||||
|
@ -148,12 +150,13 @@ export interface InputTextEmits {
|
|||
* ![PrimeVue](https://primefaces.org/cdn/primevue/images/logo-100.png)
|
||||
*
|
||||
* @group Component
|
||||
*
|
||||
*/
|
||||
declare class InputText extends ClassComponent<InputTextProps, InputTextSlots, InputTextEmits> {}
|
||||
declare const InputText: DefineComponent<InputTextProps, InputTextSlots, InputTextEmits>;
|
||||
|
||||
declare module 'vue' {
|
||||
export interface GlobalComponents {
|
||||
InputText: GlobalComponentConstructor<InputText>;
|
||||
InputText: GlobalComponentConstructor<InputTextProps, InputTextSlots, InputTextEmits>;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
@ -9,7 +9,7 @@
|
|||
*/
|
||||
import { ComponentHooks } from '../basecomponent';
|
||||
import { PassThroughOptions } from '../passthrough';
|
||||
import { ClassComponent, DesignToken, GlobalComponentConstructor, PassThrough } from '../ts-helpers';
|
||||
import { DefineComponent, DesignToken, EmitFn, GlobalComponentConstructor, PassThrough } from '../ts-helpers';
|
||||
|
||||
export declare type KnobPassThroughOptionType = KnobPassThroughAttributes | ((options: KnobPassThroughMethodOptions) => KnobPassThroughAttributes | string) | string | null | undefined;
|
||||
|
||||
|
@ -221,7 +221,7 @@ export interface KnobSlots {}
|
|||
/**
|
||||
* Defines valid emits in Knob component.
|
||||
*/
|
||||
export interface KnobEmits {
|
||||
export interface KnobEmitsOptions {
|
||||
/**
|
||||
* Emitted when the value changes.
|
||||
* @param {number} event - New value.
|
||||
|
@ -234,6 +234,8 @@ export interface KnobEmits {
|
|||
change(value: number): void;
|
||||
}
|
||||
|
||||
export declare type KnobEmits = EmitFn<KnobEmitsOptions>;
|
||||
|
||||
/**
|
||||
* **PrimeVue - Knob**
|
||||
*
|
||||
|
@ -243,12 +245,14 @@ export interface KnobEmits {
|
|||
* --- ---
|
||||
* ![PrimeVue](https://primefaces.org/cdn/primevue/images/logo-100.png)
|
||||
*
|
||||
* @group Component
|
||||
*
|
||||
*/
|
||||
declare class Knob extends ClassComponent<KnobProps, KnobSlots, KnobEmits> {}
|
||||
declare const Knob: DefineComponent<KnobProps, KnobSlots, KnobEmits>;
|
||||
|
||||
declare module 'vue' {
|
||||
export interface GlobalComponents {
|
||||
Knob: GlobalComponentConstructor<Knob>;
|
||||
Knob: GlobalComponentConstructor<KnobProps, KnobSlots, KnobEmits>;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
@ -13,7 +13,7 @@ import { IconFieldPassThroughOptions } from '../iconfield';
|
|||
import { InputIconPassThroughOptions } from '../inputicon';
|
||||
import { InputTextPassThroughOptions } from '../inputtext';
|
||||
import { PassThroughOptions } from '../passthrough';
|
||||
import { ClassComponent, DesignToken, GlobalComponentConstructor, HintedString, PassThrough } from '../ts-helpers';
|
||||
import { DefineComponent, DesignToken, EmitFn, GlobalComponentConstructor, HintedString, PassThrough } from '../ts-helpers';
|
||||
import { VirtualScrollerItemOptions, VirtualScrollerPassThroughOptionType, VirtualScrollerProps } from '../virtualscroller';
|
||||
|
||||
export declare type ListboxPassThroughOptionType<T = any> = ListboxPassThroughAttributes | ((options: ListboxPassThroughMethodOptions<T>) => ListboxPassThroughAttributes | string) | string | null | undefined;
|
||||
|
@ -555,7 +555,7 @@ export interface ListboxSlots {
|
|||
/**
|
||||
* Defines valid emits in Listbox component.
|
||||
*/
|
||||
export interface ListboxEmits {
|
||||
interface ListboxEmitsOptions {
|
||||
/**
|
||||
* Emitted when the value changes.
|
||||
* @param {*} value - New value.
|
||||
|
@ -593,6 +593,8 @@ export interface ListboxEmits {
|
|||
'option-dblclick'(event: ListboxOptionDblClickEvent): void;
|
||||
}
|
||||
|
||||
export declare type ListboxEmits = EmitFn<ListboxEmitsOptions>;
|
||||
|
||||
/**
|
||||
* **PrimeVue - Listbox**
|
||||
*
|
||||
|
@ -605,11 +607,11 @@ export interface ListboxEmits {
|
|||
* @group Component
|
||||
*
|
||||
*/
|
||||
declare class Listbox extends ClassComponent<ListboxProps, ListboxSlots, ListboxEmits> {}
|
||||
declare const Listbox: DefineComponent<ListboxProps, ListboxSlots, ListboxEmits>;
|
||||
|
||||
declare module 'vue' {
|
||||
export interface GlobalComponents {
|
||||
Listbox: GlobalComponentConstructor<Listbox>;
|
||||
Listbox: GlobalComponentConstructor<ListboxProps, ListboxSlots, ListboxEmits>;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
@ -11,7 +11,7 @@ import { VNode } from 'vue';
|
|||
import { ComponentHooks } from '../basecomponent';
|
||||
import { MenuItem } from '../menuitem';
|
||||
import { PassThroughOptions } from '../passthrough';
|
||||
import { ClassComponent, DesignToken, GlobalComponentConstructor, PassThrough } from '../ts-helpers';
|
||||
import { DefineComponent, DesignToken, EmitFn, GlobalComponentConstructor, PassThrough } from '../ts-helpers';
|
||||
|
||||
export declare type MegaMenuPassThroughOptionType = MegaMenuPassThroughAttributes | ((options: MegaMenuPassThroughMethodOptions) => MegaMenuPassThroughAttributes | string) | string | null | undefined;
|
||||
|
||||
|
@ -378,7 +378,7 @@ export interface MegaMenuSlots {
|
|||
/**
|
||||
* Defines valid emits in MegaMenu component.
|
||||
*/
|
||||
export interface MegaMenuEmits {
|
||||
interface MegaMenuEmitsOptions {
|
||||
/**
|
||||
* Callback to invoke when the component receives focus.
|
||||
* @param {Event} event - Browser event.
|
||||
|
@ -391,6 +391,8 @@ export interface MegaMenuEmits {
|
|||
blur(event: Event): void;
|
||||
}
|
||||
|
||||
export declare type MegaMenuEmits = EmitFn<MegaMenuEmitsOptions>;
|
||||
|
||||
/**
|
||||
* **PrimeVue - MegaMenu**
|
||||
*
|
||||
|
@ -403,11 +405,11 @@ export interface MegaMenuEmits {
|
|||
* @group Component
|
||||
*
|
||||
*/
|
||||
declare class MegaMenu extends ClassComponent<MegaMenuProps, MegaMenuSlots, MegaMenuEmits> {}
|
||||
declare const MegaMenu: DefineComponent<MegaMenuProps, MegaMenuSlots, MegaMenuEmits>;
|
||||
|
||||
declare module 'vue' {
|
||||
export interface GlobalComponents {
|
||||
MegaMenu: GlobalComponentConstructor<MegaMenu>;
|
||||
MegaMenu: GlobalComponentConstructor<MegaMenuProps, MegaMenuSlots, MegaMenuEmits>;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
@ -11,7 +11,7 @@ import { TransitionProps, VNode } from 'vue';
|
|||
import { ComponentHooks } from '../basecomponent';
|
||||
import { MenuItem } from '../menuitem';
|
||||
import { PassThroughOptions } from '../passthrough';
|
||||
import { ClassComponent, DesignToken, GlobalComponentConstructor, HintedString, PassThrough } from '../ts-helpers';
|
||||
import { DefineComponent, DesignToken, EmitFn, GlobalComponentConstructor, HintedString, PassThrough } from '../ts-helpers';
|
||||
|
||||
export declare type MenuPassThroughOptionType = MenuPassThroughAttributes | ((options: MenuPassThroughMethodOptions) => MenuPassThroughAttributes | string) | string | null | undefined;
|
||||
|
||||
|
@ -325,7 +325,7 @@ export interface MenuSlots {
|
|||
/**
|
||||
* Defines valid emits in Menu component.
|
||||
*/
|
||||
export interface MenuEmits {
|
||||
interface MenuEmitsOptions {
|
||||
/**
|
||||
* Callback to invoke when the component receives focus.
|
||||
* @param {Event} event - Browser event.
|
||||
|
@ -338,19 +338,9 @@ export interface MenuEmits {
|
|||
blur(event: Event): void;
|
||||
}
|
||||
|
||||
/**
|
||||
* **PrimeVue - Menu**
|
||||
*
|
||||
* _Menu is a navigation / command component that supports dynamic and static positioning._
|
||||
*
|
||||
* [Live Demo](https://www.primevue.org/menu/)
|
||||
* --- ---
|
||||
* ![PrimeVue](https://primefaces.org/cdn/primevue/images/logo-100.png)
|
||||
*
|
||||
* @group Component
|
||||
*
|
||||
*/
|
||||
declare class Menu extends ClassComponent<MenuProps, MenuSlots, MenuEmits> {
|
||||
export declare type MenuEmits = EmitFn<MenuEmitsOptions>;
|
||||
|
||||
export interface MenuMethods {
|
||||
/**
|
||||
* Toggles the visibility of the overlay.
|
||||
* @param {Event} event - Browser event.
|
||||
|
@ -374,9 +364,23 @@ declare class Menu extends ClassComponent<MenuProps, MenuSlots, MenuEmits> {
|
|||
hide(): void;
|
||||
}
|
||||
|
||||
/**
|
||||
* **PrimeVue - Menu**
|
||||
*
|
||||
* _Menu is a navigation / command component that supports dynamic and static positioning._
|
||||
*
|
||||
* [Live Demo](https://www.primevue.org/menu/)
|
||||
* --- ---
|
||||
* ![PrimeVue](https://primefaces.org/cdn/primevue/images/logo-100.png)
|
||||
*
|
||||
* @group Component
|
||||
*
|
||||
*/
|
||||
declare const Menu: DefineComponent<MenuProps, MenuSlots, MenuEmits, MenuMethods>;
|
||||
|
||||
declare module 'vue' {
|
||||
export interface GlobalComponents {
|
||||
Menu: GlobalComponentConstructor<Menu>;
|
||||
Menu: GlobalComponentConstructor<MenuProps, MenuSlots, MenuEmits, MenuMethods>;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
@ -11,7 +11,7 @@ import { ButtonHTMLAttributes, VNode } from 'vue';
|
|||
import { ComponentHooks } from '../basecomponent';
|
||||
import { MenuItem } from '../menuitem';
|
||||
import { PassThroughOptions } from '../passthrough';
|
||||
import { ClassComponent, DesignToken, GlobalComponentConstructor, PassThrough } from '../ts-helpers';
|
||||
import { DefineComponent, DesignToken, EmitFn, GlobalComponentConstructor, PassThrough } from '../ts-helpers';
|
||||
|
||||
export declare type MenubarPassThroughOptionType = MenubarPassThroughAttributes | ((options: MenubarPassThroughMethodOptions) => MenubarPassThroughAttributes | string) | string | null | undefined;
|
||||
|
||||
|
@ -402,7 +402,9 @@ export interface MenubarSlots {
|
|||
/**
|
||||
* Defines valid emits in Menubar component.
|
||||
*/
|
||||
export interface MenubarEmits {}
|
||||
interface MenubarEmitsOptions {}
|
||||
|
||||
export declare type MenubarEmits = EmitFn<MenubarEmitsOptions>;
|
||||
|
||||
/**
|
||||
* **PrimeVue - Menubar**
|
||||
|
@ -416,11 +418,11 @@ export interface MenubarEmits {}
|
|||
* @group Component
|
||||
*
|
||||
*/
|
||||
declare class Menubar extends ClassComponent<MenubarProps, MenubarSlots, MenubarEmits> {}
|
||||
declare const Menubar: DefineComponent<MenubarProps, MenubarSlots, MenubarEmits>;
|
||||
|
||||
declare module 'vue' {
|
||||
export interface GlobalComponents {
|
||||
Menubar: GlobalComponentConstructor<Menubar>;
|
||||
Menubar: GlobalComponentConstructor<MenubarProps, MenubarSlots, MenubarEmits>;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
@ -10,7 +10,7 @@
|
|||
import { ButtonHTMLAttributes, TransitionProps, VNode } from 'vue';
|
||||
import { ComponentHooks } from '../basecomponent';
|
||||
import { PassThroughOptions } from '../passthrough';
|
||||
import { ClassComponent, DesignToken, GlobalComponentConstructor, HintedString, PassThrough } from '../ts-helpers';
|
||||
import { DefineComponent, DesignToken, EmitFn, GlobalComponentConstructor, HintedString, PassThrough } from '../ts-helpers';
|
||||
|
||||
export declare type MessagePassThroughOptionType<T = any> = MessagePassThroughAttributes | ((options: MessagePassThroughMethodOptions<T>) => MessagePassThroughAttributes | string) | string | null | undefined;
|
||||
|
||||
|
@ -216,7 +216,7 @@ export interface MessageSlots {
|
|||
/**
|
||||
* Defines valid emits in Message component.
|
||||
*/
|
||||
export interface MessageEmits {
|
||||
interface MessageEmitsOptions {
|
||||
/**
|
||||
* Callback to invoke when a message is closed.
|
||||
* @param {Event} event - Browser event.
|
||||
|
@ -228,6 +228,8 @@ export interface MessageEmits {
|
|||
'life-end'(): void;
|
||||
}
|
||||
|
||||
export declare type MessageEmits = EmitFn<MessageEmitsOptions>;
|
||||
|
||||
/**
|
||||
* **PrimeVue - Message**
|
||||
*
|
||||
|
@ -240,11 +242,11 @@ export interface MessageEmits {
|
|||
* @group Component
|
||||
*
|
||||
*/
|
||||
declare class Message extends ClassComponent<MessageProps, MessageSlots, MessageEmits> {}
|
||||
declare const Message: DefineComponent<MessageProps, MessageSlots, MessageEmits>;
|
||||
|
||||
declare module 'vue' {
|
||||
export interface GlobalComponents {
|
||||
Message: GlobalComponentConstructor<Message>;
|
||||
Message: GlobalComponentConstructor<MessageProps, MessageSlots, MessageEmits>;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
@ -9,7 +9,7 @@
|
|||
*/
|
||||
import { VNode } from 'vue';
|
||||
import { PassThroughOptions } from '../passthrough';
|
||||
import { ClassComponent, DesignToken, GlobalComponentConstructor, PassThrough } from '../ts-helpers';
|
||||
import { DefineComponent, DesignToken, EmitFn, GlobalComponentConstructor, PassThrough } from '../ts-helpers';
|
||||
|
||||
export declare type MeterGroupPassThroughOptionType = MeterGroupPassThroughAttributes | ((options: MeterGroupPassThroughMethodOptions) => MeterGroupPassThroughAttributes | string) | string | null | undefined;
|
||||
|
||||
|
@ -285,7 +285,9 @@ export interface MeterGroupSlots {
|
|||
/**
|
||||
* Defines valid emits in MeterGroup component.
|
||||
*/
|
||||
export interface MeterGroupEmits {}
|
||||
interface MeterGroupEmitsOptions {}
|
||||
|
||||
export declare type MeterGroupEmits = EmitFn<MeterGroupEmitsOptions>;
|
||||
|
||||
/**
|
||||
* **PrimeVue - MeterGroup**
|
||||
|
@ -297,12 +299,13 @@ export interface MeterGroupEmits {}
|
|||
* ![PrimeVue](https://primefaces.org/cdn/primevue/images/logo-100.png)
|
||||
*
|
||||
* @group Component
|
||||
*
|
||||
*/
|
||||
declare class MeterGroup extends ClassComponent<MeterGroupProps, MeterGroupSlots, MeterGroupEmits> {}
|
||||
declare const MeterGroup: DefineComponent<MeterGroupProps, MeterGroupSlots, MeterGroupEmits>;
|
||||
|
||||
declare module 'vue' {
|
||||
export interface GlobalComponents {
|
||||
MeterGroup: GlobalComponentConstructor<MeterGroup>;
|
||||
MeterGroup: GlobalComponentConstructor<MeterGroupProps, MeterGroupSlots, MeterGroupEmits>;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
@ -14,7 +14,7 @@ import { IconFieldPassThroughOptions } from '../iconfield';
|
|||
import { InputIconPassThroughOptions } from '../inputicon';
|
||||
import { InputTextPassThroughOptions } from '../inputtext';
|
||||
import { PassThroughOptions } from '../passthrough';
|
||||
import { ClassComponent, DesignToken, GlobalComponentConstructor, HintedString, PassThrough } from '../ts-helpers';
|
||||
import { DefineComponent, DesignToken, EmitFn, GlobalComponentConstructor, HintedString, PassThrough } from '../ts-helpers';
|
||||
import { VirtualScrollerItemOptions, VirtualScrollerPassThroughOptionType, VirtualScrollerProps } from '../virtualscroller';
|
||||
|
||||
export declare type MultiSelectPassThroughOptionType = MultiSelectPassThroughAttributes | ((options: MultiSelectPassThroughMethodOptions) => MultiSelectPassThroughAttributes | string) | string | null | undefined;
|
||||
|
@ -828,7 +828,7 @@ export interface MultiSelectSlots {
|
|||
/**
|
||||
* Defines valid emits in MultiSelect component.
|
||||
*/
|
||||
export interface MultiSelectEmits {
|
||||
interface MultiSelectEmitsOptions {
|
||||
/**
|
||||
* Emitted when the value changes.
|
||||
* @param {*} value - New value.
|
||||
|
@ -877,19 +877,9 @@ export interface MultiSelectEmits {
|
|||
'selectall-change'(event: MultiSelectAllChangeEvent): void;
|
||||
}
|
||||
|
||||
/**
|
||||
* **PrimeVue - MultiSelect**
|
||||
*
|
||||
* _MultiSelect is used to select multiple items from a collection._
|
||||
*
|
||||
* [Live Demo](https://www.primevue.org/multiselect/)
|
||||
* --- ---
|
||||
* ![PrimeVue](https://primefaces.org/cdn/primevue/images/logo-100.png)
|
||||
*
|
||||
* @group Component
|
||||
*
|
||||
*/
|
||||
declare class MultiSelect extends ClassComponent<MultiSelectProps, MultiSelectSlots, MultiSelectEmits> {
|
||||
export declare type MultiSelectEmits = EmitFn<MultiSelectEmitsOptions>;
|
||||
|
||||
export interface MultiSelectMethods {
|
||||
/**
|
||||
* Shows the overlay.
|
||||
* @param {boolean} [isFocus] - Decides whether to focus on the component. Default value is false.
|
||||
|
@ -906,9 +896,23 @@ declare class MultiSelect extends ClassComponent<MultiSelectProps, MultiSelectSl
|
|||
hide(isFocus?: boolean): void;
|
||||
}
|
||||
|
||||
/**
|
||||
* **PrimeVue - MultiSelect**
|
||||
*
|
||||
* _MultiSelect is used to select multiple items from a collection._
|
||||
*
|
||||
* [Live Demo](https://www.primevue.org/multiselect/)
|
||||
* --- ---
|
||||
* ![PrimeVue](https://primefaces.org/cdn/primevue/images/logo-100.png)
|
||||
*
|
||||
* @group Component
|
||||
*
|
||||
*/
|
||||
declare const MultiSelect: DefineComponent<MultiSelectProps, MultiSelectSlots, MultiSelectEmits>;
|
||||
|
||||
declare module 'vue' {
|
||||
export interface GlobalComponents {
|
||||
MultiSelect: GlobalComponentConstructor<MultiSelect>;
|
||||
MultiSelect: GlobalComponentConstructor<MultiSelectProps, MultiSelectSlots, MultiSelectEmits>;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
@ -12,7 +12,7 @@ import { ComponentHooks } from '../basecomponent';
|
|||
import { ButtonPassThroughOptions, ButtonProps } from '../button';
|
||||
import { ListboxPassThroughOptions } from '../listbox';
|
||||
import { PassThroughOptions } from '../passthrough';
|
||||
import { ClassComponent, DesignToken, GlobalComponentConstructor, PassThrough } from '../ts-helpers';
|
||||
import { DefineComponent, DesignToken, EmitFn, GlobalComponentConstructor, PassThrough } from '../ts-helpers';
|
||||
|
||||
export declare type OrderListPassThroughOptionType = OrderListPassThroughAttributes | ((options: OrderListPassThroughMethodOptions) => OrderListPassThroughAttributes | string) | string | null | undefined;
|
||||
|
||||
|
@ -333,7 +333,7 @@ export interface OrderListSlots {
|
|||
/**
|
||||
* Defines valid slots in OrderList component.
|
||||
*/
|
||||
export interface OrderListEmits {
|
||||
interface OrderListEmitsOptions {
|
||||
/**
|
||||
* Emitted when the value changes.
|
||||
* @param {*} value - New value.
|
||||
|
@ -356,6 +356,8 @@ export interface OrderListEmits {
|
|||
'selection-change'(event: OrderListSelectionChangeEvent): void;
|
||||
}
|
||||
|
||||
export declare type OrderListEmits = EmitFn<OrderListEmitsOptions>;
|
||||
|
||||
/**
|
||||
* **PrimeVue - OrderList**
|
||||
*
|
||||
|
@ -366,12 +368,13 @@ export interface OrderListEmits {
|
|||
* ![PrimeVue](https://primefaces.org/cdn/primevue/images/logo-100.png)
|
||||
*
|
||||
* @group Component
|
||||
*
|
||||
*/
|
||||
declare class OrderList extends ClassComponent<OrderListProps, OrderListSlots, OrderListEmits> {}
|
||||
declare const OrderList: DefineComponent<OrderListProps, OrderListSlots, OrderListEmits>;
|
||||
|
||||
declare module 'vue' {
|
||||
export interface GlobalComponents {
|
||||
OrderList: GlobalComponentConstructor<OrderList>;
|
||||
OrderList: GlobalComponentConstructor<OrderListProps, OrderListSlots, OrderListEmits>;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
@ -10,7 +10,7 @@
|
|||
import { VNode } from 'vue';
|
||||
import { ComponentHooks } from '../basecomponent';
|
||||
import { PassThroughOptions } from '../passthrough';
|
||||
import { ClassComponent, DesignToken, GlobalComponentConstructor, PassThrough } from '../ts-helpers';
|
||||
import { DefineComponent, DesignToken, EmitFn, GlobalComponentConstructor, PassThrough } from '../ts-helpers';
|
||||
|
||||
export declare type OrganizationChartPassThroughOptionType = OrganizationChartPassThroughAttributes | ((options: OrganizationChartPassThroughMethodOptions) => OrganizationChartPassThroughAttributes | string) | string | null | undefined;
|
||||
|
||||
|
@ -307,7 +307,7 @@ export interface OrganizationChartSlots {
|
|||
/**
|
||||
* Defines valid emits in OrganizationChart component.
|
||||
*/
|
||||
export interface OrganizationChartEmits {
|
||||
interface OrganizationChartEmitsOptions {
|
||||
/**
|
||||
* Emitted when the value changes.
|
||||
* @param {*} value - New value.
|
||||
|
@ -340,6 +340,8 @@ export interface OrganizationChartEmits {
|
|||
'node-collapsed'(node: OrganizationChartNode): void;
|
||||
}
|
||||
|
||||
export declare type OrganizationChartEmits = EmitFn<OrganizationChartEmitsOptions>;
|
||||
|
||||
/**
|
||||
* **PrimeVue - OrganizationChart**
|
||||
*
|
||||
|
@ -350,12 +352,13 @@ export interface OrganizationChartEmits {
|
|||
* ![PrimeVue](https://primefaces.org/cdn/primevue/images/logo-100.png)
|
||||
*
|
||||
* @group Component
|
||||
*
|
||||
*/
|
||||
declare class OrganizationChart extends ClassComponent<OrganizationChartProps, OrganizationChartSlots, OrganizationChartEmits> {}
|
||||
declare const OrganizationChart: DefineComponent<OrganizationChartProps, OrganizationChartSlots, OrganizationChartEmits>;
|
||||
|
||||
declare module 'vue' {
|
||||
export interface GlobalComponents {
|
||||
OrganizationChart: GlobalComponentConstructor<OrganizationChart>;
|
||||
OrganizationChart: GlobalComponentConstructor<OrganizationChartProps, OrganizationChartSlots, OrganizationChartEmits>;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
@ -9,7 +9,7 @@
|
|||
*/
|
||||
import 'vue';
|
||||
import * as Popover from '../popover';
|
||||
import { ClassComponent, GlobalComponentConstructor } from '../ts-helpers';
|
||||
import { DefineComponent, EmitFn, GlobalComponentConstructor } from '../ts-helpers';
|
||||
|
||||
/**
|
||||
* Custom passthrough(pt) option method.
|
||||
|
@ -52,22 +52,11 @@ export interface OverlayPanelSlots extends Popover.PopoverSlots {}
|
|||
/**
|
||||
* Defines valid emits in OverlayPanel component.
|
||||
*/
|
||||
export interface OverlayPanelEmits extends Popover.PopoverEmits {}
|
||||
interface OverlayPanelEmitsOptions {}
|
||||
|
||||
/**
|
||||
* @deprecated Deprecated since v4. Use Popover component instead.
|
||||
*
|
||||
* **PrimeVue - OverlayPanel**
|
||||
*
|
||||
* _OverlayPanel, also known as Popover, is a container component that can overlay other components on page._
|
||||
*
|
||||
* [Live Demo](https://www.primevue.org/popover/)
|
||||
* --- ---
|
||||
* ![PrimeVue](https://primefaces.org/cdn/primevue/images/logo-100.png)
|
||||
*
|
||||
* @group Component
|
||||
*/
|
||||
declare class OverlayPanel extends ClassComponent<OverlayPanelProps, OverlayPanelSlots, OverlayPanelEmits> {
|
||||
export declare type OverlayPanelEmits = EmitFn<OverlayPanelEmitsOptions> & Popover.PopoverEmits;
|
||||
|
||||
export interface OverlayPanelMethods {
|
||||
/**
|
||||
* Aligns overlay panel based on the current position of the container.
|
||||
*/
|
||||
|
@ -96,9 +85,25 @@ declare class OverlayPanel extends ClassComponent<OverlayPanelProps, OverlayPane
|
|||
hide(): void;
|
||||
}
|
||||
|
||||
/**
|
||||
* @deprecated Deprecated since v4. Use Popover component instead.
|
||||
*
|
||||
* **PrimeVue - OverlayPanel**
|
||||
*
|
||||
* _OverlayPanel, also known as Popover, is a container component that can overlay other components on page._
|
||||
*
|
||||
* [Live Demo](https://www.primevue.org/popover/)
|
||||
* --- ---
|
||||
* ![PrimeVue](https://primefaces.org/cdn/primevue/images/logo-100.png)
|
||||
*
|
||||
* @group Component
|
||||
*
|
||||
*/
|
||||
declare const OverlayPanel: DefineComponent<OverlayPanelProps, OverlayPanelSlots, OverlayPanelEmits, OverlayPanelMethods>;
|
||||
|
||||
declare module 'vue' {
|
||||
export interface GlobalComponents {
|
||||
OverlayPanel: GlobalComponentConstructor<OverlayPanel>;
|
||||
OverlayPanel: GlobalComponentConstructor<OverlayPanelProps, OverlayPanelSlots, OverlayPanelEmits, OverlayPanelMethods>;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
@ -12,7 +12,7 @@ import { ComponentHooks } from '../basecomponent';
|
|||
import { DropdownPassThroughOptions } from '../dropdown';
|
||||
import { InputNumberPassThroughOptions } from '../inputnumber';
|
||||
import { PassThroughOptions } from '../passthrough';
|
||||
import { ClassComponent, DesignToken, GlobalComponentConstructor, PassThrough } from '../ts-helpers';
|
||||
import { DefineComponent, DesignToken, EmitFn, GlobalComponentConstructor, PassThrough } from '../ts-helpers';
|
||||
|
||||
export declare type PaginatorPassThroughOptionType<T = any> = PaginatorPassThroughAttributes | ((options: PaginatorPassThroughMethodOptions<T>) => PaginatorPassThroughAttributes | string) | string | null | undefined;
|
||||
|
||||
|
@ -417,7 +417,7 @@ export interface PaginatorSlots {
|
|||
/**
|
||||
* Defines valid emits in Paginator component.
|
||||
*/
|
||||
export interface PaginatorEmits {
|
||||
interface PaginatorEmitsOptions {
|
||||
/**
|
||||
* Emitted when the first changes.
|
||||
* @param {number} value - New value.
|
||||
|
@ -435,6 +435,8 @@ export interface PaginatorEmits {
|
|||
page(event: PageState): void;
|
||||
}
|
||||
|
||||
export declare type PaginatorEmits = EmitFn<PaginatorEmitsOptions>;
|
||||
|
||||
/**
|
||||
* **PrimeVue - Paginator**
|
||||
*
|
||||
|
@ -445,12 +447,13 @@ export interface PaginatorEmits {
|
|||
* ![PrimeVue](https://primefaces.org/cdn/primevue/images/logo-100.png)
|
||||
*
|
||||
* @group Component
|
||||
*
|
||||
*/
|
||||
declare class Paginator extends ClassComponent<PaginatorProps, PaginatorSlots, PaginatorEmits> {}
|
||||
declare const Paginator: DefineComponent<PaginatorProps, PaginatorSlots, PaginatorEmits>;
|
||||
|
||||
declare module 'vue' {
|
||||
export interface GlobalComponents {
|
||||
Paginator: GlobalComponentConstructor<Paginator>;
|
||||
Paginator: GlobalComponentConstructor<PaginatorProps, PaginatorSlots, PaginatorEmits>;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
@ -11,7 +11,7 @@ import { TransitionProps, VNode } from 'vue';
|
|||
import { ComponentHooks } from '../basecomponent';
|
||||
import { ButtonPassThroughOptions } from '../button';
|
||||
import { PassThroughOptions } from '../passthrough';
|
||||
import { ClassComponent, DesignToken, GlobalComponentConstructor, PassThrough } from '../ts-helpers';
|
||||
import { DefineComponent, DesignToken, EmitFn, GlobalComponentConstructor, PassThrough } from '../ts-helpers';
|
||||
|
||||
export declare type PanelPassThroughOptionType = PanelPassThroughAttributes | ((options: PanelPassThroughMethodOptions) => PanelPassThroughAttributes | string) | string | null | undefined;
|
||||
|
||||
|
@ -243,7 +243,7 @@ export interface PanelSlots {
|
|||
/**
|
||||
* Defines valid emits in Panel component.
|
||||
*/
|
||||
export interface PanelEmits {
|
||||
interface PanelEmitsOptions {
|
||||
/**
|
||||
* Emitted when the collapsed changes.
|
||||
* @param {boolean} value - New value.
|
||||
|
@ -256,6 +256,8 @@ export interface PanelEmits {
|
|||
toggle(event: PanelToggleEvent): void;
|
||||
}
|
||||
|
||||
export declare type PanelEmits = EmitFn<PanelEmitsOptions>;
|
||||
|
||||
/**
|
||||
* **PrimeVue - Panel**
|
||||
*
|
||||
|
@ -268,11 +270,11 @@ export interface PanelEmits {
|
|||
* @group Component
|
||||
*
|
||||
*/
|
||||
declare class Panel extends ClassComponent<PanelProps, PanelSlots, PanelEmits> {}
|
||||
declare const Panel: DefineComponent<PanelProps, PanelSlots, PanelEmits>;
|
||||
|
||||
declare module 'vue' {
|
||||
export interface GlobalComponents {
|
||||
Panel: GlobalComponentConstructor<Panel>;
|
||||
Panel: GlobalComponentConstructor<PanelProps, PanelSlots, PanelEmits>;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
@ -11,7 +11,7 @@ import { TransitionProps, VNode } from 'vue';
|
|||
import { ComponentHooks } from '../basecomponent';
|
||||
import { MenuItem } from '../menuitem';
|
||||
import { PassThroughOptions } from '../passthrough';
|
||||
import { ClassComponent, DesignToken, GlobalComponentConstructor, PassThrough } from '../ts-helpers';
|
||||
import { DefineComponent, DesignToken, EmitFn, GlobalComponentConstructor, PassThrough } from '../ts-helpers';
|
||||
|
||||
export declare type PanelMenuPassThroughOptionType = PanelMenuPassThroughAttributes | ((options: PanelMenuPassThroughMethodOptions) => PanelMenuPassThroughAttributes | string) | string | null | undefined;
|
||||
|
||||
|
@ -377,7 +377,7 @@ export interface PanelMenuSlots {
|
|||
/**
|
||||
* Defines valid emits in PanelMenu component.
|
||||
*/
|
||||
export interface PanelMenuEmits {
|
||||
interface PanelMenuEmitsOptions {
|
||||
/**
|
||||
* Emitted when the expandedKeys changes.
|
||||
* @param {*} value - New value.
|
||||
|
@ -395,6 +395,8 @@ export interface PanelMenuEmits {
|
|||
'panel-close'(event: PanelMenuPanelCloseEvent): void;
|
||||
}
|
||||
|
||||
export declare type PanelMenuEmits = EmitFn<PanelMenuEmitsOptions>;
|
||||
|
||||
/**
|
||||
* **PrimeVue - PanelMenu**
|
||||
*
|
||||
|
@ -407,11 +409,11 @@ export interface PanelMenuEmits {
|
|||
* @group Component
|
||||
*
|
||||
*/
|
||||
declare class PanelMenu extends ClassComponent<PanelMenuProps, PanelMenuSlots, PanelMenuEmits> {}
|
||||
declare const PanelMenu: DefineComponent<PanelMenuProps, PanelMenuSlots, PanelMenuEmits>;
|
||||
|
||||
declare module 'vue' {
|
||||
export interface GlobalComponents {
|
||||
PanelMenu: GlobalComponentConstructor<PanelMenu>;
|
||||
PanelMenu: GlobalComponentConstructor<PanelMenuProps, PanelMenuSlots, PanelMenuEmits>;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
@ -11,7 +11,7 @@ import { HTMLAttributes, InputHTMLAttributes, TransitionProps, VNode } from 'vue
|
|||
import { ComponentHooks } from '../basecomponent';
|
||||
import { InputTextPassThroughOptions } from '../inputtext';
|
||||
import { PassThroughOptions } from '../passthrough';
|
||||
import { ClassComponent, DesignToken, GlobalComponentConstructor, HintedString, Nullable, PassThrough } from '../ts-helpers';
|
||||
import { DefineComponent, DesignToken, EmitFn, GlobalComponentConstructor, HintedString, Nullable, PassThrough } from '../ts-helpers';
|
||||
|
||||
export declare type PasswordPassThroughOptionType = PasswordPassThroughAttributes | ((options: PasswordPassThroughMethodOptions) => PasswordPassThroughAttributes | string) | string | null | undefined;
|
||||
|
||||
|
@ -413,7 +413,7 @@ export interface PasswordSlots {
|
|||
/**
|
||||
* Defines valid emits in Password component.
|
||||
*/
|
||||
export interface PasswordEmits {
|
||||
interface PasswordEmitsOptions {
|
||||
/**
|
||||
* Emitted when the value changes.
|
||||
* @param {string} value - New value.
|
||||
|
@ -426,6 +426,8 @@ export interface PasswordEmits {
|
|||
change(event: Event): void;
|
||||
}
|
||||
|
||||
export declare type PasswordEmits = EmitFn<PasswordEmitsOptions>;
|
||||
|
||||
/**
|
||||
* **PrimeVue - Password**
|
||||
*
|
||||
|
@ -436,12 +438,13 @@ export interface PasswordEmits {
|
|||
* ![PrimeVue](https://primefaces.org/cdn/primevue/images/logo-100.png)
|
||||
*
|
||||
* @group Component
|
||||
*
|
||||
*/
|
||||
declare class Password extends ClassComponent<PasswordProps, PasswordSlots, PasswordEmits> {}
|
||||
declare const Password: DefineComponent<PasswordProps, PasswordSlots, PasswordEmits>;
|
||||
|
||||
declare module 'vue' {
|
||||
export interface GlobalComponents {
|
||||
Password: GlobalComponentConstructor<Password>;
|
||||
Password: GlobalComponentConstructor<PasswordProps, PasswordSlots, PasswordEmits>;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
@ -12,7 +12,7 @@ import { ComponentHooks } from '../basecomponent';
|
|||
import { ButtonPassThroughOptions } from '../button';
|
||||
import { ListboxPassThroughOptions } from '../listbox';
|
||||
import { PassThroughOptions } from '../passthrough';
|
||||
import { ClassComponent, DesignToken, GlobalComponentConstructor, PassThrough } from '../ts-helpers';
|
||||
import { DefineComponent, DesignToken, EmitFn, GlobalComponentConstructor, PassThrough } from '../ts-helpers';
|
||||
|
||||
export declare type PickListPassThroughOptionType = PickListPassThroughAttributes | ((options: PickListPassThroughMethodOptions) => PickListPassThroughAttributes | string) | string | null | undefined;
|
||||
|
||||
|
@ -544,7 +544,7 @@ export interface PickListSlots {
|
|||
/**
|
||||
* Defines valid emits in PickList component.
|
||||
*/
|
||||
export interface PickListEmits {
|
||||
interface PickListEmitsOptions {
|
||||
/**
|
||||
* Emitted when the value changes.
|
||||
* @param {*} value - New value.
|
||||
|
@ -587,6 +587,8 @@ export interface PickListEmits {
|
|||
'move-all-to-source'(event: PickListMoveAllToSourceEvent): void;
|
||||
}
|
||||
|
||||
export declare type PickListEmits = EmitFn<PickListEmitsOptions>;
|
||||
|
||||
/**
|
||||
* **PrimeVue - PickList**
|
||||
*
|
||||
|
@ -597,12 +599,13 @@ export interface PickListEmits {
|
|||
* ![PrimeVue](https://primefaces.org/cdn/primevue/images/logo-100.png)
|
||||
*
|
||||
* @group Component
|
||||
*
|
||||
*/
|
||||
declare class PickList extends ClassComponent<PickListProps, PickListSlots, PickListEmits> {}
|
||||
declare const PickList: DefineComponent<PickListProps, PickListSlots, PickListEmits>;
|
||||
|
||||
declare module 'vue' {
|
||||
export interface GlobalComponents {
|
||||
PickList: GlobalComponentConstructor<PickList>;
|
||||
PickList: GlobalComponentConstructor<PickListProps, PickListSlots, PickListEmits>;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
@ -10,7 +10,7 @@
|
|||
import { TransitionProps, VNode } from 'vue';
|
||||
import { ComponentHooks } from '../basecomponent';
|
||||
import { PassThroughOptions } from '../passthrough';
|
||||
import { ClassComponent, DesignToken, GlobalComponentConstructor, HintedString, PassThrough } from '../ts-helpers';
|
||||
import { DefineComponent, DesignToken, EmitFn, GlobalComponentConstructor, HintedString, PassThrough } from '../ts-helpers';
|
||||
|
||||
export declare type PopoverPassThroughOptionType = PopoverPassThroughAttributes | ((options: PopoverPassThroughMethodOptions) => PopoverPassThroughAttributes | string) | string | null | undefined;
|
||||
|
||||
|
@ -203,7 +203,7 @@ export interface PopoverSlots {
|
|||
/**
|
||||
* Defines valid emits in Popover component.
|
||||
*/
|
||||
export interface PopoverEmits {
|
||||
interface PopoverEmitsOptions {
|
||||
/**
|
||||
* Callback to invoke when the overlay is shown.
|
||||
*/
|
||||
|
@ -214,18 +214,9 @@ export interface PopoverEmits {
|
|||
hide(): void;
|
||||
}
|
||||
|
||||
/**
|
||||
* **PrimeVue - Popover**
|
||||
*
|
||||
* _Popover, also known as Popover, is a container component that can overlay other components on page._
|
||||
*
|
||||
* [Live Demo](https://www.primevue.org/popover/)
|
||||
* --- ---
|
||||
* ![PrimeVue](https://primefaces.org/cdn/primevue/images/logo-100.png)
|
||||
*
|
||||
* @group Component
|
||||
*/
|
||||
declare class Popover extends ClassComponent<PopoverProps, PopoverSlots, PopoverEmits> {
|
||||
export declare type PopoverEmits = EmitFn<PopoverEmitsOptions>;
|
||||
|
||||
export interface PopoverMethods {
|
||||
/**
|
||||
* Aligns overlay panel based on the current position of the container.
|
||||
*/
|
||||
|
@ -254,9 +245,23 @@ declare class Popover extends ClassComponent<PopoverProps, PopoverSlots, Popover
|
|||
hide(): void;
|
||||
}
|
||||
|
||||
/**
|
||||
* **PrimeVue - Popover**
|
||||
*
|
||||
* _Popover, also known as Popover, is a container component that can overlay other components on page._
|
||||
*
|
||||
* [Live Demo](https://www.primevue.org/popover/)
|
||||
* --- ---
|
||||
* ![PrimeVue](https://primefaces.org/cdn/primevue/images/logo-100.png)
|
||||
*
|
||||
* @group Component
|
||||
*
|
||||
*/
|
||||
declare const Popover: DefineComponent<PopoverProps, PopoverSlots, PopoverEmits, PopoverMethods>;
|
||||
|
||||
declare module 'vue' {
|
||||
export interface GlobalComponents {
|
||||
Popover: GlobalComponentConstructor<Popover>;
|
||||
Popover: GlobalComponentConstructor<PopoverProps, PopoverSlots, PopoverEmits, PopoverMethods>;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
import { VNode } from 'vue';
|
||||
import { ClassComponent, GlobalComponentConstructor, HintedString } from '../ts-helpers';
|
||||
import { DefineComponent, EmitFn, GlobalComponentConstructor, HintedString } from '../ts-helpers';
|
||||
|
||||
type PortalAppendToType = HintedString<'body' | 'self'> | undefined | HTMLElement;
|
||||
|
||||
|
@ -24,13 +24,15 @@ export interface PortalSlots {
|
|||
default: () => VNode[];
|
||||
}
|
||||
|
||||
export declare type PortalEmits = {};
|
||||
declare type PortalEmitsOptions = {};
|
||||
|
||||
declare class Portal extends ClassComponent<PortalProps, PortalSlots, PortalEmits> {}
|
||||
export declare type PortalEmits = EmitFn<PortalEmitsOptions>;
|
||||
|
||||
declare const Portal: DefineComponent<PortalProps, PortalSlots, PortalEmits>;
|
||||
|
||||
declare module 'vue' {
|
||||
export interface GlobalComponents {
|
||||
Portal: GlobalComponentConstructor<Portal>;
|
||||
Portal: GlobalComponentConstructor<PortalProps, PortalSlots, PortalEmits>;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
@ -10,7 +10,7 @@
|
|||
import { VNode } from 'vue';
|
||||
import { ComponentHooks } from '../basecomponent';
|
||||
import { PassThroughOptions } from '../passthrough';
|
||||
import { ClassComponent, DesignToken, GlobalComponentConstructor, PassThrough } from '../ts-helpers';
|
||||
import { DefineComponent, DesignToken, EmitFn, GlobalComponentConstructor, PassThrough } from '../ts-helpers';
|
||||
|
||||
export declare type ProgressBarPassThroughOptionType<T = any> = ProgressBarPassThroughAttributes | ((options: ProgressBarPassThroughMethodOptions<T>) => ProgressBarPassThroughAttributes | string) | string | null | undefined;
|
||||
|
||||
|
@ -123,7 +123,9 @@ export interface ProgressBarSlots {
|
|||
/**
|
||||
* Defines valid emits in ProgressBar component.
|
||||
*/
|
||||
export interface ProgressBarEmits {}
|
||||
interface ProgressBarEmitsOptions {}
|
||||
|
||||
export declare type ProgressBarEmits = EmitFn<ProgressBarEmitsOptions>;
|
||||
|
||||
/**
|
||||
* **PrimeVue - ProgressBar**
|
||||
|
@ -135,12 +137,13 @@ export interface ProgressBarEmits {}
|
|||
* ![PrimeVue](https://primefaces.org/cdn/primevue/images/logo-100.png)
|
||||
*
|
||||
* @group Component
|
||||
*
|
||||
*/
|
||||
declare class ProgressBar extends ClassComponent<ProgressBarProps, ProgressBarSlots, ProgressBarEmits> {}
|
||||
declare const ProgressBar: DefineComponent<ProgressBarProps, ProgressBarSlots, ProgressBarEmits>;
|
||||
|
||||
declare module 'vue' {
|
||||
export interface GlobalComponents {
|
||||
ProgressBar: GlobalComponentConstructor<ProgressBar>;
|
||||
ProgressBar: GlobalComponentConstructor<ProgressBarProps, ProgressBarSlots, ProgressBarEmits>;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
@ -9,7 +9,7 @@
|
|||
*/
|
||||
import { ComponentHooks } from '../basecomponent';
|
||||
import { PassThroughOptions } from '../passthrough';
|
||||
import { ClassComponent, DesignToken, GlobalComponentConstructor, PassThrough } from '../ts-helpers';
|
||||
import { DefineComponent, DesignToken, EmitFn, GlobalComponentConstructor, PassThrough } from '../ts-helpers';
|
||||
|
||||
export declare type ProgressSpinnerPassThroughOptionType = ProgressSpinnerPassThroughAttributes | ((options: ProgressSpinnerPassThroughMethodOptions) => ProgressSpinnerPassThroughAttributes | string) | string | null | undefined;
|
||||
|
||||
|
@ -117,7 +117,9 @@ export interface ProgressSpinnerSlots {}
|
|||
/**
|
||||
* Defines valid emits in ProgressSpinner component.
|
||||
*/
|
||||
export interface ProgressSpinnerEmits {}
|
||||
interface ProgressSpinnerEmitsOptions {}
|
||||
|
||||
export declare type ProgressSpinnerEmits = EmitFn<ProgressSpinnerEmitsOptions>;
|
||||
|
||||
/**
|
||||
* **PrimeVue - ProgressSpinner**
|
||||
|
@ -129,12 +131,13 @@ export interface ProgressSpinnerEmits {}
|
|||
* ![PrimeVue](https://primefaces.org/cdn/primevue/images/logo-100.png)
|
||||
*
|
||||
* @group Component
|
||||
*
|
||||
*/
|
||||
declare class ProgressSpinner extends ClassComponent<ProgressSpinnerProps, ProgressSpinnerSlots, ProgressSpinnerEmits> {}
|
||||
declare const ProgressSpinner: DefineComponent<ProgressSpinnerProps, ProgressSpinnerSlots, ProgressSpinnerEmits>;
|
||||
|
||||
declare module 'vue' {
|
||||
export interface GlobalComponents {
|
||||
ProgressSpinner: GlobalComponentConstructor<ProgressSpinner>;
|
||||
ProgressSpinner: GlobalComponentConstructor<ProgressSpinnerProps, ProgressSpinnerSlots, ProgressSpinnerEmits>;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
@ -9,7 +9,7 @@
|
|||
*/
|
||||
import { ComponentHooks } from '../basecomponent';
|
||||
import { PassThroughOptions } from '../passthrough';
|
||||
import { ClassComponent, DesignToken, GlobalComponentConstructor, PassThrough } from '../ts-helpers';
|
||||
import { DefineComponent, DesignToken, EmitFn, GlobalComponentConstructor, PassThrough } from '../ts-helpers';
|
||||
|
||||
export declare type RadioButtonPassThroughOptionType = RadioButtonPassThroughAttributes | ((options: RadioButtonPassThroughMethodOptions) => RadioButtonPassThroughAttributes | string) | string | null | undefined;
|
||||
|
||||
|
@ -196,7 +196,7 @@ export interface RadioButtonSlots {}
|
|||
/**
|
||||
* Defines valid emits in RadioButton component.
|
||||
*/
|
||||
export interface RadioButtonEmits {
|
||||
interface RadioButtonEmitsOptions {
|
||||
/**
|
||||
* Emitted when the value changes.
|
||||
* @param {*} value - New value.
|
||||
|
@ -219,6 +219,8 @@ export interface RadioButtonEmits {
|
|||
blur(event: Event): void;
|
||||
}
|
||||
|
||||
export declare type RadioButtonEmits = EmitFn<RadioButtonEmitsOptions>;
|
||||
|
||||
/**
|
||||
* **PrimeVue - RadioButton**
|
||||
*
|
||||
|
@ -231,11 +233,11 @@ export interface RadioButtonEmits {
|
|||
* @group Component
|
||||
*
|
||||
*/
|
||||
declare class RadioButton extends ClassComponent<RadioButtonProps, RadioButtonSlots, RadioButtonEmits> {}
|
||||
declare const RadioButton: DefineComponent<RadioButtonProps, RadioButtonSlots, RadioButtonEmits>;
|
||||
|
||||
declare module 'vue' {
|
||||
export interface GlobalComponents {
|
||||
RadioButton: GlobalComponentConstructor<RadioButton>;
|
||||
RadioButton: GlobalComponentConstructor<RadioButtonProps, RadioButtonSlots, RadioButtonEmits>;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
@ -10,7 +10,7 @@
|
|||
import { VNode } from 'vue';
|
||||
import { ComponentHooks } from '../basecomponent';
|
||||
import { PassThroughOptions } from '../passthrough';
|
||||
import { ClassComponent, DesignToken, GlobalComponentConstructor, PassThrough } from '../ts-helpers';
|
||||
import { DefineComponent, DesignToken, EmitFn, GlobalComponentConstructor, PassThrough } from '../ts-helpers';
|
||||
|
||||
export declare type RatingPassThroughOptionType = RatingPassThroughAttributes | ((options: RatingPassThroughMethodOptions) => RatingPassThroughAttributes | string) | string | null | undefined;
|
||||
|
||||
|
@ -231,7 +231,7 @@ export interface RatingSlots {
|
|||
/**
|
||||
* Defines valid emits in Rating component.
|
||||
*/
|
||||
export interface RatingEmits {
|
||||
interface RatingEmitsOptions {
|
||||
/**
|
||||
* Emitted when the value changes.
|
||||
* @param {number} value - New value.
|
||||
|
@ -254,6 +254,8 @@ export interface RatingEmits {
|
|||
blur(event: Event): void;
|
||||
}
|
||||
|
||||
export declare type RatingEmits = EmitFn<RatingEmitsOptions>;
|
||||
|
||||
/**
|
||||
* **PrimeVue - Rating**
|
||||
*
|
||||
|
@ -264,12 +266,13 @@ export interface RatingEmits {
|
|||
* ![PrimeVue](https://primefaces.org/cdn/primevue/images/logo-100.png)
|
||||
*
|
||||
* @group Component
|
||||
*
|
||||
*/
|
||||
declare class Rating extends ClassComponent<RatingProps, RatingSlots, RatingEmits> {}
|
||||
declare const Rating: DefineComponent<RatingProps, RatingSlots, RatingEmits>;
|
||||
|
||||
declare module 'vue' {
|
||||
export interface GlobalComponents {
|
||||
Rating: GlobalComponentConstructor<Rating>;
|
||||
Rating: GlobalComponentConstructor<RatingProps, RatingSlots, RatingEmits>;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
@ -8,7 +8,7 @@
|
|||
*
|
||||
*/
|
||||
import { ComponentHooks } from '../basecomponent';
|
||||
import { ClassComponent, GlobalComponentConstructor } from '../ts-helpers';
|
||||
import { DefineComponent, EmitFn, GlobalComponentConstructor } from '../ts-helpers';
|
||||
|
||||
export declare type RowPassThroughOptionType = RowPassThroughAttributes | ((options: RowPassThroughMethodOptions) => RowPassThroughAttributes | string) | string | null | undefined;
|
||||
|
||||
|
@ -94,7 +94,9 @@ export interface RowSlots {}
|
|||
/**
|
||||
* Defines valid emits in Row component.
|
||||
*/
|
||||
export interface RowEmits {}
|
||||
interface RowEmitsOptions {}
|
||||
|
||||
export declare type RowEmits = EmitFn<RowEmitsOptions>;
|
||||
|
||||
/**
|
||||
* **PrimeVue - Row**
|
||||
|
@ -106,12 +108,13 @@ export interface RowEmits {}
|
|||
* ![PrimeVue](https://primefaces.org/cdn/primevue/images/logo-100.png)
|
||||
*
|
||||
* @group Component
|
||||
*
|
||||
*/
|
||||
declare class Row extends ClassComponent<RowProps, RowSlots, RowEmits> {}
|
||||
declare const Row: DefineComponent<RowProps, RowSlots, RowEmits>;
|
||||
|
||||
declare module 'vue' {
|
||||
export interface GlobalComponents {
|
||||
Row: GlobalComponentConstructor<Row>;
|
||||
Row: GlobalComponentConstructor<RowProps, RowSlots, RowEmits>;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
@ -10,7 +10,7 @@
|
|||
import { VNode } from 'vue';
|
||||
import { ComponentHooks } from '../basecomponent';
|
||||
import { PassThroughOptions } from '../passthrough';
|
||||
import { ClassComponent, DesignToken, GlobalComponentConstructor, PassThrough } from '../ts-helpers';
|
||||
import { DefineComponent, DesignToken, EmitFn, GlobalComponentConstructor, PassThrough } from '../ts-helpers';
|
||||
|
||||
export declare type ScrollPanelPassThroughOptionType = ScrollPanelPassThroughAttributes | ((options: ScrollPanelPassThroughMethodOptions) => ScrollPanelPassThroughAttributes | string) | string | null | undefined;
|
||||
|
||||
|
@ -148,7 +148,9 @@ export interface ScrollPanelSlots {
|
|||
default: () => VNode[];
|
||||
}
|
||||
|
||||
export interface ScrollPanelEmits {}
|
||||
interface ScrollPanelEmitsOptions {}
|
||||
|
||||
export declare type ScrollPanelEmits = EmitFn<ScrollPanelEmitsOptions>;
|
||||
|
||||
/**
|
||||
* **PrimeVue - ScrollPanel**
|
||||
|
@ -162,11 +164,11 @@ export interface ScrollPanelEmits {}
|
|||
* @group Component
|
||||
*
|
||||
*/
|
||||
declare class ScrollPanel extends ClassComponent<ScrollPanelProps, ScrollPanelSlots, ScrollPanelEmits> {}
|
||||
declare const ScrollPanel: DefineComponent<ScrollPanelProps, ScrollPanelSlots, ScrollPanelEmits>;
|
||||
|
||||
declare module 'vue' {
|
||||
export interface GlobalComponents {
|
||||
ScrollPanel: GlobalComponentConstructor<ScrollPanel>;
|
||||
ScrollPanel: GlobalComponentConstructor<ScrollPanelProps, ScrollPanelSlots, ScrollPanelEmits>;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
@ -11,7 +11,7 @@ import { TransitionProps, VNode } from 'vue';
|
|||
import { ComponentHooks } from '../basecomponent';
|
||||
import { ButtonPassThroughOptions, ButtonProps } from '../button';
|
||||
import { PassThroughOptions } from '../passthrough';
|
||||
import { ClassComponent, DesignToken, GlobalComponentConstructor, PassThrough } from '../ts-helpers';
|
||||
import { DefineComponent, DesignToken, EmitFn, GlobalComponentConstructor, PassThrough } from '../ts-helpers';
|
||||
|
||||
export declare type ScrollTopPassThroughOptionType = ScrollTopPassThroughAttributes | ((options: ScrollTopPassThroughMethodOptions) => ScrollTopPassThroughAttributes | string) | string | null | undefined;
|
||||
|
||||
|
@ -169,7 +169,9 @@ export interface ScrollTopSlots {
|
|||
/**
|
||||
* Defines valid emits in ScrollTop component.
|
||||
*/
|
||||
export interface ScrollTopEmits {}
|
||||
interface ScrollTopEmitsOptions {}
|
||||
|
||||
export declare type ScrollTopEmits = EmitFn<ScrollTopEmitsOptions>;
|
||||
|
||||
/**
|
||||
* **PrimeVue - ScrollTop**
|
||||
|
@ -181,12 +183,13 @@ export interface ScrollTopEmits {}
|
|||
* ![PrimeVue](https://primefaces.org/cdn/primevue/images/logo-100.png)
|
||||
*
|
||||
* @group Component
|
||||
*
|
||||
*/
|
||||
declare class ScrollTop extends ClassComponent<ScrollTopProps, ScrollTopSlots, ScrollTopEmits> {}
|
||||
declare const ScrollTop: DefineComponent<ScrollTopProps, ScrollTopSlots, ScrollTopEmits>;
|
||||
|
||||
declare module 'vue' {
|
||||
export interface GlobalComponents {
|
||||
ScrollTop: GlobalComponentConstructor<ScrollTop>;
|
||||
ScrollTop: GlobalComponentConstructor<ScrollTopProps, ScrollTopSlots, ScrollTopEmits>;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
@ -13,7 +13,7 @@ import { IconFieldPassThroughOptions } from '../iconfield';
|
|||
import { InputIconPassThroughOptions } from '../inputicon';
|
||||
import { InputTextPassThroughOptions } from '../inputtext';
|
||||
import { PassThroughOptions } from '../passthrough';
|
||||
import { ClassComponent, DesignToken, GlobalComponentConstructor, HintedString, PassThrough } from '../ts-helpers';
|
||||
import { DefineComponent, DesignToken, EmitFn, GlobalComponentConstructor, HintedString, PassThrough } from '../ts-helpers';
|
||||
import { VirtualScrollerItemOptions, VirtualScrollerPassThroughOptionType, VirtualScrollerProps } from '../virtualscroller';
|
||||
|
||||
export declare type SelectPassThroughOptionType<T = any> = SelectPassThroughAttributes | ((options: SelectPassThroughMethodOptions<T>) => SelectPassThroughAttributes | string) | string | null | undefined;
|
||||
|
@ -730,7 +730,7 @@ export interface SelectSlots {
|
|||
/**
|
||||
* Defines valid emits in Select component.
|
||||
*/
|
||||
export interface SelectEmits {
|
||||
interface SelectEmitsOptions {
|
||||
/**
|
||||
* Emitted when the value changes.
|
||||
* @param {*} value - New value.
|
||||
|
@ -774,6 +774,27 @@ export interface SelectEmits {
|
|||
filter(event: SelectFilterEvent): void;
|
||||
}
|
||||
|
||||
export declare type SelectEmits = EmitFn<SelectEmitsOptions>;
|
||||
|
||||
export interface SelectMethods {
|
||||
/**
|
||||
* Shows the overlay.
|
||||
* @param {boolean} [isFocus] - Decides whether to focus on the component.
|
||||
* @defaultValue false.
|
||||
*
|
||||
* @memberof Select
|
||||
*/
|
||||
show: (isFocus?: boolean) => void;
|
||||
/**
|
||||
* Hides the overlay.
|
||||
* @param {boolean} [isFocus] - Decides whether to focus on the component.
|
||||
* @defaultValue false.
|
||||
*
|
||||
* @memberof Select
|
||||
*/
|
||||
hide: (isFocus?: boolean) => void;
|
||||
}
|
||||
|
||||
/**
|
||||
* **PrimeVue - Select**
|
||||
*
|
||||
|
@ -784,27 +805,13 @@ export interface SelectEmits {
|
|||
* ![PrimeVue](https://primefaces.org/cdn/primevue/images/logo-100.png)
|
||||
*
|
||||
* @group Component
|
||||
*/
|
||||
declare class Select extends ClassComponent<SelectProps, SelectSlots, SelectEmits> {
|
||||
/**
|
||||
* Shows the overlay.
|
||||
* @param {boolean} [isFocus] - Decides whether to focus on the component. @defaultValue false.
|
||||
*
|
||||
* @memberof Select
|
||||
*/
|
||||
show: (isFocus?: boolean) => void;
|
||||
/**
|
||||
* Hides the overlay.
|
||||
* @param {boolean} [isFocus] - Decides whether to focus on the component. @defaultValue false.
|
||||
*
|
||||
* @memberof Select
|
||||
*/
|
||||
hide: (isFocus?: boolean) => void;
|
||||
}
|
||||
declare const Select: DefineComponent<SelectProps, SelectSlots, SelectEmits>;
|
||||
|
||||
declare module 'vue' {
|
||||
export interface GlobalComponents {
|
||||
Select: GlobalComponentConstructor<Select>;
|
||||
Select: GlobalComponentConstructor<SelectProps, SelectSlots, SelectEmits>;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
@ -11,7 +11,7 @@ import { VNode } from 'vue';
|
|||
import { ComponentHooks } from '../basecomponent';
|
||||
import { PassThroughOptions } from '../passthrough';
|
||||
// import { ToggleButtonPassThroughOptions } from '../togglebutton';
|
||||
import { ClassComponent, DesignToken, GlobalComponentConstructor, PassThrough } from '../ts-helpers';
|
||||
import { DefineComponent, DesignToken, EmitFn, GlobalComponentConstructor, PassThrough } from '../ts-helpers';
|
||||
|
||||
export declare type SelectButtonPassThroughOptionType = SelectButtonPassThroughAttributes | ((options: SelectButtonPassThroughMethodOptions) => SelectButtonPassThroughAttributes | string) | string | null | undefined;
|
||||
|
||||
|
@ -223,7 +223,7 @@ export interface SelectButtonSlots {
|
|||
/**
|
||||
* Defines valid emits in SelectButton component.
|
||||
*/
|
||||
export interface SelectButtonEmits {
|
||||
interface SelectButtonEmitsOptions {
|
||||
/**
|
||||
* Emitted when the value changes.
|
||||
* @param {*} value - New value.
|
||||
|
@ -245,6 +245,8 @@ export interface SelectButtonEmits {
|
|||
blur(event: Event): void;
|
||||
}
|
||||
|
||||
export declare type SelectButtonEmits = EmitFn<SelectButtonEmitsOptions>;
|
||||
|
||||
/**
|
||||
* **PrimeVue - SelectButton**
|
||||
*
|
||||
|
@ -255,12 +257,13 @@ export interface SelectButtonEmits {
|
|||
* ![PrimeVue](https://primefaces.org/cdn/primevue/images/logo-100.png)
|
||||
*
|
||||
* @group Component
|
||||
*
|
||||
*/
|
||||
declare class SelectButton extends ClassComponent<SelectButtonProps, SelectButtonSlots, SelectButtonEmits> {}
|
||||
declare const SelectButton: DefineComponent<SelectButtonProps, SelectButtonSlots, SelectButtonEmits>;
|
||||
|
||||
declare module 'vue' {
|
||||
export interface GlobalComponents {
|
||||
SelectButton: GlobalComponentConstructor<SelectButton>;
|
||||
SelectButton: GlobalComponentConstructor<SelectButtonProps, SelectButtonSlots, SelectButtonEmits>;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
@ -9,7 +9,7 @@
|
|||
*/
|
||||
import 'vue';
|
||||
import * as Drawer from '../drawer';
|
||||
import { ClassComponent, GlobalComponentConstructor } from '../ts-helpers';
|
||||
import { DefineComponent, EmitFn, GlobalComponentConstructor } from '../ts-helpers';
|
||||
|
||||
/**
|
||||
* Custom passthrough(pt) option method.
|
||||
|
@ -50,7 +50,9 @@ export interface SidebarSlots extends Drawer.DrawerSlots {}
|
|||
/**
|
||||
* Defines valid emits in Sidebar component.
|
||||
*/
|
||||
export interface SidebarEmits extends Drawer.DrawerEmits {}
|
||||
interface SidebarEmitsOptions {}
|
||||
|
||||
export declare type SidebarEmits = EmitFn<SidebarEmitsOptions> & Drawer.DrawerEmits;
|
||||
|
||||
/**
|
||||
* @deprecated Deprecated since v4. Use Drawer component instead.
|
||||
|
@ -64,12 +66,13 @@ export interface SidebarEmits extends Drawer.DrawerEmits {}
|
|||
* ![PrimeVue](https://primefaces.org/cdn/primevue/images/logo-100.png)
|
||||
*
|
||||
* @group Component
|
||||
*
|
||||
*/
|
||||
declare class Sidebar extends ClassComponent<SidebarProps, SidebarSlots, SidebarEmits> {}
|
||||
declare const Sidebar: DefineComponent<SidebarProps, SidebarSlots, SidebarEmits>;
|
||||
|
||||
declare module 'vue' {
|
||||
export interface GlobalComponents {
|
||||
Sidebar: GlobalComponentConstructor<Sidebar>;
|
||||
Sidebar: GlobalComponentConstructor<SidebarProps, SidebarSlots, SidebarEmits>;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
@ -9,7 +9,7 @@
|
|||
*/
|
||||
import { ComponentHooks } from '../basecomponent';
|
||||
import { PassThroughOptions } from '../passthrough';
|
||||
import { ClassComponent, DesignToken, GlobalComponentConstructor, PassThrough } from '../ts-helpers';
|
||||
import { DefineComponent, DesignToken, EmitFn, GlobalComponentConstructor, PassThrough } from '../ts-helpers';
|
||||
|
||||
export declare type SkeletonPassThroughOptionType = SkeletonPassThroughAttributes | ((options: SkeletonPassThroughMethodOptions) => SkeletonPassThroughAttributes | string) | string | null | undefined;
|
||||
|
||||
|
@ -123,7 +123,9 @@ export interface SkeletonSlots {}
|
|||
/**
|
||||
* Defines valid emits in Skeleton component.
|
||||
*/
|
||||
export interface SkeletonEmits {}
|
||||
interface SkeletonEmitsOptions {}
|
||||
|
||||
export declare type SkeletonEmits = EmitFn<SkeletonEmitsOptions>;
|
||||
|
||||
/**
|
||||
* **PrimeVue - Skeleton**
|
||||
|
@ -135,12 +137,13 @@ export interface SkeletonEmits {}
|
|||
* ![PrimeVue](https://primefaces.org/cdn/primevue/images/logo-100.png)
|
||||
*
|
||||
* @group Component
|
||||
*
|
||||
*/
|
||||
declare class Skeleton extends ClassComponent<SkeletonProps, SkeletonSlots, SkeletonEmits> {}
|
||||
declare const Skeleton: DefineComponent<SkeletonProps, SkeletonSlots, SkeletonEmits>;
|
||||
|
||||
declare module 'vue' {
|
||||
export interface GlobalComponents {
|
||||
Skeleton: GlobalComponentConstructor<Skeleton>;
|
||||
Skeleton: GlobalComponentConstructor<SkeletonProps, SkeletonSlots, SkeletonEmits>;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
@ -9,7 +9,7 @@
|
|||
*/
|
||||
import { ComponentHooks } from '../basecomponent';
|
||||
import { PassThroughOptions } from '../passthrough';
|
||||
import { ClassComponent, DesignToken, GlobalComponentConstructor, PassThrough } from '../ts-helpers';
|
||||
import { DefineComponent, DesignToken, EmitFn, GlobalComponentConstructor, PassThrough } from '../ts-helpers';
|
||||
|
||||
export declare type SliderPassThroughOptionType = SliderPassThroughAttributes | ((options: SliderPassThroughMethodOptions) => SliderPassThroughAttributes | string) | string | null | undefined;
|
||||
|
||||
|
@ -172,7 +172,7 @@ export interface SliderSlots {}
|
|||
/**
|
||||
* Defines valid emits in Slider component.
|
||||
*/
|
||||
export interface SliderEmits {
|
||||
interface SliderEmitsOptions {
|
||||
/**
|
||||
* Emitted when the value changes.
|
||||
* @param {number | number[]} value - New value.
|
||||
|
@ -190,6 +190,8 @@ export interface SliderEmits {
|
|||
slideend(event: SliderSlideEndEvent): void;
|
||||
}
|
||||
|
||||
export declare type SliderEmits = EmitFn<SliderEmitsOptions>;
|
||||
|
||||
/**
|
||||
* **PrimeVue - Slider**
|
||||
*
|
||||
|
@ -202,11 +204,11 @@ export interface SliderEmits {
|
|||
* @group Component
|
||||
*
|
||||
*/
|
||||
declare class Slider extends ClassComponent<SliderProps, SliderSlots, SliderEmits> {}
|
||||
declare const Slider: DefineComponent<SliderProps, SliderSlots, SliderEmits>;
|
||||
|
||||
declare module 'vue' {
|
||||
export interface GlobalComponents {
|
||||
Slider: GlobalComponentConstructor<Slider>;
|
||||
Slider: GlobalComponentConstructor<SliderProps, SliderSlots, SliderEmits>;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
@ -12,7 +12,7 @@ import { ComponentHooks } from '../basecomponent';
|
|||
import { ButtonPassThroughOptions, ButtonProps } from '../button';
|
||||
import { MenuItem } from '../menuitem';
|
||||
import { PassThroughOptions } from '../passthrough';
|
||||
import { ClassComponent, DesignToken, GlobalComponentConstructor, PassThrough } from '../ts-helpers';
|
||||
import { DefineComponent, DesignToken, EmitFn, GlobalComponentConstructor, PassThrough } from '../ts-helpers';
|
||||
|
||||
export declare type SpeedDialPassThroughOptionType = SpeedDialPassThroughAttributes | ((options: SpeedDialPassThroughMethodOptions) => SpeedDialPassThroughAttributes | string) | string | null | undefined;
|
||||
|
||||
|
@ -369,7 +369,7 @@ export interface SpeedDialSlots {
|
|||
/**
|
||||
* Defines valid emits in SpeedDial component.
|
||||
*/
|
||||
export interface SpeedDialEmits {
|
||||
interface SpeedDialEmitsOptions {
|
||||
/**
|
||||
* Fired when the button element clicked.
|
||||
* @param {Event} event - Browser event.
|
||||
|
@ -395,6 +395,8 @@ export interface SpeedDialEmits {
|
|||
blur(event: Event): void;
|
||||
}
|
||||
|
||||
export declare type SpeedDialEmits = EmitFn<SpeedDialEmitsOptions>;
|
||||
|
||||
/**
|
||||
* **PrimeVue - SpeedDial**
|
||||
*
|
||||
|
@ -407,11 +409,11 @@ export interface SpeedDialEmits {
|
|||
* @group Component
|
||||
*
|
||||
*/
|
||||
declare class SpeedDial extends ClassComponent<SpeedDialProps, SpeedDialSlots, SpeedDialEmits> {}
|
||||
declare const SpeedDial: DefineComponent<SpeedDialProps, SpeedDialSlots, SpeedDialEmits>;
|
||||
|
||||
declare module 'vue' {
|
||||
export interface GlobalComponents {
|
||||
SpeedDial: GlobalComponentConstructor<SpeedDial>;
|
||||
SpeedDial: GlobalComponentConstructor<SpeedDialProps, SpeedDialSlots, SpeedDialEmits>;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
@ -13,7 +13,7 @@ import { ButtonPassThroughOptions } from '../button';
|
|||
import { MenuItem } from '../menuitem';
|
||||
import { PassThroughOptions } from '../passthrough';
|
||||
import { TieredMenuPassThroughOptions, TieredMenuRouterBindProps } from '../tieredmenu';
|
||||
import { ClassComponent, DesignToken, GlobalComponentConstructor, HintedString, PassThrough } from '../ts-helpers';
|
||||
import { DefineComponent, DesignToken, EmitFn, GlobalComponentConstructor, HintedString, PassThrough } from '../ts-helpers';
|
||||
|
||||
export declare type SplitButtonPassThroughOptionType = SplitButtonPassThroughAttributes | ((options: SplitButtonPassThroughMethodOptions) => SplitButtonPassThroughAttributes | string) | string | null | undefined;
|
||||
|
||||
|
@ -311,7 +311,7 @@ export interface SplitButtonSlots {
|
|||
/**
|
||||
* Defines valid emits in SplitButton component.
|
||||
*/
|
||||
export interface SplitButtonEmits {
|
||||
interface SplitButtonEmitsOptions {
|
||||
/**
|
||||
* Callback to invoke when main button is clicked.
|
||||
* @param {Event} event - Browser event.
|
||||
|
@ -319,6 +319,8 @@ export interface SplitButtonEmits {
|
|||
click(event: Event): void;
|
||||
}
|
||||
|
||||
export declare type SplitButtonEmits = EmitFn<SplitButtonEmitsOptions>;
|
||||
|
||||
/**
|
||||
* **PrimeVue - SplitButton**
|
||||
*
|
||||
|
@ -331,11 +333,11 @@ export interface SplitButtonEmits {
|
|||
* @group Component
|
||||
*
|
||||
*/
|
||||
declare class SplitButton extends ClassComponent<SplitButtonProps, SplitButtonSlots, SplitButtonEmits> {}
|
||||
declare const SplitButton: DefineComponent<SplitButtonProps, SplitButtonSlots, SplitButtonEmits>;
|
||||
|
||||
declare module 'vue' {
|
||||
export interface GlobalComponents {
|
||||
SplitButton: GlobalComponentConstructor<SplitButton>;
|
||||
SplitButton: GlobalComponentConstructor<SplitButtonProps, SplitButtonSlots, SplitButtonEmits>;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
@ -10,7 +10,7 @@
|
|||
import { VNode } from 'vue';
|
||||
import { ComponentHooks } from '../basecomponent';
|
||||
import { PassThroughOptions } from '../passthrough';
|
||||
import { ClassComponent, DesignToken, GlobalComponentConstructor, PassThrough } from '../ts-helpers';
|
||||
import { DefineComponent, DesignToken, EmitFn, GlobalComponentConstructor, PassThrough } from '../ts-helpers';
|
||||
|
||||
export declare type SplitterPassThroughOptionType = SplitterPassThroughAttributes | ((options: SplitterPassThroughMethodOptions) => SplitterPassThroughAttributes | string) | string | null | undefined;
|
||||
|
||||
|
@ -206,7 +206,7 @@ export interface SplitterSlots {
|
|||
/**
|
||||
* Defines valid emits in Splitter component.
|
||||
*/
|
||||
export interface SplitterEmits {
|
||||
interface SplitterEmitsOptions {
|
||||
/**
|
||||
* Callback to invoke when resize starts.
|
||||
* @param {SplitterResizeStartEvent} event - Custom resize start event.
|
||||
|
@ -224,6 +224,8 @@ export interface SplitterEmits {
|
|||
resizeend(event: SplitterResizeEndEvent): void;
|
||||
}
|
||||
|
||||
export declare type SplitterEmits = EmitFn<SplitterEmitsOptions>;
|
||||
|
||||
/**
|
||||
* **PrimeVue - Splitter**
|
||||
*
|
||||
|
@ -236,11 +238,11 @@ export interface SplitterEmits {
|
|||
* @group Component
|
||||
*
|
||||
*/
|
||||
declare class Splitter extends ClassComponent<SplitterProps, SplitterSlots, SplitterEmits> {}
|
||||
declare const Splitter: DefineComponent<SplitterProps, SplitterSlots, SplitterEmits>;
|
||||
|
||||
declare module 'vue' {
|
||||
export interface GlobalComponents {
|
||||
Splitter: GlobalComponentConstructor<Splitter>;
|
||||
Splitter: GlobalComponentConstructor<SplitterProps, SplitterSlots, SplitterEmits>;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
@ -10,7 +10,7 @@
|
|||
import { VNode } from 'vue';
|
||||
import { ComponentHooks } from '../basecomponent';
|
||||
import { PassThroughOptions } from '../passthrough';
|
||||
import { ClassComponent, DesignToken, GlobalComponentConstructor, PassThrough } from '../ts-helpers';
|
||||
import { DefineComponent, DesignToken, EmitFn, GlobalComponentConstructor, PassThrough } from '../ts-helpers';
|
||||
|
||||
export declare type SplitterPanelPassThroughOptionType = SplitterPanelPassThroughAttributes | ((options: SplitterPanelPassThroughMethodOptions) => SplitterPanelPassThroughAttributes | string) | string | null | undefined;
|
||||
|
||||
|
@ -120,7 +120,9 @@ export interface SplitterPanelSlots {
|
|||
default: () => VNode[];
|
||||
}
|
||||
|
||||
export interface SplitterPanelEmits {}
|
||||
interface SplitterPanelEmitsOptions {}
|
||||
|
||||
export declare type SplitterPanelEmits = EmitFn<SplitterPanelEmitsOptions>;
|
||||
|
||||
/**
|
||||
* **PrimeVue - SplitterPanel**
|
||||
|
@ -134,11 +136,11 @@ export interface SplitterPanelEmits {}
|
|||
* @group Component
|
||||
*
|
||||
*/
|
||||
declare class SplitterPanel extends ClassComponent<SplitterPanelProps, SplitterPanelSlots, SplitterPanelEmits> {}
|
||||
declare const SplitterPanel: DefineComponent<SplitterPanelProps, SplitterPanelSlots, SplitterPanelEmits>;
|
||||
|
||||
declare module 'vue' {
|
||||
export interface GlobalComponents {
|
||||
SplitterPanel: GlobalComponentConstructor<SplitterPanel>;
|
||||
SplitterPanel: GlobalComponentConstructor<SplitterPanelProps, SplitterPanelSlots, SplitterPanelEmits>;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
@ -11,7 +11,7 @@ import { VNode } from 'vue';
|
|||
import { ComponentHooks } from '../basecomponent';
|
||||
import { PassThroughOptions } from '../passthrough';
|
||||
import { StepperPanelPassThroughOptionType } from '../stepperpanel';
|
||||
import { ClassComponent, DesignToken, GlobalComponentConstructor, PassThrough } from '../ts-helpers';
|
||||
import { DefineComponent, DesignToken, EmitFn, GlobalComponentConstructor, PassThrough } from '../ts-helpers';
|
||||
|
||||
export declare type StepperPassThroughOptionType = StepperPassThroughAttributes | ((options: StepperPassThroughMethodOptions) => StepperPassThroughAttributes | string) | string | null | undefined;
|
||||
|
||||
|
@ -166,7 +166,7 @@ export interface StepperSlots {
|
|||
/**
|
||||
* Defines valid emits in Stepper component.
|
||||
*/
|
||||
export interface StepperEmits {
|
||||
interface StepperEmitsOptions {
|
||||
/**
|
||||
* Emitted when the value changes.
|
||||
* @param {number | number[]} value - New value.
|
||||
|
@ -178,6 +178,8 @@ export interface StepperEmits {
|
|||
'step-change'(event: StepperChangeEvent): void;
|
||||
}
|
||||
|
||||
export declare type StepperEmits = EmitFn<StepperEmitsOptions>;
|
||||
|
||||
/**
|
||||
* **PrimeVue - Stepper**
|
||||
*
|
||||
|
@ -190,11 +192,11 @@ export interface StepperEmits {
|
|||
* @group Component
|
||||
*
|
||||
*/
|
||||
declare class Stepper extends ClassComponent<StepperProps, StepperSlots, StepperEmits> {}
|
||||
declare const Stepper: DefineComponent<StepperProps, StepperSlots, StepperEmits>;
|
||||
|
||||
declare module 'vue' {
|
||||
export interface GlobalComponents {
|
||||
Stepper: GlobalComponentConstructor<Stepper>;
|
||||
Stepper: GlobalComponentConstructor<StepperProps, StepperSlots, StepperEmits>;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
@ -10,7 +10,7 @@
|
|||
import { TransitionProps, VNode } from 'vue';
|
||||
import { ComponentHooks } from '../basecomponent';
|
||||
import { PassThroughOptions } from '../passthrough';
|
||||
import { ClassComponent, DesignToken, GlobalComponentConstructor, PassThrough } from '../ts-helpers';
|
||||
import { DefineComponent, DesignToken, EmitFn, GlobalComponentConstructor, PassThrough } from '../ts-helpers';
|
||||
|
||||
export declare type StepperPanelPassThroughOptionType = StepperPanelPassThroughAttributes | ((options: StepperPanelPassThroughMethodOptions) => StepperPanelPassThroughAttributes | string) | string | null | undefined;
|
||||
|
||||
|
@ -261,7 +261,9 @@ export interface StepperPanelSlots {
|
|||
}): VNode[];
|
||||
}
|
||||
|
||||
export interface StepperPanelEmits {}
|
||||
interface StepperPanelEmitsOptions {}
|
||||
|
||||
export declare type StepperPanelEmits = EmitFn<StepperPanelEmitsOptions>;
|
||||
|
||||
/**
|
||||
* **PrimeVue - StepperPanel**
|
||||
|
@ -275,11 +277,11 @@ export interface StepperPanelEmits {}
|
|||
* @group Component
|
||||
*
|
||||
*/
|
||||
declare class StepperPanel extends ClassComponent<StepperPanelProps, StepperPanelSlots, StepperPanelEmits> {}
|
||||
declare const StepperPanel: DefineComponent<StepperPanelProps, StepperPanelSlots, StepperPanelEmits>;
|
||||
|
||||
declare module 'vue' {
|
||||
export interface GlobalComponents {
|
||||
StepperPanel: GlobalComponentConstructor<StepperPanel>;
|
||||
StepperPanel: GlobalComponentConstructor<StepperPanelProps, StepperPanelSlots, StepperPanelEmits>;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
@ -11,7 +11,7 @@ import { VNode } from 'vue';
|
|||
import { ComponentHooks } from '../basecomponent';
|
||||
import { MenuItem } from '../menuitem';
|
||||
import { PassThroughOptions } from '../passthrough';
|
||||
import { ClassComponent, DesignToken, GlobalComponentConstructor, PassThrough } from '../ts-helpers';
|
||||
import { DefineComponent, DesignToken, EmitFn, GlobalComponentConstructor, PassThrough } from '../ts-helpers';
|
||||
|
||||
export declare type StepsPassThroughOptionType = StepsPassThroughAttributes | ((options: StepsPassThroughMethodOptions) => StepsPassThroughAttributes | string) | string | null | undefined;
|
||||
|
||||
|
@ -214,7 +214,9 @@ export interface StepsSlots {
|
|||
/**
|
||||
* Defines valid emits in Steps component.
|
||||
*/
|
||||
export interface StepsEmits {}
|
||||
interface StepsEmitsOptions {}
|
||||
|
||||
export declare type StepsEmits = EmitFn<StepsEmitsOptions>;
|
||||
|
||||
/**
|
||||
* **PrimeVue - Steps**
|
||||
|
@ -228,11 +230,11 @@ export interface StepsEmits {}
|
|||
* @group Component
|
||||
*
|
||||
*/
|
||||
declare class Steps extends ClassComponent<StepsProps, StepsSlots, StepsEmits> {}
|
||||
declare const Steps: DefineComponent<StepsProps, StepsSlots, StepsEmits>;
|
||||
|
||||
declare module 'vue' {
|
||||
export interface GlobalComponents {
|
||||
Steps: GlobalComponentConstructor<Steps>;
|
||||
Steps: GlobalComponentConstructor<StepsProps, StepsSlots, StepsEmits>;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
@ -10,7 +10,7 @@
|
|||
import { VNode } from 'vue';
|
||||
import { ComponentHooks } from '../basecomponent';
|
||||
import { PassThroughOptions } from '../passthrough';
|
||||
import { ClassComponent, DesignToken, GlobalComponentConstructor, PassThrough } from '../ts-helpers';
|
||||
import { DefineComponent, DesignToken, EmitFn, GlobalComponentConstructor, PassThrough } from '../ts-helpers';
|
||||
|
||||
export declare type TabPassThroughOptionType = TabPassThroughAttributes | ((options: TabPassThroughMethodOptions) => TabPassThroughAttributes | string) | string | null | undefined;
|
||||
|
||||
|
@ -123,7 +123,9 @@ export interface TabSlots {
|
|||
default(): VNode[];
|
||||
}
|
||||
|
||||
export interface TabEmits {}
|
||||
interface TabEmitsOptions {}
|
||||
|
||||
export declare type TabEmits = EmitFn<TabEmitsOptions>;
|
||||
|
||||
/**
|
||||
* **PrimeVue - Tab**
|
||||
|
@ -137,11 +139,11 @@ export interface TabEmits {}
|
|||
* @group Component
|
||||
*
|
||||
*/
|
||||
declare class Tab extends ClassComponent<TabProps, TabSlots, TabEmits> {}
|
||||
declare const Tab: DefineComponent<TabProps, TabSlots, TabEmits>;
|
||||
|
||||
declare module 'vue' {
|
||||
export interface GlobalComponents {
|
||||
Tab: GlobalComponentConstructor<Tab>;
|
||||
Tab: GlobalComponentConstructor<TabProps, TabSlots, TabEmits>;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
@ -10,7 +10,7 @@
|
|||
import { VNode } from 'vue';
|
||||
import { ComponentHooks } from '../basecomponent';
|
||||
import { PassThroughOptions } from '../passthrough';
|
||||
import { ClassComponent, DesignToken, GlobalComponentConstructor, PassThrough } from '../ts-helpers';
|
||||
import { DesignToken, EmitFn, GlobalComponentConstructor, PassThrough } from '../ts-helpers';
|
||||
|
||||
export declare type TabListPassThroughOptionType = TabListPassThroughAttributes | ((options: TabListPassThroughMethodOptions) => TabListPassThroughAttributes | string) | string | null | undefined;
|
||||
|
||||
|
@ -117,7 +117,9 @@ export interface TabListSlots {
|
|||
default(): VNode[];
|
||||
}
|
||||
|
||||
export interface TabListEmits {}
|
||||
interface TabListEmitsOptions {}
|
||||
|
||||
export declare type TabListEmits = EmitFn<TabListEmitsOptions>;
|
||||
|
||||
/**
|
||||
* **PrimeVue - TabList**
|
||||
|
@ -131,11 +133,11 @@ export interface TabListEmits {}
|
|||
* @group Component
|
||||
*
|
||||
*/
|
||||
declare class TabList extends ClassComponent<TabListProps, TabListSlots, TabListEmits> {}
|
||||
declare const TabList: DefineComponent<TabListProps, TabListSlots, TabListEmits>;
|
||||
|
||||
declare module 'vue' {
|
||||
export interface GlobalComponents {
|
||||
TabList: GlobalComponentConstructor<TabList>;
|
||||
TabList: GlobalComponentConstructor<TabListProps, TabListSlots, TabListEmits>;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
@ -11,7 +11,7 @@ import { VNode } from 'vue';
|
|||
import { ComponentHooks } from '../basecomponent';
|
||||
import { MenuItem } from '../menuitem';
|
||||
import { PassThroughOptions } from '../passthrough';
|
||||
import { ClassComponent, DesignToken, GlobalComponentConstructor, PassThrough } from '../ts-helpers';
|
||||
import { DefineComponent, DesignToken, EmitFn, GlobalComponentConstructor, PassThrough } from '../ts-helpers';
|
||||
|
||||
export declare type TabMenuPassThroughOptionType = TabMenuPassThroughAttributes | ((options: TabMenuPassThroughMethodOptions) => TabMenuPassThroughAttributes | string) | string | null | undefined;
|
||||
|
||||
|
@ -251,7 +251,7 @@ export interface TabMenuSlots {
|
|||
/**
|
||||
* Defines valid emits in TabMenu component.
|
||||
*/
|
||||
export interface TabMenuEmits {
|
||||
interface TabMenuEmitsOptions {
|
||||
/**
|
||||
* Callback to invoke when an active tab is changed.
|
||||
* @param {TabMenuChangeEvent} event - Custom tab change event.
|
||||
|
@ -259,6 +259,8 @@ export interface TabMenuEmits {
|
|||
'tab-change'(event: TabMenuChangeEvent): void;
|
||||
}
|
||||
|
||||
export declare type TabMenuEmits = EmitFn<TabMenuEmitsOptions>;
|
||||
|
||||
/**
|
||||
* **PrimeVue - TabMenu**
|
||||
*
|
||||
|
@ -271,11 +273,11 @@ export interface TabMenuEmits {
|
|||
* @group Component
|
||||
*
|
||||
*/
|
||||
declare class TabMenu extends ClassComponent<TabMenuProps, TabMenuSlots, TabMenuEmits> {}
|
||||
declare const TabMenu: DefineComponent<TabMenuProps, TabMenuSlots, TabMenuEmits>;
|
||||
|
||||
declare module 'vue' {
|
||||
export interface GlobalComponents {
|
||||
TabMenu: GlobalComponentConstructor<TabMenu>;
|
||||
TabMenu: GlobalComponentConstructor<TabMenuProps, TabMenuSlots, TabMenuEmits>;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
@ -10,7 +10,7 @@
|
|||
import { AnchorHTMLAttributes, HTMLAttributes, LiHTMLAttributes, VNode } from 'vue';
|
||||
import { ComponentHooks } from '../basecomponent';
|
||||
import { PassThroughOptions } from '../passthrough';
|
||||
import { ClassComponent, DesignToken, GlobalComponentConstructor, PassThrough } from '../ts-helpers';
|
||||
import { DefineComponent, DesignToken, EmitFn, GlobalComponentConstructor, PassThrough } from '../ts-helpers';
|
||||
|
||||
export declare type TabPanelPassThroughOptionType = TabPanelPassThroughAttributes | ((options: TabPanelPassThroughMethodOptions) => TabPanelPassThroughAttributes | string) | string | null | undefined;
|
||||
|
||||
|
@ -209,7 +209,9 @@ export interface TabPanelSlots {
|
|||
header(): VNode[];
|
||||
}
|
||||
|
||||
export interface TabPanelEmits {}
|
||||
interface TabPanelEmitsOptions {}
|
||||
|
||||
export declare type TabPanelEmits = EmitFn<TabPanelEmitsOptions>;
|
||||
|
||||
/**
|
||||
* **PrimeVue - TabPanel**
|
||||
|
@ -223,11 +225,11 @@ export interface TabPanelEmits {}
|
|||
* @group Component
|
||||
*
|
||||
*/
|
||||
declare class TabPanel extends ClassComponent<TabPanelProps, TabPanelSlots, TabPanelEmits> {}
|
||||
declare const TabPanel: DefineComponent<TabPanelProps, TabPanelSlots, TabPanelEmits>;
|
||||
|
||||
declare module 'vue' {
|
||||
export interface GlobalComponents {
|
||||
TabPanel: GlobalComponentConstructor<TabPanel>;
|
||||
TabPanel: GlobalComponentConstructor<TabPanelProps, TabPanelSlots, TabPanelEmits>;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
@ -10,7 +10,7 @@
|
|||
import { VNode } from 'vue';
|
||||
import { ComponentHooks } from '../basecomponent';
|
||||
import { PassThroughOptions } from '../passthrough';
|
||||
import { ClassComponent, DesignToken, GlobalComponentConstructor, PassThrough } from '../ts-helpers';
|
||||
import { DefineComponent, DesignToken, EmitFn, GlobalComponentConstructor, PassThrough } from '../ts-helpers';
|
||||
|
||||
export declare type TabPanelsPassThroughOptionType = TabPanelsPassThroughAttributes | ((options: TabPanelsPassThroughMethodOptions) => TabPanelsPassThroughAttributes | string) | string | null | undefined;
|
||||
|
||||
|
@ -101,7 +101,9 @@ export interface TabPanelsSlots {
|
|||
default(): VNode[];
|
||||
}
|
||||
|
||||
export interface TabPanelsEmits {}
|
||||
interface TabPanelsEmitsOptions {}
|
||||
|
||||
export declare type TabPanelsEmits = EmitFn<TabPanelsEmitsOptions>;
|
||||
|
||||
/**
|
||||
* **PrimeVue - TabPanels**
|
||||
|
@ -115,11 +117,11 @@ export interface TabPanelsEmits {}
|
|||
* @group Component
|
||||
*
|
||||
*/
|
||||
declare class TabPanels extends ClassComponent<TabPanelsProps, TabPanelsSlots, TabPanelsEmits> {}
|
||||
declare const TabPanels: DefineComponent<TabPanelsProps, TabPanelsSlots, TabPanelsEmits>;
|
||||
|
||||
declare module 'vue' {
|
||||
export interface GlobalComponents {
|
||||
TabPanels: GlobalComponentConstructor<TabPanels>;
|
||||
TabPanels: GlobalComponentConstructor<TabPanelsProps, TabPanelsSlots, TabPanelsEmits>;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
@ -10,7 +10,7 @@
|
|||
import { VNode } from 'vue';
|
||||
import { ComponentHooks } from '../basecomponent';
|
||||
import { PassThroughOptions } from '../passthrough';
|
||||
import { ClassComponent, DesignToken, GlobalComponentConstructor, PassThrough } from '../ts-helpers';
|
||||
import { DefineComponent, DesignToken, EmitFn, GlobalComponentConstructor, PassThrough } from '../ts-helpers';
|
||||
|
||||
export declare type TabsPassThroughOptionType = TabsPassThroughAttributes | ((options: TabsPassThroughMethodOptions) => TabsPassThroughAttributes | string) | string | null | undefined;
|
||||
|
||||
|
@ -156,7 +156,7 @@ export interface TabsSlots {
|
|||
/**
|
||||
* Defines valid emits in Tabs component.
|
||||
*/
|
||||
export interface TabsEmits {
|
||||
interface TabsEmitsOptions {
|
||||
/**
|
||||
* Emitted when the value changes.
|
||||
* @param {string} value - Current value.
|
||||
|
@ -164,8 +164,9 @@ export interface TabsEmits {
|
|||
'update:value'(value: number): void;
|
||||
}
|
||||
|
||||
export declare type TabsEmits = EmitFn<TabsEmitsOptions>;
|
||||
|
||||
/**
|
||||
*
|
||||
* **PrimeVue - Tabs**
|
||||
*
|
||||
* _Tabs facilitates seamless switching between different views._
|
||||
|
@ -177,11 +178,11 @@ export interface TabsEmits {
|
|||
* @group Component
|
||||
*
|
||||
*/
|
||||
declare class Tabs extends ClassComponent<TabsProps, TabsSlots, TabsEmits> {}
|
||||
declare const Tabs: DefineComponent<TabsProps, TabsSlots, TabsEmits>;
|
||||
|
||||
declare module 'vue' {
|
||||
export interface GlobalComponents {
|
||||
Tabs: GlobalComponentConstructor<Tabs>;
|
||||
Tabs: GlobalComponentConstructor<TabsProps, TabsSlots, TabsEmits>;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
@ -12,7 +12,7 @@ import { ButtonHTMLAttributes, VNode } from 'vue';
|
|||
import { ComponentHooks } from '../basecomponent';
|
||||
import { PassThroughOptions } from '../passthrough';
|
||||
import { TabPanelPassThroughOptionType } from '../tabpanel';
|
||||
import { ClassComponent, DesignToken, GlobalComponentConstructor, PassThrough } from '../ts-helpers';
|
||||
import { DefineComponent, DesignToken, EmitFn, GlobalComponentConstructor, PassThrough } from '../ts-helpers';
|
||||
|
||||
export declare type TabViewPassThroughOptionType = TabViewPassThroughAttributes | ((options: TabViewPassThroughMethodOptions) => TabViewPassThroughAttributes | string) | string | null | undefined;
|
||||
|
||||
|
@ -251,7 +251,7 @@ export interface TabViewSlots {
|
|||
/**
|
||||
* Defines valid emits in TabView component.
|
||||
*/
|
||||
export interface TabViewEmits {
|
||||
interface TabViewEmitsOptions {
|
||||
/**
|
||||
* Emitted when the activeIndex changes.
|
||||
* @param {number} index - Current activeIndex.
|
||||
|
@ -269,6 +269,8 @@ export interface TabViewEmits {
|
|||
'tab-click'(event: TabViewClickEvent): void;
|
||||
}
|
||||
|
||||
export declare type TabViewEmits = EmitFn<TabViewEmitsOptions>;
|
||||
|
||||
/**
|
||||
* @deprecated since v4. Use Tabs component instead.
|
||||
*
|
||||
|
@ -283,11 +285,11 @@ export interface TabViewEmits {
|
|||
* @group Component
|
||||
*
|
||||
*/
|
||||
declare class TabView extends ClassComponent<TabViewProps, TabViewSlots, TabViewEmits> {}
|
||||
declare const TabView: DefineComponent<TabViewProps, TabViewSlots, TabViewEmits>;
|
||||
|
||||
declare module 'vue' {
|
||||
export interface GlobalComponents {
|
||||
TabView: GlobalComponentConstructor<TabView>;
|
||||
TabView: GlobalComponentConstructor<TabViewProps, TabViewSlots, TabViewEmits>;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in New Issue