ng-inail-common 2.0.30-beta.6 → 2.0.30-beta.7
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 +4 -3
- 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/core/form/input-time/input-time.component.js +5 -4
- package/fesm2015/ng-inail-common.js +4 -3
- package/fesm2015/ng-inail-common.js.map +1 -1
- package/package.json +1 -1
|
@@ -6769,9 +6769,9 @@
|
|
|
6769
6769
|
_this = _super.call(this, cdr, libConfig) || this;
|
|
6770
6770
|
_this.cdr = cdr;
|
|
6771
6771
|
_this.libConfig = libConfig;
|
|
6772
|
-
_this.timeHMRegex = new RegExp(/^((([01]
|
|
6773
|
-
_this.timeHMSRegex = new RegExp(/^((([01]
|
|
6774
|
-
_this.validInputRegx = new RegExp(/^([0-9]+[0-9:]*)$/
|
|
6772
|
+
_this.timeHMRegex = new RegExp(/^((([01]\d)|([2][0-3]))[:]([0-5]\d)$)/);
|
|
6773
|
+
_this.timeHMSRegex = new RegExp(/^((([01]\d)|([2][0-3]))[:]([0-5]\d)[:]([0-5]\d)$)/);
|
|
6774
|
+
_this.validInputRegx = new RegExp(/^([0-9]+[0-9:]*)$/);
|
|
6775
6775
|
_this.nativeInputTypeTime = getConfigValue((_b = (_a = _this.libConfig) === null || _a === void 0 ? void 0 : _a.inputTimeComponent) === null || _b === void 0 ? void 0 : _b.nativeInputTypeTime, false);
|
|
6776
6776
|
_this.withSeconds = getConfigValue((_d = (_c = _this.libConfig) === null || _c === void 0 ? void 0 : _c.inputTimeComponent) === null || _d === void 0 ? void 0 : _d.withSeconds, false);
|
|
6777
6777
|
_this.selfValidation = getConfigValue((_f = (_e = _this.libConfig) === null || _e === void 0 ? void 0 : _e.inputTimeComponent) === null || _f === void 0 ? void 0 : _f.selfValidation, true);
|
|
@@ -6838,6 +6838,7 @@
|
|
|
6838
6838
|
value = this.bonificaValore(value);
|
|
6839
6839
|
this.inputValue = this.isBefore2Points(value) ? value + ":" : value;
|
|
6840
6840
|
if (isNotBlankOrNull(this.inputValue) && this.selfValidation && !this.isValidValue(this.inputValue)) {
|
|
6841
|
+
// console.warn(this.inputValue, this.selfValidation, !this.isValidValue(this.inputValue))
|
|
6841
6842
|
this.setDescError(this.selfValidationError);
|
|
6842
6843
|
}
|
|
6843
6844
|
else {
|