rb-document-form-constructor 0.8.0 → 0.8.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.
@@ -4937,9 +4937,15 @@ let fcInputs = {
4937
4937
  name: 'date',
4938
4938
  type: 'rb-date-picker-input',
4939
4939
  props: {
4940
+ minCurrentDate: {
4941
+ type: 'boolean',
4942
+ default: false,
4943
+ label: 'Установить текущую дату как минимальную',
4944
+ visible: true
4945
+ },
4940
4946
  minDate: {
4941
4947
  type: 'date',
4942
- default: new Date(),
4948
+ default: null,
4943
4949
  label: 'Установить минимальную дату',
4944
4950
  visible: true
4945
4951
  },
@@ -11275,23 +11281,6 @@ var script$3 = {
11275
11281
  });
11276
11282
  });
11277
11283
  });
11278
- },
11279
-
11280
- setResolveValue(name, id) {
11281
- let multiple = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : false;
11282
- name = name.substring(0, name.length - 2);
11283
-
11284
- if (this.doc.name) {
11285
- if (multiple) {
11286
- this.doc.name.forEach((el, index) => {
11287
- if (el.id === id) {
11288
- this.doc.name[index] = null;
11289
- }
11290
- });
11291
- } else {
11292
- this.doc.name = null;
11293
- }
11294
- }
11295
11284
  }
11296
11285
 
11297
11286
  },