rb-document-form-constructor 0.7.5 → 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.
@@ -4936,7 +4936,20 @@ let fcInputs = {
4936
4936
  text: 'Дата',
4937
4937
  name: 'date',
4938
4938
  type: 'rb-date-picker-input',
4939
- 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
+ },
4940
4953
  propsData: {},
4941
4954
  defaultValue: null
4942
4955
  },
@@ -4944,7 +4957,20 @@ let fcInputs = {
4944
4957
  text: 'Дата и вермя',
4945
4958
  name: 'date',
4946
4959
  type: 'rb-date-picker-input',
4947
- 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
+ },
4948
4974
  propsData: {},
4949
4975
  defaultValue: null
4950
4976
  },
@@ -11929,6 +11955,8 @@ var script$1 = {
11929
11955
  getPropInputType(prop, propName) {
11930
11956
  if (['string', 'number'].includes(prop.type)) {
11931
11957
  return 'b-form-input';
11958
+ } else if (['date'].includes(prop.type)) {
11959
+ return 'rb-date-picker-input';
11932
11960
  } else {
11933
11961
  return 'rb-boolean-single-option-input';
11934
11962
  }