@descope/web-components-ui 1.0.232 → 1.0.233

Sign up to get free protection for your applications and to get access to all the features.
package/dist/index.esm.js CHANGED
@@ -8,7 +8,7 @@ import '@vaadin/password-field';
8
8
  import '@vaadin/text-area';
9
9
  import '@vaadin/combo-box';
10
10
  import '@vaadin/grid';
11
- import { GridColumn } from '@vaadin/grid/vaadin-grid-column';
11
+ import { GridSortColumn } from '@vaadin/grid/vaadin-grid-sort-column';
12
12
  import { GridSelectionColumn } from '@vaadin/grid/vaadin-grid-selection-column';
13
13
  import merge from 'lodash.merge';
14
14
  import set from 'lodash.set';
@@ -2000,7 +2000,7 @@ customElements.define(componentName$x, LoaderRadialClass);
2000
2000
 
2001
2001
  const componentName$w = getComponentName('container');
2002
2002
 
2003
- class RawContainer extends createBaseClass({ componentName: componentName$w, baseSelector: ':host > slot' }) {
2003
+ class RawContainer extends createBaseClass({ componentName: componentName$w, baseSelector: 'slot' }) {
2004
2004
  constructor() {
2005
2005
  super();
2006
2006
 
@@ -6698,14 +6698,14 @@ customElements.define(componentName$7, ButtonSelectionGroupItemClass);
6698
6698
 
6699
6699
  const componentName$6 = getComponentName('grid-text-column');
6700
6700
 
6701
- class GridTextColumnClass extends GridColumn {}
6701
+ class GridTextColumnClass extends GridSortColumn {}
6702
6702
 
6703
6703
  customElements.define(componentName$6, GridTextColumnClass);
6704
6704
 
6705
6705
  /* eslint-disable no-param-reassign */
6706
6706
 
6707
6707
  const componentName$5 = getComponentName('grid-status-column');
6708
- class GridStatusColumnClass extends GridColumn {
6708
+ class GridStatusColumnClass extends GridSortColumn {
6709
6709
  _defaultRenderer(cell, _col, model) {
6710
6710
  const contentAttr = this.getAttribute('status');
6711
6711
  if (!contentAttr) {
@@ -6803,6 +6803,9 @@ const GridMixin = (superclass) =>
6803
6803
  super.init?.();
6804
6804
  this.handleColumns();
6805
6805
  this.forwardSelectedItemsChange();
6806
+
6807
+ // disable the grid sort
6808
+ this.baseElement._mapSorters = () => {};
6806
6809
  }
6807
6810
 
6808
6811
  forwardSelectedItemsChange() {