From 5e27c6096c46f18fc0916ce79d80d301fd2a604c Mon Sep 17 00:00:00 2001 From: Cagatay Civici Date: Tue, 16 Feb 2021 16:07:15 +0300 Subject: [PATCH] Update locale docs and types --- src/components/config/PrimeVue.d.ts | 24 ++++- src/views/datatable/DataTableDoc.vue | 2 +- src/views/locale/LocaleDemo.vue | 134 +++++++++------------------ 3 files changed, 70 insertions(+), 90 deletions(-) diff --git a/src/components/config/PrimeVue.d.ts b/src/components/config/PrimeVue.d.ts index b6b67950e..90a44c00e 100644 --- a/src/components/config/PrimeVue.d.ts +++ b/src/components/config/PrimeVue.d.ts @@ -6,6 +6,27 @@ interface PrimeVueConfiguration { } interface PrimeVueLocaleOptions { + startsWith?: string; + contains?: string; + notContains?: string; + endWith?: string; + 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; @@ -17,7 +38,6 @@ interface PrimeVueLocaleOptions { monthNames: string[]; monthNamesShort: string[]; today?: string; - clear?: string; weekHeader?: string; firstDayOfWeek?: number; dateFormat?: string; @@ -25,6 +45,8 @@ interface PrimeVueLocaleOptions { medium?: string; strong?: string; passwordPrompt?: string; + emptyFilterMessage?: string; + emptyMessage?: string; } export declare function usePrimeVue(): PrimeVueConfiguration; diff --git a/src/views/datatable/DataTableDoc.vue b/src/views/datatable/DataTableDoc.vue index 1212f86ff..1d27a962a 100755 --- a/src/views/datatable/DataTableDoc.vue +++ b/src/views/datatable/DataTableDoc.vue @@ -838,7 +838,7 @@ matchModes: [
Full Page Scroll
-

FlexScroll can also be used for cases where scrollable viewport should be responsive with respect to the window size. See the full page demo for an example.

+

FlexScroll can also be used for cases where scrollable viewport should be responsive with respect to the window size. See the full page demo for an example.