Socket
Socket
Sign inDemoInstall

vue-hotel-datepicker

Package Overview
Dependencies
12
Maintainers
2
Versions
100
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 4.0.0 to 4.1.0

2

package.json
{
"name": "vue-hotel-datepicker",
"version": "4.0.0",
"version": "4.1.0",
"description": "A responsive date range picker for Vue.js that displays the number of nights selected and allow several useful options like custom check-in/check-out rules, localization support and more",

@@ -5,0 +5,0 @@ "author": "krystalcampioni <hello@krystalcampioni.com>",

@@ -87,2 +87,3 @@ [![dependencies Status](https://david-dm.org/krystalcampioni/vue-hotel-datepicker.svg)](https://david-dm.org/krystalcampioni/vue-hotel-datepicker) [![devDependencies Status](https://david-dm.org/krystalcampioni/vue-hotel-datepicker/dev-status.svg)](https://david-dm.org/krystalcampioni/vue-hotel-datepicker?type=dev)

|**value**|`Boolean`|`false`| The v-model prop, controls the visibility of the date picker.
|**yearBeforeMonth**|`Boolean`|`false`| Show the year before the month, only when showYear is true.

@@ -89,0 +90,0 @@ ## i18n Defaults:

@@ -26,4 +26,4 @@ /* eslint-disable vars-on-top */

let newWeekDay = weekDay.toLowerCase()
// const days = ['sunday', 'monday', 'tuesday', 'wednesday', 'thursday', 'friday', 'saturday']
const days = i18n ? i18n['day-names'] : ['sunday', 'monday', 'tuesday', 'wednesday', 'thursday', 'friday', 'saturday']
const daysDefault = ['sunday', 'monday', 'tuesday', 'wednesday', 'thursday', 'friday', 'saturday']
const days = i18n ? i18n['day-names'] : daysDefault
const referenceDateDay = newReferenceDate.getDay()

@@ -30,0 +30,0 @@

export default {
night: 'Notte',
nights: 'Notti',
week: 'Settimana',
weeks: 'Settimane',
'day-names': ['Dom', 'Lun', 'Mar', 'Mer', 'Gio', 'Ven', 'Sab'],
'check-in': 'Check-in',
'check-out': 'Check-out',
'month-names': [
'Gennaio',
'Febbraio',
'Marzo',
'Aprile',
'Maggio',
'Giugno',
'Luglio',
'Agosto',
'Settembre',
'Ottobre',
'Novembre',
'Dicembre',
],
tooltip: {
halfDayCheckIn: 'Check-in Disponibile',
halfDayCheckOut: 'Check-out Disponibile',
saturdayToSaturday: 'Solo da Sabato a Sabato',
sundayToSunday: 'Solo da Domenica a Domenica',
minimumRequiredPeriod: '%{minNightInPeriod} %{night} minimo.',
},
}
night: 'Notte',
nights: 'Notti',
week: 'Settimana',
weeks: 'Settimane',
'day-names': ['Dom', 'Lun', 'Mar', 'Mer', 'Gio', 'Ven', 'Sab'],
'check-in': 'Check-in',
'check-out': 'Check-out',
'month-names': [
'Gennaio',
'Febbraio',
'Marzo',
'Aprile',
'Maggio',
'Giugno',
'Luglio',
'Agosto',
'Settembre',
'Ottobre',
'Novembre',
'Dicembre',
],
tooltip: {
halfDayCheckIn: 'Check-in Disponibile',
halfDayCheckOut: 'Check-out Disponibile',
saturdayToSaturday: 'Solo da Sabato a Sabato',
sundayToSunday: 'Solo da Domenica a Domenica',
minimumRequiredPeriod: '%{minNightInPeriod} %{night} minimo.',
},
}

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc