Skip to content

Commit

Permalink
deps: vue-bulma-datepicker v1.2.3
Browse files Browse the repository at this point in the history
  • Loading branch information
fundon committed Dec 17, 2016
1 parent f7abda1 commit 2dfcb22
Show file tree
Hide file tree
Showing 3 changed files with 16 additions and 16 deletions.
12 changes: 6 additions & 6 deletions client/views/components/Datepicker.vue
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<article class="tile is-child box">
<h1 class="title">Basics</h1>
<p class="control">
<datepicker :value.sync="value"></datepicker>
<datepicker :inputClass="{ test: true }" v-model="value"></datepicker>
</p>
<p class="control">
<datepicker placeholder="European Format ('d-m-Y')" :config="{ dateFormat: 'd-m-Y', static: true }"></datepicker>
Expand Down Expand Up @@ -33,7 +33,7 @@
<div class="tile is-parent">
<article class="tile is-child box">
<h1 class="title">Form addons</h1>
<datepicker :config="{ wrap: true }" readonly>
<datepicker :inputClass="{ test: true }" :config="{ wrap: true }" readonly>
<a class="button" data-toggle><i class="fa fa-calendar"></i></a>
<a class="button" data-clear><i class="fa fa-close"></i></a>
</datepicker>
Expand Down Expand Up @@ -152,12 +152,12 @@ export default {
mounted () {
const { checkIn, checkOut } = this.$refs
checkIn.datepicker.set('onChange', (d) => {
checkOut.datepicker.set('minDate', d.fp_incr(1))
checkIn.datepicker.set('onChange', (selectedDates, dateStr, instance) => {
checkOut.datepicker.set('minDate', selectedDates[0].fp_incr(1))
})
checkOut.datepicker.set('onChange', (d) => {
checkIn.datepicker.set('maxDate', d)
checkOut.datepicker.set('onChange', (selectedDates, dateStr, instance) => {
checkIn.datepicker.set('maxDate', dateStr)
})
},
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@
"vue-bulma-chartist": "github:vue-bulma/chartist",
"vue-bulma-chartjs": "github:vue-bulma/chartjs",
"vue-bulma-collapse": "1.0.3",
"vue-bulma-datepicker": "github:vue-bulma/datepicker",
"vue-bulma-datepicker": "1.2.3",
"vue-bulma-emoji": "github:vue-bulma/emoji",
"vue-bulma-expanding": "github:vue-bulma/expanding",
"vue-bulma-jump": "github:vue-bulma/jump",
Expand Down
18 changes: 9 additions & 9 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -2604,9 +2604,9 @@ flat-cache@^1.2.1:
graceful-fs "^4.1.2"
write "^0.2.1"

flatpickr@2.0.0-rc.8:
version "2.0.0-rc.8"
resolved "https://registry.yarnpkg.com/flatpickr/-/flatpickr-2.0.0-rc.8.tgz#9dd8cd1b3dbb44e41437d4fb4f8e81e781feba6f"
flatpickr@2.2.4:
version "2.2.4"
resolved "https://registry.yarnpkg.com/flatpickr/-/flatpickr-2.2.4.tgz#6d708a7771fb888963ec9db8979a039f0f0db208"

flatten@^1.0.2:
version "1.0.2"
Expand Down Expand Up @@ -5400,8 +5400,8 @@ postcss-selector-parser@^2.0.0:
uniq "^1.0.1"

postcss-svgo@^2.1.1:
version "2.1.5"
resolved "https://registry.yarnpkg.com/postcss-svgo/-/postcss-svgo-2.1.5.tgz#46fc0363f01bab6a36a9abb01c229fcc45363094"
version "2.1.6"
resolved "https://registry.yarnpkg.com/postcss-svgo/-/postcss-svgo-2.1.6.tgz#b6df18aa613b666e133f08adb5219c2684ac108d"
dependencies:
is-svg "^2.0.0"
postcss "^5.0.14"
Expand Down Expand Up @@ -6990,11 +6990,11 @@ vue-bulma-collapse@1.0.3:
dependencies:
animejs "1"

"vue-bulma-datepicker@github:vue-bulma/datepicker":
version "1.1.0"
resolved "https://codeload.github.com/vue-bulma/datepicker/tar.gz/81e8cbb38d8bc3ad7d9e2b05bc2d3bcbf58ca70a"
vue-bulma-datepicker@1.2.3:
version "1.2.3"
resolved "https://registry.yarnpkg.com/vue-bulma-datepicker/-/vue-bulma-datepicker-1.2.3.tgz#82564a04d532610853d6a03bbb780d5e42b527f7"
dependencies:
flatpickr "2.0.0-rc.8"
flatpickr "2.2.4"

"vue-bulma-emoji@github:vue-bulma/emoji":
version "0.0.1"
Expand Down

0 comments on commit 2dfcb22

Please sign in to comment.