From 3a74243bdb575789e8c4ff1e066dc128bf065891 Mon Sep 17 00:00:00 2001 From: Cagatay Civici Date: Mon, 6 Sep 2021 11:59:26 +0300 Subject: [PATCH 1/3] Fixed #1496 - filterMatchMode option is ignored in Dropdown --- src/components/dropdown/Dropdown.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/dropdown/Dropdown.vue b/src/components/dropdown/Dropdown.vue index 92d67f36c..fe27b1ec7 100755 --- a/src/components/dropdown/Dropdown.vue +++ b/src/components/dropdown/Dropdown.vue @@ -653,7 +653,7 @@ export default { return filteredGroups } else { - return FilterService.filter(this.options, this.searchFields, this.filterValue, 'contains', this.filterLocale); + return FilterService.filter(this.options, this.searchFields, this.filterValue, this.filterMatchMode, this.filterLocale); } } else { From 0f4c9f0da8f28b08a6fae51ccd1bcbc412d095c4 Mon Sep 17 00:00:00 2001 From: Cagatay Civici Date: Mon, 6 Sep 2021 12:04:01 +0300 Subject: [PATCH 2/3] Fixed #1453 - [OverlayPanel] add @show and @hide events --- api-generator/components/overlaypanel.js | 14 +++++++++++++- src/components/overlaypanel/OverlayPanel.d.ts | 2 ++ src/components/overlaypanel/OverlayPanel.vue | 2 ++ src/views/overlaypanel/OverlayPanelDoc.vue | 16 ++++++++++++++++ 4 files changed, 33 insertions(+), 1 deletion(-) diff --git a/api-generator/components/overlaypanel.js b/api-generator/components/overlaypanel.js index 2b131ef8c..d7aeac610 100644 --- a/api-generator/components/overlaypanel.js +++ b/api-generator/components/overlaypanel.js @@ -43,10 +43,22 @@ const OverlayPanelProps = [ } ]; +const OverlayPanelEvents = [ + { + name: "show", + description: "Callback to invoke before the overlay is shown." + }, + { + name: "hide", + description: "Callback to invoke before the overlay is hidden." + }, +]; + module.exports = { overlaypanel: { name: "OverlayPanel", description: "OverlayPanel is a container component positioned as connected to its target.", - props: OverlayPanelProps + props: OverlayPanelProps, + events: OverlayPanelEvents } }; diff --git a/src/components/overlaypanel/OverlayPanel.d.ts b/src/components/overlaypanel/OverlayPanel.d.ts index cc3b9ed21..ec2e6946f 100755 --- a/src/components/overlaypanel/OverlayPanel.d.ts +++ b/src/components/overlaypanel/OverlayPanel.d.ts @@ -15,6 +15,8 @@ declare class OverlayPanel { toggle(event: Event): void; show(event: Event, target?: any): void; hide(): void; + $emit(eventName: 'show'): this; + $emit(eventName: 'hide'): this; $slots: { '': VNode[]; } diff --git a/src/components/overlaypanel/OverlayPanel.vue b/src/components/overlaypanel/OverlayPanel.vue index fe7b340ca..d16be8e53 100755 --- a/src/components/overlaypanel/OverlayPanel.vue +++ b/src/components/overlaypanel/OverlayPanel.vue @@ -133,6 +133,7 @@ export default { }; OverlayEventBus.on('overlay-click', this.overlayEventListener); + this.$emit('show'); }, onLeave() { this.unbindOutsideClickListener(); @@ -140,6 +141,7 @@ export default { this.unbindResizeListener(); OverlayEventBus.off('overlay-click', this.overlayEventListener); this.overlayEventListener = null; + this.$emit('hide'); }, onAfterLeave(el) { if (this.autoZIndex) { diff --git a/src/views/overlaypanel/OverlayPanelDoc.vue b/src/views/overlaypanel/OverlayPanelDoc.vue index fc7984860..a25cd8062 100755 --- a/src/views/overlaypanel/OverlayPanelDoc.vue +++ b/src/views/overlaypanel/OverlayPanelDoc.vue @@ -135,6 +135,22 @@ toggle(event) { +
Events
+
+ + + + + + + + + + + +
show-Callback to invoke when the overlay is shown.
hide-Callback to invoke when the overlay is hidden.
+
+
Styling

Following is the list of structural style classes, for theming classes visit theming page.

From c63d1844d309991b939037bcb53ed0f863c1a6e5 Mon Sep 17 00:00:00 2001 From: Cagatay Civici Date: Mon, 6 Sep 2021 12:17:44 +0300 Subject: [PATCH 3/3] Add tailwind logo --- src/AppTopBar.vue | 1 + 1 file changed, 1 insertion(+) diff --git a/src/AppTopBar.vue b/src/AppTopBar.vue index d6987c13a..a00de6799 100755 --- a/src/AppTopBar.vue +++ b/src/AppTopBar.vue @@ -181,6 +181,7 @@ export default { 'viva-dark': 'viva-dark.svg', 'mira': 'mira.jpg', 'nano': 'nano.jpg', + 'tailwind-light': 'tailwind-light.png', } } },