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

378 lines
12 KiB
TypeScript
Raw Normal View History

2021-12-01 21:37:13 +00:00
// Filter
2023-03-27 08:09:36 +00:00
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;
2021-02-17 16:52:41 +00:00
}
2023-03-27 08:09:36 +00:00
export declare const FilterMatchMode: FilterMatchModeOptions;
export interface FilterOperatorOptions {
readonly AND: string;
readonly OR: string;
2021-02-17 16:52:41 +00:00
}
2023-03-27 08:09:36 +00:00
export declare const FilterOperator: FilterOperatorOptions;
2021-12-01 21:37:13 +00:00
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;
2021-02-17 16:52:41 +00:00
}
2021-12-01 21:37:13 +00:00
// Icons
2023-03-27 08:09:36 +00:00
export interface PrimeIconsOptions {
2024-05-10 13:30:06 +00:00
readonly ADDRESS_BOOK: string;
2023-03-27 08:09:36 +00:00
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;
2024-05-10 13:30:06 +00:00
readonly ARROW_DOWN_LEFT_AND_ARROW_UP_RIGHT_TO_CENTER: string;
2023-03-27 08:09:36 +00:00
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;
2024-05-10 13:30:06 +00:00
readonly ARROW_UP_RIGHT_AND_ARROW_DOWN_LEFT_FROM_CENTER: string;
readonly ARROWS_ALT: string;
readonly ARROWS_H: string;
readonly ARROWS_V: string;
readonly ASTERISK: string;
2023-03-27 08:09:36 +00:00
readonly AT: string;
readonly BACKWARD: string;
readonly BAN: string;
2024-05-10 13:30:06 +00:00
readonly BARCODE: string;
2023-03-27 08:09:36 +00:00
readonly BARS: string;
readonly BELL: string;
2024-05-10 13:30:06 +00:00
readonly BELL_SLASH: string;
2023-03-27 08:09:36 +00:00
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;
2024-05-10 13:30:06 +00:00
readonly BUILDING_COLUMNS: string;
readonly BULLSEYE: string;
readonly CALCULATOR: string;
2023-03-27 08:09:36 +00:00
readonly CALENDAR: string;
2024-05-10 13:30:06 +00:00
readonly CALENDAR_CLOCK: string;
2023-03-27 08:09:36 +00:00
readonly CALENDAR_MINUS: string;
readonly CALENDAR_PLUS: string;
readonly CALENDAR_TIMES: string;
readonly CAMERA: string;
readonly CAR: string;
readonly CARET_DOWN: string;
readonly CARET_LEFT: string;
readonly CARET_RIGHT: string;
readonly CARET_UP: string;
2024-05-10 13:30:06 +00:00
readonly CART_ARROW_DOWN: string;
readonly CART_MINUS: string;
2023-03-27 08:09:36 +00:00
readonly CART_PLUS: string;
readonly CHART_BAR: string;
readonly CHART_LINE: string;
readonly CHART_PIE: string;
2024-05-10 13:30:06 +00:00
readonly CHART_SCATTER: string;
2023-03-27 08:09:36 +00:00
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;
2024-05-10 13:30:06 +00:00
readonly CLIPBOARD: string;
2023-03-27 08:09:36 +00:00
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;
2024-05-10 13:30:06 +00:00
readonly CROWN: string;
2023-03-27 08:09:36 +00:00
readonly DATABASE: string;
2024-05-10 13:30:06 +00:00
readonly DELETE_LEFT: string;
2023-03-27 08:09:36 +00:00
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;
2024-05-10 13:30:06 +00:00
readonly EQUALS: string;
2023-03-27 08:09:36 +00:00
readonly ERASER: string;
2024-05-10 13:30:06 +00:00
readonly ETHEREUM: string;
2023-03-27 08:09:36 +00:00
readonly EURO: string;
readonly EXCLAMATION_CIRCLE: string;
readonly EXCLAMATION_TRIANGLE: string;
2024-05-10 13:30:06 +00:00
readonly EXPAND: string;
2023-03-27 08:09:36 +00:00
readonly EXTERNAL_LINK: string;
readonly EYE: string;
readonly EYE_SLASH: string;
2024-05-10 13:30:06 +00:00
readonly FACE_SMILE: string;
2023-03-27 08:09:36 +00:00
readonly FACEBOOK: string;
readonly FAST_BACKWARD: string;
readonly FAST_FORWARD: string;
readonly FILE: string;
2024-05-10 13:30:06 +00:00
readonly FILE_ARROW_UP: string;
readonly FILE_CHECK: string;
2023-03-27 08:09:36 +00:00
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;
2024-05-10 13:30:06 +00:00
readonly FOLDER_PLUS: string;
2023-03-27 08:09:36 +00:00
readonly FORWARD: string;
2024-05-10 13:30:06 +00:00
readonly GAUGE: string;
2023-03-27 08:09:36 +00:00
readonly GIFT: string;
readonly GITHUB: string;
readonly GLOBE: string;
readonly GOOGLE: string;
2024-05-10 13:30:06 +00:00
readonly GRADUATION_CAP: string;
readonly HAMMER: string;
2023-03-27 08:09:36 +00:00
readonly HASHTAG: string;
2024-05-10 13:30:06 +00:00
readonly HEADPHONES: string;
2023-03-27 08:09:36 +00:00
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;
2024-05-10 13:30:06 +00:00
readonly INDIAN_RUPEE: string;
2023-03-27 08:09:36 +00:00
readonly INFO: string;
readonly INFO_CIRCLE: string;
readonly INSTAGRAM: string;
readonly KEY: string;
readonly LANGUAGE: string;
2024-05-10 13:30:06 +00:00
readonly LIGHTBULB: string;
2023-03-27 08:09:36 +00:00
readonly LINK: string;
readonly LINKEDIN: string;
readonly LIST: string;
2024-05-10 13:30:06 +00:00
readonly LIST_CHECK: string;
2023-03-27 08:09:36 +00:00
readonly LOCK: string;
readonly LOCK_OPEN: string;
readonly MAP: string;
readonly MAP_MARKER: string;
2024-05-10 13:30:06 +00:00
readonly MARS: string;
2023-03-27 08:09:36 +00:00
readonly MEGAPHONE: string;
2024-05-10 13:30:06 +00:00
readonly MICROCHIP: string;
readonly MICROCHIP_AI: string;
2023-03-27 08:09:36 +00:00
readonly MICREPHONE: string;
readonly MICROSOFT: string;
readonly MINUS: string;
readonly MINUS_CIRCLE: string;
readonly MOBILE: string;
readonly MONEY_BILL: string;
readonly MOON: string;
2024-05-10 13:30:06 +00:00
readonly OBJECTS_COLUMN: string;
2023-03-27 08:09:36 +00:00
readonly PALETTE: string;
readonly PAPERCLIP: string;
readonly PAUSE: string;
2024-05-10 13:30:06 +00:00
readonly PAUSE_CIRCLE: string;
2023-03-27 08:09:36 +00:00
readonly PAYPAL: string;
2024-05-10 13:30:06 +00:00
readonly PEN_TO_SQUARE: string;
2023-03-27 08:09:36 +00:00
readonly PENCIL: string;
readonly PERCENTAGE: string;
readonly PHONE: string;
2024-05-10 13:30:06 +00:00
readonly PINTEREST: string;
2023-03-27 08:09:36 +00:00
readonly PLAY: string;
2024-05-10 13:30:06 +00:00
readonly PLAY_CIRCLE: string;
2023-03-27 08:09:36 +00:00
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;
2024-05-10 13:30:06 +00:00
readonly RECEIPT: string;
2023-03-27 08:09:36 +00:00
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;
2024-05-10 13:30:06 +00:00
readonly SHOP: string;
2023-03-27 08:09:36 +00:00
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;
2024-05-10 13:30:06 +00:00
readonly SORT_DOWN_FILL: string;
2023-03-27 08:09:36 +00:00
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;
2024-05-10 13:30:06 +00:00
readonly SORT_UP_FILL: string;
readonly SPARKLES: string;
2023-03-27 08:09:36 +00:00
readonly SPINNER: string;
2024-05-10 13:30:06 +00:00
readonly SPINNER_DOWN: string;
2023-03-27 08:09:36 +00:00
readonly STAR: string;
readonly STAR_FILL: string;
2024-05-10 13:30:06 +00:00
readonly STAR_HALF: string;
readonly STAR_HALF_FILL: string;
2023-03-27 08:09:36 +00:00
readonly STEP_BACKWARD: string;
readonly STEP_BACKWARD_ALT: string;
readonly STEP_FORWARD: string;
readonly STEP_FORWARD_ALT: string;
readonly STOP: string;
readonly STOP_CIRCLE: string;
2024-05-10 13:30:06 +00:00
readonly STOPWATCH: string;
2023-03-27 08:09:36 +00:00
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;
2024-05-10 13:30:06 +00:00
readonly THUMBTACK: string;
2023-03-27 08:09:36 +00:00
readonly TICKET: string;
2024-05-10 13:30:06 +00:00
readonly TIKTOK: string;
2023-03-27 08:09:36 +00:00
readonly TIMES: string;
readonly TIMES_CIRCLE: string;
readonly TRASH: string;
2024-05-10 13:30:06 +00:00
readonly TROPHY: string;
2023-03-27 08:09:36 +00:00
readonly TRUCK: string;
2024-05-10 13:30:06 +00:00
readonly TURKISH_LIRA: string;
readonly TWITCH: string;
2023-03-27 08:09:36 +00:00
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;
2024-05-10 13:30:06 +00:00
readonly VENUS: string;
2023-03-27 08:09:36 +00:00
readonly VERIFIED: string;
readonly VIDEO: string;
readonly VIMEO: string;
readonly VOLUME_DOWN: string;
readonly VOLUME_OFF: string;
readonly VOLUME_UP: string;
readonly WALLET: string;
2024-05-10 13:30:06 +00:00
readonly WAREHOUSE: string;
readonly WAVE_PULSE: string;
2023-03-27 08:09:36 +00:00
readonly WHATSAPP: string;
readonly WIFI: string;
readonly WINDOW_MAXIMIZE: string;
readonly WINDOW_MINIMIZE: string;
readonly WRENCH: string;
readonly YOUTUBE: string;
2021-02-17 16:52:41 +00:00
}
2023-03-27 08:09:36 +00:00
export declare const PrimeIcons: PrimeIconsOptions;
2021-12-01 21:37:13 +00:00
// Severity
2023-03-27 08:09:36 +00:00
export interface ToastSeverityOptions {
readonly SUCCESS: string;
readonly INFO: string;
readonly WARN: string;
readonly ERROR: string;
2021-02-17 16:52:41 +00:00
}
2023-03-27 08:09:36 +00:00
export declare const ToastSeverity: ToastSeverityOptions;