@trudb/tru-common-lib 0.1.926 → 0.1.932

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -6009,18 +6009,21 @@ class TruDataGridHeaderFilter {
6009
6009
  eFilterText;
6010
6010
  typesOfSort = [
6011
6011
  {
6012
+ value: 'asc',
6012
6013
  label: 'Sort A to Z',
6013
6014
  selected: false,
6014
6015
  display: true,
6015
6016
  icon: 'asc-sort-icon'
6016
6017
  },
6017
6018
  {
6019
+ value: 'desc',
6018
6020
  label: 'Sort Z to A',
6019
6021
  selected: false,
6020
6022
  display: true,
6021
6023
  icon: 'desc-sort-icon'
6022
6024
  },
6023
6025
  {
6026
+ value: 'clear',
6024
6027
  label: 'Clear Sort',
6025
6028
  selected: false,
6026
6029
  display: true,
@@ -6060,16 +6063,16 @@ class TruDataGridHeaderFilter {
6060
6063
  static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "19.2.3", type: TruDataGridHeaderFilter, isStandalone: true, selector: "ng-component", ngImport: i0, template: `
6061
6064
  <div class="tru-data-grid-header-filter-container">
6062
6065
  <mat-selection-list [multiple]="false">
6063
- @for (typeOfSort of typesOfSort; track typeOfSort) {
6066
+ @for (typeOfSort of typesOfSort; track typeOfSort.value) {
6064
6067
  <mat-list-option>
6065
- <mat-icon matListItemIcon ></mat-icon>
6066
- <span matListItem></span>
6068
+
6069
+ <span>{{typeOfSort.label}}</span>
6067
6070
  </mat-list-option>
6068
6071
  }
6069
6072
  <mat-divider></mat-divider>
6070
6073
  </mat-selection-list>
6071
6074
  <mat-divider></mat-divider>
6072
- </div>`, isInline: true, styles: [".tru-data-grid-header-filter-container mdc-list-item{padding-left:5px!important;padding-right:5px!important}::ng-deep .tru-data-grid-header-filter-container mat-icon{height:18px!important;width:18px!important;padding-right:5px;padding-top:4px}::ng-deep .tru-data-grid-header-filter-container .mdc-list-item__primary-text span{font-size:12px!important}\n"], dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "ngmodule", type: FormsModule }, { kind: "ngmodule", type: MatIconModule }, { kind: "component", type: i2$1.MatIcon, selector: "mat-icon", inputs: ["color", "inline", "svgIcon", "fontSet", "fontIcon"], exportAs: ["matIcon"] }, { kind: "component", type: MatSelectionList, selector: "mat-selection-list", inputs: ["color", "compareWith", "multiple", "hideSingleSelectionIndicator", "disabled"], outputs: ["selectionChange"], exportAs: ["matSelectionList"] }, { kind: "component", type: MatListOption, selector: "mat-list-option", inputs: ["togglePosition", "checkboxPosition", "color", "value", "selected"], outputs: ["selectedChange"], exportAs: ["matListOption"] }, { kind: "component", type: MatDivider, selector: "mat-divider", inputs: ["vertical", "inset"] }] });
6075
+ </div>`, isInline: true, styles: [".tru-data-grid-header-filter-container mdc-list-item{padding-left:5px!important;padding-right:5px!important}::ng-deep .tru-data-grid-header-filter-container mat-icon{height:18px!important;width:18px!important;padding-right:5px;padding-top:4px}::ng-deep .tru-data-grid-header-filter-container .mdc-list-item__primary-text span{font-size:12px!important}\n"], dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "ngmodule", type: FormsModule }, { kind: "ngmodule", type: MatIconModule }, { kind: "component", type: MatSelectionList, selector: "mat-selection-list", inputs: ["color", "compareWith", "multiple", "hideSingleSelectionIndicator", "disabled"], outputs: ["selectionChange"], exportAs: ["matSelectionList"] }, { kind: "component", type: MatListOption, selector: "mat-list-option", inputs: ["togglePosition", "checkboxPosition", "color", "value", "selected"], outputs: ["selectedChange"], exportAs: ["matListOption"] }, { kind: "component", type: MatDivider, selector: "mat-divider", inputs: ["vertical", "inset"] }] });
6073
6076
  }
6074
6077
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.3", ngImport: i0, type: TruDataGridHeaderFilter, decorators: [{
6075
6078
  type: Component,
@@ -6087,10 +6090,10 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.3", ngImpor
6087
6090
  ], template: `
6088
6091
  <div class="tru-data-grid-header-filter-container">
6089
6092
  <mat-selection-list [multiple]="false">
6090
- @for (typeOfSort of typesOfSort; track typeOfSort) {
6093
+ @for (typeOfSort of typesOfSort; track typeOfSort.value) {
6091
6094
  <mat-list-option>
6092
- <mat-icon matListItemIcon ></mat-icon>
6093
- <span matListItem></span>
6095
+
6096
+ <span>{{typeOfSort.label}}</span>
6094
6097
  </mat-list-option>
6095
6098
  }
6096
6099
  <mat-divider></mat-divider>