@abgov/angular-components 4.11.0-dev.10 → 4.11.0-dev.11

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.
@@ -5799,7 +5799,10 @@ class GoabTableSortHeader {
5799
5799
  static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.0", ngImport: i0, type: GoabTableSortHeader, deps: [{ token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Component }); }
5800
5800
  static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.2.0", type: GoabTableSortHeader, isStandalone: true, selector: "goab-table-sort-header", inputs: { name: "name", direction: "direction" }, ngImport: i0, template: `
5801
5801
  @if (isReady) {
5802
- <goa-table-sort-header [attr.name]="name" [attr.direction]="direction">
5802
+ <goa-table-sort-header
5803
+ [attr.name]="name"
5804
+ [attr.direction]="direction"
5805
+ >
5803
5806
  <ng-content />
5804
5807
  </goa-table-sort-header>
5805
5808
  }
@@ -5812,7 +5815,10 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.0", ngImpor
5812
5815
  selector: "goab-table-sort-header",
5813
5816
  template: `
5814
5817
  @if (isReady) {
5815
- <goa-table-sort-header [attr.name]="name" [attr.direction]="direction">
5818
+ <goa-table-sort-header
5819
+ [attr.name]="name"
5820
+ [attr.direction]="direction"
5821
+ >
5816
5822
  <ng-content />
5817
5823
  </goa-table-sort-header>
5818
5824
  }
@@ -9112,6 +9118,7 @@ class GoabxTable extends GoabBaseComponent {
9112
9118
  this.isReady = false;
9113
9119
  this.version = "2";
9114
9120
  this.onSort = new EventEmitter();
9121
+ this.onMultiSort = new EventEmitter();
9115
9122
  }
9116
9123
  ngOnInit() {
9117
9124
  setTimeout(() => {
@@ -9123,13 +9130,18 @@ class GoabxTable extends GoabBaseComponent {
9123
9130
  const detail = e.detail;
9124
9131
  this.onSort.emit(detail);
9125
9132
  }
9133
+ _onMultiSort(e) {
9134
+ const detail = e.detail;
9135
+ this.onMultiSort.emit(detail);
9136
+ }
9126
9137
  static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.0", ngImport: i0, type: GoabxTable, deps: [{ token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Component }); }
9127
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.2.0", type: GoabxTable, isStandalone: true, selector: "goabx-table", inputs: { width: "width", variant: "variant", striped: ["striped", "striped", booleanAttribute] }, outputs: { onSort: "onSort" }, usesInheritance: true, ngImport: i0, template: `
9138
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.2.0", type: GoabxTable, isStandalone: true, selector: "goabx-table", inputs: { width: "width", variant: "variant", sortMode: "sortMode", striped: ["striped", "striped", booleanAttribute] }, outputs: { onSort: "onSort", onMultiSort: "onMultiSort" }, usesInheritance: true, ngImport: i0, template: `
9128
9139
  @if (isReady) {
9129
9140
  <goa-table
9130
9141
  [attr.version]="version"
9131
9142
  [attr.width]="width"
9132
9143
  [attr.variant]="variant"
9144
+ [attr.sort-mode]="sortMode"
9133
9145
  [attr.striped]="striped"
9134
9146
  [attr.testid]="testId"
9135
9147
  [attr.mt]="mt"
@@ -9137,6 +9149,7 @@ class GoabxTable extends GoabBaseComponent {
9137
9149
  [attr.ml]="ml"
9138
9150
  [attr.mr]="mr"
9139
9151
  (_sort)="_onSort($event)"
9152
+ (_multisort)="_onMultiSort($event)"
9140
9153
  >
9141
9154
  <table style="width: 100%;">
9142
9155
  <ng-content />
@@ -9156,6 +9169,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.0", ngImpor
9156
9169
  [attr.version]="version"
9157
9170
  [attr.width]="width"
9158
9171
  [attr.variant]="variant"
9172
+ [attr.sort-mode]="sortMode"
9159
9173
  [attr.striped]="striped"
9160
9174
  [attr.testid]="testId"
9161
9175
  [attr.mt]="mt"
@@ -9163,6 +9177,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.0", ngImpor
9163
9177
  [attr.ml]="ml"
9164
9178
  [attr.mr]="mr"
9165
9179
  (_sort)="_onSort($event)"
9180
+ (_multisort)="_onMultiSort($event)"
9166
9181
  >
9167
9182
  <table style="width: 100%;">
9168
9183
  <ng-content />
@@ -9176,11 +9191,15 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.0", ngImpor
9176
9191
  type: Input
9177
9192
  }], variant: [{
9178
9193
  type: Input
9194
+ }], sortMode: [{
9195
+ type: Input
9179
9196
  }], striped: [{
9180
9197
  type: Input,
9181
9198
  args: [{ transform: booleanAttribute }]
9182
9199
  }], onSort: [{
9183
9200
  type: Output
9201
+ }], onMultiSort: [{
9202
+ type: Output
9184
9203
  }] } });
9185
9204
 
9186
9205
  class GoabxTableSortHeader {
@@ -9196,9 +9215,13 @@ class GoabxTableSortHeader {
9196
9215
  });
9197
9216
  }
9198
9217
  static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.0", ngImport: i0, type: GoabxTableSortHeader, deps: [{ token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Component }); }
9199
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.2.0", type: GoabxTableSortHeader, isStandalone: true, selector: "goabx-table-sort-header", inputs: { name: "name", direction: "direction" }, ngImport: i0, template: `
9218
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.2.0", type: GoabxTableSortHeader, isStandalone: true, selector: "goabx-table-sort-header", inputs: { name: "name", direction: "direction", sortOrder: "sortOrder" }, ngImport: i0, template: `
9200
9219
  @if (isReady) {
9201
- <goa-table-sort-header [attr.name]="name" [attr.direction]="direction">
9220
+ <goa-table-sort-header
9221
+ [attr.name]="name"
9222
+ [attr.direction]="direction"
9223
+ [attr.sort-order]="sortOrder"
9224
+ >
9202
9225
  <ng-content />
9203
9226
  </goa-table-sort-header>
9204
9227
  }
@@ -9211,7 +9234,11 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.0", ngImpor
9211
9234
  selector: "goabx-table-sort-header",
9212
9235
  template: `
9213
9236
  @if (isReady) {
9214
- <goa-table-sort-header [attr.name]="name" [attr.direction]="direction">
9237
+ <goa-table-sort-header
9238
+ [attr.name]="name"
9239
+ [attr.direction]="direction"
9240
+ [attr.sort-order]="sortOrder"
9241
+ >
9215
9242
  <ng-content />
9216
9243
  </goa-table-sort-header>
9217
9244
  }
@@ -9222,6 +9249,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.0", ngImpor
9222
9249
  type: Input
9223
9250
  }], direction: [{
9224
9251
  type: Input
9252
+ }], sortOrder: [{
9253
+ type: Input
9225
9254
  }] } });
9226
9255
 
9227
9256
  class GoabxTextArea extends GoabControlValueAccessor {