@huntsman-cancer-institute/input 15.7.0 → 15.7.2
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.
- package/esm2020/select/native-select.component.mjs +11 -6
- package/fesm2015/huntsman-cancer-institute-input.mjs +10 -5
- package/fesm2015/huntsman-cancer-institute-input.mjs.map +1 -1
- package/fesm2020/huntsman-cancer-institute-input.mjs +10 -5
- package/fesm2020/huntsman-cancer-institute-input.mjs.map +1 -1
- package/package.json +1 -1
- package/select/native-select.component.d.ts +2 -1
|
@@ -2107,6 +2107,7 @@ class NativeSelectComponent {
|
|
|
2107
2107
|
this.sortKey = null;
|
|
2108
2108
|
this.sortNumeric = false;
|
|
2109
2109
|
this.filterKey = null;
|
|
2110
|
+
this.id = "";
|
|
2110
2111
|
this._filter = null;
|
|
2111
2112
|
}
|
|
2112
2113
|
ngOnInit() {
|
|
@@ -2198,20 +2199,21 @@ class NativeSelectComponent {
|
|
|
2198
2199
|
registerOnTouched(fn) { }
|
|
2199
2200
|
}
|
|
2200
2201
|
NativeSelectComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: NativeSelectComponent, deps: [{ token: i1$1.DictionaryService }, { token: i2$1.HttpClient }, { token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Component });
|
|
2201
|
-
NativeSelectComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.10", type: NativeSelectComponent, selector: "hci-native-select", inputs: { classList: ["class", "classList"], name: "name", label: "label", url: "url", entries: "entries", required: "required", idKey: "idKey", displayKey: "displayKey", disabled: "disabled", sortKey: "sortKey", sortNumeric: "sortNumeric", filterKey: "filterKey", filter: "filter" }, host: { properties: { "class": "this.classList" } }, providers: [
|
|
2202
|
+
NativeSelectComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.10", type: NativeSelectComponent, selector: "hci-native-select", inputs: { classList: ["class", "classList"], name: "name", label: "label", url: "url", entries: "entries", required: "required", idKey: "idKey", displayKey: "displayKey", disabled: "disabled", sortKey: "sortKey", sortNumeric: "sortNumeric", filterKey: "filterKey", id: "id", filter: "filter" }, host: { properties: { "class": "this.classList" } }, providers: [
|
|
2202
2203
|
{
|
|
2203
2204
|
provide: NG_VALUE_ACCESSOR,
|
|
2204
2205
|
useExisting: forwardRef(() => NativeSelectComponent),
|
|
2205
2206
|
multi: true
|
|
2206
2207
|
}
|
|
2207
2208
|
], ngImport: i0, template: `
|
|
2208
|
-
<
|
|
2209
|
+
<label [for]="id" *ngIf="label" class="label">
|
|
2209
2210
|
{{label}}{{(required) ? " *" : ""}}
|
|
2210
|
-
</
|
|
2211
|
+
</label>
|
|
2211
2212
|
<select [(ngModel)]="value"
|
|
2212
2213
|
[style.height.px]="height"
|
|
2213
2214
|
(change)="onChange()"
|
|
2214
2215
|
[disabled]="disabled"
|
|
2216
|
+
[id]="id"
|
|
2215
2217
|
class="form-control flex-grow-1"
|
|
2216
2218
|
style="min-width: 4rem;">
|
|
2217
2219
|
<ng-container *ngIf="!required">
|
|
@@ -2229,13 +2231,14 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImpo
|
|
|
2229
2231
|
args: [{
|
|
2230
2232
|
selector: "hci-native-select",
|
|
2231
2233
|
template: `
|
|
2232
|
-
<
|
|
2234
|
+
<label [for]="id" *ngIf="label" class="label">
|
|
2233
2235
|
{{label}}{{(required) ? " *" : ""}}
|
|
2234
|
-
</
|
|
2236
|
+
</label>
|
|
2235
2237
|
<select [(ngModel)]="value"
|
|
2236
2238
|
[style.height.px]="height"
|
|
2237
2239
|
(change)="onChange()"
|
|
2238
2240
|
[disabled]="disabled"
|
|
2241
|
+
[id]="id"
|
|
2239
2242
|
class="form-control flex-grow-1"
|
|
2240
2243
|
style="min-width: 4rem;">
|
|
2241
2244
|
<ng-container *ngIf="!required">
|
|
@@ -2284,6 +2287,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImpo
|
|
|
2284
2287
|
type: Input
|
|
2285
2288
|
}], filterKey: [{
|
|
2286
2289
|
type: Input
|
|
2290
|
+
}], id: [{
|
|
2291
|
+
type: Input
|
|
2287
2292
|
}], filter: [{
|
|
2288
2293
|
type: Input
|
|
2289
2294
|
}] } });
|