Skip to content

Commit 24d8d92

Browse files
committed
[5.13.8] Added missing format property to <TimePicker />. Updated deps
1 parent ecf724e commit 24d8d92

File tree

19 files changed

+16773
-4720
lines changed

19 files changed

+16773
-4720
lines changed

CHANGELOG.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,9 @@
1+
## 5.13.8
2+
3+
### Updated
4+
5+
- Added missing `format` property to `<TimePicker />`. Updated deps
6+
17
## 5.13.7
28

39
### Updated

README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -82,6 +82,7 @@ See demo at [https://detools-vue-form.netlify.com](https://detools-vue-form.netl
8282

8383
## Changelog
8484

85+
- [5.13.8](/CHANGELOG.md#5138)
8586
- [5.13.7](/CHANGELOG.md#5137)
8687
- [5.13.6](/CHANGELOG.md#5136)
8788
- [5.13.5](/CHANGELOG.md#5135)

VueForm/components/ConnectedTimePicker.js

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,10 @@ const ConnectedTimePicker = {
2727
pickerOptions: Object,
2828
rangeSeparator: String,
2929
defaultValue: [Date, String, Number],
30+
format: {
31+
type: String,
32+
default: 'HH:mm:ss',
33+
},
3034
valueFormat: {
3135
type: String,
3236
default: 'HH:mm:ss',
@@ -82,6 +86,7 @@ const ConnectedTimePicker = {
8286
picker-options={this.pickerOptions}
8387
range-separator={this.rangeSeparator}
8488
default-value={this.defaultValue}
89+
format={this.format}
8590
value-format={this.valueFormat}
8691
prefix-icon={this.prefixIcon}
8792
clear-icon={this.clearIcon}

VueForm/components/Form/index.js

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1 @@
1-
import Form from './Form'
2-
3-
export default Form
1+
export { default } from './Form'

VueForm/plugin/index.js

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,6 @@ import Vue from 'vue'
22

33
export default {
44
install(vue, opts = {}) {
5-
const $vueForm = new Vue({
6-
data: opts,
7-
})
8-
9-
vue.prototype.$vueForm = $vueForm
10-
}
5+
vue.prototype.$vueForm = new Vue({ data: opts })
6+
},
117
}

babel.config.js

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,6 @@ module.exports = {
66
plugins: [
77
['@babel/plugin-proposal-class-properties', { loose: false }],
88
['@babel/plugin-proposal-decorators', { legacy: true }],
9-
'@babel/plugin-proposal-export-default-from',
109
'@babel/plugin-proposal-export-namespace-from',
1110
'@babel/plugin-proposal-object-rest-spread',
1211
'@babel/plugin-syntax-dynamic-import',
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
export default from './AllValidationsForm'
1+
export { default } from './AllValidationsForm'
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
export default from './ArrayFieldForm'
1+
export { default } from './ArrayFieldForm'
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
export default from './AsyncSubmitForm'
1+
export { default } from './AsyncSubmitForm'

example/src/forms/BasicForm/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
export default from './BasicForm'
1+
export { default } from './BasicForm'
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
export default from './DynamicValidatorsForm'
1+
export { default } from './DynamicValidatorsForm'
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
export default from './ImmediateForm'
1+
export { default } from './ImmediateForm'
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
export default from './InlineValidatorsForm'
1+
export { default } from './InlineValidatorsForm'
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
export default from './NoFieldsForm'
1+
export { default } from './NoFieldsForm'
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
export default from './ScopedSlotForm'
1+
export { default } from './ScopedSlotForm'
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
export default from './SyncValidationForm'
1+
export { default } from './SyncValidationForm'

example/src/forms/UploadForm/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
export default from './UploadForm'
1+
export { default } from './UploadForm'

0 commit comments

Comments
 (0)