From 404a238e9e4b8b69f2bb5cdf627d42dd773e1c44 Mon Sep 17 00:00:00 2001 From: Egor Volvachev Date: Fri, 16 Dec 2022 22:09:23 +0300 Subject: [PATCH 01/33] fix: calendar time, when writing pm in input Fixes #3398. --- components/calendar/Calendar.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/components/calendar/Calendar.vue b/components/calendar/Calendar.vue index b35803717..73b9ccd44 100755 --- a/components/calendar/Calendar.vue +++ b/components/calendar/Calendar.vue @@ -1783,7 +1783,7 @@ export default { throw 'Invalid Time'; } - this.pm = ampm === this.$primevue.config.locale.am || ampm === this.$primevue.config.locale.am.toLowerCase(); + this.pm = ampm === this.$primevue.config.locale.pm || ampm === this.$primevue.config.locale.pm.toLowerCase(); let time = this.parseTime(timeString); value.setHours(time.hour); From f1da58a7d738f5d35406aa26c32952bfe96795d5 Mon Sep 17 00:00:00 2001 From: Egor Volvachev Date: Fri, 16 Dec 2022 22:23:32 +0300 Subject: [PATCH 02/33] fix: type definition for fileUpload slot callbacks Fixes #3396. --- components/fileupload/FileUpload.d.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/components/fileupload/FileUpload.d.ts b/components/fileupload/FileUpload.d.ts index adbe9aea2..e1e127948 100755 --- a/components/fileupload/FileUpload.d.ts +++ b/components/fileupload/FileUpload.d.ts @@ -252,11 +252,11 @@ export interface FileUploadSlots { /** * Function to remove an uploaded file. */ - removeUploadedFileCallback: () => void; + removeUploadedFileCallback: (index: number) => void; /** * Function to remove a file. */ - removeFileCallback: () => void; + removeFileCallback: (index: number) => void; /** * Uploaded progress as number. */ From 585ff570d6a2b45190ded02d0404008ea5fbd2d3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Emre=20Kaan=20=C5=9Eurgun?= Date: Wed, 28 Dec 2022 09:17:31 +0300 Subject: [PATCH 03/33] DataTable.d.ts groupRowsBy type fix --- components/datatable/DataTable.d.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/components/datatable/DataTable.d.ts b/components/datatable/DataTable.d.ts index 7e9f62a09..ac785b244 100755 --- a/components/datatable/DataTable.d.ts +++ b/components/datatable/DataTable.d.ts @@ -684,7 +684,7 @@ export interface DataTableProps { /** * One or more field names to use in row grouping. */ - groupRowsBy?: (field: string) => object | string[] | string | undefined; + groupRowsBy?: ((field: string) => object) | string[] | string | undefined; /** * Whether the row groups can be expandable. */ From 757d4ac210378905e77486c98a97919079909a79 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bahad=C4=B1r=20Sofuo=C4=9Flu?= Date: Thu, 29 Dec 2022 16:16:58 +0300 Subject: [PATCH 04/33] Typo fixed for default props --- components/panel/Panel.vue | 2 +- components/tabview/TabView.vue | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/components/panel/Panel.vue b/components/panel/Panel.vue index 13a46902e..c658c34a0 100755 --- a/components/panel/Panel.vue +++ b/components/panel/Panel.vue @@ -47,7 +47,7 @@ export default { collapsed: Boolean, toggleButtonProps: { type: null, - defaault: null + default: null } }, data() { diff --git a/components/tabview/TabView.vue b/components/tabview/TabView.vue index f0685ac37..ad0051e1d 100755 --- a/components/tabview/TabView.vue +++ b/components/tabview/TabView.vue @@ -99,11 +99,11 @@ export default { }, previousButtonProps: { type: null, - defaault: null + default: null }, nextButtonProps: { type: null, - defaault: null + default: null } }, data() { From f03bb29ee29e47d896331e1beacd0751a8a90257 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bahad=C4=B1r=20Sofuo=C4=9Flu?= Date: Fri, 30 Dec 2022 11:23:05 +0300 Subject: [PATCH 05/33] Icon rendering problem fixed --- components/confirmdialog/ConfirmDialog.vue | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/components/confirmdialog/ConfirmDialog.vue b/components/confirmdialog/ConfirmDialog.vue index 2ef40eb1d..ede81af17 100644 --- a/components/confirmdialog/ConfirmDialog.vue +++ b/components/confirmdialog/ConfirmDialog.vue @@ -1,8 +1,8 @@