From 52059540639695fae33b1f6ca8ed5d15fb5b7448 Mon Sep 17 00:00:00 2001 From: Cagatay Civici Date: Mon, 15 Feb 2021 11:50:11 +0300 Subject: [PATCH] Fixed #972 - Listbox Enhancements --- public/demo/menu/menu.json | 12 +- public/themes/arya-blue/theme.css | 28 +++ public/themes/arya-green/theme.css | 28 +++ public/themes/arya-orange/theme.css | 28 +++ public/themes/arya-purple/theme.css | 28 +++ public/themes/bootstrap4-dark-blue/theme.css | 28 +++ .../themes/bootstrap4-dark-purple/theme.css | 28 +++ public/themes/bootstrap4-light-blue/theme.css | 28 +++ .../themes/bootstrap4-light-purple/theme.css | 28 +++ public/themes/fluent-light/theme.css | 28 +++ public/themes/luna-amber/theme.css | 28 +++ public/themes/luna-blue/theme.css | 28 +++ public/themes/luna-green/theme.css | 28 +++ public/themes/luna-pink/theme.css | 28 +++ public/themes/md-dark-deeppurple/theme.css | 28 +++ public/themes/md-dark-indigo/theme.css | 28 +++ public/themes/md-light-deeppurple/theme.css | 28 +++ public/themes/md-light-indigo/theme.css | 28 +++ public/themes/mdc-dark-deeppurple/theme.css | 28 +++ public/themes/mdc-dark-indigo/theme.css | 28 +++ public/themes/mdc-light-deeppurple/theme.css | 28 +++ public/themes/mdc-light-indigo/theme.css | 28 +++ public/themes/nova-accent/theme.css | 28 +++ public/themes/nova-alt/theme.css | 28 +++ public/themes/nova-vue/theme.css | 28 +++ public/themes/nova/theme.css | 28 +++ public/themes/rhea/theme.css | 28 +++ public/themes/saga-blue/theme.css | 28 +++ public/themes/saga-green/theme.css | 28 +++ public/themes/saga-orange/theme.css | 28 +++ public/themes/saga-purple/theme.css | 28 +++ public/themes/vela-blue/theme.css | 28 +++ public/themes/vela-green/theme.css | 28 +++ public/themes/vela-orange/theme.css | 28 +++ public/themes/vela-purple/theme.css | 28 +++ src/components/api/FilterService.js | 18 ++ src/components/config/PrimeVue.js | 4 +- src/components/listbox/Listbox.d.ts | 5 + src/components/listbox/Listbox.vue | 85 ++++++- src/views/listbox/ListboxDemo.vue | 42 +++- src/views/listbox/ListboxDoc.vue | 219 +++++++++++++++++- 41 files changed, 1310 insertions(+), 27 deletions(-) diff --git a/public/demo/menu/menu.json b/public/demo/menu/menu.json index f9ac4e2a4..6880bb39e 100644 --- a/public/demo/menu/menu.json +++ b/public/demo/menu/menu.json @@ -130,7 +130,8 @@ "children": [ { "name": "AutoComplete", - "to": "/autocomplete" + "to": "/autocomplete", + "badge": "New" }, { "name": "Calendar", @@ -154,7 +155,8 @@ }, { "name": "Dropdown", - "to": "/dropdown" + "to": "/dropdown", + "badge": "New" }, { "name": "Editor", @@ -194,11 +196,13 @@ }, { "name": "Listbox", - "to": "/listbox" + "to": "/listbox", + "badge": "New" }, { "name": "MultiSelect", - "to": "/multiselect" + "to": "/multiselect", + "badge": "New" }, { "name": "Password", diff --git a/public/themes/arya-blue/theme.css b/public/themes/arya-blue/theme.css index a7a7093f9..d56f8519e 100644 --- a/public/themes/arya-blue/theme.css +++ b/public/themes/arya-blue/theme.css @@ -124,6 +124,13 @@ color: rgba(255, 255, 255, 0.87); background: rgba(100, 181, 246, 0.16); } +.p-autocomplete-panel .p-autocomplete-items .p-autocomplete-item-group { + margin: 0; + padding: 0.75rem 1rem; + color: rgba(255, 255, 255, 0.87); + background: #1e1e1e; + font-weight: 600; +} .p-calendar.p-invalid.p-component > .p-inputtext { border-color: #ef9a9a; @@ -604,6 +611,13 @@ color: rgba(255, 255, 255, 0.87); background: rgba(255, 255, 255, 0.03); } +.p-dropdown-panel .p-dropdown-items .p-dropdown-item-group { + margin: 0; + padding: 0.75rem 1rem; + color: rgba(255, 255, 255, 0.87); + background: #1e1e1e; + font-weight: 600; +} .p-dropdown-panel .p-dropdown-items .p-dropdown-empty-message { padding: 0.5rem 1rem; color: rgba(255, 255, 255, 0.87); @@ -973,6 +987,13 @@ outline-offset: 0; box-shadow: inset 0 0 0 1px #93cbf9; } +.p-listbox .p-listbox-list .p-listbox-item-group { + margin: 0; + padding: 0.75rem 1rem; + color: rgba(255, 255, 255, 0.87); + background: #1e1e1e; + font-weight: 600; +} .p-listbox .p-listbox-list .p-listbox-empty-message { padding: 0.5rem 1rem; color: rgba(255, 255, 255, 0.87); @@ -1107,6 +1128,13 @@ .p-multiselect-panel .p-multiselect-items .p-multiselect-item .p-checkbox { margin-right: 0.5rem; } +.p-multiselect-panel .p-multiselect-items .p-multiselect-item-group { + margin: 0; + padding: 0.75rem 1rem; + color: rgba(255, 255, 255, 0.87); + background: #1e1e1e; + font-weight: 600; +} .p-multiselect-panel .p-multiselect-items .p-multiselect-empty-message { padding: 0.5rem 1rem; color: rgba(255, 255, 255, 0.87); diff --git a/public/themes/arya-green/theme.css b/public/themes/arya-green/theme.css index d983ad66a..08e44aa36 100644 --- a/public/themes/arya-green/theme.css +++ b/public/themes/arya-green/theme.css @@ -124,6 +124,13 @@ color: rgba(255, 255, 255, 0.87); background: rgba(129, 199, 132, 0.16); } +.p-autocomplete-panel .p-autocomplete-items .p-autocomplete-item-group { + margin: 0; + padding: 0.75rem 1rem; + color: rgba(255, 255, 255, 0.87); + background: #1e1e1e; + font-weight: 600; +} .p-calendar.p-invalid.p-component > .p-inputtext { border-color: #ef9a9a; @@ -604,6 +611,13 @@ color: rgba(255, 255, 255, 0.87); background: rgba(255, 255, 255, 0.03); } +.p-dropdown-panel .p-dropdown-items .p-dropdown-item-group { + margin: 0; + padding: 0.75rem 1rem; + color: rgba(255, 255, 255, 0.87); + background: #1e1e1e; + font-weight: 600; +} .p-dropdown-panel .p-dropdown-items .p-dropdown-empty-message { padding: 0.5rem 1rem; color: rgba(255, 255, 255, 0.87); @@ -973,6 +987,13 @@ outline-offset: 0; box-shadow: inset 0 0 0 1px #a7d8a9; } +.p-listbox .p-listbox-list .p-listbox-item-group { + margin: 0; + padding: 0.75rem 1rem; + color: rgba(255, 255, 255, 0.87); + background: #1e1e1e; + font-weight: 600; +} .p-listbox .p-listbox-list .p-listbox-empty-message { padding: 0.5rem 1rem; color: rgba(255, 255, 255, 0.87); @@ -1107,6 +1128,13 @@ .p-multiselect-panel .p-multiselect-items .p-multiselect-item .p-checkbox { margin-right: 0.5rem; } +.p-multiselect-panel .p-multiselect-items .p-multiselect-item-group { + margin: 0; + padding: 0.75rem 1rem; + color: rgba(255, 255, 255, 0.87); + background: #1e1e1e; + font-weight: 600; +} .p-multiselect-panel .p-multiselect-items .p-multiselect-empty-message { padding: 0.5rem 1rem; color: rgba(255, 255, 255, 0.87); diff --git a/public/themes/arya-orange/theme.css b/public/themes/arya-orange/theme.css index fbc78a2f8..4535796e5 100644 --- a/public/themes/arya-orange/theme.css +++ b/public/themes/arya-orange/theme.css @@ -124,6 +124,13 @@ color: rgba(255, 255, 255, 0.87); background: rgba(255, 213, 79, 0.16); } +.p-autocomplete-panel .p-autocomplete-items .p-autocomplete-item-group { + margin: 0; + padding: 0.75rem 1rem; + color: rgba(255, 255, 255, 0.87); + background: #1e1e1e; + font-weight: 600; +} .p-calendar.p-invalid.p-component > .p-inputtext { border-color: #ef9a9a; @@ -604,6 +611,13 @@ color: rgba(255, 255, 255, 0.87); background: rgba(255, 255, 255, 0.03); } +.p-dropdown-panel .p-dropdown-items .p-dropdown-item-group { + margin: 0; + padding: 0.75rem 1rem; + color: rgba(255, 255, 255, 0.87); + background: #1e1e1e; + font-weight: 600; +} .p-dropdown-panel .p-dropdown-items .p-dropdown-empty-message { padding: 0.5rem 1rem; color: rgba(255, 255, 255, 0.87); @@ -973,6 +987,13 @@ outline-offset: 0; box-shadow: inset 0 0 0 1px #ffe284; } +.p-listbox .p-listbox-list .p-listbox-item-group { + margin: 0; + padding: 0.75rem 1rem; + color: rgba(255, 255, 255, 0.87); + background: #1e1e1e; + font-weight: 600; +} .p-listbox .p-listbox-list .p-listbox-empty-message { padding: 0.5rem 1rem; color: rgba(255, 255, 255, 0.87); @@ -1107,6 +1128,13 @@ .p-multiselect-panel .p-multiselect-items .p-multiselect-item .p-checkbox { margin-right: 0.5rem; } +.p-multiselect-panel .p-multiselect-items .p-multiselect-item-group { + margin: 0; + padding: 0.75rem 1rem; + color: rgba(255, 255, 255, 0.87); + background: #1e1e1e; + font-weight: 600; +} .p-multiselect-panel .p-multiselect-items .p-multiselect-empty-message { padding: 0.5rem 1rem; color: rgba(255, 255, 255, 0.87); diff --git a/public/themes/arya-purple/theme.css b/public/themes/arya-purple/theme.css index df2ce0872..99dac42c4 100644 --- a/public/themes/arya-purple/theme.css +++ b/public/themes/arya-purple/theme.css @@ -124,6 +124,13 @@ color: rgba(255, 255, 255, 0.87); background: rgba(186, 104, 200, 0.16); } +.p-autocomplete-panel .p-autocomplete-items .p-autocomplete-item-group { + margin: 0; + padding: 0.75rem 1rem; + color: rgba(255, 255, 255, 0.87); + background: #1e1e1e; + font-weight: 600; +} .p-calendar.p-invalid.p-component > .p-inputtext { border-color: #ef9a9a; @@ -604,6 +611,13 @@ color: rgba(255, 255, 255, 0.87); background: rgba(255, 255, 255, 0.03); } +.p-dropdown-panel .p-dropdown-items .p-dropdown-item-group { + margin: 0; + padding: 0.75rem 1rem; + color: rgba(255, 255, 255, 0.87); + background: #1e1e1e; + font-weight: 600; +} .p-dropdown-panel .p-dropdown-items .p-dropdown-empty-message { padding: 0.5rem 1rem; color: rgba(255, 255, 255, 0.87); @@ -973,6 +987,13 @@ outline-offset: 0; box-shadow: inset 0 0 0 1px #cf95d9; } +.p-listbox .p-listbox-list .p-listbox-item-group { + margin: 0; + padding: 0.75rem 1rem; + color: rgba(255, 255, 255, 0.87); + background: #1e1e1e; + font-weight: 600; +} .p-listbox .p-listbox-list .p-listbox-empty-message { padding: 0.5rem 1rem; color: rgba(255, 255, 255, 0.87); @@ -1107,6 +1128,13 @@ .p-multiselect-panel .p-multiselect-items .p-multiselect-item .p-checkbox { margin-right: 0.5rem; } +.p-multiselect-panel .p-multiselect-items .p-multiselect-item-group { + margin: 0; + padding: 0.75rem 1rem; + color: rgba(255, 255, 255, 0.87); + background: #1e1e1e; + font-weight: 600; +} .p-multiselect-panel .p-multiselect-items .p-multiselect-empty-message { padding: 0.5rem 1rem; color: rgba(255, 255, 255, 0.87); diff --git a/public/themes/bootstrap4-dark-blue/theme.css b/public/themes/bootstrap4-dark-blue/theme.css index 528d66a98..15589fc3b 100644 --- a/public/themes/bootstrap4-dark-blue/theme.css +++ b/public/themes/bootstrap4-dark-blue/theme.css @@ -124,6 +124,13 @@ color: #151515; background: #8dd0ff; } +.p-autocomplete-panel .p-autocomplete-items .p-autocomplete-item-group { + margin: 0; + padding: 0.75rem 1rem; + color: rgba(255, 255, 255, 0.87); + background: #2a323d; + font-weight: 600; +} .p-calendar.p-invalid.p-component > .p-inputtext { border-color: #f19ea6; @@ -608,6 +615,13 @@ color: rgba(255, 255, 255, 0.87); background: rgba(255, 255, 255, 0.04); } +.p-dropdown-panel .p-dropdown-items .p-dropdown-item-group { + margin: 0; + padding: 0.75rem 1rem; + color: rgba(255, 255, 255, 0.87); + background: #2a323d; + font-weight: 600; +} .p-dropdown-panel .p-dropdown-items .p-dropdown-empty-message { padding: 0.5rem 1.5rem; color: rgba(255, 255, 255, 0.87); @@ -977,6 +991,13 @@ outline-offset: 0; box-shadow: inset 0 0 0 0.15rem #e3f3fe; } +.p-listbox .p-listbox-list .p-listbox-item-group { + margin: 0; + padding: 0.75rem 1rem; + color: rgba(255, 255, 255, 0.87); + background: #2a323d; + font-weight: 600; +} .p-listbox .p-listbox-list .p-listbox-empty-message { padding: 0.5rem 1.5rem; color: rgba(255, 255, 255, 0.87); @@ -1111,6 +1132,13 @@ .p-multiselect-panel .p-multiselect-items .p-multiselect-item .p-checkbox { margin-right: 0.5rem; } +.p-multiselect-panel .p-multiselect-items .p-multiselect-item-group { + margin: 0; + padding: 0.75rem 1rem; + color: rgba(255, 255, 255, 0.87); + background: #2a323d; + font-weight: 600; +} .p-multiselect-panel .p-multiselect-items .p-multiselect-empty-message { padding: 0.5rem 1.5rem; color: rgba(255, 255, 255, 0.87); diff --git a/public/themes/bootstrap4-dark-purple/theme.css b/public/themes/bootstrap4-dark-purple/theme.css index 80efdf64d..2d36b52cb 100644 --- a/public/themes/bootstrap4-dark-purple/theme.css +++ b/public/themes/bootstrap4-dark-purple/theme.css @@ -124,6 +124,13 @@ color: #151515; background: #c298d8; } +.p-autocomplete-panel .p-autocomplete-items .p-autocomplete-item-group { + margin: 0; + padding: 0.75rem 1rem; + color: rgba(255, 255, 255, 0.87); + background: #2a323d; + font-weight: 600; +} .p-calendar.p-invalid.p-component > .p-inputtext { border-color: #f19ea6; @@ -608,6 +615,13 @@ color: rgba(255, 255, 255, 0.87); background: rgba(255, 255, 255, 0.04); } +.p-dropdown-panel .p-dropdown-items .p-dropdown-item-group { + margin: 0; + padding: 0.75rem 1rem; + color: rgba(255, 255, 255, 0.87); + background: #2a323d; + font-weight: 600; +} .p-dropdown-panel .p-dropdown-items .p-dropdown-empty-message { padding: 0.5rem 1.5rem; color: rgba(255, 255, 255, 0.87); @@ -977,6 +991,13 @@ outline-offset: 0; box-shadow: inset 0 0 0 0.15rem #f0e6f5; } +.p-listbox .p-listbox-list .p-listbox-item-group { + margin: 0; + padding: 0.75rem 1rem; + color: rgba(255, 255, 255, 0.87); + background: #2a323d; + font-weight: 600; +} .p-listbox .p-listbox-list .p-listbox-empty-message { padding: 0.5rem 1.5rem; color: rgba(255, 255, 255, 0.87); @@ -1111,6 +1132,13 @@ .p-multiselect-panel .p-multiselect-items .p-multiselect-item .p-checkbox { margin-right: 0.5rem; } +.p-multiselect-panel .p-multiselect-items .p-multiselect-item-group { + margin: 0; + padding: 0.75rem 1rem; + color: rgba(255, 255, 255, 0.87); + background: #2a323d; + font-weight: 600; +} .p-multiselect-panel .p-multiselect-items .p-multiselect-empty-message { padding: 0.5rem 1.5rem; color: rgba(255, 255, 255, 0.87); diff --git a/public/themes/bootstrap4-light-blue/theme.css b/public/themes/bootstrap4-light-blue/theme.css index 0186285c1..3cbc7543a 100644 --- a/public/themes/bootstrap4-light-blue/theme.css +++ b/public/themes/bootstrap4-light-blue/theme.css @@ -124,6 +124,13 @@ color: #ffffff; background: #007bff; } +.p-autocomplete-panel .p-autocomplete-items .p-autocomplete-item-group { + margin: 0; + padding: 0.75rem 1rem; + color: #212529; + background: #ffffff; + font-weight: 600; +} .p-calendar.p-invalid.p-component > .p-inputtext { border-color: #dc3545; @@ -608,6 +615,13 @@ color: #212529; background: #e9ecef; } +.p-dropdown-panel .p-dropdown-items .p-dropdown-item-group { + margin: 0; + padding: 0.75rem 1rem; + color: #212529; + background: #ffffff; + font-weight: 600; +} .p-dropdown-panel .p-dropdown-items .p-dropdown-empty-message { padding: 0.5rem 1.5rem; color: #212529; @@ -977,6 +991,13 @@ outline-offset: 0; box-shadow: inset 0 0 0 0.15rem rgba(38, 143, 255, 0.5); } +.p-listbox .p-listbox-list .p-listbox-item-group { + margin: 0; + padding: 0.75rem 1rem; + color: #212529; + background: #ffffff; + font-weight: 600; +} .p-listbox .p-listbox-list .p-listbox-empty-message { padding: 0.5rem 1.5rem; color: #212529; @@ -1111,6 +1132,13 @@ .p-multiselect-panel .p-multiselect-items .p-multiselect-item .p-checkbox { margin-right: 0.5rem; } +.p-multiselect-panel .p-multiselect-items .p-multiselect-item-group { + margin: 0; + padding: 0.75rem 1rem; + color: #212529; + background: #ffffff; + font-weight: 600; +} .p-multiselect-panel .p-multiselect-items .p-multiselect-empty-message { padding: 0.5rem 1.5rem; color: #212529; diff --git a/public/themes/bootstrap4-light-purple/theme.css b/public/themes/bootstrap4-light-purple/theme.css index 9d7eb5ae2..547aff09e 100644 --- a/public/themes/bootstrap4-light-purple/theme.css +++ b/public/themes/bootstrap4-light-purple/theme.css @@ -124,6 +124,13 @@ color: #ffffff; background: #883cae; } +.p-autocomplete-panel .p-autocomplete-items .p-autocomplete-item-group { + margin: 0; + padding: 0.75rem 1rem; + color: #212529; + background: #ffffff; + font-weight: 600; +} .p-calendar.p-invalid.p-component > .p-inputtext { border-color: #dc3545; @@ -608,6 +615,13 @@ color: #212529; background: #e9ecef; } +.p-dropdown-panel .p-dropdown-items .p-dropdown-item-group { + margin: 0; + padding: 0.75rem 1rem; + color: #212529; + background: #ffffff; + font-weight: 600; +} .p-dropdown-panel .p-dropdown-items .p-dropdown-empty-message { padding: 0.5rem 1.5rem; color: #212529; @@ -977,6 +991,13 @@ outline-offset: 0; box-shadow: inset 0 0 0 0.15rem rgba(136, 60, 174, 0.5); } +.p-listbox .p-listbox-list .p-listbox-item-group { + margin: 0; + padding: 0.75rem 1rem; + color: #212529; + background: #ffffff; + font-weight: 600; +} .p-listbox .p-listbox-list .p-listbox-empty-message { padding: 0.5rem 1.5rem; color: #212529; @@ -1111,6 +1132,13 @@ .p-multiselect-panel .p-multiselect-items .p-multiselect-item .p-checkbox { margin-right: 0.5rem; } +.p-multiselect-panel .p-multiselect-items .p-multiselect-item-group { + margin: 0; + padding: 0.75rem 1rem; + color: #212529; + background: #ffffff; + font-weight: 600; +} .p-multiselect-panel .p-multiselect-items .p-multiselect-empty-message { padding: 0.5rem 1.5rem; color: #212529; diff --git a/public/themes/fluent-light/theme.css b/public/themes/fluent-light/theme.css index 6f36d1d07..823ceae71 100644 --- a/public/themes/fluent-light/theme.css +++ b/public/themes/fluent-light/theme.css @@ -124,6 +124,13 @@ color: #323130; background: #edebe9; } +.p-autocomplete-panel .p-autocomplete-items .p-autocomplete-item-group { + margin: 0; + padding: 0.75rem 0.5rem; + color: #0078d4; + background: #ffffff; + font-weight: 600; +} .p-calendar.p-invalid.p-component > .p-inputtext { border-color: #a4252c; @@ -604,6 +611,13 @@ color: #323130; background: #f3f2f1; } +.p-dropdown-panel .p-dropdown-items .p-dropdown-item-group { + margin: 0; + padding: 0.75rem 0.5rem; + color: #0078d4; + background: #ffffff; + font-weight: 600; +} .p-dropdown-panel .p-dropdown-items .p-dropdown-empty-message { padding: 0.75rem 0.5rem; color: #323130; @@ -973,6 +987,13 @@ outline-offset: 0; box-shadow: inset 0 0 0 1px #605e5c; } +.p-listbox .p-listbox-list .p-listbox-item-group { + margin: 0; + padding: 0.75rem 0.5rem; + color: #0078d4; + background: #ffffff; + font-weight: 600; +} .p-listbox .p-listbox-list .p-listbox-empty-message { padding: 0.75rem 0.5rem; color: #323130; @@ -1107,6 +1128,13 @@ .p-multiselect-panel .p-multiselect-items .p-multiselect-item .p-checkbox { margin-right: 0.5rem; } +.p-multiselect-panel .p-multiselect-items .p-multiselect-item-group { + margin: 0; + padding: 0.75rem 0.5rem; + color: #0078d4; + background: #ffffff; + font-weight: 600; +} .p-multiselect-panel .p-multiselect-items .p-multiselect-empty-message { padding: 0.75rem 0.5rem; color: #323130; diff --git a/public/themes/luna-amber/theme.css b/public/themes/luna-amber/theme.css index 4423ac6b4..1f837b5ca 100644 --- a/public/themes/luna-amber/theme.css +++ b/public/themes/luna-amber/theme.css @@ -124,6 +124,13 @@ color: #212529; background: #FFE082; } +.p-autocomplete-panel .p-autocomplete-items .p-autocomplete-item-group { + margin: 0; + padding: 0.857rem; + color: #dedede; + background: #191919; + font-weight: 700; +} .p-calendar.p-invalid.p-component > .p-inputtext { border-color: #e57373; @@ -608,6 +615,13 @@ color: #dedede; background: #4c4c4c; } +.p-dropdown-panel .p-dropdown-items .p-dropdown-item-group { + margin: 0; + padding: 0.857rem; + color: #dedede; + background: #191919; + font-weight: 700; +} .p-dropdown-panel .p-dropdown-items .p-dropdown-empty-message { padding: 0.429rem 0.857rem; color: #dedede; @@ -977,6 +991,13 @@ outline-offset: 0; box-shadow: inset 0 0 0 0.2rem white; } +.p-listbox .p-listbox-list .p-listbox-item-group { + margin: 0; + padding: 0.857rem; + color: #dedede; + background: #191919; + font-weight: 700; +} .p-listbox .p-listbox-list .p-listbox-empty-message { padding: 0.429rem 0.857rem; color: #dedede; @@ -1111,6 +1132,13 @@ .p-multiselect-panel .p-multiselect-items .p-multiselect-item .p-checkbox { margin-right: 0.5rem; } +.p-multiselect-panel .p-multiselect-items .p-multiselect-item-group { + margin: 0; + padding: 0.857rem; + color: #dedede; + background: #191919; + font-weight: 700; +} .p-multiselect-panel .p-multiselect-items .p-multiselect-empty-message { padding: 0.429rem 0.857rem; color: #dedede; diff --git a/public/themes/luna-blue/theme.css b/public/themes/luna-blue/theme.css index 77726d27e..3842807cf 100644 --- a/public/themes/luna-blue/theme.css +++ b/public/themes/luna-blue/theme.css @@ -124,6 +124,13 @@ color: #212529; background: #81D4FA; } +.p-autocomplete-panel .p-autocomplete-items .p-autocomplete-item-group { + margin: 0; + padding: 0.857rem; + color: #dedede; + background: #191919; + font-weight: 700; +} .p-calendar.p-invalid.p-component > .p-inputtext { border-color: #e57373; @@ -608,6 +615,13 @@ color: #dedede; background: #4c4c4c; } +.p-dropdown-panel .p-dropdown-items .p-dropdown-item-group { + margin: 0; + padding: 0.857rem; + color: #dedede; + background: #191919; + font-weight: 700; +} .p-dropdown-panel .p-dropdown-items .p-dropdown-empty-message { padding: 0.429rem 0.857rem; color: #dedede; @@ -977,6 +991,13 @@ outline-offset: 0; box-shadow: inset 0 0 0 0.2rem white; } +.p-listbox .p-listbox-list .p-listbox-item-group { + margin: 0; + padding: 0.857rem; + color: #dedede; + background: #191919; + font-weight: 700; +} .p-listbox .p-listbox-list .p-listbox-empty-message { padding: 0.429rem 0.857rem; color: #dedede; @@ -1111,6 +1132,13 @@ .p-multiselect-panel .p-multiselect-items .p-multiselect-item .p-checkbox { margin-right: 0.5rem; } +.p-multiselect-panel .p-multiselect-items .p-multiselect-item-group { + margin: 0; + padding: 0.857rem; + color: #dedede; + background: #191919; + font-weight: 700; +} .p-multiselect-panel .p-multiselect-items .p-multiselect-empty-message { padding: 0.429rem 0.857rem; color: #dedede; diff --git a/public/themes/luna-green/theme.css b/public/themes/luna-green/theme.css index 343ca9492..475e356d2 100644 --- a/public/themes/luna-green/theme.css +++ b/public/themes/luna-green/theme.css @@ -124,6 +124,13 @@ color: #212529; background: #C5E1A5; } +.p-autocomplete-panel .p-autocomplete-items .p-autocomplete-item-group { + margin: 0; + padding: 0.857rem; + color: #dedede; + background: #191919; + font-weight: 700; +} .p-calendar.p-invalid.p-component > .p-inputtext { border-color: #e57373; @@ -608,6 +615,13 @@ color: #dedede; background: #4c4c4c; } +.p-dropdown-panel .p-dropdown-items .p-dropdown-item-group { + margin: 0; + padding: 0.857rem; + color: #dedede; + background: #191919; + font-weight: 700; +} .p-dropdown-panel .p-dropdown-items .p-dropdown-empty-message { padding: 0.429rem 0.857rem; color: #dedede; @@ -977,6 +991,13 @@ outline-offset: 0; box-shadow: inset 0 0 0 0.2rem white; } +.p-listbox .p-listbox-list .p-listbox-item-group { + margin: 0; + padding: 0.857rem; + color: #dedede; + background: #191919; + font-weight: 700; +} .p-listbox .p-listbox-list .p-listbox-empty-message { padding: 0.429rem 0.857rem; color: #dedede; @@ -1111,6 +1132,13 @@ .p-multiselect-panel .p-multiselect-items .p-multiselect-item .p-checkbox { margin-right: 0.5rem; } +.p-multiselect-panel .p-multiselect-items .p-multiselect-item-group { + margin: 0; + padding: 0.857rem; + color: #dedede; + background: #191919; + font-weight: 700; +} .p-multiselect-panel .p-multiselect-items .p-multiselect-empty-message { padding: 0.429rem 0.857rem; color: #dedede; diff --git a/public/themes/luna-pink/theme.css b/public/themes/luna-pink/theme.css index 5f9907905..a7dc8b929 100644 --- a/public/themes/luna-pink/theme.css +++ b/public/themes/luna-pink/theme.css @@ -124,6 +124,13 @@ color: #212529; background: #F48FB1; } +.p-autocomplete-panel .p-autocomplete-items .p-autocomplete-item-group { + margin: 0; + padding: 0.857rem; + color: #dedede; + background: #191919; + font-weight: 700; +} .p-calendar.p-invalid.p-component > .p-inputtext { border-color: #e57373; @@ -608,6 +615,13 @@ color: #dedede; background: #4c4c4c; } +.p-dropdown-panel .p-dropdown-items .p-dropdown-item-group { + margin: 0; + padding: 0.857rem; + color: #dedede; + background: #191919; + font-weight: 700; +} .p-dropdown-panel .p-dropdown-items .p-dropdown-empty-message { padding: 0.429rem 0.857rem; color: #dedede; @@ -977,6 +991,13 @@ outline-offset: 0; box-shadow: inset 0 0 0 0.2rem white; } +.p-listbox .p-listbox-list .p-listbox-item-group { + margin: 0; + padding: 0.857rem; + color: #dedede; + background: #191919; + font-weight: 700; +} .p-listbox .p-listbox-list .p-listbox-empty-message { padding: 0.429rem 0.857rem; color: #dedede; @@ -1111,6 +1132,13 @@ .p-multiselect-panel .p-multiselect-items .p-multiselect-item .p-checkbox { margin-right: 0.5rem; } +.p-multiselect-panel .p-multiselect-items .p-multiselect-item-group { + margin: 0; + padding: 0.857rem; + color: #dedede; + background: #191919; + font-weight: 700; +} .p-multiselect-panel .p-multiselect-items .p-multiselect-empty-message { padding: 0.429rem 0.857rem; color: #dedede; diff --git a/public/themes/md-dark-deeppurple/theme.css b/public/themes/md-dark-deeppurple/theme.css index 83b09adc0..fc8799a16 100644 --- a/public/themes/md-dark-deeppurple/theme.css +++ b/public/themes/md-dark-deeppurple/theme.css @@ -148,6 +148,13 @@ color: #CE93D8; background: rgba(206, 147, 216, 0.16); } +.p-autocomplete-panel .p-autocomplete-items .p-autocomplete-item-group { + margin: 0; + padding: 1rem; + color: rgba(255, 255, 255, 0.6); + background: transparent; + font-weight: 400; +} .p-calendar.p-invalid.p-component > .p-inputtext { border-color: #f44435; @@ -628,6 +635,13 @@ color: rgba(255, 255, 255, 0.87); background: rgba(255, 255, 255, 0.04); } +.p-dropdown-panel .p-dropdown-items .p-dropdown-item-group { + margin: 0; + padding: 1rem; + color: rgba(255, 255, 255, 0.6); + background: transparent; + font-weight: 400; +} .p-dropdown-panel .p-dropdown-items .p-dropdown-empty-message { padding: 1rem 1rem; color: rgba(255, 255, 255, 0.87); @@ -997,6 +1011,13 @@ outline-offset: 0; box-shadow: none; } +.p-listbox .p-listbox-list .p-listbox-item-group { + margin: 0; + padding: 1rem; + color: rgba(255, 255, 255, 0.6); + background: transparent; + font-weight: 400; +} .p-listbox .p-listbox-list .p-listbox-empty-message { padding: 1rem 1rem; color: rgba(255, 255, 255, 0.87); @@ -1131,6 +1152,13 @@ .p-multiselect-panel .p-multiselect-items .p-multiselect-item .p-checkbox { margin-right: 0.5rem; } +.p-multiselect-panel .p-multiselect-items .p-multiselect-item-group { + margin: 0; + padding: 1rem; + color: rgba(255, 255, 255, 0.6); + background: transparent; + font-weight: 400; +} .p-multiselect-panel .p-multiselect-items .p-multiselect-empty-message { padding: 1rem 1rem; color: rgba(255, 255, 255, 0.87); diff --git a/public/themes/md-dark-indigo/theme.css b/public/themes/md-dark-indigo/theme.css index ce3d6a5a9..2bddbe308 100644 --- a/public/themes/md-dark-indigo/theme.css +++ b/public/themes/md-dark-indigo/theme.css @@ -148,6 +148,13 @@ color: #9FA8DA; background: rgba(159, 168, 218, 0.16); } +.p-autocomplete-panel .p-autocomplete-items .p-autocomplete-item-group { + margin: 0; + padding: 1rem; + color: rgba(255, 255, 255, 0.6); + background: transparent; + font-weight: 400; +} .p-calendar.p-invalid.p-component > .p-inputtext { border-color: #f44435; @@ -628,6 +635,13 @@ color: rgba(255, 255, 255, 0.87); background: rgba(255, 255, 255, 0.04); } +.p-dropdown-panel .p-dropdown-items .p-dropdown-item-group { + margin: 0; + padding: 1rem; + color: rgba(255, 255, 255, 0.6); + background: transparent; + font-weight: 400; +} .p-dropdown-panel .p-dropdown-items .p-dropdown-empty-message { padding: 1rem 1rem; color: rgba(255, 255, 255, 0.87); @@ -997,6 +1011,13 @@ outline-offset: 0; box-shadow: none; } +.p-listbox .p-listbox-list .p-listbox-item-group { + margin: 0; + padding: 1rem; + color: rgba(255, 255, 255, 0.6); + background: transparent; + font-weight: 400; +} .p-listbox .p-listbox-list .p-listbox-empty-message { padding: 1rem 1rem; color: rgba(255, 255, 255, 0.87); @@ -1131,6 +1152,13 @@ .p-multiselect-panel .p-multiselect-items .p-multiselect-item .p-checkbox { margin-right: 0.5rem; } +.p-multiselect-panel .p-multiselect-items .p-multiselect-item-group { + margin: 0; + padding: 1rem; + color: rgba(255, 255, 255, 0.6); + background: transparent; + font-weight: 400; +} .p-multiselect-panel .p-multiselect-items .p-multiselect-empty-message { padding: 1rem 1rem; color: rgba(255, 255, 255, 0.87); diff --git a/public/themes/md-light-deeppurple/theme.css b/public/themes/md-light-deeppurple/theme.css index 53331f09e..68658640f 100644 --- a/public/themes/md-light-deeppurple/theme.css +++ b/public/themes/md-light-deeppurple/theme.css @@ -148,6 +148,13 @@ color: #673AB7; background: rgba(103, 58, 183, 0.12); } +.p-autocomplete-panel .p-autocomplete-items .p-autocomplete-item-group { + margin: 0; + padding: 1rem; + color: rgba(0, 0, 0, 0.6); + background: #ffffff; + font-weight: 400; +} .p-calendar.p-invalid.p-component > .p-inputtext { border-color: #B00020; @@ -628,6 +635,13 @@ color: rgba(0, 0, 0, 0.87); background: rgba(0, 0, 0, 0.04); } +.p-dropdown-panel .p-dropdown-items .p-dropdown-item-group { + margin: 0; + padding: 1rem; + color: rgba(0, 0, 0, 0.6); + background: #ffffff; + font-weight: 400; +} .p-dropdown-panel .p-dropdown-items .p-dropdown-empty-message { padding: 1rem 1rem; color: rgba(0, 0, 0, 0.87); @@ -997,6 +1011,13 @@ outline-offset: 0; box-shadow: none; } +.p-listbox .p-listbox-list .p-listbox-item-group { + margin: 0; + padding: 1rem; + color: rgba(0, 0, 0, 0.6); + background: #ffffff; + font-weight: 400; +} .p-listbox .p-listbox-list .p-listbox-empty-message { padding: 1rem 1rem; color: rgba(0, 0, 0, 0.87); @@ -1131,6 +1152,13 @@ .p-multiselect-panel .p-multiselect-items .p-multiselect-item .p-checkbox { margin-right: 0.5rem; } +.p-multiselect-panel .p-multiselect-items .p-multiselect-item-group { + margin: 0; + padding: 1rem; + color: rgba(0, 0, 0, 0.6); + background: #ffffff; + font-weight: 400; +} .p-multiselect-panel .p-multiselect-items .p-multiselect-empty-message { padding: 1rem 1rem; color: rgba(0, 0, 0, 0.87); diff --git a/public/themes/md-light-indigo/theme.css b/public/themes/md-light-indigo/theme.css index 52b58bb66..35ab4896c 100644 --- a/public/themes/md-light-indigo/theme.css +++ b/public/themes/md-light-indigo/theme.css @@ -148,6 +148,13 @@ color: #3F51B5; background: rgba(63, 81, 181, 0.12); } +.p-autocomplete-panel .p-autocomplete-items .p-autocomplete-item-group { + margin: 0; + padding: 1rem; + color: rgba(0, 0, 0, 0.6); + background: #ffffff; + font-weight: 400; +} .p-calendar.p-invalid.p-component > .p-inputtext { border-color: #B00020; @@ -628,6 +635,13 @@ color: rgba(0, 0, 0, 0.87); background: rgba(0, 0, 0, 0.04); } +.p-dropdown-panel .p-dropdown-items .p-dropdown-item-group { + margin: 0; + padding: 1rem; + color: rgba(0, 0, 0, 0.6); + background: #ffffff; + font-weight: 400; +} .p-dropdown-panel .p-dropdown-items .p-dropdown-empty-message { padding: 1rem 1rem; color: rgba(0, 0, 0, 0.87); @@ -997,6 +1011,13 @@ outline-offset: 0; box-shadow: none; } +.p-listbox .p-listbox-list .p-listbox-item-group { + margin: 0; + padding: 1rem; + color: rgba(0, 0, 0, 0.6); + background: #ffffff; + font-weight: 400; +} .p-listbox .p-listbox-list .p-listbox-empty-message { padding: 1rem 1rem; color: rgba(0, 0, 0, 0.87); @@ -1131,6 +1152,13 @@ .p-multiselect-panel .p-multiselect-items .p-multiselect-item .p-checkbox { margin-right: 0.5rem; } +.p-multiselect-panel .p-multiselect-items .p-multiselect-item-group { + margin: 0; + padding: 1rem; + color: rgba(0, 0, 0, 0.6); + background: #ffffff; + font-weight: 400; +} .p-multiselect-panel .p-multiselect-items .p-multiselect-empty-message { padding: 1rem 1rem; color: rgba(0, 0, 0, 0.87); diff --git a/public/themes/mdc-dark-deeppurple/theme.css b/public/themes/mdc-dark-deeppurple/theme.css index 70e778189..f3081716b 100644 --- a/public/themes/mdc-dark-deeppurple/theme.css +++ b/public/themes/mdc-dark-deeppurple/theme.css @@ -148,6 +148,13 @@ color: #673AB7; background: rgba(103, 58, 183, 0.16); } +.p-autocomplete-panel .p-autocomplete-items .p-autocomplete-item-group { + margin: 0; + padding: 0.75rem; + color: rgba(255, 255, 255, 0.6); + background: transparent; + font-weight: 400; +} .p-calendar.p-invalid.p-component > .p-inputtext { border-color: #f44435; @@ -628,6 +635,13 @@ color: rgba(255, 255, 255, 0.87); background: rgba(255, 255, 255, 0.04); } +.p-dropdown-panel .p-dropdown-items .p-dropdown-item-group { + margin: 0; + padding: 0.75rem; + color: rgba(255, 255, 255, 0.6); + background: transparent; + font-weight: 400; +} .p-dropdown-panel .p-dropdown-items .p-dropdown-empty-message { padding: 0.75rem 0.75rem; color: rgba(255, 255, 255, 0.87); @@ -997,6 +1011,13 @@ outline-offset: 0; box-shadow: none; } +.p-listbox .p-listbox-list .p-listbox-item-group { + margin: 0; + padding: 0.75rem; + color: rgba(255, 255, 255, 0.6); + background: transparent; + font-weight: 400; +} .p-listbox .p-listbox-list .p-listbox-empty-message { padding: 0.75rem 0.75rem; color: rgba(255, 255, 255, 0.87); @@ -1131,6 +1152,13 @@ .p-multiselect-panel .p-multiselect-items .p-multiselect-item .p-checkbox { margin-right: 0.5rem; } +.p-multiselect-panel .p-multiselect-items .p-multiselect-item-group { + margin: 0; + padding: 0.75rem; + color: rgba(255, 255, 255, 0.6); + background: transparent; + font-weight: 400; +} .p-multiselect-panel .p-multiselect-items .p-multiselect-empty-message { padding: 0.75rem 0.75rem; color: rgba(255, 255, 255, 0.87); diff --git a/public/themes/mdc-dark-indigo/theme.css b/public/themes/mdc-dark-indigo/theme.css index 8a0f19235..d6a75a296 100644 --- a/public/themes/mdc-dark-indigo/theme.css +++ b/public/themes/mdc-dark-indigo/theme.css @@ -148,6 +148,13 @@ color: #3F51B5; background: rgba(63, 81, 181, 0.16); } +.p-autocomplete-panel .p-autocomplete-items .p-autocomplete-item-group { + margin: 0; + padding: 0.75rem; + color: rgba(255, 255, 255, 0.6); + background: transparent; + font-weight: 400; +} .p-calendar.p-invalid.p-component > .p-inputtext { border-color: #f44435; @@ -628,6 +635,13 @@ color: rgba(255, 255, 255, 0.87); background: rgba(255, 255, 255, 0.04); } +.p-dropdown-panel .p-dropdown-items .p-dropdown-item-group { + margin: 0; + padding: 0.75rem; + color: rgba(255, 255, 255, 0.6); + background: transparent; + font-weight: 400; +} .p-dropdown-panel .p-dropdown-items .p-dropdown-empty-message { padding: 0.75rem 0.75rem; color: rgba(255, 255, 255, 0.87); @@ -997,6 +1011,13 @@ outline-offset: 0; box-shadow: none; } +.p-listbox .p-listbox-list .p-listbox-item-group { + margin: 0; + padding: 0.75rem; + color: rgba(255, 255, 255, 0.6); + background: transparent; + font-weight: 400; +} .p-listbox .p-listbox-list .p-listbox-empty-message { padding: 0.75rem 0.75rem; color: rgba(255, 255, 255, 0.87); @@ -1131,6 +1152,13 @@ .p-multiselect-panel .p-multiselect-items .p-multiselect-item .p-checkbox { margin-right: 0.5rem; } +.p-multiselect-panel .p-multiselect-items .p-multiselect-item-group { + margin: 0; + padding: 0.75rem; + color: rgba(255, 255, 255, 0.6); + background: transparent; + font-weight: 400; +} .p-multiselect-panel .p-multiselect-items .p-multiselect-empty-message { padding: 0.75rem 0.75rem; color: rgba(255, 255, 255, 0.87); diff --git a/public/themes/mdc-light-deeppurple/theme.css b/public/themes/mdc-light-deeppurple/theme.css index a37458250..5116514c1 100644 --- a/public/themes/mdc-light-deeppurple/theme.css +++ b/public/themes/mdc-light-deeppurple/theme.css @@ -148,6 +148,13 @@ color: #673AB7; background: rgba(103, 58, 183, 0.12); } +.p-autocomplete-panel .p-autocomplete-items .p-autocomplete-item-group { + margin: 0; + padding: 0.75rem; + color: rgba(0, 0, 0, 0.6); + background: #ffffff; + font-weight: 400; +} .p-calendar.p-invalid.p-component > .p-inputtext { border-color: #B00020; @@ -628,6 +635,13 @@ color: rgba(0, 0, 0, 0.87); background: rgba(0, 0, 0, 0.04); } +.p-dropdown-panel .p-dropdown-items .p-dropdown-item-group { + margin: 0; + padding: 0.75rem; + color: rgba(0, 0, 0, 0.6); + background: #ffffff; + font-weight: 400; +} .p-dropdown-panel .p-dropdown-items .p-dropdown-empty-message { padding: 0.75rem 0.75rem; color: rgba(0, 0, 0, 0.87); @@ -997,6 +1011,13 @@ outline-offset: 0; box-shadow: none; } +.p-listbox .p-listbox-list .p-listbox-item-group { + margin: 0; + padding: 0.75rem; + color: rgba(0, 0, 0, 0.6); + background: #ffffff; + font-weight: 400; +} .p-listbox .p-listbox-list .p-listbox-empty-message { padding: 0.75rem 0.75rem; color: rgba(0, 0, 0, 0.87); @@ -1131,6 +1152,13 @@ .p-multiselect-panel .p-multiselect-items .p-multiselect-item .p-checkbox { margin-right: 0.5rem; } +.p-multiselect-panel .p-multiselect-items .p-multiselect-item-group { + margin: 0; + padding: 0.75rem; + color: rgba(0, 0, 0, 0.6); + background: #ffffff; + font-weight: 400; +} .p-multiselect-panel .p-multiselect-items .p-multiselect-empty-message { padding: 0.75rem 0.75rem; color: rgba(0, 0, 0, 0.87); diff --git a/public/themes/mdc-light-indigo/theme.css b/public/themes/mdc-light-indigo/theme.css index 31d5ebd53..ce9e75aa8 100644 --- a/public/themes/mdc-light-indigo/theme.css +++ b/public/themes/mdc-light-indigo/theme.css @@ -148,6 +148,13 @@ color: #3F51B5; background: rgba(63, 81, 181, 0.12); } +.p-autocomplete-panel .p-autocomplete-items .p-autocomplete-item-group { + margin: 0; + padding: 0.75rem; + color: rgba(0, 0, 0, 0.6); + background: #ffffff; + font-weight: 400; +} .p-calendar.p-invalid.p-component > .p-inputtext { border-color: #B00020; @@ -628,6 +635,13 @@ color: rgba(0, 0, 0, 0.87); background: rgba(0, 0, 0, 0.04); } +.p-dropdown-panel .p-dropdown-items .p-dropdown-item-group { + margin: 0; + padding: 0.75rem; + color: rgba(0, 0, 0, 0.6); + background: #ffffff; + font-weight: 400; +} .p-dropdown-panel .p-dropdown-items .p-dropdown-empty-message { padding: 0.75rem 0.75rem; color: rgba(0, 0, 0, 0.87); @@ -997,6 +1011,13 @@ outline-offset: 0; box-shadow: none; } +.p-listbox .p-listbox-list .p-listbox-item-group { + margin: 0; + padding: 0.75rem; + color: rgba(0, 0, 0, 0.6); + background: #ffffff; + font-weight: 400; +} .p-listbox .p-listbox-list .p-listbox-empty-message { padding: 0.75rem 0.75rem; color: rgba(0, 0, 0, 0.87); @@ -1131,6 +1152,13 @@ .p-multiselect-panel .p-multiselect-items .p-multiselect-item .p-checkbox { margin-right: 0.5rem; } +.p-multiselect-panel .p-multiselect-items .p-multiselect-item-group { + margin: 0; + padding: 0.75rem; + color: rgba(0, 0, 0, 0.6); + background: #ffffff; + font-weight: 400; +} .p-multiselect-panel .p-multiselect-items .p-multiselect-empty-message { padding: 0.75rem 0.75rem; color: rgba(0, 0, 0, 0.87); diff --git a/public/themes/nova-accent/theme.css b/public/themes/nova-accent/theme.css index 7b02b3233..8b5c32ac3 100644 --- a/public/themes/nova-accent/theme.css +++ b/public/themes/nova-accent/theme.css @@ -124,6 +124,13 @@ color: #ffffff; background: #e02365; } +.p-autocomplete-panel .p-autocomplete-items .p-autocomplete-item-group { + margin: 0; + padding: 0.857rem; + color: #333333; + background: #f4f4f4; + font-weight: 700; +} .p-calendar.p-invalid.p-component > .p-inputtext { border-color: #a80000; @@ -604,6 +611,13 @@ color: #333333; background: #eaeaea; } +.p-dropdown-panel .p-dropdown-items .p-dropdown-item-group { + margin: 0; + padding: 0.857rem; + color: #333333; + background: #f4f4f4; + font-weight: 700; +} .p-dropdown-panel .p-dropdown-items .p-dropdown-empty-message { padding: 0.429rem 0.857rem; color: #333333; @@ -973,6 +987,13 @@ outline-offset: 0; box-shadow: inset 0 0 0 0.2rem #8dcdff; } +.p-listbox .p-listbox-list .p-listbox-item-group { + margin: 0; + padding: 0.857rem; + color: #333333; + background: #f4f4f4; + font-weight: 700; +} .p-listbox .p-listbox-list .p-listbox-empty-message { padding: 0.429rem 0.857rem; color: #333333; @@ -1107,6 +1128,13 @@ .p-multiselect-panel .p-multiselect-items .p-multiselect-item .p-checkbox { margin-right: 0.5rem; } +.p-multiselect-panel .p-multiselect-items .p-multiselect-item-group { + margin: 0; + padding: 0.857rem; + color: #333333; + background: #f4f4f4; + font-weight: 700; +} .p-multiselect-panel .p-multiselect-items .p-multiselect-empty-message { padding: 0.429rem 0.857rem; color: #333333; diff --git a/public/themes/nova-alt/theme.css b/public/themes/nova-alt/theme.css index cb6192df7..41b4c9e06 100644 --- a/public/themes/nova-alt/theme.css +++ b/public/themes/nova-alt/theme.css @@ -124,6 +124,13 @@ color: #ffffff; background: #007ad9; } +.p-autocomplete-panel .p-autocomplete-items .p-autocomplete-item-group { + margin: 0; + padding: 0.857rem; + color: #333333; + background: #f4f4f4; + font-weight: 700; +} .p-calendar.p-invalid.p-component > .p-inputtext { border-color: #a80000; @@ -608,6 +615,13 @@ color: #333333; background: #eaeaea; } +.p-dropdown-panel .p-dropdown-items .p-dropdown-item-group { + margin: 0; + padding: 0.857rem; + color: #333333; + background: #f4f4f4; + font-weight: 700; +} .p-dropdown-panel .p-dropdown-items .p-dropdown-empty-message { padding: 0.429rem 0.857rem; color: #333333; @@ -977,6 +991,13 @@ outline-offset: 0; box-shadow: inset 0 0 0 0.2rem #8dcdff; } +.p-listbox .p-listbox-list .p-listbox-item-group { + margin: 0; + padding: 0.857rem; + color: #333333; + background: #f4f4f4; + font-weight: 700; +} .p-listbox .p-listbox-list .p-listbox-empty-message { padding: 0.429rem 0.857rem; color: #333333; @@ -1111,6 +1132,13 @@ .p-multiselect-panel .p-multiselect-items .p-multiselect-item .p-checkbox { margin-right: 0.5rem; } +.p-multiselect-panel .p-multiselect-items .p-multiselect-item-group { + margin: 0; + padding: 0.857rem; + color: #333333; + background: #f4f4f4; + font-weight: 700; +} .p-multiselect-panel .p-multiselect-items .p-multiselect-empty-message { padding: 0.429rem 0.857rem; color: #333333; diff --git a/public/themes/nova-vue/theme.css b/public/themes/nova-vue/theme.css index 93d8c7b01..234915af1 100644 --- a/public/themes/nova-vue/theme.css +++ b/public/themes/nova-vue/theme.css @@ -124,6 +124,13 @@ color: #ffffff; background: #41b883; } +.p-autocomplete-panel .p-autocomplete-items .p-autocomplete-item-group { + margin: 0; + padding: 0.857rem; + color: #333333; + background: #f4f4f4; + font-weight: 700; +} .p-calendar.p-invalid.p-component > .p-inputtext { border-color: #a80000; @@ -608,6 +615,13 @@ color: #333333; background: #eaeaea; } +.p-dropdown-panel .p-dropdown-items .p-dropdown-item-group { + margin: 0; + padding: 0.857rem; + color: #333333; + background: #f4f4f4; + font-weight: 700; +} .p-dropdown-panel .p-dropdown-items .p-dropdown-empty-message { padding: 0.429rem 0.857rem; color: #333333; @@ -977,6 +991,13 @@ outline-offset: 0; box-shadow: inset 0 0 0 0.2rem #c2e9d8; } +.p-listbox .p-listbox-list .p-listbox-item-group { + margin: 0; + padding: 0.857rem; + color: #333333; + background: #f4f4f4; + font-weight: 700; +} .p-listbox .p-listbox-list .p-listbox-empty-message { padding: 0.429rem 0.857rem; color: #333333; @@ -1111,6 +1132,13 @@ .p-multiselect-panel .p-multiselect-items .p-multiselect-item .p-checkbox { margin-right: 0.5rem; } +.p-multiselect-panel .p-multiselect-items .p-multiselect-item-group { + margin: 0; + padding: 0.857rem; + color: #333333; + background: #f4f4f4; + font-weight: 700; +} .p-multiselect-panel .p-multiselect-items .p-multiselect-empty-message { padding: 0.429rem 0.857rem; color: #333333; diff --git a/public/themes/nova/theme.css b/public/themes/nova/theme.css index dd5701242..a01291e9d 100644 --- a/public/themes/nova/theme.css +++ b/public/themes/nova/theme.css @@ -124,6 +124,13 @@ color: #ffffff; background: #007ad9; } +.p-autocomplete-panel .p-autocomplete-items .p-autocomplete-item-group { + margin: 0; + padding: 0.857rem; + color: #333333; + background: #f4f4f4; + font-weight: 700; +} .p-calendar.p-invalid.p-component > .p-inputtext { border-color: #a80000; @@ -608,6 +615,13 @@ color: #333333; background: #eaeaea; } +.p-dropdown-panel .p-dropdown-items .p-dropdown-item-group { + margin: 0; + padding: 0.857rem; + color: #333333; + background: #f4f4f4; + font-weight: 700; +} .p-dropdown-panel .p-dropdown-items .p-dropdown-empty-message { padding: 0.429rem 0.857rem; color: #333333; @@ -977,6 +991,13 @@ outline-offset: 0; box-shadow: inset 0 0 0 0.2rem #8dcdff; } +.p-listbox .p-listbox-list .p-listbox-item-group { + margin: 0; + padding: 0.857rem; + color: #333333; + background: #f4f4f4; + font-weight: 700; +} .p-listbox .p-listbox-list .p-listbox-empty-message { padding: 0.429rem 0.857rem; color: #333333; @@ -1111,6 +1132,13 @@ .p-multiselect-panel .p-multiselect-items .p-multiselect-item .p-checkbox { margin-right: 0.5rem; } +.p-multiselect-panel .p-multiselect-items .p-multiselect-item-group { + margin: 0; + padding: 0.857rem; + color: #333333; + background: #f4f4f4; + font-weight: 700; +} .p-multiselect-panel .p-multiselect-items .p-multiselect-empty-message { padding: 0.429rem 0.857rem; color: #333333; diff --git a/public/themes/rhea/theme.css b/public/themes/rhea/theme.css index 78fcf91e9..e1133e911 100644 --- a/public/themes/rhea/theme.css +++ b/public/themes/rhea/theme.css @@ -124,6 +124,13 @@ color: #385048; background: #AFD3C8; } +.p-autocomplete-panel .p-autocomplete-items .p-autocomplete-item-group { + margin: 0; + padding: 0.857rem; + color: #666666; + background: #f4f4f4; + font-weight: 700; +} .p-calendar.p-invalid.p-component > .p-inputtext { border-color: #e7a3a3; @@ -604,6 +611,13 @@ color: #666666; background: #f4f4f4; } +.p-dropdown-panel .p-dropdown-items .p-dropdown-item-group { + margin: 0; + padding: 0.857rem; + color: #666666; + background: #f4f4f4; + font-weight: 700; +} .p-dropdown-panel .p-dropdown-items .p-dropdown-empty-message { padding: 0.429rem 0.857rem; color: #666666; @@ -973,6 +987,13 @@ outline-offset: 0; box-shadow: inset 0 0 0 0.2rem #e4e9ec; } +.p-listbox .p-listbox-list .p-listbox-item-group { + margin: 0; + padding: 0.857rem; + color: #666666; + background: #f4f4f4; + font-weight: 700; +} .p-listbox .p-listbox-list .p-listbox-empty-message { padding: 0.429rem 0.857rem; color: #666666; @@ -1107,6 +1128,13 @@ .p-multiselect-panel .p-multiselect-items .p-multiselect-item .p-checkbox { margin-right: 0.5rem; } +.p-multiselect-panel .p-multiselect-items .p-multiselect-item-group { + margin: 0; + padding: 0.857rem; + color: #666666; + background: #f4f4f4; + font-weight: 700; +} .p-multiselect-panel .p-multiselect-items .p-multiselect-empty-message { padding: 0.429rem 0.857rem; color: #666666; diff --git a/public/themes/saga-blue/theme.css b/public/themes/saga-blue/theme.css index ade6a7868..9abe868b2 100644 --- a/public/themes/saga-blue/theme.css +++ b/public/themes/saga-blue/theme.css @@ -124,6 +124,13 @@ color: #495057; background: #E3F2FD; } +.p-autocomplete-panel .p-autocomplete-items .p-autocomplete-item-group { + margin: 0; + padding: 0.75rem 1rem; + color: #495057; + background: #ffffff; + font-weight: 600; +} .p-calendar.p-invalid.p-component > .p-inputtext { border-color: #f44336; @@ -604,6 +611,13 @@ color: #495057; background: #e9ecef; } +.p-dropdown-panel .p-dropdown-items .p-dropdown-item-group { + margin: 0; + padding: 0.75rem 1rem; + color: #495057; + background: #ffffff; + font-weight: 600; +} .p-dropdown-panel .p-dropdown-items .p-dropdown-empty-message { padding: 0.5rem 1rem; color: #495057; @@ -973,6 +987,13 @@ outline-offset: 0; box-shadow: inset 0 0 0 0.15rem #a6d5fa; } +.p-listbox .p-listbox-list .p-listbox-item-group { + margin: 0; + padding: 0.75rem 1rem; + color: #495057; + background: #ffffff; + font-weight: 600; +} .p-listbox .p-listbox-list .p-listbox-empty-message { padding: 0.5rem 1rem; color: #495057; @@ -1107,6 +1128,13 @@ .p-multiselect-panel .p-multiselect-items .p-multiselect-item .p-checkbox { margin-right: 0.5rem; } +.p-multiselect-panel .p-multiselect-items .p-multiselect-item-group { + margin: 0; + padding: 0.75rem 1rem; + color: #495057; + background: #ffffff; + font-weight: 600; +} .p-multiselect-panel .p-multiselect-items .p-multiselect-empty-message { padding: 0.5rem 1rem; color: #495057; diff --git a/public/themes/saga-green/theme.css b/public/themes/saga-green/theme.css index f5281a330..5b31a1fae 100644 --- a/public/themes/saga-green/theme.css +++ b/public/themes/saga-green/theme.css @@ -124,6 +124,13 @@ color: #495057; background: #E8F5E9; } +.p-autocomplete-panel .p-autocomplete-items .p-autocomplete-item-group { + margin: 0; + padding: 0.75rem 1rem; + color: #495057; + background: #ffffff; + font-weight: 600; +} .p-calendar.p-invalid.p-component > .p-inputtext { border-color: #f44336; @@ -604,6 +611,13 @@ color: #495057; background: #e9ecef; } +.p-dropdown-panel .p-dropdown-items .p-dropdown-item-group { + margin: 0; + padding: 0.75rem 1rem; + color: #495057; + background: #ffffff; + font-weight: 600; +} .p-dropdown-panel .p-dropdown-items .p-dropdown-empty-message { padding: 0.5rem 1rem; color: #495057; @@ -973,6 +987,13 @@ outline-offset: 0; box-shadow: inset 0 0 0 0.15rem #b7e0b8; } +.p-listbox .p-listbox-list .p-listbox-item-group { + margin: 0; + padding: 0.75rem 1rem; + color: #495057; + background: #ffffff; + font-weight: 600; +} .p-listbox .p-listbox-list .p-listbox-empty-message { padding: 0.5rem 1rem; color: #495057; @@ -1107,6 +1128,13 @@ .p-multiselect-panel .p-multiselect-items .p-multiselect-item .p-checkbox { margin-right: 0.5rem; } +.p-multiselect-panel .p-multiselect-items .p-multiselect-item-group { + margin: 0; + padding: 0.75rem 1rem; + color: #495057; + background: #ffffff; + font-weight: 600; +} .p-multiselect-panel .p-multiselect-items .p-multiselect-empty-message { padding: 0.5rem 1rem; color: #495057; diff --git a/public/themes/saga-orange/theme.css b/public/themes/saga-orange/theme.css index d527064cd..22cde08e8 100644 --- a/public/themes/saga-orange/theme.css +++ b/public/themes/saga-orange/theme.css @@ -124,6 +124,13 @@ color: #495057; background: #FFF3E0; } +.p-autocomplete-panel .p-autocomplete-items .p-autocomplete-item-group { + margin: 0; + padding: 0.75rem 1rem; + color: #495057; + background: #ffffff; + font-weight: 600; +} .p-calendar.p-invalid.p-component > .p-inputtext { border-color: #f44336; @@ -604,6 +611,13 @@ color: #495057; background: #e9ecef; } +.p-dropdown-panel .p-dropdown-items .p-dropdown-item-group { + margin: 0; + padding: 0.75rem 1rem; + color: #495057; + background: #ffffff; + font-weight: 600; +} .p-dropdown-panel .p-dropdown-items .p-dropdown-empty-message { padding: 0.5rem 1rem; color: #495057; @@ -973,6 +987,13 @@ outline-offset: 0; box-shadow: inset 0 0 0 0.15rem #ffe69c; } +.p-listbox .p-listbox-list .p-listbox-item-group { + margin: 0; + padding: 0.75rem 1rem; + color: #495057; + background: #ffffff; + font-weight: 600; +} .p-listbox .p-listbox-list .p-listbox-empty-message { padding: 0.5rem 1rem; color: #495057; @@ -1107,6 +1128,13 @@ .p-multiselect-panel .p-multiselect-items .p-multiselect-item .p-checkbox { margin-right: 0.5rem; } +.p-multiselect-panel .p-multiselect-items .p-multiselect-item-group { + margin: 0; + padding: 0.75rem 1rem; + color: #495057; + background: #ffffff; + font-weight: 600; +} .p-multiselect-panel .p-multiselect-items .p-multiselect-empty-message { padding: 0.5rem 1rem; color: #495057; diff --git a/public/themes/saga-purple/theme.css b/public/themes/saga-purple/theme.css index 0c612efeb..6c3903c14 100644 --- a/public/themes/saga-purple/theme.css +++ b/public/themes/saga-purple/theme.css @@ -124,6 +124,13 @@ color: #495057; background: #F3E5F5; } +.p-autocomplete-panel .p-autocomplete-items .p-autocomplete-item-group { + margin: 0; + padding: 0.75rem 1rem; + color: #495057; + background: #ffffff; + font-weight: 600; +} .p-calendar.p-invalid.p-component > .p-inputtext { border-color: #f44336; @@ -604,6 +611,13 @@ color: #495057; background: #e9ecef; } +.p-dropdown-panel .p-dropdown-items .p-dropdown-item-group { + margin: 0; + padding: 0.75rem 1rem; + color: #495057; + background: #ffffff; + font-weight: 600; +} .p-dropdown-panel .p-dropdown-items .p-dropdown-empty-message { padding: 0.5rem 1rem; color: #495057; @@ -973,6 +987,13 @@ outline-offset: 0; box-shadow: inset 0 0 0 0.15rem #df9eea; } +.p-listbox .p-listbox-list .p-listbox-item-group { + margin: 0; + padding: 0.75rem 1rem; + color: #495057; + background: #ffffff; + font-weight: 600; +} .p-listbox .p-listbox-list .p-listbox-empty-message { padding: 0.5rem 1rem; color: #495057; @@ -1107,6 +1128,13 @@ .p-multiselect-panel .p-multiselect-items .p-multiselect-item .p-checkbox { margin-right: 0.5rem; } +.p-multiselect-panel .p-multiselect-items .p-multiselect-item-group { + margin: 0; + padding: 0.75rem 1rem; + color: #495057; + background: #ffffff; + font-weight: 600; +} .p-multiselect-panel .p-multiselect-items .p-multiselect-empty-message { padding: 0.5rem 1rem; color: #495057; diff --git a/public/themes/vela-blue/theme.css b/public/themes/vela-blue/theme.css index 0dc8e1e0d..891394412 100644 --- a/public/themes/vela-blue/theme.css +++ b/public/themes/vela-blue/theme.css @@ -124,6 +124,13 @@ color: rgba(255, 255, 255, 0.87); background: rgba(100, 181, 246, 0.16); } +.p-autocomplete-panel .p-autocomplete-items .p-autocomplete-item-group { + margin: 0; + padding: 0.75rem 1rem; + color: rgba(255, 255, 255, 0.87); + background: #1f2d40; + font-weight: 600; +} .p-calendar.p-invalid.p-component > .p-inputtext { border-color: #ef9a9a; @@ -604,6 +611,13 @@ color: rgba(255, 255, 255, 0.87); background: rgba(255, 255, 255, 0.03); } +.p-dropdown-panel .p-dropdown-items .p-dropdown-item-group { + margin: 0; + padding: 0.75rem 1rem; + color: rgba(255, 255, 255, 0.87); + background: #1f2d40; + font-weight: 600; +} .p-dropdown-panel .p-dropdown-items .p-dropdown-empty-message { padding: 0.5rem 1rem; color: rgba(255, 255, 255, 0.87); @@ -973,6 +987,13 @@ outline-offset: 0; box-shadow: inset 0 0 0 1px #93cbf9; } +.p-listbox .p-listbox-list .p-listbox-item-group { + margin: 0; + padding: 0.75rem 1rem; + color: rgba(255, 255, 255, 0.87); + background: #1f2d40; + font-weight: 600; +} .p-listbox .p-listbox-list .p-listbox-empty-message { padding: 0.5rem 1rem; color: rgba(255, 255, 255, 0.87); @@ -1107,6 +1128,13 @@ .p-multiselect-panel .p-multiselect-items .p-multiselect-item .p-checkbox { margin-right: 0.5rem; } +.p-multiselect-panel .p-multiselect-items .p-multiselect-item-group { + margin: 0; + padding: 0.75rem 1rem; + color: rgba(255, 255, 255, 0.87); + background: #1f2d40; + font-weight: 600; +} .p-multiselect-panel .p-multiselect-items .p-multiselect-empty-message { padding: 0.5rem 1rem; color: rgba(255, 255, 255, 0.87); diff --git a/public/themes/vela-green/theme.css b/public/themes/vela-green/theme.css index 6a88d81bd..57c83e058 100644 --- a/public/themes/vela-green/theme.css +++ b/public/themes/vela-green/theme.css @@ -124,6 +124,13 @@ color: rgba(255, 255, 255, 0.87); background: rgba(129, 199, 132, 0.16); } +.p-autocomplete-panel .p-autocomplete-items .p-autocomplete-item-group { + margin: 0; + padding: 0.75rem 1rem; + color: rgba(255, 255, 255, 0.87); + background: #1f2d40; + font-weight: 600; +} .p-calendar.p-invalid.p-component > .p-inputtext { border-color: #ef9a9a; @@ -604,6 +611,13 @@ color: rgba(255, 255, 255, 0.87); background: rgba(255, 255, 255, 0.03); } +.p-dropdown-panel .p-dropdown-items .p-dropdown-item-group { + margin: 0; + padding: 0.75rem 1rem; + color: rgba(255, 255, 255, 0.87); + background: #1f2d40; + font-weight: 600; +} .p-dropdown-panel .p-dropdown-items .p-dropdown-empty-message { padding: 0.5rem 1rem; color: rgba(255, 255, 255, 0.87); @@ -973,6 +987,13 @@ outline-offset: 0; box-shadow: inset 0 0 0 1px #a7d8a9; } +.p-listbox .p-listbox-list .p-listbox-item-group { + margin: 0; + padding: 0.75rem 1rem; + color: rgba(255, 255, 255, 0.87); + background: #1f2d40; + font-weight: 600; +} .p-listbox .p-listbox-list .p-listbox-empty-message { padding: 0.5rem 1rem; color: rgba(255, 255, 255, 0.87); @@ -1107,6 +1128,13 @@ .p-multiselect-panel .p-multiselect-items .p-multiselect-item .p-checkbox { margin-right: 0.5rem; } +.p-multiselect-panel .p-multiselect-items .p-multiselect-item-group { + margin: 0; + padding: 0.75rem 1rem; + color: rgba(255, 255, 255, 0.87); + background: #1f2d40; + font-weight: 600; +} .p-multiselect-panel .p-multiselect-items .p-multiselect-empty-message { padding: 0.5rem 1rem; color: rgba(255, 255, 255, 0.87); diff --git a/public/themes/vela-orange/theme.css b/public/themes/vela-orange/theme.css index 934b2794e..b04fc00ad 100644 --- a/public/themes/vela-orange/theme.css +++ b/public/themes/vela-orange/theme.css @@ -124,6 +124,13 @@ color: rgba(255, 255, 255, 0.87); background: rgba(255, 213, 79, 0.16); } +.p-autocomplete-panel .p-autocomplete-items .p-autocomplete-item-group { + margin: 0; + padding: 0.75rem 1rem; + color: rgba(255, 255, 255, 0.87); + background: #1f2d40; + font-weight: 600; +} .p-calendar.p-invalid.p-component > .p-inputtext { border-color: #ef9a9a; @@ -604,6 +611,13 @@ color: rgba(255, 255, 255, 0.87); background: rgba(255, 255, 255, 0.03); } +.p-dropdown-panel .p-dropdown-items .p-dropdown-item-group { + margin: 0; + padding: 0.75rem 1rem; + color: rgba(255, 255, 255, 0.87); + background: #1f2d40; + font-weight: 600; +} .p-dropdown-panel .p-dropdown-items .p-dropdown-empty-message { padding: 0.5rem 1rem; color: rgba(255, 255, 255, 0.87); @@ -973,6 +987,13 @@ outline-offset: 0; box-shadow: inset 0 0 0 1px #ffe284; } +.p-listbox .p-listbox-list .p-listbox-item-group { + margin: 0; + padding: 0.75rem 1rem; + color: rgba(255, 255, 255, 0.87); + background: #1f2d40; + font-weight: 600; +} .p-listbox .p-listbox-list .p-listbox-empty-message { padding: 0.5rem 1rem; color: rgba(255, 255, 255, 0.87); @@ -1107,6 +1128,13 @@ .p-multiselect-panel .p-multiselect-items .p-multiselect-item .p-checkbox { margin-right: 0.5rem; } +.p-multiselect-panel .p-multiselect-items .p-multiselect-item-group { + margin: 0; + padding: 0.75rem 1rem; + color: rgba(255, 255, 255, 0.87); + background: #1f2d40; + font-weight: 600; +} .p-multiselect-panel .p-multiselect-items .p-multiselect-empty-message { padding: 0.5rem 1rem; color: rgba(255, 255, 255, 0.87); diff --git a/public/themes/vela-purple/theme.css b/public/themes/vela-purple/theme.css index a7d9a6c17..1d5945d45 100644 --- a/public/themes/vela-purple/theme.css +++ b/public/themes/vela-purple/theme.css @@ -124,6 +124,13 @@ color: rgba(255, 255, 255, 0.87); background: rgba(186, 104, 200, 0.16); } +.p-autocomplete-panel .p-autocomplete-items .p-autocomplete-item-group { + margin: 0; + padding: 0.75rem 1rem; + color: rgba(255, 255, 255, 0.87); + background: #1f2d40; + font-weight: 600; +} .p-calendar.p-invalid.p-component > .p-inputtext { border-color: #ef9a9a; @@ -604,6 +611,13 @@ color: rgba(255, 255, 255, 0.87); background: rgba(255, 255, 255, 0.03); } +.p-dropdown-panel .p-dropdown-items .p-dropdown-item-group { + margin: 0; + padding: 0.75rem 1rem; + color: rgba(255, 255, 255, 0.87); + background: #1f2d40; + font-weight: 600; +} .p-dropdown-panel .p-dropdown-items .p-dropdown-empty-message { padding: 0.5rem 1rem; color: rgba(255, 255, 255, 0.87); @@ -973,6 +987,13 @@ outline-offset: 0; box-shadow: inset 0 0 0 1px #cf95d9; } +.p-listbox .p-listbox-list .p-listbox-item-group { + margin: 0; + padding: 0.75rem 1rem; + color: rgba(255, 255, 255, 0.87); + background: #1f2d40; + font-weight: 600; +} .p-listbox .p-listbox-list .p-listbox-empty-message { padding: 0.5rem 1rem; color: rgba(255, 255, 255, 0.87); @@ -1107,6 +1128,13 @@ .p-multiselect-panel .p-multiselect-items .p-multiselect-item .p-checkbox { margin-right: 0.5rem; } +.p-multiselect-panel .p-multiselect-items .p-multiselect-item-group { + margin: 0; + padding: 0.75rem 1rem; + color: rgba(255, 255, 255, 0.87); + background: #1f2d40; + font-weight: 600; +} .p-multiselect-panel .p-multiselect-items .p-multiselect-empty-message { padding: 0.5rem 1rem; color: rgba(255, 255, 255, 0.87); diff --git a/src/components/api/FilterService.js b/src/components/api/FilterService.js index 509cf8659..39c8d149e 100644 --- a/src/components/api/FilterService.js +++ b/src/components/api/FilterService.js @@ -1,6 +1,24 @@ import {ObjectUtils} from 'primevue/utils'; const FilterService = { + filter(value, fields, filterValue, filterMatchMode, filterLocale) { + let filteredItems = []; + + if (value) { + for (let item of value) { + for (let field of fields) { + let fieldValue = ObjectUtils.resolveFieldData(item, field); + + if (this.filters[filterMatchMode](fieldValue, filterValue, filterLocale)) { + filteredItems.push(item); + break; + } + } + } + } + + return filteredItems; + }, filters: { startsWith(value, filter, filterLocale) { if (filter === undefined || filter === null || filter.trim() === '') { diff --git a/src/components/config/PrimeVue.js b/src/components/config/PrimeVue.js index d0778331f..4b48591ad 100644 --- a/src/components/config/PrimeVue.js +++ b/src/components/config/PrimeVue.js @@ -42,7 +42,9 @@ const defaultOptions = { weak: 'Weak', medium: 'Medium', strong: 'Strong', - passwordPrompt: 'Enter a password' + passwordPrompt: 'Enter a password', + emptyFilterMessage: 'No results found', + emptyMessage: 'No available options' }, filterMatchModeOptions: { text: [ diff --git a/src/components/listbox/Listbox.d.ts b/src/components/listbox/Listbox.d.ts index b4f866737..d313bf83a 100755 --- a/src/components/listbox/Listbox.d.ts +++ b/src/components/listbox/Listbox.d.ts @@ -6,6 +6,8 @@ interface ListboxProps { optionLabel?: string; optionValue?: any; optionDisabled?: boolean; + optionGroupLabel?: string; + optionGroupChildren?: string; listStyle?: string; disabled?: boolean; dataKey?: string; @@ -14,8 +16,11 @@ interface ListboxProps { filter?: boolean; filterPlaceholder?: string; filterLocale?: string; + filterMatchMode?: string; + filterFields?: string[]; ariaLabelledBy?: string; emptyFilterMessage?: string; + emptyMessage?: string; } declare class Listbox { diff --git a/src/components/listbox/Listbox.vue b/src/components/listbox/Listbox.vue index 3fd5bea0b..0b6beb301 100755 --- a/src/components/listbox/Listbox.vue +++ b/src/components/listbox/Listbox.vue @@ -1,5 +1,6 @@