rb-document-form-constructor 0.7.4 → 0.7.6

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.
@@ -4885,12 +4885,6 @@ let fcInputs = {
4885
4885
  default: 'text',
4886
4886
  label: 'Тип данных',
4887
4887
  visible: false
4888
- },
4889
- presetText: {
4890
- type: 'string',
4891
- default: null,
4892
- label: 'Словарь',
4893
- visible: true
4894
4888
  }
4895
4889
  },
4896
4890
  propsData: {},
@@ -4942,7 +4936,20 @@ let fcInputs = {
4942
4936
  text: 'Дата',
4943
4937
  name: 'date',
4944
4938
  type: 'rb-date-picker-input',
4945
- props: {},
4939
+ props: {
4940
+ minDate: {
4941
+ type: 'date',
4942
+ default: new Date(),
4943
+ label: 'Установить минимальную дату',
4944
+ visible: true
4945
+ },
4946
+ maxDate: {
4947
+ type: 'date',
4948
+ default: null,
4949
+ label: 'Установить максимальную дату',
4950
+ visible: true
4951
+ }
4952
+ },
4946
4953
  propsData: {},
4947
4954
  defaultValue: null
4948
4955
  },
@@ -4950,7 +4957,20 @@ let fcInputs = {
4950
4957
  text: 'Дата и вермя',
4951
4958
  name: 'date',
4952
4959
  type: 'rb-date-picker-input',
4953
- props: {},
4960
+ props: {
4961
+ minDate: {
4962
+ type: 'date',
4963
+ default: null,
4964
+ label: 'Установить минимальную дату',
4965
+ visible: true
4966
+ },
4967
+ maxDate: {
4968
+ type: 'date',
4969
+ default: null,
4970
+ label: 'Установить максимальную дату',
4971
+ visible: true
4972
+ }
4973
+ },
4954
4974
  propsData: {},
4955
4975
  defaultValue: null
4956
4976
  },
@@ -11935,6 +11955,8 @@ var script$1 = {
11935
11955
  getPropInputType(prop, propName) {
11936
11956
  if (['string', 'number'].includes(prop.type)) {
11937
11957
  return 'b-form-input';
11958
+ } else if (['date'].includes(prop.type)) {
11959
+ return 'rb-date-picker-input';
11938
11960
  } else {
11939
11961
  return 'rb-boolean-single-option-input';
11940
11962
  }