| Current Path : /home/emeraadmin/public_html/4d695/ |
| Current File : /home/emeraadmin/public_html/4d695/flatpickr.tar |
src/style/themes/dark.styl 0000644 00000000602 15167673014 0011626 0 ustar 00 $calendarBackground = #3f4458
$calendarBorderColor = darken(#3f4458, 50%)
$monthForeground = #fff
$monthBackground = #3f4458
$weekdaysBackground = transparent
$weekdaysForeground = #fff
$dayForeground = alpha(white, 0.95)
$dayHoverBackground = lighten($calendarBackground, 25%)
$todayColor = #eee
$today_fg_color = #3f4458
$selectedDayBackground = #80CBC4
@require "../flatpickr"
src/style/themes/material_green.styl 0000644 00000000527 15167673014 0013671 0 ustar 00 $calendarBackground = #fff
$calendarBorderColor = alpha(#484848, 0.2)
$monthForeground = #fff
$monthBackground = #1BBC9B
$weekdaysBackground = #1BBC9B
$dayForeground = #484848
$dayHoverBackground = #e2e2e2
$todayColor = #bbb
$selectedDayBackground = #1BBC9B
$selectedDayForeground = #fff
$noCalendarBorder = true
@require "../flatpickr"
src/style/themes/light.styl 0000644 00000000632 15167673014 0012017 0 ustar 00 $calendarBackground = #fff
$calendarBorderColor = #eceef1
$monthForeground = #5a6171
$monthBackground = #eceef1
$weekdaysBackground = #eceef1
$weekdaysForeground = #5a6171
$dayForeground = #484848
$dayHoverBackground = #e2e2e2
$todayColor = #bbb
$selectedDayBackground = #FF5A5F
$selectedDayForeground = #fff
$noCalendarBorder = true
@require "../flatpickr"
span.flatpickr-day.selected
font-weight bold src/style/themes/material_red.styl 0000644 00000000527 15167673014 0013343 0 ustar 00 $calendarBackground = #fff
$calendarBorderColor = alpha(#484848, 0.2)
$monthForeground = #fff
$monthBackground = #EF5350
$weekdaysBackground = #EF5350
$dayForeground = #484848
$dayHoverBackground = #e2e2e2
$todayColor = #bbb
$selectedDayBackground = #EF5350
$selectedDayForeground = #fff
$noCalendarBorder = true
@require "../flatpickr"
src/style/themes/material_orange.styl 0000644 00000000527 15167673014 0014044 0 ustar 00 $calendarBackground = #fff
$calendarBorderColor = alpha(#484848, 0.2)
$monthForeground = #fff
$monthBackground = #FF8A65
$weekdaysBackground = #FF8A65
$dayForeground = #484848
$dayHoverBackground = #e2e2e2
$todayColor = #bbb
$selectedDayBackground = #FF8A65
$selectedDayForeground = #fff
$noCalendarBorder = true
@require "../flatpickr"
src/style/themes/material_blue.styl 0000644 00000000527 15167673014 0013520 0 ustar 00 $calendarBackground = #fff
$calendarBorderColor = alpha(#484848, 0.2)
$monthForeground = #fff
$monthBackground = #42A5F5
$weekdaysBackground = #42A5F5
$dayForeground = #484848
$dayHoverBackground = #e2e2e2
$todayColor = #bbb
$selectedDayBackground = #42A5F5
$selectedDayForeground = #fff
$noCalendarBorder = true
@require "../flatpickr"
src/style/themes/confetti.styl 0000644 00000000527 15167673014 0012526 0 ustar 00 $calendarBackground = #fff
$calendarBorderColor = alpha(#484848, 0.1)
$monthForeground = #fff
$monthBackground = #FFB866
$weekdaysBackground = #FFB866
$dayForeground = #484848
$dayHoverBackground = #e2e2e2
$todayColor = #bbb
$selectedDayBackground = #FFB866
$selectedDayForeground = #fff
$noCalendarBorder = true
@require "../flatpickr"
src/style/themes/airbnb.styl 0000644 00000003020 15167673014 0012137 0 ustar 00 $calendarBackground = #fff
$calendarBorderColor = #eee
$monthForeground = #3c3f40
$monthBackground = transparent
$weekdaysBackground = transparent
$weekdays_color = #757575
$dayForeground = #404848
$dayHoverBackground = #e9e9e9
$disabled_border_color = $dayHoverBackground
$disabled_day_color = alpha(black, 0.15)
$todayColor = #F64747
$today_fg_color = #fff
$selectedDayBackground = #4f99ff
$selectedDayForeground = #fff
@require "../flatpickr"
.flatpickr-calendar
width $daysWidth
.dayContainer
padding 0
border-right 0
span.flatpickr-day
&, &.prevMonthDay, &.nextMonthDay
border-radius 0 !important
border 1px solid $dayHoverBackground
max-width none
border-right-color transparent
&:nth-child(n+8)
border-top-color transparent
&:nth-child(7n-6)
border-left 0
&:nth-child(n+36)
border-bottom 0
&:nth-child(-n+7)
margin-top 0
&.today:not(.selected)
border-color $dayHoverBackground
border-right-color transparent
border-top-color transparent
border-bottom-color $todayColor
&:hover
border 1px solid $todayColor
&.startRange, &.endRange
border-color $selectedDayBackground
&.today, &.selected
z-index 2
.rangeMode .flatpickr-day
margin-top -1px
.flatpickr-weekwrapper .flatpickr-weeks
box-shadow none
.flatpickr-weekwrapper span.flatpickr-day
border 0
margin -1px 0 0 -1px
.hasWeeks .flatpickr-days
border-right 0
@css {
@media screen and (min-width:0\0) and (min-resolution: +72dpi) {
span.flatpickr-day {
display: block;
flex: 1 0 auto;
}
}
}
src/style/ie.styl 0000644 00000000442 15167673014 0010017 0 ustar 00 @require "./_vars.styl"
span.flatpickr-weekday
display: inline-block;
width: 14.2857143%
span.flatpickr-day
width: 14.2857143%;
margin: 0 (($daysWidth - $daySize*7)/14)
@media screen and (min-width:unquote("0\0"))
div.flatpickr-current-month
padding-top: 0px !important
src/style/_vars.styl 0000644 00000001316 15167673014 0010535 0 ustar 00 $bezier = cubic-bezier(0.23, 1, 0.32, 1)
$slideTime = 400ms
// calendar width calculation
$daySize = 39px
$padding = ($daySize/16)
$dayMargin = 2px
$daysWidth = ($daySize*7 + $dayMargin*14 + $padding*2 + 2)
$calendarWidth = $daysWidth
$monthNavHeight ?= 34px
$weekdaysHeight ?= 28px
$timeHeight = 40px
// Colors
$calendarBackground ?= #ffffff
$calendarBorderColor ?= #e6e6e6
$monthForeground ?= alpha(black, 0.9)
$arrow_hover_color ?= #f64747
$monthBackground ?= transparent
$weekdaysBackground ?= transparent
$weekdaysForeground ?= alpha(black, 0.54)
$dayForeground ?= #393939
$dayHoverBackground ?= #e6e6e6
$todayColor ?= #959ea9
$selectedDayBackground ?= #569FF7
$invertedBg = invert($calendarBackground)
src/style/flatpickr.styl 0000644 00000032460 15167673014 0011406 0 ustar 00 @require "./_vars.styl"
@keyframes fpFadeInDown
from
opacity 0
transform translate3d(0, -20px, 0)
to
opacity 1
transform translate3d(0, 0, 0)
.flatpickr-calendar
background transparent
opacity 0
display none
text-align center
visibility hidden
padding 0
animation none
direction ltr
border 0
font-size 14px
line-height 24px
border-radius 5px
position absolute
width $calendarWidth
box-sizing border-box
touch-action manipulation
if $noCalendarBorder is defined
box-shadow 0 3px 13px alpha(black, 0.08)
else
background $calendarBackground
box-shadow 1px 0 0 $calendarBorderColor,
-1px 0 0 $calendarBorderColor,
0 1px 0 $calendarBorderColor,
0 -1px 0 $calendarBorderColor,
0 3px 13px alpha(black, 0.08)
&.open, &.inline
opacity 1
max-height 640px
visibility visible
&.open
display inline-block
z-index 99999
&.animate.open
animation fpFadeInDown 300ms $bezier
&.inline
display block
position relative
top 2px
&.static
position absolute
top calc(100% + 2px)
&.open
z-index 999
display block
&.multiMonth
.flatpickr-days .dayContainer:nth-child(n+1)
& .flatpickr-day.inRange:nth-child(7n+7)
box-shadow: none !important;
.flatpickr-days .dayContainer:nth-child(n+2)
& .flatpickr-day.inRange:nth-child(7n+1)
box-shadow: -2px 0 0 #e6e6e6, 5px 0 0 #e6e6e6
.hasWeeks, .hasTime
.dayContainer
border-bottom 0
border-bottom-right-radius 0
border-bottom-left-radius 0
if $noCalendarBorder
.hasWeeks .dayContainer
border-left 0
&.hasTime
.flatpickr-time
height $timeHeight
border-top 1px solid $calendarBorderColor
if $noCalendarBorder is defined
.flatpickr-innerContainer
border-bottom 0
.flatpickr-time
border 1px solid $calendarBorderColor
&.noCalendar.hasTime
.flatpickr-time
height auto
&:before, &:after
position absolute
display block
pointer-events none
border solid transparent
content ''
height 0
width 0
left 22px
&.rightMost, &.arrowRight
&:before, &:after
left auto
right 22px
&.arrowCenter
&:before, &:after
left 50%
right 50%
&:before
border-width 5px
margin 0 -5px
&:after
border-width 4px
margin 0 -4px
&.arrowTop
&:before, &:after
bottom 100%
&:before
border-bottom-color $calendarBorderColor
&:after
if $noCalendarBorder is defined
border-bottom-color $monthBackground
else
border-bottom-color $calendarBackground
&.arrowBottom
&:before, &:after
top 100%
&:before
border-top-color $calendarBorderColor
&:after
if $noCalendarBorder is defined
border-top-color $monthBackground
else
border-top-color $calendarBackground
&:focus
outline 0
.flatpickr-wrapper
position relative
display inline-block
.flatpickr-months
display flex
.flatpickr-month
if $noCalendarBorder is defined
border-radius 5px 5px 0 0
background $monthBackground
color $monthForeground
fill $monthForeground
height $monthNavHeight
line-height 1
text-align center
position relative
user-select none
overflow hidden
flex 1
.flatpickr-prev-month, .flatpickr-next-month
user-select none
text-decoration none
cursor pointer
position absolute
top 0
height $monthNavHeight
padding 10px
z-index 3
color $monthForeground
fill $monthForeground
&.flatpickr-disabled
display none
i
position relative
&.flatpickr-prev-month
/*!
/*rtl:begin:ignore*//*
*/
left 0
/*!
/*rtl:end:ignore*//*
*/
&.flatpickr-next-month
/*!
/*rtl:begin:ignore*//*
*/
right 0
/*!
/*rtl:end:ignore*//*
*/
&:hover
color $todayColor
svg
if $arrow_hover_color is defined
fill $arrow_hover_color
else
fill $todayColor
svg
width 14px
height 14px
path
transition fill 0.1s
fill inherit
.numInputWrapper
position relative
height auto
input, span
display inline-block
input
width 100%
&::-ms-clear
display none
&::-webkit-outer-spin-button, &::-webkit-inner-spin-button
margin 0
-webkit-appearance none
span
position absolute
right 0
width 14px
padding 0 4px 0 2px
height 50%
line-height 50%
opacity 0
cursor pointer
border 1px solid alpha($dayForeground, 0.15)
box-sizing border-box
&:hover
background: alpha($invertedBg, 0.1)
&:active
background: alpha($invertedBg, 0.2)
&:after
display block
content ""
position absolute
&.arrowUp
top 0
border-bottom 0
&:after
border-left 4px solid transparent
border-right 4px solid transparent
border-bottom 4px solid alpha($dayForeground, 0.6)
top 26%
&.arrowDown
top 50%
&:after
border-left 4px solid transparent
border-right 4px solid transparent
border-top 4px solid alpha($dayForeground, 0.6)
top 40%
svg
width inherit
height auto
path
fill alpha($monthForeground, 0.5)
&:hover
background: alpha($invertedBg, 0.05)
span
opacity 1
.flatpickr-current-month
font-size 135%
line-height inherit
font-weight 300
color inherit
position absolute
width 75%
left 12.5%
padding (0.22*$monthNavHeight) 0 0 0
line-height 1
height $monthNavHeight
display inline-block
text-align center
transform translate3d(0px, 0px, 0px)
span.cur-month
font-family inherit
font-weight 700
color inherit
display inline-block
margin-left 0.5ch
padding 0
&:hover
background: alpha($invertedBg, 0.05)
.numInputWrapper
width 6ch
width unquote("7ch\0")
display inline-block
span.arrowUp:after
border-bottom-color $monthForeground
span.arrowDown:after
border-top-color $monthForeground
input.cur-year
background transparent
box-sizing border-box
color inherit
cursor text
padding 0 0 0 0.5ch
margin 0
display inline-block
font-size inherit
font-family inherit
font-weight 300
line-height inherit
height auto
border 0
border-radius 0
vertical-align initial
-webkit-appearance textfield
-moz-appearance textfield
appearance textfield
&:focus
outline 0
&[disabled], &[disabled]:hover
font-size 100%
color alpha($monthForeground, 0.5)
background transparent
pointer-events none
.flatpickr-monthDropdown-months
appearance: menulist
background: $monthBackground
border: none
border-radius: 0
box-sizing: border-box
color: inherit
cursor: pointer
font-size: inherit
font-family: inherit
font-weight: 300
height: auto
line-height: inherit
margin: -1px 0 0 0
outline: none
padding: 0 0 0 0.5ch
position: relative
vertical-align: initial
-webkit-box-sizing: border-box
-webkit-appearance: menulist
-moz-appearance: menulist
width: auto
&:focus, &:active
outline: none
&:hover
background: alpha($invertedBg, 0.05)
.flatpickr-monthDropdown-month
background-color: $monthBackground
outline: none
padding: 0
.flatpickr-weekdays
background $weekdaysBackground
text-align center
overflow hidden
width 100%
display flex
align-items center
height $weekdaysHeight
.flatpickr-weekdaycontainer
display flex
flex 1
span.flatpickr-weekday
cursor default
font-size 90%
background $monthBackground
color $weekdaysForeground
line-height 1
margin 0
text-align center
display block
flex 1
font-weight bolder
.dayContainer, .flatpickr-weeks
padding 1px 0 0 0
.flatpickr-days
position: relative;
overflow: hidden;
display flex
align-items: flex-start;
width $daysWidth
&:focus
outline 0
if $noCalendarBorder is defined
border-left 1px solid $calendarBorderColor
border-right 1px solid $calendarBorderColor
.dayContainer
padding 0
outline 0
text-align left
width ($daysWidth)
min-width ($daysWidth)
max-width ($daysWidth)
box-sizing border-box
display inline-block
display -ms-flexbox
display flex
flex-wrap wrap
-ms-flex-wrap wrap
-ms-flex-pack: justify
justify-content space-around
transform: translate3d(0px, 0px, 0px);
opacity 1
& + .dayContainer
box-shadow: -1px 0 0 $calendarBorderColor;
.flatpickr-day
background none
border 1px solid transparent
border-radius 150px
box-sizing border-box
color $dayForeground
cursor pointer
font-weight 400
width 14.2857143%
flex-basis 14.2857143%
max-width $daySize
height $daySize
line-height $daySize
margin 0
display inline-block
position relative
justify-content center
text-align center
&, &.prevMonthDay, &.nextMonthDay
&.inRange, &.today.inRange, &:hover, &:focus
cursor pointer
outline 0
background $dayHoverBackground
border-color $dayHoverBackground
&.today
border-color $todayColor
&:hover, &:focus
border-color $todayColor
background $todayColor
if $today_fg_color is defined
color $today_fg_color
else
color white
&.selected, &.startRange, &.endRange
&, &.inRange, &:focus, &:hover, &.prevMonthDay, &.nextMonthDay
background $selectedDayBackground
box-shadow none
if $selectedDayForeground is defined
color $selectedDayForeground
else
color white
border-color $selectedDayBackground
&.startRange
border-radius 50px 0 0 50px
//box-shadow: (2.5*$dayMargin) 0 0 $selectedDayBackground
&.endRange
border-radius 0 50px 50px 0
// Avoid adding extra fill because it overflows in multimonth mode
&.startRange + .endRange:not(:nth-child(7n+1))
box-shadow: (-5*$dayMargin) 0 0 $selectedDayBackground
&.startRange.endRange
border-radius 50px
&.inRange
border-radius 0
box-shadow: (-2.5*$dayMargin) 0 0 $dayHoverBackground, (2.5*$dayMargin) 0 0 $dayHoverBackground
&.flatpickr-disabled, &.flatpickr-disabled:hover,
&.prevMonthDay, &.nextMonthDay,
&.notAllowed, &.notAllowed.prevMonthDay, &.notAllowed.nextMonthDay
color alpha($dayForeground, 0.3)
background transparent
if $disabled_border_color is defined
border-color $disabled_border_color
else
border-color transparent
cursor default
&.flatpickr-disabled, &.flatpickr-disabled:hover
cursor not-allowed
color alpha($dayForeground, 0.1)
&.week.selected
border-radius 0
box-shadow: (-2.5*$dayMargin) 0 0 $selectedDayBackground,
(2.5*$dayMargin) 0 0 $selectedDayBackground
&.hidden
visibility hidden
.rangeMode .flatpickr-day
margin-top 1px
.flatpickr-weekwrapper
float left
.flatpickr-weeks
padding 0 12px
if $noCalendarBorder is defined
border-left 1px solid $calendarBorderColor
else
box-shadow 1px 0 0 $calendarBorderColor
.flatpickr-weekday
float none
width 100%
line-height $weekdaysHeight
span.flatpickr-day
&, &:hover
display block
width 100%
max-width none
color alpha($dayForeground, 0.3)
background transparent
cursor default
border none
.flatpickr-innerContainer
display block
display flex
box-sizing border-box
overflow: hidden;
if $noCalendarBorder is defined
background $calendarBackground
border-bottom 1px solid $calendarBorderColor
.flatpickr-rContainer
display inline-block
padding 0
box-sizing border-box
.flatpickr-time
text-align center
outline 0
display block
height 0 // hide initially
line-height $timeHeight
max-height $timeHeight
box-sizing border-box
overflow hidden
display flex
if $noCalendarBorder is defined
background $calendarBackground
border-radius 0 0 5px 5px
&:after
content ""
display table
clear both
.numInputWrapper
flex 1
width 40%
height $timeHeight
float left
span.arrowUp:after
border-bottom-color $dayForeground
span.arrowDown:after
border-top-color $dayForeground
&.hasSeconds .numInputWrapper
width 26%
&.time24hr .numInputWrapper
width 49%
input
background transparent
box-shadow none
border 0
border-radius 0
text-align center
margin 0
padding 0
height inherit
line-height inherit
color $dayForeground
font-size 14px
position relative
box-sizing border-box
-webkit-appearance textfield
-moz-appearance textfield
appearance textfield
&.flatpickr-hour
font-weight bold
&.flatpickr-minute, &.flatpickr-second
font-weight 400
&:focus
outline 0
border 0
.flatpickr-time-separator, .flatpickr-am-pm
height inherit
float left
line-height inherit
color $dayForeground
font-weight bold
width 2%
user-select none
align-self center
.flatpickr-am-pm
outline 0
width 18%
cursor pointer
text-align center
font-weight 400
input, .flatpickr-am-pm
&:hover, &:focus
background lighten($dayHoverBackground, 3)
.flatpickr-input[readonly]
cursor pointer
package.json 0000644 00000006571 15167673014 0007055 0 ustar 00 {
"_from": "flatpickr",
"_id": "flatpickr@4.6.13",
"_inBundle": false,
"_integrity": "sha512-97PMG/aywoYpB4IvbvUJi0RQi8vearvU0oov1WW3k0WZPBMrTQVqekSX5CjSG/M4Q3i6A/0FKXC7RyAoAUUSPw==",
"_location": "/flatpickr",
"_phantomChildren": {},
"_requested": {
"type": "tag",
"registry": true,
"raw": "flatpickr",
"name": "flatpickr",
"escapedName": "flatpickr",
"rawSpec": "",
"saveSpec": null,
"fetchSpec": "latest"
},
"_requiredBy": [
"#USER",
"/"
],
"_resolved": "https://registry.npmjs.org/flatpickr/-/flatpickr-4.6.13.tgz",
"_shasum": "8a029548187fd6e0d670908471e43abe9ad18d94",
"_spec": "flatpickr",
"_where": "C:\\xampp\\htdocs\\emeraltd",
"author": {
"name": "Gregory",
"email": "gregory.mkv@gmail.com"
},
"browserslist": [
"ie >= 9",
"last 2 versions",
"safari >= 7"
],
"bugs": {
"url": "https://github.com/chmln/flatpickr/issues"
},
"bundleDependencies": false,
"deprecated": false,
"description": "A lightweight, powerful javascript datetime picker",
"devDependencies": {
"@babel/core": "^7.12.10",
"@babel/plugin-proposal-object-rest-spread": "^7.12.1",
"@babel/plugin-proposal-optional-catch-binding": "^7.12.1",
"@babel/preset-env": "^7.12.11",
"@types/acorn": "^4.0.5",
"@types/fs-extra": "^9.0.5",
"@types/glob": "7.1.3",
"@types/jest": "^27.4.1",
"@types/jquery": "^3.5.5",
"@types/node": "^14.14.14",
"@types/stylus": "^0.48.33",
"autoprefixer-stylus": "latest",
"babel-plugin-transform-object-rest-spread": "^6.26.0",
"chokidar": "^3.4.3",
"coveralls": "^3.1.0",
"fs-extra": "^9.0.1",
"glob": "^7.1.6",
"jest": "^27.5.1",
"npm-run-all": ">=4.1.5",
"prettier": "^2.2.1",
"rimraf": "^3.0.2",
"rollup": "^2.35.1",
"rollup-plugin-babel": "^4.4.0",
"rollup-plugin-livereload": "^2.0.0",
"rollup-plugin-serve": "1.1.0",
"rollup-plugin-typescript": "^1.0.1",
"stylus": "latest",
"terser": "^5.5.1",
"ts-jest": "^27.1.3",
"ts-node": "^9.1.1",
"tslib": "^2.0.3",
"typescript": "^4.1.3"
},
"homepage": "https://flatpickr.js.org",
"keywords": [
"javascript",
"datetimepicker",
"calendar",
"date",
"time",
"picker",
"lightweight"
],
"license": "MIT",
"main": "dist/flatpickr.js",
"module": "dist/esm/index.js",
"name": "flatpickr",
"repository": {
"type": "git",
"url": "git+https://github.com/chmln/flatpickr.git"
},
"scripts": {
"build": "run-s build:pre build:build build:esm build:types build:post",
"build:build": "ts-node --transpile-only build.ts",
"build:esm": "tsc -p tsconfig.esm.json",
"build:post": "cp src/typings.d.ts dist/typings.d.ts",
"build:pre": "rimraf dist",
"build:types": "tsc -p tsconfig.declarations.json",
"coveralls": "npm run test:unit -- --coverage && cat ./coverage/lcov.info | ./node_modules/coveralls/bin/coveralls.js",
"fmt": "prettier --ignore-path .gitignore --trailing-comma es5 --write \"**/*.ts\"",
"fmt:check": "prettier --ignore-path .gitignore --trailing-comma es5 --check \"**/*.ts\"",
"start": "npm run build:build -- --dev",
"test": "run-s test:typecheck test:unit",
"test:typecheck": "tsc --noEmit --incremental",
"test:unit": "jest --config config/jest.json"
},
"style": "dist/flatpickr.css",
"types": "./dist/typings.d.ts",
"version": "4.6.13"
}
dist/flatpickr.min.js 0000644 00000142767 15167673014 0010641 0 ustar 00 /* flatpickr v4.6.13,, @license MIT */
!function(e,n){"object"==typeof exports&&"undefined"!=typeof module?module.exports=n():"function"==typeof define&&define.amd?define(n):(e="undefined"!=typeof globalThis?globalThis:e||self).flatpickr=n()}(this,(function(){"use strict";var e=function(){return(e=Object.assign||function(e){for(var n,t=1,a=arguments.length;t<a;t++)for(var i in n=arguments[t])Object.prototype.hasOwnProperty.call(n,i)&&(e[i]=n[i]);return e}).apply(this,arguments)};function n(){for(var e=0,n=0,t=arguments.length;n<t;n++)e+=arguments[n].length;var a=Array(e),i=0;for(n=0;n<t;n++)for(var o=arguments[n],r=0,l=o.length;r<l;r++,i++)a[i]=o[r];return a}var t=["onChange","onClose","onDayCreate","onDestroy","onKeyDown","onMonthChange","onOpen","onParseConfig","onReady","onValueUpdate","onYearChange","onPreCalendarPosition"],a={_disable:[],allowInput:!1,allowInvalidPreload:!1,altFormat:"F j, Y",altInput:!1,altInputClass:"form-control input",animate:"object"==typeof window&&-1===window.navigator.userAgent.indexOf("MSIE"),ariaDateFormat:"F j, Y",autoFillDefaultTime:!0,clickOpens:!0,closeOnSelect:!0,conjunction:", ",dateFormat:"Y-m-d",defaultHour:12,defaultMinute:0,defaultSeconds:0,disable:[],disableMobile:!1,enableSeconds:!1,enableTime:!1,errorHandler:function(e){return"undefined"!=typeof console&&console.warn(e)},getWeek:function(e){var n=new Date(e.getTime());n.setHours(0,0,0,0),n.setDate(n.getDate()+3-(n.getDay()+6)%7);var t=new Date(n.getFullYear(),0,4);return 1+Math.round(((n.getTime()-t.getTime())/864e5-3+(t.getDay()+6)%7)/7)},hourIncrement:1,ignoredFocusElements:[],inline:!1,locale:"default",minuteIncrement:5,mode:"single",monthSelectorType:"dropdown",nextArrow:"<svg version='1.1' xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' viewBox='0 0 17 17'><g></g><path d='M13.207 8.472l-7.854 7.854-0.707-0.707 7.146-7.146-7.146-7.148 0.707-0.707 7.854 7.854z' /></svg>",noCalendar:!1,now:new Date,onChange:[],onClose:[],onDayCreate:[],onDestroy:[],onKeyDown:[],onMonthChange:[],onOpen:[],onParseConfig:[],onReady:[],onValueUpdate:[],onYearChange:[],onPreCalendarPosition:[],plugins:[],position:"auto",positionElement:void 0,prevArrow:"<svg version='1.1' xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' viewBox='0 0 17 17'><g></g><path d='M5.207 8.471l7.146 7.147-0.707 0.707-7.853-7.854 7.854-7.853 0.707 0.707-7.147 7.146z' /></svg>",shorthandCurrentMonth:!1,showMonths:1,static:!1,time_24hr:!1,weekNumbers:!1,wrap:!1},i={weekdays:{shorthand:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],longhand:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"]},months:{shorthand:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],longhand:["January","February","March","April","May","June","July","August","September","October","November","December"]},daysInMonth:[31,28,31,30,31,30,31,31,30,31,30,31],firstDayOfWeek:0,ordinal:function(e){var n=e%100;if(n>3&&n<21)return"th";switch(n%10){case 1:return"st";case 2:return"nd";case 3:return"rd";default:return"th"}},rangeSeparator:" to ",weekAbbreviation:"Wk",scrollTitle:"Scroll to increment",toggleTitle:"Click to toggle",amPM:["AM","PM"],yearAriaLabel:"Year",monthAriaLabel:"Month",hourAriaLabel:"Hour",minuteAriaLabel:"Minute",time_24hr:!1},o=function(e,n){return void 0===n&&(n=2),("000"+e).slice(-1*n)},r=function(e){return!0===e?1:0};function l(e,n){var t;return function(){var a=this,i=arguments;clearTimeout(t),t=setTimeout((function(){return e.apply(a,i)}),n)}}var c=function(e){return e instanceof Array?e:[e]};function s(e,n,t){if(!0===t)return e.classList.add(n);e.classList.remove(n)}function d(e,n,t){var a=window.document.createElement(e);return n=n||"",t=t||"",a.className=n,void 0!==t&&(a.textContent=t),a}function u(e){for(;e.firstChild;)e.removeChild(e.firstChild)}function f(e,n){return n(e)?e:e.parentNode?f(e.parentNode,n):void 0}function m(e,n){var t=d("div","numInputWrapper"),a=d("input","numInput "+e),i=d("span","arrowUp"),o=d("span","arrowDown");if(-1===navigator.userAgent.indexOf("MSIE 9.0")?a.type="number":(a.type="text",a.pattern="\\d*"),void 0!==n)for(var r in n)a.setAttribute(r,n[r]);return t.appendChild(a),t.appendChild(i),t.appendChild(o),t}function g(e){try{return"function"==typeof e.composedPath?e.composedPath()[0]:e.target}catch(n){return e.target}}var p=function(){},h=function(e,n,t){return t.months[n?"shorthand":"longhand"][e]},v={D:p,F:function(e,n,t){e.setMonth(t.months.longhand.indexOf(n))},G:function(e,n){e.setHours((e.getHours()>=12?12:0)+parseFloat(n))},H:function(e,n){e.setHours(parseFloat(n))},J:function(e,n){e.setDate(parseFloat(n))},K:function(e,n,t){e.setHours(e.getHours()%12+12*r(new RegExp(t.amPM[1],"i").test(n)))},M:function(e,n,t){e.setMonth(t.months.shorthand.indexOf(n))},S:function(e,n){e.setSeconds(parseFloat(n))},U:function(e,n){return new Date(1e3*parseFloat(n))},W:function(e,n,t){var a=parseInt(n),i=new Date(e.getFullYear(),0,2+7*(a-1),0,0,0,0);return i.setDate(i.getDate()-i.getDay()+t.firstDayOfWeek),i},Y:function(e,n){e.setFullYear(parseFloat(n))},Z:function(e,n){return new Date(n)},d:function(e,n){e.setDate(parseFloat(n))},h:function(e,n){e.setHours((e.getHours()>=12?12:0)+parseFloat(n))},i:function(e,n){e.setMinutes(parseFloat(n))},j:function(e,n){e.setDate(parseFloat(n))},l:p,m:function(e,n){e.setMonth(parseFloat(n)-1)},n:function(e,n){e.setMonth(parseFloat(n)-1)},s:function(e,n){e.setSeconds(parseFloat(n))},u:function(e,n){return new Date(parseFloat(n))},w:p,y:function(e,n){e.setFullYear(2e3+parseFloat(n))}},D={D:"",F:"",G:"(\\d\\d|\\d)",H:"(\\d\\d|\\d)",J:"(\\d\\d|\\d)\\w+",K:"",M:"",S:"(\\d\\d|\\d)",U:"(.+)",W:"(\\d\\d|\\d)",Y:"(\\d{4})",Z:"(.+)",d:"(\\d\\d|\\d)",h:"(\\d\\d|\\d)",i:"(\\d\\d|\\d)",j:"(\\d\\d|\\d)",l:"",m:"(\\d\\d|\\d)",n:"(\\d\\d|\\d)",s:"(\\d\\d|\\d)",u:"(.+)",w:"(\\d\\d|\\d)",y:"(\\d{2})"},w={Z:function(e){return e.toISOString()},D:function(e,n,t){return n.weekdays.shorthand[w.w(e,n,t)]},F:function(e,n,t){return h(w.n(e,n,t)-1,!1,n)},G:function(e,n,t){return o(w.h(e,n,t))},H:function(e){return o(e.getHours())},J:function(e,n){return void 0!==n.ordinal?e.getDate()+n.ordinal(e.getDate()):e.getDate()},K:function(e,n){return n.amPM[r(e.getHours()>11)]},M:function(e,n){return h(e.getMonth(),!0,n)},S:function(e){return o(e.getSeconds())},U:function(e){return e.getTime()/1e3},W:function(e,n,t){return t.getWeek(e)},Y:function(e){return o(e.getFullYear(),4)},d:function(e){return o(e.getDate())},h:function(e){return e.getHours()%12?e.getHours()%12:12},i:function(e){return o(e.getMinutes())},j:function(e){return e.getDate()},l:function(e,n){return n.weekdays.longhand[e.getDay()]},m:function(e){return o(e.getMonth()+1)},n:function(e){return e.getMonth()+1},s:function(e){return e.getSeconds()},u:function(e){return e.getTime()},w:function(e){return e.getDay()},y:function(e){return String(e.getFullYear()).substring(2)}},b=function(e){var n=e.config,t=void 0===n?a:n,o=e.l10n,r=void 0===o?i:o,l=e.isMobile,c=void 0!==l&&l;return function(e,n,a){var i=a||r;return void 0===t.formatDate||c?n.split("").map((function(n,a,o){return w[n]&&"\\"!==o[a-1]?w[n](e,i,t):"\\"!==n?n:""})).join(""):t.formatDate(e,n,i)}},C=function(e){var n=e.config,t=void 0===n?a:n,o=e.l10n,r=void 0===o?i:o;return function(e,n,i,o){if(0===e||e){var l,c=o||r,s=e;if(e instanceof Date)l=new Date(e.getTime());else if("string"!=typeof e&&void 0!==e.toFixed)l=new Date(e);else if("string"==typeof e){var d=n||(t||a).dateFormat,u=String(e).trim();if("today"===u)l=new Date,i=!0;else if(t&&t.parseDate)l=t.parseDate(e,d);else if(/Z$/.test(u)||/GMT$/.test(u))l=new Date(e);else{for(var f=void 0,m=[],g=0,p=0,h="";g<d.length;g++){var w=d[g],b="\\"===w,C="\\"===d[g-1]||b;if(D[w]&&!C){h+=D[w];var M=new RegExp(h).exec(e);M&&(f=!0)&&m["Y"!==w?"push":"unshift"]({fn:v[w],val:M[++p]})}else b||(h+=".")}l=t&&t.noCalendar?new Date((new Date).setHours(0,0,0,0)):new Date((new Date).getFullYear(),0,1,0,0,0,0),m.forEach((function(e){var n=e.fn,t=e.val;return l=n(l,t,c)||l})),l=f?l:void 0}}if(l instanceof Date&&!isNaN(l.getTime()))return!0===i&&l.setHours(0,0,0,0),l;t.errorHandler(new Error("Invalid date provided: "+s))}}};function M(e,n,t){return void 0===t&&(t=!0),!1!==t?new Date(e.getTime()).setHours(0,0,0,0)-new Date(n.getTime()).setHours(0,0,0,0):e.getTime()-n.getTime()}var y=function(e,n,t){return 3600*e+60*n+t},x=864e5;function E(e){var n=e.defaultHour,t=e.defaultMinute,a=e.defaultSeconds;if(void 0!==e.minDate){var i=e.minDate.getHours(),o=e.minDate.getMinutes(),r=e.minDate.getSeconds();n<i&&(n=i),n===i&&t<o&&(t=o),n===i&&t===o&&a<r&&(a=e.minDate.getSeconds())}if(void 0!==e.maxDate){var l=e.maxDate.getHours(),c=e.maxDate.getMinutes();(n=Math.min(n,l))===l&&(t=Math.min(c,t)),n===l&&t===c&&(a=e.maxDate.getSeconds())}return{hours:n,minutes:t,seconds:a}}"function"!=typeof Object.assign&&(Object.assign=function(e){for(var n=[],t=1;t<arguments.length;t++)n[t-1]=arguments[t];if(!e)throw TypeError("Cannot convert undefined or null to object");for(var a=function(n){n&&Object.keys(n).forEach((function(t){return e[t]=n[t]}))},i=0,o=n;i<o.length;i++){var r=o[i];a(r)}return e});function k(p,v){var w={config:e(e({},a),I.defaultConfig),l10n:i};function k(){var e;return(null===(e=w.calendarContainer)||void 0===e?void 0:e.getRootNode()).activeElement||document.activeElement}function T(e){return e.bind(w)}function S(){var e=w.config;!1===e.weekNumbers&&1===e.showMonths||!0!==e.noCalendar&&window.requestAnimationFrame((function(){if(void 0!==w.calendarContainer&&(w.calendarContainer.style.visibility="hidden",w.calendarContainer.style.display="block"),void 0!==w.daysContainer){var n=(w.days.offsetWidth+1)*e.showMonths;w.daysContainer.style.width=n+"px",w.calendarContainer.style.width=n+(void 0!==w.weekWrapper?w.weekWrapper.offsetWidth:0)+"px",w.calendarContainer.style.removeProperty("visibility"),w.calendarContainer.style.removeProperty("display")}}))}function _(e){if(0===w.selectedDates.length){var n=void 0===w.config.minDate||M(new Date,w.config.minDate)>=0?new Date:new Date(w.config.minDate.getTime()),t=E(w.config);n.setHours(t.hours,t.minutes,t.seconds,n.getMilliseconds()),w.selectedDates=[n],w.latestSelectedDateObj=n}void 0!==e&&"blur"!==e.type&&function(e){e.preventDefault();var n="keydown"===e.type,t=g(e),a=t;void 0!==w.amPM&&t===w.amPM&&(w.amPM.textContent=w.l10n.amPM[r(w.amPM.textContent===w.l10n.amPM[0])]);var i=parseFloat(a.getAttribute("min")),l=parseFloat(a.getAttribute("max")),c=parseFloat(a.getAttribute("step")),s=parseInt(a.value,10),d=e.delta||(n?38===e.which?1:-1:0),u=s+c*d;if(void 0!==a.value&&2===a.value.length){var f=a===w.hourElement,m=a===w.minuteElement;u<i?(u=l+u+r(!f)+(r(f)&&r(!w.amPM)),m&&L(void 0,-1,w.hourElement)):u>l&&(u=a===w.hourElement?u-l-r(!w.amPM):i,m&&L(void 0,1,w.hourElement)),w.amPM&&f&&(1===c?u+s===23:Math.abs(u-s)>c)&&(w.amPM.textContent=w.l10n.amPM[r(w.amPM.textContent===w.l10n.amPM[0])]),a.value=o(u)}}(e);var a=w._input.value;O(),ye(),w._input.value!==a&&w._debouncedChange()}function O(){if(void 0!==w.hourElement&&void 0!==w.minuteElement){var e,n,t=(parseInt(w.hourElement.value.slice(-2),10)||0)%24,a=(parseInt(w.minuteElement.value,10)||0)%60,i=void 0!==w.secondElement?(parseInt(w.secondElement.value,10)||0)%60:0;void 0!==w.amPM&&(e=t,n=w.amPM.textContent,t=e%12+12*r(n===w.l10n.amPM[1]));var o=void 0!==w.config.minTime||w.config.minDate&&w.minDateHasTime&&w.latestSelectedDateObj&&0===M(w.latestSelectedDateObj,w.config.minDate,!0),l=void 0!==w.config.maxTime||w.config.maxDate&&w.maxDateHasTime&&w.latestSelectedDateObj&&0===M(w.latestSelectedDateObj,w.config.maxDate,!0);if(void 0!==w.config.maxTime&&void 0!==w.config.minTime&&w.config.minTime>w.config.maxTime){var c=y(w.config.minTime.getHours(),w.config.minTime.getMinutes(),w.config.minTime.getSeconds()),s=y(w.config.maxTime.getHours(),w.config.maxTime.getMinutes(),w.config.maxTime.getSeconds()),d=y(t,a,i);if(d>s&&d<c){var u=function(e){var n=Math.floor(e/3600),t=(e-3600*n)/60;return[n,t,e-3600*n-60*t]}(c);t=u[0],a=u[1],i=u[2]}}else{if(l){var f=void 0!==w.config.maxTime?w.config.maxTime:w.config.maxDate;(t=Math.min(t,f.getHours()))===f.getHours()&&(a=Math.min(a,f.getMinutes())),a===f.getMinutes()&&(i=Math.min(i,f.getSeconds()))}if(o){var m=void 0!==w.config.minTime?w.config.minTime:w.config.minDate;(t=Math.max(t,m.getHours()))===m.getHours()&&a<m.getMinutes()&&(a=m.getMinutes()),a===m.getMinutes()&&(i=Math.max(i,m.getSeconds()))}}A(t,a,i)}}function F(e){var n=e||w.latestSelectedDateObj;n&&n instanceof Date&&A(n.getHours(),n.getMinutes(),n.getSeconds())}function A(e,n,t){void 0!==w.latestSelectedDateObj&&w.latestSelectedDateObj.setHours(e%24,n,t||0,0),w.hourElement&&w.minuteElement&&!w.isMobile&&(w.hourElement.value=o(w.config.time_24hr?e:(12+e)%12+12*r(e%12==0)),w.minuteElement.value=o(n),void 0!==w.amPM&&(w.amPM.textContent=w.l10n.amPM[r(e>=12)]),void 0!==w.secondElement&&(w.secondElement.value=o(t)))}function N(e){var n=g(e),t=parseInt(n.value)+(e.delta||0);(t/1e3>1||"Enter"===e.key&&!/[^\d]/.test(t.toString()))&&ee(t)}function P(e,n,t,a){return n instanceof Array?n.forEach((function(n){return P(e,n,t,a)})):e instanceof Array?e.forEach((function(e){return P(e,n,t,a)})):(e.addEventListener(n,t,a),void w._handlers.push({remove:function(){return e.removeEventListener(n,t,a)}}))}function Y(){De("onChange")}function j(e,n){var t=void 0!==e?w.parseDate(e):w.latestSelectedDateObj||(w.config.minDate&&w.config.minDate>w.now?w.config.minDate:w.config.maxDate&&w.config.maxDate<w.now?w.config.maxDate:w.now),a=w.currentYear,i=w.currentMonth;try{void 0!==t&&(w.currentYear=t.getFullYear(),w.currentMonth=t.getMonth())}catch(e){e.message="Invalid date supplied: "+t,w.config.errorHandler(e)}n&&w.currentYear!==a&&(De("onYearChange"),q()),!n||w.currentYear===a&&w.currentMonth===i||De("onMonthChange"),w.redraw()}function H(e){var n=g(e);~n.className.indexOf("arrow")&&L(e,n.classList.contains("arrowUp")?1:-1)}function L(e,n,t){var a=e&&g(e),i=t||a&&a.parentNode&&a.parentNode.firstChild,o=we("increment");o.delta=n,i&&i.dispatchEvent(o)}function R(e,n,t,a){var i=ne(n,!0),o=d("span",e,n.getDate().toString());return o.dateObj=n,o.$i=a,o.setAttribute("aria-label",w.formatDate(n,w.config.ariaDateFormat)),-1===e.indexOf("hidden")&&0===M(n,w.now)&&(w.todayDateElem=o,o.classList.add("today"),o.setAttribute("aria-current","date")),i?(o.tabIndex=-1,be(n)&&(o.classList.add("selected"),w.selectedDateElem=o,"range"===w.config.mode&&(s(o,"startRange",w.selectedDates[0]&&0===M(n,w.selectedDates[0],!0)),s(o,"endRange",w.selectedDates[1]&&0===M(n,w.selectedDates[1],!0)),"nextMonthDay"===e&&o.classList.add("inRange")))):o.classList.add("flatpickr-disabled"),"range"===w.config.mode&&function(e){return!("range"!==w.config.mode||w.selectedDates.length<2)&&(M(e,w.selectedDates[0])>=0&&M(e,w.selectedDates[1])<=0)}(n)&&!be(n)&&o.classList.add("inRange"),w.weekNumbers&&1===w.config.showMonths&&"prevMonthDay"!==e&&a%7==6&&w.weekNumbers.insertAdjacentHTML("beforeend","<span class='flatpickr-day'>"+w.config.getWeek(n)+"</span>"),De("onDayCreate",o),o}function W(e){e.focus(),"range"===w.config.mode&&oe(e)}function B(e){for(var n=e>0?0:w.config.showMonths-1,t=e>0?w.config.showMonths:-1,a=n;a!=t;a+=e)for(var i=w.daysContainer.children[a],o=e>0?0:i.children.length-1,r=e>0?i.children.length:-1,l=o;l!=r;l+=e){var c=i.children[l];if(-1===c.className.indexOf("hidden")&&ne(c.dateObj))return c}}function J(e,n){var t=k(),a=te(t||document.body),i=void 0!==e?e:a?t:void 0!==w.selectedDateElem&&te(w.selectedDateElem)?w.selectedDateElem:void 0!==w.todayDateElem&&te(w.todayDateElem)?w.todayDateElem:B(n>0?1:-1);void 0===i?w._input.focus():a?function(e,n){for(var t=-1===e.className.indexOf("Month")?e.dateObj.getMonth():w.currentMonth,a=n>0?w.config.showMonths:-1,i=n>0?1:-1,o=t-w.currentMonth;o!=a;o+=i)for(var r=w.daysContainer.children[o],l=t-w.currentMonth===o?e.$i+n:n<0?r.children.length-1:0,c=r.children.length,s=l;s>=0&&s<c&&s!=(n>0?c:-1);s+=i){var d=r.children[s];if(-1===d.className.indexOf("hidden")&&ne(d.dateObj)&&Math.abs(e.$i-s)>=Math.abs(n))return W(d)}w.changeMonth(i),J(B(i),0)}(i,n):W(i)}function K(e,n){for(var t=(new Date(e,n,1).getDay()-w.l10n.firstDayOfWeek+7)%7,a=w.utils.getDaysInMonth((n-1+12)%12,e),i=w.utils.getDaysInMonth(n,e),o=window.document.createDocumentFragment(),r=w.config.showMonths>1,l=r?"prevMonthDay hidden":"prevMonthDay",c=r?"nextMonthDay hidden":"nextMonthDay",s=a+1-t,u=0;s<=a;s++,u++)o.appendChild(R("flatpickr-day "+l,new Date(e,n-1,s),0,u));for(s=1;s<=i;s++,u++)o.appendChild(R("flatpickr-day",new Date(e,n,s),0,u));for(var f=i+1;f<=42-t&&(1===w.config.showMonths||u%7!=0);f++,u++)o.appendChild(R("flatpickr-day "+c,new Date(e,n+1,f%i),0,u));var m=d("div","dayContainer");return m.appendChild(o),m}function U(){if(void 0!==w.daysContainer){u(w.daysContainer),w.weekNumbers&&u(w.weekNumbers);for(var e=document.createDocumentFragment(),n=0;n<w.config.showMonths;n++){var t=new Date(w.currentYear,w.currentMonth,1);t.setMonth(w.currentMonth+n),e.appendChild(K(t.getFullYear(),t.getMonth()))}w.daysContainer.appendChild(e),w.days=w.daysContainer.firstChild,"range"===w.config.mode&&1===w.selectedDates.length&&oe()}}function q(){if(!(w.config.showMonths>1||"dropdown"!==w.config.monthSelectorType)){var e=function(e){return!(void 0!==w.config.minDate&&w.currentYear===w.config.minDate.getFullYear()&&e<w.config.minDate.getMonth())&&!(void 0!==w.config.maxDate&&w.currentYear===w.config.maxDate.getFullYear()&&e>w.config.maxDate.getMonth())};w.monthsDropdownContainer.tabIndex=-1,w.monthsDropdownContainer.innerHTML="";for(var n=0;n<12;n++)if(e(n)){var t=d("option","flatpickr-monthDropdown-month");t.value=new Date(w.currentYear,n).getMonth().toString(),t.textContent=h(n,w.config.shorthandCurrentMonth,w.l10n),t.tabIndex=-1,w.currentMonth===n&&(t.selected=!0),w.monthsDropdownContainer.appendChild(t)}}}function $(){var e,n=d("div","flatpickr-month"),t=window.document.createDocumentFragment();w.config.showMonths>1||"static"===w.config.monthSelectorType?e=d("span","cur-month"):(w.monthsDropdownContainer=d("select","flatpickr-monthDropdown-months"),w.monthsDropdownContainer.setAttribute("aria-label",w.l10n.monthAriaLabel),P(w.monthsDropdownContainer,"change",(function(e){var n=g(e),t=parseInt(n.value,10);w.changeMonth(t-w.currentMonth),De("onMonthChange")})),q(),e=w.monthsDropdownContainer);var a=m("cur-year",{tabindex:"-1"}),i=a.getElementsByTagName("input")[0];i.setAttribute("aria-label",w.l10n.yearAriaLabel),w.config.minDate&&i.setAttribute("min",w.config.minDate.getFullYear().toString()),w.config.maxDate&&(i.setAttribute("max",w.config.maxDate.getFullYear().toString()),i.disabled=!!w.config.minDate&&w.config.minDate.getFullYear()===w.config.maxDate.getFullYear());var o=d("div","flatpickr-current-month");return o.appendChild(e),o.appendChild(a),t.appendChild(o),n.appendChild(t),{container:n,yearElement:i,monthElement:e}}function V(){u(w.monthNav),w.monthNav.appendChild(w.prevMonthNav),w.config.showMonths&&(w.yearElements=[],w.monthElements=[]);for(var e=w.config.showMonths;e--;){var n=$();w.yearElements.push(n.yearElement),w.monthElements.push(n.monthElement),w.monthNav.appendChild(n.container)}w.monthNav.appendChild(w.nextMonthNav)}function z(){w.weekdayContainer?u(w.weekdayContainer):w.weekdayContainer=d("div","flatpickr-weekdays");for(var e=w.config.showMonths;e--;){var n=d("div","flatpickr-weekdaycontainer");w.weekdayContainer.appendChild(n)}return G(),w.weekdayContainer}function G(){if(w.weekdayContainer){var e=w.l10n.firstDayOfWeek,t=n(w.l10n.weekdays.shorthand);e>0&&e<t.length&&(t=n(t.splice(e,t.length),t.splice(0,e)));for(var a=w.config.showMonths;a--;)w.weekdayContainer.children[a].innerHTML="\n <span class='flatpickr-weekday'>\n "+t.join("</span><span class='flatpickr-weekday'>")+"\n </span>\n "}}function Z(e,n){void 0===n&&(n=!0);var t=n?e:e-w.currentMonth;t<0&&!0===w._hidePrevMonthArrow||t>0&&!0===w._hideNextMonthArrow||(w.currentMonth+=t,(w.currentMonth<0||w.currentMonth>11)&&(w.currentYear+=w.currentMonth>11?1:-1,w.currentMonth=(w.currentMonth+12)%12,De("onYearChange"),q()),U(),De("onMonthChange"),Ce())}function Q(e){return w.calendarContainer.contains(e)}function X(e){if(w.isOpen&&!w.config.inline){var n=g(e),t=Q(n),a=!(n===w.input||n===w.altInput||w.element.contains(n)||e.path&&e.path.indexOf&&(~e.path.indexOf(w.input)||~e.path.indexOf(w.altInput)))&&!t&&!Q(e.relatedTarget),i=!w.config.ignoredFocusElements.some((function(e){return e.contains(n)}));a&&i&&(w.config.allowInput&&w.setDate(w._input.value,!1,w.config.altInput?w.config.altFormat:w.config.dateFormat),void 0!==w.timeContainer&&void 0!==w.minuteElement&&void 0!==w.hourElement&&""!==w.input.value&&void 0!==w.input.value&&_(),w.close(),w.config&&"range"===w.config.mode&&1===w.selectedDates.length&&w.clear(!1))}}function ee(e){if(!(!e||w.config.minDate&&e<w.config.minDate.getFullYear()||w.config.maxDate&&e>w.config.maxDate.getFullYear())){var n=e,t=w.currentYear!==n;w.currentYear=n||w.currentYear,w.config.maxDate&&w.currentYear===w.config.maxDate.getFullYear()?w.currentMonth=Math.min(w.config.maxDate.getMonth(),w.currentMonth):w.config.minDate&&w.currentYear===w.config.minDate.getFullYear()&&(w.currentMonth=Math.max(w.config.minDate.getMonth(),w.currentMonth)),t&&(w.redraw(),De("onYearChange"),q())}}function ne(e,n){var t;void 0===n&&(n=!0);var a=w.parseDate(e,void 0,n);if(w.config.minDate&&a&&M(a,w.config.minDate,void 0!==n?n:!w.minDateHasTime)<0||w.config.maxDate&&a&&M(a,w.config.maxDate,void 0!==n?n:!w.maxDateHasTime)>0)return!1;if(!w.config.enable&&0===w.config.disable.length)return!0;if(void 0===a)return!1;for(var i=!!w.config.enable,o=null!==(t=w.config.enable)&&void 0!==t?t:w.config.disable,r=0,l=void 0;r<o.length;r++){if("function"==typeof(l=o[r])&&l(a))return i;if(l instanceof Date&&void 0!==a&&l.getTime()===a.getTime())return i;if("string"==typeof l){var c=w.parseDate(l,void 0,!0);return c&&c.getTime()===a.getTime()?i:!i}if("object"==typeof l&&void 0!==a&&l.from&&l.to&&a.getTime()>=l.from.getTime()&&a.getTime()<=l.to.getTime())return i}return!i}function te(e){return void 0!==w.daysContainer&&(-1===e.className.indexOf("hidden")&&-1===e.className.indexOf("flatpickr-disabled")&&w.daysContainer.contains(e))}function ae(e){var n=e.target===w._input,t=w._input.value.trimEnd()!==Me();!n||!t||e.relatedTarget&&Q(e.relatedTarget)||w.setDate(w._input.value,!0,e.target===w.altInput?w.config.altFormat:w.config.dateFormat)}function ie(e){var n=g(e),t=w.config.wrap?p.contains(n):n===w._input,a=w.config.allowInput,i=w.isOpen&&(!a||!t),o=w.config.inline&&t&&!a;if(13===e.keyCode&&t){if(a)return w.setDate(w._input.value,!0,n===w.altInput?w.config.altFormat:w.config.dateFormat),w.close(),n.blur();w.open()}else if(Q(n)||i||o){var r=!!w.timeContainer&&w.timeContainer.contains(n);switch(e.keyCode){case 13:r?(e.preventDefault(),_(),fe()):me(e);break;case 27:e.preventDefault(),fe();break;case 8:case 46:t&&!w.config.allowInput&&(e.preventDefault(),w.clear());break;case 37:case 39:if(r||t)w.hourElement&&w.hourElement.focus();else{e.preventDefault();var l=k();if(void 0!==w.daysContainer&&(!1===a||l&&te(l))){var c=39===e.keyCode?1:-1;e.ctrlKey?(e.stopPropagation(),Z(c),J(B(1),0)):J(void 0,c)}}break;case 38:case 40:e.preventDefault();var s=40===e.keyCode?1:-1;w.daysContainer&&void 0!==n.$i||n===w.input||n===w.altInput?e.ctrlKey?(e.stopPropagation(),ee(w.currentYear-s),J(B(1),0)):r||J(void 0,7*s):n===w.currentYearElement?ee(w.currentYear-s):w.config.enableTime&&(!r&&w.hourElement&&w.hourElement.focus(),_(e),w._debouncedChange());break;case 9:if(r){var d=[w.hourElement,w.minuteElement,w.secondElement,w.amPM].concat(w.pluginElements).filter((function(e){return e})),u=d.indexOf(n);if(-1!==u){var f=d[u+(e.shiftKey?-1:1)];e.preventDefault(),(f||w._input).focus()}}else!w.config.noCalendar&&w.daysContainer&&w.daysContainer.contains(n)&&e.shiftKey&&(e.preventDefault(),w._input.focus())}}if(void 0!==w.amPM&&n===w.amPM)switch(e.key){case w.l10n.amPM[0].charAt(0):case w.l10n.amPM[0].charAt(0).toLowerCase():w.amPM.textContent=w.l10n.amPM[0],O(),ye();break;case w.l10n.amPM[1].charAt(0):case w.l10n.amPM[1].charAt(0).toLowerCase():w.amPM.textContent=w.l10n.amPM[1],O(),ye()}(t||Q(n))&&De("onKeyDown",e)}function oe(e,n){if(void 0===n&&(n="flatpickr-day"),1===w.selectedDates.length&&(!e||e.classList.contains(n)&&!e.classList.contains("flatpickr-disabled"))){for(var t=e?e.dateObj.getTime():w.days.firstElementChild.dateObj.getTime(),a=w.parseDate(w.selectedDates[0],void 0,!0).getTime(),i=Math.min(t,w.selectedDates[0].getTime()),o=Math.max(t,w.selectedDates[0].getTime()),r=!1,l=0,c=0,s=i;s<o;s+=x)ne(new Date(s),!0)||(r=r||s>i&&s<o,s<a&&(!l||s>l)?l=s:s>a&&(!c||s<c)&&(c=s));Array.from(w.rContainer.querySelectorAll("*:nth-child(-n+"+w.config.showMonths+") > ."+n)).forEach((function(n){var i,o,s,d=n.dateObj.getTime(),u=l>0&&d<l||c>0&&d>c;if(u)return n.classList.add("notAllowed"),void["inRange","startRange","endRange"].forEach((function(e){n.classList.remove(e)}));r&&!u||(["startRange","inRange","endRange","notAllowed"].forEach((function(e){n.classList.remove(e)})),void 0!==e&&(e.classList.add(t<=w.selectedDates[0].getTime()?"startRange":"endRange"),a<t&&d===a?n.classList.add("startRange"):a>t&&d===a&&n.classList.add("endRange"),d>=l&&(0===c||d<=c)&&(o=a,s=t,(i=d)>Math.min(o,s)&&i<Math.max(o,s))&&n.classList.add("inRange")))}))}}function re(){!w.isOpen||w.config.static||w.config.inline||de()}function le(e){return function(n){var t=w.config["_"+e+"Date"]=w.parseDate(n,w.config.dateFormat),a=w.config["_"+("min"===e?"max":"min")+"Date"];void 0!==t&&(w["min"===e?"minDateHasTime":"maxDateHasTime"]=t.getHours()>0||t.getMinutes()>0||t.getSeconds()>0),w.selectedDates&&(w.selectedDates=w.selectedDates.filter((function(e){return ne(e)})),w.selectedDates.length||"min"!==e||F(t),ye()),w.daysContainer&&(ue(),void 0!==t?w.currentYearElement[e]=t.getFullYear().toString():w.currentYearElement.removeAttribute(e),w.currentYearElement.disabled=!!a&&void 0!==t&&a.getFullYear()===t.getFullYear())}}function ce(){return w.config.wrap?p.querySelector("[data-input]"):p}function se(){"object"!=typeof w.config.locale&&void 0===I.l10ns[w.config.locale]&&w.config.errorHandler(new Error("flatpickr: invalid locale "+w.config.locale)),w.l10n=e(e({},I.l10ns.default),"object"==typeof w.config.locale?w.config.locale:"default"!==w.config.locale?I.l10ns[w.config.locale]:void 0),D.D="("+w.l10n.weekdays.shorthand.join("|")+")",D.l="("+w.l10n.weekdays.longhand.join("|")+")",D.M="("+w.l10n.months.shorthand.join("|")+")",D.F="("+w.l10n.months.longhand.join("|")+")",D.K="("+w.l10n.amPM[0]+"|"+w.l10n.amPM[1]+"|"+w.l10n.amPM[0].toLowerCase()+"|"+w.l10n.amPM[1].toLowerCase()+")",void 0===e(e({},v),JSON.parse(JSON.stringify(p.dataset||{}))).time_24hr&&void 0===I.defaultConfig.time_24hr&&(w.config.time_24hr=w.l10n.time_24hr),w.formatDate=b(w),w.parseDate=C({config:w.config,l10n:w.l10n})}function de(e){if("function"!=typeof w.config.position){if(void 0!==w.calendarContainer){De("onPreCalendarPosition");var n=e||w._positionElement,t=Array.prototype.reduce.call(w.calendarContainer.children,(function(e,n){return e+n.offsetHeight}),0),a=w.calendarContainer.offsetWidth,i=w.config.position.split(" "),o=i[0],r=i.length>1?i[1]:null,l=n.getBoundingClientRect(),c=window.innerHeight-l.bottom,d="above"===o||"below"!==o&&c<t&&l.top>t,u=window.pageYOffset+l.top+(d?-t-2:n.offsetHeight+2);if(s(w.calendarContainer,"arrowTop",!d),s(w.calendarContainer,"arrowBottom",d),!w.config.inline){var f=window.pageXOffset+l.left,m=!1,g=!1;"center"===r?(f-=(a-l.width)/2,m=!0):"right"===r&&(f-=a-l.width,g=!0),s(w.calendarContainer,"arrowLeft",!m&&!g),s(w.calendarContainer,"arrowCenter",m),s(w.calendarContainer,"arrowRight",g);var p=window.document.body.offsetWidth-(window.pageXOffset+l.right),h=f+a>window.document.body.offsetWidth,v=p+a>window.document.body.offsetWidth;if(s(w.calendarContainer,"rightMost",h),!w.config.static)if(w.calendarContainer.style.top=u+"px",h)if(v){var D=function(){for(var e=null,n=0;n<document.styleSheets.length;n++){var t=document.styleSheets[n];if(t.cssRules){try{t.cssRules}catch(e){continue}e=t;break}}return null!=e?e:(a=document.createElement("style"),document.head.appendChild(a),a.sheet);var a}();if(void 0===D)return;var b=window.document.body.offsetWidth,C=Math.max(0,b/2-a/2),M=D.cssRules.length,y="{left:"+l.left+"px;right:auto;}";s(w.calendarContainer,"rightMost",!1),s(w.calendarContainer,"centerMost",!0),D.insertRule(".flatpickr-calendar.centerMost:before,.flatpickr-calendar.centerMost:after"+y,M),w.calendarContainer.style.left=C+"px",w.calendarContainer.style.right="auto"}else w.calendarContainer.style.left="auto",w.calendarContainer.style.right=p+"px";else w.calendarContainer.style.left=f+"px",w.calendarContainer.style.right="auto"}}}else w.config.position(w,e)}function ue(){w.config.noCalendar||w.isMobile||(q(),Ce(),U())}function fe(){w._input.focus(),-1!==window.navigator.userAgent.indexOf("MSIE")||void 0!==navigator.msMaxTouchPoints?setTimeout(w.close,0):w.close()}function me(e){e.preventDefault(),e.stopPropagation();var n=f(g(e),(function(e){return e.classList&&e.classList.contains("flatpickr-day")&&!e.classList.contains("flatpickr-disabled")&&!e.classList.contains("notAllowed")}));if(void 0!==n){var t=n,a=w.latestSelectedDateObj=new Date(t.dateObj.getTime()),i=(a.getMonth()<w.currentMonth||a.getMonth()>w.currentMonth+w.config.showMonths-1)&&"range"!==w.config.mode;if(w.selectedDateElem=t,"single"===w.config.mode)w.selectedDates=[a];else if("multiple"===w.config.mode){var o=be(a);o?w.selectedDates.splice(parseInt(o),1):w.selectedDates.push(a)}else"range"===w.config.mode&&(2===w.selectedDates.length&&w.clear(!1,!1),w.latestSelectedDateObj=a,w.selectedDates.push(a),0!==M(a,w.selectedDates[0],!0)&&w.selectedDates.sort((function(e,n){return e.getTime()-n.getTime()})));if(O(),i){var r=w.currentYear!==a.getFullYear();w.currentYear=a.getFullYear(),w.currentMonth=a.getMonth(),r&&(De("onYearChange"),q()),De("onMonthChange")}if(Ce(),U(),ye(),i||"range"===w.config.mode||1!==w.config.showMonths?void 0!==w.selectedDateElem&&void 0===w.hourElement&&w.selectedDateElem&&w.selectedDateElem.focus():W(t),void 0!==w.hourElement&&void 0!==w.hourElement&&w.hourElement.focus(),w.config.closeOnSelect){var l="single"===w.config.mode&&!w.config.enableTime,c="range"===w.config.mode&&2===w.selectedDates.length&&!w.config.enableTime;(l||c)&&fe()}Y()}}w.parseDate=C({config:w.config,l10n:w.l10n}),w._handlers=[],w.pluginElements=[],w.loadedPlugins=[],w._bind=P,w._setHoursFromDate=F,w._positionCalendar=de,w.changeMonth=Z,w.changeYear=ee,w.clear=function(e,n){void 0===e&&(e=!0);void 0===n&&(n=!0);w.input.value="",void 0!==w.altInput&&(w.altInput.value="");void 0!==w.mobileInput&&(w.mobileInput.value="");w.selectedDates=[],w.latestSelectedDateObj=void 0,!0===n&&(w.currentYear=w._initialDate.getFullYear(),w.currentMonth=w._initialDate.getMonth());if(!0===w.config.enableTime){var t=E(w.config),a=t.hours,i=t.minutes,o=t.seconds;A(a,i,o)}w.redraw(),e&&De("onChange")},w.close=function(){w.isOpen=!1,w.isMobile||(void 0!==w.calendarContainer&&w.calendarContainer.classList.remove("open"),void 0!==w._input&&w._input.classList.remove("active"));De("onClose")},w.onMouseOver=oe,w._createElement=d,w.createDay=R,w.destroy=function(){void 0!==w.config&&De("onDestroy");for(var e=w._handlers.length;e--;)w._handlers[e].remove();if(w._handlers=[],w.mobileInput)w.mobileInput.parentNode&&w.mobileInput.parentNode.removeChild(w.mobileInput),w.mobileInput=void 0;else if(w.calendarContainer&&w.calendarContainer.parentNode)if(w.config.static&&w.calendarContainer.parentNode){var n=w.calendarContainer.parentNode;if(n.lastChild&&n.removeChild(n.lastChild),n.parentNode){for(;n.firstChild;)n.parentNode.insertBefore(n.firstChild,n);n.parentNode.removeChild(n)}}else w.calendarContainer.parentNode.removeChild(w.calendarContainer);w.altInput&&(w.input.type="text",w.altInput.parentNode&&w.altInput.parentNode.removeChild(w.altInput),delete w.altInput);w.input&&(w.input.type=w.input._type,w.input.classList.remove("flatpickr-input"),w.input.removeAttribute("readonly"));["_showTimeInput","latestSelectedDateObj","_hideNextMonthArrow","_hidePrevMonthArrow","__hideNextMonthArrow","__hidePrevMonthArrow","isMobile","isOpen","selectedDateElem","minDateHasTime","maxDateHasTime","days","daysContainer","_input","_positionElement","innerContainer","rContainer","monthNav","todayDateElem","calendarContainer","weekdayContainer","prevMonthNav","nextMonthNav","monthsDropdownContainer","currentMonthElement","currentYearElement","navigationCurrentMonth","selectedDateElem","config"].forEach((function(e){try{delete w[e]}catch(e){}}))},w.isEnabled=ne,w.jumpToDate=j,w.updateValue=ye,w.open=function(e,n){void 0===n&&(n=w._positionElement);if(!0===w.isMobile){if(e){e.preventDefault();var t=g(e);t&&t.blur()}return void 0!==w.mobileInput&&(w.mobileInput.focus(),w.mobileInput.click()),void De("onOpen")}if(w._input.disabled||w.config.inline)return;var a=w.isOpen;w.isOpen=!0,a||(w.calendarContainer.classList.add("open"),w._input.classList.add("active"),De("onOpen"),de(n));!0===w.config.enableTime&&!0===w.config.noCalendar&&(!1!==w.config.allowInput||void 0!==e&&w.timeContainer.contains(e.relatedTarget)||setTimeout((function(){return w.hourElement.select()}),50))},w.redraw=ue,w.set=function(e,n){if(null!==e&&"object"==typeof e)for(var a in Object.assign(w.config,e),e)void 0!==ge[a]&&ge[a].forEach((function(e){return e()}));else w.config[e]=n,void 0!==ge[e]?ge[e].forEach((function(e){return e()})):t.indexOf(e)>-1&&(w.config[e]=c(n));w.redraw(),ye(!0)},w.setDate=function(e,n,t){void 0===n&&(n=!1);void 0===t&&(t=w.config.dateFormat);if(0!==e&&!e||e instanceof Array&&0===e.length)return w.clear(n);pe(e,t),w.latestSelectedDateObj=w.selectedDates[w.selectedDates.length-1],w.redraw(),j(void 0,n),F(),0===w.selectedDates.length&&w.clear(!1);ye(n),n&&De("onChange")},w.toggle=function(e){if(!0===w.isOpen)return w.close();w.open(e)};var ge={locale:[se,G],showMonths:[V,S,z],minDate:[j],maxDate:[j],positionElement:[ve],clickOpens:[function(){!0===w.config.clickOpens?(P(w._input,"focus",w.open),P(w._input,"click",w.open)):(w._input.removeEventListener("focus",w.open),w._input.removeEventListener("click",w.open))}]};function pe(e,n){var t=[];if(e instanceof Array)t=e.map((function(e){return w.parseDate(e,n)}));else if(e instanceof Date||"number"==typeof e)t=[w.parseDate(e,n)];else if("string"==typeof e)switch(w.config.mode){case"single":case"time":t=[w.parseDate(e,n)];break;case"multiple":t=e.split(w.config.conjunction).map((function(e){return w.parseDate(e,n)}));break;case"range":t=e.split(w.l10n.rangeSeparator).map((function(e){return w.parseDate(e,n)}))}else w.config.errorHandler(new Error("Invalid date supplied: "+JSON.stringify(e)));w.selectedDates=w.config.allowInvalidPreload?t:t.filter((function(e){return e instanceof Date&&ne(e,!1)})),"range"===w.config.mode&&w.selectedDates.sort((function(e,n){return e.getTime()-n.getTime()}))}function he(e){return e.slice().map((function(e){return"string"==typeof e||"number"==typeof e||e instanceof Date?w.parseDate(e,void 0,!0):e&&"object"==typeof e&&e.from&&e.to?{from:w.parseDate(e.from,void 0),to:w.parseDate(e.to,void 0)}:e})).filter((function(e){return e}))}function ve(){w._positionElement=w.config.positionElement||w._input}function De(e,n){if(void 0!==w.config){var t=w.config[e];if(void 0!==t&&t.length>0)for(var a=0;t[a]&&a<t.length;a++)t[a](w.selectedDates,w.input.value,w,n);"onChange"===e&&(w.input.dispatchEvent(we("change")),w.input.dispatchEvent(we("input")))}}function we(e){var n=document.createEvent("Event");return n.initEvent(e,!0,!0),n}function be(e){for(var n=0;n<w.selectedDates.length;n++){var t=w.selectedDates[n];if(t instanceof Date&&0===M(t,e))return""+n}return!1}function Ce(){w.config.noCalendar||w.isMobile||!w.monthNav||(w.yearElements.forEach((function(e,n){var t=new Date(w.currentYear,w.currentMonth,1);t.setMonth(w.currentMonth+n),w.config.showMonths>1||"static"===w.config.monthSelectorType?w.monthElements[n].textContent=h(t.getMonth(),w.config.shorthandCurrentMonth,w.l10n)+" ":w.monthsDropdownContainer.value=t.getMonth().toString(),e.value=t.getFullYear().toString()})),w._hidePrevMonthArrow=void 0!==w.config.minDate&&(w.currentYear===w.config.minDate.getFullYear()?w.currentMonth<=w.config.minDate.getMonth():w.currentYear<w.config.minDate.getFullYear()),w._hideNextMonthArrow=void 0!==w.config.maxDate&&(w.currentYear===w.config.maxDate.getFullYear()?w.currentMonth+1>w.config.maxDate.getMonth():w.currentYear>w.config.maxDate.getFullYear()))}function Me(e){var n=e||(w.config.altInput?w.config.altFormat:w.config.dateFormat);return w.selectedDates.map((function(e){return w.formatDate(e,n)})).filter((function(e,n,t){return"range"!==w.config.mode||w.config.enableTime||t.indexOf(e)===n})).join("range"!==w.config.mode?w.config.conjunction:w.l10n.rangeSeparator)}function ye(e){void 0===e&&(e=!0),void 0!==w.mobileInput&&w.mobileFormatStr&&(w.mobileInput.value=void 0!==w.latestSelectedDateObj?w.formatDate(w.latestSelectedDateObj,w.mobileFormatStr):""),w.input.value=Me(w.config.dateFormat),void 0!==w.altInput&&(w.altInput.value=Me(w.config.altFormat)),!1!==e&&De("onValueUpdate")}function xe(e){var n=g(e),t=w.prevMonthNav.contains(n),a=w.nextMonthNav.contains(n);t||a?Z(t?-1:1):w.yearElements.indexOf(n)>=0?n.select():n.classList.contains("arrowUp")?w.changeYear(w.currentYear+1):n.classList.contains("arrowDown")&&w.changeYear(w.currentYear-1)}return function(){w.element=w.input=p,w.isOpen=!1,function(){var n=["wrap","weekNumbers","allowInput","allowInvalidPreload","clickOpens","time_24hr","enableTime","noCalendar","altInput","shorthandCurrentMonth","inline","static","enableSeconds","disableMobile"],i=e(e({},JSON.parse(JSON.stringify(p.dataset||{}))),v),o={};w.config.parseDate=i.parseDate,w.config.formatDate=i.formatDate,Object.defineProperty(w.config,"enable",{get:function(){return w.config._enable},set:function(e){w.config._enable=he(e)}}),Object.defineProperty(w.config,"disable",{get:function(){return w.config._disable},set:function(e){w.config._disable=he(e)}});var r="time"===i.mode;if(!i.dateFormat&&(i.enableTime||r)){var l=I.defaultConfig.dateFormat||a.dateFormat;o.dateFormat=i.noCalendar||r?"H:i"+(i.enableSeconds?":S":""):l+" H:i"+(i.enableSeconds?":S":"")}if(i.altInput&&(i.enableTime||r)&&!i.altFormat){var s=I.defaultConfig.altFormat||a.altFormat;o.altFormat=i.noCalendar||r?"h:i"+(i.enableSeconds?":S K":" K"):s+" h:i"+(i.enableSeconds?":S":"")+" K"}Object.defineProperty(w.config,"minDate",{get:function(){return w.config._minDate},set:le("min")}),Object.defineProperty(w.config,"maxDate",{get:function(){return w.config._maxDate},set:le("max")});var d=function(e){return function(n){w.config["min"===e?"_minTime":"_maxTime"]=w.parseDate(n,"H:i:S")}};Object.defineProperty(w.config,"minTime",{get:function(){return w.config._minTime},set:d("min")}),Object.defineProperty(w.config,"maxTime",{get:function(){return w.config._maxTime},set:d("max")}),"time"===i.mode&&(w.config.noCalendar=!0,w.config.enableTime=!0);Object.assign(w.config,o,i);for(var u=0;u<n.length;u++)w.config[n[u]]=!0===w.config[n[u]]||"true"===w.config[n[u]];t.filter((function(e){return void 0!==w.config[e]})).forEach((function(e){w.config[e]=c(w.config[e]||[]).map(T)})),w.isMobile=!w.config.disableMobile&&!w.config.inline&&"single"===w.config.mode&&!w.config.disable.length&&!w.config.enable&&!w.config.weekNumbers&&/Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini/i.test(navigator.userAgent);for(u=0;u<w.config.plugins.length;u++){var f=w.config.plugins[u](w)||{};for(var m in f)t.indexOf(m)>-1?w.config[m]=c(f[m]).map(T).concat(w.config[m]):void 0===i[m]&&(w.config[m]=f[m])}i.altInputClass||(w.config.altInputClass=ce().className+" "+w.config.altInputClass);De("onParseConfig")}(),se(),function(){if(w.input=ce(),!w.input)return void w.config.errorHandler(new Error("Invalid input element specified"));w.input._type=w.input.type,w.input.type="text",w.input.classList.add("flatpickr-input"),w._input=w.input,w.config.altInput&&(w.altInput=d(w.input.nodeName,w.config.altInputClass),w._input=w.altInput,w.altInput.placeholder=w.input.placeholder,w.altInput.disabled=w.input.disabled,w.altInput.required=w.input.required,w.altInput.tabIndex=w.input.tabIndex,w.altInput.type="text",w.input.setAttribute("type","hidden"),!w.config.static&&w.input.parentNode&&w.input.parentNode.insertBefore(w.altInput,w.input.nextSibling));w.config.allowInput||w._input.setAttribute("readonly","readonly");ve()}(),function(){w.selectedDates=[],w.now=w.parseDate(w.config.now)||new Date;var e=w.config.defaultDate||("INPUT"!==w.input.nodeName&&"TEXTAREA"!==w.input.nodeName||!w.input.placeholder||w.input.value!==w.input.placeholder?w.input.value:null);e&&pe(e,w.config.dateFormat);w._initialDate=w.selectedDates.length>0?w.selectedDates[0]:w.config.minDate&&w.config.minDate.getTime()>w.now.getTime()?w.config.minDate:w.config.maxDate&&w.config.maxDate.getTime()<w.now.getTime()?w.config.maxDate:w.now,w.currentYear=w._initialDate.getFullYear(),w.currentMonth=w._initialDate.getMonth(),w.selectedDates.length>0&&(w.latestSelectedDateObj=w.selectedDates[0]);void 0!==w.config.minTime&&(w.config.minTime=w.parseDate(w.config.minTime,"H:i"));void 0!==w.config.maxTime&&(w.config.maxTime=w.parseDate(w.config.maxTime,"H:i"));w.minDateHasTime=!!w.config.minDate&&(w.config.minDate.getHours()>0||w.config.minDate.getMinutes()>0||w.config.minDate.getSeconds()>0),w.maxDateHasTime=!!w.config.maxDate&&(w.config.maxDate.getHours()>0||w.config.maxDate.getMinutes()>0||w.config.maxDate.getSeconds()>0)}(),w.utils={getDaysInMonth:function(e,n){return void 0===e&&(e=w.currentMonth),void 0===n&&(n=w.currentYear),1===e&&(n%4==0&&n%100!=0||n%400==0)?29:w.l10n.daysInMonth[e]}},w.isMobile||function(){var e=window.document.createDocumentFragment();if(w.calendarContainer=d("div","flatpickr-calendar"),w.calendarContainer.tabIndex=-1,!w.config.noCalendar){if(e.appendChild((w.monthNav=d("div","flatpickr-months"),w.yearElements=[],w.monthElements=[],w.prevMonthNav=d("span","flatpickr-prev-month"),w.prevMonthNav.innerHTML=w.config.prevArrow,w.nextMonthNav=d("span","flatpickr-next-month"),w.nextMonthNav.innerHTML=w.config.nextArrow,V(),Object.defineProperty(w,"_hidePrevMonthArrow",{get:function(){return w.__hidePrevMonthArrow},set:function(e){w.__hidePrevMonthArrow!==e&&(s(w.prevMonthNav,"flatpickr-disabled",e),w.__hidePrevMonthArrow=e)}}),Object.defineProperty(w,"_hideNextMonthArrow",{get:function(){return w.__hideNextMonthArrow},set:function(e){w.__hideNextMonthArrow!==e&&(s(w.nextMonthNav,"flatpickr-disabled",e),w.__hideNextMonthArrow=e)}}),w.currentYearElement=w.yearElements[0],Ce(),w.monthNav)),w.innerContainer=d("div","flatpickr-innerContainer"),w.config.weekNumbers){var n=function(){w.calendarContainer.classList.add("hasWeeks");var e=d("div","flatpickr-weekwrapper");e.appendChild(d("span","flatpickr-weekday",w.l10n.weekAbbreviation));var n=d("div","flatpickr-weeks");return e.appendChild(n),{weekWrapper:e,weekNumbers:n}}(),t=n.weekWrapper,a=n.weekNumbers;w.innerContainer.appendChild(t),w.weekNumbers=a,w.weekWrapper=t}w.rContainer=d("div","flatpickr-rContainer"),w.rContainer.appendChild(z()),w.daysContainer||(w.daysContainer=d("div","flatpickr-days"),w.daysContainer.tabIndex=-1),U(),w.rContainer.appendChild(w.daysContainer),w.innerContainer.appendChild(w.rContainer),e.appendChild(w.innerContainer)}w.config.enableTime&&e.appendChild(function(){w.calendarContainer.classList.add("hasTime"),w.config.noCalendar&&w.calendarContainer.classList.add("noCalendar");var e=E(w.config);w.timeContainer=d("div","flatpickr-time"),w.timeContainer.tabIndex=-1;var n=d("span","flatpickr-time-separator",":"),t=m("flatpickr-hour",{"aria-label":w.l10n.hourAriaLabel});w.hourElement=t.getElementsByTagName("input")[0];var a=m("flatpickr-minute",{"aria-label":w.l10n.minuteAriaLabel});w.minuteElement=a.getElementsByTagName("input")[0],w.hourElement.tabIndex=w.minuteElement.tabIndex=-1,w.hourElement.value=o(w.latestSelectedDateObj?w.latestSelectedDateObj.getHours():w.config.time_24hr?e.hours:function(e){switch(e%24){case 0:case 12:return 12;default:return e%12}}(e.hours)),w.minuteElement.value=o(w.latestSelectedDateObj?w.latestSelectedDateObj.getMinutes():e.minutes),w.hourElement.setAttribute("step",w.config.hourIncrement.toString()),w.minuteElement.setAttribute("step",w.config.minuteIncrement.toString()),w.hourElement.setAttribute("min",w.config.time_24hr?"0":"1"),w.hourElement.setAttribute("max",w.config.time_24hr?"23":"12"),w.hourElement.setAttribute("maxlength","2"),w.minuteElement.setAttribute("min","0"),w.minuteElement.setAttribute("max","59"),w.minuteElement.setAttribute("maxlength","2"),w.timeContainer.appendChild(t),w.timeContainer.appendChild(n),w.timeContainer.appendChild(a),w.config.time_24hr&&w.timeContainer.classList.add("time24hr");if(w.config.enableSeconds){w.timeContainer.classList.add("hasSeconds");var i=m("flatpickr-second");w.secondElement=i.getElementsByTagName("input")[0],w.secondElement.value=o(w.latestSelectedDateObj?w.latestSelectedDateObj.getSeconds():e.seconds),w.secondElement.setAttribute("step",w.minuteElement.getAttribute("step")),w.secondElement.setAttribute("min","0"),w.secondElement.setAttribute("max","59"),w.secondElement.setAttribute("maxlength","2"),w.timeContainer.appendChild(d("span","flatpickr-time-separator",":")),w.timeContainer.appendChild(i)}w.config.time_24hr||(w.amPM=d("span","flatpickr-am-pm",w.l10n.amPM[r((w.latestSelectedDateObj?w.hourElement.value:w.config.defaultHour)>11)]),w.amPM.title=w.l10n.toggleTitle,w.amPM.tabIndex=-1,w.timeContainer.appendChild(w.amPM));return w.timeContainer}());s(w.calendarContainer,"rangeMode","range"===w.config.mode),s(w.calendarContainer,"animate",!0===w.config.animate),s(w.calendarContainer,"multiMonth",w.config.showMonths>1),w.calendarContainer.appendChild(e);var i=void 0!==w.config.appendTo&&void 0!==w.config.appendTo.nodeType;if((w.config.inline||w.config.static)&&(w.calendarContainer.classList.add(w.config.inline?"inline":"static"),w.config.inline&&(!i&&w.element.parentNode?w.element.parentNode.insertBefore(w.calendarContainer,w._input.nextSibling):void 0!==w.config.appendTo&&w.config.appendTo.appendChild(w.calendarContainer)),w.config.static)){var l=d("div","flatpickr-wrapper");w.element.parentNode&&w.element.parentNode.insertBefore(l,w.element),l.appendChild(w.element),w.altInput&&l.appendChild(w.altInput),l.appendChild(w.calendarContainer)}w.config.static||w.config.inline||(void 0!==w.config.appendTo?w.config.appendTo:window.document.body).appendChild(w.calendarContainer)}(),function(){w.config.wrap&&["open","close","toggle","clear"].forEach((function(e){Array.prototype.forEach.call(w.element.querySelectorAll("[data-"+e+"]"),(function(n){return P(n,"click",w[e])}))}));if(w.isMobile)return void function(){var e=w.config.enableTime?w.config.noCalendar?"time":"datetime-local":"date";w.mobileInput=d("input",w.input.className+" flatpickr-mobile"),w.mobileInput.tabIndex=1,w.mobileInput.type=e,w.mobileInput.disabled=w.input.disabled,w.mobileInput.required=w.input.required,w.mobileInput.placeholder=w.input.placeholder,w.mobileFormatStr="datetime-local"===e?"Y-m-d\\TH:i:S":"date"===e?"Y-m-d":"H:i:S",w.selectedDates.length>0&&(w.mobileInput.defaultValue=w.mobileInput.value=w.formatDate(w.selectedDates[0],w.mobileFormatStr));w.config.minDate&&(w.mobileInput.min=w.formatDate(w.config.minDate,"Y-m-d"));w.config.maxDate&&(w.mobileInput.max=w.formatDate(w.config.maxDate,"Y-m-d"));w.input.getAttribute("step")&&(w.mobileInput.step=String(w.input.getAttribute("step")));w.input.type="hidden",void 0!==w.altInput&&(w.altInput.type="hidden");try{w.input.parentNode&&w.input.parentNode.insertBefore(w.mobileInput,w.input.nextSibling)}catch(e){}P(w.mobileInput,"change",(function(e){w.setDate(g(e).value,!1,w.mobileFormatStr),De("onChange"),De("onClose")}))}();var e=l(re,50);w._debouncedChange=l(Y,300),w.daysContainer&&!/iPhone|iPad|iPod/i.test(navigator.userAgent)&&P(w.daysContainer,"mouseover",(function(e){"range"===w.config.mode&&oe(g(e))}));P(w._input,"keydown",ie),void 0!==w.calendarContainer&&P(w.calendarContainer,"keydown",ie);w.config.inline||w.config.static||P(window,"resize",e);void 0!==window.ontouchstart?P(window.document,"touchstart",X):P(window.document,"mousedown",X);P(window.document,"focus",X,{capture:!0}),!0===w.config.clickOpens&&(P(w._input,"focus",w.open),P(w._input,"click",w.open));void 0!==w.daysContainer&&(P(w.monthNav,"click",xe),P(w.monthNav,["keyup","increment"],N),P(w.daysContainer,"click",me));if(void 0!==w.timeContainer&&void 0!==w.minuteElement&&void 0!==w.hourElement){var n=function(e){return g(e).select()};P(w.timeContainer,["increment"],_),P(w.timeContainer,"blur",_,{capture:!0}),P(w.timeContainer,"click",H),P([w.hourElement,w.minuteElement],["focus","click"],n),void 0!==w.secondElement&&P(w.secondElement,"focus",(function(){return w.secondElement&&w.secondElement.select()})),void 0!==w.amPM&&P(w.amPM,"click",(function(e){_(e)}))}w.config.allowInput&&P(w._input,"blur",ae)}(),(w.selectedDates.length||w.config.noCalendar)&&(w.config.enableTime&&F(w.config.noCalendar?w.latestSelectedDateObj:void 0),ye(!1)),S();var n=/^((?!chrome|android).)*safari/i.test(navigator.userAgent);!w.isMobile&&n&&de(),De("onReady")}(),w}function T(e,n){for(var t=Array.prototype.slice.call(e).filter((function(e){return e instanceof HTMLElement})),a=[],i=0;i<t.length;i++){var o=t[i];try{if(null!==o.getAttribute("data-fp-omit"))continue;void 0!==o._flatpickr&&(o._flatpickr.destroy(),o._flatpickr=void 0),o._flatpickr=k(o,n||{}),a.push(o._flatpickr)}catch(e){console.error(e)}}return 1===a.length?a[0]:a}"undefined"!=typeof HTMLElement&&"undefined"!=typeof HTMLCollection&&"undefined"!=typeof NodeList&&(HTMLCollection.prototype.flatpickr=NodeList.prototype.flatpickr=function(e){return T(this,e)},HTMLElement.prototype.flatpickr=function(e){return T([this],e)});var I=function(e,n){return"string"==typeof e?T(window.document.querySelectorAll(e),n):e instanceof Node?T([e],n):T(e,n)};return I.defaultConfig={},I.l10ns={en:e({},i),default:e({},i)},I.localize=function(n){I.l10ns.default=e(e({},I.l10ns.default),n)},I.setDefaults=function(n){I.defaultConfig=e(e({},I.defaultConfig),n)},I.parseDate=C({}),I.formatDate=b({}),I.compareDates=M,"undefined"!=typeof jQuery&&void 0!==jQuery.fn&&(jQuery.fn.flatpickr=function(e){return T(this,e)}),Date.prototype.fp_incr=function(e){return new Date(this.getFullYear(),this.getMonth(),this.getDate()+("string"==typeof e?parseInt(e,10):e))},"undefined"!=typeof window&&(window.flatpickr=I),I})); dist/flatpickr.css 0000644 00000045257 15167673014 0010227 0 ustar 00 .flatpickr-calendar {
background: transparent;
opacity: 0;
display: none;
text-align: center;
visibility: hidden;
padding: 0;
-webkit-animation: none;
animation: none;
direction: ltr;
border: 0;
font-size: 14px;
line-height: 24px;
border-radius: 5px;
position: absolute;
width: 307.875px;
-webkit-box-sizing: border-box;
box-sizing: border-box;
-ms-touch-action: manipulation;
touch-action: manipulation;
background: #fff;
-webkit-box-shadow: 1px 0 0 #e6e6e6, -1px 0 0 #e6e6e6, 0 1px 0 #e6e6e6, 0 -1px 0 #e6e6e6, 0 3px 13px rgba(0,0,0,0.08);
box-shadow: 1px 0 0 #e6e6e6, -1px 0 0 #e6e6e6, 0 1px 0 #e6e6e6, 0 -1px 0 #e6e6e6, 0 3px 13px rgba(0,0,0,0.08);
}
.flatpickr-calendar.open,
.flatpickr-calendar.inline {
opacity: 1;
max-height: 640px;
visibility: visible;
}
.flatpickr-calendar.open {
display: inline-block;
z-index: 99999;
}
.flatpickr-calendar.animate.open {
-webkit-animation: fpFadeInDown 300ms cubic-bezier(0.23, 1, 0.32, 1);
animation: fpFadeInDown 300ms cubic-bezier(0.23, 1, 0.32, 1);
}
.flatpickr-calendar.inline {
display: block;
position: relative;
top: 2px;
}
.flatpickr-calendar.static {
position: absolute;
top: calc(100% + 2px);
}
.flatpickr-calendar.static.open {
z-index: 999;
display: block;
}
.flatpickr-calendar.multiMonth .flatpickr-days .dayContainer:nth-child(n+1) .flatpickr-day.inRange:nth-child(7n+7) {
-webkit-box-shadow: none !important;
box-shadow: none !important;
}
.flatpickr-calendar.multiMonth .flatpickr-days .dayContainer:nth-child(n+2) .flatpickr-day.inRange:nth-child(7n+1) {
-webkit-box-shadow: -2px 0 0 #e6e6e6, 5px 0 0 #e6e6e6;
box-shadow: -2px 0 0 #e6e6e6, 5px 0 0 #e6e6e6;
}
.flatpickr-calendar .hasWeeks .dayContainer,
.flatpickr-calendar .hasTime .dayContainer {
border-bottom: 0;
border-bottom-right-radius: 0;
border-bottom-left-radius: 0;
}
.flatpickr-calendar .hasWeeks .dayContainer {
border-left: 0;
}
.flatpickr-calendar.hasTime .flatpickr-time {
height: 40px;
border-top: 1px solid #e6e6e6;
}
.flatpickr-calendar.noCalendar.hasTime .flatpickr-time {
height: auto;
}
.flatpickr-calendar:before,
.flatpickr-calendar:after {
position: absolute;
display: block;
pointer-events: none;
border: solid transparent;
content: '';
height: 0;
width: 0;
left: 22px;
}
.flatpickr-calendar.rightMost:before,
.flatpickr-calendar.arrowRight:before,
.flatpickr-calendar.rightMost:after,
.flatpickr-calendar.arrowRight:after {
left: auto;
right: 22px;
}
.flatpickr-calendar.arrowCenter:before,
.flatpickr-calendar.arrowCenter:after {
left: 50%;
right: 50%;
}
.flatpickr-calendar:before {
border-width: 5px;
margin: 0 -5px;
}
.flatpickr-calendar:after {
border-width: 4px;
margin: 0 -4px;
}
.flatpickr-calendar.arrowTop:before,
.flatpickr-calendar.arrowTop:after {
bottom: 100%;
}
.flatpickr-calendar.arrowTop:before {
border-bottom-color: #e6e6e6;
}
.flatpickr-calendar.arrowTop:after {
border-bottom-color: #fff;
}
.flatpickr-calendar.arrowBottom:before,
.flatpickr-calendar.arrowBottom:after {
top: 100%;
}
.flatpickr-calendar.arrowBottom:before {
border-top-color: #e6e6e6;
}
.flatpickr-calendar.arrowBottom:after {
border-top-color: #fff;
}
.flatpickr-calendar:focus {
outline: 0;
}
.flatpickr-wrapper {
position: relative;
display: inline-block;
}
.flatpickr-months {
display: -webkit-box;
display: -webkit-flex;
display: -ms-flexbox;
display: flex;
}
.flatpickr-months .flatpickr-month {
background: transparent;
color: rgba(0,0,0,0.9);
fill: rgba(0,0,0,0.9);
height: 34px;
line-height: 1;
text-align: center;
position: relative;
-webkit-user-select: none;
-moz-user-select: none;
-ms-user-select: none;
user-select: none;
overflow: hidden;
-webkit-box-flex: 1;
-webkit-flex: 1;
-ms-flex: 1;
flex: 1;
}
.flatpickr-months .flatpickr-prev-month,
.flatpickr-months .flatpickr-next-month {
-webkit-user-select: none;
-moz-user-select: none;
-ms-user-select: none;
user-select: none;
text-decoration: none;
cursor: pointer;
position: absolute;
top: 0;
height: 34px;
padding: 10px;
z-index: 3;
color: rgba(0,0,0,0.9);
fill: rgba(0,0,0,0.9);
}
.flatpickr-months .flatpickr-prev-month.flatpickr-disabled,
.flatpickr-months .flatpickr-next-month.flatpickr-disabled {
display: none;
}
.flatpickr-months .flatpickr-prev-month i,
.flatpickr-months .flatpickr-next-month i {
position: relative;
}
.flatpickr-months .flatpickr-prev-month.flatpickr-prev-month,
.flatpickr-months .flatpickr-next-month.flatpickr-prev-month {
/*
/*rtl:begin:ignore*/
/*
*/
left: 0;
/*
/*rtl:end:ignore*/
/*
*/
}
/*
/*rtl:begin:ignore*/
/*
/*rtl:end:ignore*/
.flatpickr-months .flatpickr-prev-month.flatpickr-next-month,
.flatpickr-months .flatpickr-next-month.flatpickr-next-month {
/*
/*rtl:begin:ignore*/
/*
*/
right: 0;
/*
/*rtl:end:ignore*/
/*
*/
}
/*
/*rtl:begin:ignore*/
/*
/*rtl:end:ignore*/
.flatpickr-months .flatpickr-prev-month:hover,
.flatpickr-months .flatpickr-next-month:hover {
color: #959ea9;
}
.flatpickr-months .flatpickr-prev-month:hover svg,
.flatpickr-months .flatpickr-next-month:hover svg {
fill: #f64747;
}
.flatpickr-months .flatpickr-prev-month svg,
.flatpickr-months .flatpickr-next-month svg {
width: 14px;
height: 14px;
}
.flatpickr-months .flatpickr-prev-month svg path,
.flatpickr-months .flatpickr-next-month svg path {
-webkit-transition: fill 0.1s;
transition: fill 0.1s;
fill: inherit;
}
.numInputWrapper {
position: relative;
height: auto;
}
.numInputWrapper input,
.numInputWrapper span {
display: inline-block;
}
.numInputWrapper input {
width: 100%;
}
.numInputWrapper input::-ms-clear {
display: none;
}
.numInputWrapper input::-webkit-outer-spin-button,
.numInputWrapper input::-webkit-inner-spin-button {
margin: 0;
-webkit-appearance: none;
}
.numInputWrapper span {
position: absolute;
right: 0;
width: 14px;
padding: 0 4px 0 2px;
height: 50%;
line-height: 50%;
opacity: 0;
cursor: pointer;
border: 1px solid rgba(57,57,57,0.15);
-webkit-box-sizing: border-box;
box-sizing: border-box;
}
.numInputWrapper span:hover {
background: rgba(0,0,0,0.1);
}
.numInputWrapper span:active {
background: rgba(0,0,0,0.2);
}
.numInputWrapper span:after {
display: block;
content: "";
position: absolute;
}
.numInputWrapper span.arrowUp {
top: 0;
border-bottom: 0;
}
.numInputWrapper span.arrowUp:after {
border-left: 4px solid transparent;
border-right: 4px solid transparent;
border-bottom: 4px solid rgba(57,57,57,0.6);
top: 26%;
}
.numInputWrapper span.arrowDown {
top: 50%;
}
.numInputWrapper span.arrowDown:after {
border-left: 4px solid transparent;
border-right: 4px solid transparent;
border-top: 4px solid rgba(57,57,57,0.6);
top: 40%;
}
.numInputWrapper span svg {
width: inherit;
height: auto;
}
.numInputWrapper span svg path {
fill: rgba(0,0,0,0.5);
}
.numInputWrapper:hover {
background: rgba(0,0,0,0.05);
}
.numInputWrapper:hover span {
opacity: 1;
}
.flatpickr-current-month {
font-size: 135%;
line-height: inherit;
font-weight: 300;
color: inherit;
position: absolute;
width: 75%;
left: 12.5%;
padding: 7.48px 0 0 0;
line-height: 1;
height: 34px;
display: inline-block;
text-align: center;
-webkit-transform: translate3d(0px, 0px, 0px);
transform: translate3d(0px, 0px, 0px);
}
.flatpickr-current-month span.cur-month {
font-family: inherit;
font-weight: 700;
color: inherit;
display: inline-block;
margin-left: 0.5ch;
padding: 0;
}
.flatpickr-current-month span.cur-month:hover {
background: rgba(0,0,0,0.05);
}
.flatpickr-current-month .numInputWrapper {
width: 6ch;
width: 7ch\0;
display: inline-block;
}
.flatpickr-current-month .numInputWrapper span.arrowUp:after {
border-bottom-color: rgba(0,0,0,0.9);
}
.flatpickr-current-month .numInputWrapper span.arrowDown:after {
border-top-color: rgba(0,0,0,0.9);
}
.flatpickr-current-month input.cur-year {
background: transparent;
-webkit-box-sizing: border-box;
box-sizing: border-box;
color: inherit;
cursor: text;
padding: 0 0 0 0.5ch;
margin: 0;
display: inline-block;
font-size: inherit;
font-family: inherit;
font-weight: 300;
line-height: inherit;
height: auto;
border: 0;
border-radius: 0;
vertical-align: initial;
-webkit-appearance: textfield;
-moz-appearance: textfield;
appearance: textfield;
}
.flatpickr-current-month input.cur-year:focus {
outline: 0;
}
.flatpickr-current-month input.cur-year[disabled],
.flatpickr-current-month input.cur-year[disabled]:hover {
font-size: 100%;
color: rgba(0,0,0,0.5);
background: transparent;
pointer-events: none;
}
.flatpickr-current-month .flatpickr-monthDropdown-months {
appearance: menulist;
background: transparent;
border: none;
border-radius: 0;
box-sizing: border-box;
color: inherit;
cursor: pointer;
font-size: inherit;
font-family: inherit;
font-weight: 300;
height: auto;
line-height: inherit;
margin: -1px 0 0 0;
outline: none;
padding: 0 0 0 0.5ch;
position: relative;
vertical-align: initial;
-webkit-box-sizing: border-box;
-webkit-appearance: menulist;
-moz-appearance: menulist;
width: auto;
}
.flatpickr-current-month .flatpickr-monthDropdown-months:focus,
.flatpickr-current-month .flatpickr-monthDropdown-months:active {
outline: none;
}
.flatpickr-current-month .flatpickr-monthDropdown-months:hover {
background: rgba(0,0,0,0.05);
}
.flatpickr-current-month .flatpickr-monthDropdown-months .flatpickr-monthDropdown-month {
background-color: transparent;
outline: none;
padding: 0;
}
.flatpickr-weekdays {
background: transparent;
text-align: center;
overflow: hidden;
width: 100%;
display: -webkit-box;
display: -webkit-flex;
display: -ms-flexbox;
display: flex;
-webkit-box-align: center;
-webkit-align-items: center;
-ms-flex-align: center;
align-items: center;
height: 28px;
}
.flatpickr-weekdays .flatpickr-weekdaycontainer {
display: -webkit-box;
display: -webkit-flex;
display: -ms-flexbox;
display: flex;
-webkit-box-flex: 1;
-webkit-flex: 1;
-ms-flex: 1;
flex: 1;
}
span.flatpickr-weekday {
cursor: default;
font-size: 90%;
background: transparent;
color: rgba(0,0,0,0.54);
line-height: 1;
margin: 0;
text-align: center;
display: block;
-webkit-box-flex: 1;
-webkit-flex: 1;
-ms-flex: 1;
flex: 1;
font-weight: bolder;
}
.dayContainer,
.flatpickr-weeks {
padding: 1px 0 0 0;
}
.flatpickr-days {
position: relative;
overflow: hidden;
display: -webkit-box;
display: -webkit-flex;
display: -ms-flexbox;
display: flex;
-webkit-box-align: start;
-webkit-align-items: flex-start;
-ms-flex-align: start;
align-items: flex-start;
width: 307.875px;
}
.flatpickr-days:focus {
outline: 0;
}
.dayContainer {
padding: 0;
outline: 0;
text-align: left;
width: 307.875px;
min-width: 307.875px;
max-width: 307.875px;
-webkit-box-sizing: border-box;
box-sizing: border-box;
display: inline-block;
display: -ms-flexbox;
display: -webkit-box;
display: -webkit-flex;
display: flex;
-webkit-flex-wrap: wrap;
flex-wrap: wrap;
-ms-flex-wrap: wrap;
-ms-flex-pack: justify;
-webkit-justify-content: space-around;
justify-content: space-around;
-webkit-transform: translate3d(0px, 0px, 0px);
transform: translate3d(0px, 0px, 0px);
opacity: 1;
}
.dayContainer + .dayContainer {
-webkit-box-shadow: -1px 0 0 #e6e6e6;
box-shadow: -1px 0 0 #e6e6e6;
}
.flatpickr-day {
background: none;
border: 1px solid transparent;
border-radius: 150px;
-webkit-box-sizing: border-box;
box-sizing: border-box;
color: #393939;
cursor: pointer;
font-weight: 400;
width: 14.2857143%;
-webkit-flex-basis: 14.2857143%;
-ms-flex-preferred-size: 14.2857143%;
flex-basis: 14.2857143%;
max-width: 39px;
height: 39px;
line-height: 39px;
margin: 0;
display: inline-block;
position: relative;
-webkit-box-pack: center;
-webkit-justify-content: center;
-ms-flex-pack: center;
justify-content: center;
text-align: center;
}
.flatpickr-day.inRange,
.flatpickr-day.prevMonthDay.inRange,
.flatpickr-day.nextMonthDay.inRange,
.flatpickr-day.today.inRange,
.flatpickr-day.prevMonthDay.today.inRange,
.flatpickr-day.nextMonthDay.today.inRange,
.flatpickr-day:hover,
.flatpickr-day.prevMonthDay:hover,
.flatpickr-day.nextMonthDay:hover,
.flatpickr-day:focus,
.flatpickr-day.prevMonthDay:focus,
.flatpickr-day.nextMonthDay:focus {
cursor: pointer;
outline: 0;
background: #e6e6e6;
border-color: #e6e6e6;
}
.flatpickr-day.today {
border-color: #959ea9;
}
.flatpickr-day.today:hover,
.flatpickr-day.today:focus {
border-color: #959ea9;
background: #959ea9;
color: #fff;
}
.flatpickr-day.selected,
.flatpickr-day.startRange,
.flatpickr-day.endRange,
.flatpickr-day.selected.inRange,
.flatpickr-day.startRange.inRange,
.flatpickr-day.endRange.inRange,
.flatpickr-day.selected:focus,
.flatpickr-day.startRange:focus,
.flatpickr-day.endRange:focus,
.flatpickr-day.selected:hover,
.flatpickr-day.startRange:hover,
.flatpickr-day.endRange:hover,
.flatpickr-day.selected.prevMonthDay,
.flatpickr-day.startRange.prevMonthDay,
.flatpickr-day.endRange.prevMonthDay,
.flatpickr-day.selected.nextMonthDay,
.flatpickr-day.startRange.nextMonthDay,
.flatpickr-day.endRange.nextMonthDay {
background: #569ff7;
-webkit-box-shadow: none;
box-shadow: none;
color: #fff;
border-color: #569ff7;
}
.flatpickr-day.selected.startRange,
.flatpickr-day.startRange.startRange,
.flatpickr-day.endRange.startRange {
border-radius: 50px 0 0 50px;
}
.flatpickr-day.selected.endRange,
.flatpickr-day.startRange.endRange,
.flatpickr-day.endRange.endRange {
border-radius: 0 50px 50px 0;
}
.flatpickr-day.selected.startRange + .endRange:not(:nth-child(7n+1)),
.flatpickr-day.startRange.startRange + .endRange:not(:nth-child(7n+1)),
.flatpickr-day.endRange.startRange + .endRange:not(:nth-child(7n+1)) {
-webkit-box-shadow: -10px 0 0 #569ff7;
box-shadow: -10px 0 0 #569ff7;
}
.flatpickr-day.selected.startRange.endRange,
.flatpickr-day.startRange.startRange.endRange,
.flatpickr-day.endRange.startRange.endRange {
border-radius: 50px;
}
.flatpickr-day.inRange {
border-radius: 0;
-webkit-box-shadow: -5px 0 0 #e6e6e6, 5px 0 0 #e6e6e6;
box-shadow: -5px 0 0 #e6e6e6, 5px 0 0 #e6e6e6;
}
.flatpickr-day.flatpickr-disabled,
.flatpickr-day.flatpickr-disabled:hover,
.flatpickr-day.prevMonthDay,
.flatpickr-day.nextMonthDay,
.flatpickr-day.notAllowed,
.flatpickr-day.notAllowed.prevMonthDay,
.flatpickr-day.notAllowed.nextMonthDay {
color: rgba(57,57,57,0.3);
background: transparent;
border-color: transparent;
cursor: default;
}
.flatpickr-day.flatpickr-disabled,
.flatpickr-day.flatpickr-disabled:hover {
cursor: not-allowed;
color: rgba(57,57,57,0.1);
}
.flatpickr-day.week.selected {
border-radius: 0;
-webkit-box-shadow: -5px 0 0 #569ff7, 5px 0 0 #569ff7;
box-shadow: -5px 0 0 #569ff7, 5px 0 0 #569ff7;
}
.flatpickr-day.hidden {
visibility: hidden;
}
.rangeMode .flatpickr-day {
margin-top: 1px;
}
.flatpickr-weekwrapper {
float: left;
}
.flatpickr-weekwrapper .flatpickr-weeks {
padding: 0 12px;
-webkit-box-shadow: 1px 0 0 #e6e6e6;
box-shadow: 1px 0 0 #e6e6e6;
}
.flatpickr-weekwrapper .flatpickr-weekday {
float: none;
width: 100%;
line-height: 28px;
}
.flatpickr-weekwrapper span.flatpickr-day,
.flatpickr-weekwrapper span.flatpickr-day:hover {
display: block;
width: 100%;
max-width: none;
color: rgba(57,57,57,0.3);
background: transparent;
cursor: default;
border: none;
}
.flatpickr-innerContainer {
display: block;
display: -webkit-box;
display: -webkit-flex;
display: -ms-flexbox;
display: flex;
-webkit-box-sizing: border-box;
box-sizing: border-box;
overflow: hidden;
}
.flatpickr-rContainer {
display: inline-block;
padding: 0;
-webkit-box-sizing: border-box;
box-sizing: border-box;
}
.flatpickr-time {
text-align: center;
outline: 0;
display: block;
height: 0;
line-height: 40px;
max-height: 40px;
-webkit-box-sizing: border-box;
box-sizing: border-box;
overflow: hidden;
display: -webkit-box;
display: -webkit-flex;
display: -ms-flexbox;
display: flex;
}
.flatpickr-time:after {
content: "";
display: table;
clear: both;
}
.flatpickr-time .numInputWrapper {
-webkit-box-flex: 1;
-webkit-flex: 1;
-ms-flex: 1;
flex: 1;
width: 40%;
height: 40px;
float: left;
}
.flatpickr-time .numInputWrapper span.arrowUp:after {
border-bottom-color: #393939;
}
.flatpickr-time .numInputWrapper span.arrowDown:after {
border-top-color: #393939;
}
.flatpickr-time.hasSeconds .numInputWrapper {
width: 26%;
}
.flatpickr-time.time24hr .numInputWrapper {
width: 49%;
}
.flatpickr-time input {
background: transparent;
-webkit-box-shadow: none;
box-shadow: none;
border: 0;
border-radius: 0;
text-align: center;
margin: 0;
padding: 0;
height: inherit;
line-height: inherit;
color: #393939;
font-size: 14px;
position: relative;
-webkit-box-sizing: border-box;
box-sizing: border-box;
-webkit-appearance: textfield;
-moz-appearance: textfield;
appearance: textfield;
}
.flatpickr-time input.flatpickr-hour {
font-weight: bold;
}
.flatpickr-time input.flatpickr-minute,
.flatpickr-time input.flatpickr-second {
font-weight: 400;
}
.flatpickr-time input:focus {
outline: 0;
border: 0;
}
.flatpickr-time .flatpickr-time-separator,
.flatpickr-time .flatpickr-am-pm {
height: inherit;
float: left;
line-height: inherit;
color: #393939;
font-weight: bold;
width: 2%;
-webkit-user-select: none;
-moz-user-select: none;
-ms-user-select: none;
user-select: none;
-webkit-align-self: center;
-ms-flex-item-align: center;
align-self: center;
}
.flatpickr-time .flatpickr-am-pm {
outline: 0;
width: 18%;
cursor: pointer;
text-align: center;
font-weight: 400;
}
.flatpickr-time input:hover,
.flatpickr-time .flatpickr-am-pm:hover,
.flatpickr-time input:focus,
.flatpickr-time .flatpickr-am-pm:focus {
background: #eee;
}
.flatpickr-input[readonly] {
cursor: pointer;
}
@-webkit-keyframes fpFadeInDown {
from {
opacity: 0;
-webkit-transform: translate3d(0, -20px, 0);
transform: translate3d(0, -20px, 0);
}
to {
opacity: 1;
-webkit-transform: translate3d(0, 0, 0);
transform: translate3d(0, 0, 0);
}
}
@keyframes fpFadeInDown {
from {
opacity: 0;
-webkit-transform: translate3d(0, -20px, 0);
transform: translate3d(0, -20px, 0);
}
to {
opacity: 1;
-webkit-transform: translate3d(0, 0, 0);
transform: translate3d(0, 0, 0);
}
}
dist/flatpickr.js 0000644 00000362466 15167673014 0010057 0 ustar 00 /* flatpickr v4.6.13, @license MIT */
(function (global, factory) {
typeof exports === 'object' && typeof module !== 'undefined' ? module.exports = factory() :
typeof define === 'function' && define.amd ? define(factory) :
(global = typeof globalThis !== 'undefined' ? globalThis : global || self, global.flatpickr = factory());
}(this, (function () { 'use strict';
/*! *****************************************************************************
Copyright (c) Microsoft Corporation.
Permission to use, copy, modify, and/or distribute this software for any
purpose with or without fee is hereby granted.
THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
PERFORMANCE OF THIS SOFTWARE.
***************************************************************************** */
var __assign = function() {
__assign = Object.assign || function __assign(t) {
for (var s, i = 1, n = arguments.length; i < n; i++) {
s = arguments[i];
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p)) t[p] = s[p];
}
return t;
};
return __assign.apply(this, arguments);
};
function __spreadArrays() {
for (var s = 0, i = 0, il = arguments.length; i < il; i++) s += arguments[i].length;
for (var r = Array(s), k = 0, i = 0; i < il; i++)
for (var a = arguments[i], j = 0, jl = a.length; j < jl; j++, k++)
r[k] = a[j];
return r;
}
var HOOKS = [
"onChange",
"onClose",
"onDayCreate",
"onDestroy",
"onKeyDown",
"onMonthChange",
"onOpen",
"onParseConfig",
"onReady",
"onValueUpdate",
"onYearChange",
"onPreCalendarPosition",
];
var defaults = {
_disable: [],
allowInput: false,
allowInvalidPreload: false,
altFormat: "F j, Y",
altInput: false,
altInputClass: "form-control input",
animate: typeof window === "object" &&
window.navigator.userAgent.indexOf("MSIE") === -1,
ariaDateFormat: "F j, Y",
autoFillDefaultTime: true,
clickOpens: true,
closeOnSelect: true,
conjunction: ", ",
dateFormat: "Y-m-d",
defaultHour: 12,
defaultMinute: 0,
defaultSeconds: 0,
disable: [],
disableMobile: false,
enableSeconds: false,
enableTime: false,
errorHandler: function (err) {
return typeof console !== "undefined" && console.warn(err);
},
getWeek: function (givenDate) {
var date = new Date(givenDate.getTime());
date.setHours(0, 0, 0, 0);
// Thursday in current week decides the year.
date.setDate(date.getDate() + 3 - ((date.getDay() + 6) % 7));
// January 4 is always in week 1.
var week1 = new Date(date.getFullYear(), 0, 4);
// Adjust to Thursday in week 1 and count number of weeks from date to week1.
return (1 +
Math.round(((date.getTime() - week1.getTime()) / 86400000 -
3 +
((week1.getDay() + 6) % 7)) /
7));
},
hourIncrement: 1,
ignoredFocusElements: [],
inline: false,
locale: "default",
minuteIncrement: 5,
mode: "single",
monthSelectorType: "dropdown",
nextArrow: "<svg version='1.1' xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' viewBox='0 0 17 17'><g></g><path d='M13.207 8.472l-7.854 7.854-0.707-0.707 7.146-7.146-7.146-7.148 0.707-0.707 7.854 7.854z' /></svg>",
noCalendar: false,
now: new Date(),
onChange: [],
onClose: [],
onDayCreate: [],
onDestroy: [],
onKeyDown: [],
onMonthChange: [],
onOpen: [],
onParseConfig: [],
onReady: [],
onValueUpdate: [],
onYearChange: [],
onPreCalendarPosition: [],
plugins: [],
position: "auto",
positionElement: undefined,
prevArrow: "<svg version='1.1' xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' viewBox='0 0 17 17'><g></g><path d='M5.207 8.471l7.146 7.147-0.707 0.707-7.853-7.854 7.854-7.853 0.707 0.707-7.147 7.146z' /></svg>",
shorthandCurrentMonth: false,
showMonths: 1,
static: false,
time_24hr: false,
weekNumbers: false,
wrap: false,
};
var english = {
weekdays: {
shorthand: ["Sun", "Mon", "Tue", "Wed", "Thu", "Fri", "Sat"],
longhand: [
"Sunday",
"Monday",
"Tuesday",
"Wednesday",
"Thursday",
"Friday",
"Saturday",
],
},
months: {
shorthand: [
"Jan",
"Feb",
"Mar",
"Apr",
"May",
"Jun",
"Jul",
"Aug",
"Sep",
"Oct",
"Nov",
"Dec",
],
longhand: [
"January",
"February",
"March",
"April",
"May",
"June",
"July",
"August",
"September",
"October",
"November",
"December",
],
},
daysInMonth: [31, 28, 31, 30, 31, 30, 31, 31, 30, 31, 30, 31],
firstDayOfWeek: 0,
ordinal: function (nth) {
var s = nth % 100;
if (s > 3 && s < 21)
return "th";
switch (s % 10) {
case 1:
return "st";
case 2:
return "nd";
case 3:
return "rd";
default:
return "th";
}
},
rangeSeparator: " to ",
weekAbbreviation: "Wk",
scrollTitle: "Scroll to increment",
toggleTitle: "Click to toggle",
amPM: ["AM", "PM"],
yearAriaLabel: "Year",
monthAriaLabel: "Month",
hourAriaLabel: "Hour",
minuteAriaLabel: "Minute",
time_24hr: false,
};
var pad = function (number, length) {
if (length === void 0) { length = 2; }
return ("000" + number).slice(length * -1);
};
var int = function (bool) { return (bool === true ? 1 : 0); };
/* istanbul ignore next */
function debounce(fn, wait) {
var t;
return function () {
var _this = this;
var args = arguments;
clearTimeout(t);
t = setTimeout(function () { return fn.apply(_this, args); }, wait);
};
}
var arrayify = function (obj) {
return obj instanceof Array ? obj : [obj];
};
function toggleClass(elem, className, bool) {
if (bool === true)
return elem.classList.add(className);
elem.classList.remove(className);
}
function createElement(tag, className, content) {
var e = window.document.createElement(tag);
className = className || "";
content = content || "";
e.className = className;
if (content !== undefined)
e.textContent = content;
return e;
}
function clearNode(node) {
while (node.firstChild)
node.removeChild(node.firstChild);
}
function findParent(node, condition) {
if (condition(node))
return node;
else if (node.parentNode)
return findParent(node.parentNode, condition);
return undefined; // nothing found
}
function createNumberInput(inputClassName, opts) {
var wrapper = createElement("div", "numInputWrapper"), numInput = createElement("input", "numInput " + inputClassName), arrowUp = createElement("span", "arrowUp"), arrowDown = createElement("span", "arrowDown");
if (navigator.userAgent.indexOf("MSIE 9.0") === -1) {
numInput.type = "number";
}
else {
numInput.type = "text";
numInput.pattern = "\\d*";
}
if (opts !== undefined)
for (var key in opts)
numInput.setAttribute(key, opts[key]);
wrapper.appendChild(numInput);
wrapper.appendChild(arrowUp);
wrapper.appendChild(arrowDown);
return wrapper;
}
function getEventTarget(event) {
try {
if (typeof event.composedPath === "function") {
var path = event.composedPath();
return path[0];
}
return event.target;
}
catch (error) {
return event.target;
}
}
var doNothing = function () { return undefined; };
var monthToStr = function (monthNumber, shorthand, locale) { return locale.months[shorthand ? "shorthand" : "longhand"][monthNumber]; };
var revFormat = {
D: doNothing,
F: function (dateObj, monthName, locale) {
dateObj.setMonth(locale.months.longhand.indexOf(monthName));
},
G: function (dateObj, hour) {
dateObj.setHours((dateObj.getHours() >= 12 ? 12 : 0) + parseFloat(hour));
},
H: function (dateObj, hour) {
dateObj.setHours(parseFloat(hour));
},
J: function (dateObj, day) {
dateObj.setDate(parseFloat(day));
},
K: function (dateObj, amPM, locale) {
dateObj.setHours((dateObj.getHours() % 12) +
12 * int(new RegExp(locale.amPM[1], "i").test(amPM)));
},
M: function (dateObj, shortMonth, locale) {
dateObj.setMonth(locale.months.shorthand.indexOf(shortMonth));
},
S: function (dateObj, seconds) {
dateObj.setSeconds(parseFloat(seconds));
},
U: function (_, unixSeconds) { return new Date(parseFloat(unixSeconds) * 1000); },
W: function (dateObj, weekNum, locale) {
var weekNumber = parseInt(weekNum);
var date = new Date(dateObj.getFullYear(), 0, 2 + (weekNumber - 1) * 7, 0, 0, 0, 0);
date.setDate(date.getDate() - date.getDay() + locale.firstDayOfWeek);
return date;
},
Y: function (dateObj, year) {
dateObj.setFullYear(parseFloat(year));
},
Z: function (_, ISODate) { return new Date(ISODate); },
d: function (dateObj, day) {
dateObj.setDate(parseFloat(day));
},
h: function (dateObj, hour) {
dateObj.setHours((dateObj.getHours() >= 12 ? 12 : 0) + parseFloat(hour));
},
i: function (dateObj, minutes) {
dateObj.setMinutes(parseFloat(minutes));
},
j: function (dateObj, day) {
dateObj.setDate(parseFloat(day));
},
l: doNothing,
m: function (dateObj, month) {
dateObj.setMonth(parseFloat(month) - 1);
},
n: function (dateObj, month) {
dateObj.setMonth(parseFloat(month) - 1);
},
s: function (dateObj, seconds) {
dateObj.setSeconds(parseFloat(seconds));
},
u: function (_, unixMillSeconds) {
return new Date(parseFloat(unixMillSeconds));
},
w: doNothing,
y: function (dateObj, year) {
dateObj.setFullYear(2000 + parseFloat(year));
},
};
var tokenRegex = {
D: "",
F: "",
G: "(\\d\\d|\\d)",
H: "(\\d\\d|\\d)",
J: "(\\d\\d|\\d)\\w+",
K: "",
M: "",
S: "(\\d\\d|\\d)",
U: "(.+)",
W: "(\\d\\d|\\d)",
Y: "(\\d{4})",
Z: "(.+)",
d: "(\\d\\d|\\d)",
h: "(\\d\\d|\\d)",
i: "(\\d\\d|\\d)",
j: "(\\d\\d|\\d)",
l: "",
m: "(\\d\\d|\\d)",
n: "(\\d\\d|\\d)",
s: "(\\d\\d|\\d)",
u: "(.+)",
w: "(\\d\\d|\\d)",
y: "(\\d{2})",
};
var formats = {
// get the date in UTC
Z: function (date) { return date.toISOString(); },
// weekday name, short, e.g. Thu
D: function (date, locale, options) {
return locale.weekdays.shorthand[formats.w(date, locale, options)];
},
// full month name e.g. January
F: function (date, locale, options) {
return monthToStr(formats.n(date, locale, options) - 1, false, locale);
},
// padded hour 1-12
G: function (date, locale, options) {
return pad(formats.h(date, locale, options));
},
// hours with leading zero e.g. 03
H: function (date) { return pad(date.getHours()); },
// day (1-30) with ordinal suffix e.g. 1st, 2nd
J: function (date, locale) {
return locale.ordinal !== undefined
? date.getDate() + locale.ordinal(date.getDate())
: date.getDate();
},
// AM/PM
K: function (date, locale) { return locale.amPM[int(date.getHours() > 11)]; },
// shorthand month e.g. Jan, Sep, Oct, etc
M: function (date, locale) {
return monthToStr(date.getMonth(), true, locale);
},
// seconds 00-59
S: function (date) { return pad(date.getSeconds()); },
// unix timestamp
U: function (date) { return date.getTime() / 1000; },
W: function (date, _, options) {
return options.getWeek(date);
},
// full year e.g. 2016, padded (0001-9999)
Y: function (date) { return pad(date.getFullYear(), 4); },
// day in month, padded (01-30)
d: function (date) { return pad(date.getDate()); },
// hour from 1-12 (am/pm)
h: function (date) { return (date.getHours() % 12 ? date.getHours() % 12 : 12); },
// minutes, padded with leading zero e.g. 09
i: function (date) { return pad(date.getMinutes()); },
// day in month (1-30)
j: function (date) { return date.getDate(); },
// weekday name, full, e.g. Thursday
l: function (date, locale) {
return locale.weekdays.longhand[date.getDay()];
},
// padded month number (01-12)
m: function (date) { return pad(date.getMonth() + 1); },
// the month number (1-12)
n: function (date) { return date.getMonth() + 1; },
// seconds 0-59
s: function (date) { return date.getSeconds(); },
// Unix Milliseconds
u: function (date) { return date.getTime(); },
// number of the day of the week
w: function (date) { return date.getDay(); },
// last two digits of year e.g. 16 for 2016
y: function (date) { return String(date.getFullYear()).substring(2); },
};
var createDateFormatter = function (_a) {
var _b = _a.config, config = _b === void 0 ? defaults : _b, _c = _a.l10n, l10n = _c === void 0 ? english : _c, _d = _a.isMobile, isMobile = _d === void 0 ? false : _d;
return function (dateObj, frmt, overrideLocale) {
var locale = overrideLocale || l10n;
if (config.formatDate !== undefined && !isMobile) {
return config.formatDate(dateObj, frmt, locale);
}
return frmt
.split("")
.map(function (c, i, arr) {
return formats[c] && arr[i - 1] !== "\\"
? formats[c](dateObj, locale, config)
: c !== "\\"
? c
: "";
})
.join("");
};
};
var createDateParser = function (_a) {
var _b = _a.config, config = _b === void 0 ? defaults : _b, _c = _a.l10n, l10n = _c === void 0 ? english : _c;
return function (date, givenFormat, timeless, customLocale) {
if (date !== 0 && !date)
return undefined;
var locale = customLocale || l10n;
var parsedDate;
var dateOrig = date;
if (date instanceof Date)
parsedDate = new Date(date.getTime());
else if (typeof date !== "string" &&
date.toFixed !== undefined // timestamp
)
// create a copy
parsedDate = new Date(date);
else if (typeof date === "string") {
// date string
var format = givenFormat || (config || defaults).dateFormat;
var datestr = String(date).trim();
if (datestr === "today") {
parsedDate = new Date();
timeless = true;
}
else if (config && config.parseDate) {
parsedDate = config.parseDate(date, format);
}
else if (/Z$/.test(datestr) ||
/GMT$/.test(datestr) // datestrings w/ timezone
) {
parsedDate = new Date(date);
}
else {
var matched = void 0, ops = [];
for (var i = 0, matchIndex = 0, regexStr = ""; i < format.length; i++) {
var token_1 = format[i];
var isBackSlash = token_1 === "\\";
var escaped = format[i - 1] === "\\" || isBackSlash;
if (tokenRegex[token_1] && !escaped) {
regexStr += tokenRegex[token_1];
var match = new RegExp(regexStr).exec(date);
if (match && (matched = true)) {
ops[token_1 !== "Y" ? "push" : "unshift"]({
fn: revFormat[token_1],
val: match[++matchIndex],
});
}
}
else if (!isBackSlash)
regexStr += "."; // don't really care
}
parsedDate =
!config || !config.noCalendar
? new Date(new Date().getFullYear(), 0, 1, 0, 0, 0, 0)
: new Date(new Date().setHours(0, 0, 0, 0));
ops.forEach(function (_a) {
var fn = _a.fn, val = _a.val;
return (parsedDate = fn(parsedDate, val, locale) || parsedDate);
});
parsedDate = matched ? parsedDate : undefined;
}
}
/* istanbul ignore next */
if (!(parsedDate instanceof Date && !isNaN(parsedDate.getTime()))) {
config.errorHandler(new Error("Invalid date provided: " + dateOrig));
return undefined;
}
if (timeless === true)
parsedDate.setHours(0, 0, 0, 0);
return parsedDate;
};
};
/**
* Compute the difference in dates, measured in ms
*/
function compareDates(date1, date2, timeless) {
if (timeless === void 0) { timeless = true; }
if (timeless !== false) {
return (new Date(date1.getTime()).setHours(0, 0, 0, 0) -
new Date(date2.getTime()).setHours(0, 0, 0, 0));
}
return date1.getTime() - date2.getTime();
}
var isBetween = function (ts, ts1, ts2) {
return ts > Math.min(ts1, ts2) && ts < Math.max(ts1, ts2);
};
var calculateSecondsSinceMidnight = function (hours, minutes, seconds) {
return hours * 3600 + minutes * 60 + seconds;
};
var parseSeconds = function (secondsSinceMidnight) {
var hours = Math.floor(secondsSinceMidnight / 3600), minutes = (secondsSinceMidnight - hours * 3600) / 60;
return [hours, minutes, secondsSinceMidnight - hours * 3600 - minutes * 60];
};
var duration = {
DAY: 86400000,
};
function getDefaultHours(config) {
var hours = config.defaultHour;
var minutes = config.defaultMinute;
var seconds = config.defaultSeconds;
if (config.minDate !== undefined) {
var minHour = config.minDate.getHours();
var minMinutes = config.minDate.getMinutes();
var minSeconds = config.minDate.getSeconds();
if (hours < minHour) {
hours = minHour;
}
if (hours === minHour && minutes < minMinutes) {
minutes = minMinutes;
}
if (hours === minHour && minutes === minMinutes && seconds < minSeconds)
seconds = config.minDate.getSeconds();
}
if (config.maxDate !== undefined) {
var maxHr = config.maxDate.getHours();
var maxMinutes = config.maxDate.getMinutes();
hours = Math.min(hours, maxHr);
if (hours === maxHr)
minutes = Math.min(maxMinutes, minutes);
if (hours === maxHr && minutes === maxMinutes)
seconds = config.maxDate.getSeconds();
}
return { hours: hours, minutes: minutes, seconds: seconds };
}
if (typeof Object.assign !== "function") {
Object.assign = function (target) {
var args = [];
for (var _i = 1; _i < arguments.length; _i++) {
args[_i - 1] = arguments[_i];
}
if (!target) {
throw TypeError("Cannot convert undefined or null to object");
}
var _loop_1 = function (source) {
if (source) {
Object.keys(source).forEach(function (key) { return (target[key] = source[key]); });
}
};
for (var _a = 0, args_1 = args; _a < args_1.length; _a++) {
var source = args_1[_a];
_loop_1(source);
}
return target;
};
}
var DEBOUNCED_CHANGE_MS = 300;
function FlatpickrInstance(element, instanceConfig) {
var self = {
config: __assign(__assign({}, defaults), flatpickr.defaultConfig),
l10n: english,
};
self.parseDate = createDateParser({ config: self.config, l10n: self.l10n });
self._handlers = [];
self.pluginElements = [];
self.loadedPlugins = [];
self._bind = bind;
self._setHoursFromDate = setHoursFromDate;
self._positionCalendar = positionCalendar;
self.changeMonth = changeMonth;
self.changeYear = changeYear;
self.clear = clear;
self.close = close;
self.onMouseOver = onMouseOver;
self._createElement = createElement;
self.createDay = createDay;
self.destroy = destroy;
self.isEnabled = isEnabled;
self.jumpToDate = jumpToDate;
self.updateValue = updateValue;
self.open = open;
self.redraw = redraw;
self.set = set;
self.setDate = setDate;
self.toggle = toggle;
function setupHelperFunctions() {
self.utils = {
getDaysInMonth: function (month, yr) {
if (month === void 0) { month = self.currentMonth; }
if (yr === void 0) { yr = self.currentYear; }
if (month === 1 && ((yr % 4 === 0 && yr % 100 !== 0) || yr % 400 === 0))
return 29;
return self.l10n.daysInMonth[month];
},
};
}
function init() {
self.element = self.input = element;
self.isOpen = false;
parseConfig();
setupLocale();
setupInputs();
setupDates();
setupHelperFunctions();
if (!self.isMobile)
build();
bindEvents();
if (self.selectedDates.length || self.config.noCalendar) {
if (self.config.enableTime) {
setHoursFromDate(self.config.noCalendar ? self.latestSelectedDateObj : undefined);
}
updateValue(false);
}
setCalendarWidth();
var isSafari = /^((?!chrome|android).)*safari/i.test(navigator.userAgent);
/* TODO: investigate this further
Currently, there is weird positioning behavior in safari causing pages
to scroll up. https://github.com/chmln/flatpickr/issues/563
However, most browsers are not Safari and positioning is expensive when used
in scale. https://github.com/chmln/flatpickr/issues/1096
*/
if (!self.isMobile && isSafari) {
positionCalendar();
}
triggerEvent("onReady");
}
function getClosestActiveElement() {
var _a;
return (((_a = self.calendarContainer) === null || _a === void 0 ? void 0 : _a.getRootNode())
.activeElement || document.activeElement);
}
function bindToInstance(fn) {
return fn.bind(self);
}
function setCalendarWidth() {
var config = self.config;
if (config.weekNumbers === false && config.showMonths === 1) {
return;
}
else if (config.noCalendar !== true) {
window.requestAnimationFrame(function () {
if (self.calendarContainer !== undefined) {
self.calendarContainer.style.visibility = "hidden";
self.calendarContainer.style.display = "block";
}
if (self.daysContainer !== undefined) {
var daysWidth = (self.days.offsetWidth + 1) * config.showMonths;
self.daysContainer.style.width = daysWidth + "px";
self.calendarContainer.style.width =
daysWidth +
(self.weekWrapper !== undefined
? self.weekWrapper.offsetWidth
: 0) +
"px";
self.calendarContainer.style.removeProperty("visibility");
self.calendarContainer.style.removeProperty("display");
}
});
}
}
/**
* The handler for all events targeting the time inputs
*/
function updateTime(e) {
if (self.selectedDates.length === 0) {
var defaultDate = self.config.minDate === undefined ||
compareDates(new Date(), self.config.minDate) >= 0
? new Date()
: new Date(self.config.minDate.getTime());
var defaults = getDefaultHours(self.config);
defaultDate.setHours(defaults.hours, defaults.minutes, defaults.seconds, defaultDate.getMilliseconds());
self.selectedDates = [defaultDate];
self.latestSelectedDateObj = defaultDate;
}
if (e !== undefined && e.type !== "blur") {
timeWrapper(e);
}
var prevValue = self._input.value;
setHoursFromInputs();
updateValue();
if (self._input.value !== prevValue) {
self._debouncedChange();
}
}
function ampm2military(hour, amPM) {
return (hour % 12) + 12 * int(amPM === self.l10n.amPM[1]);
}
function military2ampm(hour) {
switch (hour % 24) {
case 0:
case 12:
return 12;
default:
return hour % 12;
}
}
/**
* Syncs the selected date object time with user's time input
*/
function setHoursFromInputs() {
if (self.hourElement === undefined || self.minuteElement === undefined)
return;
var hours = (parseInt(self.hourElement.value.slice(-2), 10) || 0) % 24, minutes = (parseInt(self.minuteElement.value, 10) || 0) % 60, seconds = self.secondElement !== undefined
? (parseInt(self.secondElement.value, 10) || 0) % 60
: 0;
if (self.amPM !== undefined) {
hours = ampm2military(hours, self.amPM.textContent);
}
var limitMinHours = self.config.minTime !== undefined ||
(self.config.minDate &&
self.minDateHasTime &&
self.latestSelectedDateObj &&
compareDates(self.latestSelectedDateObj, self.config.minDate, true) ===
0);
var limitMaxHours = self.config.maxTime !== undefined ||
(self.config.maxDate &&
self.maxDateHasTime &&
self.latestSelectedDateObj &&
compareDates(self.latestSelectedDateObj, self.config.maxDate, true) ===
0);
if (self.config.maxTime !== undefined &&
self.config.minTime !== undefined &&
self.config.minTime > self.config.maxTime) {
var minBound = calculateSecondsSinceMidnight(self.config.minTime.getHours(), self.config.minTime.getMinutes(), self.config.minTime.getSeconds());
var maxBound = calculateSecondsSinceMidnight(self.config.maxTime.getHours(), self.config.maxTime.getMinutes(), self.config.maxTime.getSeconds());
var currentTime = calculateSecondsSinceMidnight(hours, minutes, seconds);
if (currentTime > maxBound && currentTime < minBound) {
var result = parseSeconds(minBound);
hours = result[0];
minutes = result[1];
seconds = result[2];
}
}
else {
if (limitMaxHours) {
var maxTime = self.config.maxTime !== undefined
? self.config.maxTime
: self.config.maxDate;
hours = Math.min(hours, maxTime.getHours());
if (hours === maxTime.getHours())
minutes = Math.min(minutes, maxTime.getMinutes());
if (minutes === maxTime.getMinutes())
seconds = Math.min(seconds, maxTime.getSeconds());
}
if (limitMinHours) {
var minTime = self.config.minTime !== undefined
? self.config.minTime
: self.config.minDate;
hours = Math.max(hours, minTime.getHours());
if (hours === minTime.getHours() && minutes < minTime.getMinutes())
minutes = minTime.getMinutes();
if (minutes === minTime.getMinutes())
seconds = Math.max(seconds, minTime.getSeconds());
}
}
setHours(hours, minutes, seconds);
}
/**
* Syncs time input values with a date
*/
function setHoursFromDate(dateObj) {
var date = dateObj || self.latestSelectedDateObj;
if (date && date instanceof Date) {
setHours(date.getHours(), date.getMinutes(), date.getSeconds());
}
}
/**
* Sets the hours, minutes, and optionally seconds
* of the latest selected date object and the
* corresponding time inputs
* @param {Number} hours the hour. whether its military
* or am-pm gets inferred from config
* @param {Number} minutes the minutes
* @param {Number} seconds the seconds (optional)
*/
function setHours(hours, minutes, seconds) {
if (self.latestSelectedDateObj !== undefined) {
self.latestSelectedDateObj.setHours(hours % 24, minutes, seconds || 0, 0);
}
if (!self.hourElement || !self.minuteElement || self.isMobile)
return;
self.hourElement.value = pad(!self.config.time_24hr
? ((12 + hours) % 12) + 12 * int(hours % 12 === 0)
: hours);
self.minuteElement.value = pad(minutes);
if (self.amPM !== undefined)
self.amPM.textContent = self.l10n.amPM[int(hours >= 12)];
if (self.secondElement !== undefined)
self.secondElement.value = pad(seconds);
}
/**
* Handles the year input and incrementing events
* @param {Event} event the keyup or increment event
*/
function onYearInput(event) {
var eventTarget = getEventTarget(event);
var year = parseInt(eventTarget.value) + (event.delta || 0);
if (year / 1000 > 1 ||
(event.key === "Enter" && !/[^\d]/.test(year.toString()))) {
changeYear(year);
}
}
/**
* Essentially addEventListener + tracking
* @param {Element} element the element to addEventListener to
* @param {String} event the event name
* @param {Function} handler the event handler
*/
function bind(element, event, handler, options) {
if (event instanceof Array)
return event.forEach(function (ev) { return bind(element, ev, handler, options); });
if (element instanceof Array)
return element.forEach(function (el) { return bind(el, event, handler, options); });
element.addEventListener(event, handler, options);
self._handlers.push({
remove: function () { return element.removeEventListener(event, handler, options); },
});
}
function triggerChange() {
triggerEvent("onChange");
}
/**
* Adds all the necessary event listeners
*/
function bindEvents() {
if (self.config.wrap) {
["open", "close", "toggle", "clear"].forEach(function (evt) {
Array.prototype.forEach.call(self.element.querySelectorAll("[data-" + evt + "]"), function (el) {
return bind(el, "click", self[evt]);
});
});
}
if (self.isMobile) {
setupMobile();
return;
}
var debouncedResize = debounce(onResize, 50);
self._debouncedChange = debounce(triggerChange, DEBOUNCED_CHANGE_MS);
if (self.daysContainer && !/iPhone|iPad|iPod/i.test(navigator.userAgent))
bind(self.daysContainer, "mouseover", function (e) {
if (self.config.mode === "range")
onMouseOver(getEventTarget(e));
});
bind(self._input, "keydown", onKeyDown);
if (self.calendarContainer !== undefined) {
bind(self.calendarContainer, "keydown", onKeyDown);
}
if (!self.config.inline && !self.config.static)
bind(window, "resize", debouncedResize);
if (window.ontouchstart !== undefined)
bind(window.document, "touchstart", documentClick);
else
bind(window.document, "mousedown", documentClick);
bind(window.document, "focus", documentClick, { capture: true });
if (self.config.clickOpens === true) {
bind(self._input, "focus", self.open);
bind(self._input, "click", self.open);
}
if (self.daysContainer !== undefined) {
bind(self.monthNav, "click", onMonthNavClick);
bind(self.monthNav, ["keyup", "increment"], onYearInput);
bind(self.daysContainer, "click", selectDate);
}
if (self.timeContainer !== undefined &&
self.minuteElement !== undefined &&
self.hourElement !== undefined) {
var selText = function (e) {
return getEventTarget(e).select();
};
bind(self.timeContainer, ["increment"], updateTime);
bind(self.timeContainer, "blur", updateTime, { capture: true });
bind(self.timeContainer, "click", timeIncrement);
bind([self.hourElement, self.minuteElement], ["focus", "click"], selText);
if (self.secondElement !== undefined)
bind(self.secondElement, "focus", function () { return self.secondElement && self.secondElement.select(); });
if (self.amPM !== undefined) {
bind(self.amPM, "click", function (e) {
updateTime(e);
});
}
}
if (self.config.allowInput) {
bind(self._input, "blur", onBlur);
}
}
/**
* Set the calendar view to a particular date.
* @param {Date} jumpDate the date to set the view to
* @param {boolean} triggerChange if change events should be triggered
*/
function jumpToDate(jumpDate, triggerChange) {
var jumpTo = jumpDate !== undefined
? self.parseDate(jumpDate)
: self.latestSelectedDateObj ||
(self.config.minDate && self.config.minDate > self.now
? self.config.minDate
: self.config.maxDate && self.config.maxDate < self.now
? self.config.maxDate
: self.now);
var oldYear = self.currentYear;
var oldMonth = self.currentMonth;
try {
if (jumpTo !== undefined) {
self.currentYear = jumpTo.getFullYear();
self.currentMonth = jumpTo.getMonth();
}
}
catch (e) {
/* istanbul ignore next */
e.message = "Invalid date supplied: " + jumpTo;
self.config.errorHandler(e);
}
if (triggerChange && self.currentYear !== oldYear) {
triggerEvent("onYearChange");
buildMonthSwitch();
}
if (triggerChange &&
(self.currentYear !== oldYear || self.currentMonth !== oldMonth)) {
triggerEvent("onMonthChange");
}
self.redraw();
}
/**
* The up/down arrow handler for time inputs
* @param {Event} e the click event
*/
function timeIncrement(e) {
var eventTarget = getEventTarget(e);
if (~eventTarget.className.indexOf("arrow"))
incrementNumInput(e, eventTarget.classList.contains("arrowUp") ? 1 : -1);
}
/**
* Increments/decrements the value of input associ-
* ated with the up/down arrow by dispatching an
* "increment" event on the input.
*
* @param {Event} e the click event
* @param {Number} delta the diff (usually 1 or -1)
* @param {Element} inputElem the input element
*/
function incrementNumInput(e, delta, inputElem) {
var target = e && getEventTarget(e);
var input = inputElem ||
(target && target.parentNode && target.parentNode.firstChild);
var event = createEvent("increment");
event.delta = delta;
input && input.dispatchEvent(event);
}
function build() {
var fragment = window.document.createDocumentFragment();
self.calendarContainer = createElement("div", "flatpickr-calendar");
self.calendarContainer.tabIndex = -1;
if (!self.config.noCalendar) {
fragment.appendChild(buildMonthNav());
self.innerContainer = createElement("div", "flatpickr-innerContainer");
if (self.config.weekNumbers) {
var _a = buildWeeks(), weekWrapper = _a.weekWrapper, weekNumbers = _a.weekNumbers;
self.innerContainer.appendChild(weekWrapper);
self.weekNumbers = weekNumbers;
self.weekWrapper = weekWrapper;
}
self.rContainer = createElement("div", "flatpickr-rContainer");
self.rContainer.appendChild(buildWeekdays());
if (!self.daysContainer) {
self.daysContainer = createElement("div", "flatpickr-days");
self.daysContainer.tabIndex = -1;
}
buildDays();
self.rContainer.appendChild(self.daysContainer);
self.innerContainer.appendChild(self.rContainer);
fragment.appendChild(self.innerContainer);
}
if (self.config.enableTime) {
fragment.appendChild(buildTime());
}
toggleClass(self.calendarContainer, "rangeMode", self.config.mode === "range");
toggleClass(self.calendarContainer, "animate", self.config.animate === true);
toggleClass(self.calendarContainer, "multiMonth", self.config.showMonths > 1);
self.calendarContainer.appendChild(fragment);
var customAppend = self.config.appendTo !== undefined &&
self.config.appendTo.nodeType !== undefined;
if (self.config.inline || self.config.static) {
self.calendarContainer.classList.add(self.config.inline ? "inline" : "static");
if (self.config.inline) {
if (!customAppend && self.element.parentNode)
self.element.parentNode.insertBefore(self.calendarContainer, self._input.nextSibling);
else if (self.config.appendTo !== undefined)
self.config.appendTo.appendChild(self.calendarContainer);
}
if (self.config.static) {
var wrapper = createElement("div", "flatpickr-wrapper");
if (self.element.parentNode)
self.element.parentNode.insertBefore(wrapper, self.element);
wrapper.appendChild(self.element);
if (self.altInput)
wrapper.appendChild(self.altInput);
wrapper.appendChild(self.calendarContainer);
}
}
if (!self.config.static && !self.config.inline)
(self.config.appendTo !== undefined
? self.config.appendTo
: window.document.body).appendChild(self.calendarContainer);
}
function createDay(className, date, _dayNumber, i) {
var dateIsEnabled = isEnabled(date, true), dayElement = createElement("span", className, date.getDate().toString());
dayElement.dateObj = date;
dayElement.$i = i;
dayElement.setAttribute("aria-label", self.formatDate(date, self.config.ariaDateFormat));
if (className.indexOf("hidden") === -1 &&
compareDates(date, self.now) === 0) {
self.todayDateElem = dayElement;
dayElement.classList.add("today");
dayElement.setAttribute("aria-current", "date");
}
if (dateIsEnabled) {
dayElement.tabIndex = -1;
if (isDateSelected(date)) {
dayElement.classList.add("selected");
self.selectedDateElem = dayElement;
if (self.config.mode === "range") {
toggleClass(dayElement, "startRange", self.selectedDates[0] &&
compareDates(date, self.selectedDates[0], true) === 0);
toggleClass(dayElement, "endRange", self.selectedDates[1] &&
compareDates(date, self.selectedDates[1], true) === 0);
if (className === "nextMonthDay")
dayElement.classList.add("inRange");
}
}
}
else {
dayElement.classList.add("flatpickr-disabled");
}
if (self.config.mode === "range") {
if (isDateInRange(date) && !isDateSelected(date))
dayElement.classList.add("inRange");
}
if (self.weekNumbers &&
self.config.showMonths === 1 &&
className !== "prevMonthDay" &&
i % 7 === 6) {
self.weekNumbers.insertAdjacentHTML("beforeend", "<span class='flatpickr-day'>" + self.config.getWeek(date) + "</span>");
}
triggerEvent("onDayCreate", dayElement);
return dayElement;
}
function focusOnDayElem(targetNode) {
targetNode.focus();
if (self.config.mode === "range")
onMouseOver(targetNode);
}
function getFirstAvailableDay(delta) {
var startMonth = delta > 0 ? 0 : self.config.showMonths - 1;
var endMonth = delta > 0 ? self.config.showMonths : -1;
for (var m = startMonth; m != endMonth; m += delta) {
var month = self.daysContainer.children[m];
var startIndex = delta > 0 ? 0 : month.children.length - 1;
var endIndex = delta > 0 ? month.children.length : -1;
for (var i = startIndex; i != endIndex; i += delta) {
var c = month.children[i];
if (c.className.indexOf("hidden") === -1 && isEnabled(c.dateObj))
return c;
}
}
return undefined;
}
function getNextAvailableDay(current, delta) {
var givenMonth = current.className.indexOf("Month") === -1
? current.dateObj.getMonth()
: self.currentMonth;
var endMonth = delta > 0 ? self.config.showMonths : -1;
var loopDelta = delta > 0 ? 1 : -1;
for (var m = givenMonth - self.currentMonth; m != endMonth; m += loopDelta) {
var month = self.daysContainer.children[m];
var startIndex = givenMonth - self.currentMonth === m
? current.$i + delta
: delta < 0
? month.children.length - 1
: 0;
var numMonthDays = month.children.length;
for (var i = startIndex; i >= 0 && i < numMonthDays && i != (delta > 0 ? numMonthDays : -1); i += loopDelta) {
var c = month.children[i];
if (c.className.indexOf("hidden") === -1 &&
isEnabled(c.dateObj) &&
Math.abs(current.$i - i) >= Math.abs(delta))
return focusOnDayElem(c);
}
}
self.changeMonth(loopDelta);
focusOnDay(getFirstAvailableDay(loopDelta), 0);
return undefined;
}
function focusOnDay(current, offset) {
var activeElement = getClosestActiveElement();
var dayFocused = isInView(activeElement || document.body);
var startElem = current !== undefined
? current
: dayFocused
? activeElement
: self.selectedDateElem !== undefined && isInView(self.selectedDateElem)
? self.selectedDateElem
: self.todayDateElem !== undefined && isInView(self.todayDateElem)
? self.todayDateElem
: getFirstAvailableDay(offset > 0 ? 1 : -1);
if (startElem === undefined) {
self._input.focus();
}
else if (!dayFocused) {
focusOnDayElem(startElem);
}
else {
getNextAvailableDay(startElem, offset);
}
}
function buildMonthDays(year, month) {
var firstOfMonth = (new Date(year, month, 1).getDay() - self.l10n.firstDayOfWeek + 7) % 7;
var prevMonthDays = self.utils.getDaysInMonth((month - 1 + 12) % 12, year);
var daysInMonth = self.utils.getDaysInMonth(month, year), days = window.document.createDocumentFragment(), isMultiMonth = self.config.showMonths > 1, prevMonthDayClass = isMultiMonth ? "prevMonthDay hidden" : "prevMonthDay", nextMonthDayClass = isMultiMonth ? "nextMonthDay hidden" : "nextMonthDay";
var dayNumber = prevMonthDays + 1 - firstOfMonth, dayIndex = 0;
// prepend days from the ending of previous month
for (; dayNumber <= prevMonthDays; dayNumber++, dayIndex++) {
days.appendChild(createDay("flatpickr-day " + prevMonthDayClass, new Date(year, month - 1, dayNumber), dayNumber, dayIndex));
}
// Start at 1 since there is no 0th day
for (dayNumber = 1; dayNumber <= daysInMonth; dayNumber++, dayIndex++) {
days.appendChild(createDay("flatpickr-day", new Date(year, month, dayNumber), dayNumber, dayIndex));
}
// append days from the next month
for (var dayNum = daysInMonth + 1; dayNum <= 42 - firstOfMonth &&
(self.config.showMonths === 1 || dayIndex % 7 !== 0); dayNum++, dayIndex++) {
days.appendChild(createDay("flatpickr-day " + nextMonthDayClass, new Date(year, month + 1, dayNum % daysInMonth), dayNum, dayIndex));
}
//updateNavigationCurrentMonth();
var dayContainer = createElement("div", "dayContainer");
dayContainer.appendChild(days);
return dayContainer;
}
function buildDays() {
if (self.daysContainer === undefined) {
return;
}
clearNode(self.daysContainer);
// TODO: week numbers for each month
if (self.weekNumbers)
clearNode(self.weekNumbers);
var frag = document.createDocumentFragment();
for (var i = 0; i < self.config.showMonths; i++) {
var d = new Date(self.currentYear, self.currentMonth, 1);
d.setMonth(self.currentMonth + i);
frag.appendChild(buildMonthDays(d.getFullYear(), d.getMonth()));
}
self.daysContainer.appendChild(frag);
self.days = self.daysContainer.firstChild;
if (self.config.mode === "range" && self.selectedDates.length === 1) {
onMouseOver();
}
}
function buildMonthSwitch() {
if (self.config.showMonths > 1 ||
self.config.monthSelectorType !== "dropdown")
return;
var shouldBuildMonth = function (month) {
if (self.config.minDate !== undefined &&
self.currentYear === self.config.minDate.getFullYear() &&
month < self.config.minDate.getMonth()) {
return false;
}
return !(self.config.maxDate !== undefined &&
self.currentYear === self.config.maxDate.getFullYear() &&
month > self.config.maxDate.getMonth());
};
self.monthsDropdownContainer.tabIndex = -1;
self.monthsDropdownContainer.innerHTML = "";
for (var i = 0; i < 12; i++) {
if (!shouldBuildMonth(i))
continue;
var month = createElement("option", "flatpickr-monthDropdown-month");
month.value = new Date(self.currentYear, i).getMonth().toString();
month.textContent = monthToStr(i, self.config.shorthandCurrentMonth, self.l10n);
month.tabIndex = -1;
if (self.currentMonth === i) {
month.selected = true;
}
self.monthsDropdownContainer.appendChild(month);
}
}
function buildMonth() {
var container = createElement("div", "flatpickr-month");
var monthNavFragment = window.document.createDocumentFragment();
var monthElement;
if (self.config.showMonths > 1 ||
self.config.monthSelectorType === "static") {
monthElement = createElement("span", "cur-month");
}
else {
self.monthsDropdownContainer = createElement("select", "flatpickr-monthDropdown-months");
self.monthsDropdownContainer.setAttribute("aria-label", self.l10n.monthAriaLabel);
bind(self.monthsDropdownContainer, "change", function (e) {
var target = getEventTarget(e);
var selectedMonth = parseInt(target.value, 10);
self.changeMonth(selectedMonth - self.currentMonth);
triggerEvent("onMonthChange");
});
buildMonthSwitch();
monthElement = self.monthsDropdownContainer;
}
var yearInput = createNumberInput("cur-year", { tabindex: "-1" });
var yearElement = yearInput.getElementsByTagName("input")[0];
yearElement.setAttribute("aria-label", self.l10n.yearAriaLabel);
if (self.config.minDate) {
yearElement.setAttribute("min", self.config.minDate.getFullYear().toString());
}
if (self.config.maxDate) {
yearElement.setAttribute("max", self.config.maxDate.getFullYear().toString());
yearElement.disabled =
!!self.config.minDate &&
self.config.minDate.getFullYear() === self.config.maxDate.getFullYear();
}
var currentMonth = createElement("div", "flatpickr-current-month");
currentMonth.appendChild(monthElement);
currentMonth.appendChild(yearInput);
monthNavFragment.appendChild(currentMonth);
container.appendChild(monthNavFragment);
return {
container: container,
yearElement: yearElement,
monthElement: monthElement,
};
}
function buildMonths() {
clearNode(self.monthNav);
self.monthNav.appendChild(self.prevMonthNav);
if (self.config.showMonths) {
self.yearElements = [];
self.monthElements = [];
}
for (var m = self.config.showMonths; m--;) {
var month = buildMonth();
self.yearElements.push(month.yearElement);
self.monthElements.push(month.monthElement);
self.monthNav.appendChild(month.container);
}
self.monthNav.appendChild(self.nextMonthNav);
}
function buildMonthNav() {
self.monthNav = createElement("div", "flatpickr-months");
self.yearElements = [];
self.monthElements = [];
self.prevMonthNav = createElement("span", "flatpickr-prev-month");
self.prevMonthNav.innerHTML = self.config.prevArrow;
self.nextMonthNav = createElement("span", "flatpickr-next-month");
self.nextMonthNav.innerHTML = self.config.nextArrow;
buildMonths();
Object.defineProperty(self, "_hidePrevMonthArrow", {
get: function () { return self.__hidePrevMonthArrow; },
set: function (bool) {
if (self.__hidePrevMonthArrow !== bool) {
toggleClass(self.prevMonthNav, "flatpickr-disabled", bool);
self.__hidePrevMonthArrow = bool;
}
},
});
Object.defineProperty(self, "_hideNextMonthArrow", {
get: function () { return self.__hideNextMonthArrow; },
set: function (bool) {
if (self.__hideNextMonthArrow !== bool) {
toggleClass(self.nextMonthNav, "flatpickr-disabled", bool);
self.__hideNextMonthArrow = bool;
}
},
});
self.currentYearElement = self.yearElements[0];
updateNavigationCurrentMonth();
return self.monthNav;
}
function buildTime() {
self.calendarContainer.classList.add("hasTime");
if (self.config.noCalendar)
self.calendarContainer.classList.add("noCalendar");
var defaults = getDefaultHours(self.config);
self.timeContainer = createElement("div", "flatpickr-time");
self.timeContainer.tabIndex = -1;
var separator = createElement("span", "flatpickr-time-separator", ":");
var hourInput = createNumberInput("flatpickr-hour", {
"aria-label": self.l10n.hourAriaLabel,
});
self.hourElement = hourInput.getElementsByTagName("input")[0];
var minuteInput = createNumberInput("flatpickr-minute", {
"aria-label": self.l10n.minuteAriaLabel,
});
self.minuteElement = minuteInput.getElementsByTagName("input")[0];
self.hourElement.tabIndex = self.minuteElement.tabIndex = -1;
self.hourElement.value = pad(self.latestSelectedDateObj
? self.latestSelectedDateObj.getHours()
: self.config.time_24hr
? defaults.hours
: military2ampm(defaults.hours));
self.minuteElement.value = pad(self.latestSelectedDateObj
? self.latestSelectedDateObj.getMinutes()
: defaults.minutes);
self.hourElement.setAttribute("step", self.config.hourIncrement.toString());
self.minuteElement.setAttribute("step", self.config.minuteIncrement.toString());
self.hourElement.setAttribute("min", self.config.time_24hr ? "0" : "1");
self.hourElement.setAttribute("max", self.config.time_24hr ? "23" : "12");
self.hourElement.setAttribute("maxlength", "2");
self.minuteElement.setAttribute("min", "0");
self.minuteElement.setAttribute("max", "59");
self.minuteElement.setAttribute("maxlength", "2");
self.timeContainer.appendChild(hourInput);
self.timeContainer.appendChild(separator);
self.timeContainer.appendChild(minuteInput);
if (self.config.time_24hr)
self.timeContainer.classList.add("time24hr");
if (self.config.enableSeconds) {
self.timeContainer.classList.add("hasSeconds");
var secondInput = createNumberInput("flatpickr-second");
self.secondElement = secondInput.getElementsByTagName("input")[0];
self.secondElement.value = pad(self.latestSelectedDateObj
? self.latestSelectedDateObj.getSeconds()
: defaults.seconds);
self.secondElement.setAttribute("step", self.minuteElement.getAttribute("step"));
self.secondElement.setAttribute("min", "0");
self.secondElement.setAttribute("max", "59");
self.secondElement.setAttribute("maxlength", "2");
self.timeContainer.appendChild(createElement("span", "flatpickr-time-separator", ":"));
self.timeContainer.appendChild(secondInput);
}
if (!self.config.time_24hr) {
// add self.amPM if appropriate
self.amPM = createElement("span", "flatpickr-am-pm", self.l10n.amPM[int((self.latestSelectedDateObj
? self.hourElement.value
: self.config.defaultHour) > 11)]);
self.amPM.title = self.l10n.toggleTitle;
self.amPM.tabIndex = -1;
self.timeContainer.appendChild(self.amPM);
}
return self.timeContainer;
}
function buildWeekdays() {
if (!self.weekdayContainer)
self.weekdayContainer = createElement("div", "flatpickr-weekdays");
else
clearNode(self.weekdayContainer);
for (var i = self.config.showMonths; i--;) {
var container = createElement("div", "flatpickr-weekdaycontainer");
self.weekdayContainer.appendChild(container);
}
updateWeekdays();
return self.weekdayContainer;
}
function updateWeekdays() {
if (!self.weekdayContainer) {
return;
}
var firstDayOfWeek = self.l10n.firstDayOfWeek;
var weekdays = __spreadArrays(self.l10n.weekdays.shorthand);
if (firstDayOfWeek > 0 && firstDayOfWeek < weekdays.length) {
weekdays = __spreadArrays(weekdays.splice(firstDayOfWeek, weekdays.length), weekdays.splice(0, firstDayOfWeek));
}
for (var i = self.config.showMonths; i--;) {
self.weekdayContainer.children[i].innerHTML = "\n <span class='flatpickr-weekday'>\n " + weekdays.join("</span><span class='flatpickr-weekday'>") + "\n </span>\n ";
}
}
/* istanbul ignore next */
function buildWeeks() {
self.calendarContainer.classList.add("hasWeeks");
var weekWrapper = createElement("div", "flatpickr-weekwrapper");
weekWrapper.appendChild(createElement("span", "flatpickr-weekday", self.l10n.weekAbbreviation));
var weekNumbers = createElement("div", "flatpickr-weeks");
weekWrapper.appendChild(weekNumbers);
return {
weekWrapper: weekWrapper,
weekNumbers: weekNumbers,
};
}
function changeMonth(value, isOffset) {
if (isOffset === void 0) { isOffset = true; }
var delta = isOffset ? value : value - self.currentMonth;
if ((delta < 0 && self._hidePrevMonthArrow === true) ||
(delta > 0 && self._hideNextMonthArrow === true))
return;
self.currentMonth += delta;
if (self.currentMonth < 0 || self.currentMonth > 11) {
self.currentYear += self.currentMonth > 11 ? 1 : -1;
self.currentMonth = (self.currentMonth + 12) % 12;
triggerEvent("onYearChange");
buildMonthSwitch();
}
buildDays();
triggerEvent("onMonthChange");
updateNavigationCurrentMonth();
}
function clear(triggerChangeEvent, toInitial) {
if (triggerChangeEvent === void 0) { triggerChangeEvent = true; }
if (toInitial === void 0) { toInitial = true; }
self.input.value = "";
if (self.altInput !== undefined)
self.altInput.value = "";
if (self.mobileInput !== undefined)
self.mobileInput.value = "";
self.selectedDates = [];
self.latestSelectedDateObj = undefined;
if (toInitial === true) {
self.currentYear = self._initialDate.getFullYear();
self.currentMonth = self._initialDate.getMonth();
}
if (self.config.enableTime === true) {
var _a = getDefaultHours(self.config), hours = _a.hours, minutes = _a.minutes, seconds = _a.seconds;
setHours(hours, minutes, seconds);
}
self.redraw();
if (triggerChangeEvent)
// triggerChangeEvent is true (default) or an Event
triggerEvent("onChange");
}
function close() {
self.isOpen = false;
if (!self.isMobile) {
if (self.calendarContainer !== undefined) {
self.calendarContainer.classList.remove("open");
}
if (self._input !== undefined) {
self._input.classList.remove("active");
}
}
triggerEvent("onClose");
}
function destroy() {
if (self.config !== undefined)
triggerEvent("onDestroy");
for (var i = self._handlers.length; i--;) {
self._handlers[i].remove();
}
self._handlers = [];
if (self.mobileInput) {
if (self.mobileInput.parentNode)
self.mobileInput.parentNode.removeChild(self.mobileInput);
self.mobileInput = undefined;
}
else if (self.calendarContainer && self.calendarContainer.parentNode) {
if (self.config.static && self.calendarContainer.parentNode) {
var wrapper = self.calendarContainer.parentNode;
wrapper.lastChild && wrapper.removeChild(wrapper.lastChild);
if (wrapper.parentNode) {
while (wrapper.firstChild)
wrapper.parentNode.insertBefore(wrapper.firstChild, wrapper);
wrapper.parentNode.removeChild(wrapper);
}
}
else
self.calendarContainer.parentNode.removeChild(self.calendarContainer);
}
if (self.altInput) {
self.input.type = "text";
if (self.altInput.parentNode)
self.altInput.parentNode.removeChild(self.altInput);
delete self.altInput;
}
if (self.input) {
self.input.type = self.input._type;
self.input.classList.remove("flatpickr-input");
self.input.removeAttribute("readonly");
}
[
"_showTimeInput",
"latestSelectedDateObj",
"_hideNextMonthArrow",
"_hidePrevMonthArrow",
"__hideNextMonthArrow",
"__hidePrevMonthArrow",
"isMobile",
"isOpen",
"selectedDateElem",
"minDateHasTime",
"maxDateHasTime",
"days",
"daysContainer",
"_input",
"_positionElement",
"innerContainer",
"rContainer",
"monthNav",
"todayDateElem",
"calendarContainer",
"weekdayContainer",
"prevMonthNav",
"nextMonthNav",
"monthsDropdownContainer",
"currentMonthElement",
"currentYearElement",
"navigationCurrentMonth",
"selectedDateElem",
"config",
].forEach(function (k) {
try {
delete self[k];
}
catch (_) { }
});
}
function isCalendarElem(elem) {
return self.calendarContainer.contains(elem);
}
function documentClick(e) {
if (self.isOpen && !self.config.inline) {
var eventTarget_1 = getEventTarget(e);
var isCalendarElement = isCalendarElem(eventTarget_1);
var isInput = eventTarget_1 === self.input ||
eventTarget_1 === self.altInput ||
self.element.contains(eventTarget_1) ||
// web components
// e.path is not present in all browsers. circumventing typechecks
(e.path &&
e.path.indexOf &&
(~e.path.indexOf(self.input) ||
~e.path.indexOf(self.altInput)));
var lostFocus = !isInput &&
!isCalendarElement &&
!isCalendarElem(e.relatedTarget);
var isIgnored = !self.config.ignoredFocusElements.some(function (elem) {
return elem.contains(eventTarget_1);
});
if (lostFocus && isIgnored) {
if (self.config.allowInput) {
self.setDate(self._input.value, false, self.config.altInput
? self.config.altFormat
: self.config.dateFormat);
}
if (self.timeContainer !== undefined &&
self.minuteElement !== undefined &&
self.hourElement !== undefined &&
self.input.value !== "" &&
self.input.value !== undefined) {
updateTime();
}
self.close();
if (self.config &&
self.config.mode === "range" &&
self.selectedDates.length === 1)
self.clear(false);
}
}
}
function changeYear(newYear) {
if (!newYear ||
(self.config.minDate && newYear < self.config.minDate.getFullYear()) ||
(self.config.maxDate && newYear > self.config.maxDate.getFullYear()))
return;
var newYearNum = newYear, isNewYear = self.currentYear !== newYearNum;
self.currentYear = newYearNum || self.currentYear;
if (self.config.maxDate &&
self.currentYear === self.config.maxDate.getFullYear()) {
self.currentMonth = Math.min(self.config.maxDate.getMonth(), self.currentMonth);
}
else if (self.config.minDate &&
self.currentYear === self.config.minDate.getFullYear()) {
self.currentMonth = Math.max(self.config.minDate.getMonth(), self.currentMonth);
}
if (isNewYear) {
self.redraw();
triggerEvent("onYearChange");
buildMonthSwitch();
}
}
function isEnabled(date, timeless) {
var _a;
if (timeless === void 0) { timeless = true; }
var dateToCheck = self.parseDate(date, undefined, timeless); // timeless
if ((self.config.minDate &&
dateToCheck &&
compareDates(dateToCheck, self.config.minDate, timeless !== undefined ? timeless : !self.minDateHasTime) < 0) ||
(self.config.maxDate &&
dateToCheck &&
compareDates(dateToCheck, self.config.maxDate, timeless !== undefined ? timeless : !self.maxDateHasTime) > 0))
return false;
if (!self.config.enable && self.config.disable.length === 0)
return true;
if (dateToCheck === undefined)
return false;
var bool = !!self.config.enable, array = (_a = self.config.enable) !== null && _a !== void 0 ? _a : self.config.disable;
for (var i = 0, d = void 0; i < array.length; i++) {
d = array[i];
if (typeof d === "function" &&
d(dateToCheck) // disabled by function
)
return bool;
else if (d instanceof Date &&
dateToCheck !== undefined &&
d.getTime() === dateToCheck.getTime())
// disabled by date
return bool;
else if (typeof d === "string") {
// disabled by date string
var parsed = self.parseDate(d, undefined, true);
return parsed && parsed.getTime() === dateToCheck.getTime()
? bool
: !bool;
}
else if (
// disabled by range
typeof d === "object" &&
dateToCheck !== undefined &&
d.from &&
d.to &&
dateToCheck.getTime() >= d.from.getTime() &&
dateToCheck.getTime() <= d.to.getTime())
return bool;
}
return !bool;
}
function isInView(elem) {
if (self.daysContainer !== undefined)
return (elem.className.indexOf("hidden") === -1 &&
elem.className.indexOf("flatpickr-disabled") === -1 &&
self.daysContainer.contains(elem));
return false;
}
function onBlur(e) {
var isInput = e.target === self._input;
var valueChanged = self._input.value.trimEnd() !== getDateStr();
if (isInput &&
valueChanged &&
!(e.relatedTarget && isCalendarElem(e.relatedTarget))) {
self.setDate(self._input.value, true, e.target === self.altInput
? self.config.altFormat
: self.config.dateFormat);
}
}
function onKeyDown(e) {
// e.key e.keyCode
// "Backspace" 8
// "Tab" 9
// "Enter" 13
// "Escape" (IE "Esc") 27
// "ArrowLeft" (IE "Left") 37
// "ArrowUp" (IE "Up") 38
// "ArrowRight" (IE "Right") 39
// "ArrowDown" (IE "Down") 40
// "Delete" (IE "Del") 46
var eventTarget = getEventTarget(e);
var isInput = self.config.wrap
? element.contains(eventTarget)
: eventTarget === self._input;
var allowInput = self.config.allowInput;
var allowKeydown = self.isOpen && (!allowInput || !isInput);
var allowInlineKeydown = self.config.inline && isInput && !allowInput;
if (e.keyCode === 13 && isInput) {
if (allowInput) {
self.setDate(self._input.value, true, eventTarget === self.altInput
? self.config.altFormat
: self.config.dateFormat);
self.close();
return eventTarget.blur();
}
else {
self.open();
}
}
else if (isCalendarElem(eventTarget) ||
allowKeydown ||
allowInlineKeydown) {
var isTimeObj = !!self.timeContainer &&
self.timeContainer.contains(eventTarget);
switch (e.keyCode) {
case 13:
if (isTimeObj) {
e.preventDefault();
updateTime();
focusAndClose();
}
else
selectDate(e);
break;
case 27: // escape
e.preventDefault();
focusAndClose();
break;
case 8:
case 46:
if (isInput && !self.config.allowInput) {
e.preventDefault();
self.clear();
}
break;
case 37:
case 39:
if (!isTimeObj && !isInput) {
e.preventDefault();
var activeElement = getClosestActiveElement();
if (self.daysContainer !== undefined &&
(allowInput === false ||
(activeElement && isInView(activeElement)))) {
var delta_1 = e.keyCode === 39 ? 1 : -1;
if (!e.ctrlKey)
focusOnDay(undefined, delta_1);
else {
e.stopPropagation();
changeMonth(delta_1);
focusOnDay(getFirstAvailableDay(1), 0);
}
}
}
else if (self.hourElement)
self.hourElement.focus();
break;
case 38:
case 40:
e.preventDefault();
var delta = e.keyCode === 40 ? 1 : -1;
if ((self.daysContainer &&
eventTarget.$i !== undefined) ||
eventTarget === self.input ||
eventTarget === self.altInput) {
if (e.ctrlKey) {
e.stopPropagation();
changeYear(self.currentYear - delta);
focusOnDay(getFirstAvailableDay(1), 0);
}
else if (!isTimeObj)
focusOnDay(undefined, delta * 7);
}
else if (eventTarget === self.currentYearElement) {
changeYear(self.currentYear - delta);
}
else if (self.config.enableTime) {
if (!isTimeObj && self.hourElement)
self.hourElement.focus();
updateTime(e);
self._debouncedChange();
}
break;
case 9:
if (isTimeObj) {
var elems = [
self.hourElement,
self.minuteElement,
self.secondElement,
self.amPM,
]
.concat(self.pluginElements)
.filter(function (x) { return x; });
var i = elems.indexOf(eventTarget);
if (i !== -1) {
var target = elems[i + (e.shiftKey ? -1 : 1)];
e.preventDefault();
(target || self._input).focus();
}
}
else if (!self.config.noCalendar &&
self.daysContainer &&
self.daysContainer.contains(eventTarget) &&
e.shiftKey) {
e.preventDefault();
self._input.focus();
}
break;
}
}
if (self.amPM !== undefined && eventTarget === self.amPM) {
switch (e.key) {
case self.l10n.amPM[0].charAt(0):
case self.l10n.amPM[0].charAt(0).toLowerCase():
self.amPM.textContent = self.l10n.amPM[0];
setHoursFromInputs();
updateValue();
break;
case self.l10n.amPM[1].charAt(0):
case self.l10n.amPM[1].charAt(0).toLowerCase():
self.amPM.textContent = self.l10n.amPM[1];
setHoursFromInputs();
updateValue();
break;
}
}
if (isInput || isCalendarElem(eventTarget)) {
triggerEvent("onKeyDown", e);
}
}
function onMouseOver(elem, cellClass) {
if (cellClass === void 0) { cellClass = "flatpickr-day"; }
if (self.selectedDates.length !== 1 ||
(elem &&
(!elem.classList.contains(cellClass) ||
elem.classList.contains("flatpickr-disabled"))))
return;
var hoverDate = elem
? elem.dateObj.getTime()
: self.days.firstElementChild.dateObj.getTime(), initialDate = self.parseDate(self.selectedDates[0], undefined, true).getTime(), rangeStartDate = Math.min(hoverDate, self.selectedDates[0].getTime()), rangeEndDate = Math.max(hoverDate, self.selectedDates[0].getTime());
var containsDisabled = false;
var minRange = 0, maxRange = 0;
for (var t = rangeStartDate; t < rangeEndDate; t += duration.DAY) {
if (!isEnabled(new Date(t), true)) {
containsDisabled =
containsDisabled || (t > rangeStartDate && t < rangeEndDate);
if (t < initialDate && (!minRange || t > minRange))
minRange = t;
else if (t > initialDate && (!maxRange || t < maxRange))
maxRange = t;
}
}
var hoverableCells = Array.from(self.rContainer.querySelectorAll("*:nth-child(-n+" + self.config.showMonths + ") > ." + cellClass));
hoverableCells.forEach(function (dayElem) {
var date = dayElem.dateObj;
var timestamp = date.getTime();
var outOfRange = (minRange > 0 && timestamp < minRange) ||
(maxRange > 0 && timestamp > maxRange);
if (outOfRange) {
dayElem.classList.add("notAllowed");
["inRange", "startRange", "endRange"].forEach(function (c) {
dayElem.classList.remove(c);
});
return;
}
else if (containsDisabled && !outOfRange)
return;
["startRange", "inRange", "endRange", "notAllowed"].forEach(function (c) {
dayElem.classList.remove(c);
});
if (elem !== undefined) {
elem.classList.add(hoverDate <= self.selectedDates[0].getTime()
? "startRange"
: "endRange");
if (initialDate < hoverDate && timestamp === initialDate)
dayElem.classList.add("startRange");
else if (initialDate > hoverDate && timestamp === initialDate)
dayElem.classList.add("endRange");
if (timestamp >= minRange &&
(maxRange === 0 || timestamp <= maxRange) &&
isBetween(timestamp, initialDate, hoverDate))
dayElem.classList.add("inRange");
}
});
}
function onResize() {
if (self.isOpen && !self.config.static && !self.config.inline)
positionCalendar();
}
function open(e, positionElement) {
if (positionElement === void 0) { positionElement = self._positionElement; }
if (self.isMobile === true) {
if (e) {
e.preventDefault();
var eventTarget = getEventTarget(e);
if (eventTarget) {
eventTarget.blur();
}
}
if (self.mobileInput !== undefined) {
self.mobileInput.focus();
self.mobileInput.click();
}
triggerEvent("onOpen");
return;
}
else if (self._input.disabled || self.config.inline) {
return;
}
var wasOpen = self.isOpen;
self.isOpen = true;
if (!wasOpen) {
self.calendarContainer.classList.add("open");
self._input.classList.add("active");
triggerEvent("onOpen");
positionCalendar(positionElement);
}
if (self.config.enableTime === true && self.config.noCalendar === true) {
if (self.config.allowInput === false &&
(e === undefined ||
!self.timeContainer.contains(e.relatedTarget))) {
setTimeout(function () { return self.hourElement.select(); }, 50);
}
}
}
function minMaxDateSetter(type) {
return function (date) {
var dateObj = (self.config["_" + type + "Date"] = self.parseDate(date, self.config.dateFormat));
var inverseDateObj = self.config["_" + (type === "min" ? "max" : "min") + "Date"];
if (dateObj !== undefined) {
self[type === "min" ? "minDateHasTime" : "maxDateHasTime"] =
dateObj.getHours() > 0 ||
dateObj.getMinutes() > 0 ||
dateObj.getSeconds() > 0;
}
if (self.selectedDates) {
self.selectedDates = self.selectedDates.filter(function (d) { return isEnabled(d); });
if (!self.selectedDates.length && type === "min")
setHoursFromDate(dateObj);
updateValue();
}
if (self.daysContainer) {
redraw();
if (dateObj !== undefined)
self.currentYearElement[type] = dateObj.getFullYear().toString();
else
self.currentYearElement.removeAttribute(type);
self.currentYearElement.disabled =
!!inverseDateObj &&
dateObj !== undefined &&
inverseDateObj.getFullYear() === dateObj.getFullYear();
}
};
}
function parseConfig() {
var boolOpts = [
"wrap",
"weekNumbers",
"allowInput",
"allowInvalidPreload",
"clickOpens",
"time_24hr",
"enableTime",
"noCalendar",
"altInput",
"shorthandCurrentMonth",
"inline",
"static",
"enableSeconds",
"disableMobile",
];
var userConfig = __assign(__assign({}, JSON.parse(JSON.stringify(element.dataset || {}))), instanceConfig);
var formats = {};
self.config.parseDate = userConfig.parseDate;
self.config.formatDate = userConfig.formatDate;
Object.defineProperty(self.config, "enable", {
get: function () { return self.config._enable; },
set: function (dates) {
self.config._enable = parseDateRules(dates);
},
});
Object.defineProperty(self.config, "disable", {
get: function () { return self.config._disable; },
set: function (dates) {
self.config._disable = parseDateRules(dates);
},
});
var timeMode = userConfig.mode === "time";
if (!userConfig.dateFormat && (userConfig.enableTime || timeMode)) {
var defaultDateFormat = flatpickr.defaultConfig.dateFormat || defaults.dateFormat;
formats.dateFormat =
userConfig.noCalendar || timeMode
? "H:i" + (userConfig.enableSeconds ? ":S" : "")
: defaultDateFormat + " H:i" + (userConfig.enableSeconds ? ":S" : "");
}
if (userConfig.altInput &&
(userConfig.enableTime || timeMode) &&
!userConfig.altFormat) {
var defaultAltFormat = flatpickr.defaultConfig.altFormat || defaults.altFormat;
formats.altFormat =
userConfig.noCalendar || timeMode
? "h:i" + (userConfig.enableSeconds ? ":S K" : " K")
: defaultAltFormat + (" h:i" + (userConfig.enableSeconds ? ":S" : "") + " K");
}
Object.defineProperty(self.config, "minDate", {
get: function () { return self.config._minDate; },
set: minMaxDateSetter("min"),
});
Object.defineProperty(self.config, "maxDate", {
get: function () { return self.config._maxDate; },
set: minMaxDateSetter("max"),
});
var minMaxTimeSetter = function (type) { return function (val) {
self.config[type === "min" ? "_minTime" : "_maxTime"] = self.parseDate(val, "H:i:S");
}; };
Object.defineProperty(self.config, "minTime", {
get: function () { return self.config._minTime; },
set: minMaxTimeSetter("min"),
});
Object.defineProperty(self.config, "maxTime", {
get: function () { return self.config._maxTime; },
set: minMaxTimeSetter("max"),
});
if (userConfig.mode === "time") {
self.config.noCalendar = true;
self.config.enableTime = true;
}
Object.assign(self.config, formats, userConfig);
for (var i = 0; i < boolOpts.length; i++)
// https://github.com/microsoft/TypeScript/issues/31663
self.config[boolOpts[i]] =
self.config[boolOpts[i]] === true ||
self.config[boolOpts[i]] === "true";
HOOKS.filter(function (hook) { return self.config[hook] !== undefined; }).forEach(function (hook) {
self.config[hook] = arrayify(self.config[hook] || []).map(bindToInstance);
});
self.isMobile =
!self.config.disableMobile &&
!self.config.inline &&
self.config.mode === "single" &&
!self.config.disable.length &&
!self.config.enable &&
!self.config.weekNumbers &&
/Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini/i.test(navigator.userAgent);
for (var i = 0; i < self.config.plugins.length; i++) {
var pluginConf = self.config.plugins[i](self) || {};
for (var key in pluginConf) {
if (HOOKS.indexOf(key) > -1) {
self.config[key] = arrayify(pluginConf[key])
.map(bindToInstance)
.concat(self.config[key]);
}
else if (typeof userConfig[key] === "undefined")
self.config[key] = pluginConf[key];
}
}
if (!userConfig.altInputClass) {
self.config.altInputClass =
getInputElem().className + " " + self.config.altInputClass;
}
triggerEvent("onParseConfig");
}
function getInputElem() {
return self.config.wrap
? element.querySelector("[data-input]")
: element;
}
function setupLocale() {
if (typeof self.config.locale !== "object" &&
typeof flatpickr.l10ns[self.config.locale] === "undefined")
self.config.errorHandler(new Error("flatpickr: invalid locale " + self.config.locale));
self.l10n = __assign(__assign({}, flatpickr.l10ns.default), (typeof self.config.locale === "object"
? self.config.locale
: self.config.locale !== "default"
? flatpickr.l10ns[self.config.locale]
: undefined));
tokenRegex.D = "(" + self.l10n.weekdays.shorthand.join("|") + ")";
tokenRegex.l = "(" + self.l10n.weekdays.longhand.join("|") + ")";
tokenRegex.M = "(" + self.l10n.months.shorthand.join("|") + ")";
tokenRegex.F = "(" + self.l10n.months.longhand.join("|") + ")";
tokenRegex.K = "(" + self.l10n.amPM[0] + "|" + self.l10n.amPM[1] + "|" + self.l10n.amPM[0].toLowerCase() + "|" + self.l10n.amPM[1].toLowerCase() + ")";
var userConfig = __assign(__assign({}, instanceConfig), JSON.parse(JSON.stringify(element.dataset || {})));
if (userConfig.time_24hr === undefined &&
flatpickr.defaultConfig.time_24hr === undefined) {
self.config.time_24hr = self.l10n.time_24hr;
}
self.formatDate = createDateFormatter(self);
self.parseDate = createDateParser({ config: self.config, l10n: self.l10n });
}
function positionCalendar(customPositionElement) {
if (typeof self.config.position === "function") {
return void self.config.position(self, customPositionElement);
}
if (self.calendarContainer === undefined)
return;
triggerEvent("onPreCalendarPosition");
var positionElement = customPositionElement || self._positionElement;
var calendarHeight = Array.prototype.reduce.call(self.calendarContainer.children, (function (acc, child) { return acc + child.offsetHeight; }), 0), calendarWidth = self.calendarContainer.offsetWidth, configPos = self.config.position.split(" "), configPosVertical = configPos[0], configPosHorizontal = configPos.length > 1 ? configPos[1] : null, inputBounds = positionElement.getBoundingClientRect(), distanceFromBottom = window.innerHeight - inputBounds.bottom, showOnTop = configPosVertical === "above" ||
(configPosVertical !== "below" &&
distanceFromBottom < calendarHeight &&
inputBounds.top > calendarHeight);
var top = window.pageYOffset +
inputBounds.top +
(!showOnTop ? positionElement.offsetHeight + 2 : -calendarHeight - 2);
toggleClass(self.calendarContainer, "arrowTop", !showOnTop);
toggleClass(self.calendarContainer, "arrowBottom", showOnTop);
if (self.config.inline)
return;
var left = window.pageXOffset + inputBounds.left;
var isCenter = false;
var isRight = false;
if (configPosHorizontal === "center") {
left -= (calendarWidth - inputBounds.width) / 2;
isCenter = true;
}
else if (configPosHorizontal === "right") {
left -= calendarWidth - inputBounds.width;
isRight = true;
}
toggleClass(self.calendarContainer, "arrowLeft", !isCenter && !isRight);
toggleClass(self.calendarContainer, "arrowCenter", isCenter);
toggleClass(self.calendarContainer, "arrowRight", isRight);
var right = window.document.body.offsetWidth -
(window.pageXOffset + inputBounds.right);
var rightMost = left + calendarWidth > window.document.body.offsetWidth;
var centerMost = right + calendarWidth > window.document.body.offsetWidth;
toggleClass(self.calendarContainer, "rightMost", rightMost);
if (self.config.static)
return;
self.calendarContainer.style.top = top + "px";
if (!rightMost) {
self.calendarContainer.style.left = left + "px";
self.calendarContainer.style.right = "auto";
}
else if (!centerMost) {
self.calendarContainer.style.left = "auto";
self.calendarContainer.style.right = right + "px";
}
else {
var doc = getDocumentStyleSheet();
// some testing environments don't have css support
if (doc === undefined)
return;
var bodyWidth = window.document.body.offsetWidth;
var centerLeft = Math.max(0, bodyWidth / 2 - calendarWidth / 2);
var centerBefore = ".flatpickr-calendar.centerMost:before";
var centerAfter = ".flatpickr-calendar.centerMost:after";
var centerIndex = doc.cssRules.length;
var centerStyle = "{left:" + inputBounds.left + "px;right:auto;}";
toggleClass(self.calendarContainer, "rightMost", false);
toggleClass(self.calendarContainer, "centerMost", true);
doc.insertRule(centerBefore + "," + centerAfter + centerStyle, centerIndex);
self.calendarContainer.style.left = centerLeft + "px";
self.calendarContainer.style.right = "auto";
}
}
function getDocumentStyleSheet() {
var editableSheet = null;
for (var i = 0; i < document.styleSheets.length; i++) {
var sheet = document.styleSheets[i];
if (!sheet.cssRules)
continue;
try {
sheet.cssRules;
}
catch (err) {
continue;
}
editableSheet = sheet;
break;
}
return editableSheet != null ? editableSheet : createStyleSheet();
}
function createStyleSheet() {
var style = document.createElement("style");
document.head.appendChild(style);
return style.sheet;
}
function redraw() {
if (self.config.noCalendar || self.isMobile)
return;
buildMonthSwitch();
updateNavigationCurrentMonth();
buildDays();
}
function focusAndClose() {
self._input.focus();
if (window.navigator.userAgent.indexOf("MSIE") !== -1 ||
navigator.msMaxTouchPoints !== undefined) {
// hack - bugs in the way IE handles focus keeps the calendar open
setTimeout(self.close, 0);
}
else {
self.close();
}
}
function selectDate(e) {
e.preventDefault();
e.stopPropagation();
var isSelectable = function (day) {
return day.classList &&
day.classList.contains("flatpickr-day") &&
!day.classList.contains("flatpickr-disabled") &&
!day.classList.contains("notAllowed");
};
var t = findParent(getEventTarget(e), isSelectable);
if (t === undefined)
return;
var target = t;
var selectedDate = (self.latestSelectedDateObj = new Date(target.dateObj.getTime()));
var shouldChangeMonth = (selectedDate.getMonth() < self.currentMonth ||
selectedDate.getMonth() >
self.currentMonth + self.config.showMonths - 1) &&
self.config.mode !== "range";
self.selectedDateElem = target;
if (self.config.mode === "single")
self.selectedDates = [selectedDate];
else if (self.config.mode === "multiple") {
var selectedIndex = isDateSelected(selectedDate);
if (selectedIndex)
self.selectedDates.splice(parseInt(selectedIndex), 1);
else
self.selectedDates.push(selectedDate);
}
else if (self.config.mode === "range") {
if (self.selectedDates.length === 2) {
self.clear(false, false);
}
self.latestSelectedDateObj = selectedDate;
self.selectedDates.push(selectedDate);
// unless selecting same date twice, sort ascendingly
if (compareDates(selectedDate, self.selectedDates[0], true) !== 0)
self.selectedDates.sort(function (a, b) { return a.getTime() - b.getTime(); });
}
setHoursFromInputs();
if (shouldChangeMonth) {
var isNewYear = self.currentYear !== selectedDate.getFullYear();
self.currentYear = selectedDate.getFullYear();
self.currentMonth = selectedDate.getMonth();
if (isNewYear) {
triggerEvent("onYearChange");
buildMonthSwitch();
}
triggerEvent("onMonthChange");
}
updateNavigationCurrentMonth();
buildDays();
updateValue();
// maintain focus
if (!shouldChangeMonth &&
self.config.mode !== "range" &&
self.config.showMonths === 1)
focusOnDayElem(target);
else if (self.selectedDateElem !== undefined &&
self.hourElement === undefined) {
self.selectedDateElem && self.selectedDateElem.focus();
}
if (self.hourElement !== undefined)
self.hourElement !== undefined && self.hourElement.focus();
if (self.config.closeOnSelect) {
var single = self.config.mode === "single" && !self.config.enableTime;
var range = self.config.mode === "range" &&
self.selectedDates.length === 2 &&
!self.config.enableTime;
if (single || range) {
focusAndClose();
}
}
triggerChange();
}
var CALLBACKS = {
locale: [setupLocale, updateWeekdays],
showMonths: [buildMonths, setCalendarWidth, buildWeekdays],
minDate: [jumpToDate],
maxDate: [jumpToDate],
positionElement: [updatePositionElement],
clickOpens: [
function () {
if (self.config.clickOpens === true) {
bind(self._input, "focus", self.open);
bind(self._input, "click", self.open);
}
else {
self._input.removeEventListener("focus", self.open);
self._input.removeEventListener("click", self.open);
}
},
],
};
function set(option, value) {
if (option !== null && typeof option === "object") {
Object.assign(self.config, option);
for (var key in option) {
if (CALLBACKS[key] !== undefined)
CALLBACKS[key].forEach(function (x) { return x(); });
}
}
else {
self.config[option] = value;
if (CALLBACKS[option] !== undefined)
CALLBACKS[option].forEach(function (x) { return x(); });
else if (HOOKS.indexOf(option) > -1)
self.config[option] = arrayify(value);
}
self.redraw();
updateValue(true);
}
function setSelectedDate(inputDate, format) {
var dates = [];
if (inputDate instanceof Array)
dates = inputDate.map(function (d) { return self.parseDate(d, format); });
else if (inputDate instanceof Date || typeof inputDate === "number")
dates = [self.parseDate(inputDate, format)];
else if (typeof inputDate === "string") {
switch (self.config.mode) {
case "single":
case "time":
dates = [self.parseDate(inputDate, format)];
break;
case "multiple":
dates = inputDate
.split(self.config.conjunction)
.map(function (date) { return self.parseDate(date, format); });
break;
case "range":
dates = inputDate
.split(self.l10n.rangeSeparator)
.map(function (date) { return self.parseDate(date, format); });
break;
}
}
else
self.config.errorHandler(new Error("Invalid date supplied: " + JSON.stringify(inputDate)));
self.selectedDates = (self.config.allowInvalidPreload
? dates
: dates.filter(function (d) { return d instanceof Date && isEnabled(d, false); }));
if (self.config.mode === "range")
self.selectedDates.sort(function (a, b) { return a.getTime() - b.getTime(); });
}
function setDate(date, triggerChange, format) {
if (triggerChange === void 0) { triggerChange = false; }
if (format === void 0) { format = self.config.dateFormat; }
if ((date !== 0 && !date) || (date instanceof Array && date.length === 0))
return self.clear(triggerChange);
setSelectedDate(date, format);
self.latestSelectedDateObj =
self.selectedDates[self.selectedDates.length - 1];
self.redraw();
jumpToDate(undefined, triggerChange);
setHoursFromDate();
if (self.selectedDates.length === 0) {
self.clear(false);
}
updateValue(triggerChange);
if (triggerChange)
triggerEvent("onChange");
}
function parseDateRules(arr) {
return arr
.slice()
.map(function (rule) {
if (typeof rule === "string" ||
typeof rule === "number" ||
rule instanceof Date) {
return self.parseDate(rule, undefined, true);
}
else if (rule &&
typeof rule === "object" &&
rule.from &&
rule.to)
return {
from: self.parseDate(rule.from, undefined),
to: self.parseDate(rule.to, undefined),
};
return rule;
})
.filter(function (x) { return x; }); // remove falsy values
}
function setupDates() {
self.selectedDates = [];
self.now = self.parseDate(self.config.now) || new Date();
// Workaround IE11 setting placeholder as the input's value
var preloadedDate = self.config.defaultDate ||
((self.input.nodeName === "INPUT" ||
self.input.nodeName === "TEXTAREA") &&
self.input.placeholder &&
self.input.value === self.input.placeholder
? null
: self.input.value);
if (preloadedDate)
setSelectedDate(preloadedDate, self.config.dateFormat);
self._initialDate =
self.selectedDates.length > 0
? self.selectedDates[0]
: self.config.minDate &&
self.config.minDate.getTime() > self.now.getTime()
? self.config.minDate
: self.config.maxDate &&
self.config.maxDate.getTime() < self.now.getTime()
? self.config.maxDate
: self.now;
self.currentYear = self._initialDate.getFullYear();
self.currentMonth = self._initialDate.getMonth();
if (self.selectedDates.length > 0)
self.latestSelectedDateObj = self.selectedDates[0];
if (self.config.minTime !== undefined)
self.config.minTime = self.parseDate(self.config.minTime, "H:i");
if (self.config.maxTime !== undefined)
self.config.maxTime = self.parseDate(self.config.maxTime, "H:i");
self.minDateHasTime =
!!self.config.minDate &&
(self.config.minDate.getHours() > 0 ||
self.config.minDate.getMinutes() > 0 ||
self.config.minDate.getSeconds() > 0);
self.maxDateHasTime =
!!self.config.maxDate &&
(self.config.maxDate.getHours() > 0 ||
self.config.maxDate.getMinutes() > 0 ||
self.config.maxDate.getSeconds() > 0);
}
function setupInputs() {
self.input = getInputElem();
/* istanbul ignore next */
if (!self.input) {
self.config.errorHandler(new Error("Invalid input element specified"));
return;
}
// hack: store previous type to restore it after destroy()
self.input._type = self.input.type;
self.input.type = "text";
self.input.classList.add("flatpickr-input");
self._input = self.input;
if (self.config.altInput) {
// replicate self.element
self.altInput = createElement(self.input.nodeName, self.config.altInputClass);
self._input = self.altInput;
self.altInput.placeholder = self.input.placeholder;
self.altInput.disabled = self.input.disabled;
self.altInput.required = self.input.required;
self.altInput.tabIndex = self.input.tabIndex;
self.altInput.type = "text";
self.input.setAttribute("type", "hidden");
if (!self.config.static && self.input.parentNode)
self.input.parentNode.insertBefore(self.altInput, self.input.nextSibling);
}
if (!self.config.allowInput)
self._input.setAttribute("readonly", "readonly");
updatePositionElement();
}
function updatePositionElement() {
self._positionElement = self.config.positionElement || self._input;
}
function setupMobile() {
var inputType = self.config.enableTime
? self.config.noCalendar
? "time"
: "datetime-local"
: "date";
self.mobileInput = createElement("input", self.input.className + " flatpickr-mobile");
self.mobileInput.tabIndex = 1;
self.mobileInput.type = inputType;
self.mobileInput.disabled = self.input.disabled;
self.mobileInput.required = self.input.required;
self.mobileInput.placeholder = self.input.placeholder;
self.mobileFormatStr =
inputType === "datetime-local"
? "Y-m-d\\TH:i:S"
: inputType === "date"
? "Y-m-d"
: "H:i:S";
if (self.selectedDates.length > 0) {
self.mobileInput.defaultValue = self.mobileInput.value = self.formatDate(self.selectedDates[0], self.mobileFormatStr);
}
if (self.config.minDate)
self.mobileInput.min = self.formatDate(self.config.minDate, "Y-m-d");
if (self.config.maxDate)
self.mobileInput.max = self.formatDate(self.config.maxDate, "Y-m-d");
if (self.input.getAttribute("step"))
self.mobileInput.step = String(self.input.getAttribute("step"));
self.input.type = "hidden";
if (self.altInput !== undefined)
self.altInput.type = "hidden";
try {
if (self.input.parentNode)
self.input.parentNode.insertBefore(self.mobileInput, self.input.nextSibling);
}
catch (_a) { }
bind(self.mobileInput, "change", function (e) {
self.setDate(getEventTarget(e).value, false, self.mobileFormatStr);
triggerEvent("onChange");
triggerEvent("onClose");
});
}
function toggle(e) {
if (self.isOpen === true)
return self.close();
self.open(e);
}
function triggerEvent(event, data) {
// If the instance has been destroyed already, all hooks have been removed
if (self.config === undefined)
return;
var hooks = self.config[event];
if (hooks !== undefined && hooks.length > 0) {
for (var i = 0; hooks[i] && i < hooks.length; i++)
hooks[i](self.selectedDates, self.input.value, self, data);
}
if (event === "onChange") {
self.input.dispatchEvent(createEvent("change"));
// many front-end frameworks bind to the input event
self.input.dispatchEvent(createEvent("input"));
}
}
function createEvent(name) {
var e = document.createEvent("Event");
e.initEvent(name, true, true);
return e;
}
function isDateSelected(date) {
for (var i = 0; i < self.selectedDates.length; i++) {
var selectedDate = self.selectedDates[i];
if (selectedDate instanceof Date &&
compareDates(selectedDate, date) === 0)
return "" + i;
}
return false;
}
function isDateInRange(date) {
if (self.config.mode !== "range" || self.selectedDates.length < 2)
return false;
return (compareDates(date, self.selectedDates[0]) >= 0 &&
compareDates(date, self.selectedDates[1]) <= 0);
}
function updateNavigationCurrentMonth() {
if (self.config.noCalendar || self.isMobile || !self.monthNav)
return;
self.yearElements.forEach(function (yearElement, i) {
var d = new Date(self.currentYear, self.currentMonth, 1);
d.setMonth(self.currentMonth + i);
if (self.config.showMonths > 1 ||
self.config.monthSelectorType === "static") {
self.monthElements[i].textContent =
monthToStr(d.getMonth(), self.config.shorthandCurrentMonth, self.l10n) + " ";
}
else {
self.monthsDropdownContainer.value = d.getMonth().toString();
}
yearElement.value = d.getFullYear().toString();
});
self._hidePrevMonthArrow =
self.config.minDate !== undefined &&
(self.currentYear === self.config.minDate.getFullYear()
? self.currentMonth <= self.config.minDate.getMonth()
: self.currentYear < self.config.minDate.getFullYear());
self._hideNextMonthArrow =
self.config.maxDate !== undefined &&
(self.currentYear === self.config.maxDate.getFullYear()
? self.currentMonth + 1 > self.config.maxDate.getMonth()
: self.currentYear > self.config.maxDate.getFullYear());
}
function getDateStr(specificFormat) {
var format = specificFormat ||
(self.config.altInput ? self.config.altFormat : self.config.dateFormat);
return self.selectedDates
.map(function (dObj) { return self.formatDate(dObj, format); })
.filter(function (d, i, arr) {
return self.config.mode !== "range" ||
self.config.enableTime ||
arr.indexOf(d) === i;
})
.join(self.config.mode !== "range"
? self.config.conjunction
: self.l10n.rangeSeparator);
}
/**
* Updates the values of inputs associated with the calendar
*/
function updateValue(triggerChange) {
if (triggerChange === void 0) { triggerChange = true; }
if (self.mobileInput !== undefined && self.mobileFormatStr) {
self.mobileInput.value =
self.latestSelectedDateObj !== undefined
? self.formatDate(self.latestSelectedDateObj, self.mobileFormatStr)
: "";
}
self.input.value = getDateStr(self.config.dateFormat);
if (self.altInput !== undefined) {
self.altInput.value = getDateStr(self.config.altFormat);
}
if (triggerChange !== false)
triggerEvent("onValueUpdate");
}
function onMonthNavClick(e) {
var eventTarget = getEventTarget(e);
var isPrevMonth = self.prevMonthNav.contains(eventTarget);
var isNextMonth = self.nextMonthNav.contains(eventTarget);
if (isPrevMonth || isNextMonth) {
changeMonth(isPrevMonth ? -1 : 1);
}
else if (self.yearElements.indexOf(eventTarget) >= 0) {
eventTarget.select();
}
else if (eventTarget.classList.contains("arrowUp")) {
self.changeYear(self.currentYear + 1);
}
else if (eventTarget.classList.contains("arrowDown")) {
self.changeYear(self.currentYear - 1);
}
}
function timeWrapper(e) {
e.preventDefault();
var isKeyDown = e.type === "keydown", eventTarget = getEventTarget(e), input = eventTarget;
if (self.amPM !== undefined && eventTarget === self.amPM) {
self.amPM.textContent =
self.l10n.amPM[int(self.amPM.textContent === self.l10n.amPM[0])];
}
var min = parseFloat(input.getAttribute("min")), max = parseFloat(input.getAttribute("max")), step = parseFloat(input.getAttribute("step")), curValue = parseInt(input.value, 10), delta = e.delta ||
(isKeyDown ? (e.which === 38 ? 1 : -1) : 0);
var newValue = curValue + step * delta;
if (typeof input.value !== "undefined" && input.value.length === 2) {
var isHourElem = input === self.hourElement, isMinuteElem = input === self.minuteElement;
if (newValue < min) {
newValue =
max +
newValue +
int(!isHourElem) +
(int(isHourElem) && int(!self.amPM));
if (isMinuteElem)
incrementNumInput(undefined, -1, self.hourElement);
}
else if (newValue > max) {
newValue =
input === self.hourElement ? newValue - max - int(!self.amPM) : min;
if (isMinuteElem)
incrementNumInput(undefined, 1, self.hourElement);
}
if (self.amPM &&
isHourElem &&
(step === 1
? newValue + curValue === 23
: Math.abs(newValue - curValue) > step)) {
self.amPM.textContent =
self.l10n.amPM[int(self.amPM.textContent === self.l10n.amPM[0])];
}
input.value = pad(newValue);
}
}
init();
return self;
}
/* istanbul ignore next */
function _flatpickr(nodeList, config) {
// static list
var nodes = Array.prototype.slice
.call(nodeList)
.filter(function (x) { return x instanceof HTMLElement; });
var instances = [];
for (var i = 0; i < nodes.length; i++) {
var node = nodes[i];
try {
if (node.getAttribute("data-fp-omit") !== null)
continue;
if (node._flatpickr !== undefined) {
node._flatpickr.destroy();
node._flatpickr = undefined;
}
node._flatpickr = FlatpickrInstance(node, config || {});
instances.push(node._flatpickr);
}
catch (e) {
console.error(e);
}
}
return instances.length === 1 ? instances[0] : instances;
}
/* istanbul ignore next */
if (typeof HTMLElement !== "undefined" &&
typeof HTMLCollection !== "undefined" &&
typeof NodeList !== "undefined") {
// browser env
HTMLCollection.prototype.flatpickr = NodeList.prototype.flatpickr = function (config) {
return _flatpickr(this, config);
};
HTMLElement.prototype.flatpickr = function (config) {
return _flatpickr([this], config);
};
}
/* istanbul ignore next */
var flatpickr = function (selector, config) {
if (typeof selector === "string") {
return _flatpickr(window.document.querySelectorAll(selector), config);
}
else if (selector instanceof Node) {
return _flatpickr([selector], config);
}
else {
return _flatpickr(selector, config);
}
};
/* istanbul ignore next */
flatpickr.defaultConfig = {};
flatpickr.l10ns = {
en: __assign({}, english),
default: __assign({}, english),
};
flatpickr.localize = function (l10n) {
flatpickr.l10ns.default = __assign(__assign({}, flatpickr.l10ns.default), l10n);
};
flatpickr.setDefaults = function (config) {
flatpickr.defaultConfig = __assign(__assign({}, flatpickr.defaultConfig), config);
};
flatpickr.parseDate = createDateParser({});
flatpickr.formatDate = createDateFormatter({});
flatpickr.compareDates = compareDates;
/* istanbul ignore next */
if (typeof jQuery !== "undefined" && typeof jQuery.fn !== "undefined") {
jQuery.fn.flatpickr = function (config) {
return _flatpickr(this, config);
};
}
Date.prototype.fp_incr = function (days) {
return new Date(this.getFullYear(), this.getMonth(), this.getDate() + (typeof days === "string" ? parseInt(days, 10) : days));
};
if (typeof window !== "undefined") {
window.flatpickr = flatpickr;
}
return flatpickr;
})));
dist/themes/dark.css 0000644 00000045333 15167673014 0010451 0 ustar 00 .flatpickr-calendar {
background: transparent;
opacity: 0;
display: none;
text-align: center;
visibility: hidden;
padding: 0;
-webkit-animation: none;
animation: none;
direction: ltr;
border: 0;
font-size: 14px;
line-height: 24px;
border-radius: 5px;
position: absolute;
width: 307.875px;
-webkit-box-sizing: border-box;
box-sizing: border-box;
-ms-touch-action: manipulation;
touch-action: manipulation;
background: #3f4458;
-webkit-box-shadow: 1px 0 0 #20222c, -1px 0 0 #20222c, 0 1px 0 #20222c, 0 -1px 0 #20222c, 0 3px 13px rgba(0,0,0,0.08);
box-shadow: 1px 0 0 #20222c, -1px 0 0 #20222c, 0 1px 0 #20222c, 0 -1px 0 #20222c, 0 3px 13px rgba(0,0,0,0.08);
}
.flatpickr-calendar.open,
.flatpickr-calendar.inline {
opacity: 1;
max-height: 640px;
visibility: visible;
}
.flatpickr-calendar.open {
display: inline-block;
z-index: 99999;
}
.flatpickr-calendar.animate.open {
-webkit-animation: fpFadeInDown 300ms cubic-bezier(0.23, 1, 0.32, 1);
animation: fpFadeInDown 300ms cubic-bezier(0.23, 1, 0.32, 1);
}
.flatpickr-calendar.inline {
display: block;
position: relative;
top: 2px;
}
.flatpickr-calendar.static {
position: absolute;
top: calc(100% + 2px);
}
.flatpickr-calendar.static.open {
z-index: 999;
display: block;
}
.flatpickr-calendar.multiMonth .flatpickr-days .dayContainer:nth-child(n+1) .flatpickr-day.inRange:nth-child(7n+7) {
-webkit-box-shadow: none !important;
box-shadow: none !important;
}
.flatpickr-calendar.multiMonth .flatpickr-days .dayContainer:nth-child(n+2) .flatpickr-day.inRange:nth-child(7n+1) {
-webkit-box-shadow: -2px 0 0 #e6e6e6, 5px 0 0 #e6e6e6;
box-shadow: -2px 0 0 #e6e6e6, 5px 0 0 #e6e6e6;
}
.flatpickr-calendar .hasWeeks .dayContainer,
.flatpickr-calendar .hasTime .dayContainer {
border-bottom: 0;
border-bottom-right-radius: 0;
border-bottom-left-radius: 0;
}
.flatpickr-calendar .hasWeeks .dayContainer {
border-left: 0;
}
.flatpickr-calendar.hasTime .flatpickr-time {
height: 40px;
border-top: 1px solid #20222c;
}
.flatpickr-calendar.noCalendar.hasTime .flatpickr-time {
height: auto;
}
.flatpickr-calendar:before,
.flatpickr-calendar:after {
position: absolute;
display: block;
pointer-events: none;
border: solid transparent;
content: '';
height: 0;
width: 0;
left: 22px;
}
.flatpickr-calendar.rightMost:before,
.flatpickr-calendar.arrowRight:before,
.flatpickr-calendar.rightMost:after,
.flatpickr-calendar.arrowRight:after {
left: auto;
right: 22px;
}
.flatpickr-calendar.arrowCenter:before,
.flatpickr-calendar.arrowCenter:after {
left: 50%;
right: 50%;
}
.flatpickr-calendar:before {
border-width: 5px;
margin: 0 -5px;
}
.flatpickr-calendar:after {
border-width: 4px;
margin: 0 -4px;
}
.flatpickr-calendar.arrowTop:before,
.flatpickr-calendar.arrowTop:after {
bottom: 100%;
}
.flatpickr-calendar.arrowTop:before {
border-bottom-color: #20222c;
}
.flatpickr-calendar.arrowTop:after {
border-bottom-color: #3f4458;
}
.flatpickr-calendar.arrowBottom:before,
.flatpickr-calendar.arrowBottom:after {
top: 100%;
}
.flatpickr-calendar.arrowBottom:before {
border-top-color: #20222c;
}
.flatpickr-calendar.arrowBottom:after {
border-top-color: #3f4458;
}
.flatpickr-calendar:focus {
outline: 0;
}
.flatpickr-wrapper {
position: relative;
display: inline-block;
}
.flatpickr-months {
display: -webkit-box;
display: -webkit-flex;
display: -ms-flexbox;
display: flex;
}
.flatpickr-months .flatpickr-month {
background: #3f4458;
color: #fff;
fill: #fff;
height: 34px;
line-height: 1;
text-align: center;
position: relative;
-webkit-user-select: none;
-moz-user-select: none;
-ms-user-select: none;
user-select: none;
overflow: hidden;
-webkit-box-flex: 1;
-webkit-flex: 1;
-ms-flex: 1;
flex: 1;
}
.flatpickr-months .flatpickr-prev-month,
.flatpickr-months .flatpickr-next-month {
-webkit-user-select: none;
-moz-user-select: none;
-ms-user-select: none;
user-select: none;
text-decoration: none;
cursor: pointer;
position: absolute;
top: 0;
height: 34px;
padding: 10px;
z-index: 3;
color: #fff;
fill: #fff;
}
.flatpickr-months .flatpickr-prev-month.flatpickr-disabled,
.flatpickr-months .flatpickr-next-month.flatpickr-disabled {
display: none;
}
.flatpickr-months .flatpickr-prev-month i,
.flatpickr-months .flatpickr-next-month i {
position: relative;
}
.flatpickr-months .flatpickr-prev-month.flatpickr-prev-month,
.flatpickr-months .flatpickr-next-month.flatpickr-prev-month {
/*
/*rtl:begin:ignore*/
/*
*/
left: 0;
/*
/*rtl:end:ignore*/
/*
*/
}
/*
/*rtl:begin:ignore*/
/*
/*rtl:end:ignore*/
.flatpickr-months .flatpickr-prev-month.flatpickr-next-month,
.flatpickr-months .flatpickr-next-month.flatpickr-next-month {
/*
/*rtl:begin:ignore*/
/*
*/
right: 0;
/*
/*rtl:end:ignore*/
/*
*/
}
/*
/*rtl:begin:ignore*/
/*
/*rtl:end:ignore*/
.flatpickr-months .flatpickr-prev-month:hover,
.flatpickr-months .flatpickr-next-month:hover {
color: #eee;
}
.flatpickr-months .flatpickr-prev-month:hover svg,
.flatpickr-months .flatpickr-next-month:hover svg {
fill: #f64747;
}
.flatpickr-months .flatpickr-prev-month svg,
.flatpickr-months .flatpickr-next-month svg {
width: 14px;
height: 14px;
}
.flatpickr-months .flatpickr-prev-month svg path,
.flatpickr-months .flatpickr-next-month svg path {
-webkit-transition: fill 0.1s;
transition: fill 0.1s;
fill: inherit;
}
.numInputWrapper {
position: relative;
height: auto;
}
.numInputWrapper input,
.numInputWrapper span {
display: inline-block;
}
.numInputWrapper input {
width: 100%;
}
.numInputWrapper input::-ms-clear {
display: none;
}
.numInputWrapper input::-webkit-outer-spin-button,
.numInputWrapper input::-webkit-inner-spin-button {
margin: 0;
-webkit-appearance: none;
}
.numInputWrapper span {
position: absolute;
right: 0;
width: 14px;
padding: 0 4px 0 2px;
height: 50%;
line-height: 50%;
opacity: 0;
cursor: pointer;
border: 1px solid rgba(255,255,255,0.15);
-webkit-box-sizing: border-box;
box-sizing: border-box;
}
.numInputWrapper span:hover {
background: rgba(192,187,167,0.1);
}
.numInputWrapper span:active {
background: rgba(192,187,167,0.2);
}
.numInputWrapper span:after {
display: block;
content: "";
position: absolute;
}
.numInputWrapper span.arrowUp {
top: 0;
border-bottom: 0;
}
.numInputWrapper span.arrowUp:after {
border-left: 4px solid transparent;
border-right: 4px solid transparent;
border-bottom: 4px solid rgba(255,255,255,0.6);
top: 26%;
}
.numInputWrapper span.arrowDown {
top: 50%;
}
.numInputWrapper span.arrowDown:after {
border-left: 4px solid transparent;
border-right: 4px solid transparent;
border-top: 4px solid rgba(255,255,255,0.6);
top: 40%;
}
.numInputWrapper span svg {
width: inherit;
height: auto;
}
.numInputWrapper span svg path {
fill: rgba(255,255,255,0.5);
}
.numInputWrapper:hover {
background: rgba(192,187,167,0.05);
}
.numInputWrapper:hover span {
opacity: 1;
}
.flatpickr-current-month {
font-size: 135%;
line-height: inherit;
font-weight: 300;
color: inherit;
position: absolute;
width: 75%;
left: 12.5%;
padding: 7.48px 0 0 0;
line-height: 1;
height: 34px;
display: inline-block;
text-align: center;
-webkit-transform: translate3d(0px, 0px, 0px);
transform: translate3d(0px, 0px, 0px);
}
.flatpickr-current-month span.cur-month {
font-family: inherit;
font-weight: 700;
color: inherit;
display: inline-block;
margin-left: 0.5ch;
padding: 0;
}
.flatpickr-current-month span.cur-month:hover {
background: rgba(192,187,167,0.05);
}
.flatpickr-current-month .numInputWrapper {
width: 6ch;
width: 7ch\0;
display: inline-block;
}
.flatpickr-current-month .numInputWrapper span.arrowUp:after {
border-bottom-color: #fff;
}
.flatpickr-current-month .numInputWrapper span.arrowDown:after {
border-top-color: #fff;
}
.flatpickr-current-month input.cur-year {
background: transparent;
-webkit-box-sizing: border-box;
box-sizing: border-box;
color: inherit;
cursor: text;
padding: 0 0 0 0.5ch;
margin: 0;
display: inline-block;
font-size: inherit;
font-family: inherit;
font-weight: 300;
line-height: inherit;
height: auto;
border: 0;
border-radius: 0;
vertical-align: initial;
-webkit-appearance: textfield;
-moz-appearance: textfield;
appearance: textfield;
}
.flatpickr-current-month input.cur-year:focus {
outline: 0;
}
.flatpickr-current-month input.cur-year[disabled],
.flatpickr-current-month input.cur-year[disabled]:hover {
font-size: 100%;
color: rgba(255,255,255,0.5);
background: transparent;
pointer-events: none;
}
.flatpickr-current-month .flatpickr-monthDropdown-months {
appearance: menulist;
background: #3f4458;
border: none;
border-radius: 0;
box-sizing: border-box;
color: inherit;
cursor: pointer;
font-size: inherit;
font-family: inherit;
font-weight: 300;
height: auto;
line-height: inherit;
margin: -1px 0 0 0;
outline: none;
padding: 0 0 0 0.5ch;
position: relative;
vertical-align: initial;
-webkit-box-sizing: border-box;
-webkit-appearance: menulist;
-moz-appearance: menulist;
width: auto;
}
.flatpickr-current-month .flatpickr-monthDropdown-months:focus,
.flatpickr-current-month .flatpickr-monthDropdown-months:active {
outline: none;
}
.flatpickr-current-month .flatpickr-monthDropdown-months:hover {
background: rgba(192,187,167,0.05);
}
.flatpickr-current-month .flatpickr-monthDropdown-months .flatpickr-monthDropdown-month {
background-color: #3f4458;
outline: none;
padding: 0;
}
.flatpickr-weekdays {
background: transparent;
text-align: center;
overflow: hidden;
width: 100%;
display: -webkit-box;
display: -webkit-flex;
display: -ms-flexbox;
display: flex;
-webkit-box-align: center;
-webkit-align-items: center;
-ms-flex-align: center;
align-items: center;
height: 28px;
}
.flatpickr-weekdays .flatpickr-weekdaycontainer {
display: -webkit-box;
display: -webkit-flex;
display: -ms-flexbox;
display: flex;
-webkit-box-flex: 1;
-webkit-flex: 1;
-ms-flex: 1;
flex: 1;
}
span.flatpickr-weekday {
cursor: default;
font-size: 90%;
background: #3f4458;
color: #fff;
line-height: 1;
margin: 0;
text-align: center;
display: block;
-webkit-box-flex: 1;
-webkit-flex: 1;
-ms-flex: 1;
flex: 1;
font-weight: bolder;
}
.dayContainer,
.flatpickr-weeks {
padding: 1px 0 0 0;
}
.flatpickr-days {
position: relative;
overflow: hidden;
display: -webkit-box;
display: -webkit-flex;
display: -ms-flexbox;
display: flex;
-webkit-box-align: start;
-webkit-align-items: flex-start;
-ms-flex-align: start;
align-items: flex-start;
width: 307.875px;
}
.flatpickr-days:focus {
outline: 0;
}
.dayContainer {
padding: 0;
outline: 0;
text-align: left;
width: 307.875px;
min-width: 307.875px;
max-width: 307.875px;
-webkit-box-sizing: border-box;
box-sizing: border-box;
display: inline-block;
display: -ms-flexbox;
display: -webkit-box;
display: -webkit-flex;
display: flex;
-webkit-flex-wrap: wrap;
flex-wrap: wrap;
-ms-flex-wrap: wrap;
-ms-flex-pack: justify;
-webkit-justify-content: space-around;
justify-content: space-around;
-webkit-transform: translate3d(0px, 0px, 0px);
transform: translate3d(0px, 0px, 0px);
opacity: 1;
}
.dayContainer + .dayContainer {
-webkit-box-shadow: -1px 0 0 #20222c;
box-shadow: -1px 0 0 #20222c;
}
.flatpickr-day {
background: none;
border: 1px solid transparent;
border-radius: 150px;
-webkit-box-sizing: border-box;
box-sizing: border-box;
color: rgba(255,255,255,0.95);
cursor: pointer;
font-weight: 400;
width: 14.2857143%;
-webkit-flex-basis: 14.2857143%;
-ms-flex-preferred-size: 14.2857143%;
flex-basis: 14.2857143%;
max-width: 39px;
height: 39px;
line-height: 39px;
margin: 0;
display: inline-block;
position: relative;
-webkit-box-pack: center;
-webkit-justify-content: center;
-ms-flex-pack: center;
justify-content: center;
text-align: center;
}
.flatpickr-day.inRange,
.flatpickr-day.prevMonthDay.inRange,
.flatpickr-day.nextMonthDay.inRange,
.flatpickr-day.today.inRange,
.flatpickr-day.prevMonthDay.today.inRange,
.flatpickr-day.nextMonthDay.today.inRange,
.flatpickr-day:hover,
.flatpickr-day.prevMonthDay:hover,
.flatpickr-day.nextMonthDay:hover,
.flatpickr-day:focus,
.flatpickr-day.prevMonthDay:focus,
.flatpickr-day.nextMonthDay:focus {
cursor: pointer;
outline: 0;
background: #646c8c;
border-color: #646c8c;
}
.flatpickr-day.today {
border-color: #eee;
}
.flatpickr-day.today:hover,
.flatpickr-day.today:focus {
border-color: #eee;
background: #eee;
color: #3f4458;
}
.flatpickr-day.selected,
.flatpickr-day.startRange,
.flatpickr-day.endRange,
.flatpickr-day.selected.inRange,
.flatpickr-day.startRange.inRange,
.flatpickr-day.endRange.inRange,
.flatpickr-day.selected:focus,
.flatpickr-day.startRange:focus,
.flatpickr-day.endRange:focus,
.flatpickr-day.selected:hover,
.flatpickr-day.startRange:hover,
.flatpickr-day.endRange:hover,
.flatpickr-day.selected.prevMonthDay,
.flatpickr-day.startRange.prevMonthDay,
.flatpickr-day.endRange.prevMonthDay,
.flatpickr-day.selected.nextMonthDay,
.flatpickr-day.startRange.nextMonthDay,
.flatpickr-day.endRange.nextMonthDay {
background: #80cbc4;
-webkit-box-shadow: none;
box-shadow: none;
color: #fff;
border-color: #80cbc4;
}
.flatpickr-day.selected.startRange,
.flatpickr-day.startRange.startRange,
.flatpickr-day.endRange.startRange {
border-radius: 50px 0 0 50px;
}
.flatpickr-day.selected.endRange,
.flatpickr-day.startRange.endRange,
.flatpickr-day.endRange.endRange {
border-radius: 0 50px 50px 0;
}
.flatpickr-day.selected.startRange + .endRange:not(:nth-child(7n+1)),
.flatpickr-day.startRange.startRange + .endRange:not(:nth-child(7n+1)),
.flatpickr-day.endRange.startRange + .endRange:not(:nth-child(7n+1)) {
-webkit-box-shadow: -10px 0 0 #80cbc4;
box-shadow: -10px 0 0 #80cbc4;
}
.flatpickr-day.selected.startRange.endRange,
.flatpickr-day.startRange.startRange.endRange,
.flatpickr-day.endRange.startRange.endRange {
border-radius: 50px;
}
.flatpickr-day.inRange {
border-radius: 0;
-webkit-box-shadow: -5px 0 0 #646c8c, 5px 0 0 #646c8c;
box-shadow: -5px 0 0 #646c8c, 5px 0 0 #646c8c;
}
.flatpickr-day.flatpickr-disabled,
.flatpickr-day.flatpickr-disabled:hover,
.flatpickr-day.prevMonthDay,
.flatpickr-day.nextMonthDay,
.flatpickr-day.notAllowed,
.flatpickr-day.notAllowed.prevMonthDay,
.flatpickr-day.notAllowed.nextMonthDay {
color: rgba(255,255,255,0.3);
background: transparent;
border-color: transparent;
cursor: default;
}
.flatpickr-day.flatpickr-disabled,
.flatpickr-day.flatpickr-disabled:hover {
cursor: not-allowed;
color: rgba(255,255,255,0.1);
}
.flatpickr-day.week.selected {
border-radius: 0;
-webkit-box-shadow: -5px 0 0 #80cbc4, 5px 0 0 #80cbc4;
box-shadow: -5px 0 0 #80cbc4, 5px 0 0 #80cbc4;
}
.flatpickr-day.hidden {
visibility: hidden;
}
.rangeMode .flatpickr-day {
margin-top: 1px;
}
.flatpickr-weekwrapper {
float: left;
}
.flatpickr-weekwrapper .flatpickr-weeks {
padding: 0 12px;
-webkit-box-shadow: 1px 0 0 #20222c;
box-shadow: 1px 0 0 #20222c;
}
.flatpickr-weekwrapper .flatpickr-weekday {
float: none;
width: 100%;
line-height: 28px;
}
.flatpickr-weekwrapper span.flatpickr-day,
.flatpickr-weekwrapper span.flatpickr-day:hover {
display: block;
width: 100%;
max-width: none;
color: rgba(255,255,255,0.3);
background: transparent;
cursor: default;
border: none;
}
.flatpickr-innerContainer {
display: block;
display: -webkit-box;
display: -webkit-flex;
display: -ms-flexbox;
display: flex;
-webkit-box-sizing: border-box;
box-sizing: border-box;
overflow: hidden;
}
.flatpickr-rContainer {
display: inline-block;
padding: 0;
-webkit-box-sizing: border-box;
box-sizing: border-box;
}
.flatpickr-time {
text-align: center;
outline: 0;
display: block;
height: 0;
line-height: 40px;
max-height: 40px;
-webkit-box-sizing: border-box;
box-sizing: border-box;
overflow: hidden;
display: -webkit-box;
display: -webkit-flex;
display: -ms-flexbox;
display: flex;
}
.flatpickr-time:after {
content: "";
display: table;
clear: both;
}
.flatpickr-time .numInputWrapper {
-webkit-box-flex: 1;
-webkit-flex: 1;
-ms-flex: 1;
flex: 1;
width: 40%;
height: 40px;
float: left;
}
.flatpickr-time .numInputWrapper span.arrowUp:after {
border-bottom-color: rgba(255,255,255,0.95);
}
.flatpickr-time .numInputWrapper span.arrowDown:after {
border-top-color: rgba(255,255,255,0.95);
}
.flatpickr-time.hasSeconds .numInputWrapper {
width: 26%;
}
.flatpickr-time.time24hr .numInputWrapper {
width: 49%;
}
.flatpickr-time input {
background: transparent;
-webkit-box-shadow: none;
box-shadow: none;
border: 0;
border-radius: 0;
text-align: center;
margin: 0;
padding: 0;
height: inherit;
line-height: inherit;
color: rgba(255,255,255,0.95);
font-size: 14px;
position: relative;
-webkit-box-sizing: border-box;
box-sizing: border-box;
-webkit-appearance: textfield;
-moz-appearance: textfield;
appearance: textfield;
}
.flatpickr-time input.flatpickr-hour {
font-weight: bold;
}
.flatpickr-time input.flatpickr-minute,
.flatpickr-time input.flatpickr-second {
font-weight: 400;
}
.flatpickr-time input:focus {
outline: 0;
border: 0;
}
.flatpickr-time .flatpickr-time-separator,
.flatpickr-time .flatpickr-am-pm {
height: inherit;
float: left;
line-height: inherit;
color: rgba(255,255,255,0.95);
font-weight: bold;
width: 2%;
-webkit-user-select: none;
-moz-user-select: none;
-ms-user-select: none;
user-select: none;
-webkit-align-self: center;
-ms-flex-item-align: center;
align-self: center;
}
.flatpickr-time .flatpickr-am-pm {
outline: 0;
width: 18%;
cursor: pointer;
text-align: center;
font-weight: 400;
}
.flatpickr-time input:hover,
.flatpickr-time .flatpickr-am-pm:hover,
.flatpickr-time input:focus,
.flatpickr-time .flatpickr-am-pm:focus {
background: #6a7395;
}
.flatpickr-input[readonly] {
cursor: pointer;
}
@-webkit-keyframes fpFadeInDown {
from {
opacity: 0;
-webkit-transform: translate3d(0, -20px, 0);
transform: translate3d(0, -20px, 0);
}
to {
opacity: 1;
-webkit-transform: translate3d(0, 0, 0);
transform: translate3d(0, 0, 0);
}
}
@keyframes fpFadeInDown {
from {
opacity: 0;
-webkit-transform: translate3d(0, -20px, 0);
transform: translate3d(0, -20px, 0);
}
to {
opacity: 1;
-webkit-transform: translate3d(0, 0, 0);
transform: translate3d(0, 0, 0);
}
}
dist/themes/airbnb.css 0000644 00000051674 15167673014 0010772 0 ustar 00 .flatpickr-calendar {
background: transparent;
opacity: 0;
display: none;
text-align: center;
visibility: hidden;
padding: 0;
-webkit-animation: none;
animation: none;
direction: ltr;
border: 0;
font-size: 14px;
line-height: 24px;
border-radius: 5px;
position: absolute;
width: 307.875px;
-webkit-box-sizing: border-box;
box-sizing: border-box;
-ms-touch-action: manipulation;
touch-action: manipulation;
background: #fff;
-webkit-box-shadow: 1px 0 0 #eee, -1px 0 0 #eee, 0 1px 0 #eee, 0 -1px 0 #eee, 0 3px 13px rgba(0,0,0,0.08);
box-shadow: 1px 0 0 #eee, -1px 0 0 #eee, 0 1px 0 #eee, 0 -1px 0 #eee, 0 3px 13px rgba(0,0,0,0.08);
}
.flatpickr-calendar.open,
.flatpickr-calendar.inline {
opacity: 1;
max-height: 640px;
visibility: visible;
}
.flatpickr-calendar.open {
display: inline-block;
z-index: 99999;
}
.flatpickr-calendar.animate.open {
-webkit-animation: fpFadeInDown 300ms cubic-bezier(0.23, 1, 0.32, 1);
animation: fpFadeInDown 300ms cubic-bezier(0.23, 1, 0.32, 1);
}
.flatpickr-calendar.inline {
display: block;
position: relative;
top: 2px;
}
.flatpickr-calendar.static {
position: absolute;
top: calc(100% + 2px);
}
.flatpickr-calendar.static.open {
z-index: 999;
display: block;
}
.flatpickr-calendar.multiMonth .flatpickr-days .dayContainer:nth-child(n+1) .flatpickr-day.inRange:nth-child(7n+7) {
-webkit-box-shadow: none !important;
box-shadow: none !important;
}
.flatpickr-calendar.multiMonth .flatpickr-days .dayContainer:nth-child(n+2) .flatpickr-day.inRange:nth-child(7n+1) {
-webkit-box-shadow: -2px 0 0 #e6e6e6, 5px 0 0 #e6e6e6;
box-shadow: -2px 0 0 #e6e6e6, 5px 0 0 #e6e6e6;
}
.flatpickr-calendar .hasWeeks .dayContainer,
.flatpickr-calendar .hasTime .dayContainer {
border-bottom: 0;
border-bottom-right-radius: 0;
border-bottom-left-radius: 0;
}
.flatpickr-calendar .hasWeeks .dayContainer {
border-left: 0;
}
.flatpickr-calendar.hasTime .flatpickr-time {
height: 40px;
border-top: 1px solid #eee;
}
.flatpickr-calendar.noCalendar.hasTime .flatpickr-time {
height: auto;
}
.flatpickr-calendar:before,
.flatpickr-calendar:after {
position: absolute;
display: block;
pointer-events: none;
border: solid transparent;
content: '';
height: 0;
width: 0;
left: 22px;
}
.flatpickr-calendar.rightMost:before,
.flatpickr-calendar.arrowRight:before,
.flatpickr-calendar.rightMost:after,
.flatpickr-calendar.arrowRight:after {
left: auto;
right: 22px;
}
.flatpickr-calendar.arrowCenter:before,
.flatpickr-calendar.arrowCenter:after {
left: 50%;
right: 50%;
}
.flatpickr-calendar:before {
border-width: 5px;
margin: 0 -5px;
}
.flatpickr-calendar:after {
border-width: 4px;
margin: 0 -4px;
}
.flatpickr-calendar.arrowTop:before,
.flatpickr-calendar.arrowTop:after {
bottom: 100%;
}
.flatpickr-calendar.arrowTop:before {
border-bottom-color: #eee;
}
.flatpickr-calendar.arrowTop:after {
border-bottom-color: #fff;
}
.flatpickr-calendar.arrowBottom:before,
.flatpickr-calendar.arrowBottom:after {
top: 100%;
}
.flatpickr-calendar.arrowBottom:before {
border-top-color: #eee;
}
.flatpickr-calendar.arrowBottom:after {
border-top-color: #fff;
}
.flatpickr-calendar:focus {
outline: 0;
}
.flatpickr-wrapper {
position: relative;
display: inline-block;
}
.flatpickr-months {
display: -webkit-box;
display: -webkit-flex;
display: -ms-flexbox;
display: flex;
}
.flatpickr-months .flatpickr-month {
background: transparent;
color: #3c3f40;
fill: #3c3f40;
height: 34px;
line-height: 1;
text-align: center;
position: relative;
-webkit-user-select: none;
-moz-user-select: none;
-ms-user-select: none;
user-select: none;
overflow: hidden;
-webkit-box-flex: 1;
-webkit-flex: 1;
-ms-flex: 1;
flex: 1;
}
.flatpickr-months .flatpickr-prev-month,
.flatpickr-months .flatpickr-next-month {
-webkit-user-select: none;
-moz-user-select: none;
-ms-user-select: none;
user-select: none;
text-decoration: none;
cursor: pointer;
position: absolute;
top: 0;
height: 34px;
padding: 10px;
z-index: 3;
color: #3c3f40;
fill: #3c3f40;
}
.flatpickr-months .flatpickr-prev-month.flatpickr-disabled,
.flatpickr-months .flatpickr-next-month.flatpickr-disabled {
display: none;
}
.flatpickr-months .flatpickr-prev-month i,
.flatpickr-months .flatpickr-next-month i {
position: relative;
}
.flatpickr-months .flatpickr-prev-month.flatpickr-prev-month,
.flatpickr-months .flatpickr-next-month.flatpickr-prev-month {
/*
/*rtl:begin:ignore*/
/*
*/
left: 0;
/*
/*rtl:end:ignore*/
/*
*/
}
/*
/*rtl:begin:ignore*/
/*
/*rtl:end:ignore*/
.flatpickr-months .flatpickr-prev-month.flatpickr-next-month,
.flatpickr-months .flatpickr-next-month.flatpickr-next-month {
/*
/*rtl:begin:ignore*/
/*
*/
right: 0;
/*
/*rtl:end:ignore*/
/*
*/
}
/*
/*rtl:begin:ignore*/
/*
/*rtl:end:ignore*/
.flatpickr-months .flatpickr-prev-month:hover,
.flatpickr-months .flatpickr-next-month:hover {
color: #f64747;
}
.flatpickr-months .flatpickr-prev-month:hover svg,
.flatpickr-months .flatpickr-next-month:hover svg {
fill: #f64747;
}
.flatpickr-months .flatpickr-prev-month svg,
.flatpickr-months .flatpickr-next-month svg {
width: 14px;
height: 14px;
}
.flatpickr-months .flatpickr-prev-month svg path,
.flatpickr-months .flatpickr-next-month svg path {
-webkit-transition: fill 0.1s;
transition: fill 0.1s;
fill: inherit;
}
.numInputWrapper {
position: relative;
height: auto;
}
.numInputWrapper input,
.numInputWrapper span {
display: inline-block;
}
.numInputWrapper input {
width: 100%;
}
.numInputWrapper input::-ms-clear {
display: none;
}
.numInputWrapper input::-webkit-outer-spin-button,
.numInputWrapper input::-webkit-inner-spin-button {
margin: 0;
-webkit-appearance: none;
}
.numInputWrapper span {
position: absolute;
right: 0;
width: 14px;
padding: 0 4px 0 2px;
height: 50%;
line-height: 50%;
opacity: 0;
cursor: pointer;
border: 1px solid rgba(64,72,72,0.15);
-webkit-box-sizing: border-box;
box-sizing: border-box;
}
.numInputWrapper span:hover {
background: rgba(0,0,0,0.1);
}
.numInputWrapper span:active {
background: rgba(0,0,0,0.2);
}
.numInputWrapper span:after {
display: block;
content: "";
position: absolute;
}
.numInputWrapper span.arrowUp {
top: 0;
border-bottom: 0;
}
.numInputWrapper span.arrowUp:after {
border-left: 4px solid transparent;
border-right: 4px solid transparent;
border-bottom: 4px solid rgba(64,72,72,0.6);
top: 26%;
}
.numInputWrapper span.arrowDown {
top: 50%;
}
.numInputWrapper span.arrowDown:after {
border-left: 4px solid transparent;
border-right: 4px solid transparent;
border-top: 4px solid rgba(64,72,72,0.6);
top: 40%;
}
.numInputWrapper span svg {
width: inherit;
height: auto;
}
.numInputWrapper span svg path {
fill: rgba(60,63,64,0.5);
}
.numInputWrapper:hover {
background: rgba(0,0,0,0.05);
}
.numInputWrapper:hover span {
opacity: 1;
}
.flatpickr-current-month {
font-size: 135%;
line-height: inherit;
font-weight: 300;
color: inherit;
position: absolute;
width: 75%;
left: 12.5%;
padding: 7.48px 0 0 0;
line-height: 1;
height: 34px;
display: inline-block;
text-align: center;
-webkit-transform: translate3d(0px, 0px, 0px);
transform: translate3d(0px, 0px, 0px);
}
.flatpickr-current-month span.cur-month {
font-family: inherit;
font-weight: 700;
color: inherit;
display: inline-block;
margin-left: 0.5ch;
padding: 0;
}
.flatpickr-current-month span.cur-month:hover {
background: rgba(0,0,0,0.05);
}
.flatpickr-current-month .numInputWrapper {
width: 6ch;
width: 7ch\0;
display: inline-block;
}
.flatpickr-current-month .numInputWrapper span.arrowUp:after {
border-bottom-color: #3c3f40;
}
.flatpickr-current-month .numInputWrapper span.arrowDown:after {
border-top-color: #3c3f40;
}
.flatpickr-current-month input.cur-year {
background: transparent;
-webkit-box-sizing: border-box;
box-sizing: border-box;
color: inherit;
cursor: text;
padding: 0 0 0 0.5ch;
margin: 0;
display: inline-block;
font-size: inherit;
font-family: inherit;
font-weight: 300;
line-height: inherit;
height: auto;
border: 0;
border-radius: 0;
vertical-align: initial;
-webkit-appearance: textfield;
-moz-appearance: textfield;
appearance: textfield;
}
.flatpickr-current-month input.cur-year:focus {
outline: 0;
}
.flatpickr-current-month input.cur-year[disabled],
.flatpickr-current-month input.cur-year[disabled]:hover {
font-size: 100%;
color: rgba(60,63,64,0.5);
background: transparent;
pointer-events: none;
}
.flatpickr-current-month .flatpickr-monthDropdown-months {
appearance: menulist;
background: transparent;
border: none;
border-radius: 0;
box-sizing: border-box;
color: inherit;
cursor: pointer;
font-size: inherit;
font-family: inherit;
font-weight: 300;
height: auto;
line-height: inherit;
margin: -1px 0 0 0;
outline: none;
padding: 0 0 0 0.5ch;
position: relative;
vertical-align: initial;
-webkit-box-sizing: border-box;
-webkit-appearance: menulist;
-moz-appearance: menulist;
width: auto;
}
.flatpickr-current-month .flatpickr-monthDropdown-months:focus,
.flatpickr-current-month .flatpickr-monthDropdown-months:active {
outline: none;
}
.flatpickr-current-month .flatpickr-monthDropdown-months:hover {
background: rgba(0,0,0,0.05);
}
.flatpickr-current-month .flatpickr-monthDropdown-months .flatpickr-monthDropdown-month {
background-color: transparent;
outline: none;
padding: 0;
}
.flatpickr-weekdays {
background: transparent;
text-align: center;
overflow: hidden;
width: 100%;
display: -webkit-box;
display: -webkit-flex;
display: -ms-flexbox;
display: flex;
-webkit-box-align: center;
-webkit-align-items: center;
-ms-flex-align: center;
align-items: center;
height: 28px;
}
.flatpickr-weekdays .flatpickr-weekdaycontainer {
display: -webkit-box;
display: -webkit-flex;
display: -ms-flexbox;
display: flex;
-webkit-box-flex: 1;
-webkit-flex: 1;
-ms-flex: 1;
flex: 1;
}
span.flatpickr-weekday {
cursor: default;
font-size: 90%;
background: transparent;
color: rgba(0,0,0,0.54);
line-height: 1;
margin: 0;
text-align: center;
display: block;
-webkit-box-flex: 1;
-webkit-flex: 1;
-ms-flex: 1;
flex: 1;
font-weight: bolder;
}
.dayContainer,
.flatpickr-weeks {
padding: 1px 0 0 0;
}
.flatpickr-days {
position: relative;
overflow: hidden;
display: -webkit-box;
display: -webkit-flex;
display: -ms-flexbox;
display: flex;
-webkit-box-align: start;
-webkit-align-items: flex-start;
-ms-flex-align: start;
align-items: flex-start;
width: 307.875px;
}
.flatpickr-days:focus {
outline: 0;
}
.dayContainer {
padding: 0;
outline: 0;
text-align: left;
width: 307.875px;
min-width: 307.875px;
max-width: 307.875px;
-webkit-box-sizing: border-box;
box-sizing: border-box;
display: inline-block;
display: -ms-flexbox;
display: -webkit-box;
display: -webkit-flex;
display: flex;
-webkit-flex-wrap: wrap;
flex-wrap: wrap;
-ms-flex-wrap: wrap;
-ms-flex-pack: justify;
-webkit-justify-content: space-around;
justify-content: space-around;
-webkit-transform: translate3d(0px, 0px, 0px);
transform: translate3d(0px, 0px, 0px);
opacity: 1;
}
.dayContainer + .dayContainer {
-webkit-box-shadow: -1px 0 0 #eee;
box-shadow: -1px 0 0 #eee;
}
.flatpickr-day {
background: none;
border: 1px solid transparent;
border-radius: 150px;
-webkit-box-sizing: border-box;
box-sizing: border-box;
color: #404848;
cursor: pointer;
font-weight: 400;
width: 14.2857143%;
-webkit-flex-basis: 14.2857143%;
-ms-flex-preferred-size: 14.2857143%;
flex-basis: 14.2857143%;
max-width: 39px;
height: 39px;
line-height: 39px;
margin: 0;
display: inline-block;
position: relative;
-webkit-box-pack: center;
-webkit-justify-content: center;
-ms-flex-pack: center;
justify-content: center;
text-align: center;
}
.flatpickr-day.inRange,
.flatpickr-day.prevMonthDay.inRange,
.flatpickr-day.nextMonthDay.inRange,
.flatpickr-day.today.inRange,
.flatpickr-day.prevMonthDay.today.inRange,
.flatpickr-day.nextMonthDay.today.inRange,
.flatpickr-day:hover,
.flatpickr-day.prevMonthDay:hover,
.flatpickr-day.nextMonthDay:hover,
.flatpickr-day:focus,
.flatpickr-day.prevMonthDay:focus,
.flatpickr-day.nextMonthDay:focus {
cursor: pointer;
outline: 0;
background: #e9e9e9;
border-color: #e9e9e9;
}
.flatpickr-day.today {
border-color: #f64747;
}
.flatpickr-day.today:hover,
.flatpickr-day.today:focus {
border-color: #f64747;
background: #f64747;
color: #fff;
}
.flatpickr-day.selected,
.flatpickr-day.startRange,
.flatpickr-day.endRange,
.flatpickr-day.selected.inRange,
.flatpickr-day.startRange.inRange,
.flatpickr-day.endRange.inRange,
.flatpickr-day.selected:focus,
.flatpickr-day.startRange:focus,
.flatpickr-day.endRange:focus,
.flatpickr-day.selected:hover,
.flatpickr-day.startRange:hover,
.flatpickr-day.endRange:hover,
.flatpickr-day.selected.prevMonthDay,
.flatpickr-day.startRange.prevMonthDay,
.flatpickr-day.endRange.prevMonthDay,
.flatpickr-day.selected.nextMonthDay,
.flatpickr-day.startRange.nextMonthDay,
.flatpickr-day.endRange.nextMonthDay {
background: #4f99ff;
-webkit-box-shadow: none;
box-shadow: none;
color: #fff;
border-color: #4f99ff;
}
.flatpickr-day.selected.startRange,
.flatpickr-day.startRange.startRange,
.flatpickr-day.endRange.startRange {
border-radius: 50px 0 0 50px;
}
.flatpickr-day.selected.endRange,
.flatpickr-day.startRange.endRange,
.flatpickr-day.endRange.endRange {
border-radius: 0 50px 50px 0;
}
.flatpickr-day.selected.startRange + .endRange:not(:nth-child(7n+1)),
.flatpickr-day.startRange.startRange + .endRange:not(:nth-child(7n+1)),
.flatpickr-day.endRange.startRange + .endRange:not(:nth-child(7n+1)) {
-webkit-box-shadow: -10px 0 0 #4f99ff;
box-shadow: -10px 0 0 #4f99ff;
}
.flatpickr-day.selected.startRange.endRange,
.flatpickr-day.startRange.startRange.endRange,
.flatpickr-day.endRange.startRange.endRange {
border-radius: 50px;
}
.flatpickr-day.inRange {
border-radius: 0;
-webkit-box-shadow: -5px 0 0 #e9e9e9, 5px 0 0 #e9e9e9;
box-shadow: -5px 0 0 #e9e9e9, 5px 0 0 #e9e9e9;
}
.flatpickr-day.flatpickr-disabled,
.flatpickr-day.flatpickr-disabled:hover,
.flatpickr-day.prevMonthDay,
.flatpickr-day.nextMonthDay,
.flatpickr-day.notAllowed,
.flatpickr-day.notAllowed.prevMonthDay,
.flatpickr-day.notAllowed.nextMonthDay {
color: rgba(64,72,72,0.3);
background: transparent;
border-color: #e9e9e9;
cursor: default;
}
.flatpickr-day.flatpickr-disabled,
.flatpickr-day.flatpickr-disabled:hover {
cursor: not-allowed;
color: rgba(64,72,72,0.1);
}
.flatpickr-day.week.selected {
border-radius: 0;
-webkit-box-shadow: -5px 0 0 #4f99ff, 5px 0 0 #4f99ff;
box-shadow: -5px 0 0 #4f99ff, 5px 0 0 #4f99ff;
}
.flatpickr-day.hidden {
visibility: hidden;
}
.rangeMode .flatpickr-day {
margin-top: 1px;
}
.flatpickr-weekwrapper {
float: left;
}
.flatpickr-weekwrapper .flatpickr-weeks {
padding: 0 12px;
-webkit-box-shadow: 1px 0 0 #eee;
box-shadow: 1px 0 0 #eee;
}
.flatpickr-weekwrapper .flatpickr-weekday {
float: none;
width: 100%;
line-height: 28px;
}
.flatpickr-weekwrapper span.flatpickr-day,
.flatpickr-weekwrapper span.flatpickr-day:hover {
display: block;
width: 100%;
max-width: none;
color: rgba(64,72,72,0.3);
background: transparent;
cursor: default;
border: none;
}
.flatpickr-innerContainer {
display: block;
display: -webkit-box;
display: -webkit-flex;
display: -ms-flexbox;
display: flex;
-webkit-box-sizing: border-box;
box-sizing: border-box;
overflow: hidden;
}
.flatpickr-rContainer {
display: inline-block;
padding: 0;
-webkit-box-sizing: border-box;
box-sizing: border-box;
}
.flatpickr-time {
text-align: center;
outline: 0;
display: block;
height: 0;
line-height: 40px;
max-height: 40px;
-webkit-box-sizing: border-box;
box-sizing: border-box;
overflow: hidden;
display: -webkit-box;
display: -webkit-flex;
display: -ms-flexbox;
display: flex;
}
.flatpickr-time:after {
content: "";
display: table;
clear: both;
}
.flatpickr-time .numInputWrapper {
-webkit-box-flex: 1;
-webkit-flex: 1;
-ms-flex: 1;
flex: 1;
width: 40%;
height: 40px;
float: left;
}
.flatpickr-time .numInputWrapper span.arrowUp:after {
border-bottom-color: #404848;
}
.flatpickr-time .numInputWrapper span.arrowDown:after {
border-top-color: #404848;
}
.flatpickr-time.hasSeconds .numInputWrapper {
width: 26%;
}
.flatpickr-time.time24hr .numInputWrapper {
width: 49%;
}
.flatpickr-time input {
background: transparent;
-webkit-box-shadow: none;
box-shadow: none;
border: 0;
border-radius: 0;
text-align: center;
margin: 0;
padding: 0;
height: inherit;
line-height: inherit;
color: #404848;
font-size: 14px;
position: relative;
-webkit-box-sizing: border-box;
box-sizing: border-box;
-webkit-appearance: textfield;
-moz-appearance: textfield;
appearance: textfield;
}
.flatpickr-time input.flatpickr-hour {
font-weight: bold;
}
.flatpickr-time input.flatpickr-minute,
.flatpickr-time input.flatpickr-second {
font-weight: 400;
}
.flatpickr-time input:focus {
outline: 0;
border: 0;
}
.flatpickr-time .flatpickr-time-separator,
.flatpickr-time .flatpickr-am-pm {
height: inherit;
float: left;
line-height: inherit;
color: #404848;
font-weight: bold;
width: 2%;
-webkit-user-select: none;
-moz-user-select: none;
-ms-user-select: none;
user-select: none;
-webkit-align-self: center;
-ms-flex-item-align: center;
align-self: center;
}
.flatpickr-time .flatpickr-am-pm {
outline: 0;
width: 18%;
cursor: pointer;
text-align: center;
font-weight: 400;
}
.flatpickr-time input:hover,
.flatpickr-time .flatpickr-am-pm:hover,
.flatpickr-time input:focus,
.flatpickr-time .flatpickr-am-pm:focus {
background: #f1f1f1;
}
.flatpickr-input[readonly] {
cursor: pointer;
}
@-webkit-keyframes fpFadeInDown {
from {
opacity: 0;
-webkit-transform: translate3d(0, -20px, 0);
transform: translate3d(0, -20px, 0);
}
to {
opacity: 1;
-webkit-transform: translate3d(0, 0, 0);
transform: translate3d(0, 0, 0);
}
}
@keyframes fpFadeInDown {
from {
opacity: 0;
-webkit-transform: translate3d(0, -20px, 0);
transform: translate3d(0, -20px, 0);
}
to {
opacity: 1;
-webkit-transform: translate3d(0, 0, 0);
transform: translate3d(0, 0, 0);
}
}
.flatpickr-calendar {
width: 307.875px;
}
.dayContainer {
padding: 0;
border-right: 0;
}
span.flatpickr-day,
span.flatpickr-day.prevMonthDay,
span.flatpickr-day.nextMonthDay {
border-radius: 0 !important;
border: 1px solid #e9e9e9;
max-width: none;
border-right-color: transparent;
}
span.flatpickr-day:nth-child(n+8),
span.flatpickr-day.prevMonthDay:nth-child(n+8),
span.flatpickr-day.nextMonthDay:nth-child(n+8) {
border-top-color: transparent;
}
span.flatpickr-day:nth-child(7n-6),
span.flatpickr-day.prevMonthDay:nth-child(7n-6),
span.flatpickr-day.nextMonthDay:nth-child(7n-6) {
border-left: 0;
}
span.flatpickr-day:nth-child(n+36),
span.flatpickr-day.prevMonthDay:nth-child(n+36),
span.flatpickr-day.nextMonthDay:nth-child(n+36) {
border-bottom: 0;
}
span.flatpickr-day:nth-child(-n+7),
span.flatpickr-day.prevMonthDay:nth-child(-n+7),
span.flatpickr-day.nextMonthDay:nth-child(-n+7) {
margin-top: 0;
}
span.flatpickr-day.today:not(.selected),
span.flatpickr-day.prevMonthDay.today:not(.selected),
span.flatpickr-day.nextMonthDay.today:not(.selected) {
border-color: #e9e9e9;
border-right-color: transparent;
border-top-color: transparent;
border-bottom-color: #f64747;
}
span.flatpickr-day.today:not(.selected):hover,
span.flatpickr-day.prevMonthDay.today:not(.selected):hover,
span.flatpickr-day.nextMonthDay.today:not(.selected):hover {
border: 1px solid #f64747;
}
span.flatpickr-day.startRange,
span.flatpickr-day.prevMonthDay.startRange,
span.flatpickr-day.nextMonthDay.startRange,
span.flatpickr-day.endRange,
span.flatpickr-day.prevMonthDay.endRange,
span.flatpickr-day.nextMonthDay.endRange {
border-color: #4f99ff;
}
span.flatpickr-day.today,
span.flatpickr-day.prevMonthDay.today,
span.flatpickr-day.nextMonthDay.today,
span.flatpickr-day.selected,
span.flatpickr-day.prevMonthDay.selected,
span.flatpickr-day.nextMonthDay.selected {
z-index: 2;
}
.rangeMode .flatpickr-day {
margin-top: -1px;
}
.flatpickr-weekwrapper .flatpickr-weeks {
-webkit-box-shadow: none;
box-shadow: none;
}
.flatpickr-weekwrapper span.flatpickr-day {
border: 0;
margin: -1px 0 0 -1px;
}
.hasWeeks .flatpickr-days {
border-right: 0;
}
@media screen and (min-width:0\0) and (min-resolution: +72dpi) {
span.flatpickr-day {
display: block;
-webkit-box-flex: 1;
-webkit-flex: 1 0 auto;
-ms-flex: 1 0 auto;
flex: 1 0 auto;
}
}
dist/themes/material_green.css 0000644 00000045554 15167673014 0012513 0 ustar 00 .flatpickr-calendar {
background: transparent;
opacity: 0;
display: none;
text-align: center;
visibility: hidden;
padding: 0;
-webkit-animation: none;
animation: none;
direction: ltr;
border: 0;
font-size: 14px;
line-height: 24px;
border-radius: 5px;
position: absolute;
width: 307.875px;
-webkit-box-sizing: border-box;
box-sizing: border-box;
-ms-touch-action: manipulation;
touch-action: manipulation;
-webkit-box-shadow: 0 3px 13px rgba(0,0,0,0.08);
box-shadow: 0 3px 13px rgba(0,0,0,0.08);
}
.flatpickr-calendar.open,
.flatpickr-calendar.inline {
opacity: 1;
max-height: 640px;
visibility: visible;
}
.flatpickr-calendar.open {
display: inline-block;
z-index: 99999;
}
.flatpickr-calendar.animate.open {
-webkit-animation: fpFadeInDown 300ms cubic-bezier(0.23, 1, 0.32, 1);
animation: fpFadeInDown 300ms cubic-bezier(0.23, 1, 0.32, 1);
}
.flatpickr-calendar.inline {
display: block;
position: relative;
top: 2px;
}
.flatpickr-calendar.static {
position: absolute;
top: calc(100% + 2px);
}
.flatpickr-calendar.static.open {
z-index: 999;
display: block;
}
.flatpickr-calendar.multiMonth .flatpickr-days .dayContainer:nth-child(n+1) .flatpickr-day.inRange:nth-child(7n+7) {
-webkit-box-shadow: none !important;
box-shadow: none !important;
}
.flatpickr-calendar.multiMonth .flatpickr-days .dayContainer:nth-child(n+2) .flatpickr-day.inRange:nth-child(7n+1) {
-webkit-box-shadow: -2px 0 0 #e6e6e6, 5px 0 0 #e6e6e6;
box-shadow: -2px 0 0 #e6e6e6, 5px 0 0 #e6e6e6;
}
.flatpickr-calendar .hasWeeks .dayContainer,
.flatpickr-calendar .hasTime .dayContainer {
border-bottom: 0;
border-bottom-right-radius: 0;
border-bottom-left-radius: 0;
}
.flatpickr-calendar .hasWeeks .dayContainer {
border-left: 0;
}
.flatpickr-calendar.hasTime .flatpickr-time {
height: 40px;
border-top: 1px solid rgba(72,72,72,0.2);
}
.flatpickr-calendar.hasTime .flatpickr-innerContainer {
border-bottom: 0;
}
.flatpickr-calendar.hasTime .flatpickr-time {
border: 1px solid rgba(72,72,72,0.2);
}
.flatpickr-calendar.noCalendar.hasTime .flatpickr-time {
height: auto;
}
.flatpickr-calendar:before,
.flatpickr-calendar:after {
position: absolute;
display: block;
pointer-events: none;
border: solid transparent;
content: '';
height: 0;
width: 0;
left: 22px;
}
.flatpickr-calendar.rightMost:before,
.flatpickr-calendar.arrowRight:before,
.flatpickr-calendar.rightMost:after,
.flatpickr-calendar.arrowRight:after {
left: auto;
right: 22px;
}
.flatpickr-calendar.arrowCenter:before,
.flatpickr-calendar.arrowCenter:after {
left: 50%;
right: 50%;
}
.flatpickr-calendar:before {
border-width: 5px;
margin: 0 -5px;
}
.flatpickr-calendar:after {
border-width: 4px;
margin: 0 -4px;
}
.flatpickr-calendar.arrowTop:before,
.flatpickr-calendar.arrowTop:after {
bottom: 100%;
}
.flatpickr-calendar.arrowTop:before {
border-bottom-color: rgba(72,72,72,0.2);
}
.flatpickr-calendar.arrowTop:after {
border-bottom-color: #1bbc9b;
}
.flatpickr-calendar.arrowBottom:before,
.flatpickr-calendar.arrowBottom:after {
top: 100%;
}
.flatpickr-calendar.arrowBottom:before {
border-top-color: rgba(72,72,72,0.2);
}
.flatpickr-calendar.arrowBottom:after {
border-top-color: #1bbc9b;
}
.flatpickr-calendar:focus {
outline: 0;
}
.flatpickr-wrapper {
position: relative;
display: inline-block;
}
.flatpickr-months {
display: -webkit-box;
display: -webkit-flex;
display: -ms-flexbox;
display: flex;
}
.flatpickr-months .flatpickr-month {
border-radius: 5px 5px 0 0;
background: #1bbc9b;
color: #fff;
fill: #fff;
height: 34px;
line-height: 1;
text-align: center;
position: relative;
-webkit-user-select: none;
-moz-user-select: none;
-ms-user-select: none;
user-select: none;
overflow: hidden;
-webkit-box-flex: 1;
-webkit-flex: 1;
-ms-flex: 1;
flex: 1;
}
.flatpickr-months .flatpickr-prev-month,
.flatpickr-months .flatpickr-next-month {
-webkit-user-select: none;
-moz-user-select: none;
-ms-user-select: none;
user-select: none;
text-decoration: none;
cursor: pointer;
position: absolute;
top: 0;
height: 34px;
padding: 10px;
z-index: 3;
color: #fff;
fill: #fff;
}
.flatpickr-months .flatpickr-prev-month.flatpickr-disabled,
.flatpickr-months .flatpickr-next-month.flatpickr-disabled {
display: none;
}
.flatpickr-months .flatpickr-prev-month i,
.flatpickr-months .flatpickr-next-month i {
position: relative;
}
.flatpickr-months .flatpickr-prev-month.flatpickr-prev-month,
.flatpickr-months .flatpickr-next-month.flatpickr-prev-month {
/*
/*rtl:begin:ignore*/
/*
*/
left: 0;
/*
/*rtl:end:ignore*/
/*
*/
}
/*
/*rtl:begin:ignore*/
/*
/*rtl:end:ignore*/
.flatpickr-months .flatpickr-prev-month.flatpickr-next-month,
.flatpickr-months .flatpickr-next-month.flatpickr-next-month {
/*
/*rtl:begin:ignore*/
/*
*/
right: 0;
/*
/*rtl:end:ignore*/
/*
*/
}
/*
/*rtl:begin:ignore*/
/*
/*rtl:end:ignore*/
.flatpickr-months .flatpickr-prev-month:hover,
.flatpickr-months .flatpickr-next-month:hover {
color: #bbb;
}
.flatpickr-months .flatpickr-prev-month:hover svg,
.flatpickr-months .flatpickr-next-month:hover svg {
fill: #f64747;
}
.flatpickr-months .flatpickr-prev-month svg,
.flatpickr-months .flatpickr-next-month svg {
width: 14px;
height: 14px;
}
.flatpickr-months .flatpickr-prev-month svg path,
.flatpickr-months .flatpickr-next-month svg path {
-webkit-transition: fill 0.1s;
transition: fill 0.1s;
fill: inherit;
}
.numInputWrapper {
position: relative;
height: auto;
}
.numInputWrapper input,
.numInputWrapper span {
display: inline-block;
}
.numInputWrapper input {
width: 100%;
}
.numInputWrapper input::-ms-clear {
display: none;
}
.numInputWrapper input::-webkit-outer-spin-button,
.numInputWrapper input::-webkit-inner-spin-button {
margin: 0;
-webkit-appearance: none;
}
.numInputWrapper span {
position: absolute;
right: 0;
width: 14px;
padding: 0 4px 0 2px;
height: 50%;
line-height: 50%;
opacity: 0;
cursor: pointer;
border: 1px solid rgba(72,72,72,0.15);
-webkit-box-sizing: border-box;
box-sizing: border-box;
}
.numInputWrapper span:hover {
background: rgba(0,0,0,0.1);
}
.numInputWrapper span:active {
background: rgba(0,0,0,0.2);
}
.numInputWrapper span:after {
display: block;
content: "";
position: absolute;
}
.numInputWrapper span.arrowUp {
top: 0;
border-bottom: 0;
}
.numInputWrapper span.arrowUp:after {
border-left: 4px solid transparent;
border-right: 4px solid transparent;
border-bottom: 4px solid rgba(72,72,72,0.6);
top: 26%;
}
.numInputWrapper span.arrowDown {
top: 50%;
}
.numInputWrapper span.arrowDown:after {
border-left: 4px solid transparent;
border-right: 4px solid transparent;
border-top: 4px solid rgba(72,72,72,0.6);
top: 40%;
}
.numInputWrapper span svg {
width: inherit;
height: auto;
}
.numInputWrapper span svg path {
fill: rgba(255,255,255,0.5);
}
.numInputWrapper:hover {
background: rgba(0,0,0,0.05);
}
.numInputWrapper:hover span {
opacity: 1;
}
.flatpickr-current-month {
font-size: 135%;
line-height: inherit;
font-weight: 300;
color: inherit;
position: absolute;
width: 75%;
left: 12.5%;
padding: 7.48px 0 0 0;
line-height: 1;
height: 34px;
display: inline-block;
text-align: center;
-webkit-transform: translate3d(0px, 0px, 0px);
transform: translate3d(0px, 0px, 0px);
}
.flatpickr-current-month span.cur-month {
font-family: inherit;
font-weight: 700;
color: inherit;
display: inline-block;
margin-left: 0.5ch;
padding: 0;
}
.flatpickr-current-month span.cur-month:hover {
background: rgba(0,0,0,0.05);
}
.flatpickr-current-month .numInputWrapper {
width: 6ch;
width: 7ch\0;
display: inline-block;
}
.flatpickr-current-month .numInputWrapper span.arrowUp:after {
border-bottom-color: #fff;
}
.flatpickr-current-month .numInputWrapper span.arrowDown:after {
border-top-color: #fff;
}
.flatpickr-current-month input.cur-year {
background: transparent;
-webkit-box-sizing: border-box;
box-sizing: border-box;
color: inherit;
cursor: text;
padding: 0 0 0 0.5ch;
margin: 0;
display: inline-block;
font-size: inherit;
font-family: inherit;
font-weight: 300;
line-height: inherit;
height: auto;
border: 0;
border-radius: 0;
vertical-align: initial;
-webkit-appearance: textfield;
-moz-appearance: textfield;
appearance: textfield;
}
.flatpickr-current-month input.cur-year:focus {
outline: 0;
}
.flatpickr-current-month input.cur-year[disabled],
.flatpickr-current-month input.cur-year[disabled]:hover {
font-size: 100%;
color: rgba(255,255,255,0.5);
background: transparent;
pointer-events: none;
}
.flatpickr-current-month .flatpickr-monthDropdown-months {
appearance: menulist;
background: #1bbc9b;
border: none;
border-radius: 0;
box-sizing: border-box;
color: inherit;
cursor: pointer;
font-size: inherit;
font-family: inherit;
font-weight: 300;
height: auto;
line-height: inherit;
margin: -1px 0 0 0;
outline: none;
padding: 0 0 0 0.5ch;
position: relative;
vertical-align: initial;
-webkit-box-sizing: border-box;
-webkit-appearance: menulist;
-moz-appearance: menulist;
width: auto;
}
.flatpickr-current-month .flatpickr-monthDropdown-months:focus,
.flatpickr-current-month .flatpickr-monthDropdown-months:active {
outline: none;
}
.flatpickr-current-month .flatpickr-monthDropdown-months:hover {
background: rgba(0,0,0,0.05);
}
.flatpickr-current-month .flatpickr-monthDropdown-months .flatpickr-monthDropdown-month {
background-color: #1bbc9b;
outline: none;
padding: 0;
}
.flatpickr-weekdays {
background: #1bbc9b;
text-align: center;
overflow: hidden;
width: 100%;
display: -webkit-box;
display: -webkit-flex;
display: -ms-flexbox;
display: flex;
-webkit-box-align: center;
-webkit-align-items: center;
-ms-flex-align: center;
align-items: center;
height: 28px;
}
.flatpickr-weekdays .flatpickr-weekdaycontainer {
display: -webkit-box;
display: -webkit-flex;
display: -ms-flexbox;
display: flex;
-webkit-box-flex: 1;
-webkit-flex: 1;
-ms-flex: 1;
flex: 1;
}
span.flatpickr-weekday {
cursor: default;
font-size: 90%;
background: #1bbc9b;
color: rgba(0,0,0,0.54);
line-height: 1;
margin: 0;
text-align: center;
display: block;
-webkit-box-flex: 1;
-webkit-flex: 1;
-ms-flex: 1;
flex: 1;
font-weight: bolder;
}
.dayContainer,
.flatpickr-weeks {
padding: 1px 0 0 0;
}
.flatpickr-days {
position: relative;
overflow: hidden;
display: -webkit-box;
display: -webkit-flex;
display: -ms-flexbox;
display: flex;
-webkit-box-align: start;
-webkit-align-items: flex-start;
-ms-flex-align: start;
align-items: flex-start;
width: 307.875px;
border-left: 1px solid rgba(72,72,72,0.2);
border-right: 1px solid rgba(72,72,72,0.2);
}
.flatpickr-days:focus {
outline: 0;
}
.dayContainer {
padding: 0;
outline: 0;
text-align: left;
width: 307.875px;
min-width: 307.875px;
max-width: 307.875px;
-webkit-box-sizing: border-box;
box-sizing: border-box;
display: inline-block;
display: -ms-flexbox;
display: -webkit-box;
display: -webkit-flex;
display: flex;
-webkit-flex-wrap: wrap;
flex-wrap: wrap;
-ms-flex-wrap: wrap;
-ms-flex-pack: justify;
-webkit-justify-content: space-around;
justify-content: space-around;
-webkit-transform: translate3d(0px, 0px, 0px);
transform: translate3d(0px, 0px, 0px);
opacity: 1;
}
.dayContainer + .dayContainer {
-webkit-box-shadow: -1px 0 0 rgba(72,72,72,0.2);
box-shadow: -1px 0 0 rgba(72,72,72,0.2);
}
.flatpickr-day {
background: none;
border: 1px solid transparent;
border-radius: 150px;
-webkit-box-sizing: border-box;
box-sizing: border-box;
color: #484848;
cursor: pointer;
font-weight: 400;
width: 14.2857143%;
-webkit-flex-basis: 14.2857143%;
-ms-flex-preferred-size: 14.2857143%;
flex-basis: 14.2857143%;
max-width: 39px;
height: 39px;
line-height: 39px;
margin: 0;
display: inline-block;
position: relative;
-webkit-box-pack: center;
-webkit-justify-content: center;
-ms-flex-pack: center;
justify-content: center;
text-align: center;
}
.flatpickr-day.inRange,
.flatpickr-day.prevMonthDay.inRange,
.flatpickr-day.nextMonthDay.inRange,
.flatpickr-day.today.inRange,
.flatpickr-day.prevMonthDay.today.inRange,
.flatpickr-day.nextMonthDay.today.inRange,
.flatpickr-day:hover,
.flatpickr-day.prevMonthDay:hover,
.flatpickr-day.nextMonthDay:hover,
.flatpickr-day:focus,
.flatpickr-day.prevMonthDay:focus,
.flatpickr-day.nextMonthDay:focus {
cursor: pointer;
outline: 0;
background: #e2e2e2;
border-color: #e2e2e2;
}
.flatpickr-day.today {
border-color: #bbb;
}
.flatpickr-day.today:hover,
.flatpickr-day.today:focus {
border-color: #bbb;
background: #bbb;
color: #fff;
}
.flatpickr-day.selected,
.flatpickr-day.startRange,
.flatpickr-day.endRange,
.flatpickr-day.selected.inRange,
.flatpickr-day.startRange.inRange,
.flatpickr-day.endRange.inRange,
.flatpickr-day.selected:focus,
.flatpickr-day.startRange:focus,
.flatpickr-day.endRange:focus,
.flatpickr-day.selected:hover,
.flatpickr-day.startRange:hover,
.flatpickr-day.endRange:hover,
.flatpickr-day.selected.prevMonthDay,
.flatpickr-day.startRange.prevMonthDay,
.flatpickr-day.endRange.prevMonthDay,
.flatpickr-day.selected.nextMonthDay,
.flatpickr-day.startRange.nextMonthDay,
.flatpickr-day.endRange.nextMonthDay {
background: #1bbc9b;
-webkit-box-shadow: none;
box-shadow: none;
color: #fff;
border-color: #1bbc9b;
}
.flatpickr-day.selected.startRange,
.flatpickr-day.startRange.startRange,
.flatpickr-day.endRange.startRange {
border-radius: 50px 0 0 50px;
}
.flatpickr-day.selected.endRange,
.flatpickr-day.startRange.endRange,
.flatpickr-day.endRange.endRange {
border-radius: 0 50px 50px 0;
}
.flatpickr-day.selected.startRange + .endRange:not(:nth-child(7n+1)),
.flatpickr-day.startRange.startRange + .endRange:not(:nth-child(7n+1)),
.flatpickr-day.endRange.startRange + .endRange:not(:nth-child(7n+1)) {
-webkit-box-shadow: -10px 0 0 #1bbc9b;
box-shadow: -10px 0 0 #1bbc9b;
}
.flatpickr-day.selected.startRange.endRange,
.flatpickr-day.startRange.startRange.endRange,
.flatpickr-day.endRange.startRange.endRange {
border-radius: 50px;
}
.flatpickr-day.inRange {
border-radius: 0;
-webkit-box-shadow: -5px 0 0 #e2e2e2, 5px 0 0 #e2e2e2;
box-shadow: -5px 0 0 #e2e2e2, 5px 0 0 #e2e2e2;
}
.flatpickr-day.flatpickr-disabled,
.flatpickr-day.flatpickr-disabled:hover,
.flatpickr-day.prevMonthDay,
.flatpickr-day.nextMonthDay,
.flatpickr-day.notAllowed,
.flatpickr-day.notAllowed.prevMonthDay,
.flatpickr-day.notAllowed.nextMonthDay {
color: rgba(72,72,72,0.3);
background: transparent;
border-color: transparent;
cursor: default;
}
.flatpickr-day.flatpickr-disabled,
.flatpickr-day.flatpickr-disabled:hover {
cursor: not-allowed;
color: rgba(72,72,72,0.1);
}
.flatpickr-day.week.selected {
border-radius: 0;
-webkit-box-shadow: -5px 0 0 #1bbc9b, 5px 0 0 #1bbc9b;
box-shadow: -5px 0 0 #1bbc9b, 5px 0 0 #1bbc9b;
}
.flatpickr-day.hidden {
visibility: hidden;
}
.rangeMode .flatpickr-day {
margin-top: 1px;
}
.flatpickr-weekwrapper {
float: left;
}
.flatpickr-weekwrapper .flatpickr-weeks {
padding: 0 12px;
border-left: 1px solid rgba(72,72,72,0.2);
}
.flatpickr-weekwrapper .flatpickr-weekday {
float: none;
width: 100%;
line-height: 28px;
}
.flatpickr-weekwrapper span.flatpickr-day,
.flatpickr-weekwrapper span.flatpickr-day:hover {
display: block;
width: 100%;
max-width: none;
color: rgba(72,72,72,0.3);
background: transparent;
cursor: default;
border: none;
}
.flatpickr-innerContainer {
display: block;
display: -webkit-box;
display: -webkit-flex;
display: -ms-flexbox;
display: flex;
-webkit-box-sizing: border-box;
box-sizing: border-box;
overflow: hidden;
background: #fff;
border-bottom: 1px solid rgba(72,72,72,0.2);
}
.flatpickr-rContainer {
display: inline-block;
padding: 0;
-webkit-box-sizing: border-box;
box-sizing: border-box;
}
.flatpickr-time {
text-align: center;
outline: 0;
display: block;
height: 0;
line-height: 40px;
max-height: 40px;
-webkit-box-sizing: border-box;
box-sizing: border-box;
overflow: hidden;
display: -webkit-box;
display: -webkit-flex;
display: -ms-flexbox;
display: flex;
background: #fff;
border-radius: 0 0 5px 5px;
}
.flatpickr-time:after {
content: "";
display: table;
clear: both;
}
.flatpickr-time .numInputWrapper {
-webkit-box-flex: 1;
-webkit-flex: 1;
-ms-flex: 1;
flex: 1;
width: 40%;
height: 40px;
float: left;
}
.flatpickr-time .numInputWrapper span.arrowUp:after {
border-bottom-color: #484848;
}
.flatpickr-time .numInputWrapper span.arrowDown:after {
border-top-color: #484848;
}
.flatpickr-time.hasSeconds .numInputWrapper {
width: 26%;
}
.flatpickr-time.time24hr .numInputWrapper {
width: 49%;
}
.flatpickr-time input {
background: transparent;
-webkit-box-shadow: none;
box-shadow: none;
border: 0;
border-radius: 0;
text-align: center;
margin: 0;
padding: 0;
height: inherit;
line-height: inherit;
color: #484848;
font-size: 14px;
position: relative;
-webkit-box-sizing: border-box;
box-sizing: border-box;
-webkit-appearance: textfield;
-moz-appearance: textfield;
appearance: textfield;
}
.flatpickr-time input.flatpickr-hour {
font-weight: bold;
}
.flatpickr-time input.flatpickr-minute,
.flatpickr-time input.flatpickr-second {
font-weight: 400;
}
.flatpickr-time input:focus {
outline: 0;
border: 0;
}
.flatpickr-time .flatpickr-time-separator,
.flatpickr-time .flatpickr-am-pm {
height: inherit;
float: left;
line-height: inherit;
color: #484848;
font-weight: bold;
width: 2%;
-webkit-user-select: none;
-moz-user-select: none;
-ms-user-select: none;
user-select: none;
-webkit-align-self: center;
-ms-flex-item-align: center;
align-self: center;
}
.flatpickr-time .flatpickr-am-pm {
outline: 0;
width: 18%;
cursor: pointer;
text-align: center;
font-weight: 400;
}
.flatpickr-time input:hover,
.flatpickr-time .flatpickr-am-pm:hover,
.flatpickr-time input:focus,
.flatpickr-time .flatpickr-am-pm:focus {
background: #eaeaea;
}
.flatpickr-input[readonly] {
cursor: pointer;
}
@-webkit-keyframes fpFadeInDown {
from {
opacity: 0;
-webkit-transform: translate3d(0, -20px, 0);
transform: translate3d(0, -20px, 0);
}
to {
opacity: 1;
-webkit-transform: translate3d(0, 0, 0);
transform: translate3d(0, 0, 0);
}
}
@keyframes fpFadeInDown {
from {
opacity: 0;
-webkit-transform: translate3d(0, -20px, 0);
transform: translate3d(0, -20px, 0);
}
to {
opacity: 1;
-webkit-transform: translate3d(0, 0, 0);
transform: translate3d(0, 0, 0);
}
}
dist/themes/confetti.css 0000644 00000045554 15167673014 0011350 0 ustar 00 .flatpickr-calendar {
background: transparent;
opacity: 0;
display: none;
text-align: center;
visibility: hidden;
padding: 0;
-webkit-animation: none;
animation: none;
direction: ltr;
border: 0;
font-size: 14px;
line-height: 24px;
border-radius: 5px;
position: absolute;
width: 307.875px;
-webkit-box-sizing: border-box;
box-sizing: border-box;
-ms-touch-action: manipulation;
touch-action: manipulation;
-webkit-box-shadow: 0 3px 13px rgba(0,0,0,0.08);
box-shadow: 0 3px 13px rgba(0,0,0,0.08);
}
.flatpickr-calendar.open,
.flatpickr-calendar.inline {
opacity: 1;
max-height: 640px;
visibility: visible;
}
.flatpickr-calendar.open {
display: inline-block;
z-index: 99999;
}
.flatpickr-calendar.animate.open {
-webkit-animation: fpFadeInDown 300ms cubic-bezier(0.23, 1, 0.32, 1);
animation: fpFadeInDown 300ms cubic-bezier(0.23, 1, 0.32, 1);
}
.flatpickr-calendar.inline {
display: block;
position: relative;
top: 2px;
}
.flatpickr-calendar.static {
position: absolute;
top: calc(100% + 2px);
}
.flatpickr-calendar.static.open {
z-index: 999;
display: block;
}
.flatpickr-calendar.multiMonth .flatpickr-days .dayContainer:nth-child(n+1) .flatpickr-day.inRange:nth-child(7n+7) {
-webkit-box-shadow: none !important;
box-shadow: none !important;
}
.flatpickr-calendar.multiMonth .flatpickr-days .dayContainer:nth-child(n+2) .flatpickr-day.inRange:nth-child(7n+1) {
-webkit-box-shadow: -2px 0 0 #e6e6e6, 5px 0 0 #e6e6e6;
box-shadow: -2px 0 0 #e6e6e6, 5px 0 0 #e6e6e6;
}
.flatpickr-calendar .hasWeeks .dayContainer,
.flatpickr-calendar .hasTime .dayContainer {
border-bottom: 0;
border-bottom-right-radius: 0;
border-bottom-left-radius: 0;
}
.flatpickr-calendar .hasWeeks .dayContainer {
border-left: 0;
}
.flatpickr-calendar.hasTime .flatpickr-time {
height: 40px;
border-top: 1px solid rgba(72,72,72,0.1);
}
.flatpickr-calendar.hasTime .flatpickr-innerContainer {
border-bottom: 0;
}
.flatpickr-calendar.hasTime .flatpickr-time {
border: 1px solid rgba(72,72,72,0.1);
}
.flatpickr-calendar.noCalendar.hasTime .flatpickr-time {
height: auto;
}
.flatpickr-calendar:before,
.flatpickr-calendar:after {
position: absolute;
display: block;
pointer-events: none;
border: solid transparent;
content: '';
height: 0;
width: 0;
left: 22px;
}
.flatpickr-calendar.rightMost:before,
.flatpickr-calendar.arrowRight:before,
.flatpickr-calendar.rightMost:after,
.flatpickr-calendar.arrowRight:after {
left: auto;
right: 22px;
}
.flatpickr-calendar.arrowCenter:before,
.flatpickr-calendar.arrowCenter:after {
left: 50%;
right: 50%;
}
.flatpickr-calendar:before {
border-width: 5px;
margin: 0 -5px;
}
.flatpickr-calendar:after {
border-width: 4px;
margin: 0 -4px;
}
.flatpickr-calendar.arrowTop:before,
.flatpickr-calendar.arrowTop:after {
bottom: 100%;
}
.flatpickr-calendar.arrowTop:before {
border-bottom-color: rgba(72,72,72,0.1);
}
.flatpickr-calendar.arrowTop:after {
border-bottom-color: #ffb866;
}
.flatpickr-calendar.arrowBottom:before,
.flatpickr-calendar.arrowBottom:after {
top: 100%;
}
.flatpickr-calendar.arrowBottom:before {
border-top-color: rgba(72,72,72,0.1);
}
.flatpickr-calendar.arrowBottom:after {
border-top-color: #ffb866;
}
.flatpickr-calendar:focus {
outline: 0;
}
.flatpickr-wrapper {
position: relative;
display: inline-block;
}
.flatpickr-months {
display: -webkit-box;
display: -webkit-flex;
display: -ms-flexbox;
display: flex;
}
.flatpickr-months .flatpickr-month {
border-radius: 5px 5px 0 0;
background: #ffb866;
color: #fff;
fill: #fff;
height: 34px;
line-height: 1;
text-align: center;
position: relative;
-webkit-user-select: none;
-moz-user-select: none;
-ms-user-select: none;
user-select: none;
overflow: hidden;
-webkit-box-flex: 1;
-webkit-flex: 1;
-ms-flex: 1;
flex: 1;
}
.flatpickr-months .flatpickr-prev-month,
.flatpickr-months .flatpickr-next-month {
-webkit-user-select: none;
-moz-user-select: none;
-ms-user-select: none;
user-select: none;
text-decoration: none;
cursor: pointer;
position: absolute;
top: 0;
height: 34px;
padding: 10px;
z-index: 3;
color: #fff;
fill: #fff;
}
.flatpickr-months .flatpickr-prev-month.flatpickr-disabled,
.flatpickr-months .flatpickr-next-month.flatpickr-disabled {
display: none;
}
.flatpickr-months .flatpickr-prev-month i,
.flatpickr-months .flatpickr-next-month i {
position: relative;
}
.flatpickr-months .flatpickr-prev-month.flatpickr-prev-month,
.flatpickr-months .flatpickr-next-month.flatpickr-prev-month {
/*
/*rtl:begin:ignore*/
/*
*/
left: 0;
/*
/*rtl:end:ignore*/
/*
*/
}
/*
/*rtl:begin:ignore*/
/*
/*rtl:end:ignore*/
.flatpickr-months .flatpickr-prev-month.flatpickr-next-month,
.flatpickr-months .flatpickr-next-month.flatpickr-next-month {
/*
/*rtl:begin:ignore*/
/*
*/
right: 0;
/*
/*rtl:end:ignore*/
/*
*/
}
/*
/*rtl:begin:ignore*/
/*
/*rtl:end:ignore*/
.flatpickr-months .flatpickr-prev-month:hover,
.flatpickr-months .flatpickr-next-month:hover {
color: #bbb;
}
.flatpickr-months .flatpickr-prev-month:hover svg,
.flatpickr-months .flatpickr-next-month:hover svg {
fill: #f64747;
}
.flatpickr-months .flatpickr-prev-month svg,
.flatpickr-months .flatpickr-next-month svg {
width: 14px;
height: 14px;
}
.flatpickr-months .flatpickr-prev-month svg path,
.flatpickr-months .flatpickr-next-month svg path {
-webkit-transition: fill 0.1s;
transition: fill 0.1s;
fill: inherit;
}
.numInputWrapper {
position: relative;
height: auto;
}
.numInputWrapper input,
.numInputWrapper span {
display: inline-block;
}
.numInputWrapper input {
width: 100%;
}
.numInputWrapper input::-ms-clear {
display: none;
}
.numInputWrapper input::-webkit-outer-spin-button,
.numInputWrapper input::-webkit-inner-spin-button {
margin: 0;
-webkit-appearance: none;
}
.numInputWrapper span {
position: absolute;
right: 0;
width: 14px;
padding: 0 4px 0 2px;
height: 50%;
line-height: 50%;
opacity: 0;
cursor: pointer;
border: 1px solid rgba(72,72,72,0.15);
-webkit-box-sizing: border-box;
box-sizing: border-box;
}
.numInputWrapper span:hover {
background: rgba(0,0,0,0.1);
}
.numInputWrapper span:active {
background: rgba(0,0,0,0.2);
}
.numInputWrapper span:after {
display: block;
content: "";
position: absolute;
}
.numInputWrapper span.arrowUp {
top: 0;
border-bottom: 0;
}
.numInputWrapper span.arrowUp:after {
border-left: 4px solid transparent;
border-right: 4px solid transparent;
border-bottom: 4px solid rgba(72,72,72,0.6);
top: 26%;
}
.numInputWrapper span.arrowDown {
top: 50%;
}
.numInputWrapper span.arrowDown:after {
border-left: 4px solid transparent;
border-right: 4px solid transparent;
border-top: 4px solid rgba(72,72,72,0.6);
top: 40%;
}
.numInputWrapper span svg {
width: inherit;
height: auto;
}
.numInputWrapper span svg path {
fill: rgba(255,255,255,0.5);
}
.numInputWrapper:hover {
background: rgba(0,0,0,0.05);
}
.numInputWrapper:hover span {
opacity: 1;
}
.flatpickr-current-month {
font-size: 135%;
line-height: inherit;
font-weight: 300;
color: inherit;
position: absolute;
width: 75%;
left: 12.5%;
padding: 7.48px 0 0 0;
line-height: 1;
height: 34px;
display: inline-block;
text-align: center;
-webkit-transform: translate3d(0px, 0px, 0px);
transform: translate3d(0px, 0px, 0px);
}
.flatpickr-current-month span.cur-month {
font-family: inherit;
font-weight: 700;
color: inherit;
display: inline-block;
margin-left: 0.5ch;
padding: 0;
}
.flatpickr-current-month span.cur-month:hover {
background: rgba(0,0,0,0.05);
}
.flatpickr-current-month .numInputWrapper {
width: 6ch;
width: 7ch\0;
display: inline-block;
}
.flatpickr-current-month .numInputWrapper span.arrowUp:after {
border-bottom-color: #fff;
}
.flatpickr-current-month .numInputWrapper span.arrowDown:after {
border-top-color: #fff;
}
.flatpickr-current-month input.cur-year {
background: transparent;
-webkit-box-sizing: border-box;
box-sizing: border-box;
color: inherit;
cursor: text;
padding: 0 0 0 0.5ch;
margin: 0;
display: inline-block;
font-size: inherit;
font-family: inherit;
font-weight: 300;
line-height: inherit;
height: auto;
border: 0;
border-radius: 0;
vertical-align: initial;
-webkit-appearance: textfield;
-moz-appearance: textfield;
appearance: textfield;
}
.flatpickr-current-month input.cur-year:focus {
outline: 0;
}
.flatpickr-current-month input.cur-year[disabled],
.flatpickr-current-month input.cur-year[disabled]:hover {
font-size: 100%;
color: rgba(255,255,255,0.5);
background: transparent;
pointer-events: none;
}
.flatpickr-current-month .flatpickr-monthDropdown-months {
appearance: menulist;
background: #ffb866;
border: none;
border-radius: 0;
box-sizing: border-box;
color: inherit;
cursor: pointer;
font-size: inherit;
font-family: inherit;
font-weight: 300;
height: auto;
line-height: inherit;
margin: -1px 0 0 0;
outline: none;
padding: 0 0 0 0.5ch;
position: relative;
vertical-align: initial;
-webkit-box-sizing: border-box;
-webkit-appearance: menulist;
-moz-appearance: menulist;
width: auto;
}
.flatpickr-current-month .flatpickr-monthDropdown-months:focus,
.flatpickr-current-month .flatpickr-monthDropdown-months:active {
outline: none;
}
.flatpickr-current-month .flatpickr-monthDropdown-months:hover {
background: rgba(0,0,0,0.05);
}
.flatpickr-current-month .flatpickr-monthDropdown-months .flatpickr-monthDropdown-month {
background-color: #ffb866;
outline: none;
padding: 0;
}
.flatpickr-weekdays {
background: #ffb866;
text-align: center;
overflow: hidden;
width: 100%;
display: -webkit-box;
display: -webkit-flex;
display: -ms-flexbox;
display: flex;
-webkit-box-align: center;
-webkit-align-items: center;
-ms-flex-align: center;
align-items: center;
height: 28px;
}
.flatpickr-weekdays .flatpickr-weekdaycontainer {
display: -webkit-box;
display: -webkit-flex;
display: -ms-flexbox;
display: flex;
-webkit-box-flex: 1;
-webkit-flex: 1;
-ms-flex: 1;
flex: 1;
}
span.flatpickr-weekday {
cursor: default;
font-size: 90%;
background: #ffb866;
color: rgba(0,0,0,0.54);
line-height: 1;
margin: 0;
text-align: center;
display: block;
-webkit-box-flex: 1;
-webkit-flex: 1;
-ms-flex: 1;
flex: 1;
font-weight: bolder;
}
.dayContainer,
.flatpickr-weeks {
padding: 1px 0 0 0;
}
.flatpickr-days {
position: relative;
overflow: hidden;
display: -webkit-box;
display: -webkit-flex;
display: -ms-flexbox;
display: flex;
-webkit-box-align: start;
-webkit-align-items: flex-start;
-ms-flex-align: start;
align-items: flex-start;
width: 307.875px;
border-left: 1px solid rgba(72,72,72,0.1);
border-right: 1px solid rgba(72,72,72,0.1);
}
.flatpickr-days:focus {
outline: 0;
}
.dayContainer {
padding: 0;
outline: 0;
text-align: left;
width: 307.875px;
min-width: 307.875px;
max-width: 307.875px;
-webkit-box-sizing: border-box;
box-sizing: border-box;
display: inline-block;
display: -ms-flexbox;
display: -webkit-box;
display: -webkit-flex;
display: flex;
-webkit-flex-wrap: wrap;
flex-wrap: wrap;
-ms-flex-wrap: wrap;
-ms-flex-pack: justify;
-webkit-justify-content: space-around;
justify-content: space-around;
-webkit-transform: translate3d(0px, 0px, 0px);
transform: translate3d(0px, 0px, 0px);
opacity: 1;
}
.dayContainer + .dayContainer {
-webkit-box-shadow: -1px 0 0 rgba(72,72,72,0.1);
box-shadow: -1px 0 0 rgba(72,72,72,0.1);
}
.flatpickr-day {
background: none;
border: 1px solid transparent;
border-radius: 150px;
-webkit-box-sizing: border-box;
box-sizing: border-box;
color: #484848;
cursor: pointer;
font-weight: 400;
width: 14.2857143%;
-webkit-flex-basis: 14.2857143%;
-ms-flex-preferred-size: 14.2857143%;
flex-basis: 14.2857143%;
max-width: 39px;
height: 39px;
line-height: 39px;
margin: 0;
display: inline-block;
position: relative;
-webkit-box-pack: center;
-webkit-justify-content: center;
-ms-flex-pack: center;
justify-content: center;
text-align: center;
}
.flatpickr-day.inRange,
.flatpickr-day.prevMonthDay.inRange,
.flatpickr-day.nextMonthDay.inRange,
.flatpickr-day.today.inRange,
.flatpickr-day.prevMonthDay.today.inRange,
.flatpickr-day.nextMonthDay.today.inRange,
.flatpickr-day:hover,
.flatpickr-day.prevMonthDay:hover,
.flatpickr-day.nextMonthDay:hover,
.flatpickr-day:focus,
.flatpickr-day.prevMonthDay:focus,
.flatpickr-day.nextMonthDay:focus {
cursor: pointer;
outline: 0;
background: #e2e2e2;
border-color: #e2e2e2;
}
.flatpickr-day.today {
border-color: #bbb;
}
.flatpickr-day.today:hover,
.flatpickr-day.today:focus {
border-color: #bbb;
background: #bbb;
color: #fff;
}
.flatpickr-day.selected,
.flatpickr-day.startRange,
.flatpickr-day.endRange,
.flatpickr-day.selected.inRange,
.flatpickr-day.startRange.inRange,
.flatpickr-day.endRange.inRange,
.flatpickr-day.selected:focus,
.flatpickr-day.startRange:focus,
.flatpickr-day.endRange:focus,
.flatpickr-day.selected:hover,
.flatpickr-day.startRange:hover,
.flatpickr-day.endRange:hover,
.flatpickr-day.selected.prevMonthDay,
.flatpickr-day.startRange.prevMonthDay,
.flatpickr-day.endRange.prevMonthDay,
.flatpickr-day.selected.nextMonthDay,
.flatpickr-day.startRange.nextMonthDay,
.flatpickr-day.endRange.nextMonthDay {
background: #ffb866;
-webkit-box-shadow: none;
box-shadow: none;
color: #fff;
border-color: #ffb866;
}
.flatpickr-day.selected.startRange,
.flatpickr-day.startRange.startRange,
.flatpickr-day.endRange.startRange {
border-radius: 50px 0 0 50px;
}
.flatpickr-day.selected.endRange,
.flatpickr-day.startRange.endRange,
.flatpickr-day.endRange.endRange {
border-radius: 0 50px 50px 0;
}
.flatpickr-day.selected.startRange + .endRange:not(:nth-child(7n+1)),
.flatpickr-day.startRange.startRange + .endRange:not(:nth-child(7n+1)),
.flatpickr-day.endRange.startRange + .endRange:not(:nth-child(7n+1)) {
-webkit-box-shadow: -10px 0 0 #ffb866;
box-shadow: -10px 0 0 #ffb866;
}
.flatpickr-day.selected.startRange.endRange,
.flatpickr-day.startRange.startRange.endRange,
.flatpickr-day.endRange.startRange.endRange {
border-radius: 50px;
}
.flatpickr-day.inRange {
border-radius: 0;
-webkit-box-shadow: -5px 0 0 #e2e2e2, 5px 0 0 #e2e2e2;
box-shadow: -5px 0 0 #e2e2e2, 5px 0 0 #e2e2e2;
}
.flatpickr-day.flatpickr-disabled,
.flatpickr-day.flatpickr-disabled:hover,
.flatpickr-day.prevMonthDay,
.flatpickr-day.nextMonthDay,
.flatpickr-day.notAllowed,
.flatpickr-day.notAllowed.prevMonthDay,
.flatpickr-day.notAllowed.nextMonthDay {
color: rgba(72,72,72,0.3);
background: transparent;
border-color: transparent;
cursor: default;
}
.flatpickr-day.flatpickr-disabled,
.flatpickr-day.flatpickr-disabled:hover {
cursor: not-allowed;
color: rgba(72,72,72,0.1);
}
.flatpickr-day.week.selected {
border-radius: 0;
-webkit-box-shadow: -5px 0 0 #ffb866, 5px 0 0 #ffb866;
box-shadow: -5px 0 0 #ffb866, 5px 0 0 #ffb866;
}
.flatpickr-day.hidden {
visibility: hidden;
}
.rangeMode .flatpickr-day {
margin-top: 1px;
}
.flatpickr-weekwrapper {
float: left;
}
.flatpickr-weekwrapper .flatpickr-weeks {
padding: 0 12px;
border-left: 1px solid rgba(72,72,72,0.1);
}
.flatpickr-weekwrapper .flatpickr-weekday {
float: none;
width: 100%;
line-height: 28px;
}
.flatpickr-weekwrapper span.flatpickr-day,
.flatpickr-weekwrapper span.flatpickr-day:hover {
display: block;
width: 100%;
max-width: none;
color: rgba(72,72,72,0.3);
background: transparent;
cursor: default;
border: none;
}
.flatpickr-innerContainer {
display: block;
display: -webkit-box;
display: -webkit-flex;
display: -ms-flexbox;
display: flex;
-webkit-box-sizing: border-box;
box-sizing: border-box;
overflow: hidden;
background: #fff;
border-bottom: 1px solid rgba(72,72,72,0.1);
}
.flatpickr-rContainer {
display: inline-block;
padding: 0;
-webkit-box-sizing: border-box;
box-sizing: border-box;
}
.flatpickr-time {
text-align: center;
outline: 0;
display: block;
height: 0;
line-height: 40px;
max-height: 40px;
-webkit-box-sizing: border-box;
box-sizing: border-box;
overflow: hidden;
display: -webkit-box;
display: -webkit-flex;
display: -ms-flexbox;
display: flex;
background: #fff;
border-radius: 0 0 5px 5px;
}
.flatpickr-time:after {
content: "";
display: table;
clear: both;
}
.flatpickr-time .numInputWrapper {
-webkit-box-flex: 1;
-webkit-flex: 1;
-ms-flex: 1;
flex: 1;
width: 40%;
height: 40px;
float: left;
}
.flatpickr-time .numInputWrapper span.arrowUp:after {
border-bottom-color: #484848;
}
.flatpickr-time .numInputWrapper span.arrowDown:after {
border-top-color: #484848;
}
.flatpickr-time.hasSeconds .numInputWrapper {
width: 26%;
}
.flatpickr-time.time24hr .numInputWrapper {
width: 49%;
}
.flatpickr-time input {
background: transparent;
-webkit-box-shadow: none;
box-shadow: none;
border: 0;
border-radius: 0;
text-align: center;
margin: 0;
padding: 0;
height: inherit;
line-height: inherit;
color: #484848;
font-size: 14px;
position: relative;
-webkit-box-sizing: border-box;
box-sizing: border-box;
-webkit-appearance: textfield;
-moz-appearance: textfield;
appearance: textfield;
}
.flatpickr-time input.flatpickr-hour {
font-weight: bold;
}
.flatpickr-time input.flatpickr-minute,
.flatpickr-time input.flatpickr-second {
font-weight: 400;
}
.flatpickr-time input:focus {
outline: 0;
border: 0;
}
.flatpickr-time .flatpickr-time-separator,
.flatpickr-time .flatpickr-am-pm {
height: inherit;
float: left;
line-height: inherit;
color: #484848;
font-weight: bold;
width: 2%;
-webkit-user-select: none;
-moz-user-select: none;
-ms-user-select: none;
user-select: none;
-webkit-align-self: center;
-ms-flex-item-align: center;
align-self: center;
}
.flatpickr-time .flatpickr-am-pm {
outline: 0;
width: 18%;
cursor: pointer;
text-align: center;
font-weight: 400;
}
.flatpickr-time input:hover,
.flatpickr-time .flatpickr-am-pm:hover,
.flatpickr-time input:focus,
.flatpickr-time .flatpickr-am-pm:focus {
background: #eaeaea;
}
.flatpickr-input[readonly] {
cursor: pointer;
}
@-webkit-keyframes fpFadeInDown {
from {
opacity: 0;
-webkit-transform: translate3d(0, -20px, 0);
transform: translate3d(0, -20px, 0);
}
to {
opacity: 1;
-webkit-transform: translate3d(0, 0, 0);
transform: translate3d(0, 0, 0);
}
}
@keyframes fpFadeInDown {
from {
opacity: 0;
-webkit-transform: translate3d(0, -20px, 0);
transform: translate3d(0, -20px, 0);
}
to {
opacity: 1;
-webkit-transform: translate3d(0, 0, 0);
transform: translate3d(0, 0, 0);
}
}
dist/themes/material_red.css 0000644 00000045554 15167673014 0012165 0 ustar 00 .flatpickr-calendar {
background: transparent;
opacity: 0;
display: none;
text-align: center;
visibility: hidden;
padding: 0;
-webkit-animation: none;
animation: none;
direction: ltr;
border: 0;
font-size: 14px;
line-height: 24px;
border-radius: 5px;
position: absolute;
width: 307.875px;
-webkit-box-sizing: border-box;
box-sizing: border-box;
-ms-touch-action: manipulation;
touch-action: manipulation;
-webkit-box-shadow: 0 3px 13px rgba(0,0,0,0.08);
box-shadow: 0 3px 13px rgba(0,0,0,0.08);
}
.flatpickr-calendar.open,
.flatpickr-calendar.inline {
opacity: 1;
max-height: 640px;
visibility: visible;
}
.flatpickr-calendar.open {
display: inline-block;
z-index: 99999;
}
.flatpickr-calendar.animate.open {
-webkit-animation: fpFadeInDown 300ms cubic-bezier(0.23, 1, 0.32, 1);
animation: fpFadeInDown 300ms cubic-bezier(0.23, 1, 0.32, 1);
}
.flatpickr-calendar.inline {
display: block;
position: relative;
top: 2px;
}
.flatpickr-calendar.static {
position: absolute;
top: calc(100% + 2px);
}
.flatpickr-calendar.static.open {
z-index: 999;
display: block;
}
.flatpickr-calendar.multiMonth .flatpickr-days .dayContainer:nth-child(n+1) .flatpickr-day.inRange:nth-child(7n+7) {
-webkit-box-shadow: none !important;
box-shadow: none !important;
}
.flatpickr-calendar.multiMonth .flatpickr-days .dayContainer:nth-child(n+2) .flatpickr-day.inRange:nth-child(7n+1) {
-webkit-box-shadow: -2px 0 0 #e6e6e6, 5px 0 0 #e6e6e6;
box-shadow: -2px 0 0 #e6e6e6, 5px 0 0 #e6e6e6;
}
.flatpickr-calendar .hasWeeks .dayContainer,
.flatpickr-calendar .hasTime .dayContainer {
border-bottom: 0;
border-bottom-right-radius: 0;
border-bottom-left-radius: 0;
}
.flatpickr-calendar .hasWeeks .dayContainer {
border-left: 0;
}
.flatpickr-calendar.hasTime .flatpickr-time {
height: 40px;
border-top: 1px solid rgba(72,72,72,0.2);
}
.flatpickr-calendar.hasTime .flatpickr-innerContainer {
border-bottom: 0;
}
.flatpickr-calendar.hasTime .flatpickr-time {
border: 1px solid rgba(72,72,72,0.2);
}
.flatpickr-calendar.noCalendar.hasTime .flatpickr-time {
height: auto;
}
.flatpickr-calendar:before,
.flatpickr-calendar:after {
position: absolute;
display: block;
pointer-events: none;
border: solid transparent;
content: '';
height: 0;
width: 0;
left: 22px;
}
.flatpickr-calendar.rightMost:before,
.flatpickr-calendar.arrowRight:before,
.flatpickr-calendar.rightMost:after,
.flatpickr-calendar.arrowRight:after {
left: auto;
right: 22px;
}
.flatpickr-calendar.arrowCenter:before,
.flatpickr-calendar.arrowCenter:after {
left: 50%;
right: 50%;
}
.flatpickr-calendar:before {
border-width: 5px;
margin: 0 -5px;
}
.flatpickr-calendar:after {
border-width: 4px;
margin: 0 -4px;
}
.flatpickr-calendar.arrowTop:before,
.flatpickr-calendar.arrowTop:after {
bottom: 100%;
}
.flatpickr-calendar.arrowTop:before {
border-bottom-color: rgba(72,72,72,0.2);
}
.flatpickr-calendar.arrowTop:after {
border-bottom-color: #ef5350;
}
.flatpickr-calendar.arrowBottom:before,
.flatpickr-calendar.arrowBottom:after {
top: 100%;
}
.flatpickr-calendar.arrowBottom:before {
border-top-color: rgba(72,72,72,0.2);
}
.flatpickr-calendar.arrowBottom:after {
border-top-color: #ef5350;
}
.flatpickr-calendar:focus {
outline: 0;
}
.flatpickr-wrapper {
position: relative;
display: inline-block;
}
.flatpickr-months {
display: -webkit-box;
display: -webkit-flex;
display: -ms-flexbox;
display: flex;
}
.flatpickr-months .flatpickr-month {
border-radius: 5px 5px 0 0;
background: #ef5350;
color: #fff;
fill: #fff;
height: 34px;
line-height: 1;
text-align: center;
position: relative;
-webkit-user-select: none;
-moz-user-select: none;
-ms-user-select: none;
user-select: none;
overflow: hidden;
-webkit-box-flex: 1;
-webkit-flex: 1;
-ms-flex: 1;
flex: 1;
}
.flatpickr-months .flatpickr-prev-month,
.flatpickr-months .flatpickr-next-month {
-webkit-user-select: none;
-moz-user-select: none;
-ms-user-select: none;
user-select: none;
text-decoration: none;
cursor: pointer;
position: absolute;
top: 0;
height: 34px;
padding: 10px;
z-index: 3;
color: #fff;
fill: #fff;
}
.flatpickr-months .flatpickr-prev-month.flatpickr-disabled,
.flatpickr-months .flatpickr-next-month.flatpickr-disabled {
display: none;
}
.flatpickr-months .flatpickr-prev-month i,
.flatpickr-months .flatpickr-next-month i {
position: relative;
}
.flatpickr-months .flatpickr-prev-month.flatpickr-prev-month,
.flatpickr-months .flatpickr-next-month.flatpickr-prev-month {
/*
/*rtl:begin:ignore*/
/*
*/
left: 0;
/*
/*rtl:end:ignore*/
/*
*/
}
/*
/*rtl:begin:ignore*/
/*
/*rtl:end:ignore*/
.flatpickr-months .flatpickr-prev-month.flatpickr-next-month,
.flatpickr-months .flatpickr-next-month.flatpickr-next-month {
/*
/*rtl:begin:ignore*/
/*
*/
right: 0;
/*
/*rtl:end:ignore*/
/*
*/
}
/*
/*rtl:begin:ignore*/
/*
/*rtl:end:ignore*/
.flatpickr-months .flatpickr-prev-month:hover,
.flatpickr-months .flatpickr-next-month:hover {
color: #bbb;
}
.flatpickr-months .flatpickr-prev-month:hover svg,
.flatpickr-months .flatpickr-next-month:hover svg {
fill: #f64747;
}
.flatpickr-months .flatpickr-prev-month svg,
.flatpickr-months .flatpickr-next-month svg {
width: 14px;
height: 14px;
}
.flatpickr-months .flatpickr-prev-month svg path,
.flatpickr-months .flatpickr-next-month svg path {
-webkit-transition: fill 0.1s;
transition: fill 0.1s;
fill: inherit;
}
.numInputWrapper {
position: relative;
height: auto;
}
.numInputWrapper input,
.numInputWrapper span {
display: inline-block;
}
.numInputWrapper input {
width: 100%;
}
.numInputWrapper input::-ms-clear {
display: none;
}
.numInputWrapper input::-webkit-outer-spin-button,
.numInputWrapper input::-webkit-inner-spin-button {
margin: 0;
-webkit-appearance: none;
}
.numInputWrapper span {
position: absolute;
right: 0;
width: 14px;
padding: 0 4px 0 2px;
height: 50%;
line-height: 50%;
opacity: 0;
cursor: pointer;
border: 1px solid rgba(72,72,72,0.15);
-webkit-box-sizing: border-box;
box-sizing: border-box;
}
.numInputWrapper span:hover {
background: rgba(0,0,0,0.1);
}
.numInputWrapper span:active {
background: rgba(0,0,0,0.2);
}
.numInputWrapper span:after {
display: block;
content: "";
position: absolute;
}
.numInputWrapper span.arrowUp {
top: 0;
border-bottom: 0;
}
.numInputWrapper span.arrowUp:after {
border-left: 4px solid transparent;
border-right: 4px solid transparent;
border-bottom: 4px solid rgba(72,72,72,0.6);
top: 26%;
}
.numInputWrapper span.arrowDown {
top: 50%;
}
.numInputWrapper span.arrowDown:after {
border-left: 4px solid transparent;
border-right: 4px solid transparent;
border-top: 4px solid rgba(72,72,72,0.6);
top: 40%;
}
.numInputWrapper span svg {
width: inherit;
height: auto;
}
.numInputWrapper span svg path {
fill: rgba(255,255,255,0.5);
}
.numInputWrapper:hover {
background: rgba(0,0,0,0.05);
}
.numInputWrapper:hover span {
opacity: 1;
}
.flatpickr-current-month {
font-size: 135%;
line-height: inherit;
font-weight: 300;
color: inherit;
position: absolute;
width: 75%;
left: 12.5%;
padding: 7.48px 0 0 0;
line-height: 1;
height: 34px;
display: inline-block;
text-align: center;
-webkit-transform: translate3d(0px, 0px, 0px);
transform: translate3d(0px, 0px, 0px);
}
.flatpickr-current-month span.cur-month {
font-family: inherit;
font-weight: 700;
color: inherit;
display: inline-block;
margin-left: 0.5ch;
padding: 0;
}
.flatpickr-current-month span.cur-month:hover {
background: rgba(0,0,0,0.05);
}
.flatpickr-current-month .numInputWrapper {
width: 6ch;
width: 7ch\0;
display: inline-block;
}
.flatpickr-current-month .numInputWrapper span.arrowUp:after {
border-bottom-color: #fff;
}
.flatpickr-current-month .numInputWrapper span.arrowDown:after {
border-top-color: #fff;
}
.flatpickr-current-month input.cur-year {
background: transparent;
-webkit-box-sizing: border-box;
box-sizing: border-box;
color: inherit;
cursor: text;
padding: 0 0 0 0.5ch;
margin: 0;
display: inline-block;
font-size: inherit;
font-family: inherit;
font-weight: 300;
line-height: inherit;
height: auto;
border: 0;
border-radius: 0;
vertical-align: initial;
-webkit-appearance: textfield;
-moz-appearance: textfield;
appearance: textfield;
}
.flatpickr-current-month input.cur-year:focus {
outline: 0;
}
.flatpickr-current-month input.cur-year[disabled],
.flatpickr-current-month input.cur-year[disabled]:hover {
font-size: 100%;
color: rgba(255,255,255,0.5);
background: transparent;
pointer-events: none;
}
.flatpickr-current-month .flatpickr-monthDropdown-months {
appearance: menulist;
background: #ef5350;
border: none;
border-radius: 0;
box-sizing: border-box;
color: inherit;
cursor: pointer;
font-size: inherit;
font-family: inherit;
font-weight: 300;
height: auto;
line-height: inherit;
margin: -1px 0 0 0;
outline: none;
padding: 0 0 0 0.5ch;
position: relative;
vertical-align: initial;
-webkit-box-sizing: border-box;
-webkit-appearance: menulist;
-moz-appearance: menulist;
width: auto;
}
.flatpickr-current-month .flatpickr-monthDropdown-months:focus,
.flatpickr-current-month .flatpickr-monthDropdown-months:active {
outline: none;
}
.flatpickr-current-month .flatpickr-monthDropdown-months:hover {
background: rgba(0,0,0,0.05);
}
.flatpickr-current-month .flatpickr-monthDropdown-months .flatpickr-monthDropdown-month {
background-color: #ef5350;
outline: none;
padding: 0;
}
.flatpickr-weekdays {
background: #ef5350;
text-align: center;
overflow: hidden;
width: 100%;
display: -webkit-box;
display: -webkit-flex;
display: -ms-flexbox;
display: flex;
-webkit-box-align: center;
-webkit-align-items: center;
-ms-flex-align: center;
align-items: center;
height: 28px;
}
.flatpickr-weekdays .flatpickr-weekdaycontainer {
display: -webkit-box;
display: -webkit-flex;
display: -ms-flexbox;
display: flex;
-webkit-box-flex: 1;
-webkit-flex: 1;
-ms-flex: 1;
flex: 1;
}
span.flatpickr-weekday {
cursor: default;
font-size: 90%;
background: #ef5350;
color: rgba(0,0,0,0.54);
line-height: 1;
margin: 0;
text-align: center;
display: block;
-webkit-box-flex: 1;
-webkit-flex: 1;
-ms-flex: 1;
flex: 1;
font-weight: bolder;
}
.dayContainer,
.flatpickr-weeks {
padding: 1px 0 0 0;
}
.flatpickr-days {
position: relative;
overflow: hidden;
display: -webkit-box;
display: -webkit-flex;
display: -ms-flexbox;
display: flex;
-webkit-box-align: start;
-webkit-align-items: flex-start;
-ms-flex-align: start;
align-items: flex-start;
width: 307.875px;
border-left: 1px solid rgba(72,72,72,0.2);
border-right: 1px solid rgba(72,72,72,0.2);
}
.flatpickr-days:focus {
outline: 0;
}
.dayContainer {
padding: 0;
outline: 0;
text-align: left;
width: 307.875px;
min-width: 307.875px;
max-width: 307.875px;
-webkit-box-sizing: border-box;
box-sizing: border-box;
display: inline-block;
display: -ms-flexbox;
display: -webkit-box;
display: -webkit-flex;
display: flex;
-webkit-flex-wrap: wrap;
flex-wrap: wrap;
-ms-flex-wrap: wrap;
-ms-flex-pack: justify;
-webkit-justify-content: space-around;
justify-content: space-around;
-webkit-transform: translate3d(0px, 0px, 0px);
transform: translate3d(0px, 0px, 0px);
opacity: 1;
}
.dayContainer + .dayContainer {
-webkit-box-shadow: -1px 0 0 rgba(72,72,72,0.2);
box-shadow: -1px 0 0 rgba(72,72,72,0.2);
}
.flatpickr-day {
background: none;
border: 1px solid transparent;
border-radius: 150px;
-webkit-box-sizing: border-box;
box-sizing: border-box;
color: #484848;
cursor: pointer;
font-weight: 400;
width: 14.2857143%;
-webkit-flex-basis: 14.2857143%;
-ms-flex-preferred-size: 14.2857143%;
flex-basis: 14.2857143%;
max-width: 39px;
height: 39px;
line-height: 39px;
margin: 0;
display: inline-block;
position: relative;
-webkit-box-pack: center;
-webkit-justify-content: center;
-ms-flex-pack: center;
justify-content: center;
text-align: center;
}
.flatpickr-day.inRange,
.flatpickr-day.prevMonthDay.inRange,
.flatpickr-day.nextMonthDay.inRange,
.flatpickr-day.today.inRange,
.flatpickr-day.prevMonthDay.today.inRange,
.flatpickr-day.nextMonthDay.today.inRange,
.flatpickr-day:hover,
.flatpickr-day.prevMonthDay:hover,
.flatpickr-day.nextMonthDay:hover,
.flatpickr-day:focus,
.flatpickr-day.prevMonthDay:focus,
.flatpickr-day.nextMonthDay:focus {
cursor: pointer;
outline: 0;
background: #e2e2e2;
border-color: #e2e2e2;
}
.flatpickr-day.today {
border-color: #bbb;
}
.flatpickr-day.today:hover,
.flatpickr-day.today:focus {
border-color: #bbb;
background: #bbb;
color: #fff;
}
.flatpickr-day.selected,
.flatpickr-day.startRange,
.flatpickr-day.endRange,
.flatpickr-day.selected.inRange,
.flatpickr-day.startRange.inRange,
.flatpickr-day.endRange.inRange,
.flatpickr-day.selected:focus,
.flatpickr-day.startRange:focus,
.flatpickr-day.endRange:focus,
.flatpickr-day.selected:hover,
.flatpickr-day.startRange:hover,
.flatpickr-day.endRange:hover,
.flatpickr-day.selected.prevMonthDay,
.flatpickr-day.startRange.prevMonthDay,
.flatpickr-day.endRange.prevMonthDay,
.flatpickr-day.selected.nextMonthDay,
.flatpickr-day.startRange.nextMonthDay,
.flatpickr-day.endRange.nextMonthDay {
background: #ef5350;
-webkit-box-shadow: none;
box-shadow: none;
color: #fff;
border-color: #ef5350;
}
.flatpickr-day.selected.startRange,
.flatpickr-day.startRange.startRange,
.flatpickr-day.endRange.startRange {
border-radius: 50px 0 0 50px;
}
.flatpickr-day.selected.endRange,
.flatpickr-day.startRange.endRange,
.flatpickr-day.endRange.endRange {
border-radius: 0 50px 50px 0;
}
.flatpickr-day.selected.startRange + .endRange:not(:nth-child(7n+1)),
.flatpickr-day.startRange.startRange + .endRange:not(:nth-child(7n+1)),
.flatpickr-day.endRange.startRange + .endRange:not(:nth-child(7n+1)) {
-webkit-box-shadow: -10px 0 0 #ef5350;
box-shadow: -10px 0 0 #ef5350;
}
.flatpickr-day.selected.startRange.endRange,
.flatpickr-day.startRange.startRange.endRange,
.flatpickr-day.endRange.startRange.endRange {
border-radius: 50px;
}
.flatpickr-day.inRange {
border-radius: 0;
-webkit-box-shadow: -5px 0 0 #e2e2e2, 5px 0 0 #e2e2e2;
box-shadow: -5px 0 0 #e2e2e2, 5px 0 0 #e2e2e2;
}
.flatpickr-day.flatpickr-disabled,
.flatpickr-day.flatpickr-disabled:hover,
.flatpickr-day.prevMonthDay,
.flatpickr-day.nextMonthDay,
.flatpickr-day.notAllowed,
.flatpickr-day.notAllowed.prevMonthDay,
.flatpickr-day.notAllowed.nextMonthDay {
color: rgba(72,72,72,0.3);
background: transparent;
border-color: transparent;
cursor: default;
}
.flatpickr-day.flatpickr-disabled,
.flatpickr-day.flatpickr-disabled:hover {
cursor: not-allowed;
color: rgba(72,72,72,0.1);
}
.flatpickr-day.week.selected {
border-radius: 0;
-webkit-box-shadow: -5px 0 0 #ef5350, 5px 0 0 #ef5350;
box-shadow: -5px 0 0 #ef5350, 5px 0 0 #ef5350;
}
.flatpickr-day.hidden {
visibility: hidden;
}
.rangeMode .flatpickr-day {
margin-top: 1px;
}
.flatpickr-weekwrapper {
float: left;
}
.flatpickr-weekwrapper .flatpickr-weeks {
padding: 0 12px;
border-left: 1px solid rgba(72,72,72,0.2);
}
.flatpickr-weekwrapper .flatpickr-weekday {
float: none;
width: 100%;
line-height: 28px;
}
.flatpickr-weekwrapper span.flatpickr-day,
.flatpickr-weekwrapper span.flatpickr-day:hover {
display: block;
width: 100%;
max-width: none;
color: rgba(72,72,72,0.3);
background: transparent;
cursor: default;
border: none;
}
.flatpickr-innerContainer {
display: block;
display: -webkit-box;
display: -webkit-flex;
display: -ms-flexbox;
display: flex;
-webkit-box-sizing: border-box;
box-sizing: border-box;
overflow: hidden;
background: #fff;
border-bottom: 1px solid rgba(72,72,72,0.2);
}
.flatpickr-rContainer {
display: inline-block;
padding: 0;
-webkit-box-sizing: border-box;
box-sizing: border-box;
}
.flatpickr-time {
text-align: center;
outline: 0;
display: block;
height: 0;
line-height: 40px;
max-height: 40px;
-webkit-box-sizing: border-box;
box-sizing: border-box;
overflow: hidden;
display: -webkit-box;
display: -webkit-flex;
display: -ms-flexbox;
display: flex;
background: #fff;
border-radius: 0 0 5px 5px;
}
.flatpickr-time:after {
content: "";
display: table;
clear: both;
}
.flatpickr-time .numInputWrapper {
-webkit-box-flex: 1;
-webkit-flex: 1;
-ms-flex: 1;
flex: 1;
width: 40%;
height: 40px;
float: left;
}
.flatpickr-time .numInputWrapper span.arrowUp:after {
border-bottom-color: #484848;
}
.flatpickr-time .numInputWrapper span.arrowDown:after {
border-top-color: #484848;
}
.flatpickr-time.hasSeconds .numInputWrapper {
width: 26%;
}
.flatpickr-time.time24hr .numInputWrapper {
width: 49%;
}
.flatpickr-time input {
background: transparent;
-webkit-box-shadow: none;
box-shadow: none;
border: 0;
border-radius: 0;
text-align: center;
margin: 0;
padding: 0;
height: inherit;
line-height: inherit;
color: #484848;
font-size: 14px;
position: relative;
-webkit-box-sizing: border-box;
box-sizing: border-box;
-webkit-appearance: textfield;
-moz-appearance: textfield;
appearance: textfield;
}
.flatpickr-time input.flatpickr-hour {
font-weight: bold;
}
.flatpickr-time input.flatpickr-minute,
.flatpickr-time input.flatpickr-second {
font-weight: 400;
}
.flatpickr-time input:focus {
outline: 0;
border: 0;
}
.flatpickr-time .flatpickr-time-separator,
.flatpickr-time .flatpickr-am-pm {
height: inherit;
float: left;
line-height: inherit;
color: #484848;
font-weight: bold;
width: 2%;
-webkit-user-select: none;
-moz-user-select: none;
-ms-user-select: none;
user-select: none;
-webkit-align-self: center;
-ms-flex-item-align: center;
align-self: center;
}
.flatpickr-time .flatpickr-am-pm {
outline: 0;
width: 18%;
cursor: pointer;
text-align: center;
font-weight: 400;
}
.flatpickr-time input:hover,
.flatpickr-time .flatpickr-am-pm:hover,
.flatpickr-time input:focus,
.flatpickr-time .flatpickr-am-pm:focus {
background: #eaeaea;
}
.flatpickr-input[readonly] {
cursor: pointer;
}
@-webkit-keyframes fpFadeInDown {
from {
opacity: 0;
-webkit-transform: translate3d(0, -20px, 0);
transform: translate3d(0, -20px, 0);
}
to {
opacity: 1;
-webkit-transform: translate3d(0, 0, 0);
transform: translate3d(0, 0, 0);
}
}
@keyframes fpFadeInDown {
from {
opacity: 0;
-webkit-transform: translate3d(0, -20px, 0);
transform: translate3d(0, -20px, 0);
}
to {
opacity: 1;
-webkit-transform: translate3d(0, 0, 0);
transform: translate3d(0, 0, 0);
}
}
dist/themes/light.css 0000644 00000045470 15167673014 0010641 0 ustar 00 .flatpickr-calendar {
background: transparent;
opacity: 0;
display: none;
text-align: center;
visibility: hidden;
padding: 0;
-webkit-animation: none;
animation: none;
direction: ltr;
border: 0;
font-size: 14px;
line-height: 24px;
border-radius: 5px;
position: absolute;
width: 307.875px;
-webkit-box-sizing: border-box;
box-sizing: border-box;
-ms-touch-action: manipulation;
touch-action: manipulation;
-webkit-box-shadow: 0 3px 13px rgba(0,0,0,0.08);
box-shadow: 0 3px 13px rgba(0,0,0,0.08);
}
.flatpickr-calendar.open,
.flatpickr-calendar.inline {
opacity: 1;
max-height: 640px;
visibility: visible;
}
.flatpickr-calendar.open {
display: inline-block;
z-index: 99999;
}
.flatpickr-calendar.animate.open {
-webkit-animation: fpFadeInDown 300ms cubic-bezier(0.23, 1, 0.32, 1);
animation: fpFadeInDown 300ms cubic-bezier(0.23, 1, 0.32, 1);
}
.flatpickr-calendar.inline {
display: block;
position: relative;
top: 2px;
}
.flatpickr-calendar.static {
position: absolute;
top: calc(100% + 2px);
}
.flatpickr-calendar.static.open {
z-index: 999;
display: block;
}
.flatpickr-calendar.multiMonth .flatpickr-days .dayContainer:nth-child(n+1) .flatpickr-day.inRange:nth-child(7n+7) {
-webkit-box-shadow: none !important;
box-shadow: none !important;
}
.flatpickr-calendar.multiMonth .flatpickr-days .dayContainer:nth-child(n+2) .flatpickr-day.inRange:nth-child(7n+1) {
-webkit-box-shadow: -2px 0 0 #e6e6e6, 5px 0 0 #e6e6e6;
box-shadow: -2px 0 0 #e6e6e6, 5px 0 0 #e6e6e6;
}
.flatpickr-calendar .hasWeeks .dayContainer,
.flatpickr-calendar .hasTime .dayContainer {
border-bottom: 0;
border-bottom-right-radius: 0;
border-bottom-left-radius: 0;
}
.flatpickr-calendar .hasWeeks .dayContainer {
border-left: 0;
}
.flatpickr-calendar.hasTime .flatpickr-time {
height: 40px;
border-top: 1px solid #eceef1;
}
.flatpickr-calendar.hasTime .flatpickr-innerContainer {
border-bottom: 0;
}
.flatpickr-calendar.hasTime .flatpickr-time {
border: 1px solid #eceef1;
}
.flatpickr-calendar.noCalendar.hasTime .flatpickr-time {
height: auto;
}
.flatpickr-calendar:before,
.flatpickr-calendar:after {
position: absolute;
display: block;
pointer-events: none;
border: solid transparent;
content: '';
height: 0;
width: 0;
left: 22px;
}
.flatpickr-calendar.rightMost:before,
.flatpickr-calendar.arrowRight:before,
.flatpickr-calendar.rightMost:after,
.flatpickr-calendar.arrowRight:after {
left: auto;
right: 22px;
}
.flatpickr-calendar.arrowCenter:before,
.flatpickr-calendar.arrowCenter:after {
left: 50%;
right: 50%;
}
.flatpickr-calendar:before {
border-width: 5px;
margin: 0 -5px;
}
.flatpickr-calendar:after {
border-width: 4px;
margin: 0 -4px;
}
.flatpickr-calendar.arrowTop:before,
.flatpickr-calendar.arrowTop:after {
bottom: 100%;
}
.flatpickr-calendar.arrowTop:before {
border-bottom-color: #eceef1;
}
.flatpickr-calendar.arrowTop:after {
border-bottom-color: #eceef1;
}
.flatpickr-calendar.arrowBottom:before,
.flatpickr-calendar.arrowBottom:after {
top: 100%;
}
.flatpickr-calendar.arrowBottom:before {
border-top-color: #eceef1;
}
.flatpickr-calendar.arrowBottom:after {
border-top-color: #eceef1;
}
.flatpickr-calendar:focus {
outline: 0;
}
.flatpickr-wrapper {
position: relative;
display: inline-block;
}
.flatpickr-months {
display: -webkit-box;
display: -webkit-flex;
display: -ms-flexbox;
display: flex;
}
.flatpickr-months .flatpickr-month {
border-radius: 5px 5px 0 0;
background: #eceef1;
color: #5a6171;
fill: #5a6171;
height: 34px;
line-height: 1;
text-align: center;
position: relative;
-webkit-user-select: none;
-moz-user-select: none;
-ms-user-select: none;
user-select: none;
overflow: hidden;
-webkit-box-flex: 1;
-webkit-flex: 1;
-ms-flex: 1;
flex: 1;
}
.flatpickr-months .flatpickr-prev-month,
.flatpickr-months .flatpickr-next-month {
-webkit-user-select: none;
-moz-user-select: none;
-ms-user-select: none;
user-select: none;
text-decoration: none;
cursor: pointer;
position: absolute;
top: 0;
height: 34px;
padding: 10px;
z-index: 3;
color: #5a6171;
fill: #5a6171;
}
.flatpickr-months .flatpickr-prev-month.flatpickr-disabled,
.flatpickr-months .flatpickr-next-month.flatpickr-disabled {
display: none;
}
.flatpickr-months .flatpickr-prev-month i,
.flatpickr-months .flatpickr-next-month i {
position: relative;
}
.flatpickr-months .flatpickr-prev-month.flatpickr-prev-month,
.flatpickr-months .flatpickr-next-month.flatpickr-prev-month {
/*
/*rtl:begin:ignore*/
/*
*/
left: 0;
/*
/*rtl:end:ignore*/
/*
*/
}
/*
/*rtl:begin:ignore*/
/*
/*rtl:end:ignore*/
.flatpickr-months .flatpickr-prev-month.flatpickr-next-month,
.flatpickr-months .flatpickr-next-month.flatpickr-next-month {
/*
/*rtl:begin:ignore*/
/*
*/
right: 0;
/*
/*rtl:end:ignore*/
/*
*/
}
/*
/*rtl:begin:ignore*/
/*
/*rtl:end:ignore*/
.flatpickr-months .flatpickr-prev-month:hover,
.flatpickr-months .flatpickr-next-month:hover {
color: #bbb;
}
.flatpickr-months .flatpickr-prev-month:hover svg,
.flatpickr-months .flatpickr-next-month:hover svg {
fill: #f64747;
}
.flatpickr-months .flatpickr-prev-month svg,
.flatpickr-months .flatpickr-next-month svg {
width: 14px;
height: 14px;
}
.flatpickr-months .flatpickr-prev-month svg path,
.flatpickr-months .flatpickr-next-month svg path {
-webkit-transition: fill 0.1s;
transition: fill 0.1s;
fill: inherit;
}
.numInputWrapper {
position: relative;
height: auto;
}
.numInputWrapper input,
.numInputWrapper span {
display: inline-block;
}
.numInputWrapper input {
width: 100%;
}
.numInputWrapper input::-ms-clear {
display: none;
}
.numInputWrapper input::-webkit-outer-spin-button,
.numInputWrapper input::-webkit-inner-spin-button {
margin: 0;
-webkit-appearance: none;
}
.numInputWrapper span {
position: absolute;
right: 0;
width: 14px;
padding: 0 4px 0 2px;
height: 50%;
line-height: 50%;
opacity: 0;
cursor: pointer;
border: 1px solid rgba(72,72,72,0.15);
-webkit-box-sizing: border-box;
box-sizing: border-box;
}
.numInputWrapper span:hover {
background: rgba(0,0,0,0.1);
}
.numInputWrapper span:active {
background: rgba(0,0,0,0.2);
}
.numInputWrapper span:after {
display: block;
content: "";
position: absolute;
}
.numInputWrapper span.arrowUp {
top: 0;
border-bottom: 0;
}
.numInputWrapper span.arrowUp:after {
border-left: 4px solid transparent;
border-right: 4px solid transparent;
border-bottom: 4px solid rgba(72,72,72,0.6);
top: 26%;
}
.numInputWrapper span.arrowDown {
top: 50%;
}
.numInputWrapper span.arrowDown:after {
border-left: 4px solid transparent;
border-right: 4px solid transparent;
border-top: 4px solid rgba(72,72,72,0.6);
top: 40%;
}
.numInputWrapper span svg {
width: inherit;
height: auto;
}
.numInputWrapper span svg path {
fill: rgba(90,97,113,0.5);
}
.numInputWrapper:hover {
background: rgba(0,0,0,0.05);
}
.numInputWrapper:hover span {
opacity: 1;
}
.flatpickr-current-month {
font-size: 135%;
line-height: inherit;
font-weight: 300;
color: inherit;
position: absolute;
width: 75%;
left: 12.5%;
padding: 7.48px 0 0 0;
line-height: 1;
height: 34px;
display: inline-block;
text-align: center;
-webkit-transform: translate3d(0px, 0px, 0px);
transform: translate3d(0px, 0px, 0px);
}
.flatpickr-current-month span.cur-month {
font-family: inherit;
font-weight: 700;
color: inherit;
display: inline-block;
margin-left: 0.5ch;
padding: 0;
}
.flatpickr-current-month span.cur-month:hover {
background: rgba(0,0,0,0.05);
}
.flatpickr-current-month .numInputWrapper {
width: 6ch;
width: 7ch\0;
display: inline-block;
}
.flatpickr-current-month .numInputWrapper span.arrowUp:after {
border-bottom-color: #5a6171;
}
.flatpickr-current-month .numInputWrapper span.arrowDown:after {
border-top-color: #5a6171;
}
.flatpickr-current-month input.cur-year {
background: transparent;
-webkit-box-sizing: border-box;
box-sizing: border-box;
color: inherit;
cursor: text;
padding: 0 0 0 0.5ch;
margin: 0;
display: inline-block;
font-size: inherit;
font-family: inherit;
font-weight: 300;
line-height: inherit;
height: auto;
border: 0;
border-radius: 0;
vertical-align: initial;
-webkit-appearance: textfield;
-moz-appearance: textfield;
appearance: textfield;
}
.flatpickr-current-month input.cur-year:focus {
outline: 0;
}
.flatpickr-current-month input.cur-year[disabled],
.flatpickr-current-month input.cur-year[disabled]:hover {
font-size: 100%;
color: rgba(90,97,113,0.5);
background: transparent;
pointer-events: none;
}
.flatpickr-current-month .flatpickr-monthDropdown-months {
appearance: menulist;
background: #eceef1;
border: none;
border-radius: 0;
box-sizing: border-box;
color: inherit;
cursor: pointer;
font-size: inherit;
font-family: inherit;
font-weight: 300;
height: auto;
line-height: inherit;
margin: -1px 0 0 0;
outline: none;
padding: 0 0 0 0.5ch;
position: relative;
vertical-align: initial;
-webkit-box-sizing: border-box;
-webkit-appearance: menulist;
-moz-appearance: menulist;
width: auto;
}
.flatpickr-current-month .flatpickr-monthDropdown-months:focus,
.flatpickr-current-month .flatpickr-monthDropdown-months:active {
outline: none;
}
.flatpickr-current-month .flatpickr-monthDropdown-months:hover {
background: rgba(0,0,0,0.05);
}
.flatpickr-current-month .flatpickr-monthDropdown-months .flatpickr-monthDropdown-month {
background-color: #eceef1;
outline: none;
padding: 0;
}
.flatpickr-weekdays {
background: #eceef1;
text-align: center;
overflow: hidden;
width: 100%;
display: -webkit-box;
display: -webkit-flex;
display: -ms-flexbox;
display: flex;
-webkit-box-align: center;
-webkit-align-items: center;
-ms-flex-align: center;
align-items: center;
height: 28px;
}
.flatpickr-weekdays .flatpickr-weekdaycontainer {
display: -webkit-box;
display: -webkit-flex;
display: -ms-flexbox;
display: flex;
-webkit-box-flex: 1;
-webkit-flex: 1;
-ms-flex: 1;
flex: 1;
}
span.flatpickr-weekday {
cursor: default;
font-size: 90%;
background: #eceef1;
color: #5a6171;
line-height: 1;
margin: 0;
text-align: center;
display: block;
-webkit-box-flex: 1;
-webkit-flex: 1;
-ms-flex: 1;
flex: 1;
font-weight: bolder;
}
.dayContainer,
.flatpickr-weeks {
padding: 1px 0 0 0;
}
.flatpickr-days {
position: relative;
overflow: hidden;
display: -webkit-box;
display: -webkit-flex;
display: -ms-flexbox;
display: flex;
-webkit-box-align: start;
-webkit-align-items: flex-start;
-ms-flex-align: start;
align-items: flex-start;
width: 307.875px;
border-left: 1px solid #eceef1;
border-right: 1px solid #eceef1;
}
.flatpickr-days:focus {
outline: 0;
}
.dayContainer {
padding: 0;
outline: 0;
text-align: left;
width: 307.875px;
min-width: 307.875px;
max-width: 307.875px;
-webkit-box-sizing: border-box;
box-sizing: border-box;
display: inline-block;
display: -ms-flexbox;
display: -webkit-box;
display: -webkit-flex;
display: flex;
-webkit-flex-wrap: wrap;
flex-wrap: wrap;
-ms-flex-wrap: wrap;
-ms-flex-pack: justify;
-webkit-justify-content: space-around;
justify-content: space-around;
-webkit-transform: translate3d(0px, 0px, 0px);
transform: translate3d(0px, 0px, 0px);
opacity: 1;
}
.dayContainer + .dayContainer {
-webkit-box-shadow: -1px 0 0 #eceef1;
box-shadow: -1px 0 0 #eceef1;
}
.flatpickr-day {
background: none;
border: 1px solid transparent;
border-radius: 150px;
-webkit-box-sizing: border-box;
box-sizing: border-box;
color: #484848;
cursor: pointer;
font-weight: 400;
width: 14.2857143%;
-webkit-flex-basis: 14.2857143%;
-ms-flex-preferred-size: 14.2857143%;
flex-basis: 14.2857143%;
max-width: 39px;
height: 39px;
line-height: 39px;
margin: 0;
display: inline-block;
position: relative;
-webkit-box-pack: center;
-webkit-justify-content: center;
-ms-flex-pack: center;
justify-content: center;
text-align: center;
}
.flatpickr-day.inRange,
.flatpickr-day.prevMonthDay.inRange,
.flatpickr-day.nextMonthDay.inRange,
.flatpickr-day.today.inRange,
.flatpickr-day.prevMonthDay.today.inRange,
.flatpickr-day.nextMonthDay.today.inRange,
.flatpickr-day:hover,
.flatpickr-day.prevMonthDay:hover,
.flatpickr-day.nextMonthDay:hover,
.flatpickr-day:focus,
.flatpickr-day.prevMonthDay:focus,
.flatpickr-day.nextMonthDay:focus {
cursor: pointer;
outline: 0;
background: #e2e2e2;
border-color: #e2e2e2;
}
.flatpickr-day.today {
border-color: #bbb;
}
.flatpickr-day.today:hover,
.flatpickr-day.today:focus {
border-color: #bbb;
background: #bbb;
color: #fff;
}
.flatpickr-day.selected,
.flatpickr-day.startRange,
.flatpickr-day.endRange,
.flatpickr-day.selected.inRange,
.flatpickr-day.startRange.inRange,
.flatpickr-day.endRange.inRange,
.flatpickr-day.selected:focus,
.flatpickr-day.startRange:focus,
.flatpickr-day.endRange:focus,
.flatpickr-day.selected:hover,
.flatpickr-day.startRange:hover,
.flatpickr-day.endRange:hover,
.flatpickr-day.selected.prevMonthDay,
.flatpickr-day.startRange.prevMonthDay,
.flatpickr-day.endRange.prevMonthDay,
.flatpickr-day.selected.nextMonthDay,
.flatpickr-day.startRange.nextMonthDay,
.flatpickr-day.endRange.nextMonthDay {
background: #ff5a5f;
-webkit-box-shadow: none;
box-shadow: none;
color: #fff;
border-color: #ff5a5f;
}
.flatpickr-day.selected.startRange,
.flatpickr-day.startRange.startRange,
.flatpickr-day.endRange.startRange {
border-radius: 50px 0 0 50px;
}
.flatpickr-day.selected.endRange,
.flatpickr-day.startRange.endRange,
.flatpickr-day.endRange.endRange {
border-radius: 0 50px 50px 0;
}
.flatpickr-day.selected.startRange + .endRange:not(:nth-child(7n+1)),
.flatpickr-day.startRange.startRange + .endRange:not(:nth-child(7n+1)),
.flatpickr-day.endRange.startRange + .endRange:not(:nth-child(7n+1)) {
-webkit-box-shadow: -10px 0 0 #ff5a5f;
box-shadow: -10px 0 0 #ff5a5f;
}
.flatpickr-day.selected.startRange.endRange,
.flatpickr-day.startRange.startRange.endRange,
.flatpickr-day.endRange.startRange.endRange {
border-radius: 50px;
}
.flatpickr-day.inRange {
border-radius: 0;
-webkit-box-shadow: -5px 0 0 #e2e2e2, 5px 0 0 #e2e2e2;
box-shadow: -5px 0 0 #e2e2e2, 5px 0 0 #e2e2e2;
}
.flatpickr-day.flatpickr-disabled,
.flatpickr-day.flatpickr-disabled:hover,
.flatpickr-day.prevMonthDay,
.flatpickr-day.nextMonthDay,
.flatpickr-day.notAllowed,
.flatpickr-day.notAllowed.prevMonthDay,
.flatpickr-day.notAllowed.nextMonthDay {
color: rgba(72,72,72,0.3);
background: transparent;
border-color: transparent;
cursor: default;
}
.flatpickr-day.flatpickr-disabled,
.flatpickr-day.flatpickr-disabled:hover {
cursor: not-allowed;
color: rgba(72,72,72,0.1);
}
.flatpickr-day.week.selected {
border-radius: 0;
-webkit-box-shadow: -5px 0 0 #ff5a5f, 5px 0 0 #ff5a5f;
box-shadow: -5px 0 0 #ff5a5f, 5px 0 0 #ff5a5f;
}
.flatpickr-day.hidden {
visibility: hidden;
}
.rangeMode .flatpickr-day {
margin-top: 1px;
}
.flatpickr-weekwrapper {
float: left;
}
.flatpickr-weekwrapper .flatpickr-weeks {
padding: 0 12px;
border-left: 1px solid #eceef1;
}
.flatpickr-weekwrapper .flatpickr-weekday {
float: none;
width: 100%;
line-height: 28px;
}
.flatpickr-weekwrapper span.flatpickr-day,
.flatpickr-weekwrapper span.flatpickr-day:hover {
display: block;
width: 100%;
max-width: none;
color: rgba(72,72,72,0.3);
background: transparent;
cursor: default;
border: none;
}
.flatpickr-innerContainer {
display: block;
display: -webkit-box;
display: -webkit-flex;
display: -ms-flexbox;
display: flex;
-webkit-box-sizing: border-box;
box-sizing: border-box;
overflow: hidden;
background: #fff;
border-bottom: 1px solid #eceef1;
}
.flatpickr-rContainer {
display: inline-block;
padding: 0;
-webkit-box-sizing: border-box;
box-sizing: border-box;
}
.flatpickr-time {
text-align: center;
outline: 0;
display: block;
height: 0;
line-height: 40px;
max-height: 40px;
-webkit-box-sizing: border-box;
box-sizing: border-box;
overflow: hidden;
display: -webkit-box;
display: -webkit-flex;
display: -ms-flexbox;
display: flex;
background: #fff;
border-radius: 0 0 5px 5px;
}
.flatpickr-time:after {
content: "";
display: table;
clear: both;
}
.flatpickr-time .numInputWrapper {
-webkit-box-flex: 1;
-webkit-flex: 1;
-ms-flex: 1;
flex: 1;
width: 40%;
height: 40px;
float: left;
}
.flatpickr-time .numInputWrapper span.arrowUp:after {
border-bottom-color: #484848;
}
.flatpickr-time .numInputWrapper span.arrowDown:after {
border-top-color: #484848;
}
.flatpickr-time.hasSeconds .numInputWrapper {
width: 26%;
}
.flatpickr-time.time24hr .numInputWrapper {
width: 49%;
}
.flatpickr-time input {
background: transparent;
-webkit-box-shadow: none;
box-shadow: none;
border: 0;
border-radius: 0;
text-align: center;
margin: 0;
padding: 0;
height: inherit;
line-height: inherit;
color: #484848;
font-size: 14px;
position: relative;
-webkit-box-sizing: border-box;
box-sizing: border-box;
-webkit-appearance: textfield;
-moz-appearance: textfield;
appearance: textfield;
}
.flatpickr-time input.flatpickr-hour {
font-weight: bold;
}
.flatpickr-time input.flatpickr-minute,
.flatpickr-time input.flatpickr-second {
font-weight: 400;
}
.flatpickr-time input:focus {
outline: 0;
border: 0;
}
.flatpickr-time .flatpickr-time-separator,
.flatpickr-time .flatpickr-am-pm {
height: inherit;
float: left;
line-height: inherit;
color: #484848;
font-weight: bold;
width: 2%;
-webkit-user-select: none;
-moz-user-select: none;
-ms-user-select: none;
user-select: none;
-webkit-align-self: center;
-ms-flex-item-align: center;
align-self: center;
}
.flatpickr-time .flatpickr-am-pm {
outline: 0;
width: 18%;
cursor: pointer;
text-align: center;
font-weight: 400;
}
.flatpickr-time input:hover,
.flatpickr-time .flatpickr-am-pm:hover,
.flatpickr-time input:focus,
.flatpickr-time .flatpickr-am-pm:focus {
background: #eaeaea;
}
.flatpickr-input[readonly] {
cursor: pointer;
}
@-webkit-keyframes fpFadeInDown {
from {
opacity: 0;
-webkit-transform: translate3d(0, -20px, 0);
transform: translate3d(0, -20px, 0);
}
to {
opacity: 1;
-webkit-transform: translate3d(0, 0, 0);
transform: translate3d(0, 0, 0);
}
}
@keyframes fpFadeInDown {
from {
opacity: 0;
-webkit-transform: translate3d(0, -20px, 0);
transform: translate3d(0, -20px, 0);
}
to {
opacity: 1;
-webkit-transform: translate3d(0, 0, 0);
transform: translate3d(0, 0, 0);
}
}
span.flatpickr-day.selected {
font-weight: bold;
}
dist/themes/material_blue.css 0000644 00000045554 15167673014 0012342 0 ustar 00 .flatpickr-calendar {
background: transparent;
opacity: 0;
display: none;
text-align: center;
visibility: hidden;
padding: 0;
-webkit-animation: none;
animation: none;
direction: ltr;
border: 0;
font-size: 14px;
line-height: 24px;
border-radius: 5px;
position: absolute;
width: 307.875px;
-webkit-box-sizing: border-box;
box-sizing: border-box;
-ms-touch-action: manipulation;
touch-action: manipulation;
-webkit-box-shadow: 0 3px 13px rgba(0,0,0,0.08);
box-shadow: 0 3px 13px rgba(0,0,0,0.08);
}
.flatpickr-calendar.open,
.flatpickr-calendar.inline {
opacity: 1;
max-height: 640px;
visibility: visible;
}
.flatpickr-calendar.open {
display: inline-block;
z-index: 99999;
}
.flatpickr-calendar.animate.open {
-webkit-animation: fpFadeInDown 300ms cubic-bezier(0.23, 1, 0.32, 1);
animation: fpFadeInDown 300ms cubic-bezier(0.23, 1, 0.32, 1);
}
.flatpickr-calendar.inline {
display: block;
position: relative;
top: 2px;
}
.flatpickr-calendar.static {
position: absolute;
top: calc(100% + 2px);
}
.flatpickr-calendar.static.open {
z-index: 999;
display: block;
}
.flatpickr-calendar.multiMonth .flatpickr-days .dayContainer:nth-child(n+1) .flatpickr-day.inRange:nth-child(7n+7) {
-webkit-box-shadow: none !important;
box-shadow: none !important;
}
.flatpickr-calendar.multiMonth .flatpickr-days .dayContainer:nth-child(n+2) .flatpickr-day.inRange:nth-child(7n+1) {
-webkit-box-shadow: -2px 0 0 #e6e6e6, 5px 0 0 #e6e6e6;
box-shadow: -2px 0 0 #e6e6e6, 5px 0 0 #e6e6e6;
}
.flatpickr-calendar .hasWeeks .dayContainer,
.flatpickr-calendar .hasTime .dayContainer {
border-bottom: 0;
border-bottom-right-radius: 0;
border-bottom-left-radius: 0;
}
.flatpickr-calendar .hasWeeks .dayContainer {
border-left: 0;
}
.flatpickr-calendar.hasTime .flatpickr-time {
height: 40px;
border-top: 1px solid rgba(72,72,72,0.2);
}
.flatpickr-calendar.hasTime .flatpickr-innerContainer {
border-bottom: 0;
}
.flatpickr-calendar.hasTime .flatpickr-time {
border: 1px solid rgba(72,72,72,0.2);
}
.flatpickr-calendar.noCalendar.hasTime .flatpickr-time {
height: auto;
}
.flatpickr-calendar:before,
.flatpickr-calendar:after {
position: absolute;
display: block;
pointer-events: none;
border: solid transparent;
content: '';
height: 0;
width: 0;
left: 22px;
}
.flatpickr-calendar.rightMost:before,
.flatpickr-calendar.arrowRight:before,
.flatpickr-calendar.rightMost:after,
.flatpickr-calendar.arrowRight:after {
left: auto;
right: 22px;
}
.flatpickr-calendar.arrowCenter:before,
.flatpickr-calendar.arrowCenter:after {
left: 50%;
right: 50%;
}
.flatpickr-calendar:before {
border-width: 5px;
margin: 0 -5px;
}
.flatpickr-calendar:after {
border-width: 4px;
margin: 0 -4px;
}
.flatpickr-calendar.arrowTop:before,
.flatpickr-calendar.arrowTop:after {
bottom: 100%;
}
.flatpickr-calendar.arrowTop:before {
border-bottom-color: rgba(72,72,72,0.2);
}
.flatpickr-calendar.arrowTop:after {
border-bottom-color: #42a5f5;
}
.flatpickr-calendar.arrowBottom:before,
.flatpickr-calendar.arrowBottom:after {
top: 100%;
}
.flatpickr-calendar.arrowBottom:before {
border-top-color: rgba(72,72,72,0.2);
}
.flatpickr-calendar.arrowBottom:after {
border-top-color: #42a5f5;
}
.flatpickr-calendar:focus {
outline: 0;
}
.flatpickr-wrapper {
position: relative;
display: inline-block;
}
.flatpickr-months {
display: -webkit-box;
display: -webkit-flex;
display: -ms-flexbox;
display: flex;
}
.flatpickr-months .flatpickr-month {
border-radius: 5px 5px 0 0;
background: #42a5f5;
color: #fff;
fill: #fff;
height: 34px;
line-height: 1;
text-align: center;
position: relative;
-webkit-user-select: none;
-moz-user-select: none;
-ms-user-select: none;
user-select: none;
overflow: hidden;
-webkit-box-flex: 1;
-webkit-flex: 1;
-ms-flex: 1;
flex: 1;
}
.flatpickr-months .flatpickr-prev-month,
.flatpickr-months .flatpickr-next-month {
-webkit-user-select: none;
-moz-user-select: none;
-ms-user-select: none;
user-select: none;
text-decoration: none;
cursor: pointer;
position: absolute;
top: 0;
height: 34px;
padding: 10px;
z-index: 3;
color: #fff;
fill: #fff;
}
.flatpickr-months .flatpickr-prev-month.flatpickr-disabled,
.flatpickr-months .flatpickr-next-month.flatpickr-disabled {
display: none;
}
.flatpickr-months .flatpickr-prev-month i,
.flatpickr-months .flatpickr-next-month i {
position: relative;
}
.flatpickr-months .flatpickr-prev-month.flatpickr-prev-month,
.flatpickr-months .flatpickr-next-month.flatpickr-prev-month {
/*
/*rtl:begin:ignore*/
/*
*/
left: 0;
/*
/*rtl:end:ignore*/
/*
*/
}
/*
/*rtl:begin:ignore*/
/*
/*rtl:end:ignore*/
.flatpickr-months .flatpickr-prev-month.flatpickr-next-month,
.flatpickr-months .flatpickr-next-month.flatpickr-next-month {
/*
/*rtl:begin:ignore*/
/*
*/
right: 0;
/*
/*rtl:end:ignore*/
/*
*/
}
/*
/*rtl:begin:ignore*/
/*
/*rtl:end:ignore*/
.flatpickr-months .flatpickr-prev-month:hover,
.flatpickr-months .flatpickr-next-month:hover {
color: #bbb;
}
.flatpickr-months .flatpickr-prev-month:hover svg,
.flatpickr-months .flatpickr-next-month:hover svg {
fill: #f64747;
}
.flatpickr-months .flatpickr-prev-month svg,
.flatpickr-months .flatpickr-next-month svg {
width: 14px;
height: 14px;
}
.flatpickr-months .flatpickr-prev-month svg path,
.flatpickr-months .flatpickr-next-month svg path {
-webkit-transition: fill 0.1s;
transition: fill 0.1s;
fill: inherit;
}
.numInputWrapper {
position: relative;
height: auto;
}
.numInputWrapper input,
.numInputWrapper span {
display: inline-block;
}
.numInputWrapper input {
width: 100%;
}
.numInputWrapper input::-ms-clear {
display: none;
}
.numInputWrapper input::-webkit-outer-spin-button,
.numInputWrapper input::-webkit-inner-spin-button {
margin: 0;
-webkit-appearance: none;
}
.numInputWrapper span {
position: absolute;
right: 0;
width: 14px;
padding: 0 4px 0 2px;
height: 50%;
line-height: 50%;
opacity: 0;
cursor: pointer;
border: 1px solid rgba(72,72,72,0.15);
-webkit-box-sizing: border-box;
box-sizing: border-box;
}
.numInputWrapper span:hover {
background: rgba(0,0,0,0.1);
}
.numInputWrapper span:active {
background: rgba(0,0,0,0.2);
}
.numInputWrapper span:after {
display: block;
content: "";
position: absolute;
}
.numInputWrapper span.arrowUp {
top: 0;
border-bottom: 0;
}
.numInputWrapper span.arrowUp:after {
border-left: 4px solid transparent;
border-right: 4px solid transparent;
border-bottom: 4px solid rgba(72,72,72,0.6);
top: 26%;
}
.numInputWrapper span.arrowDown {
top: 50%;
}
.numInputWrapper span.arrowDown:after {
border-left: 4px solid transparent;
border-right: 4px solid transparent;
border-top: 4px solid rgba(72,72,72,0.6);
top: 40%;
}
.numInputWrapper span svg {
width: inherit;
height: auto;
}
.numInputWrapper span svg path {
fill: rgba(255,255,255,0.5);
}
.numInputWrapper:hover {
background: rgba(0,0,0,0.05);
}
.numInputWrapper:hover span {
opacity: 1;
}
.flatpickr-current-month {
font-size: 135%;
line-height: inherit;
font-weight: 300;
color: inherit;
position: absolute;
width: 75%;
left: 12.5%;
padding: 7.48px 0 0 0;
line-height: 1;
height: 34px;
display: inline-block;
text-align: center;
-webkit-transform: translate3d(0px, 0px, 0px);
transform: translate3d(0px, 0px, 0px);
}
.flatpickr-current-month span.cur-month {
font-family: inherit;
font-weight: 700;
color: inherit;
display: inline-block;
margin-left: 0.5ch;
padding: 0;
}
.flatpickr-current-month span.cur-month:hover {
background: rgba(0,0,0,0.05);
}
.flatpickr-current-month .numInputWrapper {
width: 6ch;
width: 7ch\0;
display: inline-block;
}
.flatpickr-current-month .numInputWrapper span.arrowUp:after {
border-bottom-color: #fff;
}
.flatpickr-current-month .numInputWrapper span.arrowDown:after {
border-top-color: #fff;
}
.flatpickr-current-month input.cur-year {
background: transparent;
-webkit-box-sizing: border-box;
box-sizing: border-box;
color: inherit;
cursor: text;
padding: 0 0 0 0.5ch;
margin: 0;
display: inline-block;
font-size: inherit;
font-family: inherit;
font-weight: 300;
line-height: inherit;
height: auto;
border: 0;
border-radius: 0;
vertical-align: initial;
-webkit-appearance: textfield;
-moz-appearance: textfield;
appearance: textfield;
}
.flatpickr-current-month input.cur-year:focus {
outline: 0;
}
.flatpickr-current-month input.cur-year[disabled],
.flatpickr-current-month input.cur-year[disabled]:hover {
font-size: 100%;
color: rgba(255,255,255,0.5);
background: transparent;
pointer-events: none;
}
.flatpickr-current-month .flatpickr-monthDropdown-months {
appearance: menulist;
background: #42a5f5;
border: none;
border-radius: 0;
box-sizing: border-box;
color: inherit;
cursor: pointer;
font-size: inherit;
font-family: inherit;
font-weight: 300;
height: auto;
line-height: inherit;
margin: -1px 0 0 0;
outline: none;
padding: 0 0 0 0.5ch;
position: relative;
vertical-align: initial;
-webkit-box-sizing: border-box;
-webkit-appearance: menulist;
-moz-appearance: menulist;
width: auto;
}
.flatpickr-current-month .flatpickr-monthDropdown-months:focus,
.flatpickr-current-month .flatpickr-monthDropdown-months:active {
outline: none;
}
.flatpickr-current-month .flatpickr-monthDropdown-months:hover {
background: rgba(0,0,0,0.05);
}
.flatpickr-current-month .flatpickr-monthDropdown-months .flatpickr-monthDropdown-month {
background-color: #42a5f5;
outline: none;
padding: 0;
}
.flatpickr-weekdays {
background: #42a5f5;
text-align: center;
overflow: hidden;
width: 100%;
display: -webkit-box;
display: -webkit-flex;
display: -ms-flexbox;
display: flex;
-webkit-box-align: center;
-webkit-align-items: center;
-ms-flex-align: center;
align-items: center;
height: 28px;
}
.flatpickr-weekdays .flatpickr-weekdaycontainer {
display: -webkit-box;
display: -webkit-flex;
display: -ms-flexbox;
display: flex;
-webkit-box-flex: 1;
-webkit-flex: 1;
-ms-flex: 1;
flex: 1;
}
span.flatpickr-weekday {
cursor: default;
font-size: 90%;
background: #42a5f5;
color: rgba(0,0,0,0.54);
line-height: 1;
margin: 0;
text-align: center;
display: block;
-webkit-box-flex: 1;
-webkit-flex: 1;
-ms-flex: 1;
flex: 1;
font-weight: bolder;
}
.dayContainer,
.flatpickr-weeks {
padding: 1px 0 0 0;
}
.flatpickr-days {
position: relative;
overflow: hidden;
display: -webkit-box;
display: -webkit-flex;
display: -ms-flexbox;
display: flex;
-webkit-box-align: start;
-webkit-align-items: flex-start;
-ms-flex-align: start;
align-items: flex-start;
width: 307.875px;
border-left: 1px solid rgba(72,72,72,0.2);
border-right: 1px solid rgba(72,72,72,0.2);
}
.flatpickr-days:focus {
outline: 0;
}
.dayContainer {
padding: 0;
outline: 0;
text-align: left;
width: 307.875px;
min-width: 307.875px;
max-width: 307.875px;
-webkit-box-sizing: border-box;
box-sizing: border-box;
display: inline-block;
display: -ms-flexbox;
display: -webkit-box;
display: -webkit-flex;
display: flex;
-webkit-flex-wrap: wrap;
flex-wrap: wrap;
-ms-flex-wrap: wrap;
-ms-flex-pack: justify;
-webkit-justify-content: space-around;
justify-content: space-around;
-webkit-transform: translate3d(0px, 0px, 0px);
transform: translate3d(0px, 0px, 0px);
opacity: 1;
}
.dayContainer + .dayContainer {
-webkit-box-shadow: -1px 0 0 rgba(72,72,72,0.2);
box-shadow: -1px 0 0 rgba(72,72,72,0.2);
}
.flatpickr-day {
background: none;
border: 1px solid transparent;
border-radius: 150px;
-webkit-box-sizing: border-box;
box-sizing: border-box;
color: #484848;
cursor: pointer;
font-weight: 400;
width: 14.2857143%;
-webkit-flex-basis: 14.2857143%;
-ms-flex-preferred-size: 14.2857143%;
flex-basis: 14.2857143%;
max-width: 39px;
height: 39px;
line-height: 39px;
margin: 0;
display: inline-block;
position: relative;
-webkit-box-pack: center;
-webkit-justify-content: center;
-ms-flex-pack: center;
justify-content: center;
text-align: center;
}
.flatpickr-day.inRange,
.flatpickr-day.prevMonthDay.inRange,
.flatpickr-day.nextMonthDay.inRange,
.flatpickr-day.today.inRange,
.flatpickr-day.prevMonthDay.today.inRange,
.flatpickr-day.nextMonthDay.today.inRange,
.flatpickr-day:hover,
.flatpickr-day.prevMonthDay:hover,
.flatpickr-day.nextMonthDay:hover,
.flatpickr-day:focus,
.flatpickr-day.prevMonthDay:focus,
.flatpickr-day.nextMonthDay:focus {
cursor: pointer;
outline: 0;
background: #e2e2e2;
border-color: #e2e2e2;
}
.flatpickr-day.today {
border-color: #bbb;
}
.flatpickr-day.today:hover,
.flatpickr-day.today:focus {
border-color: #bbb;
background: #bbb;
color: #fff;
}
.flatpickr-day.selected,
.flatpickr-day.startRange,
.flatpickr-day.endRange,
.flatpickr-day.selected.inRange,
.flatpickr-day.startRange.inRange,
.flatpickr-day.endRange.inRange,
.flatpickr-day.selected:focus,
.flatpickr-day.startRange:focus,
.flatpickr-day.endRange:focus,
.flatpickr-day.selected:hover,
.flatpickr-day.startRange:hover,
.flatpickr-day.endRange:hover,
.flatpickr-day.selected.prevMonthDay,
.flatpickr-day.startRange.prevMonthDay,
.flatpickr-day.endRange.prevMonthDay,
.flatpickr-day.selected.nextMonthDay,
.flatpickr-day.startRange.nextMonthDay,
.flatpickr-day.endRange.nextMonthDay {
background: #42a5f5;
-webkit-box-shadow: none;
box-shadow: none;
color: #fff;
border-color: #42a5f5;
}
.flatpickr-day.selected.startRange,
.flatpickr-day.startRange.startRange,
.flatpickr-day.endRange.startRange {
border-radius: 50px 0 0 50px;
}
.flatpickr-day.selected.endRange,
.flatpickr-day.startRange.endRange,
.flatpickr-day.endRange.endRange {
border-radius: 0 50px 50px 0;
}
.flatpickr-day.selected.startRange + .endRange:not(:nth-child(7n+1)),
.flatpickr-day.startRange.startRange + .endRange:not(:nth-child(7n+1)),
.flatpickr-day.endRange.startRange + .endRange:not(:nth-child(7n+1)) {
-webkit-box-shadow: -10px 0 0 #42a5f5;
box-shadow: -10px 0 0 #42a5f5;
}
.flatpickr-day.selected.startRange.endRange,
.flatpickr-day.startRange.startRange.endRange,
.flatpickr-day.endRange.startRange.endRange {
border-radius: 50px;
}
.flatpickr-day.inRange {
border-radius: 0;
-webkit-box-shadow: -5px 0 0 #e2e2e2, 5px 0 0 #e2e2e2;
box-shadow: -5px 0 0 #e2e2e2, 5px 0 0 #e2e2e2;
}
.flatpickr-day.flatpickr-disabled,
.flatpickr-day.flatpickr-disabled:hover,
.flatpickr-day.prevMonthDay,
.flatpickr-day.nextMonthDay,
.flatpickr-day.notAllowed,
.flatpickr-day.notAllowed.prevMonthDay,
.flatpickr-day.notAllowed.nextMonthDay {
color: rgba(72,72,72,0.3);
background: transparent;
border-color: transparent;
cursor: default;
}
.flatpickr-day.flatpickr-disabled,
.flatpickr-day.flatpickr-disabled:hover {
cursor: not-allowed;
color: rgba(72,72,72,0.1);
}
.flatpickr-day.week.selected {
border-radius: 0;
-webkit-box-shadow: -5px 0 0 #42a5f5, 5px 0 0 #42a5f5;
box-shadow: -5px 0 0 #42a5f5, 5px 0 0 #42a5f5;
}
.flatpickr-day.hidden {
visibility: hidden;
}
.rangeMode .flatpickr-day {
margin-top: 1px;
}
.flatpickr-weekwrapper {
float: left;
}
.flatpickr-weekwrapper .flatpickr-weeks {
padding: 0 12px;
border-left: 1px solid rgba(72,72,72,0.2);
}
.flatpickr-weekwrapper .flatpickr-weekday {
float: none;
width: 100%;
line-height: 28px;
}
.flatpickr-weekwrapper span.flatpickr-day,
.flatpickr-weekwrapper span.flatpickr-day:hover {
display: block;
width: 100%;
max-width: none;
color: rgba(72,72,72,0.3);
background: transparent;
cursor: default;
border: none;
}
.flatpickr-innerContainer {
display: block;
display: -webkit-box;
display: -webkit-flex;
display: -ms-flexbox;
display: flex;
-webkit-box-sizing: border-box;
box-sizing: border-box;
overflow: hidden;
background: #fff;
border-bottom: 1px solid rgba(72,72,72,0.2);
}
.flatpickr-rContainer {
display: inline-block;
padding: 0;
-webkit-box-sizing: border-box;
box-sizing: border-box;
}
.flatpickr-time {
text-align: center;
outline: 0;
display: block;
height: 0;
line-height: 40px;
max-height: 40px;
-webkit-box-sizing: border-box;
box-sizing: border-box;
overflow: hidden;
display: -webkit-box;
display: -webkit-flex;
display: -ms-flexbox;
display: flex;
background: #fff;
border-radius: 0 0 5px 5px;
}
.flatpickr-time:after {
content: "";
display: table;
clear: both;
}
.flatpickr-time .numInputWrapper {
-webkit-box-flex: 1;
-webkit-flex: 1;
-ms-flex: 1;
flex: 1;
width: 40%;
height: 40px;
float: left;
}
.flatpickr-time .numInputWrapper span.arrowUp:after {
border-bottom-color: #484848;
}
.flatpickr-time .numInputWrapper span.arrowDown:after {
border-top-color: #484848;
}
.flatpickr-time.hasSeconds .numInputWrapper {
width: 26%;
}
.flatpickr-time.time24hr .numInputWrapper {
width: 49%;
}
.flatpickr-time input {
background: transparent;
-webkit-box-shadow: none;
box-shadow: none;
border: 0;
border-radius: 0;
text-align: center;
margin: 0;
padding: 0;
height: inherit;
line-height: inherit;
color: #484848;
font-size: 14px;
position: relative;
-webkit-box-sizing: border-box;
box-sizing: border-box;
-webkit-appearance: textfield;
-moz-appearance: textfield;
appearance: textfield;
}
.flatpickr-time input.flatpickr-hour {
font-weight: bold;
}
.flatpickr-time input.flatpickr-minute,
.flatpickr-time input.flatpickr-second {
font-weight: 400;
}
.flatpickr-time input:focus {
outline: 0;
border: 0;
}
.flatpickr-time .flatpickr-time-separator,
.flatpickr-time .flatpickr-am-pm {
height: inherit;
float: left;
line-height: inherit;
color: #484848;
font-weight: bold;
width: 2%;
-webkit-user-select: none;
-moz-user-select: none;
-ms-user-select: none;
user-select: none;
-webkit-align-self: center;
-ms-flex-item-align: center;
align-self: center;
}
.flatpickr-time .flatpickr-am-pm {
outline: 0;
width: 18%;
cursor: pointer;
text-align: center;
font-weight: 400;
}
.flatpickr-time input:hover,
.flatpickr-time .flatpickr-am-pm:hover,
.flatpickr-time input:focus,
.flatpickr-time .flatpickr-am-pm:focus {
background: #eaeaea;
}
.flatpickr-input[readonly] {
cursor: pointer;
}
@-webkit-keyframes fpFadeInDown {
from {
opacity: 0;
-webkit-transform: translate3d(0, -20px, 0);
transform: translate3d(0, -20px, 0);
}
to {
opacity: 1;
-webkit-transform: translate3d(0, 0, 0);
transform: translate3d(0, 0, 0);
}
}
@keyframes fpFadeInDown {
from {
opacity: 0;
-webkit-transform: translate3d(0, -20px, 0);
transform: translate3d(0, -20px, 0);
}
to {
opacity: 1;
-webkit-transform: translate3d(0, 0, 0);
transform: translate3d(0, 0, 0);
}
}
dist/themes/material_orange.css 0000644 00000045554 15167673014 0012666 0 ustar 00 .flatpickr-calendar {
background: transparent;
opacity: 0;
display: none;
text-align: center;
visibility: hidden;
padding: 0;
-webkit-animation: none;
animation: none;
direction: ltr;
border: 0;
font-size: 14px;
line-height: 24px;
border-radius: 5px;
position: absolute;
width: 307.875px;
-webkit-box-sizing: border-box;
box-sizing: border-box;
-ms-touch-action: manipulation;
touch-action: manipulation;
-webkit-box-shadow: 0 3px 13px rgba(0,0,0,0.08);
box-shadow: 0 3px 13px rgba(0,0,0,0.08);
}
.flatpickr-calendar.open,
.flatpickr-calendar.inline {
opacity: 1;
max-height: 640px;
visibility: visible;
}
.flatpickr-calendar.open {
display: inline-block;
z-index: 99999;
}
.flatpickr-calendar.animate.open {
-webkit-animation: fpFadeInDown 300ms cubic-bezier(0.23, 1, 0.32, 1);
animation: fpFadeInDown 300ms cubic-bezier(0.23, 1, 0.32, 1);
}
.flatpickr-calendar.inline {
display: block;
position: relative;
top: 2px;
}
.flatpickr-calendar.static {
position: absolute;
top: calc(100% + 2px);
}
.flatpickr-calendar.static.open {
z-index: 999;
display: block;
}
.flatpickr-calendar.multiMonth .flatpickr-days .dayContainer:nth-child(n+1) .flatpickr-day.inRange:nth-child(7n+7) {
-webkit-box-shadow: none !important;
box-shadow: none !important;
}
.flatpickr-calendar.multiMonth .flatpickr-days .dayContainer:nth-child(n+2) .flatpickr-day.inRange:nth-child(7n+1) {
-webkit-box-shadow: -2px 0 0 #e6e6e6, 5px 0 0 #e6e6e6;
box-shadow: -2px 0 0 #e6e6e6, 5px 0 0 #e6e6e6;
}
.flatpickr-calendar .hasWeeks .dayContainer,
.flatpickr-calendar .hasTime .dayContainer {
border-bottom: 0;
border-bottom-right-radius: 0;
border-bottom-left-radius: 0;
}
.flatpickr-calendar .hasWeeks .dayContainer {
border-left: 0;
}
.flatpickr-calendar.hasTime .flatpickr-time {
height: 40px;
border-top: 1px solid rgba(72,72,72,0.2);
}
.flatpickr-calendar.hasTime .flatpickr-innerContainer {
border-bottom: 0;
}
.flatpickr-calendar.hasTime .flatpickr-time {
border: 1px solid rgba(72,72,72,0.2);
}
.flatpickr-calendar.noCalendar.hasTime .flatpickr-time {
height: auto;
}
.flatpickr-calendar:before,
.flatpickr-calendar:after {
position: absolute;
display: block;
pointer-events: none;
border: solid transparent;
content: '';
height: 0;
width: 0;
left: 22px;
}
.flatpickr-calendar.rightMost:before,
.flatpickr-calendar.arrowRight:before,
.flatpickr-calendar.rightMost:after,
.flatpickr-calendar.arrowRight:after {
left: auto;
right: 22px;
}
.flatpickr-calendar.arrowCenter:before,
.flatpickr-calendar.arrowCenter:after {
left: 50%;
right: 50%;
}
.flatpickr-calendar:before {
border-width: 5px;
margin: 0 -5px;
}
.flatpickr-calendar:after {
border-width: 4px;
margin: 0 -4px;
}
.flatpickr-calendar.arrowTop:before,
.flatpickr-calendar.arrowTop:after {
bottom: 100%;
}
.flatpickr-calendar.arrowTop:before {
border-bottom-color: rgba(72,72,72,0.2);
}
.flatpickr-calendar.arrowTop:after {
border-bottom-color: #ff8a65;
}
.flatpickr-calendar.arrowBottom:before,
.flatpickr-calendar.arrowBottom:after {
top: 100%;
}
.flatpickr-calendar.arrowBottom:before {
border-top-color: rgba(72,72,72,0.2);
}
.flatpickr-calendar.arrowBottom:after {
border-top-color: #ff8a65;
}
.flatpickr-calendar:focus {
outline: 0;
}
.flatpickr-wrapper {
position: relative;
display: inline-block;
}
.flatpickr-months {
display: -webkit-box;
display: -webkit-flex;
display: -ms-flexbox;
display: flex;
}
.flatpickr-months .flatpickr-month {
border-radius: 5px 5px 0 0;
background: #ff8a65;
color: #fff;
fill: #fff;
height: 34px;
line-height: 1;
text-align: center;
position: relative;
-webkit-user-select: none;
-moz-user-select: none;
-ms-user-select: none;
user-select: none;
overflow: hidden;
-webkit-box-flex: 1;
-webkit-flex: 1;
-ms-flex: 1;
flex: 1;
}
.flatpickr-months .flatpickr-prev-month,
.flatpickr-months .flatpickr-next-month {
-webkit-user-select: none;
-moz-user-select: none;
-ms-user-select: none;
user-select: none;
text-decoration: none;
cursor: pointer;
position: absolute;
top: 0;
height: 34px;
padding: 10px;
z-index: 3;
color: #fff;
fill: #fff;
}
.flatpickr-months .flatpickr-prev-month.flatpickr-disabled,
.flatpickr-months .flatpickr-next-month.flatpickr-disabled {
display: none;
}
.flatpickr-months .flatpickr-prev-month i,
.flatpickr-months .flatpickr-next-month i {
position: relative;
}
.flatpickr-months .flatpickr-prev-month.flatpickr-prev-month,
.flatpickr-months .flatpickr-next-month.flatpickr-prev-month {
/*
/*rtl:begin:ignore*/
/*
*/
left: 0;
/*
/*rtl:end:ignore*/
/*
*/
}
/*
/*rtl:begin:ignore*/
/*
/*rtl:end:ignore*/
.flatpickr-months .flatpickr-prev-month.flatpickr-next-month,
.flatpickr-months .flatpickr-next-month.flatpickr-next-month {
/*
/*rtl:begin:ignore*/
/*
*/
right: 0;
/*
/*rtl:end:ignore*/
/*
*/
}
/*
/*rtl:begin:ignore*/
/*
/*rtl:end:ignore*/
.flatpickr-months .flatpickr-prev-month:hover,
.flatpickr-months .flatpickr-next-month:hover {
color: #bbb;
}
.flatpickr-months .flatpickr-prev-month:hover svg,
.flatpickr-months .flatpickr-next-month:hover svg {
fill: #f64747;
}
.flatpickr-months .flatpickr-prev-month svg,
.flatpickr-months .flatpickr-next-month svg {
width: 14px;
height: 14px;
}
.flatpickr-months .flatpickr-prev-month svg path,
.flatpickr-months .flatpickr-next-month svg path {
-webkit-transition: fill 0.1s;
transition: fill 0.1s;
fill: inherit;
}
.numInputWrapper {
position: relative;
height: auto;
}
.numInputWrapper input,
.numInputWrapper span {
display: inline-block;
}
.numInputWrapper input {
width: 100%;
}
.numInputWrapper input::-ms-clear {
display: none;
}
.numInputWrapper input::-webkit-outer-spin-button,
.numInputWrapper input::-webkit-inner-spin-button {
margin: 0;
-webkit-appearance: none;
}
.numInputWrapper span {
position: absolute;
right: 0;
width: 14px;
padding: 0 4px 0 2px;
height: 50%;
line-height: 50%;
opacity: 0;
cursor: pointer;
border: 1px solid rgba(72,72,72,0.15);
-webkit-box-sizing: border-box;
box-sizing: border-box;
}
.numInputWrapper span:hover {
background: rgba(0,0,0,0.1);
}
.numInputWrapper span:active {
background: rgba(0,0,0,0.2);
}
.numInputWrapper span:after {
display: block;
content: "";
position: absolute;
}
.numInputWrapper span.arrowUp {
top: 0;
border-bottom: 0;
}
.numInputWrapper span.arrowUp:after {
border-left: 4px solid transparent;
border-right: 4px solid transparent;
border-bottom: 4px solid rgba(72,72,72,0.6);
top: 26%;
}
.numInputWrapper span.arrowDown {
top: 50%;
}
.numInputWrapper span.arrowDown:after {
border-left: 4px solid transparent;
border-right: 4px solid transparent;
border-top: 4px solid rgba(72,72,72,0.6);
top: 40%;
}
.numInputWrapper span svg {
width: inherit;
height: auto;
}
.numInputWrapper span svg path {
fill: rgba(255,255,255,0.5);
}
.numInputWrapper:hover {
background: rgba(0,0,0,0.05);
}
.numInputWrapper:hover span {
opacity: 1;
}
.flatpickr-current-month {
font-size: 135%;
line-height: inherit;
font-weight: 300;
color: inherit;
position: absolute;
width: 75%;
left: 12.5%;
padding: 7.48px 0 0 0;
line-height: 1;
height: 34px;
display: inline-block;
text-align: center;
-webkit-transform: translate3d(0px, 0px, 0px);
transform: translate3d(0px, 0px, 0px);
}
.flatpickr-current-month span.cur-month {
font-family: inherit;
font-weight: 700;
color: inherit;
display: inline-block;
margin-left: 0.5ch;
padding: 0;
}
.flatpickr-current-month span.cur-month:hover {
background: rgba(0,0,0,0.05);
}
.flatpickr-current-month .numInputWrapper {
width: 6ch;
width: 7ch\0;
display: inline-block;
}
.flatpickr-current-month .numInputWrapper span.arrowUp:after {
border-bottom-color: #fff;
}
.flatpickr-current-month .numInputWrapper span.arrowDown:after {
border-top-color: #fff;
}
.flatpickr-current-month input.cur-year {
background: transparent;
-webkit-box-sizing: border-box;
box-sizing: border-box;
color: inherit;
cursor: text;
padding: 0 0 0 0.5ch;
margin: 0;
display: inline-block;
font-size: inherit;
font-family: inherit;
font-weight: 300;
line-height: inherit;
height: auto;
border: 0;
border-radius: 0;
vertical-align: initial;
-webkit-appearance: textfield;
-moz-appearance: textfield;
appearance: textfield;
}
.flatpickr-current-month input.cur-year:focus {
outline: 0;
}
.flatpickr-current-month input.cur-year[disabled],
.flatpickr-current-month input.cur-year[disabled]:hover {
font-size: 100%;
color: rgba(255,255,255,0.5);
background: transparent;
pointer-events: none;
}
.flatpickr-current-month .flatpickr-monthDropdown-months {
appearance: menulist;
background: #ff8a65;
border: none;
border-radius: 0;
box-sizing: border-box;
color: inherit;
cursor: pointer;
font-size: inherit;
font-family: inherit;
font-weight: 300;
height: auto;
line-height: inherit;
margin: -1px 0 0 0;
outline: none;
padding: 0 0 0 0.5ch;
position: relative;
vertical-align: initial;
-webkit-box-sizing: border-box;
-webkit-appearance: menulist;
-moz-appearance: menulist;
width: auto;
}
.flatpickr-current-month .flatpickr-monthDropdown-months:focus,
.flatpickr-current-month .flatpickr-monthDropdown-months:active {
outline: none;
}
.flatpickr-current-month .flatpickr-monthDropdown-months:hover {
background: rgba(0,0,0,0.05);
}
.flatpickr-current-month .flatpickr-monthDropdown-months .flatpickr-monthDropdown-month {
background-color: #ff8a65;
outline: none;
padding: 0;
}
.flatpickr-weekdays {
background: #ff8a65;
text-align: center;
overflow: hidden;
width: 100%;
display: -webkit-box;
display: -webkit-flex;
display: -ms-flexbox;
display: flex;
-webkit-box-align: center;
-webkit-align-items: center;
-ms-flex-align: center;
align-items: center;
height: 28px;
}
.flatpickr-weekdays .flatpickr-weekdaycontainer {
display: -webkit-box;
display: -webkit-flex;
display: -ms-flexbox;
display: flex;
-webkit-box-flex: 1;
-webkit-flex: 1;
-ms-flex: 1;
flex: 1;
}
span.flatpickr-weekday {
cursor: default;
font-size: 90%;
background: #ff8a65;
color: rgba(0,0,0,0.54);
line-height: 1;
margin: 0;
text-align: center;
display: block;
-webkit-box-flex: 1;
-webkit-flex: 1;
-ms-flex: 1;
flex: 1;
font-weight: bolder;
}
.dayContainer,
.flatpickr-weeks {
padding: 1px 0 0 0;
}
.flatpickr-days {
position: relative;
overflow: hidden;
display: -webkit-box;
display: -webkit-flex;
display: -ms-flexbox;
display: flex;
-webkit-box-align: start;
-webkit-align-items: flex-start;
-ms-flex-align: start;
align-items: flex-start;
width: 307.875px;
border-left: 1px solid rgba(72,72,72,0.2);
border-right: 1px solid rgba(72,72,72,0.2);
}
.flatpickr-days:focus {
outline: 0;
}
.dayContainer {
padding: 0;
outline: 0;
text-align: left;
width: 307.875px;
min-width: 307.875px;
max-width: 307.875px;
-webkit-box-sizing: border-box;
box-sizing: border-box;
display: inline-block;
display: -ms-flexbox;
display: -webkit-box;
display: -webkit-flex;
display: flex;
-webkit-flex-wrap: wrap;
flex-wrap: wrap;
-ms-flex-wrap: wrap;
-ms-flex-pack: justify;
-webkit-justify-content: space-around;
justify-content: space-around;
-webkit-transform: translate3d(0px, 0px, 0px);
transform: translate3d(0px, 0px, 0px);
opacity: 1;
}
.dayContainer + .dayContainer {
-webkit-box-shadow: -1px 0 0 rgba(72,72,72,0.2);
box-shadow: -1px 0 0 rgba(72,72,72,0.2);
}
.flatpickr-day {
background: none;
border: 1px solid transparent;
border-radius: 150px;
-webkit-box-sizing: border-box;
box-sizing: border-box;
color: #484848;
cursor: pointer;
font-weight: 400;
width: 14.2857143%;
-webkit-flex-basis: 14.2857143%;
-ms-flex-preferred-size: 14.2857143%;
flex-basis: 14.2857143%;
max-width: 39px;
height: 39px;
line-height: 39px;
margin: 0;
display: inline-block;
position: relative;
-webkit-box-pack: center;
-webkit-justify-content: center;
-ms-flex-pack: center;
justify-content: center;
text-align: center;
}
.flatpickr-day.inRange,
.flatpickr-day.prevMonthDay.inRange,
.flatpickr-day.nextMonthDay.inRange,
.flatpickr-day.today.inRange,
.flatpickr-day.prevMonthDay.today.inRange,
.flatpickr-day.nextMonthDay.today.inRange,
.flatpickr-day:hover,
.flatpickr-day.prevMonthDay:hover,
.flatpickr-day.nextMonthDay:hover,
.flatpickr-day:focus,
.flatpickr-day.prevMonthDay:focus,
.flatpickr-day.nextMonthDay:focus {
cursor: pointer;
outline: 0;
background: #e2e2e2;
border-color: #e2e2e2;
}
.flatpickr-day.today {
border-color: #bbb;
}
.flatpickr-day.today:hover,
.flatpickr-day.today:focus {
border-color: #bbb;
background: #bbb;
color: #fff;
}
.flatpickr-day.selected,
.flatpickr-day.startRange,
.flatpickr-day.endRange,
.flatpickr-day.selected.inRange,
.flatpickr-day.startRange.inRange,
.flatpickr-day.endRange.inRange,
.flatpickr-day.selected:focus,
.flatpickr-day.startRange:focus,
.flatpickr-day.endRange:focus,
.flatpickr-day.selected:hover,
.flatpickr-day.startRange:hover,
.flatpickr-day.endRange:hover,
.flatpickr-day.selected.prevMonthDay,
.flatpickr-day.startRange.prevMonthDay,
.flatpickr-day.endRange.prevMonthDay,
.flatpickr-day.selected.nextMonthDay,
.flatpickr-day.startRange.nextMonthDay,
.flatpickr-day.endRange.nextMonthDay {
background: #ff8a65;
-webkit-box-shadow: none;
box-shadow: none;
color: #fff;
border-color: #ff8a65;
}
.flatpickr-day.selected.startRange,
.flatpickr-day.startRange.startRange,
.flatpickr-day.endRange.startRange {
border-radius: 50px 0 0 50px;
}
.flatpickr-day.selected.endRange,
.flatpickr-day.startRange.endRange,
.flatpickr-day.endRange.endRange {
border-radius: 0 50px 50px 0;
}
.flatpickr-day.selected.startRange + .endRange:not(:nth-child(7n+1)),
.flatpickr-day.startRange.startRange + .endRange:not(:nth-child(7n+1)),
.flatpickr-day.endRange.startRange + .endRange:not(:nth-child(7n+1)) {
-webkit-box-shadow: -10px 0 0 #ff8a65;
box-shadow: -10px 0 0 #ff8a65;
}
.flatpickr-day.selected.startRange.endRange,
.flatpickr-day.startRange.startRange.endRange,
.flatpickr-day.endRange.startRange.endRange {
border-radius: 50px;
}
.flatpickr-day.inRange {
border-radius: 0;
-webkit-box-shadow: -5px 0 0 #e2e2e2, 5px 0 0 #e2e2e2;
box-shadow: -5px 0 0 #e2e2e2, 5px 0 0 #e2e2e2;
}
.flatpickr-day.flatpickr-disabled,
.flatpickr-day.flatpickr-disabled:hover,
.flatpickr-day.prevMonthDay,
.flatpickr-day.nextMonthDay,
.flatpickr-day.notAllowed,
.flatpickr-day.notAllowed.prevMonthDay,
.flatpickr-day.notAllowed.nextMonthDay {
color: rgba(72,72,72,0.3);
background: transparent;
border-color: transparent;
cursor: default;
}
.flatpickr-day.flatpickr-disabled,
.flatpickr-day.flatpickr-disabled:hover {
cursor: not-allowed;
color: rgba(72,72,72,0.1);
}
.flatpickr-day.week.selected {
border-radius: 0;
-webkit-box-shadow: -5px 0 0 #ff8a65, 5px 0 0 #ff8a65;
box-shadow: -5px 0 0 #ff8a65, 5px 0 0 #ff8a65;
}
.flatpickr-day.hidden {
visibility: hidden;
}
.rangeMode .flatpickr-day {
margin-top: 1px;
}
.flatpickr-weekwrapper {
float: left;
}
.flatpickr-weekwrapper .flatpickr-weeks {
padding: 0 12px;
border-left: 1px solid rgba(72,72,72,0.2);
}
.flatpickr-weekwrapper .flatpickr-weekday {
float: none;
width: 100%;
line-height: 28px;
}
.flatpickr-weekwrapper span.flatpickr-day,
.flatpickr-weekwrapper span.flatpickr-day:hover {
display: block;
width: 100%;
max-width: none;
color: rgba(72,72,72,0.3);
background: transparent;
cursor: default;
border: none;
}
.flatpickr-innerContainer {
display: block;
display: -webkit-box;
display: -webkit-flex;
display: -ms-flexbox;
display: flex;
-webkit-box-sizing: border-box;
box-sizing: border-box;
overflow: hidden;
background: #fff;
border-bottom: 1px solid rgba(72,72,72,0.2);
}
.flatpickr-rContainer {
display: inline-block;
padding: 0;
-webkit-box-sizing: border-box;
box-sizing: border-box;
}
.flatpickr-time {
text-align: center;
outline: 0;
display: block;
height: 0;
line-height: 40px;
max-height: 40px;
-webkit-box-sizing: border-box;
box-sizing: border-box;
overflow: hidden;
display: -webkit-box;
display: -webkit-flex;
display: -ms-flexbox;
display: flex;
background: #fff;
border-radius: 0 0 5px 5px;
}
.flatpickr-time:after {
content: "";
display: table;
clear: both;
}
.flatpickr-time .numInputWrapper {
-webkit-box-flex: 1;
-webkit-flex: 1;
-ms-flex: 1;
flex: 1;
width: 40%;
height: 40px;
float: left;
}
.flatpickr-time .numInputWrapper span.arrowUp:after {
border-bottom-color: #484848;
}
.flatpickr-time .numInputWrapper span.arrowDown:after {
border-top-color: #484848;
}
.flatpickr-time.hasSeconds .numInputWrapper {
width: 26%;
}
.flatpickr-time.time24hr .numInputWrapper {
width: 49%;
}
.flatpickr-time input {
background: transparent;
-webkit-box-shadow: none;
box-shadow: none;
border: 0;
border-radius: 0;
text-align: center;
margin: 0;
padding: 0;
height: inherit;
line-height: inherit;
color: #484848;
font-size: 14px;
position: relative;
-webkit-box-sizing: border-box;
box-sizing: border-box;
-webkit-appearance: textfield;
-moz-appearance: textfield;
appearance: textfield;
}
.flatpickr-time input.flatpickr-hour {
font-weight: bold;
}
.flatpickr-time input.flatpickr-minute,
.flatpickr-time input.flatpickr-second {
font-weight: 400;
}
.flatpickr-time input:focus {
outline: 0;
border: 0;
}
.flatpickr-time .flatpickr-time-separator,
.flatpickr-time .flatpickr-am-pm {
height: inherit;
float: left;
line-height: inherit;
color: #484848;
font-weight: bold;
width: 2%;
-webkit-user-select: none;
-moz-user-select: none;
-ms-user-select: none;
user-select: none;
-webkit-align-self: center;
-ms-flex-item-align: center;
align-self: center;
}
.flatpickr-time .flatpickr-am-pm {
outline: 0;
width: 18%;
cursor: pointer;
text-align: center;
font-weight: 400;
}
.flatpickr-time input:hover,
.flatpickr-time .flatpickr-am-pm:hover,
.flatpickr-time input:focus,
.flatpickr-time .flatpickr-am-pm:focus {
background: #eaeaea;
}
.flatpickr-input[readonly] {
cursor: pointer;
}
@-webkit-keyframes fpFadeInDown {
from {
opacity: 0;
-webkit-transform: translate3d(0, -20px, 0);
transform: translate3d(0, -20px, 0);
}
to {
opacity: 1;
-webkit-transform: translate3d(0, 0, 0);
transform: translate3d(0, 0, 0);
}
}
@keyframes fpFadeInDown {
from {
opacity: 0;
-webkit-transform: translate3d(0, -20px, 0);
transform: translate3d(0, -20px, 0);
}
to {
opacity: 1;
-webkit-transform: translate3d(0, 0, 0);
transform: translate3d(0, 0, 0);
}
}
dist/utils/formatting.d.ts 0000644 00000001502 15167673014 0011623 0 ustar 00 import { Locale } from "../types/locale";
import { ParsedOptions } from "../types/options";
export declare type token = "D" | "F" | "G" | "H" | "J" | "K" | "M" | "S" | "U" | "W" | "Y" | "Z" | "d" | "h" | "i" | "j" | "l" | "m" | "n" | "s" | "u" | "w" | "y";
export declare const monthToStr: (monthNumber: number, shorthand: boolean, locale: Locale) => string;
export declare type RevFormatFn = (date: Date, data: string, locale: Locale) => Date | void | undefined;
export declare type RevFormat = Record<string, RevFormatFn>;
export declare const revFormat: RevFormat;
export declare type TokenRegex = {
[k in token]: string;
};
export declare const tokenRegex: TokenRegex;
export declare type Formats = Record<token, (date: Date, locale: Locale, options: ParsedOptions) => string | number>;
export declare const formats: Formats;
dist/utils/dom.d.ts 0000644 00000001111 15167673014 0010224 0 ustar 00 export declare function toggleClass(elem: HTMLElement, className: string, bool: boolean): void;
export declare function createElement<T extends HTMLElement>(tag: keyof HTMLElementTagNameMap, className: string, content?: string): T;
export declare function clearNode(node: HTMLElement): void;
export declare function findParent(node: Element, condition: (n: Element) => boolean): Element | undefined;
export declare function createNumberInput(inputClassName: string, opts?: Record<string, any>): HTMLDivElement;
export declare function getEventTarget(event: Event): EventTarget | null;
dist/utils/index.d.ts 0000644 00000000576 15167673014 0010572 0 ustar 00 export declare const pad: (number: string | number, length?: number) => string;
export declare const int: (bool: boolean) => 1 | 0;
export declare function debounce<F extends Function>(fn: F, wait: number): (this: any) => void;
export declare const arrayify: <T>(obj: T | T[]) => T[];
export declare type IncrementEvent = MouseEvent & {
delta: number;
type: "increment";
};
dist/utils/dates.d.ts 0000644 00000002376 15167673014 0010563 0 ustar 00 import { Locale } from "../types/locale";
import { ParsedOptions } from "../types/options";
export interface FormatterArgs {
config?: ParsedOptions;
l10n?: Locale;
isMobile?: boolean;
}
export declare const createDateFormatter: ({ config, l10n, isMobile, }: FormatterArgs) => (dateObj: Date, frmt: string, overrideLocale?: Locale | undefined) => string;
export declare const createDateParser: ({ config, l10n }: {
config?: ParsedOptions | undefined;
l10n?: Locale | undefined;
}) => (date: Date | string | number, givenFormat?: string | undefined, timeless?: boolean | undefined, customLocale?: Locale | undefined) => Date | undefined;
export declare function compareDates(date1: Date, date2: Date, timeless?: boolean): number;
export declare function compareTimes(date1: Date, date2: Date): number;
export declare const isBetween: (ts: number, ts1: number, ts2: number) => boolean;
export declare const calculateSecondsSinceMidnight: (hours: number, minutes: number, seconds: number) => number;
export declare const parseSeconds: (secondsSinceMidnight: number) => number[];
export declare const duration: {
DAY: number;
};
export declare function getDefaultHours(config: ParsedOptions): {
hours: number;
minutes: number;
seconds: number;
};
dist/types/globals.d.ts 0000644 00000001042 15167673014 0011077 0 ustar 00 import { Options } from "./options";
import { Instance, FlatpickrFn } from "./instance";
declare global {
interface HTMLElement {
flatpickr: (config?: Options) => Instance;
_flatpickr?: Instance;
}
interface NodeList {
flatpickr: (config?: Options) => Instance | Instance[];
}
interface HTMLCollection {
flatpickr: (config?: Options) => Instance | Instance[];
}
interface Window {
flatpickr: FlatpickrFn;
}
interface Date {
fp_incr: (n: number) => Date;
}
}
dist/types/options.d.ts 0000644 00000011471 15167673014 0011156 0 ustar 00 import { Instance } from "./instance";
import { CustomLocale, key as LocaleKey, Locale } from "./locale";
export declare type DateOption = Date | string | number;
export declare type DateRangeLimit<D = DateOption> = {
from: D;
to: D;
};
export declare type DateLimit<D = DateOption> = D | DateRangeLimit<D> | ((date: Date) => boolean);
export declare type Hook = (dates: Date[], currentDateString: string, self: Instance, data?: any) => void;
export declare type HookKey = "onChange" | "onClose" | "onDayCreate" | "onDestroy" | "onKeyDown" | "onMonthChange" | "onOpen" | "onParseConfig" | "onReady" | "onValueUpdate" | "onYearChange" | "onPreCalendarPosition";
export declare const HOOKS: HookKey[];
export declare type Plugin<E = {}> = (fp: Instance & E) => Options;
export interface BaseOptions {
allowInput: boolean;
allowInvalidPreload: boolean;
altFormat: string;
altInput: boolean;
altInputClass: string;
animate: boolean;
appendTo: HTMLElement;
ariaDateFormat: string;
autoFillDefaultTime: boolean;
clickOpens: boolean;
closeOnSelect: boolean;
conjunction: string;
dateFormat: string;
defaultDate: DateOption | DateOption[];
defaultHour: number;
defaultMinute: number;
defaultSeconds: number;
disable: DateLimit<DateOption>[];
disableMobile: boolean;
enable: DateLimit<DateOption>[];
enableSeconds: boolean;
enableTime: boolean;
errorHandler: (e: Error) => void;
formatDate: (date: Date, format: string, locale: Locale) => string;
getWeek: (date: Date) => string | number;
hourIncrement: number;
ignoredFocusElements: HTMLElement[];
inline: boolean;
locale: LocaleKey | Partial<CustomLocale>;
maxDate: DateOption;
maxTime: DateOption;
minDate: DateOption;
minTime: DateOption;
minuteIncrement: number;
mode: "single" | "multiple" | "range" | "time";
monthSelectorType: "dropdown" | "static";
nextArrow: string;
noCalendar: boolean;
now?: DateOption;
onChange: Hook | Hook[];
onClose: Hook | Hook[];
onDayCreate: Hook | Hook[];
onDestroy: Hook | Hook[];
onKeyDown: Hook | Hook[];
onMonthChange: Hook | Hook[];
onOpen: Hook | Hook[];
onParseConfig: Hook | Hook[];
onReady: Hook | Hook[];
onValueUpdate: Hook | Hook[];
onYearChange: Hook | Hook[];
onPreCalendarPosition: Hook | Hook[];
parseDate: (date: string, format: string) => Date;
plugins: Plugin[];
position: "auto" | "above" | "below" | "auto left" | "auto center" | "auto right" | "above left" | "above center" | "above right" | "below left" | "below center" | "below right" | ((self: Instance, customElement: HTMLElement | undefined) => void);
positionElement: Element;
prevArrow: string;
shorthandCurrentMonth: boolean;
static: boolean;
showMonths?: number;
time_24hr: boolean;
weekNumbers: boolean;
wrap: boolean;
}
export declare type Options = Partial<BaseOptions>;
export interface ParsedOptions {
_disable: DateLimit<Date>[];
_enable?: DateLimit<Date>[];
_maxDate?: Date;
_maxTime?: Date;
_minDate?: Date;
_minTime?: Date;
allowInput: boolean;
allowInvalidPreload: boolean;
altFormat: string;
altInput: boolean;
altInputClass: string;
animate: boolean;
appendTo?: HTMLElement;
ariaDateFormat: string;
autoFillDefaultTime: boolean;
clickOpens: boolean;
closeOnSelect: boolean;
conjunction: string;
dateFormat: string;
defaultDate?: Date | Date[];
defaultHour: number;
defaultMinute: number;
defaultSeconds: number;
disable: DateLimit<Date>[];
disableMobile: boolean;
enable?: DateLimit<Date>[];
enableSeconds: boolean;
enableTime: boolean;
errorHandler: (err: Error) => void;
formatDate?: Options["formatDate"];
getWeek: (date: Date) => string | number;
hourIncrement: number;
ignoredFocusElements: HTMLElement[];
inline: boolean;
locale: LocaleKey | CustomLocale;
maxDate?: Date;
maxTime?: Date;
minDate?: Date;
minTime?: Date;
minuteIncrement: number;
mode: BaseOptions["mode"];
monthSelectorType: string;
nextArrow: string;
noCalendar: boolean;
now: Date;
onChange: Hook[];
onClose: Hook[];
onDayCreate: Hook[];
onDestroy: Hook[];
onKeyDown: Hook[];
onMonthChange: Hook[];
onOpen: Hook[];
onParseConfig: Hook[];
onReady: Hook[];
onValueUpdate: Hook[];
onYearChange: Hook[];
onPreCalendarPosition: Hook[];
parseDate?: BaseOptions["parseDate"];
plugins: Plugin[];
position: BaseOptions["position"];
positionElement?: HTMLElement;
prevArrow: string;
shorthandCurrentMonth: boolean;
showMonths: number;
static: boolean;
time_24hr: boolean;
weekNumbers: boolean;
wrap: boolean;
}
export declare const defaults: ParsedOptions;
dist/types/locale.d.ts 0000644 00000006007 15167673014 0010721 0 ustar 00 export declare type Locale = {
weekdays: {
shorthand: [string, string, string, string, string, string, string];
longhand: [string, string, string, string, string, string, string];
};
months: {
shorthand: [
string,
string,
string,
string,
string,
string,
string,
string,
string,
string,
string,
string
];
longhand: [
string,
string,
string,
string,
string,
string,
string,
string,
string,
string,
string,
string
];
};
daysInMonth: [
number,
number,
number,
number,
number,
number,
number,
number,
number,
number,
number,
number
];
firstDayOfWeek: number;
ordinal: (nth: number) => string;
rangeSeparator: string;
weekAbbreviation: string;
scrollTitle: string;
toggleTitle: string;
amPM: [string, string];
yearAriaLabel: string;
monthAriaLabel: string;
hourAriaLabel: string;
minuteAriaLabel: string;
time_24hr: boolean;
};
export declare type CustomLocale = {
ordinal?: Locale["ordinal"];
daysInMonth?: Locale["daysInMonth"];
firstDayOfWeek?: Locale["firstDayOfWeek"];
rangeSeparator?: Locale["rangeSeparator"];
weekAbbreviation?: Locale["weekAbbreviation"];
toggleTitle?: Locale["toggleTitle"];
scrollTitle?: Locale["scrollTitle"];
yearAriaLabel?: string;
monthAriaLabel?: string;
hourAriaLabel?: string;
minuteAriaLabel?: string;
amPM?: Locale["amPM"];
time_24hr?: Locale["time_24hr"];
weekdays: {
shorthand: [string, string, string, string, string, string, string];
longhand: [string, string, string, string, string, string, string];
};
months: {
shorthand: [
string,
string,
string,
string,
string,
string,
string,
string,
string,
string,
string,
string
];
longhand: [
string,
string,
string,
string,
string,
string,
string,
string,
string,
string,
string,
string
];
};
};
export declare type key = "ar" | "at" | "az" | "be" | "bg" | "bn" | "bs" | "ca" | "cat" | "ckb" | "cs" | "cy" | "da" | "de" | "default" | "en" | "eo" | "es" | "et" | "fa" | "fi" | "fo" | "fr" | "gr" | "he" | "hi" | "hr" | "hu" | "hy" | "id" | "is" | "it" | "ja" | "ka" | "ko" | "km" | "kz" | "lt" | "lv" | "mk" | "mn" | "ms" | "my" | "nl" | "nn" | "no" | "pa" | "pl" | "pt" | "ro" | "ru" | "si" | "sk" | "sl" | "sq" | "sr" | "sv" | "th" | "tr" | "uk" | "vn" | "zh" | "uz" | "uz_latn" | "zh_tw";
dist/types/instance.d.ts 0000644 00000010667 15167673014 0011275 0 ustar 00 import { DateOption, Options, ParsedOptions } from "./options";
import { Locale, CustomLocale, key as LocaleKey } from "./locale";
import { RevFormat, Formats, TokenRegex } from "../utils/formatting";
export interface Elements {
element: HTMLElement;
input: HTMLInputElement;
altInput?: HTMLInputElement;
_input: HTMLInputElement;
mobileInput?: HTMLInputElement;
mobileFormatStr?: string;
selectedDateElem?: DayElement;
todayDateElem?: DayElement;
_positionElement: HTMLElement;
weekdayContainer: HTMLDivElement;
calendarContainer: HTMLDivElement;
innerContainer?: HTMLDivElement;
rContainer?: HTMLDivElement;
daysContainer?: HTMLDivElement;
days: HTMLDivElement;
weekWrapper?: HTMLDivElement;
weekNumbers?: HTMLDivElement;
monthNav: HTMLDivElement;
monthsDropdownContainer: HTMLSelectElement;
yearElements: HTMLInputElement[];
monthElements: HTMLSpanElement[];
currentYearElement: HTMLInputElement;
currentMonthElement: HTMLSpanElement;
_hidePrevMonthArrow: boolean;
_hideNextMonthArrow: boolean;
prevMonthNav: HTMLElement;
nextMonthNav: HTMLElement;
timeContainer?: HTMLDivElement;
hourElement?: HTMLInputElement;
minuteElement?: HTMLInputElement;
secondElement?: HTMLInputElement;
amPM?: HTMLSpanElement;
pluginElements: Node[];
}
export interface Formatting {
revFormat: RevFormat;
formats: Formats;
tokenRegex: TokenRegex;
}
export declare type Instance = Elements & Formatting & {
minRangeDate?: Date;
maxRangeDate?: Date;
now: Date;
latestSelectedDateObj?: Date;
_selectedDateObj?: Date;
selectedDates: Date[];
_initialDate: Date;
config: ParsedOptions;
loadedPlugins: string[];
l10n: Locale;
currentYear: number;
currentMonth: number;
isOpen: boolean;
isMobile: boolean;
minDateHasTime: boolean;
maxDateHasTime: boolean;
changeMonth: (value: number, isOffset?: boolean, fromKeyboard?: boolean) => void;
changeYear: (year: number) => void;
clear: (emitChangeEvent?: boolean, toInitial?: boolean) => void;
close: () => void;
destroy: () => void;
isEnabled: (date: DateOption, timeless?: boolean) => boolean;
jumpToDate: (date?: DateOption, triggerChange?: boolean) => void;
updateValue: (triggerChange?: boolean) => void;
onMouseOver: (elem?: DayElement, cellClass?: string) => void;
open: (e?: FocusEvent | MouseEvent, positionElement?: HTMLElement) => void;
redraw: () => void;
set: (option: keyof Options | {
[k in keyof Options]?: Options[k];
}, value?: any) => void;
setDate: (date: DateOption | DateOption[], triggerChange?: boolean, format?: string) => void;
toggle: () => void;
pad: (num: string | number) => string;
parseDate: (date: Date | string | number, givenFormat?: string, timeless?: boolean) => Date | undefined;
formatDate: (dateObj: Date, frmt: string) => string;
_handlers: {
remove: () => void;
}[];
_bind: <E extends Element | Window | Document>(element: E | E[], event: string | string[], handler: (e?: any) => void, options?: {
capture?: boolean;
once?: boolean;
passive?: boolean;
}) => void;
_createElement: <E extends HTMLElement>(tag: keyof HTMLElementTagNameMap, className: string, content?: string) => E;
createDay: (className: string, date: Date, dayNumber: number, i: number) => DayElement;
_setHoursFromDate: (date: Date) => void;
_debouncedChange: () => void;
__hideNextMonthArrow: boolean;
__hidePrevMonthArrow: boolean;
_positionCalendar: (customPositionElement?: HTMLElement) => void;
utils: {
getDaysInMonth: (month?: number, year?: number) => number;
};
};
export interface FlatpickrFn {
(selector: Node, config?: Options): Instance;
(selector: ArrayLike<Node>, config?: Options): Instance[];
(selector: string, config?: Options): Instance | Instance[];
defaultConfig: Partial<ParsedOptions>;
l10ns: {
[k in LocaleKey]?: CustomLocale;
} & {
default: Locale;
};
localize: (l10n: CustomLocale) => void;
setDefaults: (config: Options) => void;
parseDate: (date: DateOption, format?: string, timeless?: boolean) => Date | undefined;
formatDate: (date: Date, format: string) => string;
compareDates: (date1: Date, date2: Date, timeless?: boolean) => number;
}
export declare type DayElement = HTMLSpanElement & {
dateObj: Date;
$i: number;
};
dist/l10n/ar-dz.d.ts 0000644 00000004700 15167673014 0010103 0 ustar 00 import { CustomLocale } from "../types/locale";
export declare const AlgerianArabic: CustomLocale;
declare const _default: {
ar?: CustomLocale | undefined;
at?: CustomLocale | undefined;
az?: CustomLocale | undefined;
be?: CustomLocale | undefined;
bg?: CustomLocale | undefined;
bn?: CustomLocale | undefined;
bs?: CustomLocale | undefined;
ca?: CustomLocale | undefined;
cat?: CustomLocale | undefined;
ckb?: CustomLocale | undefined;
cs?: CustomLocale | undefined;
cy?: CustomLocale | undefined;
da?: CustomLocale | undefined;
de?: CustomLocale | undefined;
default?: CustomLocale | undefined;
en?: CustomLocale | undefined;
eo?: CustomLocale | undefined;
es?: CustomLocale | undefined;
et?: CustomLocale | undefined;
fa?: CustomLocale | undefined;
fi?: CustomLocale | undefined;
fo?: CustomLocale | undefined;
fr?: CustomLocale | undefined;
gr?: CustomLocale | undefined;
he?: CustomLocale | undefined;
hi?: CustomLocale | undefined;
hr?: CustomLocale | undefined;
hu?: CustomLocale | undefined;
hy?: CustomLocale | undefined;
id?: CustomLocale | undefined;
is?: CustomLocale | undefined;
it?: CustomLocale | undefined;
ja?: CustomLocale | undefined;
ka?: CustomLocale | undefined;
ko?: CustomLocale | undefined;
km?: CustomLocale | undefined;
kz?: CustomLocale | undefined;
lt?: CustomLocale | undefined;
lv?: CustomLocale | undefined;
mk?: CustomLocale | undefined;
mn?: CustomLocale | undefined;
ms?: CustomLocale | undefined;
my?: CustomLocale | undefined;
nl?: CustomLocale | undefined;
nn?: CustomLocale | undefined;
no?: CustomLocale | undefined;
pa?: CustomLocale | undefined;
pl?: CustomLocale | undefined;
pt?: CustomLocale | undefined;
ro?: CustomLocale | undefined;
ru?: CustomLocale | undefined;
si?: CustomLocale | undefined;
sk?: CustomLocale | undefined;
sl?: CustomLocale | undefined;
sq?: CustomLocale | undefined;
sr?: CustomLocale | undefined;
sv?: CustomLocale | undefined;
th?: CustomLocale | undefined;
tr?: CustomLocale | undefined;
uk?: CustomLocale | undefined;
vn?: CustomLocale | undefined;
zh?: CustomLocale | undefined;
uz?: CustomLocale | undefined;
uz_latn?: CustomLocale | undefined;
zh_tw?: CustomLocale | undefined;
} & {
default: import("../types/locale").Locale;
};
export default _default;
dist/l10n/ms.js 0000644 00000003030 15167673014 0007244 0 ustar 00 (function (global, factory) {
typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports) :
typeof define === 'function' && define.amd ? define(['exports'], factory) :
(global = typeof globalThis !== 'undefined' ? globalThis : global || self, factory(global.ms = {}));
}(this, (function (exports) { 'use strict';
var fp = typeof window !== "undefined" && window.flatpickr !== undefined
? window.flatpickr
: {
l10ns: {},
};
var Malaysian = {
weekdays: {
shorthand: ["Aha", "Isn", "Sel", "Rab", "Kha", "Jum", "Sab"],
longhand: ["Ahad", "Isnin", "Selasa", "Rabu", "Khamis", "Jumaat", "Sabtu"],
},
months: {
shorthand: [
"Jan",
"Feb",
"Mac",
"Apr",
"Mei",
"Jun",
"Jul",
"Ogo",
"Sep",
"Okt",
"Nov",
"Dis",
],
longhand: [
"Januari",
"Februari",
"Mac",
"April",
"Mei",
"Jun",
"Julai",
"Ogos",
"September",
"Oktober",
"November",
"Disember",
],
},
firstDayOfWeek: 1,
ordinal: function () {
return "";
},
};
var ms = fp.l10ns;
exports.Malaysian = Malaysian;
exports.default = ms;
Object.defineProperty(exports, '__esModule', { value: true });
})));
dist/l10n/sr.js 0000644 00000003300 15167673014 0007251 0 ustar 00 (function (global, factory) {
typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports) :
typeof define === 'function' && define.amd ? define(['exports'], factory) :
(global = typeof globalThis !== 'undefined' ? globalThis : global || self, factory(global.sr = {}));
}(this, (function (exports) { 'use strict';
var fp = typeof window !== "undefined" && window.flatpickr !== undefined
? window.flatpickr
: {
l10ns: {},
};
var Serbian = {
weekdays: {
shorthand: ["Ned", "Pon", "Uto", "Sre", "Čet", "Pet", "Sub"],
longhand: [
"Nedelja",
"Ponedeljak",
"Utorak",
"Sreda",
"Četvrtak",
"Petak",
"Subota",
],
},
months: {
shorthand: [
"Jan",
"Feb",
"Mar",
"Apr",
"Maj",
"Jun",
"Jul",
"Avg",
"Sep",
"Okt",
"Nov",
"Dec",
],
longhand: [
"Januar",
"Februar",
"Mart",
"April",
"Maj",
"Jun",
"Jul",
"Avgust",
"Septembar",
"Oktobar",
"Novembar",
"Decembar",
],
},
firstDayOfWeek: 1,
weekAbbreviation: "Ned.",
rangeSeparator: " do ",
time_24hr: true,
};
fp.l10ns.sr = Serbian;
var sr = fp.l10ns;
exports.Serbian = Serbian;
exports.default = sr;
Object.defineProperty(exports, '__esModule', { value: true });
})));
dist/l10n/de.d.ts 0000644 00000004670 15167673014 0007464 0 ustar 00 import { CustomLocale } from "../types/locale";
export declare const German: CustomLocale;
declare const _default: {
ar?: CustomLocale | undefined;
at?: CustomLocale | undefined;
az?: CustomLocale | undefined;
be?: CustomLocale | undefined;
bg?: CustomLocale | undefined;
bn?: CustomLocale | undefined;
bs?: CustomLocale | undefined;
ca?: CustomLocale | undefined;
cat?: CustomLocale | undefined;
ckb?: CustomLocale | undefined;
cs?: CustomLocale | undefined;
cy?: CustomLocale | undefined;
da?: CustomLocale | undefined;
de?: CustomLocale | undefined;
default?: CustomLocale | undefined;
en?: CustomLocale | undefined;
eo?: CustomLocale | undefined;
es?: CustomLocale | undefined;
et?: CustomLocale | undefined;
fa?: CustomLocale | undefined;
fi?: CustomLocale | undefined;
fo?: CustomLocale | undefined;
fr?: CustomLocale | undefined;
gr?: CustomLocale | undefined;
he?: CustomLocale | undefined;
hi?: CustomLocale | undefined;
hr?: CustomLocale | undefined;
hu?: CustomLocale | undefined;
hy?: CustomLocale | undefined;
id?: CustomLocale | undefined;
is?: CustomLocale | undefined;
it?: CustomLocale | undefined;
ja?: CustomLocale | undefined;
ka?: CustomLocale | undefined;
ko?: CustomLocale | undefined;
km?: CustomLocale | undefined;
kz?: CustomLocale | undefined;
lt?: CustomLocale | undefined;
lv?: CustomLocale | undefined;
mk?: CustomLocale | undefined;
mn?: CustomLocale | undefined;
ms?: CustomLocale | undefined;
my?: CustomLocale | undefined;
nl?: CustomLocale | undefined;
nn?: CustomLocale | undefined;
no?: CustomLocale | undefined;
pa?: CustomLocale | undefined;
pl?: CustomLocale | undefined;
pt?: CustomLocale | undefined;
ro?: CustomLocale | undefined;
ru?: CustomLocale | undefined;
si?: CustomLocale | undefined;
sk?: CustomLocale | undefined;
sl?: CustomLocale | undefined;
sq?: CustomLocale | undefined;
sr?: CustomLocale | undefined;
sv?: CustomLocale | undefined;
th?: CustomLocale | undefined;
tr?: CustomLocale | undefined;
uk?: CustomLocale | undefined;
vn?: CustomLocale | undefined;
zh?: CustomLocale | undefined;
uz?: CustomLocale | undefined;
uz_latn?: CustomLocale | undefined;
zh_tw?: CustomLocale | undefined;
} & {
default: import("../types/locale").Locale;
};
export default _default;
dist/l10n/lv.js 0000644 00000003311 15167673014 0007250 0 ustar 00 (function (global, factory) {
typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports) :
typeof define === 'function' && define.amd ? define(['exports'], factory) :
(global = typeof globalThis !== 'undefined' ? globalThis : global || self, factory(global.lv = {}));
}(this, (function (exports) { 'use strict';
var fp = typeof window !== "undefined" && window.flatpickr !== undefined
? window.flatpickr
: {
l10ns: {},
};
var Latvian = {
firstDayOfWeek: 1,
weekdays: {
shorthand: ["Sv", "Pr", "Ot", "Tr", "Ce", "Pk", "Se"],
longhand: [
"Svētdiena",
"Pirmdiena",
"Otrdiena",
"Trešdiena",
"Ceturtdiena",
"Piektdiena",
"Sestdiena",
],
},
months: {
shorthand: [
"Jan",
"Feb",
"Mar",
"Apr",
"Mai",
"Jūn",
"Jūl",
"Aug",
"Sep",
"Okt",
"Nov",
"Dec",
],
longhand: [
"Janvāris",
"Februāris",
"Marts",
"Aprīlis",
"Maijs",
"Jūnijs",
"Jūlijs",
"Augusts",
"Septembris",
"Oktobris",
"Novembris",
"Decembris",
],
},
rangeSeparator: " līdz ",
time_24hr: true,
};
fp.l10ns.lv = Latvian;
var lv = fp.l10ns;
exports.Latvian = Latvian;
exports.default = lv;
Object.defineProperty(exports, '__esModule', { value: true });
})));
dist/l10n/ar-dz.js 0000644 00000003617 15167673014 0007655 0 ustar 00 (function (global, factory) {
typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports) :
typeof define === 'function' && define.amd ? define(['exports'], factory) :
(global = typeof globalThis !== 'undefined' ? globalThis : global || self, factory(global['ar-dz'] = {}));
}(this, (function (exports) { 'use strict';
var fp = typeof window !== "undefined" && window.flatpickr !== undefined
? window.flatpickr
: {
l10ns: {},
};
var AlgerianArabic = {
weekdays: {
shorthand: ["أحد", "اثنين", "ثلاثاء", "أربعاء", "خميس", "جمعة", "سبت"],
longhand: [
"الأحد",
"الاثنين",
"الثلاثاء",
"الأربعاء",
"الخميس",
"الجمعة",
"السبت",
],
},
months: {
shorthand: ["1", "2", "3", "4", "5", "6", "7", "8", "9", "10", "11", "12"],
longhand: [
"جانفي",
"فيفري",
"مارس",
"أفريل",
"ماي",
"جوان",
"جويليه",
"أوت",
"سبتمبر",
"أكتوبر",
"نوفمبر",
"ديسمبر",
],
},
firstDayOfWeek: 0,
rangeSeparator: " إلى ",
weekAbbreviation: "Wk",
scrollTitle: "قم بالتمرير للزيادة",
toggleTitle: "اضغط للتبديل",
yearAriaLabel: "سنة",
monthAriaLabel: "شهر",
hourAriaLabel: "ساعة",
minuteAriaLabel: "دقيقة",
time_24hr: true,
};
fp.l10ns.ar = AlgerianArabic;
var arDz = fp.l10ns;
exports.AlgerianArabic = AlgerianArabic;
exports.default = arDz;
Object.defineProperty(exports, '__esModule', { value: true });
})));
dist/l10n/sv.d.ts 0000644 00000004671 15167673014 0007525 0 ustar 00 import { CustomLocale } from "../types/locale";
export declare const Swedish: CustomLocale;
declare const _default: {
ar?: CustomLocale | undefined;
at?: CustomLocale | undefined;
az?: CustomLocale | undefined;
be?: CustomLocale | undefined;
bg?: CustomLocale | undefined;
bn?: CustomLocale | undefined;
bs?: CustomLocale | undefined;
ca?: CustomLocale | undefined;
cat?: CustomLocale | undefined;
ckb?: CustomLocale | undefined;
cs?: CustomLocale | undefined;
cy?: CustomLocale | undefined;
da?: CustomLocale | undefined;
de?: CustomLocale | undefined;
default?: CustomLocale | undefined;
en?: CustomLocale | undefined;
eo?: CustomLocale | undefined;
es?: CustomLocale | undefined;
et?: CustomLocale | undefined;
fa?: CustomLocale | undefined;
fi?: CustomLocale | undefined;
fo?: CustomLocale | undefined;
fr?: CustomLocale | undefined;
gr?: CustomLocale | undefined;
he?: CustomLocale | undefined;
hi?: CustomLocale | undefined;
hr?: CustomLocale | undefined;
hu?: CustomLocale | undefined;
hy?: CustomLocale | undefined;
id?: CustomLocale | undefined;
is?: CustomLocale | undefined;
it?: CustomLocale | undefined;
ja?: CustomLocale | undefined;
ka?: CustomLocale | undefined;
ko?: CustomLocale | undefined;
km?: CustomLocale | undefined;
kz?: CustomLocale | undefined;
lt?: CustomLocale | undefined;
lv?: CustomLocale | undefined;
mk?: CustomLocale | undefined;
mn?: CustomLocale | undefined;
ms?: CustomLocale | undefined;
my?: CustomLocale | undefined;
nl?: CustomLocale | undefined;
nn?: CustomLocale | undefined;
no?: CustomLocale | undefined;
pa?: CustomLocale | undefined;
pl?: CustomLocale | undefined;
pt?: CustomLocale | undefined;
ro?: CustomLocale | undefined;
ru?: CustomLocale | undefined;
si?: CustomLocale | undefined;
sk?: CustomLocale | undefined;
sl?: CustomLocale | undefined;
sq?: CustomLocale | undefined;
sr?: CustomLocale | undefined;
sv?: CustomLocale | undefined;
th?: CustomLocale | undefined;
tr?: CustomLocale | undefined;
uk?: CustomLocale | undefined;
vn?: CustomLocale | undefined;
zh?: CustomLocale | undefined;
uz?: CustomLocale | undefined;
uz_latn?: CustomLocale | undefined;
zh_tw?: CustomLocale | undefined;
} & {
default: import("../types/locale").Locale;
};
export default _default;
dist/l10n/ru.d.ts 0000644 00000004671 15167673014 0007523 0 ustar 00 import { CustomLocale } from "../types/locale";
export declare const Russian: CustomLocale;
declare const _default: {
ar?: CustomLocale | undefined;
at?: CustomLocale | undefined;
az?: CustomLocale | undefined;
be?: CustomLocale | undefined;
bg?: CustomLocale | undefined;
bn?: CustomLocale | undefined;
bs?: CustomLocale | undefined;
ca?: CustomLocale | undefined;
cat?: CustomLocale | undefined;
ckb?: CustomLocale | undefined;
cs?: CustomLocale | undefined;
cy?: CustomLocale | undefined;
da?: CustomLocale | undefined;
de?: CustomLocale | undefined;
default?: CustomLocale | undefined;
en?: CustomLocale | undefined;
eo?: CustomLocale | undefined;
es?: CustomLocale | undefined;
et?: CustomLocale | undefined;
fa?: CustomLocale | undefined;
fi?: CustomLocale | undefined;
fo?: CustomLocale | undefined;
fr?: CustomLocale | undefined;
gr?: CustomLocale | undefined;
he?: CustomLocale | undefined;
hi?: CustomLocale | undefined;
hr?: CustomLocale | undefined;
hu?: CustomLocale | undefined;
hy?: CustomLocale | undefined;
id?: CustomLocale | undefined;
is?: CustomLocale | undefined;
it?: CustomLocale | undefined;
ja?: CustomLocale | undefined;
ka?: CustomLocale | undefined;
ko?: CustomLocale | undefined;
km?: CustomLocale | undefined;
kz?: CustomLocale | undefined;
lt?: CustomLocale | undefined;
lv?: CustomLocale | undefined;
mk?: CustomLocale | undefined;
mn?: CustomLocale | undefined;
ms?: CustomLocale | undefined;
my?: CustomLocale | undefined;
nl?: CustomLocale | undefined;
nn?: CustomLocale | undefined;
no?: CustomLocale | undefined;
pa?: CustomLocale | undefined;
pl?: CustomLocale | undefined;
pt?: CustomLocale | undefined;
ro?: CustomLocale | undefined;
ru?: CustomLocale | undefined;
si?: CustomLocale | undefined;
sk?: CustomLocale | undefined;
sl?: CustomLocale | undefined;
sq?: CustomLocale | undefined;
sr?: CustomLocale | undefined;
sv?: CustomLocale | undefined;
th?: CustomLocale | undefined;
tr?: CustomLocale | undefined;
uk?: CustomLocale | undefined;
vn?: CustomLocale | undefined;
zh?: CustomLocale | undefined;
uz?: CustomLocale | undefined;
uz_latn?: CustomLocale | undefined;
zh_tw?: CustomLocale | undefined;
} & {
default: import("../types/locale").Locale;
};
export default _default;
dist/l10n/ar.js 0000644 00000003610 15167673014 0007233 0 ustar 00 (function (global, factory) {
typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports) :
typeof define === 'function' && define.amd ? define(['exports'], factory) :
(global = typeof globalThis !== 'undefined' ? globalThis : global || self, factory(global.ar = {}));
}(this, (function (exports) { 'use strict';
var fp = typeof window !== "undefined" && window.flatpickr !== undefined
? window.flatpickr
: {
l10ns: {},
};
var Arabic = {
weekdays: {
shorthand: ["أحد", "اثنين", "ثلاثاء", "أربعاء", "خميس", "جمعة", "سبت"],
longhand: [
"الأحد",
"الاثنين",
"الثلاثاء",
"الأربعاء",
"الخميس",
"الجمعة",
"السبت",
],
},
months: {
shorthand: ["1", "2", "3", "4", "5", "6", "7", "8", "9", "10", "11", "12"],
longhand: [
"يناير",
"فبراير",
"مارس",
"أبريل",
"مايو",
"يونيو",
"يوليو",
"أغسطس",
"سبتمبر",
"أكتوبر",
"نوفمبر",
"ديسمبر",
],
},
firstDayOfWeek: 6,
rangeSeparator: " إلى ",
weekAbbreviation: "Wk",
scrollTitle: "قم بالتمرير للزيادة",
toggleTitle: "اضغط للتبديل",
amPM: ["ص", "م"],
yearAriaLabel: "سنة",
monthAriaLabel: "شهر",
hourAriaLabel: "ساعة",
minuteAriaLabel: "دقيقة",
time_24hr: false,
};
fp.l10ns.ar = Arabic;
var ar = fp.l10ns;
exports.Arabic = Arabic;
exports.default = ar;
Object.defineProperty(exports, '__esModule', { value: true });
})));
dist/l10n/tr.d.ts 0000644 00000004671 15167673014 0007522 0 ustar 00 import { CustomLocale } from "../types/locale";
export declare const Turkish: CustomLocale;
declare const _default: {
ar?: CustomLocale | undefined;
at?: CustomLocale | undefined;
az?: CustomLocale | undefined;
be?: CustomLocale | undefined;
bg?: CustomLocale | undefined;
bn?: CustomLocale | undefined;
bs?: CustomLocale | undefined;
ca?: CustomLocale | undefined;
cat?: CustomLocale | undefined;
ckb?: CustomLocale | undefined;
cs?: CustomLocale | undefined;
cy?: CustomLocale | undefined;
da?: CustomLocale | undefined;
de?: CustomLocale | undefined;
default?: CustomLocale | undefined;
en?: CustomLocale | undefined;
eo?: CustomLocale | undefined;
es?: CustomLocale | undefined;
et?: CustomLocale | undefined;
fa?: CustomLocale | undefined;
fi?: CustomLocale | undefined;
fo?: CustomLocale | undefined;
fr?: CustomLocale | undefined;
gr?: CustomLocale | undefined;
he?: CustomLocale | undefined;
hi?: CustomLocale | undefined;
hr?: CustomLocale | undefined;
hu?: CustomLocale | undefined;
hy?: CustomLocale | undefined;
id?: CustomLocale | undefined;
is?: CustomLocale | undefined;
it?: CustomLocale | undefined;
ja?: CustomLocale | undefined;
ka?: CustomLocale | undefined;
ko?: CustomLocale | undefined;
km?: CustomLocale | undefined;
kz?: CustomLocale | undefined;
lt?: CustomLocale | undefined;
lv?: CustomLocale | undefined;
mk?: CustomLocale | undefined;
mn?: CustomLocale | undefined;
ms?: CustomLocale | undefined;
my?: CustomLocale | undefined;
nl?: CustomLocale | undefined;
nn?: CustomLocale | undefined;
no?: CustomLocale | undefined;
pa?: CustomLocale | undefined;
pl?: CustomLocale | undefined;
pt?: CustomLocale | undefined;
ro?: CustomLocale | undefined;
ru?: CustomLocale | undefined;
si?: CustomLocale | undefined;
sk?: CustomLocale | undefined;
sl?: CustomLocale | undefined;
sq?: CustomLocale | undefined;
sr?: CustomLocale | undefined;
sv?: CustomLocale | undefined;
th?: CustomLocale | undefined;
tr?: CustomLocale | undefined;
uk?: CustomLocale | undefined;
vn?: CustomLocale | undefined;
zh?: CustomLocale | undefined;
uz?: CustomLocale | undefined;
uz_latn?: CustomLocale | undefined;
zh_tw?: CustomLocale | undefined;
} & {
default: import("../types/locale").Locale;
};
export default _default;
dist/l10n/sk.d.ts 0000644 00000004670 15167673014 0007511 0 ustar 00 import { CustomLocale } from "../types/locale";
export declare const Slovak: CustomLocale;
declare const _default: {
ar?: CustomLocale | undefined;
at?: CustomLocale | undefined;
az?: CustomLocale | undefined;
be?: CustomLocale | undefined;
bg?: CustomLocale | undefined;
bn?: CustomLocale | undefined;
bs?: CustomLocale | undefined;
ca?: CustomLocale | undefined;
cat?: CustomLocale | undefined;
ckb?: CustomLocale | undefined;
cs?: CustomLocale | undefined;
cy?: CustomLocale | undefined;
da?: CustomLocale | undefined;
de?: CustomLocale | undefined;
default?: CustomLocale | undefined;
en?: CustomLocale | undefined;
eo?: CustomLocale | undefined;
es?: CustomLocale | undefined;
et?: CustomLocale | undefined;
fa?: CustomLocale | undefined;
fi?: CustomLocale | undefined;
fo?: CustomLocale | undefined;
fr?: CustomLocale | undefined;
gr?: CustomLocale | undefined;
he?: CustomLocale | undefined;
hi?: CustomLocale | undefined;
hr?: CustomLocale | undefined;
hu?: CustomLocale | undefined;
hy?: CustomLocale | undefined;
id?: CustomLocale | undefined;
is?: CustomLocale | undefined;
it?: CustomLocale | undefined;
ja?: CustomLocale | undefined;
ka?: CustomLocale | undefined;
ko?: CustomLocale | undefined;
km?: CustomLocale | undefined;
kz?: CustomLocale | undefined;
lt?: CustomLocale | undefined;
lv?: CustomLocale | undefined;
mk?: CustomLocale | undefined;
mn?: CustomLocale | undefined;
ms?: CustomLocale | undefined;
my?: CustomLocale | undefined;
nl?: CustomLocale | undefined;
nn?: CustomLocale | undefined;
no?: CustomLocale | undefined;
pa?: CustomLocale | undefined;
pl?: CustomLocale | undefined;
pt?: CustomLocale | undefined;
ro?: CustomLocale | undefined;
ru?: CustomLocale | undefined;
si?: CustomLocale | undefined;
sk?: CustomLocale | undefined;
sl?: CustomLocale | undefined;
sq?: CustomLocale | undefined;
sr?: CustomLocale | undefined;
sv?: CustomLocale | undefined;
th?: CustomLocale | undefined;
tr?: CustomLocale | undefined;
uk?: CustomLocale | undefined;
vn?: CustomLocale | undefined;
zh?: CustomLocale | undefined;
uz?: CustomLocale | undefined;
uz_latn?: CustomLocale | undefined;
zh_tw?: CustomLocale | undefined;
} & {
default: import("../types/locale").Locale;
};
export default _default;
dist/l10n/he.d.ts 0000644 00000004670 15167673014 0007470 0 ustar 00 import { CustomLocale } from "../types/locale";
export declare const Hebrew: CustomLocale;
declare const _default: {
ar?: CustomLocale | undefined;
at?: CustomLocale | undefined;
az?: CustomLocale | undefined;
be?: CustomLocale | undefined;
bg?: CustomLocale | undefined;
bn?: CustomLocale | undefined;
bs?: CustomLocale | undefined;
ca?: CustomLocale | undefined;
cat?: CustomLocale | undefined;
ckb?: CustomLocale | undefined;
cs?: CustomLocale | undefined;
cy?: CustomLocale | undefined;
da?: CustomLocale | undefined;
de?: CustomLocale | undefined;
default?: CustomLocale | undefined;
en?: CustomLocale | undefined;
eo?: CustomLocale | undefined;
es?: CustomLocale | undefined;
et?: CustomLocale | undefined;
fa?: CustomLocale | undefined;
fi?: CustomLocale | undefined;
fo?: CustomLocale | undefined;
fr?: CustomLocale | undefined;
gr?: CustomLocale | undefined;
he?: CustomLocale | undefined;
hi?: CustomLocale | undefined;
hr?: CustomLocale | undefined;
hu?: CustomLocale | undefined;
hy?: CustomLocale | undefined;
id?: CustomLocale | undefined;
is?: CustomLocale | undefined;
it?: CustomLocale | undefined;
ja?: CustomLocale | undefined;
ka?: CustomLocale | undefined;
ko?: CustomLocale | undefined;
km?: CustomLocale | undefined;
kz?: CustomLocale | undefined;
lt?: CustomLocale | undefined;
lv?: CustomLocale | undefined;
mk?: CustomLocale | undefined;
mn?: CustomLocale | undefined;
ms?: CustomLocale | undefined;
my?: CustomLocale | undefined;
nl?: CustomLocale | undefined;
nn?: CustomLocale | undefined;
no?: CustomLocale | undefined;
pa?: CustomLocale | undefined;
pl?: CustomLocale | undefined;
pt?: CustomLocale | undefined;
ro?: CustomLocale | undefined;
ru?: CustomLocale | undefined;
si?: CustomLocale | undefined;
sk?: CustomLocale | undefined;
sl?: CustomLocale | undefined;
sq?: CustomLocale | undefined;
sr?: CustomLocale | undefined;
sv?: CustomLocale | undefined;
th?: CustomLocale | undefined;
tr?: CustomLocale | undefined;
uk?: CustomLocale | undefined;
vn?: CustomLocale | undefined;
zh?: CustomLocale | undefined;
uz?: CustomLocale | undefined;
uz_latn?: CustomLocale | undefined;
zh_tw?: CustomLocale | undefined;
} & {
default: import("../types/locale").Locale;
};
export default _default;
dist/l10n/cat.d.ts 0000644 00000004671 15167673014 0007644 0 ustar 00 import { CustomLocale } from "../types/locale";
export declare const Catalan: CustomLocale;
declare const _default: {
ar?: CustomLocale | undefined;
at?: CustomLocale | undefined;
az?: CustomLocale | undefined;
be?: CustomLocale | undefined;
bg?: CustomLocale | undefined;
bn?: CustomLocale | undefined;
bs?: CustomLocale | undefined;
ca?: CustomLocale | undefined;
cat?: CustomLocale | undefined;
ckb?: CustomLocale | undefined;
cs?: CustomLocale | undefined;
cy?: CustomLocale | undefined;
da?: CustomLocale | undefined;
de?: CustomLocale | undefined;
default?: CustomLocale | undefined;
en?: CustomLocale | undefined;
eo?: CustomLocale | undefined;
es?: CustomLocale | undefined;
et?: CustomLocale | undefined;
fa?: CustomLocale | undefined;
fi?: CustomLocale | undefined;
fo?: CustomLocale | undefined;
fr?: CustomLocale | undefined;
gr?: CustomLocale | undefined;
he?: CustomLocale | undefined;
hi?: CustomLocale | undefined;
hr?: CustomLocale | undefined;
hu?: CustomLocale | undefined;
hy?: CustomLocale | undefined;
id?: CustomLocale | undefined;
is?: CustomLocale | undefined;
it?: CustomLocale | undefined;
ja?: CustomLocale | undefined;
ka?: CustomLocale | undefined;
ko?: CustomLocale | undefined;
km?: CustomLocale | undefined;
kz?: CustomLocale | undefined;
lt?: CustomLocale | undefined;
lv?: CustomLocale | undefined;
mk?: CustomLocale | undefined;
mn?: CustomLocale | undefined;
ms?: CustomLocale | undefined;
my?: CustomLocale | undefined;
nl?: CustomLocale | undefined;
nn?: CustomLocale | undefined;
no?: CustomLocale | undefined;
pa?: CustomLocale | undefined;
pl?: CustomLocale | undefined;
pt?: CustomLocale | undefined;
ro?: CustomLocale | undefined;
ru?: CustomLocale | undefined;
si?: CustomLocale | undefined;
sk?: CustomLocale | undefined;
sl?: CustomLocale | undefined;
sq?: CustomLocale | undefined;
sr?: CustomLocale | undefined;
sv?: CustomLocale | undefined;
th?: CustomLocale | undefined;
tr?: CustomLocale | undefined;
uk?: CustomLocale | undefined;
vn?: CustomLocale | undefined;
zh?: CustomLocale | undefined;
uz?: CustomLocale | undefined;
uz_latn?: CustomLocale | undefined;
zh_tw?: CustomLocale | undefined;
} & {
default: import("../types/locale").Locale;
};
export default _default;
dist/l10n/et.js 0000644 00000003556 15167673014 0007252 0 ustar 00 (function (global, factory) {
typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports) :
typeof define === 'function' && define.amd ? define(['exports'], factory) :
(global = typeof globalThis !== 'undefined' ? globalThis : global || self, factory(global.et = {}));
}(this, (function (exports) { 'use strict';
var fp = typeof window !== "undefined" && window.flatpickr !== undefined
? window.flatpickr
: {
l10ns: {},
};
var Estonian = {
weekdays: {
shorthand: ["P", "E", "T", "K", "N", "R", "L"],
longhand: [
"Pühapäev",
"Esmaspäev",
"Teisipäev",
"Kolmapäev",
"Neljapäev",
"Reede",
"Laupäev",
],
},
months: {
shorthand: [
"Jaan",
"Veebr",
"Märts",
"Apr",
"Mai",
"Juuni",
"Juuli",
"Aug",
"Sept",
"Okt",
"Nov",
"Dets",
],
longhand: [
"Jaanuar",
"Veebruar",
"Märts",
"Aprill",
"Mai",
"Juuni",
"Juuli",
"August",
"September",
"Oktoober",
"November",
"Detsember",
],
},
firstDayOfWeek: 1,
ordinal: function () {
return ".";
},
weekAbbreviation: "Näd",
rangeSeparator: " kuni ",
scrollTitle: "Keri, et suurendada",
toggleTitle: "Klõpsa, et vahetada",
time_24hr: true,
};
fp.l10ns.et = Estonian;
var et = fp.l10ns;
exports.Estonian = Estonian;
exports.default = et;
Object.defineProperty(exports, '__esModule', { value: true });
})));
dist/l10n/de.js 0000644 00000003424 15167673014 0007224 0 ustar 00 (function (global, factory) {
typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports) :
typeof define === 'function' && define.amd ? define(['exports'], factory) :
(global = typeof globalThis !== 'undefined' ? globalThis : global || self, factory(global.de = {}));
}(this, (function (exports) { 'use strict';
var fp = typeof window !== "undefined" && window.flatpickr !== undefined
? window.flatpickr
: {
l10ns: {},
};
var German = {
weekdays: {
shorthand: ["So", "Mo", "Di", "Mi", "Do", "Fr", "Sa"],
longhand: [
"Sonntag",
"Montag",
"Dienstag",
"Mittwoch",
"Donnerstag",
"Freitag",
"Samstag",
],
},
months: {
shorthand: [
"Jan",
"Feb",
"Mär",
"Apr",
"Mai",
"Jun",
"Jul",
"Aug",
"Sep",
"Okt",
"Nov",
"Dez",
],
longhand: [
"Januar",
"Februar",
"März",
"April",
"Mai",
"Juni",
"Juli",
"August",
"September",
"Oktober",
"November",
"Dezember",
],
},
firstDayOfWeek: 1,
weekAbbreviation: "KW",
rangeSeparator: " bis ",
scrollTitle: "Zum Ändern scrollen",
toggleTitle: "Zum Umschalten klicken",
time_24hr: true,
};
fp.l10ns.de = German;
var de = fp.l10ns;
exports.German = German;
exports.default = de;
Object.defineProperty(exports, '__esModule', { value: true });
})));
dist/l10n/fa.js 0000644 00000003544 15167673014 0007225 0 ustar 00 (function (global, factory) {
typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports) :
typeof define === 'function' && define.amd ? define(['exports'], factory) :
(global = typeof globalThis !== 'undefined' ? globalThis : global || self, factory(global.fa = {}));
}(this, (function (exports) { 'use strict';
var fp = typeof window !== "undefined" && window.flatpickr !== undefined
? window.flatpickr
: {
l10ns: {},
};
var Persian = {
weekdays: {
shorthand: ["یک", "دو", "سه", "چهار", "پنج", "جمعه", "شنبه"],
longhand: [
"یکشنبه",
"دوشنبه",
"سهشنبه",
"چهارشنبه",
"پنچشنبه",
"جمعه",
"شنبه",
],
},
months: {
shorthand: [
"ژانویه",
"فوریه",
"مارس",
"آوریل",
"مه",
"ژوئن",
"ژوئیه",
"اوت",
"سپتامبر",
"اکتبر",
"نوامبر",
"دسامبر",
],
longhand: [
"ژانویه",
"فوریه",
"مارس",
"آوریل",
"مه",
"ژوئن",
"ژوئیه",
"اوت",
"سپتامبر",
"اکتبر",
"نوامبر",
"دسامبر",
],
},
firstDayOfWeek: 6,
ordinal: function () {
return "";
},
};
fp.l10ns.fa = Persian;
var fa = fp.l10ns;
exports.Persian = Persian;
exports.default = fa;
Object.defineProperty(exports, '__esModule', { value: true });
})));
dist/l10n/at.js 0000644 00000003432 15167673014 0007237 0 ustar 00 (function (global, factory) {
typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports) :
typeof define === 'function' && define.amd ? define(['exports'], factory) :
(global = typeof globalThis !== 'undefined' ? globalThis : global || self, factory(global.at = {}));
}(this, (function (exports) { 'use strict';
var fp = typeof window !== "undefined" && window.flatpickr !== undefined
? window.flatpickr
: {
l10ns: {},
};
var Austria = {
weekdays: {
shorthand: ["So", "Mo", "Di", "Mi", "Do", "Fr", "Sa"],
longhand: [
"Sonntag",
"Montag",
"Dienstag",
"Mittwoch",
"Donnerstag",
"Freitag",
"Samstag",
],
},
months: {
shorthand: [
"Jän",
"Feb",
"Mär",
"Apr",
"Mai",
"Jun",
"Jul",
"Aug",
"Sep",
"Okt",
"Nov",
"Dez",
],
longhand: [
"Jänner",
"Februar",
"März",
"April",
"Mai",
"Juni",
"Juli",
"August",
"September",
"Oktober",
"November",
"Dezember",
],
},
firstDayOfWeek: 1,
weekAbbreviation: "KW",
rangeSeparator: " bis ",
scrollTitle: "Zum Ändern scrollen",
toggleTitle: "Zum Umschalten klicken",
time_24hr: true,
};
fp.l10ns.at = Austria;
var at = fp.l10ns;
exports.Austria = Austria;
exports.default = at;
Object.defineProperty(exports, '__esModule', { value: true });
})));
dist/l10n/az.d.ts 0000644 00000004674 15167673014 0007512 0 ustar 00 import { CustomLocale } from "../types/locale";
export declare const Azerbaijan: CustomLocale;
declare const _default: {
ar?: CustomLocale | undefined;
at?: CustomLocale | undefined;
az?: CustomLocale | undefined;
be?: CustomLocale | undefined;
bg?: CustomLocale | undefined;
bn?: CustomLocale | undefined;
bs?: CustomLocale | undefined;
ca?: CustomLocale | undefined;
cat?: CustomLocale | undefined;
ckb?: CustomLocale | undefined;
cs?: CustomLocale | undefined;
cy?: CustomLocale | undefined;
da?: CustomLocale | undefined;
de?: CustomLocale | undefined;
default?: CustomLocale | undefined;
en?: CustomLocale | undefined;
eo?: CustomLocale | undefined;
es?: CustomLocale | undefined;
et?: CustomLocale | undefined;
fa?: CustomLocale | undefined;
fi?: CustomLocale | undefined;
fo?: CustomLocale | undefined;
fr?: CustomLocale | undefined;
gr?: CustomLocale | undefined;
he?: CustomLocale | undefined;
hi?: CustomLocale | undefined;
hr?: CustomLocale | undefined;
hu?: CustomLocale | undefined;
hy?: CustomLocale | undefined;
id?: CustomLocale | undefined;
is?: CustomLocale | undefined;
it?: CustomLocale | undefined;
ja?: CustomLocale | undefined;
ka?: CustomLocale | undefined;
ko?: CustomLocale | undefined;
km?: CustomLocale | undefined;
kz?: CustomLocale | undefined;
lt?: CustomLocale | undefined;
lv?: CustomLocale | undefined;
mk?: CustomLocale | undefined;
mn?: CustomLocale | undefined;
ms?: CustomLocale | undefined;
my?: CustomLocale | undefined;
nl?: CustomLocale | undefined;
nn?: CustomLocale | undefined;
no?: CustomLocale | undefined;
pa?: CustomLocale | undefined;
pl?: CustomLocale | undefined;
pt?: CustomLocale | undefined;
ro?: CustomLocale | undefined;
ru?: CustomLocale | undefined;
si?: CustomLocale | undefined;
sk?: CustomLocale | undefined;
sl?: CustomLocale | undefined;
sq?: CustomLocale | undefined;
sr?: CustomLocale | undefined;
sv?: CustomLocale | undefined;
th?: CustomLocale | undefined;
tr?: CustomLocale | undefined;
uk?: CustomLocale | undefined;
vn?: CustomLocale | undefined;
zh?: CustomLocale | undefined;
uz?: CustomLocale | undefined;
uz_latn?: CustomLocale | undefined;
zh_tw?: CustomLocale | undefined;
} & {
default: import("../types/locale").Locale;
};
export default _default;
dist/l10n/cs.js 0000644 00000003634 15167673014 0007244 0 ustar 00 (function (global, factory) {
typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports) :
typeof define === 'function' && define.amd ? define(['exports'], factory) :
(global = typeof globalThis !== 'undefined' ? globalThis : global || self, factory(global.cs = {}));
}(this, (function (exports) { 'use strict';
var fp = typeof window !== "undefined" && window.flatpickr !== undefined
? window.flatpickr
: {
l10ns: {},
};
var Czech = {
weekdays: {
shorthand: ["Ne", "Po", "Út", "St", "Čt", "Pá", "So"],
longhand: [
"Neděle",
"Pondělí",
"Úterý",
"Středa",
"Čtvrtek",
"Pátek",
"Sobota",
],
},
months: {
shorthand: [
"Led",
"Ún",
"Bře",
"Dub",
"Kvě",
"Čer",
"Čvc",
"Srp",
"Zář",
"Říj",
"Lis",
"Pro",
],
longhand: [
"Leden",
"Únor",
"Březen",
"Duben",
"Květen",
"Červen",
"Červenec",
"Srpen",
"Září",
"Říjen",
"Listopad",
"Prosinec",
],
},
firstDayOfWeek: 1,
ordinal: function () {
return ".";
},
rangeSeparator: " do ",
weekAbbreviation: "Týd.",
scrollTitle: "Rolujte pro změnu",
toggleTitle: "Přepnout dopoledne/odpoledne",
amPM: ["dop.", "odp."],
yearAriaLabel: "Rok",
time_24hr: true,
};
fp.l10ns.cs = Czech;
var cs = fp.l10ns;
exports.Czech = Czech;
exports.default = cs;
Object.defineProperty(exports, '__esModule', { value: true });
})));
dist/l10n/zh-tw.js 0000644 00000003574 15167673014 0007713 0 ustar 00 (function (global, factory) {
typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports) :
typeof define === 'function' && define.amd ? define(['exports'], factory) :
(global = typeof globalThis !== 'undefined' ? globalThis : global || self, factory(global['zh-tw'] = {}));
}(this, (function (exports) { 'use strict';
var fp = typeof window !== "undefined" && window.flatpickr !== undefined
? window.flatpickr
: {
l10ns: {},
};
var MandarinTraditional = {
weekdays: {
shorthand: ["週日", "週一", "週二", "週三", "週四", "週五", "週六"],
longhand: [
"星期日",
"星期一",
"星期二",
"星期三",
"星期四",
"星期五",
"星期六",
],
},
months: {
shorthand: [
"一月",
"二月",
"三月",
"四月",
"五月",
"六月",
"七月",
"八月",
"九月",
"十月",
"十一月",
"十二月",
],
longhand: [
"一月",
"二月",
"三月",
"四月",
"五月",
"六月",
"七月",
"八月",
"九月",
"十月",
"十一月",
"十二月",
],
},
rangeSeparator: " 至 ",
weekAbbreviation: "週",
scrollTitle: "滾動切換",
toggleTitle: "點擊切換 12/24 小時時制",
};
fp.l10ns.zh_tw = MandarinTraditional;
var zhTw = fp.l10ns;
exports.MandarinTraditional = MandarinTraditional;
exports.default = zhTw;
Object.defineProperty(exports, '__esModule', { value: true });
})));
dist/l10n/nl.js 0000644 00000003650 15167673014 0007246 0 ustar 00 (function (global, factory) {
typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports) :
typeof define === 'function' && define.amd ? define(['exports'], factory) :
(global = typeof globalThis !== 'undefined' ? globalThis : global || self, factory(global.nl = {}));
}(this, (function (exports) { 'use strict';
var fp = typeof window !== "undefined" && window.flatpickr !== undefined
? window.flatpickr
: {
l10ns: {},
};
var Dutch = {
weekdays: {
shorthand: ["zo", "ma", "di", "wo", "do", "vr", "za"],
longhand: [
"zondag",
"maandag",
"dinsdag",
"woensdag",
"donderdag",
"vrijdag",
"zaterdag",
],
},
months: {
shorthand: [
"jan",
"feb",
"mrt",
"apr",
"mei",
"jun",
"jul",
"aug",
"sept",
"okt",
"nov",
"dec",
],
longhand: [
"januari",
"februari",
"maart",
"april",
"mei",
"juni",
"juli",
"augustus",
"september",
"oktober",
"november",
"december",
],
},
firstDayOfWeek: 1,
weekAbbreviation: "wk",
rangeSeparator: " t/m ",
scrollTitle: "Scroll voor volgende / vorige",
toggleTitle: "Klik om te wisselen",
time_24hr: true,
ordinal: function (nth) {
if (nth === 1 || nth === 8 || nth >= 20)
return "ste";
return "de";
},
};
fp.l10ns.nl = Dutch;
var nl = fp.l10ns;
exports.Dutch = Dutch;
exports.default = nl;
Object.defineProperty(exports, '__esModule', { value: true });
})));
dist/l10n/es.d.ts 0000644 00000004671 15167673014 0007504 0 ustar 00 import { CustomLocale } from "../types/locale";
export declare const Spanish: CustomLocale;
declare const _default: {
ar?: CustomLocale | undefined;
at?: CustomLocale | undefined;
az?: CustomLocale | undefined;
be?: CustomLocale | undefined;
bg?: CustomLocale | undefined;
bn?: CustomLocale | undefined;
bs?: CustomLocale | undefined;
ca?: CustomLocale | undefined;
cat?: CustomLocale | undefined;
ckb?: CustomLocale | undefined;
cs?: CustomLocale | undefined;
cy?: CustomLocale | undefined;
da?: CustomLocale | undefined;
de?: CustomLocale | undefined;
default?: CustomLocale | undefined;
en?: CustomLocale | undefined;
eo?: CustomLocale | undefined;
es?: CustomLocale | undefined;
et?: CustomLocale | undefined;
fa?: CustomLocale | undefined;
fi?: CustomLocale | undefined;
fo?: CustomLocale | undefined;
fr?: CustomLocale | undefined;
gr?: CustomLocale | undefined;
he?: CustomLocale | undefined;
hi?: CustomLocale | undefined;
hr?: CustomLocale | undefined;
hu?: CustomLocale | undefined;
hy?: CustomLocale | undefined;
id?: CustomLocale | undefined;
is?: CustomLocale | undefined;
it?: CustomLocale | undefined;
ja?: CustomLocale | undefined;
ka?: CustomLocale | undefined;
ko?: CustomLocale | undefined;
km?: CustomLocale | undefined;
kz?: CustomLocale | undefined;
lt?: CustomLocale | undefined;
lv?: CustomLocale | undefined;
mk?: CustomLocale | undefined;
mn?: CustomLocale | undefined;
ms?: CustomLocale | undefined;
my?: CustomLocale | undefined;
nl?: CustomLocale | undefined;
nn?: CustomLocale | undefined;
no?: CustomLocale | undefined;
pa?: CustomLocale | undefined;
pl?: CustomLocale | undefined;
pt?: CustomLocale | undefined;
ro?: CustomLocale | undefined;
ru?: CustomLocale | undefined;
si?: CustomLocale | undefined;
sk?: CustomLocale | undefined;
sl?: CustomLocale | undefined;
sq?: CustomLocale | undefined;
sr?: CustomLocale | undefined;
sv?: CustomLocale | undefined;
th?: CustomLocale | undefined;
tr?: CustomLocale | undefined;
uk?: CustomLocale | undefined;
vn?: CustomLocale | undefined;
zh?: CustomLocale | undefined;
uz?: CustomLocale | undefined;
uz_latn?: CustomLocale | undefined;
zh_tw?: CustomLocale | undefined;
} & {
default: import("../types/locale").Locale;
};
export default _default;
dist/l10n/it.d.ts 0000644 00000004671 15167673014 0007511 0 ustar 00 import { CustomLocale } from "../types/locale";
export declare const Italian: CustomLocale;
declare const _default: {
ar?: CustomLocale | undefined;
at?: CustomLocale | undefined;
az?: CustomLocale | undefined;
be?: CustomLocale | undefined;
bg?: CustomLocale | undefined;
bn?: CustomLocale | undefined;
bs?: CustomLocale | undefined;
ca?: CustomLocale | undefined;
cat?: CustomLocale | undefined;
ckb?: CustomLocale | undefined;
cs?: CustomLocale | undefined;
cy?: CustomLocale | undefined;
da?: CustomLocale | undefined;
de?: CustomLocale | undefined;
default?: CustomLocale | undefined;
en?: CustomLocale | undefined;
eo?: CustomLocale | undefined;
es?: CustomLocale | undefined;
et?: CustomLocale | undefined;
fa?: CustomLocale | undefined;
fi?: CustomLocale | undefined;
fo?: CustomLocale | undefined;
fr?: CustomLocale | undefined;
gr?: CustomLocale | undefined;
he?: CustomLocale | undefined;
hi?: CustomLocale | undefined;
hr?: CustomLocale | undefined;
hu?: CustomLocale | undefined;
hy?: CustomLocale | undefined;
id?: CustomLocale | undefined;
is?: CustomLocale | undefined;
it?: CustomLocale | undefined;
ja?: CustomLocale | undefined;
ka?: CustomLocale | undefined;
ko?: CustomLocale | undefined;
km?: CustomLocale | undefined;
kz?: CustomLocale | undefined;
lt?: CustomLocale | undefined;
lv?: CustomLocale | undefined;
mk?: CustomLocale | undefined;
mn?: CustomLocale | undefined;
ms?: CustomLocale | undefined;
my?: CustomLocale | undefined;
nl?: CustomLocale | undefined;
nn?: CustomLocale | undefined;
no?: CustomLocale | undefined;
pa?: CustomLocale | undefined;
pl?: CustomLocale | undefined;
pt?: CustomLocale | undefined;
ro?: CustomLocale | undefined;
ru?: CustomLocale | undefined;
si?: CustomLocale | undefined;
sk?: CustomLocale | undefined;
sl?: CustomLocale | undefined;
sq?: CustomLocale | undefined;
sr?: CustomLocale | undefined;
sv?: CustomLocale | undefined;
th?: CustomLocale | undefined;
tr?: CustomLocale | undefined;
uk?: CustomLocale | undefined;
vn?: CustomLocale | undefined;
zh?: CustomLocale | undefined;
uz?: CustomLocale | undefined;
uz_latn?: CustomLocale | undefined;
zh_tw?: CustomLocale | undefined;
} & {
default: import("../types/locale").Locale;
};
export default _default;
dist/l10n/lv.d.ts 0000644 00000004671 15167673014 0007516 0 ustar 00 import { CustomLocale } from "../types/locale";
export declare const Latvian: CustomLocale;
declare const _default: {
ar?: CustomLocale | undefined;
at?: CustomLocale | undefined;
az?: CustomLocale | undefined;
be?: CustomLocale | undefined;
bg?: CustomLocale | undefined;
bn?: CustomLocale | undefined;
bs?: CustomLocale | undefined;
ca?: CustomLocale | undefined;
cat?: CustomLocale | undefined;
ckb?: CustomLocale | undefined;
cs?: CustomLocale | undefined;
cy?: CustomLocale | undefined;
da?: CustomLocale | undefined;
de?: CustomLocale | undefined;
default?: CustomLocale | undefined;
en?: CustomLocale | undefined;
eo?: CustomLocale | undefined;
es?: CustomLocale | undefined;
et?: CustomLocale | undefined;
fa?: CustomLocale | undefined;
fi?: CustomLocale | undefined;
fo?: CustomLocale | undefined;
fr?: CustomLocale | undefined;
gr?: CustomLocale | undefined;
he?: CustomLocale | undefined;
hi?: CustomLocale | undefined;
hr?: CustomLocale | undefined;
hu?: CustomLocale | undefined;
hy?: CustomLocale | undefined;
id?: CustomLocale | undefined;
is?: CustomLocale | undefined;
it?: CustomLocale | undefined;
ja?: CustomLocale | undefined;
ka?: CustomLocale | undefined;
ko?: CustomLocale | undefined;
km?: CustomLocale | undefined;
kz?: CustomLocale | undefined;
lt?: CustomLocale | undefined;
lv?: CustomLocale | undefined;
mk?: CustomLocale | undefined;
mn?: CustomLocale | undefined;
ms?: CustomLocale | undefined;
my?: CustomLocale | undefined;
nl?: CustomLocale | undefined;
nn?: CustomLocale | undefined;
no?: CustomLocale | undefined;
pa?: CustomLocale | undefined;
pl?: CustomLocale | undefined;
pt?: CustomLocale | undefined;
ro?: CustomLocale | undefined;
ru?: CustomLocale | undefined;
si?: CustomLocale | undefined;
sk?: CustomLocale | undefined;
sl?: CustomLocale | undefined;
sq?: CustomLocale | undefined;
sr?: CustomLocale | undefined;
sv?: CustomLocale | undefined;
th?: CustomLocale | undefined;
tr?: CustomLocale | undefined;
uk?: CustomLocale | undefined;
vn?: CustomLocale | undefined;
zh?: CustomLocale | undefined;
uz?: CustomLocale | undefined;
uz_latn?: CustomLocale | undefined;
zh_tw?: CustomLocale | undefined;
} & {
default: import("../types/locale").Locale;
};
export default _default;
dist/l10n/cy.js 0000644 00000004617 15167673014 0007254 0 ustar 00 (function (global, factory) {
typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports) :
typeof define === 'function' && define.amd ? define(['exports'], factory) :
(global = typeof globalThis !== 'undefined' ? globalThis : global || self, factory(global.cy = {}));
}(this, (function (exports) { 'use strict';
var fp = typeof window !== "undefined" && window.flatpickr !== undefined
? window.flatpickr
: {
l10ns: {},
};
var Welsh = {
weekdays: {
shorthand: ["Sul", "Llun", "Maw", "Mer", "Iau", "Gwe", "Sad"],
longhand: [
"Dydd Sul",
"Dydd Llun",
"Dydd Mawrth",
"Dydd Mercher",
"Dydd Iau",
"Dydd Gwener",
"Dydd Sadwrn",
],
},
months: {
shorthand: [
"Ion",
"Chwef",
"Maw",
"Ebr",
"Mai",
"Meh",
"Gorff",
"Awst",
"Medi",
"Hyd",
"Tach",
"Rhag",
],
longhand: [
"Ionawr",
"Chwefror",
"Mawrth",
"Ebrill",
"Mai",
"Mehefin",
"Gorffennaf",
"Awst",
"Medi",
"Hydref",
"Tachwedd",
"Rhagfyr",
],
},
firstDayOfWeek: 1,
ordinal: function (nth) {
if (nth === 1)
return "af";
if (nth === 2)
return "ail";
if (nth === 3 || nth === 4)
return "ydd";
if (nth === 5 || nth === 6)
return "ed";
if ((nth >= 7 && nth <= 10) ||
nth == 12 ||
nth == 15 ||
nth == 18 ||
nth == 20)
return "fed";
if (nth == 11 ||
nth == 13 ||
nth == 14 ||
nth == 16 ||
nth == 17 ||
nth == 19)
return "eg";
if (nth >= 21 && nth <= 39)
return "ain";
// Inconclusive.
return "";
},
time_24hr: true,
};
fp.l10ns.cy = Welsh;
var cy = fp.l10ns;
exports.Welsh = Welsh;
exports.default = cy;
Object.defineProperty(exports, '__esModule', { value: true });
})));
dist/l10n/hy.js 0000644 00000004376 15167673014 0007263 0 ustar 00 (function (global, factory) {
typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports) :
typeof define === 'function' && define.amd ? define(['exports'], factory) :
(global = typeof globalThis !== 'undefined' ? globalThis : global || self, factory(global.hy = {}));
}(this, (function (exports) { 'use strict';
var fp = typeof window !== "undefined" && window.flatpickr !== undefined
? window.flatpickr
: {
l10ns: {},
};
var Armenian = {
weekdays: {
shorthand: ["Կիր", "Երկ", "Երք", "Չրք", "Հնգ", "Ուրբ", "Շբթ"],
longhand: [
"Կիրակի",
"Եկուշաբթի",
"Երեքշաբթի",
"Չորեքշաբթի",
"Հինգշաբթի",
"Ուրբաթ",
"Շաբաթ",
],
},
months: {
shorthand: [
"Հնվ",
"Փտր",
"Մար",
"Ապր",
"Մայ",
"Հնս",
"Հլս",
"Օգս",
"Սեպ",
"Հոկ",
"Նմբ",
"Դեկ",
],
longhand: [
"Հունվար",
"Փետրվար",
"Մարտ",
"Ապրիլ",
"Մայիս",
"Հունիս",
"Հուլիս",
"Օգոստոս",
"Սեպտեմբեր",
"Հոկտեմբեր",
"Նոյեմբեր",
"Դեկտեմբեր",
],
},
firstDayOfWeek: 1,
ordinal: function () {
return "";
},
rangeSeparator: " — ",
weekAbbreviation: "ՇԲՏ",
scrollTitle: "Ոլորեք՝ մեծացնելու համար",
toggleTitle: "Սեղմեք՝ փոխելու համար",
amPM: ["ՄԿ", "ԿՀ"],
yearAriaLabel: "Տարի",
monthAriaLabel: "Ամիս",
hourAriaLabel: "Ժամ",
minuteAriaLabel: "Րոպե",
time_24hr: true,
};
fp.l10ns.hy = Armenian;
var hy = fp.l10ns;
exports.Armenian = Armenian;
exports.default = hy;
Object.defineProperty(exports, '__esModule', { value: true });
})));
dist/l10n/cy.d.ts 0000644 00000004667 15167673014 0007515 0 ustar 00 import { CustomLocale } from "../types/locale";
export declare const Welsh: CustomLocale;
declare const _default: {
ar?: CustomLocale | undefined;
at?: CustomLocale | undefined;
az?: CustomLocale | undefined;
be?: CustomLocale | undefined;
bg?: CustomLocale | undefined;
bn?: CustomLocale | undefined;
bs?: CustomLocale | undefined;
ca?: CustomLocale | undefined;
cat?: CustomLocale | undefined;
ckb?: CustomLocale | undefined;
cs?: CustomLocale | undefined;
cy?: CustomLocale | undefined;
da?: CustomLocale | undefined;
de?: CustomLocale | undefined;
default?: CustomLocale | undefined;
en?: CustomLocale | undefined;
eo?: CustomLocale | undefined;
es?: CustomLocale | undefined;
et?: CustomLocale | undefined;
fa?: CustomLocale | undefined;
fi?: CustomLocale | undefined;
fo?: CustomLocale | undefined;
fr?: CustomLocale | undefined;
gr?: CustomLocale | undefined;
he?: CustomLocale | undefined;
hi?: CustomLocale | undefined;
hr?: CustomLocale | undefined;
hu?: CustomLocale | undefined;
hy?: CustomLocale | undefined;
id?: CustomLocale | undefined;
is?: CustomLocale | undefined;
it?: CustomLocale | undefined;
ja?: CustomLocale | undefined;
ka?: CustomLocale | undefined;
ko?: CustomLocale | undefined;
km?: CustomLocale | undefined;
kz?: CustomLocale | undefined;
lt?: CustomLocale | undefined;
lv?: CustomLocale | undefined;
mk?: CustomLocale | undefined;
mn?: CustomLocale | undefined;
ms?: CustomLocale | undefined;
my?: CustomLocale | undefined;
nl?: CustomLocale | undefined;
nn?: CustomLocale | undefined;
no?: CustomLocale | undefined;
pa?: CustomLocale | undefined;
pl?: CustomLocale | undefined;
pt?: CustomLocale | undefined;
ro?: CustomLocale | undefined;
ru?: CustomLocale | undefined;
si?: CustomLocale | undefined;
sk?: CustomLocale | undefined;
sl?: CustomLocale | undefined;
sq?: CustomLocale | undefined;
sr?: CustomLocale | undefined;
sv?: CustomLocale | undefined;
th?: CustomLocale | undefined;
tr?: CustomLocale | undefined;
uk?: CustomLocale | undefined;
vn?: CustomLocale | undefined;
zh?: CustomLocale | undefined;
uz?: CustomLocale | undefined;
uz_latn?: CustomLocale | undefined;
zh_tw?: CustomLocale | undefined;
} & {
default: import("../types/locale").Locale;
};
export default _default;
dist/l10n/he.js 0000644 00000003205 15167673014 0007225 0 ustar 00 (function (global, factory) {
typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports) :
typeof define === 'function' && define.amd ? define(['exports'], factory) :
(global = typeof globalThis !== 'undefined' ? globalThis : global || self, factory(global.he = {}));
}(this, (function (exports) { 'use strict';
var fp = typeof window !== "undefined" && window.flatpickr !== undefined
? window.flatpickr
: {
l10ns: {},
};
var Hebrew = {
weekdays: {
shorthand: ["א", "ב", "ג", "ד", "ה", "ו", "ש"],
longhand: ["ראשון", "שני", "שלישי", "רביעי", "חמישי", "שישי", "שבת"],
},
months: {
shorthand: [
"ינו׳",
"פבר׳",
"מרץ",
"אפר׳",
"מאי",
"יוני",
"יולי",
"אוג׳",
"ספט׳",
"אוק׳",
"נוב׳",
"דצמ׳",
],
longhand: [
"ינואר",
"פברואר",
"מרץ",
"אפריל",
"מאי",
"יוני",
"יולי",
"אוגוסט",
"ספטמבר",
"אוקטובר",
"נובמבר",
"דצמבר",
],
},
rangeSeparator: " אל ",
time_24hr: true,
};
fp.l10ns.he = Hebrew;
var he = fp.l10ns;
exports.Hebrew = Hebrew;
exports.default = he;
Object.defineProperty(exports, '__esModule', { value: true });
})));
dist/l10n/et.d.ts 0000644 00000004672 15167673014 0007506 0 ustar 00 import { CustomLocale } from "../types/locale";
export declare const Estonian: CustomLocale;
declare const _default: {
ar?: CustomLocale | undefined;
at?: CustomLocale | undefined;
az?: CustomLocale | undefined;
be?: CustomLocale | undefined;
bg?: CustomLocale | undefined;
bn?: CustomLocale | undefined;
bs?: CustomLocale | undefined;
ca?: CustomLocale | undefined;
cat?: CustomLocale | undefined;
ckb?: CustomLocale | undefined;
cs?: CustomLocale | undefined;
cy?: CustomLocale | undefined;
da?: CustomLocale | undefined;
de?: CustomLocale | undefined;
default?: CustomLocale | undefined;
en?: CustomLocale | undefined;
eo?: CustomLocale | undefined;
es?: CustomLocale | undefined;
et?: CustomLocale | undefined;
fa?: CustomLocale | undefined;
fi?: CustomLocale | undefined;
fo?: CustomLocale | undefined;
fr?: CustomLocale | undefined;
gr?: CustomLocale | undefined;
he?: CustomLocale | undefined;
hi?: CustomLocale | undefined;
hr?: CustomLocale | undefined;
hu?: CustomLocale | undefined;
hy?: CustomLocale | undefined;
id?: CustomLocale | undefined;
is?: CustomLocale | undefined;
it?: CustomLocale | undefined;
ja?: CustomLocale | undefined;
ka?: CustomLocale | undefined;
ko?: CustomLocale | undefined;
km?: CustomLocale | undefined;
kz?: CustomLocale | undefined;
lt?: CustomLocale | undefined;
lv?: CustomLocale | undefined;
mk?: CustomLocale | undefined;
mn?: CustomLocale | undefined;
ms?: CustomLocale | undefined;
my?: CustomLocale | undefined;
nl?: CustomLocale | undefined;
nn?: CustomLocale | undefined;
no?: CustomLocale | undefined;
pa?: CustomLocale | undefined;
pl?: CustomLocale | undefined;
pt?: CustomLocale | undefined;
ro?: CustomLocale | undefined;
ru?: CustomLocale | undefined;
si?: CustomLocale | undefined;
sk?: CustomLocale | undefined;
sl?: CustomLocale | undefined;
sq?: CustomLocale | undefined;
sr?: CustomLocale | undefined;
sv?: CustomLocale | undefined;
th?: CustomLocale | undefined;
tr?: CustomLocale | undefined;
uk?: CustomLocale | undefined;
vn?: CustomLocale | undefined;
zh?: CustomLocale | undefined;
uz?: CustomLocale | undefined;
uz_latn?: CustomLocale | undefined;
zh_tw?: CustomLocale | undefined;
} & {
default: import("../types/locale").Locale;
};
export default _default;
dist/l10n/pa.d.ts 0000644 00000004671 15167673014 0007475 0 ustar 00 import { CustomLocale } from "../types/locale";
export declare const Punjabi: CustomLocale;
declare const _default: {
ar?: CustomLocale | undefined;
at?: CustomLocale | undefined;
az?: CustomLocale | undefined;
be?: CustomLocale | undefined;
bg?: CustomLocale | undefined;
bn?: CustomLocale | undefined;
bs?: CustomLocale | undefined;
ca?: CustomLocale | undefined;
cat?: CustomLocale | undefined;
ckb?: CustomLocale | undefined;
cs?: CustomLocale | undefined;
cy?: CustomLocale | undefined;
da?: CustomLocale | undefined;
de?: CustomLocale | undefined;
default?: CustomLocale | undefined;
en?: CustomLocale | undefined;
eo?: CustomLocale | undefined;
es?: CustomLocale | undefined;
et?: CustomLocale | undefined;
fa?: CustomLocale | undefined;
fi?: CustomLocale | undefined;
fo?: CustomLocale | undefined;
fr?: CustomLocale | undefined;
gr?: CustomLocale | undefined;
he?: CustomLocale | undefined;
hi?: CustomLocale | undefined;
hr?: CustomLocale | undefined;
hu?: CustomLocale | undefined;
hy?: CustomLocale | undefined;
id?: CustomLocale | undefined;
is?: CustomLocale | undefined;
it?: CustomLocale | undefined;
ja?: CustomLocale | undefined;
ka?: CustomLocale | undefined;
ko?: CustomLocale | undefined;
km?: CustomLocale | undefined;
kz?: CustomLocale | undefined;
lt?: CustomLocale | undefined;
lv?: CustomLocale | undefined;
mk?: CustomLocale | undefined;
mn?: CustomLocale | undefined;
ms?: CustomLocale | undefined;
my?: CustomLocale | undefined;
nl?: CustomLocale | undefined;
nn?: CustomLocale | undefined;
no?: CustomLocale | undefined;
pa?: CustomLocale | undefined;
pl?: CustomLocale | undefined;
pt?: CustomLocale | undefined;
ro?: CustomLocale | undefined;
ru?: CustomLocale | undefined;
si?: CustomLocale | undefined;
sk?: CustomLocale | undefined;
sl?: CustomLocale | undefined;
sq?: CustomLocale | undefined;
sr?: CustomLocale | undefined;
sv?: CustomLocale | undefined;
th?: CustomLocale | undefined;
tr?: CustomLocale | undefined;
uk?: CustomLocale | undefined;
vn?: CustomLocale | undefined;
zh?: CustomLocale | undefined;
uz?: CustomLocale | undefined;
uz_latn?: CustomLocale | undefined;
zh_tw?: CustomLocale | undefined;
} & {
default: import("../types/locale").Locale;
};
export default _default;
dist/l10n/fa.d.ts 0000644 00000004671 15167673014 0007463 0 ustar 00 import { CustomLocale } from "../types/locale";
export declare const Persian: CustomLocale;
declare const _default: {
ar?: CustomLocale | undefined;
at?: CustomLocale | undefined;
az?: CustomLocale | undefined;
be?: CustomLocale | undefined;
bg?: CustomLocale | undefined;
bn?: CustomLocale | undefined;
bs?: CustomLocale | undefined;
ca?: CustomLocale | undefined;
cat?: CustomLocale | undefined;
ckb?: CustomLocale | undefined;
cs?: CustomLocale | undefined;
cy?: CustomLocale | undefined;
da?: CustomLocale | undefined;
de?: CustomLocale | undefined;
default?: CustomLocale | undefined;
en?: CustomLocale | undefined;
eo?: CustomLocale | undefined;
es?: CustomLocale | undefined;
et?: CustomLocale | undefined;
fa?: CustomLocale | undefined;
fi?: CustomLocale | undefined;
fo?: CustomLocale | undefined;
fr?: CustomLocale | undefined;
gr?: CustomLocale | undefined;
he?: CustomLocale | undefined;
hi?: CustomLocale | undefined;
hr?: CustomLocale | undefined;
hu?: CustomLocale | undefined;
hy?: CustomLocale | undefined;
id?: CustomLocale | undefined;
is?: CustomLocale | undefined;
it?: CustomLocale | undefined;
ja?: CustomLocale | undefined;
ka?: CustomLocale | undefined;
ko?: CustomLocale | undefined;
km?: CustomLocale | undefined;
kz?: CustomLocale | undefined;
lt?: CustomLocale | undefined;
lv?: CustomLocale | undefined;
mk?: CustomLocale | undefined;
mn?: CustomLocale | undefined;
ms?: CustomLocale | undefined;
my?: CustomLocale | undefined;
nl?: CustomLocale | undefined;
nn?: CustomLocale | undefined;
no?: CustomLocale | undefined;
pa?: CustomLocale | undefined;
pl?: CustomLocale | undefined;
pt?: CustomLocale | undefined;
ro?: CustomLocale | undefined;
ru?: CustomLocale | undefined;
si?: CustomLocale | undefined;
sk?: CustomLocale | undefined;
sl?: CustomLocale | undefined;
sq?: CustomLocale | undefined;
sr?: CustomLocale | undefined;
sv?: CustomLocale | undefined;
th?: CustomLocale | undefined;
tr?: CustomLocale | undefined;
uk?: CustomLocale | undefined;
vn?: CustomLocale | undefined;
zh?: CustomLocale | undefined;
uz?: CustomLocale | undefined;
uz_latn?: CustomLocale | undefined;
zh_tw?: CustomLocale | undefined;
} & {
default: import("../types/locale").Locale;
};
export default _default;
dist/l10n/ga.d.ts 0000644 00000004667 15167673014 0007471 0 ustar 00 import { CustomLocale } from "../types/locale";
export declare const Irish: CustomLocale;
declare const _default: {
ar?: CustomLocale | undefined;
at?: CustomLocale | undefined;
az?: CustomLocale | undefined;
be?: CustomLocale | undefined;
bg?: CustomLocale | undefined;
bn?: CustomLocale | undefined;
bs?: CustomLocale | undefined;
ca?: CustomLocale | undefined;
cat?: CustomLocale | undefined;
ckb?: CustomLocale | undefined;
cs?: CustomLocale | undefined;
cy?: CustomLocale | undefined;
da?: CustomLocale | undefined;
de?: CustomLocale | undefined;
default?: CustomLocale | undefined;
en?: CustomLocale | undefined;
eo?: CustomLocale | undefined;
es?: CustomLocale | undefined;
et?: CustomLocale | undefined;
fa?: CustomLocale | undefined;
fi?: CustomLocale | undefined;
fo?: CustomLocale | undefined;
fr?: CustomLocale | undefined;
gr?: CustomLocale | undefined;
he?: CustomLocale | undefined;
hi?: CustomLocale | undefined;
hr?: CustomLocale | undefined;
hu?: CustomLocale | undefined;
hy?: CustomLocale | undefined;
id?: CustomLocale | undefined;
is?: CustomLocale | undefined;
it?: CustomLocale | undefined;
ja?: CustomLocale | undefined;
ka?: CustomLocale | undefined;
ko?: CustomLocale | undefined;
km?: CustomLocale | undefined;
kz?: CustomLocale | undefined;
lt?: CustomLocale | undefined;
lv?: CustomLocale | undefined;
mk?: CustomLocale | undefined;
mn?: CustomLocale | undefined;
ms?: CustomLocale | undefined;
my?: CustomLocale | undefined;
nl?: CustomLocale | undefined;
nn?: CustomLocale | undefined;
no?: CustomLocale | undefined;
pa?: CustomLocale | undefined;
pl?: CustomLocale | undefined;
pt?: CustomLocale | undefined;
ro?: CustomLocale | undefined;
ru?: CustomLocale | undefined;
si?: CustomLocale | undefined;
sk?: CustomLocale | undefined;
sl?: CustomLocale | undefined;
sq?: CustomLocale | undefined;
sr?: CustomLocale | undefined;
sv?: CustomLocale | undefined;
th?: CustomLocale | undefined;
tr?: CustomLocale | undefined;
uk?: CustomLocale | undefined;
vn?: CustomLocale | undefined;
zh?: CustomLocale | undefined;
uz?: CustomLocale | undefined;
uz_latn?: CustomLocale | undefined;
zh_tw?: CustomLocale | undefined;
} & {
default: import("../types/locale").Locale;
};
export default _default;
dist/l10n/ja.js 0000644 00000003462 15167673014 0007230 0 ustar 00 (function (global, factory) {
typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports) :
typeof define === 'function' && define.amd ? define(['exports'], factory) :
(global = typeof globalThis !== 'undefined' ? globalThis : global || self, factory(global.ja = {}));
}(this, (function (exports) { 'use strict';
var fp = typeof window !== "undefined" && window.flatpickr !== undefined
? window.flatpickr
: {
l10ns: {},
};
var Japanese = {
weekdays: {
shorthand: ["日", "月", "火", "水", "木", "金", "土"],
longhand: [
"日曜日",
"月曜日",
"火曜日",
"水曜日",
"木曜日",
"金曜日",
"土曜日",
],
},
months: {
shorthand: [
"1月",
"2月",
"3月",
"4月",
"5月",
"6月",
"7月",
"8月",
"9月",
"10月",
"11月",
"12月",
],
longhand: [
"1月",
"2月",
"3月",
"4月",
"5月",
"6月",
"7月",
"8月",
"9月",
"10月",
"11月",
"12月",
],
},
time_24hr: true,
rangeSeparator: " から ",
monthAriaLabel: "月",
amPM: ["午前", "午後"],
yearAriaLabel: "年",
hourAriaLabel: "時間",
minuteAriaLabel: "分",
};
fp.l10ns.ja = Japanese;
var ja = fp.l10ns;
exports.Japanese = Japanese;
exports.default = ja;
Object.defineProperty(exports, '__esModule', { value: true });
})));
dist/l10n/bn.d.ts 0000644 00000004670 15167673014 0007473 0 ustar 00 import { CustomLocale } from "../types/locale";
export declare const Bangla: CustomLocale;
declare const _default: {
ar?: CustomLocale | undefined;
at?: CustomLocale | undefined;
az?: CustomLocale | undefined;
be?: CustomLocale | undefined;
bg?: CustomLocale | undefined;
bn?: CustomLocale | undefined;
bs?: CustomLocale | undefined;
ca?: CustomLocale | undefined;
cat?: CustomLocale | undefined;
ckb?: CustomLocale | undefined;
cs?: CustomLocale | undefined;
cy?: CustomLocale | undefined;
da?: CustomLocale | undefined;
de?: CustomLocale | undefined;
default?: CustomLocale | undefined;
en?: CustomLocale | undefined;
eo?: CustomLocale | undefined;
es?: CustomLocale | undefined;
et?: CustomLocale | undefined;
fa?: CustomLocale | undefined;
fi?: CustomLocale | undefined;
fo?: CustomLocale | undefined;
fr?: CustomLocale | undefined;
gr?: CustomLocale | undefined;
he?: CustomLocale | undefined;
hi?: CustomLocale | undefined;
hr?: CustomLocale | undefined;
hu?: CustomLocale | undefined;
hy?: CustomLocale | undefined;
id?: CustomLocale | undefined;
is?: CustomLocale | undefined;
it?: CustomLocale | undefined;
ja?: CustomLocale | undefined;
ka?: CustomLocale | undefined;
ko?: CustomLocale | undefined;
km?: CustomLocale | undefined;
kz?: CustomLocale | undefined;
lt?: CustomLocale | undefined;
lv?: CustomLocale | undefined;
mk?: CustomLocale | undefined;
mn?: CustomLocale | undefined;
ms?: CustomLocale | undefined;
my?: CustomLocale | undefined;
nl?: CustomLocale | undefined;
nn?: CustomLocale | undefined;
no?: CustomLocale | undefined;
pa?: CustomLocale | undefined;
pl?: CustomLocale | undefined;
pt?: CustomLocale | undefined;
ro?: CustomLocale | undefined;
ru?: CustomLocale | undefined;
si?: CustomLocale | undefined;
sk?: CustomLocale | undefined;
sl?: CustomLocale | undefined;
sq?: CustomLocale | undefined;
sr?: CustomLocale | undefined;
sv?: CustomLocale | undefined;
th?: CustomLocale | undefined;
tr?: CustomLocale | undefined;
uk?: CustomLocale | undefined;
vn?: CustomLocale | undefined;
zh?: CustomLocale | undefined;
uz?: CustomLocale | undefined;
uz_latn?: CustomLocale | undefined;
zh_tw?: CustomLocale | undefined;
} & {
default: import("../types/locale").Locale;
};
export default _default;
dist/l10n/fr.js 0000644 00000003634 15167673014 0007246 0 ustar 00 (function (global, factory) {
typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports) :
typeof define === 'function' && define.amd ? define(['exports'], factory) :
(global = typeof globalThis !== 'undefined' ? globalThis : global || self, factory(global.fr = {}));
}(this, (function (exports) { 'use strict';
var fp = typeof window !== "undefined" && window.flatpickr !== undefined
? window.flatpickr
: {
l10ns: {},
};
var French = {
firstDayOfWeek: 1,
weekdays: {
shorthand: ["dim", "lun", "mar", "mer", "jeu", "ven", "sam"],
longhand: [
"dimanche",
"lundi",
"mardi",
"mercredi",
"jeudi",
"vendredi",
"samedi",
],
},
months: {
shorthand: [
"janv",
"févr",
"mars",
"avr",
"mai",
"juin",
"juil",
"août",
"sept",
"oct",
"nov",
"déc",
],
longhand: [
"janvier",
"février",
"mars",
"avril",
"mai",
"juin",
"juillet",
"août",
"septembre",
"octobre",
"novembre",
"décembre",
],
},
ordinal: function (nth) {
if (nth > 1)
return "";
return "er";
},
rangeSeparator: " au ",
weekAbbreviation: "Sem",
scrollTitle: "Défiler pour augmenter la valeur",
toggleTitle: "Cliquer pour basculer",
time_24hr: true,
};
fp.l10ns.fr = French;
var fr = fp.l10ns;
exports.French = French;
exports.default = fr;
Object.defineProperty(exports, '__esModule', { value: true });
})));
dist/l10n/nl.d.ts 0000644 00000004667 15167673014 0007513 0 ustar 00 import { CustomLocale } from "../types/locale";
export declare const Dutch: CustomLocale;
declare const _default: {
ar?: CustomLocale | undefined;
at?: CustomLocale | undefined;
az?: CustomLocale | undefined;
be?: CustomLocale | undefined;
bg?: CustomLocale | undefined;
bn?: CustomLocale | undefined;
bs?: CustomLocale | undefined;
ca?: CustomLocale | undefined;
cat?: CustomLocale | undefined;
ckb?: CustomLocale | undefined;
cs?: CustomLocale | undefined;
cy?: CustomLocale | undefined;
da?: CustomLocale | undefined;
de?: CustomLocale | undefined;
default?: CustomLocale | undefined;
en?: CustomLocale | undefined;
eo?: CustomLocale | undefined;
es?: CustomLocale | undefined;
et?: CustomLocale | undefined;
fa?: CustomLocale | undefined;
fi?: CustomLocale | undefined;
fo?: CustomLocale | undefined;
fr?: CustomLocale | undefined;
gr?: CustomLocale | undefined;
he?: CustomLocale | undefined;
hi?: CustomLocale | undefined;
hr?: CustomLocale | undefined;
hu?: CustomLocale | undefined;
hy?: CustomLocale | undefined;
id?: CustomLocale | undefined;
is?: CustomLocale | undefined;
it?: CustomLocale | undefined;
ja?: CustomLocale | undefined;
ka?: CustomLocale | undefined;
ko?: CustomLocale | undefined;
km?: CustomLocale | undefined;
kz?: CustomLocale | undefined;
lt?: CustomLocale | undefined;
lv?: CustomLocale | undefined;
mk?: CustomLocale | undefined;
mn?: CustomLocale | undefined;
ms?: CustomLocale | undefined;
my?: CustomLocale | undefined;
nl?: CustomLocale | undefined;
nn?: CustomLocale | undefined;
no?: CustomLocale | undefined;
pa?: CustomLocale | undefined;
pl?: CustomLocale | undefined;
pt?: CustomLocale | undefined;
ro?: CustomLocale | undefined;
ru?: CustomLocale | undefined;
si?: CustomLocale | undefined;
sk?: CustomLocale | undefined;
sl?: CustomLocale | undefined;
sq?: CustomLocale | undefined;
sr?: CustomLocale | undefined;
sv?: CustomLocale | undefined;
th?: CustomLocale | undefined;
tr?: CustomLocale | undefined;
uk?: CustomLocale | undefined;
vn?: CustomLocale | undefined;
zh?: CustomLocale | undefined;
uz?: CustomLocale | undefined;
uz_latn?: CustomLocale | undefined;
zh_tw?: CustomLocale | undefined;
} & {
default: import("../types/locale").Locale;
};
export default _default;
dist/l10n/fo.js 0000644 00000003615 15167673014 0007242 0 ustar 00 (function (global, factory) {
typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports) :
typeof define === 'function' && define.amd ? define(['exports'], factory) :
(global = typeof globalThis !== 'undefined' ? globalThis : global || self, factory(global.fo = {}));
}(this, (function (exports) { 'use strict';
var fp = typeof window !== "undefined" && window.flatpickr !== undefined
? window.flatpickr
: {
l10ns: {},
};
var Faroese = {
weekdays: {
shorthand: ["Sun", "Mán", "Týs", "Mik", "Hós", "Frí", "Ley"],
longhand: [
"Sunnudagur",
"Mánadagur",
"Týsdagur",
"Mikudagur",
"Hósdagur",
"Fríggjadagur",
"Leygardagur",
],
},
months: {
shorthand: [
"Jan",
"Feb",
"Mar",
"Apr",
"Mai",
"Jun",
"Jul",
"Aug",
"Sep",
"Okt",
"Nov",
"Des",
],
longhand: [
"Januar",
"Februar",
"Mars",
"Apríl",
"Mai",
"Juni",
"Juli",
"August",
"Septembur",
"Oktobur",
"Novembur",
"Desembur",
],
},
ordinal: function () {
return ".";
},
firstDayOfWeek: 1,
rangeSeparator: " til ",
weekAbbreviation: "vika",
scrollTitle: "Rulla fyri at broyta",
toggleTitle: "Trýst fyri at skifta",
yearAriaLabel: "Ár",
time_24hr: true,
};
fp.l10ns.fo = Faroese;
var fo = fp.l10ns;
exports.Faroese = Faroese;
exports.default = fo;
Object.defineProperty(exports, '__esModule', { value: true });
})));
dist/l10n/is.js 0000644 00000003526 15167673014 0007252 0 ustar 00 (function (global, factory) {
typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports) :
typeof define === 'function' && define.amd ? define(['exports'], factory) :
(global = typeof globalThis !== 'undefined' ? globalThis : global || self, factory(global.is = {}));
}(this, (function (exports) { 'use strict';
var fp = typeof window !== "undefined" && window.flatpickr !== undefined
? window.flatpickr
: {
l10ns: {},
};
var Icelandic = {
weekdays: {
shorthand: ["Sun", "Mán", "Þri", "Mið", "Fim", "Fös", "Lau"],
longhand: [
"Sunnudagur",
"Mánudagur",
"Þriðjudagur",
"Miðvikudagur",
"Fimmtudagur",
"Föstudagur",
"Laugardagur",
],
},
months: {
shorthand: [
"Jan",
"Feb",
"Mar",
"Apr",
"Maí",
"Jún",
"Júl",
"Ágú",
"Sep",
"Okt",
"Nóv",
"Des",
],
longhand: [
"Janúar",
"Febrúar",
"Mars",
"Apríl",
"Maí",
"Júní",
"Júlí",
"Ágúst",
"September",
"Október",
"Nóvember",
"Desember",
],
},
ordinal: function () {
return ".";
},
firstDayOfWeek: 1,
rangeSeparator: " til ",
weekAbbreviation: "vika",
yearAriaLabel: "Ár",
time_24hr: true,
};
fp.l10ns.is = Icelandic;
var is = fp.l10ns;
exports.Icelandic = Icelandic;
exports.default = is;
Object.defineProperty(exports, '__esModule', { value: true });
})));
dist/l10n/at.d.ts 0000644 00000004671 15167673014 0007501 0 ustar 00 import { CustomLocale } from "../types/locale";
export declare const Austria: CustomLocale;
declare const _default: {
ar?: CustomLocale | undefined;
at?: CustomLocale | undefined;
az?: CustomLocale | undefined;
be?: CustomLocale | undefined;
bg?: CustomLocale | undefined;
bn?: CustomLocale | undefined;
bs?: CustomLocale | undefined;
ca?: CustomLocale | undefined;
cat?: CustomLocale | undefined;
ckb?: CustomLocale | undefined;
cs?: CustomLocale | undefined;
cy?: CustomLocale | undefined;
da?: CustomLocale | undefined;
de?: CustomLocale | undefined;
default?: CustomLocale | undefined;
en?: CustomLocale | undefined;
eo?: CustomLocale | undefined;
es?: CustomLocale | undefined;
et?: CustomLocale | undefined;
fa?: CustomLocale | undefined;
fi?: CustomLocale | undefined;
fo?: CustomLocale | undefined;
fr?: CustomLocale | undefined;
gr?: CustomLocale | undefined;
he?: CustomLocale | undefined;
hi?: CustomLocale | undefined;
hr?: CustomLocale | undefined;
hu?: CustomLocale | undefined;
hy?: CustomLocale | undefined;
id?: CustomLocale | undefined;
is?: CustomLocale | undefined;
it?: CustomLocale | undefined;
ja?: CustomLocale | undefined;
ka?: CustomLocale | undefined;
ko?: CustomLocale | undefined;
km?: CustomLocale | undefined;
kz?: CustomLocale | undefined;
lt?: CustomLocale | undefined;
lv?: CustomLocale | undefined;
mk?: CustomLocale | undefined;
mn?: CustomLocale | undefined;
ms?: CustomLocale | undefined;
my?: CustomLocale | undefined;
nl?: CustomLocale | undefined;
nn?: CustomLocale | undefined;
no?: CustomLocale | undefined;
pa?: CustomLocale | undefined;
pl?: CustomLocale | undefined;
pt?: CustomLocale | undefined;
ro?: CustomLocale | undefined;
ru?: CustomLocale | undefined;
si?: CustomLocale | undefined;
sk?: CustomLocale | undefined;
sl?: CustomLocale | undefined;
sq?: CustomLocale | undefined;
sr?: CustomLocale | undefined;
sv?: CustomLocale | undefined;
th?: CustomLocale | undefined;
tr?: CustomLocale | undefined;
uk?: CustomLocale | undefined;
vn?: CustomLocale | undefined;
zh?: CustomLocale | undefined;
uz?: CustomLocale | undefined;
uz_latn?: CustomLocale | undefined;
zh_tw?: CustomLocale | undefined;
} & {
default: import("../types/locale").Locale;
};
export default _default;
dist/l10n/uz.js 0000644 00000004116 15167673014 0007271 0 ustar 00 (function (global, factory) {
typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports) :
typeof define === 'function' && define.amd ? define(['exports'], factory) :
(global = typeof globalThis !== 'undefined' ? globalThis : global || self, factory(global.uz = {}));
}(this, (function (exports) { 'use strict';
var fp = typeof window !== "undefined" && window.flatpickr !== undefined
? window.flatpickr
: {
l10ns: {},
};
var Uzbek = {
weekdays: {
shorthand: ["Якш", "Душ", "Сеш", "Чор", "Пай", "Жум", "Шан"],
longhand: [
"Якшанба",
"Душанба",
"Сешанба",
"Чоршанба",
"Пайшанба",
"Жума",
"Шанба",
],
},
months: {
shorthand: [
"Янв",
"Фев",
"Мар",
"Апр",
"Май",
"Июн",
"Июл",
"Авг",
"Сен",
"Окт",
"Ноя",
"Дек",
],
longhand: [
"Январ",
"Феврал",
"Март",
"Апрел",
"Май",
"Июн",
"Июл",
"Август",
"Сентябр",
"Октябр",
"Ноябр",
"Декабр",
],
},
firstDayOfWeek: 1,
ordinal: function () {
return "";
},
rangeSeparator: " — ",
weekAbbreviation: "Ҳафта",
scrollTitle: "Катталаштириш учун айлантиринг",
toggleTitle: "Ўтиш учун босинг",
amPM: ["AM", "PM"],
yearAriaLabel: "Йил",
time_24hr: true,
};
fp.l10ns.uz = Uzbek;
var uz = fp.l10ns;
exports.Uzbek = Uzbek;
exports.default = uz;
Object.defineProperty(exports, '__esModule', { value: true });
})));
dist/l10n/bg.js 0000644 00000003455 15167673014 0007230 0 ustar 00 (function (global, factory) {
typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports) :
typeof define === 'function' && define.amd ? define(['exports'], factory) :
(global = typeof globalThis !== 'undefined' ? globalThis : global || self, factory(global.bg = {}));
}(this, (function (exports) { 'use strict';
var fp = typeof window !== "undefined" && window.flatpickr !== undefined
? window.flatpickr
: {
l10ns: {},
};
var Bulgarian = {
weekdays: {
shorthand: ["Нд", "Пн", "Вт", "Ср", "Чт", "Пт", "Сб"],
longhand: [
"Неделя",
"Понеделник",
"Вторник",
"Сряда",
"Четвъртък",
"Петък",
"Събота",
],
},
months: {
shorthand: [
"Яну",
"Фев",
"Март",
"Апр",
"Май",
"Юни",
"Юли",
"Авг",
"Сеп",
"Окт",
"Ное",
"Дек",
],
longhand: [
"Януари",
"Февруари",
"Март",
"Април",
"Май",
"Юни",
"Юли",
"Август",
"Септември",
"Октомври",
"Ноември",
"Декември",
],
},
time_24hr: true,
firstDayOfWeek: 1,
};
fp.l10ns.bg = Bulgarian;
var bg = fp.l10ns;
exports.Bulgarian = Bulgarian;
exports.default = bg;
Object.defineProperty(exports, '__esModule', { value: true });
})));
dist/l10n/ja.d.ts 0000644 00000004672 15167673014 0007470 0 ustar 00 import { CustomLocale } from "../types/locale";
export declare const Japanese: CustomLocale;
declare const _default: {
ar?: CustomLocale | undefined;
at?: CustomLocale | undefined;
az?: CustomLocale | undefined;
be?: CustomLocale | undefined;
bg?: CustomLocale | undefined;
bn?: CustomLocale | undefined;
bs?: CustomLocale | undefined;
ca?: CustomLocale | undefined;
cat?: CustomLocale | undefined;
ckb?: CustomLocale | undefined;
cs?: CustomLocale | undefined;
cy?: CustomLocale | undefined;
da?: CustomLocale | undefined;
de?: CustomLocale | undefined;
default?: CustomLocale | undefined;
en?: CustomLocale | undefined;
eo?: CustomLocale | undefined;
es?: CustomLocale | undefined;
et?: CustomLocale | undefined;
fa?: CustomLocale | undefined;
fi?: CustomLocale | undefined;
fo?: CustomLocale | undefined;
fr?: CustomLocale | undefined;
gr?: CustomLocale | undefined;
he?: CustomLocale | undefined;
hi?: CustomLocale | undefined;
hr?: CustomLocale | undefined;
hu?: CustomLocale | undefined;
hy?: CustomLocale | undefined;
id?: CustomLocale | undefined;
is?: CustomLocale | undefined;
it?: CustomLocale | undefined;
ja?: CustomLocale | undefined;
ka?: CustomLocale | undefined;
ko?: CustomLocale | undefined;
km?: CustomLocale | undefined;
kz?: CustomLocale | undefined;
lt?: CustomLocale | undefined;
lv?: CustomLocale | undefined;
mk?: CustomLocale | undefined;
mn?: CustomLocale | undefined;
ms?: CustomLocale | undefined;
my?: CustomLocale | undefined;
nl?: CustomLocale | undefined;
nn?: CustomLocale | undefined;
no?: CustomLocale | undefined;
pa?: CustomLocale | undefined;
pl?: CustomLocale | undefined;
pt?: CustomLocale | undefined;
ro?: CustomLocale | undefined;
ru?: CustomLocale | undefined;
si?: CustomLocale | undefined;
sk?: CustomLocale | undefined;
sl?: CustomLocale | undefined;
sq?: CustomLocale | undefined;
sr?: CustomLocale | undefined;
sv?: CustomLocale | undefined;
th?: CustomLocale | undefined;
tr?: CustomLocale | undefined;
uk?: CustomLocale | undefined;
vn?: CustomLocale | undefined;
zh?: CustomLocale | undefined;
uz?: CustomLocale | undefined;
uz_latn?: CustomLocale | undefined;
zh_tw?: CustomLocale | undefined;
} & {
default: import("../types/locale").Locale;
};
export default _default;
dist/l10n/bs.js 0000644 00000003210 15167673014 0007231 0 ustar 00 (function (global, factory) {
typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports) :
typeof define === 'function' && define.amd ? define(['exports'], factory) :
(global = typeof globalThis !== 'undefined' ? globalThis : global || self, factory(global.bs = {}));
}(this, (function (exports) { 'use strict';
var fp = typeof window !== "undefined" && window.flatpickr !== undefined
? window.flatpickr
: {
l10ns: {},
};
var Bosnian = {
firstDayOfWeek: 1,
weekdays: {
shorthand: ["Ned", "Pon", "Uto", "Sri", "Čet", "Pet", "Sub"],
longhand: [
"Nedjelja",
"Ponedjeljak",
"Utorak",
"Srijeda",
"Četvrtak",
"Petak",
"Subota",
],
},
months: {
shorthand: [
"Jan",
"Feb",
"Mar",
"Apr",
"Maj",
"Jun",
"Jul",
"Avg",
"Sep",
"Okt",
"Nov",
"Dec",
],
longhand: [
"Januar",
"Februar",
"Mart",
"April",
"Maj",
"Juni",
"Juli",
"Avgust",
"Septembar",
"Oktobar",
"Novembar",
"Decembar",
],
},
time_24hr: true,
};
fp.l10ns.bs = Bosnian;
var bs = fp.l10ns;
exports.Bosnian = Bosnian;
exports.default = bs;
Object.defineProperty(exports, '__esModule', { value: true });
})));
dist/l10n/uz.d.ts 0000644 00000004667 15167673014 0007540 0 ustar 00 import { CustomLocale } from "../types/locale";
export declare const Uzbek: CustomLocale;
declare const _default: {
ar?: CustomLocale | undefined;
at?: CustomLocale | undefined;
az?: CustomLocale | undefined;
be?: CustomLocale | undefined;
bg?: CustomLocale | undefined;
bn?: CustomLocale | undefined;
bs?: CustomLocale | undefined;
ca?: CustomLocale | undefined;
cat?: CustomLocale | undefined;
ckb?: CustomLocale | undefined;
cs?: CustomLocale | undefined;
cy?: CustomLocale | undefined;
da?: CustomLocale | undefined;
de?: CustomLocale | undefined;
default?: CustomLocale | undefined;
en?: CustomLocale | undefined;
eo?: CustomLocale | undefined;
es?: CustomLocale | undefined;
et?: CustomLocale | undefined;
fa?: CustomLocale | undefined;
fi?: CustomLocale | undefined;
fo?: CustomLocale | undefined;
fr?: CustomLocale | undefined;
gr?: CustomLocale | undefined;
he?: CustomLocale | undefined;
hi?: CustomLocale | undefined;
hr?: CustomLocale | undefined;
hu?: CustomLocale | undefined;
hy?: CustomLocale | undefined;
id?: CustomLocale | undefined;
is?: CustomLocale | undefined;
it?: CustomLocale | undefined;
ja?: CustomLocale | undefined;
ka?: CustomLocale | undefined;
ko?: CustomLocale | undefined;
km?: CustomLocale | undefined;
kz?: CustomLocale | undefined;
lt?: CustomLocale | undefined;
lv?: CustomLocale | undefined;
mk?: CustomLocale | undefined;
mn?: CustomLocale | undefined;
ms?: CustomLocale | undefined;
my?: CustomLocale | undefined;
nl?: CustomLocale | undefined;
nn?: CustomLocale | undefined;
no?: CustomLocale | undefined;
pa?: CustomLocale | undefined;
pl?: CustomLocale | undefined;
pt?: CustomLocale | undefined;
ro?: CustomLocale | undefined;
ru?: CustomLocale | undefined;
si?: CustomLocale | undefined;
sk?: CustomLocale | undefined;
sl?: CustomLocale | undefined;
sq?: CustomLocale | undefined;
sr?: CustomLocale | undefined;
sv?: CustomLocale | undefined;
th?: CustomLocale | undefined;
tr?: CustomLocale | undefined;
uk?: CustomLocale | undefined;
vn?: CustomLocale | undefined;
zh?: CustomLocale | undefined;
uz?: CustomLocale | undefined;
uz_latn?: CustomLocale | undefined;
zh_tw?: CustomLocale | undefined;
} & {
default: import("../types/locale").Locale;
};
export default _default;
dist/l10n/km.d.ts 0000644 00000004667 15167673014 0007511 0 ustar 00 import { CustomLocale } from "../types/locale";
export declare const Khmer: CustomLocale;
declare const _default: {
ar?: CustomLocale | undefined;
at?: CustomLocale | undefined;
az?: CustomLocale | undefined;
be?: CustomLocale | undefined;
bg?: CustomLocale | undefined;
bn?: CustomLocale | undefined;
bs?: CustomLocale | undefined;
ca?: CustomLocale | undefined;
cat?: CustomLocale | undefined;
ckb?: CustomLocale | undefined;
cs?: CustomLocale | undefined;
cy?: CustomLocale | undefined;
da?: CustomLocale | undefined;
de?: CustomLocale | undefined;
default?: CustomLocale | undefined;
en?: CustomLocale | undefined;
eo?: CustomLocale | undefined;
es?: CustomLocale | undefined;
et?: CustomLocale | undefined;
fa?: CustomLocale | undefined;
fi?: CustomLocale | undefined;
fo?: CustomLocale | undefined;
fr?: CustomLocale | undefined;
gr?: CustomLocale | undefined;
he?: CustomLocale | undefined;
hi?: CustomLocale | undefined;
hr?: CustomLocale | undefined;
hu?: CustomLocale | undefined;
hy?: CustomLocale | undefined;
id?: CustomLocale | undefined;
is?: CustomLocale | undefined;
it?: CustomLocale | undefined;
ja?: CustomLocale | undefined;
ka?: CustomLocale | undefined;
ko?: CustomLocale | undefined;
km?: CustomLocale | undefined;
kz?: CustomLocale | undefined;
lt?: CustomLocale | undefined;
lv?: CustomLocale | undefined;
mk?: CustomLocale | undefined;
mn?: CustomLocale | undefined;
ms?: CustomLocale | undefined;
my?: CustomLocale | undefined;
nl?: CustomLocale | undefined;
nn?: CustomLocale | undefined;
no?: CustomLocale | undefined;
pa?: CustomLocale | undefined;
pl?: CustomLocale | undefined;
pt?: CustomLocale | undefined;
ro?: CustomLocale | undefined;
ru?: CustomLocale | undefined;
si?: CustomLocale | undefined;
sk?: CustomLocale | undefined;
sl?: CustomLocale | undefined;
sq?: CustomLocale | undefined;
sr?: CustomLocale | undefined;
sv?: CustomLocale | undefined;
th?: CustomLocale | undefined;
tr?: CustomLocale | undefined;
uk?: CustomLocale | undefined;
vn?: CustomLocale | undefined;
zh?: CustomLocale | undefined;
uz?: CustomLocale | undefined;
uz_latn?: CustomLocale | undefined;
zh_tw?: CustomLocale | undefined;
} & {
default: import("../types/locale").Locale;
};
export default _default;
dist/l10n/cs.d.ts 0000644 00000004667 15167673014 0007507 0 ustar 00 import { CustomLocale } from "../types/locale";
export declare const Czech: CustomLocale;
declare const _default: {
ar?: CustomLocale | undefined;
at?: CustomLocale | undefined;
az?: CustomLocale | undefined;
be?: CustomLocale | undefined;
bg?: CustomLocale | undefined;
bn?: CustomLocale | undefined;
bs?: CustomLocale | undefined;
ca?: CustomLocale | undefined;
cat?: CustomLocale | undefined;
ckb?: CustomLocale | undefined;
cs?: CustomLocale | undefined;
cy?: CustomLocale | undefined;
da?: CustomLocale | undefined;
de?: CustomLocale | undefined;
default?: CustomLocale | undefined;
en?: CustomLocale | undefined;
eo?: CustomLocale | undefined;
es?: CustomLocale | undefined;
et?: CustomLocale | undefined;
fa?: CustomLocale | undefined;
fi?: CustomLocale | undefined;
fo?: CustomLocale | undefined;
fr?: CustomLocale | undefined;
gr?: CustomLocale | undefined;
he?: CustomLocale | undefined;
hi?: CustomLocale | undefined;
hr?: CustomLocale | undefined;
hu?: CustomLocale | undefined;
hy?: CustomLocale | undefined;
id?: CustomLocale | undefined;
is?: CustomLocale | undefined;
it?: CustomLocale | undefined;
ja?: CustomLocale | undefined;
ka?: CustomLocale | undefined;
ko?: CustomLocale | undefined;
km?: CustomLocale | undefined;
kz?: CustomLocale | undefined;
lt?: CustomLocale | undefined;
lv?: CustomLocale | undefined;
mk?: CustomLocale | undefined;
mn?: CustomLocale | undefined;
ms?: CustomLocale | undefined;
my?: CustomLocale | undefined;
nl?: CustomLocale | undefined;
nn?: CustomLocale | undefined;
no?: CustomLocale | undefined;
pa?: CustomLocale | undefined;
pl?: CustomLocale | undefined;
pt?: CustomLocale | undefined;
ro?: CustomLocale | undefined;
ru?: CustomLocale | undefined;
si?: CustomLocale | undefined;
sk?: CustomLocale | undefined;
sl?: CustomLocale | undefined;
sq?: CustomLocale | undefined;
sr?: CustomLocale | undefined;
sv?: CustomLocale | undefined;
th?: CustomLocale | undefined;
tr?: CustomLocale | undefined;
uk?: CustomLocale | undefined;
vn?: CustomLocale | undefined;
zh?: CustomLocale | undefined;
uz?: CustomLocale | undefined;
uz_latn?: CustomLocale | undefined;
zh_tw?: CustomLocale | undefined;
} & {
default: import("../types/locale").Locale;
};
export default _default;
dist/l10n/cat.js 0000644 00000004142 15167673014 0007401 0 ustar 00 (function (global, factory) {
typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports) :
typeof define === 'function' && define.amd ? define(['exports'], factory) :
(global = typeof globalThis !== 'undefined' ? globalThis : global || self, factory(global.cat = {}));
}(this, (function (exports) { 'use strict';
var fp = typeof window !== "undefined" && window.flatpickr !== undefined
? window.flatpickr
: {
l10ns: {},
};
var Catalan = {
weekdays: {
shorthand: ["Dg", "Dl", "Dt", "Dc", "Dj", "Dv", "Ds"],
longhand: [
"Diumenge",
"Dilluns",
"Dimarts",
"Dimecres",
"Dijous",
"Divendres",
"Dissabte",
],
},
months: {
shorthand: [
"Gen",
"Febr",
"Març",
"Abr",
"Maig",
"Juny",
"Jul",
"Ag",
"Set",
"Oct",
"Nov",
"Des",
],
longhand: [
"Gener",
"Febrer",
"Març",
"Abril",
"Maig",
"Juny",
"Juliol",
"Agost",
"Setembre",
"Octubre",
"Novembre",
"Desembre",
],
},
ordinal: function (nth) {
var s = nth % 100;
if (s > 3 && s < 21)
return "è";
switch (s % 10) {
case 1:
return "r";
case 2:
return "n";
case 3:
return "r";
case 4:
return "t";
default:
return "è";
}
},
firstDayOfWeek: 1,
rangeSeparator: " a ",
time_24hr: true,
};
fp.l10ns.cat = fp.l10ns.ca = Catalan;
var cat = fp.l10ns;
exports.Catalan = Catalan;
exports.default = cat;
Object.defineProperty(exports, '__esModule', { value: true });
})));
dist/l10n/id.d.ts 0000644 00000004674 15167673014 0007474 0 ustar 00 import { CustomLocale } from "../types/locale";
export declare const Indonesian: CustomLocale;
declare const _default: {
ar?: CustomLocale | undefined;
at?: CustomLocale | undefined;
az?: CustomLocale | undefined;
be?: CustomLocale | undefined;
bg?: CustomLocale | undefined;
bn?: CustomLocale | undefined;
bs?: CustomLocale | undefined;
ca?: CustomLocale | undefined;
cat?: CustomLocale | undefined;
ckb?: CustomLocale | undefined;
cs?: CustomLocale | undefined;
cy?: CustomLocale | undefined;
da?: CustomLocale | undefined;
de?: CustomLocale | undefined;
default?: CustomLocale | undefined;
en?: CustomLocale | undefined;
eo?: CustomLocale | undefined;
es?: CustomLocale | undefined;
et?: CustomLocale | undefined;
fa?: CustomLocale | undefined;
fi?: CustomLocale | undefined;
fo?: CustomLocale | undefined;
fr?: CustomLocale | undefined;
gr?: CustomLocale | undefined;
he?: CustomLocale | undefined;
hi?: CustomLocale | undefined;
hr?: CustomLocale | undefined;
hu?: CustomLocale | undefined;
hy?: CustomLocale | undefined;
id?: CustomLocale | undefined;
is?: CustomLocale | undefined;
it?: CustomLocale | undefined;
ja?: CustomLocale | undefined;
ka?: CustomLocale | undefined;
ko?: CustomLocale | undefined;
km?: CustomLocale | undefined;
kz?: CustomLocale | undefined;
lt?: CustomLocale | undefined;
lv?: CustomLocale | undefined;
mk?: CustomLocale | undefined;
mn?: CustomLocale | undefined;
ms?: CustomLocale | undefined;
my?: CustomLocale | undefined;
nl?: CustomLocale | undefined;
nn?: CustomLocale | undefined;
no?: CustomLocale | undefined;
pa?: CustomLocale | undefined;
pl?: CustomLocale | undefined;
pt?: CustomLocale | undefined;
ro?: CustomLocale | undefined;
ru?: CustomLocale | undefined;
si?: CustomLocale | undefined;
sk?: CustomLocale | undefined;
sl?: CustomLocale | undefined;
sq?: CustomLocale | undefined;
sr?: CustomLocale | undefined;
sv?: CustomLocale | undefined;
th?: CustomLocale | undefined;
tr?: CustomLocale | undefined;
uk?: CustomLocale | undefined;
vn?: CustomLocale | undefined;
zh?: CustomLocale | undefined;
uz?: CustomLocale | undefined;
uz_latn?: CustomLocale | undefined;
zh_tw?: CustomLocale | undefined;
} & {
default: import("../types/locale").Locale;
};
export default _default;
dist/l10n/my.d.ts 0000644 00000004671 15167673014 0007522 0 ustar 00 import { CustomLocale } from "../types/locale";
export declare const Burmese: CustomLocale;
declare const _default: {
ar?: CustomLocale | undefined;
at?: CustomLocale | undefined;
az?: CustomLocale | undefined;
be?: CustomLocale | undefined;
bg?: CustomLocale | undefined;
bn?: CustomLocale | undefined;
bs?: CustomLocale | undefined;
ca?: CustomLocale | undefined;
cat?: CustomLocale | undefined;
ckb?: CustomLocale | undefined;
cs?: CustomLocale | undefined;
cy?: CustomLocale | undefined;
da?: CustomLocale | undefined;
de?: CustomLocale | undefined;
default?: CustomLocale | undefined;
en?: CustomLocale | undefined;
eo?: CustomLocale | undefined;
es?: CustomLocale | undefined;
et?: CustomLocale | undefined;
fa?: CustomLocale | undefined;
fi?: CustomLocale | undefined;
fo?: CustomLocale | undefined;
fr?: CustomLocale | undefined;
gr?: CustomLocale | undefined;
he?: CustomLocale | undefined;
hi?: CustomLocale | undefined;
hr?: CustomLocale | undefined;
hu?: CustomLocale | undefined;
hy?: CustomLocale | undefined;
id?: CustomLocale | undefined;
is?: CustomLocale | undefined;
it?: CustomLocale | undefined;
ja?: CustomLocale | undefined;
ka?: CustomLocale | undefined;
ko?: CustomLocale | undefined;
km?: CustomLocale | undefined;
kz?: CustomLocale | undefined;
lt?: CustomLocale | undefined;
lv?: CustomLocale | undefined;
mk?: CustomLocale | undefined;
mn?: CustomLocale | undefined;
ms?: CustomLocale | undefined;
my?: CustomLocale | undefined;
nl?: CustomLocale | undefined;
nn?: CustomLocale | undefined;
no?: CustomLocale | undefined;
pa?: CustomLocale | undefined;
pl?: CustomLocale | undefined;
pt?: CustomLocale | undefined;
ro?: CustomLocale | undefined;
ru?: CustomLocale | undefined;
si?: CustomLocale | undefined;
sk?: CustomLocale | undefined;
sl?: CustomLocale | undefined;
sq?: CustomLocale | undefined;
sr?: CustomLocale | undefined;
sv?: CustomLocale | undefined;
th?: CustomLocale | undefined;
tr?: CustomLocale | undefined;
uk?: CustomLocale | undefined;
vn?: CustomLocale | undefined;
zh?: CustomLocale | undefined;
uz?: CustomLocale | undefined;
uz_latn?: CustomLocale | undefined;
zh_tw?: CustomLocale | undefined;
} & {
default: import("../types/locale").Locale;
};
export default _default;
dist/l10n/hu.d.ts 0000644 00000004673 15167673014 0007513 0 ustar 00 import { CustomLocale } from "../types/locale";
export declare const Hungarian: CustomLocale;
declare const _default: {
ar?: CustomLocale | undefined;
at?: CustomLocale | undefined;
az?: CustomLocale | undefined;
be?: CustomLocale | undefined;
bg?: CustomLocale | undefined;
bn?: CustomLocale | undefined;
bs?: CustomLocale | undefined;
ca?: CustomLocale | undefined;
cat?: CustomLocale | undefined;
ckb?: CustomLocale | undefined;
cs?: CustomLocale | undefined;
cy?: CustomLocale | undefined;
da?: CustomLocale | undefined;
de?: CustomLocale | undefined;
default?: CustomLocale | undefined;
en?: CustomLocale | undefined;
eo?: CustomLocale | undefined;
es?: CustomLocale | undefined;
et?: CustomLocale | undefined;
fa?: CustomLocale | undefined;
fi?: CustomLocale | undefined;
fo?: CustomLocale | undefined;
fr?: CustomLocale | undefined;
gr?: CustomLocale | undefined;
he?: CustomLocale | undefined;
hi?: CustomLocale | undefined;
hr?: CustomLocale | undefined;
hu?: CustomLocale | undefined;
hy?: CustomLocale | undefined;
id?: CustomLocale | undefined;
is?: CustomLocale | undefined;
it?: CustomLocale | undefined;
ja?: CustomLocale | undefined;
ka?: CustomLocale | undefined;
ko?: CustomLocale | undefined;
km?: CustomLocale | undefined;
kz?: CustomLocale | undefined;
lt?: CustomLocale | undefined;
lv?: CustomLocale | undefined;
mk?: CustomLocale | undefined;
mn?: CustomLocale | undefined;
ms?: CustomLocale | undefined;
my?: CustomLocale | undefined;
nl?: CustomLocale | undefined;
nn?: CustomLocale | undefined;
no?: CustomLocale | undefined;
pa?: CustomLocale | undefined;
pl?: CustomLocale | undefined;
pt?: CustomLocale | undefined;
ro?: CustomLocale | undefined;
ru?: CustomLocale | undefined;
si?: CustomLocale | undefined;
sk?: CustomLocale | undefined;
sl?: CustomLocale | undefined;
sq?: CustomLocale | undefined;
sr?: CustomLocale | undefined;
sv?: CustomLocale | undefined;
th?: CustomLocale | undefined;
tr?: CustomLocale | undefined;
uk?: CustomLocale | undefined;
vn?: CustomLocale | undefined;
zh?: CustomLocale | undefined;
uz?: CustomLocale | undefined;
uz_latn?: CustomLocale | undefined;
zh_tw?: CustomLocale | undefined;
} & {
default: import("../types/locale").Locale;
};
export default _default;
dist/l10n/uz_latn.js 0000644 00000003666 15167673014 0010320 0 ustar 00 (function (global, factory) {
typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports) :
typeof define === 'function' && define.amd ? define(['exports'], factory) :
(global = typeof globalThis !== 'undefined' ? globalThis : global || self, factory(global.uz_latn = {}));
}(this, (function (exports) { 'use strict';
var fp = typeof window !== "undefined" && window.flatpickr !== undefined
? window.flatpickr
: {
l10ns: {},
};
var UzbekLatin = {
weekdays: {
shorthand: ["Ya", "Du", "Se", "Cho", "Pa", "Ju", "Sha"],
longhand: [
"Yakshanba",
"Dushanba",
"Seshanba",
"Chorshanba",
"Payshanba",
"Juma",
"Shanba",
],
},
months: {
shorthand: [
"Yan",
"Fev",
"Mar",
"Apr",
"May",
"Iyun",
"Iyul",
"Avg",
"Sen",
"Okt",
"Noy",
"Dek",
],
longhand: [
"Yanvar",
"Fevral",
"Mart",
"Aprel",
"May",
"Iyun",
"Iyul",
"Avgust",
"Sentabr",
"Oktabr",
"Noyabr",
"Dekabr",
],
},
firstDayOfWeek: 1,
ordinal: function () {
return "";
},
rangeSeparator: " — ",
weekAbbreviation: "Hafta",
scrollTitle: "Kattalashtirish uchun aylantiring",
toggleTitle: "O‘tish uchun bosing",
amPM: ["AM", "PM"],
yearAriaLabel: "Yil",
time_24hr: true,
};
fp.l10ns["uz_latn"] = UzbekLatin;
var uz_latn = fp.l10ns;
exports.UzbekLatin = UzbekLatin;
exports.default = uz_latn;
Object.defineProperty(exports, '__esModule', { value: true });
})));
dist/l10n/my.js 0000644 00000004047 15167673014 0007263 0 ustar 00 (function (global, factory) {
typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports) :
typeof define === 'function' && define.amd ? define(['exports'], factory) :
(global = typeof globalThis !== 'undefined' ? globalThis : global || self, factory(global.my = {}));
}(this, (function (exports) { 'use strict';
var fp = typeof window !== "undefined" && window.flatpickr !== undefined
? window.flatpickr
: {
l10ns: {},
};
var Burmese = {
weekdays: {
shorthand: ["နွေ", "လာ", "ဂါ", "ဟူး", "ကြာ", "သော", "နေ"],
longhand: [
"တနင်္ဂနွေ",
"တနင်္လာ",
"အင်္ဂါ",
"ဗုဒ္ဓဟူး",
"ကြာသပတေး",
"သောကြာ",
"စနေ",
],
},
months: {
shorthand: [
"ဇန်",
"ဖေ",
"မတ်",
"ပြီ",
"မေ",
"ဇွန်",
"လိုင်",
"သြ",
"စက်",
"အောက်",
"နို",
"ဒီ",
],
longhand: [
"ဇန်နဝါရီ",
"ဖေဖော်ဝါရီ",
"မတ်",
"ဧပြီ",
"မေ",
"ဇွန်",
"ဇူလိုင်",
"သြဂုတ်",
"စက်တင်ဘာ",
"အောက်တိုဘာ",
"နိုဝင်ဘာ",
"ဒီဇင်ဘာ",
],
},
firstDayOfWeek: 1,
ordinal: function () {
return "";
},
time_24hr: true,
};
fp.l10ns.my = Burmese;
var my = fp.l10ns;
exports.Burmese = Burmese;
exports.default = my;
Object.defineProperty(exports, '__esModule', { value: true });
})));
dist/l10n/es.js 0000644 00000003345 15167673014 0007245 0 ustar 00 (function (global, factory) {
typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports) :
typeof define === 'function' && define.amd ? define(['exports'], factory) :
(global = typeof globalThis !== 'undefined' ? globalThis : global || self, factory(global.es = {}));
}(this, (function (exports) { 'use strict';
var fp = typeof window !== "undefined" && window.flatpickr !== undefined
? window.flatpickr
: {
l10ns: {},
};
var Spanish = {
weekdays: {
shorthand: ["Dom", "Lun", "Mar", "Mié", "Jue", "Vie", "Sáb"],
longhand: [
"Domingo",
"Lunes",
"Martes",
"Miércoles",
"Jueves",
"Viernes",
"Sábado",
],
},
months: {
shorthand: [
"Ene",
"Feb",
"Mar",
"Abr",
"May",
"Jun",
"Jul",
"Ago",
"Sep",
"Oct",
"Nov",
"Dic",
],
longhand: [
"Enero",
"Febrero",
"Marzo",
"Abril",
"Mayo",
"Junio",
"Julio",
"Agosto",
"Septiembre",
"Octubre",
"Noviembre",
"Diciembre",
],
},
ordinal: function () {
return "º";
},
firstDayOfWeek: 1,
rangeSeparator: " a ",
time_24hr: true,
};
fp.l10ns.es = Spanish;
var es = fp.l10ns;
exports.Spanish = Spanish;
exports.default = es;
Object.defineProperty(exports, '__esModule', { value: true });
})));
dist/l10n/kz.d.ts 0000644 00000004670 15167673014 0007520 0 ustar 00 import { CustomLocale } from "../types/locale";
export declare const Kazakh: CustomLocale;
declare const _default: {
ar?: CustomLocale | undefined;
at?: CustomLocale | undefined;
az?: CustomLocale | undefined;
be?: CustomLocale | undefined;
bg?: CustomLocale | undefined;
bn?: CustomLocale | undefined;
bs?: CustomLocale | undefined;
ca?: CustomLocale | undefined;
cat?: CustomLocale | undefined;
ckb?: CustomLocale | undefined;
cs?: CustomLocale | undefined;
cy?: CustomLocale | undefined;
da?: CustomLocale | undefined;
de?: CustomLocale | undefined;
default?: CustomLocale | undefined;
en?: CustomLocale | undefined;
eo?: CustomLocale | undefined;
es?: CustomLocale | undefined;
et?: CustomLocale | undefined;
fa?: CustomLocale | undefined;
fi?: CustomLocale | undefined;
fo?: CustomLocale | undefined;
fr?: CustomLocale | undefined;
gr?: CustomLocale | undefined;
he?: CustomLocale | undefined;
hi?: CustomLocale | undefined;
hr?: CustomLocale | undefined;
hu?: CustomLocale | undefined;
hy?: CustomLocale | undefined;
id?: CustomLocale | undefined;
is?: CustomLocale | undefined;
it?: CustomLocale | undefined;
ja?: CustomLocale | undefined;
ka?: CustomLocale | undefined;
ko?: CustomLocale | undefined;
km?: CustomLocale | undefined;
kz?: CustomLocale | undefined;
lt?: CustomLocale | undefined;
lv?: CustomLocale | undefined;
mk?: CustomLocale | undefined;
mn?: CustomLocale | undefined;
ms?: CustomLocale | undefined;
my?: CustomLocale | undefined;
nl?: CustomLocale | undefined;
nn?: CustomLocale | undefined;
no?: CustomLocale | undefined;
pa?: CustomLocale | undefined;
pl?: CustomLocale | undefined;
pt?: CustomLocale | undefined;
ro?: CustomLocale | undefined;
ru?: CustomLocale | undefined;
si?: CustomLocale | undefined;
sk?: CustomLocale | undefined;
sl?: CustomLocale | undefined;
sq?: CustomLocale | undefined;
sr?: CustomLocale | undefined;
sv?: CustomLocale | undefined;
th?: CustomLocale | undefined;
tr?: CustomLocale | undefined;
uk?: CustomLocale | undefined;
vn?: CustomLocale | undefined;
zh?: CustomLocale | undefined;
uz?: CustomLocale | undefined;
uz_latn?: CustomLocale | undefined;
zh_tw?: CustomLocale | undefined;
} & {
default: import("../types/locale").Locale;
};
export default _default;
dist/l10n/uk.d.ts 0000644 00000004673 15167673014 0007516 0 ustar 00 import { CustomLocale } from "../types/locale";
export declare const Ukrainian: CustomLocale;
declare const _default: {
ar?: CustomLocale | undefined;
at?: CustomLocale | undefined;
az?: CustomLocale | undefined;
be?: CustomLocale | undefined;
bg?: CustomLocale | undefined;
bn?: CustomLocale | undefined;
bs?: CustomLocale | undefined;
ca?: CustomLocale | undefined;
cat?: CustomLocale | undefined;
ckb?: CustomLocale | undefined;
cs?: CustomLocale | undefined;
cy?: CustomLocale | undefined;
da?: CustomLocale | undefined;
de?: CustomLocale | undefined;
default?: CustomLocale | undefined;
en?: CustomLocale | undefined;
eo?: CustomLocale | undefined;
es?: CustomLocale | undefined;
et?: CustomLocale | undefined;
fa?: CustomLocale | undefined;
fi?: CustomLocale | undefined;
fo?: CustomLocale | undefined;
fr?: CustomLocale | undefined;
gr?: CustomLocale | undefined;
he?: CustomLocale | undefined;
hi?: CustomLocale | undefined;
hr?: CustomLocale | undefined;
hu?: CustomLocale | undefined;
hy?: CustomLocale | undefined;
id?: CustomLocale | undefined;
is?: CustomLocale | undefined;
it?: CustomLocale | undefined;
ja?: CustomLocale | undefined;
ka?: CustomLocale | undefined;
ko?: CustomLocale | undefined;
km?: CustomLocale | undefined;
kz?: CustomLocale | undefined;
lt?: CustomLocale | undefined;
lv?: CustomLocale | undefined;
mk?: CustomLocale | undefined;
mn?: CustomLocale | undefined;
ms?: CustomLocale | undefined;
my?: CustomLocale | undefined;
nl?: CustomLocale | undefined;
nn?: CustomLocale | undefined;
no?: CustomLocale | undefined;
pa?: CustomLocale | undefined;
pl?: CustomLocale | undefined;
pt?: CustomLocale | undefined;
ro?: CustomLocale | undefined;
ru?: CustomLocale | undefined;
si?: CustomLocale | undefined;
sk?: CustomLocale | undefined;
sl?: CustomLocale | undefined;
sq?: CustomLocale | undefined;
sr?: CustomLocale | undefined;
sv?: CustomLocale | undefined;
th?: CustomLocale | undefined;
tr?: CustomLocale | undefined;
uk?: CustomLocale | undefined;
vn?: CustomLocale | undefined;
zh?: CustomLocale | undefined;
uz?: CustomLocale | undefined;
uz_latn?: CustomLocale | undefined;
zh_tw?: CustomLocale | undefined;
} & {
default: import("../types/locale").Locale;
};
export default _default;
dist/l10n/zh-tw.d.ts 0000644 00000004705 15167673014 0010144 0 ustar 00 import { CustomLocale } from "../types/locale";
export declare const MandarinTraditional: CustomLocale;
declare const _default: {
ar?: CustomLocale | undefined;
at?: CustomLocale | undefined;
az?: CustomLocale | undefined;
be?: CustomLocale | undefined;
bg?: CustomLocale | undefined;
bn?: CustomLocale | undefined;
bs?: CustomLocale | undefined;
ca?: CustomLocale | undefined;
cat?: CustomLocale | undefined;
ckb?: CustomLocale | undefined;
cs?: CustomLocale | undefined;
cy?: CustomLocale | undefined;
da?: CustomLocale | undefined;
de?: CustomLocale | undefined;
default?: CustomLocale | undefined;
en?: CustomLocale | undefined;
eo?: CustomLocale | undefined;
es?: CustomLocale | undefined;
et?: CustomLocale | undefined;
fa?: CustomLocale | undefined;
fi?: CustomLocale | undefined;
fo?: CustomLocale | undefined;
fr?: CustomLocale | undefined;
gr?: CustomLocale | undefined;
he?: CustomLocale | undefined;
hi?: CustomLocale | undefined;
hr?: CustomLocale | undefined;
hu?: CustomLocale | undefined;
hy?: CustomLocale | undefined;
id?: CustomLocale | undefined;
is?: CustomLocale | undefined;
it?: CustomLocale | undefined;
ja?: CustomLocale | undefined;
ka?: CustomLocale | undefined;
ko?: CustomLocale | undefined;
km?: CustomLocale | undefined;
kz?: CustomLocale | undefined;
lt?: CustomLocale | undefined;
lv?: CustomLocale | undefined;
mk?: CustomLocale | undefined;
mn?: CustomLocale | undefined;
ms?: CustomLocale | undefined;
my?: CustomLocale | undefined;
nl?: CustomLocale | undefined;
nn?: CustomLocale | undefined;
no?: CustomLocale | undefined;
pa?: CustomLocale | undefined;
pl?: CustomLocale | undefined;
pt?: CustomLocale | undefined;
ro?: CustomLocale | undefined;
ru?: CustomLocale | undefined;
si?: CustomLocale | undefined;
sk?: CustomLocale | undefined;
sl?: CustomLocale | undefined;
sq?: CustomLocale | undefined;
sr?: CustomLocale | undefined;
sv?: CustomLocale | undefined;
th?: CustomLocale | undefined;
tr?: CustomLocale | undefined;
uk?: CustomLocale | undefined;
vn?: CustomLocale | undefined;
zh?: CustomLocale | undefined;
uz?: CustomLocale | undefined;
uz_latn?: CustomLocale | undefined;
zh_tw?: CustomLocale | undefined;
} & {
default: import("../types/locale").Locale;
};
export default _default;
dist/l10n/ar.d.ts 0000644 00000004670 15167673014 0007476 0 ustar 00 import { CustomLocale } from "../types/locale";
export declare const Arabic: CustomLocale;
declare const _default: {
ar?: CustomLocale | undefined;
at?: CustomLocale | undefined;
az?: CustomLocale | undefined;
be?: CustomLocale | undefined;
bg?: CustomLocale | undefined;
bn?: CustomLocale | undefined;
bs?: CustomLocale | undefined;
ca?: CustomLocale | undefined;
cat?: CustomLocale | undefined;
ckb?: CustomLocale | undefined;
cs?: CustomLocale | undefined;
cy?: CustomLocale | undefined;
da?: CustomLocale | undefined;
de?: CustomLocale | undefined;
default?: CustomLocale | undefined;
en?: CustomLocale | undefined;
eo?: CustomLocale | undefined;
es?: CustomLocale | undefined;
et?: CustomLocale | undefined;
fa?: CustomLocale | undefined;
fi?: CustomLocale | undefined;
fo?: CustomLocale | undefined;
fr?: CustomLocale | undefined;
gr?: CustomLocale | undefined;
he?: CustomLocale | undefined;
hi?: CustomLocale | undefined;
hr?: CustomLocale | undefined;
hu?: CustomLocale | undefined;
hy?: CustomLocale | undefined;
id?: CustomLocale | undefined;
is?: CustomLocale | undefined;
it?: CustomLocale | undefined;
ja?: CustomLocale | undefined;
ka?: CustomLocale | undefined;
ko?: CustomLocale | undefined;
km?: CustomLocale | undefined;
kz?: CustomLocale | undefined;
lt?: CustomLocale | undefined;
lv?: CustomLocale | undefined;
mk?: CustomLocale | undefined;
mn?: CustomLocale | undefined;
ms?: CustomLocale | undefined;
my?: CustomLocale | undefined;
nl?: CustomLocale | undefined;
nn?: CustomLocale | undefined;
no?: CustomLocale | undefined;
pa?: CustomLocale | undefined;
pl?: CustomLocale | undefined;
pt?: CustomLocale | undefined;
ro?: CustomLocale | undefined;
ru?: CustomLocale | undefined;
si?: CustomLocale | undefined;
sk?: CustomLocale | undefined;
sl?: CustomLocale | undefined;
sq?: CustomLocale | undefined;
sr?: CustomLocale | undefined;
sv?: CustomLocale | undefined;
th?: CustomLocale | undefined;
tr?: CustomLocale | undefined;
uk?: CustomLocale | undefined;
vn?: CustomLocale | undefined;
zh?: CustomLocale | undefined;
uz?: CustomLocale | undefined;
uz_latn?: CustomLocale | undefined;
zh_tw?: CustomLocale | undefined;
} & {
default: import("../types/locale").Locale;
};
export default _default;
dist/l10n/zh.d.ts 0000644 00000004672 15167673014 0007517 0 ustar 00 import { CustomLocale } from "../types/locale";
export declare const Mandarin: CustomLocale;
declare const _default: {
ar?: CustomLocale | undefined;
at?: CustomLocale | undefined;
az?: CustomLocale | undefined;
be?: CustomLocale | undefined;
bg?: CustomLocale | undefined;
bn?: CustomLocale | undefined;
bs?: CustomLocale | undefined;
ca?: CustomLocale | undefined;
cat?: CustomLocale | undefined;
ckb?: CustomLocale | undefined;
cs?: CustomLocale | undefined;
cy?: CustomLocale | undefined;
da?: CustomLocale | undefined;
de?: CustomLocale | undefined;
default?: CustomLocale | undefined;
en?: CustomLocale | undefined;
eo?: CustomLocale | undefined;
es?: CustomLocale | undefined;
et?: CustomLocale | undefined;
fa?: CustomLocale | undefined;
fi?: CustomLocale | undefined;
fo?: CustomLocale | undefined;
fr?: CustomLocale | undefined;
gr?: CustomLocale | undefined;
he?: CustomLocale | undefined;
hi?: CustomLocale | undefined;
hr?: CustomLocale | undefined;
hu?: CustomLocale | undefined;
hy?: CustomLocale | undefined;
id?: CustomLocale | undefined;
is?: CustomLocale | undefined;
it?: CustomLocale | undefined;
ja?: CustomLocale | undefined;
ka?: CustomLocale | undefined;
ko?: CustomLocale | undefined;
km?: CustomLocale | undefined;
kz?: CustomLocale | undefined;
lt?: CustomLocale | undefined;
lv?: CustomLocale | undefined;
mk?: CustomLocale | undefined;
mn?: CustomLocale | undefined;
ms?: CustomLocale | undefined;
my?: CustomLocale | undefined;
nl?: CustomLocale | undefined;
nn?: CustomLocale | undefined;
no?: CustomLocale | undefined;
pa?: CustomLocale | undefined;
pl?: CustomLocale | undefined;
pt?: CustomLocale | undefined;
ro?: CustomLocale | undefined;
ru?: CustomLocale | undefined;
si?: CustomLocale | undefined;
sk?: CustomLocale | undefined;
sl?: CustomLocale | undefined;
sq?: CustomLocale | undefined;
sr?: CustomLocale | undefined;
sv?: CustomLocale | undefined;
th?: CustomLocale | undefined;
tr?: CustomLocale | undefined;
uk?: CustomLocale | undefined;
vn?: CustomLocale | undefined;
zh?: CustomLocale | undefined;
uz?: CustomLocale | undefined;
uz_latn?: CustomLocale | undefined;
zh_tw?: CustomLocale | undefined;
} & {
default: import("../types/locale").Locale;
};
export default _default;
dist/l10n/vn.d.ts 0000644 00000004674 15167673014 0007523 0 ustar 00 import { CustomLocale } from "../types/locale";
export declare const Vietnamese: CustomLocale;
declare const _default: {
ar?: CustomLocale | undefined;
at?: CustomLocale | undefined;
az?: CustomLocale | undefined;
be?: CustomLocale | undefined;
bg?: CustomLocale | undefined;
bn?: CustomLocale | undefined;
bs?: CustomLocale | undefined;
ca?: CustomLocale | undefined;
cat?: CustomLocale | undefined;
ckb?: CustomLocale | undefined;
cs?: CustomLocale | undefined;
cy?: CustomLocale | undefined;
da?: CustomLocale | undefined;
de?: CustomLocale | undefined;
default?: CustomLocale | undefined;
en?: CustomLocale | undefined;
eo?: CustomLocale | undefined;
es?: CustomLocale | undefined;
et?: CustomLocale | undefined;
fa?: CustomLocale | undefined;
fi?: CustomLocale | undefined;
fo?: CustomLocale | undefined;
fr?: CustomLocale | undefined;
gr?: CustomLocale | undefined;
he?: CustomLocale | undefined;
hi?: CustomLocale | undefined;
hr?: CustomLocale | undefined;
hu?: CustomLocale | undefined;
hy?: CustomLocale | undefined;
id?: CustomLocale | undefined;
is?: CustomLocale | undefined;
it?: CustomLocale | undefined;
ja?: CustomLocale | undefined;
ka?: CustomLocale | undefined;
ko?: CustomLocale | undefined;
km?: CustomLocale | undefined;
kz?: CustomLocale | undefined;
lt?: CustomLocale | undefined;
lv?: CustomLocale | undefined;
mk?: CustomLocale | undefined;
mn?: CustomLocale | undefined;
ms?: CustomLocale | undefined;
my?: CustomLocale | undefined;
nl?: CustomLocale | undefined;
nn?: CustomLocale | undefined;
no?: CustomLocale | undefined;
pa?: CustomLocale | undefined;
pl?: CustomLocale | undefined;
pt?: CustomLocale | undefined;
ro?: CustomLocale | undefined;
ru?: CustomLocale | undefined;
si?: CustomLocale | undefined;
sk?: CustomLocale | undefined;
sl?: CustomLocale | undefined;
sq?: CustomLocale | undefined;
sr?: CustomLocale | undefined;
sv?: CustomLocale | undefined;
th?: CustomLocale | undefined;
tr?: CustomLocale | undefined;
uk?: CustomLocale | undefined;
vn?: CustomLocale | undefined;
zh?: CustomLocale | undefined;
uz?: CustomLocale | undefined;
uz_latn?: CustomLocale | undefined;
zh_tw?: CustomLocale | undefined;
} & {
default: import("../types/locale").Locale;
};
export default _default;
dist/l10n/default.d.ts 0000644 00000000150 15167673014 0010505 0 ustar 00 import { Locale } from "../types/locale";
export declare const english: Locale;
export default english;
dist/l10n/hu.js 0000644 00000003553 15167673014 0007253 0 ustar 00 (function (global, factory) {
typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports) :
typeof define === 'function' && define.amd ? define(['exports'], factory) :
(global = typeof globalThis !== 'undefined' ? globalThis : global || self, factory(global.hu = {}));
}(this, (function (exports) { 'use strict';
var fp = typeof window !== "undefined" && window.flatpickr !== undefined
? window.flatpickr
: {
l10ns: {},
};
var Hungarian = {
firstDayOfWeek: 1,
weekdays: {
shorthand: ["V", "H", "K", "Sz", "Cs", "P", "Szo"],
longhand: [
"Vasárnap",
"Hétfő",
"Kedd",
"Szerda",
"Csütörtök",
"Péntek",
"Szombat",
],
},
months: {
shorthand: [
"Jan",
"Feb",
"Már",
"Ápr",
"Máj",
"Jún",
"Júl",
"Aug",
"Szep",
"Okt",
"Nov",
"Dec",
],
longhand: [
"Január",
"Február",
"Március",
"Április",
"Május",
"Június",
"Július",
"Augusztus",
"Szeptember",
"Október",
"November",
"December",
],
},
ordinal: function () {
return ".";
},
weekAbbreviation: "Hét",
scrollTitle: "Görgessen",
toggleTitle: "Kattintson a váltáshoz",
rangeSeparator: " - ",
time_24hr: true,
};
fp.l10ns.hu = Hungarian;
var hu = fp.l10ns;
exports.Hungarian = Hungarian;
exports.default = hu;
Object.defineProperty(exports, '__esModule', { value: true });
})));
dist/l10n/sq.d.ts 0000644 00000004672 15167673014 0007521 0 ustar 00 import { CustomLocale } from "../types/locale";
export declare const Albanian: CustomLocale;
declare const _default: {
ar?: CustomLocale | undefined;
at?: CustomLocale | undefined;
az?: CustomLocale | undefined;
be?: CustomLocale | undefined;
bg?: CustomLocale | undefined;
bn?: CustomLocale | undefined;
bs?: CustomLocale | undefined;
ca?: CustomLocale | undefined;
cat?: CustomLocale | undefined;
ckb?: CustomLocale | undefined;
cs?: CustomLocale | undefined;
cy?: CustomLocale | undefined;
da?: CustomLocale | undefined;
de?: CustomLocale | undefined;
default?: CustomLocale | undefined;
en?: CustomLocale | undefined;
eo?: CustomLocale | undefined;
es?: CustomLocale | undefined;
et?: CustomLocale | undefined;
fa?: CustomLocale | undefined;
fi?: CustomLocale | undefined;
fo?: CustomLocale | undefined;
fr?: CustomLocale | undefined;
gr?: CustomLocale | undefined;
he?: CustomLocale | undefined;
hi?: CustomLocale | undefined;
hr?: CustomLocale | undefined;
hu?: CustomLocale | undefined;
hy?: CustomLocale | undefined;
id?: CustomLocale | undefined;
is?: CustomLocale | undefined;
it?: CustomLocale | undefined;
ja?: CustomLocale | undefined;
ka?: CustomLocale | undefined;
ko?: CustomLocale | undefined;
km?: CustomLocale | undefined;
kz?: CustomLocale | undefined;
lt?: CustomLocale | undefined;
lv?: CustomLocale | undefined;
mk?: CustomLocale | undefined;
mn?: CustomLocale | undefined;
ms?: CustomLocale | undefined;
my?: CustomLocale | undefined;
nl?: CustomLocale | undefined;
nn?: CustomLocale | undefined;
no?: CustomLocale | undefined;
pa?: CustomLocale | undefined;
pl?: CustomLocale | undefined;
pt?: CustomLocale | undefined;
ro?: CustomLocale | undefined;
ru?: CustomLocale | undefined;
si?: CustomLocale | undefined;
sk?: CustomLocale | undefined;
sl?: CustomLocale | undefined;
sq?: CustomLocale | undefined;
sr?: CustomLocale | undefined;
sv?: CustomLocale | undefined;
th?: CustomLocale | undefined;
tr?: CustomLocale | undefined;
uk?: CustomLocale | undefined;
vn?: CustomLocale | undefined;
zh?: CustomLocale | undefined;
uz?: CustomLocale | undefined;
uz_latn?: CustomLocale | undefined;
zh_tw?: CustomLocale | undefined;
} & {
default: import("../types/locale").Locale;
};
export default _default;
dist/l10n/index.js 0000644 00000310677 15167673014 0007756 0 ustar 00 (function (global, factory) {
typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports) :
typeof define === 'function' && define.amd ? define(['exports'], factory) :
(global = typeof globalThis !== 'undefined' ? globalThis : global || self, factory(global.index = {}));
}(this, (function (exports) { 'use strict';
/*! *****************************************************************************
Copyright (c) Microsoft Corporation.
Permission to use, copy, modify, and/or distribute this software for any
purpose with or without fee is hereby granted.
THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
PERFORMANCE OF THIS SOFTWARE.
***************************************************************************** */
var __assign = function() {
__assign = Object.assign || function __assign(t) {
for (var s, i = 1, n = arguments.length; i < n; i++) {
s = arguments[i];
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p)) t[p] = s[p];
}
return t;
};
return __assign.apply(this, arguments);
};
var fp = typeof window !== "undefined" && window.flatpickr !== undefined
? window.flatpickr
: {
l10ns: {},
};
var Arabic = {
weekdays: {
shorthand: ["أحد", "اثنين", "ثلاثاء", "أربعاء", "خميس", "جمعة", "سبت"],
longhand: [
"الأحد",
"الاثنين",
"الثلاثاء",
"الأربعاء",
"الخميس",
"الجمعة",
"السبت",
],
},
months: {
shorthand: ["1", "2", "3", "4", "5", "6", "7", "8", "9", "10", "11", "12"],
longhand: [
"يناير",
"فبراير",
"مارس",
"أبريل",
"مايو",
"يونيو",
"يوليو",
"أغسطس",
"سبتمبر",
"أكتوبر",
"نوفمبر",
"ديسمبر",
],
},
firstDayOfWeek: 6,
rangeSeparator: " إلى ",
weekAbbreviation: "Wk",
scrollTitle: "قم بالتمرير للزيادة",
toggleTitle: "اضغط للتبديل",
amPM: ["ص", "م"],
yearAriaLabel: "سنة",
monthAriaLabel: "شهر",
hourAriaLabel: "ساعة",
minuteAriaLabel: "دقيقة",
time_24hr: false,
};
fp.l10ns.ar = Arabic;
fp.l10ns;
var fp$1 = typeof window !== "undefined" && window.flatpickr !== undefined
? window.flatpickr
: {
l10ns: {},
};
var Austria = {
weekdays: {
shorthand: ["So", "Mo", "Di", "Mi", "Do", "Fr", "Sa"],
longhand: [
"Sonntag",
"Montag",
"Dienstag",
"Mittwoch",
"Donnerstag",
"Freitag",
"Samstag",
],
},
months: {
shorthand: [
"Jän",
"Feb",
"Mär",
"Apr",
"Mai",
"Jun",
"Jul",
"Aug",
"Sep",
"Okt",
"Nov",
"Dez",
],
longhand: [
"Jänner",
"Februar",
"März",
"April",
"Mai",
"Juni",
"Juli",
"August",
"September",
"Oktober",
"November",
"Dezember",
],
},
firstDayOfWeek: 1,
weekAbbreviation: "KW",
rangeSeparator: " bis ",
scrollTitle: "Zum Ändern scrollen",
toggleTitle: "Zum Umschalten klicken",
time_24hr: true,
};
fp$1.l10ns.at = Austria;
fp$1.l10ns;
var fp$2 = typeof window !== "undefined" && window.flatpickr !== undefined
? window.flatpickr
: {
l10ns: {},
};
var Azerbaijan = {
weekdays: {
shorthand: ["B.", "B.e.", "Ç.a.", "Ç.", "C.a.", "C.", "Ş."],
longhand: [
"Bazar",
"Bazar ertəsi",
"Çərşənbə axşamı",
"Çərşənbə",
"Cümə axşamı",
"Cümə",
"Şənbə",
],
},
months: {
shorthand: [
"Yan",
"Fev",
"Mar",
"Apr",
"May",
"İyn",
"İyl",
"Avq",
"Sen",
"Okt",
"Noy",
"Dek",
],
longhand: [
"Yanvar",
"Fevral",
"Mart",
"Aprel",
"May",
"İyun",
"İyul",
"Avqust",
"Sentyabr",
"Oktyabr",
"Noyabr",
"Dekabr",
],
},
firstDayOfWeek: 1,
ordinal: function () {
return ".";
},
rangeSeparator: " - ",
weekAbbreviation: "Hf",
scrollTitle: "Artırmaq üçün sürüşdürün",
toggleTitle: "Aç / Bağla",
amPM: ["GƏ", "GS"],
time_24hr: true,
};
fp$2.l10ns.az = Azerbaijan;
fp$2.l10ns;
var fp$3 = typeof window !== "undefined" && window.flatpickr !== undefined
? window.flatpickr
: {
l10ns: {},
};
var Belarusian = {
weekdays: {
shorthand: ["Нд", "Пн", "Аў", "Ср", "Чц", "Пт", "Сб"],
longhand: [
"Нядзеля",
"Панядзелак",
"Аўторак",
"Серада",
"Чацвер",
"Пятніца",
"Субота",
],
},
months: {
shorthand: [
"Сту",
"Лют",
"Сак",
"Кра",
"Тра",
"Чэр",
"Ліп",
"Жні",
"Вер",
"Кас",
"Ліс",
"Сне",
],
longhand: [
"Студзень",
"Люты",
"Сакавік",
"Красавік",
"Травень",
"Чэрвень",
"Ліпень",
"Жнівень",
"Верасень",
"Кастрычнік",
"Лістапад",
"Снежань",
],
},
firstDayOfWeek: 1,
ordinal: function () {
return "";
},
rangeSeparator: " — ",
weekAbbreviation: "Тыд.",
scrollTitle: "Пракруціце для павелічэння",
toggleTitle: "Націсніце для пераключэння",
amPM: ["ДП", "ПП"],
yearAriaLabel: "Год",
time_24hr: true,
};
fp$3.l10ns.be = Belarusian;
fp$3.l10ns;
var fp$4 = typeof window !== "undefined" && window.flatpickr !== undefined
? window.flatpickr
: {
l10ns: {},
};
var Bosnian = {
firstDayOfWeek: 1,
weekdays: {
shorthand: ["Ned", "Pon", "Uto", "Sri", "Čet", "Pet", "Sub"],
longhand: [
"Nedjelja",
"Ponedjeljak",
"Utorak",
"Srijeda",
"Četvrtak",
"Petak",
"Subota",
],
},
months: {
shorthand: [
"Jan",
"Feb",
"Mar",
"Apr",
"Maj",
"Jun",
"Jul",
"Avg",
"Sep",
"Okt",
"Nov",
"Dec",
],
longhand: [
"Januar",
"Februar",
"Mart",
"April",
"Maj",
"Juni",
"Juli",
"Avgust",
"Septembar",
"Oktobar",
"Novembar",
"Decembar",
],
},
time_24hr: true,
};
fp$4.l10ns.bs = Bosnian;
fp$4.l10ns;
var fp$5 = typeof window !== "undefined" && window.flatpickr !== undefined
? window.flatpickr
: {
l10ns: {},
};
var Bulgarian = {
weekdays: {
shorthand: ["Нд", "Пн", "Вт", "Ср", "Чт", "Пт", "Сб"],
longhand: [
"Неделя",
"Понеделник",
"Вторник",
"Сряда",
"Четвъртък",
"Петък",
"Събота",
],
},
months: {
shorthand: [
"Яну",
"Фев",
"Март",
"Апр",
"Май",
"Юни",
"Юли",
"Авг",
"Сеп",
"Окт",
"Ное",
"Дек",
],
longhand: [
"Януари",
"Февруари",
"Март",
"Април",
"Май",
"Юни",
"Юли",
"Август",
"Септември",
"Октомври",
"Ноември",
"Декември",
],
},
time_24hr: true,
firstDayOfWeek: 1,
};
fp$5.l10ns.bg = Bulgarian;
fp$5.l10ns;
var fp$6 = typeof window !== "undefined" && window.flatpickr !== undefined
? window.flatpickr
: {
l10ns: {},
};
var Bangla = {
weekdays: {
shorthand: ["রবি", "সোম", "মঙ্গল", "বুধ", "বৃহস্পতি", "শুক্র", "শনি"],
longhand: [
"রবিবার",
"সোমবার",
"মঙ্গলবার",
"বুধবার",
"বৃহস্পতিবার",
"শুক্রবার",
"শনিবার",
],
},
months: {
shorthand: [
"জানু",
"ফেব্রু",
"মার্চ",
"এপ্রিল",
"মে",
"জুন",
"জুলাই",
"আগ",
"সেপ্টে",
"অক্টো",
"নভে",
"ডিসে",
],
longhand: [
"জানুয়ারী",
"ফেব্রুয়ারী",
"মার্চ",
"এপ্রিল",
"মে",
"জুন",
"জুলাই",
"আগস্ট",
"সেপ্টেম্বর",
"অক্টোবর",
"নভেম্বর",
"ডিসেম্বর",
],
},
};
fp$6.l10ns.bn = Bangla;
fp$6.l10ns;
var fp$7 = typeof window !== "undefined" && window.flatpickr !== undefined
? window.flatpickr
: {
l10ns: {},
};
var Catalan = {
weekdays: {
shorthand: ["Dg", "Dl", "Dt", "Dc", "Dj", "Dv", "Ds"],
longhand: [
"Diumenge",
"Dilluns",
"Dimarts",
"Dimecres",
"Dijous",
"Divendres",
"Dissabte",
],
},
months: {
shorthand: [
"Gen",
"Febr",
"Març",
"Abr",
"Maig",
"Juny",
"Jul",
"Ag",
"Set",
"Oct",
"Nov",
"Des",
],
longhand: [
"Gener",
"Febrer",
"Març",
"Abril",
"Maig",
"Juny",
"Juliol",
"Agost",
"Setembre",
"Octubre",
"Novembre",
"Desembre",
],
},
ordinal: function (nth) {
var s = nth % 100;
if (s > 3 && s < 21)
return "è";
switch (s % 10) {
case 1:
return "r";
case 2:
return "n";
case 3:
return "r";
case 4:
return "t";
default:
return "è";
}
},
firstDayOfWeek: 1,
rangeSeparator: " a ",
time_24hr: true,
};
fp$7.l10ns.cat = fp$7.l10ns.ca = Catalan;
fp$7.l10ns;
var fp$8 = typeof window !== "undefined" && window.flatpickr !== undefined
? window.flatpickr
: {
l10ns: {},
};
var Kurdish = {
weekdays: {
shorthand: [
"یەکشەممە",
"دووشەممە",
"سێشەممە",
"چوارشەممە",
"پێنجشەممە",
"هەینی",
"شەممە",
],
longhand: [
"یەکشەممە",
"دووشەممە",
"سێشەممە",
"چوارشەممە",
"پێنجشەممە",
"هەینی",
"شەممە",
],
},
months: {
shorthand: [
"ڕێبەندان",
"ڕەشەمە",
"نەورۆز",
"گوڵان",
"جۆزەردان",
"پووشپەڕ",
"گەلاوێژ",
"خەرمانان",
"ڕەزبەر",
"گەڵاڕێزان",
"سەرماوەز",
"بەفرانبار",
],
longhand: [
"ڕێبەندان",
"ڕەشەمە",
"نەورۆز",
"گوڵان",
"جۆزەردان",
"پووشپەڕ",
"گەلاوێژ",
"خەرمانان",
"ڕەزبەر",
"گەڵاڕێزان",
"سەرماوەز",
"بەفرانبار",
],
},
firstDayOfWeek: 6,
ordinal: function () {
return "";
},
};
fp$8.l10ns.ckb = Kurdish;
fp$8.l10ns;
var fp$9 = typeof window !== "undefined" && window.flatpickr !== undefined
? window.flatpickr
: {
l10ns: {},
};
var Czech = {
weekdays: {
shorthand: ["Ne", "Po", "Út", "St", "Čt", "Pá", "So"],
longhand: [
"Neděle",
"Pondělí",
"Úterý",
"Středa",
"Čtvrtek",
"Pátek",
"Sobota",
],
},
months: {
shorthand: [
"Led",
"Ún",
"Bře",
"Dub",
"Kvě",
"Čer",
"Čvc",
"Srp",
"Zář",
"Říj",
"Lis",
"Pro",
],
longhand: [
"Leden",
"Únor",
"Březen",
"Duben",
"Květen",
"Červen",
"Červenec",
"Srpen",
"Září",
"Říjen",
"Listopad",
"Prosinec",
],
},
firstDayOfWeek: 1,
ordinal: function () {
return ".";
},
rangeSeparator: " do ",
weekAbbreviation: "Týd.",
scrollTitle: "Rolujte pro změnu",
toggleTitle: "Přepnout dopoledne/odpoledne",
amPM: ["dop.", "odp."],
yearAriaLabel: "Rok",
time_24hr: true,
};
fp$9.l10ns.cs = Czech;
fp$9.l10ns;
var fp$a = typeof window !== "undefined" && window.flatpickr !== undefined
? window.flatpickr
: {
l10ns: {},
};
var Welsh = {
weekdays: {
shorthand: ["Sul", "Llun", "Maw", "Mer", "Iau", "Gwe", "Sad"],
longhand: [
"Dydd Sul",
"Dydd Llun",
"Dydd Mawrth",
"Dydd Mercher",
"Dydd Iau",
"Dydd Gwener",
"Dydd Sadwrn",
],
},
months: {
shorthand: [
"Ion",
"Chwef",
"Maw",
"Ebr",
"Mai",
"Meh",
"Gorff",
"Awst",
"Medi",
"Hyd",
"Tach",
"Rhag",
],
longhand: [
"Ionawr",
"Chwefror",
"Mawrth",
"Ebrill",
"Mai",
"Mehefin",
"Gorffennaf",
"Awst",
"Medi",
"Hydref",
"Tachwedd",
"Rhagfyr",
],
},
firstDayOfWeek: 1,
ordinal: function (nth) {
if (nth === 1)
return "af";
if (nth === 2)
return "ail";
if (nth === 3 || nth === 4)
return "ydd";
if (nth === 5 || nth === 6)
return "ed";
if ((nth >= 7 && nth <= 10) ||
nth == 12 ||
nth == 15 ||
nth == 18 ||
nth == 20)
return "fed";
if (nth == 11 ||
nth == 13 ||
nth == 14 ||
nth == 16 ||
nth == 17 ||
nth == 19)
return "eg";
if (nth >= 21 && nth <= 39)
return "ain";
// Inconclusive.
return "";
},
time_24hr: true,
};
fp$a.l10ns.cy = Welsh;
fp$a.l10ns;
var fp$b = typeof window !== "undefined" && window.flatpickr !== undefined
? window.flatpickr
: {
l10ns: {},
};
var Danish = {
weekdays: {
shorthand: ["søn", "man", "tir", "ons", "tors", "fre", "lør"],
longhand: [
"søndag",
"mandag",
"tirsdag",
"onsdag",
"torsdag",
"fredag",
"lørdag",
],
},
months: {
shorthand: [
"jan",
"feb",
"mar",
"apr",
"maj",
"jun",
"jul",
"aug",
"sep",
"okt",
"nov",
"dec",
],
longhand: [
"januar",
"februar",
"marts",
"april",
"maj",
"juni",
"juli",
"august",
"september",
"oktober",
"november",
"december",
],
},
ordinal: function () {
return ".";
},
firstDayOfWeek: 1,
rangeSeparator: " til ",
weekAbbreviation: "uge",
time_24hr: true,
};
fp$b.l10ns.da = Danish;
fp$b.l10ns;
var fp$c = typeof window !== "undefined" && window.flatpickr !== undefined
? window.flatpickr
: {
l10ns: {},
};
var German = {
weekdays: {
shorthand: ["So", "Mo", "Di", "Mi", "Do", "Fr", "Sa"],
longhand: [
"Sonntag",
"Montag",
"Dienstag",
"Mittwoch",
"Donnerstag",
"Freitag",
"Samstag",
],
},
months: {
shorthand: [
"Jan",
"Feb",
"Mär",
"Apr",
"Mai",
"Jun",
"Jul",
"Aug",
"Sep",
"Okt",
"Nov",
"Dez",
],
longhand: [
"Januar",
"Februar",
"März",
"April",
"Mai",
"Juni",
"Juli",
"August",
"September",
"Oktober",
"November",
"Dezember",
],
},
firstDayOfWeek: 1,
weekAbbreviation: "KW",
rangeSeparator: " bis ",
scrollTitle: "Zum Ändern scrollen",
toggleTitle: "Zum Umschalten klicken",
time_24hr: true,
};
fp$c.l10ns.de = German;
fp$c.l10ns;
var english = {
weekdays: {
shorthand: ["Sun", "Mon", "Tue", "Wed", "Thu", "Fri", "Sat"],
longhand: [
"Sunday",
"Monday",
"Tuesday",
"Wednesday",
"Thursday",
"Friday",
"Saturday",
],
},
months: {
shorthand: [
"Jan",
"Feb",
"Mar",
"Apr",
"May",
"Jun",
"Jul",
"Aug",
"Sep",
"Oct",
"Nov",
"Dec",
],
longhand: [
"January",
"February",
"March",
"April",
"May",
"June",
"July",
"August",
"September",
"October",
"November",
"December",
],
},
daysInMonth: [31, 28, 31, 30, 31, 30, 31, 31, 30, 31, 30, 31],
firstDayOfWeek: 0,
ordinal: function (nth) {
var s = nth % 100;
if (s > 3 && s < 21)
return "th";
switch (s % 10) {
case 1:
return "st";
case 2:
return "nd";
case 3:
return "rd";
default:
return "th";
}
},
rangeSeparator: " to ",
weekAbbreviation: "Wk",
scrollTitle: "Scroll to increment",
toggleTitle: "Click to toggle",
amPM: ["AM", "PM"],
yearAriaLabel: "Year",
monthAriaLabel: "Month",
hourAriaLabel: "Hour",
minuteAriaLabel: "Minute",
time_24hr: false,
};
var fp$d = typeof window !== "undefined" && window.flatpickr !== undefined
? window.flatpickr
: {
l10ns: {},
};
var Esperanto = {
firstDayOfWeek: 1,
rangeSeparator: " ĝis ",
weekAbbreviation: "Sem",
scrollTitle: "Rulumu por pligrandigi la valoron",
toggleTitle: "Klaku por ŝalti",
weekdays: {
shorthand: ["Dim", "Lun", "Mar", "Mer", "Ĵaŭ", "Ven", "Sab"],
longhand: [
"dimanĉo",
"lundo",
"mardo",
"merkredo",
"ĵaŭdo",
"vendredo",
"sabato",
],
},
months: {
shorthand: [
"Jan",
"Feb",
"Mar",
"Apr",
"Maj",
"Jun",
"Jul",
"Aŭg",
"Sep",
"Okt",
"Nov",
"Dec",
],
longhand: [
"januaro",
"februaro",
"marto",
"aprilo",
"majo",
"junio",
"julio",
"aŭgusto",
"septembro",
"oktobro",
"novembro",
"decembro",
],
},
ordinal: function () {
return "-a";
},
time_24hr: true,
};
fp$d.l10ns.eo = Esperanto;
fp$d.l10ns;
var fp$e = typeof window !== "undefined" && window.flatpickr !== undefined
? window.flatpickr
: {
l10ns: {},
};
var Spanish = {
weekdays: {
shorthand: ["Dom", "Lun", "Mar", "Mié", "Jue", "Vie", "Sáb"],
longhand: [
"Domingo",
"Lunes",
"Martes",
"Miércoles",
"Jueves",
"Viernes",
"Sábado",
],
},
months: {
shorthand: [
"Ene",
"Feb",
"Mar",
"Abr",
"May",
"Jun",
"Jul",
"Ago",
"Sep",
"Oct",
"Nov",
"Dic",
],
longhand: [
"Enero",
"Febrero",
"Marzo",
"Abril",
"Mayo",
"Junio",
"Julio",
"Agosto",
"Septiembre",
"Octubre",
"Noviembre",
"Diciembre",
],
},
ordinal: function () {
return "º";
},
firstDayOfWeek: 1,
rangeSeparator: " a ",
time_24hr: true,
};
fp$e.l10ns.es = Spanish;
fp$e.l10ns;
var fp$f = typeof window !== "undefined" && window.flatpickr !== undefined
? window.flatpickr
: {
l10ns: {},
};
var Estonian = {
weekdays: {
shorthand: ["P", "E", "T", "K", "N", "R", "L"],
longhand: [
"Pühapäev",
"Esmaspäev",
"Teisipäev",
"Kolmapäev",
"Neljapäev",
"Reede",
"Laupäev",
],
},
months: {
shorthand: [
"Jaan",
"Veebr",
"Märts",
"Apr",
"Mai",
"Juuni",
"Juuli",
"Aug",
"Sept",
"Okt",
"Nov",
"Dets",
],
longhand: [
"Jaanuar",
"Veebruar",
"Märts",
"Aprill",
"Mai",
"Juuni",
"Juuli",
"August",
"September",
"Oktoober",
"November",
"Detsember",
],
},
firstDayOfWeek: 1,
ordinal: function () {
return ".";
},
weekAbbreviation: "Näd",
rangeSeparator: " kuni ",
scrollTitle: "Keri, et suurendada",
toggleTitle: "Klõpsa, et vahetada",
time_24hr: true,
};
fp$f.l10ns.et = Estonian;
fp$f.l10ns;
var fp$g = typeof window !== "undefined" && window.flatpickr !== undefined
? window.flatpickr
: {
l10ns: {},
};
var Persian = {
weekdays: {
shorthand: ["یک", "دو", "سه", "چهار", "پنج", "جمعه", "شنبه"],
longhand: [
"یکشنبه",
"دوشنبه",
"سهشنبه",
"چهارشنبه",
"پنچشنبه",
"جمعه",
"شنبه",
],
},
months: {
shorthand: [
"ژانویه",
"فوریه",
"مارس",
"آوریل",
"مه",
"ژوئن",
"ژوئیه",
"اوت",
"سپتامبر",
"اکتبر",
"نوامبر",
"دسامبر",
],
longhand: [
"ژانویه",
"فوریه",
"مارس",
"آوریل",
"مه",
"ژوئن",
"ژوئیه",
"اوت",
"سپتامبر",
"اکتبر",
"نوامبر",
"دسامبر",
],
},
firstDayOfWeek: 6,
ordinal: function () {
return "";
},
};
fp$g.l10ns.fa = Persian;
fp$g.l10ns;
var fp$h = typeof window !== "undefined" && window.flatpickr !== undefined
? window.flatpickr
: {
l10ns: {},
};
var Finnish = {
firstDayOfWeek: 1,
weekdays: {
shorthand: ["su", "ma", "ti", "ke", "to", "pe", "la"],
longhand: [
"sunnuntai",
"maanantai",
"tiistai",
"keskiviikko",
"torstai",
"perjantai",
"lauantai",
],
},
months: {
shorthand: [
"tammi",
"helmi",
"maalis",
"huhti",
"touko",
"kesä",
"heinä",
"elo",
"syys",
"loka",
"marras",
"joulu",
],
longhand: [
"tammikuu",
"helmikuu",
"maaliskuu",
"huhtikuu",
"toukokuu",
"kesäkuu",
"heinäkuu",
"elokuu",
"syyskuu",
"lokakuu",
"marraskuu",
"joulukuu",
],
},
ordinal: function () {
return ".";
},
time_24hr: true,
};
fp$h.l10ns.fi = Finnish;
fp$h.l10ns;
var fp$i = typeof window !== "undefined" && window.flatpickr !== undefined
? window.flatpickr
: {
l10ns: {},
};
var Faroese = {
weekdays: {
shorthand: ["Sun", "Mán", "Týs", "Mik", "Hós", "Frí", "Ley"],
longhand: [
"Sunnudagur",
"Mánadagur",
"Týsdagur",
"Mikudagur",
"Hósdagur",
"Fríggjadagur",
"Leygardagur",
],
},
months: {
shorthand: [
"Jan",
"Feb",
"Mar",
"Apr",
"Mai",
"Jun",
"Jul",
"Aug",
"Sep",
"Okt",
"Nov",
"Des",
],
longhand: [
"Januar",
"Februar",
"Mars",
"Apríl",
"Mai",
"Juni",
"Juli",
"August",
"Septembur",
"Oktobur",
"Novembur",
"Desembur",
],
},
ordinal: function () {
return ".";
},
firstDayOfWeek: 1,
rangeSeparator: " til ",
weekAbbreviation: "vika",
scrollTitle: "Rulla fyri at broyta",
toggleTitle: "Trýst fyri at skifta",
yearAriaLabel: "Ár",
time_24hr: true,
};
fp$i.l10ns.fo = Faroese;
fp$i.l10ns;
var fp$j = typeof window !== "undefined" && window.flatpickr !== undefined
? window.flatpickr
: {
l10ns: {},
};
var French = {
firstDayOfWeek: 1,
weekdays: {
shorthand: ["dim", "lun", "mar", "mer", "jeu", "ven", "sam"],
longhand: [
"dimanche",
"lundi",
"mardi",
"mercredi",
"jeudi",
"vendredi",
"samedi",
],
},
months: {
shorthand: [
"janv",
"févr",
"mars",
"avr",
"mai",
"juin",
"juil",
"août",
"sept",
"oct",
"nov",
"déc",
],
longhand: [
"janvier",
"février",
"mars",
"avril",
"mai",
"juin",
"juillet",
"août",
"septembre",
"octobre",
"novembre",
"décembre",
],
},
ordinal: function (nth) {
if (nth > 1)
return "";
return "er";
},
rangeSeparator: " au ",
weekAbbreviation: "Sem",
scrollTitle: "Défiler pour augmenter la valeur",
toggleTitle: "Cliquer pour basculer",
time_24hr: true,
};
fp$j.l10ns.fr = French;
fp$j.l10ns;
var fp$k = typeof window !== "undefined" && window.flatpickr !== undefined
? window.flatpickr
: {
l10ns: {},
};
var Greek = {
weekdays: {
shorthand: ["Κυ", "Δε", "Τρ", "Τε", "Πέ", "Πα", "Σά"],
longhand: [
"Κυριακή",
"Δευτέρα",
"Τρίτη",
"Τετάρτη",
"Πέμπτη",
"Παρασκευή",
"Σάββατο",
],
},
months: {
shorthand: [
"Ιαν",
"Φεβ",
"Μάρ",
"Απρ",
"Μάι",
"Ιούν",
"Ιούλ",
"Αύγ",
"Σεπ",
"Οκτ",
"Νοέ",
"Δεκ",
],
longhand: [
"Ιανουάριος",
"Φεβρουάριος",
"Μάρτιος",
"Απρίλιος",
"Μάιος",
"Ιούνιος",
"Ιούλιος",
"Αύγουστος",
"Σεπτέμβριος",
"Οκτώβριος",
"Νοέμβριος",
"Δεκέμβριος",
],
},
firstDayOfWeek: 1,
ordinal: function () {
return "";
},
weekAbbreviation: "Εβδ",
rangeSeparator: " έως ",
scrollTitle: "Μετακυλήστε για προσαύξηση",
toggleTitle: "Κάντε κλικ για αλλαγή",
amPM: ["ΠΜ", "ΜΜ"],
yearAriaLabel: "χρόνος",
monthAriaLabel: "μήνας",
hourAriaLabel: "ώρα",
minuteAriaLabel: "λεπτό",
};
fp$k.l10ns.gr = Greek;
fp$k.l10ns;
var fp$l = typeof window !== "undefined" && window.flatpickr !== undefined
? window.flatpickr
: {
l10ns: {},
};
var Hebrew = {
weekdays: {
shorthand: ["א", "ב", "ג", "ד", "ה", "ו", "ש"],
longhand: ["ראשון", "שני", "שלישי", "רביעי", "חמישי", "שישי", "שבת"],
},
months: {
shorthand: [
"ינו׳",
"פבר׳",
"מרץ",
"אפר׳",
"מאי",
"יוני",
"יולי",
"אוג׳",
"ספט׳",
"אוק׳",
"נוב׳",
"דצמ׳",
],
longhand: [
"ינואר",
"פברואר",
"מרץ",
"אפריל",
"מאי",
"יוני",
"יולי",
"אוגוסט",
"ספטמבר",
"אוקטובר",
"נובמבר",
"דצמבר",
],
},
rangeSeparator: " אל ",
time_24hr: true,
};
fp$l.l10ns.he = Hebrew;
fp$l.l10ns;
var fp$m = typeof window !== "undefined" && window.flatpickr !== undefined
? window.flatpickr
: {
l10ns: {},
};
var Hindi = {
weekdays: {
shorthand: ["रवि", "सोम", "मंगल", "बुध", "गुरु", "शुक्र", "शनि"],
longhand: [
"रविवार",
"सोमवार",
"मंगलवार",
"बुधवार",
"गुरुवार",
"शुक्रवार",
"शनिवार",
],
},
months: {
shorthand: [
"जन",
"फर",
"मार्च",
"अप्रेल",
"मई",
"जून",
"जूलाई",
"अग",
"सित",
"अक्ट",
"नव",
"दि",
],
longhand: [
"जनवरी ",
"फरवरी",
"मार्च",
"अप्रेल",
"मई",
"जून",
"जूलाई",
"अगस्त ",
"सितम्बर",
"अक्टूबर",
"नवम्बर",
"दिसम्बर",
],
},
};
fp$m.l10ns.hi = Hindi;
fp$m.l10ns;
var fp$n = typeof window !== "undefined" && window.flatpickr !== undefined
? window.flatpickr
: {
l10ns: {},
};
var Croatian = {
firstDayOfWeek: 1,
weekdays: {
shorthand: ["Ned", "Pon", "Uto", "Sri", "Čet", "Pet", "Sub"],
longhand: [
"Nedjelja",
"Ponedjeljak",
"Utorak",
"Srijeda",
"Četvrtak",
"Petak",
"Subota",
],
},
months: {
shorthand: [
"Sij",
"Velj",
"Ožu",
"Tra",
"Svi",
"Lip",
"Srp",
"Kol",
"Ruj",
"Lis",
"Stu",
"Pro",
],
longhand: [
"Siječanj",
"Veljača",
"Ožujak",
"Travanj",
"Svibanj",
"Lipanj",
"Srpanj",
"Kolovoz",
"Rujan",
"Listopad",
"Studeni",
"Prosinac",
],
},
time_24hr: true,
};
fp$n.l10ns.hr = Croatian;
fp$n.l10ns;
var fp$o = typeof window !== "undefined" && window.flatpickr !== undefined
? window.flatpickr
: {
l10ns: {},
};
var Hungarian = {
firstDayOfWeek: 1,
weekdays: {
shorthand: ["V", "H", "K", "Sz", "Cs", "P", "Szo"],
longhand: [
"Vasárnap",
"Hétfő",
"Kedd",
"Szerda",
"Csütörtök",
"Péntek",
"Szombat",
],
},
months: {
shorthand: [
"Jan",
"Feb",
"Már",
"Ápr",
"Máj",
"Jún",
"Júl",
"Aug",
"Szep",
"Okt",
"Nov",
"Dec",
],
longhand: [
"Január",
"Február",
"Március",
"Április",
"Május",
"Június",
"Július",
"Augusztus",
"Szeptember",
"Október",
"November",
"December",
],
},
ordinal: function () {
return ".";
},
weekAbbreviation: "Hét",
scrollTitle: "Görgessen",
toggleTitle: "Kattintson a váltáshoz",
rangeSeparator: " - ",
time_24hr: true,
};
fp$o.l10ns.hu = Hungarian;
fp$o.l10ns;
var fp$p = typeof window !== "undefined" && window.flatpickr !== undefined
? window.flatpickr
: {
l10ns: {},
};
var Armenian = {
weekdays: {
shorthand: ["Կիր", "Երկ", "Երք", "Չրք", "Հնգ", "Ուրբ", "Շբթ"],
longhand: [
"Կիրակի",
"Եկուշաբթի",
"Երեքշաբթի",
"Չորեքշաբթի",
"Հինգշաբթի",
"Ուրբաթ",
"Շաբաթ",
],
},
months: {
shorthand: [
"Հնվ",
"Փտր",
"Մար",
"Ապր",
"Մայ",
"Հնս",
"Հլս",
"Օգս",
"Սեպ",
"Հոկ",
"Նմբ",
"Դեկ",
],
longhand: [
"Հունվար",
"Փետրվար",
"Մարտ",
"Ապրիլ",
"Մայիս",
"Հունիս",
"Հուլիս",
"Օգոստոս",
"Սեպտեմբեր",
"Հոկտեմբեր",
"Նոյեմբեր",
"Դեկտեմբեր",
],
},
firstDayOfWeek: 1,
ordinal: function () {
return "";
},
rangeSeparator: " — ",
weekAbbreviation: "ՇԲՏ",
scrollTitle: "Ոլորեք՝ մեծացնելու համար",
toggleTitle: "Սեղմեք՝ փոխելու համար",
amPM: ["ՄԿ", "ԿՀ"],
yearAriaLabel: "Տարի",
monthAriaLabel: "Ամիս",
hourAriaLabel: "Ժամ",
minuteAriaLabel: "Րոպե",
time_24hr: true,
};
fp$p.l10ns.hy = Armenian;
fp$p.l10ns;
var fp$q = typeof window !== "undefined" && window.flatpickr !== undefined
? window.flatpickr
: {
l10ns: {},
};
var Indonesian = {
weekdays: {
shorthand: ["Min", "Sen", "Sel", "Rab", "Kam", "Jum", "Sab"],
longhand: ["Minggu", "Senin", "Selasa", "Rabu", "Kamis", "Jumat", "Sabtu"],
},
months: {
shorthand: [
"Jan",
"Feb",
"Mar",
"Apr",
"Mei",
"Jun",
"Jul",
"Agu",
"Sep",
"Okt",
"Nov",
"Des",
],
longhand: [
"Januari",
"Februari",
"Maret",
"April",
"Mei",
"Juni",
"Juli",
"Agustus",
"September",
"Oktober",
"November",
"Desember",
],
},
firstDayOfWeek: 1,
ordinal: function () {
return "";
},
time_24hr: true,
rangeSeparator: " - ",
};
fp$q.l10ns.id = Indonesian;
fp$q.l10ns;
var fp$r = typeof window !== "undefined" && window.flatpickr !== undefined
? window.flatpickr
: {
l10ns: {},
};
var Icelandic = {
weekdays: {
shorthand: ["Sun", "Mán", "Þri", "Mið", "Fim", "Fös", "Lau"],
longhand: [
"Sunnudagur",
"Mánudagur",
"Þriðjudagur",
"Miðvikudagur",
"Fimmtudagur",
"Föstudagur",
"Laugardagur",
],
},
months: {
shorthand: [
"Jan",
"Feb",
"Mar",
"Apr",
"Maí",
"Jún",
"Júl",
"Ágú",
"Sep",
"Okt",
"Nóv",
"Des",
],
longhand: [
"Janúar",
"Febrúar",
"Mars",
"Apríl",
"Maí",
"Júní",
"Júlí",
"Ágúst",
"September",
"Október",
"Nóvember",
"Desember",
],
},
ordinal: function () {
return ".";
},
firstDayOfWeek: 1,
rangeSeparator: " til ",
weekAbbreviation: "vika",
yearAriaLabel: "Ár",
time_24hr: true,
};
fp$r.l10ns.is = Icelandic;
fp$r.l10ns;
var fp$s = typeof window !== "undefined" && window.flatpickr !== undefined
? window.flatpickr
: {
l10ns: {},
};
var Italian = {
weekdays: {
shorthand: ["Dom", "Lun", "Mar", "Mer", "Gio", "Ven", "Sab"],
longhand: [
"Domenica",
"Lunedì",
"Martedì",
"Mercoledì",
"Giovedì",
"Venerdì",
"Sabato",
],
},
months: {
shorthand: [
"Gen",
"Feb",
"Mar",
"Apr",
"Mag",
"Giu",
"Lug",
"Ago",
"Set",
"Ott",
"Nov",
"Dic",
],
longhand: [
"Gennaio",
"Febbraio",
"Marzo",
"Aprile",
"Maggio",
"Giugno",
"Luglio",
"Agosto",
"Settembre",
"Ottobre",
"Novembre",
"Dicembre",
],
},
firstDayOfWeek: 1,
ordinal: function () { return "°"; },
rangeSeparator: " al ",
weekAbbreviation: "Se",
scrollTitle: "Scrolla per aumentare",
toggleTitle: "Clicca per cambiare",
time_24hr: true,
};
fp$s.l10ns.it = Italian;
fp$s.l10ns;
var fp$t = typeof window !== "undefined" && window.flatpickr !== undefined
? window.flatpickr
: {
l10ns: {},
};
var Japanese = {
weekdays: {
shorthand: ["日", "月", "火", "水", "木", "金", "土"],
longhand: [
"日曜日",
"月曜日",
"火曜日",
"水曜日",
"木曜日",
"金曜日",
"土曜日",
],
},
months: {
shorthand: [
"1月",
"2月",
"3月",
"4月",
"5月",
"6月",
"7月",
"8月",
"9月",
"10月",
"11月",
"12月",
],
longhand: [
"1月",
"2月",
"3月",
"4月",
"5月",
"6月",
"7月",
"8月",
"9月",
"10月",
"11月",
"12月",
],
},
time_24hr: true,
rangeSeparator: " から ",
monthAriaLabel: "月",
amPM: ["午前", "午後"],
yearAriaLabel: "年",
hourAriaLabel: "時間",
minuteAriaLabel: "分",
};
fp$t.l10ns.ja = Japanese;
fp$t.l10ns;
var fp$u = typeof window !== "undefined" && window.flatpickr !== undefined
? window.flatpickr
: {
l10ns: {},
};
var Georgian = {
weekdays: {
shorthand: ["კვ", "ორ", "სა", "ოთ", "ხუ", "პა", "შა"],
longhand: [
"კვირა",
"ორშაბათი",
"სამშაბათი",
"ოთხშაბათი",
"ხუთშაბათი",
"პარასკევი",
"შაბათი",
],
},
months: {
shorthand: [
"იან",
"თებ",
"მარ",
"აპრ",
"მაი",
"ივნ",
"ივლ",
"აგვ",
"სექ",
"ოქტ",
"ნოე",
"დეკ",
],
longhand: [
"იანვარი",
"თებერვალი",
"მარტი",
"აპრილი",
"მაისი",
"ივნისი",
"ივლისი",
"აგვისტო",
"სექტემბერი",
"ოქტომბერი",
"ნოემბერი",
"დეკემბერი",
],
},
firstDayOfWeek: 1,
ordinal: function () {
return "";
},
rangeSeparator: " — ",
weekAbbreviation: "კვ.",
scrollTitle: "დასქროლეთ გასადიდებლად",
toggleTitle: "დააკლიკეთ გადართვისთვის",
amPM: ["AM", "PM"],
yearAriaLabel: "წელი",
time_24hr: true,
};
fp$u.l10ns.ka = Georgian;
fp$u.l10ns;
var fp$v = typeof window !== "undefined" && window.flatpickr !== undefined
? window.flatpickr
: {
l10ns: {},
};
var Korean = {
weekdays: {
shorthand: ["일", "월", "화", "수", "목", "금", "토"],
longhand: [
"일요일",
"월요일",
"화요일",
"수요일",
"목요일",
"금요일",
"토요일",
],
},
months: {
shorthand: [
"1월",
"2월",
"3월",
"4월",
"5월",
"6월",
"7월",
"8월",
"9월",
"10월",
"11월",
"12월",
],
longhand: [
"1월",
"2월",
"3월",
"4월",
"5월",
"6월",
"7월",
"8월",
"9월",
"10월",
"11월",
"12월",
],
},
ordinal: function () {
return "일";
},
rangeSeparator: " ~ ",
amPM: ["오전", "오후"],
};
fp$v.l10ns.ko = Korean;
fp$v.l10ns;
var fp$w = typeof window !== "undefined" && window.flatpickr !== undefined
? window.flatpickr
: {
l10ns: {},
};
var Khmer = {
weekdays: {
shorthand: ["អាទិត្យ", "ចន្ទ", "អង្គារ", "ពុធ", "ព្រហស.", "សុក្រ", "សៅរ៍"],
longhand: [
"អាទិត្យ",
"ចន្ទ",
"អង្គារ",
"ពុធ",
"ព្រហស្បតិ៍",
"សុក្រ",
"សៅរ៍",
],
},
months: {
shorthand: [
"មករា",
"កុម្ភះ",
"មីនា",
"មេសា",
"ឧសភា",
"មិថុនា",
"កក្កដា",
"សីហា",
"កញ្ញា",
"តុលា",
"វិច្ឆិកា",
"ធ្នូ",
],
longhand: [
"មករា",
"កុម្ភះ",
"មីនា",
"មេសា",
"ឧសភា",
"មិថុនា",
"កក្កដា",
"សីហា",
"កញ្ញា",
"តុលា",
"វិច្ឆិកា",
"ធ្នូ",
],
},
ordinal: function () {
return "";
},
firstDayOfWeek: 1,
rangeSeparator: " ដល់ ",
weekAbbreviation: "សប្តាហ៍",
scrollTitle: "រំកិលដើម្បីបង្កើន",
toggleTitle: "ចុចដើម្បីផ្លាស់ប្ដូរ",
yearAriaLabel: "ឆ្នាំ",
time_24hr: true,
};
fp$w.l10ns.km = Khmer;
fp$w.l10ns;
var fp$x = typeof window !== "undefined" && window.flatpickr !== undefined
? window.flatpickr
: {
l10ns: {},
};
var Kazakh = {
weekdays: {
shorthand: ["Жс", "Дс", "Сc", "Ср", "Бс", "Жм", "Сб"],
longhand: [
"Жексенбi",
"Дүйсенбi",
"Сейсенбi",
"Сәрсенбi",
"Бейсенбi",
"Жұма",
"Сенбi",
],
},
months: {
shorthand: [
"Қаң",
"Ақп",
"Нау",
"Сәу",
"Мам",
"Мау",
"Шiл",
"Там",
"Қыр",
"Қаз",
"Қар",
"Жел",
],
longhand: [
"Қаңтар",
"Ақпан",
"Наурыз",
"Сәуiр",
"Мамыр",
"Маусым",
"Шiлде",
"Тамыз",
"Қыркүйек",
"Қазан",
"Қараша",
"Желтоқсан",
],
},
firstDayOfWeek: 1,
ordinal: function () {
return "";
},
rangeSeparator: " — ",
weekAbbreviation: "Апта",
scrollTitle: "Үлкейту үшін айналдырыңыз",
toggleTitle: "Ауыстыру үшін басыңыз",
amPM: ["ТД", "ТК"],
yearAriaLabel: "Жыл",
};
fp$x.l10ns.kz = Kazakh;
fp$x.l10ns;
var fp$y = typeof window !== "undefined" && window.flatpickr !== undefined
? window.flatpickr
: {
l10ns: {},
};
var Lithuanian = {
weekdays: {
shorthand: ["S", "Pr", "A", "T", "K", "Pn", "Š"],
longhand: [
"Sekmadienis",
"Pirmadienis",
"Antradienis",
"Trečiadienis",
"Ketvirtadienis",
"Penktadienis",
"Šeštadienis",
],
},
months: {
shorthand: [
"Sau",
"Vas",
"Kov",
"Bal",
"Geg",
"Bir",
"Lie",
"Rgp",
"Rgs",
"Spl",
"Lap",
"Grd",
],
longhand: [
"Sausis",
"Vasaris",
"Kovas",
"Balandis",
"Gegužė",
"Birželis",
"Liepa",
"Rugpjūtis",
"Rugsėjis",
"Spalis",
"Lapkritis",
"Gruodis",
],
},
firstDayOfWeek: 1,
ordinal: function () {
return "-a";
},
rangeSeparator: " iki ",
weekAbbreviation: "Sav",
scrollTitle: "Keisti laiką pelės rateliu",
toggleTitle: "Perjungti laiko formatą",
time_24hr: true,
};
fp$y.l10ns.lt = Lithuanian;
fp$y.l10ns;
var fp$z = typeof window !== "undefined" && window.flatpickr !== undefined
? window.flatpickr
: {
l10ns: {},
};
var Latvian = {
firstDayOfWeek: 1,
weekdays: {
shorthand: ["Sv", "Pr", "Ot", "Tr", "Ce", "Pk", "Se"],
longhand: [
"Svētdiena",
"Pirmdiena",
"Otrdiena",
"Trešdiena",
"Ceturtdiena",
"Piektdiena",
"Sestdiena",
],
},
months: {
shorthand: [
"Jan",
"Feb",
"Mar",
"Apr",
"Mai",
"Jūn",
"Jūl",
"Aug",
"Sep",
"Okt",
"Nov",
"Dec",
],
longhand: [
"Janvāris",
"Februāris",
"Marts",
"Aprīlis",
"Maijs",
"Jūnijs",
"Jūlijs",
"Augusts",
"Septembris",
"Oktobris",
"Novembris",
"Decembris",
],
},
rangeSeparator: " līdz ",
time_24hr: true,
};
fp$z.l10ns.lv = Latvian;
fp$z.l10ns;
var fp$A = typeof window !== "undefined" && window.flatpickr !== undefined
? window.flatpickr
: {
l10ns: {},
};
var Macedonian = {
weekdays: {
shorthand: ["Не", "По", "Вт", "Ср", "Че", "Пе", "Са"],
longhand: [
"Недела",
"Понеделник",
"Вторник",
"Среда",
"Четврток",
"Петок",
"Сабота",
],
},
months: {
shorthand: [
"Јан",
"Фев",
"Мар",
"Апр",
"Мај",
"Јун",
"Јул",
"Авг",
"Сеп",
"Окт",
"Ное",
"Дек",
],
longhand: [
"Јануари",
"Февруари",
"Март",
"Април",
"Мај",
"Јуни",
"Јули",
"Август",
"Септември",
"Октомври",
"Ноември",
"Декември",
],
},
firstDayOfWeek: 1,
weekAbbreviation: "Нед.",
rangeSeparator: " до ",
time_24hr: true,
};
fp$A.l10ns.mk = Macedonian;
fp$A.l10ns;
var fp$B = typeof window !== "undefined" && window.flatpickr !== undefined
? window.flatpickr
: {
l10ns: {},
};
var Mongolian = {
firstDayOfWeek: 1,
weekdays: {
shorthand: ["Да", "Мя", "Лх", "Пү", "Ба", "Бя", "Ня"],
longhand: ["Даваа", "Мягмар", "Лхагва", "Пүрэв", "Баасан", "Бямба", "Ням"],
},
months: {
shorthand: [
"1-р сар",
"2-р сар",
"3-р сар",
"4-р сар",
"5-р сар",
"6-р сар",
"7-р сар",
"8-р сар",
"9-р сар",
"10-р сар",
"11-р сар",
"12-р сар",
],
longhand: [
"Нэгдүгээр сар",
"Хоёрдугаар сар",
"Гуравдугаар сар",
"Дөрөвдүгээр сар",
"Тавдугаар сар",
"Зургаадугаар сар",
"Долдугаар сар",
"Наймдугаар сар",
"Есдүгээр сар",
"Аравдугаар сар",
"Арваннэгдүгээр сар",
"Арванхоёрдугаар сар",
],
},
rangeSeparator: "-с ",
time_24hr: true,
};
fp$B.l10ns.mn = Mongolian;
fp$B.l10ns;
var fp$C = typeof window !== "undefined" && window.flatpickr !== undefined
? window.flatpickr
: {
l10ns: {},
};
var Malaysian = {
weekdays: {
shorthand: ["Aha", "Isn", "Sel", "Rab", "Kha", "Jum", "Sab"],
longhand: ["Ahad", "Isnin", "Selasa", "Rabu", "Khamis", "Jumaat", "Sabtu"],
},
months: {
shorthand: [
"Jan",
"Feb",
"Mac",
"Apr",
"Mei",
"Jun",
"Jul",
"Ogo",
"Sep",
"Okt",
"Nov",
"Dis",
],
longhand: [
"Januari",
"Februari",
"Mac",
"April",
"Mei",
"Jun",
"Julai",
"Ogos",
"September",
"Oktober",
"November",
"Disember",
],
},
firstDayOfWeek: 1,
ordinal: function () {
return "";
},
};
fp$C.l10ns;
var fp$D = typeof window !== "undefined" && window.flatpickr !== undefined
? window.flatpickr
: {
l10ns: {},
};
var Burmese = {
weekdays: {
shorthand: ["နွေ", "လာ", "ဂါ", "ဟူး", "ကြာ", "သော", "နေ"],
longhand: [
"တနင်္ဂနွေ",
"တနင်္လာ",
"အင်္ဂါ",
"ဗုဒ္ဓဟူး",
"ကြာသပတေး",
"သောကြာ",
"စနေ",
],
},
months: {
shorthand: [
"ဇန်",
"ဖေ",
"မတ်",
"ပြီ",
"မေ",
"ဇွန်",
"လိုင်",
"သြ",
"စက်",
"အောက်",
"နို",
"ဒီ",
],
longhand: [
"ဇန်နဝါရီ",
"ဖေဖော်ဝါရီ",
"မတ်",
"ဧပြီ",
"မေ",
"ဇွန်",
"ဇူလိုင်",
"သြဂုတ်",
"စက်တင်ဘာ",
"အောက်တိုဘာ",
"နိုဝင်ဘာ",
"ဒီဇင်ဘာ",
],
},
firstDayOfWeek: 1,
ordinal: function () {
return "";
},
time_24hr: true,
};
fp$D.l10ns.my = Burmese;
fp$D.l10ns;
var fp$E = typeof window !== "undefined" && window.flatpickr !== undefined
? window.flatpickr
: {
l10ns: {},
};
var Dutch = {
weekdays: {
shorthand: ["zo", "ma", "di", "wo", "do", "vr", "za"],
longhand: [
"zondag",
"maandag",
"dinsdag",
"woensdag",
"donderdag",
"vrijdag",
"zaterdag",
],
},
months: {
shorthand: [
"jan",
"feb",
"mrt",
"apr",
"mei",
"jun",
"jul",
"aug",
"sept",
"okt",
"nov",
"dec",
],
longhand: [
"januari",
"februari",
"maart",
"april",
"mei",
"juni",
"juli",
"augustus",
"september",
"oktober",
"november",
"december",
],
},
firstDayOfWeek: 1,
weekAbbreviation: "wk",
rangeSeparator: " t/m ",
scrollTitle: "Scroll voor volgende / vorige",
toggleTitle: "Klik om te wisselen",
time_24hr: true,
ordinal: function (nth) {
if (nth === 1 || nth === 8 || nth >= 20)
return "ste";
return "de";
},
};
fp$E.l10ns.nl = Dutch;
fp$E.l10ns;
var fp$F = typeof window !== "undefined" && window.flatpickr !== undefined
? window.flatpickr
: {
l10ns: {},
};
var NorwegianNynorsk = {
weekdays: {
shorthand: ["Sø.", "Må.", "Ty.", "On.", "To.", "Fr.", "La."],
longhand: [
"Søndag",
"Måndag",
"Tysdag",
"Onsdag",
"Torsdag",
"Fredag",
"Laurdag",
],
},
months: {
shorthand: [
"Jan",
"Feb",
"Mars",
"Apr",
"Mai",
"Juni",
"Juli",
"Aug",
"Sep",
"Okt",
"Nov",
"Des",
],
longhand: [
"Januar",
"Februar",
"Mars",
"April",
"Mai",
"Juni",
"Juli",
"August",
"September",
"Oktober",
"November",
"Desember",
],
},
firstDayOfWeek: 1,
rangeSeparator: " til ",
weekAbbreviation: "Veke",
scrollTitle: "Scroll for å endre",
toggleTitle: "Klikk for å veksle",
time_24hr: true,
ordinal: function () {
return ".";
},
};
fp$F.l10ns.nn = NorwegianNynorsk;
fp$F.l10ns;
var fp$G = typeof window !== "undefined" && window.flatpickr !== undefined
? window.flatpickr
: {
l10ns: {},
};
var Norwegian = {
weekdays: {
shorthand: ["Søn", "Man", "Tir", "Ons", "Tor", "Fre", "Lør"],
longhand: [
"Søndag",
"Mandag",
"Tirsdag",
"Onsdag",
"Torsdag",
"Fredag",
"Lørdag",
],
},
months: {
shorthand: [
"Jan",
"Feb",
"Mar",
"Apr",
"Mai",
"Jun",
"Jul",
"Aug",
"Sep",
"Okt",
"Nov",
"Des",
],
longhand: [
"Januar",
"Februar",
"Mars",
"April",
"Mai",
"Juni",
"Juli",
"August",
"September",
"Oktober",
"November",
"Desember",
],
},
firstDayOfWeek: 1,
rangeSeparator: " til ",
weekAbbreviation: "Uke",
scrollTitle: "Scroll for å endre",
toggleTitle: "Klikk for å veksle",
time_24hr: true,
ordinal: function () {
return ".";
},
};
fp$G.l10ns.no = Norwegian;
fp$G.l10ns;
var fp$H = typeof window !== "undefined" && window.flatpickr !== undefined
? window.flatpickr
: {
l10ns: {},
};
var Punjabi = {
weekdays: {
shorthand: ["ਐਤ", "ਸੋਮ", "ਮੰਗਲ", "ਬੁੱਧ", "ਵੀਰ", "ਸ਼ੁੱਕਰ", "ਸ਼ਨਿੱਚਰ"],
longhand: [
"ਐਤਵਾਰ",
"ਸੋਮਵਾਰ",
"ਮੰਗਲਵਾਰ",
"ਬੁੱਧਵਾਰ",
"ਵੀਰਵਾਰ",
"ਸ਼ੁੱਕਰਵਾਰ",
"ਸ਼ਨਿੱਚਰਵਾਰ",
],
},
months: {
shorthand: [
"ਜਨ",
"ਫ਼ਰ",
"ਮਾਰ",
"ਅਪ੍ਰੈ",
"ਮਈ",
"ਜੂਨ",
"ਜੁਲਾ",
"ਅਗ",
"ਸਤੰ",
"ਅਕ",
"ਨਵੰ",
"ਦਸੰ",
],
longhand: [
"ਜਨਵਰੀ",
"ਫ਼ਰਵਰੀ",
"ਮਾਰਚ",
"ਅਪ੍ਰੈਲ",
"ਮਈ",
"ਜੂਨ",
"ਜੁਲਾਈ",
"ਅਗਸਤ",
"ਸਤੰਬਰ",
"ਅਕਤੂਬਰ",
"ਨਵੰਬਰ",
"ਦਸੰਬਰ",
],
},
time_24hr: true,
};
fp$H.l10ns.pa = Punjabi;
fp$H.l10ns;
var fp$I = typeof window !== "undefined" && window.flatpickr !== undefined
? window.flatpickr
: {
l10ns: {},
};
var Polish = {
weekdays: {
shorthand: ["Nd", "Pn", "Wt", "Śr", "Cz", "Pt", "So"],
longhand: [
"Niedziela",
"Poniedziałek",
"Wtorek",
"Środa",
"Czwartek",
"Piątek",
"Sobota",
],
},
months: {
shorthand: [
"Sty",
"Lut",
"Mar",
"Kwi",
"Maj",
"Cze",
"Lip",
"Sie",
"Wrz",
"Paź",
"Lis",
"Gru",
],
longhand: [
"Styczeń",
"Luty",
"Marzec",
"Kwiecień",
"Maj",
"Czerwiec",
"Lipiec",
"Sierpień",
"Wrzesień",
"Październik",
"Listopad",
"Grudzień",
],
},
rangeSeparator: " do ",
weekAbbreviation: "tydz.",
scrollTitle: "Przewiń, aby zwiększyć",
toggleTitle: "Kliknij, aby przełączyć",
firstDayOfWeek: 1,
time_24hr: true,
ordinal: function () {
return ".";
},
};
fp$I.l10ns.pl = Polish;
fp$I.l10ns;
var fp$J = typeof window !== "undefined" && window.flatpickr !== undefined
? window.flatpickr
: {
l10ns: {},
};
var Portuguese = {
weekdays: {
shorthand: ["Dom", "Seg", "Ter", "Qua", "Qui", "Sex", "Sáb"],
longhand: [
"Domingo",
"Segunda-feira",
"Terça-feira",
"Quarta-feira",
"Quinta-feira",
"Sexta-feira",
"Sábado",
],
},
months: {
shorthand: [
"Jan",
"Fev",
"Mar",
"Abr",
"Mai",
"Jun",
"Jul",
"Ago",
"Set",
"Out",
"Nov",
"Dez",
],
longhand: [
"Janeiro",
"Fevereiro",
"Março",
"Abril",
"Maio",
"Junho",
"Julho",
"Agosto",
"Setembro",
"Outubro",
"Novembro",
"Dezembro",
],
},
rangeSeparator: " até ",
time_24hr: true,
};
fp$J.l10ns.pt = Portuguese;
fp$J.l10ns;
var fp$K = typeof window !== "undefined" && window.flatpickr !== undefined
? window.flatpickr
: {
l10ns: {},
};
var Romanian = {
weekdays: {
shorthand: ["Dum", "Lun", "Mar", "Mie", "Joi", "Vin", "Sâm"],
longhand: [
"Duminică",
"Luni",
"Marți",
"Miercuri",
"Joi",
"Vineri",
"Sâmbătă",
],
},
months: {
shorthand: [
"Ian",
"Feb",
"Mar",
"Apr",
"Mai",
"Iun",
"Iul",
"Aug",
"Sep",
"Oct",
"Noi",
"Dec",
],
longhand: [
"Ianuarie",
"Februarie",
"Martie",
"Aprilie",
"Mai",
"Iunie",
"Iulie",
"August",
"Septembrie",
"Octombrie",
"Noiembrie",
"Decembrie",
],
},
firstDayOfWeek: 1,
time_24hr: true,
ordinal: function () {
return "";
},
};
fp$K.l10ns.ro = Romanian;
fp$K.l10ns;
var fp$L = typeof window !== "undefined" && window.flatpickr !== undefined
? window.flatpickr
: {
l10ns: {},
};
var Russian = {
weekdays: {
shorthand: ["Вс", "Пн", "Вт", "Ср", "Чт", "Пт", "Сб"],
longhand: [
"Воскресенье",
"Понедельник",
"Вторник",
"Среда",
"Четверг",
"Пятница",
"Суббота",
],
},
months: {
shorthand: [
"Янв",
"Фев",
"Март",
"Апр",
"Май",
"Июнь",
"Июль",
"Авг",
"Сен",
"Окт",
"Ноя",
"Дек",
],
longhand: [
"Январь",
"Февраль",
"Март",
"Апрель",
"Май",
"Июнь",
"Июль",
"Август",
"Сентябрь",
"Октябрь",
"Ноябрь",
"Декабрь",
],
},
firstDayOfWeek: 1,
ordinal: function () {
return "";
},
rangeSeparator: " — ",
weekAbbreviation: "Нед.",
scrollTitle: "Прокрутите для увеличения",
toggleTitle: "Нажмите для переключения",
amPM: ["ДП", "ПП"],
yearAriaLabel: "Год",
time_24hr: true,
};
fp$L.l10ns.ru = Russian;
fp$L.l10ns;
var fp$M = typeof window !== "undefined" && window.flatpickr !== undefined
? window.flatpickr
: {
l10ns: {},
};
var Sinhala = {
weekdays: {
shorthand: ["ඉ", "ස", "අ", "බ", "බ්ර", "සි", "සෙ"],
longhand: [
"ඉරිදා",
"සඳුදා",
"අඟහරුවාදා",
"බදාදා",
"බ්රහස්පතින්දා",
"සිකුරාදා",
"සෙනසුරාදා",
],
},
months: {
shorthand: [
"ජන",
"පෙබ",
"මාර්",
"අප්රේ",
"මැයි",
"ජුනි",
"ජූලි",
"අගෝ",
"සැප්",
"ඔක්",
"නොවැ",
"දෙසැ",
],
longhand: [
"ජනවාරි",
"පෙබරවාරි",
"මාර්තු",
"අප්රේල්",
"මැයි",
"ජුනි",
"ජූලි",
"අගෝස්තු",
"සැප්තැම්බර්",
"ඔක්තෝබර්",
"නොවැම්බර්",
"දෙසැම්බර්",
],
},
time_24hr: true,
};
fp$M.l10ns.si = Sinhala;
fp$M.l10ns;
var fp$N = typeof window !== "undefined" && window.flatpickr !== undefined
? window.flatpickr
: {
l10ns: {},
};
var Slovak = {
weekdays: {
shorthand: ["Ned", "Pon", "Ut", "Str", "Štv", "Pia", "Sob"],
longhand: [
"Nedeľa",
"Pondelok",
"Utorok",
"Streda",
"Štvrtok",
"Piatok",
"Sobota",
],
},
months: {
shorthand: [
"Jan",
"Feb",
"Mar",
"Apr",
"Máj",
"Jún",
"Júl",
"Aug",
"Sep",
"Okt",
"Nov",
"Dec",
],
longhand: [
"Január",
"Február",
"Marec",
"Apríl",
"Máj",
"Jún",
"Júl",
"August",
"September",
"Október",
"November",
"December",
],
},
firstDayOfWeek: 1,
rangeSeparator: " do ",
time_24hr: true,
ordinal: function () {
return ".";
},
};
fp$N.l10ns.sk = Slovak;
fp$N.l10ns;
var fp$O = typeof window !== "undefined" && window.flatpickr !== undefined
? window.flatpickr
: {
l10ns: {},
};
var Slovenian = {
weekdays: {
shorthand: ["Ned", "Pon", "Tor", "Sre", "Čet", "Pet", "Sob"],
longhand: [
"Nedelja",
"Ponedeljek",
"Torek",
"Sreda",
"Četrtek",
"Petek",
"Sobota",
],
},
months: {
shorthand: [
"Jan",
"Feb",
"Mar",
"Apr",
"Maj",
"Jun",
"Jul",
"Avg",
"Sep",
"Okt",
"Nov",
"Dec",
],
longhand: [
"Januar",
"Februar",
"Marec",
"April",
"Maj",
"Junij",
"Julij",
"Avgust",
"September",
"Oktober",
"November",
"December",
],
},
firstDayOfWeek: 1,
rangeSeparator: " do ",
time_24hr: true,
ordinal: function () {
return ".";
},
};
fp$O.l10ns.sl = Slovenian;
fp$O.l10ns;
var fp$P = typeof window !== "undefined" && window.flatpickr !== undefined
? window.flatpickr
: {
l10ns: {},
};
var Albanian = {
weekdays: {
shorthand: ["Di", "Hë", "Ma", "Më", "En", "Pr", "Sh"],
longhand: [
"E Diel",
"E Hënë",
"E Martë",
"E Mërkurë",
"E Enjte",
"E Premte",
"E Shtunë",
],
},
months: {
shorthand: [
"Jan",
"Shk",
"Mar",
"Pri",
"Maj",
"Qer",
"Kor",
"Gus",
"Sht",
"Tet",
"Nën",
"Dhj",
],
longhand: [
"Janar",
"Shkurt",
"Mars",
"Prill",
"Maj",
"Qershor",
"Korrik",
"Gusht",
"Shtator",
"Tetor",
"Nëntor",
"Dhjetor",
],
},
firstDayOfWeek: 1,
rangeSeparator: " deri ",
weekAbbreviation: "Java",
yearAriaLabel: "Viti",
monthAriaLabel: "Muaji",
hourAriaLabel: "Ora",
minuteAriaLabel: "Minuta",
time_24hr: true,
};
fp$P.l10ns.sq = Albanian;
fp$P.l10ns;
var fp$Q = typeof window !== "undefined" && window.flatpickr !== undefined
? window.flatpickr
: {
l10ns: {},
};
var Serbian = {
weekdays: {
shorthand: ["Ned", "Pon", "Uto", "Sre", "Čet", "Pet", "Sub"],
longhand: [
"Nedelja",
"Ponedeljak",
"Utorak",
"Sreda",
"Četvrtak",
"Petak",
"Subota",
],
},
months: {
shorthand: [
"Jan",
"Feb",
"Mar",
"Apr",
"Maj",
"Jun",
"Jul",
"Avg",
"Sep",
"Okt",
"Nov",
"Dec",
],
longhand: [
"Januar",
"Februar",
"Mart",
"April",
"Maj",
"Jun",
"Jul",
"Avgust",
"Septembar",
"Oktobar",
"Novembar",
"Decembar",
],
},
firstDayOfWeek: 1,
weekAbbreviation: "Ned.",
rangeSeparator: " do ",
time_24hr: true,
};
fp$Q.l10ns.sr = Serbian;
fp$Q.l10ns;
var fp$R = typeof window !== "undefined" && window.flatpickr !== undefined
? window.flatpickr
: {
l10ns: {},
};
var Swedish = {
firstDayOfWeek: 1,
weekAbbreviation: "v",
weekdays: {
shorthand: ["sön", "mån", "tis", "ons", "tor", "fre", "lör"],
longhand: [
"söndag",
"måndag",
"tisdag",
"onsdag",
"torsdag",
"fredag",
"lördag",
],
},
months: {
shorthand: [
"jan",
"feb",
"mar",
"apr",
"maj",
"jun",
"jul",
"aug",
"sep",
"okt",
"nov",
"dec",
],
longhand: [
"januari",
"februari",
"mars",
"april",
"maj",
"juni",
"juli",
"augusti",
"september",
"oktober",
"november",
"december",
],
},
rangeSeparator: " till ",
time_24hr: true,
ordinal: function () {
return ".";
},
};
fp$R.l10ns.sv = Swedish;
fp$R.l10ns;
var fp$S = typeof window !== "undefined" && window.flatpickr !== undefined
? window.flatpickr
: {
l10ns: {},
};
var Thai = {
weekdays: {
shorthand: ["อา", "จ", "อ", "พ", "พฤ", "ศ", "ส"],
longhand: [
"อาทิตย์",
"จันทร์",
"อังคาร",
"พุธ",
"พฤหัสบดี",
"ศุกร์",
"เสาร์",
],
},
months: {
shorthand: [
"ม.ค.",
"ก.พ.",
"มี.ค.",
"เม.ย.",
"พ.ค.",
"มิ.ย.",
"ก.ค.",
"ส.ค.",
"ก.ย.",
"ต.ค.",
"พ.ย.",
"ธ.ค.",
],
longhand: [
"มกราคม",
"กุมภาพันธ์",
"มีนาคม",
"เมษายน",
"พฤษภาคม",
"มิถุนายน",
"กรกฎาคม",
"สิงหาคม",
"กันยายน",
"ตุลาคม",
"พฤศจิกายน",
"ธันวาคม",
],
},
firstDayOfWeek: 1,
rangeSeparator: " ถึง ",
scrollTitle: "เลื่อนเพื่อเพิ่มหรือลด",
toggleTitle: "คลิกเพื่อเปลี่ยน",
time_24hr: true,
ordinal: function () {
return "";
},
};
fp$S.l10ns.th = Thai;
fp$S.l10ns;
var fp$T = typeof window !== "undefined" && window.flatpickr !== undefined
? window.flatpickr
: {
l10ns: {},
};
var Turkish = {
weekdays: {
shorthand: ["Paz", "Pzt", "Sal", "Çar", "Per", "Cum", "Cmt"],
longhand: [
"Pazar",
"Pazartesi",
"Salı",
"Çarşamba",
"Perşembe",
"Cuma",
"Cumartesi",
],
},
months: {
shorthand: [
"Oca",
"Şub",
"Mar",
"Nis",
"May",
"Haz",
"Tem",
"Ağu",
"Eyl",
"Eki",
"Kas",
"Ara",
],
longhand: [
"Ocak",
"Şubat",
"Mart",
"Nisan",
"Mayıs",
"Haziran",
"Temmuz",
"Ağustos",
"Eylül",
"Ekim",
"Kasım",
"Aralık",
],
},
firstDayOfWeek: 1,
ordinal: function () {
return ".";
},
rangeSeparator: " - ",
weekAbbreviation: "Hf",
scrollTitle: "Artırmak için kaydırın",
toggleTitle: "Aç/Kapa",
amPM: ["ÖÖ", "ÖS"],
time_24hr: true,
};
fp$T.l10ns.tr = Turkish;
fp$T.l10ns;
var fp$U = typeof window !== "undefined" && window.flatpickr !== undefined
? window.flatpickr
: {
l10ns: {},
};
var Ukrainian = {
firstDayOfWeek: 1,
weekdays: {
shorthand: ["Нд", "Пн", "Вт", "Ср", "Чт", "Пт", "Сб"],
longhand: [
"Неділя",
"Понеділок",
"Вівторок",
"Середа",
"Четвер",
"П'ятниця",
"Субота",
],
},
months: {
shorthand: [
"Січ",
"Лют",
"Бер",
"Кві",
"Тра",
"Чер",
"Лип",
"Сер",
"Вер",
"Жов",
"Лис",
"Гру",
],
longhand: [
"Січень",
"Лютий",
"Березень",
"Квітень",
"Травень",
"Червень",
"Липень",
"Серпень",
"Вересень",
"Жовтень",
"Листопад",
"Грудень",
],
},
time_24hr: true,
};
fp$U.l10ns.uk = Ukrainian;
fp$U.l10ns;
var fp$V = typeof window !== "undefined" && window.flatpickr !== undefined
? window.flatpickr
: {
l10ns: {},
};
var Uzbek = {
weekdays: {
shorthand: ["Якш", "Душ", "Сеш", "Чор", "Пай", "Жум", "Шан"],
longhand: [
"Якшанба",
"Душанба",
"Сешанба",
"Чоршанба",
"Пайшанба",
"Жума",
"Шанба",
],
},
months: {
shorthand: [
"Янв",
"Фев",
"Мар",
"Апр",
"Май",
"Июн",
"Июл",
"Авг",
"Сен",
"Окт",
"Ноя",
"Дек",
],
longhand: [
"Январ",
"Феврал",
"Март",
"Апрел",
"Май",
"Июн",
"Июл",
"Август",
"Сентябр",
"Октябр",
"Ноябр",
"Декабр",
],
},
firstDayOfWeek: 1,
ordinal: function () {
return "";
},
rangeSeparator: " — ",
weekAbbreviation: "Ҳафта",
scrollTitle: "Катталаштириш учун айлантиринг",
toggleTitle: "Ўтиш учун босинг",
amPM: ["AM", "PM"],
yearAriaLabel: "Йил",
time_24hr: true,
};
fp$V.l10ns.uz = Uzbek;
fp$V.l10ns;
var fp$W = typeof window !== "undefined" && window.flatpickr !== undefined
? window.flatpickr
: {
l10ns: {},
};
var UzbekLatin = {
weekdays: {
shorthand: ["Ya", "Du", "Se", "Cho", "Pa", "Ju", "Sha"],
longhand: [
"Yakshanba",
"Dushanba",
"Seshanba",
"Chorshanba",
"Payshanba",
"Juma",
"Shanba",
],
},
months: {
shorthand: [
"Yan",
"Fev",
"Mar",
"Apr",
"May",
"Iyun",
"Iyul",
"Avg",
"Sen",
"Okt",
"Noy",
"Dek",
],
longhand: [
"Yanvar",
"Fevral",
"Mart",
"Aprel",
"May",
"Iyun",
"Iyul",
"Avgust",
"Sentabr",
"Oktabr",
"Noyabr",
"Dekabr",
],
},
firstDayOfWeek: 1,
ordinal: function () {
return "";
},
rangeSeparator: " — ",
weekAbbreviation: "Hafta",
scrollTitle: "Kattalashtirish uchun aylantiring",
toggleTitle: "O‘tish uchun bosing",
amPM: ["AM", "PM"],
yearAriaLabel: "Yil",
time_24hr: true,
};
fp$W.l10ns["uz_latn"] = UzbekLatin;
fp$W.l10ns;
var fp$X = typeof window !== "undefined" && window.flatpickr !== undefined
? window.flatpickr
: {
l10ns: {},
};
var Vietnamese = {
weekdays: {
shorthand: ["CN", "T2", "T3", "T4", "T5", "T6", "T7"],
longhand: [
"Chủ nhật",
"Thứ hai",
"Thứ ba",
"Thứ tư",
"Thứ năm",
"Thứ sáu",
"Thứ bảy",
],
},
months: {
shorthand: [
"Th1",
"Th2",
"Th3",
"Th4",
"Th5",
"Th6",
"Th7",
"Th8",
"Th9",
"Th10",
"Th11",
"Th12",
],
longhand: [
"Tháng một",
"Tháng hai",
"Tháng ba",
"Tháng tư",
"Tháng năm",
"Tháng sáu",
"Tháng bảy",
"Tháng tám",
"Tháng chín",
"Tháng mười",
"Tháng mười một",
"Tháng mười hai",
],
},
firstDayOfWeek: 1,
rangeSeparator: " đến ",
};
fp$X.l10ns.vn = Vietnamese;
fp$X.l10ns;
var fp$Y = typeof window !== "undefined" && window.flatpickr !== undefined
? window.flatpickr
: {
l10ns: {},
};
var Mandarin = {
weekdays: {
shorthand: ["周日", "周一", "周二", "周三", "周四", "周五", "周六"],
longhand: [
"星期日",
"星期一",
"星期二",
"星期三",
"星期四",
"星期五",
"星期六",
],
},
months: {
shorthand: [
"一月",
"二月",
"三月",
"四月",
"五月",
"六月",
"七月",
"八月",
"九月",
"十月",
"十一月",
"十二月",
],
longhand: [
"一月",
"二月",
"三月",
"四月",
"五月",
"六月",
"七月",
"八月",
"九月",
"十月",
"十一月",
"十二月",
],
},
rangeSeparator: " 至 ",
weekAbbreviation: "周",
scrollTitle: "滚动切换",
toggleTitle: "点击切换 12/24 小时时制",
};
fp$Y.l10ns.zh = Mandarin;
fp$Y.l10ns;
var fp$Z = typeof window !== "undefined" && window.flatpickr !== undefined
? window.flatpickr
: {
l10ns: {},
};
var MandarinTraditional = {
weekdays: {
shorthand: ["週日", "週一", "週二", "週三", "週四", "週五", "週六"],
longhand: [
"星期日",
"星期一",
"星期二",
"星期三",
"星期四",
"星期五",
"星期六",
],
},
months: {
shorthand: [
"一月",
"二月",
"三月",
"四月",
"五月",
"六月",
"七月",
"八月",
"九月",
"十月",
"十一月",
"十二月",
],
longhand: [
"一月",
"二月",
"三月",
"四月",
"五月",
"六月",
"七月",
"八月",
"九月",
"十月",
"十一月",
"十二月",
],
},
rangeSeparator: " 至 ",
weekAbbreviation: "週",
scrollTitle: "滾動切換",
toggleTitle: "點擊切換 12/24 小時時制",
};
fp$Z.l10ns.zh_tw = MandarinTraditional;
fp$Z.l10ns;
var l10n = {
ar: Arabic,
at: Austria,
az: Azerbaijan,
be: Belarusian,
bg: Bulgarian,
bn: Bangla,
bs: Bosnian,
ca: Catalan,
ckb: Kurdish,
cat: Catalan,
cs: Czech,
cy: Welsh,
da: Danish,
de: German,
default: __assign({}, english),
en: english,
eo: Esperanto,
es: Spanish,
et: Estonian,
fa: Persian,
fi: Finnish,
fo: Faroese,
fr: French,
gr: Greek,
he: Hebrew,
hi: Hindi,
hr: Croatian,
hu: Hungarian,
hy: Armenian,
id: Indonesian,
is: Icelandic,
it: Italian,
ja: Japanese,
ka: Georgian,
ko: Korean,
km: Khmer,
kz: Kazakh,
lt: Lithuanian,
lv: Latvian,
mk: Macedonian,
mn: Mongolian,
ms: Malaysian,
my: Burmese,
nl: Dutch,
nn: NorwegianNynorsk,
no: Norwegian,
pa: Punjabi,
pl: Polish,
pt: Portuguese,
ro: Romanian,
ru: Russian,
si: Sinhala,
sk: Slovak,
sl: Slovenian,
sq: Albanian,
sr: Serbian,
sv: Swedish,
th: Thai,
tr: Turkish,
uk: Ukrainian,
vn: Vietnamese,
zh: Mandarin,
zh_tw: MandarinTraditional,
uz: Uzbek,
uz_latn: UzbekLatin,
};
exports.default = l10n;
Object.defineProperty(exports, '__esModule', { value: true });
})));
dist/l10n/ka.js 0000644 00000004604 15167673014 0007230 0 ustar 00 (function (global, factory) {
typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports) :
typeof define === 'function' && define.amd ? define(['exports'], factory) :
(global = typeof globalThis !== 'undefined' ? globalThis : global || self, factory(global.ka = {}));
}(this, (function (exports) { 'use strict';
var fp = typeof window !== "undefined" && window.flatpickr !== undefined
? window.flatpickr
: {
l10ns: {},
};
var Georgian = {
weekdays: {
shorthand: ["კვ", "ორ", "სა", "ოთ", "ხუ", "პა", "შა"],
longhand: [
"კვირა",
"ორშაბათი",
"სამშაბათი",
"ოთხშაბათი",
"ხუთშაბათი",
"პარასკევი",
"შაბათი",
],
},
months: {
shorthand: [
"იან",
"თებ",
"მარ",
"აპრ",
"მაი",
"ივნ",
"ივლ",
"აგვ",
"სექ",
"ოქტ",
"ნოე",
"დეკ",
],
longhand: [
"იანვარი",
"თებერვალი",
"მარტი",
"აპრილი",
"მაისი",
"ივნისი",
"ივლისი",
"აგვისტო",
"სექტემბერი",
"ოქტომბერი",
"ნოემბერი",
"დეკემბერი",
],
},
firstDayOfWeek: 1,
ordinal: function () {
return "";
},
rangeSeparator: " — ",
weekAbbreviation: "კვ.",
scrollTitle: "დასქროლეთ გასადიდებლად",
toggleTitle: "დააკლიკეთ გადართვისთვის",
amPM: ["AM", "PM"],
yearAriaLabel: "წელი",
time_24hr: true,
};
fp.l10ns.ka = Georgian;
var ka = fp.l10ns;
exports.Georgian = Georgian;
exports.default = ka;
Object.defineProperty(exports, '__esModule', { value: true });
})));
dist/l10n/no.js 0000644 00000003531 15167673014 0007247 0 ustar 00 (function (global, factory) {
typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports) :
typeof define === 'function' && define.amd ? define(['exports'], factory) :
(global = typeof globalThis !== 'undefined' ? globalThis : global || self, factory(global.no = {}));
}(this, (function (exports) { 'use strict';
var fp = typeof window !== "undefined" && window.flatpickr !== undefined
? window.flatpickr
: {
l10ns: {},
};
var Norwegian = {
weekdays: {
shorthand: ["Søn", "Man", "Tir", "Ons", "Tor", "Fre", "Lør"],
longhand: [
"Søndag",
"Mandag",
"Tirsdag",
"Onsdag",
"Torsdag",
"Fredag",
"Lørdag",
],
},
months: {
shorthand: [
"Jan",
"Feb",
"Mar",
"Apr",
"Mai",
"Jun",
"Jul",
"Aug",
"Sep",
"Okt",
"Nov",
"Des",
],
longhand: [
"Januar",
"Februar",
"Mars",
"April",
"Mai",
"Juni",
"Juli",
"August",
"September",
"Oktober",
"November",
"Desember",
],
},
firstDayOfWeek: 1,
rangeSeparator: " til ",
weekAbbreviation: "Uke",
scrollTitle: "Scroll for å endre",
toggleTitle: "Klikk for å veksle",
time_24hr: true,
ordinal: function () {
return ".";
},
};
fp.l10ns.no = Norwegian;
var no = fp.l10ns;
exports.Norwegian = Norwegian;
exports.default = no;
Object.defineProperty(exports, '__esModule', { value: true });
})));
dist/l10n/hi.d.ts 0000644 00000004667 15167673014 0007502 0 ustar 00 import { CustomLocale } from "../types/locale";
export declare const Hindi: CustomLocale;
declare const _default: {
ar?: CustomLocale | undefined;
at?: CustomLocale | undefined;
az?: CustomLocale | undefined;
be?: CustomLocale | undefined;
bg?: CustomLocale | undefined;
bn?: CustomLocale | undefined;
bs?: CustomLocale | undefined;
ca?: CustomLocale | undefined;
cat?: CustomLocale | undefined;
ckb?: CustomLocale | undefined;
cs?: CustomLocale | undefined;
cy?: CustomLocale | undefined;
da?: CustomLocale | undefined;
de?: CustomLocale | undefined;
default?: CustomLocale | undefined;
en?: CustomLocale | undefined;
eo?: CustomLocale | undefined;
es?: CustomLocale | undefined;
et?: CustomLocale | undefined;
fa?: CustomLocale | undefined;
fi?: CustomLocale | undefined;
fo?: CustomLocale | undefined;
fr?: CustomLocale | undefined;
gr?: CustomLocale | undefined;
he?: CustomLocale | undefined;
hi?: CustomLocale | undefined;
hr?: CustomLocale | undefined;
hu?: CustomLocale | undefined;
hy?: CustomLocale | undefined;
id?: CustomLocale | undefined;
is?: CustomLocale | undefined;
it?: CustomLocale | undefined;
ja?: CustomLocale | undefined;
ka?: CustomLocale | undefined;
ko?: CustomLocale | undefined;
km?: CustomLocale | undefined;
kz?: CustomLocale | undefined;
lt?: CustomLocale | undefined;
lv?: CustomLocale | undefined;
mk?: CustomLocale | undefined;
mn?: CustomLocale | undefined;
ms?: CustomLocale | undefined;
my?: CustomLocale | undefined;
nl?: CustomLocale | undefined;
nn?: CustomLocale | undefined;
no?: CustomLocale | undefined;
pa?: CustomLocale | undefined;
pl?: CustomLocale | undefined;
pt?: CustomLocale | undefined;
ro?: CustomLocale | undefined;
ru?: CustomLocale | undefined;
si?: CustomLocale | undefined;
sk?: CustomLocale | undefined;
sl?: CustomLocale | undefined;
sq?: CustomLocale | undefined;
sr?: CustomLocale | undefined;
sv?: CustomLocale | undefined;
th?: CustomLocale | undefined;
tr?: CustomLocale | undefined;
uk?: CustomLocale | undefined;
vn?: CustomLocale | undefined;
zh?: CustomLocale | undefined;
uz?: CustomLocale | undefined;
uz_latn?: CustomLocale | undefined;
zh_tw?: CustomLocale | undefined;
} & {
default: import("../types/locale").Locale;
};
export default _default;
dist/l10n/ga.js 0000644 00000003276 15167673014 0007230 0 ustar 00 (function (global, factory) {
typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports) :
typeof define === 'function' && define.amd ? define(['exports'], factory) :
(global = typeof globalThis !== 'undefined' ? globalThis : global || self, factory(global.ga = {}));
}(this, (function (exports) { 'use strict';
var fp = typeof window !== "undefined" && window.flatpickr !== undefined
? window.flatpickr
: {
l10ns: {},
};
var Irish = {
firstDayOfWeek: 1,
weekdays: {
shorthand: ["Dom", "Lua", "Mái", "Céa", "Déa", "Aoi", "Sat"],
longhand: [
"Dé Domhnaigh",
"Dé Luain",
"Dé Máirt",
"Dé Céadaoin",
"Déardaoin",
"Dé hAoine",
"Dé Sathairn",
],
},
months: {
shorthand: [
"Ean",
"Fea",
"Már",
"Aib",
"Bea",
"Mei",
"Iúi",
"Lún",
"MFo",
"DFo",
"Sam",
"Nol",
],
longhand: [
"Eanáir",
"Feabhra",
"Márta",
"Aibreán",
"Bealtaine",
"Meitheamh",
"Iúil",
"Lúnasa",
"Meán Fómhair",
"Deireadh Fómhair",
"Samhain",
"Nollaig",
],
},
time_24hr: true,
};
fp.l10ns.hr = Irish;
var ga = fp.l10ns;
exports.Irish = Irish;
exports.default = ga;
Object.defineProperty(exports, '__esModule', { value: true });
})));
dist/l10n/be.js 0000644 00000004237 15167673014 0007225 0 ustar 00 (function (global, factory) {
typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports) :
typeof define === 'function' && define.amd ? define(['exports'], factory) :
(global = typeof globalThis !== 'undefined' ? globalThis : global || self, factory(global.be = {}));
}(this, (function (exports) { 'use strict';
var fp = typeof window !== "undefined" && window.flatpickr !== undefined
? window.flatpickr
: {
l10ns: {},
};
var Belarusian = {
weekdays: {
shorthand: ["Нд", "Пн", "Аў", "Ср", "Чц", "Пт", "Сб"],
longhand: [
"Нядзеля",
"Панядзелак",
"Аўторак",
"Серада",
"Чацвер",
"Пятніца",
"Субота",
],
},
months: {
shorthand: [
"Сту",
"Лют",
"Сак",
"Кра",
"Тра",
"Чэр",
"Ліп",
"Жні",
"Вер",
"Кас",
"Ліс",
"Сне",
],
longhand: [
"Студзень",
"Люты",
"Сакавік",
"Красавік",
"Травень",
"Чэрвень",
"Ліпень",
"Жнівень",
"Верасень",
"Кастрычнік",
"Лістапад",
"Снежань",
],
},
firstDayOfWeek: 1,
ordinal: function () {
return "";
},
rangeSeparator: " — ",
weekAbbreviation: "Тыд.",
scrollTitle: "Пракруціце для павелічэння",
toggleTitle: "Націсніце для пераключэння",
amPM: ["ДП", "ПП"],
yearAriaLabel: "Год",
time_24hr: true,
};
fp.l10ns.be = Belarusian;
var be = fp.l10ns;
exports.Belarusian = Belarusian;
exports.default = be;
Object.defineProperty(exports, '__esModule', { value: true });
})));
dist/l10n/fi.d.ts 0000644 00000004671 15167673014 0007473 0 ustar 00 import { CustomLocale } from "../types/locale";
export declare const Finnish: CustomLocale;
declare const _default: {
ar?: CustomLocale | undefined;
at?: CustomLocale | undefined;
az?: CustomLocale | undefined;
be?: CustomLocale | undefined;
bg?: CustomLocale | undefined;
bn?: CustomLocale | undefined;
bs?: CustomLocale | undefined;
ca?: CustomLocale | undefined;
cat?: CustomLocale | undefined;
ckb?: CustomLocale | undefined;
cs?: CustomLocale | undefined;
cy?: CustomLocale | undefined;
da?: CustomLocale | undefined;
de?: CustomLocale | undefined;
default?: CustomLocale | undefined;
en?: CustomLocale | undefined;
eo?: CustomLocale | undefined;
es?: CustomLocale | undefined;
et?: CustomLocale | undefined;
fa?: CustomLocale | undefined;
fi?: CustomLocale | undefined;
fo?: CustomLocale | undefined;
fr?: CustomLocale | undefined;
gr?: CustomLocale | undefined;
he?: CustomLocale | undefined;
hi?: CustomLocale | undefined;
hr?: CustomLocale | undefined;
hu?: CustomLocale | undefined;
hy?: CustomLocale | undefined;
id?: CustomLocale | undefined;
is?: CustomLocale | undefined;
it?: CustomLocale | undefined;
ja?: CustomLocale | undefined;
ka?: CustomLocale | undefined;
ko?: CustomLocale | undefined;
km?: CustomLocale | undefined;
kz?: CustomLocale | undefined;
lt?: CustomLocale | undefined;
lv?: CustomLocale | undefined;
mk?: CustomLocale | undefined;
mn?: CustomLocale | undefined;
ms?: CustomLocale | undefined;
my?: CustomLocale | undefined;
nl?: CustomLocale | undefined;
nn?: CustomLocale | undefined;
no?: CustomLocale | undefined;
pa?: CustomLocale | undefined;
pl?: CustomLocale | undefined;
pt?: CustomLocale | undefined;
ro?: CustomLocale | undefined;
ru?: CustomLocale | undefined;
si?: CustomLocale | undefined;
sk?: CustomLocale | undefined;
sl?: CustomLocale | undefined;
sq?: CustomLocale | undefined;
sr?: CustomLocale | undefined;
sv?: CustomLocale | undefined;
th?: CustomLocale | undefined;
tr?: CustomLocale | undefined;
uk?: CustomLocale | undefined;
vn?: CustomLocale | undefined;
zh?: CustomLocale | undefined;
uz?: CustomLocale | undefined;
uz_latn?: CustomLocale | undefined;
zh_tw?: CustomLocale | undefined;
} & {
default: import("../types/locale").Locale;
};
export default _default;
dist/l10n/hr.js 0000644 00000003234 15167673014 0007244 0 ustar 00 (function (global, factory) {
typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports) :
typeof define === 'function' && define.amd ? define(['exports'], factory) :
(global = typeof globalThis !== 'undefined' ? globalThis : global || self, factory(global.hr = {}));
}(this, (function (exports) { 'use strict';
var fp = typeof window !== "undefined" && window.flatpickr !== undefined
? window.flatpickr
: {
l10ns: {},
};
var Croatian = {
firstDayOfWeek: 1,
weekdays: {
shorthand: ["Ned", "Pon", "Uto", "Sri", "Čet", "Pet", "Sub"],
longhand: [
"Nedjelja",
"Ponedjeljak",
"Utorak",
"Srijeda",
"Četvrtak",
"Petak",
"Subota",
],
},
months: {
shorthand: [
"Sij",
"Velj",
"Ožu",
"Tra",
"Svi",
"Lip",
"Srp",
"Kol",
"Ruj",
"Lis",
"Stu",
"Pro",
],
longhand: [
"Siječanj",
"Veljača",
"Ožujak",
"Travanj",
"Svibanj",
"Lipanj",
"Srpanj",
"Kolovoz",
"Rujan",
"Listopad",
"Studeni",
"Prosinac",
],
},
time_24hr: true,
};
fp.l10ns.hr = Croatian;
var hr = fp.l10ns;
exports.Croatian = Croatian;
exports.default = hr;
Object.defineProperty(exports, '__esModule', { value: true });
})));
dist/l10n/ro.d.ts 0000644 00000004672 15167673014 0007516 0 ustar 00 import { CustomLocale } from "../types/locale";
export declare const Romanian: CustomLocale;
declare const _default: {
ar?: CustomLocale | undefined;
at?: CustomLocale | undefined;
az?: CustomLocale | undefined;
be?: CustomLocale | undefined;
bg?: CustomLocale | undefined;
bn?: CustomLocale | undefined;
bs?: CustomLocale | undefined;
ca?: CustomLocale | undefined;
cat?: CustomLocale | undefined;
ckb?: CustomLocale | undefined;
cs?: CustomLocale | undefined;
cy?: CustomLocale | undefined;
da?: CustomLocale | undefined;
de?: CustomLocale | undefined;
default?: CustomLocale | undefined;
en?: CustomLocale | undefined;
eo?: CustomLocale | undefined;
es?: CustomLocale | undefined;
et?: CustomLocale | undefined;
fa?: CustomLocale | undefined;
fi?: CustomLocale | undefined;
fo?: CustomLocale | undefined;
fr?: CustomLocale | undefined;
gr?: CustomLocale | undefined;
he?: CustomLocale | undefined;
hi?: CustomLocale | undefined;
hr?: CustomLocale | undefined;
hu?: CustomLocale | undefined;
hy?: CustomLocale | undefined;
id?: CustomLocale | undefined;
is?: CustomLocale | undefined;
it?: CustomLocale | undefined;
ja?: CustomLocale | undefined;
ka?: CustomLocale | undefined;
ko?: CustomLocale | undefined;
km?: CustomLocale | undefined;
kz?: CustomLocale | undefined;
lt?: CustomLocale | undefined;
lv?: CustomLocale | undefined;
mk?: CustomLocale | undefined;
mn?: CustomLocale | undefined;
ms?: CustomLocale | undefined;
my?: CustomLocale | undefined;
nl?: CustomLocale | undefined;
nn?: CustomLocale | undefined;
no?: CustomLocale | undefined;
pa?: CustomLocale | undefined;
pl?: CustomLocale | undefined;
pt?: CustomLocale | undefined;
ro?: CustomLocale | undefined;
ru?: CustomLocale | undefined;
si?: CustomLocale | undefined;
sk?: CustomLocale | undefined;
sl?: CustomLocale | undefined;
sq?: CustomLocale | undefined;
sr?: CustomLocale | undefined;
sv?: CustomLocale | undefined;
th?: CustomLocale | undefined;
tr?: CustomLocale | undefined;
uk?: CustomLocale | undefined;
vn?: CustomLocale | undefined;
zh?: CustomLocale | undefined;
uz?: CustomLocale | undefined;
uz_latn?: CustomLocale | undefined;
zh_tw?: CustomLocale | undefined;
} & {
default: import("../types/locale").Locale;
};
export default _default;
dist/l10n/th.js 0000644 00000004305 15167673014 0007246 0 ustar 00 (function (global, factory) {
typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports) :
typeof define === 'function' && define.amd ? define(['exports'], factory) :
(global = typeof globalThis !== 'undefined' ? globalThis : global || self, factory(global.th = {}));
}(this, (function (exports) { 'use strict';
var fp = typeof window !== "undefined" && window.flatpickr !== undefined
? window.flatpickr
: {
l10ns: {},
};
var Thai = {
weekdays: {
shorthand: ["อา", "จ", "อ", "พ", "พฤ", "ศ", "ส"],
longhand: [
"อาทิตย์",
"จันทร์",
"อังคาร",
"พุธ",
"พฤหัสบดี",
"ศุกร์",
"เสาร์",
],
},
months: {
shorthand: [
"ม.ค.",
"ก.พ.",
"มี.ค.",
"เม.ย.",
"พ.ค.",
"มิ.ย.",
"ก.ค.",
"ส.ค.",
"ก.ย.",
"ต.ค.",
"พ.ย.",
"ธ.ค.",
],
longhand: [
"มกราคม",
"กุมภาพันธ์",
"มีนาคม",
"เมษายน",
"พฤษภาคม",
"มิถุนายน",
"กรกฎาคม",
"สิงหาคม",
"กันยายน",
"ตุลาคม",
"พฤศจิกายน",
"ธันวาคม",
],
},
firstDayOfWeek: 1,
rangeSeparator: " ถึง ",
scrollTitle: "เลื่อนเพื่อเพิ่มหรือลด",
toggleTitle: "คลิกเพื่อเปลี่ยน",
time_24hr: true,
ordinal: function () {
return "";
},
};
fp.l10ns.th = Thai;
var th = fp.l10ns;
exports.Thai = Thai;
exports.default = th;
Object.defineProperty(exports, '__esModule', { value: true });
})));
dist/l10n/sv.js 0000644 00000003400 15167673014 0007256 0 ustar 00 (function (global, factory) {
typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports) :
typeof define === 'function' && define.amd ? define(['exports'], factory) :
(global = typeof globalThis !== 'undefined' ? globalThis : global || self, factory(global.sv = {}));
}(this, (function (exports) { 'use strict';
var fp = typeof window !== "undefined" && window.flatpickr !== undefined
? window.flatpickr
: {
l10ns: {},
};
var Swedish = {
firstDayOfWeek: 1,
weekAbbreviation: "v",
weekdays: {
shorthand: ["sön", "mån", "tis", "ons", "tor", "fre", "lör"],
longhand: [
"söndag",
"måndag",
"tisdag",
"onsdag",
"torsdag",
"fredag",
"lördag",
],
},
months: {
shorthand: [
"jan",
"feb",
"mar",
"apr",
"maj",
"jun",
"jul",
"aug",
"sep",
"okt",
"nov",
"dec",
],
longhand: [
"januari",
"februari",
"mars",
"april",
"maj",
"juni",
"juli",
"augusti",
"september",
"oktober",
"november",
"december",
],
},
rangeSeparator: " till ",
time_24hr: true,
ordinal: function () {
return ".";
},
};
fp.l10ns.sv = Swedish;
var sv = fp.l10ns;
exports.Swedish = Swedish;
exports.default = sv;
Object.defineProperty(exports, '__esModule', { value: true });
})));
dist/l10n/pl.js 0000644 00000003561 15167673014 0007251 0 ustar 00 (function (global, factory) {
typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports) :
typeof define === 'function' && define.amd ? define(['exports'], factory) :
(global = typeof globalThis !== 'undefined' ? globalThis : global || self, factory(global.pl = {}));
}(this, (function (exports) { 'use strict';
var fp = typeof window !== "undefined" && window.flatpickr !== undefined
? window.flatpickr
: {
l10ns: {},
};
var Polish = {
weekdays: {
shorthand: ["Nd", "Pn", "Wt", "Śr", "Cz", "Pt", "So"],
longhand: [
"Niedziela",
"Poniedziałek",
"Wtorek",
"Środa",
"Czwartek",
"Piątek",
"Sobota",
],
},
months: {
shorthand: [
"Sty",
"Lut",
"Mar",
"Kwi",
"Maj",
"Cze",
"Lip",
"Sie",
"Wrz",
"Paź",
"Lis",
"Gru",
],
longhand: [
"Styczeń",
"Luty",
"Marzec",
"Kwiecień",
"Maj",
"Czerwiec",
"Lipiec",
"Sierpień",
"Wrzesień",
"Październik",
"Listopad",
"Grudzień",
],
},
rangeSeparator: " do ",
weekAbbreviation: "tydz.",
scrollTitle: "Przewiń, aby zwiększyć",
toggleTitle: "Kliknij, aby przełączyć",
firstDayOfWeek: 1,
time_24hr: true,
ordinal: function () {
return ".";
},
};
fp.l10ns.pl = Polish;
var pl = fp.l10ns;
exports.Polish = Polish;
exports.default = pl;
Object.defineProperty(exports, '__esModule', { value: true });
})));
dist/l10n/th.d.ts 0000644 00000004666 15167673014 0007514 0 ustar 00 import { CustomLocale } from "../types/locale";
export declare const Thai: CustomLocale;
declare const _default: {
ar?: CustomLocale | undefined;
at?: CustomLocale | undefined;
az?: CustomLocale | undefined;
be?: CustomLocale | undefined;
bg?: CustomLocale | undefined;
bn?: CustomLocale | undefined;
bs?: CustomLocale | undefined;
ca?: CustomLocale | undefined;
cat?: CustomLocale | undefined;
ckb?: CustomLocale | undefined;
cs?: CustomLocale | undefined;
cy?: CustomLocale | undefined;
da?: CustomLocale | undefined;
de?: CustomLocale | undefined;
default?: CustomLocale | undefined;
en?: CustomLocale | undefined;
eo?: CustomLocale | undefined;
es?: CustomLocale | undefined;
et?: CustomLocale | undefined;
fa?: CustomLocale | undefined;
fi?: CustomLocale | undefined;
fo?: CustomLocale | undefined;
fr?: CustomLocale | undefined;
gr?: CustomLocale | undefined;
he?: CustomLocale | undefined;
hi?: CustomLocale | undefined;
hr?: CustomLocale | undefined;
hu?: CustomLocale | undefined;
hy?: CustomLocale | undefined;
id?: CustomLocale | undefined;
is?: CustomLocale | undefined;
it?: CustomLocale | undefined;
ja?: CustomLocale | undefined;
ka?: CustomLocale | undefined;
ko?: CustomLocale | undefined;
km?: CustomLocale | undefined;
kz?: CustomLocale | undefined;
lt?: CustomLocale | undefined;
lv?: CustomLocale | undefined;
mk?: CustomLocale | undefined;
mn?: CustomLocale | undefined;
ms?: CustomLocale | undefined;
my?: CustomLocale | undefined;
nl?: CustomLocale | undefined;
nn?: CustomLocale | undefined;
no?: CustomLocale | undefined;
pa?: CustomLocale | undefined;
pl?: CustomLocale | undefined;
pt?: CustomLocale | undefined;
ro?: CustomLocale | undefined;
ru?: CustomLocale | undefined;
si?: CustomLocale | undefined;
sk?: CustomLocale | undefined;
sl?: CustomLocale | undefined;
sq?: CustomLocale | undefined;
sr?: CustomLocale | undefined;
sv?: CustomLocale | undefined;
th?: CustomLocale | undefined;
tr?: CustomLocale | undefined;
uk?: CustomLocale | undefined;
vn?: CustomLocale | undefined;
zh?: CustomLocale | undefined;
uz?: CustomLocale | undefined;
uz_latn?: CustomLocale | undefined;
zh_tw?: CustomLocale | undefined;
} & {
default: import("../types/locale").Locale;
};
export default _default;
dist/l10n/ckb.js 0000644 00000004222 15167673014 0007370 0 ustar 00 (function (global, factory) {
typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports) :
typeof define === 'function' && define.amd ? define(['exports'], factory) :
(global = typeof globalThis !== 'undefined' ? globalThis : global || self, factory(global.ckb = {}));
}(this, (function (exports) { 'use strict';
var fp = typeof window !== "undefined" && window.flatpickr !== undefined
? window.flatpickr
: {
l10ns: {},
};
var Kurdish = {
weekdays: {
shorthand: [
"یەکشەممە",
"دووشەممە",
"سێشەممە",
"چوارشەممە",
"پێنجشەممە",
"هەینی",
"شەممە",
],
longhand: [
"یەکشەممە",
"دووشەممە",
"سێشەممە",
"چوارشەممە",
"پێنجشەممە",
"هەینی",
"شەممە",
],
},
months: {
shorthand: [
"ڕێبەندان",
"ڕەشەمە",
"نەورۆز",
"گوڵان",
"جۆزەردان",
"پووشپەڕ",
"گەلاوێژ",
"خەرمانان",
"ڕەزبەر",
"گەڵاڕێزان",
"سەرماوەز",
"بەفرانبار",
],
longhand: [
"ڕێبەندان",
"ڕەشەمە",
"نەورۆز",
"گوڵان",
"جۆزەردان",
"پووشپەڕ",
"گەلاوێژ",
"خەرمانان",
"ڕەزبەر",
"گەڵاڕێزان",
"سەرماوەز",
"بەفرانبار",
],
},
firstDayOfWeek: 6,
ordinal: function () {
return "";
},
};
fp.l10ns.ckb = Kurdish;
var ckb = fp.l10ns;
exports.Kurdish = Kurdish;
exports.default = ckb;
Object.defineProperty(exports, '__esModule', { value: true });
})));
dist/l10n/sl.js 0000644 00000003347 15167673014 0007256 0 ustar 00 (function (global, factory) {
typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports) :
typeof define === 'function' && define.amd ? define(['exports'], factory) :
(global = typeof globalThis !== 'undefined' ? globalThis : global || self, factory(global.sl = {}));
}(this, (function (exports) { 'use strict';
var fp = typeof window !== "undefined" && window.flatpickr !== undefined
? window.flatpickr
: {
l10ns: {},
};
var Slovenian = {
weekdays: {
shorthand: ["Ned", "Pon", "Tor", "Sre", "Čet", "Pet", "Sob"],
longhand: [
"Nedelja",
"Ponedeljek",
"Torek",
"Sreda",
"Četrtek",
"Petek",
"Sobota",
],
},
months: {
shorthand: [
"Jan",
"Feb",
"Mar",
"Apr",
"Maj",
"Jun",
"Jul",
"Avg",
"Sep",
"Okt",
"Nov",
"Dec",
],
longhand: [
"Januar",
"Februar",
"Marec",
"April",
"Maj",
"Junij",
"Julij",
"Avgust",
"September",
"Oktober",
"November",
"December",
],
},
firstDayOfWeek: 1,
rangeSeparator: " do ",
time_24hr: true,
ordinal: function () {
return ".";
},
};
fp.l10ns.sl = Slovenian;
var sl = fp.l10ns;
exports.Slovenian = Slovenian;
exports.default = sl;
Object.defineProperty(exports, '__esModule', { value: true });
})));
dist/l10n/nn.js 0000644 00000003571 15167673014 0007252 0 ustar 00 (function (global, factory) {
typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports) :
typeof define === 'function' && define.amd ? define(['exports'], factory) :
(global = typeof globalThis !== 'undefined' ? globalThis : global || self, factory(global.nn = {}));
}(this, (function (exports) { 'use strict';
var fp = typeof window !== "undefined" && window.flatpickr !== undefined
? window.flatpickr
: {
l10ns: {},
};
var NorwegianNynorsk = {
weekdays: {
shorthand: ["Sø.", "Må.", "Ty.", "On.", "To.", "Fr.", "La."],
longhand: [
"Søndag",
"Måndag",
"Tysdag",
"Onsdag",
"Torsdag",
"Fredag",
"Laurdag",
],
},
months: {
shorthand: [
"Jan",
"Feb",
"Mars",
"Apr",
"Mai",
"Juni",
"Juli",
"Aug",
"Sep",
"Okt",
"Nov",
"Des",
],
longhand: [
"Januar",
"Februar",
"Mars",
"April",
"Mai",
"Juni",
"Juli",
"August",
"September",
"Oktober",
"November",
"Desember",
],
},
firstDayOfWeek: 1,
rangeSeparator: " til ",
weekAbbreviation: "Veke",
scrollTitle: "Scroll for å endre",
toggleTitle: "Klikk for å veksle",
time_24hr: true,
ordinal: function () {
return ".";
},
};
fp.l10ns.nn = NorwegianNynorsk;
var nn = fp.l10ns;
exports.NorwegianNynorsk = NorwegianNynorsk;
exports.default = nn;
Object.defineProperty(exports, '__esModule', { value: true });
})));
dist/l10n/mn.js 0000644 00000003711 15167673014 0007245 0 ustar 00 (function (global, factory) {
typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports) :
typeof define === 'function' && define.amd ? define(['exports'], factory) :
(global = typeof globalThis !== 'undefined' ? globalThis : global || self, factory(global.mn = {}));
}(this, (function (exports) { 'use strict';
var fp = typeof window !== "undefined" && window.flatpickr !== undefined
? window.flatpickr
: {
l10ns: {},
};
var Mongolian = {
firstDayOfWeek: 1,
weekdays: {
shorthand: ["Да", "Мя", "Лх", "Пү", "Ба", "Бя", "Ня"],
longhand: ["Даваа", "Мягмар", "Лхагва", "Пүрэв", "Баасан", "Бямба", "Ням"],
},
months: {
shorthand: [
"1-р сар",
"2-р сар",
"3-р сар",
"4-р сар",
"5-р сар",
"6-р сар",
"7-р сар",
"8-р сар",
"9-р сар",
"10-р сар",
"11-р сар",
"12-р сар",
],
longhand: [
"Нэгдүгээр сар",
"Хоёрдугаар сар",
"Гуравдугаар сар",
"Дөрөвдүгээр сар",
"Тавдугаар сар",
"Зургаадугаар сар",
"Долдугаар сар",
"Наймдугаар сар",
"Есдүгээр сар",
"Аравдугаар сар",
"Арваннэгдүгээр сар",
"Арванхоёрдугаар сар",
],
},
rangeSeparator: "-с ",
time_24hr: true,
};
fp.l10ns.mn = Mongolian;
var mn = fp.l10ns;
exports.Mongolian = Mongolian;
exports.default = mn;
Object.defineProperty(exports, '__esModule', { value: true });
})));
dist/l10n/pa.js 0000644 00000003670 15167673014 0007237 0 ustar 00 (function (global, factory) {
typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports) :
typeof define === 'function' && define.amd ? define(['exports'], factory) :
(global = typeof globalThis !== 'undefined' ? globalThis : global || self, factory(global.pa = {}));
}(this, (function (exports) { 'use strict';
var fp = typeof window !== "undefined" && window.flatpickr !== undefined
? window.flatpickr
: {
l10ns: {},
};
var Punjabi = {
weekdays: {
shorthand: ["ਐਤ", "ਸੋਮ", "ਮੰਗਲ", "ਬੁੱਧ", "ਵੀਰ", "ਸ਼ੁੱਕਰ", "ਸ਼ਨਿੱਚਰ"],
longhand: [
"ਐਤਵਾਰ",
"ਸੋਮਵਾਰ",
"ਮੰਗਲਵਾਰ",
"ਬੁੱਧਵਾਰ",
"ਵੀਰਵਾਰ",
"ਸ਼ੁੱਕਰਵਾਰ",
"ਸ਼ਨਿੱਚਰਵਾਰ",
],
},
months: {
shorthand: [
"ਜਨ",
"ਫ਼ਰ",
"ਮਾਰ",
"ਅਪ੍ਰੈ",
"ਮਈ",
"ਜੂਨ",
"ਜੁਲਾ",
"ਅਗ",
"ਸਤੰ",
"ਅਕ",
"ਨਵੰ",
"ਦਸੰ",
],
longhand: [
"ਜਨਵਰੀ",
"ਫ਼ਰਵਰੀ",
"ਮਾਰਚ",
"ਅਪ੍ਰੈਲ",
"ਮਈ",
"ਜੂਨ",
"ਜੁਲਾਈ",
"ਅਗਸਤ",
"ਸਤੰਬਰ",
"ਅਕਤੂਬਰ",
"ਨਵੰਬਰ",
"ਦਸੰਬਰ",
],
},
time_24hr: true,
};
fp.l10ns.pa = Punjabi;
var pa = fp.l10ns;
exports.Punjabi = Punjabi;
exports.default = pa;
Object.defineProperty(exports, '__esModule', { value: true });
})));
dist/l10n/default.js 0000644 00000004273 15167673014 0010263 0 ustar 00 (function (global, factory) {
typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports) :
typeof define === 'function' && define.amd ? define(['exports'], factory) :
(global = typeof globalThis !== 'undefined' ? globalThis : global || self, factory(global.default = {}));
}(this, (function (exports) { 'use strict';
var english = {
weekdays: {
shorthand: ["Sun", "Mon", "Tue", "Wed", "Thu", "Fri", "Sat"],
longhand: [
"Sunday",
"Monday",
"Tuesday",
"Wednesday",
"Thursday",
"Friday",
"Saturday",
],
},
months: {
shorthand: [
"Jan",
"Feb",
"Mar",
"Apr",
"May",
"Jun",
"Jul",
"Aug",
"Sep",
"Oct",
"Nov",
"Dec",
],
longhand: [
"January",
"February",
"March",
"April",
"May",
"June",
"July",
"August",
"September",
"October",
"November",
"December",
],
},
daysInMonth: [31, 28, 31, 30, 31, 30, 31, 31, 30, 31, 30, 31],
firstDayOfWeek: 0,
ordinal: function (nth) {
var s = nth % 100;
if (s > 3 && s < 21)
return "th";
switch (s % 10) {
case 1:
return "st";
case 2:
return "nd";
case 3:
return "rd";
default:
return "th";
}
},
rangeSeparator: " to ",
weekAbbreviation: "Wk",
scrollTitle: "Scroll to increment",
toggleTitle: "Click to toggle",
amPM: ["AM", "PM"],
yearAriaLabel: "Year",
monthAriaLabel: "Month",
hourAriaLabel: "Hour",
minuteAriaLabel: "Minute",
time_24hr: false,
};
exports.default = english;
exports.english = english;
Object.defineProperty(exports, '__esModule', { value: true });
})));
dist/l10n/uz_latn.d.ts 0000644 00000004674 15167673014 0010554 0 ustar 00 import { CustomLocale } from "../types/locale";
export declare const UzbekLatin: CustomLocale;
declare const _default: {
ar?: CustomLocale | undefined;
at?: CustomLocale | undefined;
az?: CustomLocale | undefined;
be?: CustomLocale | undefined;
bg?: CustomLocale | undefined;
bn?: CustomLocale | undefined;
bs?: CustomLocale | undefined;
ca?: CustomLocale | undefined;
cat?: CustomLocale | undefined;
ckb?: CustomLocale | undefined;
cs?: CustomLocale | undefined;
cy?: CustomLocale | undefined;
da?: CustomLocale | undefined;
de?: CustomLocale | undefined;
default?: CustomLocale | undefined;
en?: CustomLocale | undefined;
eo?: CustomLocale | undefined;
es?: CustomLocale | undefined;
et?: CustomLocale | undefined;
fa?: CustomLocale | undefined;
fi?: CustomLocale | undefined;
fo?: CustomLocale | undefined;
fr?: CustomLocale | undefined;
gr?: CustomLocale | undefined;
he?: CustomLocale | undefined;
hi?: CustomLocale | undefined;
hr?: CustomLocale | undefined;
hu?: CustomLocale | undefined;
hy?: CustomLocale | undefined;
id?: CustomLocale | undefined;
is?: CustomLocale | undefined;
it?: CustomLocale | undefined;
ja?: CustomLocale | undefined;
ka?: CustomLocale | undefined;
ko?: CustomLocale | undefined;
km?: CustomLocale | undefined;
kz?: CustomLocale | undefined;
lt?: CustomLocale | undefined;
lv?: CustomLocale | undefined;
mk?: CustomLocale | undefined;
mn?: CustomLocale | undefined;
ms?: CustomLocale | undefined;
my?: CustomLocale | undefined;
nl?: CustomLocale | undefined;
nn?: CustomLocale | undefined;
no?: CustomLocale | undefined;
pa?: CustomLocale | undefined;
pl?: CustomLocale | undefined;
pt?: CustomLocale | undefined;
ro?: CustomLocale | undefined;
ru?: CustomLocale | undefined;
si?: CustomLocale | undefined;
sk?: CustomLocale | undefined;
sl?: CustomLocale | undefined;
sq?: CustomLocale | undefined;
sr?: CustomLocale | undefined;
sv?: CustomLocale | undefined;
th?: CustomLocale | undefined;
tr?: CustomLocale | undefined;
uk?: CustomLocale | undefined;
vn?: CustomLocale | undefined;
zh?: CustomLocale | undefined;
uz?: CustomLocale | undefined;
uz_latn?: CustomLocale | undefined;
zh_tw?: CustomLocale | undefined;
} & {
default: import("../types/locale").Locale;
};
export default _default;
dist/l10n/ms.d.ts 0000644 00000004673 15167673014 0007516 0 ustar 00 import { CustomLocale } from "../types/locale";
export declare const Malaysian: CustomLocale;
declare const _default: {
ar?: CustomLocale | undefined;
at?: CustomLocale | undefined;
az?: CustomLocale | undefined;
be?: CustomLocale | undefined;
bg?: CustomLocale | undefined;
bn?: CustomLocale | undefined;
bs?: CustomLocale | undefined;
ca?: CustomLocale | undefined;
cat?: CustomLocale | undefined;
ckb?: CustomLocale | undefined;
cs?: CustomLocale | undefined;
cy?: CustomLocale | undefined;
da?: CustomLocale | undefined;
de?: CustomLocale | undefined;
default?: CustomLocale | undefined;
en?: CustomLocale | undefined;
eo?: CustomLocale | undefined;
es?: CustomLocale | undefined;
et?: CustomLocale | undefined;
fa?: CustomLocale | undefined;
fi?: CustomLocale | undefined;
fo?: CustomLocale | undefined;
fr?: CustomLocale | undefined;
gr?: CustomLocale | undefined;
he?: CustomLocale | undefined;
hi?: CustomLocale | undefined;
hr?: CustomLocale | undefined;
hu?: CustomLocale | undefined;
hy?: CustomLocale | undefined;
id?: CustomLocale | undefined;
is?: CustomLocale | undefined;
it?: CustomLocale | undefined;
ja?: CustomLocale | undefined;
ka?: CustomLocale | undefined;
ko?: CustomLocale | undefined;
km?: CustomLocale | undefined;
kz?: CustomLocale | undefined;
lt?: CustomLocale | undefined;
lv?: CustomLocale | undefined;
mk?: CustomLocale | undefined;
mn?: CustomLocale | undefined;
ms?: CustomLocale | undefined;
my?: CustomLocale | undefined;
nl?: CustomLocale | undefined;
nn?: CustomLocale | undefined;
no?: CustomLocale | undefined;
pa?: CustomLocale | undefined;
pl?: CustomLocale | undefined;
pt?: CustomLocale | undefined;
ro?: CustomLocale | undefined;
ru?: CustomLocale | undefined;
si?: CustomLocale | undefined;
sk?: CustomLocale | undefined;
sl?: CustomLocale | undefined;
sq?: CustomLocale | undefined;
sr?: CustomLocale | undefined;
sv?: CustomLocale | undefined;
th?: CustomLocale | undefined;
tr?: CustomLocale | undefined;
uk?: CustomLocale | undefined;
vn?: CustomLocale | undefined;
zh?: CustomLocale | undefined;
uz?: CustomLocale | undefined;
uz_latn?: CustomLocale | undefined;
zh_tw?: CustomLocale | undefined;
} & {
default: import("../types/locale").Locale;
};
export default _default;
dist/l10n/pt.js 0000644 00000003270 15167673014 0007256 0 ustar 00 (function (global, factory) {
typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports) :
typeof define === 'function' && define.amd ? define(['exports'], factory) :
(global = typeof globalThis !== 'undefined' ? globalThis : global || self, factory(global.pt = {}));
}(this, (function (exports) { 'use strict';
var fp = typeof window !== "undefined" && window.flatpickr !== undefined
? window.flatpickr
: {
l10ns: {},
};
var Portuguese = {
weekdays: {
shorthand: ["Dom", "Seg", "Ter", "Qua", "Qui", "Sex", "Sáb"],
longhand: [
"Domingo",
"Segunda-feira",
"Terça-feira",
"Quarta-feira",
"Quinta-feira",
"Sexta-feira",
"Sábado",
],
},
months: {
shorthand: [
"Jan",
"Fev",
"Mar",
"Abr",
"Mai",
"Jun",
"Jul",
"Ago",
"Set",
"Out",
"Nov",
"Dez",
],
longhand: [
"Janeiro",
"Fevereiro",
"Março",
"Abril",
"Maio",
"Junho",
"Julho",
"Agosto",
"Setembro",
"Outubro",
"Novembro",
"Dezembro",
],
},
rangeSeparator: " até ",
time_24hr: true,
};
fp.l10ns.pt = Portuguese;
var pt = fp.l10ns;
exports.Portuguese = Portuguese;
exports.default = pt;
Object.defineProperty(exports, '__esModule', { value: true });
})));
dist/l10n/mn.d.ts 0000644 00000004673 15167673014 0007511 0 ustar 00 import { CustomLocale } from "../types/locale";
export declare const Mongolian: CustomLocale;
declare const _default: {
ar?: CustomLocale | undefined;
at?: CustomLocale | undefined;
az?: CustomLocale | undefined;
be?: CustomLocale | undefined;
bg?: CustomLocale | undefined;
bn?: CustomLocale | undefined;
bs?: CustomLocale | undefined;
ca?: CustomLocale | undefined;
cat?: CustomLocale | undefined;
ckb?: CustomLocale | undefined;
cs?: CustomLocale | undefined;
cy?: CustomLocale | undefined;
da?: CustomLocale | undefined;
de?: CustomLocale | undefined;
default?: CustomLocale | undefined;
en?: CustomLocale | undefined;
eo?: CustomLocale | undefined;
es?: CustomLocale | undefined;
et?: CustomLocale | undefined;
fa?: CustomLocale | undefined;
fi?: CustomLocale | undefined;
fo?: CustomLocale | undefined;
fr?: CustomLocale | undefined;
gr?: CustomLocale | undefined;
he?: CustomLocale | undefined;
hi?: CustomLocale | undefined;
hr?: CustomLocale | undefined;
hu?: CustomLocale | undefined;
hy?: CustomLocale | undefined;
id?: CustomLocale | undefined;
is?: CustomLocale | undefined;
it?: CustomLocale | undefined;
ja?: CustomLocale | undefined;
ka?: CustomLocale | undefined;
ko?: CustomLocale | undefined;
km?: CustomLocale | undefined;
kz?: CustomLocale | undefined;
lt?: CustomLocale | undefined;
lv?: CustomLocale | undefined;
mk?: CustomLocale | undefined;
mn?: CustomLocale | undefined;
ms?: CustomLocale | undefined;
my?: CustomLocale | undefined;
nl?: CustomLocale | undefined;
nn?: CustomLocale | undefined;
no?: CustomLocale | undefined;
pa?: CustomLocale | undefined;
pl?: CustomLocale | undefined;
pt?: CustomLocale | undefined;
ro?: CustomLocale | undefined;
ru?: CustomLocale | undefined;
si?: CustomLocale | undefined;
sk?: CustomLocale | undefined;
sl?: CustomLocale | undefined;
sq?: CustomLocale | undefined;
sr?: CustomLocale | undefined;
sv?: CustomLocale | undefined;
th?: CustomLocale | undefined;
tr?: CustomLocale | undefined;
uk?: CustomLocale | undefined;
vn?: CustomLocale | undefined;
zh?: CustomLocale | undefined;
uz?: CustomLocale | undefined;
uz_latn?: CustomLocale | undefined;
zh_tw?: CustomLocale | undefined;
} & {
default: import("../types/locale").Locale;
};
export default _default;
dist/l10n/it.js 0000644 00000003524 15167673014 0007251 0 ustar 00 (function (global, factory) {
typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports) :
typeof define === 'function' && define.amd ? define(['exports'], factory) :
(global = typeof globalThis !== 'undefined' ? globalThis : global || self, factory(global.it = {}));
}(this, (function (exports) { 'use strict';
var fp = typeof window !== "undefined" && window.flatpickr !== undefined
? window.flatpickr
: {
l10ns: {},
};
var Italian = {
weekdays: {
shorthand: ["Dom", "Lun", "Mar", "Mer", "Gio", "Ven", "Sab"],
longhand: [
"Domenica",
"Lunedì",
"Martedì",
"Mercoledì",
"Giovedì",
"Venerdì",
"Sabato",
],
},
months: {
shorthand: [
"Gen",
"Feb",
"Mar",
"Apr",
"Mag",
"Giu",
"Lug",
"Ago",
"Set",
"Ott",
"Nov",
"Dic",
],
longhand: [
"Gennaio",
"Febbraio",
"Marzo",
"Aprile",
"Maggio",
"Giugno",
"Luglio",
"Agosto",
"Settembre",
"Ottobre",
"Novembre",
"Dicembre",
],
},
firstDayOfWeek: 1,
ordinal: function () { return "°"; },
rangeSeparator: " al ",
weekAbbreviation: "Se",
scrollTitle: "Scrolla per aumentare",
toggleTitle: "Clicca per cambiare",
time_24hr: true,
};
fp.l10ns.it = Italian;
var it = fp.l10ns;
exports.Italian = Italian;
exports.default = it;
Object.defineProperty(exports, '__esModule', { value: true });
})));
dist/l10n/id.js 0000644 00000003160 15167673014 0007225 0 ustar 00 (function (global, factory) {
typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports) :
typeof define === 'function' && define.amd ? define(['exports'], factory) :
(global = typeof globalThis !== 'undefined' ? globalThis : global || self, factory(global.id = {}));
}(this, (function (exports) { 'use strict';
var fp = typeof window !== "undefined" && window.flatpickr !== undefined
? window.flatpickr
: {
l10ns: {},
};
var Indonesian = {
weekdays: {
shorthand: ["Min", "Sen", "Sel", "Rab", "Kam", "Jum", "Sab"],
longhand: ["Minggu", "Senin", "Selasa", "Rabu", "Kamis", "Jumat", "Sabtu"],
},
months: {
shorthand: [
"Jan",
"Feb",
"Mar",
"Apr",
"Mei",
"Jun",
"Jul",
"Agu",
"Sep",
"Okt",
"Nov",
"Des",
],
longhand: [
"Januari",
"Februari",
"Maret",
"April",
"Mei",
"Juni",
"Juli",
"Agustus",
"September",
"Oktober",
"November",
"Desember",
],
},
firstDayOfWeek: 1,
ordinal: function () {
return "";
},
time_24hr: true,
rangeSeparator: " - ",
};
fp.l10ns.id = Indonesian;
var id = fp.l10ns;
exports.Indonesian = Indonesian;
exports.default = id;
Object.defineProperty(exports, '__esModule', { value: true });
})));
dist/l10n/ro.js 0000644 00000003320 15167673014 0007247 0 ustar 00 (function (global, factory) {
typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports) :
typeof define === 'function' && define.amd ? define(['exports'], factory) :
(global = typeof globalThis !== 'undefined' ? globalThis : global || self, factory(global.ro = {}));
}(this, (function (exports) { 'use strict';
var fp = typeof window !== "undefined" && window.flatpickr !== undefined
? window.flatpickr
: {
l10ns: {},
};
var Romanian = {
weekdays: {
shorthand: ["Dum", "Lun", "Mar", "Mie", "Joi", "Vin", "Sâm"],
longhand: [
"Duminică",
"Luni",
"Marți",
"Miercuri",
"Joi",
"Vineri",
"Sâmbătă",
],
},
months: {
shorthand: [
"Ian",
"Feb",
"Mar",
"Apr",
"Mai",
"Iun",
"Iul",
"Aug",
"Sep",
"Oct",
"Noi",
"Dec",
],
longhand: [
"Ianuarie",
"Februarie",
"Martie",
"Aprilie",
"Mai",
"Iunie",
"Iulie",
"August",
"Septembrie",
"Octombrie",
"Noiembrie",
"Decembrie",
],
},
firstDayOfWeek: 1,
time_24hr: true,
ordinal: function () {
return "";
},
};
fp.l10ns.ro = Romanian;
var ro = fp.l10ns;
exports.Romanian = Romanian;
exports.default = ro;
Object.defineProperty(exports, '__esModule', { value: true });
})));
dist/l10n/gr.d.ts 0000644 00000004667 15167673014 0007512 0 ustar 00 import { CustomLocale } from "../types/locale";
export declare const Greek: CustomLocale;
declare const _default: {
ar?: CustomLocale | undefined;
at?: CustomLocale | undefined;
az?: CustomLocale | undefined;
be?: CustomLocale | undefined;
bg?: CustomLocale | undefined;
bn?: CustomLocale | undefined;
bs?: CustomLocale | undefined;
ca?: CustomLocale | undefined;
cat?: CustomLocale | undefined;
ckb?: CustomLocale | undefined;
cs?: CustomLocale | undefined;
cy?: CustomLocale | undefined;
da?: CustomLocale | undefined;
de?: CustomLocale | undefined;
default?: CustomLocale | undefined;
en?: CustomLocale | undefined;
eo?: CustomLocale | undefined;
es?: CustomLocale | undefined;
et?: CustomLocale | undefined;
fa?: CustomLocale | undefined;
fi?: CustomLocale | undefined;
fo?: CustomLocale | undefined;
fr?: CustomLocale | undefined;
gr?: CustomLocale | undefined;
he?: CustomLocale | undefined;
hi?: CustomLocale | undefined;
hr?: CustomLocale | undefined;
hu?: CustomLocale | undefined;
hy?: CustomLocale | undefined;
id?: CustomLocale | undefined;
is?: CustomLocale | undefined;
it?: CustomLocale | undefined;
ja?: CustomLocale | undefined;
ka?: CustomLocale | undefined;
ko?: CustomLocale | undefined;
km?: CustomLocale | undefined;
kz?: CustomLocale | undefined;
lt?: CustomLocale | undefined;
lv?: CustomLocale | undefined;
mk?: CustomLocale | undefined;
mn?: CustomLocale | undefined;
ms?: CustomLocale | undefined;
my?: CustomLocale | undefined;
nl?: CustomLocale | undefined;
nn?: CustomLocale | undefined;
no?: CustomLocale | undefined;
pa?: CustomLocale | undefined;
pl?: CustomLocale | undefined;
pt?: CustomLocale | undefined;
ro?: CustomLocale | undefined;
ru?: CustomLocale | undefined;
si?: CustomLocale | undefined;
sk?: CustomLocale | undefined;
sl?: CustomLocale | undefined;
sq?: CustomLocale | undefined;
sr?: CustomLocale | undefined;
sv?: CustomLocale | undefined;
th?: CustomLocale | undefined;
tr?: CustomLocale | undefined;
uk?: CustomLocale | undefined;
vn?: CustomLocale | undefined;
zh?: CustomLocale | undefined;
uz?: CustomLocale | undefined;
uz_latn?: CustomLocale | undefined;
zh_tw?: CustomLocale | undefined;
} & {
default: import("../types/locale").Locale;
};
export default _default;
dist/l10n/mk.js 0000644 00000003566 15167673014 0007252 0 ustar 00 (function (global, factory) {
typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports) :
typeof define === 'function' && define.amd ? define(['exports'], factory) :
(global = typeof globalThis !== 'undefined' ? globalThis : global || self, factory(global.mk = {}));
}(this, (function (exports) { 'use strict';
var fp = typeof window !== "undefined" && window.flatpickr !== undefined
? window.flatpickr
: {
l10ns: {},
};
var Macedonian = {
weekdays: {
shorthand: ["Не", "По", "Вт", "Ср", "Че", "Пе", "Са"],
longhand: [
"Недела",
"Понеделник",
"Вторник",
"Среда",
"Четврток",
"Петок",
"Сабота",
],
},
months: {
shorthand: [
"Јан",
"Фев",
"Мар",
"Апр",
"Мај",
"Јун",
"Јул",
"Авг",
"Сеп",
"Окт",
"Ное",
"Дек",
],
longhand: [
"Јануари",
"Февруари",
"Март",
"Април",
"Мај",
"Јуни",
"Јули",
"Август",
"Септември",
"Октомври",
"Ноември",
"Декември",
],
},
firstDayOfWeek: 1,
weekAbbreviation: "Нед.",
rangeSeparator: " до ",
time_24hr: true,
};
fp.l10ns.mk = Macedonian;
var mk = fp.l10ns;
exports.Macedonian = Macedonian;
exports.default = mk;
Object.defineProperty(exports, '__esModule', { value: true });
})));
dist/l10n/fi.js 0000644 00000003363 15167673014 0007234 0 ustar 00 (function (global, factory) {
typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports) :
typeof define === 'function' && define.amd ? define(['exports'], factory) :
(global = typeof globalThis !== 'undefined' ? globalThis : global || self, factory(global.fi = {}));
}(this, (function (exports) { 'use strict';
var fp = typeof window !== "undefined" && window.flatpickr !== undefined
? window.flatpickr
: {
l10ns: {},
};
var Finnish = {
firstDayOfWeek: 1,
weekdays: {
shorthand: ["su", "ma", "ti", "ke", "to", "pe", "la"],
longhand: [
"sunnuntai",
"maanantai",
"tiistai",
"keskiviikko",
"torstai",
"perjantai",
"lauantai",
],
},
months: {
shorthand: [
"tammi",
"helmi",
"maalis",
"huhti",
"touko",
"kesä",
"heinä",
"elo",
"syys",
"loka",
"marras",
"joulu",
],
longhand: [
"tammikuu",
"helmikuu",
"maaliskuu",
"huhtikuu",
"toukokuu",
"kesäkuu",
"heinäkuu",
"elokuu",
"syyskuu",
"lokakuu",
"marraskuu",
"joulukuu",
],
},
ordinal: function () {
return ".";
},
time_24hr: true,
};
fp.l10ns.fi = Finnish;
var fi = fp.l10ns;
exports.Finnish = Finnish;
exports.default = fi;
Object.defineProperty(exports, '__esModule', { value: true });
})));
dist/l10n/be.d.ts 0000644 00000004674 15167673014 0007466 0 ustar 00 import { CustomLocale } from "../types/locale";
export declare const Belarusian: CustomLocale;
declare const _default: {
ar?: CustomLocale | undefined;
at?: CustomLocale | undefined;
az?: CustomLocale | undefined;
be?: CustomLocale | undefined;
bg?: CustomLocale | undefined;
bn?: CustomLocale | undefined;
bs?: CustomLocale | undefined;
ca?: CustomLocale | undefined;
cat?: CustomLocale | undefined;
ckb?: CustomLocale | undefined;
cs?: CustomLocale | undefined;
cy?: CustomLocale | undefined;
da?: CustomLocale | undefined;
de?: CustomLocale | undefined;
default?: CustomLocale | undefined;
en?: CustomLocale | undefined;
eo?: CustomLocale | undefined;
es?: CustomLocale | undefined;
et?: CustomLocale | undefined;
fa?: CustomLocale | undefined;
fi?: CustomLocale | undefined;
fo?: CustomLocale | undefined;
fr?: CustomLocale | undefined;
gr?: CustomLocale | undefined;
he?: CustomLocale | undefined;
hi?: CustomLocale | undefined;
hr?: CustomLocale | undefined;
hu?: CustomLocale | undefined;
hy?: CustomLocale | undefined;
id?: CustomLocale | undefined;
is?: CustomLocale | undefined;
it?: CustomLocale | undefined;
ja?: CustomLocale | undefined;
ka?: CustomLocale | undefined;
ko?: CustomLocale | undefined;
km?: CustomLocale | undefined;
kz?: CustomLocale | undefined;
lt?: CustomLocale | undefined;
lv?: CustomLocale | undefined;
mk?: CustomLocale | undefined;
mn?: CustomLocale | undefined;
ms?: CustomLocale | undefined;
my?: CustomLocale | undefined;
nl?: CustomLocale | undefined;
nn?: CustomLocale | undefined;
no?: CustomLocale | undefined;
pa?: CustomLocale | undefined;
pl?: CustomLocale | undefined;
pt?: CustomLocale | undefined;
ro?: CustomLocale | undefined;
ru?: CustomLocale | undefined;
si?: CustomLocale | undefined;
sk?: CustomLocale | undefined;
sl?: CustomLocale | undefined;
sq?: CustomLocale | undefined;
sr?: CustomLocale | undefined;
sv?: CustomLocale | undefined;
th?: CustomLocale | undefined;
tr?: CustomLocale | undefined;
uk?: CustomLocale | undefined;
vn?: CustomLocale | undefined;
zh?: CustomLocale | undefined;
uz?: CustomLocale | undefined;
uz_latn?: CustomLocale | undefined;
zh_tw?: CustomLocale | undefined;
} & {
default: import("../types/locale").Locale;
};
export default _default;
dist/l10n/eo.d.ts 0000644 00000004673 15167673014 0007502 0 ustar 00 import { CustomLocale } from "../types/locale";
export declare const Esperanto: CustomLocale;
declare const _default: {
ar?: CustomLocale | undefined;
at?: CustomLocale | undefined;
az?: CustomLocale | undefined;
be?: CustomLocale | undefined;
bg?: CustomLocale | undefined;
bn?: CustomLocale | undefined;
bs?: CustomLocale | undefined;
ca?: CustomLocale | undefined;
cat?: CustomLocale | undefined;
ckb?: CustomLocale | undefined;
cs?: CustomLocale | undefined;
cy?: CustomLocale | undefined;
da?: CustomLocale | undefined;
de?: CustomLocale | undefined;
default?: CustomLocale | undefined;
en?: CustomLocale | undefined;
eo?: CustomLocale | undefined;
es?: CustomLocale | undefined;
et?: CustomLocale | undefined;
fa?: CustomLocale | undefined;
fi?: CustomLocale | undefined;
fo?: CustomLocale | undefined;
fr?: CustomLocale | undefined;
gr?: CustomLocale | undefined;
he?: CustomLocale | undefined;
hi?: CustomLocale | undefined;
hr?: CustomLocale | undefined;
hu?: CustomLocale | undefined;
hy?: CustomLocale | undefined;
id?: CustomLocale | undefined;
is?: CustomLocale | undefined;
it?: CustomLocale | undefined;
ja?: CustomLocale | undefined;
ka?: CustomLocale | undefined;
ko?: CustomLocale | undefined;
km?: CustomLocale | undefined;
kz?: CustomLocale | undefined;
lt?: CustomLocale | undefined;
lv?: CustomLocale | undefined;
mk?: CustomLocale | undefined;
mn?: CustomLocale | undefined;
ms?: CustomLocale | undefined;
my?: CustomLocale | undefined;
nl?: CustomLocale | undefined;
nn?: CustomLocale | undefined;
no?: CustomLocale | undefined;
pa?: CustomLocale | undefined;
pl?: CustomLocale | undefined;
pt?: CustomLocale | undefined;
ro?: CustomLocale | undefined;
ru?: CustomLocale | undefined;
si?: CustomLocale | undefined;
sk?: CustomLocale | undefined;
sl?: CustomLocale | undefined;
sq?: CustomLocale | undefined;
sr?: CustomLocale | undefined;
sv?: CustomLocale | undefined;
th?: CustomLocale | undefined;
tr?: CustomLocale | undefined;
uk?: CustomLocale | undefined;
vn?: CustomLocale | undefined;
zh?: CustomLocale | undefined;
uz?: CustomLocale | undefined;
uz_latn?: CustomLocale | undefined;
zh_tw?: CustomLocale | undefined;
} & {
default: import("../types/locale").Locale;
};
export default _default;
dist/l10n/sr-cyr.js 0000644 00000003602 15167673014 0010051 0 ustar 00 (function (global, factory) {
typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports) :
typeof define === 'function' && define.amd ? define(['exports'], factory) :
(global = typeof globalThis !== 'undefined' ? globalThis : global || self, factory(global['sr-cyr'] = {}));
}(this, (function (exports) { 'use strict';
var fp = typeof window !== "undefined" && window.flatpickr !== undefined
? window.flatpickr
: {
l10ns: {},
};
var SerbianCyrillic = {
weekdays: {
shorthand: ["Нед", "Пон", "Уто", "Сре", "Чет", "Пет", "Суб"],
longhand: [
"Недеља",
"Понедељак",
"Уторак",
"Среда",
"Четвртак",
"Петак",
"Субота",
],
},
months: {
shorthand: [
"Јан",
"Феб",
"Мар",
"Апр",
"Мај",
"Јун",
"Јул",
"Авг",
"Сеп",
"Окт",
"Нов",
"Дец",
],
longhand: [
"Јануар",
"Фебруар",
"Март",
"Април",
"Мај",
"Јун",
"Јул",
"Август",
"Септембар",
"Октобар",
"Новембар",
"Децембар",
],
},
firstDayOfWeek: 1,
weekAbbreviation: "Нед.",
rangeSeparator: " до ",
};
fp.l10ns.sr = SerbianCyrillic;
var srCyr = fp.l10ns;
exports.SerbianCyrillic = SerbianCyrillic;
exports.default = srCyr;
Object.defineProperty(exports, '__esModule', { value: true });
})));
dist/l10n/bg.d.ts 0000644 00000004673 15167673014 0007467 0 ustar 00 import { CustomLocale } from "../types/locale";
export declare const Bulgarian: CustomLocale;
declare const _default: {
ar?: CustomLocale | undefined;
at?: CustomLocale | undefined;
az?: CustomLocale | undefined;
be?: CustomLocale | undefined;
bg?: CustomLocale | undefined;
bn?: CustomLocale | undefined;
bs?: CustomLocale | undefined;
ca?: CustomLocale | undefined;
cat?: CustomLocale | undefined;
ckb?: CustomLocale | undefined;
cs?: CustomLocale | undefined;
cy?: CustomLocale | undefined;
da?: CustomLocale | undefined;
de?: CustomLocale | undefined;
default?: CustomLocale | undefined;
en?: CustomLocale | undefined;
eo?: CustomLocale | undefined;
es?: CustomLocale | undefined;
et?: CustomLocale | undefined;
fa?: CustomLocale | undefined;
fi?: CustomLocale | undefined;
fo?: CustomLocale | undefined;
fr?: CustomLocale | undefined;
gr?: CustomLocale | undefined;
he?: CustomLocale | undefined;
hi?: CustomLocale | undefined;
hr?: CustomLocale | undefined;
hu?: CustomLocale | undefined;
hy?: CustomLocale | undefined;
id?: CustomLocale | undefined;
is?: CustomLocale | undefined;
it?: CustomLocale | undefined;
ja?: CustomLocale | undefined;
ka?: CustomLocale | undefined;
ko?: CustomLocale | undefined;
km?: CustomLocale | undefined;
kz?: CustomLocale | undefined;
lt?: CustomLocale | undefined;
lv?: CustomLocale | undefined;
mk?: CustomLocale | undefined;
mn?: CustomLocale | undefined;
ms?: CustomLocale | undefined;
my?: CustomLocale | undefined;
nl?: CustomLocale | undefined;
nn?: CustomLocale | undefined;
no?: CustomLocale | undefined;
pa?: CustomLocale | undefined;
pl?: CustomLocale | undefined;
pt?: CustomLocale | undefined;
ro?: CustomLocale | undefined;
ru?: CustomLocale | undefined;
si?: CustomLocale | undefined;
sk?: CustomLocale | undefined;
sl?: CustomLocale | undefined;
sq?: CustomLocale | undefined;
sr?: CustomLocale | undefined;
sv?: CustomLocale | undefined;
th?: CustomLocale | undefined;
tr?: CustomLocale | undefined;
uk?: CustomLocale | undefined;
vn?: CustomLocale | undefined;
zh?: CustomLocale | undefined;
uz?: CustomLocale | undefined;
uz_latn?: CustomLocale | undefined;
zh_tw?: CustomLocale | undefined;
} & {
default: import("../types/locale").Locale;
};
export default _default;
dist/l10n/pt.d.ts 0000644 00000004674 15167673014 0007523 0 ustar 00 import { CustomLocale } from "../types/locale";
export declare const Portuguese: CustomLocale;
declare const _default: {
ar?: CustomLocale | undefined;
at?: CustomLocale | undefined;
az?: CustomLocale | undefined;
be?: CustomLocale | undefined;
bg?: CustomLocale | undefined;
bn?: CustomLocale | undefined;
bs?: CustomLocale | undefined;
ca?: CustomLocale | undefined;
cat?: CustomLocale | undefined;
ckb?: CustomLocale | undefined;
cs?: CustomLocale | undefined;
cy?: CustomLocale | undefined;
da?: CustomLocale | undefined;
de?: CustomLocale | undefined;
default?: CustomLocale | undefined;
en?: CustomLocale | undefined;
eo?: CustomLocale | undefined;
es?: CustomLocale | undefined;
et?: CustomLocale | undefined;
fa?: CustomLocale | undefined;
fi?: CustomLocale | undefined;
fo?: CustomLocale | undefined;
fr?: CustomLocale | undefined;
gr?: CustomLocale | undefined;
he?: CustomLocale | undefined;
hi?: CustomLocale | undefined;
hr?: CustomLocale | undefined;
hu?: CustomLocale | undefined;
hy?: CustomLocale | undefined;
id?: CustomLocale | undefined;
is?: CustomLocale | undefined;
it?: CustomLocale | undefined;
ja?: CustomLocale | undefined;
ka?: CustomLocale | undefined;
ko?: CustomLocale | undefined;
km?: CustomLocale | undefined;
kz?: CustomLocale | undefined;
lt?: CustomLocale | undefined;
lv?: CustomLocale | undefined;
mk?: CustomLocale | undefined;
mn?: CustomLocale | undefined;
ms?: CustomLocale | undefined;
my?: CustomLocale | undefined;
nl?: CustomLocale | undefined;
nn?: CustomLocale | undefined;
no?: CustomLocale | undefined;
pa?: CustomLocale | undefined;
pl?: CustomLocale | undefined;
pt?: CustomLocale | undefined;
ro?: CustomLocale | undefined;
ru?: CustomLocale | undefined;
si?: CustomLocale | undefined;
sk?: CustomLocale | undefined;
sl?: CustomLocale | undefined;
sq?: CustomLocale | undefined;
sr?: CustomLocale | undefined;
sv?: CustomLocale | undefined;
th?: CustomLocale | undefined;
tr?: CustomLocale | undefined;
uk?: CustomLocale | undefined;
vn?: CustomLocale | undefined;
zh?: CustomLocale | undefined;
uz?: CustomLocale | undefined;
uz_latn?: CustomLocale | undefined;
zh_tw?: CustomLocale | undefined;
} & {
default: import("../types/locale").Locale;
};
export default _default;
dist/l10n/vn.js 0000644 00000003372 15167673014 0007261 0 ustar 00 (function (global, factory) {
typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports) :
typeof define === 'function' && define.amd ? define(['exports'], factory) :
(global = typeof globalThis !== 'undefined' ? globalThis : global || self, factory(global.vn = {}));
}(this, (function (exports) { 'use strict';
var fp = typeof window !== "undefined" && window.flatpickr !== undefined
? window.flatpickr
: {
l10ns: {},
};
var Vietnamese = {
weekdays: {
shorthand: ["CN", "T2", "T3", "T4", "T5", "T6", "T7"],
longhand: [
"Chủ nhật",
"Thứ hai",
"Thứ ba",
"Thứ tư",
"Thứ năm",
"Thứ sáu",
"Thứ bảy",
],
},
months: {
shorthand: [
"Th1",
"Th2",
"Th3",
"Th4",
"Th5",
"Th6",
"Th7",
"Th8",
"Th9",
"Th10",
"Th11",
"Th12",
],
longhand: [
"Tháng một",
"Tháng hai",
"Tháng ba",
"Tháng tư",
"Tháng năm",
"Tháng sáu",
"Tháng bảy",
"Tháng tám",
"Tháng chín",
"Tháng mười",
"Tháng mười một",
"Tháng mười hai",
],
},
firstDayOfWeek: 1,
rangeSeparator: " đến ",
};
fp.l10ns.vn = Vietnamese;
var vn = fp.l10ns;
exports.Vietnamese = Vietnamese;
exports.default = vn;
Object.defineProperty(exports, '__esModule', { value: true });
})));
dist/l10n/lt.d.ts 0000644 00000004674 15167673014 0007517 0 ustar 00 import { CustomLocale } from "../types/locale";
export declare const Lithuanian: CustomLocale;
declare const _default: {
ar?: CustomLocale | undefined;
at?: CustomLocale | undefined;
az?: CustomLocale | undefined;
be?: CustomLocale | undefined;
bg?: CustomLocale | undefined;
bn?: CustomLocale | undefined;
bs?: CustomLocale | undefined;
ca?: CustomLocale | undefined;
cat?: CustomLocale | undefined;
ckb?: CustomLocale | undefined;
cs?: CustomLocale | undefined;
cy?: CustomLocale | undefined;
da?: CustomLocale | undefined;
de?: CustomLocale | undefined;
default?: CustomLocale | undefined;
en?: CustomLocale | undefined;
eo?: CustomLocale | undefined;
es?: CustomLocale | undefined;
et?: CustomLocale | undefined;
fa?: CustomLocale | undefined;
fi?: CustomLocale | undefined;
fo?: CustomLocale | undefined;
fr?: CustomLocale | undefined;
gr?: CustomLocale | undefined;
he?: CustomLocale | undefined;
hi?: CustomLocale | undefined;
hr?: CustomLocale | undefined;
hu?: CustomLocale | undefined;
hy?: CustomLocale | undefined;
id?: CustomLocale | undefined;
is?: CustomLocale | undefined;
it?: CustomLocale | undefined;
ja?: CustomLocale | undefined;
ka?: CustomLocale | undefined;
ko?: CustomLocale | undefined;
km?: CustomLocale | undefined;
kz?: CustomLocale | undefined;
lt?: CustomLocale | undefined;
lv?: CustomLocale | undefined;
mk?: CustomLocale | undefined;
mn?: CustomLocale | undefined;
ms?: CustomLocale | undefined;
my?: CustomLocale | undefined;
nl?: CustomLocale | undefined;
nn?: CustomLocale | undefined;
no?: CustomLocale | undefined;
pa?: CustomLocale | undefined;
pl?: CustomLocale | undefined;
pt?: CustomLocale | undefined;
ro?: CustomLocale | undefined;
ru?: CustomLocale | undefined;
si?: CustomLocale | undefined;
sk?: CustomLocale | undefined;
sl?: CustomLocale | undefined;
sq?: CustomLocale | undefined;
sr?: CustomLocale | undefined;
sv?: CustomLocale | undefined;
th?: CustomLocale | undefined;
tr?: CustomLocale | undefined;
uk?: CustomLocale | undefined;
vn?: CustomLocale | undefined;
zh?: CustomLocale | undefined;
uz?: CustomLocale | undefined;
uz_latn?: CustomLocale | undefined;
zh_tw?: CustomLocale | undefined;
} & {
default: import("../types/locale").Locale;
};
export default _default;
dist/l10n/kz.js 0000644 00000004103 15167673014 0007253 0 ustar 00 (function (global, factory) {
typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports) :
typeof define === 'function' && define.amd ? define(['exports'], factory) :
(global = typeof globalThis !== 'undefined' ? globalThis : global || self, factory(global.kz = {}));
}(this, (function (exports) { 'use strict';
var fp = typeof window !== "undefined" && window.flatpickr !== undefined
? window.flatpickr
: {
l10ns: {},
};
var Kazakh = {
weekdays: {
shorthand: ["Жс", "Дс", "Сc", "Ср", "Бс", "Жм", "Сб"],
longhand: [
"Жексенбi",
"Дүйсенбi",
"Сейсенбi",
"Сәрсенбi",
"Бейсенбi",
"Жұма",
"Сенбi",
],
},
months: {
shorthand: [
"Қаң",
"Ақп",
"Нау",
"Сәу",
"Мам",
"Мау",
"Шiл",
"Там",
"Қыр",
"Қаз",
"Қар",
"Жел",
],
longhand: [
"Қаңтар",
"Ақпан",
"Наурыз",
"Сәуiр",
"Мамыр",
"Маусым",
"Шiлде",
"Тамыз",
"Қыркүйек",
"Қазан",
"Қараша",
"Желтоқсан",
],
},
firstDayOfWeek: 1,
ordinal: function () {
return "";
},
rangeSeparator: " — ",
weekAbbreviation: "Апта",
scrollTitle: "Үлкейту үшін айналдырыңыз",
toggleTitle: "Ауыстыру үшін басыңыз",
amPM: ["ТД", "ТК"],
yearAriaLabel: "Жыл",
};
fp.l10ns.kz = Kazakh;
var kz = fp.l10ns;
exports.Kazakh = Kazakh;
exports.default = kz;
Object.defineProperty(exports, '__esModule', { value: true });
})));
dist/l10n/da.d.ts 0000644 00000004670 15167673014 0007460 0 ustar 00 import { CustomLocale } from "../types/locale";
export declare const Danish: CustomLocale;
declare const _default: {
ar?: CustomLocale | undefined;
at?: CustomLocale | undefined;
az?: CustomLocale | undefined;
be?: CustomLocale | undefined;
bg?: CustomLocale | undefined;
bn?: CustomLocale | undefined;
bs?: CustomLocale | undefined;
ca?: CustomLocale | undefined;
cat?: CustomLocale | undefined;
ckb?: CustomLocale | undefined;
cs?: CustomLocale | undefined;
cy?: CustomLocale | undefined;
da?: CustomLocale | undefined;
de?: CustomLocale | undefined;
default?: CustomLocale | undefined;
en?: CustomLocale | undefined;
eo?: CustomLocale | undefined;
es?: CustomLocale | undefined;
et?: CustomLocale | undefined;
fa?: CustomLocale | undefined;
fi?: CustomLocale | undefined;
fo?: CustomLocale | undefined;
fr?: CustomLocale | undefined;
gr?: CustomLocale | undefined;
he?: CustomLocale | undefined;
hi?: CustomLocale | undefined;
hr?: CustomLocale | undefined;
hu?: CustomLocale | undefined;
hy?: CustomLocale | undefined;
id?: CustomLocale | undefined;
is?: CustomLocale | undefined;
it?: CustomLocale | undefined;
ja?: CustomLocale | undefined;
ka?: CustomLocale | undefined;
ko?: CustomLocale | undefined;
km?: CustomLocale | undefined;
kz?: CustomLocale | undefined;
lt?: CustomLocale | undefined;
lv?: CustomLocale | undefined;
mk?: CustomLocale | undefined;
mn?: CustomLocale | undefined;
ms?: CustomLocale | undefined;
my?: CustomLocale | undefined;
nl?: CustomLocale | undefined;
nn?: CustomLocale | undefined;
no?: CustomLocale | undefined;
pa?: CustomLocale | undefined;
pl?: CustomLocale | undefined;
pt?: CustomLocale | undefined;
ro?: CustomLocale | undefined;
ru?: CustomLocale | undefined;
si?: CustomLocale | undefined;
sk?: CustomLocale | undefined;
sl?: CustomLocale | undefined;
sq?: CustomLocale | undefined;
sr?: CustomLocale | undefined;
sv?: CustomLocale | undefined;
th?: CustomLocale | undefined;
tr?: CustomLocale | undefined;
uk?: CustomLocale | undefined;
vn?: CustomLocale | undefined;
zh?: CustomLocale | undefined;
uz?: CustomLocale | undefined;
uz_latn?: CustomLocale | undefined;
zh_tw?: CustomLocale | undefined;
} & {
default: import("../types/locale").Locale;
};
export default _default;
dist/l10n/sk.js 0000644 00000003341 15167673014 0007247 0 ustar 00 (function (global, factory) {
typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports) :
typeof define === 'function' && define.amd ? define(['exports'], factory) :
(global = typeof globalThis !== 'undefined' ? globalThis : global || self, factory(global.sk = {}));
}(this, (function (exports) { 'use strict';
var fp = typeof window !== "undefined" && window.flatpickr !== undefined
? window.flatpickr
: {
l10ns: {},
};
var Slovak = {
weekdays: {
shorthand: ["Ned", "Pon", "Ut", "Str", "Štv", "Pia", "Sob"],
longhand: [
"Nedeľa",
"Pondelok",
"Utorok",
"Streda",
"Štvrtok",
"Piatok",
"Sobota",
],
},
months: {
shorthand: [
"Jan",
"Feb",
"Mar",
"Apr",
"Máj",
"Jún",
"Júl",
"Aug",
"Sep",
"Okt",
"Nov",
"Dec",
],
longhand: [
"Január",
"Február",
"Marec",
"Apríl",
"Máj",
"Jún",
"Júl",
"August",
"September",
"Október",
"November",
"December",
],
},
firstDayOfWeek: 1,
rangeSeparator: " do ",
time_24hr: true,
ordinal: function () {
return ".";
},
};
fp.l10ns.sk = Slovak;
var sk = fp.l10ns;
exports.Slovak = Slovak;
exports.default = sk;
Object.defineProperty(exports, '__esModule', { value: true });
})));
dist/l10n/ka.d.ts 0000644 00000004672 15167673014 0007471 0 ustar 00 import { CustomLocale } from "../types/locale";
export declare const Georgian: CustomLocale;
declare const _default: {
ar?: CustomLocale | undefined;
at?: CustomLocale | undefined;
az?: CustomLocale | undefined;
be?: CustomLocale | undefined;
bg?: CustomLocale | undefined;
bn?: CustomLocale | undefined;
bs?: CustomLocale | undefined;
ca?: CustomLocale | undefined;
cat?: CustomLocale | undefined;
ckb?: CustomLocale | undefined;
cs?: CustomLocale | undefined;
cy?: CustomLocale | undefined;
da?: CustomLocale | undefined;
de?: CustomLocale | undefined;
default?: CustomLocale | undefined;
en?: CustomLocale | undefined;
eo?: CustomLocale | undefined;
es?: CustomLocale | undefined;
et?: CustomLocale | undefined;
fa?: CustomLocale | undefined;
fi?: CustomLocale | undefined;
fo?: CustomLocale | undefined;
fr?: CustomLocale | undefined;
gr?: CustomLocale | undefined;
he?: CustomLocale | undefined;
hi?: CustomLocale | undefined;
hr?: CustomLocale | undefined;
hu?: CustomLocale | undefined;
hy?: CustomLocale | undefined;
id?: CustomLocale | undefined;
is?: CustomLocale | undefined;
it?: CustomLocale | undefined;
ja?: CustomLocale | undefined;
ka?: CustomLocale | undefined;
ko?: CustomLocale | undefined;
km?: CustomLocale | undefined;
kz?: CustomLocale | undefined;
lt?: CustomLocale | undefined;
lv?: CustomLocale | undefined;
mk?: CustomLocale | undefined;
mn?: CustomLocale | undefined;
ms?: CustomLocale | undefined;
my?: CustomLocale | undefined;
nl?: CustomLocale | undefined;
nn?: CustomLocale | undefined;
no?: CustomLocale | undefined;
pa?: CustomLocale | undefined;
pl?: CustomLocale | undefined;
pt?: CustomLocale | undefined;
ro?: CustomLocale | undefined;
ru?: CustomLocale | undefined;
si?: CustomLocale | undefined;
sk?: CustomLocale | undefined;
sl?: CustomLocale | undefined;
sq?: CustomLocale | undefined;
sr?: CustomLocale | undefined;
sv?: CustomLocale | undefined;
th?: CustomLocale | undefined;
tr?: CustomLocale | undefined;
uk?: CustomLocale | undefined;
vn?: CustomLocale | undefined;
zh?: CustomLocale | undefined;
uz?: CustomLocale | undefined;
uz_latn?: CustomLocale | undefined;
zh_tw?: CustomLocale | undefined;
} & {
default: import("../types/locale").Locale;
};
export default _default;
dist/l10n/sq.js 0000644 00000003501 15167673014 0007253 0 ustar 00 (function (global, factory) {
typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports) :
typeof define === 'function' && define.amd ? define(['exports'], factory) :
(global = typeof globalThis !== 'undefined' ? globalThis : global || self, factory(global.sq = {}));
}(this, (function (exports) { 'use strict';
var fp = typeof window !== "undefined" && window.flatpickr !== undefined
? window.flatpickr
: {
l10ns: {},
};
var Albanian = {
weekdays: {
shorthand: ["Di", "Hë", "Ma", "Më", "En", "Pr", "Sh"],
longhand: [
"E Diel",
"E Hënë",
"E Martë",
"E Mërkurë",
"E Enjte",
"E Premte",
"E Shtunë",
],
},
months: {
shorthand: [
"Jan",
"Shk",
"Mar",
"Pri",
"Maj",
"Qer",
"Kor",
"Gus",
"Sht",
"Tet",
"Nën",
"Dhj",
],
longhand: [
"Janar",
"Shkurt",
"Mars",
"Prill",
"Maj",
"Qershor",
"Korrik",
"Gusht",
"Shtator",
"Tetor",
"Nëntor",
"Dhjetor",
],
},
firstDayOfWeek: 1,
rangeSeparator: " deri ",
weekAbbreviation: "Java",
yearAriaLabel: "Viti",
monthAriaLabel: "Muaji",
hourAriaLabel: "Ora",
minuteAriaLabel: "Minuta",
time_24hr: true,
};
fp.l10ns.sq = Albanian;
var sq = fp.l10ns;
exports.Albanian = Albanian;
exports.default = sq;
Object.defineProperty(exports, '__esModule', { value: true });
})));
dist/l10n/da.js 0000644 00000003373 15167673014 0007223 0 ustar 00 (function (global, factory) {
typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports) :
typeof define === 'function' && define.amd ? define(['exports'], factory) :
(global = typeof globalThis !== 'undefined' ? globalThis : global || self, factory(global.da = {}));
}(this, (function (exports) { 'use strict';
var fp = typeof window !== "undefined" && window.flatpickr !== undefined
? window.flatpickr
: {
l10ns: {},
};
var Danish = {
weekdays: {
shorthand: ["søn", "man", "tir", "ons", "tors", "fre", "lør"],
longhand: [
"søndag",
"mandag",
"tirsdag",
"onsdag",
"torsdag",
"fredag",
"lørdag",
],
},
months: {
shorthand: [
"jan",
"feb",
"mar",
"apr",
"maj",
"jun",
"jul",
"aug",
"sep",
"okt",
"nov",
"dec",
],
longhand: [
"januar",
"februar",
"marts",
"april",
"maj",
"juni",
"juli",
"august",
"september",
"oktober",
"november",
"december",
],
},
ordinal: function () {
return ".";
},
firstDayOfWeek: 1,
rangeSeparator: " til ",
weekAbbreviation: "uge",
time_24hr: true,
};
fp.l10ns.da = Danish;
var da = fp.l10ns;
exports.Danish = Danish;
exports.default = da;
Object.defineProperty(exports, '__esModule', { value: true });
})));
dist/l10n/gr.js 0000644 00000004373 15167673014 0007250 0 ustar 00 (function (global, factory) {
typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports) :
typeof define === 'function' && define.amd ? define(['exports'], factory) :
(global = typeof globalThis !== 'undefined' ? globalThis : global || self, factory(global.gr = {}));
}(this, (function (exports) { 'use strict';
var fp = typeof window !== "undefined" && window.flatpickr !== undefined
? window.flatpickr
: {
l10ns: {},
};
var Greek = {
weekdays: {
shorthand: ["Κυ", "Δε", "Τρ", "Τε", "Πέ", "Πα", "Σά"],
longhand: [
"Κυριακή",
"Δευτέρα",
"Τρίτη",
"Τετάρτη",
"Πέμπτη",
"Παρασκευή",
"Σάββατο",
],
},
months: {
shorthand: [
"Ιαν",
"Φεβ",
"Μάρ",
"Απρ",
"Μάι",
"Ιούν",
"Ιούλ",
"Αύγ",
"Σεπ",
"Οκτ",
"Νοέ",
"Δεκ",
],
longhand: [
"Ιανουάριος",
"Φεβρουάριος",
"Μάρτιος",
"Απρίλιος",
"Μάιος",
"Ιούνιος",
"Ιούλιος",
"Αύγουστος",
"Σεπτέμβριος",
"Οκτώβριος",
"Νοέμβριος",
"Δεκέμβριος",
],
},
firstDayOfWeek: 1,
ordinal: function () {
return "";
},
weekAbbreviation: "Εβδ",
rangeSeparator: " έως ",
scrollTitle: "Μετακυλήστε για προσαύξηση",
toggleTitle: "Κάντε κλικ για αλλαγή",
amPM: ["ΠΜ", "ΜΜ"],
yearAriaLabel: "χρόνος",
monthAriaLabel: "μήνας",
hourAriaLabel: "ώρα",
minuteAriaLabel: "λεπτό",
};
fp.l10ns.gr = Greek;
var gr = fp.l10ns;
exports.Greek = Greek;
exports.default = gr;
Object.defineProperty(exports, '__esModule', { value: true });
})));
dist/l10n/sr.d.ts 0000644 00000004671 15167673014 0007521 0 ustar 00 import { CustomLocale } from "../types/locale";
export declare const Serbian: CustomLocale;
declare const _default: {
ar?: CustomLocale | undefined;
at?: CustomLocale | undefined;
az?: CustomLocale | undefined;
be?: CustomLocale | undefined;
bg?: CustomLocale | undefined;
bn?: CustomLocale | undefined;
bs?: CustomLocale | undefined;
ca?: CustomLocale | undefined;
cat?: CustomLocale | undefined;
ckb?: CustomLocale | undefined;
cs?: CustomLocale | undefined;
cy?: CustomLocale | undefined;
da?: CustomLocale | undefined;
de?: CustomLocale | undefined;
default?: CustomLocale | undefined;
en?: CustomLocale | undefined;
eo?: CustomLocale | undefined;
es?: CustomLocale | undefined;
et?: CustomLocale | undefined;
fa?: CustomLocale | undefined;
fi?: CustomLocale | undefined;
fo?: CustomLocale | undefined;
fr?: CustomLocale | undefined;
gr?: CustomLocale | undefined;
he?: CustomLocale | undefined;
hi?: CustomLocale | undefined;
hr?: CustomLocale | undefined;
hu?: CustomLocale | undefined;
hy?: CustomLocale | undefined;
id?: CustomLocale | undefined;
is?: CustomLocale | undefined;
it?: CustomLocale | undefined;
ja?: CustomLocale | undefined;
ka?: CustomLocale | undefined;
ko?: CustomLocale | undefined;
km?: CustomLocale | undefined;
kz?: CustomLocale | undefined;
lt?: CustomLocale | undefined;
lv?: CustomLocale | undefined;
mk?: CustomLocale | undefined;
mn?: CustomLocale | undefined;
ms?: CustomLocale | undefined;
my?: CustomLocale | undefined;
nl?: CustomLocale | undefined;
nn?: CustomLocale | undefined;
no?: CustomLocale | undefined;
pa?: CustomLocale | undefined;
pl?: CustomLocale | undefined;
pt?: CustomLocale | undefined;
ro?: CustomLocale | undefined;
ru?: CustomLocale | undefined;
si?: CustomLocale | undefined;
sk?: CustomLocale | undefined;
sl?: CustomLocale | undefined;
sq?: CustomLocale | undefined;
sr?: CustomLocale | undefined;
sv?: CustomLocale | undefined;
th?: CustomLocale | undefined;
tr?: CustomLocale | undefined;
uk?: CustomLocale | undefined;
vn?: CustomLocale | undefined;
zh?: CustomLocale | undefined;
uz?: CustomLocale | undefined;
uz_latn?: CustomLocale | undefined;
zh_tw?: CustomLocale | undefined;
} & {
default: import("../types/locale").Locale;
};
export default _default;
dist/l10n/index.d.ts 0000644 00000000171 15167673014 0010173 0 ustar 00 import { key, CustomLocale } from "../types/locale";
declare const l10n: Record<key, CustomLocale>;
export default l10n;
dist/l10n/fr.d.ts 0000644 00000004670 15167673014 0007503 0 ustar 00 import { CustomLocale } from "../types/locale";
export declare const French: CustomLocale;
declare const _default: {
ar?: CustomLocale | undefined;
at?: CustomLocale | undefined;
az?: CustomLocale | undefined;
be?: CustomLocale | undefined;
bg?: CustomLocale | undefined;
bn?: CustomLocale | undefined;
bs?: CustomLocale | undefined;
ca?: CustomLocale | undefined;
cat?: CustomLocale | undefined;
ckb?: CustomLocale | undefined;
cs?: CustomLocale | undefined;
cy?: CustomLocale | undefined;
da?: CustomLocale | undefined;
de?: CustomLocale | undefined;
default?: CustomLocale | undefined;
en?: CustomLocale | undefined;
eo?: CustomLocale | undefined;
es?: CustomLocale | undefined;
et?: CustomLocale | undefined;
fa?: CustomLocale | undefined;
fi?: CustomLocale | undefined;
fo?: CustomLocale | undefined;
fr?: CustomLocale | undefined;
gr?: CustomLocale | undefined;
he?: CustomLocale | undefined;
hi?: CustomLocale | undefined;
hr?: CustomLocale | undefined;
hu?: CustomLocale | undefined;
hy?: CustomLocale | undefined;
id?: CustomLocale | undefined;
is?: CustomLocale | undefined;
it?: CustomLocale | undefined;
ja?: CustomLocale | undefined;
ka?: CustomLocale | undefined;
ko?: CustomLocale | undefined;
km?: CustomLocale | undefined;
kz?: CustomLocale | undefined;
lt?: CustomLocale | undefined;
lv?: CustomLocale | undefined;
mk?: CustomLocale | undefined;
mn?: CustomLocale | undefined;
ms?: CustomLocale | undefined;
my?: CustomLocale | undefined;
nl?: CustomLocale | undefined;
nn?: CustomLocale | undefined;
no?: CustomLocale | undefined;
pa?: CustomLocale | undefined;
pl?: CustomLocale | undefined;
pt?: CustomLocale | undefined;
ro?: CustomLocale | undefined;
ru?: CustomLocale | undefined;
si?: CustomLocale | undefined;
sk?: CustomLocale | undefined;
sl?: CustomLocale | undefined;
sq?: CustomLocale | undefined;
sr?: CustomLocale | undefined;
sv?: CustomLocale | undefined;
th?: CustomLocale | undefined;
tr?: CustomLocale | undefined;
uk?: CustomLocale | undefined;
vn?: CustomLocale | undefined;
zh?: CustomLocale | undefined;
uz?: CustomLocale | undefined;
uz_latn?: CustomLocale | undefined;
zh_tw?: CustomLocale | undefined;
} & {
default: import("../types/locale").Locale;
};
export default _default;
dist/l10n/ru.js 0000644 00000004171 15167673014 0007262 0 ustar 00 (function (global, factory) {
typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports) :
typeof define === 'function' && define.amd ? define(['exports'], factory) :
(global = typeof globalThis !== 'undefined' ? globalThis : global || self, factory(global.ru = {}));
}(this, (function (exports) { 'use strict';
var fp = typeof window !== "undefined" && window.flatpickr !== undefined
? window.flatpickr
: {
l10ns: {},
};
var Russian = {
weekdays: {
shorthand: ["Вс", "Пн", "Вт", "Ср", "Чт", "Пт", "Сб"],
longhand: [
"Воскресенье",
"Понедельник",
"Вторник",
"Среда",
"Четверг",
"Пятница",
"Суббота",
],
},
months: {
shorthand: [
"Янв",
"Фев",
"Март",
"Апр",
"Май",
"Июнь",
"Июль",
"Авг",
"Сен",
"Окт",
"Ноя",
"Дек",
],
longhand: [
"Январь",
"Февраль",
"Март",
"Апрель",
"Май",
"Июнь",
"Июль",
"Август",
"Сентябрь",
"Октябрь",
"Ноябрь",
"Декабрь",
],
},
firstDayOfWeek: 1,
ordinal: function () {
return "";
},
rangeSeparator: " — ",
weekAbbreviation: "Нед.",
scrollTitle: "Прокрутите для увеличения",
toggleTitle: "Нажмите для переключения",
amPM: ["ДП", "ПП"],
yearAriaLabel: "Год",
time_24hr: true,
};
fp.l10ns.ru = Russian;
var ru = fp.l10ns;
exports.Russian = Russian;
exports.default = ru;
Object.defineProperty(exports, '__esModule', { value: true });
})));
dist/l10n/sr-cyr.d.ts 0000644 00000004701 15167673014 0010306 0 ustar 00 import { CustomLocale } from "../types/locale";
export declare const SerbianCyrillic: CustomLocale;
declare const _default: {
ar?: CustomLocale | undefined;
at?: CustomLocale | undefined;
az?: CustomLocale | undefined;
be?: CustomLocale | undefined;
bg?: CustomLocale | undefined;
bn?: CustomLocale | undefined;
bs?: CustomLocale | undefined;
ca?: CustomLocale | undefined;
cat?: CustomLocale | undefined;
ckb?: CustomLocale | undefined;
cs?: CustomLocale | undefined;
cy?: CustomLocale | undefined;
da?: CustomLocale | undefined;
de?: CustomLocale | undefined;
default?: CustomLocale | undefined;
en?: CustomLocale | undefined;
eo?: CustomLocale | undefined;
es?: CustomLocale | undefined;
et?: CustomLocale | undefined;
fa?: CustomLocale | undefined;
fi?: CustomLocale | undefined;
fo?: CustomLocale | undefined;
fr?: CustomLocale | undefined;
gr?: CustomLocale | undefined;
he?: CustomLocale | undefined;
hi?: CustomLocale | undefined;
hr?: CustomLocale | undefined;
hu?: CustomLocale | undefined;
hy?: CustomLocale | undefined;
id?: CustomLocale | undefined;
is?: CustomLocale | undefined;
it?: CustomLocale | undefined;
ja?: CustomLocale | undefined;
ka?: CustomLocale | undefined;
ko?: CustomLocale | undefined;
km?: CustomLocale | undefined;
kz?: CustomLocale | undefined;
lt?: CustomLocale | undefined;
lv?: CustomLocale | undefined;
mk?: CustomLocale | undefined;
mn?: CustomLocale | undefined;
ms?: CustomLocale | undefined;
my?: CustomLocale | undefined;
nl?: CustomLocale | undefined;
nn?: CustomLocale | undefined;
no?: CustomLocale | undefined;
pa?: CustomLocale | undefined;
pl?: CustomLocale | undefined;
pt?: CustomLocale | undefined;
ro?: CustomLocale | undefined;
ru?: CustomLocale | undefined;
si?: CustomLocale | undefined;
sk?: CustomLocale | undefined;
sl?: CustomLocale | undefined;
sq?: CustomLocale | undefined;
sr?: CustomLocale | undefined;
sv?: CustomLocale | undefined;
th?: CustomLocale | undefined;
tr?: CustomLocale | undefined;
uk?: CustomLocale | undefined;
vn?: CustomLocale | undefined;
zh?: CustomLocale | undefined;
uz?: CustomLocale | undefined;
uz_latn?: CustomLocale | undefined;
zh_tw?: CustomLocale | undefined;
} & {
default: import("../types/locale").Locale;
};
export default _default;
dist/l10n/is.d.ts 0000644 00000004673 15167673014 0007512 0 ustar 00 import { CustomLocale } from "../types/locale";
export declare const Icelandic: CustomLocale;
declare const _default: {
ar?: CustomLocale | undefined;
at?: CustomLocale | undefined;
az?: CustomLocale | undefined;
be?: CustomLocale | undefined;
bg?: CustomLocale | undefined;
bn?: CustomLocale | undefined;
bs?: CustomLocale | undefined;
ca?: CustomLocale | undefined;
cat?: CustomLocale | undefined;
ckb?: CustomLocale | undefined;
cs?: CustomLocale | undefined;
cy?: CustomLocale | undefined;
da?: CustomLocale | undefined;
de?: CustomLocale | undefined;
default?: CustomLocale | undefined;
en?: CustomLocale | undefined;
eo?: CustomLocale | undefined;
es?: CustomLocale | undefined;
et?: CustomLocale | undefined;
fa?: CustomLocale | undefined;
fi?: CustomLocale | undefined;
fo?: CustomLocale | undefined;
fr?: CustomLocale | undefined;
gr?: CustomLocale | undefined;
he?: CustomLocale | undefined;
hi?: CustomLocale | undefined;
hr?: CustomLocale | undefined;
hu?: CustomLocale | undefined;
hy?: CustomLocale | undefined;
id?: CustomLocale | undefined;
is?: CustomLocale | undefined;
it?: CustomLocale | undefined;
ja?: CustomLocale | undefined;
ka?: CustomLocale | undefined;
ko?: CustomLocale | undefined;
km?: CustomLocale | undefined;
kz?: CustomLocale | undefined;
lt?: CustomLocale | undefined;
lv?: CustomLocale | undefined;
mk?: CustomLocale | undefined;
mn?: CustomLocale | undefined;
ms?: CustomLocale | undefined;
my?: CustomLocale | undefined;
nl?: CustomLocale | undefined;
nn?: CustomLocale | undefined;
no?: CustomLocale | undefined;
pa?: CustomLocale | undefined;
pl?: CustomLocale | undefined;
pt?: CustomLocale | undefined;
ro?: CustomLocale | undefined;
ru?: CustomLocale | undefined;
si?: CustomLocale | undefined;
sk?: CustomLocale | undefined;
sl?: CustomLocale | undefined;
sq?: CustomLocale | undefined;
sr?: CustomLocale | undefined;
sv?: CustomLocale | undefined;
th?: CustomLocale | undefined;
tr?: CustomLocale | undefined;
uk?: CustomLocale | undefined;
vn?: CustomLocale | undefined;
zh?: CustomLocale | undefined;
uz?: CustomLocale | undefined;
uz_latn?: CustomLocale | undefined;
zh_tw?: CustomLocale | undefined;
} & {
default: import("../types/locale").Locale;
};
export default _default;
dist/l10n/mk.d.ts 0000644 00000004674 15167673014 0007507 0 ustar 00 import { CustomLocale } from "../types/locale";
export declare const Macedonian: CustomLocale;
declare const _default: {
ar?: CustomLocale | undefined;
at?: CustomLocale | undefined;
az?: CustomLocale | undefined;
be?: CustomLocale | undefined;
bg?: CustomLocale | undefined;
bn?: CustomLocale | undefined;
bs?: CustomLocale | undefined;
ca?: CustomLocale | undefined;
cat?: CustomLocale | undefined;
ckb?: CustomLocale | undefined;
cs?: CustomLocale | undefined;
cy?: CustomLocale | undefined;
da?: CustomLocale | undefined;
de?: CustomLocale | undefined;
default?: CustomLocale | undefined;
en?: CustomLocale | undefined;
eo?: CustomLocale | undefined;
es?: CustomLocale | undefined;
et?: CustomLocale | undefined;
fa?: CustomLocale | undefined;
fi?: CustomLocale | undefined;
fo?: CustomLocale | undefined;
fr?: CustomLocale | undefined;
gr?: CustomLocale | undefined;
he?: CustomLocale | undefined;
hi?: CustomLocale | undefined;
hr?: CustomLocale | undefined;
hu?: CustomLocale | undefined;
hy?: CustomLocale | undefined;
id?: CustomLocale | undefined;
is?: CustomLocale | undefined;
it?: CustomLocale | undefined;
ja?: CustomLocale | undefined;
ka?: CustomLocale | undefined;
ko?: CustomLocale | undefined;
km?: CustomLocale | undefined;
kz?: CustomLocale | undefined;
lt?: CustomLocale | undefined;
lv?: CustomLocale | undefined;
mk?: CustomLocale | undefined;
mn?: CustomLocale | undefined;
ms?: CustomLocale | undefined;
my?: CustomLocale | undefined;
nl?: CustomLocale | undefined;
nn?: CustomLocale | undefined;
no?: CustomLocale | undefined;
pa?: CustomLocale | undefined;
pl?: CustomLocale | undefined;
pt?: CustomLocale | undefined;
ro?: CustomLocale | undefined;
ru?: CustomLocale | undefined;
si?: CustomLocale | undefined;
sk?: CustomLocale | undefined;
sl?: CustomLocale | undefined;
sq?: CustomLocale | undefined;
sr?: CustomLocale | undefined;
sv?: CustomLocale | undefined;
th?: CustomLocale | undefined;
tr?: CustomLocale | undefined;
uk?: CustomLocale | undefined;
vn?: CustomLocale | undefined;
zh?: CustomLocale | undefined;
uz?: CustomLocale | undefined;
uz_latn?: CustomLocale | undefined;
zh_tw?: CustomLocale | undefined;
} & {
default: import("../types/locale").Locale;
};
export default _default;
dist/l10n/si.d.ts 0000644 00000004671 15167673015 0007511 0 ustar 00 import { CustomLocale } from "../types/locale";
export declare const Sinhala: CustomLocale;
declare const _default: {
ar?: CustomLocale | undefined;
at?: CustomLocale | undefined;
az?: CustomLocale | undefined;
be?: CustomLocale | undefined;
bg?: CustomLocale | undefined;
bn?: CustomLocale | undefined;
bs?: CustomLocale | undefined;
ca?: CustomLocale | undefined;
cat?: CustomLocale | undefined;
ckb?: CustomLocale | undefined;
cs?: CustomLocale | undefined;
cy?: CustomLocale | undefined;
da?: CustomLocale | undefined;
de?: CustomLocale | undefined;
default?: CustomLocale | undefined;
en?: CustomLocale | undefined;
eo?: CustomLocale | undefined;
es?: CustomLocale | undefined;
et?: CustomLocale | undefined;
fa?: CustomLocale | undefined;
fi?: CustomLocale | undefined;
fo?: CustomLocale | undefined;
fr?: CustomLocale | undefined;
gr?: CustomLocale | undefined;
he?: CustomLocale | undefined;
hi?: CustomLocale | undefined;
hr?: CustomLocale | undefined;
hu?: CustomLocale | undefined;
hy?: CustomLocale | undefined;
id?: CustomLocale | undefined;
is?: CustomLocale | undefined;
it?: CustomLocale | undefined;
ja?: CustomLocale | undefined;
ka?: CustomLocale | undefined;
ko?: CustomLocale | undefined;
km?: CustomLocale | undefined;
kz?: CustomLocale | undefined;
lt?: CustomLocale | undefined;
lv?: CustomLocale | undefined;
mk?: CustomLocale | undefined;
mn?: CustomLocale | undefined;
ms?: CustomLocale | undefined;
my?: CustomLocale | undefined;
nl?: CustomLocale | undefined;
nn?: CustomLocale | undefined;
no?: CustomLocale | undefined;
pa?: CustomLocale | undefined;
pl?: CustomLocale | undefined;
pt?: CustomLocale | undefined;
ro?: CustomLocale | undefined;
ru?: CustomLocale | undefined;
si?: CustomLocale | undefined;
sk?: CustomLocale | undefined;
sl?: CustomLocale | undefined;
sq?: CustomLocale | undefined;
sr?: CustomLocale | undefined;
sv?: CustomLocale | undefined;
th?: CustomLocale | undefined;
tr?: CustomLocale | undefined;
uk?: CustomLocale | undefined;
vn?: CustomLocale | undefined;
zh?: CustomLocale | undefined;
uz?: CustomLocale | undefined;
uz_latn?: CustomLocale | undefined;
zh_tw?: CustomLocale | undefined;
} & {
default: import("../types/locale").Locale;
};
export default _default;
dist/l10n/ko.js 0000644 00000003326 15167673015 0007247 0 ustar 00 (function (global, factory) {
typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports) :
typeof define === 'function' && define.amd ? define(['exports'], factory) :
(global = typeof globalThis !== 'undefined' ? globalThis : global || self, factory(global.ko = {}));
}(this, (function (exports) { 'use strict';
var fp = typeof window !== "undefined" && window.flatpickr !== undefined
? window.flatpickr
: {
l10ns: {},
};
var Korean = {
weekdays: {
shorthand: ["일", "월", "화", "수", "목", "금", "토"],
longhand: [
"일요일",
"월요일",
"화요일",
"수요일",
"목요일",
"금요일",
"토요일",
],
},
months: {
shorthand: [
"1월",
"2월",
"3월",
"4월",
"5월",
"6월",
"7월",
"8월",
"9월",
"10월",
"11월",
"12월",
],
longhand: [
"1월",
"2월",
"3월",
"4월",
"5월",
"6월",
"7월",
"8월",
"9월",
"10월",
"11월",
"12월",
],
},
ordinal: function () {
return "일";
},
rangeSeparator: " ~ ",
amPM: ["오전", "오후"],
};
fp.l10ns.ko = Korean;
var ko = fp.l10ns;
exports.Korean = Korean;
exports.default = ko;
Object.defineProperty(exports, '__esModule', { value: true });
})));
dist/l10n/no.d.ts 0000644 00000004673 15167673015 0007514 0 ustar 00 import { CustomLocale } from "../types/locale";
export declare const Norwegian: CustomLocale;
declare const _default: {
ar?: CustomLocale | undefined;
at?: CustomLocale | undefined;
az?: CustomLocale | undefined;
be?: CustomLocale | undefined;
bg?: CustomLocale | undefined;
bn?: CustomLocale | undefined;
bs?: CustomLocale | undefined;
ca?: CustomLocale | undefined;
cat?: CustomLocale | undefined;
ckb?: CustomLocale | undefined;
cs?: CustomLocale | undefined;
cy?: CustomLocale | undefined;
da?: CustomLocale | undefined;
de?: CustomLocale | undefined;
default?: CustomLocale | undefined;
en?: CustomLocale | undefined;
eo?: CustomLocale | undefined;
es?: CustomLocale | undefined;
et?: CustomLocale | undefined;
fa?: CustomLocale | undefined;
fi?: CustomLocale | undefined;
fo?: CustomLocale | undefined;
fr?: CustomLocale | undefined;
gr?: CustomLocale | undefined;
he?: CustomLocale | undefined;
hi?: CustomLocale | undefined;
hr?: CustomLocale | undefined;
hu?: CustomLocale | undefined;
hy?: CustomLocale | undefined;
id?: CustomLocale | undefined;
is?: CustomLocale | undefined;
it?: CustomLocale | undefined;
ja?: CustomLocale | undefined;
ka?: CustomLocale | undefined;
ko?: CustomLocale | undefined;
km?: CustomLocale | undefined;
kz?: CustomLocale | undefined;
lt?: CustomLocale | undefined;
lv?: CustomLocale | undefined;
mk?: CustomLocale | undefined;
mn?: CustomLocale | undefined;
ms?: CustomLocale | undefined;
my?: CustomLocale | undefined;
nl?: CustomLocale | undefined;
nn?: CustomLocale | undefined;
no?: CustomLocale | undefined;
pa?: CustomLocale | undefined;
pl?: CustomLocale | undefined;
pt?: CustomLocale | undefined;
ro?: CustomLocale | undefined;
ru?: CustomLocale | undefined;
si?: CustomLocale | undefined;
sk?: CustomLocale | undefined;
sl?: CustomLocale | undefined;
sq?: CustomLocale | undefined;
sr?: CustomLocale | undefined;
sv?: CustomLocale | undefined;
th?: CustomLocale | undefined;
tr?: CustomLocale | undefined;
uk?: CustomLocale | undefined;
vn?: CustomLocale | undefined;
zh?: CustomLocale | undefined;
uz?: CustomLocale | undefined;
uz_latn?: CustomLocale | undefined;
zh_tw?: CustomLocale | undefined;
} & {
default: import("../types/locale").Locale;
};
export default _default;
dist/l10n/nn.d.ts 0000644 00000004702 15167673015 0007504 0 ustar 00 import { CustomLocale } from "../types/locale";
export declare const NorwegianNynorsk: CustomLocale;
declare const _default: {
ar?: CustomLocale | undefined;
at?: CustomLocale | undefined;
az?: CustomLocale | undefined;
be?: CustomLocale | undefined;
bg?: CustomLocale | undefined;
bn?: CustomLocale | undefined;
bs?: CustomLocale | undefined;
ca?: CustomLocale | undefined;
cat?: CustomLocale | undefined;
ckb?: CustomLocale | undefined;
cs?: CustomLocale | undefined;
cy?: CustomLocale | undefined;
da?: CustomLocale | undefined;
de?: CustomLocale | undefined;
default?: CustomLocale | undefined;
en?: CustomLocale | undefined;
eo?: CustomLocale | undefined;
es?: CustomLocale | undefined;
et?: CustomLocale | undefined;
fa?: CustomLocale | undefined;
fi?: CustomLocale | undefined;
fo?: CustomLocale | undefined;
fr?: CustomLocale | undefined;
gr?: CustomLocale | undefined;
he?: CustomLocale | undefined;
hi?: CustomLocale | undefined;
hr?: CustomLocale | undefined;
hu?: CustomLocale | undefined;
hy?: CustomLocale | undefined;
id?: CustomLocale | undefined;
is?: CustomLocale | undefined;
it?: CustomLocale | undefined;
ja?: CustomLocale | undefined;
ka?: CustomLocale | undefined;
ko?: CustomLocale | undefined;
km?: CustomLocale | undefined;
kz?: CustomLocale | undefined;
lt?: CustomLocale | undefined;
lv?: CustomLocale | undefined;
mk?: CustomLocale | undefined;
mn?: CustomLocale | undefined;
ms?: CustomLocale | undefined;
my?: CustomLocale | undefined;
nl?: CustomLocale | undefined;
nn?: CustomLocale | undefined;
no?: CustomLocale | undefined;
pa?: CustomLocale | undefined;
pl?: CustomLocale | undefined;
pt?: CustomLocale | undefined;
ro?: CustomLocale | undefined;
ru?: CustomLocale | undefined;
si?: CustomLocale | undefined;
sk?: CustomLocale | undefined;
sl?: CustomLocale | undefined;
sq?: CustomLocale | undefined;
sr?: CustomLocale | undefined;
sv?: CustomLocale | undefined;
th?: CustomLocale | undefined;
tr?: CustomLocale | undefined;
uk?: CustomLocale | undefined;
vn?: CustomLocale | undefined;
zh?: CustomLocale | undefined;
uz?: CustomLocale | undefined;
uz_latn?: CustomLocale | undefined;
zh_tw?: CustomLocale | undefined;
} & {
default: import("../types/locale").Locale;
};
export default _default;
dist/l10n/fo.d.ts 0000644 00000004671 15167673015 0007502 0 ustar 00 import { CustomLocale } from "../types/locale";
export declare const Faroese: CustomLocale;
declare const _default: {
ar?: CustomLocale | undefined;
at?: CustomLocale | undefined;
az?: CustomLocale | undefined;
be?: CustomLocale | undefined;
bg?: CustomLocale | undefined;
bn?: CustomLocale | undefined;
bs?: CustomLocale | undefined;
ca?: CustomLocale | undefined;
cat?: CustomLocale | undefined;
ckb?: CustomLocale | undefined;
cs?: CustomLocale | undefined;
cy?: CustomLocale | undefined;
da?: CustomLocale | undefined;
de?: CustomLocale | undefined;
default?: CustomLocale | undefined;
en?: CustomLocale | undefined;
eo?: CustomLocale | undefined;
es?: CustomLocale | undefined;
et?: CustomLocale | undefined;
fa?: CustomLocale | undefined;
fi?: CustomLocale | undefined;
fo?: CustomLocale | undefined;
fr?: CustomLocale | undefined;
gr?: CustomLocale | undefined;
he?: CustomLocale | undefined;
hi?: CustomLocale | undefined;
hr?: CustomLocale | undefined;
hu?: CustomLocale | undefined;
hy?: CustomLocale | undefined;
id?: CustomLocale | undefined;
is?: CustomLocale | undefined;
it?: CustomLocale | undefined;
ja?: CustomLocale | undefined;
ka?: CustomLocale | undefined;
ko?: CustomLocale | undefined;
km?: CustomLocale | undefined;
kz?: CustomLocale | undefined;
lt?: CustomLocale | undefined;
lv?: CustomLocale | undefined;
mk?: CustomLocale | undefined;
mn?: CustomLocale | undefined;
ms?: CustomLocale | undefined;
my?: CustomLocale | undefined;
nl?: CustomLocale | undefined;
nn?: CustomLocale | undefined;
no?: CustomLocale | undefined;
pa?: CustomLocale | undefined;
pl?: CustomLocale | undefined;
pt?: CustomLocale | undefined;
ro?: CustomLocale | undefined;
ru?: CustomLocale | undefined;
si?: CustomLocale | undefined;
sk?: CustomLocale | undefined;
sl?: CustomLocale | undefined;
sq?: CustomLocale | undefined;
sr?: CustomLocale | undefined;
sv?: CustomLocale | undefined;
th?: CustomLocale | undefined;
tr?: CustomLocale | undefined;
uk?: CustomLocale | undefined;
vn?: CustomLocale | undefined;
zh?: CustomLocale | undefined;
uz?: CustomLocale | undefined;
uz_latn?: CustomLocale | undefined;
zh_tw?: CustomLocale | undefined;
} & {
default: import("../types/locale").Locale;
};
export default _default;
dist/l10n/si.js 0000644 00000004006 15167673015 0007245 0 ustar 00 (function (global, factory) {
typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports) :
typeof define === 'function' && define.amd ? define(['exports'], factory) :
(global = typeof globalThis !== 'undefined' ? globalThis : global || self, factory(global.si = {}));
}(this, (function (exports) { 'use strict';
var fp = typeof window !== "undefined" && window.flatpickr !== undefined
? window.flatpickr
: {
l10ns: {},
};
var Sinhala = {
weekdays: {
shorthand: ["ඉ", "ස", "අ", "බ", "බ්ර", "සි", "සෙ"],
longhand: [
"ඉරිදා",
"සඳුදා",
"අඟහරුවාදා",
"බදාදා",
"බ්රහස්පතින්දා",
"සිකුරාදා",
"සෙනසුරාදා",
],
},
months: {
shorthand: [
"ජන",
"පෙබ",
"මාර්",
"අප්රේ",
"මැයි",
"ජුනි",
"ජූලි",
"අගෝ",
"සැප්",
"ඔක්",
"නොවැ",
"දෙසැ",
],
longhand: [
"ජනවාරි",
"පෙබරවාරි",
"මාර්තු",
"අප්රේල්",
"මැයි",
"ජුනි",
"ජූලි",
"අගෝස්තු",
"සැප්තැම්බර්",
"ඔක්තෝබර්",
"නොවැම්බර්",
"දෙසැම්බර්",
],
},
time_24hr: true,
};
fp.l10ns.si = Sinhala;
var si = fp.l10ns;
exports.Sinhala = Sinhala;
exports.default = si;
Object.defineProperty(exports, '__esModule', { value: true });
})));
dist/l10n/bs.d.ts 0000644 00000004671 15167673015 0007502 0 ustar 00 import { CustomLocale } from "../types/locale";
export declare const Bosnian: CustomLocale;
declare const _default: {
ar?: CustomLocale | undefined;
at?: CustomLocale | undefined;
az?: CustomLocale | undefined;
be?: CustomLocale | undefined;
bg?: CustomLocale | undefined;
bn?: CustomLocale | undefined;
bs?: CustomLocale | undefined;
ca?: CustomLocale | undefined;
cat?: CustomLocale | undefined;
ckb?: CustomLocale | undefined;
cs?: CustomLocale | undefined;
cy?: CustomLocale | undefined;
da?: CustomLocale | undefined;
de?: CustomLocale | undefined;
default?: CustomLocale | undefined;
en?: CustomLocale | undefined;
eo?: CustomLocale | undefined;
es?: CustomLocale | undefined;
et?: CustomLocale | undefined;
fa?: CustomLocale | undefined;
fi?: CustomLocale | undefined;
fo?: CustomLocale | undefined;
fr?: CustomLocale | undefined;
gr?: CustomLocale | undefined;
he?: CustomLocale | undefined;
hi?: CustomLocale | undefined;
hr?: CustomLocale | undefined;
hu?: CustomLocale | undefined;
hy?: CustomLocale | undefined;
id?: CustomLocale | undefined;
is?: CustomLocale | undefined;
it?: CustomLocale | undefined;
ja?: CustomLocale | undefined;
ka?: CustomLocale | undefined;
ko?: CustomLocale | undefined;
km?: CustomLocale | undefined;
kz?: CustomLocale | undefined;
lt?: CustomLocale | undefined;
lv?: CustomLocale | undefined;
mk?: CustomLocale | undefined;
mn?: CustomLocale | undefined;
ms?: CustomLocale | undefined;
my?: CustomLocale | undefined;
nl?: CustomLocale | undefined;
nn?: CustomLocale | undefined;
no?: CustomLocale | undefined;
pa?: CustomLocale | undefined;
pl?: CustomLocale | undefined;
pt?: CustomLocale | undefined;
ro?: CustomLocale | undefined;
ru?: CustomLocale | undefined;
si?: CustomLocale | undefined;
sk?: CustomLocale | undefined;
sl?: CustomLocale | undefined;
sq?: CustomLocale | undefined;
sr?: CustomLocale | undefined;
sv?: CustomLocale | undefined;
th?: CustomLocale | undefined;
tr?: CustomLocale | undefined;
uk?: CustomLocale | undefined;
vn?: CustomLocale | undefined;
zh?: CustomLocale | undefined;
uz?: CustomLocale | undefined;
uz_latn?: CustomLocale | undefined;
zh_tw?: CustomLocale | undefined;
} & {
default: import("../types/locale").Locale;
};
export default _default;
dist/l10n/hy.d.ts 0000644 00000004672 15167673015 0007517 0 ustar 00 import { CustomLocale } from "../types/locale";
export declare const Armenian: CustomLocale;
declare const _default: {
ar?: CustomLocale | undefined;
at?: CustomLocale | undefined;
az?: CustomLocale | undefined;
be?: CustomLocale | undefined;
bg?: CustomLocale | undefined;
bn?: CustomLocale | undefined;
bs?: CustomLocale | undefined;
ca?: CustomLocale | undefined;
cat?: CustomLocale | undefined;
ckb?: CustomLocale | undefined;
cs?: CustomLocale | undefined;
cy?: CustomLocale | undefined;
da?: CustomLocale | undefined;
de?: CustomLocale | undefined;
default?: CustomLocale | undefined;
en?: CustomLocale | undefined;
eo?: CustomLocale | undefined;
es?: CustomLocale | undefined;
et?: CustomLocale | undefined;
fa?: CustomLocale | undefined;
fi?: CustomLocale | undefined;
fo?: CustomLocale | undefined;
fr?: CustomLocale | undefined;
gr?: CustomLocale | undefined;
he?: CustomLocale | undefined;
hi?: CustomLocale | undefined;
hr?: CustomLocale | undefined;
hu?: CustomLocale | undefined;
hy?: CustomLocale | undefined;
id?: CustomLocale | undefined;
is?: CustomLocale | undefined;
it?: CustomLocale | undefined;
ja?: CustomLocale | undefined;
ka?: CustomLocale | undefined;
ko?: CustomLocale | undefined;
km?: CustomLocale | undefined;
kz?: CustomLocale | undefined;
lt?: CustomLocale | undefined;
lv?: CustomLocale | undefined;
mk?: CustomLocale | undefined;
mn?: CustomLocale | undefined;
ms?: CustomLocale | undefined;
my?: CustomLocale | undefined;
nl?: CustomLocale | undefined;
nn?: CustomLocale | undefined;
no?: CustomLocale | undefined;
pa?: CustomLocale | undefined;
pl?: CustomLocale | undefined;
pt?: CustomLocale | undefined;
ro?: CustomLocale | undefined;
ru?: CustomLocale | undefined;
si?: CustomLocale | undefined;
sk?: CustomLocale | undefined;
sl?: CustomLocale | undefined;
sq?: CustomLocale | undefined;
sr?: CustomLocale | undefined;
sv?: CustomLocale | undefined;
th?: CustomLocale | undefined;
tr?: CustomLocale | undefined;
uk?: CustomLocale | undefined;
vn?: CustomLocale | undefined;
zh?: CustomLocale | undefined;
uz?: CustomLocale | undefined;
uz_latn?: CustomLocale | undefined;
zh_tw?: CustomLocale | undefined;
} & {
default: import("../types/locale").Locale;
};
export default _default;
dist/l10n/ckb.d.ts 0000644 00000004671 15167673015 0007635 0 ustar 00 import { CustomLocale } from "../types/locale";
export declare const Kurdish: CustomLocale;
declare const _default: {
ar?: CustomLocale | undefined;
at?: CustomLocale | undefined;
az?: CustomLocale | undefined;
be?: CustomLocale | undefined;
bg?: CustomLocale | undefined;
bn?: CustomLocale | undefined;
bs?: CustomLocale | undefined;
ca?: CustomLocale | undefined;
cat?: CustomLocale | undefined;
ckb?: CustomLocale | undefined;
cs?: CustomLocale | undefined;
cy?: CustomLocale | undefined;
da?: CustomLocale | undefined;
de?: CustomLocale | undefined;
default?: CustomLocale | undefined;
en?: CustomLocale | undefined;
eo?: CustomLocale | undefined;
es?: CustomLocale | undefined;
et?: CustomLocale | undefined;
fa?: CustomLocale | undefined;
fi?: CustomLocale | undefined;
fo?: CustomLocale | undefined;
fr?: CustomLocale | undefined;
gr?: CustomLocale | undefined;
he?: CustomLocale | undefined;
hi?: CustomLocale | undefined;
hr?: CustomLocale | undefined;
hu?: CustomLocale | undefined;
hy?: CustomLocale | undefined;
id?: CustomLocale | undefined;
is?: CustomLocale | undefined;
it?: CustomLocale | undefined;
ja?: CustomLocale | undefined;
ka?: CustomLocale | undefined;
ko?: CustomLocale | undefined;
km?: CustomLocale | undefined;
kz?: CustomLocale | undefined;
lt?: CustomLocale | undefined;
lv?: CustomLocale | undefined;
mk?: CustomLocale | undefined;
mn?: CustomLocale | undefined;
ms?: CustomLocale | undefined;
my?: CustomLocale | undefined;
nl?: CustomLocale | undefined;
nn?: CustomLocale | undefined;
no?: CustomLocale | undefined;
pa?: CustomLocale | undefined;
pl?: CustomLocale | undefined;
pt?: CustomLocale | undefined;
ro?: CustomLocale | undefined;
ru?: CustomLocale | undefined;
si?: CustomLocale | undefined;
sk?: CustomLocale | undefined;
sl?: CustomLocale | undefined;
sq?: CustomLocale | undefined;
sr?: CustomLocale | undefined;
sv?: CustomLocale | undefined;
th?: CustomLocale | undefined;
tr?: CustomLocale | undefined;
uk?: CustomLocale | undefined;
vn?: CustomLocale | undefined;
zh?: CustomLocale | undefined;
uz?: CustomLocale | undefined;
uz_latn?: CustomLocale | undefined;
zh_tw?: CustomLocale | undefined;
} & {
default: import("../types/locale").Locale;
};
export default _default;
dist/l10n/uk.js 0000644 00000003506 15167673015 0007255 0 ustar 00 (function (global, factory) {
typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports) :
typeof define === 'function' && define.amd ? define(['exports'], factory) :
(global = typeof globalThis !== 'undefined' ? globalThis : global || self, factory(global.uk = {}));
}(this, (function (exports) { 'use strict';
var fp = typeof window !== "undefined" && window.flatpickr !== undefined
? window.flatpickr
: {
l10ns: {},
};
var Ukrainian = {
firstDayOfWeek: 1,
weekdays: {
shorthand: ["Нд", "Пн", "Вт", "Ср", "Чт", "Пт", "Сб"],
longhand: [
"Неділя",
"Понеділок",
"Вівторок",
"Середа",
"Четвер",
"П'ятниця",
"Субота",
],
},
months: {
shorthand: [
"Січ",
"Лют",
"Бер",
"Кві",
"Тра",
"Чер",
"Лип",
"Сер",
"Вер",
"Жов",
"Лис",
"Гру",
],
longhand: [
"Січень",
"Лютий",
"Березень",
"Квітень",
"Травень",
"Червень",
"Липень",
"Серпень",
"Вересень",
"Жовтень",
"Листопад",
"Грудень",
],
},
time_24hr: true,
};
fp.l10ns.uk = Ukrainian;
var uk = fp.l10ns;
exports.Ukrainian = Ukrainian;
exports.default = uk;
Object.defineProperty(exports, '__esModule', { value: true });
})));
dist/l10n/hi.js 0000644 00000003641 15167673015 0007236 0 ustar 00 (function (global, factory) {
typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports) :
typeof define === 'function' && define.amd ? define(['exports'], factory) :
(global = typeof globalThis !== 'undefined' ? globalThis : global || self, factory(global.hi = {}));
}(this, (function (exports) { 'use strict';
var fp = typeof window !== "undefined" && window.flatpickr !== undefined
? window.flatpickr
: {
l10ns: {},
};
var Hindi = {
weekdays: {
shorthand: ["रवि", "सोम", "मंगल", "बुध", "गुरु", "शुक्र", "शनि"],
longhand: [
"रविवार",
"सोमवार",
"मंगलवार",
"बुधवार",
"गुरुवार",
"शुक्रवार",
"शनिवार",
],
},
months: {
shorthand: [
"जन",
"फर",
"मार्च",
"अप्रेल",
"मई",
"जून",
"जूलाई",
"अग",
"सित",
"अक्ट",
"नव",
"दि",
],
longhand: [
"जनवरी ",
"फरवरी",
"मार्च",
"अप्रेल",
"मई",
"जून",
"जूलाई",
"अगस्त ",
"सितम्बर",
"अक्टूबर",
"नवम्बर",
"दिसम्बर",
],
},
};
fp.l10ns.hi = Hindi;
var hi = fp.l10ns;
exports.Hindi = Hindi;
exports.default = hi;
Object.defineProperty(exports, '__esModule', { value: true });
})));
dist/l10n/pl.d.ts 0000644 00000004670 15167673015 0007510 0 ustar 00 import { CustomLocale } from "../types/locale";
export declare const Polish: CustomLocale;
declare const _default: {
ar?: CustomLocale | undefined;
at?: CustomLocale | undefined;
az?: CustomLocale | undefined;
be?: CustomLocale | undefined;
bg?: CustomLocale | undefined;
bn?: CustomLocale | undefined;
bs?: CustomLocale | undefined;
ca?: CustomLocale | undefined;
cat?: CustomLocale | undefined;
ckb?: CustomLocale | undefined;
cs?: CustomLocale | undefined;
cy?: CustomLocale | undefined;
da?: CustomLocale | undefined;
de?: CustomLocale | undefined;
default?: CustomLocale | undefined;
en?: CustomLocale | undefined;
eo?: CustomLocale | undefined;
es?: CustomLocale | undefined;
et?: CustomLocale | undefined;
fa?: CustomLocale | undefined;
fi?: CustomLocale | undefined;
fo?: CustomLocale | undefined;
fr?: CustomLocale | undefined;
gr?: CustomLocale | undefined;
he?: CustomLocale | undefined;
hi?: CustomLocale | undefined;
hr?: CustomLocale | undefined;
hu?: CustomLocale | undefined;
hy?: CustomLocale | undefined;
id?: CustomLocale | undefined;
is?: CustomLocale | undefined;
it?: CustomLocale | undefined;
ja?: CustomLocale | undefined;
ka?: CustomLocale | undefined;
ko?: CustomLocale | undefined;
km?: CustomLocale | undefined;
kz?: CustomLocale | undefined;
lt?: CustomLocale | undefined;
lv?: CustomLocale | undefined;
mk?: CustomLocale | undefined;
mn?: CustomLocale | undefined;
ms?: CustomLocale | undefined;
my?: CustomLocale | undefined;
nl?: CustomLocale | undefined;
nn?: CustomLocale | undefined;
no?: CustomLocale | undefined;
pa?: CustomLocale | undefined;
pl?: CustomLocale | undefined;
pt?: CustomLocale | undefined;
ro?: CustomLocale | undefined;
ru?: CustomLocale | undefined;
si?: CustomLocale | undefined;
sk?: CustomLocale | undefined;
sl?: CustomLocale | undefined;
sq?: CustomLocale | undefined;
sr?: CustomLocale | undefined;
sv?: CustomLocale | undefined;
th?: CustomLocale | undefined;
tr?: CustomLocale | undefined;
uk?: CustomLocale | undefined;
vn?: CustomLocale | undefined;
zh?: CustomLocale | undefined;
uz?: CustomLocale | undefined;
uz_latn?: CustomLocale | undefined;
zh_tw?: CustomLocale | undefined;
} & {
default: import("../types/locale").Locale;
};
export default _default;
dist/l10n/km.js 0000644 00000004537 15167673015 0007252 0 ustar 00 (function (global, factory) {
typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports) :
typeof define === 'function' && define.amd ? define(['exports'], factory) :
(global = typeof globalThis !== 'undefined' ? globalThis : global || self, factory(global.km = {}));
}(this, (function (exports) { 'use strict';
var fp = typeof window !== "undefined" && window.flatpickr !== undefined
? window.flatpickr
: {
l10ns: {},
};
var Khmer = {
weekdays: {
shorthand: ["អាទិត្យ", "ចន្ទ", "អង្គារ", "ពុធ", "ព្រហស.", "សុក្រ", "សៅរ៍"],
longhand: [
"អាទិត្យ",
"ចន្ទ",
"អង្គារ",
"ពុធ",
"ព្រហស្បតិ៍",
"សុក្រ",
"សៅរ៍",
],
},
months: {
shorthand: [
"មករា",
"កុម្ភះ",
"មីនា",
"មេសា",
"ឧសភា",
"មិថុនា",
"កក្កដា",
"សីហា",
"កញ្ញា",
"តុលា",
"វិច្ឆិកា",
"ធ្នូ",
],
longhand: [
"មករា",
"កុម្ភះ",
"មីនា",
"មេសា",
"ឧសភា",
"មិថុនា",
"កក្កដា",
"សីហា",
"កញ្ញា",
"តុលា",
"វិច្ឆិកា",
"ធ្នូ",
],
},
ordinal: function () {
return "";
},
firstDayOfWeek: 1,
rangeSeparator: " ដល់ ",
weekAbbreviation: "សប្តាហ៍",
scrollTitle: "រំកិលដើម្បីបង្កើន",
toggleTitle: "ចុចដើម្បីផ្លាស់ប្ដូរ",
yearAriaLabel: "ឆ្នាំ",
time_24hr: true,
};
fp.l10ns.km = Khmer;
var km = fp.l10ns;
exports.Khmer = Khmer;
exports.default = km;
Object.defineProperty(exports, '__esModule', { value: true });
})));
dist/l10n/sl.d.ts 0000644 00000004673 15167673015 0007516 0 ustar 00 import { CustomLocale } from "../types/locale";
export declare const Slovenian: CustomLocale;
declare const _default: {
ar?: CustomLocale | undefined;
at?: CustomLocale | undefined;
az?: CustomLocale | undefined;
be?: CustomLocale | undefined;
bg?: CustomLocale | undefined;
bn?: CustomLocale | undefined;
bs?: CustomLocale | undefined;
ca?: CustomLocale | undefined;
cat?: CustomLocale | undefined;
ckb?: CustomLocale | undefined;
cs?: CustomLocale | undefined;
cy?: CustomLocale | undefined;
da?: CustomLocale | undefined;
de?: CustomLocale | undefined;
default?: CustomLocale | undefined;
en?: CustomLocale | undefined;
eo?: CustomLocale | undefined;
es?: CustomLocale | undefined;
et?: CustomLocale | undefined;
fa?: CustomLocale | undefined;
fi?: CustomLocale | undefined;
fo?: CustomLocale | undefined;
fr?: CustomLocale | undefined;
gr?: CustomLocale | undefined;
he?: CustomLocale | undefined;
hi?: CustomLocale | undefined;
hr?: CustomLocale | undefined;
hu?: CustomLocale | undefined;
hy?: CustomLocale | undefined;
id?: CustomLocale | undefined;
is?: CustomLocale | undefined;
it?: CustomLocale | undefined;
ja?: CustomLocale | undefined;
ka?: CustomLocale | undefined;
ko?: CustomLocale | undefined;
km?: CustomLocale | undefined;
kz?: CustomLocale | undefined;
lt?: CustomLocale | undefined;
lv?: CustomLocale | undefined;
mk?: CustomLocale | undefined;
mn?: CustomLocale | undefined;
ms?: CustomLocale | undefined;
my?: CustomLocale | undefined;
nl?: CustomLocale | undefined;
nn?: CustomLocale | undefined;
no?: CustomLocale | undefined;
pa?: CustomLocale | undefined;
pl?: CustomLocale | undefined;
pt?: CustomLocale | undefined;
ro?: CustomLocale | undefined;
ru?: CustomLocale | undefined;
si?: CustomLocale | undefined;
sk?: CustomLocale | undefined;
sl?: CustomLocale | undefined;
sq?: CustomLocale | undefined;
sr?: CustomLocale | undefined;
sv?: CustomLocale | undefined;
th?: CustomLocale | undefined;
tr?: CustomLocale | undefined;
uk?: CustomLocale | undefined;
vn?: CustomLocale | undefined;
zh?: CustomLocale | undefined;
uz?: CustomLocale | undefined;
uz_latn?: CustomLocale | undefined;
zh_tw?: CustomLocale | undefined;
} & {
default: import("../types/locale").Locale;
};
export default _default;
dist/l10n/lt.js 0000644 00000003632 15167673015 0007255 0 ustar 00 (function (global, factory) {
typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports) :
typeof define === 'function' && define.amd ? define(['exports'], factory) :
(global = typeof globalThis !== 'undefined' ? globalThis : global || self, factory(global.lt = {}));
}(this, (function (exports) { 'use strict';
var fp = typeof window !== "undefined" && window.flatpickr !== undefined
? window.flatpickr
: {
l10ns: {},
};
var Lithuanian = {
weekdays: {
shorthand: ["S", "Pr", "A", "T", "K", "Pn", "Š"],
longhand: [
"Sekmadienis",
"Pirmadienis",
"Antradienis",
"Trečiadienis",
"Ketvirtadienis",
"Penktadienis",
"Šeštadienis",
],
},
months: {
shorthand: [
"Sau",
"Vas",
"Kov",
"Bal",
"Geg",
"Bir",
"Lie",
"Rgp",
"Rgs",
"Spl",
"Lap",
"Grd",
],
longhand: [
"Sausis",
"Vasaris",
"Kovas",
"Balandis",
"Gegužė",
"Birželis",
"Liepa",
"Rugpjūtis",
"Rugsėjis",
"Spalis",
"Lapkritis",
"Gruodis",
],
},
firstDayOfWeek: 1,
ordinal: function () {
return "-a";
},
rangeSeparator: " iki ",
weekAbbreviation: "Sav",
scrollTitle: "Keisti laiką pelės rateliu",
toggleTitle: "Perjungti laiko formatą",
time_24hr: true,
};
fp.l10ns.lt = Lithuanian;
var lt = fp.l10ns;
exports.Lithuanian = Lithuanian;
exports.default = lt;
Object.defineProperty(exports, '__esModule', { value: true });
})));
dist/l10n/zh.js 0000644 00000003503 15167673015 0007254 0 ustar 00 (function (global, factory) {
typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports) :
typeof define === 'function' && define.amd ? define(['exports'], factory) :
(global = typeof globalThis !== 'undefined' ? globalThis : global || self, factory(global.zh = {}));
}(this, (function (exports) { 'use strict';
var fp = typeof window !== "undefined" && window.flatpickr !== undefined
? window.flatpickr
: {
l10ns: {},
};
var Mandarin = {
weekdays: {
shorthand: ["周日", "周一", "周二", "周三", "周四", "周五", "周六"],
longhand: [
"星期日",
"星期一",
"星期二",
"星期三",
"星期四",
"星期五",
"星期六",
],
},
months: {
shorthand: [
"一月",
"二月",
"三月",
"四月",
"五月",
"六月",
"七月",
"八月",
"九月",
"十月",
"十一月",
"十二月",
],
longhand: [
"一月",
"二月",
"三月",
"四月",
"五月",
"六月",
"七月",
"八月",
"九月",
"十月",
"十一月",
"十二月",
],
},
rangeSeparator: " 至 ",
weekAbbreviation: "周",
scrollTitle: "滚动切换",
toggleTitle: "点击切换 12/24 小时时制",
};
fp.l10ns.zh = Mandarin;
var zh = fp.l10ns;
exports.Mandarin = Mandarin;
exports.default = zh;
Object.defineProperty(exports, '__esModule', { value: true });
})));
dist/l10n/hr.d.ts 0000644 00000004672 15167673015 0007510 0 ustar 00 import { CustomLocale } from "../types/locale";
export declare const Croatian: CustomLocale;
declare const _default: {
ar?: CustomLocale | undefined;
at?: CustomLocale | undefined;
az?: CustomLocale | undefined;
be?: CustomLocale | undefined;
bg?: CustomLocale | undefined;
bn?: CustomLocale | undefined;
bs?: CustomLocale | undefined;
ca?: CustomLocale | undefined;
cat?: CustomLocale | undefined;
ckb?: CustomLocale | undefined;
cs?: CustomLocale | undefined;
cy?: CustomLocale | undefined;
da?: CustomLocale | undefined;
de?: CustomLocale | undefined;
default?: CustomLocale | undefined;
en?: CustomLocale | undefined;
eo?: CustomLocale | undefined;
es?: CustomLocale | undefined;
et?: CustomLocale | undefined;
fa?: CustomLocale | undefined;
fi?: CustomLocale | undefined;
fo?: CustomLocale | undefined;
fr?: CustomLocale | undefined;
gr?: CustomLocale | undefined;
he?: CustomLocale | undefined;
hi?: CustomLocale | undefined;
hr?: CustomLocale | undefined;
hu?: CustomLocale | undefined;
hy?: CustomLocale | undefined;
id?: CustomLocale | undefined;
is?: CustomLocale | undefined;
it?: CustomLocale | undefined;
ja?: CustomLocale | undefined;
ka?: CustomLocale | undefined;
ko?: CustomLocale | undefined;
km?: CustomLocale | undefined;
kz?: CustomLocale | undefined;
lt?: CustomLocale | undefined;
lv?: CustomLocale | undefined;
mk?: CustomLocale | undefined;
mn?: CustomLocale | undefined;
ms?: CustomLocale | undefined;
my?: CustomLocale | undefined;
nl?: CustomLocale | undefined;
nn?: CustomLocale | undefined;
no?: CustomLocale | undefined;
pa?: CustomLocale | undefined;
pl?: CustomLocale | undefined;
pt?: CustomLocale | undefined;
ro?: CustomLocale | undefined;
ru?: CustomLocale | undefined;
si?: CustomLocale | undefined;
sk?: CustomLocale | undefined;
sl?: CustomLocale | undefined;
sq?: CustomLocale | undefined;
sr?: CustomLocale | undefined;
sv?: CustomLocale | undefined;
th?: CustomLocale | undefined;
tr?: CustomLocale | undefined;
uk?: CustomLocale | undefined;
vn?: CustomLocale | undefined;
zh?: CustomLocale | undefined;
uz?: CustomLocale | undefined;
uz_latn?: CustomLocale | undefined;
zh_tw?: CustomLocale | undefined;
} & {
default: import("../types/locale").Locale;
};
export default _default;
dist/l10n/tr.js 0000644 00000003553 15167673015 0007265 0 ustar 00 (function (global, factory) {
typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports) :
typeof define === 'function' && define.amd ? define(['exports'], factory) :
(global = typeof globalThis !== 'undefined' ? globalThis : global || self, factory(global.tr = {}));
}(this, (function (exports) { 'use strict';
var fp = typeof window !== "undefined" && window.flatpickr !== undefined
? window.flatpickr
: {
l10ns: {},
};
var Turkish = {
weekdays: {
shorthand: ["Paz", "Pzt", "Sal", "Çar", "Per", "Cum", "Cmt"],
longhand: [
"Pazar",
"Pazartesi",
"Salı",
"Çarşamba",
"Perşembe",
"Cuma",
"Cumartesi",
],
},
months: {
shorthand: [
"Oca",
"Şub",
"Mar",
"Nis",
"May",
"Haz",
"Tem",
"Ağu",
"Eyl",
"Eki",
"Kas",
"Ara",
],
longhand: [
"Ocak",
"Şubat",
"Mart",
"Nisan",
"Mayıs",
"Haziran",
"Temmuz",
"Ağustos",
"Eylül",
"Ekim",
"Kasım",
"Aralık",
],
},
firstDayOfWeek: 1,
ordinal: function () {
return ".";
},
rangeSeparator: " - ",
weekAbbreviation: "Hf",
scrollTitle: "Artırmak için kaydırın",
toggleTitle: "Aç/Kapa",
amPM: ["ÖÖ", "ÖS"],
time_24hr: true,
};
fp.l10ns.tr = Turkish;
var tr = fp.l10ns;
exports.Turkish = Turkish;
exports.default = tr;
Object.defineProperty(exports, '__esModule', { value: true });
})));
dist/l10n/bn.js 0000644 00000004025 15167673015 0007232 0 ustar 00 (function (global, factory) {
typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports) :
typeof define === 'function' && define.amd ? define(['exports'], factory) :
(global = typeof globalThis !== 'undefined' ? globalThis : global || self, factory(global.bn = {}));
}(this, (function (exports) { 'use strict';
var fp = typeof window !== "undefined" && window.flatpickr !== undefined
? window.flatpickr
: {
l10ns: {},
};
var Bangla = {
weekdays: {
shorthand: ["রবি", "সোম", "মঙ্গল", "বুধ", "বৃহস্পতি", "শুক্র", "শনি"],
longhand: [
"রবিবার",
"সোমবার",
"মঙ্গলবার",
"বুধবার",
"বৃহস্পতিবার",
"শুক্রবার",
"শনিবার",
],
},
months: {
shorthand: [
"জানু",
"ফেব্রু",
"মার্চ",
"এপ্রিল",
"মে",
"জুন",
"জুলাই",
"আগ",
"সেপ্টে",
"অক্টো",
"নভে",
"ডিসে",
],
longhand: [
"জানুয়ারী",
"ফেব্রুয়ারী",
"মার্চ",
"এপ্রিল",
"মে",
"জুন",
"জুলাই",
"আগস্ট",
"সেপ্টেম্বর",
"অক্টোবর",
"নভেম্বর",
"ডিসেম্বর",
],
},
};
fp.l10ns.bn = Bangla;
var bn = fp.l10ns;
exports.Bangla = Bangla;
exports.default = bn;
Object.defineProperty(exports, '__esModule', { value: true });
})));
dist/l10n/az.js 0000644 00000003636 15167673015 0007254 0 ustar 00 (function (global, factory) {
typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports) :
typeof define === 'function' && define.amd ? define(['exports'], factory) :
(global = typeof globalThis !== 'undefined' ? globalThis : global || self, factory(global.az = {}));
}(this, (function (exports) { 'use strict';
var fp = typeof window !== "undefined" && window.flatpickr !== undefined
? window.flatpickr
: {
l10ns: {},
};
var Azerbaijan = {
weekdays: {
shorthand: ["B.", "B.e.", "Ç.a.", "Ç.", "C.a.", "C.", "Ş."],
longhand: [
"Bazar",
"Bazar ertəsi",
"Çərşənbə axşamı",
"Çərşənbə",
"Cümə axşamı",
"Cümə",
"Şənbə",
],
},
months: {
shorthand: [
"Yan",
"Fev",
"Mar",
"Apr",
"May",
"İyn",
"İyl",
"Avq",
"Sen",
"Okt",
"Noy",
"Dek",
],
longhand: [
"Yanvar",
"Fevral",
"Mart",
"Aprel",
"May",
"İyun",
"İyul",
"Avqust",
"Sentyabr",
"Oktyabr",
"Noyabr",
"Dekabr",
],
},
firstDayOfWeek: 1,
ordinal: function () {
return ".";
},
rangeSeparator: " - ",
weekAbbreviation: "Hf",
scrollTitle: "Artırmaq üçün sürüşdürün",
toggleTitle: "Aç / Bağla",
amPM: ["GƏ", "GS"],
time_24hr: true,
};
fp.l10ns.az = Azerbaijan;
var az = fp.l10ns;
exports.Azerbaijan = Azerbaijan;
exports.default = az;
Object.defineProperty(exports, '__esModule', { value: true });
})));
dist/l10n/eo.js 0000644 00000003561 15167673015 0007242 0 ustar 00 (function (global, factory) {
typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports) :
typeof define === 'function' && define.amd ? define(['exports'], factory) :
(global = typeof globalThis !== 'undefined' ? globalThis : global || self, factory(global.eo = {}));
}(this, (function (exports) { 'use strict';
var fp = typeof window !== "undefined" && window.flatpickr !== undefined
? window.flatpickr
: {
l10ns: {},
};
var Esperanto = {
firstDayOfWeek: 1,
rangeSeparator: " ĝis ",
weekAbbreviation: "Sem",
scrollTitle: "Rulumu por pligrandigi la valoron",
toggleTitle: "Klaku por ŝalti",
weekdays: {
shorthand: ["Dim", "Lun", "Mar", "Mer", "Ĵaŭ", "Ven", "Sab"],
longhand: [
"dimanĉo",
"lundo",
"mardo",
"merkredo",
"ĵaŭdo",
"vendredo",
"sabato",
],
},
months: {
shorthand: [
"Jan",
"Feb",
"Mar",
"Apr",
"Maj",
"Jun",
"Jul",
"Aŭg",
"Sep",
"Okt",
"Nov",
"Dec",
],
longhand: [
"januaro",
"februaro",
"marto",
"aprilo",
"majo",
"junio",
"julio",
"aŭgusto",
"septembro",
"oktobro",
"novembro",
"decembro",
],
},
ordinal: function () {
return "-a";
},
time_24hr: true,
};
fp.l10ns.eo = Esperanto;
var eo = fp.l10ns;
exports.Esperanto = Esperanto;
exports.default = eo;
Object.defineProperty(exports, '__esModule', { value: true });
})));
dist/l10n/ko.d.ts 0000644 00000004670 15167673015 0007506 0 ustar 00 import { CustomLocale } from "../types/locale";
export declare const Korean: CustomLocale;
declare const _default: {
ar?: CustomLocale | undefined;
at?: CustomLocale | undefined;
az?: CustomLocale | undefined;
be?: CustomLocale | undefined;
bg?: CustomLocale | undefined;
bn?: CustomLocale | undefined;
bs?: CustomLocale | undefined;
ca?: CustomLocale | undefined;
cat?: CustomLocale | undefined;
ckb?: CustomLocale | undefined;
cs?: CustomLocale | undefined;
cy?: CustomLocale | undefined;
da?: CustomLocale | undefined;
de?: CustomLocale | undefined;
default?: CustomLocale | undefined;
en?: CustomLocale | undefined;
eo?: CustomLocale | undefined;
es?: CustomLocale | undefined;
et?: CustomLocale | undefined;
fa?: CustomLocale | undefined;
fi?: CustomLocale | undefined;
fo?: CustomLocale | undefined;
fr?: CustomLocale | undefined;
gr?: CustomLocale | undefined;
he?: CustomLocale | undefined;
hi?: CustomLocale | undefined;
hr?: CustomLocale | undefined;
hu?: CustomLocale | undefined;
hy?: CustomLocale | undefined;
id?: CustomLocale | undefined;
is?: CustomLocale | undefined;
it?: CustomLocale | undefined;
ja?: CustomLocale | undefined;
ka?: CustomLocale | undefined;
ko?: CustomLocale | undefined;
km?: CustomLocale | undefined;
kz?: CustomLocale | undefined;
lt?: CustomLocale | undefined;
lv?: CustomLocale | undefined;
mk?: CustomLocale | undefined;
mn?: CustomLocale | undefined;
ms?: CustomLocale | undefined;
my?: CustomLocale | undefined;
nl?: CustomLocale | undefined;
nn?: CustomLocale | undefined;
no?: CustomLocale | undefined;
pa?: CustomLocale | undefined;
pl?: CustomLocale | undefined;
pt?: CustomLocale | undefined;
ro?: CustomLocale | undefined;
ru?: CustomLocale | undefined;
si?: CustomLocale | undefined;
sk?: CustomLocale | undefined;
sl?: CustomLocale | undefined;
sq?: CustomLocale | undefined;
sr?: CustomLocale | undefined;
sv?: CustomLocale | undefined;
th?: CustomLocale | undefined;
tr?: CustomLocale | undefined;
uk?: CustomLocale | undefined;
vn?: CustomLocale | undefined;
zh?: CustomLocale | undefined;
uz?: CustomLocale | undefined;
uz_latn?: CustomLocale | undefined;
zh_tw?: CustomLocale | undefined;
} & {
default: import("../types/locale").Locale;
};
export default _default;
dist/plugins/rangePlugin.d.ts 0000644 00000000470 15167673015 0012251 0 ustar 00 import { Plugin } from "../types/options";
export interface Config {
input?: string | HTMLInputElement;
position?: "left";
}
declare global {
interface Window {
rangePlugin: (config?: Config) => void;
}
}
declare function rangePlugin(config?: Config): Plugin;
export default rangePlugin;
dist/plugins/confirmDate/confirmDate.d.ts 0000644 00000000420 15167673015 0014457 0 ustar 00 import { Plugin } from "../../types/options";
export interface Config {
confirmIcon?: string;
confirmText?: string;
showAlways?: boolean;
theme?: string;
}
declare function confirmDatePlugin(pluginConfig: Config): Plugin;
export default confirmDatePlugin;
dist/plugins/confirmDate/confirmDate.css 0000644 00000000565 15167673015 0014411 0 ustar 00 .flatpickr-confirm {
height: 40px;
max-height: 0px;
visibility: hidden;
display: flex;
justify-content: center;
align-items: center;
cursor: pointer;
background: rgba(0,0,0,0.06)
}
.flatpickr-confirm svg path {
fill: inherit;
}
.flatpickr-confirm.darkTheme {
color: white;
fill: white;
}
.flatpickr-confirm.visible {
max-height: 40px;
visibility: visible
}
dist/plugins/confirmDate/confirmDate.js 0000644 00000011733 15167673015 0014234 0 ustar 00 (function (global, factory) {
typeof exports === 'object' && typeof module !== 'undefined' ? module.exports = factory() :
typeof define === 'function' && define.amd ? define(factory) :
(global = typeof globalThis !== 'undefined' ? globalThis : global || self, global.confirmDatePlugin = factory());
}(this, (function () { 'use strict';
/*! *****************************************************************************
Copyright (c) Microsoft Corporation.
Permission to use, copy, modify, and/or distribute this software for any
purpose with or without fee is hereby granted.
THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
PERFORMANCE OF THIS SOFTWARE.
***************************************************************************** */
var __assign = function() {
__assign = Object.assign || function __assign(t) {
for (var s, i = 1, n = arguments.length; i < n; i++) {
s = arguments[i];
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p)) t[p] = s[p];
}
return t;
};
return __assign.apply(this, arguments);
};
function getEventTarget(event) {
try {
if (typeof event.composedPath === "function") {
var path = event.composedPath();
return path[0];
}
return event.target;
}
catch (error) {
return event.target;
}
}
var defaultConfig = {
confirmIcon: "<svg version='1.1' xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' width='17' height='17' viewBox='0 0 17 17'> <g> </g> <path d='M15.418 1.774l-8.833 13.485-4.918-4.386 0.666-0.746 4.051 3.614 8.198-12.515 0.836 0.548z' fill='#000000' /> </svg>",
confirmText: "OK ",
showAlways: false,
theme: "light",
};
function confirmDatePlugin(pluginConfig) {
var config = __assign(__assign({}, defaultConfig), pluginConfig);
var confirmContainer;
var confirmButtonCSSClass = "flatpickr-confirm";
return function (fp) {
if (fp.config.noCalendar || fp.isMobile)
return {};
return __assign({ onKeyDown: function (_, __, ___, e) {
var eventTarget = getEventTarget(e);
var isTargetLastFocusableElement = (!fp.config.time_24hr && eventTarget === fp.amPM) ||
(fp.config.time_24hr &&
((fp.config.enableSeconds && eventTarget === fp.secondElement) ||
(!fp.config.enableSeconds && eventTarget === fp.minuteElement)));
if (fp.config.enableTime &&
e.key === "Tab" &&
isTargetLastFocusableElement) {
e.preventDefault();
confirmContainer.focus();
}
else if (e.key === "Enter" && eventTarget === confirmContainer)
fp.close();
},
onReady: function () {
confirmContainer = fp._createElement("div", confirmButtonCSSClass + " " + (config.showAlways ? "visible" : "") + " " + config.theme + "Theme", config.confirmText);
confirmContainer.tabIndex = -1;
confirmContainer.innerHTML += config.confirmIcon;
confirmContainer.addEventListener("click", fp.close);
fp.calendarContainer.appendChild(confirmContainer);
fp.loadedPlugins.push("confirmDate");
} }, (!config.showAlways
? {
onChange: function (_, dateStr) {
var showCondition = fp.config.enableTime ||
fp.config.mode === "multiple" ||
fp.loadedPlugins.indexOf("monthSelect") !== -1;
var localConfirmContainer = fp.calendarContainer.querySelector("." + confirmButtonCSSClass);
if (!localConfirmContainer)
return;
if (dateStr &&
!fp.config.inline &&
showCondition &&
localConfirmContainer)
return localConfirmContainer.classList.add("visible");
localConfirmContainer.classList.remove("visible");
},
}
: {}));
};
}
return confirmDatePlugin;
})));
dist/plugins/scrollPlugin.js 0000644 00000006252 15167673015 0012223 0 ustar 00 (function (global, factory) {
typeof exports === 'object' && typeof module !== 'undefined' ? module.exports = factory() :
typeof define === 'function' && define.amd ? define(factory) :
(global = typeof globalThis !== 'undefined' ? globalThis : global || self, global.scrollPlugin = factory());
}(this, (function () { 'use strict';
function getEventTarget(event) {
try {
if (typeof event.composedPath === "function") {
var path = event.composedPath();
return path[0];
}
return event.target;
}
catch (error) {
return event.target;
}
}
if (typeof window.CustomEvent !== "function") {
var CustomEvent = function (typeArg, eventInitDict) {
eventInitDict = eventInitDict || {
bubbles: false,
cancelable: false,
detail: undefined,
};
var evt = document.createEvent("CustomEvent");
evt.initCustomEvent(typeArg, eventInitDict.bubbles, eventInitDict.cancelable, eventInitDict.detail);
return evt;
};
CustomEvent.prototype = window.Event.prototype;
window.CustomEvent = CustomEvent;
}
function delta(e) {
return Math.max(-1, Math.min(1, e.wheelDelta || -e.deltaY));
}
var scroll = function (e) {
e.preventDefault();
var ev = new CustomEvent("increment", {
bubbles: true,
});
ev.delta = delta(e);
getEventTarget(e).dispatchEvent(ev);
};
function scrollMonth(fp) {
return function (e) {
e.preventDefault();
var mDelta = delta(e);
fp.changeMonth(mDelta);
};
}
function scrollPlugin() {
return function (fp) {
var monthScroller = scrollMonth(fp);
return {
onReady: function () {
if (fp.timeContainer) {
fp.timeContainer.addEventListener("wheel", scroll);
}
if (fp.yearElements) {
fp.yearElements.forEach(function (yearElem) {
return yearElem.addEventListener("wheel", scroll);
});
}
if (fp.monthElements) {
fp.monthElements.forEach(function (monthElem) {
return monthElem.addEventListener("wheel", monthScroller);
});
}
fp.loadedPlugins.push("scroll");
},
onDestroy: function () {
if (fp.timeContainer) {
fp.timeContainer.removeEventListener("wheel", scroll);
}
if (fp.yearElements) {
fp.yearElements.forEach(function (yearElem) {
return yearElem.removeEventListener("wheel", scroll);
});
}
if (fp.monthElements) {
fp.monthElements.forEach(function (monthElem) {
return monthElem.removeEventListener("wheel", monthScroller);
});
}
},
};
};
}
return scrollPlugin;
})));
dist/plugins/weekSelect/weekSelect.d.ts 0000644 00000000332 15167673015 0014161 0 ustar 00 import { Plugin } from "../../types/options";
export declare type PlusWeeks = {
weekStartDay: Date;
weekEndDay: Date;
};
declare function weekSelectPlugin(): Plugin<PlusWeeks>;
export default weekSelectPlugin;
dist/plugins/weekSelect/weekSelect.js 0000644 00000007424 15167673015 0013736 0 ustar 00 (function (global, factory) {
typeof exports === 'object' && typeof module !== 'undefined' ? module.exports = factory() :
typeof define === 'function' && define.amd ? define(factory) :
(global = typeof globalThis !== 'undefined' ? globalThis : global || self, global.weekSelect = factory());
}(this, (function () { 'use strict';
function getEventTarget(event) {
try {
if (typeof event.composedPath === "function") {
var path = event.composedPath();
return path[0];
}
return event.target;
}
catch (error) {
return event.target;
}
}
function weekSelectPlugin() {
return function (fp) {
function onDayHover(event) {
var day = getEventTarget(event);
if (!day.classList.contains("flatpickr-day"))
return;
var days = fp.days.childNodes;
var dayIndex = day.$i;
var dayIndSeven = dayIndex / 7;
var weekStartDay = days[7 * Math.floor(dayIndSeven)]
.dateObj;
var weekEndDay = days[7 * Math.ceil(dayIndSeven + 0.01) - 1].dateObj;
for (var i = days.length; i--;) {
var day_1 = days[i];
var date = day_1.dateObj;
if (date > weekEndDay || date < weekStartDay)
day_1.classList.remove("inRange");
else
day_1.classList.add("inRange");
}
}
function highlightWeek() {
var selDate = fp.latestSelectedDateObj;
if (selDate !== undefined &&
selDate.getMonth() === fp.currentMonth &&
selDate.getFullYear() === fp.currentYear) {
fp.weekStartDay = fp.days.childNodes[7 * Math.floor(fp.selectedDateElem.$i / 7)].dateObj;
fp.weekEndDay = fp.days.childNodes[7 * Math.ceil(fp.selectedDateElem.$i / 7 + 0.01) - 1].dateObj;
}
var days = fp.days.childNodes;
for (var i = days.length; i--;) {
var date = days[i].dateObj;
if (date >= fp.weekStartDay && date <= fp.weekEndDay)
days[i].classList.add("week", "selected");
}
}
function clearHover() {
var days = fp.days.childNodes;
for (var i = days.length; i--;)
days[i].classList.remove("inRange");
}
function onReady() {
if (fp.daysContainer !== undefined)
fp.daysContainer.addEventListener("mouseover", onDayHover);
}
function onDestroy() {
if (fp.daysContainer !== undefined)
fp.daysContainer.removeEventListener("mouseover", onDayHover);
}
return {
onValueUpdate: highlightWeek,
onMonthChange: highlightWeek,
onYearChange: highlightWeek,
onOpen: highlightWeek,
onClose: clearHover,
onParseConfig: function () {
fp.config.mode = "single";
fp.config.enableTime = false;
fp.config.dateFormat = fp.config.dateFormat
? fp.config.dateFormat
: "\\W\\e\\e\\k #W, Y";
fp.config.altFormat = fp.config.altFormat
? fp.config.altFormat
: "\\W\\e\\e\\k #W, Y";
},
onReady: [
onReady,
highlightWeek,
function () {
fp.loadedPlugins.push("weekSelect");
},
],
onDestroy: onDestroy,
};
};
}
return weekSelectPlugin;
})));
dist/plugins/minMaxTimePlugin.d.ts 0000644 00000000753 15167673015 0013231 0 ustar 00 import { Plugin } from "../types/options";
export interface MinMaxTime {
minTime?: string;
maxTime?: string;
}
export interface Config {
table?: Record<string, MinMaxTime>;
getTimeLimits?: (date: Date) => MinMaxTime;
tableDateFormat?: string;
}
export interface State {
formatDate: (date: Date, f: string) => string;
tableDateFormat: string;
defaults: MinMaxTime;
}
declare function minMaxTimePlugin(config?: Config): Plugin;
export default minMaxTimePlugin;
dist/plugins/monthSelect/style.css 0000644 00000005406 15167673015 0013347 0 ustar 00 .flatpickr-monthSelect-months {
margin: 10px 1px 3px 1px;
flex-wrap: wrap;
}
.flatpickr-monthSelect-month {
background: none;
border: 1px solid transparent;
border-radius: 4px;
-webkit-box-sizing: border-box;
box-sizing: border-box;
color: #393939;
cursor: pointer;
display: inline-block;
font-weight: 400;
margin: 0.5px;
justify-content: center;
padding: 10px;
position: relative;
-webkit-box-pack: center;
-webkit-justify-content: center;
-ms-flex-pack: center;
text-align: center;
width: 33%;
}
.flatpickr-monthSelect-month.flatpickr-disabled {
color: #eee;
}
.flatpickr-monthSelect-month.flatpickr-disabled:hover,
.flatpickr-monthSelect-month.flatpickr-disabled:focus {
cursor: not-allowed;
background: none !important;
}
.flatpickr-monthSelect-theme-dark {
background: #3f4458;
}
.flatpickr-monthSelect-theme-dark .flatpickr-current-month input.cur-year {
color: #fff;
}
.flatpickr-monthSelect-theme-dark .flatpickr-months .flatpickr-prev-month,
.flatpickr-monthSelect-theme-dark .flatpickr-months .flatpickr-next-month {
color: #fff;
fill: #fff;
}
.flatpickr-monthSelect-theme-dark .flatpickr-monthSelect-month {
color: rgba(255, 255, 255, 0.95);
}
.flatpickr-monthSelect-month.today {
border-color: #959ea9;
}
.flatpickr-monthSelect-month.inRange,
.flatpickr-monthSelect-month.inRange.today,
.flatpickr-monthSelect-month:hover,
.flatpickr-monthSelect-month:focus {
background: #e6e6e6;
cursor: pointer;
outline: 0;
border-color: #e6e6e6;
}
.flatpickr-monthSelect-theme-dark .flatpickr-monthSelect-month.inRange,
.flatpickr-monthSelect-theme-dark .flatpickr-monthSelect-month:hover,
.flatpickr-monthSelect-theme-dark .flatpickr-monthSelect-month:focus {
background: #646c8c;
border-color: #646c8c;
}
.flatpickr-monthSelect-month.today:hover,
.flatpickr-monthSelect-month.today:focus {
background: #959ea9;
border-color: #959ea9;
color: #fff;
}
.flatpickr-monthSelect-month.selected,
.flatpickr-monthSelect-month.startRange,
.flatpickr-monthSelect-month.endRange {
background-color: #569ff7;
box-shadow: none;
color: #fff;
border-color: #569ff7;
}
.flatpickr-monthSelect-month.startRange {
border-radius: 50px 0 0 50px;
}
.flatpickr-monthSelect-month.endRange {
border-radius: 0 50px 50px 0;
}
.flatpickr-monthSelect-month.startRange.endRange {
border-radius: 50px;
}
.flatpickr-monthSelect-month.inRange {
border-radius: 0;
box-shadow: -5px 0 0 #e6e6e6, 5px 0 0 #e6e6e6;
}
.flatpickr-monthSelect-theme-dark .flatpickr-monthSelect-month.selected,
.flatpickr-monthSelect-theme-dark .flatpickr-monthSelect-month.startRange,
.flatpickr-monthSelect-theme-dark .flatpickr-monthSelect-month.endRange {
background: #80cbc4;
-webkit-box-shadow: none;
box-shadow: none;
color: #fff;
border-color: #80cbc4;
}
dist/plugins/monthSelect/index.js 0000644 00000032523 15167673015 0013142 0 ustar 00 (function (global, factory) {
typeof exports === 'object' && typeof module !== 'undefined' ? module.exports = factory() :
typeof define === 'function' && define.amd ? define(factory) :
(global = typeof globalThis !== 'undefined' ? globalThis : global || self, global.monthSelectPlugin = factory());
}(this, (function () { 'use strict';
/*! *****************************************************************************
Copyright (c) Microsoft Corporation.
Permission to use, copy, modify, and/or distribute this software for any
purpose with or without fee is hereby granted.
THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
PERFORMANCE OF THIS SOFTWARE.
***************************************************************************** */
var __assign = function() {
__assign = Object.assign || function __assign(t) {
for (var s, i = 1, n = arguments.length; i < n; i++) {
s = arguments[i];
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p)) t[p] = s[p];
}
return t;
};
return __assign.apply(this, arguments);
};
var monthToStr = function (monthNumber, shorthand, locale) { return locale.months[shorthand ? "shorthand" : "longhand"][monthNumber]; };
function clearNode(node) {
while (node.firstChild)
node.removeChild(node.firstChild);
}
function getEventTarget(event) {
try {
if (typeof event.composedPath === "function") {
var path = event.composedPath();
return path[0];
}
return event.target;
}
catch (error) {
return event.target;
}
}
var defaultConfig = {
shorthand: false,
dateFormat: "F Y",
altFormat: "F Y",
theme: "light",
};
function monthSelectPlugin(pluginConfig) {
var config = __assign(__assign({}, defaultConfig), pluginConfig);
return function (fp) {
fp.config.dateFormat = config.dateFormat;
fp.config.altFormat = config.altFormat;
var self = { monthsContainer: null };
function clearUnnecessaryDOMElements() {
if (!fp.rContainer)
return;
clearNode(fp.rContainer);
for (var index = 0; index < fp.monthElements.length; index++) {
var element = fp.monthElements[index];
if (!element.parentNode)
continue;
element.parentNode.removeChild(element);
}
}
function build() {
if (!fp.rContainer)
return;
self.monthsContainer = fp._createElement("div", "flatpickr-monthSelect-months");
self.monthsContainer.tabIndex = -1;
buildMonths();
fp.rContainer.appendChild(self.monthsContainer);
fp.calendarContainer.classList.add("flatpickr-monthSelect-theme-" + config.theme);
}
function buildMonths() {
if (!self.monthsContainer)
return;
clearNode(self.monthsContainer);
var frag = document.createDocumentFragment();
for (var i = 0; i < 12; i++) {
var month = fp.createDay("flatpickr-monthSelect-month", new Date(fp.currentYear, i), 0, i);
if (month.dateObj.getMonth() === new Date().getMonth() &&
month.dateObj.getFullYear() === new Date().getFullYear())
month.classList.add("today");
month.textContent = monthToStr(i, config.shorthand, fp.l10n);
month.addEventListener("click", selectMonth);
frag.appendChild(month);
}
self.monthsContainer.appendChild(frag);
if (fp.config.minDate &&
fp.currentYear === fp.config.minDate.getFullYear())
fp.prevMonthNav.classList.add("flatpickr-disabled");
else
fp.prevMonthNav.classList.remove("flatpickr-disabled");
if (fp.config.maxDate &&
fp.currentYear === fp.config.maxDate.getFullYear())
fp.nextMonthNav.classList.add("flatpickr-disabled");
else
fp.nextMonthNav.classList.remove("flatpickr-disabled");
}
function bindEvents() {
fp._bind(fp.prevMonthNav, "click", function (e) {
e.preventDefault();
e.stopPropagation();
fp.changeYear(fp.currentYear - 1);
selectYear();
buildMonths();
});
fp._bind(fp.nextMonthNav, "click", function (e) {
e.preventDefault();
e.stopPropagation();
fp.changeYear(fp.currentYear + 1);
selectYear();
buildMonths();
});
fp._bind(self.monthsContainer, "mouseover", function (e) {
if (fp.config.mode === "range")
fp.onMouseOver(getEventTarget(e), "flatpickr-monthSelect-month");
});
}
function setCurrentlySelected() {
if (!fp.rContainer)
return;
if (!fp.selectedDates.length)
return;
var currentlySelected = fp.rContainer.querySelectorAll(".flatpickr-monthSelect-month.selected");
for (var index = 0; index < currentlySelected.length; index++) {
currentlySelected[index].classList.remove("selected");
}
var targetMonth = fp.selectedDates[0].getMonth();
var month = fp.rContainer.querySelector(".flatpickr-monthSelect-month:nth-child(" + (targetMonth + 1) + ")");
if (month) {
month.classList.add("selected");
}
}
function selectYear() {
var selectedDate = fp.selectedDates[0];
if (selectedDate) {
selectedDate = new Date(selectedDate);
selectedDate.setFullYear(fp.currentYear);
if (fp.config.minDate && selectedDate < fp.config.minDate) {
selectedDate = fp.config.minDate;
}
if (fp.config.maxDate && selectedDate > fp.config.maxDate) {
selectedDate = fp.config.maxDate;
}
fp.currentYear = selectedDate.getFullYear();
}
fp.currentYearElement.value = String(fp.currentYear);
if (fp.rContainer) {
var months = fp.rContainer.querySelectorAll(".flatpickr-monthSelect-month");
months.forEach(function (month) {
month.dateObj.setFullYear(fp.currentYear);
if ((fp.config.minDate && month.dateObj < fp.config.minDate) ||
(fp.config.maxDate && month.dateObj > fp.config.maxDate)) {
month.classList.add("flatpickr-disabled");
}
else {
month.classList.remove("flatpickr-disabled");
}
});
}
setCurrentlySelected();
}
function selectMonth(e) {
e.preventDefault();
e.stopPropagation();
var eventTarget = getEventTarget(e);
if (!(eventTarget instanceof Element))
return;
if (eventTarget.classList.contains("flatpickr-disabled"))
return;
if (eventTarget.classList.contains("notAllowed"))
return; // necessary??
setMonth(eventTarget.dateObj);
if (fp.config.closeOnSelect) {
var single = fp.config.mode === "single";
var range = fp.config.mode === "range" && fp.selectedDates.length === 2;
if (single || range)
fp.close();
}
}
function setMonth(date) {
var selectedDate = new Date(fp.currentYear, date.getMonth(), date.getDate());
var selectedDates = [];
switch (fp.config.mode) {
case "single":
selectedDates = [selectedDate];
break;
case "multiple":
selectedDates.push(selectedDate);
break;
case "range":
if (fp.selectedDates.length === 2) {
selectedDates = [selectedDate];
}
else {
selectedDates = fp.selectedDates.concat([selectedDate]);
selectedDates.sort(function (a, b) { return a.getTime() - b.getTime(); });
}
break;
}
fp.setDate(selectedDates, true);
setCurrentlySelected();
}
var shifts = {
37: -1,
39: 1,
40: 3,
38: -3,
};
function onKeyDown(_, __, ___, e) {
var shouldMove = shifts[e.keyCode] !== undefined;
if (!shouldMove && e.keyCode !== 13) {
return;
}
if (!fp.rContainer || !self.monthsContainer)
return;
var currentlySelected = fp.rContainer.querySelector(".flatpickr-monthSelect-month.selected");
var index = Array.prototype.indexOf.call(self.monthsContainer.children, document.activeElement);
if (index === -1) {
var target = currentlySelected || self.monthsContainer.firstElementChild;
target.focus();
index = target.$i;
}
if (shouldMove) {
self.monthsContainer.children[(12 + index + shifts[e.keyCode]) % 12].focus();
}
else if (e.keyCode === 13 &&
self.monthsContainer.contains(document.activeElement)) {
setMonth(document.activeElement.dateObj);
}
}
function closeHook() {
var _a;
if (((_a = fp.config) === null || _a === void 0 ? void 0 : _a.mode) === "range" && fp.selectedDates.length === 1)
fp.clear(false);
if (!fp.selectedDates.length)
buildMonths();
}
// Help the prev/next year nav honor config.minDate (see 3fa5a69)
function stubCurrentMonth() {
config._stubbedCurrentMonth = fp._initialDate.getMonth();
fp._initialDate.setMonth(config._stubbedCurrentMonth);
fp.currentMonth = config._stubbedCurrentMonth;
}
function unstubCurrentMonth() {
if (!config._stubbedCurrentMonth)
return;
fp._initialDate.setMonth(config._stubbedCurrentMonth);
fp.currentMonth = config._stubbedCurrentMonth;
delete config._stubbedCurrentMonth;
}
function destroyPluginInstance() {
if (self.monthsContainer !== null) {
var months = self.monthsContainer.querySelectorAll(".flatpickr-monthSelect-month");
for (var index = 0; index < months.length; index++) {
months[index].removeEventListener("click", selectMonth);
}
}
}
return {
onParseConfig: function () {
fp.config.enableTime = false;
},
onValueUpdate: setCurrentlySelected,
onKeyDown: onKeyDown,
onReady: [
stubCurrentMonth,
clearUnnecessaryDOMElements,
build,
bindEvents,
setCurrentlySelected,
function () {
fp.config.onClose.push(closeHook);
fp.loadedPlugins.push("monthSelect");
},
],
onDestroy: [
unstubCurrentMonth,
destroyPluginInstance,
function () {
fp.config.onClose = fp.config.onClose.filter(function (hook) { return hook !== closeHook; });
},
],
};
};
}
return monthSelectPlugin;
})));
dist/plugins/monthSelect/index.d.ts 0000644 00000000726 15167673015 0013376 0 ustar 00 import { Plugin } from "../../types/options";
export interface Config {
shorthand: boolean;
dateFormat: string;
altFormat: string;
theme: string;
_stubbedCurrentMonth?: number;
}
export interface ElementDate extends Element {
dateObj: Date;
}
export declare type MonthElement = HTMLSpanElement & {
dateObj: Date;
$i: number;
};
declare function monthSelectPlugin(pluginConfig?: Partial<Config>): Plugin;
export default monthSelectPlugin;
dist/plugins/minMaxTimePlugin.js 0000644 00000033325 15167673015 0012776 0 ustar 00 (function (global, factory) {
typeof exports === 'object' && typeof module !== 'undefined' ? module.exports = factory() :
typeof define === 'function' && define.amd ? define(factory) :
(global = typeof globalThis !== 'undefined' ? globalThis : global || self, global.minMaxTimePlugin = factory());
}(this, (function () { 'use strict';
var pad = function (number, length) {
if (length === void 0) { length = 2; }
return ("000" + number).slice(length * -1);
};
var int = function (bool) { return (bool === true ? 1 : 0); };
var monthToStr = function (monthNumber, shorthand, locale) { return locale.months[shorthand ? "shorthand" : "longhand"][monthNumber]; };
var formats = {
// get the date in UTC
Z: function (date) { return date.toISOString(); },
// weekday name, short, e.g. Thu
D: function (date, locale, options) {
return locale.weekdays.shorthand[formats.w(date, locale, options)];
},
// full month name e.g. January
F: function (date, locale, options) {
return monthToStr(formats.n(date, locale, options) - 1, false, locale);
},
// padded hour 1-12
G: function (date, locale, options) {
return pad(formats.h(date, locale, options));
},
// hours with leading zero e.g. 03
H: function (date) { return pad(date.getHours()); },
// day (1-30) with ordinal suffix e.g. 1st, 2nd
J: function (date, locale) {
return locale.ordinal !== undefined
? date.getDate() + locale.ordinal(date.getDate())
: date.getDate();
},
// AM/PM
K: function (date, locale) { return locale.amPM[int(date.getHours() > 11)]; },
// shorthand month e.g. Jan, Sep, Oct, etc
M: function (date, locale) {
return monthToStr(date.getMonth(), true, locale);
},
// seconds 00-59
S: function (date) { return pad(date.getSeconds()); },
// unix timestamp
U: function (date) { return date.getTime() / 1000; },
W: function (date, _, options) {
return options.getWeek(date);
},
// full year e.g. 2016, padded (0001-9999)
Y: function (date) { return pad(date.getFullYear(), 4); },
// day in month, padded (01-30)
d: function (date) { return pad(date.getDate()); },
// hour from 1-12 (am/pm)
h: function (date) { return (date.getHours() % 12 ? date.getHours() % 12 : 12); },
// minutes, padded with leading zero e.g. 09
i: function (date) { return pad(date.getMinutes()); },
// day in month (1-30)
j: function (date) { return date.getDate(); },
// weekday name, full, e.g. Thursday
l: function (date, locale) {
return locale.weekdays.longhand[date.getDay()];
},
// padded month number (01-12)
m: function (date) { return pad(date.getMonth() + 1); },
// the month number (1-12)
n: function (date) { return date.getMonth() + 1; },
// seconds 0-59
s: function (date) { return date.getSeconds(); },
// Unix Milliseconds
u: function (date) { return date.getTime(); },
// number of the day of the week
w: function (date) { return date.getDay(); },
// last two digits of year e.g. 16 for 2016
y: function (date) { return String(date.getFullYear()).substring(2); },
};
var defaults = {
_disable: [],
allowInput: false,
allowInvalidPreload: false,
altFormat: "F j, Y",
altInput: false,
altInputClass: "form-control input",
animate: typeof window === "object" &&
window.navigator.userAgent.indexOf("MSIE") === -1,
ariaDateFormat: "F j, Y",
autoFillDefaultTime: true,
clickOpens: true,
closeOnSelect: true,
conjunction: ", ",
dateFormat: "Y-m-d",
defaultHour: 12,
defaultMinute: 0,
defaultSeconds: 0,
disable: [],
disableMobile: false,
enableSeconds: false,
enableTime: false,
errorHandler: function (err) {
return typeof console !== "undefined" && console.warn(err);
},
getWeek: function (givenDate) {
var date = new Date(givenDate.getTime());
date.setHours(0, 0, 0, 0);
// Thursday in current week decides the year.
date.setDate(date.getDate() + 3 - ((date.getDay() + 6) % 7));
// January 4 is always in week 1.
var week1 = new Date(date.getFullYear(), 0, 4);
// Adjust to Thursday in week 1 and count number of weeks from date to week1.
return (1 +
Math.round(((date.getTime() - week1.getTime()) / 86400000 -
3 +
((week1.getDay() + 6) % 7)) /
7));
},
hourIncrement: 1,
ignoredFocusElements: [],
inline: false,
locale: "default",
minuteIncrement: 5,
mode: "single",
monthSelectorType: "dropdown",
nextArrow: "<svg version='1.1' xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' viewBox='0 0 17 17'><g></g><path d='M13.207 8.472l-7.854 7.854-0.707-0.707 7.146-7.146-7.146-7.148 0.707-0.707 7.854 7.854z' /></svg>",
noCalendar: false,
now: new Date(),
onChange: [],
onClose: [],
onDayCreate: [],
onDestroy: [],
onKeyDown: [],
onMonthChange: [],
onOpen: [],
onParseConfig: [],
onReady: [],
onValueUpdate: [],
onYearChange: [],
onPreCalendarPosition: [],
plugins: [],
position: "auto",
positionElement: undefined,
prevArrow: "<svg version='1.1' xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' viewBox='0 0 17 17'><g></g><path d='M5.207 8.471l7.146 7.147-0.707 0.707-7.853-7.854 7.854-7.853 0.707 0.707-7.147 7.146z' /></svg>",
shorthandCurrentMonth: false,
showMonths: 1,
static: false,
time_24hr: false,
weekNumbers: false,
wrap: false,
};
var english = {
weekdays: {
shorthand: ["Sun", "Mon", "Tue", "Wed", "Thu", "Fri", "Sat"],
longhand: [
"Sunday",
"Monday",
"Tuesday",
"Wednesday",
"Thursday",
"Friday",
"Saturday",
],
},
months: {
shorthand: [
"Jan",
"Feb",
"Mar",
"Apr",
"May",
"Jun",
"Jul",
"Aug",
"Sep",
"Oct",
"Nov",
"Dec",
],
longhand: [
"January",
"February",
"March",
"April",
"May",
"June",
"July",
"August",
"September",
"October",
"November",
"December",
],
},
daysInMonth: [31, 28, 31, 30, 31, 30, 31, 31, 30, 31, 30, 31],
firstDayOfWeek: 0,
ordinal: function (nth) {
var s = nth % 100;
if (s > 3 && s < 21)
return "th";
switch (s % 10) {
case 1:
return "st";
case 2:
return "nd";
case 3:
return "rd";
default:
return "th";
}
},
rangeSeparator: " to ",
weekAbbreviation: "Wk",
scrollTitle: "Scroll to increment",
toggleTitle: "Click to toggle",
amPM: ["AM", "PM"],
yearAriaLabel: "Year",
monthAriaLabel: "Month",
hourAriaLabel: "Hour",
minuteAriaLabel: "Minute",
time_24hr: false,
};
var createDateFormatter = function (_a) {
var _b = _a.config, config = _b === void 0 ? defaults : _b, _c = _a.l10n, l10n = _c === void 0 ? english : _c, _d = _a.isMobile, isMobile = _d === void 0 ? false : _d;
return function (dateObj, frmt, overrideLocale) {
var locale = overrideLocale || l10n;
if (config.formatDate !== undefined && !isMobile) {
return config.formatDate(dateObj, frmt, locale);
}
return frmt
.split("")
.map(function (c, i, arr) {
return formats[c] && arr[i - 1] !== "\\"
? formats[c](dateObj, locale, config)
: c !== "\\"
? c
: "";
})
.join("");
};
};
/**
* Compute the difference in dates, measured in ms
*/
function compareDates(date1, date2, timeless) {
if (timeless === void 0) { timeless = true; }
if (timeless !== false) {
return (new Date(date1.getTime()).setHours(0, 0, 0, 0) -
new Date(date2.getTime()).setHours(0, 0, 0, 0));
}
return date1.getTime() - date2.getTime();
}
/**
* Compute the difference in times, measured in ms
*/
function compareTimes(date1, date2) {
return (3600 * (date1.getHours() - date2.getHours()) +
60 * (date1.getMinutes() - date2.getMinutes()) +
date1.getSeconds() -
date2.getSeconds());
}
var calculateSecondsSinceMidnight = function (hours, minutes, seconds) {
return hours * 3600 + minutes * 60 + seconds;
};
var parseSeconds = function (secondsSinceMidnight) {
var hours = Math.floor(secondsSinceMidnight / 3600), minutes = (secondsSinceMidnight - hours * 3600) / 60;
return [hours, minutes, secondsSinceMidnight - hours * 3600 - minutes * 60];
};
function minMaxTimePlugin(config) {
if (config === void 0) { config = {}; }
var state = {
formatDate: createDateFormatter({}),
tableDateFormat: config.tableDateFormat || "Y-m-d",
defaults: {
minTime: undefined,
maxTime: undefined,
},
};
function findDateTimeLimit(date) {
if (config.table !== undefined) {
return config.table[state.formatDate(date, state.tableDateFormat)];
}
return config.getTimeLimits && config.getTimeLimits(date);
}
return function (fp) {
return {
onReady: function () {
state.formatDate = this.formatDate;
state.defaults = {
minTime: this.config.minTime && state.formatDate(this.config.minTime, "H:i"),
maxTime: this.config.maxTime && state.formatDate(this.config.maxTime, "H:i"),
};
fp.loadedPlugins.push("minMaxTime");
},
onChange: function () {
var latest = this.latestSelectedDateObj;
var matchingTimeLimit = latest && findDateTimeLimit(latest);
if (latest && matchingTimeLimit !== undefined) {
this.set(matchingTimeLimit);
fp.config.minTime.setFullYear(latest.getFullYear());
fp.config.maxTime.setFullYear(latest.getFullYear());
fp.config.minTime.setMonth(latest.getMonth());
fp.config.maxTime.setMonth(latest.getMonth());
fp.config.minTime.setDate(latest.getDate());
fp.config.maxTime.setDate(latest.getDate());
if (fp.config.minTime > fp.config.maxTime) {
var minBound = calculateSecondsSinceMidnight(fp.config.minTime.getHours(), fp.config.minTime.getMinutes(), fp.config.minTime.getSeconds());
var maxBound = calculateSecondsSinceMidnight(fp.config.maxTime.getHours(), fp.config.maxTime.getMinutes(), fp.config.maxTime.getSeconds());
var currentTime = calculateSecondsSinceMidnight(latest.getHours(), latest.getMinutes(), latest.getSeconds());
if (currentTime > maxBound && currentTime < minBound) {
var result = parseSeconds(minBound);
fp.setDate(new Date(latest.getTime()).setHours(result[0], result[1], result[2]), false);
}
}
else {
if (compareDates(latest, fp.config.maxTime, false) > 0) {
fp.setDate(new Date(latest.getTime()).setHours(fp.config.maxTime.getHours(), fp.config.maxTime.getMinutes(), fp.config.maxTime.getSeconds(), fp.config.maxTime.getMilliseconds()), false);
}
else if (compareDates(latest, fp.config.minTime, false) < 0) {
fp.setDate(new Date(latest.getTime()).setHours(fp.config.minTime.getHours(), fp.config.minTime.getMinutes(), fp.config.minTime.getSeconds(), fp.config.minTime.getMilliseconds()), false);
}
}
}
else {
var newMinMax = state.defaults || {
minTime: undefined,
maxTime: undefined,
};
this.set(newMinMax);
if (!latest)
return;
var _a = fp.config, minTime = _a.minTime, maxTime = _a.maxTime;
if (minTime && compareTimes(latest, minTime) < 0) {
fp.setDate(new Date(latest.getTime()).setHours(minTime.getHours(), minTime.getMinutes(), minTime.getSeconds(), minTime.getMilliseconds()), false);
}
else if (maxTime && compareTimes(latest, maxTime) > 0) {
fp.setDate(new Date(latest.getTime()).setHours(maxTime.getHours(), maxTime.getMinutes(), maxTime.getSeconds(), maxTime.getMilliseconds()));
}
//
}
},
};
};
}
return minMaxTimePlugin;
})));
dist/plugins/momentPlugin.d.ts 0000644 00000000261 15167673015 0012452 0 ustar 00 import { Plugin } from "../types/options";
export interface Config {
moment: Function;
}
declare function momentPlugin(config: Config): Plugin;
export default momentPlugin;
dist/plugins/labelPlugin/labelPlugin.js 0000644 00000001770 15167673015 0014242 0 ustar 00 (function (global, factory) {
typeof exports === 'object' && typeof module !== 'undefined' ? module.exports = factory() :
typeof define === 'function' && define.amd ? define(factory) :
(global = typeof globalThis !== 'undefined' ? globalThis : global || self, global.labelPlugin = factory());
}(this, (function () { 'use strict';
function labelPlugin() {
return function (fp) {
return {
onReady: function () {
var id = fp.input.id;
if (!id) {
return;
}
if (fp.mobileInput) {
fp.input.removeAttribute("id");
fp.mobileInput.id = id;
}
else if (fp.altInput) {
fp.input.removeAttribute("id");
fp.altInput.id = id;
}
fp.loadedPlugins.push("labelPlugin");
},
};
};
}
return labelPlugin;
})));
dist/plugins/labelPlugin/labelPlugin.d.ts 0000644 00000000162 15167673015 0014470 0 ustar 00 import { Plugin } from "../../types/options";
declare function labelPlugin(): Plugin;
export default labelPlugin;
dist/plugins/scrollPlugin.d.ts 0000644 00000000161 15167673015 0012450 0 ustar 00 import { Plugin } from "../types/options";
declare function scrollPlugin(): Plugin;
export default scrollPlugin;
dist/plugins/rangePlugin.js 0000644 00000020476 15167673015 0012025 0 ustar 00 (function (global, factory) {
typeof exports === 'object' && typeof module !== 'undefined' ? module.exports = factory() :
typeof define === 'function' && define.amd ? define(factory) :
(global = typeof globalThis !== 'undefined' ? globalThis : global || self, global.rangePlugin = factory());
}(this, (function () { 'use strict';
/*! *****************************************************************************
Copyright (c) Microsoft Corporation.
Permission to use, copy, modify, and/or distribute this software for any
purpose with or without fee is hereby granted.
THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
PERFORMANCE OF THIS SOFTWARE.
***************************************************************************** */
function __spreadArrays() {
for (var s = 0, i = 0, il = arguments.length; i < il; i++) s += arguments[i].length;
for (var r = Array(s), k = 0, i = 0; i < il; i++)
for (var a = arguments[i], j = 0, jl = a.length; j < jl; j++, k++)
r[k] = a[j];
return r;
}
function rangePlugin(config) {
if (config === void 0) { config = {}; }
return function (fp) {
var dateFormat = "", secondInput, _secondInputFocused, _prevDates;
var createSecondInput = function () {
if (config.input) {
secondInput =
config.input instanceof Element
? config.input
: window.document.querySelector(config.input);
if (!secondInput) {
fp.config.errorHandler(new Error("Invalid input element specified"));
return;
}
if (fp.config.wrap) {
secondInput = secondInput.querySelector("[data-input]");
}
}
else {
secondInput = fp._input.cloneNode();
secondInput.removeAttribute("id");
secondInput._flatpickr = undefined;
}
if (secondInput.value) {
var parsedDate = fp.parseDate(secondInput.value);
if (parsedDate)
fp.selectedDates.push(parsedDate);
}
secondInput.setAttribute("data-fp-omit", "");
if (fp.config.clickOpens) {
fp._bind(secondInput, ["focus", "click"], function () {
if (fp.selectedDates[1]) {
fp.latestSelectedDateObj = fp.selectedDates[1];
fp._setHoursFromDate(fp.selectedDates[1]);
fp.jumpToDate(fp.selectedDates[1]);
}
_secondInputFocused = true;
fp.isOpen = false;
fp.open(undefined, config.position === "left" ? fp._input : secondInput);
});
fp._bind(fp._input, ["focus", "click"], function (e) {
e.preventDefault();
fp.isOpen = false;
fp.open();
});
}
if (fp.config.allowInput)
fp._bind(secondInput, "keydown", function (e) {
if (e.key === "Enter") {
fp.setDate([fp.selectedDates[0], secondInput.value], true, dateFormat);
secondInput.click();
}
});
if (!config.input)
fp._input.parentNode &&
fp._input.parentNode.insertBefore(secondInput, fp._input.nextSibling);
};
var plugin = {
onParseConfig: function () {
fp.config.mode = "range";
dateFormat = fp.config.altInput
? fp.config.altFormat
: fp.config.dateFormat;
},
onReady: function () {
createSecondInput();
fp.config.ignoredFocusElements.push(secondInput);
if (fp.config.allowInput) {
fp._input.removeAttribute("readonly");
secondInput.removeAttribute("readonly");
}
else {
secondInput.setAttribute("readonly", "readonly");
}
fp._bind(fp._input, "focus", function () {
fp.latestSelectedDateObj = fp.selectedDates[0];
fp._setHoursFromDate(fp.selectedDates[0]);
_secondInputFocused = false;
fp.jumpToDate(fp.selectedDates[0]);
});
if (fp.config.allowInput)
fp._bind(fp._input, "keydown", function (e) {
if (e.key === "Enter")
fp.setDate([fp._input.value, fp.selectedDates[1]], true, dateFormat);
});
fp.setDate(fp.selectedDates, false);
plugin.onValueUpdate(fp.selectedDates);
fp.loadedPlugins.push("range");
},
onPreCalendarPosition: function () {
if (_secondInputFocused) {
fp._positionElement = secondInput;
setTimeout(function () {
fp._positionElement = fp._input;
}, 0);
}
},
onChange: function () {
if (!fp.selectedDates.length) {
setTimeout(function () {
if (fp.selectedDates.length)
return;
secondInput.value = "";
_prevDates = [];
}, 10);
}
if (_secondInputFocused) {
setTimeout(function () {
secondInput.focus();
}, 0);
}
},
onDestroy: function () {
if (!config.input)
secondInput.parentNode &&
secondInput.parentNode.removeChild(secondInput);
},
onValueUpdate: function (selDates) {
var _a, _b, _c;
if (!secondInput)
return;
_prevDates =
!_prevDates || selDates.length >= _prevDates.length
? __spreadArrays(selDates) : _prevDates;
if (_prevDates.length > selDates.length) {
var newSelectedDate = selDates[0];
var newDates = _secondInputFocused
? [_prevDates[0], newSelectedDate]
: [newSelectedDate, _prevDates[1]];
if (newDates[0].getTime() > newDates[1].getTime()) {
if (_secondInputFocused) {
newDates[0] = newDates[1];
}
else {
newDates[1] = newDates[0];
}
}
fp.setDate(newDates, false);
_prevDates = __spreadArrays(newDates);
}
_a = fp.selectedDates.map(function (d) { return fp.formatDate(d, dateFormat); }), _b = _a[0], fp._input.value = _b === void 0 ? "" : _b, _c = _a[1], secondInput.value = _c === void 0 ? "" : _c;
},
};
return plugin;
};
}
return rangePlugin;
})));
dist/plugins/momentPlugin.js 0000644 00000005132 15167673015 0012220 0 ustar 00 (function (global, factory) {
typeof exports === 'object' && typeof module !== 'undefined' ? module.exports = factory() :
typeof define === 'function' && define.amd ? define(factory) :
(global = typeof globalThis !== 'undefined' ? globalThis : global || self, global.momentPlugin = factory());
}(this, (function () { 'use strict';
function getEventTarget(event) {
try {
if (typeof event.composedPath === "function") {
var path = event.composedPath();
return path[0];
}
return event.target;
}
catch (error) {
return event.target;
}
}
function momentPlugin(config) {
var moment = config.moment;
return function (fp) {
function captureIncrement(e) {
var event = e;
event.stopPropagation();
var date = moment(fp.selectedDates[0]);
var input = getEventTarget(event);
var unit = Array.from(input.classList)
.filter(function (name) { return name.startsWith("flatpickr-"); })
.map(function (name) { return name.substring(10); })[0];
var step = parseFloat(input.getAttribute("step"));
date.add(step * event.delta, unit);
fp.setDate(date.toDate());
}
return {
parseDate: function (datestr, format) {
return moment(datestr, format, true).toDate();
},
formatDate: function (date, format) {
// locale can also be used
var momentDate = moment(date);
if (typeof fp.config.locale === "string") {
momentDate.locale(fp.config.locale);
}
return momentDate.format(format);
},
onReady: function () {
[fp.hourElement, fp.minuteElement, fp.secondElement].forEach(function (element) {
return element &&
element.addEventListener("increment", captureIncrement, {
capture: true,
});
});
},
onDestroy: function () {
[fp.hourElement, fp.minuteElement, fp.secondElement].forEach(function (element) {
return element &&
element.removeEventListener("increment", captureIncrement, {
capture: true,
});
});
},
};
};
}
return momentPlugin;
})));
dist/esm/utils/index.js 0000644 00000001032 15167673015 0011107 0 ustar 00 export var pad = function (number, length) {
if (length === void 0) { length = 2; }
return ("000" + number).slice(length * -1);
};
export var int = function (bool) { return (bool === true ? 1 : 0); };
export function debounce(fn, wait) {
var t;
return function () {
var _this = this;
var args = arguments;
clearTimeout(t);
t = setTimeout(function () { return fn.apply(_this, args); }, wait);
};
}
export var arrayify = function (obj) {
return obj instanceof Array ? obj : [obj];
};
dist/esm/utils/formatting.js 0000644 00000011241 15167673015 0012155 0 ustar 00 import { int, pad } from "../utils";
var doNothing = function () { return undefined; };
export var monthToStr = function (monthNumber, shorthand, locale) { return locale.months[shorthand ? "shorthand" : "longhand"][monthNumber]; };
export var revFormat = {
D: doNothing,
F: function (dateObj, monthName, locale) {
dateObj.setMonth(locale.months.longhand.indexOf(monthName));
},
G: function (dateObj, hour) {
dateObj.setHours((dateObj.getHours() >= 12 ? 12 : 0) + parseFloat(hour));
},
H: function (dateObj, hour) {
dateObj.setHours(parseFloat(hour));
},
J: function (dateObj, day) {
dateObj.setDate(parseFloat(day));
},
K: function (dateObj, amPM, locale) {
dateObj.setHours((dateObj.getHours() % 12) +
12 * int(new RegExp(locale.amPM[1], "i").test(amPM)));
},
M: function (dateObj, shortMonth, locale) {
dateObj.setMonth(locale.months.shorthand.indexOf(shortMonth));
},
S: function (dateObj, seconds) {
dateObj.setSeconds(parseFloat(seconds));
},
U: function (_, unixSeconds) { return new Date(parseFloat(unixSeconds) * 1000); },
W: function (dateObj, weekNum, locale) {
var weekNumber = parseInt(weekNum);
var date = new Date(dateObj.getFullYear(), 0, 2 + (weekNumber - 1) * 7, 0, 0, 0, 0);
date.setDate(date.getDate() - date.getDay() + locale.firstDayOfWeek);
return date;
},
Y: function (dateObj, year) {
dateObj.setFullYear(parseFloat(year));
},
Z: function (_, ISODate) { return new Date(ISODate); },
d: function (dateObj, day) {
dateObj.setDate(parseFloat(day));
},
h: function (dateObj, hour) {
dateObj.setHours((dateObj.getHours() >= 12 ? 12 : 0) + parseFloat(hour));
},
i: function (dateObj, minutes) {
dateObj.setMinutes(parseFloat(minutes));
},
j: function (dateObj, day) {
dateObj.setDate(parseFloat(day));
},
l: doNothing,
m: function (dateObj, month) {
dateObj.setMonth(parseFloat(month) - 1);
},
n: function (dateObj, month) {
dateObj.setMonth(parseFloat(month) - 1);
},
s: function (dateObj, seconds) {
dateObj.setSeconds(parseFloat(seconds));
},
u: function (_, unixMillSeconds) {
return new Date(parseFloat(unixMillSeconds));
},
w: doNothing,
y: function (dateObj, year) {
dateObj.setFullYear(2000 + parseFloat(year));
},
};
export var tokenRegex = {
D: "",
F: "",
G: "(\\d\\d|\\d)",
H: "(\\d\\d|\\d)",
J: "(\\d\\d|\\d)\\w+",
K: "",
M: "",
S: "(\\d\\d|\\d)",
U: "(.+)",
W: "(\\d\\d|\\d)",
Y: "(\\d{4})",
Z: "(.+)",
d: "(\\d\\d|\\d)",
h: "(\\d\\d|\\d)",
i: "(\\d\\d|\\d)",
j: "(\\d\\d|\\d)",
l: "",
m: "(\\d\\d|\\d)",
n: "(\\d\\d|\\d)",
s: "(\\d\\d|\\d)",
u: "(.+)",
w: "(\\d\\d|\\d)",
y: "(\\d{2})",
};
export var formats = {
Z: function (date) { return date.toISOString(); },
D: function (date, locale, options) {
return locale.weekdays.shorthand[formats.w(date, locale, options)];
},
F: function (date, locale, options) {
return monthToStr(formats.n(date, locale, options) - 1, false, locale);
},
G: function (date, locale, options) {
return pad(formats.h(date, locale, options));
},
H: function (date) { return pad(date.getHours()); },
J: function (date, locale) {
return locale.ordinal !== undefined
? date.getDate() + locale.ordinal(date.getDate())
: date.getDate();
},
K: function (date, locale) { return locale.amPM[int(date.getHours() > 11)]; },
M: function (date, locale) {
return monthToStr(date.getMonth(), true, locale);
},
S: function (date) { return pad(date.getSeconds()); },
U: function (date) { return date.getTime() / 1000; },
W: function (date, _, options) {
return options.getWeek(date);
},
Y: function (date) { return pad(date.getFullYear(), 4); },
d: function (date) { return pad(date.getDate()); },
h: function (date) { return (date.getHours() % 12 ? date.getHours() % 12 : 12); },
i: function (date) { return pad(date.getMinutes()); },
j: function (date) { return date.getDate(); },
l: function (date, locale) {
return locale.weekdays.longhand[date.getDay()];
},
m: function (date) { return pad(date.getMonth() + 1); },
n: function (date) { return date.getMonth() + 1; },
s: function (date) { return date.getSeconds(); },
u: function (date) { return date.getTime(); },
w: function (date) { return date.getDay(); },
y: function (date) { return String(date.getFullYear()).substring(2); },
};
dist/esm/utils/dates.js 0000644 00000013602 15167673015 0011106 0 ustar 00 import { tokenRegex, revFormat, formats, } from "./formatting";
import { defaults } from "../types/options";
import { english } from "../l10n/default";
export var createDateFormatter = function (_a) {
var _b = _a.config, config = _b === void 0 ? defaults : _b, _c = _a.l10n, l10n = _c === void 0 ? english : _c, _d = _a.isMobile, isMobile = _d === void 0 ? false : _d;
return function (dateObj, frmt, overrideLocale) {
var locale = overrideLocale || l10n;
if (config.formatDate !== undefined && !isMobile) {
return config.formatDate(dateObj, frmt, locale);
}
return frmt
.split("")
.map(function (c, i, arr) {
return formats[c] && arr[i - 1] !== "\\"
? formats[c](dateObj, locale, config)
: c !== "\\"
? c
: "";
})
.join("");
};
};
export var createDateParser = function (_a) {
var _b = _a.config, config = _b === void 0 ? defaults : _b, _c = _a.l10n, l10n = _c === void 0 ? english : _c;
return function (date, givenFormat, timeless, customLocale) {
if (date !== 0 && !date)
return undefined;
var locale = customLocale || l10n;
var parsedDate;
var dateOrig = date;
if (date instanceof Date)
parsedDate = new Date(date.getTime());
else if (typeof date !== "string" &&
date.toFixed !== undefined)
parsedDate = new Date(date);
else if (typeof date === "string") {
var format = givenFormat || (config || defaults).dateFormat;
var datestr = String(date).trim();
if (datestr === "today") {
parsedDate = new Date();
timeless = true;
}
else if (config && config.parseDate) {
parsedDate = config.parseDate(date, format);
}
else if (/Z$/.test(datestr) ||
/GMT$/.test(datestr)) {
parsedDate = new Date(date);
}
else {
var matched = void 0, ops = [];
for (var i = 0, matchIndex = 0, regexStr = ""; i < format.length; i++) {
var token = format[i];
var isBackSlash = token === "\\";
var escaped = format[i - 1] === "\\" || isBackSlash;
if (tokenRegex[token] && !escaped) {
regexStr += tokenRegex[token];
var match = new RegExp(regexStr).exec(date);
if (match && (matched = true)) {
ops[token !== "Y" ? "push" : "unshift"]({
fn: revFormat[token],
val: match[++matchIndex],
});
}
}
else if (!isBackSlash)
regexStr += ".";
}
parsedDate =
!config || !config.noCalendar
? new Date(new Date().getFullYear(), 0, 1, 0, 0, 0, 0)
: new Date(new Date().setHours(0, 0, 0, 0));
ops.forEach(function (_a) {
var fn = _a.fn, val = _a.val;
return (parsedDate = fn(parsedDate, val, locale) || parsedDate);
});
parsedDate = matched ? parsedDate : undefined;
}
}
if (!(parsedDate instanceof Date && !isNaN(parsedDate.getTime()))) {
config.errorHandler(new Error("Invalid date provided: " + dateOrig));
return undefined;
}
if (timeless === true)
parsedDate.setHours(0, 0, 0, 0);
return parsedDate;
};
};
export function compareDates(date1, date2, timeless) {
if (timeless === void 0) { timeless = true; }
if (timeless !== false) {
return (new Date(date1.getTime()).setHours(0, 0, 0, 0) -
new Date(date2.getTime()).setHours(0, 0, 0, 0));
}
return date1.getTime() - date2.getTime();
}
export function compareTimes(date1, date2) {
return (3600 * (date1.getHours() - date2.getHours()) +
60 * (date1.getMinutes() - date2.getMinutes()) +
date1.getSeconds() -
date2.getSeconds());
}
export var isBetween = function (ts, ts1, ts2) {
return ts > Math.min(ts1, ts2) && ts < Math.max(ts1, ts2);
};
export var calculateSecondsSinceMidnight = function (hours, minutes, seconds) {
return hours * 3600 + minutes * 60 + seconds;
};
export var parseSeconds = function (secondsSinceMidnight) {
var hours = Math.floor(secondsSinceMidnight / 3600), minutes = (secondsSinceMidnight - hours * 3600) / 60;
return [hours, minutes, secondsSinceMidnight - hours * 3600 - minutes * 60];
};
export var duration = {
DAY: 86400000,
};
export function getDefaultHours(config) {
var hours = config.defaultHour;
var minutes = config.defaultMinute;
var seconds = config.defaultSeconds;
if (config.minDate !== undefined) {
var minHour = config.minDate.getHours();
var minMinutes = config.minDate.getMinutes();
var minSeconds = config.minDate.getSeconds();
if (hours < minHour) {
hours = minHour;
}
if (hours === minHour && minutes < minMinutes) {
minutes = minMinutes;
}
if (hours === minHour && minutes === minMinutes && seconds < minSeconds)
seconds = config.minDate.getSeconds();
}
if (config.maxDate !== undefined) {
var maxHr = config.maxDate.getHours();
var maxMinutes = config.maxDate.getMinutes();
hours = Math.min(hours, maxHr);
if (hours === maxHr)
minutes = Math.min(maxMinutes, minutes);
if (hours === maxHr && minutes === maxMinutes)
seconds = config.maxDate.getSeconds();
}
return { hours: hours, minutes: minutes, seconds: seconds };
}
dist/esm/utils/polyfills.js 0000644 00000001302 15167673015 0012015 0 ustar 00 "use strict";
if (typeof Object.assign !== "function") {
Object.assign = function (target) {
var args = [];
for (var _i = 1; _i < arguments.length; _i++) {
args[_i - 1] = arguments[_i];
}
if (!target) {
throw TypeError("Cannot convert undefined or null to object");
}
var _loop_1 = function (source) {
if (source) {
Object.keys(source).forEach(function (key) { return (target[key] = source[key]); });
}
};
for (var _a = 0, args_1 = args; _a < args_1.length; _a++) {
var source = args_1[_a];
_loop_1(source);
}
return target;
};
}
dist/esm/utils/dom.js 0000644 00000003267 15167673015 0010573 0 ustar 00 export function toggleClass(elem, className, bool) {
if (bool === true)
return elem.classList.add(className);
elem.classList.remove(className);
}
export function createElement(tag, className, content) {
var e = window.document.createElement(tag);
className = className || "";
content = content || "";
e.className = className;
if (content !== undefined)
e.textContent = content;
return e;
}
export function clearNode(node) {
while (node.firstChild)
node.removeChild(node.firstChild);
}
export function findParent(node, condition) {
if (condition(node))
return node;
else if (node.parentNode)
return findParent(node.parentNode, condition);
return undefined;
}
export function createNumberInput(inputClassName, opts) {
var wrapper = createElement("div", "numInputWrapper"), numInput = createElement("input", "numInput " + inputClassName), arrowUp = createElement("span", "arrowUp"), arrowDown = createElement("span", "arrowDown");
if (navigator.userAgent.indexOf("MSIE 9.0") === -1) {
numInput.type = "number";
}
else {
numInput.type = "text";
numInput.pattern = "\\d*";
}
if (opts !== undefined)
for (var key in opts)
numInput.setAttribute(key, opts[key]);
wrapper.appendChild(numInput);
wrapper.appendChild(arrowUp);
wrapper.appendChild(arrowDown);
return wrapper;
}
export function getEventTarget(event) {
try {
if (typeof event.composedPath === "function") {
var path = event.composedPath();
return path[0];
}
return event.target;
}
catch (error) {
return event.target;
}
}
dist/esm/index.js 0000644 00000260223 15167673015 0007760 0 ustar 00 var __assign = (this && this.__assign) || function () {
__assign = Object.assign || function(t) {
for (var s, i = 1, n = arguments.length; i < n; i++) {
s = arguments[i];
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
t[p] = s[p];
}
return t;
};
return __assign.apply(this, arguments);
};
var __spreadArrays = (this && this.__spreadArrays) || function () {
for (var s = 0, i = 0, il = arguments.length; i < il; i++) s += arguments[i].length;
for (var r = Array(s), k = 0, i = 0; i < il; i++)
for (var a = arguments[i], j = 0, jl = a.length; j < jl; j++, k++)
r[k] = a[j];
return r;
};
import { defaults as defaultOptions, HOOKS, } from "./types/options";
import English from "./l10n/default";
import { arrayify, debounce, int, pad } from "./utils";
import { clearNode, createElement, createNumberInput, findParent, toggleClass, getEventTarget, } from "./utils/dom";
import { compareDates, createDateParser, createDateFormatter, duration, isBetween, getDefaultHours, calculateSecondsSinceMidnight, parseSeconds, } from "./utils/dates";
import { tokenRegex, monthToStr } from "./utils/formatting";
import "./utils/polyfills";
var DEBOUNCED_CHANGE_MS = 300;
function FlatpickrInstance(element, instanceConfig) {
var self = {
config: __assign(__assign({}, defaultOptions), flatpickr.defaultConfig),
l10n: English,
};
self.parseDate = createDateParser({ config: self.config, l10n: self.l10n });
self._handlers = [];
self.pluginElements = [];
self.loadedPlugins = [];
self._bind = bind;
self._setHoursFromDate = setHoursFromDate;
self._positionCalendar = positionCalendar;
self.changeMonth = changeMonth;
self.changeYear = changeYear;
self.clear = clear;
self.close = close;
self.onMouseOver = onMouseOver;
self._createElement = createElement;
self.createDay = createDay;
self.destroy = destroy;
self.isEnabled = isEnabled;
self.jumpToDate = jumpToDate;
self.updateValue = updateValue;
self.open = open;
self.redraw = redraw;
self.set = set;
self.setDate = setDate;
self.toggle = toggle;
function setupHelperFunctions() {
self.utils = {
getDaysInMonth: function (month, yr) {
if (month === void 0) { month = self.currentMonth; }
if (yr === void 0) { yr = self.currentYear; }
if (month === 1 && ((yr % 4 === 0 && yr % 100 !== 0) || yr % 400 === 0))
return 29;
return self.l10n.daysInMonth[month];
},
};
}
function init() {
self.element = self.input = element;
self.isOpen = false;
parseConfig();
setupLocale();
setupInputs();
setupDates();
setupHelperFunctions();
if (!self.isMobile)
build();
bindEvents();
if (self.selectedDates.length || self.config.noCalendar) {
if (self.config.enableTime) {
setHoursFromDate(self.config.noCalendar ? self.latestSelectedDateObj : undefined);
}
updateValue(false);
}
setCalendarWidth();
var isSafari = /^((?!chrome|android).)*safari/i.test(navigator.userAgent);
if (!self.isMobile && isSafari) {
positionCalendar();
}
triggerEvent("onReady");
}
function getClosestActiveElement() {
var _a;
return (((_a = self.calendarContainer) === null || _a === void 0 ? void 0 : _a.getRootNode())
.activeElement || document.activeElement);
}
function bindToInstance(fn) {
return fn.bind(self);
}
function setCalendarWidth() {
var config = self.config;
if (config.weekNumbers === false && config.showMonths === 1) {
return;
}
else if (config.noCalendar !== true) {
window.requestAnimationFrame(function () {
if (self.calendarContainer !== undefined) {
self.calendarContainer.style.visibility = "hidden";
self.calendarContainer.style.display = "block";
}
if (self.daysContainer !== undefined) {
var daysWidth = (self.days.offsetWidth + 1) * config.showMonths;
self.daysContainer.style.width = daysWidth + "px";
self.calendarContainer.style.width =
daysWidth +
(self.weekWrapper !== undefined
? self.weekWrapper.offsetWidth
: 0) +
"px";
self.calendarContainer.style.removeProperty("visibility");
self.calendarContainer.style.removeProperty("display");
}
});
}
}
function updateTime(e) {
if (self.selectedDates.length === 0) {
var defaultDate = self.config.minDate === undefined ||
compareDates(new Date(), self.config.minDate) >= 0
? new Date()
: new Date(self.config.minDate.getTime());
var defaults = getDefaultHours(self.config);
defaultDate.setHours(defaults.hours, defaults.minutes, defaults.seconds, defaultDate.getMilliseconds());
self.selectedDates = [defaultDate];
self.latestSelectedDateObj = defaultDate;
}
if (e !== undefined && e.type !== "blur") {
timeWrapper(e);
}
var prevValue = self._input.value;
setHoursFromInputs();
updateValue();
if (self._input.value !== prevValue) {
self._debouncedChange();
}
}
function ampm2military(hour, amPM) {
return (hour % 12) + 12 * int(amPM === self.l10n.amPM[1]);
}
function military2ampm(hour) {
switch (hour % 24) {
case 0:
case 12:
return 12;
default:
return hour % 12;
}
}
function setHoursFromInputs() {
if (self.hourElement === undefined || self.minuteElement === undefined)
return;
var hours = (parseInt(self.hourElement.value.slice(-2), 10) || 0) % 24, minutes = (parseInt(self.minuteElement.value, 10) || 0) % 60, seconds = self.secondElement !== undefined
? (parseInt(self.secondElement.value, 10) || 0) % 60
: 0;
if (self.amPM !== undefined) {
hours = ampm2military(hours, self.amPM.textContent);
}
var limitMinHours = self.config.minTime !== undefined ||
(self.config.minDate &&
self.minDateHasTime &&
self.latestSelectedDateObj &&
compareDates(self.latestSelectedDateObj, self.config.minDate, true) ===
0);
var limitMaxHours = self.config.maxTime !== undefined ||
(self.config.maxDate &&
self.maxDateHasTime &&
self.latestSelectedDateObj &&
compareDates(self.latestSelectedDateObj, self.config.maxDate, true) ===
0);
if (self.config.maxTime !== undefined &&
self.config.minTime !== undefined &&
self.config.minTime > self.config.maxTime) {
var minBound = calculateSecondsSinceMidnight(self.config.minTime.getHours(), self.config.minTime.getMinutes(), self.config.minTime.getSeconds());
var maxBound = calculateSecondsSinceMidnight(self.config.maxTime.getHours(), self.config.maxTime.getMinutes(), self.config.maxTime.getSeconds());
var currentTime = calculateSecondsSinceMidnight(hours, minutes, seconds);
if (currentTime > maxBound && currentTime < minBound) {
var result = parseSeconds(minBound);
hours = result[0];
minutes = result[1];
seconds = result[2];
}
}
else {
if (limitMaxHours) {
var maxTime = self.config.maxTime !== undefined
? self.config.maxTime
: self.config.maxDate;
hours = Math.min(hours, maxTime.getHours());
if (hours === maxTime.getHours())
minutes = Math.min(minutes, maxTime.getMinutes());
if (minutes === maxTime.getMinutes())
seconds = Math.min(seconds, maxTime.getSeconds());
}
if (limitMinHours) {
var minTime = self.config.minTime !== undefined
? self.config.minTime
: self.config.minDate;
hours = Math.max(hours, minTime.getHours());
if (hours === minTime.getHours() && minutes < minTime.getMinutes())
minutes = minTime.getMinutes();
if (minutes === minTime.getMinutes())
seconds = Math.max(seconds, minTime.getSeconds());
}
}
setHours(hours, minutes, seconds);
}
function setHoursFromDate(dateObj) {
var date = dateObj || self.latestSelectedDateObj;
if (date && date instanceof Date) {
setHours(date.getHours(), date.getMinutes(), date.getSeconds());
}
}
function setHours(hours, minutes, seconds) {
if (self.latestSelectedDateObj !== undefined) {
self.latestSelectedDateObj.setHours(hours % 24, minutes, seconds || 0, 0);
}
if (!self.hourElement || !self.minuteElement || self.isMobile)
return;
self.hourElement.value = pad(!self.config.time_24hr
? ((12 + hours) % 12) + 12 * int(hours % 12 === 0)
: hours);
self.minuteElement.value = pad(minutes);
if (self.amPM !== undefined)
self.amPM.textContent = self.l10n.amPM[int(hours >= 12)];
if (self.secondElement !== undefined)
self.secondElement.value = pad(seconds);
}
function onYearInput(event) {
var eventTarget = getEventTarget(event);
var year = parseInt(eventTarget.value) + (event.delta || 0);
if (year / 1000 > 1 ||
(event.key === "Enter" && !/[^\d]/.test(year.toString()))) {
changeYear(year);
}
}
function bind(element, event, handler, options) {
if (event instanceof Array)
return event.forEach(function (ev) { return bind(element, ev, handler, options); });
if (element instanceof Array)
return element.forEach(function (el) { return bind(el, event, handler, options); });
element.addEventListener(event, handler, options);
self._handlers.push({
remove: function () { return element.removeEventListener(event, handler, options); },
});
}
function triggerChange() {
triggerEvent("onChange");
}
function bindEvents() {
if (self.config.wrap) {
["open", "close", "toggle", "clear"].forEach(function (evt) {
Array.prototype.forEach.call(self.element.querySelectorAll("[data-" + evt + "]"), function (el) {
return bind(el, "click", self[evt]);
});
});
}
if (self.isMobile) {
setupMobile();
return;
}
var debouncedResize = debounce(onResize, 50);
self._debouncedChange = debounce(triggerChange, DEBOUNCED_CHANGE_MS);
if (self.daysContainer && !/iPhone|iPad|iPod/i.test(navigator.userAgent))
bind(self.daysContainer, "mouseover", function (e) {
if (self.config.mode === "range")
onMouseOver(getEventTarget(e));
});
bind(self._input, "keydown", onKeyDown);
if (self.calendarContainer !== undefined) {
bind(self.calendarContainer, "keydown", onKeyDown);
}
if (!self.config.inline && !self.config.static)
bind(window, "resize", debouncedResize);
if (window.ontouchstart !== undefined)
bind(window.document, "touchstart", documentClick);
else
bind(window.document, "mousedown", documentClick);
bind(window.document, "focus", documentClick, { capture: true });
if (self.config.clickOpens === true) {
bind(self._input, "focus", self.open);
bind(self._input, "click", self.open);
}
if (self.daysContainer !== undefined) {
bind(self.monthNav, "click", onMonthNavClick);
bind(self.monthNav, ["keyup", "increment"], onYearInput);
bind(self.daysContainer, "click", selectDate);
}
if (self.timeContainer !== undefined &&
self.minuteElement !== undefined &&
self.hourElement !== undefined) {
var selText = function (e) {
return getEventTarget(e).select();
};
bind(self.timeContainer, ["increment"], updateTime);
bind(self.timeContainer, "blur", updateTime, { capture: true });
bind(self.timeContainer, "click", timeIncrement);
bind([self.hourElement, self.minuteElement], ["focus", "click"], selText);
if (self.secondElement !== undefined)
bind(self.secondElement, "focus", function () { return self.secondElement && self.secondElement.select(); });
if (self.amPM !== undefined) {
bind(self.amPM, "click", function (e) {
updateTime(e);
});
}
}
if (self.config.allowInput) {
bind(self._input, "blur", onBlur);
}
}
function jumpToDate(jumpDate, triggerChange) {
var jumpTo = jumpDate !== undefined
? self.parseDate(jumpDate)
: self.latestSelectedDateObj ||
(self.config.minDate && self.config.minDate > self.now
? self.config.minDate
: self.config.maxDate && self.config.maxDate < self.now
? self.config.maxDate
: self.now);
var oldYear = self.currentYear;
var oldMonth = self.currentMonth;
try {
if (jumpTo !== undefined) {
self.currentYear = jumpTo.getFullYear();
self.currentMonth = jumpTo.getMonth();
}
}
catch (e) {
e.message = "Invalid date supplied: " + jumpTo;
self.config.errorHandler(e);
}
if (triggerChange && self.currentYear !== oldYear) {
triggerEvent("onYearChange");
buildMonthSwitch();
}
if (triggerChange &&
(self.currentYear !== oldYear || self.currentMonth !== oldMonth)) {
triggerEvent("onMonthChange");
}
self.redraw();
}
function timeIncrement(e) {
var eventTarget = getEventTarget(e);
if (~eventTarget.className.indexOf("arrow"))
incrementNumInput(e, eventTarget.classList.contains("arrowUp") ? 1 : -1);
}
function incrementNumInput(e, delta, inputElem) {
var target = e && getEventTarget(e);
var input = inputElem ||
(target && target.parentNode && target.parentNode.firstChild);
var event = createEvent("increment");
event.delta = delta;
input && input.dispatchEvent(event);
}
function build() {
var fragment = window.document.createDocumentFragment();
self.calendarContainer = createElement("div", "flatpickr-calendar");
self.calendarContainer.tabIndex = -1;
if (!self.config.noCalendar) {
fragment.appendChild(buildMonthNav());
self.innerContainer = createElement("div", "flatpickr-innerContainer");
if (self.config.weekNumbers) {
var _a = buildWeeks(), weekWrapper = _a.weekWrapper, weekNumbers = _a.weekNumbers;
self.innerContainer.appendChild(weekWrapper);
self.weekNumbers = weekNumbers;
self.weekWrapper = weekWrapper;
}
self.rContainer = createElement("div", "flatpickr-rContainer");
self.rContainer.appendChild(buildWeekdays());
if (!self.daysContainer) {
self.daysContainer = createElement("div", "flatpickr-days");
self.daysContainer.tabIndex = -1;
}
buildDays();
self.rContainer.appendChild(self.daysContainer);
self.innerContainer.appendChild(self.rContainer);
fragment.appendChild(self.innerContainer);
}
if (self.config.enableTime) {
fragment.appendChild(buildTime());
}
toggleClass(self.calendarContainer, "rangeMode", self.config.mode === "range");
toggleClass(self.calendarContainer, "animate", self.config.animate === true);
toggleClass(self.calendarContainer, "multiMonth", self.config.showMonths > 1);
self.calendarContainer.appendChild(fragment);
var customAppend = self.config.appendTo !== undefined &&
self.config.appendTo.nodeType !== undefined;
if (self.config.inline || self.config.static) {
self.calendarContainer.classList.add(self.config.inline ? "inline" : "static");
if (self.config.inline) {
if (!customAppend && self.element.parentNode)
self.element.parentNode.insertBefore(self.calendarContainer, self._input.nextSibling);
else if (self.config.appendTo !== undefined)
self.config.appendTo.appendChild(self.calendarContainer);
}
if (self.config.static) {
var wrapper = createElement("div", "flatpickr-wrapper");
if (self.element.parentNode)
self.element.parentNode.insertBefore(wrapper, self.element);
wrapper.appendChild(self.element);
if (self.altInput)
wrapper.appendChild(self.altInput);
wrapper.appendChild(self.calendarContainer);
}
}
if (!self.config.static && !self.config.inline)
(self.config.appendTo !== undefined
? self.config.appendTo
: window.document.body).appendChild(self.calendarContainer);
}
function createDay(className, date, _dayNumber, i) {
var dateIsEnabled = isEnabled(date, true), dayElement = createElement("span", className, date.getDate().toString());
dayElement.dateObj = date;
dayElement.$i = i;
dayElement.setAttribute("aria-label", self.formatDate(date, self.config.ariaDateFormat));
if (className.indexOf("hidden") === -1 &&
compareDates(date, self.now) === 0) {
self.todayDateElem = dayElement;
dayElement.classList.add("today");
dayElement.setAttribute("aria-current", "date");
}
if (dateIsEnabled) {
dayElement.tabIndex = -1;
if (isDateSelected(date)) {
dayElement.classList.add("selected");
self.selectedDateElem = dayElement;
if (self.config.mode === "range") {
toggleClass(dayElement, "startRange", self.selectedDates[0] &&
compareDates(date, self.selectedDates[0], true) === 0);
toggleClass(dayElement, "endRange", self.selectedDates[1] &&
compareDates(date, self.selectedDates[1], true) === 0);
if (className === "nextMonthDay")
dayElement.classList.add("inRange");
}
}
}
else {
dayElement.classList.add("flatpickr-disabled");
}
if (self.config.mode === "range") {
if (isDateInRange(date) && !isDateSelected(date))
dayElement.classList.add("inRange");
}
if (self.weekNumbers &&
self.config.showMonths === 1 &&
className !== "prevMonthDay" &&
i % 7 === 6) {
self.weekNumbers.insertAdjacentHTML("beforeend", "<span class='flatpickr-day'>" + self.config.getWeek(date) + "</span>");
}
triggerEvent("onDayCreate", dayElement);
return dayElement;
}
function focusOnDayElem(targetNode) {
targetNode.focus();
if (self.config.mode === "range")
onMouseOver(targetNode);
}
function getFirstAvailableDay(delta) {
var startMonth = delta > 0 ? 0 : self.config.showMonths - 1;
var endMonth = delta > 0 ? self.config.showMonths : -1;
for (var m = startMonth; m != endMonth; m += delta) {
var month = self.daysContainer.children[m];
var startIndex = delta > 0 ? 0 : month.children.length - 1;
var endIndex = delta > 0 ? month.children.length : -1;
for (var i = startIndex; i != endIndex; i += delta) {
var c = month.children[i];
if (c.className.indexOf("hidden") === -1 && isEnabled(c.dateObj))
return c;
}
}
return undefined;
}
function getNextAvailableDay(current, delta) {
var givenMonth = current.className.indexOf("Month") === -1
? current.dateObj.getMonth()
: self.currentMonth;
var endMonth = delta > 0 ? self.config.showMonths : -1;
var loopDelta = delta > 0 ? 1 : -1;
for (var m = givenMonth - self.currentMonth; m != endMonth; m += loopDelta) {
var month = self.daysContainer.children[m];
var startIndex = givenMonth - self.currentMonth === m
? current.$i + delta
: delta < 0
? month.children.length - 1
: 0;
var numMonthDays = month.children.length;
for (var i = startIndex; i >= 0 && i < numMonthDays && i != (delta > 0 ? numMonthDays : -1); i += loopDelta) {
var c = month.children[i];
if (c.className.indexOf("hidden") === -1 &&
isEnabled(c.dateObj) &&
Math.abs(current.$i - i) >= Math.abs(delta))
return focusOnDayElem(c);
}
}
self.changeMonth(loopDelta);
focusOnDay(getFirstAvailableDay(loopDelta), 0);
return undefined;
}
function focusOnDay(current, offset) {
var activeElement = getClosestActiveElement();
var dayFocused = isInView(activeElement || document.body);
var startElem = current !== undefined
? current
: dayFocused
? activeElement
: self.selectedDateElem !== undefined && isInView(self.selectedDateElem)
? self.selectedDateElem
: self.todayDateElem !== undefined && isInView(self.todayDateElem)
? self.todayDateElem
: getFirstAvailableDay(offset > 0 ? 1 : -1);
if (startElem === undefined) {
self._input.focus();
}
else if (!dayFocused) {
focusOnDayElem(startElem);
}
else {
getNextAvailableDay(startElem, offset);
}
}
function buildMonthDays(year, month) {
var firstOfMonth = (new Date(year, month, 1).getDay() - self.l10n.firstDayOfWeek + 7) % 7;
var prevMonthDays = self.utils.getDaysInMonth((month - 1 + 12) % 12, year);
var daysInMonth = self.utils.getDaysInMonth(month, year), days = window.document.createDocumentFragment(), isMultiMonth = self.config.showMonths > 1, prevMonthDayClass = isMultiMonth ? "prevMonthDay hidden" : "prevMonthDay", nextMonthDayClass = isMultiMonth ? "nextMonthDay hidden" : "nextMonthDay";
var dayNumber = prevMonthDays + 1 - firstOfMonth, dayIndex = 0;
for (; dayNumber <= prevMonthDays; dayNumber++, dayIndex++) {
days.appendChild(createDay("flatpickr-day " + prevMonthDayClass, new Date(year, month - 1, dayNumber), dayNumber, dayIndex));
}
for (dayNumber = 1; dayNumber <= daysInMonth; dayNumber++, dayIndex++) {
days.appendChild(createDay("flatpickr-day", new Date(year, month, dayNumber), dayNumber, dayIndex));
}
for (var dayNum = daysInMonth + 1; dayNum <= 42 - firstOfMonth &&
(self.config.showMonths === 1 || dayIndex % 7 !== 0); dayNum++, dayIndex++) {
days.appendChild(createDay("flatpickr-day " + nextMonthDayClass, new Date(year, month + 1, dayNum % daysInMonth), dayNum, dayIndex));
}
var dayContainer = createElement("div", "dayContainer");
dayContainer.appendChild(days);
return dayContainer;
}
function buildDays() {
if (self.daysContainer === undefined) {
return;
}
clearNode(self.daysContainer);
if (self.weekNumbers)
clearNode(self.weekNumbers);
var frag = document.createDocumentFragment();
for (var i = 0; i < self.config.showMonths; i++) {
var d = new Date(self.currentYear, self.currentMonth, 1);
d.setMonth(self.currentMonth + i);
frag.appendChild(buildMonthDays(d.getFullYear(), d.getMonth()));
}
self.daysContainer.appendChild(frag);
self.days = self.daysContainer.firstChild;
if (self.config.mode === "range" && self.selectedDates.length === 1) {
onMouseOver();
}
}
function buildMonthSwitch() {
if (self.config.showMonths > 1 ||
self.config.monthSelectorType !== "dropdown")
return;
var shouldBuildMonth = function (month) {
if (self.config.minDate !== undefined &&
self.currentYear === self.config.minDate.getFullYear() &&
month < self.config.minDate.getMonth()) {
return false;
}
return !(self.config.maxDate !== undefined &&
self.currentYear === self.config.maxDate.getFullYear() &&
month > self.config.maxDate.getMonth());
};
self.monthsDropdownContainer.tabIndex = -1;
self.monthsDropdownContainer.innerHTML = "";
for (var i = 0; i < 12; i++) {
if (!shouldBuildMonth(i))
continue;
var month = createElement("option", "flatpickr-monthDropdown-month");
month.value = new Date(self.currentYear, i).getMonth().toString();
month.textContent = monthToStr(i, self.config.shorthandCurrentMonth, self.l10n);
month.tabIndex = -1;
if (self.currentMonth === i) {
month.selected = true;
}
self.monthsDropdownContainer.appendChild(month);
}
}
function buildMonth() {
var container = createElement("div", "flatpickr-month");
var monthNavFragment = window.document.createDocumentFragment();
var monthElement;
if (self.config.showMonths > 1 ||
self.config.monthSelectorType === "static") {
monthElement = createElement("span", "cur-month");
}
else {
self.monthsDropdownContainer = createElement("select", "flatpickr-monthDropdown-months");
self.monthsDropdownContainer.setAttribute("aria-label", self.l10n.monthAriaLabel);
bind(self.monthsDropdownContainer, "change", function (e) {
var target = getEventTarget(e);
var selectedMonth = parseInt(target.value, 10);
self.changeMonth(selectedMonth - self.currentMonth);
triggerEvent("onMonthChange");
});
buildMonthSwitch();
monthElement = self.monthsDropdownContainer;
}
var yearInput = createNumberInput("cur-year", { tabindex: "-1" });
var yearElement = yearInput.getElementsByTagName("input")[0];
yearElement.setAttribute("aria-label", self.l10n.yearAriaLabel);
if (self.config.minDate) {
yearElement.setAttribute("min", self.config.minDate.getFullYear().toString());
}
if (self.config.maxDate) {
yearElement.setAttribute("max", self.config.maxDate.getFullYear().toString());
yearElement.disabled =
!!self.config.minDate &&
self.config.minDate.getFullYear() === self.config.maxDate.getFullYear();
}
var currentMonth = createElement("div", "flatpickr-current-month");
currentMonth.appendChild(monthElement);
currentMonth.appendChild(yearInput);
monthNavFragment.appendChild(currentMonth);
container.appendChild(monthNavFragment);
return {
container: container,
yearElement: yearElement,
monthElement: monthElement,
};
}
function buildMonths() {
clearNode(self.monthNav);
self.monthNav.appendChild(self.prevMonthNav);
if (self.config.showMonths) {
self.yearElements = [];
self.monthElements = [];
}
for (var m = self.config.showMonths; m--;) {
var month = buildMonth();
self.yearElements.push(month.yearElement);
self.monthElements.push(month.monthElement);
self.monthNav.appendChild(month.container);
}
self.monthNav.appendChild(self.nextMonthNav);
}
function buildMonthNav() {
self.monthNav = createElement("div", "flatpickr-months");
self.yearElements = [];
self.monthElements = [];
self.prevMonthNav = createElement("span", "flatpickr-prev-month");
self.prevMonthNav.innerHTML = self.config.prevArrow;
self.nextMonthNav = createElement("span", "flatpickr-next-month");
self.nextMonthNav.innerHTML = self.config.nextArrow;
buildMonths();
Object.defineProperty(self, "_hidePrevMonthArrow", {
get: function () { return self.__hidePrevMonthArrow; },
set: function (bool) {
if (self.__hidePrevMonthArrow !== bool) {
toggleClass(self.prevMonthNav, "flatpickr-disabled", bool);
self.__hidePrevMonthArrow = bool;
}
},
});
Object.defineProperty(self, "_hideNextMonthArrow", {
get: function () { return self.__hideNextMonthArrow; },
set: function (bool) {
if (self.__hideNextMonthArrow !== bool) {
toggleClass(self.nextMonthNav, "flatpickr-disabled", bool);
self.__hideNextMonthArrow = bool;
}
},
});
self.currentYearElement = self.yearElements[0];
updateNavigationCurrentMonth();
return self.monthNav;
}
function buildTime() {
self.calendarContainer.classList.add("hasTime");
if (self.config.noCalendar)
self.calendarContainer.classList.add("noCalendar");
var defaults = getDefaultHours(self.config);
self.timeContainer = createElement("div", "flatpickr-time");
self.timeContainer.tabIndex = -1;
var separator = createElement("span", "flatpickr-time-separator", ":");
var hourInput = createNumberInput("flatpickr-hour", {
"aria-label": self.l10n.hourAriaLabel,
});
self.hourElement = hourInput.getElementsByTagName("input")[0];
var minuteInput = createNumberInput("flatpickr-minute", {
"aria-label": self.l10n.minuteAriaLabel,
});
self.minuteElement = minuteInput.getElementsByTagName("input")[0];
self.hourElement.tabIndex = self.minuteElement.tabIndex = -1;
self.hourElement.value = pad(self.latestSelectedDateObj
? self.latestSelectedDateObj.getHours()
: self.config.time_24hr
? defaults.hours
: military2ampm(defaults.hours));
self.minuteElement.value = pad(self.latestSelectedDateObj
? self.latestSelectedDateObj.getMinutes()
: defaults.minutes);
self.hourElement.setAttribute("step", self.config.hourIncrement.toString());
self.minuteElement.setAttribute("step", self.config.minuteIncrement.toString());
self.hourElement.setAttribute("min", self.config.time_24hr ? "0" : "1");
self.hourElement.setAttribute("max", self.config.time_24hr ? "23" : "12");
self.hourElement.setAttribute("maxlength", "2");
self.minuteElement.setAttribute("min", "0");
self.minuteElement.setAttribute("max", "59");
self.minuteElement.setAttribute("maxlength", "2");
self.timeContainer.appendChild(hourInput);
self.timeContainer.appendChild(separator);
self.timeContainer.appendChild(minuteInput);
if (self.config.time_24hr)
self.timeContainer.classList.add("time24hr");
if (self.config.enableSeconds) {
self.timeContainer.classList.add("hasSeconds");
var secondInput = createNumberInput("flatpickr-second");
self.secondElement = secondInput.getElementsByTagName("input")[0];
self.secondElement.value = pad(self.latestSelectedDateObj
? self.latestSelectedDateObj.getSeconds()
: defaults.seconds);
self.secondElement.setAttribute("step", self.minuteElement.getAttribute("step"));
self.secondElement.setAttribute("min", "0");
self.secondElement.setAttribute("max", "59");
self.secondElement.setAttribute("maxlength", "2");
self.timeContainer.appendChild(createElement("span", "flatpickr-time-separator", ":"));
self.timeContainer.appendChild(secondInput);
}
if (!self.config.time_24hr) {
self.amPM = createElement("span", "flatpickr-am-pm", self.l10n.amPM[int((self.latestSelectedDateObj
? self.hourElement.value
: self.config.defaultHour) > 11)]);
self.amPM.title = self.l10n.toggleTitle;
self.amPM.tabIndex = -1;
self.timeContainer.appendChild(self.amPM);
}
return self.timeContainer;
}
function buildWeekdays() {
if (!self.weekdayContainer)
self.weekdayContainer = createElement("div", "flatpickr-weekdays");
else
clearNode(self.weekdayContainer);
for (var i = self.config.showMonths; i--;) {
var container = createElement("div", "flatpickr-weekdaycontainer");
self.weekdayContainer.appendChild(container);
}
updateWeekdays();
return self.weekdayContainer;
}
function updateWeekdays() {
if (!self.weekdayContainer) {
return;
}
var firstDayOfWeek = self.l10n.firstDayOfWeek;
var weekdays = __spreadArrays(self.l10n.weekdays.shorthand);
if (firstDayOfWeek > 0 && firstDayOfWeek < weekdays.length) {
weekdays = __spreadArrays(weekdays.splice(firstDayOfWeek, weekdays.length), weekdays.splice(0, firstDayOfWeek));
}
for (var i = self.config.showMonths; i--;) {
self.weekdayContainer.children[i].innerHTML = "\n <span class='flatpickr-weekday'>\n " + weekdays.join("</span><span class='flatpickr-weekday'>") + "\n </span>\n ";
}
}
function buildWeeks() {
self.calendarContainer.classList.add("hasWeeks");
var weekWrapper = createElement("div", "flatpickr-weekwrapper");
weekWrapper.appendChild(createElement("span", "flatpickr-weekday", self.l10n.weekAbbreviation));
var weekNumbers = createElement("div", "flatpickr-weeks");
weekWrapper.appendChild(weekNumbers);
return {
weekWrapper: weekWrapper,
weekNumbers: weekNumbers,
};
}
function changeMonth(value, isOffset) {
if (isOffset === void 0) { isOffset = true; }
var delta = isOffset ? value : value - self.currentMonth;
if ((delta < 0 && self._hidePrevMonthArrow === true) ||
(delta > 0 && self._hideNextMonthArrow === true))
return;
self.currentMonth += delta;
if (self.currentMonth < 0 || self.currentMonth > 11) {
self.currentYear += self.currentMonth > 11 ? 1 : -1;
self.currentMonth = (self.currentMonth + 12) % 12;
triggerEvent("onYearChange");
buildMonthSwitch();
}
buildDays();
triggerEvent("onMonthChange");
updateNavigationCurrentMonth();
}
function clear(triggerChangeEvent, toInitial) {
if (triggerChangeEvent === void 0) { triggerChangeEvent = true; }
if (toInitial === void 0) { toInitial = true; }
self.input.value = "";
if (self.altInput !== undefined)
self.altInput.value = "";
if (self.mobileInput !== undefined)
self.mobileInput.value = "";
self.selectedDates = [];
self.latestSelectedDateObj = undefined;
if (toInitial === true) {
self.currentYear = self._initialDate.getFullYear();
self.currentMonth = self._initialDate.getMonth();
}
if (self.config.enableTime === true) {
var _a = getDefaultHours(self.config), hours = _a.hours, minutes = _a.minutes, seconds = _a.seconds;
setHours(hours, minutes, seconds);
}
self.redraw();
if (triggerChangeEvent)
triggerEvent("onChange");
}
function close() {
self.isOpen = false;
if (!self.isMobile) {
if (self.calendarContainer !== undefined) {
self.calendarContainer.classList.remove("open");
}
if (self._input !== undefined) {
self._input.classList.remove("active");
}
}
triggerEvent("onClose");
}
function destroy() {
if (self.config !== undefined)
triggerEvent("onDestroy");
for (var i = self._handlers.length; i--;) {
self._handlers[i].remove();
}
self._handlers = [];
if (self.mobileInput) {
if (self.mobileInput.parentNode)
self.mobileInput.parentNode.removeChild(self.mobileInput);
self.mobileInput = undefined;
}
else if (self.calendarContainer && self.calendarContainer.parentNode) {
if (self.config.static && self.calendarContainer.parentNode) {
var wrapper = self.calendarContainer.parentNode;
wrapper.lastChild && wrapper.removeChild(wrapper.lastChild);
if (wrapper.parentNode) {
while (wrapper.firstChild)
wrapper.parentNode.insertBefore(wrapper.firstChild, wrapper);
wrapper.parentNode.removeChild(wrapper);
}
}
else
self.calendarContainer.parentNode.removeChild(self.calendarContainer);
}
if (self.altInput) {
self.input.type = "text";
if (self.altInput.parentNode)
self.altInput.parentNode.removeChild(self.altInput);
delete self.altInput;
}
if (self.input) {
self.input.type = self.input._type;
self.input.classList.remove("flatpickr-input");
self.input.removeAttribute("readonly");
}
[
"_showTimeInput",
"latestSelectedDateObj",
"_hideNextMonthArrow",
"_hidePrevMonthArrow",
"__hideNextMonthArrow",
"__hidePrevMonthArrow",
"isMobile",
"isOpen",
"selectedDateElem",
"minDateHasTime",
"maxDateHasTime",
"days",
"daysContainer",
"_input",
"_positionElement",
"innerContainer",
"rContainer",
"monthNav",
"todayDateElem",
"calendarContainer",
"weekdayContainer",
"prevMonthNav",
"nextMonthNav",
"monthsDropdownContainer",
"currentMonthElement",
"currentYearElement",
"navigationCurrentMonth",
"selectedDateElem",
"config",
].forEach(function (k) {
try {
delete self[k];
}
catch (_) { }
});
}
function isCalendarElem(elem) {
return self.calendarContainer.contains(elem);
}
function documentClick(e) {
if (self.isOpen && !self.config.inline) {
var eventTarget_1 = getEventTarget(e);
var isCalendarElement = isCalendarElem(eventTarget_1);
var isInput = eventTarget_1 === self.input ||
eventTarget_1 === self.altInput ||
self.element.contains(eventTarget_1) ||
(e.path &&
e.path.indexOf &&
(~e.path.indexOf(self.input) ||
~e.path.indexOf(self.altInput)));
var lostFocus = !isInput &&
!isCalendarElement &&
!isCalendarElem(e.relatedTarget);
var isIgnored = !self.config.ignoredFocusElements.some(function (elem) {
return elem.contains(eventTarget_1);
});
if (lostFocus && isIgnored) {
if (self.config.allowInput) {
self.setDate(self._input.value, false, self.config.altInput
? self.config.altFormat
: self.config.dateFormat);
}
if (self.timeContainer !== undefined &&
self.minuteElement !== undefined &&
self.hourElement !== undefined &&
self.input.value !== "" &&
self.input.value !== undefined) {
updateTime();
}
self.close();
if (self.config &&
self.config.mode === "range" &&
self.selectedDates.length === 1)
self.clear(false);
}
}
}
function changeYear(newYear) {
if (!newYear ||
(self.config.minDate && newYear < self.config.minDate.getFullYear()) ||
(self.config.maxDate && newYear > self.config.maxDate.getFullYear()))
return;
var newYearNum = newYear, isNewYear = self.currentYear !== newYearNum;
self.currentYear = newYearNum || self.currentYear;
if (self.config.maxDate &&
self.currentYear === self.config.maxDate.getFullYear()) {
self.currentMonth = Math.min(self.config.maxDate.getMonth(), self.currentMonth);
}
else if (self.config.minDate &&
self.currentYear === self.config.minDate.getFullYear()) {
self.currentMonth = Math.max(self.config.minDate.getMonth(), self.currentMonth);
}
if (isNewYear) {
self.redraw();
triggerEvent("onYearChange");
buildMonthSwitch();
}
}
function isEnabled(date, timeless) {
var _a;
if (timeless === void 0) { timeless = true; }
var dateToCheck = self.parseDate(date, undefined, timeless);
if ((self.config.minDate &&
dateToCheck &&
compareDates(dateToCheck, self.config.minDate, timeless !== undefined ? timeless : !self.minDateHasTime) < 0) ||
(self.config.maxDate &&
dateToCheck &&
compareDates(dateToCheck, self.config.maxDate, timeless !== undefined ? timeless : !self.maxDateHasTime) > 0))
return false;
if (!self.config.enable && self.config.disable.length === 0)
return true;
if (dateToCheck === undefined)
return false;
var bool = !!self.config.enable, array = (_a = self.config.enable) !== null && _a !== void 0 ? _a : self.config.disable;
for (var i = 0, d = void 0; i < array.length; i++) {
d = array[i];
if (typeof d === "function" &&
d(dateToCheck))
return bool;
else if (d instanceof Date &&
dateToCheck !== undefined &&
d.getTime() === dateToCheck.getTime())
return bool;
else if (typeof d === "string") {
var parsed = self.parseDate(d, undefined, true);
return parsed && parsed.getTime() === dateToCheck.getTime()
? bool
: !bool;
}
else if (typeof d === "object" &&
dateToCheck !== undefined &&
d.from &&
d.to &&
dateToCheck.getTime() >= d.from.getTime() &&
dateToCheck.getTime() <= d.to.getTime())
return bool;
}
return !bool;
}
function isInView(elem) {
if (self.daysContainer !== undefined)
return (elem.className.indexOf("hidden") === -1 &&
elem.className.indexOf("flatpickr-disabled") === -1 &&
self.daysContainer.contains(elem));
return false;
}
function onBlur(e) {
var isInput = e.target === self._input;
var valueChanged = self._input.value.trimEnd() !== getDateStr();
if (isInput &&
valueChanged &&
!(e.relatedTarget && isCalendarElem(e.relatedTarget))) {
self.setDate(self._input.value, true, e.target === self.altInput
? self.config.altFormat
: self.config.dateFormat);
}
}
function onKeyDown(e) {
var eventTarget = getEventTarget(e);
var isInput = self.config.wrap
? element.contains(eventTarget)
: eventTarget === self._input;
var allowInput = self.config.allowInput;
var allowKeydown = self.isOpen && (!allowInput || !isInput);
var allowInlineKeydown = self.config.inline && isInput && !allowInput;
if (e.keyCode === 13 && isInput) {
if (allowInput) {
self.setDate(self._input.value, true, eventTarget === self.altInput
? self.config.altFormat
: self.config.dateFormat);
self.close();
return eventTarget.blur();
}
else {
self.open();
}
}
else if (isCalendarElem(eventTarget) ||
allowKeydown ||
allowInlineKeydown) {
var isTimeObj = !!self.timeContainer &&
self.timeContainer.contains(eventTarget);
switch (e.keyCode) {
case 13:
if (isTimeObj) {
e.preventDefault();
updateTime();
focusAndClose();
}
else
selectDate(e);
break;
case 27:
e.preventDefault();
focusAndClose();
break;
case 8:
case 46:
if (isInput && !self.config.allowInput) {
e.preventDefault();
self.clear();
}
break;
case 37:
case 39:
if (!isTimeObj && !isInput) {
e.preventDefault();
var activeElement = getClosestActiveElement();
if (self.daysContainer !== undefined &&
(allowInput === false ||
(activeElement && isInView(activeElement)))) {
var delta_1 = e.keyCode === 39 ? 1 : -1;
if (!e.ctrlKey)
focusOnDay(undefined, delta_1);
else {
e.stopPropagation();
changeMonth(delta_1);
focusOnDay(getFirstAvailableDay(1), 0);
}
}
}
else if (self.hourElement)
self.hourElement.focus();
break;
case 38:
case 40:
e.preventDefault();
var delta = e.keyCode === 40 ? 1 : -1;
if ((self.daysContainer &&
eventTarget.$i !== undefined) ||
eventTarget === self.input ||
eventTarget === self.altInput) {
if (e.ctrlKey) {
e.stopPropagation();
changeYear(self.currentYear - delta);
focusOnDay(getFirstAvailableDay(1), 0);
}
else if (!isTimeObj)
focusOnDay(undefined, delta * 7);
}
else if (eventTarget === self.currentYearElement) {
changeYear(self.currentYear - delta);
}
else if (self.config.enableTime) {
if (!isTimeObj && self.hourElement)
self.hourElement.focus();
updateTime(e);
self._debouncedChange();
}
break;
case 9:
if (isTimeObj) {
var elems = [
self.hourElement,
self.minuteElement,
self.secondElement,
self.amPM,
]
.concat(self.pluginElements)
.filter(function (x) { return x; });
var i = elems.indexOf(eventTarget);
if (i !== -1) {
var target = elems[i + (e.shiftKey ? -1 : 1)];
e.preventDefault();
(target || self._input).focus();
}
}
else if (!self.config.noCalendar &&
self.daysContainer &&
self.daysContainer.contains(eventTarget) &&
e.shiftKey) {
e.preventDefault();
self._input.focus();
}
break;
default:
break;
}
}
if (self.amPM !== undefined && eventTarget === self.amPM) {
switch (e.key) {
case self.l10n.amPM[0].charAt(0):
case self.l10n.amPM[0].charAt(0).toLowerCase():
self.amPM.textContent = self.l10n.amPM[0];
setHoursFromInputs();
updateValue();
break;
case self.l10n.amPM[1].charAt(0):
case self.l10n.amPM[1].charAt(0).toLowerCase():
self.amPM.textContent = self.l10n.amPM[1];
setHoursFromInputs();
updateValue();
break;
}
}
if (isInput || isCalendarElem(eventTarget)) {
triggerEvent("onKeyDown", e);
}
}
function onMouseOver(elem, cellClass) {
if (cellClass === void 0) { cellClass = "flatpickr-day"; }
if (self.selectedDates.length !== 1 ||
(elem &&
(!elem.classList.contains(cellClass) ||
elem.classList.contains("flatpickr-disabled"))))
return;
var hoverDate = elem
? elem.dateObj.getTime()
: self.days.firstElementChild.dateObj.getTime(), initialDate = self.parseDate(self.selectedDates[0], undefined, true).getTime(), rangeStartDate = Math.min(hoverDate, self.selectedDates[0].getTime()), rangeEndDate = Math.max(hoverDate, self.selectedDates[0].getTime());
var containsDisabled = false;
var minRange = 0, maxRange = 0;
for (var t = rangeStartDate; t < rangeEndDate; t += duration.DAY) {
if (!isEnabled(new Date(t), true)) {
containsDisabled =
containsDisabled || (t > rangeStartDate && t < rangeEndDate);
if (t < initialDate && (!minRange || t > minRange))
minRange = t;
else if (t > initialDate && (!maxRange || t < maxRange))
maxRange = t;
}
}
var hoverableCells = Array.from(self.rContainer.querySelectorAll("*:nth-child(-n+" + self.config.showMonths + ") > ." + cellClass));
hoverableCells.forEach(function (dayElem) {
var date = dayElem.dateObj;
var timestamp = date.getTime();
var outOfRange = (minRange > 0 && timestamp < minRange) ||
(maxRange > 0 && timestamp > maxRange);
if (outOfRange) {
dayElem.classList.add("notAllowed");
["inRange", "startRange", "endRange"].forEach(function (c) {
dayElem.classList.remove(c);
});
return;
}
else if (containsDisabled && !outOfRange)
return;
["startRange", "inRange", "endRange", "notAllowed"].forEach(function (c) {
dayElem.classList.remove(c);
});
if (elem !== undefined) {
elem.classList.add(hoverDate <= self.selectedDates[0].getTime()
? "startRange"
: "endRange");
if (initialDate < hoverDate && timestamp === initialDate)
dayElem.classList.add("startRange");
else if (initialDate > hoverDate && timestamp === initialDate)
dayElem.classList.add("endRange");
if (timestamp >= minRange &&
(maxRange === 0 || timestamp <= maxRange) &&
isBetween(timestamp, initialDate, hoverDate))
dayElem.classList.add("inRange");
}
});
}
function onResize() {
if (self.isOpen && !self.config.static && !self.config.inline)
positionCalendar();
}
function open(e, positionElement) {
if (positionElement === void 0) { positionElement = self._positionElement; }
if (self.isMobile === true) {
if (e) {
e.preventDefault();
var eventTarget = getEventTarget(e);
if (eventTarget) {
eventTarget.blur();
}
}
if (self.mobileInput !== undefined) {
self.mobileInput.focus();
self.mobileInput.click();
}
triggerEvent("onOpen");
return;
}
else if (self._input.disabled || self.config.inline) {
return;
}
var wasOpen = self.isOpen;
self.isOpen = true;
if (!wasOpen) {
self.calendarContainer.classList.add("open");
self._input.classList.add("active");
triggerEvent("onOpen");
positionCalendar(positionElement);
}
if (self.config.enableTime === true && self.config.noCalendar === true) {
if (self.config.allowInput === false &&
(e === undefined ||
!self.timeContainer.contains(e.relatedTarget))) {
setTimeout(function () { return self.hourElement.select(); }, 50);
}
}
}
function minMaxDateSetter(type) {
return function (date) {
var dateObj = (self.config["_" + type + "Date"] = self.parseDate(date, self.config.dateFormat));
var inverseDateObj = self.config["_" + (type === "min" ? "max" : "min") + "Date"];
if (dateObj !== undefined) {
self[type === "min" ? "minDateHasTime" : "maxDateHasTime"] =
dateObj.getHours() > 0 ||
dateObj.getMinutes() > 0 ||
dateObj.getSeconds() > 0;
}
if (self.selectedDates) {
self.selectedDates = self.selectedDates.filter(function (d) { return isEnabled(d); });
if (!self.selectedDates.length && type === "min")
setHoursFromDate(dateObj);
updateValue();
}
if (self.daysContainer) {
redraw();
if (dateObj !== undefined)
self.currentYearElement[type] = dateObj.getFullYear().toString();
else
self.currentYearElement.removeAttribute(type);
self.currentYearElement.disabled =
!!inverseDateObj &&
dateObj !== undefined &&
inverseDateObj.getFullYear() === dateObj.getFullYear();
}
};
}
function parseConfig() {
var boolOpts = [
"wrap",
"weekNumbers",
"allowInput",
"allowInvalidPreload",
"clickOpens",
"time_24hr",
"enableTime",
"noCalendar",
"altInput",
"shorthandCurrentMonth",
"inline",
"static",
"enableSeconds",
"disableMobile",
];
var userConfig = __assign(__assign({}, JSON.parse(JSON.stringify(element.dataset || {}))), instanceConfig);
var formats = {};
self.config.parseDate = userConfig.parseDate;
self.config.formatDate = userConfig.formatDate;
Object.defineProperty(self.config, "enable", {
get: function () { return self.config._enable; },
set: function (dates) {
self.config._enable = parseDateRules(dates);
},
});
Object.defineProperty(self.config, "disable", {
get: function () { return self.config._disable; },
set: function (dates) {
self.config._disable = parseDateRules(dates);
},
});
var timeMode = userConfig.mode === "time";
if (!userConfig.dateFormat && (userConfig.enableTime || timeMode)) {
var defaultDateFormat = flatpickr.defaultConfig.dateFormat || defaultOptions.dateFormat;
formats.dateFormat =
userConfig.noCalendar || timeMode
? "H:i" + (userConfig.enableSeconds ? ":S" : "")
: defaultDateFormat + " H:i" + (userConfig.enableSeconds ? ":S" : "");
}
if (userConfig.altInput &&
(userConfig.enableTime || timeMode) &&
!userConfig.altFormat) {
var defaultAltFormat = flatpickr.defaultConfig.altFormat || defaultOptions.altFormat;
formats.altFormat =
userConfig.noCalendar || timeMode
? "h:i" + (userConfig.enableSeconds ? ":S K" : " K")
: defaultAltFormat + (" h:i" + (userConfig.enableSeconds ? ":S" : "") + " K");
}
Object.defineProperty(self.config, "minDate", {
get: function () { return self.config._minDate; },
set: minMaxDateSetter("min"),
});
Object.defineProperty(self.config, "maxDate", {
get: function () { return self.config._maxDate; },
set: minMaxDateSetter("max"),
});
var minMaxTimeSetter = function (type) { return function (val) {
self.config[type === "min" ? "_minTime" : "_maxTime"] = self.parseDate(val, "H:i:S");
}; };
Object.defineProperty(self.config, "minTime", {
get: function () { return self.config._minTime; },
set: minMaxTimeSetter("min"),
});
Object.defineProperty(self.config, "maxTime", {
get: function () { return self.config._maxTime; },
set: minMaxTimeSetter("max"),
});
if (userConfig.mode === "time") {
self.config.noCalendar = true;
self.config.enableTime = true;
}
Object.assign(self.config, formats, userConfig);
for (var i = 0; i < boolOpts.length; i++)
self.config[boolOpts[i]] =
self.config[boolOpts[i]] === true ||
self.config[boolOpts[i]] === "true";
HOOKS.filter(function (hook) { return self.config[hook] !== undefined; }).forEach(function (hook) {
self.config[hook] = arrayify(self.config[hook] || []).map(bindToInstance);
});
self.isMobile =
!self.config.disableMobile &&
!self.config.inline &&
self.config.mode === "single" &&
!self.config.disable.length &&
!self.config.enable &&
!self.config.weekNumbers &&
/Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini/i.test(navigator.userAgent);
for (var i = 0; i < self.config.plugins.length; i++) {
var pluginConf = self.config.plugins[i](self) || {};
for (var key in pluginConf) {
if (HOOKS.indexOf(key) > -1) {
self.config[key] = arrayify(pluginConf[key])
.map(bindToInstance)
.concat(self.config[key]);
}
else if (typeof userConfig[key] === "undefined")
self.config[key] = pluginConf[key];
}
}
if (!userConfig.altInputClass) {
self.config.altInputClass =
getInputElem().className + " " + self.config.altInputClass;
}
triggerEvent("onParseConfig");
}
function getInputElem() {
return self.config.wrap
? element.querySelector("[data-input]")
: element;
}
function setupLocale() {
if (typeof self.config.locale !== "object" &&
typeof flatpickr.l10ns[self.config.locale] === "undefined")
self.config.errorHandler(new Error("flatpickr: invalid locale " + self.config.locale));
self.l10n = __assign(__assign({}, flatpickr.l10ns.default), (typeof self.config.locale === "object"
? self.config.locale
: self.config.locale !== "default"
? flatpickr.l10ns[self.config.locale]
: undefined));
tokenRegex.D = "(" + self.l10n.weekdays.shorthand.join("|") + ")";
tokenRegex.l = "(" + self.l10n.weekdays.longhand.join("|") + ")";
tokenRegex.M = "(" + self.l10n.months.shorthand.join("|") + ")";
tokenRegex.F = "(" + self.l10n.months.longhand.join("|") + ")";
tokenRegex.K = "(" + self.l10n.amPM[0] + "|" + self.l10n.amPM[1] + "|" + self.l10n.amPM[0].toLowerCase() + "|" + self.l10n.amPM[1].toLowerCase() + ")";
var userConfig = __assign(__assign({}, instanceConfig), JSON.parse(JSON.stringify(element.dataset || {})));
if (userConfig.time_24hr === undefined &&
flatpickr.defaultConfig.time_24hr === undefined) {
self.config.time_24hr = self.l10n.time_24hr;
}
self.formatDate = createDateFormatter(self);
self.parseDate = createDateParser({ config: self.config, l10n: self.l10n });
}
function positionCalendar(customPositionElement) {
if (typeof self.config.position === "function") {
return void self.config.position(self, customPositionElement);
}
if (self.calendarContainer === undefined)
return;
triggerEvent("onPreCalendarPosition");
var positionElement = customPositionElement || self._positionElement;
var calendarHeight = Array.prototype.reduce.call(self.calendarContainer.children, (function (acc, child) { return acc + child.offsetHeight; }), 0), calendarWidth = self.calendarContainer.offsetWidth, configPos = self.config.position.split(" "), configPosVertical = configPos[0], configPosHorizontal = configPos.length > 1 ? configPos[1] : null, inputBounds = positionElement.getBoundingClientRect(), distanceFromBottom = window.innerHeight - inputBounds.bottom, showOnTop = configPosVertical === "above" ||
(configPosVertical !== "below" &&
distanceFromBottom < calendarHeight &&
inputBounds.top > calendarHeight);
var top = window.pageYOffset +
inputBounds.top +
(!showOnTop ? positionElement.offsetHeight + 2 : -calendarHeight - 2);
toggleClass(self.calendarContainer, "arrowTop", !showOnTop);
toggleClass(self.calendarContainer, "arrowBottom", showOnTop);
if (self.config.inline)
return;
var left = window.pageXOffset + inputBounds.left;
var isCenter = false;
var isRight = false;
if (configPosHorizontal === "center") {
left -= (calendarWidth - inputBounds.width) / 2;
isCenter = true;
}
else if (configPosHorizontal === "right") {
left -= calendarWidth - inputBounds.width;
isRight = true;
}
toggleClass(self.calendarContainer, "arrowLeft", !isCenter && !isRight);
toggleClass(self.calendarContainer, "arrowCenter", isCenter);
toggleClass(self.calendarContainer, "arrowRight", isRight);
var right = window.document.body.offsetWidth -
(window.pageXOffset + inputBounds.right);
var rightMost = left + calendarWidth > window.document.body.offsetWidth;
var centerMost = right + calendarWidth > window.document.body.offsetWidth;
toggleClass(self.calendarContainer, "rightMost", rightMost);
if (self.config.static)
return;
self.calendarContainer.style.top = top + "px";
if (!rightMost) {
self.calendarContainer.style.left = left + "px";
self.calendarContainer.style.right = "auto";
}
else if (!centerMost) {
self.calendarContainer.style.left = "auto";
self.calendarContainer.style.right = right + "px";
}
else {
var doc = getDocumentStyleSheet();
if (doc === undefined)
return;
var bodyWidth = window.document.body.offsetWidth;
var centerLeft = Math.max(0, bodyWidth / 2 - calendarWidth / 2);
var centerBefore = ".flatpickr-calendar.centerMost:before";
var centerAfter = ".flatpickr-calendar.centerMost:after";
var centerIndex = doc.cssRules.length;
var centerStyle = "{left:" + inputBounds.left + "px;right:auto;}";
toggleClass(self.calendarContainer, "rightMost", false);
toggleClass(self.calendarContainer, "centerMost", true);
doc.insertRule(centerBefore + "," + centerAfter + centerStyle, centerIndex);
self.calendarContainer.style.left = centerLeft + "px";
self.calendarContainer.style.right = "auto";
}
}
function getDocumentStyleSheet() {
var editableSheet = null;
for (var i = 0; i < document.styleSheets.length; i++) {
var sheet = document.styleSheets[i];
if (!sheet.cssRules)
continue;
try {
sheet.cssRules;
}
catch (err) {
continue;
}
editableSheet = sheet;
break;
}
return editableSheet != null ? editableSheet : createStyleSheet();
}
function createStyleSheet() {
var style = document.createElement("style");
document.head.appendChild(style);
return style.sheet;
}
function redraw() {
if (self.config.noCalendar || self.isMobile)
return;
buildMonthSwitch();
updateNavigationCurrentMonth();
buildDays();
}
function focusAndClose() {
self._input.focus();
if (window.navigator.userAgent.indexOf("MSIE") !== -1 ||
navigator.msMaxTouchPoints !== undefined) {
setTimeout(self.close, 0);
}
else {
self.close();
}
}
function selectDate(e) {
e.preventDefault();
e.stopPropagation();
var isSelectable = function (day) {
return day.classList &&
day.classList.contains("flatpickr-day") &&
!day.classList.contains("flatpickr-disabled") &&
!day.classList.contains("notAllowed");
};
var t = findParent(getEventTarget(e), isSelectable);
if (t === undefined)
return;
var target = t;
var selectedDate = (self.latestSelectedDateObj = new Date(target.dateObj.getTime()));
var shouldChangeMonth = (selectedDate.getMonth() < self.currentMonth ||
selectedDate.getMonth() >
self.currentMonth + self.config.showMonths - 1) &&
self.config.mode !== "range";
self.selectedDateElem = target;
if (self.config.mode === "single")
self.selectedDates = [selectedDate];
else if (self.config.mode === "multiple") {
var selectedIndex = isDateSelected(selectedDate);
if (selectedIndex)
self.selectedDates.splice(parseInt(selectedIndex), 1);
else
self.selectedDates.push(selectedDate);
}
else if (self.config.mode === "range") {
if (self.selectedDates.length === 2) {
self.clear(false, false);
}
self.latestSelectedDateObj = selectedDate;
self.selectedDates.push(selectedDate);
if (compareDates(selectedDate, self.selectedDates[0], true) !== 0)
self.selectedDates.sort(function (a, b) { return a.getTime() - b.getTime(); });
}
setHoursFromInputs();
if (shouldChangeMonth) {
var isNewYear = self.currentYear !== selectedDate.getFullYear();
self.currentYear = selectedDate.getFullYear();
self.currentMonth = selectedDate.getMonth();
if (isNewYear) {
triggerEvent("onYearChange");
buildMonthSwitch();
}
triggerEvent("onMonthChange");
}
updateNavigationCurrentMonth();
buildDays();
updateValue();
if (!shouldChangeMonth &&
self.config.mode !== "range" &&
self.config.showMonths === 1)
focusOnDayElem(target);
else if (self.selectedDateElem !== undefined &&
self.hourElement === undefined) {
self.selectedDateElem && self.selectedDateElem.focus();
}
if (self.hourElement !== undefined)
self.hourElement !== undefined && self.hourElement.focus();
if (self.config.closeOnSelect) {
var single = self.config.mode === "single" && !self.config.enableTime;
var range = self.config.mode === "range" &&
self.selectedDates.length === 2 &&
!self.config.enableTime;
if (single || range) {
focusAndClose();
}
}
triggerChange();
}
var CALLBACKS = {
locale: [setupLocale, updateWeekdays],
showMonths: [buildMonths, setCalendarWidth, buildWeekdays],
minDate: [jumpToDate],
maxDate: [jumpToDate],
positionElement: [updatePositionElement],
clickOpens: [
function () {
if (self.config.clickOpens === true) {
bind(self._input, "focus", self.open);
bind(self._input, "click", self.open);
}
else {
self._input.removeEventListener("focus", self.open);
self._input.removeEventListener("click", self.open);
}
},
],
};
function set(option, value) {
if (option !== null && typeof option === "object") {
Object.assign(self.config, option);
for (var key in option) {
if (CALLBACKS[key] !== undefined)
CALLBACKS[key].forEach(function (x) { return x(); });
}
}
else {
self.config[option] = value;
if (CALLBACKS[option] !== undefined)
CALLBACKS[option].forEach(function (x) { return x(); });
else if (HOOKS.indexOf(option) > -1)
self.config[option] = arrayify(value);
}
self.redraw();
updateValue(true);
}
function setSelectedDate(inputDate, format) {
var dates = [];
if (inputDate instanceof Array)
dates = inputDate.map(function (d) { return self.parseDate(d, format); });
else if (inputDate instanceof Date || typeof inputDate === "number")
dates = [self.parseDate(inputDate, format)];
else if (typeof inputDate === "string") {
switch (self.config.mode) {
case "single":
case "time":
dates = [self.parseDate(inputDate, format)];
break;
case "multiple":
dates = inputDate
.split(self.config.conjunction)
.map(function (date) { return self.parseDate(date, format); });
break;
case "range":
dates = inputDate
.split(self.l10n.rangeSeparator)
.map(function (date) { return self.parseDate(date, format); });
break;
default:
break;
}
}
else
self.config.errorHandler(new Error("Invalid date supplied: " + JSON.stringify(inputDate)));
self.selectedDates = (self.config.allowInvalidPreload
? dates
: dates.filter(function (d) { return d instanceof Date && isEnabled(d, false); }));
if (self.config.mode === "range")
self.selectedDates.sort(function (a, b) { return a.getTime() - b.getTime(); });
}
function setDate(date, triggerChange, format) {
if (triggerChange === void 0) { triggerChange = false; }
if (format === void 0) { format = self.config.dateFormat; }
if ((date !== 0 && !date) || (date instanceof Array && date.length === 0))
return self.clear(triggerChange);
setSelectedDate(date, format);
self.latestSelectedDateObj =
self.selectedDates[self.selectedDates.length - 1];
self.redraw();
jumpToDate(undefined, triggerChange);
setHoursFromDate();
if (self.selectedDates.length === 0) {
self.clear(false);
}
updateValue(triggerChange);
if (triggerChange)
triggerEvent("onChange");
}
function parseDateRules(arr) {
return arr
.slice()
.map(function (rule) {
if (typeof rule === "string" ||
typeof rule === "number" ||
rule instanceof Date) {
return self.parseDate(rule, undefined, true);
}
else if (rule &&
typeof rule === "object" &&
rule.from &&
rule.to)
return {
from: self.parseDate(rule.from, undefined),
to: self.parseDate(rule.to, undefined),
};
return rule;
})
.filter(function (x) { return x; });
}
function setupDates() {
self.selectedDates = [];
self.now = self.parseDate(self.config.now) || new Date();
var preloadedDate = self.config.defaultDate ||
((self.input.nodeName === "INPUT" ||
self.input.nodeName === "TEXTAREA") &&
self.input.placeholder &&
self.input.value === self.input.placeholder
? null
: self.input.value);
if (preloadedDate)
setSelectedDate(preloadedDate, self.config.dateFormat);
self._initialDate =
self.selectedDates.length > 0
? self.selectedDates[0]
: self.config.minDate &&
self.config.minDate.getTime() > self.now.getTime()
? self.config.minDate
: self.config.maxDate &&
self.config.maxDate.getTime() < self.now.getTime()
? self.config.maxDate
: self.now;
self.currentYear = self._initialDate.getFullYear();
self.currentMonth = self._initialDate.getMonth();
if (self.selectedDates.length > 0)
self.latestSelectedDateObj = self.selectedDates[0];
if (self.config.minTime !== undefined)
self.config.minTime = self.parseDate(self.config.minTime, "H:i");
if (self.config.maxTime !== undefined)
self.config.maxTime = self.parseDate(self.config.maxTime, "H:i");
self.minDateHasTime =
!!self.config.minDate &&
(self.config.minDate.getHours() > 0 ||
self.config.minDate.getMinutes() > 0 ||
self.config.minDate.getSeconds() > 0);
self.maxDateHasTime =
!!self.config.maxDate &&
(self.config.maxDate.getHours() > 0 ||
self.config.maxDate.getMinutes() > 0 ||
self.config.maxDate.getSeconds() > 0);
}
function setupInputs() {
self.input = getInputElem();
if (!self.input) {
self.config.errorHandler(new Error("Invalid input element specified"));
return;
}
self.input._type = self.input.type;
self.input.type = "text";
self.input.classList.add("flatpickr-input");
self._input = self.input;
if (self.config.altInput) {
self.altInput = createElement(self.input.nodeName, self.config.altInputClass);
self._input = self.altInput;
self.altInput.placeholder = self.input.placeholder;
self.altInput.disabled = self.input.disabled;
self.altInput.required = self.input.required;
self.altInput.tabIndex = self.input.tabIndex;
self.altInput.type = "text";
self.input.setAttribute("type", "hidden");
if (!self.config.static && self.input.parentNode)
self.input.parentNode.insertBefore(self.altInput, self.input.nextSibling);
}
if (!self.config.allowInput)
self._input.setAttribute("readonly", "readonly");
updatePositionElement();
}
function updatePositionElement() {
self._positionElement = self.config.positionElement || self._input;
}
function setupMobile() {
var inputType = self.config.enableTime
? self.config.noCalendar
? "time"
: "datetime-local"
: "date";
self.mobileInput = createElement("input", self.input.className + " flatpickr-mobile");
self.mobileInput.tabIndex = 1;
self.mobileInput.type = inputType;
self.mobileInput.disabled = self.input.disabled;
self.mobileInput.required = self.input.required;
self.mobileInput.placeholder = self.input.placeholder;
self.mobileFormatStr =
inputType === "datetime-local"
? "Y-m-d\\TH:i:S"
: inputType === "date"
? "Y-m-d"
: "H:i:S";
if (self.selectedDates.length > 0) {
self.mobileInput.defaultValue = self.mobileInput.value = self.formatDate(self.selectedDates[0], self.mobileFormatStr);
}
if (self.config.minDate)
self.mobileInput.min = self.formatDate(self.config.minDate, "Y-m-d");
if (self.config.maxDate)
self.mobileInput.max = self.formatDate(self.config.maxDate, "Y-m-d");
if (self.input.getAttribute("step"))
self.mobileInput.step = String(self.input.getAttribute("step"));
self.input.type = "hidden";
if (self.altInput !== undefined)
self.altInput.type = "hidden";
try {
if (self.input.parentNode)
self.input.parentNode.insertBefore(self.mobileInput, self.input.nextSibling);
}
catch (_a) { }
bind(self.mobileInput, "change", function (e) {
self.setDate(getEventTarget(e).value, false, self.mobileFormatStr);
triggerEvent("onChange");
triggerEvent("onClose");
});
}
function toggle(e) {
if (self.isOpen === true)
return self.close();
self.open(e);
}
function triggerEvent(event, data) {
if (self.config === undefined)
return;
var hooks = self.config[event];
if (hooks !== undefined && hooks.length > 0) {
for (var i = 0; hooks[i] && i < hooks.length; i++)
hooks[i](self.selectedDates, self.input.value, self, data);
}
if (event === "onChange") {
self.input.dispatchEvent(createEvent("change"));
self.input.dispatchEvent(createEvent("input"));
}
}
function createEvent(name) {
var e = document.createEvent("Event");
e.initEvent(name, true, true);
return e;
}
function isDateSelected(date) {
for (var i = 0; i < self.selectedDates.length; i++) {
var selectedDate = self.selectedDates[i];
if (selectedDate instanceof Date &&
compareDates(selectedDate, date) === 0)
return "" + i;
}
return false;
}
function isDateInRange(date) {
if (self.config.mode !== "range" || self.selectedDates.length < 2)
return false;
return (compareDates(date, self.selectedDates[0]) >= 0 &&
compareDates(date, self.selectedDates[1]) <= 0);
}
function updateNavigationCurrentMonth() {
if (self.config.noCalendar || self.isMobile || !self.monthNav)
return;
self.yearElements.forEach(function (yearElement, i) {
var d = new Date(self.currentYear, self.currentMonth, 1);
d.setMonth(self.currentMonth + i);
if (self.config.showMonths > 1 ||
self.config.monthSelectorType === "static") {
self.monthElements[i].textContent =
monthToStr(d.getMonth(), self.config.shorthandCurrentMonth, self.l10n) + " ";
}
else {
self.monthsDropdownContainer.value = d.getMonth().toString();
}
yearElement.value = d.getFullYear().toString();
});
self._hidePrevMonthArrow =
self.config.minDate !== undefined &&
(self.currentYear === self.config.minDate.getFullYear()
? self.currentMonth <= self.config.minDate.getMonth()
: self.currentYear < self.config.minDate.getFullYear());
self._hideNextMonthArrow =
self.config.maxDate !== undefined &&
(self.currentYear === self.config.maxDate.getFullYear()
? self.currentMonth + 1 > self.config.maxDate.getMonth()
: self.currentYear > self.config.maxDate.getFullYear());
}
function getDateStr(specificFormat) {
var format = specificFormat ||
(self.config.altInput ? self.config.altFormat : self.config.dateFormat);
return self.selectedDates
.map(function (dObj) { return self.formatDate(dObj, format); })
.filter(function (d, i, arr) {
return self.config.mode !== "range" ||
self.config.enableTime ||
arr.indexOf(d) === i;
})
.join(self.config.mode !== "range"
? self.config.conjunction
: self.l10n.rangeSeparator);
}
function updateValue(triggerChange) {
if (triggerChange === void 0) { triggerChange = true; }
if (self.mobileInput !== undefined && self.mobileFormatStr) {
self.mobileInput.value =
self.latestSelectedDateObj !== undefined
? self.formatDate(self.latestSelectedDateObj, self.mobileFormatStr)
: "";
}
self.input.value = getDateStr(self.config.dateFormat);
if (self.altInput !== undefined) {
self.altInput.value = getDateStr(self.config.altFormat);
}
if (triggerChange !== false)
triggerEvent("onValueUpdate");
}
function onMonthNavClick(e) {
var eventTarget = getEventTarget(e);
var isPrevMonth = self.prevMonthNav.contains(eventTarget);
var isNextMonth = self.nextMonthNav.contains(eventTarget);
if (isPrevMonth || isNextMonth) {
changeMonth(isPrevMonth ? -1 : 1);
}
else if (self.yearElements.indexOf(eventTarget) >= 0) {
eventTarget.select();
}
else if (eventTarget.classList.contains("arrowUp")) {
self.changeYear(self.currentYear + 1);
}
else if (eventTarget.classList.contains("arrowDown")) {
self.changeYear(self.currentYear - 1);
}
}
function timeWrapper(e) {
e.preventDefault();
var isKeyDown = e.type === "keydown", eventTarget = getEventTarget(e), input = eventTarget;
if (self.amPM !== undefined && eventTarget === self.amPM) {
self.amPM.textContent =
self.l10n.amPM[int(self.amPM.textContent === self.l10n.amPM[0])];
}
var min = parseFloat(input.getAttribute("min")), max = parseFloat(input.getAttribute("max")), step = parseFloat(input.getAttribute("step")), curValue = parseInt(input.value, 10), delta = e.delta ||
(isKeyDown ? (e.which === 38 ? 1 : -1) : 0);
var newValue = curValue + step * delta;
if (typeof input.value !== "undefined" && input.value.length === 2) {
var isHourElem = input === self.hourElement, isMinuteElem = input === self.minuteElement;
if (newValue < min) {
newValue =
max +
newValue +
int(!isHourElem) +
(int(isHourElem) && int(!self.amPM));
if (isMinuteElem)
incrementNumInput(undefined, -1, self.hourElement);
}
else if (newValue > max) {
newValue =
input === self.hourElement ? newValue - max - int(!self.amPM) : min;
if (isMinuteElem)
incrementNumInput(undefined, 1, self.hourElement);
}
if (self.amPM &&
isHourElem &&
(step === 1
? newValue + curValue === 23
: Math.abs(newValue - curValue) > step)) {
self.amPM.textContent =
self.l10n.amPM[int(self.amPM.textContent === self.l10n.amPM[0])];
}
input.value = pad(newValue);
}
}
init();
return self;
}
function _flatpickr(nodeList, config) {
var nodes = Array.prototype.slice
.call(nodeList)
.filter(function (x) { return x instanceof HTMLElement; });
var instances = [];
for (var i = 0; i < nodes.length; i++) {
var node = nodes[i];
try {
if (node.getAttribute("data-fp-omit") !== null)
continue;
if (node._flatpickr !== undefined) {
node._flatpickr.destroy();
node._flatpickr = undefined;
}
node._flatpickr = FlatpickrInstance(node, config || {});
instances.push(node._flatpickr);
}
catch (e) {
console.error(e);
}
}
return instances.length === 1 ? instances[0] : instances;
}
if (typeof HTMLElement !== "undefined" &&
typeof HTMLCollection !== "undefined" &&
typeof NodeList !== "undefined") {
HTMLCollection.prototype.flatpickr = NodeList.prototype.flatpickr = function (config) {
return _flatpickr(this, config);
};
HTMLElement.prototype.flatpickr = function (config) {
return _flatpickr([this], config);
};
}
var flatpickr = function (selector, config) {
if (typeof selector === "string") {
return _flatpickr(window.document.querySelectorAll(selector), config);
}
else if (selector instanceof Node) {
return _flatpickr([selector], config);
}
else {
return _flatpickr(selector, config);
}
};
flatpickr.defaultConfig = {};
flatpickr.l10ns = {
en: __assign({}, English),
default: __assign({}, English),
};
flatpickr.localize = function (l10n) {
flatpickr.l10ns.default = __assign(__assign({}, flatpickr.l10ns.default), l10n);
};
flatpickr.setDefaults = function (config) {
flatpickr.defaultConfig = __assign(__assign({}, flatpickr.defaultConfig), config);
};
flatpickr.parseDate = createDateParser({});
flatpickr.formatDate = createDateFormatter({});
flatpickr.compareDates = compareDates;
if (typeof jQuery !== "undefined" && typeof jQuery.fn !== "undefined") {
jQuery.fn.flatpickr = function (config) {
return _flatpickr(this, config);
};
}
Date.prototype.fp_incr = function (days) {
return new Date(this.getFullYear(), this.getMonth(), this.getDate() + (typeof days === "string" ? parseInt(days, 10) : days));
};
if (typeof window !== "undefined") {
window.flatpickr = flatpickr;
}
export default flatpickr;
dist/esm/types/globals.js 0000644 00000000013 15167673015 0011425 0 ustar 00 export {};
dist/esm/types/locale.js 0000644 00000000013 15167673015 0011241 0 ustar 00 export {};
dist/esm/types/instance.js 0000644 00000000013 15167673015 0011606 0 ustar 00 export {};
dist/esm/types/options.js 0000644 00000005003 15167673015 0011501 0 ustar 00 export var HOOKS = [
"onChange",
"onClose",
"onDayCreate",
"onDestroy",
"onKeyDown",
"onMonthChange",
"onOpen",
"onParseConfig",
"onReady",
"onValueUpdate",
"onYearChange",
"onPreCalendarPosition",
];
export var defaults = {
_disable: [],
allowInput: false,
allowInvalidPreload: false,
altFormat: "F j, Y",
altInput: false,
altInputClass: "form-control input",
animate: typeof window === "object" &&
window.navigator.userAgent.indexOf("MSIE") === -1,
ariaDateFormat: "F j, Y",
autoFillDefaultTime: true,
clickOpens: true,
closeOnSelect: true,
conjunction: ", ",
dateFormat: "Y-m-d",
defaultHour: 12,
defaultMinute: 0,
defaultSeconds: 0,
disable: [],
disableMobile: false,
enableSeconds: false,
enableTime: false,
errorHandler: function (err) {
return typeof console !== "undefined" && console.warn(err);
},
getWeek: function (givenDate) {
var date = new Date(givenDate.getTime());
date.setHours(0, 0, 0, 0);
date.setDate(date.getDate() + 3 - ((date.getDay() + 6) % 7));
var week1 = new Date(date.getFullYear(), 0, 4);
return (1 +
Math.round(((date.getTime() - week1.getTime()) / 86400000 -
3 +
((week1.getDay() + 6) % 7)) /
7));
},
hourIncrement: 1,
ignoredFocusElements: [],
inline: false,
locale: "default",
minuteIncrement: 5,
mode: "single",
monthSelectorType: "dropdown",
nextArrow: "<svg version='1.1' xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' viewBox='0 0 17 17'><g></g><path d='M13.207 8.472l-7.854 7.854-0.707-0.707 7.146-7.146-7.146-7.148 0.707-0.707 7.854 7.854z' /></svg>",
noCalendar: false,
now: new Date(),
onChange: [],
onClose: [],
onDayCreate: [],
onDestroy: [],
onKeyDown: [],
onMonthChange: [],
onOpen: [],
onParseConfig: [],
onReady: [],
onValueUpdate: [],
onYearChange: [],
onPreCalendarPosition: [],
plugins: [],
position: "auto",
positionElement: undefined,
prevArrow: "<svg version='1.1' xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' viewBox='0 0 17 17'><g></g><path d='M5.207 8.471l7.146 7.147-0.707 0.707-7.853-7.854 7.854-7.853 0.707 0.707-7.147 7.146z' /></svg>",
shorthandCurrentMonth: false,
showMonths: 1,
static: false,
time_24hr: false,
weekNumbers: false,
wrap: false,
};
dist/esm/l10n/ms.js 0000644 00000001762 15167673015 0010043 0 ustar 00 var fp = typeof window !== "undefined" && window.flatpickr !== undefined
? window.flatpickr
: {
l10ns: {},
};
export var Malaysian = {
weekdays: {
shorthand: ["Aha", "Isn", "Sel", "Rab", "Kha", "Jum", "Sab"],
longhand: ["Ahad", "Isnin", "Selasa", "Rabu", "Khamis", "Jumaat", "Sabtu"],
},
months: {
shorthand: [
"Jan",
"Feb",
"Mac",
"Apr",
"Mei",
"Jun",
"Jul",
"Ogo",
"Sep",
"Okt",
"Nov",
"Dis",
],
longhand: [
"Januari",
"Februari",
"Mac",
"April",
"Mei",
"Jun",
"Julai",
"Ogos",
"September",
"Oktober",
"November",
"Disember",
],
},
firstDayOfWeek: 1,
ordinal: function () {
return "";
},
};
export default fp.l10ns;
dist/esm/l10n/sr.js 0000644 00000002214 15167673015 0010041 0 ustar 00 var fp = typeof window !== "undefined" && window.flatpickr !== undefined
? window.flatpickr
: {
l10ns: {},
};
export var Serbian = {
weekdays: {
shorthand: ["Ned", "Pon", "Uto", "Sre", "Čet", "Pet", "Sub"],
longhand: [
"Nedelja",
"Ponedeljak",
"Utorak",
"Sreda",
"Četvrtak",
"Petak",
"Subota",
],
},
months: {
shorthand: [
"Jan",
"Feb",
"Mar",
"Apr",
"Maj",
"Jun",
"Jul",
"Avg",
"Sep",
"Okt",
"Nov",
"Dec",
],
longhand: [
"Januar",
"Februar",
"Mart",
"April",
"Maj",
"Jun",
"Jul",
"Avgust",
"Septembar",
"Oktobar",
"Novembar",
"Decembar",
],
},
firstDayOfWeek: 1,
weekAbbreviation: "Ned.",
rangeSeparator: " do ",
time_24hr: true,
};
fp.l10ns.sr = Serbian;
export default fp.l10ns;
dist/esm/l10n/lv.js 0000644 00000002227 15167673015 0010042 0 ustar 00 var fp = typeof window !== "undefined" && window.flatpickr !== undefined
? window.flatpickr
: {
l10ns: {},
};
export var Latvian = {
firstDayOfWeek: 1,
weekdays: {
shorthand: ["Sv", "Pr", "Ot", "Tr", "Ce", "Pk", "Se"],
longhand: [
"Svētdiena",
"Pirmdiena",
"Otrdiena",
"Trešdiena",
"Ceturtdiena",
"Piektdiena",
"Sestdiena",
],
},
months: {
shorthand: [
"Jan",
"Feb",
"Mar",
"Apr",
"Mai",
"Jūn",
"Jūl",
"Aug",
"Sep",
"Okt",
"Nov",
"Dec",
],
longhand: [
"Janvāris",
"Februāris",
"Marts",
"Aprīlis",
"Maijs",
"Jūnijs",
"Jūlijs",
"Augusts",
"Septembris",
"Oktobris",
"Novembris",
"Decembris",
],
},
rangeSeparator: " līdz ",
time_24hr: true,
};
fp.l10ns.lv = Latvian;
export default fp.l10ns;
dist/esm/l10n/ar-dz.js 0000644 00000002521 15167673015 0010433 0 ustar 00 var fp = typeof window !== "undefined" && window.flatpickr !== undefined
? window.flatpickr
: {
l10ns: {},
};
export var AlgerianArabic = {
weekdays: {
shorthand: ["أحد", "اثنين", "ثلاثاء", "أربعاء", "خميس", "جمعة", "سبت"],
longhand: [
"الأحد",
"الاثنين",
"الثلاثاء",
"الأربعاء",
"الخميس",
"الجمعة",
"السبت",
],
},
months: {
shorthand: ["1", "2", "3", "4", "5", "6", "7", "8", "9", "10", "11", "12"],
longhand: [
"جانفي",
"فيفري",
"مارس",
"أفريل",
"ماي",
"جوان",
"جويليه",
"أوت",
"سبتمبر",
"أكتوبر",
"نوفمبر",
"ديسمبر",
],
},
firstDayOfWeek: 0,
rangeSeparator: " إلى ",
weekAbbreviation: "Wk",
scrollTitle: "قم بالتمرير للزيادة",
toggleTitle: "اضغط للتبديل",
yearAriaLabel: "سنة",
monthAriaLabel: "شهر",
hourAriaLabel: "ساعة",
minuteAriaLabel: "دقيقة",
time_24hr: true,
};
fp.l10ns.ar = AlgerianArabic;
export default fp.l10ns;
dist/esm/l10n/ar.js 0000644 00000002542 15167673015 0010023 0 ustar 00 var fp = typeof window !== "undefined" && window.flatpickr !== undefined
? window.flatpickr
: {
l10ns: {},
};
export var Arabic = {
weekdays: {
shorthand: ["أحد", "اثنين", "ثلاثاء", "أربعاء", "خميس", "جمعة", "سبت"],
longhand: [
"الأحد",
"الاثنين",
"الثلاثاء",
"الأربعاء",
"الخميس",
"الجمعة",
"السبت",
],
},
months: {
shorthand: ["1", "2", "3", "4", "5", "6", "7", "8", "9", "10", "11", "12"],
longhand: [
"يناير",
"فبراير",
"مارس",
"أبريل",
"مايو",
"يونيو",
"يوليو",
"أغسطس",
"سبتمبر",
"أكتوبر",
"نوفمبر",
"ديسمبر",
],
},
firstDayOfWeek: 6,
rangeSeparator: " إلى ",
weekAbbreviation: "Wk",
scrollTitle: "قم بالتمرير للزيادة",
toggleTitle: "اضغط للتبديل",
amPM: ["ص", "م"],
yearAriaLabel: "سنة",
monthAriaLabel: "شهر",
hourAriaLabel: "ساعة",
minuteAriaLabel: "دقيقة",
time_24hr: false,
};
fp.l10ns.ar = Arabic;
export default fp.l10ns;
dist/esm/l10n/et.js 0000644 00000002456 15167673015 0010035 0 ustar 00 var fp = typeof window !== "undefined" && window.flatpickr !== undefined
? window.flatpickr
: {
l10ns: {},
};
export var Estonian = {
weekdays: {
shorthand: ["P", "E", "T", "K", "N", "R", "L"],
longhand: [
"Pühapäev",
"Esmaspäev",
"Teisipäev",
"Kolmapäev",
"Neljapäev",
"Reede",
"Laupäev",
],
},
months: {
shorthand: [
"Jaan",
"Veebr",
"Märts",
"Apr",
"Mai",
"Juuni",
"Juuli",
"Aug",
"Sept",
"Okt",
"Nov",
"Dets",
],
longhand: [
"Jaanuar",
"Veebruar",
"Märts",
"Aprill",
"Mai",
"Juuni",
"Juuli",
"August",
"September",
"Oktoober",
"November",
"Detsember",
],
},
firstDayOfWeek: 1,
ordinal: function () {
return ".";
},
weekAbbreviation: "Näd",
rangeSeparator: " kuni ",
scrollTitle: "Keri, et suurendada",
toggleTitle: "Klõpsa, et vahetada",
time_24hr: true,
};
fp.l10ns.et = Estonian;
export default fp.l10ns;
dist/esm/l10n/de.js 0000644 00000002336 15167673015 0010012 0 ustar 00 var fp = typeof window !== "undefined" && window.flatpickr !== undefined
? window.flatpickr
: {
l10ns: {},
};
export var German = {
weekdays: {
shorthand: ["So", "Mo", "Di", "Mi", "Do", "Fr", "Sa"],
longhand: [
"Sonntag",
"Montag",
"Dienstag",
"Mittwoch",
"Donnerstag",
"Freitag",
"Samstag",
],
},
months: {
shorthand: [
"Jan",
"Feb",
"Mär",
"Apr",
"Mai",
"Jun",
"Jul",
"Aug",
"Sep",
"Okt",
"Nov",
"Dez",
],
longhand: [
"Januar",
"Februar",
"März",
"April",
"Mai",
"Juni",
"Juli",
"August",
"September",
"Oktober",
"November",
"Dezember",
],
},
firstDayOfWeek: 1,
weekAbbreviation: "KW",
rangeSeparator: " bis ",
scrollTitle: "Zum Ändern scrollen",
toggleTitle: "Zum Umschalten klicken",
time_24hr: true,
};
fp.l10ns.de = German;
export default fp.l10ns;
dist/esm/l10n/fa.js 0000644 00000002460 15167673015 0010006 0 ustar 00 var fp = typeof window !== "undefined" && window.flatpickr !== undefined
? window.flatpickr
: {
l10ns: {},
};
export var Persian = {
weekdays: {
shorthand: ["یک", "دو", "سه", "چهار", "پنج", "جمعه", "شنبه"],
longhand: [
"یکشنبه",
"دوشنبه",
"سهشنبه",
"چهارشنبه",
"پنچشنبه",
"جمعه",
"شنبه",
],
},
months: {
shorthand: [
"ژانویه",
"فوریه",
"مارس",
"آوریل",
"مه",
"ژوئن",
"ژوئیه",
"اوت",
"سپتامبر",
"اکتبر",
"نوامبر",
"دسامبر",
],
longhand: [
"ژانویه",
"فوریه",
"مارس",
"آوریل",
"مه",
"ژوئن",
"ژوئیه",
"اوت",
"سپتامبر",
"اکتبر",
"نوامبر",
"دسامبر",
],
},
firstDayOfWeek: 6,
ordinal: function () {
return "";
},
};
fp.l10ns.fa = Persian;
export default fp.l10ns;
dist/esm/l10n/at.js 0000644 00000002342 15167673015 0010023 0 ustar 00 var fp = typeof window !== "undefined" && window.flatpickr !== undefined
? window.flatpickr
: {
l10ns: {},
};
export var Austria = {
weekdays: {
shorthand: ["So", "Mo", "Di", "Mi", "Do", "Fr", "Sa"],
longhand: [
"Sonntag",
"Montag",
"Dienstag",
"Mittwoch",
"Donnerstag",
"Freitag",
"Samstag",
],
},
months: {
shorthand: [
"Jän",
"Feb",
"Mär",
"Apr",
"Mai",
"Jun",
"Jul",
"Aug",
"Sep",
"Okt",
"Nov",
"Dez",
],
longhand: [
"Jänner",
"Februar",
"März",
"April",
"Mai",
"Juni",
"Juli",
"August",
"September",
"Oktober",
"November",
"Dezember",
],
},
firstDayOfWeek: 1,
weekAbbreviation: "KW",
rangeSeparator: " bis ",
scrollTitle: "Zum Ändern scrollen",
toggleTitle: "Zum Umschalten klicken",
time_24hr: true,
};
fp.l10ns.at = Austria;
export default fp.l10ns;
dist/esm/l10n/cs.js 0000644 00000002536 15167673015 0010031 0 ustar 00 var fp = typeof window !== "undefined" && window.flatpickr !== undefined
? window.flatpickr
: {
l10ns: {},
};
export var Czech = {
weekdays: {
shorthand: ["Ne", "Po", "Út", "St", "Čt", "Pá", "So"],
longhand: [
"Neděle",
"Pondělí",
"Úterý",
"Středa",
"Čtvrtek",
"Pátek",
"Sobota",
],
},
months: {
shorthand: [
"Led",
"Ún",
"Bře",
"Dub",
"Kvě",
"Čer",
"Čvc",
"Srp",
"Zář",
"Říj",
"Lis",
"Pro",
],
longhand: [
"Leden",
"Únor",
"Březen",
"Duben",
"Květen",
"Červen",
"Červenec",
"Srpen",
"Září",
"Říjen",
"Listopad",
"Prosinec",
],
},
firstDayOfWeek: 1,
ordinal: function () {
return ".";
},
rangeSeparator: " do ",
weekAbbreviation: "Týd.",
scrollTitle: "Rolujte pro změnu",
toggleTitle: "Přepnout dopoledne/odpoledne",
amPM: ["dop.", "odp."],
yearAriaLabel: "Rok",
time_24hr: true,
};
fp.l10ns.cs = Czech;
export default fp.l10ns;
dist/esm/l10n/zh-tw.js 0000644 00000002446 15167673015 0010475 0 ustar 00 var fp = typeof window !== "undefined" && window.flatpickr !== undefined
? window.flatpickr
: {
l10ns: {},
};
export var MandarinTraditional = {
weekdays: {
shorthand: ["週日", "週一", "週二", "週三", "週四", "週五", "週六"],
longhand: [
"星期日",
"星期一",
"星期二",
"星期三",
"星期四",
"星期五",
"星期六",
],
},
months: {
shorthand: [
"一月",
"二月",
"三月",
"四月",
"五月",
"六月",
"七月",
"八月",
"九月",
"十月",
"十一月",
"十二月",
],
longhand: [
"一月",
"二月",
"三月",
"四月",
"五月",
"六月",
"七月",
"八月",
"九月",
"十月",
"十一月",
"十二月",
],
},
rangeSeparator: " 至 ",
weekAbbreviation: "週",
scrollTitle: "滾動切換",
toggleTitle: "點擊切換 12/24 小時時制",
};
fp.l10ns.zh_tw = MandarinTraditional;
export default fp.l10ns;
dist/esm/l10n/nl.js 0000644 00000002552 15167673015 0010033 0 ustar 00 var fp = typeof window !== "undefined" && window.flatpickr !== undefined
? window.flatpickr
: {
l10ns: {},
};
export var Dutch = {
weekdays: {
shorthand: ["zo", "ma", "di", "wo", "do", "vr", "za"],
longhand: [
"zondag",
"maandag",
"dinsdag",
"woensdag",
"donderdag",
"vrijdag",
"zaterdag",
],
},
months: {
shorthand: [
"jan",
"feb",
"mrt",
"apr",
"mei",
"jun",
"jul",
"aug",
"sept",
"okt",
"nov",
"dec",
],
longhand: [
"januari",
"februari",
"maart",
"april",
"mei",
"juni",
"juli",
"augustus",
"september",
"oktober",
"november",
"december",
],
},
firstDayOfWeek: 1,
weekAbbreviation: "wk",
rangeSeparator: " t/m ",
scrollTitle: "Scroll voor volgende / vorige",
toggleTitle: "Klik om te wisselen",
time_24hr: true,
ordinal: function (nth) {
if (nth === 1 || nth === 8 || nth >= 20)
return "ste";
return "de";
},
};
fp.l10ns.nl = Dutch;
export default fp.l10ns;
dist/esm/l10n/cy.js 0000644 00000003424 15167673015 0010034 0 ustar 00 var fp = typeof window !== "undefined" && window.flatpickr !== undefined
? window.flatpickr
: {
l10ns: {},
};
export var Welsh = {
weekdays: {
shorthand: ["Sul", "Llun", "Maw", "Mer", "Iau", "Gwe", "Sad"],
longhand: [
"Dydd Sul",
"Dydd Llun",
"Dydd Mawrth",
"Dydd Mercher",
"Dydd Iau",
"Dydd Gwener",
"Dydd Sadwrn",
],
},
months: {
shorthand: [
"Ion",
"Chwef",
"Maw",
"Ebr",
"Mai",
"Meh",
"Gorff",
"Awst",
"Medi",
"Hyd",
"Tach",
"Rhag",
],
longhand: [
"Ionawr",
"Chwefror",
"Mawrth",
"Ebrill",
"Mai",
"Mehefin",
"Gorffennaf",
"Awst",
"Medi",
"Hydref",
"Tachwedd",
"Rhagfyr",
],
},
firstDayOfWeek: 1,
ordinal: function (nth) {
if (nth === 1)
return "af";
if (nth === 2)
return "ail";
if (nth === 3 || nth === 4)
return "ydd";
if (nth === 5 || nth === 6)
return "ed";
if ((nth >= 7 && nth <= 10) ||
nth == 12 ||
nth == 15 ||
nth == 18 ||
nth == 20)
return "fed";
if (nth == 11 ||
nth == 13 ||
nth == 14 ||
nth == 16 ||
nth == 17 ||
nth == 19)
return "eg";
if (nth >= 21 && nth <= 39)
return "ain";
return "";
},
time_24hr: true,
};
fp.l10ns.cy = Welsh;
export default fp.l10ns;
dist/esm/l10n/hy.js 0000644 00000003264 15167673015 0010043 0 ustar 00 var fp = typeof window !== "undefined" && window.flatpickr !== undefined
? window.flatpickr
: {
l10ns: {},
};
export var Armenian = {
weekdays: {
shorthand: ["Կիր", "Երկ", "Երք", "Չրք", "Հնգ", "Ուրբ", "Շբթ"],
longhand: [
"Կիրակի",
"Եկուշաբթի",
"Երեքշաբթի",
"Չորեքշաբթի",
"Հինգշաբթի",
"Ուրբաթ",
"Շաբաթ",
],
},
months: {
shorthand: [
"Հնվ",
"Փտր",
"Մար",
"Ապր",
"Մայ",
"Հնս",
"Հլս",
"Օգս",
"Սեպ",
"Հոկ",
"Նմբ",
"Դեկ",
],
longhand: [
"Հունվար",
"Փետրվար",
"Մարտ",
"Ապրիլ",
"Մայիս",
"Հունիս",
"Հուլիս",
"Օգոստոս",
"Սեպտեմբեր",
"Հոկտեմբեր",
"Նոյեմբեր",
"Դեկտեմբեր",
],
},
firstDayOfWeek: 1,
ordinal: function () {
return "";
},
rangeSeparator: " — ",
weekAbbreviation: "ՇԲՏ",
scrollTitle: "Ոլորեք՝ մեծացնելու համար",
toggleTitle: "Սեղմեք՝ փոխելու համար",
amPM: ["ՄԿ", "ԿՀ"],
yearAriaLabel: "Տարի",
monthAriaLabel: "Ամիս",
hourAriaLabel: "Ժամ",
minuteAriaLabel: "Րոպե",
time_24hr: true,
};
fp.l10ns.hy = Armenian;
export default fp.l10ns;
dist/esm/l10n/he.js 0000644 00000002147 15167673015 0010016 0 ustar 00 var fp = typeof window !== "undefined" && window.flatpickr !== undefined
? window.flatpickr
: {
l10ns: {},
};
export var Hebrew = {
weekdays: {
shorthand: ["א", "ב", "ג", "ד", "ה", "ו", "ש"],
longhand: ["ראשון", "שני", "שלישי", "רביעי", "חמישי", "שישי", "שבת"],
},
months: {
shorthand: [
"ינו׳",
"פבר׳",
"מרץ",
"אפר׳",
"מאי",
"יוני",
"יולי",
"אוג׳",
"ספט׳",
"אוק׳",
"נוב׳",
"דצמ׳",
],
longhand: [
"ינואר",
"פברואר",
"מרץ",
"אפריל",
"מאי",
"יוני",
"יולי",
"אוגוסט",
"ספטמבר",
"אוקטובר",
"נובמבר",
"דצמבר",
],
},
rangeSeparator: " אל ",
time_24hr: true,
};
fp.l10ns.he = Hebrew;
export default fp.l10ns;
dist/esm/l10n/ja.js 0000644 00000002366 15167673015 0010017 0 ustar 00 var fp = typeof window !== "undefined" && window.flatpickr !== undefined
? window.flatpickr
: {
l10ns: {},
};
export var Japanese = {
weekdays: {
shorthand: ["日", "月", "火", "水", "木", "金", "土"],
longhand: [
"日曜日",
"月曜日",
"火曜日",
"水曜日",
"木曜日",
"金曜日",
"土曜日",
],
},
months: {
shorthand: [
"1月",
"2月",
"3月",
"4月",
"5月",
"6月",
"7月",
"8月",
"9月",
"10月",
"11月",
"12月",
],
longhand: [
"1月",
"2月",
"3月",
"4月",
"5月",
"6月",
"7月",
"8月",
"9月",
"10月",
"11月",
"12月",
],
},
time_24hr: true,
rangeSeparator: " から ",
monthAriaLabel: "月",
amPM: ["午前", "午後"],
yearAriaLabel: "年",
hourAriaLabel: "時間",
minuteAriaLabel: "分",
};
fp.l10ns.ja = Japanese;
export default fp.l10ns;
dist/esm/l10n/fr.js 0000644 00000002534 15167673015 0010031 0 ustar 00 var fp = typeof window !== "undefined" && window.flatpickr !== undefined
? window.flatpickr
: {
l10ns: {},
};
export var French = {
firstDayOfWeek: 1,
weekdays: {
shorthand: ["dim", "lun", "mar", "mer", "jeu", "ven", "sam"],
longhand: [
"dimanche",
"lundi",
"mardi",
"mercredi",
"jeudi",
"vendredi",
"samedi",
],
},
months: {
shorthand: [
"janv",
"févr",
"mars",
"avr",
"mai",
"juin",
"juil",
"août",
"sept",
"oct",
"nov",
"déc",
],
longhand: [
"janvier",
"février",
"mars",
"avril",
"mai",
"juin",
"juillet",
"août",
"septembre",
"octobre",
"novembre",
"décembre",
],
},
ordinal: function (nth) {
if (nth > 1)
return "";
return "er";
},
rangeSeparator: " au ",
weekAbbreviation: "Sem",
scrollTitle: "Défiler pour augmenter la valeur",
toggleTitle: "Cliquer pour basculer",
time_24hr: true,
};
fp.l10ns.fr = French;
export default fp.l10ns;
dist/esm/l10n/fo.js 0000644 00000002515 15167673015 0010025 0 ustar 00 var fp = typeof window !== "undefined" && window.flatpickr !== undefined
? window.flatpickr
: {
l10ns: {},
};
export var Faroese = {
weekdays: {
shorthand: ["Sun", "Mán", "Týs", "Mik", "Hós", "Frí", "Ley"],
longhand: [
"Sunnudagur",
"Mánadagur",
"Týsdagur",
"Mikudagur",
"Hósdagur",
"Fríggjadagur",
"Leygardagur",
],
},
months: {
shorthand: [
"Jan",
"Feb",
"Mar",
"Apr",
"Mai",
"Jun",
"Jul",
"Aug",
"Sep",
"Okt",
"Nov",
"Des",
],
longhand: [
"Januar",
"Februar",
"Mars",
"Apríl",
"Mai",
"Juni",
"Juli",
"August",
"Septembur",
"Oktobur",
"Novembur",
"Desembur",
],
},
ordinal: function () {
return ".";
},
firstDayOfWeek: 1,
rangeSeparator: " til ",
weekAbbreviation: "vika",
scrollTitle: "Rulla fyri at broyta",
toggleTitle: "Trýst fyri at skifta",
yearAriaLabel: "Ár",
time_24hr: true,
};
fp.l10ns.fo = Faroese;
export default fp.l10ns;
dist/esm/l10n/is.js 0000644 00000002426 15167673015 0010035 0 ustar 00 var fp = typeof window !== "undefined" && window.flatpickr !== undefined
? window.flatpickr
: {
l10ns: {},
};
export var Icelandic = {
weekdays: {
shorthand: ["Sun", "Mán", "Þri", "Mið", "Fim", "Fös", "Lau"],
longhand: [
"Sunnudagur",
"Mánudagur",
"Þriðjudagur",
"Miðvikudagur",
"Fimmtudagur",
"Föstudagur",
"Laugardagur",
],
},
months: {
shorthand: [
"Jan",
"Feb",
"Mar",
"Apr",
"Maí",
"Jún",
"Júl",
"Ágú",
"Sep",
"Okt",
"Nóv",
"Des",
],
longhand: [
"Janúar",
"Febrúar",
"Mars",
"Apríl",
"Maí",
"Júní",
"Júlí",
"Ágúst",
"September",
"Október",
"Nóvember",
"Desember",
],
},
ordinal: function () {
return ".";
},
firstDayOfWeek: 1,
rangeSeparator: " til ",
weekAbbreviation: "vika",
yearAriaLabel: "Ár",
time_24hr: true,
};
fp.l10ns.is = Icelandic;
export default fp.l10ns;
dist/esm/l10n/uz.js 0000644 00000003020 15167673015 0010047 0 ustar 00 var fp = typeof window !== "undefined" && window.flatpickr !== undefined
? window.flatpickr
: {
l10ns: {},
};
export var Uzbek = {
weekdays: {
shorthand: ["Якш", "Душ", "Сеш", "Чор", "Пай", "Жум", "Шан"],
longhand: [
"Якшанба",
"Душанба",
"Сешанба",
"Чоршанба",
"Пайшанба",
"Жума",
"Шанба",
],
},
months: {
shorthand: [
"Янв",
"Фев",
"Мар",
"Апр",
"Май",
"Июн",
"Июл",
"Авг",
"Сен",
"Окт",
"Ноя",
"Дек",
],
longhand: [
"Январ",
"Феврал",
"Март",
"Апрел",
"Май",
"Июн",
"Июл",
"Август",
"Сентябр",
"Октябр",
"Ноябр",
"Декабр",
],
},
firstDayOfWeek: 1,
ordinal: function () {
return "";
},
rangeSeparator: " — ",
weekAbbreviation: "Ҳафта",
scrollTitle: "Катталаштириш учун айлантиринг",
toggleTitle: "Ўтиш учун босинг",
amPM: ["AM", "PM"],
yearAriaLabel: "Йил",
time_24hr: true,
};
fp.l10ns.uz = Uzbek;
export default fp.l10ns;
dist/esm/l10n/bg.js 0000644 00000002371 15167673015 0010011 0 ustar 00 var fp = typeof window !== "undefined" && window.flatpickr !== undefined
? window.flatpickr
: {
l10ns: {},
};
export var Bulgarian = {
weekdays: {
shorthand: ["Нд", "Пн", "Вт", "Ср", "Чт", "Пт", "Сб"],
longhand: [
"Неделя",
"Понеделник",
"Вторник",
"Сряда",
"Четвъртък",
"Петък",
"Събота",
],
},
months: {
shorthand: [
"Яну",
"Фев",
"Март",
"Апр",
"Май",
"Юни",
"Юли",
"Авг",
"Сеп",
"Окт",
"Ное",
"Дек",
],
longhand: [
"Януари",
"Февруари",
"Март",
"Април",
"Май",
"Юни",
"Юли",
"Август",
"Септември",
"Октомври",
"Ноември",
"Декември",
],
},
time_24hr: true,
firstDayOfWeek: 1,
};
fp.l10ns.bg = Bulgarian;
export default fp.l10ns;
dist/esm/l10n/bs.js 0000644 00000002130 15167673015 0010016 0 ustar 00 var fp = typeof window !== "undefined" && window.flatpickr !== undefined
? window.flatpickr
: {
l10ns: {},
};
export var Bosnian = {
firstDayOfWeek: 1,
weekdays: {
shorthand: ["Ned", "Pon", "Uto", "Sri", "Čet", "Pet", "Sub"],
longhand: [
"Nedjelja",
"Ponedjeljak",
"Utorak",
"Srijeda",
"Četvrtak",
"Petak",
"Subota",
],
},
months: {
shorthand: [
"Jan",
"Feb",
"Mar",
"Apr",
"Maj",
"Jun",
"Jul",
"Avg",
"Sep",
"Okt",
"Nov",
"Dec",
],
longhand: [
"Januar",
"Februar",
"Mart",
"April",
"Maj",
"Juni",
"Juli",
"Avgust",
"Septembar",
"Oktobar",
"Novembar",
"Decembar",
],
},
time_24hr: true,
};
fp.l10ns.bs = Bosnian;
export default fp.l10ns;
dist/esm/l10n/cat.js 0000644 00000003013 15167673015 0010162 0 ustar 00 var fp = typeof window !== "undefined" && window.flatpickr !== undefined
? window.flatpickr
: {
l10ns: {},
};
export var Catalan = {
weekdays: {
shorthand: ["Dg", "Dl", "Dt", "Dc", "Dj", "Dv", "Ds"],
longhand: [
"Diumenge",
"Dilluns",
"Dimarts",
"Dimecres",
"Dijous",
"Divendres",
"Dissabte",
],
},
months: {
shorthand: [
"Gen",
"Febr",
"Març",
"Abr",
"Maig",
"Juny",
"Jul",
"Ag",
"Set",
"Oct",
"Nov",
"Des",
],
longhand: [
"Gener",
"Febrer",
"Març",
"Abril",
"Maig",
"Juny",
"Juliol",
"Agost",
"Setembre",
"Octubre",
"Novembre",
"Desembre",
],
},
ordinal: function (nth) {
var s = nth % 100;
if (s > 3 && s < 21)
return "è";
switch (s % 10) {
case 1:
return "r";
case 2:
return "n";
case 3:
return "r";
case 4:
return "t";
default:
return "è";
}
},
firstDayOfWeek: 1,
rangeSeparator: " a ",
time_24hr: true,
};
fp.l10ns.cat = fp.l10ns.ca = Catalan;
export default fp.l10ns;
dist/esm/l10n/uz_latn.js 0000644 00000002537 15167673015 0011101 0 ustar 00 var fp = typeof window !== "undefined" && window.flatpickr !== undefined
? window.flatpickr
: {
l10ns: {},
};
export var UzbekLatin = {
weekdays: {
shorthand: ["Ya", "Du", "Se", "Cho", "Pa", "Ju", "Sha"],
longhand: [
"Yakshanba",
"Dushanba",
"Seshanba",
"Chorshanba",
"Payshanba",
"Juma",
"Shanba",
],
},
months: {
shorthand: [
"Yan",
"Fev",
"Mar",
"Apr",
"May",
"Iyun",
"Iyul",
"Avg",
"Sen",
"Okt",
"Noy",
"Dek",
],
longhand: [
"Yanvar",
"Fevral",
"Mart",
"Aprel",
"May",
"Iyun",
"Iyul",
"Avgust",
"Sentabr",
"Oktabr",
"Noyabr",
"Dekabr",
],
},
firstDayOfWeek: 1,
ordinal: function () {
return "";
},
rangeSeparator: " — ",
weekAbbreviation: "Hafta",
scrollTitle: "Kattalashtirish uchun aylantiring",
toggleTitle: "O‘tish uchun bosing",
amPM: ["AM", "PM"],
yearAriaLabel: "Yil",
time_24hr: true,
};
fp.l10ns["uz_latn"] = UzbekLatin;
export default fp.l10ns;
dist/esm/l10n/my.js 0000644 00000002761 15167673015 0010051 0 ustar 00 var fp = typeof window !== "undefined" && window.flatpickr !== undefined
? window.flatpickr
: {
l10ns: {},
};
export var Burmese = {
weekdays: {
shorthand: ["နွေ", "လာ", "ဂါ", "ဟူး", "ကြာ", "သော", "နေ"],
longhand: [
"တနင်္ဂနွေ",
"တနင်္လာ",
"အင်္ဂါ",
"ဗုဒ္ဓဟူး",
"ကြာသပတေး",
"သောကြာ",
"စနေ",
],
},
months: {
shorthand: [
"ဇန်",
"ဖေ",
"မတ်",
"ပြီ",
"မေ",
"ဇွန်",
"လိုင်",
"သြ",
"စက်",
"အောက်",
"နို",
"ဒီ",
],
longhand: [
"ဇန်နဝါရီ",
"ဖေဖော်ဝါရီ",
"မတ်",
"ဧပြီ",
"မေ",
"ဇွန်",
"ဇူလိုင်",
"သြဂုတ်",
"စက်တင်ဘာ",
"အောက်တိုဘာ",
"နိုဝင်ဘာ",
"ဒီဇင်ဘာ",
],
},
firstDayOfWeek: 1,
ordinal: function () {
return "";
},
time_24hr: true,
};
fp.l10ns.my = Burmese;
export default fp.l10ns;
dist/esm/l10n/es.js 0000644 00000002255 15167673015 0010031 0 ustar 00 var fp = typeof window !== "undefined" && window.flatpickr !== undefined
? window.flatpickr
: {
l10ns: {},
};
export var Spanish = {
weekdays: {
shorthand: ["Dom", "Lun", "Mar", "Mié", "Jue", "Vie", "Sáb"],
longhand: [
"Domingo",
"Lunes",
"Martes",
"Miércoles",
"Jueves",
"Viernes",
"Sábado",
],
},
months: {
shorthand: [
"Ene",
"Feb",
"Mar",
"Abr",
"May",
"Jun",
"Jul",
"Ago",
"Sep",
"Oct",
"Nov",
"Dic",
],
longhand: [
"Enero",
"Febrero",
"Marzo",
"Abril",
"Mayo",
"Junio",
"Julio",
"Agosto",
"Septiembre",
"Octubre",
"Noviembre",
"Diciembre",
],
},
ordinal: function () {
return "º";
},
firstDayOfWeek: 1,
rangeSeparator: " a ",
time_24hr: true,
};
fp.l10ns.es = Spanish;
export default fp.l10ns;
dist/esm/l10n/hu.js 0000644 00000002451 15167673015 0010034 0 ustar 00 var fp = typeof window !== "undefined" && window.flatpickr !== undefined
? window.flatpickr
: {
l10ns: {},
};
export var Hungarian = {
firstDayOfWeek: 1,
weekdays: {
shorthand: ["V", "H", "K", "Sz", "Cs", "P", "Szo"],
longhand: [
"Vasárnap",
"Hétfő",
"Kedd",
"Szerda",
"Csütörtök",
"Péntek",
"Szombat",
],
},
months: {
shorthand: [
"Jan",
"Feb",
"Már",
"Ápr",
"Máj",
"Jún",
"Júl",
"Aug",
"Szep",
"Okt",
"Nov",
"Dec",
],
longhand: [
"Január",
"Február",
"Március",
"Április",
"Május",
"Június",
"Július",
"Augusztus",
"Szeptember",
"Október",
"November",
"December",
],
},
ordinal: function () {
return ".";
},
weekAbbreviation: "Hét",
scrollTitle: "Görgessen",
toggleTitle: "Kattintson a váltáshoz",
rangeSeparator: " - ",
time_24hr: true,
};
fp.l10ns.hu = Hungarian;
export default fp.l10ns;
dist/esm/l10n/index.js 0000644 00000007165 15167673015 0010536 0 ustar 00 var __assign = (this && this.__assign) || function () {
__assign = Object.assign || function(t) {
for (var s, i = 1, n = arguments.length; i < n; i++) {
s = arguments[i];
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
t[p] = s[p];
}
return t;
};
return __assign.apply(this, arguments);
};
import { Arabic as ar } from "./ar";
import { Austria as at } from "./at";
import { Azerbaijan as az } from "./az";
import { Belarusian as be } from "./be";
import { Bosnian as bs } from "./bs";
import { Bulgarian as bg } from "./bg";
import { Bangla as bn } from "./bn";
import { Catalan as cat } from "./cat";
import { Kurdish as ckb } from "./ckb";
import { Czech as cs } from "./cs";
import { Welsh as cy } from "./cy";
import { Danish as da } from "./da";
import { German as de } from "./de";
import { english as en } from "./default";
import { Esperanto as eo } from "./eo";
import { Spanish as es } from "./es";
import { Estonian as et } from "./et";
import { Persian as fa } from "./fa";
import { Finnish as fi } from "./fi";
import { Faroese as fo } from "./fo";
import { French as fr } from "./fr";
import { Greek as gr } from "./gr";
import { Hebrew as he } from "./he";
import { Hindi as hi } from "./hi";
import { Croatian as hr } from "./hr";
import { Hungarian as hu } from "./hu";
import { Armenian as hy } from "./hy";
import { Indonesian as id } from "./id";
import { Icelandic as is } from "./is";
import { Italian as it } from "./it";
import { Japanese as ja } from "./ja";
import { Georgian as ka } from "./ka";
import { Korean as ko } from "./ko";
import { Khmer as km } from "./km";
import { Kazakh as kz } from "./kz";
import { Lithuanian as lt } from "./lt";
import { Latvian as lv } from "./lv";
import { Macedonian as mk } from "./mk";
import { Mongolian as mn } from "./mn";
import { Malaysian as ms } from "./ms";
import { Burmese as my } from "./my";
import { Dutch as nl } from "./nl";
import { NorwegianNynorsk as nn } from "./nn";
import { Norwegian as no } from "./no";
import { Punjabi as pa } from "./pa";
import { Polish as pl } from "./pl";
import { Portuguese as pt } from "./pt";
import { Romanian as ro } from "./ro";
import { Russian as ru } from "./ru";
import { Sinhala as si } from "./si";
import { Slovak as sk } from "./sk";
import { Slovenian as sl } from "./sl";
import { Albanian as sq } from "./sq";
import { Serbian as sr } from "./sr";
import { Swedish as sv } from "./sv";
import { Thai as th } from "./th";
import { Turkish as tr } from "./tr";
import { Ukrainian as uk } from "./uk";
import { Uzbek as uz } from "./uz";
import { UzbekLatin as uzLatn } from "./uz_latn";
import { Vietnamese as vn } from "./vn";
import { Mandarin as zh } from "./zh";
import { MandarinTraditional as zh_tw } from "./zh-tw";
var l10n = {
ar: ar,
at: at,
az: az,
be: be,
bg: bg,
bn: bn,
bs: bs,
ca: cat,
ckb: ckb,
cat: cat,
cs: cs,
cy: cy,
da: da,
de: de,
default: __assign({}, en),
en: en,
eo: eo,
es: es,
et: et,
fa: fa,
fi: fi,
fo: fo,
fr: fr,
gr: gr,
he: he,
hi: hi,
hr: hr,
hu: hu,
hy: hy,
id: id,
is: is,
it: it,
ja: ja,
ka: ka,
ko: ko,
km: km,
kz: kz,
lt: lt,
lv: lv,
mk: mk,
mn: mn,
ms: ms,
my: my,
nl: nl,
nn: nn,
no: no,
pa: pa,
pl: pl,
pt: pt,
ro: ro,
ru: ru,
si: si,
sk: sk,
sl: sl,
sq: sq,
sr: sr,
sv: sv,
th: th,
tr: tr,
uk: uk,
vn: vn,
zh: zh,
zh_tw: zh_tw,
uz: uz,
uz_latn: uzLatn,
};
export default l10n;
dist/esm/l10n/ka.js 0000644 00000003500 15167673015 0010007 0 ustar 00 var fp = typeof window !== "undefined" && window.flatpickr !== undefined
? window.flatpickr
: {
l10ns: {},
};
export var Georgian = {
weekdays: {
shorthand: ["კვ", "ორ", "სა", "ოთ", "ხუ", "პა", "შა"],
longhand: [
"კვირა",
"ორშაბათი",
"სამშაბათი",
"ოთხშაბათი",
"ხუთშაბათი",
"პარასკევი",
"შაბათი",
],
},
months: {
shorthand: [
"იან",
"თებ",
"მარ",
"აპრ",
"მაი",
"ივნ",
"ივლ",
"აგვ",
"სექ",
"ოქტ",
"ნოე",
"დეკ",
],
longhand: [
"იანვარი",
"თებერვალი",
"მარტი",
"აპრილი",
"მაისი",
"ივნისი",
"ივლისი",
"აგვისტო",
"სექტემბერი",
"ოქტომბერი",
"ნოემბერი",
"დეკემბერი",
],
},
firstDayOfWeek: 1,
ordinal: function () {
return "";
},
rangeSeparator: " — ",
weekAbbreviation: "კვ.",
scrollTitle: "დასქროლეთ გასადიდებლად",
toggleTitle: "დააკლიკეთ გადართვისთვის",
amPM: ["AM", "PM"],
yearAriaLabel: "წელი",
time_24hr: true,
};
fp.l10ns.ka = Georgian;
export default fp.l10ns;
dist/esm/l10n/no.js 0000644 00000002427 15167673015 0010037 0 ustar 00 var fp = typeof window !== "undefined" && window.flatpickr !== undefined
? window.flatpickr
: {
l10ns: {},
};
export var Norwegian = {
weekdays: {
shorthand: ["Søn", "Man", "Tir", "Ons", "Tor", "Fre", "Lør"],
longhand: [
"Søndag",
"Mandag",
"Tirsdag",
"Onsdag",
"Torsdag",
"Fredag",
"Lørdag",
],
},
months: {
shorthand: [
"Jan",
"Feb",
"Mar",
"Apr",
"Mai",
"Jun",
"Jul",
"Aug",
"Sep",
"Okt",
"Nov",
"Des",
],
longhand: [
"Januar",
"Februar",
"Mars",
"April",
"Mai",
"Juni",
"Juli",
"August",
"September",
"Oktober",
"November",
"Desember",
],
},
firstDayOfWeek: 1,
rangeSeparator: " til ",
weekAbbreviation: "Uke",
scrollTitle: "Scroll for å endre",
toggleTitle: "Klikk for å veksle",
time_24hr: true,
ordinal: function () {
return ".";
},
};
fp.l10ns.no = Norwegian;
export default fp.l10ns;
dist/esm/l10n/ga.js 0000644 00000002222 15167673015 0010003 0 ustar 00 var fp = typeof window !== "undefined" && window.flatpickr !== undefined
? window.flatpickr
: {
l10ns: {},
};
export var Irish = {
firstDayOfWeek: 1,
weekdays: {
shorthand: ["Dom", "Lua", "Mái", "Céa", "Déa", "Aoi", "Sat"],
longhand: [
"Dé Domhnaigh",
"Dé Luain",
"Dé Máirt",
"Dé Céadaoin",
"Déardaoin",
"Dé hAoine",
"Dé Sathairn",
],
},
months: {
shorthand: [
"Ean",
"Fea",
"Már",
"Aib",
"Bea",
"Mei",
"Iúi",
"Lún",
"MFo",
"DFo",
"Sam",
"Nol",
],
longhand: [
"Eanáir",
"Feabhra",
"Márta",
"Aibreán",
"Bealtaine",
"Meitheamh",
"Iúil",
"Lúnasa",
"Meán Fómhair",
"Deireadh Fómhair",
"Samhain",
"Nollaig",
],
},
time_24hr: true,
};
fp.l10ns.hr = Irish;
export default fp.l10ns;
dist/esm/l10n/be.js 0000644 00000003127 15167673015 0010007 0 ustar 00 var fp = typeof window !== "undefined" && window.flatpickr !== undefined
? window.flatpickr
: {
l10ns: {},
};
export var Belarusian = {
weekdays: {
shorthand: ["Нд", "Пн", "Аў", "Ср", "Чц", "Пт", "Сб"],
longhand: [
"Нядзеля",
"Панядзелак",
"Аўторак",
"Серада",
"Чацвер",
"Пятніца",
"Субота",
],
},
months: {
shorthand: [
"Сту",
"Лют",
"Сак",
"Кра",
"Тра",
"Чэр",
"Ліп",
"Жні",
"Вер",
"Кас",
"Ліс",
"Сне",
],
longhand: [
"Студзень",
"Люты",
"Сакавік",
"Красавік",
"Травень",
"Чэрвень",
"Ліпень",
"Жнівень",
"Верасень",
"Кастрычнік",
"Лістапад",
"Снежань",
],
},
firstDayOfWeek: 1,
ordinal: function () {
return "";
},
rangeSeparator: " — ",
weekAbbreviation: "Тыд.",
scrollTitle: "Пракруціце для павелічэння",
toggleTitle: "Націсніце для пераключэння",
amPM: ["ДП", "ПП"],
yearAriaLabel: "Год",
time_24hr: true,
};
fp.l10ns.be = Belarusian;
export default fp.l10ns;
dist/esm/l10n/hr.js 0000644 00000002152 15167673015 0010027 0 ustar 00 var fp = typeof window !== "undefined" && window.flatpickr !== undefined
? window.flatpickr
: {
l10ns: {},
};
export var Croatian = {
firstDayOfWeek: 1,
weekdays: {
shorthand: ["Ned", "Pon", "Uto", "Sri", "Čet", "Pet", "Sub"],
longhand: [
"Nedjelja",
"Ponedjeljak",
"Utorak",
"Srijeda",
"Četvrtak",
"Petak",
"Subota",
],
},
months: {
shorthand: [
"Sij",
"Velj",
"Ožu",
"Tra",
"Svi",
"Lip",
"Srp",
"Kol",
"Ruj",
"Lis",
"Stu",
"Pro",
],
longhand: [
"Siječanj",
"Veljača",
"Ožujak",
"Travanj",
"Svibanj",
"Lipanj",
"Srpanj",
"Kolovoz",
"Rujan",
"Listopad",
"Studeni",
"Prosinac",
],
},
time_24hr: true,
};
fp.l10ns.hr = Croatian;
export default fp.l10ns;
dist/esm/l10n/th.js 0000644 00000003217 15167673015 0010034 0 ustar 00 var fp = typeof window !== "undefined" && window.flatpickr !== undefined
? window.flatpickr
: {
l10ns: {},
};
export var Thai = {
weekdays: {
shorthand: ["อา", "จ", "อ", "พ", "พฤ", "ศ", "ส"],
longhand: [
"อาทิตย์",
"จันทร์",
"อังคาร",
"พุธ",
"พฤหัสบดี",
"ศุกร์",
"เสาร์",
],
},
months: {
shorthand: [
"ม.ค.",
"ก.พ.",
"มี.ค.",
"เม.ย.",
"พ.ค.",
"มิ.ย.",
"ก.ค.",
"ส.ค.",
"ก.ย.",
"ต.ค.",
"พ.ย.",
"ธ.ค.",
],
longhand: [
"มกราคม",
"กุมภาพันธ์",
"มีนาคม",
"เมษายน",
"พฤษภาคม",
"มิถุนายน",
"กรกฎาคม",
"สิงหาคม",
"กันยายน",
"ตุลาคม",
"พฤศจิกายน",
"ธันวาคม",
],
},
firstDayOfWeek: 1,
rangeSeparator: " ถึง ",
scrollTitle: "เลื่อนเพื่อเพิ่มหรือลด",
toggleTitle: "คลิกเพื่อเปลี่ยน",
time_24hr: true,
ordinal: function () {
return "";
},
};
fp.l10ns.th = Thai;
export default fp.l10ns;
dist/esm/l10n/sv.js 0000644 00000002306 15167673015 0010047 0 ustar 00 var fp = typeof window !== "undefined" && window.flatpickr !== undefined
? window.flatpickr
: {
l10ns: {},
};
export var Swedish = {
firstDayOfWeek: 1,
weekAbbreviation: "v",
weekdays: {
shorthand: ["sön", "mån", "tis", "ons", "tor", "fre", "lör"],
longhand: [
"söndag",
"måndag",
"tisdag",
"onsdag",
"torsdag",
"fredag",
"lördag",
],
},
months: {
shorthand: [
"jan",
"feb",
"mar",
"apr",
"maj",
"jun",
"jul",
"aug",
"sep",
"okt",
"nov",
"dec",
],
longhand: [
"januari",
"februari",
"mars",
"april",
"maj",
"juni",
"juli",
"augusti",
"september",
"oktober",
"november",
"december",
],
},
rangeSeparator: " till ",
time_24hr: true,
ordinal: function () {
return ".";
},
};
fp.l10ns.sv = Swedish;
export default fp.l10ns;
dist/esm/l10n/pl.js 0000644 00000002465 15167673015 0010040 0 ustar 00 var fp = typeof window !== "undefined" && window.flatpickr !== undefined
? window.flatpickr
: {
l10ns: {},
};
export var Polish = {
weekdays: {
shorthand: ["Nd", "Pn", "Wt", "Śr", "Cz", "Pt", "So"],
longhand: [
"Niedziela",
"Poniedziałek",
"Wtorek",
"Środa",
"Czwartek",
"Piątek",
"Sobota",
],
},
months: {
shorthand: [
"Sty",
"Lut",
"Mar",
"Kwi",
"Maj",
"Cze",
"Lip",
"Sie",
"Wrz",
"Paź",
"Lis",
"Gru",
],
longhand: [
"Styczeń",
"Luty",
"Marzec",
"Kwiecień",
"Maj",
"Czerwiec",
"Lipiec",
"Sierpień",
"Wrzesień",
"Październik",
"Listopad",
"Grudzień",
],
},
rangeSeparator: " do ",
weekAbbreviation: "tydz.",
scrollTitle: "Przewiń, aby zwiększyć",
toggleTitle: "Kliknij, aby przełączyć",
firstDayOfWeek: 1,
time_24hr: true,
ordinal: function () {
return ".";
},
};
fp.l10ns.pl = Polish;
export default fp.l10ns;
dist/esm/l10n/ckb.js 0000644 00000003113 15167673015 0010153 0 ustar 00 var fp = typeof window !== "undefined" && window.flatpickr !== undefined
? window.flatpickr
: {
l10ns: {},
};
export var Kurdish = {
weekdays: {
shorthand: [
"یەکشەممە",
"دووشەممە",
"سێشەممە",
"چوارشەممە",
"پێنجشەممە",
"هەینی",
"شەممە",
],
longhand: [
"یەکشەممە",
"دووشەممە",
"سێشەممە",
"چوارشەممە",
"پێنجشەممە",
"هەینی",
"شەممە",
],
},
months: {
shorthand: [
"ڕێبەندان",
"ڕەشەمە",
"نەورۆز",
"گوڵان",
"جۆزەردان",
"پووشپەڕ",
"گەلاوێژ",
"خەرمانان",
"ڕەزبەر",
"گەڵاڕێزان",
"سەرماوەز",
"بەفرانبار",
],
longhand: [
"ڕێبەندان",
"ڕەشەمە",
"نەورۆز",
"گوڵان",
"جۆزەردان",
"پووشپەڕ",
"گەلاوێژ",
"خەرمانان",
"ڕەزبەر",
"گەڵاڕێزان",
"سەرماوەز",
"بەفرانبار",
],
},
firstDayOfWeek: 6,
ordinal: function () {
return "";
},
};
fp.l10ns.ckb = Kurdish;
export default fp.l10ns;
dist/esm/l10n/sl.js 0000644 00000002253 15167673015 0010036 0 ustar 00 var fp = typeof window !== "undefined" && window.flatpickr !== undefined
? window.flatpickr
: {
l10ns: {},
};
export var Slovenian = {
weekdays: {
shorthand: ["Ned", "Pon", "Tor", "Sre", "Čet", "Pet", "Sob"],
longhand: [
"Nedelja",
"Ponedeljek",
"Torek",
"Sreda",
"Četrtek",
"Petek",
"Sobota",
],
},
months: {
shorthand: [
"Jan",
"Feb",
"Mar",
"Apr",
"Maj",
"Jun",
"Jul",
"Avg",
"Sep",
"Okt",
"Nov",
"Dec",
],
longhand: [
"Januar",
"Februar",
"Marec",
"April",
"Maj",
"Junij",
"Julij",
"Avgust",
"September",
"Oktober",
"November",
"December",
],
},
firstDayOfWeek: 1,
rangeSeparator: " do ",
time_24hr: true,
ordinal: function () {
return ".";
},
};
fp.l10ns.sl = Slovenian;
export default fp.l10ns;
dist/esm/l10n/nn.js 0000644 00000002451 15167673015 0010033 0 ustar 00 var fp = typeof window !== "undefined" && window.flatpickr !== undefined
? window.flatpickr
: {
l10ns: {},
};
export var NorwegianNynorsk = {
weekdays: {
shorthand: ["Sø.", "Må.", "Ty.", "On.", "To.", "Fr.", "La."],
longhand: [
"Søndag",
"Måndag",
"Tysdag",
"Onsdag",
"Torsdag",
"Fredag",
"Laurdag",
],
},
months: {
shorthand: [
"Jan",
"Feb",
"Mars",
"Apr",
"Mai",
"Juni",
"Juli",
"Aug",
"Sep",
"Okt",
"Nov",
"Des",
],
longhand: [
"Januar",
"Februar",
"Mars",
"April",
"Mai",
"Juni",
"Juli",
"August",
"September",
"Oktober",
"November",
"Desember",
],
},
firstDayOfWeek: 1,
rangeSeparator: " til ",
weekAbbreviation: "Veke",
scrollTitle: "Scroll for å endre",
toggleTitle: "Klikk for å veksle",
time_24hr: true,
ordinal: function () {
return ".";
},
};
fp.l10ns.nn = NorwegianNynorsk;
export default fp.l10ns;
dist/esm/l10n/mn.js 0000644 00000002643 15167673015 0010035 0 ustar 00 var fp = typeof window !== "undefined" && window.flatpickr !== undefined
? window.flatpickr
: {
l10ns: {},
};
export var Mongolian = {
firstDayOfWeek: 1,
weekdays: {
shorthand: ["Да", "Мя", "Лх", "Пү", "Ба", "Бя", "Ня"],
longhand: ["Даваа", "Мягмар", "Лхагва", "Пүрэв", "Баасан", "Бямба", "Ням"],
},
months: {
shorthand: [
"1-р сар",
"2-р сар",
"3-р сар",
"4-р сар",
"5-р сар",
"6-р сар",
"7-р сар",
"8-р сар",
"9-р сар",
"10-р сар",
"11-р сар",
"12-р сар",
],
longhand: [
"Нэгдүгээр сар",
"Хоёрдугаар сар",
"Гуравдугаар сар",
"Дөрөвдүгээр сар",
"Тавдугаар сар",
"Зургаадугаар сар",
"Долдугаар сар",
"Наймдугаар сар",
"Есдүгээр сар",
"Аравдугаар сар",
"Арваннэгдүгээр сар",
"Арванхоёрдугаар сар",
],
},
rangeSeparator: "-с ",
time_24hr: true,
};
fp.l10ns.mn = Mongolian;
export default fp.l10ns;
dist/esm/l10n/pa.js 0000644 00000002612 15167673015 0010017 0 ustar 00 var fp = typeof window !== "undefined" && window.flatpickr !== undefined
? window.flatpickr
: {
l10ns: {},
};
export var Punjabi = {
weekdays: {
shorthand: ["ਐਤ", "ਸੋਮ", "ਮੰਗਲ", "ਬੁੱਧ", "ਵੀਰ", "ਸ਼ੁੱਕਰ", "ਸ਼ਨਿੱਚਰ"],
longhand: [
"ਐਤਵਾਰ",
"ਸੋਮਵਾਰ",
"ਮੰਗਲਵਾਰ",
"ਬੁੱਧਵਾਰ",
"ਵੀਰਵਾਰ",
"ਸ਼ੁੱਕਰਵਾਰ",
"ਸ਼ਨਿੱਚਰਵਾਰ",
],
},
months: {
shorthand: [
"ਜਨ",
"ਫ਼ਰ",
"ਮਾਰ",
"ਅਪ੍ਰੈ",
"ਮਈ",
"ਜੂਨ",
"ਜੁਲਾ",
"ਅਗ",
"ਸਤੰ",
"ਅਕ",
"ਨਵੰ",
"ਦਸੰ",
],
longhand: [
"ਜਨਵਰੀ",
"ਫ਼ਰਵਰੀ",
"ਮਾਰਚ",
"ਅਪ੍ਰੈਲ",
"ਮਈ",
"ਜੂਨ",
"ਜੁਲਾਈ",
"ਅਗਸਤ",
"ਸਤੰਬਰ",
"ਅਕਤੂਬਰ",
"ਨਵੰਬਰ",
"ਦਸੰਬਰ",
],
},
time_24hr: true,
};
fp.l10ns.pa = Punjabi;
export default fp.l10ns;
dist/esm/l10n/default.js 0000644 00000003157 15167673015 0011050 0 ustar 00 export var english = {
weekdays: {
shorthand: ["Sun", "Mon", "Tue", "Wed", "Thu", "Fri", "Sat"],
longhand: [
"Sunday",
"Monday",
"Tuesday",
"Wednesday",
"Thursday",
"Friday",
"Saturday",
],
},
months: {
shorthand: [
"Jan",
"Feb",
"Mar",
"Apr",
"May",
"Jun",
"Jul",
"Aug",
"Sep",
"Oct",
"Nov",
"Dec",
],
longhand: [
"January",
"February",
"March",
"April",
"May",
"June",
"July",
"August",
"September",
"October",
"November",
"December",
],
},
daysInMonth: [31, 28, 31, 30, 31, 30, 31, 31, 30, 31, 30, 31],
firstDayOfWeek: 0,
ordinal: function (nth) {
var s = nth % 100;
if (s > 3 && s < 21)
return "th";
switch (s % 10) {
case 1:
return "st";
case 2:
return "nd";
case 3:
return "rd";
default:
return "th";
}
},
rangeSeparator: " to ",
weekAbbreviation: "Wk",
scrollTitle: "Scroll to increment",
toggleTitle: "Click to toggle",
amPM: ["AM", "PM"],
yearAriaLabel: "Year",
monthAriaLabel: "Month",
hourAriaLabel: "Hour",
minuteAriaLabel: "Minute",
time_24hr: false,
};
export default english;
dist/esm/l10n/pt.js 0000644 00000002202 15167673015 0010035 0 ustar 00 var fp = typeof window !== "undefined" && window.flatpickr !== undefined
? window.flatpickr
: {
l10ns: {},
};
export var Portuguese = {
weekdays: {
shorthand: ["Dom", "Seg", "Ter", "Qua", "Qui", "Sex", "Sáb"],
longhand: [
"Domingo",
"Segunda-feira",
"Terça-feira",
"Quarta-feira",
"Quinta-feira",
"Sexta-feira",
"Sábado",
],
},
months: {
shorthand: [
"Jan",
"Fev",
"Mar",
"Abr",
"Mai",
"Jun",
"Jul",
"Ago",
"Set",
"Out",
"Nov",
"Dez",
],
longhand: [
"Janeiro",
"Fevereiro",
"Março",
"Abril",
"Maio",
"Junho",
"Julho",
"Agosto",
"Setembro",
"Outubro",
"Novembro",
"Dezembro",
],
},
rangeSeparator: " até ",
time_24hr: true,
};
fp.l10ns.pt = Portuguese;
export default fp.l10ns;
dist/esm/l10n/it.js 0000644 00000002432 15167673015 0010033 0 ustar 00 var fp = typeof window !== "undefined" && window.flatpickr !== undefined
? window.flatpickr
: {
l10ns: {},
};
export var Italian = {
weekdays: {
shorthand: ["Dom", "Lun", "Mar", "Mer", "Gio", "Ven", "Sab"],
longhand: [
"Domenica",
"Lunedì",
"Martedì",
"Mercoledì",
"Giovedì",
"Venerdì",
"Sabato",
],
},
months: {
shorthand: [
"Gen",
"Feb",
"Mar",
"Apr",
"Mag",
"Giu",
"Lug",
"Ago",
"Set",
"Ott",
"Nov",
"Dic",
],
longhand: [
"Gennaio",
"Febbraio",
"Marzo",
"Aprile",
"Maggio",
"Giugno",
"Luglio",
"Agosto",
"Settembre",
"Ottobre",
"Novembre",
"Dicembre",
],
},
firstDayOfWeek: 1,
ordinal: function () { return "°"; },
rangeSeparator: " al ",
weekAbbreviation: "Se",
scrollTitle: "Scrolla per aumentare",
toggleTitle: "Clicca per cambiare",
time_24hr: true,
};
fp.l10ns.it = Italian;
export default fp.l10ns;
dist/esm/l10n/id.js 0000644 00000002102 15167673015 0010005 0 ustar 00 var fp = typeof window !== "undefined" && window.flatpickr !== undefined
? window.flatpickr
: {
l10ns: {},
};
export var Indonesian = {
weekdays: {
shorthand: ["Min", "Sen", "Sel", "Rab", "Kam", "Jum", "Sab"],
longhand: ["Minggu", "Senin", "Selasa", "Rabu", "Kamis", "Jumat", "Sabtu"],
},
months: {
shorthand: [
"Jan",
"Feb",
"Mar",
"Apr",
"Mei",
"Jun",
"Jul",
"Agu",
"Sep",
"Okt",
"Nov",
"Des",
],
longhand: [
"Januari",
"Februari",
"Maret",
"April",
"Mei",
"Juni",
"Juli",
"Agustus",
"September",
"Oktober",
"November",
"Desember",
],
},
firstDayOfWeek: 1,
ordinal: function () {
return "";
},
time_24hr: true,
rangeSeparator: " - ",
};
fp.l10ns.id = Indonesian;
export default fp.l10ns;
dist/esm/l10n/ro.js 0000644 00000002230 15167673015 0010033 0 ustar 00 var fp = typeof window !== "undefined" && window.flatpickr !== undefined
? window.flatpickr
: {
l10ns: {},
};
export var Romanian = {
weekdays: {
shorthand: ["Dum", "Lun", "Mar", "Mie", "Joi", "Vin", "Sâm"],
longhand: [
"Duminică",
"Luni",
"Marți",
"Miercuri",
"Joi",
"Vineri",
"Sâmbătă",
],
},
months: {
shorthand: [
"Ian",
"Feb",
"Mar",
"Apr",
"Mai",
"Iun",
"Iul",
"Aug",
"Sep",
"Oct",
"Noi",
"Dec",
],
longhand: [
"Ianuarie",
"Februarie",
"Martie",
"Aprilie",
"Mai",
"Iunie",
"Iulie",
"August",
"Septembrie",
"Octombrie",
"Noiembrie",
"Decembrie",
],
},
firstDayOfWeek: 1,
time_24hr: true,
ordinal: function () {
return "";
},
};
fp.l10ns.ro = Romanian;
export default fp.l10ns;
dist/esm/l10n/mk.js 0000644 00000002474 15167673015 0010034 0 ustar 00 var fp = typeof window !== "undefined" && window.flatpickr !== undefined
? window.flatpickr
: {
l10ns: {},
};
export var Macedonian = {
weekdays: {
shorthand: ["Не", "По", "Вт", "Ср", "Че", "Пе", "Са"],
longhand: [
"Недела",
"Понеделник",
"Вторник",
"Среда",
"Четврток",
"Петок",
"Сабота",
],
},
months: {
shorthand: [
"Јан",
"Фев",
"Мар",
"Апр",
"Мај",
"Јун",
"Јул",
"Авг",
"Сеп",
"Окт",
"Ное",
"Дек",
],
longhand: [
"Јануари",
"Февруари",
"Март",
"Април",
"Мај",
"Јуни",
"Јули",
"Август",
"Септември",
"Октомври",
"Ноември",
"Декември",
],
},
firstDayOfWeek: 1,
weekAbbreviation: "Нед.",
rangeSeparator: " до ",
time_24hr: true,
};
fp.l10ns.mk = Macedonian;
export default fp.l10ns;
dist/esm/l10n/fi.js 0000644 00000002275 15167673015 0010022 0 ustar 00 var fp = typeof window !== "undefined" && window.flatpickr !== undefined
? window.flatpickr
: {
l10ns: {},
};
export var Finnish = {
firstDayOfWeek: 1,
weekdays: {
shorthand: ["su", "ma", "ti", "ke", "to", "pe", "la"],
longhand: [
"sunnuntai",
"maanantai",
"tiistai",
"keskiviikko",
"torstai",
"perjantai",
"lauantai",
],
},
months: {
shorthand: [
"tammi",
"helmi",
"maalis",
"huhti",
"touko",
"kesä",
"heinä",
"elo",
"syys",
"loka",
"marras",
"joulu",
],
longhand: [
"tammikuu",
"helmikuu",
"maaliskuu",
"huhtikuu",
"toukokuu",
"kesäkuu",
"heinäkuu",
"elokuu",
"syyskuu",
"lokakuu",
"marraskuu",
"joulukuu",
],
},
ordinal: function () {
return ".";
},
time_24hr: true,
};
fp.l10ns.fi = Finnish;
export default fp.l10ns;
dist/esm/l10n/sr-cyr.js 0000644 00000002463 15167673015 0010642 0 ustar 00 var fp = typeof window !== "undefined" && window.flatpickr !== undefined
? window.flatpickr
: {
l10ns: {},
};
export var SerbianCyrillic = {
weekdays: {
shorthand: ["Нед", "Пон", "Уто", "Сре", "Чет", "Пет", "Суб"],
longhand: [
"Недеља",
"Понедељак",
"Уторак",
"Среда",
"Четвртак",
"Петак",
"Субота",
],
},
months: {
shorthand: [
"Јан",
"Феб",
"Мар",
"Апр",
"Мај",
"Јун",
"Јул",
"Авг",
"Сеп",
"Окт",
"Нов",
"Дец",
],
longhand: [
"Јануар",
"Фебруар",
"Март",
"Април",
"Мај",
"Јун",
"Јул",
"Август",
"Септембар",
"Октобар",
"Новембар",
"Децембар",
],
},
firstDayOfWeek: 1,
weekAbbreviation: "Нед.",
rangeSeparator: " до ",
};
fp.l10ns.sr = SerbianCyrillic;
export default fp.l10ns;
dist/esm/l10n/vn.js 0000644 00000002304 15167673015 0010040 0 ustar 00 var fp = typeof window !== "undefined" && window.flatpickr !== undefined
? window.flatpickr
: {
l10ns: {},
};
export var Vietnamese = {
weekdays: {
shorthand: ["CN", "T2", "T3", "T4", "T5", "T6", "T7"],
longhand: [
"Chủ nhật",
"Thứ hai",
"Thứ ba",
"Thứ tư",
"Thứ năm",
"Thứ sáu",
"Thứ bảy",
],
},
months: {
shorthand: [
"Th1",
"Th2",
"Th3",
"Th4",
"Th5",
"Th6",
"Th7",
"Th8",
"Th9",
"Th10",
"Th11",
"Th12",
],
longhand: [
"Tháng một",
"Tháng hai",
"Tháng ba",
"Tháng tư",
"Tháng năm",
"Tháng sáu",
"Tháng bảy",
"Tháng tám",
"Tháng chín",
"Tháng mười",
"Tháng mười một",
"Tháng mười hai",
],
},
firstDayOfWeek: 1,
rangeSeparator: " đến ",
};
fp.l10ns.vn = Vietnamese;
export default fp.l10ns;
dist/esm/l10n/kz.js 0000644 00000003005 15167673015 0010040 0 ustar 00 var fp = typeof window !== "undefined" && window.flatpickr !== undefined
? window.flatpickr
: {
l10ns: {},
};
export var Kazakh = {
weekdays: {
shorthand: ["Жс", "Дс", "Сc", "Ср", "Бс", "Жм", "Сб"],
longhand: [
"Жексенбi",
"Дүйсенбi",
"Сейсенбi",
"Сәрсенбi",
"Бейсенбi",
"Жұма",
"Сенбi",
],
},
months: {
shorthand: [
"Қаң",
"Ақп",
"Нау",
"Сәу",
"Мам",
"Мау",
"Шiл",
"Там",
"Қыр",
"Қаз",
"Қар",
"Жел",
],
longhand: [
"Қаңтар",
"Ақпан",
"Наурыз",
"Сәуiр",
"Мамыр",
"Маусым",
"Шiлде",
"Тамыз",
"Қыркүйек",
"Қазан",
"Қараша",
"Желтоқсан",
],
},
firstDayOfWeek: 1,
ordinal: function () {
return "";
},
rangeSeparator: " — ",
weekAbbreviation: "Апта",
scrollTitle: "Үлкейту үшін айналдырыңыз",
toggleTitle: "Ауыстыру үшін басыңыз",
amPM: ["ТД", "ТК"],
yearAriaLabel: "Жыл",
};
fp.l10ns.kz = Kazakh;
export default fp.l10ns;
dist/esm/l10n/sk.js 0000644 00000002253 15167673015 0010035 0 ustar 00 var fp = typeof window !== "undefined" && window.flatpickr !== undefined
? window.flatpickr
: {
l10ns: {},
};
export var Slovak = {
weekdays: {
shorthand: ["Ned", "Pon", "Ut", "Str", "Štv", "Pia", "Sob"],
longhand: [
"Nedeľa",
"Pondelok",
"Utorok",
"Streda",
"Štvrtok",
"Piatok",
"Sobota",
],
},
months: {
shorthand: [
"Jan",
"Feb",
"Mar",
"Apr",
"Máj",
"Jún",
"Júl",
"Aug",
"Sep",
"Okt",
"Nov",
"Dec",
],
longhand: [
"Január",
"Február",
"Marec",
"Apríl",
"Máj",
"Jún",
"Júl",
"August",
"September",
"Október",
"November",
"December",
],
},
firstDayOfWeek: 1,
rangeSeparator: " do ",
time_24hr: true,
ordinal: function () {
return ".";
},
};
fp.l10ns.sk = Slovak;
export default fp.l10ns;
dist/esm/l10n/sq.js 0000644 00000002403 15167673015 0010040 0 ustar 00 var fp = typeof window !== "undefined" && window.flatpickr !== undefined
? window.flatpickr
: {
l10ns: {},
};
export var Albanian = {
weekdays: {
shorthand: ["Di", "Hë", "Ma", "Më", "En", "Pr", "Sh"],
longhand: [
"E Diel",
"E Hënë",
"E Martë",
"E Mërkurë",
"E Enjte",
"E Premte",
"E Shtunë",
],
},
months: {
shorthand: [
"Jan",
"Shk",
"Mar",
"Pri",
"Maj",
"Qer",
"Kor",
"Gus",
"Sht",
"Tet",
"Nën",
"Dhj",
],
longhand: [
"Janar",
"Shkurt",
"Mars",
"Prill",
"Maj",
"Qershor",
"Korrik",
"Gusht",
"Shtator",
"Tetor",
"Nëntor",
"Dhjetor",
],
},
firstDayOfWeek: 1,
rangeSeparator: " deri ",
weekAbbreviation: "Java",
yearAriaLabel: "Viti",
monthAriaLabel: "Muaji",
hourAriaLabel: "Ora",
minuteAriaLabel: "Minuta",
time_24hr: true,
};
fp.l10ns.sq = Albanian;
export default fp.l10ns;
dist/esm/l10n/da.js 0000644 00000002303 15167673015 0010000 0 ustar 00 var fp = typeof window !== "undefined" && window.flatpickr !== undefined
? window.flatpickr
: {
l10ns: {},
};
export var Danish = {
weekdays: {
shorthand: ["søn", "man", "tir", "ons", "tors", "fre", "lør"],
longhand: [
"søndag",
"mandag",
"tirsdag",
"onsdag",
"torsdag",
"fredag",
"lørdag",
],
},
months: {
shorthand: [
"jan",
"feb",
"mar",
"apr",
"maj",
"jun",
"jul",
"aug",
"sep",
"okt",
"nov",
"dec",
],
longhand: [
"januar",
"februar",
"marts",
"april",
"maj",
"juni",
"juli",
"august",
"september",
"oktober",
"november",
"december",
],
},
ordinal: function () {
return ".";
},
firstDayOfWeek: 1,
rangeSeparator: " til ",
weekAbbreviation: "uge",
time_24hr: true,
};
fp.l10ns.da = Danish;
export default fp.l10ns;
dist/esm/l10n/gr.js 0000644 00000003271 15167673015 0010031 0 ustar 00 var fp = typeof window !== "undefined" && window.flatpickr !== undefined
? window.flatpickr
: {
l10ns: {},
};
export var Greek = {
weekdays: {
shorthand: ["Κυ", "Δε", "Τρ", "Τε", "Πέ", "Πα", "Σά"],
longhand: [
"Κυριακή",
"Δευτέρα",
"Τρίτη",
"Τετάρτη",
"Πέμπτη",
"Παρασκευή",
"Σάββατο",
],
},
months: {
shorthand: [
"Ιαν",
"Φεβ",
"Μάρ",
"Απρ",
"Μάι",
"Ιούν",
"Ιούλ",
"Αύγ",
"Σεπ",
"Οκτ",
"Νοέ",
"Δεκ",
],
longhand: [
"Ιανουάριος",
"Φεβρουάριος",
"Μάρτιος",
"Απρίλιος",
"Μάιος",
"Ιούνιος",
"Ιούλιος",
"Αύγουστος",
"Σεπτέμβριος",
"Οκτώβριος",
"Νοέμβριος",
"Δεκέμβριος",
],
},
firstDayOfWeek: 1,
ordinal: function () {
return "";
},
weekAbbreviation: "Εβδ",
rangeSeparator: " έως ",
scrollTitle: "Μετακυλήστε για προσαύξηση",
toggleTitle: "Κάντε κλικ για αλλαγή",
amPM: ["ΠΜ", "ΜΜ"],
yearAriaLabel: "χρόνος",
monthAriaLabel: "μήνας",
hourAriaLabel: "ώρα",
minuteAriaLabel: "λεπτό",
};
fp.l10ns.gr = Greek;
export default fp.l10ns;
dist/esm/l10n/ru.js 0000644 00000003067 15167673015 0010052 0 ustar 00 var fp = typeof window !== "undefined" && window.flatpickr !== undefined
? window.flatpickr
: {
l10ns: {},
};
export var Russian = {
weekdays: {
shorthand: ["Вс", "Пн", "Вт", "Ср", "Чт", "Пт", "Сб"],
longhand: [
"Воскресенье",
"Понедельник",
"Вторник",
"Среда",
"Четверг",
"Пятница",
"Суббота",
],
},
months: {
shorthand: [
"Янв",
"Фев",
"Март",
"Апр",
"Май",
"Июнь",
"Июль",
"Авг",
"Сен",
"Окт",
"Ноя",
"Дек",
],
longhand: [
"Январь",
"Февраль",
"Март",
"Апрель",
"Май",
"Июнь",
"Июль",
"Август",
"Сентябрь",
"Октябрь",
"Ноябрь",
"Декабрь",
],
},
firstDayOfWeek: 1,
ordinal: function () {
return "";
},
rangeSeparator: " — ",
weekAbbreviation: "Нед.",
scrollTitle: "Прокрутите для увеличения",
toggleTitle: "Нажмите для переключения",
amPM: ["ДП", "ПП"],
yearAriaLabel: "Год",
time_24hr: true,
};
fp.l10ns.ru = Russian;
export default fp.l10ns;
dist/esm/l10n/ko.js 0000644 00000002242 15167673015 0010027 0 ustar 00 var fp = typeof window !== "undefined" && window.flatpickr !== undefined
? window.flatpickr
: {
l10ns: {},
};
export var Korean = {
weekdays: {
shorthand: ["일", "월", "화", "수", "목", "금", "토"],
longhand: [
"일요일",
"월요일",
"화요일",
"수요일",
"목요일",
"금요일",
"토요일",
],
},
months: {
shorthand: [
"1월",
"2월",
"3월",
"4월",
"5월",
"6월",
"7월",
"8월",
"9월",
"10월",
"11월",
"12월",
],
longhand: [
"1월",
"2월",
"3월",
"4월",
"5월",
"6월",
"7월",
"8월",
"9월",
"10월",
"11월",
"12월",
],
},
ordinal: function () {
return "일";
},
rangeSeparator: " ~ ",
amPM: ["오전", "오후"],
};
fp.l10ns.ko = Korean;
export default fp.l10ns;
dist/esm/l10n/si.js 0000644 00000002730 15167673015 0010033 0 ustar 00 var fp = typeof window !== "undefined" && window.flatpickr !== undefined
? window.flatpickr
: {
l10ns: {},
};
export var Sinhala = {
weekdays: {
shorthand: ["ඉ", "ස", "අ", "බ", "බ්ර", "සි", "සෙ"],
longhand: [
"ඉරිදා",
"සඳුදා",
"අඟහරුවාදා",
"බදාදා",
"බ්රහස්පතින්දා",
"සිකුරාදා",
"සෙනසුරාදා",
],
},
months: {
shorthand: [
"ජන",
"පෙබ",
"මාර්",
"අප්රේ",
"මැයි",
"ජුනි",
"ජූලි",
"අගෝ",
"සැප්",
"ඔක්",
"නොවැ",
"දෙසැ",
],
longhand: [
"ජනවාරි",
"පෙබරවාරි",
"මාර්තු",
"අප්රේල්",
"මැයි",
"ජුනි",
"ජූලි",
"අගෝස්තු",
"සැප්තැම්බර්",
"ඔක්තෝබර්",
"නොවැම්බර්",
"දෙසැම්බර්",
],
},
time_24hr: true,
};
fp.l10ns.si = Sinhala;
export default fp.l10ns;
dist/esm/l10n/uk.js 0000644 00000002422 15167673015 0010035 0 ustar 00 var fp = typeof window !== "undefined" && window.flatpickr !== undefined
? window.flatpickr
: {
l10ns: {},
};
export var Ukrainian = {
firstDayOfWeek: 1,
weekdays: {
shorthand: ["Нд", "Пн", "Вт", "Ср", "Чт", "Пт", "Сб"],
longhand: [
"Неділя",
"Понеділок",
"Вівторок",
"Середа",
"Четвер",
"П'ятниця",
"Субота",
],
},
months: {
shorthand: [
"Січ",
"Лют",
"Бер",
"Кві",
"Тра",
"Чер",
"Лип",
"Сер",
"Вер",
"Жов",
"Лис",
"Гру",
],
longhand: [
"Січень",
"Лютий",
"Березень",
"Квітень",
"Травень",
"Червень",
"Липень",
"Серпень",
"Вересень",
"Жовтень",
"Листопад",
"Грудень",
],
},
time_24hr: true,
};
fp.l10ns.uk = Ukrainian;
export default fp.l10ns;
dist/esm/l10n/hi.js 0000644 00000002571 15167673015 0010023 0 ustar 00 var fp = typeof window !== "undefined" && window.flatpickr !== undefined
? window.flatpickr
: {
l10ns: {},
};
export var Hindi = {
weekdays: {
shorthand: ["रवि", "सोम", "मंगल", "बुध", "गुरु", "शुक्र", "शनि"],
longhand: [
"रविवार",
"सोमवार",
"मंगलवार",
"बुधवार",
"गुरुवार",
"शुक्रवार",
"शनिवार",
],
},
months: {
shorthand: [
"जन",
"फर",
"मार्च",
"अप्रेल",
"मई",
"जून",
"जूलाई",
"अग",
"सित",
"अक्ट",
"नव",
"दि",
],
longhand: [
"जनवरी ",
"फरवरी",
"मार्च",
"अप्रेल",
"मई",
"जून",
"जूलाई",
"अगस्त ",
"सितम्बर",
"अक्टूबर",
"नवम्बर",
"दिसम्बर",
],
},
};
fp.l10ns.hi = Hindi;
export default fp.l10ns;
dist/esm/l10n/km.js 0000644 00000003443 15167673015 0010031 0 ustar 00 var fp = typeof window !== "undefined" && window.flatpickr !== undefined
? window.flatpickr
: {
l10ns: {},
};
export var Khmer = {
weekdays: {
shorthand: ["អាទិត្យ", "ចន្ទ", "អង្គារ", "ពុធ", "ព្រហស.", "សុក្រ", "សៅរ៍"],
longhand: [
"អាទិត្យ",
"ចន្ទ",
"អង្គារ",
"ពុធ",
"ព្រហស្បតិ៍",
"សុក្រ",
"សៅរ៍",
],
},
months: {
shorthand: [
"មករា",
"កុម្ភះ",
"មីនា",
"មេសា",
"ឧសភា",
"មិថុនា",
"កក្កដា",
"សីហា",
"កញ្ញា",
"តុលា",
"វិច្ឆិកា",
"ធ្នូ",
],
longhand: [
"មករា",
"កុម្ភះ",
"មីនា",
"មេសា",
"ឧសភា",
"មិថុនា",
"កក្កដា",
"សីហា",
"កញ្ញា",
"តុលា",
"វិច្ឆិកា",
"ធ្នូ",
],
},
ordinal: function () {
return "";
},
firstDayOfWeek: 1,
rangeSeparator: " ដល់ ",
weekAbbreviation: "សប្តាហ៍",
scrollTitle: "រំកិលដើម្បីបង្កើន",
toggleTitle: "ចុចដើម្បីផ្លាស់ប្ដូរ",
yearAriaLabel: "ឆ្នាំ",
time_24hr: true,
};
fp.l10ns.km = Khmer;
export default fp.l10ns;
dist/esm/l10n/lt.js 0000644 00000002526 15167673015 0010042 0 ustar 00 var fp = typeof window !== "undefined" && window.flatpickr !== undefined
? window.flatpickr
: {
l10ns: {},
};
export var Lithuanian = {
weekdays: {
shorthand: ["S", "Pr", "A", "T", "K", "Pn", "Š"],
longhand: [
"Sekmadienis",
"Pirmadienis",
"Antradienis",
"Trečiadienis",
"Ketvirtadienis",
"Penktadienis",
"Šeštadienis",
],
},
months: {
shorthand: [
"Sau",
"Vas",
"Kov",
"Bal",
"Geg",
"Bir",
"Lie",
"Rgp",
"Rgs",
"Spl",
"Lap",
"Grd",
],
longhand: [
"Sausis",
"Vasaris",
"Kovas",
"Balandis",
"Gegužė",
"Birželis",
"Liepa",
"Rugpjūtis",
"Rugsėjis",
"Spalis",
"Lapkritis",
"Gruodis",
],
},
firstDayOfWeek: 1,
ordinal: function () {
return "-a";
},
rangeSeparator: " iki ",
weekAbbreviation: "Sav",
scrollTitle: "Keisti laiką pelės rateliu",
toggleTitle: "Perjungti laiko formatą",
time_24hr: true,
};
fp.l10ns.lt = Lithuanian;
export default fp.l10ns;
dist/esm/l10n/zh.js 0000644 00000002415 15167673015 0010041 0 ustar 00 var fp = typeof window !== "undefined" && window.flatpickr !== undefined
? window.flatpickr
: {
l10ns: {},
};
export var Mandarin = {
weekdays: {
shorthand: ["周日", "周一", "周二", "周三", "周四", "周五", "周六"],
longhand: [
"星期日",
"星期一",
"星期二",
"星期三",
"星期四",
"星期五",
"星期六",
],
},
months: {
shorthand: [
"一月",
"二月",
"三月",
"四月",
"五月",
"六月",
"七月",
"八月",
"九月",
"十月",
"十一月",
"十二月",
],
longhand: [
"一月",
"二月",
"三月",
"四月",
"五月",
"六月",
"七月",
"八月",
"九月",
"十月",
"十一月",
"十二月",
],
},
rangeSeparator: " 至 ",
weekAbbreviation: "周",
scrollTitle: "滚动切换",
toggleTitle: "点击切换 12/24 小时时制",
};
fp.l10ns.zh = Mandarin;
export default fp.l10ns;
dist/esm/l10n/tr.js 0000644 00000002453 15167673015 0010047 0 ustar 00 var fp = typeof window !== "undefined" && window.flatpickr !== undefined
? window.flatpickr
: {
l10ns: {},
};
export var Turkish = {
weekdays: {
shorthand: ["Paz", "Pzt", "Sal", "Çar", "Per", "Cum", "Cmt"],
longhand: [
"Pazar",
"Pazartesi",
"Salı",
"Çarşamba",
"Perşembe",
"Cuma",
"Cumartesi",
],
},
months: {
shorthand: [
"Oca",
"Şub",
"Mar",
"Nis",
"May",
"Haz",
"Tem",
"Ağu",
"Eyl",
"Eki",
"Kas",
"Ara",
],
longhand: [
"Ocak",
"Şubat",
"Mart",
"Nisan",
"Mayıs",
"Haziran",
"Temmuz",
"Ağustos",
"Eylül",
"Ekim",
"Kasım",
"Aralık",
],
},
firstDayOfWeek: 1,
ordinal: function () {
return ".";
},
rangeSeparator: " - ",
weekAbbreviation: "Hf",
scrollTitle: "Artırmak için kaydırın",
toggleTitle: "Aç/Kapa",
amPM: ["ÖÖ", "ÖS"],
time_24hr: true,
};
fp.l10ns.tr = Turkish;
export default fp.l10ns;
dist/esm/l10n/bn.js 0000644 00000002753 15167673015 0010024 0 ustar 00 var fp = typeof window !== "undefined" && window.flatpickr !== undefined
? window.flatpickr
: {
l10ns: {},
};
export var Bangla = {
weekdays: {
shorthand: ["রবি", "সোম", "মঙ্গল", "বুধ", "বৃহস্পতি", "শুক্র", "শনি"],
longhand: [
"রবিবার",
"সোমবার",
"মঙ্গলবার",
"বুধবার",
"বৃহস্পতিবার",
"শুক্রবার",
"শনিবার",
],
},
months: {
shorthand: [
"জানু",
"ফেব্রু",
"মার্চ",
"এপ্রিল",
"মে",
"জুন",
"জুলাই",
"আগ",
"সেপ্টে",
"অক্টো",
"নভে",
"ডিসে",
],
longhand: [
"জানুয়ারী",
"ফেব্রুয়ারী",
"মার্চ",
"এপ্রিল",
"মে",
"জুন",
"জুলাই",
"আগস্ট",
"সেপ্টেম্বর",
"অক্টোবর",
"নভেম্বর",
"ডিসেম্বর",
],
},
};
fp.l10ns.bn = Bangla;
export default fp.l10ns;
dist/esm/l10n/az.js 0000644 00000002530 15167673015 0010030 0 ustar 00 var fp = typeof window !== "undefined" && window.flatpickr !== undefined
? window.flatpickr
: {
l10ns: {},
};
export var Azerbaijan = {
weekdays: {
shorthand: ["B.", "B.e.", "Ç.a.", "Ç.", "C.a.", "C.", "Ş."],
longhand: [
"Bazar",
"Bazar ertəsi",
"Çərşənbə axşamı",
"Çərşənbə",
"Cümə axşamı",
"Cümə",
"Şənbə",
],
},
months: {
shorthand: [
"Yan",
"Fev",
"Mar",
"Apr",
"May",
"İyn",
"İyl",
"Avq",
"Sen",
"Okt",
"Noy",
"Dek",
],
longhand: [
"Yanvar",
"Fevral",
"Mart",
"Aprel",
"May",
"İyun",
"İyul",
"Avqust",
"Sentyabr",
"Oktyabr",
"Noyabr",
"Dekabr",
],
},
firstDayOfWeek: 1,
ordinal: function () {
return ".";
},
rangeSeparator: " - ",
weekAbbreviation: "Hf",
scrollTitle: "Artırmaq üçün sürüşdürün",
toggleTitle: "Aç / Bağla",
amPM: ["GƏ", "GS"],
time_24hr: true,
};
fp.l10ns.az = Azerbaijan;
export default fp.l10ns;
dist/esm/l10n/eo.js 0000644 00000002457 15167673015 0010031 0 ustar 00 var fp = typeof window !== "undefined" && window.flatpickr !== undefined
? window.flatpickr
: {
l10ns: {},
};
export var Esperanto = {
firstDayOfWeek: 1,
rangeSeparator: " ĝis ",
weekAbbreviation: "Sem",
scrollTitle: "Rulumu por pligrandigi la valoron",
toggleTitle: "Klaku por ŝalti",
weekdays: {
shorthand: ["Dim", "Lun", "Mar", "Mer", "Ĵaŭ", "Ven", "Sab"],
longhand: [
"dimanĉo",
"lundo",
"mardo",
"merkredo",
"ĵaŭdo",
"vendredo",
"sabato",
],
},
months: {
shorthand: [
"Jan",
"Feb",
"Mar",
"Apr",
"Maj",
"Jun",
"Jul",
"Aŭg",
"Sep",
"Okt",
"Nov",
"Dec",
],
longhand: [
"januaro",
"februaro",
"marto",
"aprilo",
"majo",
"junio",
"julio",
"aŭgusto",
"septembro",
"oktobro",
"novembro",
"decembro",
],
},
ordinal: function () {
return "-a";
},
time_24hr: true,
};
fp.l10ns.eo = Esperanto;
export default fp.l10ns;
dist/esm/plugins/confirmDate/confirmDate.js 0000644 00000006426 15167673015 0015023 0 ustar 00 var __assign = (this && this.__assign) || function () {
__assign = Object.assign || function(t) {
for (var s, i = 1, n = arguments.length; i < n; i++) {
s = arguments[i];
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
t[p] = s[p];
}
return t;
};
return __assign.apply(this, arguments);
};
import { getEventTarget } from "../../utils/dom";
var defaultConfig = {
confirmIcon: "<svg version='1.1' xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' width='17' height='17' viewBox='0 0 17 17'> <g> </g> <path d='M15.418 1.774l-8.833 13.485-4.918-4.386 0.666-0.746 4.051 3.614 8.198-12.515 0.836 0.548z' fill='#000000' /> </svg>",
confirmText: "OK ",
showAlways: false,
theme: "light",
};
function confirmDatePlugin(pluginConfig) {
var config = __assign(__assign({}, defaultConfig), pluginConfig);
var confirmContainer;
var confirmButtonCSSClass = "flatpickr-confirm";
return function (fp) {
if (fp.config.noCalendar || fp.isMobile)
return {};
return __assign({ onKeyDown: function (_, __, ___, e) {
var eventTarget = getEventTarget(e);
var isTargetLastFocusableElement = (!fp.config.time_24hr && eventTarget === fp.amPM) ||
(fp.config.time_24hr &&
((fp.config.enableSeconds && eventTarget === fp.secondElement) ||
(!fp.config.enableSeconds && eventTarget === fp.minuteElement)));
if (fp.config.enableTime &&
e.key === "Tab" &&
isTargetLastFocusableElement) {
e.preventDefault();
confirmContainer.focus();
}
else if (e.key === "Enter" && eventTarget === confirmContainer)
fp.close();
},
onReady: function () {
confirmContainer = fp._createElement("div", confirmButtonCSSClass + " " + (config.showAlways ? "visible" : "") + " " + config.theme + "Theme", config.confirmText);
confirmContainer.tabIndex = -1;
confirmContainer.innerHTML += config.confirmIcon;
confirmContainer.addEventListener("click", fp.close);
fp.calendarContainer.appendChild(confirmContainer);
fp.loadedPlugins.push("confirmDate");
} }, (!config.showAlways
? {
onChange: function (_, dateStr) {
var showCondition = fp.config.enableTime ||
fp.config.mode === "multiple" ||
fp.loadedPlugins.indexOf("monthSelect") !== -1;
var localConfirmContainer = fp.calendarContainer.querySelector("." + confirmButtonCSSClass);
if (!localConfirmContainer)
return;
if (dateStr &&
!fp.config.inline &&
showCondition &&
localConfirmContainer)
return localConfirmContainer.classList.add("visible");
localConfirmContainer.classList.remove("visible");
},
}
: {}));
};
}
export default confirmDatePlugin;
dist/esm/plugins/scrollPlugin.js 0000644 00000004724 15167673015 0013011 0 ustar 00 import { getEventTarget } from "../utils/dom";
if (typeof window.CustomEvent !== "function") {
var CustomEvent_1 = function (typeArg, eventInitDict) {
eventInitDict = eventInitDict || {
bubbles: false,
cancelable: false,
detail: undefined,
};
var evt = document.createEvent("CustomEvent");
evt.initCustomEvent(typeArg, eventInitDict.bubbles, eventInitDict.cancelable, eventInitDict.detail);
return evt;
};
CustomEvent_1.prototype = window.Event.prototype;
window.CustomEvent = CustomEvent_1;
}
function delta(e) {
return Math.max(-1, Math.min(1, e.wheelDelta || -e.deltaY));
}
var scroll = function (e) {
e.preventDefault();
var ev = new CustomEvent("increment", {
bubbles: true,
});
ev.delta = delta(e);
getEventTarget(e).dispatchEvent(ev);
};
function scrollMonth(fp) {
return function (e) {
e.preventDefault();
var mDelta = delta(e);
fp.changeMonth(mDelta);
};
}
function scrollPlugin() {
return function (fp) {
var monthScroller = scrollMonth(fp);
return {
onReady: function () {
if (fp.timeContainer) {
fp.timeContainer.addEventListener("wheel", scroll);
}
if (fp.yearElements) {
fp.yearElements.forEach(function (yearElem) {
return yearElem.addEventListener("wheel", scroll);
});
}
if (fp.monthElements) {
fp.monthElements.forEach(function (monthElem) {
return monthElem.addEventListener("wheel", monthScroller);
});
}
fp.loadedPlugins.push("scroll");
},
onDestroy: function () {
if (fp.timeContainer) {
fp.timeContainer.removeEventListener("wheel", scroll);
}
if (fp.yearElements) {
fp.yearElements.forEach(function (yearElem) {
return yearElem.removeEventListener("wheel", scroll);
});
}
if (fp.monthElements) {
fp.monthElements.forEach(function (monthElem) {
return monthElem.removeEventListener("wheel", monthScroller);
});
}
},
};
};
}
export default scrollPlugin;
dist/esm/plugins/weekSelect/weekSelect.js 0000644 00000006061 15167673015 0014516 0 ustar 00 import { getEventTarget } from "../../utils/dom";
function weekSelectPlugin() {
return function (fp) {
function onDayHover(event) {
var day = getEventTarget(event);
if (!day.classList.contains("flatpickr-day"))
return;
var days = fp.days.childNodes;
var dayIndex = day.$i;
var dayIndSeven = dayIndex / 7;
var weekStartDay = days[7 * Math.floor(dayIndSeven)]
.dateObj;
var weekEndDay = days[7 * Math.ceil(dayIndSeven + 0.01) - 1].dateObj;
for (var i = days.length; i--;) {
var day_1 = days[i];
var date = day_1.dateObj;
if (date > weekEndDay || date < weekStartDay)
day_1.classList.remove("inRange");
else
day_1.classList.add("inRange");
}
}
function highlightWeek() {
var selDate = fp.latestSelectedDateObj;
if (selDate !== undefined &&
selDate.getMonth() === fp.currentMonth &&
selDate.getFullYear() === fp.currentYear) {
fp.weekStartDay = fp.days.childNodes[7 * Math.floor(fp.selectedDateElem.$i / 7)].dateObj;
fp.weekEndDay = fp.days.childNodes[7 * Math.ceil(fp.selectedDateElem.$i / 7 + 0.01) - 1].dateObj;
}
var days = fp.days.childNodes;
for (var i = days.length; i--;) {
var date = days[i].dateObj;
if (date >= fp.weekStartDay && date <= fp.weekEndDay)
days[i].classList.add("week", "selected");
}
}
function clearHover() {
var days = fp.days.childNodes;
for (var i = days.length; i--;)
days[i].classList.remove("inRange");
}
function onReady() {
if (fp.daysContainer !== undefined)
fp.daysContainer.addEventListener("mouseover", onDayHover);
}
function onDestroy() {
if (fp.daysContainer !== undefined)
fp.daysContainer.removeEventListener("mouseover", onDayHover);
}
return {
onValueUpdate: highlightWeek,
onMonthChange: highlightWeek,
onYearChange: highlightWeek,
onOpen: highlightWeek,
onClose: clearHover,
onParseConfig: function () {
fp.config.mode = "single";
fp.config.enableTime = false;
fp.config.dateFormat = fp.config.dateFormat
? fp.config.dateFormat
: "\\W\\e\\e\\k #W, Y";
fp.config.altFormat = fp.config.altFormat
? fp.config.altFormat
: "\\W\\e\\e\\k #W, Y";
},
onReady: [
onReady,
highlightWeek,
function () {
fp.loadedPlugins.push("weekSelect");
},
],
onDestroy: onDestroy,
};
};
}
export default weekSelectPlugin;
dist/esm/plugins/monthSelect/index.js 0000644 00000025167 15167673015 0013734 0 ustar 00 var __assign = (this && this.__assign) || function () {
__assign = Object.assign || function(t) {
for (var s, i = 1, n = arguments.length; i < n; i++) {
s = arguments[i];
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
t[p] = s[p];
}
return t;
};
return __assign.apply(this, arguments);
};
import { monthToStr } from "../../utils/formatting";
import { clearNode, getEventTarget } from "../../utils/dom";
var defaultConfig = {
shorthand: false,
dateFormat: "F Y",
altFormat: "F Y",
theme: "light",
};
function monthSelectPlugin(pluginConfig) {
var config = __assign(__assign({}, defaultConfig), pluginConfig);
return function (fp) {
fp.config.dateFormat = config.dateFormat;
fp.config.altFormat = config.altFormat;
var self = { monthsContainer: null };
function clearUnnecessaryDOMElements() {
if (!fp.rContainer)
return;
clearNode(fp.rContainer);
for (var index = 0; index < fp.monthElements.length; index++) {
var element = fp.monthElements[index];
if (!element.parentNode)
continue;
element.parentNode.removeChild(element);
}
}
function build() {
if (!fp.rContainer)
return;
self.monthsContainer = fp._createElement("div", "flatpickr-monthSelect-months");
self.monthsContainer.tabIndex = -1;
buildMonths();
fp.rContainer.appendChild(self.monthsContainer);
fp.calendarContainer.classList.add("flatpickr-monthSelect-theme-" + config.theme);
}
function buildMonths() {
if (!self.monthsContainer)
return;
clearNode(self.monthsContainer);
var frag = document.createDocumentFragment();
for (var i = 0; i < 12; i++) {
var month = fp.createDay("flatpickr-monthSelect-month", new Date(fp.currentYear, i), 0, i);
if (month.dateObj.getMonth() === new Date().getMonth() &&
month.dateObj.getFullYear() === new Date().getFullYear())
month.classList.add("today");
month.textContent = monthToStr(i, config.shorthand, fp.l10n);
month.addEventListener("click", selectMonth);
frag.appendChild(month);
}
self.monthsContainer.appendChild(frag);
if (fp.config.minDate &&
fp.currentYear === fp.config.minDate.getFullYear())
fp.prevMonthNav.classList.add("flatpickr-disabled");
else
fp.prevMonthNav.classList.remove("flatpickr-disabled");
if (fp.config.maxDate &&
fp.currentYear === fp.config.maxDate.getFullYear())
fp.nextMonthNav.classList.add("flatpickr-disabled");
else
fp.nextMonthNav.classList.remove("flatpickr-disabled");
}
function bindEvents() {
fp._bind(fp.prevMonthNav, "click", function (e) {
e.preventDefault();
e.stopPropagation();
fp.changeYear(fp.currentYear - 1);
selectYear();
buildMonths();
});
fp._bind(fp.nextMonthNav, "click", function (e) {
e.preventDefault();
e.stopPropagation();
fp.changeYear(fp.currentYear + 1);
selectYear();
buildMonths();
});
fp._bind(self.monthsContainer, "mouseover", function (e) {
if (fp.config.mode === "range")
fp.onMouseOver(getEventTarget(e), "flatpickr-monthSelect-month");
});
}
function setCurrentlySelected() {
if (!fp.rContainer)
return;
if (!fp.selectedDates.length)
return;
var currentlySelected = fp.rContainer.querySelectorAll(".flatpickr-monthSelect-month.selected");
for (var index = 0; index < currentlySelected.length; index++) {
currentlySelected[index].classList.remove("selected");
}
var targetMonth = fp.selectedDates[0].getMonth();
var month = fp.rContainer.querySelector(".flatpickr-monthSelect-month:nth-child(" + (targetMonth + 1) + ")");
if (month) {
month.classList.add("selected");
}
}
function selectYear() {
var selectedDate = fp.selectedDates[0];
if (selectedDate) {
selectedDate = new Date(selectedDate);
selectedDate.setFullYear(fp.currentYear);
if (fp.config.minDate && selectedDate < fp.config.minDate) {
selectedDate = fp.config.minDate;
}
if (fp.config.maxDate && selectedDate > fp.config.maxDate) {
selectedDate = fp.config.maxDate;
}
fp.currentYear = selectedDate.getFullYear();
}
fp.currentYearElement.value = String(fp.currentYear);
if (fp.rContainer) {
var months = fp.rContainer.querySelectorAll(".flatpickr-monthSelect-month");
months.forEach(function (month) {
month.dateObj.setFullYear(fp.currentYear);
if ((fp.config.minDate && month.dateObj < fp.config.minDate) ||
(fp.config.maxDate && month.dateObj > fp.config.maxDate)) {
month.classList.add("flatpickr-disabled");
}
else {
month.classList.remove("flatpickr-disabled");
}
});
}
setCurrentlySelected();
}
function selectMonth(e) {
e.preventDefault();
e.stopPropagation();
var eventTarget = getEventTarget(e);
if (!(eventTarget instanceof Element))
return;
if (eventTarget.classList.contains("flatpickr-disabled"))
return;
if (eventTarget.classList.contains("notAllowed"))
return;
setMonth(eventTarget.dateObj);
if (fp.config.closeOnSelect) {
var single = fp.config.mode === "single";
var range = fp.config.mode === "range" && fp.selectedDates.length === 2;
if (single || range)
fp.close();
}
}
function setMonth(date) {
var selectedDate = new Date(fp.currentYear, date.getMonth(), date.getDate());
var selectedDates = [];
switch (fp.config.mode) {
case "single":
selectedDates = [selectedDate];
break;
case "multiple":
selectedDates.push(selectedDate);
break;
case "range":
if (fp.selectedDates.length === 2) {
selectedDates = [selectedDate];
}
else {
selectedDates = fp.selectedDates.concat([selectedDate]);
selectedDates.sort(function (a, b) { return a.getTime() - b.getTime(); });
}
break;
}
fp.setDate(selectedDates, true);
setCurrentlySelected();
}
var shifts = {
37: -1,
39: 1,
40: 3,
38: -3,
};
function onKeyDown(_, __, ___, e) {
var shouldMove = shifts[e.keyCode] !== undefined;
if (!shouldMove && e.keyCode !== 13) {
return;
}
if (!fp.rContainer || !self.monthsContainer)
return;
var currentlySelected = fp.rContainer.querySelector(".flatpickr-monthSelect-month.selected");
var index = Array.prototype.indexOf.call(self.monthsContainer.children, document.activeElement);
if (index === -1) {
var target = currentlySelected || self.monthsContainer.firstElementChild;
target.focus();
index = target.$i;
}
if (shouldMove) {
self.monthsContainer.children[(12 + index + shifts[e.keyCode]) % 12].focus();
}
else if (e.keyCode === 13 &&
self.monthsContainer.contains(document.activeElement)) {
setMonth(document.activeElement.dateObj);
}
}
function closeHook() {
var _a;
if (((_a = fp.config) === null || _a === void 0 ? void 0 : _a.mode) === "range" && fp.selectedDates.length === 1)
fp.clear(false);
if (!fp.selectedDates.length)
buildMonths();
}
function stubCurrentMonth() {
config._stubbedCurrentMonth = fp._initialDate.getMonth();
fp._initialDate.setMonth(config._stubbedCurrentMonth);
fp.currentMonth = config._stubbedCurrentMonth;
}
function unstubCurrentMonth() {
if (!config._stubbedCurrentMonth)
return;
fp._initialDate.setMonth(config._stubbedCurrentMonth);
fp.currentMonth = config._stubbedCurrentMonth;
delete config._stubbedCurrentMonth;
}
function destroyPluginInstance() {
if (self.monthsContainer !== null) {
var months = self.monthsContainer.querySelectorAll(".flatpickr-monthSelect-month");
for (var index = 0; index < months.length; index++) {
months[index].removeEventListener("click", selectMonth);
}
}
}
return {
onParseConfig: function () {
fp.config.enableTime = false;
},
onValueUpdate: setCurrentlySelected,
onKeyDown: onKeyDown,
onReady: [
stubCurrentMonth,
clearUnnecessaryDOMElements,
build,
bindEvents,
setCurrentlySelected,
function () {
fp.config.onClose.push(closeHook);
fp.loadedPlugins.push("monthSelect");
},
],
onDestroy: [
unstubCurrentMonth,
destroyPluginInstance,
function () {
fp.config.onClose = fp.config.onClose.filter(function (hook) { return hook !== closeHook; });
},
],
};
};
}
export default monthSelectPlugin;
dist/esm/plugins/minMaxTimePlugin.js 0000644 00000010421 15167673015 0013552 0 ustar 00 import { calculateSecondsSinceMidnight, compareDates, compareTimes, createDateFormatter, parseSeconds, } from "../utils/dates";
function minMaxTimePlugin(config) {
if (config === void 0) { config = {}; }
var state = {
formatDate: createDateFormatter({}),
tableDateFormat: config.tableDateFormat || "Y-m-d",
defaults: {
minTime: undefined,
maxTime: undefined,
},
};
function findDateTimeLimit(date) {
if (config.table !== undefined) {
return config.table[state.formatDate(date, state.tableDateFormat)];
}
return config.getTimeLimits && config.getTimeLimits(date);
}
return function (fp) {
return {
onReady: function () {
state.formatDate = this.formatDate;
state.defaults = {
minTime: this.config.minTime && state.formatDate(this.config.minTime, "H:i"),
maxTime: this.config.maxTime && state.formatDate(this.config.maxTime, "H:i"),
};
fp.loadedPlugins.push("minMaxTime");
},
onChange: function () {
var latest = this.latestSelectedDateObj;
var matchingTimeLimit = latest && findDateTimeLimit(latest);
if (latest && matchingTimeLimit !== undefined) {
this.set(matchingTimeLimit);
fp.config.minTime.setFullYear(latest.getFullYear());
fp.config.maxTime.setFullYear(latest.getFullYear());
fp.config.minTime.setMonth(latest.getMonth());
fp.config.maxTime.setMonth(latest.getMonth());
fp.config.minTime.setDate(latest.getDate());
fp.config.maxTime.setDate(latest.getDate());
if (fp.config.minTime > fp.config.maxTime) {
var minBound = calculateSecondsSinceMidnight(fp.config.minTime.getHours(), fp.config.minTime.getMinutes(), fp.config.minTime.getSeconds());
var maxBound = calculateSecondsSinceMidnight(fp.config.maxTime.getHours(), fp.config.maxTime.getMinutes(), fp.config.maxTime.getSeconds());
var currentTime = calculateSecondsSinceMidnight(latest.getHours(), latest.getMinutes(), latest.getSeconds());
if (currentTime > maxBound && currentTime < minBound) {
var result = parseSeconds(minBound);
fp.setDate(new Date(latest.getTime()).setHours(result[0], result[1], result[2]), false);
}
}
else {
if (compareDates(latest, fp.config.maxTime, false) > 0) {
fp.setDate(new Date(latest.getTime()).setHours(fp.config.maxTime.getHours(), fp.config.maxTime.getMinutes(), fp.config.maxTime.getSeconds(), fp.config.maxTime.getMilliseconds()), false);
}
else if (compareDates(latest, fp.config.minTime, false) < 0) {
fp.setDate(new Date(latest.getTime()).setHours(fp.config.minTime.getHours(), fp.config.minTime.getMinutes(), fp.config.minTime.getSeconds(), fp.config.minTime.getMilliseconds()), false);
}
}
}
else {
var newMinMax = state.defaults || {
minTime: undefined,
maxTime: undefined,
};
this.set(newMinMax);
if (!latest)
return;
var _a = fp.config, minTime = _a.minTime, maxTime = _a.maxTime;
if (minTime && compareTimes(latest, minTime) < 0) {
fp.setDate(new Date(latest.getTime()).setHours(minTime.getHours(), minTime.getMinutes(), minTime.getSeconds(), minTime.getMilliseconds()), false);
}
else if (maxTime && compareTimes(latest, maxTime) > 0) {
fp.setDate(new Date(latest.getTime()).setHours(maxTime.getHours(), maxTime.getMinutes(), maxTime.getSeconds(), maxTime.getMilliseconds()));
}
}
},
};
};
}
export default minMaxTimePlugin;
dist/esm/plugins/labelPlugin/labelPlugin.js 0000644 00000001173 15167673015 0015023 0 ustar 00 function labelPlugin() {
return function (fp) {
return {
onReady: function () {
var id = fp.input.id;
if (!id) {
return;
}
if (fp.mobileInput) {
fp.input.removeAttribute("id");
fp.mobileInput.id = id;
}
else if (fp.altInput) {
fp.input.removeAttribute("id");
fp.altInput.id = id;
}
fp.loadedPlugins.push("labelPlugin");
},
};
};
}
export default labelPlugin;
dist/esm/plugins/rangePlugin.js 0000644 00000015071 15167673015 0012604 0 ustar 00 var __spreadArrays = (this && this.__spreadArrays) || function () {
for (var s = 0, i = 0, il = arguments.length; i < il; i++) s += arguments[i].length;
for (var r = Array(s), k = 0, i = 0; i < il; i++)
for (var a = arguments[i], j = 0, jl = a.length; j < jl; j++, k++)
r[k] = a[j];
return r;
};
function rangePlugin(config) {
if (config === void 0) { config = {}; }
return function (fp) {
var dateFormat = "", secondInput, _secondInputFocused, _prevDates;
var createSecondInput = function () {
if (config.input) {
secondInput =
config.input instanceof Element
? config.input
: window.document.querySelector(config.input);
if (!secondInput) {
fp.config.errorHandler(new Error("Invalid input element specified"));
return;
}
if (fp.config.wrap) {
secondInput = secondInput.querySelector("[data-input]");
}
}
else {
secondInput = fp._input.cloneNode();
secondInput.removeAttribute("id");
secondInput._flatpickr = undefined;
}
if (secondInput.value) {
var parsedDate = fp.parseDate(secondInput.value);
if (parsedDate)
fp.selectedDates.push(parsedDate);
}
secondInput.setAttribute("data-fp-omit", "");
if (fp.config.clickOpens) {
fp._bind(secondInput, ["focus", "click"], function () {
if (fp.selectedDates[1]) {
fp.latestSelectedDateObj = fp.selectedDates[1];
fp._setHoursFromDate(fp.selectedDates[1]);
fp.jumpToDate(fp.selectedDates[1]);
}
_secondInputFocused = true;
fp.isOpen = false;
fp.open(undefined, config.position === "left" ? fp._input : secondInput);
});
fp._bind(fp._input, ["focus", "click"], function (e) {
e.preventDefault();
fp.isOpen = false;
fp.open();
});
}
if (fp.config.allowInput)
fp._bind(secondInput, "keydown", function (e) {
if (e.key === "Enter") {
fp.setDate([fp.selectedDates[0], secondInput.value], true, dateFormat);
secondInput.click();
}
});
if (!config.input)
fp._input.parentNode &&
fp._input.parentNode.insertBefore(secondInput, fp._input.nextSibling);
};
var plugin = {
onParseConfig: function () {
fp.config.mode = "range";
dateFormat = fp.config.altInput
? fp.config.altFormat
: fp.config.dateFormat;
},
onReady: function () {
createSecondInput();
fp.config.ignoredFocusElements.push(secondInput);
if (fp.config.allowInput) {
fp._input.removeAttribute("readonly");
secondInput.removeAttribute("readonly");
}
else {
secondInput.setAttribute("readonly", "readonly");
}
fp._bind(fp._input, "focus", function () {
fp.latestSelectedDateObj = fp.selectedDates[0];
fp._setHoursFromDate(fp.selectedDates[0]);
_secondInputFocused = false;
fp.jumpToDate(fp.selectedDates[0]);
});
if (fp.config.allowInput)
fp._bind(fp._input, "keydown", function (e) {
if (e.key === "Enter")
fp.setDate([fp._input.value, fp.selectedDates[1]], true, dateFormat);
});
fp.setDate(fp.selectedDates, false);
plugin.onValueUpdate(fp.selectedDates);
fp.loadedPlugins.push("range");
},
onPreCalendarPosition: function () {
if (_secondInputFocused) {
fp._positionElement = secondInput;
setTimeout(function () {
fp._positionElement = fp._input;
}, 0);
}
},
onChange: function () {
if (!fp.selectedDates.length) {
setTimeout(function () {
if (fp.selectedDates.length)
return;
secondInput.value = "";
_prevDates = [];
}, 10);
}
if (_secondInputFocused) {
setTimeout(function () {
secondInput.focus();
}, 0);
}
},
onDestroy: function () {
if (!config.input)
secondInput.parentNode &&
secondInput.parentNode.removeChild(secondInput);
},
onValueUpdate: function (selDates) {
var _a, _b, _c;
if (!secondInput)
return;
_prevDates =
!_prevDates || selDates.length >= _prevDates.length
? __spreadArrays(selDates) : _prevDates;
if (_prevDates.length > selDates.length) {
var newSelectedDate = selDates[0];
var newDates = _secondInputFocused
? [_prevDates[0], newSelectedDate]
: [newSelectedDate, _prevDates[1]];
if (newDates[0].getTime() > newDates[1].getTime()) {
if (_secondInputFocused) {
newDates[0] = newDates[1];
}
else {
newDates[1] = newDates[0];
}
}
fp.setDate(newDates, false);
_prevDates = __spreadArrays(newDates);
}
_a = fp.selectedDates.map(function (d) { return fp.formatDate(d, dateFormat); }), _b = _a[0], fp._input.value = _b === void 0 ? "" : _b, _c = _a[1], secondInput.value = _c === void 0 ? "" : _c;
},
};
return plugin;
};
}
export default rangePlugin;
dist/esm/plugins/momentPlugin.js 0000644 00000003603 15167673015 0013005 0 ustar 00 import { getEventTarget } from "../utils/dom";
function momentPlugin(config) {
var moment = config.moment;
return function (fp) {
function captureIncrement(e) {
var event = e;
event.stopPropagation();
var date = moment(fp.selectedDates[0]);
var input = getEventTarget(event);
var unit = Array.from(input.classList)
.filter(function (name) { return name.startsWith("flatpickr-"); })
.map(function (name) { return name.substring(10); })[0];
var step = parseFloat(input.getAttribute("step"));
date.add(step * event.delta, unit);
fp.setDate(date.toDate());
}
return {
parseDate: function (datestr, format) {
return moment(datestr, format, true).toDate();
},
formatDate: function (date, format) {
var momentDate = moment(date);
if (typeof fp.config.locale === "string") {
momentDate.locale(fp.config.locale);
}
return momentDate.format(format);
},
onReady: function () {
[fp.hourElement, fp.minuteElement, fp.secondElement].forEach(function (element) {
return element &&
element.addEventListener("increment", captureIncrement, {
capture: true,
});
});
},
onDestroy: function () {
[fp.hourElement, fp.minuteElement, fp.secondElement].forEach(function (element) {
return element &&
element.removeEventListener("increment", captureIncrement, {
capture: true,
});
});
},
};
};
}
export default momentPlugin;
dist/ie.css 0000644 00000000404 15167673015 0006627 0 ustar 00 span.flatpickr-weekday {
display: inline-block;
width: 14.2857143%;
}
span.flatpickr-day {
width: 14.2857143%;
margin: 0 2.491071428571428px;
}
@media screen and (min-width: 0\0) {
div.flatpickr-current-month {
padding-top: 0px !important;
}
}
dist/flatpickr.min.css 0000644 00000037446 15167673015 0011013 0 ustar 00 .flatpickr-calendar{background:transparent;opacity:0;display:none;text-align:center;visibility:hidden;padding:0;-webkit-animation:none;animation:none;direction:ltr;border:0;font-size:14px;line-height:24px;border-radius:5px;position:absolute;width:307.875px;-webkit-box-sizing:border-box;box-sizing:border-box;-ms-touch-action:manipulation;touch-action:manipulation;background:#fff;-webkit-box-shadow:1px 0 0 #e6e6e6,-1px 0 0 #e6e6e6,0 1px 0 #e6e6e6,0 -1px 0 #e6e6e6,0 3px 13px rgba(0,0,0,0.08);box-shadow:1px 0 0 #e6e6e6,-1px 0 0 #e6e6e6,0 1px 0 #e6e6e6,0 -1px 0 #e6e6e6,0 3px 13px rgba(0,0,0,0.08)}.flatpickr-calendar.open,.flatpickr-calendar.inline{opacity:1;max-height:640px;visibility:visible}.flatpickr-calendar.open{display:inline-block;z-index:99999}.flatpickr-calendar.animate.open{-webkit-animation:fpFadeInDown 300ms cubic-bezier(.23,1,.32,1);animation:fpFadeInDown 300ms cubic-bezier(.23,1,.32,1)}.flatpickr-calendar.inline{display:block;position:relative;top:2px}.flatpickr-calendar.static{position:absolute;top:calc(100% + 2px)}.flatpickr-calendar.static.open{z-index:999;display:block}.flatpickr-calendar.multiMonth .flatpickr-days .dayContainer:nth-child(n+1) .flatpickr-day.inRange:nth-child(7n+7){-webkit-box-shadow:none !important;box-shadow:none !important}.flatpickr-calendar.multiMonth .flatpickr-days .dayContainer:nth-child(n+2) .flatpickr-day.inRange:nth-child(7n+1){-webkit-box-shadow:-2px 0 0 #e6e6e6,5px 0 0 #e6e6e6;box-shadow:-2px 0 0 #e6e6e6,5px 0 0 #e6e6e6}.flatpickr-calendar .hasWeeks .dayContainer,.flatpickr-calendar .hasTime .dayContainer{border-bottom:0;border-bottom-right-radius:0;border-bottom-left-radius:0}.flatpickr-calendar .hasWeeks .dayContainer{border-left:0}.flatpickr-calendar.hasTime .flatpickr-time{height:40px;border-top:1px solid #e6e6e6}.flatpickr-calendar.noCalendar.hasTime .flatpickr-time{height:auto}.flatpickr-calendar:before,.flatpickr-calendar:after{position:absolute;display:block;pointer-events:none;border:solid transparent;content:'';height:0;width:0;left:22px}.flatpickr-calendar.rightMost:before,.flatpickr-calendar.arrowRight:before,.flatpickr-calendar.rightMost:after,.flatpickr-calendar.arrowRight:after{left:auto;right:22px}.flatpickr-calendar.arrowCenter:before,.flatpickr-calendar.arrowCenter:after{left:50%;right:50%}.flatpickr-calendar:before{border-width:5px;margin:0 -5px}.flatpickr-calendar:after{border-width:4px;margin:0 -4px}.flatpickr-calendar.arrowTop:before,.flatpickr-calendar.arrowTop:after{bottom:100%}.flatpickr-calendar.arrowTop:before{border-bottom-color:#e6e6e6}.flatpickr-calendar.arrowTop:after{border-bottom-color:#fff}.flatpickr-calendar.arrowBottom:before,.flatpickr-calendar.arrowBottom:after{top:100%}.flatpickr-calendar.arrowBottom:before{border-top-color:#e6e6e6}.flatpickr-calendar.arrowBottom:after{border-top-color:#fff}.flatpickr-calendar:focus{outline:0}.flatpickr-wrapper{position:relative;display:inline-block}.flatpickr-months{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex}.flatpickr-months .flatpickr-month{background:transparent;color:rgba(0,0,0,0.9);fill:rgba(0,0,0,0.9);height:34px;line-height:1;text-align:center;position:relative;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;overflow:hidden;-webkit-box-flex:1;-webkit-flex:1;-ms-flex:1;flex:1}.flatpickr-months .flatpickr-prev-month,.flatpickr-months .flatpickr-next-month{-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;text-decoration:none;cursor:pointer;position:absolute;top:0;height:34px;padding:10px;z-index:3;color:rgba(0,0,0,0.9);fill:rgba(0,0,0,0.9)}.flatpickr-months .flatpickr-prev-month.flatpickr-disabled,.flatpickr-months .flatpickr-next-month.flatpickr-disabled{display:none}.flatpickr-months .flatpickr-prev-month i,.flatpickr-months .flatpickr-next-month i{position:relative}.flatpickr-months .flatpickr-prev-month.flatpickr-prev-month,.flatpickr-months .flatpickr-next-month.flatpickr-prev-month{/*
/*rtl:begin:ignore*/left:0/*
/*rtl:end:ignore*/}/*
/*rtl:begin:ignore*/
/*
/*rtl:end:ignore*/
.flatpickr-months .flatpickr-prev-month.flatpickr-next-month,.flatpickr-months .flatpickr-next-month.flatpickr-next-month{/*
/*rtl:begin:ignore*/right:0/*
/*rtl:end:ignore*/}/*
/*rtl:begin:ignore*/
/*
/*rtl:end:ignore*/
.flatpickr-months .flatpickr-prev-month:hover,.flatpickr-months .flatpickr-next-month:hover{color:#959ea9}.flatpickr-months .flatpickr-prev-month:hover svg,.flatpickr-months .flatpickr-next-month:hover svg{fill:#f64747}.flatpickr-months .flatpickr-prev-month svg,.flatpickr-months .flatpickr-next-month svg{width:14px;height:14px}.flatpickr-months .flatpickr-prev-month svg path,.flatpickr-months .flatpickr-next-month svg path{-webkit-transition:fill .1s;transition:fill .1s;fill:inherit}.numInputWrapper{position:relative;height:auto}.numInputWrapper input,.numInputWrapper span{display:inline-block}.numInputWrapper input{width:100%}.numInputWrapper input::-ms-clear{display:none}.numInputWrapper input::-webkit-outer-spin-button,.numInputWrapper input::-webkit-inner-spin-button{margin:0;-webkit-appearance:none}.numInputWrapper span{position:absolute;right:0;width:14px;padding:0 4px 0 2px;height:50%;line-height:50%;opacity:0;cursor:pointer;border:1px solid rgba(57,57,57,0.15);-webkit-box-sizing:border-box;box-sizing:border-box}.numInputWrapper span:hover{background:rgba(0,0,0,0.1)}.numInputWrapper span:active{background:rgba(0,0,0,0.2)}.numInputWrapper span:after{display:block;content:"";position:absolute}.numInputWrapper span.arrowUp{top:0;border-bottom:0}.numInputWrapper span.arrowUp:after{border-left:4px solid transparent;border-right:4px solid transparent;border-bottom:4px solid rgba(57,57,57,0.6);top:26%}.numInputWrapper span.arrowDown{top:50%}.numInputWrapper span.arrowDown:after{border-left:4px solid transparent;border-right:4px solid transparent;border-top:4px solid rgba(57,57,57,0.6);top:40%}.numInputWrapper span svg{width:inherit;height:auto}.numInputWrapper span svg path{fill:rgba(0,0,0,0.5)}.numInputWrapper:hover{background:rgba(0,0,0,0.05)}.numInputWrapper:hover span{opacity:1}.flatpickr-current-month{font-size:135%;line-height:inherit;font-weight:300;color:inherit;position:absolute;width:75%;left:12.5%;padding:7.48px 0 0 0;line-height:1;height:34px;display:inline-block;text-align:center;-webkit-transform:translate3d(0,0,0);transform:translate3d(0,0,0)}.flatpickr-current-month span.cur-month{font-family:inherit;font-weight:700;color:inherit;display:inline-block;margin-left:.5ch;padding:0}.flatpickr-current-month span.cur-month:hover{background:rgba(0,0,0,0.05)}.flatpickr-current-month .numInputWrapper{width:6ch;width:7ch\0;display:inline-block}.flatpickr-current-month .numInputWrapper span.arrowUp:after{border-bottom-color:rgba(0,0,0,0.9)}.flatpickr-current-month .numInputWrapper span.arrowDown:after{border-top-color:rgba(0,0,0,0.9)}.flatpickr-current-month input.cur-year{background:transparent;-webkit-box-sizing:border-box;box-sizing:border-box;color:inherit;cursor:text;padding:0 0 0 .5ch;margin:0;display:inline-block;font-size:inherit;font-family:inherit;font-weight:300;line-height:inherit;height:auto;border:0;border-radius:0;vertical-align:initial;-webkit-appearance:textfield;-moz-appearance:textfield;appearance:textfield}.flatpickr-current-month input.cur-year:focus{outline:0}.flatpickr-current-month input.cur-year[disabled],.flatpickr-current-month input.cur-year[disabled]:hover{font-size:100%;color:rgba(0,0,0,0.5);background:transparent;pointer-events:none}.flatpickr-current-month .flatpickr-monthDropdown-months{appearance:menulist;background:transparent;border:none;border-radius:0;box-sizing:border-box;color:inherit;cursor:pointer;font-size:inherit;font-family:inherit;font-weight:300;height:auto;line-height:inherit;margin:-1px 0 0 0;outline:none;padding:0 0 0 .5ch;position:relative;vertical-align:initial;-webkit-box-sizing:border-box;-webkit-appearance:menulist;-moz-appearance:menulist;width:auto}.flatpickr-current-month .flatpickr-monthDropdown-months:focus,.flatpickr-current-month .flatpickr-monthDropdown-months:active{outline:none}.flatpickr-current-month .flatpickr-monthDropdown-months:hover{background:rgba(0,0,0,0.05)}.flatpickr-current-month .flatpickr-monthDropdown-months .flatpickr-monthDropdown-month{background-color:transparent;outline:none;padding:0}.flatpickr-weekdays{background:transparent;text-align:center;overflow:hidden;width:100%;display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-box-align:center;-webkit-align-items:center;-ms-flex-align:center;align-items:center;height:28px}.flatpickr-weekdays .flatpickr-weekdaycontainer{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-box-flex:1;-webkit-flex:1;-ms-flex:1;flex:1}span.flatpickr-weekday{cursor:default;font-size:90%;background:transparent;color:rgba(0,0,0,0.54);line-height:1;margin:0;text-align:center;display:block;-webkit-box-flex:1;-webkit-flex:1;-ms-flex:1;flex:1;font-weight:bolder}.dayContainer,.flatpickr-weeks{padding:1px 0 0 0}.flatpickr-days{position:relative;overflow:hidden;display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-box-align:start;-webkit-align-items:flex-start;-ms-flex-align:start;align-items:flex-start;width:307.875px}.flatpickr-days:focus{outline:0}.dayContainer{padding:0;outline:0;text-align:left;width:307.875px;min-width:307.875px;max-width:307.875px;-webkit-box-sizing:border-box;box-sizing:border-box;display:inline-block;display:-ms-flexbox;display:-webkit-box;display:-webkit-flex;display:flex;-webkit-flex-wrap:wrap;flex-wrap:wrap;-ms-flex-wrap:wrap;-ms-flex-pack:justify;-webkit-justify-content:space-around;justify-content:space-around;-webkit-transform:translate3d(0,0,0);transform:translate3d(0,0,0);opacity:1}.dayContainer + .dayContainer{-webkit-box-shadow:-1px 0 0 #e6e6e6;box-shadow:-1px 0 0 #e6e6e6}.flatpickr-day{background:none;border:1px solid transparent;border-radius:150px;-webkit-box-sizing:border-box;box-sizing:border-box;color:#393939;cursor:pointer;font-weight:400;width:14.2857143%;-webkit-flex-basis:14.2857143%;-ms-flex-preferred-size:14.2857143%;flex-basis:14.2857143%;max-width:39px;height:39px;line-height:39px;margin:0;display:inline-block;position:relative;-webkit-box-pack:center;-webkit-justify-content:center;-ms-flex-pack:center;justify-content:center;text-align:center}.flatpickr-day.inRange,.flatpickr-day.prevMonthDay.inRange,.flatpickr-day.nextMonthDay.inRange,.flatpickr-day.today.inRange,.flatpickr-day.prevMonthDay.today.inRange,.flatpickr-day.nextMonthDay.today.inRange,.flatpickr-day:hover,.flatpickr-day.prevMonthDay:hover,.flatpickr-day.nextMonthDay:hover,.flatpickr-day:focus,.flatpickr-day.prevMonthDay:focus,.flatpickr-day.nextMonthDay:focus{cursor:pointer;outline:0;background:#e6e6e6;border-color:#e6e6e6}.flatpickr-day.today{border-color:#959ea9}.flatpickr-day.today:hover,.flatpickr-day.today:focus{border-color:#959ea9;background:#959ea9;color:#fff}.flatpickr-day.selected,.flatpickr-day.startRange,.flatpickr-day.endRange,.flatpickr-day.selected.inRange,.flatpickr-day.startRange.inRange,.flatpickr-day.endRange.inRange,.flatpickr-day.selected:focus,.flatpickr-day.startRange:focus,.flatpickr-day.endRange:focus,.flatpickr-day.selected:hover,.flatpickr-day.startRange:hover,.flatpickr-day.endRange:hover,.flatpickr-day.selected.prevMonthDay,.flatpickr-day.startRange.prevMonthDay,.flatpickr-day.endRange.prevMonthDay,.flatpickr-day.selected.nextMonthDay,.flatpickr-day.startRange.nextMonthDay,.flatpickr-day.endRange.nextMonthDay{background:#569ff7;-webkit-box-shadow:none;box-shadow:none;color:#fff;border-color:#569ff7}.flatpickr-day.selected.startRange,.flatpickr-day.startRange.startRange,.flatpickr-day.endRange.startRange{border-radius:50px 0 0 50px}.flatpickr-day.selected.endRange,.flatpickr-day.startRange.endRange,.flatpickr-day.endRange.endRange{border-radius:0 50px 50px 0}.flatpickr-day.selected.startRange + .endRange:not(:nth-child(7n+1)),.flatpickr-day.startRange.startRange + .endRange:not(:nth-child(7n+1)),.flatpickr-day.endRange.startRange + .endRange:not(:nth-child(7n+1)){-webkit-box-shadow:-10px 0 0 #569ff7;box-shadow:-10px 0 0 #569ff7}.flatpickr-day.selected.startRange.endRange,.flatpickr-day.startRange.startRange.endRange,.flatpickr-day.endRange.startRange.endRange{border-radius:50px}.flatpickr-day.inRange{border-radius:0;-webkit-box-shadow:-5px 0 0 #e6e6e6,5px 0 0 #e6e6e6;box-shadow:-5px 0 0 #e6e6e6,5px 0 0 #e6e6e6}.flatpickr-day.flatpickr-disabled,.flatpickr-day.flatpickr-disabled:hover,.flatpickr-day.prevMonthDay,.flatpickr-day.nextMonthDay,.flatpickr-day.notAllowed,.flatpickr-day.notAllowed.prevMonthDay,.flatpickr-day.notAllowed.nextMonthDay{color:rgba(57,57,57,0.3);background:transparent;border-color:transparent;cursor:default}.flatpickr-day.flatpickr-disabled,.flatpickr-day.flatpickr-disabled:hover{cursor:not-allowed;color:rgba(57,57,57,0.1)}.flatpickr-day.week.selected{border-radius:0;-webkit-box-shadow:-5px 0 0 #569ff7,5px 0 0 #569ff7;box-shadow:-5px 0 0 #569ff7,5px 0 0 #569ff7}.flatpickr-day.hidden{visibility:hidden}.rangeMode .flatpickr-day{margin-top:1px}.flatpickr-weekwrapper{float:left}.flatpickr-weekwrapper .flatpickr-weeks{padding:0 12px;-webkit-box-shadow:1px 0 0 #e6e6e6;box-shadow:1px 0 0 #e6e6e6}.flatpickr-weekwrapper .flatpickr-weekday{float:none;width:100%;line-height:28px}.flatpickr-weekwrapper span.flatpickr-day,.flatpickr-weekwrapper span.flatpickr-day:hover{display:block;width:100%;max-width:none;color:rgba(57,57,57,0.3);background:transparent;cursor:default;border:none}.flatpickr-innerContainer{display:block;display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-box-sizing:border-box;box-sizing:border-box;overflow:hidden}.flatpickr-rContainer{display:inline-block;padding:0;-webkit-box-sizing:border-box;box-sizing:border-box}.flatpickr-time{text-align:center;outline:0;display:block;height:0;line-height:40px;max-height:40px;-webkit-box-sizing:border-box;box-sizing:border-box;overflow:hidden;display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex}.flatpickr-time:after{content:"";display:table;clear:both}.flatpickr-time .numInputWrapper{-webkit-box-flex:1;-webkit-flex:1;-ms-flex:1;flex:1;width:40%;height:40px;float:left}.flatpickr-time .numInputWrapper span.arrowUp:after{border-bottom-color:#393939}.flatpickr-time .numInputWrapper span.arrowDown:after{border-top-color:#393939}.flatpickr-time.hasSeconds .numInputWrapper{width:26%}.flatpickr-time.time24hr .numInputWrapper{width:49%}.flatpickr-time input{background:transparent;-webkit-box-shadow:none;box-shadow:none;border:0;border-radius:0;text-align:center;margin:0;padding:0;height:inherit;line-height:inherit;color:#393939;font-size:14px;position:relative;-webkit-box-sizing:border-box;box-sizing:border-box;-webkit-appearance:textfield;-moz-appearance:textfield;appearance:textfield}.flatpickr-time input.flatpickr-hour{font-weight:bold}.flatpickr-time input.flatpickr-minute,.flatpickr-time input.flatpickr-second{font-weight:400}.flatpickr-time input:focus{outline:0;border:0}.flatpickr-time .flatpickr-time-separator,.flatpickr-time .flatpickr-am-pm{height:inherit;float:left;line-height:inherit;color:#393939;font-weight:bold;width:2%;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;-webkit-align-self:center;-ms-flex-item-align:center;align-self:center}.flatpickr-time .flatpickr-am-pm{outline:0;width:18%;cursor:pointer;text-align:center;font-weight:400}.flatpickr-time input:hover,.flatpickr-time .flatpickr-am-pm:hover,.flatpickr-time input:focus,.flatpickr-time .flatpickr-am-pm:focus{background:#eee}.flatpickr-input[readonly]{cursor:pointer}@-webkit-keyframes fpFadeInDown{from{opacity:0;-webkit-transform:translate3d(0,-20px,0);transform:translate3d(0,-20px,0)}to{opacity:1;-webkit-transform:translate3d(0,0,0);transform:translate3d(0,0,0)}}@keyframes fpFadeInDown{from{opacity:0;-webkit-transform:translate3d(0,-20px,0);transform:translate3d(0,-20px,0)}to{opacity:1;-webkit-transform:translate3d(0,0,0);transform:translate3d(0,0,0)}} dist/typings.d.ts 0000644 00000002046 15167673015 0010013 0 ustar 00 import { FlatpickrFn } from "./types/instance";
import { Instance as _Instance } from "./types/instance";
import {
Options as _Options,
Hook as _Hook,
HookKey as _HookKey,
ParsedOptions as _ParsedOptions,
DateLimit as _DateLimit,
DateOption as _DateOption,
DateRangeLimit as _DateRangeLimit,
Plugin as _Plugin,
} from "./types/options";
import {
Locale as _Locale,
CustomLocale as _CustomLocale,
key as _LocaleKey,
} from "./types/locale";
declare var flatpickr: FlatpickrFn;
declare namespace flatpickr {
export type Instance = _Instance;
export type CustomLocale = _CustomLocale;
export type Locale = _Locale;
export namespace Options {
export type Options = _Options;
export type Hook = _Hook;
export type HookKey = _HookKey;
export type ParsedOptions = _ParsedOptions;
export type DateLimit = _DateLimit;
export type DateOption = _DateOption;
export type DateRangeLimit = _DateRangeLimit;
export type Plugin = _Plugin;
export type LocaleKey = _LocaleKey;
}
}
export default flatpickr;
README.md 0000644 00000007116 15167673015 0006043 0 ustar 00 ## flatpickr - javascript datetime picker
[](https://github.com/flatpickr/flatpickr/actions)
[](https://coveralls.io/github/chmln/flatpickr)
[](https://www.npmjs.com/package/flatpickr)
[](https://cdnjs.com/libraries/flatpickr)
[](https://raw.githubusercontent.com/flatpickr/flatpickr/master/LICENSE.md)






## Motivation
Almost every large SPA or project involves date and time input. Browser's native implementations of those are inconsistent and limited in functionality. Most other libraries require you to pull in heavy dependencies like jQuery, Bootstrap, and moment.js. I wanted something that was good-looking out of the box, dependency-free, powerful, and extensible.
Feature overview:
- Dependency-free (no bloated bundles)
- Simple, polished UX
- Date + time input
- Range selections
- Ability to select multiple dates
- Can be used as just a time picker
- Display dates in a human-friendly format
- Easily disable specific dates, date ranges, or any date using arbitrary logic
- Week numbers
- 51 locales
- 8 colorful themes (incl. dark and material)
- Numerous plugins
- Libraries available for React, Angular, Vue, Ember, and more

flatpickr provides more functionality at a fraction of the size of other libraries.
## Compatibility
IE9 and up, Edge, iOS Safari 6+, Chrome 8+, Firefox 6+
## Install & Use
Demos and documentation: https://flatpickr.js.org
See also:
* [angular2+-flatpickr addon](https://github.com/mezoistvan/ng2-flatpickr)
* [angularJS-flatpickr addon](https://www.npmjs.com/package/angular-flatpickr)
* [ember-flatpickr addon](https://www.npmjs.com/package/ember-flatpickr)
* [Preact Component](https://github.com/molnarmark/preact-flatpickr)
* [React Component](https://github.com/coderhaoxin/react-flatpickr)
* [Stimulus.js Controller](https://github.com/adrienpoly/stimulus-flatpickr)
* [Svelte Component](https://github.com/jacobmischka/svelte-flatpickr)
* [vue-flatpickr component](https://github.com/ankurk91/vue-flatpickr-component)
* [lit-flatpickr component](https://github.com/Matsuuu/lit-flatpickr)
## Supporting flatpickr
flatpickr will never change its license, pester users for donations, or engage in other user-hostile behavior.
Nevertheless, if you enjoyed working with this library or if its made your life easier, you can buy me a cup of coffee :)
<a href='https://ko-fi.com/A3381DJ9' target='_blank'><img height='36' style='border:0px;height:36px;' src='https://az743702.vo.msecnd.net/cdn/kofi4.png?v=0' border='0' alt='Buy Me a Coffee at ko-fi.com' /></a>
LICENSE.md 0000644 00000002074 15167673015 0006166 0 ustar 00 The MIT License (MIT)
Copyright (c) 2017 Gregory Petrosyan
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.