primevue-mirror/components/api/Api.d.ts

326 lines
10 KiB
TypeScript

// Filter
export interface FilterMatchModeOptions {
readonly STARTS_WITH: string;
readonly CONTAINS: string;
readonly NOT_CONTAINS: string;
readonly ENDS_WITH: string;
readonly EQUALS: string;
readonly NOT_EQUALS: string;
readonly IN: string;
readonly LESS_THAN: string;
readonly LESS_THAN_OR_EQUAL_TO: string;
readonly GREATER_THAN: string;
readonly GREATER_THAN_OR_EQUAL_TO: string;
readonly BETWEEN: string;
readonly DATE_IS: string;
readonly DATE_IS_NOT: string;
readonly DATE_BEFORE: string;
readonly DATE_AFTER: string;
}
export declare const FilterMatchMode: FilterMatchModeOptions;
export interface FilterOperatorOptions {
readonly AND: string;
readonly OR: string;
}
export declare const FilterOperator: FilterOperatorOptions;
export declare namespace FilterService {
export function filter(value: any, fields: string[], filterValue: any, filterMatchMode: string, filterLocale?: string): any[];
export interface filters {
startsWith(value: any, filter: string, filterLocale?: string): boolean;
contains(value: any, filter: string, filterLocale?: string): boolean;
notContains(value: any, filter: string, filterLocale?: string): boolean;
endsWith(value: any, filter: string, filterLocale?: string): boolean;
equals(value: any, filter: string, filterLocale?: string): boolean;
notEquals(value: any, filter: string, filterLocale?: string): boolean;
in(value: any, filter: string): boolean;
between(value: any, filter: string): boolean;
lt(value: any, filter: string): boolean;
lte(value: any, filter: string): boolean;
gt(value: any, filter: string): boolean;
gte(value: any, filter: string): boolean;
dateIs(value: any, filter: string): boolean;
dateIsNot(value: any, filter: string): boolean;
dateBefore(value: any, filter: string): boolean;
dateAfter(value: any, filter: string): boolean;
}
export function register(rule: string, fn: (...arg: any[]) => boolean): void;
}
// Icons
export interface PrimeIconsOptions {
readonly ALIGN_CENTER: string;
readonly ALIGN_JUSTIFY: string;
readonly ALIGN_LEFT: string;
readonly ALIGN_RIGHT: string;
readonly AMAZON: string;
readonly ANDROID: string;
readonly ANGLE_DOUBLE_DOWN: string;
readonly ANGLE_DOUBLE_LEFT: string;
readonly ANGLE_DOUBLE_RIGHT: string;
readonly ANGLE_DOUBLE_UP: string;
readonly ANGLE_DOWN: string;
readonly ANGLE_LEFT: string;
readonly ANGLE_RIGHT: string;
readonly ANGLE_UP: string;
readonly APPLE: string;
readonly ARROW_CIRCLE_DOWN: string;
readonly ARROW_CIRCLE_LEFT: string;
readonly ARROW_CIRCLE_RIGHT: string;
readonly ARROW_CIRCLE_UP: string;
readonly ARROW_DOWN: string;
readonly ARROW_DOWN_LEFT: string;
readonly ARROW_DOWN_RIGHT: string;
readonly ARROW_LEFT: string;
readonly ARROW_RIGHT: string;
readonly ARROW_RIGHT_ARROW_LEFT: string;
readonly ARROW_UP: string;
readonly ARROW_UP_LEFT: string;
readonly ARROW_UP_RIGHT: string;
readonly ARROW_H: string;
readonly ARROW_V: string;
readonly ARROW_A: string;
readonly AT: string;
readonly BACKWARD: string;
readonly BAN: string;
readonly BARS: string;
readonly BELL: string;
readonly BITCOIN: string;
readonly BOLT: string;
readonly BOOK: string;
readonly BOOKMARK: string;
readonly BOOKMARK_FILL: string;
readonly BOX: string;
readonly BRIEFCASE: string;
readonly BUILDING: string;
readonly CALENDAR: string;
readonly CALENDAR_MINUS: string;
readonly CALENDAR_PLUS: string;
readonly CALENDAR_TIMES: string;
readonly CALCULATOR: string;
readonly CAMERA: string;
readonly CAR: string;
readonly CARET_DOWN: string;
readonly CARET_LEFT: string;
readonly CARET_RIGHT: string;
readonly CARET_UP: string;
readonly CART_PLUS: string;
readonly CHART_BAR: string;
readonly CHART_LINE: string;
readonly CHART_PIE: string;
readonly CHECK: string;
readonly CHECK_CIRCLE: string;
readonly CHECK_SQUARE: string;
readonly CHEVRON_CIRCLE_DOWN: string;
readonly CHEVRON_CIRCLE_LEFT: string;
readonly CHEVRON_CIRCLE_RIGHT: string;
readonly CHEVRON_CIRCLE_UP: string;
readonly CHEVRON_DOWN: string;
readonly CHEVRON_LEFT: string;
readonly CHEVRON_RIGHT: string;
readonly CHEVRON_UP: string;
readonly CIRCLE: string;
readonly CIRCLE_FILL: string;
readonly CLOCK: string;
readonly CLONE: string;
readonly CLOUD: string;
readonly CLOUD_DOWNLOAD: string;
readonly CLOUD_UPLOAD: string;
readonly CODE: string;
readonly COG: string;
readonly COMMENT: string;
readonly COMMENTS: string;
readonly COMPASS: string;
readonly COPY: string;
readonly CREDIT_CARD: string;
readonly DATABASE: string;
readonly DELETELEFT: string;
readonly DESKTOP: string;
readonly DIRECTIONS: string;
readonly DIRECTIONS_ALT: string;
readonly DISCORD: string;
readonly DOLLAR: string;
readonly DOWNLOAD: string;
readonly EJECT: string;
readonly ELLIPSIS_H: string;
readonly ELLIPSIS_V: string;
readonly ENVELOPE: string;
readonly ERASER: string;
readonly EURO: string;
readonly EXCLAMATION_CIRCLE: string;
readonly EXCLAMATION_TRIANGLE: string;
readonly EXTERNAL_LINK: string;
readonly EYE: string;
readonly EYE_SLASH: string;
readonly FACEBOOK: string;
readonly FAST_BACKWARD: string;
readonly FAST_FORWARD: string;
readonly FILE: string;
readonly FILE_EDIT: string;
readonly FILE_EXCEL: string;
readonly FILE_EXPORT: string;
readonly FILE_IMPORT: string;
readonly FILE_PDF: string;
readonly FILE_WORD: string;
readonly FILTER: string;
readonly FILTER_FILL: string;
readonly FILTER_SLASH: string;
readonly FLAG: string;
readonly FLAG_FILL: string;
readonly FOLDER: string;
readonly FOLDER_OPEN: string;
readonly FORWARD: string;
readonly GIFT: string;
readonly GITHUB: string;
readonly GLOBE: string;
readonly GOOGLE: string;
readonly HASHTAG: string;
readonly HEART: string;
readonly HEART_FILL: string;
readonly HISTORY: string;
readonly HOURGLASS: string;
readonly HOME: string;
readonly ID_CARD: string;
readonly IMAGE: string;
readonly IMAGES: string;
readonly INBOX: string;
readonly INFO: string;
readonly INFO_CIRCLE: string;
readonly INSTAGRAM: string;
readonly KEY: string;
readonly LANGUAGE: string;
readonly LINK: string;
readonly LINKEDIN: string;
readonly LIST: string;
readonly LOCK: string;
readonly LOCK_OPEN: string;
readonly MAP: string;
readonly MAP_MARKER: string;
readonly MEGAPHONE: string;
readonly MICREPHONE: string;
readonly MICROSOFT: string;
readonly MINUS: string;
readonly MINUS_CIRCLE: string;
readonly MOBILE: string;
readonly MONEY_BILL: string;
readonly MOON: string;
readonly PALETTE: string;
readonly PAPERCLIP: string;
readonly PAUSE: string;
readonly PAYPAL: string;
readonly PENCIL: string;
readonly PERCENTAGE: string;
readonly PHONE: string;
readonly PLAY: string;
readonly PLUS: string;
readonly PLUS_CIRCLE: string;
readonly POUND: string;
readonly POWER_OFF: string;
readonly PRIME: string;
readonly PRINT: string;
readonly QRCODE: string;
readonly QUESTION: string;
readonly QUESTION_CIRCLE: string;
readonly REDDIT: string;
readonly REFRESH: string;
readonly REPLAY: string;
readonly REPLY: string;
readonly SAVE: string;
readonly SEARCH: string;
readonly SEARCH_MINUS: string;
readonly SEARCH_PLUS: string;
readonly SEND: string;
readonly SERVER: string;
readonly SHARE_ALT: string;
readonly SHIELD: string;
readonly SHOPPING_BAG: string;
readonly SHOPPING_CART: string;
readonly SIGN_IN: string;
readonly SIGN_OUT: string;
readonly SITEMAP: string;
readonly SLACK: string;
readonly SLIDERS_H: string;
readonly SLIDERS_V: string;
readonly SORT: string;
readonly SORT_ALPHA_DOWN: string;
readonly SORT_ALPHA_ALT_DOWN: string;
readonly SORT_ALPHA_UP: string;
readonly SORT_ALPHA_ALT_UP: string;
readonly SORT_ALT: string;
readonly SORT_ALT_SLASH: string;
readonly SORT_AMOUNT_DOWN: string;
readonly SORT_AMOUNT_DOWN_ALT: string;
readonly SORT_AMOUNT_UP: string;
readonly SORT_AMOUNT_UP_ALT: string;
readonly SORT_DOWN: string;
readonly SORT_NUMERIC_DOWN: string;
readonly SORT_NUMERIC_ALT_DOWN: string;
readonly SORT_NUMERIC_UP: string;
readonly SORT_NUMERIC_ALT_UP: string;
readonly SORT_UP: string;
readonly SPINNER: string;
readonly STAR: string;
readonly STAR_FILL: string;
readonly STEP_BACKWARD: string;
readonly STEP_BACKWARD_ALT: string;
readonly STEP_FORWARD: string;
readonly STEP_FORWARD_ALT: string;
readonly STOP: string;
readonly STOPWATCH: string;
readonly STOP_CIRCLE: string;
readonly SUN: string;
readonly SYNC: string;
readonly TABLE: string;
readonly TABLET: string;
readonly TAG: string;
readonly TAGS: string;
readonly TELEGRAM: string;
readonly TH_LARGE: string;
readonly THUMBS_DOWN: string;
readonly THUMBS_DOWN_FILL: string;
readonly THUMBS_UP: string;
readonly THUMBS_UP_FILL: string;
readonly TICKET: string;
readonly TIMES: string;
readonly TIMES_CIRCLE: string;
readonly TRASH: string;
readonly TRUCK: string;
readonly TWITTER: string;
readonly UNDO: string;
readonly UNLOCK: string;
readonly UPLOAD: string;
readonly USER: string;
readonly USER_EDIT: string;
readonly USER_MINUS: string;
readonly USER_PLUS: string;
readonly USERS: string;
readonly VERIFIED: string;
readonly VIDEO: string;
readonly VIMEO: string;
readonly VOLUME_DOWN: string;
readonly VOLUME_OFF: string;
readonly VOLUME_UP: string;
readonly WALLET: string;
readonly WHATSAPP: string;
readonly WIFI: string;
readonly WINDOW_MAXIMIZE: string;
readonly WINDOW_MINIMIZE: string;
readonly WRENCH: string;
readonly YOUTUBE: string;
}
export declare const PrimeIcons: PrimeIconsOptions;
// Severity
export interface ToastSeverityOptions {
readonly SUCCESS: string;
readonly INFO: string;
readonly WARN: string;
readonly ERROR: string;
}
export declare const ToastSeverity: ToastSeverityOptions;