@ngx-smz/core 21.0.3 → 21.0.4

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.
@@ -6274,16 +6274,6 @@ class FormGroupComponent {
6274
6274
  this.statusChanges.emit(this.getData());
6275
6275
  }
6276
6276
  }
6277
- if (this.config.behaviors?.emitAllOutputsOnLoad) {
6278
- setTimeout(() => {
6279
- const data = this.getData();
6280
- this.initialStateChanged.emit(data);
6281
- this.previousStateChanged.emit(data);
6282
- if (!isStatusChangesEmitted) {
6283
- this.statusChanges.emit(data);
6284
- }
6285
- }, 0);
6286
- }
6287
6277
  this.callVisibilityFunctions();
6288
6278
  this.callWarningFunctions();
6289
6279
  // Esse timeout garante um adiamento no subscribe de status change do form para não ser executado na primeira inicialização
@@ -6299,6 +6289,16 @@ class FormGroupComponent {
6299
6289
  });
6300
6290
  this.fixRadioBug();
6301
6291
  this.resetState();
6292
+ if (this.config.behaviors?.emitAllOutputsOnLoad) {
6293
+ setTimeout(() => {
6294
+ const data = this.getData();
6295
+ this.initialStateChanged.emit(data);
6296
+ this.previousStateChanged.emit(data);
6297
+ if (!isStatusChangesEmitted) {
6298
+ this.statusChanges.emit(data);
6299
+ }
6300
+ }, 0);
6301
+ }
6302
6302
  }, 0);
6303
6303
  }, 0);
6304
6304
  }, 0);