MCPcopy
hub / github.com/Vuepic/vue-datepicker

github.com/Vuepic/vue-datepicker @v14.0.0 sqlite

repository ↗ · DeepWiki ↗ · release v14.0.0 ↗
479 symbols 1,233 edges 60 files 0 documented · 0%
README

@vuepic/vue-datepicker

The most complete datepicker solution for Vue 3

License npm Downloads Open issues CI Quality Gate Status

DOCUMENTATION

StackBlitz Playground

Features

  • Single date picker
  • Range date picker
  • Time picker
  • Month picker
  • Year picker
  • Quarter picker
  • Week picker
  • Multiple dates select
  • Multiple calendars
  • Text input
  • UTC support
  • Timezones
  • Locale support
  • Week numbers
  • Custom v-model
  • Dark and light theme
  • SSR support
  • Highly configurable
  • Accessible
  • Included type definitions

Install

# npm
npm install @vuepic/vue-datepicker

# yarn
yarn add @vuepic/vue-datepicker

# pnpm
pnpm add @vuepic/vue-datepicker

# bun
bun add @vuepic/vue-datepicker

Import and register component

Global

import { createApp } from 'vue';
import App from './App.vue';

import { VueDatePicker } from '@vuepic/vue-datepicker';
import '@vuepic/vue-datepicker/dist/main.css';

const app = createApp(App);
app.component('VueDatePicker', VueDatePicker);

Local

<template>
  <VueDatePicker v-model="date" />
</template>

<script setup>
  import { ref } from 'vue';
  import { VueDatePicker } from '@vuepic/vue-datepicker';
  import '@vuepic/vue-datepicker/dist/main.css';

  const date = ref(null);
</script>

Supporting the project

As you may know, maintaining an open-source project is a very time-consuming job. Your support is very appreciated ❤️

Please ⭐️ this repository if you like the component!

You can also make a financial contribution via sponsoring this project or one-time donation. Become a sponsor

Contributors

Thanks to all people who contributed to the project 🙏

contributors

Versioning

This project follows SemVer specification

License

Copyright © 2021-present Vuepic

MIT

Extension points exported contracts — how you extend this code

InputAttributesConfig (Interface)
(no doc)
packages/lib/src/VueDatePicker/types/configs.ts
TimeConfig (Interface)
(no doc)
packages/lib/src/VueDatePicker/types/configs.ts
Config (Interface)
(no doc)
packages/lib/src/VueDatePicker/types/configs.ts
UIConfig (Interface)
(no doc)
packages/lib/src/VueDatePicker/types/configs.ts
FlowConfig (Interface)
(no doc)
packages/lib/src/VueDatePicker/types/configs.ts

Core symbols most depended-on inside this repo

getDate
called by 107
packages/lib/src/VueDatePicker/composables/useDefaults.ts
isDateEqual
called by 34
packages/lib/src/VueDatePicker/composables/useDateUtils.ts
useContext
called by 23
packages/lib/src/VueDatePicker/composables/useContext.ts
isDateBefore
called by 22
packages/lib/src/VueDatePicker/composables/useDateUtils.ts
isDateAfter
called by 19
packages/lib/src/VueDatePicker/composables/useDateUtils.ts
convertType
called by 14
packages/lib/src/VueDatePicker/composables/useHelperFns.ts
assignTime
called by 13
packages/lib/src/VueDatePicker/components/TimePicker/useTimePickerUtils.ts
resetDateTime
called by 13
packages/lib/src/VueDatePicker/composables/useDateUtils.ts

Shape

Function 372
Interface 51
Method 47
Enum 9

Languages

TypeScript100%

Modules by API surface

packages/lib/src/VueDatePicker/types/slots.ts61 symbols
packages/lib/src/VueDatePicker/components/DatePicker/useDatePicker.ts49 symbols
packages/lib/src/VueDatePicker/components/DatePicker/useCalendarClass.ts37 symbols
packages/lib/src/VueDatePicker/composables/useValidation.ts33 symbols
packages/lib/src/VueDatePicker/composables/useExternalInternalMapper.ts28 symbols
packages/lib/src/VueDatePicker/composables/useDateUtils.ts23 symbols
packages/lib/src/VueDatePicker/composables/useHelperFns.ts21 symbols
packages/lib/src/VueDatePicker/components/MonthPicker/useMonthPicker.ts18 symbols
packages/lib/src/VueDatePicker/types/configs.ts17 symbols
packages/lib/src/VueDatePicker/composables/useExposed.ts15 symbols
packages/lib/src/VueDatePicker/components/TimePicker/useTimePickerUtils.ts15 symbols
packages/lib/src/VueDatePicker/components/shared/useMonthQuarterPicker.ts13 symbols

Dependencies from manifests, versioned

@date-fns/tz1.5.0 · 1×
@floating-ui/vue1.1.11 · 1×
@inquirer/prompts8.5.2 · 1×
@microsoft/api-extractor7.58.7 · 1×
@tsconfig/node2424.0.4 · 1×
@types/jsdom28.0.3 · 1×
@types/minimist1.2.5 · 1×
@types/node24.12.4 · 1×
@vitejs/plugin-vue6.0.7 · 1×
@vitest/coverage-v84.1.8 · 1×
@vitest/eslint-plugin1.6.19 · 1×
@vue/eslint-config-typescript14.7.0 · 1×

For agents

$ claude mcp add vue-datepicker \
  -- python -m otcore.mcp_server <graph>

⬇ download graph artifact