npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2024 – Pkg Stats / Ryan Hefner

vue-mobile-tour-calendar

v0.1.1

Published

vue-移动端-旅行预订类-日历组件 兼容mpvue

Downloads

3

Readme

vue-hotel-tour-calendar

Props/Options

mode

  • Type: String
  • Default: range

The select mode, 'range' or 'single'. 日历模式,区间或者单选,可选值为 'range' 或 'singel'

selectable

  • Type: String []
  • Default: null

if parse this prop, dates not in this array will diabled. 可选日期列表,传入的日期可以选择,其他禁用

selected

  • Type: String []
  • Default: null

if parse this props, selected dates will be control by your self. 已选日期,传入的日期将会高亮,传入该参数将会禁用组件自身的已选列表,完全交由外部控制

contents

  • Type: Object
  • Default: range

The extra content for days. example { '2019-04-01': ['¥100']} 额外的日期信息

format

  • Type: String
  • Default: YYYY-MM-DD 日期格式化

The date format string.

startDate

  • Type: Date
  • Default: new Date()

The initial value of the start mounth date. 起始日期,日历将会从该日期所在月份开始渲染

monthNum

  • Type: Number
  • Default: 12

The months will render. 渲染多少个月

  • Type: Date
  • Default: new Date()

The initial value of the start mounth date.

min

  • Type: Date or String
  • Default: null

The start view date. All the dates before this date will be disabled. 最小可选日期,该日期之前的日期将会被禁用

max

  • Type: Date or String
  • Default: null

The end view date. All the dates after this date will be disabled. 最大可选日期,改日期之后的日期将会禁用

includeDate

  • Type: Boolean
  • Default: false

if include Date in daily object 是否在每日期对象中包含 Date 对象,为了兼容 mpvue 提升响应速度默认是不挂载Dated

Project setup

yarn install

Compiles and hot-reloads for development

yarn run serve

Compiles and minifies for lib

yarn run build

Compiles and minifies for production

yarn run build-app

Lints and fixes files

yarn run lint