@smartbit4all/ng-client 7.3.33 → 7.3.34
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.
|
@@ -11184,7 +11184,9 @@ class SmartformwidgetComponent {
|
|
|
11184
11184
|
toolbar: false,
|
|
11185
11185
|
};
|
|
11186
11186
|
this._hasJustChanged = false;
|
|
11187
|
-
|
|
11187
|
+
// A signal: set in ngAfterViewInit, it has to bring the OnPush view back for the time input.
|
|
11188
|
+
this.hasCreatedState = signal(false, /* @ts-ignore */
|
|
11189
|
+
...(ngDevMode ? [{ debugName: "hasCreatedState" }] : /* istanbul ignore next */ []));
|
|
11188
11190
|
this.addOnBlur = true;
|
|
11189
11191
|
this.separatorKeysCodes = [ENTER, COMMA];
|
|
11190
11192
|
this.emptySeparatorKeysCodes = [];
|
|
@@ -11431,6 +11433,12 @@ class SmartformwidgetComponent {
|
|
|
11431
11433
|
this._hasJustChanged = false;
|
|
11432
11434
|
});
|
|
11433
11435
|
}
|
|
11436
|
+
get hasCreated() {
|
|
11437
|
+
return this.hasCreatedState();
|
|
11438
|
+
}
|
|
11439
|
+
set hasCreated(hasCreated) {
|
|
11440
|
+
this.hasCreatedState.set(hasCreated);
|
|
11441
|
+
}
|
|
11434
11442
|
onDatePickerBlur(event) {
|
|
11435
11443
|
event.stopPropagation();
|
|
11436
11444
|
this.handleDateChanged(this.form().controls[this.widgetInstance.key].value);
|