rb-document-form-constructor 0.8.57 → 0.8.58

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "rb-document-form-constructor",
3
- "version": "0.8.57",
3
+ "version": "0.8.58",
4
4
  "description": "",
5
5
  "main": "dist/rb-document-form-constructor.ssr.js",
6
6
  "browser": "dist/rb-document-form-constructor.esm.js",
@@ -25,7 +25,6 @@
25
25
  "nanoid": "^4.0.2",
26
26
  "sass": "^1.32.0",
27
27
  "sass-loader": "^10.1.0",
28
- "typeof": "^1.0.0",
29
28
  "vuedraggable": "^2.24.3"
30
29
  },
31
30
  "devDependencies": {
@@ -166,7 +166,7 @@ export default {
166
166
  return true;
167
167
  }
168
168
 
169
- if (typeOf(this.doc[fieldName] === 'string') && this.doc[fieldName] === '') {
169
+ if (typeof this.doc[fieldName] === 'string' && this.doc[fieldName] === '') {
170
170
  return true;
171
171
  }
172
172
  return false;
@@ -245,7 +245,7 @@ export default {
245
245
  c.fields.forEach((f) => {
246
246
  if (f.defaultValue) {
247
247
  let defValue;
248
- if (this.defaultValue && typeOf(f.defaultValue) === 'function') {
248
+ if (this.defaultValue && typeof f.defaultValue === 'function') {
249
249
  defValue = f.defaultValue();
250
250
  } else {
251
251
  defValue = f.defaultValue == null ? null : f.defaultValue;