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';
|
|
|
|
import { AvatarPassThroughOptions } from '../avatar';
|
|
|
|
import { BadgePassThroughOptions } from '../badge';
|
|
|
|
import { BlockUIPassThroughOptions } from '../blockui';
|
|
|
|
import { BreadcrumbPassThroughOptions } from '../breadcrumb';
|
|
|
|
import { ButtonPassThroughOptions } from '../button';
|
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-03 14:40:21 +00:00
|
|
|
import { ChartPassThroughOptions } from '../chart';
|
|
|
|
import { ChipPassThroughOptions } from '../chip';
|
|
|
|
import { ConfirmDialogPassThroughOptions } from '../confirmdialog';
|
|
|
|
import { ConfirmPopupPassThroughOptions } from '../confirmpopup';
|
|
|
|
import { ContextMenuPassThroughOptions } from '../contextmenu';
|
|
|
|
import { DeferredContentPassThroughOptions } from '../deferredcontent';
|
|
|
|
import { DialogPassThroughOptions } from '../dialog';
|
|
|
|
import { DividerPassThroughOptions } from '../divider';
|
|
|
|
import { DockPassThroughOptions } from '../dock';
|
|
|
|
import { FieldsetPassThroughOptions } from '../fieldset';
|
|
|
|
import { FileUploadPassThroughOptions } from '../fileupload';
|
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';
|
|
|
|
import { MegaMenuPassThroughOptions } from '../megamenu';
|
|
|
|
import { MenuPassThroughOptions } from '../menu';
|
|
|
|
import { MenubarPassThroughOptions } from '../menubar';
|
|
|
|
import { MessagePassThroughOptions } from '../message';
|
|
|
|
import { OverlayPanelPassThroughOptions } from '../overlaypanel';
|
2023-04-25 11:36:01 +00:00
|
|
|
import { PanelPassThroughOptions } from '../panel';
|
2023-05-03 14:40:21 +00:00
|
|
|
import { PanelMenuPassThroughOptions } from '../panelmenu';
|
|
|
|
import { ProgressBarPassThroughOptions } from '../progressbar';
|
|
|
|
import { ProgressSpinnerPassThroughOptions } from '../progressspinner';
|
|
|
|
import { ScrollPanelPassThroughOptions } from '../scrollpanel';
|
|
|
|
import { ScrollTopPassThroughOptions } from '../scrolltop';
|
|
|
|
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';
|
|
|
|
import { TieredMenuPassThroughOptions } from '../tieredmenu';
|
|
|
|
import { ToastPassThroughOptions } from '../toast';
|
|
|
|
import { ToolbarPassThroughOptions } from '../toolbar';
|
2020-12-10 08:03:08 +00:00
|
|
|
|
|
|
|
interface PrimeVueConfiguration {
|
|
|
|
ripple?: boolean;
|
2021-05-12 09:13:50 +00:00
|
|
|
inputStyle?: string;
|
2020-12-10 08:03:08 +00:00
|
|
|
locale?: PrimeVueLocaleOptions;
|
2022-08-16 12:44:51 +00:00
|
|
|
filterMatchModeOptions?: any;
|
|
|
|
zIndex?: PrimeVueZIndexOptions;
|
2023-04-25 11:36:01 +00:00
|
|
|
pt?: PrimeVuePTOptions;
|
2022-08-16 12:44:51 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
interface PrimeVueZIndexOptions {
|
|
|
|
modal?: number;
|
|
|
|
overlay?: number;
|
|
|
|
menu?: number;
|
|
|
|
tooltip?: number;
|
2020-12-10 08:03:08 +00:00
|
|
|
}
|
|
|
|
|
2023-04-25 11:36:01 +00:00
|
|
|
interface PrimeVuePTOptions {
|
2023-05-03 14:40:21 +00:00
|
|
|
accordion?: AccordionPassThroughOptions;
|
|
|
|
accordiontab?: AccordionTabPassThroughOptions;
|
|
|
|
avatar?: AvatarPassThroughOptions;
|
|
|
|
badge?: BadgePassThroughOptions;
|
|
|
|
blockui?: BlockUIPassThroughOptions;
|
|
|
|
breadcrumb?: BreadcrumbPassThroughOptions;
|
|
|
|
button?: ButtonPassThroughOptions;
|
2023-04-25 11:36:01 +00:00
|
|
|
card?: CardPassThroughOptions;
|
2023-05-04 07:46:18 +00:00
|
|
|
carousel?: CarouselPassThroughOptions;
|
2023-05-03 14:40:21 +00:00
|
|
|
chart?: ChartPassThroughOptions;
|
|
|
|
chip?: ChipPassThroughOptions;
|
|
|
|
confirmdialog?: ConfirmDialogPassThroughOptions;
|
|
|
|
confirmpopup?: ConfirmPopupPassThroughOptions;
|
|
|
|
contextmenu?: ContextMenuPassThroughOptions;
|
|
|
|
deferredcontent?: DeferredContentPassThroughOptions;
|
|
|
|
divider?: DividerPassThroughOptions;
|
|
|
|
dialog?: DialogPassThroughOptions;
|
|
|
|
dock?: DockPassThroughOptions;
|
|
|
|
dynamicdialog?: DialogPassThroughOptions;
|
|
|
|
fieldset?: FieldsetPassThroughOptions;
|
|
|
|
fileupload?: FileUploadPassThroughOptions;
|
2023-05-04 07:45:01 +00:00
|
|
|
image?: ImagePassThroughOptions;
|
2023-05-03 14:40:21 +00:00
|
|
|
inlinemessage?: InlineMessagePassThroughOptions;
|
|
|
|
inplace?: InplacePassThroughOptions;
|
|
|
|
megamenu?: MegaMenuPassThroughOptions;
|
|
|
|
menu?: MenuPassThroughOptions;
|
|
|
|
menubar?: MenubarPassThroughOptions;
|
|
|
|
message?: MessagePassThroughOptions;
|
|
|
|
overlaypanel?: OverlayPanelPassThroughOptions;
|
|
|
|
panel?: PanelPassThroughOptions;
|
|
|
|
panelmenu?: PanelMenuPassThroughOptions;
|
|
|
|
progressbar?: ProgressBarPassThroughOptions;
|
|
|
|
progressspinner?: ProgressSpinnerPassThroughOptions;
|
|
|
|
scrollpanel?: ScrollPanelPassThroughOptions;
|
|
|
|
scrolltop?: ScrollTopPassThroughOptions;
|
|
|
|
sidebar?: SidebarPassThroughOptions;
|
|
|
|
skeleton?: SkeletonPassThroughOptions;
|
|
|
|
speeddial?: SpeedDialPassThroughOptions;
|
|
|
|
splitbutton?: SplitButtonPassThroughOptions;
|
|
|
|
splitter?: SplitterPassThroughOptions;
|
|
|
|
steps?: PanelMenuPassThroughOptions;
|
|
|
|
tabmenu?: TabMenuPassThroughOptions;
|
|
|
|
tabpanel?: TabPanelPassThroughOptions;
|
|
|
|
tabview?: TabViewPassThroughOptions;
|
|
|
|
tag?: TagPassThroughOptions;
|
|
|
|
terminal?: TerminalPassThroughOptions;
|
|
|
|
tieredmenu?: TieredMenuPassThroughOptions;
|
|
|
|
toast?: ToastPassThroughOptions;
|
|
|
|
toolbar?: ToolbarPassThroughOptions;
|
2023-04-25 11:36:01 +00:00
|
|
|
}
|
|
|
|
|
2022-07-18 10:36:43 +00:00
|
|
|
interface PrimeVueLocaleAriaOptions {
|
|
|
|
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;
|
2022-07-18 10:36:43 +00:00
|
|
|
}
|
|
|
|
|
2020-12-10 08:03:08 +00:00
|
|
|
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;
|
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;
|
|
|
|
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;
|
2022-07-18 10:36:43 +00:00
|
|
|
aria?: PrimeVueLocaleAriaOptions;
|
2020-12-10 08:03:08 +00:00
|
|
|
}
|
|
|
|
|
2021-06-09 10:57:48 +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
|
|
|
}
|
|
|
|
}
|