@smartbit4all/ng-client 2.2.0 → 2.2.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/esm2020/lib/smart-client/smart-component-api-client.mjs +12 -12
- package/fesm2015/smartbit4all-ng-client.mjs +12 -12
- package/fesm2015/smartbit4all-ng-client.mjs.map +1 -1
- package/fesm2020/smartbit4all-ng-client.mjs +11 -11
- package/fesm2020/smartbit4all-ng-client.mjs.map +1 -1
- package/lib/smart-client/smart-component-api-client.d.ts +0 -1
- package/package.json +1 -1
- package/smartbit4all-ng-client-2.2.2.tgz +0 -0
- package/smartbit4all-ng-client-2.2.0.tgz +0 -0
|
@@ -5891,7 +5891,7 @@ let SmartComponentApiClient = class SmartComponentApiClient {
|
|
|
5891
5891
|
this.auth = auth;
|
|
5892
5892
|
this.pageName = pageName;
|
|
5893
5893
|
this._destroy$ = new Subject();
|
|
5894
|
-
|
|
5894
|
+
// protected sendDataChanges: boolean = false;
|
|
5895
5895
|
// private _useAutoSubmit: boolean = false;
|
|
5896
5896
|
// private _useAutoSubmitTurnedOff: Subject<void> = new SmartSubject(this._destroy$);
|
|
5897
5897
|
// protected get useAutoSubmit(): boolean {
|
|
@@ -6071,8 +6071,8 @@ let SmartComponentApiClient = class SmartComponentApiClient {
|
|
|
6071
6071
|
* Submits all the registered forms in the SmartComponent
|
|
6072
6072
|
*/
|
|
6073
6073
|
submitForms(validate) {
|
|
6074
|
-
|
|
6075
|
-
|
|
6074
|
+
this.formWidgets?.widgets?.forEach((form) => {
|
|
6075
|
+
form?.submitForm(validate);
|
|
6076
6076
|
});
|
|
6077
6077
|
}
|
|
6078
6078
|
addGrid(smartGrid, options, useAsDefaultGrid, componentReference) {
|
|
@@ -6090,14 +6090,14 @@ let SmartComponentApiClient = class SmartComponentApiClient {
|
|
|
6090
6090
|
}
|
|
6091
6091
|
addForm(smartFormId, smartForm, componentReference) {
|
|
6092
6092
|
this.formWidgets.addWidget(smartFormId, componentReference);
|
|
6093
|
-
if (this.sendDataChanges && componentReference) {
|
|
6094
|
-
|
|
6095
|
-
|
|
6096
|
-
|
|
6097
|
-
|
|
6098
|
-
|
|
6099
|
-
|
|
6100
|
-
}
|
|
6093
|
+
// if (this.sendDataChanges && componentReference) {
|
|
6094
|
+
// smartForm.useOnValueChangeEvent = true;
|
|
6095
|
+
// componentReference.sophisticatedValueChange
|
|
6096
|
+
// .pipe(takeUntil(this._destroy$))
|
|
6097
|
+
// .subscribe((valueChange: SophisticatedValueChange) => {
|
|
6098
|
+
// this.handleValueChanges(valueChange);
|
|
6099
|
+
// });
|
|
6100
|
+
// }
|
|
6101
6101
|
return smartForm;
|
|
6102
6102
|
}
|
|
6103
6103
|
setUpDefaultTree(treeId) {
|