@coolon/angular-ui-powerups 0.0.129 → 0.0.130

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.
@@ -972,7 +972,7 @@
972
972
  SelectInputComponent.decorators = [
973
973
  { type: core.Component, args: [{
974
974
  selector: 'aup-select-input',
975
- 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]=\"valueModel\"\n [errorStateMatcher]=\"errorStateMatcher\"\n >\n <mat-option *ngFor=\"let option of optionsModel.value\" [value]=\"option\">{{optionLabelFormat(option)}}\n </mat-option>\n </mat-select>\n <mat-hint *ngIf=\"hint\">{{hint}}</mat-hint>\n <mat-error *ngIf=\"hasErrors\">{{firstError}}</mat-error>\n</mat-form-field>\n",
975
+ 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]=\"valueModel\"\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 [ngTemplateOutlet]=\"optionTemplateRef\"\n [ngTemplateOutletContext]=\"{ $implicit: option, index: i }\"\n >\n </ng-container>\n </mat-option>\n </mat-select>\n <mat-hint *ngIf=\"hint\">{{hint}}</mat-hint>\n <mat-error *ngIf=\"hasErrors\">{{firstError}}</mat-error>\n</mat-form-field>\n",
976
976
  styles: [":host{display:inline-block}mat-form-field{width:100%}"]
977
977
  }] }
978
978
  ];
@@ -982,6 +982,9 @@
982
982
  optionsModel: [{ type: core.Input }],
983
983
  options: [{ type: core.Input }],
984
984
  optionLabel: [{ type: core.Input }],
985
+ allowNil: [{ type: core.Input }],
986
+ optionTemplateRef: [{ type: core.ContentChild, args: ["optionTemplate", { static: false },] }],
987
+ nilOptionTemplateRef: [{ type: core.ContentChild, args: ["nilOptionTemplate", { static: false },] }],
985
988
  optionLabelFormat: [{ type: core.Input }]
986
989
  };
987
990
  __decorate([
@@ -1002,6 +1005,12 @@
1002
1005
  /** @type {?} */
1003
1006
  SelectInputComponent.prototype.optionLabel;
1004
1007
  /** @type {?} */
1008
+ SelectInputComponent.prototype.allowNil;
1009
+ /** @type {?} */
1010
+ SelectInputComponent.prototype.optionTemplateRef;
1011
+ /** @type {?} */
1012
+ SelectInputComponent.prototype.nilOptionTemplateRef;
1013
+ /** @type {?} */
1005
1014
  SelectInputComponent.prototype.optionLabelFormat;
1006
1015
  }
1007
1016