From ac90f8351b87d98ddd60de716894d2037c968487 Mon Sep 17 00:00:00 2001 From: Phillip Kruger Date: Thu, 9 Jan 2025 18:45:06 +1100 Subject: [PATCH] Dev UI Arc: Make grid cols sortable Signed-off-by: Phillip Kruger --- .../main/resources/dev-ui/qwc-arc-beans.js | 11 ++++---- .../resources/dev-ui/qwc-arc-interceptors.js | 9 ++++--- .../resources/dev-ui/qwc-arc-observers.js | 25 ++++++++++--------- .../dev-ui/qwc-arc-removed-components.js | 9 ++++--- 4 files changed, 29 insertions(+), 25 deletions(-) diff --git a/extensions/arc/deployment/src/main/resources/dev-ui/qwc-arc-beans.js b/extensions/arc/deployment/src/main/resources/dev-ui/qwc-arc-beans.js index b4a54b0f54423..5332603b82a6c 100644 --- a/extensions/arc/deployment/src/main/resources/dev-ui/qwc-arc-beans.js +++ b/extensions/arc/deployment/src/main/resources/dev-ui/qwc-arc-beans.js @@ -4,6 +4,7 @@ import { columnBodyRenderer } from '@vaadin/grid/lit.js'; import { beans } from 'build-time-data'; import { beanIdsWithDependencyGraphs } from 'build-time-data'; import '@vaadin/grid'; +import '@vaadin/grid/vaadin-grid-sort-column.js'; import '@vaadin/vertical-layout'; import 'qui-badge'; import 'qui-ide-link'; @@ -90,17 +91,17 @@ export class QwcArcBeans extends LitElement { _renderBeanList(){ return html` - - + - - + 0) { return html` diff --git a/extensions/arc/deployment/src/main/resources/dev-ui/qwc-arc-interceptors.js b/extensions/arc/deployment/src/main/resources/dev-ui/qwc-arc-interceptors.js index faf6c5eee118e..5701b6ae00ff2 100644 --- a/extensions/arc/deployment/src/main/resources/dev-ui/qwc-arc-interceptors.js +++ b/extensions/arc/deployment/src/main/resources/dev-ui/qwc-arc-interceptors.js @@ -2,6 +2,7 @@ import { LitElement, html, css} from 'lit'; import { interceptors } from 'build-time-data'; import { columnBodyRenderer } from '@vaadin/grid/lit.js'; import '@vaadin/grid'; +import '@vaadin/grid/vaadin-grid-sort-column.js'; import '@vaadin/vertical-layout'; import 'qui-badge'; @@ -38,17 +39,17 @@ export class QwcArcInterceptors extends LitElement { if(this._interceptors){ return html` - - + - - + - - + - - + - - + - - + - - + - - + `; } diff --git a/extensions/arc/deployment/src/main/resources/dev-ui/qwc-arc-removed-components.js b/extensions/arc/deployment/src/main/resources/dev-ui/qwc-arc-removed-components.js index 28a1afe244677..f08363fa1a034 100644 --- a/extensions/arc/deployment/src/main/resources/dev-ui/qwc-arc-removed-components.js +++ b/extensions/arc/deployment/src/main/resources/dev-ui/qwc-arc-removed-components.js @@ -3,6 +3,7 @@ import { LitElement, html, css} from 'lit'; import '@vaadin/tabs'; import '@vaadin/tabsheet'; import '@vaadin/grid'; +import '@vaadin/grid/vaadin-grid-sort-column.js'; import '@vaadin/vertical-layout'; import { columnBodyRenderer } from '@vaadin/grid/lit.js'; import 'qui-badge'; @@ -76,11 +77,11 @@ export class QwcArcRemovedComponents extends LitElement { return html` - - + 0) { return html` - - +