ngx-edu-sharing-metaqs2 0.9.18 → 0.9.19
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.
|
@@ -1,8 +1,7 @@
|
|
|
1
|
-
import { Component, Input,
|
|
2
|
-
import { FormControl, ReactiveFormsModule } from
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
5
|
-
import { MatOption, MatSelect } from "@angular/material/select";
|
|
1
|
+
import { Component, Input, Output } from '@angular/core';
|
|
2
|
+
import { FormControl, ReactiveFormsModule } from '@angular/forms';
|
|
3
|
+
import { MatFormField, MatLabel } from '@angular/material/form-field';
|
|
4
|
+
import { MatOption, MatSelect } from '@angular/material/select';
|
|
6
5
|
import * as i0 from "@angular/core";
|
|
7
6
|
import * as i1 from "@angular/forms";
|
|
8
7
|
/**
|
|
@@ -16,27 +15,26 @@ import * as i1 from "@angular/forms";
|
|
|
16
15
|
export class QualityMatrixFilterComponent {
|
|
17
16
|
constructor() {
|
|
18
17
|
this.inputFormControl = new FormControl();
|
|
19
|
-
this.
|
|
20
|
-
this.
|
|
21
|
-
this.changedFilters = outputFromObservable(this.inputFormControl.valueChanges);
|
|
18
|
+
this.multiple = true;
|
|
19
|
+
this.changedFilters = this.inputFormControl.valueChanges;
|
|
22
20
|
}
|
|
23
21
|
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: QualityMatrixFilterComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
24
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "18.2.13", type: QualityMatrixFilterComponent, isStandalone: true, selector: "lib-qm-filter", inputs: { options:
|
|
22
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "18.2.13", type: QualityMatrixFilterComponent, isStandalone: true, selector: "lib-qm-filter", inputs: { options: "options", inputFormControl: "inputFormControl", label: "label", multiple: "multiple" }, outputs: { changedFilters: "changedFilters" }, ngImport: i0, template: "<mat-form-field appearance=\"outline\">\n <mat-label>Filter by {{ label }}</mat-label>\n <mat-select\n [multiple]=\"multiple\"\n [formControl]=\"inputFormControl\"\n >\n @for( option of options ; track option.id ) {\n <mat-option [value]=\"option.id\"> {{ option.label }} </mat-option>\n }\n </mat-select>\n</mat-form-field>", styles: [":host ::ng-deep>mat-form-field>.mat-mdc-form-field-subscript-wrapper{display:none}\n"], dependencies: [{ kind: "component", type: MatFormField, selector: "mat-form-field", inputs: ["hideRequiredMarker", "color", "floatLabel", "appearance", "subscriptSizing", "hintLabel"], exportAs: ["matFormField"] }, { kind: "component", type: MatSelect, selector: "mat-select", inputs: ["aria-describedby", "panelClass", "disabled", "disableRipple", "tabIndex", "hideSingleSelectionIndicator", "placeholder", "required", "multiple", "disableOptionCentering", "compareWith", "value", "aria-label", "aria-labelledby", "errorStateMatcher", "typeaheadDebounceInterval", "sortComparator", "id", "panelWidth"], outputs: ["openedChange", "opened", "closed", "selectionChange", "valueChange"], exportAs: ["matSelect"] }, { kind: "ngmodule", type: ReactiveFormsModule }, { kind: "directive", type: i1.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i1.FormControlDirective, selector: "[formControl]", inputs: ["formControl", "disabled", "ngModel"], outputs: ["ngModelChange"], exportAs: ["ngForm"] }, { kind: "component", type: MatOption, selector: "mat-option", inputs: ["value", "id", "disabled"], outputs: ["onSelectionChange"], exportAs: ["matOption"] }, { kind: "directive", type: MatLabel, selector: "mat-label" }] }); }
|
|
25
23
|
}
|
|
26
24
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: QualityMatrixFilterComponent, decorators: [{
|
|
27
25
|
type: Component,
|
|
28
|
-
args: [{ selector: 'lib-qm-filter', standalone: true, imports: [
|
|
29
|
-
MatFormField,
|
|
30
|
-
MatSelect,
|
|
31
|
-
ReactiveFormsModule,
|
|
32
|
-
MatOption,
|
|
33
|
-
MatLabel
|
|
34
|
-
], template: "<mat-form-field appearance=\"outline\">\n <mat-label>Filter by {{ label() }}</mat-label>\n <mat-select\n [multiple]=\"multiple()\"\n [formControl]=\"inputFormControl\"\n >\n @for( option of options ; track option.id ) {\n <mat-option [value]=\"option.id\"> {{ option.label }} </mat-option>\n }\n </mat-select>\n</mat-form-field>", styles: [":host ::ng-deep>mat-form-field>.mat-mdc-form-field-subscript-wrapper{display:none}\n"] }]
|
|
26
|
+
args: [{ selector: 'lib-qm-filter', standalone: true, imports: [MatFormField, MatSelect, ReactiveFormsModule, MatOption, MatLabel], template: "<mat-form-field appearance=\"outline\">\n <mat-label>Filter by {{ label }}</mat-label>\n <mat-select\n [multiple]=\"multiple\"\n [formControl]=\"inputFormControl\"\n >\n @for( option of options ; track option.id ) {\n <mat-option [value]=\"option.id\"> {{ option.label }} </mat-option>\n }\n </mat-select>\n</mat-form-field>", styles: [":host ::ng-deep>mat-form-field>.mat-mdc-form-field-subscript-wrapper{display:none}\n"] }]
|
|
35
27
|
}], propDecorators: { options: [{
|
|
36
28
|
type: Input
|
|
37
29
|
}],
|
|
38
30
|
//must not be named "formControl" otherwise we would have to implement ControlValueAccessor
|
|
39
31
|
inputFormControl: [{
|
|
40
32
|
type: Input
|
|
33
|
+
}], label: [{
|
|
34
|
+
type: Input
|
|
35
|
+
}], multiple: [{
|
|
36
|
+
type: Input
|
|
37
|
+
}], changedFilters: [{
|
|
38
|
+
type: Output
|
|
41
39
|
}] } });
|
|
42
|
-
//# sourceMappingURL=data:application/json;base64,
|
|
40
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicXVhbGl0eS1tYXRyaXgtZmlsdGVyLmNvbXBvbmVudC5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uL3Byb2plY3RzL25nLW1ldGEtd2lkZ2V0cy1saWIvc3JjL2xpYi9jb21wb25lb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cm9sXT1cImlucHV0Rm9ybUNvbnRyb2xcIlxuICA+XG4gICAgQGZvciggb3B0aW9uIG9mIG9wdGlvbnMgOyB0cmFjayBvcHRpb24uaWQgKSB7XG4gICAgICA8bWF0LW9wdGlvbiBbdmFsdWVdPVwib3B0aW9uLmlkXCI+IHt7IG9wdGlvbi5sYWJlbCB9fSA8L21hdC1vcHRpb24+XG4gICAgfVxuICA8L21hdC1zZWxlY3Q+XG48L21hdC1mb3JtLWZpZWxkPiJdfQ==
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as i0 from '@angular/core';
|
|
2
|
-
import { InjectionToken, Injectable, Optional, Inject, NgModule, SkipSelf,
|
|
2
|
+
import { InjectionToken, Injectable, Optional, Inject, NgModule, SkipSelf, Component, Input, Output, signal, ChangeDetectionStrategy, inject, Pipe, LOCALE_ID, ViewChild } from '@angular/core';
|
|
3
3
|
import * as i4 from '@angular/material/card';
|
|
4
4
|
import { MatCard, MatCardContent, MatCardHeader, MatCardTitle, MatCardModule, MatCardActions } from '@angular/material/card';
|
|
5
5
|
import { MatTreeModule } from '@angular/material/tree';
|
|
@@ -29,7 +29,6 @@ import { Subject, BehaviorSubject, of, forkJoin, pipe } from 'rxjs';
|
|
|
29
29
|
import { take, map, finalize, tap, catchError, startWith, filter, distinctUntilChanged, takeUntil } from 'rxjs/operators';
|
|
30
30
|
import * as i3 from '@angular/common';
|
|
31
31
|
import { AsyncPipe, NgClass, NgForOf, NgIf } from '@angular/common';
|
|
32
|
-
import { outputFromObservable, takeUntilDestroyed } from '@angular/core/rxjs-interop';
|
|
33
32
|
import * as i2 from '@ngx-translate/core';
|
|
34
33
|
import { TranslateModule } from '@ngx-translate/core';
|
|
35
34
|
import * as i2$1 from '@angular/platform-browser';
|
|
@@ -37,6 +36,7 @@ import { BrowserModule } from '@angular/platform-browser';
|
|
|
37
36
|
import { MatListModule } from '@angular/material/list';
|
|
38
37
|
import { MatSort, MatSortModule } from '@angular/material/sort';
|
|
39
38
|
import { MatCheckbox } from '@angular/material/checkbox';
|
|
39
|
+
import { takeUntilDestroyed } from '@angular/core/rxjs-interop';
|
|
40
40
|
import { DateTime } from 'luxon';
|
|
41
41
|
import { MatDatepicker, MatDatepickerInput, MatDatepickerToggle, MatDateRangeInput, MatDatepickerModule, MatDateRangePicker } from '@angular/material/datepicker';
|
|
42
42
|
import { provideLuxonDateAdapter, MAT_LUXON_DATE_ADAPTER_OPTIONS } from '@angular/material-luxon-adapter';
|
|
@@ -1740,28 +1740,27 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.13", ngImpo
|
|
|
1740
1740
|
class QualityMatrixFilterComponent {
|
|
1741
1741
|
constructor() {
|
|
1742
1742
|
this.inputFormControl = new FormControl();
|
|
1743
|
-
this.
|
|
1744
|
-
this.
|
|
1745
|
-
this.changedFilters = outputFromObservable(this.inputFormControl.valueChanges);
|
|
1743
|
+
this.multiple = true;
|
|
1744
|
+
this.changedFilters = this.inputFormControl.valueChanges;
|
|
1746
1745
|
}
|
|
1747
1746
|
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: QualityMatrixFilterComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
1748
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "18.2.13", type: QualityMatrixFilterComponent, isStandalone: true, selector: "lib-qm-filter", inputs: { options:
|
|
1747
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "18.2.13", type: QualityMatrixFilterComponent, isStandalone: true, selector: "lib-qm-filter", inputs: { options: "options", inputFormControl: "inputFormControl", label: "label", multiple: "multiple" }, outputs: { changedFilters: "changedFilters" }, ngImport: i0, template: "<mat-form-field appearance=\"outline\">\n <mat-label>Filter by {{ label }}</mat-label>\n <mat-select\n [multiple]=\"multiple\"\n [formControl]=\"inputFormControl\"\n >\n @for( option of options ; track option.id ) {\n <mat-option [value]=\"option.id\"> {{ option.label }} </mat-option>\n }\n </mat-select>\n</mat-form-field>", styles: [":host ::ng-deep>mat-form-field>.mat-mdc-form-field-subscript-wrapper{display:none}\n"], dependencies: [{ kind: "component", type: MatFormField, selector: "mat-form-field", inputs: ["hideRequiredMarker", "color", "floatLabel", "appearance", "subscriptSizing", "hintLabel"], exportAs: ["matFormField"] }, { kind: "component", type: MatSelect, selector: "mat-select", inputs: ["aria-describedby", "panelClass", "disabled", "disableRipple", "tabIndex", "hideSingleSelectionIndicator", "placeholder", "required", "multiple", "disableOptionCentering", "compareWith", "value", "aria-label", "aria-labelledby", "errorStateMatcher", "typeaheadDebounceInterval", "sortComparator", "id", "panelWidth"], outputs: ["openedChange", "opened", "closed", "selectionChange", "valueChange"], exportAs: ["matSelect"] }, { kind: "ngmodule", type: ReactiveFormsModule }, { kind: "directive", type: i1$1.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i1$1.FormControlDirective, selector: "[formControl]", inputs: ["formControl", "disabled", "ngModel"], outputs: ["ngModelChange"], exportAs: ["ngForm"] }, { kind: "component", type: MatOption, selector: "mat-option", inputs: ["value", "id", "disabled"], outputs: ["onSelectionChange"], exportAs: ["matOption"] }, { kind: "directive", type: MatLabel, selector: "mat-label" }] }); }
|
|
1749
1748
|
}
|
|
1750
1749
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: QualityMatrixFilterComponent, decorators: [{
|
|
1751
1750
|
type: Component,
|
|
1752
|
-
args: [{ selector: 'lib-qm-filter', standalone: true, imports: [
|
|
1753
|
-
MatFormField,
|
|
1754
|
-
MatSelect,
|
|
1755
|
-
ReactiveFormsModule,
|
|
1756
|
-
MatOption,
|
|
1757
|
-
MatLabel
|
|
1758
|
-
], template: "<mat-form-field appearance=\"outline\">\n <mat-label>Filter by {{ label() }}</mat-label>\n <mat-select\n [multiple]=\"multiple()\"\n [formControl]=\"inputFormControl\"\n >\n @for( option of options ; track option.id ) {\n <mat-option [value]=\"option.id\"> {{ option.label }} </mat-option>\n }\n </mat-select>\n</mat-form-field>", styles: [":host ::ng-deep>mat-form-field>.mat-mdc-form-field-subscript-wrapper{display:none}\n"] }]
|
|
1751
|
+
args: [{ selector: 'lib-qm-filter', standalone: true, imports: [MatFormField, MatSelect, ReactiveFormsModule, MatOption, MatLabel], template: "<mat-form-field appearance=\"outline\">\n <mat-label>Filter by {{ label }}</mat-label>\n <mat-select\n [multiple]=\"multiple\"\n [formControl]=\"inputFormControl\"\n >\n @for( option of options ; track option.id ) {\n <mat-option [value]=\"option.id\"> {{ option.label }} </mat-option>\n }\n </mat-select>\n</mat-form-field>", styles: [":host ::ng-deep>mat-form-field>.mat-mdc-form-field-subscript-wrapper{display:none}\n"] }]
|
|
1759
1752
|
}], propDecorators: { options: [{
|
|
1760
1753
|
type: Input
|
|
1761
1754
|
}],
|
|
1762
1755
|
//must not be named "formControl" otherwise we would have to implement ControlValueAccessor
|
|
1763
1756
|
inputFormControl: [{
|
|
1764
1757
|
type: Input
|
|
1758
|
+
}], label: [{
|
|
1759
|
+
type: Input
|
|
1760
|
+
}], multiple: [{
|
|
1761
|
+
type: Input
|
|
1762
|
+
}], changedFilters: [{
|
|
1763
|
+
type: Output
|
|
1765
1764
|
}] } });
|
|
1766
1765
|
|
|
1767
1766
|
class TreeSearchCountsComponent {
|