primevue-mirror/components/lib/config/PrimeVue.d.ts

326 lines
13 KiB
TypeScript
Raw Normal View History

2022-12-08 11:04:25 +00:00
import { Plugin } from 'vue';
2023-05-03 14:40:21 +00:00
import { AccordionPassThroughOptions } from '../accordion';
import { AccordionTabPassThroughOptions } from '../accordiontab';
2023-05-05 06:40:09 +00:00
import { AutoCompletePassThroughOptions } from '../autocomplete';
2023-05-03 14:40:21 +00:00
import { AvatarPassThroughOptions } from '../avatar';
import { BadgePassThroughOptions } from '../badge';
import { BlockUIPassThroughOptions } from '../blockui';
import { BreadcrumbPassThroughOptions } from '../breadcrumb';
import { ButtonPassThroughOptions } from '../button';
2023-05-04 14:50:30 +00:00
import { CalendarPassThroughOptions } from '../calendar';
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-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';
import { DataViewPassThroughOptions } from '../dataview';
import { DataViewLayoutOptionsPassThroughOptions } from '../dataviewlayoutoptions';
2023-05-03 14:40:21 +00:00
import { DeferredContentPassThroughOptions } from '../deferredcontent';
import { DialogPassThroughOptions } from '../dialog';
import { DividerPassThroughOptions } from '../divider';
import { DockPassThroughOptions } from '../dock';
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-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';
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';
import { PanelPassThroughOptions } from '../panel';
2023-05-03 14:40:21 +00:00
import { PanelMenuPassThroughOptions } from '../panelmenu';
2023-05-05 14:58:54 +00:00
import { PasswordPassThroughOptions } from '../password';
2023-05-09 22:03:24 +00:00
import { PickListPassThroughOptions } from '../picklist';
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-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';
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';
import { SpeedDialPassThroughOptions } from '../speeddial';
import { SplitButtonPassThroughOptions } from '../splitbutton';
import { SplitterPassThroughOptions } from '../splitter';
import { TabMenuPassThroughOptions } from '../tabmenu';
import { TabPanelPassThroughOptions } from '../tabpanel';
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';
import { ToolbarPassThroughOptions } from '../toolbar';
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-05-10 11:49:54 +00:00
import { DefaultPTOptions } from '../ts-helpers';
2023-05-05 06:37:18 +00:00
import { VirtualScrollerPassThroughOptions } from '../virtualscroller';
interface PrimeVueConfiguration {
ripple?: boolean;
inputStyle?: string;
locale?: PrimeVueLocaleOptions;
filterMatchModeOptions?: any;
zIndex?: PrimeVueZIndexOptions;
pt?: PrimeVuePTOptions;
}
interface PrimeVueZIndexOptions {
modal?: number;
overlay?: number;
menu?: number;
tooltip?: number;
}
interface PrimeVuePTOptions {
2023-05-10 11:49:54 +00:00
accordion?: DefaultPTOptions<AccordionPassThroughOptions>;
accordiontab?: DefaultPTOptions<AccordionTabPassThroughOptions>;
autocomplete?: DefaultPTOptions<AutoCompletePassThroughOptions>;
avatar?: DefaultPTOptions<AvatarPassThroughOptions>;
badge?: DefaultPTOptions<BadgePassThroughOptions>;
blockui?: DefaultPTOptions<BlockUIPassThroughOptions>;
breadcrumb?: DefaultPTOptions<BreadcrumbPassThroughOptions>;
button?: DefaultPTOptions<ButtonPassThroughOptions>;
calendar?: DefaultPTOptions<CalendarPassThroughOptions>;
card?: DefaultPTOptions<CardPassThroughOptions>;
carousel?: DefaultPTOptions<CarouselPassThroughOptions>;
cascadeselect?: DefaultPTOptions<CascadeSelectPassThroughOptions>;
chart?: DefaultPTOptions<ChartPassThroughOptions>;
checkbox?: DefaultPTOptions<CheckboxPassThroughOptions>;
chip?: DefaultPTOptions<ChipPassThroughOptions>;
chips?: DefaultPTOptions<ChipsPassThroughOptions>;
colorpicker?: DefaultPTOptions<ColorPickerPassThroughOptions>;
columngroup?: DefaultPTOptions<ColumnGroupPassThroughOptions>;
confirmdialog?: DefaultPTOptions<ConfirmDialogPassThroughOptions>;
confirmpopup?: DefaultPTOptions<ConfirmPopupPassThroughOptions>;
contextmenu?: DefaultPTOptions<ContextMenuPassThroughOptions>;
datatable?: DefaultPTOptions<DataTablePassThroughOptions>;
dataview?: DefaultPTOptions<DataViewPassThroughOptions>;
dataviewlayoutoptions?: DefaultPTOptions<DataViewLayoutOptionsPassThroughOptions>;
deferredcontent?: DefaultPTOptions<DeferredContentPassThroughOptions>;
divider?: DefaultPTOptions<DividerPassThroughOptions>;
dialog?: DefaultPTOptions<DialogPassThroughOptions>;
dock?: DefaultPTOptions<DockPassThroughOptions>;
dropdown?: DefaultPTOptions<DropdownPassThroughOptions>;
dynamicdialog?: DefaultPTOptions<DialogPassThroughOptions>;
editor?: DefaultPTOptions<EditorPassThroughOptions>;
fieldset?: DefaultPTOptions<FieldsetPassThroughOptions>;
fileupload?: DefaultPTOptions<FileUploadPassThroughOptions>;
galleria?: DefaultPTOptions<GalleriaPassThroughOptions>;
image?: DefaultPTOptions<ImagePassThroughOptions>;
inlinemessage?: DefaultPTOptions<InlineMessagePassThroughOptions>;
inplace?: DefaultPTOptions<InplacePassThroughOptions>;
inputmask?: DefaultPTOptions<InputMaskPassThroughOptions>;
inputnumber?: DefaultPTOptions<InputNumberPassThroughOptions>;
inputswitch?: DefaultPTOptions<InputSwitchPassThroughOptions>;
inputtext?: DefaultPTOptions<InputTextPassThroughOptions>;
knob?: DefaultPTOptions<KnobPassThroughOptions>;
listbox?: DefaultPTOptions<ListboxPassThroughOptions>;
megamenu?: DefaultPTOptions<MegaMenuPassThroughOptions>;
menu?: DefaultPTOptions<MenuPassThroughOptions>;
menubar?: DefaultPTOptions<MenubarPassThroughOptions>;
message?: DefaultPTOptions<MessagePassThroughOptions>;
multiselect?: DefaultPTOptions<MultiSelectPassThroughOptions>;
orderlist?: DefaultPTOptions<OrderListPassThroughOptions>;
organizationchart?: DefaultPTOptions<OrganizationChartPassThroughOptions>;
overlaypanel?: DefaultPTOptions<OverlayPanelPassThroughOptions>;
paginator?: DefaultPTOptions<PaginatorPassThroughOptions>;
panel?: DefaultPTOptions<PanelPassThroughOptions>;
panelmenu?: DefaultPTOptions<PanelMenuPassThroughOptions>;
password?: DefaultPTOptions<PasswordPassThroughOptions>;
picklist?: DefaultPTOptions<PickListPassThroughOptions>;
progressbar?: DefaultPTOptions<ProgressBarPassThroughOptions>;
progressspinner?: DefaultPTOptions<ProgressSpinnerPassThroughOptions>;
radiobutton?: DefaultPTOptions<RadioButtonPassThroughOptions>;
row?: DefaultPTOptions<RowPassThroughOptions>;
scrollpanel?: DefaultPTOptions<ScrollPanelPassThroughOptions>;
scrolltop?: DefaultPTOptions<ScrollTopPassThroughOptions>;
sidebar?: DefaultPTOptions<SidebarPassThroughOptions>;
skeleton?: DefaultPTOptions<SkeletonPassThroughOptions>;
speeddial?: DefaultPTOptions<SpeedDialPassThroughOptions>;
selectbutton?: DefaultPTOptions<SelectButtonPassThroughOptions>;
splitbutton?: DefaultPTOptions<SplitButtonPassThroughOptions>;
splitter?: DefaultPTOptions<SplitterPassThroughOptions>;
steps?: DefaultPTOptions<PanelMenuPassThroughOptions>;
tabmenu?: DefaultPTOptions<TabMenuPassThroughOptions>;
tabpanel?: DefaultPTOptions<TabPanelPassThroughOptions>;
tabview?: DefaultPTOptions<TabViewPassThroughOptions>;
tag?: DefaultPTOptions<TagPassThroughOptions>;
terminal?: DefaultPTOptions<TerminalPassThroughOptions>;
textarea?: DefaultPTOptions<TextareaPassThroughOptions>;
tieredmenu?: DefaultPTOptions<TieredMenuPassThroughOptions>;
timeline?: DefaultPTOptions<TimelinePassThroughOptions>;
toast?: DefaultPTOptions<ToastPassThroughOptions>;
toolbar?: DefaultPTOptions<ToolbarPassThroughOptions>;
tree?: DefaultPTOptions<TreePassThroughOptions>;
treeselect?: DefaultPTOptions<TreeSelectPassThroughOptions>;
2023-05-11 08:11:49 +00:00
treetable?: DefaultPTOptions<TreeTablePassThroughOptions>;
2023-05-10 11:49:54 +00:00
virtualscroller?: DefaultPTOptions<VirtualScrollerPassThroughOptions>;
}
2022-07-18 10:36:43 +00:00
interface PrimeVueLocaleAriaOptions {
trueLabel?: string;
falseLabel?: string;
nullLabel?: string;
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;
2022-07-18 10:36:43 +00:00
}
interface PrimeVueLocaleOptions {
2021-02-16 13:07:15 +00:00
startsWith?: string;
contains?: string;
notContains?: string;
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;
accept?: string;
reject?: string;
choose?: string;
upload?: string;
cancel?: string;
2022-12-08 11:04:25 +00:00
completed?: string;
pending?: string;
dayNames: string[];
dayNamesShort: string[];
dayNamesMin: string[];
monthNames: string[];
monthNamesShort: string[];
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;
today?: string;
weekHeader?: string;
firstDayOfWeek?: number;
dateFormat?: string;
weak?: string;
medium?: string;
strong?: string;
passwordPrompt?: string;
2021-02-16 13:07:15 +00:00
emptyFilterMessage?: string;
searchMessage?: string;
selectionMessage?: string;
emptySelectionMessage?: string;
emptySearchMessage?: string;
2021-02-16 13:07:15 +00:00
emptyMessage?: string;
2022-07-18 10:36:43 +00:00
aria?: PrimeVueLocaleAriaOptions;
}
export declare function usePrimeVue(): { config: PrimeVueConfiguration };
declare const plugin: Plugin;
export default plugin;
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
};
}
}
declare module '@vue/runtime-core' {
interface ComponentCustomProperties {
$primevue: {
config: PrimeVueConfiguration;
2022-09-14 11:26:01 +00:00
};
}
}