2022-12-08 11:04:25 +00:00
|
|
|
import { Plugin } from 'vue';
|
2023-05-03 14:40:21 +00:00
|
|
|
import { AccordionPassThroughOptions } from '../accordion';
|
2024-04-24 22:43:21 +00:00
|
|
|
import { AccordionContentPassThroughOptions } from '../accordioncontent';
|
|
|
|
import { AccordionHeaderPassThroughOptions } from '../accordionheader';
|
|
|
|
import { AccordionPanelPassThroughOptions } from '../accordionpanel';
|
2023-05-03 14:40:21 +00:00
|
|
|
import { AccordionTabPassThroughOptions } from '../accordiontab';
|
2023-10-24 13:44:43 +00:00
|
|
|
import { AnimateOnScrollDirectivePassThroughOptions } from '../animateonscroll';
|
2023-05-05 06:40:09 +00:00
|
|
|
import { AutoCompletePassThroughOptions } from '../autocomplete';
|
2023-05-03 14:40:21 +00:00
|
|
|
import { AvatarPassThroughOptions } from '../avatar';
|
2023-07-24 11:28:57 +00:00
|
|
|
import { AvatarGroupPassThroughOptions } from '../avatargroup';
|
2023-05-03 14:40:21 +00:00
|
|
|
import { BadgePassThroughOptions } from '../badge';
|
2023-06-23 14:51:42 +00:00
|
|
|
import { BadgeDirectivePassThroughOptions } from '../badgedirective';
|
2023-05-03 14:40:21 +00:00
|
|
|
import { BlockUIPassThroughOptions } from '../blockui';
|
|
|
|
import { BreadcrumbPassThroughOptions } from '../breadcrumb';
|
|
|
|
import { ButtonPassThroughOptions } from '../button';
|
2023-05-04 14:50:30 +00:00
|
|
|
import { CalendarPassThroughOptions } from '../calendar';
|
2023-04-25 11:36:01 +00:00
|
|
|
import { CardPassThroughOptions } from '../card';
|
2023-05-04 07:46:18 +00:00
|
|
|
import { CarouselPassThroughOptions } from '../carousel';
|
2023-05-05 08:45:08 +00:00
|
|
|
import { CascadeSelectPassThroughOptions } from '../cascadeselect';
|
2023-05-03 14:40:21 +00:00
|
|
|
import { ChartPassThroughOptions } from '../chart';
|
2023-05-05 09:09:09 +00:00
|
|
|
import { CheckboxPassThroughOptions } from '../checkbox';
|
2023-05-03 14:40:21 +00:00
|
|
|
import { ChipPassThroughOptions } from '../chip';
|
2023-05-05 09:36:30 +00:00
|
|
|
import { ChipsPassThroughOptions } from '../chips';
|
2023-05-05 09:53:13 +00:00
|
|
|
import { ColorPickerPassThroughOptions } from '../colorpicker';
|
2023-07-24 11:28:57 +00:00
|
|
|
import { ColumnPassThroughOptions } from '../column';
|
2023-05-10 11:39:25 +00:00
|
|
|
import { ColumnGroupPassThroughOptions } from '../columngroup';
|
2023-05-03 14:40:21 +00:00
|
|
|
import { ConfirmDialogPassThroughOptions } from '../confirmdialog';
|
|
|
|
import { ConfirmPopupPassThroughOptions } from '../confirmpopup';
|
|
|
|
import { ContextMenuPassThroughOptions } from '../contextmenu';
|
2023-05-08 14:08:06 +00:00
|
|
|
import { DataTablePassThroughOptions } from '../datatable';
|
2023-05-09 22:39:10 +00:00
|
|
|
import { DataViewPassThroughOptions } from '../dataview';
|
2024-04-18 14:37:42 +00:00
|
|
|
import { DatePickerPassThroughOptions } from '../datepicker';
|
2023-05-03 14:40:21 +00:00
|
|
|
import { DeferredContentPassThroughOptions } from '../deferredcontent';
|
|
|
|
import { DialogPassThroughOptions } from '../dialog';
|
|
|
|
import { DividerPassThroughOptions } from '../divider';
|
|
|
|
import { DockPassThroughOptions } from '../dock';
|
2024-04-18 14:37:42 +00:00
|
|
|
import { DrawerPassThroughOptions } from '../drawer';
|
2023-05-07 20:37:26 +00:00
|
|
|
import { DropdownPassThroughOptions } from '../dropdown';
|
2023-05-05 10:15:25 +00:00
|
|
|
import { EditorPassThroughOptions } from '../editor';
|
2023-05-03 14:40:21 +00:00
|
|
|
import { FieldsetPassThroughOptions } from '../fieldset';
|
|
|
|
import { FileUploadPassThroughOptions } from '../fileupload';
|
2023-06-23 14:51:42 +00:00
|
|
|
import { FocusTrapDirectivePassThroughOptions } from '../focustrap';
|
2023-05-04 08:29:52 +00:00
|
|
|
import { GalleriaPassThroughOptions } from '../galleria';
|
2023-05-04 07:45:01 +00:00
|
|
|
import { ImagePassThroughOptions } from '../image';
|
2023-05-03 14:40:21 +00:00
|
|
|
import { InlineMessagePassThroughOptions } from '../inlinemessage';
|
|
|
|
import { InplacePassThroughOptions } from '../inplace';
|
2024-04-18 14:37:42 +00:00
|
|
|
import { InputChipsPassThroughOptions } from '../inputchips';
|
2023-05-05 11:08:41 +00:00
|
|
|
import { InputMaskPassThroughOptions } from '../inputmask';
|
2023-05-05 12:56:22 +00:00
|
|
|
import { InputNumberPassThroughOptions } from '../inputnumber';
|
2023-05-05 13:10:07 +00:00
|
|
|
import { InputSwitchPassThroughOptions } from '../inputswitch';
|
2023-05-05 12:53:35 +00:00
|
|
|
import { InputTextPassThroughOptions } from '../inputtext';
|
2023-05-05 14:13:58 +00:00
|
|
|
import { KnobPassThroughOptions } from '../knob';
|
2023-05-07 21:07:47 +00:00
|
|
|
import { ListboxPassThroughOptions } from '../listbox';
|
2023-05-03 14:40:21 +00:00
|
|
|
import { MegaMenuPassThroughOptions } from '../megamenu';
|
|
|
|
import { MenuPassThroughOptions } from '../menu';
|
|
|
|
import { MenubarPassThroughOptions } from '../menubar';
|
|
|
|
import { MessagePassThroughOptions } from '../message';
|
2023-05-08 07:00:16 +00:00
|
|
|
import { MultiSelectPassThroughOptions } from '../multiselect';
|
2023-05-09 16:03:01 +00:00
|
|
|
import { OrderListPassThroughOptions } from '../orderlist';
|
2023-05-10 08:07:14 +00:00
|
|
|
import { OrganizationChartPassThroughOptions } from '../organizationchart';
|
2023-05-03 14:40:21 +00:00
|
|
|
import { OverlayPanelPassThroughOptions } from '../overlaypanel';
|
2023-05-08 09:35:25 +00:00
|
|
|
import { PaginatorPassThroughOptions } from '../paginator';
|
2023-04-25 11:36:01 +00:00
|
|
|
import { PanelPassThroughOptions } from '../panel';
|
2023-05-03 14:40:21 +00:00
|
|
|
import { PanelMenuPassThroughOptions } from '../panelmenu';
|
2023-09-20 11:25:33 +00:00
|
|
|
import { PassThroughOptions } from '../passthrough';
|
2023-05-05 14:58:54 +00:00
|
|
|
import { PasswordPassThroughOptions } from '../password';
|
2023-05-09 22:03:24 +00:00
|
|
|
import { PickListPassThroughOptions } from '../picklist';
|
2024-04-18 14:37:42 +00:00
|
|
|
import { PopoverPassThroughOptions } from '../popover';
|
2023-05-03 14:40:21 +00:00
|
|
|
import { ProgressBarPassThroughOptions } from '../progressbar';
|
|
|
|
import { ProgressSpinnerPassThroughOptions } from '../progressspinner';
|
2023-05-05 15:20:34 +00:00
|
|
|
import { RadioButtonPassThroughOptions } from '../radiobutton';
|
2023-07-24 11:28:57 +00:00
|
|
|
import { RatingPassThroughOptions } from '../rating';
|
2023-06-23 14:51:42 +00:00
|
|
|
import { RippleDirectivePassThroughOptions } from '../ripple';
|
2023-05-10 11:39:25 +00:00
|
|
|
import { RowPassThroughOptions } from '../row';
|
2023-05-03 14:40:21 +00:00
|
|
|
import { ScrollPanelPassThroughOptions } from '../scrollpanel';
|
|
|
|
import { ScrollTopPassThroughOptions } from '../scrolltop';
|
2024-04-18 14:37:42 +00:00
|
|
|
import { SelectPassThroughOptions } from '../select';
|
2023-05-07 06:29:10 +00:00
|
|
|
import { SelectButtonPassThroughOptions } from '../selectbutton';
|
2023-05-03 14:40:21 +00:00
|
|
|
import { SidebarPassThroughOptions } from '../sidebar';
|
|
|
|
import { SkeletonPassThroughOptions } from '../skeleton';
|
2023-07-24 11:28:57 +00:00
|
|
|
import { SliderPassThroughOptions } from '../slider';
|
2023-05-03 14:40:21 +00:00
|
|
|
import { SpeedDialPassThroughOptions } from '../speeddial';
|
|
|
|
import { SplitButtonPassThroughOptions } from '../splitbutton';
|
|
|
|
import { SplitterPassThroughOptions } from '../splitter';
|
2023-07-24 11:28:57 +00:00
|
|
|
import { SplitterPanelPassThroughOptions } from '../splitterpanel';
|
2023-06-23 14:51:42 +00:00
|
|
|
import { StepsPassThroughOptions } from '../steps';
|
|
|
|
import { StyleClassDirectivePassThroughOptions } from '../styleclass';
|
2024-04-24 22:43:21 +00:00
|
|
|
import { TabPassThroughOptions } from '../tab';
|
|
|
|
import { TabListPassThroughOptions } from '../tablist';
|
2023-05-03 14:40:21 +00:00
|
|
|
import { TabMenuPassThroughOptions } from '../tabmenu';
|
|
|
|
import { TabPanelPassThroughOptions } from '../tabpanel';
|
2024-04-24 22:43:21 +00:00
|
|
|
import { TabPanelsPassThroughOptions } from '../tabpanels';
|
|
|
|
import { TabsPassThroughOptions } from '../tabs';
|
2023-05-03 14:40:21 +00:00
|
|
|
import { TabViewPassThroughOptions } from '../tabview';
|
|
|
|
import { TagPassThroughOptions } from '../tag';
|
|
|
|
import { TerminalPassThroughOptions } from '../terminal';
|
2023-05-07 06:29:10 +00:00
|
|
|
import { TextareaPassThroughOptions } from '../textarea';
|
2023-05-03 14:40:21 +00:00
|
|
|
import { TieredMenuPassThroughOptions } from '../tieredmenu';
|
2023-05-10 07:28:34 +00:00
|
|
|
import { TimelinePassThroughOptions } from '../timeline';
|
2023-05-03 14:40:21 +00:00
|
|
|
import { ToastPassThroughOptions } from '../toast';
|
2023-07-24 11:28:57 +00:00
|
|
|
import { ToggleButtonPassThroughOptions } from '../togglebutton';
|
2024-04-18 14:37:42 +00:00
|
|
|
import { ToggleSwitchPassThroughOptions } from '../toggleswitch';
|
2023-05-03 14:40:21 +00:00
|
|
|
import { ToolbarPassThroughOptions } from '../toolbar';
|
2023-07-06 11:09:01 +00:00
|
|
|
import { TooltipDirectivePassThroughOptions } from '../tooltip';
|
2023-05-07 19:21:37 +00:00
|
|
|
import { TreePassThroughOptions } from '../tree';
|
2023-05-07 19:51:06 +00:00
|
|
|
import { TreeSelectPassThroughOptions } from '../treeselect';
|
2023-05-11 08:11:49 +00:00
|
|
|
import { TreeTablePassThroughOptions } from '../treetable';
|
2023-09-05 11:28:04 +00:00
|
|
|
import { DefaultPassThrough, PassThrough } from '../ts-helpers';
|
2023-05-05 06:37:18 +00:00
|
|
|
import { VirtualScrollerPassThroughOptions } from '../virtualscroller';
|
2020-12-10 08:03:08 +00:00
|
|
|
|
2023-07-10 22:16:13 +00:00
|
|
|
export interface PrimeVueConfiguration {
|
2020-12-10 08:03:08 +00:00
|
|
|
ripple?: boolean;
|
2024-05-27 10:28:07 +00:00
|
|
|
/**
|
|
|
|
* @deprecated since v4.0. Use 'inputVariant' instead.
|
|
|
|
*/
|
2024-02-01 13:11:24 +00:00
|
|
|
inputStyle?: 'filled' | 'outlined' | undefined;
|
2024-05-27 10:28:07 +00:00
|
|
|
inputVariant?: 'filled' | 'outlined' | undefined;
|
2020-12-10 08:03:08 +00:00
|
|
|
locale?: PrimeVueLocaleOptions;
|
2022-08-16 12:44:51 +00:00
|
|
|
filterMatchModeOptions?: any;
|
|
|
|
zIndex?: PrimeVueZIndexOptions;
|
2024-04-01 13:58:07 +00:00
|
|
|
theme?: any;
|
|
|
|
unstyled?: boolean;
|
2023-09-05 11:28:04 +00:00
|
|
|
pt?: PassThrough<PrimeVuePTOptions>;
|
2023-09-20 11:25:33 +00:00
|
|
|
ptOptions?: PassThroughOptions;
|
2023-08-11 01:34:02 +00:00
|
|
|
csp?: PrimeVueCSPOptions;
|
2022-08-16 12:44:51 +00:00
|
|
|
}
|
|
|
|
|
2023-10-10 23:00:45 +00:00
|
|
|
export declare const defaultOptions: PrimeVueConfiguration;
|
|
|
|
|
2023-07-10 22:16:13 +00:00
|
|
|
export interface PrimeVueZIndexOptions {
|
2022-08-16 12:44:51 +00:00
|
|
|
modal?: number;
|
|
|
|
overlay?: number;
|
|
|
|
menu?: number;
|
|
|
|
tooltip?: number;
|
2020-12-10 08:03:08 +00:00
|
|
|
}
|
|
|
|
|
2023-08-11 01:34:02 +00:00
|
|
|
export interface PrimeVueCSPOptions {
|
|
|
|
nonce?: string;
|
|
|
|
}
|
|
|
|
|
2023-07-10 22:16:13 +00:00
|
|
|
export interface PrimeVuePTOptions {
|
2023-09-05 11:28:04 +00:00
|
|
|
accordion?: DefaultPassThrough<AccordionPassThroughOptions>;
|
2024-04-24 22:43:21 +00:00
|
|
|
accordionpanel?: DefaultPassThrough<AccordionPanelPassThroughOptions>;
|
|
|
|
accordionheader?: DefaultPassThrough<AccordionHeaderPassThroughOptions>;
|
|
|
|
accordioncontent?: DefaultPassThrough<AccordionContentPassThroughOptions>;
|
|
|
|
/**
|
|
|
|
* @deprecated since v4. Use the new structure of Accordion instead.
|
|
|
|
*/
|
2023-09-05 11:28:04 +00:00
|
|
|
accordiontab?: DefaultPassThrough<AccordionTabPassThroughOptions>;
|
|
|
|
autocomplete?: DefaultPassThrough<AutoCompletePassThroughOptions>;
|
|
|
|
avatar?: DefaultPassThrough<AvatarPassThroughOptions>;
|
|
|
|
avatargroup?: DefaultPassThrough<AvatarGroupPassThroughOptions>;
|
|
|
|
badge?: DefaultPassThrough<BadgePassThroughOptions>;
|
|
|
|
blockui?: DefaultPassThrough<BlockUIPassThroughOptions>;
|
|
|
|
breadcrumb?: DefaultPassThrough<BreadcrumbPassThroughOptions>;
|
|
|
|
button?: DefaultPassThrough<ButtonPassThroughOptions>;
|
2024-04-26 11:35:19 +00:00
|
|
|
/**
|
|
|
|
* @deprecated since v4. Use the new structure of DatePicker instead.
|
|
|
|
*/
|
2023-09-05 11:28:04 +00:00
|
|
|
calendar?: DefaultPassThrough<CalendarPassThroughOptions>;
|
|
|
|
card?: DefaultPassThrough<CardPassThroughOptions>;
|
|
|
|
carousel?: DefaultPassThrough<CarouselPassThroughOptions>;
|
|
|
|
cascadeselect?: DefaultPassThrough<CascadeSelectPassThroughOptions>;
|
|
|
|
chart?: DefaultPassThrough<ChartPassThroughOptions>;
|
|
|
|
checkbox?: DefaultPassThrough<CheckboxPassThroughOptions>;
|
|
|
|
chip?: DefaultPassThrough<ChipPassThroughOptions>;
|
2024-04-26 11:35:19 +00:00
|
|
|
/**
|
|
|
|
* @deprecated since v4. Use the new structure of InputChips instead.
|
|
|
|
*/
|
2023-09-05 11:28:04 +00:00
|
|
|
chips?: DefaultPassThrough<ChipsPassThroughOptions>;
|
|
|
|
colorpicker?: DefaultPassThrough<ColorPickerPassThroughOptions>;
|
|
|
|
column?: DefaultPassThrough<ColumnPassThroughOptions>;
|
|
|
|
columngroup?: DefaultPassThrough<ColumnGroupPassThroughOptions>;
|
|
|
|
confirmdialog?: DefaultPassThrough<ConfirmDialogPassThroughOptions>;
|
|
|
|
confirmpopup?: DefaultPassThrough<ConfirmPopupPassThroughOptions>;
|
|
|
|
contextmenu?: DefaultPassThrough<ContextMenuPassThroughOptions>;
|
|
|
|
datatable?: DefaultPassThrough<DataTablePassThroughOptions>;
|
|
|
|
dataview?: DefaultPassThrough<DataViewPassThroughOptions>;
|
2024-04-18 14:37:42 +00:00
|
|
|
datepicker?: DefaultPassThrough<DatePickerPassThroughOptions>;
|
2023-09-05 11:28:04 +00:00
|
|
|
deferredcontent?: DefaultPassThrough<DeferredContentPassThroughOptions>;
|
|
|
|
divider?: DefaultPassThrough<DividerPassThroughOptions>;
|
|
|
|
dialog?: DefaultPassThrough<DialogPassThroughOptions>;
|
|
|
|
dock?: DefaultPassThrough<DockPassThroughOptions>;
|
2024-04-18 14:37:42 +00:00
|
|
|
drawer?: DefaultPassThrough<DrawerPassThroughOptions>;
|
2024-04-26 11:35:19 +00:00
|
|
|
/**
|
|
|
|
* @deprecated since v4. Use the new structure of Select instead.
|
|
|
|
*/
|
2023-09-05 11:28:04 +00:00
|
|
|
dropdown?: DefaultPassThrough<DropdownPassThroughOptions>;
|
|
|
|
dynamicdialog?: DefaultPassThrough<DialogPassThroughOptions>;
|
|
|
|
editor?: DefaultPassThrough<EditorPassThroughOptions>;
|
|
|
|
fieldset?: DefaultPassThrough<FieldsetPassThroughOptions>;
|
|
|
|
fileupload?: DefaultPassThrough<FileUploadPassThroughOptions>;
|
|
|
|
galleria?: DefaultPassThrough<GalleriaPassThroughOptions>;
|
|
|
|
image?: DefaultPassThrough<ImagePassThroughOptions>;
|
|
|
|
inlinemessage?: DefaultPassThrough<InlineMessagePassThroughOptions>;
|
|
|
|
inplace?: DefaultPassThrough<InplacePassThroughOptions>;
|
2024-04-18 14:37:42 +00:00
|
|
|
inputchips?: DefaultPassThrough<InputChipsPassThroughOptions>;
|
2023-09-05 11:28:04 +00:00
|
|
|
inputmask?: DefaultPassThrough<InputMaskPassThroughOptions>;
|
|
|
|
inputnumber?: DefaultPassThrough<InputNumberPassThroughOptions>;
|
2024-04-26 11:35:19 +00:00
|
|
|
/**
|
|
|
|
* @deprecated since v4. Use the new structure of ToggleSwitch instead.
|
|
|
|
*/
|
2023-09-05 11:28:04 +00:00
|
|
|
inputswitch?: DefaultPassThrough<InputSwitchPassThroughOptions>;
|
|
|
|
inputtext?: DefaultPassThrough<InputTextPassThroughOptions>;
|
|
|
|
knob?: DefaultPassThrough<KnobPassThroughOptions>;
|
|
|
|
listbox?: DefaultPassThrough<ListboxPassThroughOptions>;
|
|
|
|
megamenu?: DefaultPassThrough<MegaMenuPassThroughOptions>;
|
|
|
|
menu?: DefaultPassThrough<MenuPassThroughOptions>;
|
|
|
|
menubar?: DefaultPassThrough<MenubarPassThroughOptions>;
|
|
|
|
message?: DefaultPassThrough<MessagePassThroughOptions>;
|
|
|
|
multiselect?: DefaultPassThrough<MultiSelectPassThroughOptions>;
|
|
|
|
orderlist?: DefaultPassThrough<OrderListPassThroughOptions>;
|
|
|
|
organizationchart?: DefaultPassThrough<OrganizationChartPassThroughOptions>;
|
2024-04-26 11:35:19 +00:00
|
|
|
/**
|
|
|
|
* @deprecated since v4. Use the new structure of Popover instead.
|
|
|
|
*/
|
2023-09-05 11:28:04 +00:00
|
|
|
overlaypanel?: DefaultPassThrough<OverlayPanelPassThroughOptions>;
|
|
|
|
paginator?: DefaultPassThrough<PaginatorPassThroughOptions>;
|
|
|
|
panel?: DefaultPassThrough<PanelPassThroughOptions>;
|
|
|
|
panelmenu?: DefaultPassThrough<PanelMenuPassThroughOptions>;
|
|
|
|
password?: DefaultPassThrough<PasswordPassThroughOptions>;
|
|
|
|
picklist?: DefaultPassThrough<PickListPassThroughOptions>;
|
2024-04-18 14:37:42 +00:00
|
|
|
popover?: DefaultPassThrough<PopoverPassThroughOptions>;
|
2023-09-05 11:28:04 +00:00
|
|
|
progressbar?: DefaultPassThrough<ProgressBarPassThroughOptions>;
|
|
|
|
progressspinner?: DefaultPassThrough<ProgressSpinnerPassThroughOptions>;
|
|
|
|
radiobutton?: DefaultPassThrough<RadioButtonPassThroughOptions>;
|
|
|
|
rating?: DefaultPassThrough<RatingPassThroughOptions>;
|
|
|
|
row?: DefaultPassThrough<RowPassThroughOptions>;
|
|
|
|
scrollpanel?: DefaultPassThrough<ScrollPanelPassThroughOptions>;
|
|
|
|
scrolltop?: DefaultPassThrough<ScrollTopPassThroughOptions>;
|
2024-04-26 11:35:19 +00:00
|
|
|
/**
|
|
|
|
* @deprecated since v4. Use the new structure of Drawer instead.
|
|
|
|
*/
|
2023-09-05 11:28:04 +00:00
|
|
|
sidebar?: DefaultPassThrough<SidebarPassThroughOptions>;
|
|
|
|
skeleton?: DefaultPassThrough<SkeletonPassThroughOptions>;
|
|
|
|
slider?: DefaultPassThrough<SliderPassThroughOptions>;
|
|
|
|
speeddial?: DefaultPassThrough<SpeedDialPassThroughOptions>;
|
|
|
|
selectbutton?: DefaultPassThrough<SelectButtonPassThroughOptions>;
|
2024-04-18 14:37:42 +00:00
|
|
|
select?: DefaultPassThrough<SelectPassThroughOptions>;
|
2023-09-05 11:28:04 +00:00
|
|
|
splitbutton?: DefaultPassThrough<SplitButtonPassThroughOptions>;
|
|
|
|
splitter?: DefaultPassThrough<SplitterPassThroughOptions>;
|
|
|
|
splitterpanel?: DefaultPassThrough<SplitterPanelPassThroughOptions>;
|
|
|
|
steps?: DefaultPassThrough<StepsPassThroughOptions>;
|
|
|
|
tabmenu?: DefaultPassThrough<TabMenuPassThroughOptions>;
|
2024-04-24 22:43:21 +00:00
|
|
|
tabs?: DefaultPassThrough<TabsPassThroughOptions>;
|
|
|
|
tablist?: DefaultPassThrough<TabListPassThroughOptions>;
|
|
|
|
tab?: DefaultPassThrough<TabPassThroughOptions>;
|
|
|
|
tabpanels?: DefaultPassThrough<TabPanelsPassThroughOptions>;
|
2023-09-05 11:28:04 +00:00
|
|
|
tabpanel?: DefaultPassThrough<TabPanelPassThroughOptions>;
|
2024-04-24 22:43:21 +00:00
|
|
|
/**
|
|
|
|
* @deprecated since v4. Use tabs instead.
|
|
|
|
*/
|
2023-09-05 11:28:04 +00:00
|
|
|
tabview?: DefaultPassThrough<TabViewPassThroughOptions>;
|
|
|
|
tag?: DefaultPassThrough<TagPassThroughOptions>;
|
|
|
|
terminal?: DefaultPassThrough<TerminalPassThroughOptions>;
|
|
|
|
textarea?: DefaultPassThrough<TextareaPassThroughOptions>;
|
|
|
|
tieredmenu?: DefaultPassThrough<TieredMenuPassThroughOptions>;
|
|
|
|
timeline?: DefaultPassThrough<TimelinePassThroughOptions>;
|
|
|
|
toast?: DefaultPassThrough<ToastPassThroughOptions>;
|
|
|
|
togglebutton?: DefaultPassThrough<ToggleButtonPassThroughOptions>;
|
2024-04-18 14:37:42 +00:00
|
|
|
toggleswitch?: DefaultPassThrough<ToggleSwitchPassThroughOptions>;
|
2023-09-05 11:28:04 +00:00
|
|
|
toolbar?: DefaultPassThrough<ToolbarPassThroughOptions>;
|
|
|
|
tree?: DefaultPassThrough<TreePassThroughOptions>;
|
|
|
|
treeselect?: DefaultPassThrough<TreeSelectPassThroughOptions>;
|
|
|
|
treetable?: DefaultPassThrough<TreeTablePassThroughOptions>;
|
|
|
|
virtualscroller?: DefaultPassThrough<VirtualScrollerPassThroughOptions>;
|
2023-07-06 11:09:01 +00:00
|
|
|
directives?: {
|
|
|
|
badge?: BadgeDirectivePassThroughOptions;
|
|
|
|
tooltip?: TooltipDirectivePassThroughOptions;
|
|
|
|
styleclass?: StyleClassDirectivePassThroughOptions;
|
|
|
|
focustrap?: FocusTrapDirectivePassThroughOptions;
|
|
|
|
ripple?: RippleDirectivePassThroughOptions;
|
2023-10-24 13:44:43 +00:00
|
|
|
animate?: AnimateOnScrollDirectivePassThroughOptions;
|
2023-07-06 11:09:01 +00:00
|
|
|
};
|
2023-08-02 10:39:12 +00:00
|
|
|
global?: {
|
2024-02-07 11:46:02 +00:00
|
|
|
css?: ((options: any) => string | undefined) | string | undefined;
|
2023-08-02 10:39:12 +00:00
|
|
|
};
|
2023-04-25 11:36:01 +00:00
|
|
|
}
|
|
|
|
|
2023-07-10 22:16:13 +00:00
|
|
|
export interface PrimeVueLocaleAriaOptions {
|
2022-07-18 10:36:43 +00:00
|
|
|
trueLabel?: string;
|
|
|
|
falseLabel?: string;
|
|
|
|
nullLabel?: string;
|
2022-08-16 12:44:51 +00:00
|
|
|
star?: string;
|
|
|
|
stars?: string;
|
|
|
|
selectAll?: string;
|
|
|
|
unselectAll?: string;
|
|
|
|
close?: string;
|
2022-09-14 11:26:01 +00:00
|
|
|
previous?: string;
|
|
|
|
next?: string;
|
2022-12-08 11:04:25 +00:00
|
|
|
navigation?: string;
|
|
|
|
scrollTop?: string;
|
|
|
|
moveUp?: string;
|
|
|
|
moveTop?: string;
|
|
|
|
moveDown?: string;
|
|
|
|
moveBottom?: string;
|
|
|
|
moveToTarget?: string;
|
|
|
|
moveToSource?: string;
|
|
|
|
moveAllToTarget?: string;
|
|
|
|
moveAllToSource?: string;
|
|
|
|
pageLabel?: string;
|
|
|
|
firstPageLabel?: string;
|
|
|
|
lastPageLabel?: string;
|
|
|
|
nextPageLabel?: string;
|
|
|
|
prevPageLabel?: string;
|
|
|
|
rowsPerPageLabel?: string;
|
|
|
|
jumpToPageDropdownLabel?: string;
|
|
|
|
jumpToPageInputLabel?: string;
|
|
|
|
selectRow?: string;
|
|
|
|
unselectRow?: string;
|
|
|
|
expandRow?: string;
|
|
|
|
collapseRow?: string;
|
|
|
|
showFilterMenu?: string;
|
|
|
|
hideFilterMenu?: string;
|
|
|
|
filterOperator?: string;
|
|
|
|
filterConstraint?: string;
|
|
|
|
editRow?: string;
|
|
|
|
saveEdit?: string;
|
|
|
|
cancelEdit?: string;
|
|
|
|
listView?: string;
|
|
|
|
gridView?: string;
|
|
|
|
slide?: string;
|
|
|
|
slideNumber?: string;
|
|
|
|
zoomImage?: string;
|
|
|
|
zoomIn?: string;
|
|
|
|
zoomOut?: string;
|
|
|
|
rotateRight?: string;
|
|
|
|
rotateLeft?: string;
|
2024-04-24 06:03:12 +00:00
|
|
|
listLabel?: string;
|
2022-07-18 10:36:43 +00:00
|
|
|
}
|
|
|
|
|
2023-07-10 22:16:13 +00:00
|
|
|
export interface PrimeVueLocaleOptions {
|
2021-02-16 13:07:15 +00:00
|
|
|
startsWith?: string;
|
|
|
|
contains?: string;
|
|
|
|
notContains?: string;
|
2023-01-27 11:21:11 +00:00
|
|
|
endsWith?: string;
|
2021-02-16 13:07:15 +00:00
|
|
|
equals?: string;
|
|
|
|
notEquals?: string;
|
|
|
|
noFilter?: string;
|
|
|
|
lt?: string;
|
|
|
|
lte?: string;
|
|
|
|
gt?: string;
|
|
|
|
gte?: string;
|
|
|
|
dateIs?: string;
|
|
|
|
dateIsNot?: string;
|
|
|
|
dateBefore?: string;
|
|
|
|
dateAfter?: string;
|
|
|
|
clear?: string;
|
|
|
|
apply?: string;
|
|
|
|
matchAll?: string;
|
|
|
|
matchAny?: string;
|
|
|
|
addRule?: string;
|
|
|
|
removeRule?: string;
|
2020-12-10 08:03:08 +00:00
|
|
|
accept?: string;
|
|
|
|
reject?: string;
|
|
|
|
choose?: string;
|
|
|
|
upload?: string;
|
|
|
|
cancel?: string;
|
2022-12-08 11:04:25 +00:00
|
|
|
completed?: string;
|
|
|
|
pending?: string;
|
2023-09-05 02:01:27 +00:00
|
|
|
fileSizeTypes: string[];
|
2020-12-10 08:03:08 +00:00
|
|
|
dayNames: string[];
|
|
|
|
dayNamesShort: string[];
|
|
|
|
dayNamesMin: string[];
|
|
|
|
monthNames: string[];
|
|
|
|
monthNamesShort: string[];
|
2022-08-16 12:44:51 +00:00
|
|
|
chooseYear?: string;
|
|
|
|
chooseMonth?: string;
|
|
|
|
chooseDate?: string;
|
|
|
|
prevDecade?: string;
|
|
|
|
nextDecade?: string;
|
|
|
|
prevYear?: string;
|
|
|
|
nextYear?: string;
|
|
|
|
prevMonth?: string;
|
|
|
|
nextMonth?: string;
|
|
|
|
prevHour?: string;
|
|
|
|
nextHour?: string;
|
|
|
|
prevMinute?: string;
|
|
|
|
nextMinute?: string;
|
|
|
|
prevSecond?: string;
|
|
|
|
nextSecond?: string;
|
|
|
|
am?: string;
|
|
|
|
pm?: string;
|
2020-12-10 08:03:08 +00:00
|
|
|
today?: string;
|
|
|
|
weekHeader?: string;
|
|
|
|
firstDayOfWeek?: number;
|
2023-07-09 14:46:01 +00:00
|
|
|
showMonthAfterYear?: boolean;
|
2020-12-10 08:03:08 +00:00
|
|
|
dateFormat?: string;
|
|
|
|
weak?: string;
|
|
|
|
medium?: string;
|
|
|
|
strong?: string;
|
|
|
|
passwordPrompt?: string;
|
2021-02-16 13:07:15 +00:00
|
|
|
emptyFilterMessage?: string;
|
2022-08-16 12:44:51 +00:00
|
|
|
searchMessage?: string;
|
|
|
|
selectionMessage?: string;
|
|
|
|
emptySelectionMessage?: string;
|
|
|
|
emptySearchMessage?: string;
|
2021-02-16 13:07:15 +00:00
|
|
|
emptyMessage?: string;
|
2024-05-09 14:46:20 +00:00
|
|
|
fileChosenMessage?: string;
|
2024-05-13 12:35:52 +00:00
|
|
|
noFileChosenMessage?: string;
|
2022-07-18 10:36:43 +00:00
|
|
|
aria?: PrimeVueLocaleAriaOptions;
|
2020-12-10 08:03:08 +00:00
|
|
|
}
|
|
|
|
|
2023-07-10 22:12:26 +00:00
|
|
|
export declare function usePrimeVue(): {
|
|
|
|
config: PrimeVueConfiguration;
|
|
|
|
};
|
2020-12-10 08:03:08 +00:00
|
|
|
|
2021-04-10 17:33:00 +00:00
|
|
|
declare const plugin: Plugin;
|
|
|
|
export default plugin;
|
2020-12-10 08:03:08 +00:00
|
|
|
|
|
|
|
declare module 'vue/types/vue' {
|
|
|
|
interface Vue {
|
2020-12-10 12:38:14 +00:00
|
|
|
$primevue: {
|
|
|
|
config: PrimeVueConfiguration;
|
2022-09-14 11:26:01 +00:00
|
|
|
};
|
2020-12-10 08:03:08 +00:00
|
|
|
}
|
2021-06-09 10:57:48 +00:00
|
|
|
}
|
2022-03-15 09:23:06 +00:00
|
|
|
|
|
|
|
declare module '@vue/runtime-core' {
|
|
|
|
interface ComponentCustomProperties {
|
|
|
|
$primevue: {
|
|
|
|
config: PrimeVueConfiguration;
|
2022-09-14 11:26:01 +00:00
|
|
|
};
|
2022-03-15 09:23:06 +00:00
|
|
|
}
|
|
|
|
}
|