@dsivd/prestations-ng 16.4.5-beta.1 → 16.4.5-beta.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/CHANGELOG.md +6 -0
- package/dsivd-prestations-ng-v16.4.5-beta.2.tgz +0 -0
- package/esm2020/foehn-input/foehn-input.component.mjs +9 -3
- package/fesm2015/dsivd-prestations-ng.mjs +8 -2
- package/fesm2015/dsivd-prestations-ng.mjs.map +1 -1
- package/fesm2020/dsivd-prestations-ng.mjs +8 -2
- package/fesm2020/dsivd-prestations-ng.mjs.map +1 -1
- package/foehn-input/foehn-input.component.d.ts +5 -1
- package/package.json +1 -1
- package/dsivd-prestations-ng-v16.4.5-beta.1.tgz +0 -0
|
@@ -336,6 +336,10 @@ class FoehnInputComponent {
|
|
|
336
336
|
* When set to TRUE: Shows error even if input is disabled
|
|
337
337
|
*/
|
|
338
338
|
this.showErrorWhenDisabled = false;
|
|
339
|
+
/**
|
|
340
|
+
* When set to TRUE: Allows model update to be emitted
|
|
341
|
+
*/
|
|
342
|
+
this.updateModelWhenDisabled = false;
|
|
339
343
|
/**
|
|
340
344
|
* Fired when the model changes for any reason
|
|
341
345
|
*/
|
|
@@ -410,7 +414,7 @@ class FoehnInputComponent {
|
|
|
410
414
|
}
|
|
411
415
|
updateNgModel(value) {
|
|
412
416
|
this.model_ = value;
|
|
413
|
-
if (!this._disabled) {
|
|
417
|
+
if (!this._disabled || this.updateModelWhenDisabled) {
|
|
414
418
|
this.modelChange.emit(value);
|
|
415
419
|
}
|
|
416
420
|
}
|
|
@@ -622,7 +626,7 @@ class FoehnInputComponent {
|
|
|
622
626
|
}
|
|
623
627
|
}
|
|
624
628
|
FoehnInputComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: FoehnInputComponent, deps: [], target: i0.ɵɵFactoryTarget.Directive });
|
|
625
|
-
FoehnInputComponent.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.2.10", type: FoehnInputComponent, inputs: { id: "id", required: "required", label: "label", isLabelSrOnly: "isLabelSrOnly", helpText: "helpText", name: "name", pattern: "pattern", labelStyleModifier: "labelStyleModifier", customErrors: "customErrors", maxlength: "maxlength", overrideGesdemMaxlength: "overrideGesdemMaxlength", min: "min", max: "max", autocomplete: "autocomplete", preventPaste: "preventPaste", clearButton: "clearButton", excludeFromErrorSummary: "excludeFromErrorSummary", hideNotRequiredExtraLabel: "hideNotRequiredExtraLabel", isErrorInherited: "isErrorInherited", showErrorWhenDisabled: "showErrorWhenDisabled", autocapitalize: "autocapitalize", helpModal: "helpModal", model: "model", disabled: "disabled" }, outputs: { modelChange: "modelChange", userInput: "userInput", blurHandler: "blur", focusHandler: "focus" }, host: { properties: { "attr.id": "this.hostId" } }, viewQueries: [{ propertyName: "inputElement", first: true, predicate: ["entryComponent"], descendants: true }, { propertyName: "inputModelList", predicate: NgModel, descendants: true }, { propertyName: "subComponents", predicate: i0.forwardRef(function () { return FoehnInputComponent; }), descendants: true }], ngImport: i0 });
|
|
629
|
+
FoehnInputComponent.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.2.10", type: FoehnInputComponent, inputs: { id: "id", required: "required", label: "label", isLabelSrOnly: "isLabelSrOnly", helpText: "helpText", name: "name", pattern: "pattern", labelStyleModifier: "labelStyleModifier", customErrors: "customErrors", maxlength: "maxlength", overrideGesdemMaxlength: "overrideGesdemMaxlength", min: "min", max: "max", autocomplete: "autocomplete", preventPaste: "preventPaste", clearButton: "clearButton", excludeFromErrorSummary: "excludeFromErrorSummary", hideNotRequiredExtraLabel: "hideNotRequiredExtraLabel", isErrorInherited: "isErrorInherited", showErrorWhenDisabled: "showErrorWhenDisabled", autocapitalize: "autocapitalize", updateModelWhenDisabled: "updateModelWhenDisabled", helpModal: "helpModal", model: "model", disabled: "disabled" }, outputs: { modelChange: "modelChange", userInput: "userInput", blurHandler: "blur", focusHandler: "focus" }, host: { properties: { "attr.id": "this.hostId" } }, viewQueries: [{ propertyName: "inputElement", first: true, predicate: ["entryComponent"], descendants: true }, { propertyName: "inputModelList", predicate: NgModel, descendants: true }, { propertyName: "subComponents", predicate: i0.forwardRef(function () { return FoehnInputComponent; }), descendants: true }], ngImport: i0 });
|
|
626
630
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: FoehnInputComponent, decorators: [{
|
|
627
631
|
type: Directive
|
|
628
632
|
}], ctorParameters: function () { return []; }, propDecorators: { id: [{
|
|
@@ -667,6 +671,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImpo
|
|
|
667
671
|
type: Input
|
|
668
672
|
}], autocapitalize: [{
|
|
669
673
|
type: Input
|
|
674
|
+
}], updateModelWhenDisabled: [{
|
|
675
|
+
type: Input
|
|
670
676
|
}], helpModal: [{
|
|
671
677
|
type: Input
|
|
672
678
|
}], inputModelList: [{
|