Fixed #3806 - Api: Typing mismatch

pull/3815/head
mertsincan 2023-03-27 09:09:36 +01:00
parent fde2bc6ec7
commit 9b9504ffe1
13 changed files with 306 additions and 298 deletions

View File

@ -1,28 +1,32 @@
// Filter // Filter
export const enum FilterMatchMode { export interface FilterMatchModeOptions {
STARTS_WITH = 'startsWith', readonly STARTS_WITH: string;
CONTAINS = 'contains', readonly CONTAINS: string;
NOT_CONTAINS = 'notContains', readonly NOT_CONTAINS: string;
ENDS_WITH = 'endsWith', readonly ENDS_WITH: string;
EQUALS = 'equals', readonly EQUALS: string;
NOT_EQUALS = 'notEquals', readonly NOT_EQUALS: string;
IN = 'in', readonly IN: string;
LESS_THAN = 'lt', readonly LESS_THAN: string;
LESS_THAN_OR_EQUAL_TO = 'lte', readonly LESS_THAN_OR_EQUAL_TO: string;
GREATER_THAN = 'gt', readonly GREATER_THAN: string;
GREATER_THAN_OR_EQUAL_TO = 'gte', readonly GREATER_THAN_OR_EQUAL_TO: string;
BETWEEN = 'between', readonly BETWEEN: string;
DATE_IS = 'dateIs', readonly DATE_IS: string;
DATE_IS_NOT = 'dateIsNot', readonly DATE_IS_NOT: string;
DATE_BEFORE = 'dateBefore', readonly DATE_BEFORE: string;
DATE_AFTER = 'dateAfter' readonly DATE_AFTER: string;
} }
export const enum FilterOperator { export declare const FilterMatchMode: FilterMatchModeOptions;
AND = 'and',
OR = 'or' export interface FilterOperatorOptions {
readonly AND: string;
readonly OR: string;
} }
export declare const FilterOperator: FilterOperatorOptions;
export declare namespace FilterService { export declare namespace FilterService {
export function filter(value: any, fields: string[], filterValue: any, filterMatchMode: string, filterLocale?: string): any[]; export function filter(value: any, fields: string[], filterValue: any, filterMatchMode: string, filterLocale?: string): any[];
export interface filters { export interface filters {
@ -47,271 +51,275 @@ export declare namespace FilterService {
} }
// Icons // Icons
export const enum PrimeIcons { export interface PrimeIconsOptions {
ALIGN_CENTER = 'pi pi-align-center', readonly ALIGN_CENTER: string;
ALIGN_JUSTIFY = 'pi pi-align-justify', readonly ALIGN_JUSTIFY: string;
ALIGN_LEFT = 'pi pi-align-left', readonly ALIGN_LEFT: string;
ALIGN_RIGHT = 'pi pi-align-right', readonly ALIGN_RIGHT: string;
AMAZON = 'pi pi-amazon', readonly AMAZON: string;
ANDROID = 'pi pi-android', readonly ANDROID: string;
ANGLE_DOUBLE_DOWN = 'pi pi-angle-double-down', readonly ANGLE_DOUBLE_DOWN: string;
ANGLE_DOUBLE_LEFT = 'pi pi-angle-double-left', readonly ANGLE_DOUBLE_LEFT: string;
ANGLE_DOUBLE_RIGHT = 'pi pi-angle-double-right', readonly ANGLE_DOUBLE_RIGHT: string;
ANGLE_DOUBLE_UP = 'pi pi-angle-double-up', readonly ANGLE_DOUBLE_UP: string;
ANGLE_DOWN = 'pi pi-angle-down', readonly ANGLE_DOWN: string;
ANGLE_LEFT = 'pi pi-angle-left', readonly ANGLE_LEFT: string;
ANGLE_RIGHT = 'pi pi-angle-right', readonly ANGLE_RIGHT: string;
ANGLE_UP = 'pi pi-angle-up', readonly ANGLE_UP: string;
APPLE = 'pi pi-apple', readonly APPLE: string;
ARROW_CIRCLE_DOWN = 'pi pi-arrow-circle-down', readonly ARROW_CIRCLE_DOWN: string;
ARROW_CIRCLE_LEFT = 'pi pi-arrow-circle-left', readonly ARROW_CIRCLE_LEFT: string;
ARROW_CIRCLE_RIGHT = 'pi pi-arrow-circle-right', readonly ARROW_CIRCLE_RIGHT: string;
ARROW_CIRCLE_UP = 'pi pi-arrow-circle-up', readonly ARROW_CIRCLE_UP: string;
ARROW_DOWN = 'pi pi-arrow-down', readonly ARROW_DOWN: string;
ARROW_DOWN_LEFT = 'pi pi-arrow-down-left', readonly ARROW_DOWN_LEFT: string;
ARROW_DOWN_RIGHT = 'pi pi-arrow-down-right', readonly ARROW_DOWN_RIGHT: string;
ARROW_LEFT = 'pi pi-arrow-left', readonly ARROW_LEFT: string;
ARROW_RIGHT = 'pi pi-arrow-right', readonly ARROW_RIGHT: string;
ARROW_RIGHT_ARROW_LEFT = 'pi pi-arrow-right-arrow-left', readonly ARROW_RIGHT_ARROW_LEFT: string;
ARROW_UP = 'pi pi-arrow-up', readonly ARROW_UP: string;
ARROW_UP_LEFT = 'pi pi-arrow-up-left', readonly ARROW_UP_LEFT: string;
ARROW_UP_RIGHT = 'pi pi-arrow-up-right', readonly ARROW_UP_RIGHT: string;
ARROW_H = 'pi pi-arrows-h', readonly ARROW_H: string;
ARROW_V = 'pi pi-arrows-v', readonly ARROW_V: string;
ARROW_A = 'pi pi-arrows-alt', readonly ARROW_A: string;
AT = 'pi pi-at', readonly AT: string;
BACKWARD = 'pi pi-backward', readonly BACKWARD: string;
BAN = 'pi pi-ban', readonly BAN: string;
BARS = 'pi pi-bars', readonly BARS: string;
BELL = 'pi pi-bell', readonly BELL: string;
BITCOIN = 'pi pi-bitcoin', readonly BITCOIN: string;
BOLT = 'pi pi-bolt', readonly BOLT: string;
BOOK = 'pi pi-book', readonly BOOK: string;
BOOKMARK = 'pi pi-bookmark', readonly BOOKMARK: string;
BOOKMARK_FILL = 'pi pi-bookmark-fill', readonly BOOKMARK_FILL: string;
BOX = 'pi pi-box', readonly BOX: string;
BRIEFCASE = 'pi pi-briefcase', readonly BRIEFCASE: string;
BUILDING = 'pi pi-building', readonly BUILDING: string;
CALENDAR = 'pi pi-calendar', readonly CALENDAR: string;
CALENDAR_MINUS = 'pi pi-calendar-minus', readonly CALENDAR_MINUS: string;
CALENDAR_PLUS = 'pi pi-calendar-plus', readonly CALENDAR_PLUS: string;
CALENDAR_TIMES = 'pi pi-calendar-times', readonly CALENDAR_TIMES: string;
CALCULATOR = 'pi pi-calculator', readonly CALCULATOR: string;
CAMERA = 'pi pi-camera', readonly CAMERA: string;
CAR = 'pi pi-car', readonly CAR: string;
CARET_DOWN = 'pi pi-caret-down', readonly CARET_DOWN: string;
CARET_LEFT = 'pi pi-caret-left', readonly CARET_LEFT: string;
CARET_RIGHT = 'pi pi-caret-right', readonly CARET_RIGHT: string;
CARET_UP = 'pi pi-caret-up', readonly CARET_UP: string;
CART_PLUS = 'pi pi-cart-plus', readonly CART_PLUS: string;
CHART_BAR = 'pi pi-chart-bar', readonly CHART_BAR: string;
CHART_LINE = 'pi pi-chart-line', readonly CHART_LINE: string;
CHART_PIE = 'pi pi-chart-pie', readonly CHART_PIE: string;
CHECK = 'pi pi-check', readonly CHECK: string;
CHECK_CIRCLE = 'pi pi-check-circle', readonly CHECK_CIRCLE: string;
CHECK_SQUARE = 'pi pi-check-square', readonly CHECK_SQUARE: string;
CHEVRON_CIRCLE_DOWN = 'pi pi-chevron-circle-down', readonly CHEVRON_CIRCLE_DOWN: string;
CHEVRON_CIRCLE_LEFT = 'pi pi-chevron-circle-left', readonly CHEVRON_CIRCLE_LEFT: string;
CHEVRON_CIRCLE_RIGHT = 'pi pi-chevron-circle-right', readonly CHEVRON_CIRCLE_RIGHT: string;
CHEVRON_CIRCLE_UP = 'pi pi-chevron-circle-up', readonly CHEVRON_CIRCLE_UP: string;
CHEVRON_DOWN = 'pi pi-chevron-down', readonly CHEVRON_DOWN: string;
CHEVRON_LEFT = 'pi pi-chevron-left', readonly CHEVRON_LEFT: string;
CHEVRON_RIGHT = 'pi pi-chevron-right', readonly CHEVRON_RIGHT: string;
CHEVRON_UP = 'pi pi-chevron-up', readonly CHEVRON_UP: string;
CIRCLE = 'pi pi-circle', readonly CIRCLE: string;
CIRCLE_FILL = 'pi pi-circle-fill', readonly CIRCLE_FILL: string;
CLOCK = 'pi pi-clock', readonly CLOCK: string;
CLONE = 'pi pi-clone', readonly CLONE: string;
CLOUD = 'pi pi-cloud', readonly CLOUD: string;
CLOUD_DOWNLOAD = 'pi pi-cloud-download', readonly CLOUD_DOWNLOAD: string;
CLOUD_UPLOAD = 'pi pi-cloud-upload', readonly CLOUD_UPLOAD: string;
CODE = 'pi pi-code', readonly CODE: string;
COG = 'pi pi-cog', readonly COG: string;
COMMENT = 'pi pi-comment', readonly COMMENT: string;
COMMENTS = 'pi pi-comments', readonly COMMENTS: string;
COMPASS = 'pi pi-compass', readonly COMPASS: string;
COPY = 'pi pi-copy', readonly COPY: string;
CREDIT_CARD = 'pi pi-credit-card', readonly CREDIT_CARD: string;
DATABASE = 'pi pi-database', readonly DATABASE: string;
DELETELEFT = 'pi pi-delete-left', readonly DELETELEFT: string;
DESKTOP = 'pi pi-desktop', readonly DESKTOP: string;
DIRECTIONS = 'pi pi-directions', readonly DIRECTIONS: string;
DIRECTIONS_ALT = 'pi pi-directions-alt', readonly DIRECTIONS_ALT: string;
DISCORD = 'pi pi-discord', readonly DISCORD: string;
DOLLAR = 'pi pi-dollar', readonly DOLLAR: string;
DOWNLOAD = 'pi pi-download', readonly DOWNLOAD: string;
EJECT = 'pi pi-eject', readonly EJECT: string;
ELLIPSIS_H = 'pi pi-ellipsis-h', readonly ELLIPSIS_H: string;
ELLIPSIS_V = 'pi pi-ellipsis-v', readonly ELLIPSIS_V: string;
ENVELOPE = 'pi pi-envelope', readonly ENVELOPE: string;
ERASER = 'pi pi-eraser', readonly ERASER: string;
EURO = 'pi pi-euro', readonly EURO: string;
EXCLAMATION_CIRCLE = 'pi pi-exclamation-circle', readonly EXCLAMATION_CIRCLE: string;
EXCLAMATION_TRIANGLE = 'pi pi-exclamation-triangle', readonly EXCLAMATION_TRIANGLE: string;
EXTERNAL_LINK = 'pi pi-external-link', readonly EXTERNAL_LINK: string;
EYE = 'pi pi-eye', readonly EYE: string;
EYE_SLASH = 'pi pi-eye-slash', readonly EYE_SLASH: string;
FACEBOOK = 'pi pi-facebook', readonly FACEBOOK: string;
FAST_BACKWARD = 'pi pi-fast-backward', readonly FAST_BACKWARD: string;
FAST_FORWARD = 'pi pi-fast-forward', readonly FAST_FORWARD: string;
FILE = 'pi pi-file', readonly FILE: string;
FILE_EDIT = 'pi pi-file-edit', readonly FILE_EDIT: string;
FILE_EXCEL = 'pi pi-file-excel', readonly FILE_EXCEL: string;
FILE_EXPORT = 'pi pi-file-export', readonly FILE_EXPORT: string;
FILE_IMPORT = 'pi pi-file-import', readonly FILE_IMPORT: string;
FILE_PDF = 'pi pi-file-pdf', readonly FILE_PDF: string;
FILE_WORD = 'pi pi-file-word', readonly FILE_WORD: string;
FILTER = 'pi pi-filter', readonly FILTER: string;
FILTER_FILL = 'pi pi-filter-fill', readonly FILTER_FILL: string;
FILTER_SLASH = 'pi pi-filter-slash', readonly FILTER_SLASH: string;
FLAG = 'pi pi-flag', readonly FLAG: string;
FLAG_FILL = 'pi pi-flag-fill', readonly FLAG_FILL: string;
FOLDER = 'pi pi-folder', readonly FOLDER: string;
FOLDER_OPEN = 'pi pi-folder-open', readonly FOLDER_OPEN: string;
FORWARD = 'pi pi-forward', readonly FORWARD: string;
GIFT = 'pi pi-gift', readonly GIFT: string;
GITHUB = 'pi pi-github', readonly GITHUB: string;
GLOBE = 'pi pi-globe', readonly GLOBE: string;
GOOGLE = 'pi pi-google', readonly GOOGLE: string;
HASHTAG = 'pi pi-hashtag', readonly HASHTAG: string;
HEART = 'pi pi-heart', readonly HEART: string;
HEART_FILL = 'pi pi-heart-fill', readonly HEART_FILL: string;
HISTORY = 'pi pi-history', readonly HISTORY: string;
HOURGLASS = 'pi pi-hourglass', readonly HOURGLASS: string;
HOME = 'pi pi-home', readonly HOME: string;
ID_CARD = 'pi pi-id-card', readonly ID_CARD: string;
IMAGE = 'pi pi-image', readonly IMAGE: string;
IMAGES = 'pi pi-images', readonly IMAGES: string;
INBOX = 'pi pi-inbox', readonly INBOX: string;
INFO = 'pi pi-info', readonly INFO: string;
INFO_CIRCLE = 'pi pi-info-circle', readonly INFO_CIRCLE: string;
INSTAGRAM = 'pi pi-instagram', readonly INSTAGRAM: string;
KEY = 'pi pi-key', readonly KEY: string;
LANGUAGE = 'pi pi-language', readonly LANGUAGE: string;
LINK = 'pi pi-link', readonly LINK: string;
LINKEDIN = 'pi pi-linkedin', readonly LINKEDIN: string;
LIST = 'pi pi-list', readonly LIST: string;
LOCK = 'pi pi-lock', readonly LOCK: string;
LOCK_OPEN = 'pi pi-lock-open', readonly LOCK_OPEN: string;
MAP = 'pi pi-map', readonly MAP: string;
MAP_MARKER = 'pi pi-map-marker', readonly MAP_MARKER: string;
MEGAPHONE = 'pi pi-megaphone', readonly MEGAPHONE: string;
MICREPHONE = 'pi pi-microphone', readonly MICREPHONE: string;
MICROSOFT = 'pi pi-microsoft', readonly MICROSOFT: string;
MINUS = 'pi pi-minus', readonly MINUS: string;
MINUS_CIRCLE = 'pi pi-minus-circle', readonly MINUS_CIRCLE: string;
MOBILE = 'pi pi-mobile', readonly MOBILE: string;
MONEY_BILL = 'pi pi-money-bill', readonly MONEY_BILL: string;
MOON = 'pi pi-moon', readonly MOON: string;
PALETTE = 'pi pi-palette', readonly PALETTE: string;
PAPERCLIP = 'pi pi-paperclip', readonly PAPERCLIP: string;
PAUSE = 'pi pi-pause', readonly PAUSE: string;
PAYPAL = 'pi pi-paypal', readonly PAYPAL: string;
PENCIL = 'pi pi-pencil', readonly PENCIL: string;
PERCENTAGE = 'pi pi-percentage', readonly PERCENTAGE: string;
PHONE = 'pi pi-phone', readonly PHONE: string;
PLAY = 'pi pi-play', readonly PLAY: string;
PLUS = 'pi pi-plus', readonly PLUS: string;
PLUS_CIRCLE = 'pi pi-plus-circle', readonly PLUS_CIRCLE: string;
POUND = 'pi pi-pound', readonly POUND: string;
POWER_OFF = 'pi pi-power-off', readonly POWER_OFF: string;
PRIME = 'pi pi-prime', readonly PRIME: string;
PRINT = 'pi pi-print', readonly PRINT: string;
QRCODE = 'pi pi-qrcode', readonly QRCODE: string;
QUESTION = 'pi pi-question', readonly QUESTION: string;
QUESTION_CIRCLE = 'pi pi-question-circle', readonly QUESTION_CIRCLE: string;
REDDIT = 'pi pi-reddit', readonly REDDIT: string;
REFRESH = 'pi pi-refresh', readonly REFRESH: string;
REPLAY = 'pi pi-replay', readonly REPLAY: string;
REPLY = 'pi pi-reply', readonly REPLY: string;
SAVE = 'pi pi-save', readonly SAVE: string;
SEARCH = 'pi pi-search', readonly SEARCH: string;
SEARCH_MINUS = 'pi pi-search-minus', readonly SEARCH_MINUS: string;
SEARCH_PLUS = 'pi pi-search-plus', readonly SEARCH_PLUS: string;
SEND = 'pi pi-send', readonly SEND: string;
SERVER = 'pi pi-server', readonly SERVER: string;
SHARE_ALT = 'pi pi-share-alt', readonly SHARE_ALT: string;
SHIELD = 'pi pi-shield', readonly SHIELD: string;
SHOPPING_BAG = 'pi pi-shopping-bag', readonly SHOPPING_BAG: string;
SHOPPING_CART = 'pi pi-shopping-cart', readonly SHOPPING_CART: string;
SIGN_IN = 'pi pi-sign-in', readonly SIGN_IN: string;
SIGN_OUT = 'pi pi-sign-out', readonly SIGN_OUT: string;
SITEMAP = 'pi pi-sitemap', readonly SITEMAP: string;
SLACK = 'pi pi-slack', readonly SLACK: string;
SLIDERS_H = 'pi pi-sliders-h', readonly SLIDERS_H: string;
SLIDERS_V = 'pi pi-sliders-v', readonly SLIDERS_V: string;
SORT = 'pi pi-sort', readonly SORT: string;
SORT_ALPHA_DOWN = 'pi pi-sort-alpha-down', readonly SORT_ALPHA_DOWN: string;
SORT_ALPHA_ALT_DOWN = 'pi pi-sort-alpha-alt-down', readonly SORT_ALPHA_ALT_DOWN: string;
SORT_ALPHA_UP = 'pi pi-sort-alpha-up', readonly SORT_ALPHA_UP: string;
SORT_ALPHA_ALT_UP = 'pi pi-sort-alpha-alt-up', readonly SORT_ALPHA_ALT_UP: string;
SORT_ALT = 'pi pi-sort-alt', readonly SORT_ALT: string;
SORT_ALT_SLASH = 'pi pi-sort-slash', readonly SORT_ALT_SLASH: string;
SORT_AMOUNT_DOWN = 'pi pi-sort-amount-down', readonly SORT_AMOUNT_DOWN: string;
SORT_AMOUNT_DOWN_ALT = 'pi pi-sort-amount-down-alt', readonly SORT_AMOUNT_DOWN_ALT: string;
SORT_AMOUNT_UP = 'pi pi-sort-amount-up', readonly SORT_AMOUNT_UP: string;
SORT_AMOUNT_UP_ALT = 'pi pi-sort-amount-up-alt', readonly SORT_AMOUNT_UP_ALT: string;
SORT_DOWN = 'pi pi-sort-down', readonly SORT_DOWN: string;
SORT_NUMERIC_DOWN = 'pi pi-sort-numeric-down', readonly SORT_NUMERIC_DOWN: string;
SORT_NUMERIC_ALT_DOWN = 'pi pi-sort-numeric-alt-down', readonly SORT_NUMERIC_ALT_DOWN: string;
SORT_NUMERIC_UP = 'pi pi-sort-numeric-up', readonly SORT_NUMERIC_UP: string;
SORT_NUMERIC_ALT_UP = 'pi pi-sort-numeric-alt-up', readonly SORT_NUMERIC_ALT_UP: string;
SORT_UP = 'pi pi-sort-up', readonly SORT_UP: string;
SPINNER = 'pi pi-spinner', readonly SPINNER: string;
STAR = 'pi pi-star', readonly STAR: string;
STAR_FILL = 'pi pi-star-fill', readonly STAR_FILL: string;
STEP_BACKWARD = 'pi pi-step-backward', readonly STEP_BACKWARD: string;
STEP_BACKWARD_ALT = 'pi pi-step-backward-alt', readonly STEP_BACKWARD_ALT: string;
STEP_FORWARD = 'pi pi-step-forward', readonly STEP_FORWARD: string;
STEP_FORWARD_ALT = 'pi pi-step-forward-alt', readonly STEP_FORWARD_ALT: string;
STOP = 'pi pi-stop', readonly STOP: string;
STOPWATCH = 'pi pi-stop-watch', readonly STOPWATCH: string;
STOP_CIRCLE = 'pi pi-stop-circle', readonly STOP_CIRCLE: string;
SUN = 'pi pi-sun', readonly SUN: string;
SYNC = 'pi pi-sync', readonly SYNC: string;
TABLE = 'pi pi-table', readonly TABLE: string;
TABLET = 'pi pi-tablet', readonly TABLET: string;
TAG = 'pi pi-tag', readonly TAG: string;
TAGS = 'pi pi-tags', readonly TAGS: string;
TELEGRAM = 'pi pi-telegram', readonly TELEGRAM: string;
TH_LARGE = 'pi pi-th-large', readonly TH_LARGE: string;
THUMBS_DOWN = 'pi pi-thumbs-down', readonly THUMBS_DOWN: string;
THUMBS_DOWN_FILL = 'pi pi-thumbs-down-fill', readonly THUMBS_DOWN_FILL: string;
THUMBS_UP = 'pi pi-thumbs-up', readonly THUMBS_UP: string;
THUMBS_UP_FILL = 'pi pi-thumbs-up-fill', readonly THUMBS_UP_FILL: string;
TICKET = 'pi pi-ticket', readonly TICKET: string;
TIMES = 'pi pi-times', readonly TIMES: string;
TIMES_CIRCLE = 'pi pi-times-circle', readonly TIMES_CIRCLE: string;
TRASH = 'pi pi-trash', readonly TRASH: string;
TRUCK = 'pi pi-truck', readonly TRUCK: string;
TWITTER = 'pi pi-twitter', readonly TWITTER: string;
UNDO = 'pi pi-undo', readonly UNDO: string;
UNLOCK = 'pi pi-unlock', readonly UNLOCK: string;
UPLOAD = 'pi pi-upload', readonly UPLOAD: string;
USER = 'pi pi-user', readonly USER: string;
USER_EDIT = 'pi pi-user-edit', readonly USER_EDIT: string;
USER_MINUS = 'pi pi-user-minus', readonly USER_MINUS: string;
USER_PLUS = 'pi pi-user-plus', readonly USER_PLUS: string;
USERS = 'pi pi-users', readonly USERS: string;
VERIFIED = 'pi pi-verified', readonly VERIFIED: string;
VIDEO = 'pi pi-video', readonly VIDEO: string;
VIMEO = 'pi pi-vimeo', readonly VIMEO: string;
VOLUME_DOWN = 'pi pi-volume-down', readonly VOLUME_DOWN: string;
VOLUME_OFF = 'pi pi-volume-off', readonly VOLUME_OFF: string;
VOLUME_UP = 'pi pi-volume-up', readonly VOLUME_UP: string;
WALLET = 'pi pi-wallet', readonly WALLET: string;
WHATSAPP = 'pi pi-whatsapp', readonly WHATSAPP: string;
WIFI = 'pi pi-wifi', readonly WIFI: string;
WINDOW_MAXIMIZE = 'pi pi-window-maximize', readonly WINDOW_MAXIMIZE: string;
WINDOW_MINIMIZE = 'pi pi-window-minimize', readonly WINDOW_MINIMIZE: string;
WRENCH = 'pi pi-wrench', readonly WRENCH: string;
YOUTUBE = 'pi pi-youtube' readonly YOUTUBE: string;
} }
export declare const PrimeIcons: PrimeIconsOptions;
// Severity // Severity
export const enum ToastSeverity { export interface ToastSeverityOptions {
SUCCESS = 'success', readonly SUCCESS: string;
INFO = 'info', readonly INFO: string;
WARN = 'warn', readonly WARN: string;
ERROR = 'error' readonly ERROR: string;
} }
export declare const ToastSeverity: ToastSeverityOptions;

View File

@ -21,7 +21,7 @@ export interface BadgeProps {
/** /**
* Severity type of the badge. * Severity type of the badge.
*/ */
severity?: 'info' | 'success' | 'warning' | 'danger' | null | undefined; severity?: 'info' | 'success' | 'warning' | 'danger' | string | null | undefined;
/** /**
* Size of the badge, valid options are 'large' and 'xlarge'. * Size of the badge, valid options are 'large' and 'xlarge'.
*/ */

View File

@ -65,7 +65,7 @@ export interface ButtonProps extends ButtonHTMLAttributes {
/** /**
* Defines the style of the button. * Defines the style of the button.
*/ */
severity?: 'secondary' | 'success' | 'info' | 'warning' | 'help' | 'danger' | undefined; severity?: 'secondary' | 'success' | 'info' | 'warning' | 'help' | 'danger' | string | undefined;
/** /**
* Add a shadow to indicate elevation. * Add a shadow to indicate elevation.
* @defaultValue false * @defaultValue false

View File

@ -36,7 +36,7 @@ export interface DataTableFilterMetaData {
/** /**
* Filter match mode * Filter match mode
*/ */
matchMode: 'startsWith' | 'contains' | 'notContains' | 'endsWith' | 'equals' | 'notEquals' | 'in' | 'lt' | 'lte' | 'gt' | 'gte' | 'between' | 'dateIs' | 'dateIsNot' | 'dateBefore' | 'dateAfter' | undefined; matchMode: 'startsWith' | 'contains' | 'notContains' | 'endsWith' | 'equals' | 'notEquals' | 'in' | 'lt' | 'lte' | 'gt' | 'gte' | 'between' | 'dateIs' | 'dateIsNot' | 'dateBefore' | 'dateAfter' | string | undefined;
} }
/** /**
@ -138,7 +138,7 @@ export interface DataTableSortEvent {
/** /**
* Match modes per field * Match modes per field
*/ */
filterMatchModes: 'startsWith' | 'contains' | 'notContains' | 'endsWith' | 'equals' | 'notEquals' | 'in' | 'lt' | 'lte' | 'gt' | 'gte' | 'between' | 'dateIs' | 'dateIsNot' | 'dateBefore' | 'dateAfter' | undefined; filterMatchModes: 'startsWith' | 'contains' | 'notContains' | 'endsWith' | 'equals' | 'notEquals' | 'in' | 'lt' | 'lte' | 'gt' | 'gte' | 'between' | 'dateIs' | 'dateIsNot' | 'dateBefore' | 'dateAfter' | string | undefined;
} }
/** /**

View File

@ -95,7 +95,7 @@ export interface DropdownProps {
* Defines the filtering algorithm to use when searching the options. * Defines the filtering algorithm to use when searching the options.
* @defaultValue contains * @defaultValue contains
*/ */
filterMatchMode?: 'contains' | 'startsWith' | 'endsWith' | undefined; filterMatchMode?: 'contains' | 'startsWith' | 'endsWith' | string | undefined;
/** /**
* Fields used when filtering the options, defaults to optionLabel. * Fields used when filtering the options, defaults to optionLabel.
*/ */

View File

@ -18,7 +18,7 @@ export interface InlineMessageProps {
* Severity level of the message. * Severity level of the message.
* @defaultValue info * @defaultValue info
*/ */
severity?: 'success' | 'info' | 'warn' | 'error' | undefined; severity?: 'success' | 'info' | 'warn' | 'error' | string | undefined;
} }
/** /**
* Defines valid slots in InlineMessage slots. * Defines valid slots in InlineMessage slots.

View File

@ -114,7 +114,7 @@ export interface ListboxProps {
* Defines the filtering algorithm to use when searching the options. * Defines the filtering algorithm to use when searching the options.
* @defaultValue contains * @defaultValue contains
*/ */
filterMatchMode?: 'contains' | 'startsWith' | 'endsWith' | undefined; filterMatchMode?: 'contains' | 'startsWith' | 'endsWith' | string | undefined;
/** /**
* Fields used when filtering the options, defaults to optionLabel. * Fields used when filtering the options, defaults to optionLabel.
*/ */

View File

@ -18,7 +18,7 @@ export interface MessageProps {
* Severity level of the message. * Severity level of the message.
* @defaultValue info * @defaultValue info
*/ */
severity?: 'success' | 'info' | 'warn' | 'error' | undefined; severity?: 'success' | 'info' | 'warn' | 'error' | string | undefined;
/** /**
* Whether the message can be closed manually using the close icon. * Whether the message can be closed manually using the close icon.
* @defaultValue true * @defaultValue true

View File

@ -151,7 +151,7 @@ export interface MultiSelectProps {
* Defines the filtering algorithm to use when searching the options. * Defines the filtering algorithm to use when searching the options.
* @defaultValue contains * @defaultValue contains
*/ */
filterMatchMode?: 'contains' | 'startsWith' | 'endsWith' | undefined; filterMatchMode?: 'contains' | 'startsWith' | 'endsWith' | string | undefined;
/** /**
* Fields used when filtering the options, defaults to optionLabel. * Fields used when filtering the options, defaults to optionLabel.
*/ */

View File

@ -71,7 +71,7 @@ export interface SplitButtonProps {
/** /**
* Defines the style of the button. * Defines the style of the button.
*/ */
severity?: 'secondary' | 'success' | 'info' | 'warning' | 'help' | 'danger' | undefined; severity?: 'secondary' | 'success' | 'info' | 'warning' | 'help' | 'danger' | string | undefined;
/** /**
* Add a shadow to indicate elevation. * Add a shadow to indicate elevation.
* @defaultValue false * @defaultValue false

View File

@ -21,7 +21,7 @@ export interface TagProps {
/** /**
* Severity type of the tag. * Severity type of the tag.
*/ */
severity?: 'success' | 'info' | 'warning' | 'danger' | undefined; severity?: 'success' | 'info' | 'warning' | 'danger' | string | undefined;
/** /**
* Whether the corners of the tag are rounded. * Whether the corners of the tag are rounded.
* @defaultValue false * @defaultValue false

View File

@ -18,7 +18,7 @@ export interface ToastMessageOptions {
* Severity level of the message. * Severity level of the message.
* @defaultValue info * @defaultValue info
*/ */
severity?: 'success' | 'info' | 'warn' | 'error' | undefined; severity?: 'success' | 'info' | 'warn' | 'error' | string | undefined;
/** /**
* Summary content of the message. * Summary content of the message.
*/ */

View File

@ -22,7 +22,7 @@ export interface TreeTableFilterMetaData {
/** /**
* Filter match mode * Filter match mode
*/ */
matchMode: 'startsWith' | 'contains' | 'notContains' | 'endsWith' | 'equals' | 'notEquals' | 'in' | 'lt' | 'lte' | 'gt' | 'gte' | 'between' | 'dateIs' | 'dateIsNot' | 'dateBefore' | 'dateAfter' | undefined; matchMode: 'startsWith' | 'contains' | 'notContains' | 'endsWith' | 'equals' | 'notEquals' | 'in' | 'lt' | 'lte' | 'gt' | 'gte' | 'between' | 'dateIs' | 'dateIsNot' | 'dateBefore' | 'dateAfter' | string | undefined;
} }
/** /**
@ -88,7 +88,7 @@ export interface TreeTableSortEvent {
/** /**
* Match modes per field * Match modes per field
*/ */
filterMatchModes: 'startsWith' | 'contains' | 'notContains' | 'endsWith' | 'equals' | 'notEquals' | 'in' | 'lt' | 'lte' | 'gt' | 'gte' | 'between' | 'dateIs' | 'dateIsNot' | 'dateBefore' | 'dateAfter' | undefined; filterMatchModes: 'startsWith' | 'contains' | 'notContains' | 'endsWith' | 'equals' | 'notEquals' | 'in' | 'lt' | 'lte' | 'gt' | 'gte' | 'between' | 'dateIs' | 'dateIsNot' | 'dateBefore' | 'dateAfter' | string | undefined;
} }
/** /**