Gathering detailed insights and metrics for vue2-datepicker-mask
Gathering detailed insights and metrics for vue2-datepicker-mask
Gathering detailed insights and metrics for vue2-datepicker-mask
Gathering detailed insights and metrics for vue2-datepicker-mask
npm install vue2-datepicker-mask
Typescript
Module System
Node Version
NPM Version
JavaScript (56.37%)
Vue (35.31%)
CSS (7.57%)
Shell (0.75%)
Total Downloads
0
Last Day
0
Last Week
0
Last Month
0
Last Year
0
MIT License
207 Commits
6 Forks
1 Watchers
3 Branches
14 Contributors
Updated on Oct 15, 2018
Latest Version
2.0.2
Package Id
vue2-datepicker-mask@2.0.2
Unpacked Size
218.62 kB
Size
90.62 kB
File Count
20
NPM Version
5.3.0
Node Version
8.4.0
Cumulative downloads
Total Downloads
Last Day
0%
NaN
Compared to previous day
Last Week
0%
NaN
Compared to previous week
Last Month
0%
NaN
Compared to previous month
Last Year
0%
NaN
Compared to previous year
2
26
A Datepicker Component For Vue2
Forked from vue2-datepicker Masking is done from the format given.
1$ npm install vue2-datepicker-mask --save
1<script> 2import DatePicker from 'vue2-datepicker' 3 4export default { 5 components: { DatePicker }, 6 data() { 7 return { 8 time1: '', 9 time2: '', 10 shortcuts: [ 11 { 12 text: 'Today', 13 start: new Date(), 14 end: new Date() 15 } 16 ] 17 } 18 } 19} 20 21</script> 22 23<template> 24 <div> 25 <date-picker v-model="time1" :first-day-of-week="1"></date-picker> 26 <date-picker v-model="time2" range :shortcuts="shortcuts"></date-picker> 27 </div> 28</template>
Prop | Type | Default | Description |
---|---|---|---|
type | String | 'date' | select datepicker or datetimepicker(date/datetime) |
range | Boolean | false | if true, the type is daterange or datetimerange |
format | String | yyyy-MM-dd | Date formatting string |
custom-formatter | function | null | custom Date display |
lang | String/Object | zh | Translation (en/zh/es/pt-br/fr/ru/de/it/cs)(custom) |
confirm | Boolean | false | if true, need click the button to change the value |
disabled | Boolean | false | Disable the component |
editable | Boolean | false | if true, user can type it(only the range is false) |
placeholder | String | input placeholder text | |
width | String/Number | 210 | input size |
disabled-days | Array | [] | Days in YYYY-MM-DD format to disable |
not-before | String/Date | '' | Disable all dates before new Date(not-before) |
not-after | String/Date | '' | Disable all dates after new Date(not-after) |
shortcuts | Boolean/Array | true | the shortcuts for the range picker |
time-picker-options | Object | {} | set timePickerOptions(start, step, end) |
minute-step | Number | 0 | if > 0 don't show the second picker(0 - 60) |
first-day-of-week | Number | 7 | set the first day of week (1-7) |
input-class | String | 'mx-input' | the input class name |
confirm-text | String | 'OK' | the default text to display on confirm button |
range-separator | String | '~' | the range separator text |
1{ 2 days: ['Sun', 'Mon', 'Tue', 'Wed', 'Thu', 'Fri', 'Sat'], 3 months: ['Jan', 'Feb', 'Mar', 'Apr', 'May', 'Jun', 'Jul', 'Aug', 'Sep', 'Oct', 'Nov', 'Dec'], 4 pickers: ['next 7 days', 'next 30 days', 'previous 7 days', 'previous 30 days'], 5 placeholder: { 6 date: 'Select Date', 7 dateRange: 'Select Date Range' 8 } 9}
Prop | Type | Description |
---|---|---|
text | String | Text |
start | Date | Start Date |
end | Date | End Date |
Prop | Type | Description |
---|---|---|
start | String | startTime (eg '00:00') |
step | String | stepTime (eg '00:30') |
end | String | endTime (eg '23:30') |
Name | Description | Callback Arguments |
---|---|---|
change | When user select date | the currentValue |
confirm | When user click 'OK' button | the currentValue |
Copyright (c) 2017-present xiemengxiong
No vulnerabilities found.
Reason
no binaries found in the repo
Reason
license file detected
Details
Reason
0 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 0
Reason
Found 0/30 approved changesets -- score normalized to 0
Reason
no SAST tool detected
Details
Reason
no effort to earn an OpenSSF best practices badge detected
Reason
security policy file not detected
Details
Reason
project is not fuzzed
Details
Reason
branch protection not enabled on development/release branches
Details
Reason
155 existing vulnerabilities detected
Details
Score
Last Scanned on 2025-07-14
The Open Source Security Foundation is a cross-industry collaboration to improve the security of open source software (OSS). The Scorecard provides security health metrics for open source projects.
Learn More