@coolon/angular-ui-powerups 2.0.0-alpha.10 → 2.0.0-alpha.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.
- package/CHANGELOG.md +7 -0
- package/bundles/coolon-angular-ui-powerups.umd.js +4 -12
- package/bundles/coolon-angular-ui-powerups.umd.js.map +1 -1
- package/bundles/coolon-angular-ui-powerups.umd.min.js +1 -1
- package/bundles/coolon-angular-ui-powerups.umd.min.js.map +1 -1
- package/coolon-angular-ui-powerups.metadata.json +1 -1
- package/esm2015/lib/components/components.module.ngfactory.js.map +1 -1
- package/esm2015/lib/components/forms/multiple-select-input/multiple-select-input.component.js +2 -10
- package/esm2015/lib/components/forms/multiple-select-input/multiple-select-input.component.js.map +1 -1
- package/esm2015/lib/components/forms/multiple-select-input/multiple-select-input.component.metadata.json +1 -1
- package/esm2015/lib/components/forms/select-input/select-input.component.js +2 -2
- package/esm2015/lib/components/forms/select-input/select-input.component.js.map +1 -1
- package/esm2015/lib/components/forms/select-input/select-input.component.metadata.json +1 -1
- package/esm5/lib/components/components.module.ngfactory.js.map +1 -1
- package/esm5/lib/components/forms/multiple-select-input/multiple-select-input.component.js +2 -10
- package/esm5/lib/components/forms/multiple-select-input/multiple-select-input.component.js.map +1 -1
- package/esm5/lib/components/forms/select-input/select-input.component.js +2 -2
- package/esm5/lib/components/forms/select-input/select-input.component.js.map +1 -1
- package/fesm2015/coolon-angular-ui-powerups.js +4 -12
- package/fesm2015/coolon-angular-ui-powerups.js.map +1 -1
- package/fesm5/coolon-angular-ui-powerups.js +4 -12
- package/fesm5/coolon-angular-ui-powerups.js.map +1 -1
- package/lib/components/forms/multiple-select-input/multiple-select-input.component.d.ts +1 -3
- package/lib/components/forms/select-input/select-input.component.d.ts +1 -1
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -2,6 +2,13 @@
|
|
|
2
2
|
|
|
3
3
|
All notable changes to this project will be documented in this file. See [standard-version](https://github.com/conventional-changelog/standard-version) for commit guidelines.
|
|
4
4
|
|
|
5
|
+
## [2.0.0-alpha.11](https://bitbucket.org/coolon/angular-ui-powerups/compare/v2.0.0-alpha.10...v2.0.0-alpha.11) (2020-07-29)
|
|
6
|
+
|
|
7
|
+
|
|
8
|
+
### Bug Fixes
|
|
9
|
+
|
|
10
|
+
* fixed nilOptionTemplate in aup-select-input ([aa80cf1](https://bitbucket.org/coolon/angular-ui-powerups/commit/aa80cf118ef7e1b2f8df4989dd8b56c2afa2b490))
|
|
11
|
+
|
|
5
12
|
## [2.0.0-alpha.10](https://bitbucket.org/coolon/angular-ui-powerups/compare/v2.0.0-alpha.9...v2.0.0-alpha.10) (2020-07-27)
|
|
6
13
|
|
|
7
14
|
|
|
@@ -1093,7 +1093,7 @@
|
|
|
1093
1093
|
* Using templates:
|
|
1094
1094
|
* <aup-multiple-select-input [valueModel]="myModel" [options]="myOptions">
|
|
1095
1095
|
* <ng-template #optionTemplate let-option>{{option.thePropertyYouWant}}</ng-template>
|
|
1096
|
-
* <ng-template #
|
|
1096
|
+
* <ng-template #nilOptionTemplate let-option>{{option.thePropertyYouWant}}</ng-template>
|
|
1097
1097
|
* </aup-multiple-select_input>
|
|
1098
1098
|
*/
|
|
1099
1099
|
var MultipleSelectInputComponent = /** @class */ (function (_super) {
|
|
@@ -1117,18 +1117,10 @@
|
|
|
1117
1117
|
core.Input(),
|
|
1118
1118
|
__metadata("design:type", Object)
|
|
1119
1119
|
], MultipleSelectInputComponent.prototype, "optionLabel", void 0);
|
|
1120
|
-
__decorate([
|
|
1121
|
-
core.Input(),
|
|
1122
|
-
__metadata("design:type", Boolean)
|
|
1123
|
-
], MultipleSelectInputComponent.prototype, "allowNil", void 0);
|
|
1124
1120
|
__decorate([
|
|
1125
1121
|
core.ContentChild('optionTemplate'),
|
|
1126
1122
|
__metadata("design:type", core.TemplateRef)
|
|
1127
1123
|
], MultipleSelectInputComponent.prototype, "optionTemplateRef", void 0);
|
|
1128
|
-
__decorate([
|
|
1129
|
-
core.ContentChild('nilOptionTemplate'),
|
|
1130
|
-
__metadata("design:type", core.TemplateRef)
|
|
1131
|
-
], MultipleSelectInputComponent.prototype, "nilOptionTemplateRef", void 0);
|
|
1132
1124
|
__decorate([
|
|
1133
1125
|
core.Input(),
|
|
1134
1126
|
__metadata("design:type", Function)
|
|
@@ -1136,7 +1128,7 @@
|
|
|
1136
1128
|
MultipleSelectInputComponent = __decorate([
|
|
1137
1129
|
core.Component({
|
|
1138
1130
|
selector: 'aup-multiple-select-input',
|
|
1139
|
-
template: "<mat-form-field appearance=\"standard\" [floatLabel]=\"floatLabel\">\n <mat-label *ngIf=\"label\">{{label}}</mat-label>\n <mat-select placeholder=\"{{placeholder}}\"\n multiple\n [(ngModel)]=\"listModel.value\"\n [disabled]=\"!enabled.value\"\n (keydown.enter)=\"notifyEnterKey()\"\n (keydown.escape)=\"notifyEscapeKey()\"\n [pectinFocusBinding]=\"focusContext\"\n [errorStateMatcher]=\"errorStateMatcher\"\n >\n <mat-option *
|
|
1131
|
+
template: "<mat-form-field appearance=\"standard\" [floatLabel]=\"floatLabel\">\n <mat-label *ngIf=\"label\">{{label}}</mat-label>\n <mat-select placeholder=\"{{placeholder}}\"\n multiple\n [(ngModel)]=\"listModel.value\"\n [disabled]=\"!enabled.value\"\n (keydown.enter)=\"notifyEnterKey()\"\n (keydown.escape)=\"notifyEscapeKey()\"\n [pectinFocusBinding]=\"focusContext\"\n [errorStateMatcher]=\"errorStateMatcher\"\n >\n <mat-option *ngFor=\"let option of optionsModel.value; let i = index\" [value]=\"option\">\n <ng-container *ngIf=\"!optionTemplateRef\">{{optionLabelFormat(option)}}</ng-container>\n <ng-container *ngIf=\"optionTemplateRef\"\n [ngTemplateOutlet]=\"optionTemplateRef\"\n [ngTemplateOutletContext]=\"{ $implicit: option, index: i }\"\n >\n </ng-container>\n </mat-option>\n </mat-select>\n <mat-hint *ngIf=\"showHint\">{{hint}}</mat-hint>\n <mat-error *ngIf=\"hasErrors\">{{firstError}}</mat-error>\n</mat-form-field>\n",
|
|
1140
1132
|
styles: [":host{display:inline-block}mat-form-field{width:100%}"]
|
|
1141
1133
|
}),
|
|
1142
1134
|
__metadata("design:paramtypes", [])
|
|
@@ -1199,7 +1191,7 @@
|
|
|
1199
1191
|
* Using templates:
|
|
1200
1192
|
* <aup-select-input [valueModel]="myModel" [options]="myOptions">
|
|
1201
1193
|
* <ng-template #optionTemplate let-option>{{option.thePropertyYouWant}}</ng-template>
|
|
1202
|
-
* <ng-template #
|
|
1194
|
+
* <ng-template #nilOptionTemplate let-option>{{option.thePropertyYouWant}}</ng-template>
|
|
1203
1195
|
* </aup-select_input>
|
|
1204
1196
|
*/
|
|
1205
1197
|
var SelectInputComponent = /** @class */ (function (_super) {
|
|
@@ -1242,7 +1234,7 @@
|
|
|
1242
1234
|
SelectInputComponent = __decorate([
|
|
1243
1235
|
core.Component({
|
|
1244
1236
|
selector: 'aup-select-input',
|
|
1245
|
-
template: "<mat-form-field appearance=\"standard\" [floatLabel]=\"floatLabel\">\n <mat-label *ngIf=\"label\">{{label}}</mat-label>\n <mat-select placeholder=\"{{placeholder}}\"\n [(ngModel)]=\"valueModel.value\"\n [disabled]=\"!enabled.value\"\n (keydown.enter)=\"notifyEnterKey()\"\n (keydown.escape)=\"notifyEscapeKey()\"\n [pectinFocusBinding]=\"focusContext\"\n [errorStateMatcher]=\"errorStateMatcher\"\n >\n <mat-option *ngIf=\"allowNil\">{{placeholder}}</mat-option>\n <mat-option *ngFor=\"let option of optionsModel.value; let i = index\" [value]=\"option\">\n <ng-container *ngIf=\"!optionTemplateRef\">{{optionLabelFormat(option)}}</ng-container>\n <ng-container *ngIf=\"optionTemplateRef\"\n
|
|
1237
|
+
template: "<mat-form-field appearance=\"standard\" [floatLabel]=\"floatLabel\">\n <mat-label *ngIf=\"label\">{{label}}</mat-label>\n <mat-select placeholder=\"{{placeholder}}\"\n [(ngModel)]=\"valueModel.value\"\n [disabled]=\"!enabled.value\"\n (keydown.enter)=\"notifyEnterKey()\"\n (keydown.escape)=\"notifyEscapeKey()\"\n [pectinFocusBinding]=\"focusContext\"\n [errorStateMatcher]=\"errorStateMatcher\"\n >\n <mat-option *ngIf=\"allowNil\">\n <ng-container *ngIf=\"!nilOptionTemplateRef\">{{placeholder}}</ng-container>\n <ng-container *ngIf=\"nilOptionTemplateRef\" [ngTemplateOutlet]=\"nilOptionTemplateRef\"></ng-container>\n </mat-option>\n <mat-option *ngFor=\"let option of optionsModel.value; let i = index\" [value]=\"option\">\n <ng-container *ngIf=\"!optionTemplateRef\">{{optionLabelFormat(option)}}</ng-container>\n <ng-container *ngIf=\"optionTemplateRef\"\n [ngTemplateOutlet]=\"optionTemplateRef\"\n [ngTemplateOutletContext]=\"{ $implicit: option, index: i }\"\n >\n </ng-container>\n </mat-option>\n </mat-select>\n <mat-hint *ngIf=\"showHint\">{{hint}}</mat-hint>\n <mat-error *ngIf=\"hasErrors\">{{firstError}}</mat-error>\n</mat-form-field>\n",
|
|
1246
1238
|
styles: [":host{display:inline-block}mat-form-field{width:100%}"]
|
|
1247
1239
|
}),
|
|
1248
1240
|
__metadata("design:paramtypes", [])
|