@bolttech/form-engine-core 0.0.1-beta.44 → 0.0.1-beta.46

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.
Files changed (2) hide show
  1. package/index.esm.js +4 -2
  2. package/package.json +1 -1
package/index.esm.js CHANGED
@@ -1,6 +1,6 @@
1
1
  import { Subject, Subscription, combineLatest, startWith, groupBy, mergeMap, debounceTime, filter, map } from 'rxjs';
2
2
  import creditCardType from 'credit-card-type';
3
- import { isNumber as isNumber$1, isFunction, isEqual, get, isNil, set } from 'lodash';
3
+ import { isNumber as isNumber$1, isFunction, cloneDeep, isEqual, get, isNil, set } from 'lodash';
4
4
  import { getCurrencySymbol } from '@gaignoux/currency';
5
5
 
6
6
  var TMutationEnum;
@@ -2263,6 +2263,8 @@ var namedRule = ((value, methods, validations) => {
2263
2263
  const validations$1 = {
2264
2264
  max,
2265
2265
  min,
2266
+ lessThan,
2267
+ greaterThan,
2266
2268
  length,
2267
2269
  regex,
2268
2270
  url,
@@ -2476,7 +2478,7 @@ class FormField {
2476
2478
  var _a, _b, _c, _d, _e, _f, _g;
2477
2479
  this.valueSubscription$ = new Subscription();
2478
2480
  this.fieldStateSubscription$ = new Subscription();
2479
- this.originalSchema = schemaComponent;
2481
+ this.originalSchema = cloneDeep(schemaComponent);
2480
2482
  this.config = {
2481
2483
  defaultAPIdebounceTimeMS: Number(config === null || config === void 0 ? void 0 : config.defaultAPIdebounceTimeMS) ? Number(config === null || config === void 0 ? void 0 : config.defaultAPIdebounceTimeMS) : DEFAULT_API_DEBOUNCE_TIME,
2482
2484
  defaultStateRefreshTimeMS: Number(config === null || config === void 0 ? void 0 : config.defaultStateRefreshTimeMS) ? Number(config === null || config === void 0 ? void 0 : config.defaultStateRefreshTimeMS) : DEFAULT_STATE_REFRESH_TIME
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@bolttech/form-engine-core",
3
- "version": "0.0.1-beta.44",
3
+ "version": "0.0.1-beta.46",
4
4
  "module": "./index.esm.js",
5
5
  "type": "module",
6
6
  "main": "./index.esm.js",