ng-inail-common 1.0.402 → 1.0.411
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/bundles/ng-inail-common.umd.js +10 -5
- package/bundles/ng-inail-common.umd.js.map +1 -1
- package/bundles/ng-inail-common.umd.min.js +1 -1
- package/bundles/ng-inail-common.umd.min.js.map +1 -1
- package/esm2015/lib/components/ux/inail-file-upload-component/inail-file-upload.component.js +6 -2
- package/esm2015/lib/components/ux/input-text/input-text.component.js +2 -2
- package/esm2015/lib/components/ux/select/select.component.js +9 -6
- package/esm5/lib/components/ux/inail-file-upload-component/inail-file-upload.component.js +6 -2
- package/esm5/lib/components/ux/input-text/input-text.component.js +2 -2
- package/esm5/lib/components/ux/select/select.component.js +9 -6
- package/fesm2015/ng-inail-common.js +11 -6
- package/fesm2015/ng-inail-common.js.map +1 -1
- package/fesm5/ng-inail-common.js +11 -6
- package/fesm5/ng-inail-common.js.map +1 -1
- package/lib/components/ux/inail-file-upload-component/inail-file-upload.component.d.ts +2 -1
- package/ng-inail-common.metadata.json +1 -1
- package/package.json +1 -1
|
@@ -2230,7 +2230,7 @@
|
|
|
2230
2230
|
* @return {?}
|
|
2231
2231
|
*/
|
|
2232
2232
|
function (changes) {
|
|
2233
|
-
if (changes.value && !changes.value.firstChange) {
|
|
2233
|
+
if (changes.value && !changes.value.firstChange && this.cleanErrorOnChange) {
|
|
2234
2234
|
this.hasError = false;
|
|
2235
2235
|
this.descError = undefined;
|
|
2236
2236
|
}
|
|
@@ -2419,10 +2419,13 @@
|
|
|
2419
2419
|
this.valueValue = val;
|
|
2420
2420
|
this.valueChange.emit(this.valueValue);
|
|
2421
2421
|
/** @type {?} */
|
|
2422
|
-
var optionSelected
|
|
2423
|
-
|
|
2424
|
-
|
|
2425
|
-
|
|
2422
|
+
var optionSelected;
|
|
2423
|
+
if (this.options != undefined) {
|
|
2424
|
+
optionSelected = this.options.find(( /**
|
|
2425
|
+
* @param {?} opt
|
|
2426
|
+
* @return {?}
|
|
2427
|
+
*/function (opt) { return opt != undefined && opt.value === _this.valueValue; }));
|
|
2428
|
+
}
|
|
2426
2429
|
if (optionSelected != undefined || isEmptyOrNull(val)) {
|
|
2427
2430
|
this.select.emit(optionSelected);
|
|
2428
2431
|
}
|
|
@@ -8976,6 +8979,7 @@
|
|
|
8976
8979
|
function () {
|
|
8977
8980
|
this.fileModel = undefined;
|
|
8978
8981
|
this.uploadFile.emit(undefined);
|
|
8982
|
+
this.inputTypeFile.nativeElement.value = '';
|
|
8979
8983
|
};
|
|
8980
8984
|
InailFileUploadComponent.decorators = [
|
|
8981
8985
|
{ type: i0.Component, args: [{
|
|
@@ -8988,6 +8992,7 @@
|
|
|
8988
8992
|
/** @nocollapse */
|
|
8989
8993
|
InailFileUploadComponent.ctorParameters = function () { return []; };
|
|
8990
8994
|
InailFileUploadComponent.propDecorators = {
|
|
8995
|
+
inputTypeFile: [{ type: i0.ViewChild, args: ["inputTypeFile",] }],
|
|
8991
8996
|
placeholder: [{ type: i0.Input }],
|
|
8992
8997
|
description: [{ type: i0.Input }],
|
|
8993
8998
|
chooseButtonText: [{ type: i0.Input }],
|