@bolttech/form-engine-core 0.0.1-beta.41 → 0.0.1-beta.42

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/index.esm.js CHANGED
@@ -2448,6 +2448,7 @@ class FormField {
2448
2448
  mapper
2449
2449
  }) {
2450
2450
  var _a, _b, _c, _d, _e, _f, _g;
2451
+ this.valueSubscription$ = new Subscription();
2451
2452
  this.fieldStateSubscription$ = new Subscription();
2452
2453
  this.originalSchema = schemaComponent;
2453
2454
  this.config = {
@@ -3014,6 +3015,7 @@ class FormCore {
3014
3015
  */
3015
3016
  constructor(entry) {
3016
3017
  var _a, _b, _c, _d, _e, _f, _g, _h, _j;
3018
+ this.templateSubscription$ = new Subscription();
3017
3019
  this.mappers = new Map();
3018
3020
  this.schema = entry.schema;
3019
3021
  this.fields = new Map();
@@ -3037,7 +3039,7 @@ class FormCore {
3037
3039
  this.subscribedTemplates = [];
3038
3040
  this.schema && this.serializeStructure(this.schema.components);
3039
3041
  this.schema && this.subscribeTemplates();
3040
- this.templateSubscription = this.templateSubject$.subscribe(this.refreshTemplates.bind(this));
3042
+ this.templateSubscription$ = this.templateSubject$.subscribe(this.refreshTemplates.bind(this));
3041
3043
  this.templateSubject$.next({
3042
3044
  key: IVARPROPNAME,
3043
3045
  event: 'ON_IVARS'
@@ -3673,7 +3675,7 @@ class FormCore {
3673
3675
  }
3674
3676
  destroy() {
3675
3677
  this.submitSubject$.unsubscribe();
3676
- this.templateSubscription.unsubscribe();
3678
+ this.templateSubscription$.unsubscribe();
3677
3679
  this.fieldEventSubject$.unsubscribe();
3678
3680
  this.dataSubject$.unsubscribe();
3679
3681
  this.fields.forEach(field => field.destroyField());
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@bolttech/form-engine-core",
3
- "version": "0.0.1-beta.41",
3
+ "version": "0.0.1-beta.42",
4
4
  "module": "./index.esm.js",
5
5
  "type": "module",
6
6
  "main": "./index.esm.js",
@@ -18,7 +18,7 @@ declare class FormCore {
18
18
  key: string;
19
19
  event: TMutationEvents;
20
20
  }>;
21
- templateSubscription: Subscription;
21
+ templateSubscription$: Subscription;
22
22
  submitSubject$: Subject<TFormValues<any>>;
23
23
  mountSubject$: Subject<TFormValues<any>>;
24
24
  fieldEventSubject$: Subject<TFieldEvent>;