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

157 lines
3.5 KiB
TypeScript
Raw Normal View History

2022-12-08 11:04:25 +00:00
import { Plugin } from 'vue';
interface PrimeVueConfiguration {
ripple?: boolean;
inputStyle?: string;
locale?: PrimeVueLocaleOptions;
filterMatchModeOptions?: any;
zIndex?: PrimeVueZIndexOptions;
}
interface PrimeVueZIndexOptions {
modal?: number;
overlay?: number;
menu?: number;
tooltip?: number;
}
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
};
}
}