Pick a Date, Date Picker for VueJs 3.0
Purpose :
As i need a date picker to replace the input type date into the filter component of Data-greep, i’v build this one.
Still consider as in Developpement.
Dependecies :
Only moment.js. So Read Momentjs documentation to know more about date formating.
Demo :
Options:
{
"firstDayOfTheWeekMonday": true,
"showCurrentDay": true,
"closeWhenDayAsBeenSelected": false,
"minDate": "10-07-2020",
"maxDate": "04-11-2021",
"closeOnResizeEvent": true,
"closeOnScrollEvent": true,
"css":
{
"input": "waza_input",
"table_container": "waza_table_container",
"table": "waza_table",
"table_header":
{
"date_navigator": "waza_data_navigator",
"right_arrow": "waza_right_arrow",
"left_arrow": "waza_left_arrow",
"month_year":
{
"month_year": "waza_my",
"month": "waza_my_month",
"month_popover": "waza_my_month_popover",
"year": "waza_my_year",
"year_popover": "waza_my_year_popover"
}
},
"table_days_names":
{
"row": "waza_row",
"columns": "waza_cols"
},
"table_days":
{
"previous_month": "waza_pm",
"current_month": "waza_cm",
"next_month": "waza_nm",
"current_day": "waza_cd",
"today": "waza_td",
"spd": "waza_sp",
"nsd": "waza_cbs",
"diw": "waza_diw"
}
},
"format": "DD-MM-YYYY",
"special_days": ["09-11-2020,13-11-2020", "25-12-2020", "01-01-2021"],
"disabled_days": ["07-12-2020", "23-11-2020,27-11-2020"],
"disabledWeekendEnds": false,
"position": "auto",
/* down,up,right,auto, up-right, down-right */
"fadesAnimation": true
}
<data-pad ref="main-data-pick-a-date" v-bind:config="PadConfig" v-on:vchange="value = $event" v-bind:value="value"></data-pad>
To do:
Versions:
2.0 ( The secret of Monkey Island )
1.9 ( Hallelujah )
1.8 ( Ausländer - Rammstein )
1.7 ( The Ark of Truth - Stargate )
1.6 ( 2Unlimited - Tribal Dance )
1.5 ( Abba - Voulez-vous ? )
1.4
1.3 ( Waza )
1.2 - ( Cosmos 1999 )
1.1a
1.1 - ( Beat It )
1.0 - ( Stargate ) - First release.