From ec72bad60f27eaf7bce5e3d5f25c0650a2743967 Mon Sep 17 00:00:00 2001 From: Saya <379924+chu121su12@users.noreply.github.com> Date: Thu, 19 Oct 2023 13:45:22 +0800 Subject: [PATCH 001/109] reorder core import --- rollup.config.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rollup.config.js b/rollup.config.js index 633aff497..a7ca323be 100644 --- a/rollup.config.js +++ b/rollup.config.js @@ -170,9 +170,9 @@ const CORE_DEPENDENCIES = { 'primevue/utils': 'primevue.utils', 'primevue/api': 'primevue.api', 'primevue/config': 'primevue.config', + 'primevue/base': 'primevue.base', ...CORE_STYLE_DEPENDENCIES, 'primevue/usestyle': 'primevue.usestyle', - 'primevue/base': 'primevue.base', 'primevue/basedirective': 'primevue.basedirective', 'primevue/ripple': 'primevue.ripple', 'primevue/portal': 'primevue.portal', From 851103fac920730ca4764627faca56962fc130ce Mon Sep 17 00:00:00 2001 From: Kadir Boylu Date: Sun, 29 Oct 2023 14:46:20 +0300 Subject: [PATCH 002/109] fix: overlaypanel only be closed on escape key pressed #4712 https://github.com/primefaces/primevue/issues/4712 --- components/lib/overlaypanel/OverlayPanel.vue | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/components/lib/overlaypanel/OverlayPanel.vue b/components/lib/overlaypanel/OverlayPanel.vue index 19fdcc1de..7d9e04edf 100755 --- a/components/lib/overlaypanel/OverlayPanel.vue +++ b/components/lib/overlaypanel/OverlayPanel.vue @@ -139,6 +139,7 @@ export default { this.unbindOutsideClickListener(); this.unbindScrollListener(); this.unbindResizeListener(); + this.unbindDocumentKeyDownListener(); OverlayEventBus.off('overlay-click', this.overlayEventListener); this.overlayEventListener = null; this.$emit('hide'); @@ -192,7 +193,7 @@ export default { } }, onKeyDown(event) { - if (event.code === 'Escape' || this.closeOnEscape) { + if (event.code === 'Escape' && this.closeOnEscape) { this.visible = false; } }, From fc7f8aedade4685a77ac39eac97e400ca7454b5a Mon Sep 17 00:00:00 2001 From: Dominic Fellbaum Date: Mon, 30 Oct 2023 11:43:15 +0100 Subject: [PATCH 003/109] Fix Archieve typos --- components/lib/contextmenu/ContextMenu.spec.js | 2 +- doc/contextmenu/DocumentDoc.vue | 6 +++--- doc/contextmenu/pt/PTDoc.vue | 6 +++--- doc/dock/AdvancedDoc.vue | 18 +++++++++--------- doc/menubar/BasicDoc.vue | 6 +++--- doc/menubar/RouterDoc.vue | 6 +++--- doc/menubar/TemplateDoc.vue | 6 +++--- doc/menubar/pt/PTDoc.vue | 6 +++--- doc/menubar/theming/TailwindDoc.vue | 2 +- doc/panelmenu/BasicDoc.vue | 6 +++--- doc/panelmenu/MultipleDoc.vue | 6 +++--- doc/panelmenu/ProgrammaticDoc.vue | 6 +++--- doc/panelmenu/pt/PTDoc.vue | 6 +++--- doc/panelmenu/theming/TailwindDoc.vue | 2 +- doc/tieredmenu/BasicDoc.vue | 8 ++++---- doc/tieredmenu/PopupDoc.vue | 6 +++--- doc/tieredmenu/RouterDoc.vue | 8 ++++---- doc/tieredmenu/pt/PTDoc.vue | 8 ++++---- doc/tieredmenu/theming/TailwindDoc.vue | 4 ++-- 19 files changed, 59 insertions(+), 59 deletions(-) diff --git a/components/lib/contextmenu/ContextMenu.spec.js b/components/lib/contextmenu/ContextMenu.spec.js index 45766e5fb..76f44940e 100644 --- a/components/lib/contextmenu/ContextMenu.spec.js +++ b/components/lib/contextmenu/ContextMenu.spec.js @@ -122,7 +122,7 @@ describe('ContextMenu.vue', () => { ] }, { - label: 'Archieve', + label: 'Archive', icon: 'pi pi-fw pi-calendar-times', items: [ { diff --git a/doc/contextmenu/DocumentDoc.vue b/doc/contextmenu/DocumentDoc.vue index f31c47edb..35e623aad 100644 --- a/doc/contextmenu/DocumentDoc.vue +++ b/doc/contextmenu/DocumentDoc.vue @@ -120,7 +120,7 @@ export default { ] }, { - label: 'Archieve', + label: 'Archive', icon: 'pi pi-fw pi-calendar-times', items: [ { @@ -263,7 +263,7 @@ export default { ] }, { - label: 'Archieve', + label: 'Archive', icon: 'pi pi-fw pi-calendar-times', items: [ { @@ -405,7 +405,7 @@ const items = ref([ ] }, { - label: 'Archieve', + label: 'Archive', icon: 'pi pi-fw pi-calendar-times', items: [ { diff --git a/doc/contextmenu/pt/PTDoc.vue b/doc/contextmenu/pt/PTDoc.vue index 66928a817..541b724eb 100644 --- a/doc/contextmenu/pt/PTDoc.vue +++ b/doc/contextmenu/pt/PTDoc.vue @@ -124,7 +124,7 @@ export default { ] }, { - label: 'Archieve', + label: 'Archive', icon: 'pi pi-fw pi-calendar-times', items: [ { @@ -279,7 +279,7 @@ export default { ] }, { - label: 'Archieve', + label: 'Archive', icon: 'pi pi-fw pi-calendar-times', items: [ { @@ -433,7 +433,7 @@ const items = ref([ ] }, { - label: 'Archieve', + label: 'Archive', icon: 'pi pi-fw pi-calendar-times', items: [ { diff --git a/doc/dock/AdvancedDoc.vue b/doc/dock/AdvancedDoc.vue index 968183640..878bfbd29 100644 --- a/doc/dock/AdvancedDoc.vue +++ b/doc/dock/AdvancedDoc.vue @@ -213,7 +213,7 @@ export default { ] }, { - label: 'Archieve', + label: 'Archive', icon: 'pi pi-fw pi-calendar-times', items: [ { @@ -269,7 +269,7 @@ export default { - +
- + - + - + ` + +` } }; } diff --git a/doc/button/theming/TailwindDoc.vue b/doc/button/theming/TailwindDoc.vue index 22afe9b07..1e16b4280 100644 --- a/doc/button/theming/TailwindDoc.vue +++ b/doc/button/theming/TailwindDoc.vue @@ -129,7 +129,8 @@ export default {
-` + +` } }; } diff --git a/doc/card/pt/PTDoc.vue b/doc/card/pt/PTDoc.vue index 6214850d2..9f2914070 100644 --- a/doc/card/pt/PTDoc.vue +++ b/doc/card/pt/PTDoc.vue @@ -58,7 +58,8 @@ export default { -` + +` } }; } diff --git a/doc/chip/pt/PTDoc.vue b/doc/chip/pt/PTDoc.vue index a61aadce3..a693f00bf 100644 --- a/doc/chip/pt/PTDoc.vue +++ b/doc/chip/pt/PTDoc.vue @@ -50,7 +50,8 @@ export default { label: { class: 'text-white' } }" /> -` + +` } }; } diff --git a/doc/datatable/edit/FilterSortEditDoc.vue b/doc/datatable/edit/FilterSortEditDoc.vue index 126554381..c098779b8 100644 --- a/doc/datatable/edit/FilterSortEditDoc.vue +++ b/doc/datatable/edit/FilterSortEditDoc.vue @@ -215,7 +215,8 @@ const onCellEditComplete = (event) => { } }; -<\/script>`, +<\/script> +`, data: ` { id: '1000', diff --git a/doc/datatable/edit/RowEditDoc.vue b/doc/datatable/edit/RowEditDoc.vue index f8d13bcdb..3a407d990 100644 --- a/doc/datatable/edit/RowEditDoc.vue +++ b/doc/datatable/edit/RowEditDoc.vue @@ -297,7 +297,8 @@ const formatCurrency = (value) => { return new Intl.NumberFormat('en-US', { style: 'currency', currency: 'USD' }).format(value); } -<\/script>`, +<\/script> +`, data: ` { id: '1000', diff --git a/doc/deferredcontent/AccessibilityDoc.vue b/doc/deferredcontent/AccessibilityDoc.vue index 3dfbf56cd..112efe708 100644 --- a/doc/deferredcontent/AccessibilityDoc.vue +++ b/doc/deferredcontent/AccessibilityDoc.vue @@ -20,7 +20,8 @@ export default { basic: ` Content -` + +` } }; } diff --git a/doc/divider/pt/PTDoc.vue b/doc/divider/pt/PTDoc.vue index 837f94e61..a8afec9a0 100644 --- a/doc/divider/pt/PTDoc.vue +++ b/doc/divider/pt/PTDoc.vue @@ -74,7 +74,8 @@ export default { voluptatem quia voluptas sit aspernatur aut odit aut fugit, sed quia consequuntur magni dolores eos qui ratione voluptatem sequi nesciunt. Consectetur, adipisci velit, sed quia non numquam eius modi.

-` + +` } }; } diff --git a/doc/dock/AdvancedDoc.vue b/doc/dock/AdvancedDoc.vue index 878bfbd29..a6f26076c 100644 --- a/doc/dock/AdvancedDoc.vue +++ b/doc/dock/AdvancedDoc.vue @@ -862,7 +862,8 @@ const commandHandler = (text) => { padding: 0; border-radius: 0; } -` + +` } }; }, diff --git a/doc/dock/BasicDoc.vue b/doc/dock/BasicDoc.vue index 0f56311c7..7459c63ba 100644 --- a/doc/dock/BasicDoc.vue +++ b/doc/dock/BasicDoc.vue @@ -226,7 +226,8 @@ const positions = ref([ .dock-demo > .p-dock { z-index: 1000; } -` + +` } }; } diff --git a/doc/dock/pt/PTDoc.vue b/doc/dock/pt/PTDoc.vue index 896fa3f87..5c07ede6e 100644 --- a/doc/dock/pt/PTDoc.vue +++ b/doc/dock/pt/PTDoc.vue @@ -167,7 +167,8 @@ const items = ref([ .dock-demo > .p-dock { z-index: 1000; } -` + +` } }; } diff --git a/doc/dynamicdialog/pt/PTDoc.vue b/doc/dynamicdialog/pt/PTDoc.vue index f4fd93943..747dd696d 100644 --- a/doc/dynamicdialog/pt/PTDoc.vue +++ b/doc/dynamicdialog/pt/PTDoc.vue @@ -31,7 +31,8 @@ export default { root: { class: 'w-12 sm:w-9 md:w-6' } }" /> -` + +` } }; } diff --git a/doc/fieldset/pt/PTDoc.vue b/doc/fieldset/pt/PTDoc.vue index 0d016a45e..49728a2f6 100644 --- a/doc/fieldset/pt/PTDoc.vue +++ b/doc/fieldset/pt/PTDoc.vue @@ -67,7 +67,8 @@ export default {

-` + +` } }; } diff --git a/doc/image/BasicDoc.vue b/doc/image/BasicDoc.vue index dcf057d1e..c52ef142f 100644 --- a/doc/image/BasicDoc.vue +++ b/doc/image/BasicDoc.vue @@ -28,7 +28,8 @@ export default {
Image
-` + +` } }; } diff --git a/doc/image/PreviewDoc.vue b/doc/image/PreviewDoc.vue index 9602fd927..d8bfe1e87 100644 --- a/doc/image/PreviewDoc.vue +++ b/doc/image/PreviewDoc.vue @@ -29,7 +29,8 @@ export default {
Image
-` + +` } }; } diff --git a/doc/image/pt/PTDoc.vue b/doc/image/pt/PTDoc.vue index 1a346274d..0ed025ebd 100644 --- a/doc/image/pt/PTDoc.vue +++ b/doc/image/pt/PTDoc.vue @@ -59,7 +59,8 @@ export default { }" /> -` + +` } }; } diff --git a/doc/image/theming/TailwindDoc.vue b/doc/image/theming/TailwindDoc.vue index be349f00f..7f052beff 100644 --- a/doc/image/theming/TailwindDoc.vue +++ b/doc/image/theming/TailwindDoc.vue @@ -93,7 +93,8 @@ export default {
Image
-` + +` } }; } diff --git a/doc/inputgroup/BasicDoc.vue b/doc/inputgroup/BasicDoc.vue index 694975cf2..7cb418429 100644 --- a/doc/inputgroup/BasicDoc.vue +++ b/doc/inputgroup/BasicDoc.vue @@ -92,7 +92,8 @@ export default { -` + +` } }; } diff --git a/doc/inputgroup/MultipleDoc.vue b/doc/inputgroup/MultipleDoc.vue index f4f2ad1dc..5942e2d5e 100644 --- a/doc/inputgroup/MultipleDoc.vue +++ b/doc/inputgroup/MultipleDoc.vue @@ -68,7 +68,8 @@ export default { .00 -` + +` } }; } diff --git a/doc/ripple/CustomDoc.vue b/doc/ripple/CustomDoc.vue index d8ef6479e..4e5266050 100644 --- a/doc/ripple/CustomDoc.vue +++ b/doc/ripple/CustomDoc.vue @@ -164,7 +164,8 @@ export default { width: 110px; text-align: center; } -` + +` } }; } diff --git a/doc/scrollpanel/pt/PTDoc.vue b/doc/scrollpanel/pt/PTDoc.vue index e46166b29..67af86d3a 100644 --- a/doc/scrollpanel/pt/PTDoc.vue +++ b/doc/scrollpanel/pt/PTDoc.vue @@ -96,7 +96,8 @@ export default {

-` + +` } }; } diff --git a/doc/scrolltop/pt/PTDoc.vue b/doc/scrolltop/pt/PTDoc.vue index bad90eb67..d4751e06b 100644 --- a/doc/scrolltop/pt/PTDoc.vue +++ b/doc/scrolltop/pt/PTDoc.vue @@ -68,7 +68,8 @@ export default { /> -` + +` } }; } diff --git a/doc/sidebar/AccessibilityDoc.vue b/doc/sidebar/AccessibilityDoc.vue index 84a8d7a2a..17290d15c 100644 --- a/doc/sidebar/AccessibilityDoc.vue +++ b/doc/sidebar/AccessibilityDoc.vue @@ -78,7 +78,8 @@ export default {

Content

-
` + +` } }; } diff --git a/doc/skeleton/pt/PTDoc.vue b/doc/skeleton/pt/PTDoc.vue index 1b9cd6a15..f7c977cd4 100644 --- a/doc/skeleton/pt/PTDoc.vue +++ b/doc/skeleton/pt/PTDoc.vue @@ -34,7 +34,8 @@ export default { root: { class: 'w-3rem h-3rem' } }" /> -` + +` } }; } diff --git a/doc/splitter/pt/PTDoc.vue b/doc/splitter/pt/PTDoc.vue index 0c084031f..5d831916f 100644 --- a/doc/splitter/pt/PTDoc.vue +++ b/doc/splitter/pt/PTDoc.vue @@ -50,7 +50,8 @@ export default { Panel 2 -` + +` } }; } diff --git a/doc/styleclass/AnimationDoc.vue b/doc/styleclass/AnimationDoc.vue index e6f623103..99d6ed34e 100644 --- a/doc/styleclass/AnimationDoc.vue +++ b/doc/styleclass/AnimationDoc.vue @@ -147,7 +147,8 @@ export default { .my-fadeout { animation: my-fadeout 150ms linear; } -` + +` } }; } diff --git a/doc/tag/pt/PTDoc.vue b/doc/tag/pt/PTDoc.vue index 1cb10c9c5..44d220f56 100644 --- a/doc/tag/pt/PTDoc.vue +++ b/doc/tag/pt/PTDoc.vue @@ -38,7 +38,8 @@ export default { }" /> -` + +` } }; } diff --git a/doc/timeline/TemplateDoc.vue b/doc/timeline/TemplateDoc.vue index e1ed3e9b8..8b7cccb2f 100644 --- a/doc/timeline/TemplateDoc.vue +++ b/doc/timeline/TemplateDoc.vue @@ -193,7 +193,8 @@ const events = ref([ } } } -` + +` } }; } diff --git a/doc/toolbar/pt/PTDoc.vue b/doc/toolbar/pt/PTDoc.vue index af88b5de3..5e8ba87ae 100644 --- a/doc/toolbar/pt/PTDoc.vue +++ b/doc/toolbar/pt/PTDoc.vue @@ -73,7 +73,8 @@ export default { -` + +` } }; } diff --git a/doc/tooltip/DelayDoc.vue b/doc/tooltip/DelayDoc.vue index b4a28189f..157127765 100644 --- a/doc/tooltip/DelayDoc.vue +++ b/doc/tooltip/DelayDoc.vue @@ -28,7 +28,8 @@ export default {
-` + +` } }; } diff --git a/doc/tooltip/EventDoc.vue b/doc/tooltip/EventDoc.vue index 3b0b4a13a..ec2888e06 100644 --- a/doc/tooltip/EventDoc.vue +++ b/doc/tooltip/EventDoc.vue @@ -32,7 +32,8 @@ export default {