From 8c65cac1b26c3855e0fd264121a5323c751c334d Mon Sep 17 00:00:00 2001 From: andrey Date: Tue, 16 Nov 2021 14:34:19 +0300 Subject: [PATCH] fix datepicker --- .../components/datepicker/src/DatePicker.php | 498 ++++ .../datepicker/src/DatePickerAsset.php | 33 + .../src/assets/css/bootstrap-datepicker3.css | 779 +++++++ .../assets/css/bootstrap-datepicker3.min.css | 7 + .../src/assets/css/bootstrap-datepicker4.css | 751 ++++++ .../assets/css/bootstrap-datepicker4.min.css | 11 + .../src/assets/css/datepicker-kv.css | 39 + .../src/assets/css/datepicker-kv.min.css | 12 + .../src/assets/js/bootstrap-datepicker.js | 2046 +++++++++++++++++ .../src/assets/js/bootstrap-datepicker.min.js | 8 + .../datepicker/src/assets/js/datepicker-kv.js | 49 + .../src/assets/js/datepicker-kv.min.js | 14 + .../locales/bootstrap-datepicker-en-CA.min.js | 1 + .../locales/bootstrap-datepicker.ar-tn.min.js | 1 + .../js/locales/bootstrap-datepicker.ar.min.js | 1 + .../js/locales/bootstrap-datepicker.az.min.js | 1 + .../js/locales/bootstrap-datepicker.bg.min.js | 1 + .../js/locales/bootstrap-datepicker.bn.min.js | 1 + .../js/locales/bootstrap-datepicker.br.min.js | 1 + .../js/locales/bootstrap-datepicker.bs.min.js | 1 + .../js/locales/bootstrap-datepicker.ca.min.js | 1 + .../js/locales/bootstrap-datepicker.cs.min.js | 1 + .../js/locales/bootstrap-datepicker.cy.min.js | 1 + .../js/locales/bootstrap-datepicker.da.min.js | 1 + .../js/locales/bootstrap-datepicker.de.min.js | 1 + .../js/locales/bootstrap-datepicker.el.min.js | 1 + .../locales/bootstrap-datepicker.en-AU.min.js | 1 + .../locales/bootstrap-datepicker.en-GB.min.js | 1 + .../locales/bootstrap-datepicker.en-IE.min.js | 1 + .../locales/bootstrap-datepicker.en-NZ.min.js | 1 + .../locales/bootstrap-datepicker.en-ZA.min.js | 1 + .../js/locales/bootstrap-datepicker.eo.min.js | 1 + .../js/locales/bootstrap-datepicker.es.min.js | 1 + .../js/locales/bootstrap-datepicker.et.min.js | 1 + .../js/locales/bootstrap-datepicker.eu.min.js | 1 + .../js/locales/bootstrap-datepicker.fa.min.js | 1 + .../js/locales/bootstrap-datepicker.fi.min.js | 1 + .../js/locales/bootstrap-datepicker.fo.min.js | 1 + .../locales/bootstrap-datepicker.fr-CH.min.js | 1 + .../js/locales/bootstrap-datepicker.fr.min.js | 1 + .../js/locales/bootstrap-datepicker.gl.min.js | 1 + .../js/locales/bootstrap-datepicker.he.min.js | 1 + .../js/locales/bootstrap-datepicker.hi.min.js | 1 + .../js/locales/bootstrap-datepicker.hr.min.js | 1 + .../js/locales/bootstrap-datepicker.hu.min.js | 1 + .../js/locales/bootstrap-datepicker.hy.min.js | 1 + .../js/locales/bootstrap-datepicker.id.min.js | 1 + .../js/locales/bootstrap-datepicker.is.min.js | 1 + .../locales/bootstrap-datepicker.it-CH.min.js | 1 + .../js/locales/bootstrap-datepicker.it.min.js | 1 + .../js/locales/bootstrap-datepicker.ja.min.js | 1 + .../js/locales/bootstrap-datepicker.ka.min.js | 1 + .../js/locales/bootstrap-datepicker.kh.min.js | 1 + .../js/locales/bootstrap-datepicker.kk.min.js | 1 + .../js/locales/bootstrap-datepicker.km.min.js | 1 + .../js/locales/bootstrap-datepicker.ko.min.js | 1 + .../js/locales/bootstrap-datepicker.kr.min.js | 1 + .../js/locales/bootstrap-datepicker.lt.min.js | 1 + .../js/locales/bootstrap-datepicker.lv.min.js | 1 + .../js/locales/bootstrap-datepicker.me.min.js | 1 + .../js/locales/bootstrap-datepicker.mk.min.js | 1 + .../js/locales/bootstrap-datepicker.mn.min.js | 1 + .../js/locales/bootstrap-datepicker.ms.min.js | 1 + .../js/locales/bootstrap-datepicker.nb.min.js | 1 + .../locales/bootstrap-datepicker.nl-BE.min.js | 1 + .../js/locales/bootstrap-datepicker.nl.min.js | 1 + .../js/locales/bootstrap-datepicker.no.min.js | 1 + .../js/locales/bootstrap-datepicker.oc.min.js | 1 + .../js/locales/bootstrap-datepicker.pl.min.js | 1 + .../locales/bootstrap-datepicker.pt-BR.min.js | 1 + .../js/locales/bootstrap-datepicker.pt.min.js | 1 + .../js/locales/bootstrap-datepicker.ro.min.js | 1 + .../bootstrap-datepicker.rs-latin.min.js | 1 + .../js/locales/bootstrap-datepicker.rs.min.js | 1 + .../js/locales/bootstrap-datepicker.ru.min.js | 1 + .../js/locales/bootstrap-datepicker.si.min.js | 1 + .../js/locales/bootstrap-datepicker.sk.min.js | 1 + .../js/locales/bootstrap-datepicker.sl.min.js | 1 + .../js/locales/bootstrap-datepicker.sq.min.js | 1 + .../bootstrap-datepicker.sr-latin.min.js | 1 + .../js/locales/bootstrap-datepicker.sr.min.js | 1 + .../js/locales/bootstrap-datepicker.sv.min.js | 1 + .../js/locales/bootstrap-datepicker.sw.min.js | 1 + .../js/locales/bootstrap-datepicker.ta.min.js | 1 + .../js/locales/bootstrap-datepicker.tg.min.js | 1 + .../js/locales/bootstrap-datepicker.th.min.js | 1 + .../js/locales/bootstrap-datepicker.tj.min.js | 1 + .../js/locales/bootstrap-datepicker.tr.min.js | 1 + .../js/locales/bootstrap-datepicker.uk.min.js | 1 + .../bootstrap-datepicker.uz-cyrl.min.js | 1 + .../bootstrap-datepicker.uz-latn.min.js | 1 + .../js/locales/bootstrap-datepicker.vi.min.js | 1 + .../locales/bootstrap-datepicker.zh-CN.min.js | 1 + .../locales/bootstrap-datepicker.zh-TW.min.js | 1 + .../datepicker/src/messages/config.php | 52 + .../datepicker/src/messages/cs/kvdate.php | 22 + .../datepicker/src/messages/da/kvdate.php | 22 + .../datepicker/src/messages/de/kvdate.php | 22 + .../datepicker/src/messages/el-GR/kvdate.php | 22 + .../datepicker/src/messages/en/kvdate.php | 22 + .../datepicker/src/messages/es/kvdate.php | 22 + .../datepicker/src/messages/et/kvdate.php | 24 + .../datepicker/src/messages/fr/kvdate.php | 22 + .../datepicker/src/messages/gu/kvdate.php | 24 + .../datepicker/src/messages/hi/kvdate.php | 24 + .../datepicker/src/messages/hu/kvdate.php | 22 + .../datepicker/src/messages/id/kvdate.php | 22 + .../datepicker/src/messages/it/kvdate.php | 24 + .../datepicker/src/messages/ja/kvdate.php | 22 + .../datepicker/src/messages/kk/kvdate.php | 22 + .../datepicker/src/messages/kvdate.php | 22 + .../datepicker/src/messages/lt/kvdate.php | 22 + .../datepicker/src/messages/lv/kvdate.php | 22 + .../datepicker/src/messages/nl/kvdate.php | 22 + .../datepicker/src/messages/pl/kvdate.php | 22 + .../datepicker/src/messages/pt/kvdate.php | 22 + .../datepicker/src/messages/ro/kvdate.php | 22 + .../datepicker/src/messages/ru/kvdate.php | 22 + .../datepicker/src/messages/sk/kvdate.php | 22 + .../datepicker/src/messages/sv/kvdate.php | 22 + .../datepicker/src/messages/th/kvdate.php | 22 + .../datepicker/src/messages/tr/kvdate.php | 5 + .../datepicker/src/messages/uk/kvdate.php | 22 + .../datepicker/src/messages/vi/kvdate.php | 22 + .../datepicker/src/messages/zh/kvdate.php | 22 + .../modules/reports/views/reports/_form.php | 2 +- 126 files changed, 5033 insertions(+), 1 deletion(-) create mode 100644 backend/components/datepicker/src/DatePicker.php create mode 100644 backend/components/datepicker/src/DatePickerAsset.php create mode 100644 backend/components/datepicker/src/assets/css/bootstrap-datepicker3.css create mode 100644 backend/components/datepicker/src/assets/css/bootstrap-datepicker3.min.css create mode 100644 backend/components/datepicker/src/assets/css/bootstrap-datepicker4.css create mode 100644 backend/components/datepicker/src/assets/css/bootstrap-datepicker4.min.css create mode 100644 backend/components/datepicker/src/assets/css/datepicker-kv.css create mode 100644 backend/components/datepicker/src/assets/css/datepicker-kv.min.css create mode 100644 backend/components/datepicker/src/assets/js/bootstrap-datepicker.js create mode 100644 backend/components/datepicker/src/assets/js/bootstrap-datepicker.min.js create mode 100644 backend/components/datepicker/src/assets/js/datepicker-kv.js create mode 100644 backend/components/datepicker/src/assets/js/datepicker-kv.min.js create mode 100644 backend/components/datepicker/src/assets/js/locales/bootstrap-datepicker-en-CA.min.js create mode 100644 backend/components/datepicker/src/assets/js/locales/bootstrap-datepicker.ar-tn.min.js create mode 100644 backend/components/datepicker/src/assets/js/locales/bootstrap-datepicker.ar.min.js create mode 100644 backend/components/datepicker/src/assets/js/locales/bootstrap-datepicker.az.min.js create mode 100644 backend/components/datepicker/src/assets/js/locales/bootstrap-datepicker.bg.min.js create mode 100644 backend/components/datepicker/src/assets/js/locales/bootstrap-datepicker.bn.min.js create mode 100644 backend/components/datepicker/src/assets/js/locales/bootstrap-datepicker.br.min.js create mode 100644 backend/components/datepicker/src/assets/js/locales/bootstrap-datepicker.bs.min.js create mode 100644 backend/components/datepicker/src/assets/js/locales/bootstrap-datepicker.ca.min.js create mode 100644 backend/components/datepicker/src/assets/js/locales/bootstrap-datepicker.cs.min.js create mode 100644 backend/components/datepicker/src/assets/js/locales/bootstrap-datepicker.cy.min.js create mode 100644 backend/components/datepicker/src/assets/js/locales/bootstrap-datepicker.da.min.js create mode 100644 backend/components/datepicker/src/assets/js/locales/bootstrap-datepicker.de.min.js create mode 100644 backend/components/datepicker/src/assets/js/locales/bootstrap-datepicker.el.min.js create mode 100644 backend/components/datepicker/src/assets/js/locales/bootstrap-datepicker.en-AU.min.js create mode 100644 backend/components/datepicker/src/assets/js/locales/bootstrap-datepicker.en-GB.min.js create mode 100644 backend/components/datepicker/src/assets/js/locales/bootstrap-datepicker.en-IE.min.js create mode 100644 backend/components/datepicker/src/assets/js/locales/bootstrap-datepicker.en-NZ.min.js create mode 100644 backend/components/datepicker/src/assets/js/locales/bootstrap-datepicker.en-ZA.min.js create mode 100644 backend/components/datepicker/src/assets/js/locales/bootstrap-datepicker.eo.min.js create mode 100644 backend/components/datepicker/src/assets/js/locales/bootstrap-datepicker.es.min.js create mode 100644 backend/components/datepicker/src/assets/js/locales/bootstrap-datepicker.et.min.js create mode 100644 backend/components/datepicker/src/assets/js/locales/bootstrap-datepicker.eu.min.js create mode 100644 backend/components/datepicker/src/assets/js/locales/bootstrap-datepicker.fa.min.js create mode 100644 backend/components/datepicker/src/assets/js/locales/bootstrap-datepicker.fi.min.js create mode 100644 backend/components/datepicker/src/assets/js/locales/bootstrap-datepicker.fo.min.js create mode 100644 backend/components/datepicker/src/assets/js/locales/bootstrap-datepicker.fr-CH.min.js create mode 100644 backend/components/datepicker/src/assets/js/locales/bootstrap-datepicker.fr.min.js create mode 100644 backend/components/datepicker/src/assets/js/locales/bootstrap-datepicker.gl.min.js create mode 100644 backend/components/datepicker/src/assets/js/locales/bootstrap-datepicker.he.min.js create mode 100644 backend/components/datepicker/src/assets/js/locales/bootstrap-datepicker.hi.min.js create mode 100644 backend/components/datepicker/src/assets/js/locales/bootstrap-datepicker.hr.min.js create mode 100644 backend/components/datepicker/src/assets/js/locales/bootstrap-datepicker.hu.min.js create mode 100644 backend/components/datepicker/src/assets/js/locales/bootstrap-datepicker.hy.min.js create mode 100644 backend/components/datepicker/src/assets/js/locales/bootstrap-datepicker.id.min.js create mode 100644 backend/components/datepicker/src/assets/js/locales/bootstrap-datepicker.is.min.js create mode 100644 backend/components/datepicker/src/assets/js/locales/bootstrap-datepicker.it-CH.min.js create mode 100644 backend/components/datepicker/src/assets/js/locales/bootstrap-datepicker.it.min.js create mode 100644 backend/components/datepicker/src/assets/js/locales/bootstrap-datepicker.ja.min.js create mode 100644 backend/components/datepicker/src/assets/js/locales/bootstrap-datepicker.ka.min.js create mode 100644 backend/components/datepicker/src/assets/js/locales/bootstrap-datepicker.kh.min.js create mode 100644 backend/components/datepicker/src/assets/js/locales/bootstrap-datepicker.kk.min.js create mode 100644 backend/components/datepicker/src/assets/js/locales/bootstrap-datepicker.km.min.js create mode 100644 backend/components/datepicker/src/assets/js/locales/bootstrap-datepicker.ko.min.js create mode 100644 backend/components/datepicker/src/assets/js/locales/bootstrap-datepicker.kr.min.js create mode 100644 backend/components/datepicker/src/assets/js/locales/bootstrap-datepicker.lt.min.js create mode 100644 backend/components/datepicker/src/assets/js/locales/bootstrap-datepicker.lv.min.js create mode 100644 backend/components/datepicker/src/assets/js/locales/bootstrap-datepicker.me.min.js create mode 100644 backend/components/datepicker/src/assets/js/locales/bootstrap-datepicker.mk.min.js create mode 100644 backend/components/datepicker/src/assets/js/locales/bootstrap-datepicker.mn.min.js create mode 100644 backend/components/datepicker/src/assets/js/locales/bootstrap-datepicker.ms.min.js create mode 100644 backend/components/datepicker/src/assets/js/locales/bootstrap-datepicker.nb.min.js create mode 100644 backend/components/datepicker/src/assets/js/locales/bootstrap-datepicker.nl-BE.min.js create mode 100644 backend/components/datepicker/src/assets/js/locales/bootstrap-datepicker.nl.min.js create mode 100644 backend/components/datepicker/src/assets/js/locales/bootstrap-datepicker.no.min.js create mode 100644 backend/components/datepicker/src/assets/js/locales/bootstrap-datepicker.oc.min.js create mode 100644 backend/components/datepicker/src/assets/js/locales/bootstrap-datepicker.pl.min.js create mode 100644 backend/components/datepicker/src/assets/js/locales/bootstrap-datepicker.pt-BR.min.js create mode 100644 backend/components/datepicker/src/assets/js/locales/bootstrap-datepicker.pt.min.js create mode 100644 backend/components/datepicker/src/assets/js/locales/bootstrap-datepicker.ro.min.js create mode 100644 backend/components/datepicker/src/assets/js/locales/bootstrap-datepicker.rs-latin.min.js create mode 100644 backend/components/datepicker/src/assets/js/locales/bootstrap-datepicker.rs.min.js create mode 100644 backend/components/datepicker/src/assets/js/locales/bootstrap-datepicker.ru.min.js create mode 100644 backend/components/datepicker/src/assets/js/locales/bootstrap-datepicker.si.min.js create mode 100644 backend/components/datepicker/src/assets/js/locales/bootstrap-datepicker.sk.min.js create mode 100644 backend/components/datepicker/src/assets/js/locales/bootstrap-datepicker.sl.min.js create mode 100644 backend/components/datepicker/src/assets/js/locales/bootstrap-datepicker.sq.min.js create mode 100644 backend/components/datepicker/src/assets/js/locales/bootstrap-datepicker.sr-latin.min.js create mode 100644 backend/components/datepicker/src/assets/js/locales/bootstrap-datepicker.sr.min.js create mode 100644 backend/components/datepicker/src/assets/js/locales/bootstrap-datepicker.sv.min.js create mode 100644 backend/components/datepicker/src/assets/js/locales/bootstrap-datepicker.sw.min.js create mode 100644 backend/components/datepicker/src/assets/js/locales/bootstrap-datepicker.ta.min.js create mode 100644 backend/components/datepicker/src/assets/js/locales/bootstrap-datepicker.tg.min.js create mode 100644 backend/components/datepicker/src/assets/js/locales/bootstrap-datepicker.th.min.js create mode 100644 backend/components/datepicker/src/assets/js/locales/bootstrap-datepicker.tj.min.js create mode 100644 backend/components/datepicker/src/assets/js/locales/bootstrap-datepicker.tr.min.js create mode 100644 backend/components/datepicker/src/assets/js/locales/bootstrap-datepicker.uk.min.js create mode 100644 backend/components/datepicker/src/assets/js/locales/bootstrap-datepicker.uz-cyrl.min.js create mode 100644 backend/components/datepicker/src/assets/js/locales/bootstrap-datepicker.uz-latn.min.js create mode 100644 backend/components/datepicker/src/assets/js/locales/bootstrap-datepicker.vi.min.js create mode 100644 backend/components/datepicker/src/assets/js/locales/bootstrap-datepicker.zh-CN.min.js create mode 100644 backend/components/datepicker/src/assets/js/locales/bootstrap-datepicker.zh-TW.min.js create mode 100644 backend/components/datepicker/src/messages/config.php create mode 100644 backend/components/datepicker/src/messages/cs/kvdate.php create mode 100644 backend/components/datepicker/src/messages/da/kvdate.php create mode 100644 backend/components/datepicker/src/messages/de/kvdate.php create mode 100644 backend/components/datepicker/src/messages/el-GR/kvdate.php create mode 100644 backend/components/datepicker/src/messages/en/kvdate.php create mode 100644 backend/components/datepicker/src/messages/es/kvdate.php create mode 100644 backend/components/datepicker/src/messages/et/kvdate.php create mode 100644 backend/components/datepicker/src/messages/fr/kvdate.php create mode 100644 backend/components/datepicker/src/messages/gu/kvdate.php create mode 100644 backend/components/datepicker/src/messages/hi/kvdate.php create mode 100644 backend/components/datepicker/src/messages/hu/kvdate.php create mode 100644 backend/components/datepicker/src/messages/id/kvdate.php create mode 100644 backend/components/datepicker/src/messages/it/kvdate.php create mode 100644 backend/components/datepicker/src/messages/ja/kvdate.php create mode 100644 backend/components/datepicker/src/messages/kk/kvdate.php create mode 100644 backend/components/datepicker/src/messages/kvdate.php create mode 100644 backend/components/datepicker/src/messages/lt/kvdate.php create mode 100644 backend/components/datepicker/src/messages/lv/kvdate.php create mode 100644 backend/components/datepicker/src/messages/nl/kvdate.php create mode 100644 backend/components/datepicker/src/messages/pl/kvdate.php create mode 100644 backend/components/datepicker/src/messages/pt/kvdate.php create mode 100644 backend/components/datepicker/src/messages/ro/kvdate.php create mode 100644 backend/components/datepicker/src/messages/ru/kvdate.php create mode 100644 backend/components/datepicker/src/messages/sk/kvdate.php create mode 100644 backend/components/datepicker/src/messages/sv/kvdate.php create mode 100644 backend/components/datepicker/src/messages/th/kvdate.php create mode 100644 backend/components/datepicker/src/messages/tr/kvdate.php create mode 100644 backend/components/datepicker/src/messages/uk/kvdate.php create mode 100644 backend/components/datepicker/src/messages/vi/kvdate.php create mode 100644 backend/components/datepicker/src/messages/zh/kvdate.php diff --git a/backend/components/datepicker/src/DatePicker.php b/backend/components/datepicker/src/DatePicker.php new file mode 100644 index 0000000..a368c00 --- /dev/null +++ b/backend/components/datepicker/src/DatePicker.php @@ -0,0 +1,498 @@ +Check Issue Date'; + * echo DatePicker::widget([ + * 'name' => 'check_issue_date', + * 'value' => date('d-M-Y', strtotime('+2 days')), + * 'options' => ['placeholder' => 'Select issue date ...'], + * 'pluginOptions' => [ + * 'format' => 'dd-M-yyyy', + * 'todayHighlight' => true + * ] + * ]); + * ~~~ + * + * @author Kartik Visweswaran + * @since 1.0 + * @see http://eternicode.github.io/bootstrap-datepicker/ + */ +class DatePicker extends InputWidget +{ + /** + * Datepicker rendered as a plain input. + */ + const TYPE_INPUT = 1; + /** + * Datepicker with the date picker button rendered as a prepended bootstrap addon component + */ + const TYPE_COMPONENT_PREPEND = 2; + /** + * Datepicker with the date picker button rendered as a appended bootstrap addon component + */ + const TYPE_COMPONENT_APPEND = 3; + /** + * Datepicker calendar directly rendered inline + */ + const TYPE_INLINE = 4; + /** + * Datepicker range with from and to date inputs + */ + const TYPE_RANGE = 5; + /** + * Datepicker rendered as a picker button without any input + */ + const TYPE_BUTTON = 6; + + /** + * @var string the markup type of widget markup must be one of the TYPE constants. Defaults to + * [[TYPE_COMPONENT_PREPEND]] + */ + public $type = self::TYPE_COMPONENT_PREPEND; + + /** + * @var string the markup for the calendar picker icon. If not set this will default to: + * - `` if [[bsVersion]] is set to `3.x` + * - `` if [[bsVersion]] is set to `4.x` + */ + public $pickerIcon; + + /** + * @var string the markup for the remove icon (which will clear the datepicker data). If not set this will default to: + * - `` if [[bsVersion]] is set to `3.x` + * - `` if [[bsVersion]] is set to `4.x` + */ + public $removeIcon; + + /** + * @var string the size of the input - 'lg', 'md', 'sm', 'xs' + */ + public $size; + + /** + * @var ActiveForm the ActiveForm object which you can pass for seamless usage with ActiveForm. This property is + * especially useful for client validation of [[attribute2]] for [[TYPE_RANGE]] validation. + */ + public $form; + + /** + * @var array the HTML attributes for the button that is rendered for [[TYPE_BUTTON]]. Defaults to + * - `['class'=>'btn btn-default']` for [[bsVersion]] = '3.x', and + * - `['class'=>'btn btn-secondary']` for [[bsVersion]] = '4.x' + * The following special options are recognized: + * - 'label': string the button label. Defaults to the [[pickerIcon]] setting. + */ + public $buttonOptions = []; + + /** + * @var string additional CSS class that will be appended to the date input `class` within [[options]] and + * [[options2]]. Defaults to `form-control`. This value can be changed for custom (non Bootstrap) CSS styling. + */ + public $addInputCss = 'form-control'; + + /** + * @var array the HTML attributes for the input tag. + */ + public $options = []; + + /** + * @var string the layout template to display the buttons (applicable only when [[type]] is set to one of + * [[TYPE_COMPONENT_PREPEND]] or [[TYPE_COMPONENT_APPEND]] or [[TYPE_RANGE]]). The following tokens will be + * parsed and replaced when [[type]] is set to one of [[TYPE_COMPONENT_PREPEND]] or [[TYPE_COMPONENT_APPEND]]: + * - `{picker}`: will be replaced with the date picker button (rendered as a bootstrap input group addon). + * - `{remove}`: will be replaced with the date clear/remove button (rendered as a bootstrap input group addon). + * - `{input}`: will be replaced with the HTML input markup that stores the date. + * + * When [[type]] is set to [[TYPE_RANGE]] the following tokens will be parsed and replaced: + * + * - `{input1}`: will be replaced with the HTML input markup that stores the date for attribute1. + * - `{separator}`: will be replaced with the input group addon for field range separator. The text for the + * separator is set via the `separator` property. + * - `{input2}`: will be replaced with the HTML input markup that stores the date for attribute2. + * + * The [[layout]] property defaults to the following value if not set: + * + * - `{picker}{remove}{input}` for [[TYPE_COMPONENT_PREPEND]] + * - `{input}{remove}{picker}` for [[TYPE_COMPONENT_APPEND]] + * - `{input1}{separator}{input2}` for [[TYPE_RANGE]] + */ + public $layout; + + /** + * @var array|string|boolean the calendar picker button configuration. + * - if this is passed as a _string_, it will be displayed as is (will not be HTML encoded). + * - if this is set to `false`, the picker button will not be displayed. + * - if this is passed as an _array_ (which is the default) it will be parsed as HTML attributes for the button (to + * be displayed as a Bootstrap addon). The following special keys are recognized; + * - `label`: _string_, the label for the button. Defaults to [[pickerIcon]]. + * - `title`: _string|_boolean_, the title to be displayed on hover. Defaults to 'Select date & time'. To disable, + * set it to `false`. + */ + public $pickerButton = []; + + /** + * @var array|string|boolean the calendar remove button configuration - applicable only for type set to + * [[TYPE_COMPONENT_PREPEND]] or [[TYPE_COMPONENT_APPEND]]. + * - if this is passed as a _string_, it will be displayed as is (will not be HTML encoded). + * - if this is set to `false`, the remove button will not be displayed. + * - if this is passed as an _array_ (this is the DEFAULT) it will treat this as HTML attributes for the button (to + * be displayed as a Bootstrap addon). The following special keys are recognized; + * - `label`: _string_, the label for the button. Defaults to [[removeIcon]]. + * - `title`: _string|_boolean_, the title to be displayed on hover. Defaults to 'Clear field'. To disable, + * set it to `false`. + */ + public $removeButton = []; + + /** + * @var string the model attribute 2 if you are setting [[type]] to [[TYPE_RANGE]] for markup. + */ + public $attribute2; + + /** + * @var string the name of input number 2 if you are setting [[type]] to [[TYPE_RANGE]] for markup. + */ + public $name2; + + /** + * @var string the name of value for input number 2 if you are setting [[type]] to [[TYPE_RANGE]] for markup. + */ + public $value2 = null; + + /** + * @var array the HTML attributes for the input number 2 if you are setting [[type]] to [[TYPE_RANGE]] for markup. + */ + public $options2 = []; + + /** + * @var string the range input separator if you are setting [[type]] to [[TYPE_RANGE]] for markup. Defaults to 'to'. + */ + public $separator = 'to'; + + /** + * @var array the HTML options for the DatePicker container. + */ + private $_container = []; + + /** + * @var boolean whether a prepend or append addon exists. + */ + protected $_hasAddon = false; + + /** + * @inheritdoc + */ + protected $_msgCat = 'kvdate'; + + /** + * @inheritdoc + */ + public $pluginName = 'kvDatepicker'; + + /** + * @inheritdoc + * + * @throws InvalidConfigException + */ + public function run() + { + parent::run(); + $this->renderDatePicker(); + } + + /** + * Initializes picker icon and remove icon + * @param string $type the icon type 'picker' or 'remove' + * @param string $bs3Icon the icon suffix name for Bootstrap 3 version + * @param string $bs4Icon the icon suffix name for Bootstrap 4 version + */ + protected function initIcon($type, $bs3Icon, $bs4Icon) + { + $css = !$this->isBs(3) ? "fas fa-{$bs4Icon}" : "glyphicon glyphicon-{$bs3Icon}"; + $icon = $type . 'Icon'; + if (!isset($this->$icon)) { + $this->$icon = Html::tag('i', '', ['class' => $css . ' kv-dp-icon']); + } + } + + /** + * Renders the date picker widget. + * @throws InvalidConfigException + */ + protected function renderDatePicker() + { + $this->validateConfig(); + $this->initIcon('picker', 'calendar', 'calendar-alt'); + $this->initIcon('remove', 'remove', 'times'); + $this->_hasAddon = $this->type == self::TYPE_COMPONENT_PREPEND || $this->type == self::TYPE_COMPONENT_APPEND; + $s = DIRECTORY_SEPARATOR; + $this->initI18N(__DIR__); + $this->setLanguage('bootstrap-datepicker.', __DIR__ . "{$s}assets{$s}", null, '.min.js'); + $this->parseDateFormat('date'); + $this->_container['id'] = $this->options['id'] . '-' . $this->_msgCat; + if ($this->type == self::TYPE_INLINE) { + $this->_container['data-date'] = $this->value; + } + if (empty($this->layout)) { + if ($this->type === self::TYPE_COMPONENT_PREPEND) { + $this->layout = '{picker}{remove}{input}'; + } elseif ($this->type === self::TYPE_COMPONENT_APPEND) { + $this->layout = '{input}{remove}{picker}'; + } elseif ($this->type === self::TYPE_RANGE) { + $this->layout = '{input1}{separator}{input2}'; + } + } + Html::addCssClass($this->options, [$this->addInputCss, 'krajee-datepicker']); + $this->options['data-datepicker-source'] = $this->type === self::TYPE_INPUT ? $this->options['id'] : + $this->_container['id']; + $this->options['data-datepicker-type'] = $this->type; + $this->registerAssets(); + echo $this->renderInput(); + } + + /** + * Raise an invalid configuration exception. + * + * @param string $msg the exception message + * + * @throws InvalidConfigException + */ + protected static function err($msg = '') + { + throw new InvalidConfigException($msg); + } + + /** + * Validates widget configuration. + * + * @throws InvalidConfigException + */ + protected function validateConfig() + { + if ($this->type < 1 || $this->type > 6 || !is_int($this->type)) { + static::err("Invalid value for the property 'type'. Must be an integer between 1 and 6."); + } + if ($this->type === self::TYPE_RANGE) { + if ($this->attribute2 === null && $this->name2 === null) { + static::err("Either 'name2' or 'attribute2' properties must be specified for a datepicker 'range' markup."); + } + if (!class_exists("\\kartik\\field\\FieldRangeAsset")) { + static::err( + "The yii2-field-range extension is not installed and is a pre-requisite for a DatePicker " . + "RANGE type. To install this extension run this command on your console: \n\n" . + "php composer.phar require kartik-v/yii2-field-range \"*\"" + ); + } + } + if (!isset($this->form)) { + return; + } + if (!$this->form instanceof ActiveForm) { + static::err("The 'form' property must be of type \\yii\\widgets\\ActiveForm"); + } + if (!$this->hasModel()) { + static::err("You must set the 'model' and 'attribute' properties when the 'form' property is set."); + } + if ($this->type === self::TYPE_RANGE && !isset($this->attribute2)) { + static::err("The 'attribute2' property must be set for a 'range' type markup and a defined 'form' property."); + } + } + + /** + * Renders the source input for the DatePicker plugin. + * + * @return string + */ + protected function renderInput() + { + if ($this->type == self::TYPE_INLINE) { + if (empty($this->options['readonly'])) { + $this->options['readonly'] = true; + } + Html::addCssClass($this->options, ['input-sm', 'text-center']); + } + if (isset($this->form) && ($this->type !== self::TYPE_RANGE)) { + $vars = call_user_func('get_object_vars', $this); + unset($vars['form']); + return $this->form->field($this->model, $this->attribute)->widget(self::class, $vars); + } + $input = $this->type == self::TYPE_BUTTON ? 'hiddenInput' : 'textInput'; + return $this->parseMarkup($this->getInput($input)); + } + + /** + * Returns the addon to render + * + * @param array $options the HTML attributes for the addon + * @param string $type whether the addon is the picker or remove + * + * @return string + */ + protected function renderAddon(&$options, $type = 'picker') + { + $isPicker = $type === 'picker'; + if ($options === false || (!$isPicker && $type !== 'remove')) { + return ''; + } + if (is_string($options)) { + return $options; + } + $css = !$this->isBs(3) ? 'input-group-text' : 'input-group-addon'; + Html::addCssClass($options, [$css, "kv-date-{$type}"]); + $iconType = "{$type}Icon"; + $icon = ArrayHelper::remove($options, 'label', $this->$iconType); + $title = ArrayHelper::getValue($options, 'title', ''); + if ($title !== false && empty($title)) { + $options['title'] = $isPicker ? Yii::t('kvdate', 'Select date') : Yii::t('kvdate', 'Clear field'); + } + return Html::tag('span', $icon, $options); + } + + /** + * Parses the input to render based on markup type. + * + * @param string $input + * + * @return string + */ + protected function parseMarkup($input) + { + $disabled = $this->disabled ? 'disabled' : ''; + $size = isset($this->size) ? "input-{$this->size}" : ''; + $notBs3 = !$this->isBs(3); + $isBs5 = $this->isBs(5); + switch ($this->type) { + case self::TYPE_INPUT: + Html::addCssClass($this->options, [$size, $disabled]); + return $input; + case self::TYPE_COMPONENT_PREPEND: + case self::TYPE_COMPONENT_APPEND: + $size = isset($this->size) ? "input-group-{$this->size}" : ''; + Html::addCssClass($this->_container, ['input-group', $size, 'date']); + $picker = $this->renderAddon($this->pickerButton); + $remove = $this->renderAddon($this->removeButton, 'remove'); + if ($notBs3 && !$isBs5) { + $css = $this->type === self::TYPE_COMPONENT_APPEND ? 'append' : 'prepend'; + $options = ['class' => 'input-group-' . $css]; + $picker = Html::tag('div', $picker, $options); + $remove = Html::tag('div', $remove, $options); + } + $out = strtr($this->layout, [ + '{picker}' => $picker, + '{remove}' => $remove, + '{input}' => $input, + ]); + return Html::tag('div', $out, $this->_container); + case self::TYPE_BUTTON: + Html::addCssClass($this->_container, ['date', $disabled]); + $label = ArrayHelper::remove($this->buttonOptions, 'label', $this->pickerIcon); + if (!isset($this->buttonOptions['disabled'])) { + $this->buttonOptions['disabled'] = $this->disabled; + } + if (empty($this->buttonOptions['class'])) { + $this->buttonOptions['class'] = 'btn btn-' . ($notBs3 ? 'secondary' : 'default'); + } + $button = Html::button($label, $this->buttonOptions); + Html::addCssStyle($this->_container, 'display:block'); + return Html::tag('span', "{$input}{$button}", $this->_container); + case self::TYPE_RANGE: + $size = isset($this->size) ? "input-group-{$this->size}" : ''; + Html::addCssClass($this->_container, ['input-group', $size, 'input-daterange']); + $this->initDisability($this->options2); + if (isset($this->form)) { + Html::addCssClass($this->options, [$this->addInputCss, 'kv-field-from']); + Html::addCssClass($this->options2, [$this->addInputCss, 'kv-field-to']); + $input = $this->form->field($this->model, $this->attribute, [ + 'template' => '{input}{error}', + 'options' => ['class' => "kv-container-from {$this->addInputCss}"], + ])->textInput($this->options); + $input2 = $this->form->field($this->model, $this->attribute2, [ + 'template' => '{input}{error}', + 'options' => ['class' => "kv-container-to {$this->addInputCss}"], + ])->textInput($this->options2); + } else { + if (empty($this->options2['id'])) { + $this->options2['id'] = $this->hasModel() ? Html::getInputId($this->model, $this->attribute2) : + $this->getId() . '-2'; + } + Html::addCssClass($this->options2, $this->addInputCss); + $input2 = $this->hasModel() ? + Html::activeTextInput($this->model, $this->attribute2, $this->options2) : + Html::textInput($this->name2, $this->value2, $this->options2); + } + $css = $notBs3 ? 'input-group-text' : 'input-group-addon'; + $sep = Html::tag('span', $this->separator, ['class' => $css . ' kv-field-separator']); + if ($notBs3 && !$isBs5) { + $sep = Html::tag('div', $sep, ['class' => 'input-group-append']); + } + $out = strtr($this->layout, [ + '{input1}' => $input, + '{separator}' => $sep, + '{input2}' => $input2, + ]); + return Html::tag('div', $out, $this->_container); + case self::TYPE_INLINE: + Html::addCssClass($this->options, [$size, $disabled]); + return Html::tag('div', $input, $this->_container); + default: + return ''; + } + } + + /** + * Registers the [[DatePicker]] widget client assets. + */ + public function registerAssets() + { + if ($this->disabled) { + return; + } + $view = $this->getView(); + $view->registerJs('jQuery.fn.kvDatepicker.dates={};'); + if (!empty($this->_langFile)) { + DatePickerAsset::registerBundle($view, $this->bsVersion)->js[] = $this->_langFile; + } else { + DatePickerAsset::registerBundle($view, $this->bsVersion); + } + $id = $this->options['id']; + $el = "jQuery('#" . $this->options['data-datepicker-source'] . "')"; + $this->registerPlugin($this->pluginName, $el); + if ($this->_hasAddon && $this->removeButton !== false) { + $view->registerJs("initDPRemove('{$id}');"); + } + if ($this->_hasAddon) { + $view->registerJs("initDPAddon('{$id}');"); + } + if ($this->type === self::TYPE_RANGE) { + FieldRangeAsset::register($view); + $view->registerJs("initDPRemove('{$id}', true);"); + } + } +} diff --git a/backend/components/datepicker/src/DatePickerAsset.php b/backend/components/datepicker/src/DatePickerAsset.php new file mode 100644 index 0000000..ccaeb96 --- /dev/null +++ b/backend/components/datepicker/src/DatePickerAsset.php @@ -0,0 +1,33 @@ + + * @since 1.0 + */ +class DatePickerAsset extends AssetBundle +{ + /** + * @inheritdoc + */ + public function init() + { + $this->setSourcePath(__DIR__ . '/assets'); + $bsCss = 'bootstrap-datepicker' . ($this->isBs(3) ? '3' : '4'); + $this->setupAssets('css', ['css/' . $bsCss, 'css/datepicker-kv']); + $this->setupAssets('js', ['js/bootstrap-datepicker', 'js/datepicker-kv']); + parent::init(); + } +} diff --git a/backend/components/datepicker/src/assets/css/bootstrap-datepicker3.css b/backend/components/datepicker/src/assets/css/bootstrap-datepicker3.css new file mode 100644 index 0000000..94d0fcb --- /dev/null +++ b/backend/components/datepicker/src/assets/css/bootstrap-datepicker3.css @@ -0,0 +1,779 @@ +/*! + * Datepicker for Bootstrap v1.7.1 (https://github.com/uxsolutions/bootstrap-datepicker) + * + * Modifications by Kartik Visweswaran, Krajee.com, 2018 + * + * Licensed under the Apache License v2.0 (http://www.apache.org/licenses/LICENSE-2.0) + */ +.datepicker { + border-radius: 4px; + direction: ltr; +} + +.datepicker-inline { + width: 220px; +} + +.datepicker-rtl { + direction: rtl; +} + +.datepicker-rtl.dropdown-menu { + left: auto; +} + +.datepicker-rtl table tr td span { + float: right; +} + +.datepicker-inline { + margin-top: 4px; +} + +.datepicker-dropdown { + top: 0; + left: 0; + padding: 4px; +} + +.datepicker-dropdown:before { + content: ''; + display: inline-block; + border-top-width: 0; + border-right: 7px solid transparent; + border-bottom: 7px solid rgba(0, 0, 0, 0.2); + border-left: 7px solid transparent; + position: absolute; +} + +.datepicker-dropdown:after { + content: ''; + display: inline-block; + border-left: 6px solid transparent; + border-right: 6px solid transparent; + border-bottom: 6px solid #fff; + border-top: 0; + position: absolute; +} + +.datepicker-dropdown.datepicker-orient-left:before { + left: 6px; +} + +.datepicker-dropdown.datepicker-orient-left:after { + left: 7px; +} + +.datepicker-dropdown.datepicker-orient-right:before { + right: 6px; +} + +.datepicker-dropdown.datepicker-orient-right:after { + right: 7px; +} + +.datepicker-dropdown.datepicker-orient-bottom:before { + top: -7px; +} + +.datepicker-dropdown.datepicker-orient-bottom:after { + top: -6px; +} + +.datepicker-dropdown.datepicker-orient-top:before { + bottom: -7px; + border-bottom: 0; + border-top: 7px solid rgba(0, 0, 0, 0.15); +} + +.datepicker-dropdown.datepicker-orient-top:after { + bottom: -6px; + border-bottom: 0; + border-top: 6px solid #fff; +} + +.datepicker table { + margin: 0; + -webkit-touch-callout: none; + -webkit-user-select: none; + -moz-user-select: none; + -ms-user-select: none; + user-select: none; +} + +.datepicker table tr td, +.datepicker table tr th { + text-align: center; + width: 30px; + height: 30px; + border-radius: 4px; + border: none; +} + +.table-striped .datepicker table tr td, +.table-striped .datepicker table tr th { + background-color: transparent; +} + +.datepicker table tr td.old, +.datepicker table tr td.new { + color: #777777; +} + +.datepicker table tr td.day:hover, +.datepicker table tr td.focused { + background: #eeeeee; + cursor: pointer; +} + +.datepicker table tr td.disabled, +.datepicker table tr td.disabled:hover { + background: none; + color: #777777; + cursor: default; +} + +.datepicker table tr td.highlighted { + color: #000; + background-color: #d9edf7; + border-color: #85c5e5; + border-radius: 0; +} + +.datepicker table tr td.highlighted:focus, +.datepicker table tr td.highlighted.focus { + color: #000; + background-color: #afd9ee; + border-color: #298fc2; +} + +.datepicker table tr td.highlighted:hover { + color: #000; + background-color: #afd9ee; + border-color: #52addb; +} + +.datepicker table tr td.highlighted:active, +.datepicker table tr td.highlighted.active { + color: #000; + background-color: #afd9ee; + border-color: #52addb; +} + +.datepicker table tr td.highlighted:active:hover, +.datepicker table tr td.highlighted.active:hover, +.datepicker table tr td.highlighted:active:focus, +.datepicker table tr td.highlighted.active:focus, +.datepicker table tr td.highlighted:active.focus, +.datepicker table tr td.highlighted.active.focus { + color: #000; + background-color: #91cbe8; + border-color: #298fc2; +} + +.datepicker table tr td.highlighted.disabled:hover, +.datepicker table tr td.highlighted[disabled]:hover, +fieldset[disabled] .datepicker table tr td.highlighted:hover, +.datepicker table tr td.highlighted.disabled:focus, +.datepicker table tr td.highlighted[disabled]:focus, +fieldset[disabled] .datepicker table tr td.highlighted:focus, +.datepicker table tr td.highlighted.disabled.focus, +.datepicker table tr td.highlighted[disabled].focus, +fieldset[disabled] .datepicker table tr td.highlighted.focus { + background-color: #d9edf7; + border-color: #85c5e5; +} + +.datepicker table tr td.highlighted.focused { + background: #afd9ee; +} + +.datepicker table tr td.highlighted.disabled, +.datepicker table tr td.highlighted.disabled:active { + background: #d9edf7; + color: #777777; +} + +.datepicker table tr td.today { + color: #000; + background-color: #ffdb99; + border-color: #ffb733; +} + +.datepicker table tr td.today:focus, +.datepicker table tr td.today.focus { + color: #000; + background-color: #ffc966; + border-color: #b37400; +} + +.datepicker table tr td.today:hover { + color: #000; + background-color: #ffc966; + border-color: #f59e00; +} + +.datepicker table tr td.today:active, +.datepicker table tr td.today.active { + color: #000; + background-color: #ffc966; + border-color: #f59e00; +} + +.datepicker table tr td.today:active:hover, +.datepicker table tr td.today.active:hover, +.datepicker table tr td.today:active:focus, +.datepicker table tr td.today.active:focus, +.datepicker table tr td.today:active.focus, +.datepicker table tr td.today.active.focus { + color: #000; + background-color: #ffbc42; + border-color: #b37400; +} + +.datepicker table tr td.today.disabled:hover, +.datepicker table tr td.today[disabled]:hover, +fieldset[disabled] .datepicker table tr td.today:hover, +.datepicker table tr td.today.disabled:focus, +.datepicker table tr td.today[disabled]:focus, +fieldset[disabled] .datepicker table tr td.today:focus, +.datepicker table tr td.today.disabled.focus, +.datepicker table tr td.today[disabled].focus, +fieldset[disabled] .datepicker table tr td.today.focus { + background-color: #ffdb99; + border-color: #ffb733; +} + +.datepicker table tr td.today.focused { + background: #ffc966; +} + +.datepicker table tr td.today.disabled, +.datepicker table tr td.today.disabled:active { + background: #ffdb99; + color: #777777; +} + +.datepicker table tr td.range { + color: #000; + background-color: #eeeeee; + border-color: #bbbbbb; + border-radius: 0; +} + +.datepicker table tr td.range:focus, +.datepicker table tr td.range.focus { + color: #000; + background-color: #d5d5d5; + border-color: #7c7c7c; +} + +.datepicker table tr td.range:hover { + color: #000; + background-color: #d5d5d5; + border-color: #9d9d9d; +} + +.datepicker table tr td.range:active, +.datepicker table tr td.range.active { + color: #000; + background-color: #d5d5d5; + border-color: #9d9d9d; +} + +.datepicker table tr td.range:active:hover, +.datepicker table tr td.range.active:hover, +.datepicker table tr td.range:active:focus, +.datepicker table tr td.range.active:focus, +.datepicker table tr td.range:active.focus, +.datepicker table tr td.range.active.focus { + color: #000; + background-color: #c3c3c3; + border-color: #7c7c7c; +} + +.datepicker table tr td.range.disabled:hover, +.datepicker table tr td.range[disabled]:hover, +fieldset[disabled] .datepicker table tr td.range:hover, +.datepicker table tr td.range.disabled:focus, +.datepicker table tr td.range[disabled]:focus, +fieldset[disabled] .datepicker table tr td.range:focus, +.datepicker table tr td.range.disabled.focus, +.datepicker table tr td.range[disabled].focus, +fieldset[disabled] .datepicker table tr td.range.focus { + background-color: #eeeeee; + border-color: #bbbbbb; +} + +.datepicker table tr td.range.focused { + background: #d5d5d5; +} + +.datepicker table tr td.range.disabled, +.datepicker table tr td.range.disabled:active { + background: #eeeeee; + color: #777777; +} + +.datepicker table tr td.range.highlighted { + color: #000; + background-color: #e4eef3; + border-color: #9dc1d3; +} + +.datepicker table tr td.range.highlighted:focus, +.datepicker table tr td.range.highlighted.focus { + color: #000; + background-color: #c1d7e3; + border-color: #4b88a6; +} + +.datepicker table tr td.range.highlighted:hover { + color: #000; + background-color: #c1d7e3; + border-color: #73a6c0; +} + +.datepicker table tr td.range.highlighted:active, +.datepicker table tr td.range.highlighted.active { + color: #000; + background-color: #c1d7e3; + border-color: #73a6c0; +} + +.datepicker table tr td.range.highlighted:active:hover, +.datepicker table tr td.range.highlighted.active:hover, +.datepicker table tr td.range.highlighted:active:focus, +.datepicker table tr td.range.highlighted.active:focus, +.datepicker table tr td.range.highlighted:active.focus, +.datepicker table tr td.range.highlighted.active.focus { + color: #000; + background-color: #a8c8d8; + border-color: #4b88a6; +} + +.datepicker table tr td.range.highlighted.disabled:hover, +.datepicker table tr td.range.highlighted[disabled]:hover, +fieldset[disabled] .datepicker table tr td.range.highlighted:hover, +.datepicker table tr td.range.highlighted.disabled:focus, +.datepicker table tr td.range.highlighted[disabled]:focus, +fieldset[disabled] .datepicker table tr td.range.highlighted:focus, +.datepicker table tr td.range.highlighted.disabled.focus, +.datepicker table tr td.range.highlighted[disabled].focus, +fieldset[disabled] .datepicker table tr td.range.highlighted.focus { + background-color: #e4eef3; + border-color: #9dc1d3; +} + +.datepicker table tr td.range.highlighted.focused { + background: #c1d7e3; +} + +.datepicker table tr td.range.highlighted.disabled, +.datepicker table tr td.range.highlighted.disabled:active { + background: #e4eef3; + color: #777777; +} + +.datepicker table tr td.range.today { + color: #000; + background-color: #f7ca77; + border-color: #f1a417; +} + +.datepicker table tr td.range.today:focus, +.datepicker table tr td.range.today.focus { + color: #000; + background-color: #f4b747; + border-color: #815608; +} + +.datepicker table tr td.range.today:hover { + color: #000; + background-color: #f4b747; + border-color: #bf800c; +} + +.datepicker table tr td.range.today:active, +.datepicker table tr td.range.today.active { + color: #000; + background-color: #f4b747; + border-color: #bf800c; +} + +.datepicker table tr td.range.today:active:hover, +.datepicker table tr td.range.today.active:hover, +.datepicker table tr td.range.today:active:focus, +.datepicker table tr td.range.today.active:focus, +.datepicker table tr td.range.today:active.focus, +.datepicker table tr td.range.today.active.focus { + color: #000; + background-color: #f2aa25; + border-color: #815608; +} + +.datepicker table tr td.range.today.disabled:hover, +.datepicker table tr td.range.today[disabled]:hover, +fieldset[disabled] .datepicker table tr td.range.today:hover, +.datepicker table tr td.range.today.disabled:focus, +.datepicker table tr td.range.today[disabled]:focus, +fieldset[disabled] .datepicker table tr td.range.today:focus, +.datepicker table tr td.range.today.disabled.focus, +.datepicker table tr td.range.today[disabled].focus, +fieldset[disabled] .datepicker table tr td.range.today.focus { + background-color: #f7ca77; + border-color: #f1a417; +} + +.datepicker table tr td.range.today.disabled, +.datepicker table tr td.range.today.disabled:active { + background: #f7ca77; + color: #777777; +} + +.datepicker table tr td.selected, +.datepicker table tr td.selected.highlighted { + color: #fff; + background-color: #777777; + border-color: #555555; + text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.25); +} + +.datepicker table tr td.selected:focus, +.datepicker table tr td.selected.highlighted:focus, +.datepicker table tr td.selected.focus, +.datepicker table tr td.selected.highlighted.focus { + color: #fff; + background-color: #5e5e5e; + border-color: #161616; +} + +.datepicker table tr td.selected:hover, +.datepicker table tr td.selected.highlighted:hover { + color: #fff; + background-color: #5e5e5e; + border-color: #373737; +} + +.datepicker table tr td.selected:active, +.datepicker table tr td.selected.highlighted:active, +.datepicker table tr td.selected.active, +.datepicker table tr td.selected.highlighted.active { + color: #fff; + background-color: #5e5e5e; + border-color: #373737; +} + +.datepicker table tr td.selected:active:hover, +.datepicker table tr td.selected.highlighted:active:hover, +.datepicker table tr td.selected.active:hover, +.datepicker table tr td.selected.highlighted.active:hover, +.datepicker table tr td.selected:active:focus, +.datepicker table tr td.selected.highlighted:active:focus, +.datepicker table tr td.selected.active:focus, +.datepicker table tr td.selected.highlighted.active:focus, +.datepicker table tr td.selected:active.focus, +.datepicker table tr td.selected.highlighted:active.focus, +.datepicker table tr td.selected.active.focus, +.datepicker table tr td.selected.highlighted.active.focus { + color: #fff; + background-color: #4c4c4c; + border-color: #161616; +} + +.datepicker table tr td.selected.disabled:hover, +.datepicker table tr td.selected.highlighted.disabled:hover, +.datepicker table tr td.selected[disabled]:hover, +.datepicker table tr td.selected.highlighted[disabled]:hover, +fieldset[disabled] .datepicker table tr td.selected:hover, +fieldset[disabled] .datepicker table tr td.selected.highlighted:hover, +.datepicker table tr td.selected.disabled:focus, +.datepicker table tr td.selected.highlighted.disabled:focus, +.datepicker table tr td.selected[disabled]:focus, +.datepicker table tr td.selected.highlighted[disabled]:focus, +fieldset[disabled] .datepicker table tr td.selected:focus, +fieldset[disabled] .datepicker table tr td.selected.highlighted:focus, +.datepicker table tr td.selected.disabled.focus, +.datepicker table tr td.selected.highlighted.disabled.focus, +.datepicker table tr td.selected[disabled].focus, +.datepicker table tr td.selected.highlighted[disabled].focus, +fieldset[disabled] .datepicker table tr td.selected.focus, +fieldset[disabled] .datepicker table tr td.selected.highlighted.focus { + background-color: #777777; + border-color: #555555; +} + +.datepicker table tr td.active, +.datepicker table tr td.active.highlighted { + color: #fff; + background-color: #337ab7; + border-color: #2e6da4; + text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.25); +} + +.datepicker table tr td.active:focus, +.datepicker table tr td.active.highlighted:focus, +.datepicker table tr td.active.focus, +.datepicker table tr td.active.highlighted.focus { + color: #fff; + background-color: #286090; + border-color: #122b40; +} + +.datepicker table tr td.active:hover, +.datepicker table tr td.active.highlighted:hover { + color: #fff; + background-color: #286090; + border-color: #204d74; +} + +.datepicker table tr td.active:active, +.datepicker table tr td.active.highlighted:active, +.datepicker table tr td.active.active, +.datepicker table tr td.active.highlighted.active { + color: #fff; + background-color: #286090; + border-color: #204d74; +} + +.datepicker table tr td.active:active:hover, +.datepicker table tr td.active.highlighted:active:hover, +.datepicker table tr td.active.active:hover, +.datepicker table tr td.active.highlighted.active:hover, +.datepicker table tr td.active:active:focus, +.datepicker table tr td.active.highlighted:active:focus, +.datepicker table tr td.active.active:focus, +.datepicker table tr td.active.highlighted.active:focus, +.datepicker table tr td.active:active.focus, +.datepicker table tr td.active.highlighted:active.focus, +.datepicker table tr td.active.active.focus, +.datepicker table tr td.active.highlighted.active.focus { + color: #fff; + background-color: #204d74; + border-color: #122b40; +} + +.datepicker table tr td.active.disabled:hover, +.datepicker table tr td.active.highlighted.disabled:hover, +.datepicker table tr td.active[disabled]:hover, +.datepicker table tr td.active.highlighted[disabled]:hover, +fieldset[disabled] .datepicker table tr td.active:hover, +fieldset[disabled] .datepicker table tr td.active.highlighted:hover, +.datepicker table tr td.active.disabled:focus, +.datepicker table tr td.active.highlighted.disabled:focus, +.datepicker table tr td.active[disabled]:focus, +.datepicker table tr td.active.highlighted[disabled]:focus, +fieldset[disabled] .datepicker table tr td.active:focus, +fieldset[disabled] .datepicker table tr td.active.highlighted:focus, +.datepicker table tr td.active.disabled.focus, +.datepicker table tr td.active.highlighted.disabled.focus, +.datepicker table tr td.active[disabled].focus, +.datepicker table tr td.active.highlighted[disabled].focus, +fieldset[disabled] .datepicker table tr td.active.focus, +fieldset[disabled] .datepicker table tr td.active.highlighted.focus { + background-color: #337ab7; + border-color: #2e6da4; +} + +.datepicker table tr td span { + display: block; + width: 23%; + height: 54px; + line-height: 54px; + float: left; + margin: 1%; + cursor: pointer; + border-radius: 4px; +} + +.datepicker table tr td span:hover, +.datepicker table tr td span.focused { + background: #eeeeee; +} + +.datepicker table tr td span.disabled, +.datepicker table tr td span.disabled:hover { + background: none; + color: #777777; + cursor: default; +} + +.datepicker table tr td span.active, +.datepicker table tr td span.active:hover, +.datepicker table tr td span.active.disabled, +.datepicker table tr td span.active.disabled:hover { + color: #fff; + background-color: #337ab7; + border-color: #2e6da4; + text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.25); +} + +.datepicker table tr td span.active:focus, +.datepicker table tr td span.active:hover:focus, +.datepicker table tr td span.active.disabled:focus, +.datepicker table tr td span.active.disabled:hover:focus, +.datepicker table tr td span.active.focus, +.datepicker table tr td span.active:hover.focus, +.datepicker table tr td span.active.disabled.focus, +.datepicker table tr td span.active.disabled:hover.focus { + color: #fff; + background-color: #286090; + border-color: #122b40; +} + +.datepicker table tr td span.active:hover, +.datepicker table tr td span.active:hover:hover, +.datepicker table tr td span.active.disabled:hover, +.datepicker table tr td span.active.disabled:hover:hover { + color: #fff; + background-color: #286090; + border-color: #204d74; +} + +.datepicker table tr td span.active:active, +.datepicker table tr td span.active:hover:active, +.datepicker table tr td span.active.disabled:active, +.datepicker table tr td span.active.disabled:hover:active, +.datepicker table tr td span.active.active, +.datepicker table tr td span.active:hover.active, +.datepicker table tr td span.active.disabled.active, +.datepicker table tr td span.active.disabled:hover.active { + color: #fff; + background-color: #286090; + border-color: #204d74; +} + +.datepicker table tr td span.active:active:hover, +.datepicker table tr td span.active:hover:active:hover, +.datepicker table tr td span.active.disabled:active:hover, +.datepicker table tr td span.active.disabled:hover:active:hover, +.datepicker table tr td span.active.active:hover, +.datepicker table tr td span.active:hover.active:hover, +.datepicker table tr td span.active.disabled.active:hover, +.datepicker table tr td span.active.disabled:hover.active:hover, +.datepicker table tr td span.active:active:focus, +.datepicker table tr td span.active:hover:active:focus, +.datepicker table tr td span.active.disabled:active:focus, +.datepicker table tr td span.active.disabled:hover:active:focus, +.datepicker table tr td span.active.active:focus, +.datepicker table tr td span.active:hover.active:focus, +.datepicker table tr td span.active.disabled.active:focus, +.datepicker table tr td span.active.disabled:hover.active:focus, +.datepicker table tr td span.active:active.focus, +.datepicker table tr td span.active:hover:active.focus, +.datepicker table tr td span.active.disabled:active.focus, +.datepicker table tr td span.active.disabled:hover:active.focus, +.datepicker table tr td span.active.active.focus, +.datepicker table tr td span.active:hover.active.focus, +.datepicker table tr td span.active.disabled.active.focus, +.datepicker table tr td span.active.disabled:hover.active.focus { + color: #fff; + background-color: #204d74; + border-color: #122b40; +} + +.datepicker table tr td span.active.disabled:hover, +.datepicker table tr td span.active:hover.disabled:hover, +.datepicker table tr td span.active.disabled.disabled:hover, +.datepicker table tr td span.active.disabled:hover.disabled:hover, +.datepicker table tr td span.active[disabled]:hover, +.datepicker table tr td span.active:hover[disabled]:hover, +.datepicker table tr td span.active.disabled[disabled]:hover, +.datepicker table tr td span.active.disabled:hover[disabled]:hover, +fieldset[disabled] .datepicker table tr td span.active:hover, +fieldset[disabled] .datepicker table tr td span.active:hover:hover, +fieldset[disabled] .datepicker table tr td span.active.disabled:hover, +fieldset[disabled] .datepicker table tr td span.active.disabled:hover:hover, +.datepicker table tr td span.active.disabled:focus, +.datepicker table tr td span.active:hover.disabled:focus, +.datepicker table tr td span.active.disabled.disabled:focus, +.datepicker table tr td span.active.disabled:hover.disabled:focus, +.datepicker table tr td span.active[disabled]:focus, +.datepicker table tr td span.active:hover[disabled]:focus, +.datepicker table tr td span.active.disabled[disabled]:focus, +.datepicker table tr td span.active.disabled:hover[disabled]:focus, +fieldset[disabled] .datepicker table tr td span.active:focus, +fieldset[disabled] .datepicker table tr td span.active:hover:focus, +fieldset[disabled] .datepicker table tr td span.active.disabled:focus, +fieldset[disabled] .datepicker table tr td span.active.disabled:hover:focus, +.datepicker table tr td span.active.disabled.focus, +.datepicker table tr td span.active:hover.disabled.focus, +.datepicker table tr td span.active.disabled.disabled.focus, +.datepicker table tr td span.active.disabled:hover.disabled.focus, +.datepicker table tr td span.active[disabled].focus, +.datepicker table tr td span.active:hover[disabled].focus, +.datepicker table tr td span.active.disabled[disabled].focus, +.datepicker table tr td span.active.disabled:hover[disabled].focus, +fieldset[disabled] .datepicker table tr td span.active.focus, +fieldset[disabled] .datepicker table tr td span.active:hover.focus, +fieldset[disabled] .datepicker table tr td span.active.disabled.focus, +fieldset[disabled] .datepicker table tr td span.active.disabled:hover.focus { + background-color: #337ab7; + border-color: #2e6da4; +} + +.datepicker table tr td span.old, +.datepicker table tr td span.new { + color: #777777; +} + +.datepicker .datepicker-switch { + width: 145px; +} + +.datepicker .datepicker-switch, +.datepicker .prev, +.datepicker .next, +.datepicker tfoot tr th { + cursor: pointer; +} + +.datepicker .datepicker-switch:hover, +.datepicker .prev:hover, +.datepicker .next:hover, +.datepicker tfoot tr th:hover { + background: #eeeeee; +} + +.datepicker .prev.disabled, +.datepicker .next.disabled { + visibility: hidden; +} + +.datepicker .cw { + font-size: 10px; + width: 12px; + padding: 0 2px 0 5px; + vertical-align: middle; +} + +.input-group.date .input-group-addon { + cursor: pointer; +} + +.input-daterange { + width: 100%; +} + +.input-daterange input { + text-align: center; +} + +.input-daterange input:first-child { + border-radius: 3px 0 0 3px; +} + +.input-daterange input:last-child { + border-radius: 0 3px 3px 0; +} + +.input-daterange .input-group-addon { + width: auto; + min-width: 16px; + padding: 4px 5px; + line-height: 1.42857143; + text-shadow: 0 1px 0 #fff; + border-width: 1px 0; + margin-left: -5px; + margin-right: -5px; +} \ No newline at end of file diff --git a/backend/components/datepicker/src/assets/css/bootstrap-datepicker3.min.css b/backend/components/datepicker/src/assets/css/bootstrap-datepicker3.min.css new file mode 100644 index 0000000..5076af2 --- /dev/null +++ b/backend/components/datepicker/src/assets/css/bootstrap-datepicker3.min.css @@ -0,0 +1,7 @@ +/*! + * Datepicker for Bootstrap v1.7.1 (https://github.com/uxsolutions/bootstrap-datepicker) + * + * Modifications by Kartik Visweswaran, Krajee.com, 2018 + * + * Licensed under the Apache License v2.0 (http://www.apache.org/licenses/LICENSE-2.0) + */.datepicker-dropdown:after,.datepicker-dropdown:before{content:'';display:inline-block;position:absolute}.datepicker{border-radius:4px;direction:ltr}.datepicker-inline{width:220px;margin-top:4px}.datepicker-rtl{direction:rtl}.datepicker-rtl.dropdown-menu{left:auto}.datepicker-rtl table tr td span{float:right}.datepicker-dropdown{top:0;left:0;padding:4px}.datepicker-dropdown:before{border-top-width:0;border-right:7px solid transparent;border-bottom:7px solid rgba(0,0,0,.2);border-left:7px solid transparent}.datepicker-dropdown:after{border-left:6px solid transparent;border-right:6px solid transparent;border-bottom:6px solid #fff;border-top:0}.datepicker-dropdown.datepicker-orient-left:before{left:6px}.datepicker-dropdown.datepicker-orient-left:after{left:7px}.datepicker-dropdown.datepicker-orient-right:before{right:6px}.datepicker-dropdown.datepicker-orient-right:after{right:7px}.datepicker-dropdown.datepicker-orient-bottom:before{top:-7px}.datepicker-dropdown.datepicker-orient-bottom:after{top:-6px}.datepicker-dropdown.datepicker-orient-top:before{bottom:-7px;border-bottom:0;border-top:7px solid rgba(0,0,0,.15)}.datepicker-dropdown.datepicker-orient-top:after{bottom:-6px;border-bottom:0;border-top:6px solid #fff}.datepicker table{margin:0;-webkit-touch-callout:none;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.datepicker table tr td,.datepicker table tr th{text-align:center;width:30px;height:30px;border-radius:4px;border:none}.table-striped .datepicker table tr td,.table-striped .datepicker table tr th{background-color:transparent}.datepicker table tr td.new,.datepicker table tr td.old{color:#777}.datepicker table tr td.day:hover,.datepicker table tr td.focused{background:#eee;cursor:pointer}.datepicker table tr td.disabled,.datepicker table tr td.disabled:hover{background:0 0;color:#777;cursor:default}.datepicker table tr td.highlighted{color:#000;background-color:#d9edf7;border-color:#85c5e5;border-radius:0}.datepicker table tr td.highlighted.focus,.datepicker table tr td.highlighted:focus{color:#000;background-color:#afd9ee;border-color:#298fc2}.datepicker table tr td.highlighted.active,.datepicker table tr td.highlighted:active,.datepicker table tr td.highlighted:hover{color:#000;background-color:#afd9ee;border-color:#52addb}.datepicker table tr td.highlighted.active.focus,.datepicker table tr td.highlighted.active:focus,.datepicker table tr td.highlighted.active:hover,.datepicker table tr td.highlighted:active.focus,.datepicker table tr td.highlighted:active:focus,.datepicker table tr td.highlighted:active:hover{color:#000;background-color:#91cbe8;border-color:#298fc2}.datepicker table tr td.highlighted.disabled.focus,.datepicker table tr td.highlighted.disabled:focus,.datepicker table tr td.highlighted.disabled:hover,.datepicker table tr td.highlighted[disabled].focus,.datepicker table tr td.highlighted[disabled]:focus,.datepicker table tr td.highlighted[disabled]:hover,fieldset[disabled] .datepicker table tr td.highlighted.focus,fieldset[disabled] .datepicker table tr td.highlighted:focus,fieldset[disabled] .datepicker table tr td.highlighted:hover{background-color:#d9edf7;border-color:#85c5e5}.datepicker table tr td.highlighted.focused{background:#afd9ee}.datepicker table tr td.highlighted.disabled,.datepicker table tr td.highlighted.disabled:active{background:#d9edf7;color:#777}.datepicker table tr td.today{color:#000;background-color:#ffdb99;border-color:#ffb733}.datepicker table tr td.today.focus,.datepicker table tr td.today:focus{color:#000;background-color:#ffc966;border-color:#b37400}.datepicker table tr td.today.active,.datepicker table tr td.today:active,.datepicker table tr td.today:hover{color:#000;background-color:#ffc966;border-color:#f59e00}.datepicker table tr td.today.active.focus,.datepicker table tr td.today.active:focus,.datepicker table tr td.today.active:hover,.datepicker table tr td.today:active.focus,.datepicker table tr td.today:active:focus,.datepicker table tr td.today:active:hover{color:#000;background-color:#ffbc42;border-color:#b37400}.datepicker table tr td.today.disabled.focus,.datepicker table tr td.today.disabled:focus,.datepicker table tr td.today.disabled:hover,.datepicker table tr td.today[disabled].focus,.datepicker table tr td.today[disabled]:focus,.datepicker table tr td.today[disabled]:hover,fieldset[disabled] .datepicker table tr td.today.focus,fieldset[disabled] .datepicker table tr td.today:focus,fieldset[disabled] .datepicker table tr td.today:hover{background-color:#ffdb99;border-color:#ffb733}.datepicker table tr td.today.focused{background:#ffc966}.datepicker table tr td.today.disabled,.datepicker table tr td.today.disabled:active{background:#ffdb99;color:#777}.datepicker table tr td.range{color:#000;background-color:#eee;border-color:#bbb;border-radius:0}.datepicker table tr td.range.focus,.datepicker table tr td.range:focus{color:#000;background-color:#d5d5d5;border-color:#7c7c7c}.datepicker table tr td.range.active,.datepicker table tr td.range:active,.datepicker table tr td.range:hover{color:#000;background-color:#d5d5d5;border-color:#9d9d9d}.datepicker table tr td.range.active.focus,.datepicker table tr td.range.active:focus,.datepicker table tr td.range.active:hover,.datepicker table tr td.range:active.focus,.datepicker table tr td.range:active:focus,.datepicker table tr td.range:active:hover{color:#000;background-color:#c3c3c3;border-color:#7c7c7c}.datepicker table tr td.range.disabled.focus,.datepicker table tr td.range.disabled:focus,.datepicker table tr td.range.disabled:hover,.datepicker table tr td.range[disabled].focus,.datepicker table tr td.range[disabled]:focus,.datepicker table tr td.range[disabled]:hover,fieldset[disabled] .datepicker table tr td.range.focus,fieldset[disabled] .datepicker table tr td.range:focus,fieldset[disabled] .datepicker table tr td.range:hover{background-color:#eee;border-color:#bbb}.datepicker table tr td.range.focused{background:#d5d5d5}.datepicker table tr td.range.disabled,.datepicker table tr td.range.disabled:active{background:#eee;color:#777}.datepicker table tr td.range.highlighted{color:#000;background-color:#e4eef3;border-color:#9dc1d3}.datepicker table tr td.range.highlighted.focus,.datepicker table tr td.range.highlighted:focus{color:#000;background-color:#c1d7e3;border-color:#4b88a6}.datepicker table tr td.range.highlighted.active,.datepicker table tr td.range.highlighted:active,.datepicker table tr td.range.highlighted:hover{color:#000;background-color:#c1d7e3;border-color:#73a6c0}.datepicker table tr td.range.highlighted.active.focus,.datepicker table tr td.range.highlighted.active:focus,.datepicker table tr td.range.highlighted.active:hover,.datepicker table tr td.range.highlighted:active.focus,.datepicker table tr td.range.highlighted:active:focus,.datepicker table tr td.range.highlighted:active:hover{color:#000;background-color:#a8c8d8;border-color:#4b88a6}.datepicker table tr td.range.highlighted.disabled.focus,.datepicker table tr td.range.highlighted.disabled:focus,.datepicker table tr td.range.highlighted.disabled:hover,.datepicker table tr td.range.highlighted[disabled].focus,.datepicker table tr td.range.highlighted[disabled]:focus,.datepicker table tr td.range.highlighted[disabled]:hover,fieldset[disabled] .datepicker table tr td.range.highlighted.focus,fieldset[disabled] .datepicker table tr td.range.highlighted:focus,fieldset[disabled] .datepicker table tr td.range.highlighted:hover{background-color:#e4eef3;border-color:#9dc1d3}.datepicker table tr td.range.highlighted.focused{background:#c1d7e3}.datepicker table tr td.range.highlighted.disabled,.datepicker table tr td.range.highlighted.disabled:active{background:#e4eef3;color:#777}.datepicker table tr td.range.today{color:#000;background-color:#f7ca77;border-color:#f1a417}.datepicker table tr td.range.today.focus,.datepicker table tr td.range.today:focus{color:#000;background-color:#f4b747;border-color:#815608}.datepicker table tr td.range.today.active,.datepicker table tr td.range.today:active,.datepicker table tr td.range.today:hover{color:#000;background-color:#f4b747;border-color:#bf800c}.datepicker table tr td.range.today.active.focus,.datepicker table tr td.range.today.active:focus,.datepicker table tr td.range.today.active:hover,.datepicker table tr td.range.today:active.focus,.datepicker table tr td.range.today:active:focus,.datepicker table tr td.range.today:active:hover{color:#000;background-color:#f2aa25;border-color:#815608}.datepicker table tr td.range.today.disabled.focus,.datepicker table tr td.range.today.disabled:focus,.datepicker table tr td.range.today.disabled:hover,.datepicker table tr td.range.today[disabled].focus,.datepicker table tr td.range.today[disabled]:focus,.datepicker table tr td.range.today[disabled]:hover,fieldset[disabled] .datepicker table tr td.range.today.focus,fieldset[disabled] .datepicker table tr td.range.today:focus,fieldset[disabled] .datepicker table tr td.range.today:hover{background-color:#f7ca77;border-color:#f1a417}.datepicker table tr td.range.today.disabled,.datepicker table tr td.range.today.disabled:active{background:#f7ca77;color:#777}.datepicker table tr td.selected,.datepicker table tr td.selected.highlighted{color:#fff;background-color:#777;border-color:#555;text-shadow:0 -1px 0 rgba(0,0,0,.25)}.datepicker table tr td.selected.focus,.datepicker table tr td.selected.highlighted.focus,.datepicker table tr td.selected.highlighted:focus,.datepicker table tr td.selected:focus{color:#fff;background-color:#5e5e5e;border-color:#161616}.datepicker table tr td.selected.active,.datepicker table tr td.selected.highlighted.active,.datepicker table tr td.selected.highlighted:active,.datepicker table tr td.selected.highlighted:hover,.datepicker table tr td.selected:active,.datepicker table tr td.selected:hover{color:#fff;background-color:#5e5e5e;border-color:#373737}.datepicker table tr td.selected.active.focus,.datepicker table tr td.selected.active:focus,.datepicker table tr td.selected.active:hover,.datepicker table tr td.selected.highlighted.active.focus,.datepicker table tr td.selected.highlighted.active:focus,.datepicker table tr td.selected.highlighted.active:hover,.datepicker table tr td.selected.highlighted:active.focus,.datepicker table tr td.selected.highlighted:active:focus,.datepicker table tr td.selected.highlighted:active:hover,.datepicker table tr td.selected:active.focus,.datepicker table tr td.selected:active:focus,.datepicker table tr td.selected:active:hover{color:#fff;background-color:#4c4c4c;border-color:#161616}.datepicker table tr td.selected.disabled.focus,.datepicker table tr td.selected.disabled:focus,.datepicker table tr td.selected.disabled:hover,.datepicker table tr td.selected.highlighted.disabled.focus,.datepicker table tr td.selected.highlighted.disabled:focus,.datepicker table tr td.selected.highlighted.disabled:hover,.datepicker table tr td.selected.highlighted[disabled].focus,.datepicker table tr td.selected.highlighted[disabled]:focus,.datepicker table tr td.selected.highlighted[disabled]:hover,.datepicker table tr td.selected[disabled].focus,.datepicker table tr td.selected[disabled]:focus,.datepicker table tr td.selected[disabled]:hover,fieldset[disabled] .datepicker table tr td.selected.focus,fieldset[disabled] .datepicker table tr td.selected.highlighted.focus,fieldset[disabled] .datepicker table tr td.selected.highlighted:focus,fieldset[disabled] .datepicker table tr td.selected.highlighted:hover,fieldset[disabled] .datepicker table tr td.selected:focus,fieldset[disabled] .datepicker table tr td.selected:hover{background-color:#777;border-color:#555}.datepicker table tr td.active,.datepicker table tr td.active.highlighted{color:#fff;background-color:#337ab7;border-color:#2e6da4;text-shadow:0 -1px 0 rgba(0,0,0,.25)}.datepicker table tr td.active.focus,.datepicker table tr td.active.highlighted.focus,.datepicker table tr td.active.highlighted:focus,.datepicker table tr td.active:focus{color:#fff;background-color:#286090;border-color:#122b40}.datepicker table tr td.active.active,.datepicker table tr td.active.highlighted.active,.datepicker table tr td.active.highlighted:active,.datepicker table tr td.active.highlighted:hover,.datepicker table tr td.active:active,.datepicker table tr td.active:hover{color:#fff;background-color:#286090;border-color:#204d74}.datepicker table tr td.active.active.focus,.datepicker table tr td.active.active:focus,.datepicker table tr td.active.active:hover,.datepicker table tr td.active.highlighted.active.focus,.datepicker table tr td.active.highlighted.active:focus,.datepicker table tr td.active.highlighted.active:hover,.datepicker table tr td.active.highlighted:active.focus,.datepicker table tr td.active.highlighted:active:focus,.datepicker table tr td.active.highlighted:active:hover,.datepicker table tr td.active:active.focus,.datepicker table tr td.active:active:focus,.datepicker table tr td.active:active:hover{color:#fff;background-color:#204d74;border-color:#122b40}.datepicker table tr td.active.disabled.focus,.datepicker table tr td.active.disabled:focus,.datepicker table tr td.active.disabled:hover,.datepicker table tr td.active.highlighted.disabled.focus,.datepicker table tr td.active.highlighted.disabled:focus,.datepicker table tr td.active.highlighted.disabled:hover,.datepicker table tr td.active.highlighted[disabled].focus,.datepicker table tr td.active.highlighted[disabled]:focus,.datepicker table tr td.active.highlighted[disabled]:hover,.datepicker table tr td.active[disabled].focus,.datepicker table tr td.active[disabled]:focus,.datepicker table tr td.active[disabled]:hover,fieldset[disabled] .datepicker table tr td.active.focus,fieldset[disabled] .datepicker table tr td.active.highlighted.focus,fieldset[disabled] .datepicker table tr td.active.highlighted:focus,fieldset[disabled] .datepicker table tr td.active.highlighted:hover,fieldset[disabled] .datepicker table tr td.active:focus,fieldset[disabled] .datepicker table tr td.active:hover{background-color:#337ab7;border-color:#2e6da4}.datepicker table tr td span{display:block;width:23%;height:54px;line-height:54px;float:left;margin:1%;cursor:pointer;border-radius:4px}.datepicker table tr td span.focused,.datepicker table tr td span:hover{background:#eee}.datepicker table tr td span.disabled,.datepicker table tr td span.disabled:hover{background:0 0;color:#777;cursor:default}.datepicker .datepicker-switch,.datepicker .next,.datepicker .prev,.datepicker tfoot tr th,.input-group.date .input-group-addon{cursor:pointer}.datepicker table tr td span.active,.datepicker table tr td span.active.disabled,.datepicker table tr td span.active.disabled:hover,.datepicker table tr td span.active:hover{color:#fff;background-color:#337ab7;border-color:#2e6da4;text-shadow:0 -1px 0 rgba(0,0,0,.25)}.datepicker table tr td span.active.disabled.focus,.datepicker table tr td span.active.disabled:focus,.datepicker table tr td span.active.disabled:hover.focus,.datepicker table tr td span.active.disabled:hover:focus,.datepicker table tr td span.active.focus,.datepicker table tr td span.active:focus,.datepicker table tr td span.active:hover.focus,.datepicker table tr td span.active:hover:focus{color:#fff;background-color:#286090;border-color:#122b40}.datepicker table tr td span.active.active,.datepicker table tr td span.active.disabled.active,.datepicker table tr td span.active.disabled:active,.datepicker table tr td span.active.disabled:hover,.datepicker table tr td span.active.disabled:hover.active,.datepicker table tr td span.active.disabled:hover:active,.datepicker table tr td span.active.disabled:hover:hover,.datepicker table tr td span.active:active,.datepicker table tr td span.active:hover,.datepicker table tr td span.active:hover.active,.datepicker table tr td span.active:hover:active,.datepicker table tr td span.active:hover:hover{color:#fff;background-color:#286090;border-color:#204d74}.datepicker table tr td span.active.active.focus,.datepicker table tr td span.active.active:focus,.datepicker table tr td span.active.active:hover,.datepicker table tr td span.active.disabled.active.focus,.datepicker table tr td span.active.disabled.active:focus,.datepicker table tr td span.active.disabled.active:hover,.datepicker table tr td span.active.disabled:active.focus,.datepicker table tr td span.active.disabled:active:focus,.datepicker table tr td span.active.disabled:active:hover,.datepicker table tr td span.active.disabled:hover.active.focus,.datepicker table tr td span.active.disabled:hover.active:focus,.datepicker table tr td span.active.disabled:hover.active:hover,.datepicker table tr td span.active.disabled:hover:active.focus,.datepicker table tr td span.active.disabled:hover:active:focus,.datepicker table tr td span.active.disabled:hover:active:hover,.datepicker table tr td span.active:active.focus,.datepicker table tr td span.active:active:focus,.datepicker table tr td span.active:active:hover,.datepicker table tr td span.active:hover.active.focus,.datepicker table tr td span.active:hover.active:focus,.datepicker table tr td span.active:hover.active:hover,.datepicker table tr td span.active:hover:active.focus,.datepicker table tr td span.active:hover:active:focus,.datepicker table tr td span.active:hover:active:hover{color:#fff;background-color:#204d74;border-color:#122b40}.datepicker table tr td span.active.disabled.disabled.focus,.datepicker table tr td span.active.disabled.disabled:focus,.datepicker table tr td span.active.disabled.disabled:hover,.datepicker table tr td span.active.disabled.focus,.datepicker table tr td span.active.disabled:focus,.datepicker table tr td span.active.disabled:hover,.datepicker table tr td span.active.disabled:hover.disabled.focus,.datepicker table tr td span.active.disabled:hover.disabled:focus,.datepicker table tr td span.active.disabled:hover.disabled:hover,.datepicker table tr td span.active.disabled:hover[disabled].focus,.datepicker table tr td span.active.disabled:hover[disabled]:focus,.datepicker table tr td span.active.disabled:hover[disabled]:hover,.datepicker table tr td span.active.disabled[disabled].focus,.datepicker table tr td span.active.disabled[disabled]:focus,.datepicker table tr td span.active.disabled[disabled]:hover,.datepicker table tr td span.active:hover.disabled.focus,.datepicker table tr td span.active:hover.disabled:focus,.datepicker table tr td span.active:hover.disabled:hover,.datepicker table tr td span.active:hover[disabled].focus,.datepicker table tr td span.active:hover[disabled]:focus,.datepicker table tr td span.active:hover[disabled]:hover,.datepicker table tr td span.active[disabled].focus,.datepicker table tr td span.active[disabled]:focus,.datepicker table tr td span.active[disabled]:hover,fieldset[disabled] .datepicker table tr td span.active.disabled.focus,fieldset[disabled] .datepicker table tr td span.active.disabled:focus,fieldset[disabled] .datepicker table tr td span.active.disabled:hover,fieldset[disabled] .datepicker table tr td span.active.disabled:hover.focus,fieldset[disabled] .datepicker table tr td span.active.disabled:hover:focus,fieldset[disabled] .datepicker table tr td span.active.disabled:hover:hover,fieldset[disabled] .datepicker table tr td span.active.focus,fieldset[disabled] .datepicker table tr td span.active:focus,fieldset[disabled] .datepicker table tr td span.active:hover,fieldset[disabled] .datepicker table tr td span.active:hover.focus,fieldset[disabled] .datepicker table tr td span.active:hover:focus,fieldset[disabled] .datepicker table tr td span.active:hover:hover{background-color:#337ab7;border-color:#2e6da4}.datepicker table tr td span.new,.datepicker table tr td span.old{color:#777}.datepicker .datepicker-switch{width:145px}.datepicker .datepicker-switch:hover,.datepicker .next:hover,.datepicker .prev:hover,.datepicker tfoot tr th:hover{background:#eee}.datepicker .next.disabled,.datepicker .prev.disabled{visibility:hidden}.datepicker .cw{font-size:10px;width:12px;padding:0 2px 0 5px;vertical-align:middle}.input-daterange{width:100%}.input-daterange input{text-align:center}.input-daterange input:first-child{border-radius:3px 0 0 3px}.input-daterange input:last-child{border-radius:0 3px 3px 0}.input-daterange .input-group-addon{width:auto;min-width:16px;padding:4px 5px;line-height:1.42857143;text-shadow:0 1px 0 #fff;border-width:1px 0;margin-left:-5px;margin-right:-5px} \ No newline at end of file diff --git a/backend/components/datepicker/src/assets/css/bootstrap-datepicker4.css b/backend/components/datepicker/src/assets/css/bootstrap-datepicker4.css new file mode 100644 index 0000000..4ae13ce --- /dev/null +++ b/backend/components/datepicker/src/assets/css/bootstrap-datepicker4.css @@ -0,0 +1,751 @@ +/*! + * @copyright Copyright © Kartik Visweswaran, Krajee.com, 2014 - 2021 + * @package yii2-widgets + * @subpackage yii2-widget-datepicker + * @version 1.4.8 + * + * Bootstrap 4.x styling for bootstrap-datepicker + * + * Author: Kartik Visweswaran + * For more Yii related demos visit http://demos.krajee.com + */ +.datepicker { + border-radius: 0.25rem; + direction: ltr; +} + +.datepicker-rtl { + direction: rtl; +} + +.datepicker-rtl.dropdown-menu { + left: auto; +} + +.datepicker-rtl table tr td span { + float: right; +} + +.datepicker-inline { + margin-top: 0.25rem; +} + +.datepicker-dropdown { + top: 0; + left: 0; + padding: 0.25rem; +} + +.datepicker-dropdown:before { + content: ''; + display: inline-block; + border-top-width: 0; + border-right: 0.4375rem solid transparent; + border-bottom: 0.4375rem solid rgba(0, 0, 0, 0.2); + border-left: 0.4375rem solid transparent; + position: absolute; +} + +.datepicker-dropdown:after { + content: ''; + display: inline-block; + border-left: 0.375rem solid transparent; + border-right: 0.375rem solid transparent; + border-bottom: 0.375rem solid #fff; + border-top: 0; + position: absolute; +} + +.datepicker-dropdown.datepicker-orient-left:before { + left: 0.375rem; +} + +.datepicker-dropdown.datepicker-orient-left:after { + left: 0.4375rem; +} + +.datepicker-dropdown.datepicker-orient-right:before { + right: 0.375rem; +} + +.datepicker-dropdown.datepicker-orient-right:after { + right: 0.4375rem; +} + +.datepicker-dropdown.datepicker-orient-bottom:before { + top: -0.4375rem; +} + +.datepicker-dropdown.datepicker-orient-bottom:after { + top: -0.375rem; +} + +.datepicker-dropdown.datepicker-orient-top:before { + bottom: -0.4375rem; + border-bottom: 0; + border-top: 0.4375rem solid rgba(0, 0, 0, 0.15); +} + +.datepicker-dropdown.datepicker-orient-top:after { + bottom: -0.375rem; + border-bottom: 0; + border-top: 0.375rem solid #fff; +} + +.datepicker table { + margin: 0; + -webkit-touch-callout: none; + -webkit-user-select: none; + -moz-user-select: none; + -ms-user-select: none; + user-select: none; +} + +.datepicker table tr td, +.datepicker table tr th { + text-align: center; + width: 2.5rem; + height: 2.5rem; + border-radius: 0.25rem; + border: none; +} + +.table-striped .datepicker table tr td, +.table-striped .datepicker table tr th { + background-color: transparent; +} + +.datepicker table tr td.old, +.datepicker table tr td.new { + color: #777777; +} + +.datepicker table tr td.day:hover, +.datepicker table tr td.focused { + background: #eeeeee; + cursor: pointer; +} + +.datepicker table tr td.disabled, +.datepicker table tr td.disabled:hover { + background: none; + color: #777777; + cursor: default; +} + +.datepicker table tr td.highlighted { + color: #000; + background-color: #d9edf7; + border-color: #85c5e5; + border-radius: 0; +} + +.datepicker table tr td.highlighted:focus, +.datepicker table tr td.highlighted.focus { + color: #000; + background-color: #afd9ee; + border-color: #298fc2; +} + +.datepicker table tr td.highlighted:hover { + color: #000; + background-color: #afd9ee; + border-color: #52addb; +} + +.datepicker table tr td.highlighted:active, +.datepicker table tr td.highlighted.active { + color: #000; + background-color: #afd9ee; + border-color: #52addb; +} + +.datepicker table tr td.highlighted:active:hover, +.datepicker table tr td.highlighted.active:hover, +.datepicker table tr td.highlighted:active:focus, +.datepicker table tr td.highlighted.active:focus, +.datepicker table tr td.highlighted:active.focus, +.datepicker table tr td.highlighted.active.focus { + color: #000; + background-color: #91cbe8; + border-color: #298fc2; +} + +.datepicker table tr td.highlighted.disabled:hover, +.datepicker table tr td.highlighted[disabled]:hover, +fieldset[disabled] .datepicker table tr td.highlighted:hover, +.datepicker table tr td.highlighted.disabled:focus, +.datepicker table tr td.highlighted[disabled]:focus, +fieldset[disabled] .datepicker table tr td.highlighted:focus, +.datepicker table tr td.highlighted.disabled.focus, +.datepicker table tr td.highlighted[disabled].focus, +fieldset[disabled] .datepicker table tr td.highlighted.focus { + background-color: #d9edf7; + border-color: #85c5e5; +} + +.datepicker table tr td.highlighted.focused { + background: #afd9ee; +} + +.datepicker table tr td.highlighted.disabled, +.datepicker table tr td.highlighted.disabled:active { + background: #d9edf7; + color: #777777; +} + +.datepicker table tr td.today { + color: #000; + background-color: #ffdb99; + border-color: #ffb733; +} + +.datepicker table tr td.today:focus, +.datepicker table tr td.today.focus { + color: #000; + background-color: #ffc966; + border-color: #b37400; +} + +.datepicker table tr td.today:hover { + color: #000; + background-color: #ffc966; + border-color: #f59e00; +} + +.datepicker table tr td.today:active, +.datepicker table tr td.today.active { + color: #000; + background-color: #ffc966; + border-color: #f59e00; +} + +.datepicker table tr td.today:active:hover, +.datepicker table tr td.today.active:hover, +.datepicker table tr td.today:active:focus, +.datepicker table tr td.today.active:focus, +.datepicker table tr td.today:active.focus, +.datepicker table tr td.today.active.focus { + color: #000; + background-color: #ffbc42; + border-color: #b37400; +} + +.datepicker table tr td.today.disabled:hover, +.datepicker table tr td.today[disabled]:hover, +fieldset[disabled] .datepicker table tr td.today:hover, +.datepicker table tr td.today.disabled:focus, +.datepicker table tr td.today[disabled]:focus, +fieldset[disabled] .datepicker table tr td.today:focus, +.datepicker table tr td.today.disabled.focus, +.datepicker table tr td.today[disabled].focus, +fieldset[disabled] .datepicker table tr td.today.focus { + background-color: #ffdb99; + border-color: #ffb733; +} + +.datepicker table tr td.today.focused { + background: #ffc966; +} + +.datepicker table tr td.today.disabled, +.datepicker table tr td.today.disabled:active { + background: #ffdb99; + color: #777777; +} + +.datepicker table tr td.range { + color: #000; + background-color: #eeeeee; + border-color: #bbbbbb; + border-radius: 0; +} + +.datepicker table tr td.range:focus, +.datepicker table tr td.range.focus { + color: #000; + background-color: #d5d5d5; + border-color: #7c7c7c; +} + +.datepicker table tr td.range:hover { + color: #000; + background-color: #d5d5d5; + border-color: #9d9d9d; +} + +.datepicker table tr td.range:active, +.datepicker table tr td.range.active { + color: #000; + background-color: #d5d5d5; + border-color: #9d9d9d; +} + +.datepicker table tr td.range:active:hover, +.datepicker table tr td.range.active:hover, +.datepicker table tr td.range:active:focus, +.datepicker table tr td.range.active:focus, +.datepicker table tr td.range:active.focus, +.datepicker table tr td.range.active.focus { + color: #000; + background-color: #c3c3c3; + border-color: #7c7c7c; +} + +.datepicker table tr td.range.disabled:hover, +.datepicker table tr td.range[disabled]:hover, +fieldset[disabled] .datepicker table tr td.range:hover, +.datepicker table tr td.range.disabled:focus, +.datepicker table tr td.range[disabled]:focus, +fieldset[disabled] .datepicker table tr td.range:focus, +.datepicker table tr td.range.disabled.focus, +.datepicker table tr td.range[disabled].focus, +fieldset[disabled] .datepicker table tr td.range.focus { + background-color: #eeeeee; + border-color: #bbbbbb; +} + +.datepicker table tr td.range.focused { + background: #d5d5d5; +} + +.datepicker table tr td.range.disabled, +.datepicker table tr td.range.disabled:active { + background: #eeeeee; + color: #777777; +} + +.datepicker table tr td.range.highlighted { + color: #000; + background-color: #e4eef3; + border-color: #9dc1d3; +} + +.datepicker table tr td.range.highlighted:focus, +.datepicker table tr td.range.highlighted.focus { + color: #000; + background-color: #c1d7e3; + border-color: #4b88a6; +} + +.datepicker table tr td.range.highlighted:hover { + color: #000; + background-color: #c1d7e3; + border-color: #73a6c0; +} + +.datepicker table tr td.range.highlighted:active, +.datepicker table tr td.range.highlighted.active { + color: #000; + background-color: #c1d7e3; + border-color: #73a6c0; +} + +.datepicker table tr td.range.highlighted:active:hover, +.datepicker table tr td.range.highlighted.active:hover, +.datepicker table tr td.range.highlighted:active:focus, +.datepicker table tr td.range.highlighted.active:focus, +.datepicker table tr td.range.highlighted:active.focus, +.datepicker table tr td.range.highlighted.active.focus { + color: #000; + background-color: #a8c8d8; + border-color: #4b88a6; +} + +.datepicker table tr td.range.highlighted.disabled:hover, +.datepicker table tr td.range.highlighted[disabled]:hover, +fieldset[disabled] .datepicker table tr td.range.highlighted:hover, +.datepicker table tr td.range.highlighted.disabled:focus, +.datepicker table tr td.range.highlighted[disabled]:focus, +fieldset[disabled] .datepicker table tr td.range.highlighted:focus, +.datepicker table tr td.range.highlighted.disabled.focus, +.datepicker table tr td.range.highlighted[disabled].focus, +fieldset[disabled] .datepicker table tr td.range.highlighted.focus { + background-color: #e4eef3; + border-color: #9dc1d3; +} + +.datepicker table tr td.range.highlighted.focused { + background: #c1d7e3; +} + +.datepicker table tr td.range.highlighted.disabled, +.datepicker table tr td.range.highlighted.disabled:active { + background: #e4eef3; + color: #777777; +} + +.datepicker table tr td.range.today { + color: #000; + background-color: #f7ca77; + border-color: #f1a417; +} + +.datepicker table tr td.range.today:focus, +.datepicker table tr td.range.today.focus { + color: #000; + background-color: #f4b747; + border-color: #815608; +} + +.datepicker table tr td.range.today:hover { + color: #000; + background-color: #f4b747; + border-color: #bf800c; +} + +.datepicker table tr td.range.today:active, +.datepicker table tr td.range.today.active { + color: #000; + background-color: #f4b747; + border-color: #bf800c; +} + +.datepicker table tr td.range.today:active:hover, +.datepicker table tr td.range.today.active:hover, +.datepicker table tr td.range.today:active:focus, +.datepicker table tr td.range.today.active:focus, +.datepicker table tr td.range.today:active.focus, +.datepicker table tr td.range.today.active.focus { + color: #000; + background-color: #f2aa25; + border-color: #815608; +} + +.datepicker table tr td.range.today.disabled:hover, +.datepicker table tr td.range.today[disabled]:hover, +fieldset[disabled] .datepicker table tr td.range.today:hover, +.datepicker table tr td.range.today.disabled:focus, +.datepicker table tr td.range.today[disabled]:focus, +fieldset[disabled] .datepicker table tr td.range.today:focus, +.datepicker table tr td.range.today.disabled.focus, +.datepicker table tr td.range.today[disabled].focus, +fieldset[disabled] .datepicker table tr td.range.today.focus { + background-color: #f7ca77; + border-color: #f1a417; +} + +.datepicker table tr td.range.today.disabled, +.datepicker table tr td.range.today.disabled:active { + background: #f7ca77; + color: #777777; +} + +.datepicker table tr td.selected, +.datepicker table tr td.selected.highlighted { + color: #fff; + background-color: #777777; + border-color: #555555; + text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.25); +} + +.datepicker table tr td.selected:focus, +.datepicker table tr td.selected.highlighted:focus, +.datepicker table tr td.selected.focus, +.datepicker table tr td.selected.highlighted.focus { + color: #fff; + background-color: #5e5e5e; + border-color: #161616; +} + +.datepicker table tr td.selected:hover, +.datepicker table tr td.selected.highlighted:hover { + color: #fff; + background-color: #5e5e5e; + border-color: #373737; +} + +.datepicker table tr td.selected:active, +.datepicker table tr td.selected.highlighted:active, +.datepicker table tr td.selected.active, +.datepicker table tr td.selected.highlighted.active { + color: #fff; + background-color: #5e5e5e; + border-color: #373737; +} + +.datepicker table tr td.selected:active:hover, +.datepicker table tr td.selected.highlighted:active:hover, +.datepicker table tr td.selected.active:hover, +.datepicker table tr td.selected.highlighted.active:hover, +.datepicker table tr td.selected:active:focus, +.datepicker table tr td.selected.highlighted:active:focus, +.datepicker table tr td.selected.active:focus, +.datepicker table tr td.selected.highlighted.active:focus, +.datepicker table tr td.selected:active.focus, +.datepicker table tr td.selected.highlighted:active.focus, +.datepicker table tr td.selected.active.focus, +.datepicker table tr td.selected.highlighted.active.focus { + color: #fff; + background-color: #4c4c4c; + border-color: #161616; +} + +.datepicker table tr td.selected.disabled:hover, +.datepicker table tr td.selected.highlighted.disabled:hover, +.datepicker table tr td.selected[disabled]:hover, +.datepicker table tr td.selected.highlighted[disabled]:hover, +fieldset[disabled] .datepicker table tr td.selected:hover, +fieldset[disabled] .datepicker table tr td.selected.highlighted:hover, +.datepicker table tr td.selected.disabled:focus, +.datepicker table tr td.selected.highlighted.disabled:focus, +.datepicker table tr td.selected[disabled]:focus, +.datepicker table tr td.selected.highlighted[disabled]:focus, +fieldset[disabled] .datepicker table tr td.selected:focus, +fieldset[disabled] .datepicker table tr td.selected.highlighted:focus, +.datepicker table tr td.selected.disabled.focus, +.datepicker table tr td.selected.highlighted.disabled.focus, +.datepicker table tr td.selected[disabled].focus, +.datepicker table tr td.selected.highlighted[disabled].focus, +fieldset[disabled] .datepicker table tr td.selected.focus, +fieldset[disabled] .datepicker table tr td.selected.highlighted.focus { + background-color: #777777; + border-color: #555555; +} + +.datepicker table tr td.active, +.datepicker table tr td.active.highlighted { + color: #fff; + background-color: #337ab7; + border-color: #2e6da4; + text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.25); +} + +.datepicker table tr td.active:focus, +.datepicker table tr td.active.highlighted:focus, +.datepicker table tr td.active.focus, +.datepicker table tr td.active.highlighted.focus { + color: #fff; + background-color: #007bff; + border-color: #007bff; +} + +.datepicker table tr td.active:hover, +.datepicker table tr td.active.highlighted:hover { + color: #fff; + background-color: #0069d9; + border-color: #0062cc; +} + +.datepicker table tr td.active:active, +.datepicker table tr td.active.highlighted:active, +.datepicker table tr td.active.active, +.datepicker table tr td.active.highlighted.active { + color: #fff; + background-color: #007bff; + border-color: #007bff; +} + +.datepicker table tr td.active:active:hover, +.datepicker table tr td.active.highlighted:active:hover, +.datepicker table tr td.active.active:hover, +.datepicker table tr td.active.highlighted.active:hover, +.datepicker table tr td.active:active:focus, +.datepicker table tr td.active.highlighted:active:focus, +.datepicker table tr td.active.active:focus, +.datepicker table tr td.active.highlighted.active:focus, +.datepicker table tr td.active:active.focus, +.datepicker table tr td.active.highlighted:active.focus, +.datepicker table tr td.active.active.focus, +.datepicker table tr td.active.highlighted.active.focus { + color: #fff; + background-color: #0069d9; + border-color: #0062cc; +} + +.datepicker table tr td.active.disabled:hover, +.datepicker table tr td.active.highlighted.disabled:hover, +.datepicker table tr td.active[disabled]:hover, +.datepicker table tr td.active.highlighted[disabled]:hover, +fieldset[disabled] .datepicker table tr td.active:hover, +fieldset[disabled] .datepicker table tr td.active.highlighted:hover, +.datepicker table tr td.active.disabled:focus, +.datepicker table tr td.active.highlighted.disabled:focus, +.datepicker table tr td.active[disabled]:focus, +.datepicker table tr td.active.highlighted[disabled]:focus, +fieldset[disabled] .datepicker table tr td.active:focus, +fieldset[disabled] .datepicker table tr td.active.highlighted:focus, +.datepicker table tr td.active.disabled.focus, +.datepicker table tr td.active.highlighted.disabled.focus, +.datepicker table tr td.active[disabled].focus, +.datepicker table tr td.active.highlighted[disabled].focus, +fieldset[disabled] .datepicker table tr td.active.focus, +fieldset[disabled] .datepicker table tr td.active.highlighted.focus { + background-color: #337ab7; + border-color: #2e6da4; +} + +.datepicker table tr td span { + display: block; + width: 23%; + height: 54px; + line-height: 54px; + float: left; + margin: 1%; + cursor: pointer; + border-radius: 0.25rem; +} + +.datepicker table tr td span:hover, +.datepicker table tr td span.focused { + background: #eeeeee; +} + +.datepicker table tr td span.disabled, +.datepicker table tr td span.disabled:hover { + background: none; + color: #777777; + cursor: default; +} + +.datepicker table tr td span.active, +.datepicker table tr td span.active:hover, +.datepicker table tr td span.active.disabled, +.datepicker table tr td span.active.disabled:hover { + color: #fff; + background-color: #337ab7; + border-color: #2e6da4; + text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.25); +} + +.datepicker table tr td span.active:focus, +.datepicker table tr td span.active:hover:focus, +.datepicker table tr td span.active.disabled:focus, +.datepicker table tr td span.active.disabled:hover:focus, +.datepicker table tr td span.active.focus, +.datepicker table tr td span.active:hover.focus, +.datepicker table tr td span.active.disabled.focus, +.datepicker table tr td span.active.disabled:hover.focus { + color: #fff; + background-color: #007bff; + border-color: #122b40; +} + +.datepicker table tr td span.active:hover, +.datepicker table tr td span.active:hover:hover, +.datepicker table tr td span.active.disabled:hover, +.datepicker table tr td span.active.disabled:hover:hover { + color: #fff; + background-color: #0069d9; + border-color: #0062cc; +} + +.datepicker table tr td span.active:active, +.datepicker table tr td span.active:hover:active, +.datepicker table tr td span.active.disabled:active, +.datepicker table tr td span.active.disabled:hover:active, +.datepicker table tr td span.active.active, +.datepicker table tr td span.active:hover.active, +.datepicker table tr td span.active.disabled.active, +.datepicker table tr td span.active.disabled:hover.active { + color: #fff; + background-color: #0069d9; + border-color: #0062cc; +} + +.datepicker table tr td span.active:active:hover, +.datepicker table tr td span.active:hover:active:hover, +.datepicker table tr td span.active.disabled:active:hover, +.datepicker table tr td span.active.disabled:hover:active:hover, +.datepicker table tr td span.active.active:hover, +.datepicker table tr td span.active:hover.active:hover, +.datepicker table tr td span.active.disabled.active:hover, +.datepicker table tr td span.active.disabled:hover.active:hover, +.datepicker table tr td span.active:active:focus, +.datepicker table tr td span.active:hover:active:focus, +.datepicker table tr td span.active.disabled:active:focus, +.datepicker table tr td span.active.disabled:hover:active:focus, +.datepicker table tr td span.active.active:focus, +.datepicker table tr td span.active:hover.active:focus, +.datepicker table tr td span.active.disabled.active:focus, +.datepicker table tr td span.active.disabled:hover.active:focus, +.datepicker table tr td span.active:active.focus, +.datepicker table tr td span.active:hover:active.focus, +.datepicker table tr td span.active.disabled:active.focus, +.datepicker table tr td span.active.disabled:hover:active.focus, +.datepicker table tr td span.active.active.focus, +.datepicker table tr td span.active:hover.active.focus, +.datepicker table tr td span.active.disabled.active.focus, +.datepicker table tr td span.active.disabled:hover.active.focus { + color: #fff; + background-color: #007bff; + border-color: #007bff; +} + +.datepicker table tr td span.active.disabled:hover, +.datepicker table tr td span.active:hover.disabled:hover, +.datepicker table tr td span.active.disabled.disabled:hover, +.datepicker table tr td span.active.disabled:hover.disabled:hover, +.datepicker table tr td span.active[disabled]:hover, +.datepicker table tr td span.active:hover[disabled]:hover, +.datepicker table tr td span.active.disabled[disabled]:hover, +.datepicker table tr td span.active.disabled:hover[disabled]:hover, +fieldset[disabled] .datepicker table tr td span.active:hover, +fieldset[disabled] .datepicker table tr td span.active:hover:hover, +fieldset[disabled] .datepicker table tr td span.active.disabled:hover, +fieldset[disabled] .datepicker table tr td span.active.disabled:hover:hover, +.datepicker table tr td span.active.disabled:focus, +.datepicker table tr td span.active:hover.disabled:focus, +.datepicker table tr td span.active.disabled.disabled:focus, +.datepicker table tr td span.active.disabled:hover.disabled:focus, +.datepicker table tr td span.active[disabled]:focus, +.datepicker table tr td span.active:hover[disabled]:focus, +.datepicker table tr td span.active.disabled[disabled]:focus, +.datepicker table tr td span.active.disabled:hover[disabled]:focus, +fieldset[disabled] .datepicker table tr td span.active:focus, +fieldset[disabled] .datepicker table tr td span.active:hover:focus, +fieldset[disabled] .datepicker table tr td span.active.disabled:focus, +fieldset[disabled] .datepicker table tr td span.active.disabled:hover:focus, +.datepicker table tr td span.active.disabled.focus, +.datepicker table tr td span.active:hover.disabled.focus, +.datepicker table tr td span.active.disabled.disabled.focus, +.datepicker table tr td span.active.disabled:hover.disabled.focus, +.datepicker table tr td span.active[disabled].focus, +.datepicker table tr td span.active:hover[disabled].focus, +.datepicker table tr td span.active.disabled[disabled].focus, +.datepicker table tr td span.active.disabled:hover[disabled].focus, +fieldset[disabled] .datepicker table tr td span.active.focus, +fieldset[disabled] .datepicker table tr td span.active:hover.focus, +fieldset[disabled] .datepicker table tr td span.active.disabled.focus, +fieldset[disabled] .datepicker table tr td span.active.disabled:hover.focus { + opacity: 0.8; +} + +.datepicker table tr td span.old, +.datepicker table tr td span.new { + color: #777777; +} + +.datepicker .datepicker-switch { + width: 145px; +} + +.datepicker .datepicker-switch, +.datepicker .prev, +.datepicker .next, +.datepicker tfoot tr th { + cursor: pointer; +} + +.datepicker .datepicker-switch:hover, +.datepicker .prev:hover, +.datepicker .next:hover, +.datepicker tfoot tr th:hover { + background: #eeeeee; +} + +.datepicker .prev.disabled, +.datepicker .next.disabled { + visibility: hidden; +} + +.datepicker .cw { + font-size: 10px; + width: 12px; + padding: 0 2px 0 5px; + vertical-align: middle; +} + +.input-daterange .kv-field-seperator { + border-right: none; +} \ No newline at end of file diff --git a/backend/components/datepicker/src/assets/css/bootstrap-datepicker4.min.css b/backend/components/datepicker/src/assets/css/bootstrap-datepicker4.min.css new file mode 100644 index 0000000..69e806b --- /dev/null +++ b/backend/components/datepicker/src/assets/css/bootstrap-datepicker4.min.css @@ -0,0 +1,11 @@ +/*! + * @copyright Copyright © Kartik Visweswaran, Krajee.com, 2014 - 2021 + * @package yii2-widgets + * @subpackage yii2-widget-datepicker + * @version 1.4.8 + * + * Bootstrap 4.x styling for bootstrap-datepicker + * + * Author: Kartik Visweswaran + * For more Yii related demos visit http://demos.krajee.com + */.datepicker-dropdown:after,.datepicker-dropdown:before{content:'';display:inline-block;position:absolute}.datepicker{border-radius:.25rem;direction:ltr}.datepicker-rtl{direction:rtl}.datepicker-rtl.dropdown-menu{left:auto}.datepicker-rtl table tr td span{float:right}.datepicker-inline{margin-top:.25rem}.datepicker-dropdown{top:0;left:0;padding:.25rem}.datepicker-dropdown:before{border-top-width:0;border-right:.4375rem solid transparent;border-bottom:.4375rem solid rgba(0,0,0,.2);border-left:.4375rem solid transparent}.datepicker-dropdown:after{border-left:.375rem solid transparent;border-right:.375rem solid transparent;border-bottom:.375rem solid #fff;border-top:0}.datepicker-dropdown.datepicker-orient-left:before{left:.375rem}.datepicker-dropdown.datepicker-orient-left:after{left:.4375rem}.datepicker-dropdown.datepicker-orient-right:before{right:.375rem}.datepicker-dropdown.datepicker-orient-right:after{right:.4375rem}.datepicker-dropdown.datepicker-orient-bottom:before{top:-.4375rem}.datepicker-dropdown.datepicker-orient-bottom:after{top:-.375rem}.datepicker-dropdown.datepicker-orient-top:before{bottom:-.4375rem;border-bottom:0;border-top:.4375rem solid rgba(0,0,0,.15)}.datepicker-dropdown.datepicker-orient-top:after{bottom:-.375rem;border-bottom:0;border-top:.375rem solid #fff}.datepicker table{margin:0;-webkit-touch-callout:none;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.datepicker table tr td,.datepicker table tr th{text-align:center;width:2.5rem;height:2.5rem;border-radius:.25rem;border:none}.table-striped .datepicker table tr td,.table-striped .datepicker table tr th{background-color:transparent}.datepicker table tr td.new,.datepicker table tr td.old{color:#777}.datepicker table tr td.day:hover,.datepicker table tr td.focused{background:#eee;cursor:pointer}.datepicker table tr td.disabled,.datepicker table tr td.disabled:hover{background:0 0;color:#777;cursor:default}.datepicker table tr td.highlighted{color:#000;background-color:#d9edf7;border-color:#85c5e5;border-radius:0}.datepicker table tr td.highlighted.focus,.datepicker table tr td.highlighted:focus{color:#000;background-color:#afd9ee;border-color:#298fc2}.datepicker table tr td.highlighted.active,.datepicker table tr td.highlighted:active,.datepicker table tr td.highlighted:hover{color:#000;background-color:#afd9ee;border-color:#52addb}.datepicker table tr td.highlighted.active.focus,.datepicker table tr td.highlighted.active:focus,.datepicker table tr td.highlighted.active:hover,.datepicker table tr td.highlighted:active.focus,.datepicker table tr td.highlighted:active:focus,.datepicker table tr td.highlighted:active:hover{color:#000;background-color:#91cbe8;border-color:#298fc2}.datepicker table tr td.highlighted.disabled.focus,.datepicker table tr td.highlighted.disabled:focus,.datepicker table tr td.highlighted.disabled:hover,.datepicker table tr td.highlighted[disabled].focus,.datepicker table tr td.highlighted[disabled]:focus,.datepicker table tr td.highlighted[disabled]:hover,fieldset[disabled] .datepicker table tr td.highlighted.focus,fieldset[disabled] .datepicker table tr td.highlighted:focus,fieldset[disabled] .datepicker table tr td.highlighted:hover{background-color:#d9edf7;border-color:#85c5e5}.datepicker table tr td.highlighted.focused{background:#afd9ee}.datepicker table tr td.highlighted.disabled,.datepicker table tr td.highlighted.disabled:active{background:#d9edf7;color:#777}.datepicker table tr td.today{color:#000;background-color:#ffdb99;border-color:#ffb733}.datepicker table tr td.today.focus,.datepicker table tr td.today:focus{color:#000;background-color:#ffc966;border-color:#b37400}.datepicker table tr td.today.active,.datepicker table tr td.today:active,.datepicker table tr td.today:hover{color:#000;background-color:#ffc966;border-color:#f59e00}.datepicker table tr td.today.active.focus,.datepicker table tr td.today.active:focus,.datepicker table tr td.today.active:hover,.datepicker table tr td.today:active.focus,.datepicker table tr td.today:active:focus,.datepicker table tr td.today:active:hover{color:#000;background-color:#ffbc42;border-color:#b37400}.datepicker table tr td.today.disabled.focus,.datepicker table tr td.today.disabled:focus,.datepicker table tr td.today.disabled:hover,.datepicker table tr td.today[disabled].focus,.datepicker table tr td.today[disabled]:focus,.datepicker table tr td.today[disabled]:hover,fieldset[disabled] .datepicker table tr td.today.focus,fieldset[disabled] .datepicker table tr td.today:focus,fieldset[disabled] .datepicker table tr td.today:hover{background-color:#ffdb99;border-color:#ffb733}.datepicker table tr td.today.focused{background:#ffc966}.datepicker table tr td.today.disabled,.datepicker table tr td.today.disabled:active{background:#ffdb99;color:#777}.datepicker table tr td.range{color:#000;background-color:#eee;border-color:#bbb;border-radius:0}.datepicker table tr td.range.focus,.datepicker table tr td.range:focus{color:#000;background-color:#d5d5d5;border-color:#7c7c7c}.datepicker table tr td.range.active,.datepicker table tr td.range:active,.datepicker table tr td.range:hover{color:#000;background-color:#d5d5d5;border-color:#9d9d9d}.datepicker table tr td.range.active.focus,.datepicker table tr td.range.active:focus,.datepicker table tr td.range.active:hover,.datepicker table tr td.range:active.focus,.datepicker table tr td.range:active:focus,.datepicker table tr td.range:active:hover{color:#000;background-color:#c3c3c3;border-color:#7c7c7c}.datepicker table tr td.range.disabled.focus,.datepicker table tr td.range.disabled:focus,.datepicker table tr td.range.disabled:hover,.datepicker table tr td.range[disabled].focus,.datepicker table tr td.range[disabled]:focus,.datepicker table tr td.range[disabled]:hover,fieldset[disabled] .datepicker table tr td.range.focus,fieldset[disabled] .datepicker table tr td.range:focus,fieldset[disabled] .datepicker table tr td.range:hover{background-color:#eee;border-color:#bbb}.datepicker table tr td.range.focused{background:#d5d5d5}.datepicker table tr td.range.disabled,.datepicker table tr td.range.disabled:active{background:#eee;color:#777}.datepicker table tr td.range.highlighted{color:#000;background-color:#e4eef3;border-color:#9dc1d3}.datepicker table tr td.range.highlighted.focus,.datepicker table tr td.range.highlighted:focus{color:#000;background-color:#c1d7e3;border-color:#4b88a6}.datepicker table tr td.range.highlighted.active,.datepicker table tr td.range.highlighted:active,.datepicker table tr td.range.highlighted:hover{color:#000;background-color:#c1d7e3;border-color:#73a6c0}.datepicker table tr td.range.highlighted.active.focus,.datepicker table tr td.range.highlighted.active:focus,.datepicker table tr td.range.highlighted.active:hover,.datepicker table tr td.range.highlighted:active.focus,.datepicker table tr td.range.highlighted:active:focus,.datepicker table tr td.range.highlighted:active:hover{color:#000;background-color:#a8c8d8;border-color:#4b88a6}.datepicker table tr td.range.highlighted.disabled.focus,.datepicker table tr td.range.highlighted.disabled:focus,.datepicker table tr td.range.highlighted.disabled:hover,.datepicker table tr td.range.highlighted[disabled].focus,.datepicker table tr td.range.highlighted[disabled]:focus,.datepicker table tr td.range.highlighted[disabled]:hover,fieldset[disabled] .datepicker table tr td.range.highlighted.focus,fieldset[disabled] .datepicker table tr td.range.highlighted:focus,fieldset[disabled] .datepicker table tr td.range.highlighted:hover{background-color:#e4eef3;border-color:#9dc1d3}.datepicker table tr td.range.highlighted.focused{background:#c1d7e3}.datepicker table tr td.range.highlighted.disabled,.datepicker table tr td.range.highlighted.disabled:active{background:#e4eef3;color:#777}.datepicker table tr td.range.today{color:#000;background-color:#f7ca77;border-color:#f1a417}.datepicker table tr td.range.today.focus,.datepicker table tr td.range.today:focus{color:#000;background-color:#f4b747;border-color:#815608}.datepicker table tr td.range.today.active,.datepicker table tr td.range.today:active,.datepicker table tr td.range.today:hover{color:#000;background-color:#f4b747;border-color:#bf800c}.datepicker table tr td.range.today.active.focus,.datepicker table tr td.range.today.active:focus,.datepicker table tr td.range.today.active:hover,.datepicker table tr td.range.today:active.focus,.datepicker table tr td.range.today:active:focus,.datepicker table tr td.range.today:active:hover{color:#000;background-color:#f2aa25;border-color:#815608}.datepicker table tr td.range.today.disabled.focus,.datepicker table tr td.range.today.disabled:focus,.datepicker table tr td.range.today.disabled:hover,.datepicker table tr td.range.today[disabled].focus,.datepicker table tr td.range.today[disabled]:focus,.datepicker table tr td.range.today[disabled]:hover,fieldset[disabled] .datepicker table tr td.range.today.focus,fieldset[disabled] .datepicker table tr td.range.today:focus,fieldset[disabled] .datepicker table tr td.range.today:hover{background-color:#f7ca77;border-color:#f1a417}.datepicker table tr td.range.today.disabled,.datepicker table tr td.range.today.disabled:active{background:#f7ca77;color:#777}.datepicker table tr td.selected,.datepicker table tr td.selected.highlighted{color:#fff;background-color:#777;border-color:#555;text-shadow:0 -1px 0 rgba(0,0,0,.25)}.datepicker table tr td.selected.focus,.datepicker table tr td.selected.highlighted.focus,.datepicker table tr td.selected.highlighted:focus,.datepicker table tr td.selected:focus{color:#fff;background-color:#5e5e5e;border-color:#161616}.datepicker table tr td.selected.active,.datepicker table tr td.selected.highlighted.active,.datepicker table tr td.selected.highlighted:active,.datepicker table tr td.selected.highlighted:hover,.datepicker table tr td.selected:active,.datepicker table tr td.selected:hover{color:#fff;background-color:#5e5e5e;border-color:#373737}.datepicker table tr td.selected.active.focus,.datepicker table tr td.selected.active:focus,.datepicker table tr td.selected.active:hover,.datepicker table tr td.selected.highlighted.active.focus,.datepicker table tr td.selected.highlighted.active:focus,.datepicker table tr td.selected.highlighted.active:hover,.datepicker table tr td.selected.highlighted:active.focus,.datepicker table tr td.selected.highlighted:active:focus,.datepicker table tr td.selected.highlighted:active:hover,.datepicker table tr td.selected:active.focus,.datepicker table tr td.selected:active:focus,.datepicker table tr td.selected:active:hover{color:#fff;background-color:#4c4c4c;border-color:#161616}.datepicker table tr td.selected.disabled.focus,.datepicker table tr td.selected.disabled:focus,.datepicker table tr td.selected.disabled:hover,.datepicker table tr td.selected.highlighted.disabled.focus,.datepicker table tr td.selected.highlighted.disabled:focus,.datepicker table tr td.selected.highlighted.disabled:hover,.datepicker table tr td.selected.highlighted[disabled].focus,.datepicker table tr td.selected.highlighted[disabled]:focus,.datepicker table tr td.selected.highlighted[disabled]:hover,.datepicker table tr td.selected[disabled].focus,.datepicker table tr td.selected[disabled]:focus,.datepicker table tr td.selected[disabled]:hover,fieldset[disabled] .datepicker table tr td.selected.focus,fieldset[disabled] .datepicker table tr td.selected.highlighted.focus,fieldset[disabled] .datepicker table tr td.selected.highlighted:focus,fieldset[disabled] .datepicker table tr td.selected.highlighted:hover,fieldset[disabled] .datepicker table tr td.selected:focus,fieldset[disabled] .datepicker table tr td.selected:hover{background-color:#777;border-color:#555}.datepicker table tr td.active,.datepicker table tr td.active.highlighted{color:#fff;background-color:#337ab7;border-color:#2e6da4;text-shadow:0 -1px 0 rgba(0,0,0,.25)}.datepicker table tr td.active.focus,.datepicker table tr td.active.highlighted.focus,.datepicker table tr td.active.highlighted:focus,.datepicker table tr td.active:focus{color:#fff;background-color:#007bff;border-color:#007bff}.datepicker table tr td.active.highlighted:hover,.datepicker table tr td.active:hover{color:#fff;background-color:#0069d9;border-color:#0062cc}.datepicker table tr td.active.active,.datepicker table tr td.active.highlighted.active,.datepicker table tr td.active.highlighted:active,.datepicker table tr td.active:active{color:#fff;background-color:#007bff;border-color:#007bff}.datepicker table tr td.active.active.focus,.datepicker table tr td.active.active:focus,.datepicker table tr td.active.active:hover,.datepicker table tr td.active.highlighted.active.focus,.datepicker table tr td.active.highlighted.active:focus,.datepicker table tr td.active.highlighted.active:hover,.datepicker table tr td.active.highlighted:active.focus,.datepicker table tr td.active.highlighted:active:focus,.datepicker table tr td.active.highlighted:active:hover,.datepicker table tr td.active:active.focus,.datepicker table tr td.active:active:focus,.datepicker table tr td.active:active:hover{color:#fff;background-color:#0069d9;border-color:#0062cc}.datepicker table tr td.active.disabled.focus,.datepicker table tr td.active.disabled:focus,.datepicker table tr td.active.disabled:hover,.datepicker table tr td.active.highlighted.disabled.focus,.datepicker table tr td.active.highlighted.disabled:focus,.datepicker table tr td.active.highlighted.disabled:hover,.datepicker table tr td.active.highlighted[disabled].focus,.datepicker table tr td.active.highlighted[disabled]:focus,.datepicker table tr td.active.highlighted[disabled]:hover,.datepicker table tr td.active[disabled].focus,.datepicker table tr td.active[disabled]:focus,.datepicker table tr td.active[disabled]:hover,fieldset[disabled] .datepicker table tr td.active.focus,fieldset[disabled] .datepicker table tr td.active.highlighted.focus,fieldset[disabled] .datepicker table tr td.active.highlighted:focus,fieldset[disabled] .datepicker table tr td.active.highlighted:hover,fieldset[disabled] .datepicker table tr td.active:focus,fieldset[disabled] .datepicker table tr td.active:hover{background-color:#337ab7;border-color:#2e6da4}.datepicker table tr td span{display:block;width:23%;height:54px;line-height:54px;float:left;margin:1%;cursor:pointer;border-radius:.25rem}.datepicker table tr td span.focused,.datepicker table tr td span:hover{background:#eee}.datepicker table tr td span.disabled,.datepicker table tr td span.disabled:hover{background:0 0;color:#777;cursor:default}.datepicker table tr td span.active,.datepicker table tr td span.active.disabled,.datepicker table tr td span.active.disabled:hover,.datepicker table tr td span.active:hover{color:#fff;background-color:#337ab7;border-color:#2e6da4;text-shadow:0 -1px 0 rgba(0,0,0,.25)}.datepicker table tr td span.active.disabled.focus,.datepicker table tr td span.active.disabled:focus,.datepicker table tr td span.active.disabled:hover.focus,.datepicker table tr td span.active.disabled:hover:focus,.datepicker table tr td span.active.focus,.datepicker table tr td span.active:focus,.datepicker table tr td span.active:hover.focus,.datepicker table tr td span.active:hover:focus{color:#fff;background-color:#007bff;border-color:#122b40}.datepicker table tr td span.active.active,.datepicker table tr td span.active.disabled.active,.datepicker table tr td span.active.disabled:active,.datepicker table tr td span.active.disabled:hover,.datepicker table tr td span.active.disabled:hover.active,.datepicker table tr td span.active.disabled:hover:active,.datepicker table tr td span.active.disabled:hover:hover,.datepicker table tr td span.active:active,.datepicker table tr td span.active:hover,.datepicker table tr td span.active:hover.active,.datepicker table tr td span.active:hover:active,.datepicker table tr td span.active:hover:hover{color:#fff;background-color:#0069d9;border-color:#0062cc}.datepicker table tr td span.active.active.focus,.datepicker table tr td span.active.active:focus,.datepicker table tr td span.active.active:hover,.datepicker table tr td span.active.disabled.active.focus,.datepicker table tr td span.active.disabled.active:focus,.datepicker table tr td span.active.disabled.active:hover,.datepicker table tr td span.active.disabled:active.focus,.datepicker table tr td span.active.disabled:active:focus,.datepicker table tr td span.active.disabled:active:hover,.datepicker table tr td span.active.disabled:hover.active.focus,.datepicker table tr td span.active.disabled:hover.active:focus,.datepicker table tr td span.active.disabled:hover.active:hover,.datepicker table tr td span.active.disabled:hover:active.focus,.datepicker table tr td span.active.disabled:hover:active:focus,.datepicker table tr td span.active.disabled:hover:active:hover,.datepicker table tr td span.active:active.focus,.datepicker table tr td span.active:active:focus,.datepicker table tr td span.active:active:hover,.datepicker table tr td span.active:hover.active.focus,.datepicker table tr td span.active:hover.active:focus,.datepicker table tr td span.active:hover.active:hover,.datepicker table tr td span.active:hover:active.focus,.datepicker table tr td span.active:hover:active:focus,.datepicker table tr td span.active:hover:active:hover{color:#fff;background-color:#007bff;border-color:#007bff}.datepicker table tr td span.active.disabled.disabled.focus,.datepicker table tr td span.active.disabled.disabled:focus,.datepicker table tr td span.active.disabled.disabled:hover,.datepicker table tr td span.active.disabled.focus,.datepicker table tr td span.active.disabled:focus,.datepicker table tr td span.active.disabled:hover,.datepicker table tr td span.active.disabled:hover.disabled.focus,.datepicker table tr td span.active.disabled:hover.disabled:focus,.datepicker table tr td span.active.disabled:hover.disabled:hover,.datepicker table tr td span.active.disabled:hover[disabled].focus,.datepicker table tr td span.active.disabled:hover[disabled]:focus,.datepicker table tr td span.active.disabled:hover[disabled]:hover,.datepicker table tr td span.active.disabled[disabled].focus,.datepicker table tr td span.active.disabled[disabled]:focus,.datepicker table tr td span.active.disabled[disabled]:hover,.datepicker table tr td span.active:hover.disabled.focus,.datepicker table tr td span.active:hover.disabled:focus,.datepicker table tr td span.active:hover.disabled:hover,.datepicker table tr td span.active:hover[disabled].focus,.datepicker table tr td span.active:hover[disabled]:focus,.datepicker table tr td span.active:hover[disabled]:hover,.datepicker table tr td span.active[disabled].focus,.datepicker table tr td span.active[disabled]:focus,.datepicker table tr td span.active[disabled]:hover,fieldset[disabled] .datepicker table tr td span.active.disabled.focus,fieldset[disabled] .datepicker table tr td span.active.disabled:focus,fieldset[disabled] .datepicker table tr td span.active.disabled:hover,fieldset[disabled] .datepicker table tr td span.active.disabled:hover.focus,fieldset[disabled] .datepicker table tr td span.active.disabled:hover:focus,fieldset[disabled] .datepicker table tr td span.active.disabled:hover:hover,fieldset[disabled] .datepicker table tr td span.active.focus,fieldset[disabled] .datepicker table tr td span.active:focus,fieldset[disabled] .datepicker table tr td span.active:hover,fieldset[disabled] .datepicker table tr td span.active:hover.focus,fieldset[disabled] .datepicker table tr td span.active:hover:focus,fieldset[disabled] .datepicker table tr td span.active:hover:hover{opacity:.8}.datepicker table tr td span.new,.datepicker table tr td span.old{color:#777}.datepicker .datepicker-switch{width:145px}.datepicker .datepicker-switch,.datepicker .next,.datepicker .prev,.datepicker tfoot tr th{cursor:pointer}.datepicker .datepicker-switch:hover,.datepicker .next:hover,.datepicker .prev:hover,.datepicker tfoot tr th:hover{background:#eee}.datepicker .next.disabled,.datepicker .prev.disabled{visibility:hidden}.datepicker .cw{font-size:10px;width:12px;padding:0 2px 0 5px;vertical-align:middle}.input-daterange .kv-field-seperator{border-right:none} \ No newline at end of file diff --git a/backend/components/datepicker/src/assets/css/datepicker-kv.css b/backend/components/datepicker/src/assets/css/datepicker-kv.css new file mode 100644 index 0000000..0f57ae8 --- /dev/null +++ b/backend/components/datepicker/src/assets/css/datepicker-kv.css @@ -0,0 +1,39 @@ +/*! + * @copyright Copyright © Kartik Visweswaran, Krajee.com, 2014 - 2021 + * @package yii2-widgets + * @subpackage yii2-widget-datepicker + * @version 1.4.8 + * + * Custom styling for Datepicker + * Built for Yii Framework 2.0 + * + * Author: Kartik Visweswaran + * For more Yii related demos visit http://demos.krajee.com + */ +.input-group.date.disabled .input-group-addon .kv-dp-icon, +.input-group.date.disabled .input-group-text .kv-dp-icon { + cursor: not-allowed; + filter: alpha(opacity=65); + -webkit-box-shadow: none; + box-shadow: none; + opacity: .65; +} + +.input-group.date .input-group-addon { + cursor: default; +} + +.input-group.date .kv-date-remove, .input-group.date .kv-date-picker, +.input-group.date .kv-date-remove, .input-group.date .kv-date-picker, +.input-group.input-daterange .kv-date-remove, .input-group.input-daterange .kv-date-picker, +.input-group.input-daterange .kv-date-remove, .input-group.input-daterange .kv-date-picker { + cursor: pointer; +} + +.input-group.input-daterange .input-group-addon { + border-left: 1px solid #ccc; +} + +.input-group.input-daterange .input-group-addon:last-child { + border-right: 1px solid #ccc; +} \ No newline at end of file diff --git a/backend/components/datepicker/src/assets/css/datepicker-kv.min.css b/backend/components/datepicker/src/assets/css/datepicker-kv.min.css new file mode 100644 index 0000000..5eb4714 --- /dev/null +++ b/backend/components/datepicker/src/assets/css/datepicker-kv.min.css @@ -0,0 +1,12 @@ +/*! + * @copyright Copyright © Kartik Visweswaran, Krajee.com, 2014 - 2021 + * @package yii2-widgets + * @subpackage yii2-widget-datepicker + * @version 1.4.8 + * + * Custom styling for Datepicker + * Built for Yii Framework 2.0 + * + * Author: Kartik Visweswaran + * For more Yii related demos visit http://demos.krajee.com + */.input-group.date.disabled .input-group-addon .kv-dp-icon,.input-group.date.disabled .input-group-text .kv-dp-icon{cursor:not-allowed;filter:alpha(opacity=65);-webkit-box-shadow:none;box-shadow:none;opacity:.65}.input-group.date .input-group-addon{cursor:default}.input-group.date .kv-date-picker,.input-group.date .kv-date-remove,.input-group.input-daterange .kv-date-picker,.input-group.input-daterange .kv-date-remove{cursor:pointer}.input-group.input-daterange .input-group-addon{border-left:1px solid #ccc}.input-group.input-daterange .input-group-addon:last-child{border-right:1px solid #ccc} \ No newline at end of file diff --git a/backend/components/datepicker/src/assets/js/bootstrap-datepicker.js b/backend/components/datepicker/src/assets/js/bootstrap-datepicker.js new file mode 100644 index 0000000..0f3bc68 --- /dev/null +++ b/backend/components/datepicker/src/assets/js/bootstrap-datepicker.js @@ -0,0 +1,2046 @@ +/*! + * Datepicker for Bootstrap v1.8.0 (https://github.com/uxsolutions/bootstrap-datepicker) + * + * Licensed under the Apache License v2.0 (http://www.apache.org/licenses/LICENSE-2.0) + * + * Modifications by Kartik Visweswaran (for Bootstrap 4.x support) + */ +(function (factory) { + if (typeof define === 'function' && define.amd) { + define(['jquery'], factory); + } else if (typeof exports === 'object') { + factory(require('jquery')); + } else { + factory(jQuery); + } +}(function ($, undefined) { + function UTCDate() { + return new Date(Date.UTC.apply(Date, arguments)); + } + + function UTCToday() { + var today = new Date(); + return UTCDate(today.getFullYear(), today.getMonth(), today.getDate()); + } + + function isUTCEquals(date1, date2) { + return ( + date1.getUTCFullYear() === date2.getUTCFullYear() && + date1.getUTCMonth() === date2.getUTCMonth() && + date1.getUTCDate() === date2.getUTCDate() + ); + } + + function alias(method, deprecationMsg) { + return function () { + if (deprecationMsg !== undefined) { + $.fn.datepicker.deprecated(deprecationMsg); + } + + return this[method].apply(this, arguments); + }; + } + + function isValidDate(d) { + return d && !isNaN(d.getTime()); + } + + var DateArray = (function () { + var extras = { + get: function (i) { + return this.slice(i)[0]; + }, + contains: function (d) { + // Array.indexOf is not cross-browser; + // $.inArray doesn't work with Dates + var val = d && d.valueOf(); + for (var i = 0, l = this.length; i < l; i++) + // Use date arithmetic to allow dates with different times to match + if (0 <= this[i].valueOf() - val && this[i].valueOf() - val < 1000 * 60 * 60 * 24) + return i; + return -1; + }, + remove: function (i) { + this.splice(i, 1); + }, + replace: function (new_array) { + if (!new_array) + return; + if (!$.isArray(new_array)) + new_array = [new_array]; + this.clear(); + this.push.apply(this, new_array); + }, + clear: function () { + this.length = 0; + }, + copy: function () { + var a = new DateArray(); + a.replace(this); + return a; + } + }; + + return function () { + var a = []; + a.push.apply(a, arguments); + $.extend(a, extras); + return a; + }; + })(); + + + // Picker object + + var Datepicker = function (element, options) { + $.data(element, 'datepicker', this); + this._process_options(options); + + this.dates = new DateArray(); + this.viewDate = this.o.defaultViewDate; + this.focusDate = null; + + this.element = $(element); + this.isInput = this.element.is('input'); + this.inputField = this.isInput ? this.element : this.element.find('input'); + this.component = this.element.hasClass('date') ? this.element.find('.add-on, .input-group-addon, .kv-date-picker, .btn') : false; + if (this.component && this.component.length === 0) + this.component = false; + this.isInline = !this.component && this.element.is('div'); + + this.picker = $(DPGlobal.template); + + // Checking templates and inserting + if (this._check_template(this.o.templates.leftArrow)) { + this.picker.find('.prev').html(this.o.templates.leftArrow); + } + + if (this._check_template(this.o.templates.rightArrow)) { + this.picker.find('.next').html(this.o.templates.rightArrow); + } + + this._buildEvents(); + this._attachEvents(); + + if (this.isInline) { + this.picker.addClass('datepicker-inline').appendTo(this.element); + } + else { + this.picker.addClass('datepicker-dropdown dropdown-menu'); + } + + if (this.o.rtl) { + this.picker.addClass('datepicker-rtl'); + } + + if (this.o.calendarWeeks) { + this.picker.find('.datepicker-days .datepicker-switch, thead .datepicker-title, tfoot .today, tfoot .clear') + .attr('colspan', function (i, val) { + return Number(val) + 1; + }); + } + + this._process_options({ + startDate: this._o.startDate, + endDate: this._o.endDate, + daysOfWeekDisabled: this.o.daysOfWeekDisabled, + daysOfWeekHighlighted: this.o.daysOfWeekHighlighted, + datesDisabled: this.o.datesDisabled + }); + + this._allow_update = false; + this.setViewMode(this.o.startView); + this._allow_update = true; + + this.fillDow(); + this.fillMonths(); + + this.update(); + + if (this.isInline) { + this.show(); + } + }; + + Datepicker.prototype = { + constructor: Datepicker, + + _resolveViewName: function (view) { + $.each(DPGlobal.viewModes, function (i, viewMode) { + if (view === i || $.inArray(view, viewMode.names) !== -1) { + view = i; + return false; + } + }); + + return view; + }, + + _resolveDaysOfWeek: function (daysOfWeek) { + if (!$.isArray(daysOfWeek)) + daysOfWeek = daysOfWeek.split(/[,\s]*/); + return $.map(daysOfWeek, Number); + }, + + _check_template: function (tmp) { + try { + // If empty + if (tmp === undefined || tmp === "") { + return false; + } + // If no html, everything ok + if ((tmp.match(/[<>]/g) || []).length <= 0) { + return true; + } + // Checking if html is fine + var jDom = $(tmp); + return jDom.length > 0; + } + catch (ex) { + return false; + } + }, + + _process_options: function (opts) { + // Store raw options for reference + this._o = $.extend({}, this._o, opts); + // Processed options + var o = this.o = $.extend({}, this._o); + + // Check if "de-DE" style date is available, if not language should + // fallback to 2 letter code eg "de" + var lang = o.language; + if (!dates[lang]) { + lang = lang.split('-')[0]; + if (!dates[lang]) + lang = defaults.language; + } + o.language = lang; + + // Retrieve view index from any aliases + o.startView = this._resolveViewName(o.startView); + o.minViewMode = this._resolveViewName(o.minViewMode); + o.maxViewMode = this._resolveViewName(o.maxViewMode); + + // Check view is between min and max + o.startView = Math.max(this.o.minViewMode, Math.min(this.o.maxViewMode, o.startView)); + + // true, false, or Number > 0 + if (o.multidate !== true) { + o.multidate = Number(o.multidate) || false; + if (o.multidate !== false) + o.multidate = Math.max(0, o.multidate); + } + o.multidateSeparator = String(o.multidateSeparator); + + o.weekStart %= 7; + o.weekEnd = (o.weekStart + 6) % 7; + + var format = DPGlobal.parseFormat(o.format); + if (o.startDate !== -Infinity) { + if (!!o.startDate) { + if (o.startDate instanceof Date) + o.startDate = this._local_to_utc(this._zero_time(o.startDate)); + else + o.startDate = DPGlobal.parseDate(o.startDate, format, o.language, o.assumeNearbyYear); + } + else { + o.startDate = -Infinity; + } + } + if (o.endDate !== Infinity) { + if (!!o.endDate) { + if (o.endDate instanceof Date) + o.endDate = this._local_to_utc(this._zero_time(o.endDate)); + else + o.endDate = DPGlobal.parseDate(o.endDate, format, o.language, o.assumeNearbyYear); + } + else { + o.endDate = Infinity; + } + } + + o.daysOfWeekDisabled = this._resolveDaysOfWeek(o.daysOfWeekDisabled || []); + o.daysOfWeekHighlighted = this._resolveDaysOfWeek(o.daysOfWeekHighlighted || []); + + o.datesDisabled = o.datesDisabled || []; + if (!$.isArray(o.datesDisabled)) { + o.datesDisabled = o.datesDisabled.split(','); + } + o.datesDisabled = $.map(o.datesDisabled, function (d) { + return DPGlobal.parseDate(d, format, o.language, o.assumeNearbyYear); + }); + + var plc = String(o.orientation).toLowerCase().split(/\s+/g), + _plc = o.orientation.toLowerCase(); + plc = $.grep(plc, function (word) { + return /^auto|left|right|top|bottom$/.test(word); + }); + o.orientation = {x: 'auto', y: 'auto'}; + if (!_plc || _plc === 'auto') + ; // no action + else if (plc.length === 1) { + switch (plc[0]) { + case 'top': + case 'bottom': + o.orientation.y = plc[0]; + break; + case 'left': + case 'right': + o.orientation.x = plc[0]; + break; + } + } + else { + _plc = $.grep(plc, function (word) { + return /^left|right$/.test(word); + }); + o.orientation.x = _plc[0] || 'auto'; + + _plc = $.grep(plc, function (word) { + return /^top|bottom$/.test(word); + }); + o.orientation.y = _plc[0] || 'auto'; + } + if (o.defaultViewDate instanceof Date || typeof o.defaultViewDate === 'string') { + o.defaultViewDate = DPGlobal.parseDate(o.defaultViewDate, format, o.language, o.assumeNearbyYear); + } else if (o.defaultViewDate) { + var year = o.defaultViewDate.year || new Date().getFullYear(); + var month = o.defaultViewDate.month || 0; + var day = o.defaultViewDate.day || 1; + o.defaultViewDate = UTCDate(year, month, day); + } else { + o.defaultViewDate = UTCToday(); + } + }, + _events: [], + _secondaryEvents: [], + _applyEvents: function (evs) { + for (var i = 0, el, ch, ev; i < evs.length; i++) { + el = evs[i][0]; + if (evs[i].length === 2) { + ch = undefined; + ev = evs[i][1]; + } else if (evs[i].length === 3) { + ch = evs[i][1]; + ev = evs[i][2]; + } + el.on(ev, ch); + } + }, + _unapplyEvents: function (evs) { + for (var i = 0, el, ev, ch; i < evs.length; i++) { + el = evs[i][0]; + if (evs[i].length === 2) { + ch = undefined; + ev = evs[i][1]; + } else if (evs[i].length === 3) { + ch = evs[i][1]; + ev = evs[i][2]; + } + el.off(ev, ch); + } + }, + _buildEvents: function () { + var events = { + keyup: $.proxy(function (e) { + if ($.inArray(e.keyCode, [27, 37, 39, 38, 40, 32, 13, 9]) === -1) + this.update(); + }, this), + keydown: $.proxy(this.keydown, this), + paste: $.proxy(this.paste, this) + }; + + if (this.o.showOnFocus === true) { + events.focus = $.proxy(this.show, this); + } + + if (this.isInput) { // single input + this._events = [ + [this.element, events] + ]; + } + // component: input + button + else if (this.component && this.inputField.length) { + this._events = [ + // For components that are not readonly, allow keyboard nav + [this.inputField, events], + [this.component, { + click: $.proxy(this.show, this) + }] + ]; + } + else { + this._events = [ + [this.element, { + click: $.proxy(this.show, this), + keydown: $.proxy(this.keydown, this) + }] + ]; + } + this._events.push( + // Component: listen for blur on element descendants + [this.element, '*', { + blur: $.proxy(function (e) { + this._focused_from = e.target; + }, this) + }], + // Input: listen for blur on element + [this.element, { + blur: $.proxy(function (e) { + this._focused_from = e.target; + }, this) + }] + ); + + if (this.o.immediateUpdates) { + // Trigger input updates immediately on changed year/month + this._events.push([this.element, { + 'changeYear changeMonth': $.proxy(function (e) { + this.update(e.date); + }, this) + }]); + } + + this._secondaryEvents = [ + [this.picker, { + click: $.proxy(this.click, this) + }], + [this.picker, '.prev, .next', { + click: $.proxy(this.navArrowsClick, this) + }], + [this.picker, '.day:not(.disabled)', { + click: $.proxy(this.dayCellClick, this) + }], + [$(window), { + resize: $.proxy(this.place, this) + }], + [$(document), { + 'mousedown touchstart': $.proxy(function (e) { + // Clicked outside the datepicker, hide it + if (!( + this.element.is(e.target) || + this.element.find(e.target).length || + this.picker.is(e.target) || + this.picker.find(e.target).length || + this.isInline + )) { + this.hide(); + } + }, this) + }] + ]; + }, + _attachEvents: function () { + this._detachEvents(); + this._applyEvents(this._events); + }, + _detachEvents: function () { + this._unapplyEvents(this._events); + }, + _attachSecondaryEvents: function () { + this._detachSecondaryEvents(); + this._applyEvents(this._secondaryEvents); + }, + _detachSecondaryEvents: function () { + this._unapplyEvents(this._secondaryEvents); + }, + _trigger: function (event, altdate) { + var date = altdate || this.dates.get(-1), + local_date = this._utc_to_local(date); + + this.element.trigger({ + type: event, + date: local_date, + viewMode: this.viewMode, + dates: $.map(this.dates, this._utc_to_local), + format: $.proxy(function (ix, format) { + if (arguments.length === 0) { + ix = this.dates.length - 1; + format = this.o.format; + } else if (typeof ix === 'string') { + format = ix; + ix = this.dates.length - 1; + } + format = format || this.o.format; + var date = this.dates.get(ix); + return DPGlobal.formatDate(date, format, this.o.language); + }, this) + }); + }, + + show: function () { + if (this.inputField.prop('disabled') || (this.inputField.prop('readonly') && this.o.enableOnReadonly === false)) + return; + if (!this.isInline) + this.picker.appendTo(this.o.container); + this.place(); + this.picker.show(); + this._attachSecondaryEvents(); + this._trigger('show'); + if ((window.navigator.msMaxTouchPoints || 'ontouchstart' in document) && this.o.disableTouchKeyboard) { + $(this.element).blur(); + } + return this; + }, + + hide: function () { + if (this.isInline || !this.picker.is(':visible')) + return this; + this.focusDate = null; + this.picker.hide().detach(); + this._detachSecondaryEvents(); + this.setViewMode(this.o.startView); + + if (this.o.forceParse && this.inputField.val()) + this.setValue(); + this._trigger('hide'); + return this; + }, + + destroy: function () { + this.hide(); + this._detachEvents(); + this._detachSecondaryEvents(); + this.picker.remove(); + delete this.element.data().datepicker; + if (!this.isInput) { + delete this.element.data().date; + } + return this; + }, + + paste: function (e) { + var dateString; + if (e.originalEvent.clipboardData && e.originalEvent.clipboardData.types + && $.inArray('text/plain', e.originalEvent.clipboardData.types) !== -1) { + dateString = e.originalEvent.clipboardData.getData('text/plain'); + } else if (window.clipboardData) { + dateString = window.clipboardData.getData('Text'); + } else { + return; + } + this.setDate(dateString); + this.update(); + e.preventDefault(); + }, + + _utc_to_local: function (utc) { + if (!utc) { + return utc; + } + + var local = new Date(utc.getTime() + (utc.getTimezoneOffset() * 60000)); + + if (local.getTimezoneOffset() !== utc.getTimezoneOffset()) { + local = new Date(utc.getTime() + (local.getTimezoneOffset() * 60000)); + } + + return local; + }, + _local_to_utc: function (local) { + return local && new Date(local.getTime() - (local.getTimezoneOffset() * 60000)); + }, + _zero_time: function (local) { + return local && new Date(local.getFullYear(), local.getMonth(), local.getDate()); + }, + _zero_utc_time: function (utc) { + return utc && UTCDate(utc.getUTCFullYear(), utc.getUTCMonth(), utc.getUTCDate()); + }, + + getDates: function () { + return $.map(this.dates, this._utc_to_local); + }, + + getUTCDates: function () { + return $.map(this.dates, function (d) { + return new Date(d); + }); + }, + + getDate: function () { + return this._utc_to_local(this.getUTCDate()); + }, + + getUTCDate: function () { + var selected_date = this.dates.get(-1); + if (selected_date !== undefined) { + return new Date(selected_date); + } else { + return null; + } + }, + + clearDates: function () { + this.inputField.val(''); + this.update(); + this._trigger('changeDate'); + + if (this.o.autoclose) { + this.hide(); + } + }, + + setDates: function () { + var args = $.isArray(arguments[0]) ? arguments[0] : arguments; + this.update.apply(this, args); + this._trigger('changeDate'); + this.setValue(); + return this; + }, + + setUTCDates: function () { + var args = $.isArray(arguments[0]) ? arguments[0] : arguments; + this.setDates.apply(this, $.map(args, this._utc_to_local)); + return this; + }, + + setDate: alias('setDates'), + setUTCDate: alias('setUTCDates'), + remove: alias('destroy', 'Method `remove` is deprecated and will be removed in version 2.0. Use `destroy` instead'), + + setValue: function () { + var formatted = this.getFormattedDate(); + this.inputField.val(formatted); + return this; + }, + + getFormattedDate: function (format) { + if (format === undefined) + format = this.o.format; + + var lang = this.o.language; + return $.map(this.dates, function (d) { + return DPGlobal.formatDate(d, format, lang); + }).join(this.o.multidateSeparator); + }, + + getStartDate: function () { + return this.o.startDate; + }, + + setStartDate: function (startDate) { + this._process_options({startDate: startDate}); + this.update(); + this.updateNavArrows(); + return this; + }, + + getEndDate: function () { + return this.o.endDate; + }, + + setEndDate: function (endDate) { + this._process_options({endDate: endDate}); + this.update(); + this.updateNavArrows(); + return this; + }, + + setDaysOfWeekDisabled: function (daysOfWeekDisabled) { + this._process_options({daysOfWeekDisabled: daysOfWeekDisabled}); + this.update(); + return this; + }, + + setDaysOfWeekHighlighted: function (daysOfWeekHighlighted) { + this._process_options({daysOfWeekHighlighted: daysOfWeekHighlighted}); + this.update(); + return this; + }, + + setDatesDisabled: function (datesDisabled) { + this._process_options({datesDisabled: datesDisabled}); + this.update(); + return this; + }, + + place: function () { + if (this.isInline) + return this; + var calendarWidth = this.picker.outerWidth(), + calendarHeight = this.picker.outerHeight(), + visualPadding = 10, + container = $(this.o.container), + windowWidth = container.width(), + scrollTop = this.o.container === 'body' ? $(document).scrollTop() : container.scrollTop(), + appendOffset = container.offset(); + + var parentsZindex = [0]; + this.element.parents().each(function () { + var itemZIndex = $(this).css('z-index'); + if (itemZIndex !== 'auto' && Number(itemZIndex) !== 0) parentsZindex.push(Number(itemZIndex)); + }); + var zIndex = Math.max.apply(Math, parentsZindex) + this.o.zIndexOffset; + var offset = this.component ? this.component.parent().offset() : this.element.offset(); + var height = this.component ? this.component.outerHeight(true) : this.element.outerHeight(false); + var width = this.component ? this.component.outerWidth(true) : this.element.outerWidth(false); + var left = offset.left - appendOffset.left; + var top = offset.top - appendOffset.top; + + if (this.o.container !== 'body') { + top += scrollTop; + } + + this.picker.removeClass( + 'datepicker-orient-top datepicker-orient-bottom ' + + 'datepicker-orient-right datepicker-orient-left' + ); + + if (this.o.orientation.x !== 'auto') { + this.picker.addClass('datepicker-orient-' + this.o.orientation.x); + if (this.o.orientation.x === 'right') + left -= calendarWidth - width; + } + // auto x orientation is best-placement: if it crosses a window + // edge, fudge it sideways + else { + if (offset.left < 0) { + // component is outside the window on the left side. Move it into visible range + this.picker.addClass('datepicker-orient-left'); + left -= offset.left - visualPadding; + } else if (left + calendarWidth > windowWidth) { + // the calendar passes the widow right edge. Align it to component right side + this.picker.addClass('datepicker-orient-right'); + left += width - calendarWidth; + } else { + if (this.o.rtl) { + // Default to right + this.picker.addClass('datepicker-orient-right'); + } else { + // Default to left + this.picker.addClass('datepicker-orient-left'); + } + } + } + + // auto y orientation is best-situation: top or bottom, no fudging, + // decision based on which shows more of the calendar + var yorient = this.o.orientation.y, + top_overflow; + if (yorient === 'auto') { + top_overflow = -scrollTop + top - calendarHeight; + yorient = top_overflow < 0 ? 'bottom' : 'top'; + } + + this.picker.addClass('datepicker-orient-' + yorient); + if (yorient === 'top') + top -= calendarHeight + parseInt(this.picker.css('padding-top')); + else + top += height; + + if (this.o.rtl) { + var right = windowWidth - (left + width); + this.picker.css({ + top: top, + right: right, + zIndex: zIndex + }); + } else { + this.picker.css({ + top: top, + left: left, + zIndex: zIndex + }); + } + return this; + }, + + _allow_update: true, + update: function () { + if (!this._allow_update) + return this; + + var oldDates = this.dates.copy(), + dates = [], + fromArgs = false; + if (arguments.length) { + $.each(arguments, $.proxy(function (i, date) { + if (date instanceof Date) + date = this._local_to_utc(date); + dates.push(date); + }, this)); + fromArgs = true; + } else { + dates = this.isInput + ? this.element.val() + : this.element.data('date') || this.inputField.val(); + if (dates && this.o.multidate) + dates = dates.split(this.o.multidateSeparator); + else + dates = [dates]; + delete this.element.data().date; + } + + dates = $.map(dates, $.proxy(function (date) { + return DPGlobal.parseDate(date, this.o.format, this.o.language, this.o.assumeNearbyYear); + }, this)); + dates = $.grep(dates, $.proxy(function (date) { + return ( + !this.dateWithinRange(date) || + !date + ); + }, this), true); + this.dates.replace(dates); + + if (this.o.updateViewDate) { + if (this.dates.length) + this.viewDate = new Date(this.dates.get(-1)); + else if (this.viewDate < this.o.startDate) + this.viewDate = new Date(this.o.startDate); + else if (this.viewDate > this.o.endDate) + this.viewDate = new Date(this.o.endDate); + else + this.viewDate = this.o.defaultViewDate; + } + + if (fromArgs) { + // setting date by clicking + this.setValue(); + this.element.change(); + } + else if (this.dates.length) { + // setting date by typing + if (String(oldDates) !== String(this.dates) && fromArgs) { + this._trigger('changeDate'); + this.element.change(); + } + } + if (!this.dates.length && oldDates.length) { + this._trigger('clearDate'); + this.element.change(); + } + + this.fill(); + return this; + }, + + fillDow: function () { + if (this.o.showWeekDays) { + var dowCnt = this.o.weekStart, + html = ''; + if (this.o.calendarWeeks) { + html += ' '; + } + while (dowCnt < this.o.weekStart + 7) { + html += '' + dates[this.o.language].daysMin[(dowCnt++) % 7] + ''; + } + html += ''; + this.picker.find('.datepicker-days thead').append(html); + } + }, + + fillMonths: function () { + var localDate = this._utc_to_local(this.viewDate); + var html = ''; + var focused; + for (var i = 0; i < 12; i++) { + focused = localDate && localDate.getMonth() === i ? ' focused' : ''; + html += '' + dates[this.o.language].monthsShort[i] + ''; + } + this.picker.find('.datepicker-months td').html(html); + }, + + setRange: function (range) { + if (!range || !range.length) + delete this.range; + else + this.range = $.map(range, function (d) { + return d.valueOf(); + }); + this.fill(); + }, + + getClassNames: function (date) { + var cls = [], + year = this.viewDate.getUTCFullYear(), + month = this.viewDate.getUTCMonth(), + today = UTCToday(); + if (date.getUTCFullYear() < year || (date.getUTCFullYear() === year && date.getUTCMonth() < month)) { + cls.push('old'); + } else if (date.getUTCFullYear() > year || (date.getUTCFullYear() === year && date.getUTCMonth() > month)) { + cls.push('new'); + } + if (this.focusDate && date.valueOf() === this.focusDate.valueOf()) + cls.push('focused'); + // Compare internal UTC date with UTC today, not local today + if (this.o.todayHighlight && isUTCEquals(date, today)) { + cls.push('today'); + } + if (this.dates.contains(date) !== -1) + cls.push('active'); + if (!this.dateWithinRange(date)) { + cls.push('disabled'); + } + if (this.dateIsDisabled(date)) { + cls.push('disabled', 'disabled-date'); + } + if ($.inArray(date.getUTCDay(), this.o.daysOfWeekHighlighted) !== -1) { + cls.push('highlighted'); + } + + if (this.range) { + if (date > this.range[0] && date < this.range[this.range.length - 1]) { + cls.push('range'); + } + if ($.inArray(date.valueOf(), this.range) !== -1) { + cls.push('selected'); + } + if (date.valueOf() === this.range[0]) { + cls.push('range-start'); + } + if (date.valueOf() === this.range[this.range.length - 1]) { + cls.push('range-end'); + } + } + return cls; + }, + + _fill_yearsView: function (selector, cssClass, factor, year, startYear, endYear, beforeFn) { + var html = ''; + var step = factor / 10; + var view = this.picker.find(selector); + var startVal = Math.floor(year / factor) * factor; + var endVal = startVal + step * 9; + var focusedVal = Math.floor(this.viewDate.getFullYear() / step) * step; + var selected = $.map(this.dates, function (d) { + return Math.floor(d.getUTCFullYear() / step) * step; + }); + + var classes, tooltip, before; + for (var currVal = startVal - step; currVal <= endVal + step; currVal += step) { + classes = [cssClass]; + tooltip = null; + + if (currVal === startVal - step) { + classes.push('old'); + } else if (currVal === endVal + step) { + classes.push('new'); + } + if ($.inArray(currVal, selected) !== -1) { + classes.push('active'); + } + if (currVal < startYear || currVal > endYear) { + classes.push('disabled'); + } + if (currVal === focusedVal) { + classes.push('focused'); + } + + if (beforeFn !== $.noop) { + before = beforeFn(new Date(currVal, 0, 1)); + if (before === undefined) { + before = {}; + } else if (typeof before === 'boolean') { + before = {enabled: before}; + } else if (typeof before === 'string') { + before = {classes: before}; + } + if (before.enabled === false) { + classes.push('disabled'); + } + if (before.classes) { + classes = classes.concat(before.classes.split(/\s+/)); + } + if (before.tooltip) { + tooltip = before.tooltip; + } + } + + html += '' + currVal + ''; + } + + view.find('.datepicker-switch').text(startVal + '-' + endVal); + view.find('td').html(html); + }, + + fill: function () { + var d = new Date(this.viewDate), + year = d.getUTCFullYear(), + month = d.getUTCMonth(), + startYear = this.o.startDate !== -Infinity ? this.o.startDate.getUTCFullYear() : -Infinity, + startMonth = this.o.startDate !== -Infinity ? this.o.startDate.getUTCMonth() : -Infinity, + endYear = this.o.endDate !== Infinity ? this.o.endDate.getUTCFullYear() : Infinity, + endMonth = this.o.endDate !== Infinity ? this.o.endDate.getUTCMonth() : Infinity, + todaytxt = dates[this.o.language].today || dates['en'].today || '', + cleartxt = dates[this.o.language].clear || dates['en'].clear || '', + titleFormat = dates[this.o.language].titleFormat || dates['en'].titleFormat, + tooltip, + before; + if (isNaN(year) || isNaN(month)) + return; + this.picker.find('.datepicker-days .datepicker-switch') + .text(DPGlobal.formatDate(d, titleFormat, this.o.language)); + this.picker.find('tfoot .today') + .text(todaytxt) + .css('display', this.o.todayBtn === true || this.o.todayBtn === 'linked' ? 'table-cell' : 'none'); + this.picker.find('tfoot .clear') + .text(cleartxt) + .css('display', this.o.clearBtn === true ? 'table-cell' : 'none'); + this.picker.find('thead .datepicker-title') + .text(this.o.title) + .css('display', typeof this.o.title === 'string' && this.o.title !== '' ? 'table-cell' : 'none'); + this.updateNavArrows(); + this.fillMonths(); + var prevMonth = UTCDate(year, month, 0), + day = prevMonth.getUTCDate(); + prevMonth.setUTCDate(day - (prevMonth.getUTCDay() - this.o.weekStart + 7) % 7); + var nextMonth = new Date(prevMonth); + if (prevMonth.getUTCFullYear() < 100) { + nextMonth.setUTCFullYear(prevMonth.getUTCFullYear()); + } + nextMonth.setUTCDate(nextMonth.getUTCDate() + 42); + nextMonth = nextMonth.valueOf(); + var html = []; + var weekDay, clsName; + while (prevMonth.valueOf() < nextMonth) { + weekDay = prevMonth.getUTCDay(); + if (weekDay === this.o.weekStart) { + html.push(''); + if (this.o.calendarWeeks) { + // ISO 8601: First week contains first thursday. + // ISO also states week starts on Monday, but we can be more abstract here. + var + // Start of current week: based on weekstart/current date + ws = new Date(+prevMonth + (this.o.weekStart - weekDay - 7) % 7 * 864e5), + // Thursday of this week + th = new Date(Number(ws) + (7 + 4 - ws.getUTCDay()) % 7 * 864e5), + // First Thursday of year, year from thursday + yth = new Date(Number(yth = UTCDate(th.getUTCFullYear(), 0, 1)) + (7 + 4 - yth.getUTCDay()) % 7 * 864e5), + // Calendar week: ms between thursdays, div ms per day, div 7 days + calWeek = (th - yth) / 864e5 / 7 + 1; + html.push('' + calWeek + ''); + } + } + clsName = this.getClassNames(prevMonth); + clsName.push('day'); + + var content = prevMonth.getUTCDate(); + + if (this.o.beforeShowDay !== $.noop) { + before = this.o.beforeShowDay(this._utc_to_local(prevMonth)); + if (before === undefined) + before = {}; + else if (typeof before === 'boolean') + before = {enabled: before}; + else if (typeof before === 'string') + before = {classes: before}; + if (before.enabled === false) + clsName.push('disabled'); + if (before.classes) + clsName = clsName.concat(before.classes.split(/\s+/)); + if (before.tooltip) + tooltip = before.tooltip; + if (before.content) + content = before.content; + } + + //Check if uniqueSort exists (supported by jquery >=1.12 and >=2.2) + //Fallback to unique function for older jquery versions + if ($.isFunction($.uniqueSort)) { + clsName = $.uniqueSort(clsName); + } else { + clsName = $.unique(clsName); + } + + html.push('' + content + ''); + tooltip = null; + if (weekDay === this.o.weekEnd) { + html.push(''); + } + prevMonth.setUTCDate(prevMonth.getUTCDate() + 1); + } + this.picker.find('.datepicker-days tbody').html(html.join('')); + + var monthsTitle = dates[this.o.language].monthsTitle || dates['en'].monthsTitle || 'Months'; + var months = this.picker.find('.datepicker-months') + .find('.datepicker-switch') + .text(this.o.maxViewMode < 2 ? monthsTitle : year) + .end() + .find('tbody span').removeClass('active'); + + $.each(this.dates, function (i, d) { + if (d.getUTCFullYear() === year) + months.eq(d.getUTCMonth()).addClass('active'); + }); + + if (year < startYear || year > endYear) { + months.addClass('disabled'); + } + if (year === startYear) { + months.slice(0, startMonth).addClass('disabled'); + } + if (year === endYear) { + months.slice(endMonth + 1).addClass('disabled'); + } + + if (this.o.beforeShowMonth !== $.noop) { + var that = this; + $.each(months, function (i, month) { + var moDate = new Date(year, i, 1); + var before = that.o.beforeShowMonth(moDate); + if (before === undefined) + before = {}; + else if (typeof before === 'boolean') + before = {enabled: before}; + else if (typeof before === 'string') + before = {classes: before}; + if (before.enabled === false && !$(month).hasClass('disabled')) + $(month).addClass('disabled'); + if (before.classes) + $(month).addClass(before.classes); + if (before.tooltip) + $(month).prop('title', before.tooltip); + }); + } + + // Generating decade/years picker + this._fill_yearsView( + '.datepicker-years', + 'year', + 10, + year, + startYear, + endYear, + this.o.beforeShowYear + ); + + // Generating century/decades picker + this._fill_yearsView( + '.datepicker-decades', + 'decade', + 100, + year, + startYear, + endYear, + this.o.beforeShowDecade + ); + + // Generating millennium/centuries picker + this._fill_yearsView( + '.datepicker-centuries', + 'century', + 1000, + year, + startYear, + endYear, + this.o.beforeShowCentury + ); + }, + + updateNavArrows: function () { + if (!this._allow_update) + return; + + var d = new Date(this.viewDate), + year = d.getUTCFullYear(), + month = d.getUTCMonth(), + startYear = this.o.startDate !== -Infinity ? this.o.startDate.getUTCFullYear() : -Infinity, + startMonth = this.o.startDate !== -Infinity ? this.o.startDate.getUTCMonth() : -Infinity, + endYear = this.o.endDate !== Infinity ? this.o.endDate.getUTCFullYear() : Infinity, + endMonth = this.o.endDate !== Infinity ? this.o.endDate.getUTCMonth() : Infinity, + prevIsDisabled, + nextIsDisabled, + factor = 1; + switch (this.viewMode) { + case 4: + factor *= 10; + /* falls through */ + case 3: + factor *= 10; + /* falls through */ + case 2: + factor *= 10; + /* falls through */ + case 1: + prevIsDisabled = Math.floor(year / factor) * factor <= startYear; + nextIsDisabled = Math.floor(year / factor) * factor + factor > endYear; + break; + case 0: + prevIsDisabled = year <= startYear && month <= startMonth; + nextIsDisabled = year >= endYear && month >= endMonth; + break; + } + + this.picker.find('.prev').toggleClass('disabled', prevIsDisabled); + this.picker.find('.next').toggleClass('disabled', nextIsDisabled); + }, + + click: function (e) { + e.preventDefault(); + e.stopPropagation(); + + var target, dir, day, year, month; + target = $(e.target); + + // Clicked on the switch + if (target.hasClass('datepicker-switch') && this.viewMode !== this.o.maxViewMode) { + this.setViewMode(this.viewMode + 1); + } + + // Clicked on today button + if (target.hasClass('today') && !target.hasClass('day')) { + this.setViewMode(0); + this._setDate(UTCToday(), this.o.todayBtn === 'linked' ? null : 'view'); + } + + // Clicked on clear button + if (target.hasClass('clear')) { + this.clearDates(); + } + + if (!target.hasClass('disabled')) { + // Clicked on a month, year, decade, century + if (target.hasClass('month') + || target.hasClass('year') + || target.hasClass('decade') + || target.hasClass('century')) { + this.viewDate.setUTCDate(1); + + day = 1; + if (this.viewMode === 1) { + month = target.parent().find('span').index(target); + year = this.viewDate.getUTCFullYear(); + this.viewDate.setUTCMonth(month); + } else { + month = 0; + year = Number(target.text()); + this.viewDate.setUTCFullYear(year); + } + + this._trigger(DPGlobal.viewModes[this.viewMode - 1].e, this.viewDate); + + if (this.viewMode === this.o.minViewMode) { + this._setDate(UTCDate(year, month, day)); + } else { + this.setViewMode(this.viewMode - 1); + this.fill(); + } + } + } + + if (this.picker.is(':visible') && this._focused_from) { + this._focused_from.focus(); + } + delete this._focused_from; + }, + + dayCellClick: function (e) { + var $target = $(e.currentTarget); + var timestamp = $target.data('date'); + var date = new Date(timestamp); + + if (this.o.updateViewDate) { + if (date.getUTCFullYear() !== this.viewDate.getUTCFullYear()) { + this._trigger('changeYear', this.viewDate); + } + + if (date.getUTCMonth() !== this.viewDate.getUTCMonth()) { + this._trigger('changeMonth', this.viewDate); + } + } + this._setDate(date); + }, + + // Clicked on prev or next + navArrowsClick: function (e) { + var $target = $(e.currentTarget); + var dir = $target.hasClass('prev') ? -1 : 1; + if (this.viewMode !== 0) { + dir *= DPGlobal.viewModes[this.viewMode].navStep * 12; + } + this.viewDate = this.moveMonth(this.viewDate, dir); + this._trigger(DPGlobal.viewModes[this.viewMode].e, this.viewDate); + this.fill(); + }, + + _toggle_multidate: function (date) { + var ix = this.dates.contains(date); + if (!date) { + this.dates.clear(); + } + + if (ix !== -1) { + if (this.o.multidate === true || this.o.multidate > 1 || this.o.toggleActive) { + this.dates.remove(ix); + } + } else if (this.o.multidate === false) { + this.dates.clear(); + this.dates.push(date); + } + else { + this.dates.push(date); + } + + if (typeof this.o.multidate === 'number') + while (this.dates.length > this.o.multidate) + this.dates.remove(0); + }, + + _setDate: function (date, which) { + if (!which || which === 'date') + this._toggle_multidate(date && new Date(date)); + if ((!which && this.o.updateViewDate) || which === 'view') + this.viewDate = date && new Date(date); + + this.fill(); + this.setValue(); + if (!which || which !== 'view') { + this._trigger('changeDate'); + } + this.inputField.trigger('change'); + if (this.o.autoclose && (!which || which === 'date')) { + this.hide(); + } + }, + + moveDay: function (date, dir) { + var newDate = new Date(date); + newDate.setUTCDate(date.getUTCDate() + dir); + + return newDate; + }, + + moveWeek: function (date, dir) { + return this.moveDay(date, dir * 7); + }, + + moveMonth: function (date, dir) { + if (!isValidDate(date)) + return this.o.defaultViewDate; + if (!dir) + return date; + var new_date = new Date(date.valueOf()), + day = new_date.getUTCDate(), + month = new_date.getUTCMonth(), + mag = Math.abs(dir), + new_month, test; + dir = dir > 0 ? 1 : -1; + if (mag === 1) { + test = dir === -1 + // If going back one month, make sure month is not current month + // (eg, Mar 31 -> Feb 31 == Feb 28, not Mar 02) + ? function () { + return new_date.getUTCMonth() === month; + } + // If going forward one month, make sure month is as expected + // (eg, Jan 31 -> Feb 31 == Feb 28, not Mar 02) + : function () { + return new_date.getUTCMonth() !== new_month; + }; + new_month = month + dir; + new_date.setUTCMonth(new_month); + // Dec -> Jan (12) or Jan -> Dec (-1) -- limit expected date to 0-11 + new_month = (new_month + 12) % 12; + } + else { + // For magnitudes >1, move one month at a time... + for (var i = 0; i < mag; i++) + // ...which might decrease the day (eg, Jan 31 to Feb 28, etc)... + new_date = this.moveMonth(new_date, dir); + // ...then reset the day, keeping it in the new month + new_month = new_date.getUTCMonth(); + new_date.setUTCDate(day); + test = function () { + return new_month !== new_date.getUTCMonth(); + }; + } + // Common date-resetting loop -- if date is beyond end of month, make it + // end of month + while (test()) { + new_date.setUTCDate(--day); + new_date.setUTCMonth(new_month); + } + return new_date; + }, + + moveYear: function (date, dir) { + return this.moveMonth(date, dir * 12); + }, + + moveAvailableDate: function (date, dir, fn) { + do { + date = this[fn](date, dir); + + if (!this.dateWithinRange(date)) + return false; + + fn = 'moveDay'; + } + while (this.dateIsDisabled(date)); + + return date; + }, + + weekOfDateIsDisabled: function (date) { + return $.inArray(date.getUTCDay(), this.o.daysOfWeekDisabled) !== -1; + }, + + dateIsDisabled: function (date) { + return ( + this.weekOfDateIsDisabled(date) || + $.grep(this.o.datesDisabled, function (d) { + return isUTCEquals(date, d); + }).length > 0 + ); + }, + + dateWithinRange: function (date) { + return date >= this.o.startDate && date <= this.o.endDate; + }, + + keydown: function (e) { + if (!this.picker.is(':visible')) { + if (e.keyCode === 40 || e.keyCode === 27) { // allow down to re-show picker + this.show(); + e.stopPropagation(); + } + return; + } + var dateChanged = false, + dir, newViewDate, + focusDate = this.focusDate || this.viewDate; + switch (e.keyCode) { + case 27: // escape + if (this.focusDate) { + this.focusDate = null; + this.viewDate = this.dates.get(-1) || this.viewDate; + this.fill(); + } + else + this.hide(); + e.preventDefault(); + e.stopPropagation(); + break; + case 37: // left + case 38: // up + case 39: // right + case 40: // down + if (!this.o.keyboardNavigation || this.o.daysOfWeekDisabled.length === 7) + break; + dir = e.keyCode === 37 || e.keyCode === 38 ? -1 : 1; + if (this.viewMode === 0) { + if (e.ctrlKey) { + newViewDate = this.moveAvailableDate(focusDate, dir, 'moveYear'); + + if (newViewDate) + this._trigger('changeYear', this.viewDate); + } else if (e.shiftKey) { + newViewDate = this.moveAvailableDate(focusDate, dir, 'moveMonth'); + + if (newViewDate) + this._trigger('changeMonth', this.viewDate); + } else if (e.keyCode === 37 || e.keyCode === 39) { + newViewDate = this.moveAvailableDate(focusDate, dir, 'moveDay'); + } else if (!this.weekOfDateIsDisabled(focusDate)) { + newViewDate = this.moveAvailableDate(focusDate, dir, 'moveWeek'); + } + } else if (this.viewMode === 1) { + if (e.keyCode === 38 || e.keyCode === 40) { + dir = dir * 4; + } + newViewDate = this.moveAvailableDate(focusDate, dir, 'moveMonth'); + } else if (this.viewMode === 2) { + if (e.keyCode === 38 || e.keyCode === 40) { + dir = dir * 4; + } + newViewDate = this.moveAvailableDate(focusDate, dir, 'moveYear'); + } + if (newViewDate) { + this.focusDate = this.viewDate = newViewDate; + this.setValue(); + this.fill(); + e.preventDefault(); + } + break; + case 13: // enter + if (!this.o.forceParse) + break; + focusDate = this.focusDate || this.dates.get(-1) || this.viewDate; + if (this.o.keyboardNavigation) { + this._toggle_multidate(focusDate); + dateChanged = true; + } + this.focusDate = null; + this.viewDate = this.dates.get(-1) || this.viewDate; + this.setValue(); + this.fill(); + if (this.picker.is(':visible')) { + e.preventDefault(); + e.stopPropagation(); + if (this.o.autoclose) + this.hide(); + } + break; + case 9: // tab + this.focusDate = null; + this.viewDate = this.dates.get(-1) || this.viewDate; + this.fill(); + this.hide(); + break; + } + if (dateChanged) { + if (this.dates.length) + this._trigger('changeDate'); + else + this._trigger('clearDate'); + this.inputField.trigger('change'); + } + }, + + setViewMode: function (viewMode) { + this.viewMode = viewMode; + this.picker + .children('div') + .hide() + .filter('.datepicker-' + DPGlobal.viewModes[this.viewMode].clsName) + .show(); + this.updateNavArrows(); + this._trigger('changeViewMode', new Date(this.viewDate)); + } + }; + + var DateRangePicker = function (element, options) { + $.data(element, 'datepicker', this); + this.element = $(element); + this.inputs = $.map(options.inputs, function (i) { + return i.jquery ? i[0] : i; + }); + delete options.inputs; + + this.keepEmptyValues = options.keepEmptyValues; + delete options.keepEmptyValues; + + datepickerPlugin.call($(this.inputs), options) + .on('changeDate', $.proxy(this.dateUpdated, this)); + + this.pickers = $.map(this.inputs, function (i) { + return $.data(i, 'datepicker'); + }); + this.updateDates(); + }; + DateRangePicker.prototype = { + updateDates: function () { + this.dates = $.map(this.pickers, function (i) { + return i.getUTCDate(); + }); + this.updateRanges(); + }, + updateRanges: function () { + var range = $.map(this.dates, function (d) { + return d.valueOf(); + }); + $.each(this.pickers, function (i, p) { + p.setRange(range); + }); + }, + clearDates: function () { + $.each(this.pickers, function (i, p) { + p.clearDates(); + }); + }, + dateUpdated: function (e) { + // `this.updating` is a workaround for preventing infinite recursion + // between `changeDate` triggering and `setUTCDate` calling. Until + // there is a better mechanism. + if (this.updating) + return; + this.updating = true; + + var dp = $.data(e.target, 'datepicker'); + + if (dp === undefined) { + return; + } + + var new_date = dp.getUTCDate(), + keep_empty_values = this.keepEmptyValues, + i = $.inArray(e.target, this.inputs), + j = i - 1, + k = i + 1, + l = this.inputs.length; + if (i === -1) + return; + + $.each(this.pickers, function (i, p) { + if (!p.getUTCDate() && (p === dp || !keep_empty_values)) + p.setUTCDate(new_date); + }); + + if (new_date < this.dates[j]) { + // Date being moved earlier/left + while (j >= 0 && new_date < this.dates[j]) { + this.pickers[j--].setUTCDate(new_date); + } + } else if (new_date > this.dates[k]) { + // Date being moved later/right + while (k < l && new_date > this.dates[k]) { + this.pickers[k++].setUTCDate(new_date); + } + } + this.updateDates(); + + delete this.updating; + }, + destroy: function () { + $.map(this.pickers, function (p) { + p.destroy(); + }); + $(this.inputs).off('changeDate', this.dateUpdated); + delete this.element.data().datepicker; + }, + remove: alias('destroy', 'Method `remove` is deprecated and will be removed in version 2.0. Use `destroy` instead') + }; + + function opts_from_el(el, prefix) { + // Derive options from element data-attrs + var data = $(el).data(), + out = {}, inkey, + replace = new RegExp('^' + prefix.toLowerCase() + '([A-Z])'); + prefix = new RegExp('^' + prefix.toLowerCase()); + + function re_lower(_, a) { + return a.toLowerCase(); + } + + for (var key in data) + if (prefix.test(key)) { + inkey = key.replace(replace, re_lower); + out[inkey] = data[key]; + } + return out; + } + + function opts_from_locale(lang) { + // Derive options from locale plugins + var out = {}; + // Check if "de-DE" style date is available, if not language should + // fallback to 2 letter code eg "de" + if (!dates[lang]) { + lang = lang.split('-')[0]; + if (!dates[lang]) + return; + } + var d = dates[lang]; + $.each(locale_opts, function (i, k) { + if (k in d) + out[k] = d[k]; + }); + return out; + } + + var old = $.fn.datepicker; + var datepickerPlugin = function (option) { + var args = Array.apply(null, arguments); + args.shift(); + var internal_return; + this.each(function () { + var $this = $(this), + data = $this.data('datepicker'), + options = typeof option === 'object' && option; + if (!data) { + var elopts = opts_from_el(this, 'date'), + // Preliminary otions + xopts = $.extend({}, defaults, elopts, options), + locopts = opts_from_locale(xopts.language), + // Options priority: js args, data-attrs, locales, defaults + opts = $.extend({}, defaults, locopts, elopts, options); + if ($this.hasClass('input-daterange') || opts.inputs) { + $.extend(opts, { + inputs: opts.inputs || $this.find('input').toArray() + }); + data = new DateRangePicker(this, opts); + } + else { + data = new Datepicker(this, opts); + } + $this.data('datepicker', data); + } + if (typeof option === 'string' && typeof data[option] === 'function') { + internal_return = data[option].apply(data, args); + } + }); + + if ( + internal_return === undefined || + internal_return instanceof Datepicker || + internal_return instanceof DateRangePicker + ) + return this; + + if (this.length > 1) + throw new Error('Using only allowed for the collection of a single element (' + option + ' function)'); + else + return internal_return; + }; + $.fn.datepicker = datepickerPlugin; + + var defaults = $.fn.datepicker.defaults = { + assumeNearbyYear: false, + autoclose: false, + beforeShowDay: $.noop, + beforeShowMonth: $.noop, + beforeShowYear: $.noop, + beforeShowDecade: $.noop, + beforeShowCentury: $.noop, + calendarWeeks: false, + clearBtn: false, + toggleActive: false, + daysOfWeekDisabled: [], + daysOfWeekHighlighted: [], + datesDisabled: [], + endDate: Infinity, + forceParse: true, + format: 'mm/dd/yyyy', + keepEmptyValues: false, + keyboardNavigation: true, + language: 'en', + minViewMode: 0, + maxViewMode: 4, + multidate: false, + multidateSeparator: ',', + orientation: "auto", + rtl: false, + startDate: -Infinity, + startView: 0, + todayBtn: false, + todayHighlight: false, + updateViewDate: true, + weekStart: 0, + disableTouchKeyboard: false, + enableOnReadonly: true, + showOnFocus: true, + zIndexOffset: 10, + container: 'body', + immediateUpdates: false, + title: '', + templates: { + leftArrow: '«', + rightArrow: '»' + }, + showWeekDays: true + }; + var locale_opts = $.fn.datepicker.locale_opts = [ + 'format', + 'rtl', + 'weekStart' + ]; + $.fn.datepicker.Constructor = Datepicker; + var dates = $.fn.datepicker.dates = { + en: { + days: ["Sunday", "Monday", "Tuesday", "Wednesday", "Thursday", "Friday", "Saturday"], + daysShort: ["Sun", "Mon", "Tue", "Wed", "Thu", "Fri", "Sat"], + daysMin: ["Su", "Mo", "Tu", "We", "Th", "Fr", "Sa"], + months: ["January", "February", "March", "April", "May", "June", "July", "August", "September", "October", "November", "December"], + monthsShort: ["Jan", "Feb", "Mar", "Apr", "May", "Jun", "Jul", "Aug", "Sep", "Oct", "Nov", "Dec"], + today: "Today", + clear: "Clear", + titleFormat: "MM yyyy" + } + }; + + var DPGlobal = { + viewModes: [ + { + names: ['days', 'month'], + clsName: 'days', + e: 'changeMonth' + }, + { + names: ['months', 'year'], + clsName: 'months', + e: 'changeYear', + navStep: 1 + }, + { + names: ['years', 'decade'], + clsName: 'years', + e: 'changeDecade', + navStep: 10 + }, + { + names: ['decades', 'century'], + clsName: 'decades', + e: 'changeCentury', + navStep: 100 + }, + { + names: ['centuries', 'millennium'], + clsName: 'centuries', + e: 'changeMillennium', + navStep: 1000 + } + ], + validParts: /dd?|DD?|mm?|MM?|yy(?:yy)?/g, + nonpunctuation: /[^ -\/:-@\u5e74\u6708\u65e5\[-`{-~\t\n\r]+/g, + parseFormat: function (format) { + if (typeof format.toValue === 'function' && typeof format.toDisplay === 'function') + return format; + // IE treats \0 as a string end in inputs (truncating the value), + // so it's a bad format delimiter, anyway + var separators = format.replace(this.validParts, '\0').split('\0'), + parts = format.match(this.validParts); + if (!separators || !separators.length || !parts || parts.length === 0) { + throw new Error("Invalid date format."); + } + return {separators: separators, parts: parts}; + }, + parseDate: function (date, format, language, assumeNearby) { + if (!date) + return undefined; + if (date instanceof Date) + return date; + if (typeof format === 'string') + format = DPGlobal.parseFormat(format); + if (format.toValue) + return format.toValue(date, format, language); + var fn_map = { + d: 'moveDay', + m: 'moveMonth', + w: 'moveWeek', + y: 'moveYear' + }, + dateAliases = { + yesterday: '-1d', + today: '+0d', + tomorrow: '+1d' + }, + parts, part, dir, i, fn; + if (date in dateAliases) { + date = dateAliases[date]; + } + if (/^[\-+]\d+[dmwy]([\s,]+[\-+]\d+[dmwy])*$/i.test(date)) { + parts = date.match(/([\-+]\d+)([dmwy])/gi); + date = new Date(); + for (i = 0; i < parts.length; i++) { + part = parts[i].match(/([\-+]\d+)([dmwy])/i); + dir = Number(part[1]); + fn = fn_map[part[2].toLowerCase()]; + date = Datepicker.prototype[fn](date, dir); + } + return Datepicker.prototype._zero_utc_time(date); + } + + parts = date && date.match(this.nonpunctuation) || []; + + function applyNearbyYear(year, threshold) { + if (threshold === true) + threshold = 10; + + // if year is 2 digits or less, than the user most likely is trying to get a recent century + if (year < 100) { + year += 2000; + // if the new year is more than threshold years in advance, use last century + if (year > ((new Date()).getFullYear() + threshold)) { + year -= 100; + } + } + + return year; + } + + var parsed = {}, + setters_order = ['yyyy', 'yy', 'M', 'MM', 'm', 'mm', 'd', 'dd'], + setters_map = { + yyyy: function (d, v) { + return d.setUTCFullYear(assumeNearby ? applyNearbyYear(v, assumeNearby) : v); + }, + m: function (d, v) { + if (isNaN(d)) + return d; + v -= 1; + while (v < 0) v += 12; + v %= 12; + d.setUTCMonth(v); + while (d.getUTCMonth() !== v) + d.setUTCDate(d.getUTCDate() - 1); + return d; + }, + d: function (d, v) { + return d.setUTCDate(v); + } + }, + val, filtered; + setters_map['yy'] = setters_map['yyyy']; + setters_map['M'] = setters_map['MM'] = setters_map['mm'] = setters_map['m']; + setters_map['dd'] = setters_map['d']; + date = UTCToday(); + var fparts = format.parts.slice(); + // Remove noop parts + if (parts.length !== fparts.length) { + fparts = $(fparts).filter(function (i, p) { + return $.inArray(p, setters_order) !== -1; + }).toArray(); + } + + // Process remainder + function match_part() { + var m = this.slice(0, parts[i].length), + p = parts[i].slice(0, m.length); + return m.toLowerCase() === p.toLowerCase(); + } + + if (parts.length === fparts.length) { + var cnt; + for (i = 0, cnt = fparts.length; i < cnt; i++) { + val = parseInt(parts[i], 10); + part = fparts[i]; + if (isNaN(val)) { + switch (part) { + case 'MM': + filtered = $(dates[language].months).filter(match_part); + val = $.inArray(filtered[0], dates[language].months) + 1; + break; + case 'M': + filtered = $(dates[language].monthsShort).filter(match_part); + val = $.inArray(filtered[0], dates[language].monthsShort) + 1; + break; + } + } + parsed[part] = val; + } + var _date, s; + for (i = 0; i < setters_order.length; i++) { + s = setters_order[i]; + if (s in parsed && !isNaN(parsed[s])) { + _date = new Date(date); + setters_map[s](_date, parsed[s]); + if (!isNaN(_date)) + date = _date; + } + } + } + return date; + }, + formatDate: function (date, format, language) { + if (!date) + return ''; + if (typeof format === 'string') + format = DPGlobal.parseFormat(format); + if (format.toDisplay) + return format.toDisplay(date, format, language); + var val = { + d: date.getUTCDate(), + D: dates[language].daysShort[date.getUTCDay()], + DD: dates[language].days[date.getUTCDay()], + m: date.getUTCMonth() + 1, + M: dates[language].monthsShort[date.getUTCMonth()], + MM: dates[language].months[date.getUTCMonth()], + yy: date.getUTCFullYear().toString().substring(2), + yyyy: date.getUTCFullYear() + }; + val.dd = (val.d < 10 ? '0' : '') + val.d; + val.mm = (val.m < 10 ? '0' : '') + val.m; + date = []; + var seps = $.extend([], format.separators); + for (var i = 0, cnt = format.parts.length; i <= cnt; i++) { + if (seps.length) + date.push(seps.shift()); + date.push(val[format.parts[i]]); + } + return date.join(''); + }, + headTemplate: '' + + '' + + '' + + '' + + '' + + '' + defaults.templates.leftArrow + '' + + '' + + '' + defaults.templates.rightArrow + '' + + '' + + '', + contTemplate: '', + footTemplate: '' + + '' + + '' + + '' + + '' + + '' + + '' + + '' + }; + DPGlobal.template = '
' + + '
' + + '' + + DPGlobal.headTemplate + + '' + + DPGlobal.footTemplate + + '
' + + '
' + + '
' + + '' + + DPGlobal.headTemplate + + DPGlobal.contTemplate + + DPGlobal.footTemplate + + '
' + + '
' + + '
' + + '' + + DPGlobal.headTemplate + + DPGlobal.contTemplate + + DPGlobal.footTemplate + + '
' + + '
' + + '
' + + '' + + DPGlobal.headTemplate + + DPGlobal.contTemplate + + DPGlobal.footTemplate + + '
' + + '
' + + '
' + + '' + + DPGlobal.headTemplate + + DPGlobal.contTemplate + + DPGlobal.footTemplate + + '
' + + '
' + + '
'; + + $.fn.datepicker.DPGlobal = DPGlobal; + + + /* DATEPICKER NO CONFLICT + * =================== */ + + $.fn.datepicker.noConflict = function () { + $.fn.datepicker = old; + return this; + }; + + /* DATEPICKER VERSION + * =================== */ + $.fn.datepicker.version = '1.8.0'; + + $.fn.datepicker.deprecated = function (msg) { + var console = window.console; + if (console && console.warn) { + console.warn('DEPRECATED: ' + msg); + } + }; + + + /* DATEPICKER DATA-API + * ================== */ + + $(document).on( + 'focus.datepicker.data-api click.datepicker.data-api', + '[data-provide="datepicker"]', + function (e) { + var $this = $(this); + if ($this.data('datepicker')) + return; + e.preventDefault(); + // component click requires us to explicitly show it + datepickerPlugin.call($this, 'show'); + } + ); + $(function () { + datepickerPlugin.call($('[data-provide="datepicker-inline"]')); + }); + +})); diff --git a/backend/components/datepicker/src/assets/js/bootstrap-datepicker.min.js b/backend/components/datepicker/src/assets/js/bootstrap-datepicker.min.js new file mode 100644 index 0000000..318aa9e --- /dev/null +++ b/backend/components/datepicker/src/assets/js/bootstrap-datepicker.min.js @@ -0,0 +1,8 @@ +/*! + * Datepicker for Bootstrap v1.8.0 (https://github.com/uxsolutions/bootstrap-datepicker) + * + * Licensed under the Apache License v2.0 (http://www.apache.org/licenses/LICENSE-2.0) + * + * Modifications by Kartik Visweswaran (for Bootstrap 4.x support) + */!function(a){"function"==typeof define&&define.amd?define(["jquery"],a):a("object"==typeof exports?require("jquery"):jQuery)}(function(a,b){function c(){return new Date(Date.UTC.apply(Date,arguments))}function d(){var a=new Date;return c(a.getFullYear(),a.getMonth(),a.getDate())}function e(a,b){return a.getUTCFullYear()===b.getUTCFullYear()&&a.getUTCMonth()===b.getUTCMonth()&&a.getUTCDate()===b.getUTCDate()}function f(c,d){return function(){return d!==b&&a.fn.datepicker.deprecated(d),this[c].apply(this,arguments)}}function g(a){return a&&!isNaN(a.getTime())}function h(b,c){function d(a,b){return b.toLowerCase()}var e,f=a(b).data(),g={},h=new RegExp("^"+c.toLowerCase()+"([A-Z])");c=new RegExp("^"+c.toLowerCase());for(var i in f)c.test(i)&&(e=i.replace(h,d),g[e]=f[i]);return g}function i(b){var c={};if(q[b]||(b=b.split("-")[0],q[b])){var d=q[b];return a.each(p,function(a,b){b in d&&(c[b]=d[b])}),c}}var j=function(){var b={get:function(a){return this.slice(a)[0]},contains:function(a){for(var b=a&&a.valueOf(),c=0,d=this.length;c]/g)||[]).length<=0)return!0;var d=a(c);return d.length>0}catch(a){return!1}},_process_options:function(b){this._o=a.extend({},this._o,b);var e=this.o=a.extend({},this._o),f=e.language;q[f]||(f=f.split("-")[0],q[f]||(f=o.language)),e.language=f,e.startView=this._resolveViewName(e.startView),e.minViewMode=this._resolveViewName(e.minViewMode),e.maxViewMode=this._resolveViewName(e.maxViewMode),e.startView=Math.max(this.o.minViewMode,Math.min(this.o.maxViewMode,e.startView)),e.multidate!==!0&&(e.multidate=Number(e.multidate)||!1,e.multidate!==!1&&(e.multidate=Math.max(0,e.multidate))),e.multidateSeparator=String(e.multidateSeparator),e.weekStart%=7,e.weekEnd=(e.weekStart+6)%7;var g=r.parseFormat(e.format);e.startDate!==-(1/0)&&(e.startDate?e.startDate instanceof Date?e.startDate=this._local_to_utc(this._zero_time(e.startDate)):e.startDate=r.parseDate(e.startDate,g,e.language,e.assumeNearbyYear):e.startDate=-(1/0)),e.endDate!==1/0&&(e.endDate?e.endDate instanceof Date?e.endDate=this._local_to_utc(this._zero_time(e.endDate)):e.endDate=r.parseDate(e.endDate,g,e.language,e.assumeNearbyYear):e.endDate=1/0),e.daysOfWeekDisabled=this._resolveDaysOfWeek(e.daysOfWeekDisabled||[]),e.daysOfWeekHighlighted=this._resolveDaysOfWeek(e.daysOfWeekHighlighted||[]),e.datesDisabled=e.datesDisabled||[],a.isArray(e.datesDisabled)||(e.datesDisabled=e.datesDisabled.split(",")),e.datesDisabled=a.map(e.datesDisabled,function(a){return r.parseDate(a,g,e.language,e.assumeNearbyYear)});var h=String(e.orientation).toLowerCase().split(/\s+/g),i=e.orientation.toLowerCase();if(h=a.grep(h,function(a){return/^auto|left|right|top|bottom$/.test(a)}),e.orientation={x:"auto",y:"auto"},i&&"auto"!==i)if(1===h.length)switch(h[0]){case"top":case"bottom":e.orientation.y=h[0];break;case"left":case"right":e.orientation.x=h[0]}else i=a.grep(h,function(a){return/^left|right$/.test(a)}),e.orientation.x=i[0]||"auto",i=a.grep(h,function(a){return/^top|bottom$/.test(a)}),e.orientation.y=i[0]||"auto";else;if(e.defaultViewDate instanceof Date||"string"==typeof e.defaultViewDate)e.defaultViewDate=r.parseDate(e.defaultViewDate,g,e.language,e.assumeNearbyYear);else if(e.defaultViewDate){var j=e.defaultViewDate.year||(new Date).getFullYear(),k=e.defaultViewDate.month||0,l=e.defaultViewDate.day||1;e.defaultViewDate=c(j,k,l)}else e.defaultViewDate=d()},_events:[],_secondaryEvents:[],_applyEvents:function(a){for(var c,d,e,f=0;ff?(this.picker.addClass("datepicker-orient-right"),n+=m-b):this.o.rtl?this.picker.addClass("datepicker-orient-right"):this.picker.addClass("datepicker-orient-left");var p,q=this.o.orientation.y;if("auto"===q&&(p=-g+o-c,q=p<0?"bottom":"top"),this.picker.addClass("datepicker-orient-"+q),"top"===q?o-=c+parseInt(this.picker.css("padding-top")):o+=l,this.o.rtl){var r=f-(n+m);this.picker.css({top:o,right:r,zIndex:j})}else this.picker.css({top:o,left:n,zIndex:j});return this},_allow_update:!0,update:function(){if(!this._allow_update)return this;var b=this.dates.copy(),c=[],d=!1;return arguments.length?(a.each(arguments,a.proxy(function(a,b){b instanceof Date&&(b=this._local_to_utc(b)),c.push(b)},this)),d=!0):(c=this.isInput?this.element.val():this.element.data("date")||this.inputField.val(),c=c&&this.o.multidate?c.split(this.o.multidateSeparator):[c],delete this.element.data().date),c=a.map(c,a.proxy(function(a){return r.parseDate(a,this.o.format,this.o.language,this.o.assumeNearbyYear)},this)),c=a.grep(c,a.proxy(function(a){return!this.dateWithinRange(a)||!a},this),!0),this.dates.replace(c),this.o.updateViewDate&&(this.dates.length?this.viewDate=new Date(this.dates.get(-1)):this.viewDatethis.o.endDate?this.viewDate=new Date(this.o.endDate):this.viewDate=this.o.defaultViewDate),d?(this.setValue(),this.element.change()):this.dates.length&&String(b)!==String(this.dates)&&d&&(this._trigger("changeDate"),this.element.change()),!this.dates.length&&b.length&&(this._trigger("clearDate"),this.element.change()),this.fill(),this},fillDow:function(){if(this.o.showWeekDays){var b=this.o.weekStart,c="";for(this.o.calendarWeeks&&(c+=' ');b";c+="",this.picker.find(".datepicker-days thead").append(c)}},fillMonths:function(){for(var a,b=this._utc_to_local(this.viewDate),c="",d=0;d<12;d++)a=b&&b.getMonth()===d?" focused":"",c+=''+q[this.o.language].monthsShort[d]+"";this.picker.find(".datepicker-months td").html(c)},setRange:function(b){b&&b.length?this.range=a.map(b,function(a){return a.valueOf()}):delete this.range,this.fill()},getClassNames:function(b){var c=[],f=this.viewDate.getUTCFullYear(),g=this.viewDate.getUTCMonth(),h=d();return b.getUTCFullYear()f||b.getUTCFullYear()===f&&b.getUTCMonth()>g)&&c.push("new"),this.focusDate&&b.valueOf()===this.focusDate.valueOf()&&c.push("focused"),this.o.todayHighlight&&e(b,h)&&c.push("today"),this.dates.contains(b)!==-1&&c.push("active"),this.dateWithinRange(b)||c.push("disabled"),this.dateIsDisabled(b)&&c.push("disabled","disabled-date"),a.inArray(b.getUTCDay(),this.o.daysOfWeekHighlighted)!==-1&&c.push("highlighted"),this.range&&(b>this.range[0]&&bh)&&j.push("disabled"),t===r&&j.push("focused"),i!==a.noop&&(l=i(new Date(t,0,1)),l===b?l={}:"boolean"==typeof l?l={enabled:l}:"string"==typeof l&&(l={classes:l}),l.enabled===!1&&j.push("disabled"),l.classes&&(j=j.concat(l.classes.split(/\s+/))),l.tooltip&&(k=l.tooltip)),m+='"+t+"";o.find(".datepicker-switch").text(p+"-"+q),o.find("td").html(m)},fill:function(){var d,e,f=new Date(this.viewDate),g=f.getUTCFullYear(),h=f.getUTCMonth(),i=this.o.startDate!==-(1/0)?this.o.startDate.getUTCFullYear():-(1/0),j=this.o.startDate!==-(1/0)?this.o.startDate.getUTCMonth():-(1/0),k=this.o.endDate!==1/0?this.o.endDate.getUTCFullYear():1/0,l=this.o.endDate!==1/0?this.o.endDate.getUTCMonth():1/0,m=q[this.o.language].today||q.en.today||"",n=q[this.o.language].clear||q.en.clear||"",o=q[this.o.language].titleFormat||q.en.titleFormat;if(!isNaN(g)&&!isNaN(h)){this.picker.find(".datepicker-days .datepicker-switch").text(r.formatDate(f,o,this.o.language)),this.picker.find("tfoot .today").text(m).css("display",this.o.todayBtn===!0||"linked"===this.o.todayBtn?"table-cell":"none"),this.picker.find("tfoot .clear").text(n).css("display",this.o.clearBtn===!0?"table-cell":"none"),this.picker.find("thead .datepicker-title").text(this.o.title).css("display","string"==typeof this.o.title&&""!==this.o.title?"table-cell":"none"),this.updateNavArrows(),this.fillMonths();var p=c(g,h,0),s=p.getUTCDate();p.setUTCDate(s-(p.getUTCDay()-this.o.weekStart+7)%7);var t=new Date(p);p.getUTCFullYear()<100&&t.setUTCFullYear(p.getUTCFullYear()),t.setUTCDate(t.getUTCDate()+42),t=t.valueOf();for(var u,v,w=[];p.valueOf()"),this.o.calendarWeeks)){var x=new Date(+p+(this.o.weekStart-u-7)%7*864e5),y=new Date(Number(x)+(11-x.getUTCDay())%7*864e5),z=new Date(Number(z=c(y.getUTCFullYear(),0,1))+(11-z.getUTCDay())%7*864e5),A=(y-z)/864e5/7+1;w.push(''+A+"")}v=this.getClassNames(p),v.push("day");var B=p.getUTCDate();this.o.beforeShowDay!==a.noop&&(e=this.o.beforeShowDay(this._utc_to_local(p)),e===b?e={}:"boolean"==typeof e?e={enabled:e}:"string"==typeof e&&(e={classes:e}),e.enabled===!1&&v.push("disabled"),e.classes&&(v=v.concat(e.classes.split(/\s+/))),e.tooltip&&(d=e.tooltip),e.content&&(B=e.content)),v=a.isFunction(a.uniqueSort)?a.uniqueSort(v):a.unique(v),w.push(''+B+""),d=null,u===this.o.weekEnd&&w.push(""),p.setUTCDate(p.getUTCDate()+1)}this.picker.find(".datepicker-days tbody").html(w.join(""));var C=q[this.o.language].monthsTitle||q.en.monthsTitle||"Months",D=this.picker.find(".datepicker-months").find(".datepicker-switch").text(this.o.maxViewMode<2?C:g).end().find("tbody span").removeClass("active");if(a.each(this.dates,function(a,b){b.getUTCFullYear()===g&&D.eq(b.getUTCMonth()).addClass("active")}),(gk)&&D.addClass("disabled"),g===i&&D.slice(0,j).addClass("disabled"),g===k&&D.slice(l+1).addClass("disabled"),this.o.beforeShowMonth!==a.noop){var E=this;a.each(D,function(c,d){var e=new Date(g,c,1),f=E.o.beforeShowMonth(e);f===b?f={}:"boolean"==typeof f?f={enabled:f}:"string"==typeof f&&(f={classes:f}),f.enabled!==!1||a(d).hasClass("disabled")||a(d).addClass("disabled"),f.classes&&a(d).addClass(f.classes),f.tooltip&&a(d).prop("title",f.tooltip)})}this._fill_yearsView(".datepicker-years","year",10,g,i,k,this.o.beforeShowYear),this._fill_yearsView(".datepicker-decades","decade",100,g,i,k,this.o.beforeShowDecade),this._fill_yearsView(".datepicker-centuries","century",1e3,g,i,k,this.o.beforeShowCentury)}},updateNavArrows:function(){if(this._allow_update){var a,b,c=new Date(this.viewDate),d=c.getUTCFullYear(),e=c.getUTCMonth(),f=this.o.startDate!==-(1/0)?this.o.startDate.getUTCFullYear():-(1/0),g=this.o.startDate!==-(1/0)?this.o.startDate.getUTCMonth():-(1/0),h=this.o.endDate!==1/0?this.o.endDate.getUTCFullYear():1/0,i=this.o.endDate!==1/0?this.o.endDate.getUTCMonth():1/0,j=1;switch(this.viewMode){case 4:j*=10;case 3:j*=10;case 2:j*=10;case 1:a=Math.floor(d/j)*jh;break;case 0:a=d<=f&&e=h&&e>i}this.picker.find(".prev").toggleClass("disabled",a),this.picker.find(".next").toggleClass("disabled",b)}},click:function(b){b.preventDefault(),b.stopPropagation();var e,f,g,h;e=a(b.target),e.hasClass("datepicker-switch")&&this.viewMode!==this.o.maxViewMode&&this.setViewMode(this.viewMode+1),e.hasClass("today")&&!e.hasClass("day")&&(this.setViewMode(0),this._setDate(d(),"linked"===this.o.todayBtn?null:"view")),e.hasClass("clear")&&this.clearDates(),e.hasClass("disabled")||(e.hasClass("month")||e.hasClass("year")||e.hasClass("decade")||e.hasClass("century"))&&(this.viewDate.setUTCDate(1),f=1,1===this.viewMode?(h=e.parent().find("span").index(e),g=this.viewDate.getUTCFullYear(),this.viewDate.setUTCMonth(h)):(h=0,g=Number(e.text()),this.viewDate.setUTCFullYear(g)),this._trigger(r.viewModes[this.viewMode-1].e,this.viewDate),this.viewMode===this.o.minViewMode?this._setDate(c(g,h,f)):(this.setViewMode(this.viewMode-1),this.fill())),this.picker.is(":visible")&&this._focused_from&&this._focused_from.focus(),delete this._focused_from},dayCellClick:function(b){var c=a(b.currentTarget),d=c.data("date"),e=new Date(d);this.o.updateViewDate&&(e.getUTCFullYear()!==this.viewDate.getUTCFullYear()&&this._trigger("changeYear",this.viewDate),e.getUTCMonth()!==this.viewDate.getUTCMonth()&&this._trigger("changeMonth",this.viewDate)),this._setDate(e)},navArrowsClick:function(b){var c=a(b.currentTarget),d=c.hasClass("prev")?-1:1;0!==this.viewMode&&(d*=12*r.viewModes[this.viewMode].navStep),this.viewDate=this.moveMonth(this.viewDate,d),this._trigger(r.viewModes[this.viewMode].e,this.viewDate),this.fill()},_toggle_multidate:function(a){var b=this.dates.contains(a);if(a||this.dates.clear(),b!==-1?(this.o.multidate===!0||this.o.multidate>1||this.o.toggleActive)&&this.dates.remove(b):this.o.multidate===!1?(this.dates.clear(),this.dates.push(a)):this.dates.push(a),"number"==typeof this.o.multidate)for(;this.dates.length>this.o.multidate;)this.dates.remove(0)},_setDate:function(a,b){b&&"date"!==b||this._toggle_multidate(a&&new Date(a)),(!b&&this.o.updateViewDate||"view"===b)&&(this.viewDate=a&&new Date(a)),this.fill(),this.setValue(),b&&"view"===b||this._trigger("changeDate"),this.inputField.trigger("change"),!this.o.autoclose||b&&"date"!==b||this.hide()},moveDay:function(a,b){var c=new Date(a);return c.setUTCDate(a.getUTCDate()+b),c},moveWeek:function(a,b){return this.moveDay(a,7*b)},moveMonth:function(a,b){if(!g(a))return this.o.defaultViewDate;if(!b)return a;var c,d,e=new Date(a.valueOf()),f=e.getUTCDate(),h=e.getUTCMonth(),i=Math.abs(b);if(b=b>0?1:-1,1===i)d=b===-1?function(){return e.getUTCMonth()===h}:function(){return e.getUTCMonth()!==c},c=h+b,e.setUTCMonth(c),c=(c+12)%12;else{for(var j=0;j0},dateWithinRange:function(a){return a>=this.o.startDate&&a<=this.o.endDate},keydown:function(a){if(!this.picker.is(":visible"))return void(40!==a.keyCode&&27!==a.keyCode||(this.show(),a.stopPropagation()));var b,c,d=!1,e=this.focusDate||this.viewDate;switch(a.keyCode){case 27:this.focusDate?(this.focusDate=null,this.viewDate=this.dates.get(-1)||this.viewDate,this.fill()):this.hide(),a.preventDefault(),a.stopPropagation();break;case 37:case 38:case 39:case 40:if(!this.o.keyboardNavigation||7===this.o.daysOfWeekDisabled.length)break;b=37===a.keyCode||38===a.keyCode?-1:1,0===this.viewMode?a.ctrlKey?(c=this.moveAvailableDate(e,b,"moveYear"),c&&this._trigger("changeYear",this.viewDate)):a.shiftKey?(c=this.moveAvailableDate(e,b,"moveMonth"),c&&this._trigger("changeMonth",this.viewDate)):37===a.keyCode||39===a.keyCode?c=this.moveAvailableDate(e,b,"moveDay"):this.weekOfDateIsDisabled(e)||(c=this.moveAvailableDate(e,b,"moveWeek")):1===this.viewMode?(38!==a.keyCode&&40!==a.keyCode||(b*=4),c=this.moveAvailableDate(e,b,"moveMonth")):2===this.viewMode&&(38!==a.keyCode&&40!==a.keyCode||(b*=4),c=this.moveAvailableDate(e,b,"moveYear")),c&&(this.focusDate=this.viewDate=c,this.setValue(),this.fill(),a.preventDefault());break;case 13:if(!this.o.forceParse)break;e=this.focusDate||this.dates.get(-1)||this.viewDate,this.o.keyboardNavigation&&(this._toggle_multidate(e),d=!0),this.focusDate=null,this.viewDate=this.dates.get(-1)||this.viewDate,this.setValue(),this.fill(),this.picker.is(":visible")&&(a.preventDefault(),a.stopPropagation(),this.o.autoclose&&this.hide());break;case 9:this.focusDate=null,this.viewDate=this.dates.get(-1)||this.viewDate,this.fill(),this.hide()}d&&(this.dates.length?this._trigger("changeDate"):this._trigger("clearDate"),this.inputField.trigger("change"))},setViewMode:function(a){this.viewMode=a,this.picker.children("div").hide().filter(".datepicker-"+r.viewModes[this.viewMode].clsName).show(),this.updateNavArrows(),this._trigger("changeViewMode",new Date(this.viewDate))}};var l=function(b,c){a.data(b,"datepicker",this),this.element=a(b),this.inputs=a.map(c.inputs,function(a){return a.jquery?a[0]:a}),delete c.inputs,this.keepEmptyValues=c.keepEmptyValues,delete c.keepEmptyValues,n.call(a(this.inputs),c).on("changeDate",a.proxy(this.dateUpdated,this)),this.pickers=a.map(this.inputs,function(b){return a.data(b,"datepicker")}),this.updateDates()};l.prototype={updateDates:function(){this.dates=a.map(this.pickers,function(a){return a.getUTCDate()}),this.updateRanges()},updateRanges:function(){var b=a.map(this.dates,function(a){return a.valueOf()});a.each(this.pickers,function(a,c){c.setRange(b)})},clearDates:function(){a.each(this.pickers,function(a,b){b.clearDates()})},dateUpdated:function(c){if(!this.updating){this.updating=!0;var d=a.data(c.target,"datepicker");if(d!==b){var e=d.getUTCDate(),f=this.keepEmptyValues,g=a.inArray(c.target,this.inputs),h=g-1,i=g+1,j=this.inputs.length;if(g!==-1){if(a.each(this.pickers,function(a,b){b.getUTCDate()||b!==d&&f||b.setUTCDate(e)}),e=0&&ethis.dates[i])for(;ithis.dates[i];)this.pickers[i++].setUTCDate(e);this.updateDates(),delete this.updating}}}},destroy:function(){a.map(this.pickers,function(a){a.destroy()}),a(this.inputs).off("changeDate",this.dateUpdated),delete this.element.data().datepicker},remove:f("destroy","Method `remove` is deprecated and will be removed in version 2.0. Use `destroy` instead")};var m=a.fn.datepicker,n=function(c){var d=Array.apply(null,arguments);d.shift();var e;if(this.each(function(){var b=a(this),f=b.data("datepicker"),g="object"==typeof c&&c;if(!f){var j=h(this,"date"),m=a.extend({},o,j,g),n=i(m.language),p=a.extend({},o,n,j,g);b.hasClass("input-daterange")||p.inputs?(a.extend(p,{inputs:p.inputs||b.find("input").toArray()}),f=new l(this,p)):f=new k(this,p),b.data("datepicker",f)}"string"==typeof c&&"function"==typeof f[c]&&(e=f[c].apply(f,d))}),e===b||e instanceof k||e instanceof l)return this;if(this.length>1)throw new Error("Using only allowed for the collection of a single element ("+c+" function)");return e};a.fn.datepicker=n;var o=a.fn.datepicker.defaults={assumeNearbyYear:!1,autoclose:!1,beforeShowDay:a.noop,beforeShowMonth:a.noop,beforeShowYear:a.noop,beforeShowDecade:a.noop,beforeShowCentury:a.noop,calendarWeeks:!1,clearBtn:!1,toggleActive:!1,daysOfWeekDisabled:[],daysOfWeekHighlighted:[],datesDisabled:[],endDate:1/0,forceParse:!0,format:"mm/dd/yyyy",keepEmptyValues:!1,keyboardNavigation:!0,language:"en",minViewMode:0,maxViewMode:4,multidate:!1,multidateSeparator:",",orientation:"auto",rtl:!1,startDate:-(1/0),startView:0,todayBtn:!1,todayHighlight:!1,updateViewDate:!0,weekStart:0,disableTouchKeyboard:!1,enableOnReadonly:!0,showOnFocus:!0,zIndexOffset:10,container:"body",immediateUpdates:!1,title:"",templates:{leftArrow:"«",rightArrow:"»"},showWeekDays:!0},p=a.fn.datepicker.locale_opts=["format","rtl","weekStart"];a.fn.datepicker.Constructor=k;var q=a.fn.datepicker.dates={en:{days:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],daysShort:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],daysMin:["Su","Mo","Tu","We","Th","Fr","Sa"],months:["January","February","March","April","May","June","July","August","September","October","November","December"],monthsShort:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],today:"Today",clear:"Clear",titleFormat:"MM yyyy"}},r={viewModes:[{names:["days","month"],clsName:"days",e:"changeMonth"},{names:["months","year"],clsName:"months",e:"changeYear",navStep:1},{names:["years","decade"],clsName:"years",e:"changeDecade",navStep:10},{names:["decades","century"],clsName:"decades",e:"changeCentury",navStep:100},{names:["centuries","millennium"],clsName:"centuries",e:"changeMillennium",navStep:1e3}],validParts:/dd?|DD?|mm?|MM?|yy(?:yy)?/g,nonpunctuation:/[^ -\/:-@\u5e74\u6708\u65e5\[-`{-~\t\n\r]+/g,parseFormat:function(a){if("function"==typeof a.toValue&&"function"==typeof a.toDisplay)return a;var b=a.replace(this.validParts,"\0").split("\0"),c=a.match(this.validParts);if(!b||!b.length||!c||0===c.length)throw new Error("Invalid date format.");return{separators:b,parts:c}},parseDate:function(c,e,f,g){function h(a,b){return b===!0&&(b=10),a<100&&(a+=2e3,a>(new Date).getFullYear()+b&&(a-=100)),a}function i(){var a=this.slice(0,j[n].length),b=j[n].slice(0,a.length);return a.toLowerCase()===b.toLowerCase()}if(!c)return b;if(c instanceof Date)return c;if("string"==typeof e&&(e=r.parseFormat(e)),e.toValue)return e.toValue(c,e,f);var j,l,m,n,o,p={d:"moveDay",m:"moveMonth",w:"moveWeek",y:"moveYear"},s={yesterday:"-1d",today:"+0d",tomorrow:"+1d"};if(c in s&&(c=s[c]),/^[\-+]\d+[dmwy]([\s,]+[\-+]\d+[dmwy])*$/i.test(c)){for(j=c.match(/([\-+]\d+)([dmwy])/gi),c=new Date,n=0;n'+o.templates.leftArrow+''+o.templates.rightArrow+"", +contTemplate:'',footTemplate:''};r.template='
'+r.headTemplate+""+r.footTemplate+'
'+r.headTemplate+r.contTemplate+r.footTemplate+'
'+r.headTemplate+r.contTemplate+r.footTemplate+'
'+r.headTemplate+r.contTemplate+r.footTemplate+'
'+r.headTemplate+r.contTemplate+r.footTemplate+"
",a.fn.datepicker.DPGlobal=r,a.fn.datepicker.noConflict=function(){return a.fn.datepicker=m,this},a.fn.datepicker.version="1.8.0",a.fn.datepicker.deprecated=function(a){var b=window.console;b&&b.warn&&b.warn("DEPRECATED: "+a)},a(document).on("focus.datepicker.data-api click.datepicker.data-api",'[data-provide="datepicker"]',function(b){var c=a(this);c.data("datepicker")||(b.preventDefault(),n.call(c,"show"))}),a(function(){n.call(a('[data-provide="datepicker-inline"]'))})}); \ No newline at end of file diff --git a/backend/components/datepicker/src/assets/js/datepicker-kv.js b/backend/components/datepicker/src/assets/js/datepicker-kv.js new file mode 100644 index 0000000..ec28240 --- /dev/null +++ b/backend/components/datepicker/src/assets/js/datepicker-kv.js @@ -0,0 +1,49 @@ +/*! + * @copyright Copyright © Kartik Visweswaran, Krajee.com, 2014 - 2021 + * @package yii2-widgets + * @subpackage yii2-widget-datepicker + * @version 1.4.8 + * + * Extension to bootstrap datepicker to use noconflict approach + * so that the plugin does not conflict with other jquery plugins + * of similar name + * + * Built for Yii Framework 2.0 + * Author: Kartik Visweswaran + * For more Yii related demos visit http://demos.krajee.com + */ +var initDPRemove = function () { +}, initDPAddon = function () { +}; +(function ($) { + "use strict"; + $.fn.kvDatepicker = $.fn.datepicker.noConflict(); + initDPRemove = function (id, range) { + var $id = $('#' + id), $el = $id.parent(), $input; + $el.find('.kv-date-remove').on('click.kvdatepicker', function () { + if (range) { + $el.find('input[type="text"]').each(function () { + $(this).kvDatepicker('clearDates').trigger('change'); + }); + } else { + $el.kvDatepicker('clearDates'); + $input = $el.is('input') ? $el : $el.find('input[type="text"]'); + $input.trigger('change'); + } + }); + }; + initDPAddon = function (id) { + var $id = $('#' + id), $el = $id.parent(), + pickers = '.input-group-addon:not(.kv-date-picker):not(.kv-date-remove)' + + ',.input-group-text:not(.kv-date-picker):not(.kv-date-remove)'; + $el.find(pickers).each(function () { + var $addon = $(this); + $addon.on('click.kvdatepicker', function () { + $el.kvDatepicker('hide'); + }); + }); + $el.find('.input-group-addon.kv-date-picker').on('click.kvdatepicker', function () { + $id.focus(); + }); + }; +})(window.jQuery); diff --git a/backend/components/datepicker/src/assets/js/datepicker-kv.min.js b/backend/components/datepicker/src/assets/js/datepicker-kv.min.js new file mode 100644 index 0000000..7476f6d --- /dev/null +++ b/backend/components/datepicker/src/assets/js/datepicker-kv.min.js @@ -0,0 +1,14 @@ +/*! + * @copyright Copyright © Kartik Visweswaran, Krajee.com, 2014 - 2021 + * @package yii2-widgets + * @subpackage yii2-widget-datepicker + * @version 1.4.8 + * + * Extension to bootstrap datepicker to use noconflict approach + * so that the plugin does not conflict with other jquery plugins + * of similar name + * + * Built for Yii Framework 2.0 + * Author: Kartik Visweswaran + * For more Yii related demos visit http://demos.krajee.com + */var initDPRemove=function(){},initDPAddon=function(){};!function(t){"use strict";t.fn.kvDatepicker=t.fn.datepicker.noConflict(),initDPRemove=function(e,n){var i,c=t("#"+e),o=c.parent();o.find(".kv-date-remove").on("click.kvdatepicker",function(){n?o.find('input[type="text"]').each(function(){t(this).kvDatepicker("clearDates").trigger("change")}):(o.kvDatepicker("clearDates"),i=o.is("input")?o:o.find('input[type="text"]'),i.trigger("change"))})},initDPAddon=function(e){var n=t("#"+e),i=n.parent(),c=".input-group-addon:not(.kv-date-picker):not(.kv-date-remove),.input-group-text:not(.kv-date-picker):not(.kv-date-remove)";i.find(c).each(function(){var e=t(this);e.on("click.kvdatepicker",function(){i.kvDatepicker("hide")})}),i.find(".input-group-addon.kv-date-picker").on("click.kvdatepicker",function(){n.focus()})}}(window.jQuery); \ No newline at end of file diff --git a/backend/components/datepicker/src/assets/js/locales/bootstrap-datepicker-en-CA.min.js b/backend/components/datepicker/src/assets/js/locales/bootstrap-datepicker-en-CA.min.js new file mode 100644 index 0000000..66424d4 --- /dev/null +++ b/backend/components/datepicker/src/assets/js/locales/bootstrap-datepicker-en-CA.min.js @@ -0,0 +1 @@ +!function(a){a.fn.kvDatepicker.dates["en-CA"]={days:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],daysShort:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],daysMin:["Su","Mo","Tu","We","Th","Fr","Sa"],months:["January","February","March","April","May","June","July","August","September","October","November","December"],monthsShort:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],today:"Today",monthsTitle:"Months",clear:"Clear",weekStart:0,format:"yyyy-mm-dd"}}(jQuery); \ No newline at end of file diff --git a/backend/components/datepicker/src/assets/js/locales/bootstrap-datepicker.ar-tn.min.js b/backend/components/datepicker/src/assets/js/locales/bootstrap-datepicker.ar-tn.min.js new file mode 100644 index 0000000..83cbe7d --- /dev/null +++ b/backend/components/datepicker/src/assets/js/locales/bootstrap-datepicker.ar-tn.min.js @@ -0,0 +1 @@ +!function(a){a.fn.kvDatepicker.dates["ar-tn"]={days:["الأحد","الاثنين","الثلاثاء","الأربعاء","الخميس","الجمعة","السبت","الأحد"],daysShort:["أحد","اثنين","ثلاثاء","أربعاء","خميس","جمعة","سبت","أحد"],daysMin:["ح","ن","ث","ع","خ","ج","س","ح"],months:["جانفي","فيفري","مارس","أفريل","ماي","جوان","جويليه","أوت","سبتمبر","أكتوبر","نوفمبر","ديسمبر"],monthsShort:["جانفي","فيفري","مارس","أفريل","ماي","جوان","جويليه","أوت","سبتمبر","أكتوبر","نوفمبر","ديسمبر"],today:"هذا اليوم",rtl:!0}}(jQuery); \ No newline at end of file diff --git a/backend/components/datepicker/src/assets/js/locales/bootstrap-datepicker.ar.min.js b/backend/components/datepicker/src/assets/js/locales/bootstrap-datepicker.ar.min.js new file mode 100644 index 0000000..6408496 --- /dev/null +++ b/backend/components/datepicker/src/assets/js/locales/bootstrap-datepicker.ar.min.js @@ -0,0 +1 @@ +!function(a){a.fn.kvDatepicker.dates.ar={days:["الأحد","الاثنين","الثلاثاء","الأربعاء","الخميس","الجمعة","السبت","الأحد"],daysShort:["أحد","اثنين","ثلاثاء","أربعاء","خميس","جمعة","سبت","أحد"],daysMin:["ح","ن","ث","ع","خ","ج","س","ح"],months:["يناير","فبراير","مارس","أبريل","مايو","يونيو","يوليو","أغسطس","سبتمبر","أكتوبر","نوفمبر","ديسمبر"],monthsShort:["يناير","فبراير","مارس","أبريل","مايو","يونيو","يوليو","أغسطس","سبتمبر","أكتوبر","نوفمبر","ديسمبر"],today:"هذا اليوم",rtl:!0}}(jQuery); \ No newline at end of file diff --git a/backend/components/datepicker/src/assets/js/locales/bootstrap-datepicker.az.min.js b/backend/components/datepicker/src/assets/js/locales/bootstrap-datepicker.az.min.js new file mode 100644 index 0000000..2ab3983 --- /dev/null +++ b/backend/components/datepicker/src/assets/js/locales/bootstrap-datepicker.az.min.js @@ -0,0 +1 @@ +!function(a){a.fn.kvDatepicker.dates.az={days:["Bazar","Bazar ertəsi","Çərşənbə axşamı","Çərşənbə","Cümə axşamı","Cümə","Şənbə"],daysShort:["B.","B.e","Ç.a","Ç.","C.a","C.","Ş."],daysMin:["B.","B.e","Ç.a","Ç.","C.a","C.","Ş."],months:["Yanvar","Fevral","Mart","Aprel","May","İyun","İyul","Avqust","Sentyabr","Oktyabr","Noyabr","Dekabr"],monthsShort:["Yan","Fev","Mar","Apr","May","İyun","İyul","Avq","Sen","Okt","Noy","Dek"],today:"Bu gün",weekStart:1}}(jQuery); \ No newline at end of file diff --git a/backend/components/datepicker/src/assets/js/locales/bootstrap-datepicker.bg.min.js b/backend/components/datepicker/src/assets/js/locales/bootstrap-datepicker.bg.min.js new file mode 100644 index 0000000..57da202 --- /dev/null +++ b/backend/components/datepicker/src/assets/js/locales/bootstrap-datepicker.bg.min.js @@ -0,0 +1 @@ +!function(a){a.fn.kvDatepicker.dates.bg={days:["Неделя","Понеделник","Вторник","Сряда","Четвъртък","Петък","Събота"],daysShort:["Нед","Пон","Вто","Сря","Чет","Пет","Съб"],daysMin:["Н","П","В","С","Ч","П","С"],months:["Януари","Февруари","Март","Април","Май","Юни","Юли","Август","Септември","Октомври","Ноември","Декември"],monthsShort:["Ян","Фев","Мар","Апр","Май","Юни","Юли","Авг","Сеп","Окт","Ное","Дек"],today:"днес"}}(jQuery); \ No newline at end of file diff --git a/backend/components/datepicker/src/assets/js/locales/bootstrap-datepicker.bn.min.js b/backend/components/datepicker/src/assets/js/locales/bootstrap-datepicker.bn.min.js new file mode 100644 index 0000000..e16066f --- /dev/null +++ b/backend/components/datepicker/src/assets/js/locales/bootstrap-datepicker.bn.min.js @@ -0,0 +1 @@ +!function(a){a.fn.kvDatepicker.dates.bn={days:["রবিবার","সোমবার","মঙ্গলবার","বুধবার","বৃহস্পতিবার","শুক্রবার","শনিবার"],daysShort:["রবিবার","সোমবার","মঙ্গলবার","বুধবার","বৃহস্পতিবার","শুক্রবার","শনিবার"],daysMin:["রবি","সোম","মঙ্গল","বুধ","বৃহস্পতি","শুক্র","শনি"],months:["জানুয়ারী","ফেব্রুয়ারি","মার্চ","এপ্রিল","মে","জুন","জুলাই","অগাস্ট","সেপ্টেম্বর","অক্টোবর","নভেম্বর","ডিসেম্বর"],monthsShort:["জানুয়ারী","ফেব্রুয়ারি","মার্চ","এপ্রিল","মে","জুন","জুলাই","অগাস্ট","সেপ্টেম্বর","অক্টোবর","নভেম্বর","ডিসেম্বর"],today:"আজ",monthsTitle:"মাস",clear:"পরিষ্কার",weekStart:0,format:"mm/dd/yyyy"}}(jQuery); \ No newline at end of file diff --git a/backend/components/datepicker/src/assets/js/locales/bootstrap-datepicker.br.min.js b/backend/components/datepicker/src/assets/js/locales/bootstrap-datepicker.br.min.js new file mode 100644 index 0000000..d0ec4c4 --- /dev/null +++ b/backend/components/datepicker/src/assets/js/locales/bootstrap-datepicker.br.min.js @@ -0,0 +1 @@ +!function(a){a.fn.kvDatepicker.dates.br={days:["Sul","Lun","Meurzh","Merc'her","Yaou","Gwener","Sadorn"],daysShort:["Sul","Lun","Meu.","Mer.","Yao.","Gwe.","Sad."],daysMin:["Su","L","Meu","Mer","Y","G","Sa"],months:["Genver","C'hwevrer","Meurzh","Ebrel","Mae","Mezheven","Gouere","Eost","Gwengolo","Here","Du","Kerzu"],monthsShort:["Genv.","C'hw.","Meur.","Ebre.","Mae","Mezh.","Goue.","Eost","Gwen.","Here","Du","Kerz."],today:"Hiziv",monthsTitle:"Miz",clear:"Dilemel",weekStart:1,format:"dd/mm/yyyy"}}(jQuery); \ No newline at end of file diff --git a/backend/components/datepicker/src/assets/js/locales/bootstrap-datepicker.bs.min.js b/backend/components/datepicker/src/assets/js/locales/bootstrap-datepicker.bs.min.js new file mode 100644 index 0000000..5622b81 --- /dev/null +++ b/backend/components/datepicker/src/assets/js/locales/bootstrap-datepicker.bs.min.js @@ -0,0 +1 @@ +!function(a){a.fn.kvDatepicker.dates.bs={days:["Nedjelja","Ponedjeljak","Utorak","Srijeda","Četvrtak","Petak","Subota"],daysShort:["Ned","Pon","Uto","Sri","Čet","Pet","Sub"],daysMin:["N","Po","U","Sr","Č","Pe","Su"],months:["Januar","Februar","Mart","April","Maj","Juni","Juli","August","Septembar","Oktobar","Novembar","Decembar"],monthsShort:["Jan","Feb","Mar","Apr","Maj","Jun","Jul","Aug","Sep","Okt","Nov","Dec"],today:"Danas",weekStart:1,format:"dd.mm.yyyy"}}(jQuery); \ No newline at end of file diff --git a/backend/components/datepicker/src/assets/js/locales/bootstrap-datepicker.ca.min.js b/backend/components/datepicker/src/assets/js/locales/bootstrap-datepicker.ca.min.js new file mode 100644 index 0000000..df482e2 --- /dev/null +++ b/backend/components/datepicker/src/assets/js/locales/bootstrap-datepicker.ca.min.js @@ -0,0 +1 @@ +!function(a){a.fn.kvDatepicker.dates.ca={days:["Diumenge","Dilluns","Dimarts","Dimecres","Dijous","Divendres","Dissabte"],daysShort:["Diu","Dil","Dmt","Dmc","Dij","Div","Dis"],daysMin:["dg","dl","dt","dc","dj","dv","ds"],months:["Gener","Febrer","Març","Abril","Maig","Juny","Juliol","Agost","Setembre","Octubre","Novembre","Desembre"],monthsShort:["Gen","Feb","Mar","Abr","Mai","Jun","Jul","Ago","Set","Oct","Nov","Des"],today:"Avui",monthsTitle:"Mesos",clear:"Esborrar",weekStart:1,format:"dd/mm/yyyy"}}(jQuery); \ No newline at end of file diff --git a/backend/components/datepicker/src/assets/js/locales/bootstrap-datepicker.cs.min.js b/backend/components/datepicker/src/assets/js/locales/bootstrap-datepicker.cs.min.js new file mode 100644 index 0000000..106d7bd --- /dev/null +++ b/backend/components/datepicker/src/assets/js/locales/bootstrap-datepicker.cs.min.js @@ -0,0 +1 @@ +!function(a){a.fn.kvDatepicker.dates.cs={days:["Neděle","Pondělí","Úterý","Středa","Čtvrtek","Pátek","Sobota"],daysShort:["Ned","Pon","Úte","Stř","Čtv","Pát","Sob"],daysMin:["Ne","Po","Út","St","Čt","Pá","So"],months:["Leden","Únor","Březen","Duben","Květen","Červen","Červenec","Srpen","Září","Říjen","Listopad","Prosinec"],monthsShort:["Led","Úno","Bře","Dub","Kvě","Čer","Čnc","Srp","Zář","Říj","Lis","Pro"],today:"Dnes",clear:"Vymazat",monthsTitle:"Měsíc",weekStart:1,format:"dd.m.yyyy"}}(jQuery); \ No newline at end of file diff --git a/backend/components/datepicker/src/assets/js/locales/bootstrap-datepicker.cy.min.js b/backend/components/datepicker/src/assets/js/locales/bootstrap-datepicker.cy.min.js new file mode 100644 index 0000000..526a278 --- /dev/null +++ b/backend/components/datepicker/src/assets/js/locales/bootstrap-datepicker.cy.min.js @@ -0,0 +1 @@ +!function(a){a.fn.kvDatepicker.dates.cy={days:["Sul","Llun","Mawrth","Mercher","Iau","Gwener","Sadwrn"],daysShort:["Sul","Llu","Maw","Mer","Iau","Gwe","Sad"],daysMin:["Su","Ll","Ma","Me","Ia","Gwe","Sa"],months:["Ionawr","Chewfror","Mawrth","Ebrill","Mai","Mehefin","Gorfennaf","Awst","Medi","Hydref","Tachwedd","Rhagfyr"],monthsShort:["Ion","Chw","Maw","Ebr","Mai","Meh","Gor","Aws","Med","Hyd","Tach","Rha"],today:"Heddiw"}}(jQuery); \ No newline at end of file diff --git a/backend/components/datepicker/src/assets/js/locales/bootstrap-datepicker.da.min.js b/backend/components/datepicker/src/assets/js/locales/bootstrap-datepicker.da.min.js new file mode 100644 index 0000000..5208fda --- /dev/null +++ b/backend/components/datepicker/src/assets/js/locales/bootstrap-datepicker.da.min.js @@ -0,0 +1 @@ +!function(a){a.fn.kvDatepicker.dates.da={days:["Søndag","Mandag","Tirsdag","Onsdag","Torsdag","Fredag","Lørdag"],daysShort:["Søn","Man","Tir","Ons","Tor","Fre","Lør"],daysMin:["Sø","Ma","Ti","On","To","Fr","Lø"],months:["Januar","Februar","Marts","April","Maj","Juni","Juli","August","September","Oktober","November","December"],monthsShort:["Jan","Feb","Mar","Apr","Maj","Jun","Jul","Aug","Sep","Okt","Nov","Dec"],today:"I Dag",weekStart:1,clear:"Nulstil",format:"dd/mm/yyyy"}}(jQuery); \ No newline at end of file diff --git a/backend/components/datepicker/src/assets/js/locales/bootstrap-datepicker.de.min.js b/backend/components/datepicker/src/assets/js/locales/bootstrap-datepicker.de.min.js new file mode 100644 index 0000000..35db7cc --- /dev/null +++ b/backend/components/datepicker/src/assets/js/locales/bootstrap-datepicker.de.min.js @@ -0,0 +1 @@ +!function(a){a.fn.kvDatepicker.dates.de={days:["Sonntag","Montag","Dienstag","Mittwoch","Donnerstag","Freitag","Samstag"],daysShort:["Son","Mon","Die","Mit","Don","Fre","Sam"],daysMin:["So","Mo","Di","Mi","Do","Fr","Sa"],months:["Januar","Februar","März","April","Mai","Juni","Juli","August","September","Oktober","November","Dezember"],monthsShort:["Jan","Feb","Mär","Apr","Mai","Jun","Jul","Aug","Sep","Okt","Nov","Dez"],today:"Heute",monthsTitle:"Monate",clear:"Löschen",weekStart:1,format:"dd.mm.yyyy"}}(jQuery); \ No newline at end of file diff --git a/backend/components/datepicker/src/assets/js/locales/bootstrap-datepicker.el.min.js b/backend/components/datepicker/src/assets/js/locales/bootstrap-datepicker.el.min.js new file mode 100644 index 0000000..d6596c5 --- /dev/null +++ b/backend/components/datepicker/src/assets/js/locales/bootstrap-datepicker.el.min.js @@ -0,0 +1 @@ +!function(a){a.fn.kvDatepicker.dates.el={days:["Κυριακή","Δευτέρα","Τρίτη","Τετάρτη","Πέμπτη","Παρασκευή","Σάββατο"],daysShort:["Κυρ","Δευ","Τρι","Τετ","Πεμ","Παρ","Σαβ"],daysMin:["Κυ","Δε","Τρ","Τε","Πε","Πα","Σα"],months:["Ιανουάριος","Φεβρουάριος","Μάρτιος","Απρίλιος","Μάιος","Ιούνιος","Ιούλιος","Αύγουστος","Σεπτέμβριος","Οκτώβριος","Νοέμβριος","Δεκέμβριος"],monthsShort:["Ιαν","Φεβ","Μαρ","Απρ","Μάι","Ιουν","Ιουλ","Αυγ","Σεπ","Οκτ","Νοε","Δεκ"],today:"Σήμερα",monthsTitle:"Μήνες",clear:"Καθαρισμός",weekStart:1,format:"d/m/yyyy"}}(jQuery); \ No newline at end of file diff --git a/backend/components/datepicker/src/assets/js/locales/bootstrap-datepicker.en-AU.min.js b/backend/components/datepicker/src/assets/js/locales/bootstrap-datepicker.en-AU.min.js new file mode 100644 index 0000000..a318980 --- /dev/null +++ b/backend/components/datepicker/src/assets/js/locales/bootstrap-datepicker.en-AU.min.js @@ -0,0 +1 @@ +!function(a){a.fn.kvDatepicker.dates["en-AU"]={days:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],daysShort:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],daysMin:["Su","Mo","Tu","We","Th","Fr","Sa"],months:["January","February","March","April","May","June","July","August","September","October","November","December"],monthsShort:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],today:"Today",monthsTitle:"Months",clear:"Clear",weekStart:1,format:"d/mm/yyyy"}}(jQuery); \ No newline at end of file diff --git a/backend/components/datepicker/src/assets/js/locales/bootstrap-datepicker.en-GB.min.js b/backend/components/datepicker/src/assets/js/locales/bootstrap-datepicker.en-GB.min.js new file mode 100644 index 0000000..854ee0e --- /dev/null +++ b/backend/components/datepicker/src/assets/js/locales/bootstrap-datepicker.en-GB.min.js @@ -0,0 +1 @@ +!function(a){a.fn.kvDatepicker.dates["en-GB"]={days:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],daysShort:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],daysMin:["Su","Mo","Tu","We","Th","Fr","Sa"],months:["January","February","March","April","May","June","July","August","September","October","November","December"],monthsShort:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],today:"Today",monthsTitle:"Months",clear:"Clear",weekStart:1,format:"dd/mm/yyyy"}}(jQuery); \ No newline at end of file diff --git a/backend/components/datepicker/src/assets/js/locales/bootstrap-datepicker.en-IE.min.js b/backend/components/datepicker/src/assets/js/locales/bootstrap-datepicker.en-IE.min.js new file mode 100644 index 0000000..87f1954 --- /dev/null +++ b/backend/components/datepicker/src/assets/js/locales/bootstrap-datepicker.en-IE.min.js @@ -0,0 +1 @@ +!function(a){a.fn.kvDatepicker.dates["en-IE"]={days:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],daysShort:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],daysMin:["Su","Mo","Tu","We","Th","Fr","Sa"],months:["January","February","March","April","May","June","July","August","September","October","November","December"],monthsShort:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],today:"Today",monthsTitle:"Months",clear:"Clear",weekStart:1,format:"dd/mm/yyyy"}}(jQuery); \ No newline at end of file diff --git a/backend/components/datepicker/src/assets/js/locales/bootstrap-datepicker.en-NZ.min.js b/backend/components/datepicker/src/assets/js/locales/bootstrap-datepicker.en-NZ.min.js new file mode 100644 index 0000000..ea8d94f --- /dev/null +++ b/backend/components/datepicker/src/assets/js/locales/bootstrap-datepicker.en-NZ.min.js @@ -0,0 +1 @@ +!function(a){a.fn.kvDatepicker.dates["en-NZ"]={days:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],daysShort:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],daysMin:["Su","Mo","Tu","We","Th","Fr","Sa"],months:["January","February","March","April","May","June","July","August","September","October","November","December"],monthsShort:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],today:"Today",monthsTitle:"Months",clear:"Clear",weekStart:1,format:"d/mm/yyyy"}}(jQuery); \ No newline at end of file diff --git a/backend/components/datepicker/src/assets/js/locales/bootstrap-datepicker.en-ZA.min.js b/backend/components/datepicker/src/assets/js/locales/bootstrap-datepicker.en-ZA.min.js new file mode 100644 index 0000000..fcbab02 --- /dev/null +++ b/backend/components/datepicker/src/assets/js/locales/bootstrap-datepicker.en-ZA.min.js @@ -0,0 +1 @@ +!function(a){a.fn.kvDatepicker.dates["en-ZA"]={days:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],daysShort:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],daysMin:["Su","Mo","Tu","We","Th","Fr","Sa"],months:["January","February","March","April","May","June","July","August","September","October","November","December"],monthsShort:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],today:"Today",monthsTitle:"Months",clear:"Clear",weekStart:1,format:"yyyy/mm/d"}}(jQuery); \ No newline at end of file diff --git a/backend/components/datepicker/src/assets/js/locales/bootstrap-datepicker.eo.min.js b/backend/components/datepicker/src/assets/js/locales/bootstrap-datepicker.eo.min.js new file mode 100644 index 0000000..9a125af --- /dev/null +++ b/backend/components/datepicker/src/assets/js/locales/bootstrap-datepicker.eo.min.js @@ -0,0 +1 @@ +!function(a){a.fn.kvDatepicker.dates.eo={days:["dimanĉo","lundo","mardo","merkredo","ĵaŭdo","vendredo","sabato"],daysShort:["dim.","lun.","mar.","mer.","ĵaŭ.","ven.","sam."],daysMin:["d","l","ma","me","ĵ","v","s"],months:["januaro","februaro","marto","aprilo","majo","junio","julio","aŭgusto","septembro","oktobro","novembro","decembro"],monthsShort:["jan.","feb.","mar.","apr.","majo","jun.","jul.","aŭg.","sep.","okt.","nov.","dec."],today:"Hodiaŭ",clear:"Nuligi",weekStart:1,format:"yyyy-mm-dd"}}(jQuery); \ No newline at end of file diff --git a/backend/components/datepicker/src/assets/js/locales/bootstrap-datepicker.es.min.js b/backend/components/datepicker/src/assets/js/locales/bootstrap-datepicker.es.min.js new file mode 100644 index 0000000..c871b4d --- /dev/null +++ b/backend/components/datepicker/src/assets/js/locales/bootstrap-datepicker.es.min.js @@ -0,0 +1 @@ +!function(a){a.fn.kvDatepicker.dates.es={days:["Domingo","Lunes","Martes","Miércoles","Jueves","Viernes","Sábado"],daysShort:["Dom","Lun","Mar","Mié","Jue","Vie","Sáb"],daysMin:["Do","Lu","Ma","Mi","Ju","Vi","Sa"],months:["Enero","Febrero","Marzo","Abril","Mayo","Junio","Julio","Agosto","Septiembre","Octubre","Noviembre","Diciembre"],monthsShort:["Ene","Feb","Mar","Abr","May","Jun","Jul","Ago","Sep","Oct","Nov","Dic"],today:"Hoy",monthsTitle:"Meses",clear:"Borrar",weekStart:1,format:"dd/mm/yyyy"}}(jQuery); \ No newline at end of file diff --git a/backend/components/datepicker/src/assets/js/locales/bootstrap-datepicker.et.min.js b/backend/components/datepicker/src/assets/js/locales/bootstrap-datepicker.et.min.js new file mode 100644 index 0000000..4f137ac --- /dev/null +++ b/backend/components/datepicker/src/assets/js/locales/bootstrap-datepicker.et.min.js @@ -0,0 +1 @@ +!function(a){a.fn.kvDatepicker.dates.et={days:["Pühapäev","Esmaspäev","Teisipäev","Kolmapäev","Neljapäev","Reede","Laupäev"],daysShort:["Pühap","Esmasp","Teisip","Kolmap","Neljap","Reede","Laup"],daysMin:["P","E","T","K","N","R","L"],months:["Jaanuar","Veebruar","Märts","Aprill","Mai","Juuni","Juuli","August","September","Oktoober","November","Detsember"],monthsShort:["Jaan","Veebr","Märts","Apr","Mai","Juuni","Juuli","Aug","Sept","Okt","Nov","Dets"],today:"Täna",clear:"Tühjenda",weekStart:1,format:"dd.mm.yyyy"}}(jQuery); \ No newline at end of file diff --git a/backend/components/datepicker/src/assets/js/locales/bootstrap-datepicker.eu.min.js b/backend/components/datepicker/src/assets/js/locales/bootstrap-datepicker.eu.min.js new file mode 100644 index 0000000..a5a888a --- /dev/null +++ b/backend/components/datepicker/src/assets/js/locales/bootstrap-datepicker.eu.min.js @@ -0,0 +1 @@ +!function(a){a.fn.kvDatepicker.dates.eu={days:["Igandea","Astelehena","Asteartea","Asteazkena","Osteguna","Ostirala","Larunbata"],daysShort:["Ig","Al","Ar","Az","Og","Ol","Lr"],daysMin:["Ig","Al","Ar","Az","Og","Ol","Lr"],months:["Urtarrila","Otsaila","Martxoa","Apirila","Maiatza","Ekaina","Uztaila","Abuztua","Iraila","Urria","Azaroa","Abendua"],monthsShort:["Urt","Ots","Mar","Api","Mai","Eka","Uzt","Abu","Ira","Urr","Aza","Abe"],today:"Gaur",monthsTitle:"Hilabeteak",clear:"Ezabatu",weekStart:1,format:"yyyy/mm/dd"}}(jQuery); \ No newline at end of file diff --git a/backend/components/datepicker/src/assets/js/locales/bootstrap-datepicker.fa.min.js b/backend/components/datepicker/src/assets/js/locales/bootstrap-datepicker.fa.min.js new file mode 100644 index 0000000..8c3a435 --- /dev/null +++ b/backend/components/datepicker/src/assets/js/locales/bootstrap-datepicker.fa.min.js @@ -0,0 +1 @@ +!function(a){a.fn.kvDatepicker.dates.fa={days:["یک‌شنبه","دوشنبه","سه‌شنبه","چهارشنبه","پنج‌شنبه","جمعه","شنبه","یک‌شنبه"],daysShort:["یک","دو","سه","چهار","پنج","جمعه","شنبه","یک"],daysMin:["ی","د","س","چ","پ","ج","ش","ی"],months:["ژانویه","فوریه","مارس","آوریل","مه","ژوئن","ژوئیه","اوت","سپتامبر","اکتبر","نوامبر","دسامبر"],monthsShort:["ژان","فور","مار","آور","مه","ژون","ژوی","اوت","سپت","اکت","نوا","دسا"],today:"امروز",clear:"پاک کن",weekStart:1,format:"yyyy/mm/dd"}}(jQuery); \ No newline at end of file diff --git a/backend/components/datepicker/src/assets/js/locales/bootstrap-datepicker.fi.min.js b/backend/components/datepicker/src/assets/js/locales/bootstrap-datepicker.fi.min.js new file mode 100644 index 0000000..ea5df38 --- /dev/null +++ b/backend/components/datepicker/src/assets/js/locales/bootstrap-datepicker.fi.min.js @@ -0,0 +1 @@ +!function(a){a.fn.kvDatepicker.dates.fi={days:["sunnuntai","maanantai","tiistai","keskiviikko","torstai","perjantai","lauantai"],daysShort:["sun","maa","tii","kes","tor","per","lau"],daysMin:["su","ma","ti","ke","to","pe","la"],months:["tammikuu","helmikuu","maaliskuu","huhtikuu","toukokuu","kesäkuu","heinäkuu","elokuu","syyskuu","lokakuu","marraskuu","joulukuu"],monthsShort:["tam","hel","maa","huh","tou","kes","hei","elo","syy","lok","mar","jou"],today:"tänään",clear:"Tyhjennä",weekStart:1,format:"d.m.yyyy"}}(jQuery); \ No newline at end of file diff --git a/backend/components/datepicker/src/assets/js/locales/bootstrap-datepicker.fo.min.js b/backend/components/datepicker/src/assets/js/locales/bootstrap-datepicker.fo.min.js new file mode 100644 index 0000000..5dbe9e2 --- /dev/null +++ b/backend/components/datepicker/src/assets/js/locales/bootstrap-datepicker.fo.min.js @@ -0,0 +1 @@ +!function(a){a.fn.kvDatepicker.dates.fo={days:["Sunnudagur","Mánadagur","Týsdagur","Mikudagur","Hósdagur","Fríggjadagur","Leygardagur"],daysShort:["Sun","Mán","Týs","Mik","Hós","Frí","Ley"],daysMin:["Su","Má","Tý","Mi","Hó","Fr","Le"],months:["Januar","Februar","Marts","Apríl","Mei","Juni","Juli","August","Septembur","Oktobur","Novembur","Desembur"],monthsShort:["Jan","Feb","Mar","Apr","Mei","Jun","Jul","Aug","Sep","Okt","Nov","Des"],today:"Í Dag",clear:"Reinsa"}}(jQuery); \ No newline at end of file diff --git a/backend/components/datepicker/src/assets/js/locales/bootstrap-datepicker.fr-CH.min.js b/backend/components/datepicker/src/assets/js/locales/bootstrap-datepicker.fr-CH.min.js new file mode 100644 index 0000000..b8adb4c --- /dev/null +++ b/backend/components/datepicker/src/assets/js/locales/bootstrap-datepicker.fr-CH.min.js @@ -0,0 +1 @@ +!function(a){a.fn.kvDatepicker.dates.fr={days:["Dimanche","Lundi","Mardi","Mercredi","Jeudi","Vendredi","Samedi"],daysShort:["Dim","Lun","Mar","Mer","Jeu","Ven","Sam"],daysMin:["D","L","Ma","Me","J","V","S"],months:["Janvier","Février","Mars","Avril","Mai","Juin","Juillet","Août","Septembre","Octobre","Novembre","Décembre"],monthsShort:["Jan","Fév","Mar","Avr","Mai","Jui","Jul","Aou","Sep","Oct","Nov","Déc"],today:"Aujourd'hui",monthsTitle:"Mois",clear:"Effacer",weekStart:1,format:"dd.mm.yyyy"}}(jQuery); \ No newline at end of file diff --git a/backend/components/datepicker/src/assets/js/locales/bootstrap-datepicker.fr.min.js b/backend/components/datepicker/src/assets/js/locales/bootstrap-datepicker.fr.min.js new file mode 100644 index 0000000..4a6b248 --- /dev/null +++ b/backend/components/datepicker/src/assets/js/locales/bootstrap-datepicker.fr.min.js @@ -0,0 +1 @@ +!function(a){a.fn.kvDatepicker.dates.fr={days:["dimanche","lundi","mardi","mercredi","jeudi","vendredi","samedi"],daysShort:["dim.","lun.","mar.","mer.","jeu.","ven.","sam."],daysMin:["d","l","ma","me","j","v","s"],months:["janvier","février","mars","avril","mai","juin","juillet","août","septembre","octobre","novembre","décembre"],monthsShort:["janv.","févr.","mars","avril","mai","juin","juil.","août","sept.","oct.","nov.","déc."],today:"Aujourd'hui",monthsTitle:"Mois",clear:"Effacer",weekStart:1,format:"dd/mm/yyyy"}}(jQuery); \ No newline at end of file diff --git a/backend/components/datepicker/src/assets/js/locales/bootstrap-datepicker.gl.min.js b/backend/components/datepicker/src/assets/js/locales/bootstrap-datepicker.gl.min.js new file mode 100644 index 0000000..bc1a0cc --- /dev/null +++ b/backend/components/datepicker/src/assets/js/locales/bootstrap-datepicker.gl.min.js @@ -0,0 +1 @@ +!function(a){a.fn.kvDatepicker.dates.gl={days:["Domingo","Luns","Martes","Mércores","Xoves","Venres","Sábado"],daysShort:["Dom","Lun","Mar","Mér","Xov","Ven","Sáb"],daysMin:["Do","Lu","Ma","Me","Xo","Ve","Sa"],months:["Xaneiro","Febreiro","Marzo","Abril","Maio","Xuño","Xullo","Agosto","Setembro","Outubro","Novembro","Decembro"],monthsShort:["Xan","Feb","Mar","Abr","Mai","Xun","Xul","Ago","Sep","Out","Nov","Dec"],today:"Hoxe",clear:"Limpar",weekStart:1,format:"dd/mm/yyyy"}}(jQuery); \ No newline at end of file diff --git a/backend/components/datepicker/src/assets/js/locales/bootstrap-datepicker.he.min.js b/backend/components/datepicker/src/assets/js/locales/bootstrap-datepicker.he.min.js new file mode 100644 index 0000000..b597526 --- /dev/null +++ b/backend/components/datepicker/src/assets/js/locales/bootstrap-datepicker.he.min.js @@ -0,0 +1 @@ +!function(a){a.fn.kvDatepicker.dates.he={days:["ראשון","שני","שלישי","רביעי","חמישי","שישי","שבת","ראשון"],daysShort:["א","ב","ג","ד","ה","ו","ש","א"],daysMin:["א","ב","ג","ד","ה","ו","ש","א"],months:["ינואר","פברואר","מרץ","אפריל","מאי","יוני","יולי","אוגוסט","ספטמבר","אוקטובר","נובמבר","דצמבר"],monthsShort:["ינו","פבר","מרץ","אפר","מאי","יונ","יול","אוג","ספט","אוק","נוב","דצמ"],today:"היום",rtl:!0}}(jQuery); \ No newline at end of file diff --git a/backend/components/datepicker/src/assets/js/locales/bootstrap-datepicker.hi.min.js b/backend/components/datepicker/src/assets/js/locales/bootstrap-datepicker.hi.min.js new file mode 100644 index 0000000..2f6fb6f --- /dev/null +++ b/backend/components/datepicker/src/assets/js/locales/bootstrap-datepicker.hi.min.js @@ -0,0 +1 @@ +!function(a){a.fn.kvDatepicker.dates.hi={days:["रविवार","सोमवार","मंगलवार","बुधवार","गुरुवार","शुक्रवार","शनिवार"],daysShort:["सूर्य","सोम","मंगल","बुध","गुरु","शुक्र","शनि"],daysMin:["र","सो","मं","बु","गु","शु","श"],months:["जनवरी","फ़रवरी","मार्च","अप्रैल","मई","जून","जुलाई","अगस्त","सितम्बर","अक्टूबर","नवंबर","दिसम्बर"],monthsShort:["जन","फ़रवरी","मार्च","अप्रैल","मई","जून","जुलाई","अगस्त","सितं","अक्टूबर","नवं","दिसम्बर"],today:"आज",monthsTitle:"महीने",clear:"साफ",weekStart:1,format:"dd / mm / yyyy"}}(jQuery); \ No newline at end of file diff --git a/backend/components/datepicker/src/assets/js/locales/bootstrap-datepicker.hr.min.js b/backend/components/datepicker/src/assets/js/locales/bootstrap-datepicker.hr.min.js new file mode 100644 index 0000000..c45f15b --- /dev/null +++ b/backend/components/datepicker/src/assets/js/locales/bootstrap-datepicker.hr.min.js @@ -0,0 +1 @@ +!function(a){a.fn.kvDatepicker.dates.hr={days:["Nedjelja","Ponedjeljak","Utorak","Srijeda","Četvrtak","Petak","Subota"],daysShort:["Ned","Pon","Uto","Sri","Čet","Pet","Sub"],daysMin:["Ne","Po","Ut","Sr","Če","Pe","Su"],months:["Siječanj","Veljača","Ožujak","Travanj","Svibanj","Lipanj","Srpanj","Kolovoz","Rujan","Listopad","Studeni","Prosinac"],monthsShort:["Sij","Velj","Ožu","Tra","Svi","Lip","Srp","Kol","Ruj","Lis","Stu","Pro"],today:"Danas"}}(jQuery); \ No newline at end of file diff --git a/backend/components/datepicker/src/assets/js/locales/bootstrap-datepicker.hu.min.js b/backend/components/datepicker/src/assets/js/locales/bootstrap-datepicker.hu.min.js new file mode 100644 index 0000000..469e9ab --- /dev/null +++ b/backend/components/datepicker/src/assets/js/locales/bootstrap-datepicker.hu.min.js @@ -0,0 +1 @@ +!function(a){a.fn.kvDatepicker.dates.hu={days:["vasárnap","hétfő","kedd","szerda","csütörtök","péntek","szombat"],daysShort:["vas","hét","ked","sze","csü","pén","szo"],daysMin:["V","H","K","Sze","Cs","P","Szo"],months:["január","február","március","április","május","június","július","augusztus","szeptember","október","november","december"],monthsShort:["jan","feb","már","ápr","máj","jún","júl","aug","sze","okt","nov","dec"],today:"ma",weekStart:1,clear:"töröl",titleFormat:"yyyy. MM",format:"yyyy.mm.dd"}}(jQuery); \ No newline at end of file diff --git a/backend/components/datepicker/src/assets/js/locales/bootstrap-datepicker.hy.min.js b/backend/components/datepicker/src/assets/js/locales/bootstrap-datepicker.hy.min.js new file mode 100644 index 0000000..deb0086 --- /dev/null +++ b/backend/components/datepicker/src/assets/js/locales/bootstrap-datepicker.hy.min.js @@ -0,0 +1 @@ +!function(a){a.fn.kvDatepicker.dates.hy={days:["Կիրակի","Երկուշաբթի","Երեքշաբթի","Չորեքշաբթի","Հինգշաբթի","Ուրբաթ","Շաբաթ"],daysShort:["Կիր","Երկ","Երե","Չոր","Հին","Ուրբ","Շաբ"],daysMin:["Կի","Եկ","Եք","Չո","Հի","Ու","Շա"],months:["Հունվար","Փետրվար","Մարտ","Ապրիլ","Մայիս","Հունիս","Հուլիս","Օգոստոս","Սեպտեմբեր","Հոկտեմբեր","Նոյեմբեր","Դեկտեմբեր"],monthsShort:["Հնվ","Փետ","Մար","Ապր","Մայ","Հուն","Հուլ","Օգս","Սեպ","Հոկ","Նոյ","Դեկ"],today:"Այսօր",clear:"Ջնջել",format:"dd.mm.yyyy",weekStart:1,monthsTitle:"Ամիսնէր"}}(jQuery); \ No newline at end of file diff --git a/backend/components/datepicker/src/assets/js/locales/bootstrap-datepicker.id.min.js b/backend/components/datepicker/src/assets/js/locales/bootstrap-datepicker.id.min.js new file mode 100644 index 0000000..f848a85 --- /dev/null +++ b/backend/components/datepicker/src/assets/js/locales/bootstrap-datepicker.id.min.js @@ -0,0 +1 @@ +!function(a){a.fn.kvDatepicker.dates.id={days:["Minggu","Senin","Selasa","Rabu","Kamis","Jumat","Sabtu"],daysShort:["Mgu","Sen","Sel","Rab","Kam","Jum","Sab"],daysMin:["Mg","Sn","Sl","Ra","Ka","Ju","Sa"],months:["Januari","Februari","Maret","April","Mei","Juni","Juli","Agustus","September","Oktober","November","Desember"],monthsShort:["Jan","Feb","Mar","Apr","Mei","Jun","Jul","Ags","Sep","Okt","Nov","Des"],today:"Hari Ini",clear:"Kosongkan"}}(jQuery); \ No newline at end of file diff --git a/backend/components/datepicker/src/assets/js/locales/bootstrap-datepicker.is.min.js b/backend/components/datepicker/src/assets/js/locales/bootstrap-datepicker.is.min.js new file mode 100644 index 0000000..9244df5 --- /dev/null +++ b/backend/components/datepicker/src/assets/js/locales/bootstrap-datepicker.is.min.js @@ -0,0 +1 @@ +!function(a){a.fn.kvDatepicker.dates.is={days:["Sunnudagur","Mánudagur","Þriðjudagur","Miðvikudagur","Fimmtudagur","Föstudagur","Laugardagur"],daysShort:["Sun","Mán","Þri","Mið","Fim","Fös","Lau"],daysMin:["Su","Má","Þr","Mi","Fi","Fö","La"],months:["Janúar","Febrúar","Mars","Apríl","Maí","Júní","Júlí","Ágúst","September","Október","Nóvember","Desember"],monthsShort:["Jan","Feb","Mar","Apr","Maí","Jún","Júl","Ágú","Sep","Okt","Nóv","Des"],today:"Í Dag"}}(jQuery); \ No newline at end of file diff --git a/backend/components/datepicker/src/assets/js/locales/bootstrap-datepicker.it-CH.min.js b/backend/components/datepicker/src/assets/js/locales/bootstrap-datepicker.it-CH.min.js new file mode 100644 index 0000000..45f3e84 --- /dev/null +++ b/backend/components/datepicker/src/assets/js/locales/bootstrap-datepicker.it-CH.min.js @@ -0,0 +1 @@ +!function(a){a.fn.kvDatepicker.dates.it={days:["Domenica","Lunedì","Martedì","Mercoledì","Giovedì","Venerdì","Sabato"],daysShort:["Dom","Lun","Mar","Mer","Gio","Ven","Sab"],daysMin:["Do","Lu","Ma","Me","Gi","Ve","Sa"],months:["Gennaio","Febbraio","Marzo","Aprile","Maggio","Giugno","Luglio","Agosto","Settembre","Ottobre","Novembre","Dicembre"],monthsShort:["Gen","Feb","Mar","Apr","Mag","Giu","Lug","Ago","Set","Ott","Nov","Dic"],today:"Oggi",clear:"Cancella",weekStart:1,format:"dd.mm.yyyy"}}(jQuery); \ No newline at end of file diff --git a/backend/components/datepicker/src/assets/js/locales/bootstrap-datepicker.it.min.js b/backend/components/datepicker/src/assets/js/locales/bootstrap-datepicker.it.min.js new file mode 100644 index 0000000..21145fe --- /dev/null +++ b/backend/components/datepicker/src/assets/js/locales/bootstrap-datepicker.it.min.js @@ -0,0 +1 @@ +!function(a){a.fn.kvDatepicker.dates.it={days:["Domenica","Lunedì","Martedì","Mercoledì","Giovedì","Venerdì","Sabato"],daysShort:["Dom","Lun","Mar","Mer","Gio","Ven","Sab"],daysMin:["Do","Lu","Ma","Me","Gi","Ve","Sa"],months:["Gennaio","Febbraio","Marzo","Aprile","Maggio","Giugno","Luglio","Agosto","Settembre","Ottobre","Novembre","Dicembre"],monthsShort:["Gen","Feb","Mar","Apr","Mag","Giu","Lug","Ago","Set","Ott","Nov","Dic"],today:"Oggi",monthsTitle:"Mesi",clear:"Cancella",weekStart:1,format:"dd/mm/yyyy"}}(jQuery); \ No newline at end of file diff --git a/backend/components/datepicker/src/assets/js/locales/bootstrap-datepicker.ja.min.js b/backend/components/datepicker/src/assets/js/locales/bootstrap-datepicker.ja.min.js new file mode 100644 index 0000000..0498589 --- /dev/null +++ b/backend/components/datepicker/src/assets/js/locales/bootstrap-datepicker.ja.min.js @@ -0,0 +1 @@ +!function(a){a.fn.kvDatepicker.dates.ja={days:["日曜","月曜","火曜","水曜","木曜","金曜","土曜"],daysShort:["日","月","火","水","木","金","土"],daysMin:["日","月","火","水","木","金","土"],months:["1月","2月","3月","4月","5月","6月","7月","8月","9月","10月","11月","12月"],monthsShort:["1月","2月","3月","4月","5月","6月","7月","8月","9月","10月","11月","12月"],today:"今日",format:"yyyy/mm/dd",titleFormat:"yyyy年mm月",clear:"クリア"}}(jQuery); \ No newline at end of file diff --git a/backend/components/datepicker/src/assets/js/locales/bootstrap-datepicker.ka.min.js b/backend/components/datepicker/src/assets/js/locales/bootstrap-datepicker.ka.min.js new file mode 100644 index 0000000..eef5664 --- /dev/null +++ b/backend/components/datepicker/src/assets/js/locales/bootstrap-datepicker.ka.min.js @@ -0,0 +1 @@ +!function(a){a.fn.kvDatepicker.dates.ka={days:["კვირა","ორშაბათი","სამშაბათი","ოთხშაბათი","ხუთშაბათი","პარასკევი","შაბათი"],daysShort:["კვი","ორშ","სამ","ოთხ","ხუთ","პარ","შაბ"],daysMin:["კვ","ორ","სა","ოთ","ხუ","პა","შა"],months:["იანვარი","თებერვალი","მარტი","აპრილი","მაისი","ივნისი","ივლისი","აგვისტო","სექტემბერი","ოქტომბერი","ნოემბერი","დეკემბერი"],monthsShort:["იან","თებ","მარ","აპრ","მაი","ივნ","ივლ","აგვ","სექ","ოქტ","ნოე","დეკ"],today:"დღეს",clear:"გასუფთავება",weekStart:1,format:"dd.mm.yyyy"}}(jQuery); \ No newline at end of file diff --git a/backend/components/datepicker/src/assets/js/locales/bootstrap-datepicker.kh.min.js b/backend/components/datepicker/src/assets/js/locales/bootstrap-datepicker.kh.min.js new file mode 100644 index 0000000..b33a584 --- /dev/null +++ b/backend/components/datepicker/src/assets/js/locales/bootstrap-datepicker.kh.min.js @@ -0,0 +1 @@ +!function(a){a.fn.kvDatepicker.dates.kh={days:["អាទិត្យ","ចន្ទ","អង្គារ","ពុធ","ព្រហស្បតិ៍","សុក្រ","សៅរ៍"],daysShort:["អា.ទិ","ចន្ទ","អង្គារ","ពុធ","ព្រ.ហ","សុក្រ","សៅរ៍"],daysMin:["អា.ទិ","ចន្ទ","អង្គារ","ពុធ","ព្រ.ហ","សុក្រ","សៅរ៍"],months:["មករា","កុម្ភះ","មិនា","មេសា","ឧសភា","មិថុនា","កក្កដា","សីហា","កញ្ញា","តុលា","វិច្ឆិកា","ធ្នូ"],monthsShort:["មករា","កុម្ភះ","មិនា","មេសា","ឧសភា","មិថុនា","កក្កដា","សីហា","កញ្ញា","តុលា","វិច្ឆិកា","ធ្នូ"],today:"ថ្ងៃនេះ",clear:"សំអាត"},a.fn.kvDatepicker.deprecated('The language code "kh" is deprecated and will be removed in 2.0. For Khmer support use "km" instead.')}(jQuery); \ No newline at end of file diff --git a/backend/components/datepicker/src/assets/js/locales/bootstrap-datepicker.kk.min.js b/backend/components/datepicker/src/assets/js/locales/bootstrap-datepicker.kk.min.js new file mode 100644 index 0000000..3aea058 --- /dev/null +++ b/backend/components/datepicker/src/assets/js/locales/bootstrap-datepicker.kk.min.js @@ -0,0 +1 @@ +!function(a){a.fn.kvDatepicker.dates.kk={days:["Жексенбі","Дүйсенбі","Сейсенбі","Сәрсенбі","Бейсенбі","Жұма","Сенбі"],daysShort:["Жек","Дүй","Сей","Сәр","Бей","Жұм","Сен"],daysMin:["Жк","Дс","Сс","Ср","Бс","Жм","Сн"],months:["Қаңтар","Ақпан","Наурыз","Сәуір","Мамыр","Маусым","Шілде","Тамыз","Қыркүйек","Қазан","Қараша","Желтоқсан"],monthsShort:["Қаң","Ақп","Нау","Сәу","Мам","Мау","Шіл","Там","Қыр","Қаз","Қар","Жел"],today:"Бүгін",weekStart:1}}(jQuery); \ No newline at end of file diff --git a/backend/components/datepicker/src/assets/js/locales/bootstrap-datepicker.km.min.js b/backend/components/datepicker/src/assets/js/locales/bootstrap-datepicker.km.min.js new file mode 100644 index 0000000..197dd7d --- /dev/null +++ b/backend/components/datepicker/src/assets/js/locales/bootstrap-datepicker.km.min.js @@ -0,0 +1 @@ +!function(a){a.fn.kvDatepicker.dates.km={days:["អាទិត្យ","ចន្ទ","អង្គារ","ពុធ","ព្រហស្បតិ៍","សុក្រ","សៅរ៍"],daysShort:["អា.ទិ","ចន្ទ","អង្គារ","ពុធ","ព្រ.ហ","សុក្រ","សៅរ៍"],daysMin:["អា.ទិ","ចន្ទ","អង្គារ","ពុធ","ព្រ.ហ","សុក្រ","សៅរ៍"],months:["មករា","កុម្ភះ","មិនា","មេសា","ឧសភា","មិថុនា","កក្កដា","សីហា","កញ្ញា","តុលា","វិច្ឆិកា","ធ្នូ"],monthsShort:["មករា","កុម្ភះ","មិនា","មេសា","ឧសភា","មិថុនា","កក្កដា","សីហា","កញ្ញា","តុលា","វិច្ឆិកា","ធ្នូ"],today:"ថ្ងៃនេះ",clear:"សំអាត"}}(jQuery); \ No newline at end of file diff --git a/backend/components/datepicker/src/assets/js/locales/bootstrap-datepicker.ko.min.js b/backend/components/datepicker/src/assets/js/locales/bootstrap-datepicker.ko.min.js new file mode 100644 index 0000000..0b4d9f9 --- /dev/null +++ b/backend/components/datepicker/src/assets/js/locales/bootstrap-datepicker.ko.min.js @@ -0,0 +1 @@ +!function(a){a.fn.kvDatepicker.dates.ko={days:["일요일","월요일","화요일","수요일","목요일","금요일","토요일"],daysShort:["일","월","화","수","목","금","토"],daysMin:["일","월","화","수","목","금","토"],months:["1월","2월","3월","4월","5월","6월","7월","8월","9월","10월","11월","12월"],monthsShort:["1월","2월","3월","4월","5월","6월","7월","8월","9월","10월","11월","12월"],today:"오늘",clear:"삭제",format:"yyyy-mm-dd",titleFormat:"yyyy년mm월",weekStart:0}}(jQuery); \ No newline at end of file diff --git a/backend/components/datepicker/src/assets/js/locales/bootstrap-datepicker.kr.min.js b/backend/components/datepicker/src/assets/js/locales/bootstrap-datepicker.kr.min.js new file mode 100644 index 0000000..7fc34c4 --- /dev/null +++ b/backend/components/datepicker/src/assets/js/locales/bootstrap-datepicker.kr.min.js @@ -0,0 +1 @@ +!function(a){a.fn.kvDatepicker.dates.kr={days:["일요일","월요일","화요일","수요일","목요일","금요일","토요일"],daysShort:["일","월","화","수","목","금","토"],daysMin:["일","월","화","수","목","금","토"],months:["1월","2월","3월","4월","5월","6월","7월","8월","9월","10월","11월","12월"],monthsShort:["1월","2월","3월","4월","5월","6월","7월","8월","9월","10월","11월","12월"]},a.fn.kvDatepicker.deprecated('The language code "kr" is deprecated and will be removed in 2.0. For korean support use "ko" instead.')}(jQuery); \ No newline at end of file diff --git a/backend/components/datepicker/src/assets/js/locales/bootstrap-datepicker.lt.min.js b/backend/components/datepicker/src/assets/js/locales/bootstrap-datepicker.lt.min.js new file mode 100644 index 0000000..f135ca5 --- /dev/null +++ b/backend/components/datepicker/src/assets/js/locales/bootstrap-datepicker.lt.min.js @@ -0,0 +1 @@ +!function(a){a.fn.kvDatepicker.dates.lt={days:["Sekmadienis","Pirmadienis","Antradienis","Trečiadienis","Ketvirtadienis","Penktadienis","Šeštadienis"],daysShort:["S","Pr","A","T","K","Pn","Š"],daysMin:["Sk","Pr","An","Tr","Ke","Pn","Št"],months:["Sausis","Vasaris","Kovas","Balandis","Gegužė","Birželis","Liepa","Rugpjūtis","Rugsėjis","Spalis","Lapkritis","Gruodis"],monthsShort:["Sau","Vas","Kov","Bal","Geg","Bir","Lie","Rugp","Rugs","Spa","Lap","Gru"],today:"Šiandien",monthsTitle:"Mėnesiai",clear:"Išvalyti",weekStart:1,format:"yyyy-mm-dd"}}(jQuery); \ No newline at end of file diff --git a/backend/components/datepicker/src/assets/js/locales/bootstrap-datepicker.lv.min.js b/backend/components/datepicker/src/assets/js/locales/bootstrap-datepicker.lv.min.js new file mode 100644 index 0000000..742cdbe --- /dev/null +++ b/backend/components/datepicker/src/assets/js/locales/bootstrap-datepicker.lv.min.js @@ -0,0 +1 @@ +!function(a){a.fn.kvDatepicker.dates.lv={days:["Svētdiena","Pirmdiena","Otrdiena","Trešdiena","Ceturtdiena","Piektdiena","Sestdiena"],daysShort:["Sv","P","O","T","C","Pk","S"],daysMin:["Sv","Pr","Ot","Tr","Ce","Pk","Se"],months:["Janvāris","Februāris","Marts","Aprīlis","Maijs","Jūnijs","Jūlijs","Augusts","Septembris","Oktobris","Novembris","Decembris"],monthsShort:["Jan","Feb","Mar","Apr","Mai","Jūn","Jūl","Aug","Sep","Okt","Nov","Dec"],today:"Šodien",clear:"Nodzēst",weekStart:1}}(jQuery); \ No newline at end of file diff --git a/backend/components/datepicker/src/assets/js/locales/bootstrap-datepicker.me.min.js b/backend/components/datepicker/src/assets/js/locales/bootstrap-datepicker.me.min.js new file mode 100644 index 0000000..3af0581 --- /dev/null +++ b/backend/components/datepicker/src/assets/js/locales/bootstrap-datepicker.me.min.js @@ -0,0 +1 @@ +!function(a){a.fn.kvDatepicker.dates.me={days:["Nedjelja","Ponedjeljak","Utorak","Srijeda","Četvrtak","Petak","Subota"],daysShort:["Ned","Pon","Uto","Sri","Čet","Pet","Sub"],daysMin:["Ne","Po","Ut","Sr","Če","Pe","Su"],months:["Januar","Februar","Mart","April","Maj","Jun","Jul","Avgust","Septembar","Oktobar","Novembar","Decembar"],monthsShort:["Jan","Feb","Mar","Apr","Maj","Jun","Jul","Avg","Sep","Okt","Nov","Dec"],today:"Danas",weekStart:1,clear:"Izbriši",format:"dd.mm.yyyy"}}(jQuery); \ No newline at end of file diff --git a/backend/components/datepicker/src/assets/js/locales/bootstrap-datepicker.mk.min.js b/backend/components/datepicker/src/assets/js/locales/bootstrap-datepicker.mk.min.js new file mode 100644 index 0000000..8939a52 --- /dev/null +++ b/backend/components/datepicker/src/assets/js/locales/bootstrap-datepicker.mk.min.js @@ -0,0 +1 @@ +!function(a){a.fn.kvDatepicker.dates.mk={days:["Недела","Понеделник","Вторник","Среда","Четврток","Петок","Сабота"],daysShort:["Нед","Пон","Вто","Сре","Чет","Пет","Саб"],daysMin:["Не","По","Вт","Ср","Че","Пе","Са"],months:["Јануари","Февруари","Март","Април","Мај","Јуни","Јули","Август","Септември","Октомври","Ноември","Декември"],monthsShort:["Јан","Фев","Мар","Апр","Мај","Јун","Јул","Авг","Сеп","Окт","Ное","Дек"],today:"Денес",format:"dd.mm.yyyy"}}(jQuery); \ No newline at end of file diff --git a/backend/components/datepicker/src/assets/js/locales/bootstrap-datepicker.mn.min.js b/backend/components/datepicker/src/assets/js/locales/bootstrap-datepicker.mn.min.js new file mode 100644 index 0000000..d42b952 --- /dev/null +++ b/backend/components/datepicker/src/assets/js/locales/bootstrap-datepicker.mn.min.js @@ -0,0 +1 @@ +!function(a){a.fn.kvDatepicker.dates.mn={days:["Ням","Даваа","Мягмар","Лхагва","Пүрэв","Баасан","Бямба"],daysShort:["Ням","Дав","Мяг","Лха","Пүр","Баа","Бям"],daysMin:["Ня","Да","Мя","Лх","Пү","Ба","Бя"],months:["Хулгана","Үхэр","Бар","Туулай","Луу","Могой","Морь","Хонь","Бич","Тахиа","Нохой","Гахай"],monthsShort:["Хул","Үхэ","Бар","Туу","Луу","Мог","Мор","Хон","Бич","Тах","Нох","Гах"],today:"Өнөөдөр",clear:"Тодорхой",format:"yyyy.mm.dd",weekStart:1}}(jQuery); \ No newline at end of file diff --git a/backend/components/datepicker/src/assets/js/locales/bootstrap-datepicker.ms.min.js b/backend/components/datepicker/src/assets/js/locales/bootstrap-datepicker.ms.min.js new file mode 100644 index 0000000..91bf028 --- /dev/null +++ b/backend/components/datepicker/src/assets/js/locales/bootstrap-datepicker.ms.min.js @@ -0,0 +1 @@ +!function(a){a.fn.kvDatepicker.dates.ms={days:["Ahad","Isnin","Selasa","Rabu","Khamis","Jumaat","Sabtu"],daysShort:["Aha","Isn","Sel","Rab","Kha","Jum","Sab"],daysMin:["Ah","Is","Se","Ra","Kh","Ju","Sa"],months:["Januari","Februari","Mac","April","Mei","Jun","Julai","Ogos","September","Oktober","November","Disember"],monthsShort:["Jan","Feb","Mar","Apr","Mei","Jun","Jul","Ogo","Sep","Okt","Nov","Dis"],today:"Hari Ini",clear:"Bersihkan"}}(jQuery); \ No newline at end of file diff --git a/backend/components/datepicker/src/assets/js/locales/bootstrap-datepicker.nb.min.js b/backend/components/datepicker/src/assets/js/locales/bootstrap-datepicker.nb.min.js new file mode 100644 index 0000000..0ec90b3 --- /dev/null +++ b/backend/components/datepicker/src/assets/js/locales/bootstrap-datepicker.nb.min.js @@ -0,0 +1 @@ +!function(a){a.fn.kvDatepicker.dates.nb={days:["Søndag","Mandag","Tirsdag","Onsdag","Torsdag","Fredag","Lørdag"],daysShort:["Søn","Man","Tir","Ons","Tor","Fre","Lør"],daysMin:["Sø","Ma","Ti","On","To","Fr","Lø"],months:["Januar","Februar","Mars","April","Mai","Juni","Juli","August","September","Oktober","November","Desember"],monthsShort:["Jan","Feb","Mar","Apr","Mai","Jun","Jul","Aug","Sep","Okt","Nov","Des"],today:"I Dag",format:"dd.mm.yyyy"}}(jQuery); \ No newline at end of file diff --git a/backend/components/datepicker/src/assets/js/locales/bootstrap-datepicker.nl-BE.min.js b/backend/components/datepicker/src/assets/js/locales/bootstrap-datepicker.nl-BE.min.js new file mode 100644 index 0000000..a93ac84 --- /dev/null +++ b/backend/components/datepicker/src/assets/js/locales/bootstrap-datepicker.nl-BE.min.js @@ -0,0 +1 @@ +!function(a){a.fn.kvDatepicker.dates["nl-BE"]={days:["zondag","maandag","dinsdag","woensdag","donderdag","vrijdag","zaterdag"],daysShort:["zo","ma","di","wo","do","vr","za"],daysMin:["zo","ma","di","wo","do","vr","za"],months:["januari","februari","maart","april","mei","juni","juli","augustus","september","oktober","november","december"],monthsShort:["jan","feb","mrt","apr","mei","jun","jul","aug","sep","okt","nov","dec"],today:"Vandaag",monthsTitle:"Maanden",clear:"Leegmaken",weekStart:1,format:"dd/mm/yyyy"}}(jQuery); \ No newline at end of file diff --git a/backend/components/datepicker/src/assets/js/locales/bootstrap-datepicker.nl.min.js b/backend/components/datepicker/src/assets/js/locales/bootstrap-datepicker.nl.min.js new file mode 100644 index 0000000..364589b --- /dev/null +++ b/backend/components/datepicker/src/assets/js/locales/bootstrap-datepicker.nl.min.js @@ -0,0 +1 @@ +!function(a){a.fn.kvDatepicker.dates.nl={days:["zondag","maandag","dinsdag","woensdag","donderdag","vrijdag","zaterdag"],daysShort:["zo","ma","di","wo","do","vr","za"],daysMin:["zo","ma","di","wo","do","vr","za"],months:["januari","februari","maart","april","mei","juni","juli","augustus","september","oktober","november","december"],monthsShort:["jan","feb","mrt","apr","mei","jun","jul","aug","sep","okt","nov","dec"],today:"Vandaag",monthsTitle:"Maanden",clear:"Wissen",weekStart:1,format:"dd-mm-yyyy"}}(jQuery); \ No newline at end of file diff --git a/backend/components/datepicker/src/assets/js/locales/bootstrap-datepicker.no.min.js b/backend/components/datepicker/src/assets/js/locales/bootstrap-datepicker.no.min.js new file mode 100644 index 0000000..172e27d --- /dev/null +++ b/backend/components/datepicker/src/assets/js/locales/bootstrap-datepicker.no.min.js @@ -0,0 +1 @@ +!function(a){a.fn.kvDatepicker.dates.no={days:["Søndag","Mandag","Tirsdag","Onsdag","Torsdag","Fredag","Lørdag"],daysShort:["Søn","Man","Tir","Ons","Tor","Fre","Lør"],daysMin:["Sø","Ma","Ti","On","To","Fr","Lø"],months:["Januar","Februar","Mars","April","Mai","Juni","Juli","August","September","Oktober","November","Desember"],monthsShort:["Jan","Feb","Mar","Apr","Mai","Jun","Jul","Aug","Sep","Okt","Nov","Des"],today:"I dag",clear:"Nullstill",weekStart:1,format:"dd.mm.yyyy"}}(jQuery); \ No newline at end of file diff --git a/backend/components/datepicker/src/assets/js/locales/bootstrap-datepicker.oc.min.js b/backend/components/datepicker/src/assets/js/locales/bootstrap-datepicker.oc.min.js new file mode 100644 index 0000000..a94bcca --- /dev/null +++ b/backend/components/datepicker/src/assets/js/locales/bootstrap-datepicker.oc.min.js @@ -0,0 +1 @@ +!function(a){a.fn.kvDatepicker.dates.oc={days:["Dimenge","Diluns","Dimars","Dimècres","Dijòus","Divendres","Dissabte"],daysShort:["Dim","Dil","Dmr","Dmc","Dij","Div","Dis"],daysMin:["dg","dl","dr","dc","dj","dv","ds"],months:["Genièr","Febrièr","Març","Abrial","Mai","Junh","Julhet","Agost","Setembre","Octobre","Novembre","Decembre"],monthsShort:["Gen","Feb","Mar","Abr","Mai","Jun","Jul","Ago","Set","Oct","Nov","Dec"],today:"Uèi",monthsTitle:"Meses",clear:"Escafar",weekStart:1,format:"dd/mm/yyyy"}}(jQuery); \ No newline at end of file diff --git a/backend/components/datepicker/src/assets/js/locales/bootstrap-datepicker.pl.min.js b/backend/components/datepicker/src/assets/js/locales/bootstrap-datepicker.pl.min.js new file mode 100644 index 0000000..90d29a4 --- /dev/null +++ b/backend/components/datepicker/src/assets/js/locales/bootstrap-datepicker.pl.min.js @@ -0,0 +1 @@ +!function(a){a.fn.kvDatepicker.dates.pl={days:["Niedziela","Poniedziałek","Wtorek","Środa","Czwartek","Piątek","Sobota"],daysShort:["Niedz.","Pon.","Wt.","Śr.","Czw.","Piąt.","Sob."],daysMin:["Ndz.","Pn.","Wt.","Śr.","Czw.","Pt.","Sob."],months:["Styczeń","Luty","Marzec","Kwiecień","Maj","Czerwiec","Lipiec","Sierpień","Wrzesień","Październik","Listopad","Grudzień"],monthsShort:["Sty.","Lut.","Mar.","Kwi.","Maj","Cze.","Lip.","Sie.","Wrz.","Paź.","Lis.","Gru."],today:"Dzisiaj",weekStart:1,clear:"Wyczyść",format:"dd.mm.yyyy"}}(jQuery); \ No newline at end of file diff --git a/backend/components/datepicker/src/assets/js/locales/bootstrap-datepicker.pt-BR.min.js b/backend/components/datepicker/src/assets/js/locales/bootstrap-datepicker.pt-BR.min.js new file mode 100644 index 0000000..f53137a --- /dev/null +++ b/backend/components/datepicker/src/assets/js/locales/bootstrap-datepicker.pt-BR.min.js @@ -0,0 +1 @@ +!function(a){a.fn.kvDatepicker.dates["pt-BR"]={days:["Domingo","Segunda","Terça","Quarta","Quinta","Sexta","Sábado"],daysShort:["Dom","Seg","Ter","Qua","Qui","Sex","Sáb"],daysMin:["Do","Se","Te","Qu","Qu","Se","Sa"],months:["Janeiro","Fevereiro","Março","Abril","Maio","Junho","Julho","Agosto","Setembro","Outubro","Novembro","Dezembro"],monthsShort:["Jan","Fev","Mar","Abr","Mai","Jun","Jul","Ago","Set","Out","Nov","Dez"],today:"Hoje",monthsTitle:"Meses",clear:"Limpar",format:"dd/mm/yyyy"}}(jQuery); \ No newline at end of file diff --git a/backend/components/datepicker/src/assets/js/locales/bootstrap-datepicker.pt.min.js b/backend/components/datepicker/src/assets/js/locales/bootstrap-datepicker.pt.min.js new file mode 100644 index 0000000..9ec3886 --- /dev/null +++ b/backend/components/datepicker/src/assets/js/locales/bootstrap-datepicker.pt.min.js @@ -0,0 +1 @@ +!function(a){a.fn.kvDatepicker.dates.pt={days:["Domingo","Segunda","Terça","Quarta","Quinta","Sexta","Sábado"],daysShort:["Dom","Seg","Ter","Qua","Qui","Sex","Sáb"],daysMin:["Do","Se","Te","Qu","Qu","Se","Sa"],months:["Janeiro","Fevereiro","Março","Abril","Maio","Junho","Julho","Agosto","Setembro","Outubro","Novembro","Dezembro"],monthsShort:["Jan","Fev","Mar","Abr","Mai","Jun","Jul","Ago","Set","Out","Nov","Dez"],today:"Hoje",monthsTitle:"Meses",clear:"Limpar",format:"dd/mm/yyyy"}}(jQuery); \ No newline at end of file diff --git a/backend/components/datepicker/src/assets/js/locales/bootstrap-datepicker.ro.min.js b/backend/components/datepicker/src/assets/js/locales/bootstrap-datepicker.ro.min.js new file mode 100644 index 0000000..e574370 --- /dev/null +++ b/backend/components/datepicker/src/assets/js/locales/bootstrap-datepicker.ro.min.js @@ -0,0 +1 @@ +!function(a){a.fn.kvDatepicker.dates.ro={days:["Duminică","Luni","Marţi","Miercuri","Joi","Vineri","Sâmbătă"],daysShort:["Dum","Lun","Mar","Mie","Joi","Vin","Sâm"],daysMin:["Du","Lu","Ma","Mi","Jo","Vi","Sâ"],months:["Ianuarie","Februarie","Martie","Aprilie","Mai","Iunie","Iulie","August","Septembrie","Octombrie","Noiembrie","Decembrie"],monthsShort:["Ian","Feb","Mar","Apr","Mai","Iun","Iul","Aug","Sep","Oct","Nov","Dec"],today:"Astăzi",clear:"Șterge",weekStart:1,format:"dd/mm/yyyy"}}(jQuery); \ No newline at end of file diff --git a/backend/components/datepicker/src/assets/js/locales/bootstrap-datepicker.rs-latin.min.js b/backend/components/datepicker/src/assets/js/locales/bootstrap-datepicker.rs-latin.min.js new file mode 100644 index 0000000..cb45a3e --- /dev/null +++ b/backend/components/datepicker/src/assets/js/locales/bootstrap-datepicker.rs-latin.min.js @@ -0,0 +1 @@ +!function(a){a.fn.kvDatepicker.dates["rs-latin"]={days:["Nedelja","Ponedeljak","Utorak","Sreda","Četvrtak","Petak","Subota"],daysShort:["Ned","Pon","Uto","Sre","Čet","Pet","Sub"],daysMin:["N","Po","U","Sr","Č","Pe","Su"],months:["Januar","Februar","Mart","April","Maj","Jun","Jul","Avgust","Septembar","Oktobar","Novembar","Decembar"],monthsShort:["Jan","Feb","Mar","Apr","Maj","Jun","Jul","Avg","Sep","Okt","Nov","Dec"],today:"Danas",weekStart:1,format:"dd.mm.yyyy"},a.fn.kvDatepicker.deprecated('This language code "rs-latin" is deprecated (invalid serbian language code) and will be removed in 2.0. For Serbian latin support use "sr-latin" instead.')}(jQuery); \ No newline at end of file diff --git a/backend/components/datepicker/src/assets/js/locales/bootstrap-datepicker.rs.min.js b/backend/components/datepicker/src/assets/js/locales/bootstrap-datepicker.rs.min.js new file mode 100644 index 0000000..6ac69b9 --- /dev/null +++ b/backend/components/datepicker/src/assets/js/locales/bootstrap-datepicker.rs.min.js @@ -0,0 +1 @@ +!function(a){a.fn.kvDatepicker.dates.rs={days:["Недеља","Понедељак","Уторак","Среда","Четвртак","Петак","Субота"],daysShort:["Нед","Пон","Уто","Сре","Чет","Пет","Суб"],daysMin:["Н","По","У","Ср","Ч","Пе","Су"],months:["Јануар","Фебруар","Март","Април","Мај","Јун","Јул","Август","Септембар","Октобар","Новембар","Децембар"],monthsShort:["Јан","Феб","Мар","Апр","Мај","Јун","Јул","Авг","Сеп","Окт","Нов","Дец"],today:"Данас",weekStart:1,format:"dd.mm.yyyy"},a.fn.kvDatepicker.deprecated('This language code "rs" is deprecated (invalid serbian language code) and will be removed in 2.0. For Serbian support use "sr" instead.')}(jQuery); \ No newline at end of file diff --git a/backend/components/datepicker/src/assets/js/locales/bootstrap-datepicker.ru.min.js b/backend/components/datepicker/src/assets/js/locales/bootstrap-datepicker.ru.min.js new file mode 100644 index 0000000..aeff42f --- /dev/null +++ b/backend/components/datepicker/src/assets/js/locales/bootstrap-datepicker.ru.min.js @@ -0,0 +1 @@ +!function(a){a.fn.kvDatepicker.dates.ru={days:["Воскресенье","Понедельник","Вторник","Среда","Четверг","Пятница","Суббота"],daysShort:["Вск","Пнд","Втр","Срд","Чтв","Птн","Суб"],daysMin:["Вс","Пн","Вт","Ср","Чт","Пт","Сб"],months:["Январь","Февраль","Март","Апрель","Май","Июнь","Июль","Август","Сентябрь","Октябрь","Ноябрь","Декабрь"],monthsShort:["Янв","Фев","Мар","Апр","Май","Июн","Июл","Авг","Сен","Окт","Ноя","Дек"],today:"Сегодня",clear:"Очистить",format:"dd.mm.yyyy",weekStart:1,monthsTitle:"Месяцы"}}(jQuery); \ No newline at end of file diff --git a/backend/components/datepicker/src/assets/js/locales/bootstrap-datepicker.si.min.js b/backend/components/datepicker/src/assets/js/locales/bootstrap-datepicker.si.min.js new file mode 100644 index 0000000..35866c6 --- /dev/null +++ b/backend/components/datepicker/src/assets/js/locales/bootstrap-datepicker.si.min.js @@ -0,0 +1 @@ +!function(a){a.fn.kvDatepicker.dates.si={days:["ඉරිදා","සඳුදා","අඟහරුවාදා","බදාදා","බ්‍රහස්පතින්දා","සිකුරාදා","සෙනසුරාදා"],daysShort:["ඉරි","සඳු","අඟ","බදා","බ්‍රහ","සිකු","සෙන"],daysMin:["ඉ","ස","අ","බ","බ්‍ර","සි","සෙ"],months:["ජනවාරි","පෙබරවාරි","මාර්තු","අප්‍රේල්","මැයි","ජුනි","ජූලි","අගෝස්තු","සැප්තැම්බර්","ඔක්තෝබර්","නොවැම්බර්","දෙසැම්බර්"],monthsShort:["ජන","පෙබ","මාර්","අප්‍රේ","මැයි","ජුනි","ජූලි","අගෝ","සැප්","ඔක්","නොවැ","දෙසැ"],today:"අද",monthsTitle:"මාස",clear:"මකන්න",weekStart:0,format:"yyyy-mm-dd"}}(jQuery); \ No newline at end of file diff --git a/backend/components/datepicker/src/assets/js/locales/bootstrap-datepicker.sk.min.js b/backend/components/datepicker/src/assets/js/locales/bootstrap-datepicker.sk.min.js new file mode 100644 index 0000000..e2f17ce --- /dev/null +++ b/backend/components/datepicker/src/assets/js/locales/bootstrap-datepicker.sk.min.js @@ -0,0 +1 @@ +!function(a){a.fn.kvDatepicker.dates.sk={days:["Nedeľa","Pondelok","Utorok","Streda","Štvrtok","Piatok","Sobota"],daysShort:["Ned","Pon","Uto","Str","Štv","Pia","Sob"],daysMin:["Ne","Po","Ut","St","Št","Pia","So"],months:["Január","Február","Marec","Apríl","Máj","Jún","Júl","August","September","Október","November","December"],monthsShort:["Jan","Feb","Mar","Apr","Máj","Jún","Júl","Aug","Sep","Okt","Nov","Dec"],today:"Dnes",clear:"Vymazať",weekStart:1,format:"d.m.yyyy"}}(jQuery); \ No newline at end of file diff --git a/backend/components/datepicker/src/assets/js/locales/bootstrap-datepicker.sl.min.js b/backend/components/datepicker/src/assets/js/locales/bootstrap-datepicker.sl.min.js new file mode 100644 index 0000000..b78394f --- /dev/null +++ b/backend/components/datepicker/src/assets/js/locales/bootstrap-datepicker.sl.min.js @@ -0,0 +1 @@ +!function(a){a.fn.kvDatepicker.dates.sl={days:["Nedelja","Ponedeljek","Torek","Sreda","Četrtek","Petek","Sobota"],daysShort:["Ned","Pon","Tor","Sre","Čet","Pet","Sob"],daysMin:["Ne","Po","To","Sr","Če","Pe","So"],months:["Januar","Februar","Marec","April","Maj","Junij","Julij","Avgust","September","Oktober","November","December"],monthsShort:["Jan","Feb","Mar","Apr","Maj","Jun","Jul","Avg","Sep","Okt","Nov","Dec"],today:"Danes",weekStart:1}}(jQuery); \ No newline at end of file diff --git a/backend/components/datepicker/src/assets/js/locales/bootstrap-datepicker.sq.min.js b/backend/components/datepicker/src/assets/js/locales/bootstrap-datepicker.sq.min.js new file mode 100644 index 0000000..965be66 --- /dev/null +++ b/backend/components/datepicker/src/assets/js/locales/bootstrap-datepicker.sq.min.js @@ -0,0 +1 @@ +!function(a){a.fn.kvDatepicker.dates.sq={days:["E Diel","E Hënë","E Martē","E Mërkurë","E Enjte","E Premte","E Shtunë"],daysShort:["Die","Hën","Mar","Mër","Enj","Pre","Shtu"],daysMin:["Di","Hë","Ma","Më","En","Pr","Sht"],months:["Janar","Shkurt","Mars","Prill","Maj","Qershor","Korrik","Gusht","Shtator","Tetor","Nëntor","Dhjetor"],monthsShort:["Jan","Shk","Mar","Pri","Maj","Qer","Korr","Gu","Sht","Tet","Nën","Dhjet"],today:"Sot"}}(jQuery); \ No newline at end of file diff --git a/backend/components/datepicker/src/assets/js/locales/bootstrap-datepicker.sr-latin.min.js b/backend/components/datepicker/src/assets/js/locales/bootstrap-datepicker.sr-latin.min.js new file mode 100644 index 0000000..21ea88d --- /dev/null +++ b/backend/components/datepicker/src/assets/js/locales/bootstrap-datepicker.sr-latin.min.js @@ -0,0 +1 @@ +!function(a){a.fn.kvDatepicker.dates["sr-latin"]={days:["Nedelja","Ponedeljak","Utorak","Sreda","Četvrtak","Petak","Subota"],daysShort:["Ned","Pon","Uto","Sre","Čet","Pet","Sub"],daysMin:["N","Po","U","Sr","Č","Pe","Su"],months:["Januar","Februar","Mart","April","Maj","Jun","Jul","Avgust","Septembar","Oktobar","Novembar","Decembar"],monthsShort:["Jan","Feb","Mar","Apr","Maj","Jun","Jul","Avg","Sep","Okt","Nov","Dec"],today:"Danas",weekStart:1,format:"dd.mm.yyyy"}}(jQuery); \ No newline at end of file diff --git a/backend/components/datepicker/src/assets/js/locales/bootstrap-datepicker.sr.min.js b/backend/components/datepicker/src/assets/js/locales/bootstrap-datepicker.sr.min.js new file mode 100644 index 0000000..2ddc8da --- /dev/null +++ b/backend/components/datepicker/src/assets/js/locales/bootstrap-datepicker.sr.min.js @@ -0,0 +1 @@ +!function(a){a.fn.kvDatepicker.dates.sr={days:["Недеља","Понедељак","Уторак","Среда","Четвртак","Петак","Субота"],daysShort:["Нед","Пон","Уто","Сре","Чет","Пет","Суб"],daysMin:["Н","По","У","Ср","Ч","Пе","Су"],months:["Јануар","Фебруар","Март","Април","Мај","Јун","Јул","Август","Септембар","Октобар","Новембар","Децембар"],monthsShort:["Јан","Феб","Мар","Апр","Мај","Јун","Јул","Авг","Сеп","Окт","Нов","Дец"],today:"Данас",weekStart:1,format:"dd.mm.yyyy"}}(jQuery); \ No newline at end of file diff --git a/backend/components/datepicker/src/assets/js/locales/bootstrap-datepicker.sv.min.js b/backend/components/datepicker/src/assets/js/locales/bootstrap-datepicker.sv.min.js new file mode 100644 index 0000000..9ebc5c6 --- /dev/null +++ b/backend/components/datepicker/src/assets/js/locales/bootstrap-datepicker.sv.min.js @@ -0,0 +1 @@ +!function(a){a.fn.kvDatepicker.dates.sv={days:["Söndag","Måndag","Tisdag","Onsdag","Torsdag","Fredag","Lördag"],daysShort:["Sön","Mån","Tis","Ons","Tor","Fre","Lör"],daysMin:["Sö","Må","Ti","On","To","Fr","Lö"],months:["Januari","Februari","Mars","April","Maj","Juni","Juli","Augusti","September","Oktober","November","December"],monthsShort:["Jan","Feb","Mar","Apr","Maj","Jun","Jul","Aug","Sep","Okt","Nov","Dec"],today:"Idag",format:"yyyy-mm-dd",weekStart:1,clear:"Rensa"}}(jQuery); \ No newline at end of file diff --git a/backend/components/datepicker/src/assets/js/locales/bootstrap-datepicker.sw.min.js b/backend/components/datepicker/src/assets/js/locales/bootstrap-datepicker.sw.min.js new file mode 100644 index 0000000..b09b53b --- /dev/null +++ b/backend/components/datepicker/src/assets/js/locales/bootstrap-datepicker.sw.min.js @@ -0,0 +1 @@ +!function(a){a.fn.kvDatepicker.dates.sw={days:["Jumapili","Jumatatu","Jumanne","Jumatano","Alhamisi","Ijumaa","Jumamosi"],daysShort:["J2","J3","J4","J5","Alh","Ij","J1"],daysMin:["2","3","4","5","A","I","1"],months:["Januari","Februari","Machi","Aprili","Mei","Juni","Julai","Agosti","Septemba","Oktoba","Novemba","Desemba"],monthsShort:["Jan","Feb","Mac","Apr","Mei","Jun","Jul","Ago","Sep","Okt","Nov","Des"],today:"Leo"}}(jQuery); \ No newline at end of file diff --git a/backend/components/datepicker/src/assets/js/locales/bootstrap-datepicker.ta.min.js b/backend/components/datepicker/src/assets/js/locales/bootstrap-datepicker.ta.min.js new file mode 100644 index 0000000..1a7d630 --- /dev/null +++ b/backend/components/datepicker/src/assets/js/locales/bootstrap-datepicker.ta.min.js @@ -0,0 +1 @@ +!function(a){a.fn.kvDatepicker.dates.ta={days:["ஞாயிறு","திங்கள்","செவ்வாய்","புதன்","வியாழன்","வெள்ளி","சனி"],daysShort:["ஞாயி","திங்","செவ்","புத","வியா","வெள்","சனி"],daysMin:["ஞா","தி","செ","பு","வி","வெ","ச"],months:["ஜனவரி","பிப்ரவரி","மார்ச்","ஏப்ரல்","மே","ஜூன்","ஜூலை","ஆகஸ்டு","செப்டம்பர்","அக்டோபர்","நவம்பர்","டிசம்பர்"],monthsShort:["ஜன","பிப்","மார்","ஏப்","மே","ஜூன்","ஜூலை","ஆக","செப்","அக்","நவ","டிச"],today:"இன்று",monthsTitle:"மாதங்கள்",clear:"நீக்கு",weekStart:1,format:"dd/mm/yyyy"}}(jQuery); \ No newline at end of file diff --git a/backend/components/datepicker/src/assets/js/locales/bootstrap-datepicker.tg.min.js b/backend/components/datepicker/src/assets/js/locales/bootstrap-datepicker.tg.min.js new file mode 100644 index 0000000..a8846b5 --- /dev/null +++ b/backend/components/datepicker/src/assets/js/locales/bootstrap-datepicker.tg.min.js @@ -0,0 +1 @@ +!function(a){a.fn.kvDatepicker.dates.tg={days:["Якшанбе","Душанбе","Сешанбе","Чоршанбе","Панҷшанбе","Ҷумъа","Шанбе"],daysShort:["Яшб","Дшб","Сшб","Чшб","Пшб","Ҷум","Шнб"],daysMin:["Яш","Дш","Сш","Чш","Пш","Ҷм","Шб"],months:["Январ","Феврал","Март","Апрел","Май","Июн","Июл","Август","Сентябр","Октябр","Ноябр","Декабр"],monthsShort:["Янв","Фев","Мар","Апр","Май","Июн","Июл","Авг","Сен","Окт","Ноя","Дек"],today:"Имрӯз",monthsTitle:"Моҳҳо",clear:"Тоза намудан",weekStart:1,format:"dd.mm.yyyy"}}(jQuery); \ No newline at end of file diff --git a/backend/components/datepicker/src/assets/js/locales/bootstrap-datepicker.th.min.js b/backend/components/datepicker/src/assets/js/locales/bootstrap-datepicker.th.min.js new file mode 100644 index 0000000..3f13917 --- /dev/null +++ b/backend/components/datepicker/src/assets/js/locales/bootstrap-datepicker.th.min.js @@ -0,0 +1 @@ +!function(a){a.fn.kvDatepicker.dates.th={days:["อาทิตย์","จันทร์","อังคาร","พุธ","พฤหัส","ศุกร์","เสาร์","อาทิตย์"],daysShort:["อา","จ","อ","พ","พฤ","ศ","ส","อา"],daysMin:["อา","จ","อ","พ","พฤ","ศ","ส","อา"],months:["มกราคม","กุมภาพันธ์","มีนาคม","เมษายน","พฤษภาคม","มิถุนายน","กรกฎาคม","สิงหาคม","กันยายน","ตุลาคม","พฤศจิกายน","ธันวาคม"],monthsShort:["ม.ค.","ก.พ.","มี.ค.","เม.ย.","พ.ค.","มิ.ย.","ก.ค.","ส.ค.","ก.ย.","ต.ค.","พ.ย.","ธ.ค."],today:"วันนี้"}}(jQuery); \ No newline at end of file diff --git a/backend/components/datepicker/src/assets/js/locales/bootstrap-datepicker.tj.min.js b/backend/components/datepicker/src/assets/js/locales/bootstrap-datepicker.tj.min.js new file mode 100644 index 0000000..821af36 --- /dev/null +++ b/backend/components/datepicker/src/assets/js/locales/bootstrap-datepicker.tj.min.js @@ -0,0 +1 @@ +!function(t){t.fn.kvDatepicker.dates.tj={days:["Якшанбе","Душанбе","Сешанбе","Чоршанбе","Панҷшанбе","Ҷумъа","Шанбе","Якшанбе"],daysShort:["Якш","Душ","Сеш","Чрш","Пнш","Ҷум","Шнб","Якш"],daysMin:["Яш","Дш","Сш","Чш","Пш","Ҷм","Шн","Яш"],months:["Январ","Феврал","Март","Апрел","Май","Июн","Июл","Август","Сентябр","Октябр","Ноябр","Декабр"],monthsShort:["Янв","Фев","Мар","Апр","Май","Июн","Июл","Авг","Сен","Окт","Ноя","Дек"],today:"Имрӯз",clear:"Пок",format:"dd.mm.yyyy",weekStart:1}}(jQuery); \ No newline at end of file diff --git a/backend/components/datepicker/src/assets/js/locales/bootstrap-datepicker.tr.min.js b/backend/components/datepicker/src/assets/js/locales/bootstrap-datepicker.tr.min.js new file mode 100644 index 0000000..6635da1 --- /dev/null +++ b/backend/components/datepicker/src/assets/js/locales/bootstrap-datepicker.tr.min.js @@ -0,0 +1 @@ +!function(a){a.fn.kvDatepicker.dates.tr={days:["Pazar","Pazartesi","Salı","Çarşamba","Perşembe","Cuma","Cumartesi"],daysShort:["Pz","Pzt","Sal","Çrş","Prş","Cu","Cts"],daysMin:["Pz","Pzt","Sa","Çr","Pr","Cu","Ct"],months:["Ocak","Şubat","Mart","Nisan","Mayıs","Haziran","Temmuz","Ağustos","Eylül","Ekim","Kasım","Aralık"],monthsShort:["Oca","Şub","Mar","Nis","May","Haz","Tem","Ağu","Eyl","Eki","Kas","Ara"],today:"Bugün",clear:"Temizle",weekStart:1,format:"dd.mm.yyyy"}}(jQuery); \ No newline at end of file diff --git a/backend/components/datepicker/src/assets/js/locales/bootstrap-datepicker.uk.min.js b/backend/components/datepicker/src/assets/js/locales/bootstrap-datepicker.uk.min.js new file mode 100644 index 0000000..99b13de --- /dev/null +++ b/backend/components/datepicker/src/assets/js/locales/bootstrap-datepicker.uk.min.js @@ -0,0 +1 @@ +!function(a){a.fn.kvDatepicker.dates.uk={days:["Неділя","Понеділок","Вівторок","Середа","Четвер","П'ятниця","Субота"],daysShort:["Нед","Пнд","Втр","Срд","Чтв","Птн","Суб"],daysMin:["Нд","Пн","Вт","Ср","Чт","Пт","Сб"],months:["Cічень","Лютий","Березень","Квітень","Травень","Червень","Липень","Серпень","Вересень","Жовтень","Листопад","Грудень"],monthsShort:["Січ","Лют","Бер","Кві","Тра","Чер","Лип","Сер","Вер","Жов","Лис","Гру"],today:"Сьогодні",clear:"Очистити",format:"dd.mm.yyyy",weekStart:1}}(jQuery); \ No newline at end of file diff --git a/backend/components/datepicker/src/assets/js/locales/bootstrap-datepicker.uz-cyrl.min.js b/backend/components/datepicker/src/assets/js/locales/bootstrap-datepicker.uz-cyrl.min.js new file mode 100644 index 0000000..dbff4e8 --- /dev/null +++ b/backend/components/datepicker/src/assets/js/locales/bootstrap-datepicker.uz-cyrl.min.js @@ -0,0 +1 @@ +!function(a){a.fn.kvDatepicker.dates["uz-cyrl"]={days:["Якшанба","Душанба","Сешанба","Чоршанба","Пайшанба","Жума","Шанба"],daysShort:["Якш","Ду","Се","Чор","Пай","Жу","Ша"],daysMin:["Як","Ду","Се","Чо","Па","Жу","Ша"],months:["Январь","Февраль","Март","Апрель","Май","Июнь","Июль","Август","Сентябрь","Октябрь","Ноябрь","Декабрь"],monthsShort:["Янв","Фев","Мар","Апр","Май","Июн","Июл","Авг","Сен","Окт","Ноя","Дек"],today:"Бугун",clear:"Ўчириш",format:"dd.mm.yyyy",weekStart:1,monthsTitle:"Ойлар"}}(jQuery); \ No newline at end of file diff --git a/backend/components/datepicker/src/assets/js/locales/bootstrap-datepicker.uz-latn.min.js b/backend/components/datepicker/src/assets/js/locales/bootstrap-datepicker.uz-latn.min.js new file mode 100644 index 0000000..55006ca --- /dev/null +++ b/backend/components/datepicker/src/assets/js/locales/bootstrap-datepicker.uz-latn.min.js @@ -0,0 +1 @@ +!function(a){a.fn.kvDatepicker.dates["uz-latn"]={days:["Yakshanba","Dushanba","Seshanba","Chorshanba","Payshanba","Juma","Shanba"],daysShort:["Yak","Du","Se","Chor","Pay","Ju","Sha"],daysMin:["Ya","Du","Se","Cho","Pa","Ju","Sha"],months:["Yanvar","Fevral","Mart","Aprel","May","Iyun","Iyul","Avgust","Sentabr","Oktabr","Noyabr","Dekabr"],monthsShort:["Yan","Fev","Mar","Apr","May","Iyn","Iyl","Avg","Sen","Okt","Noy","Dek"],today:"Bugun",clear:"O'chirish",format:"dd.mm.yyyy",weekStart:1,monthsTitle:"Oylar"}}(jQuery); \ No newline at end of file diff --git a/backend/components/datepicker/src/assets/js/locales/bootstrap-datepicker.vi.min.js b/backend/components/datepicker/src/assets/js/locales/bootstrap-datepicker.vi.min.js new file mode 100644 index 0000000..f91f814 --- /dev/null +++ b/backend/components/datepicker/src/assets/js/locales/bootstrap-datepicker.vi.min.js @@ -0,0 +1 @@ +!function(a){a.fn.kvDatepicker.dates.vi={days:["Chủ nhật","Thứ hai","Thứ ba","Thứ tư","Thứ năm","Thứ sáu","Thứ bảy"],daysShort:["CN","Thứ 2","Thứ 3","Thứ 4","Thứ 5","Thứ 6","Thứ 7"],daysMin:["CN","T2","T3","T4","T5","T6","T7"],months:["Tháng 1","Tháng 2","Tháng 3","Tháng 4","Tháng 5","Tháng 6","Tháng 7","Tháng 8","Tháng 9","Tháng 10","Tháng 11","Tháng 12"],monthsShort:["Th1","Th2","Th3","Th4","Th5","Th6","Th7","Th8","Th9","Th10","Th11","Th12"],today:"Hôm nay",clear:"Xóa",format:"dd/mm/yyyy"}}(jQuery); \ No newline at end of file diff --git a/backend/components/datepicker/src/assets/js/locales/bootstrap-datepicker.zh-CN.min.js b/backend/components/datepicker/src/assets/js/locales/bootstrap-datepicker.zh-CN.min.js new file mode 100644 index 0000000..e4f80a8 --- /dev/null +++ b/backend/components/datepicker/src/assets/js/locales/bootstrap-datepicker.zh-CN.min.js @@ -0,0 +1 @@ +!function(a){a.fn.kvDatepicker.dates["zh-CN"]={days:["星期日","星期一","星期二","星期三","星期四","星期五","星期六"],daysShort:["周日","周一","周二","周三","周四","周五","周六"],daysMin:["日","一","二","三","四","五","六"],months:["一月","二月","三月","四月","五月","六月","七月","八月","九月","十月","十一月","十二月"],monthsShort:["1月","2月","3月","4月","5月","6月","7月","8月","9月","10月","11月","12月"],today:"今日",clear:"清除",format:"yyyy年mm月dd日",titleFormat:"yyyy年mm月",weekStart:1}}(jQuery); \ No newline at end of file diff --git a/backend/components/datepicker/src/assets/js/locales/bootstrap-datepicker.zh-TW.min.js b/backend/components/datepicker/src/assets/js/locales/bootstrap-datepicker.zh-TW.min.js new file mode 100644 index 0000000..b79cfdd --- /dev/null +++ b/backend/components/datepicker/src/assets/js/locales/bootstrap-datepicker.zh-TW.min.js @@ -0,0 +1 @@ +!function(a){a.fn.kvDatepicker.dates["zh-TW"]={days:["星期日","星期一","星期二","星期三","星期四","星期五","星期六"],daysShort:["週日","週一","週二","週三","週四","週五","週六"],daysMin:["日","一","二","三","四","五","六"],months:["一月","二月","三月","四月","五月","六月","七月","八月","九月","十月","十一月","十二月"],monthsShort:["1月","2月","3月","4月","5月","6月","7月","8月","9月","10月","11月","12月"],today:"今天",format:"yyyy年mm月dd日",weekStart:1,clear:"清除"}}(jQuery); \ No newline at end of file diff --git a/backend/components/datepicker/src/messages/config.php b/backend/components/datepicker/src/messages/config.php new file mode 100644 index 0000000..5b9e45a --- /dev/null +++ b/backend/components/datepicker/src/messages/config.php @@ -0,0 +1,52 @@ + __DIR__ . DIRECTORY_SEPARATOR . '..', + // string, required, root directory containing message translations. + 'messagePath' => __DIR__, + // array, required, list of language codes that the extracted messages + // should be translated to. For example, ['zh-CN', 'de']. + 'languages' => ['da', 'de', 'en', 'es', 'fr', 'hu', 'it', 'nl', 'pl', 'pt', 'ru', 'sv', 'th', 'vi', 'zh', 'gu', 'hi'], + // string, the name of the function for translating messages. + // Defaults to 'Yii::t'. This is used as a mark to find the messages to be + // translated. You may use a string for single function name or an array for + // multiple function names. + 'translator' => 'Yii::t', + // boolean, whether to sort messages by keys when merging new messages + // with the existing ones. Defaults to false, which means the new (untranslated) + // messages will be separated from the old (translated) ones. + 'sort' => false, + // boolean, whether the message file should be overwritten with the merged messages + 'overwrite' => true, + // boolean, whether to remove messages that no longer appear in the source code. + // Defaults to false, which means each of these messages will be enclosed with a pair of '' marks. + 'removeUnused' => false, + // array, list of patterns that specify which files/directories should NOT be processed. + // If empty or not set, all files/directories will be processed. + // A path matches a pattern if it contains the pattern string at its end. For example, + // '/a/b' will match all files and directories ending with '/a/b'; + // the '*.svn' will match all files and directories whose name ends with '.svn'. + // and the '.svn' will match all files and directories named exactly '.svn'. + // Note, the '/' characters in a pattern matches both '/' and '\'. + // See helpers/FileHelper::findFiles() description for more details on pattern matching rules. + 'only' => ['*.php'], + // array, list of patterns that specify which files (not directories) should be processed. + // If empty or not set, all files will be processed. + // Please refer to "except" for details about the patterns. + // If a file/directory matches both a pattern in "only" and "except", it will NOT be processed. + 'except' => [ + '.svn', + '.git', + '.gitignore', + '.gitkeep', + '.hgignore', + '.hgkeep', + '/messages', + ], + // Generated file format. Can be either "php", "po" or "db". + 'format' => 'php', + // When format is "db", you may specify the following two options + //'db' => 'db', + //'sourceMessageTable' => '{{%source_message}}', +]; diff --git a/backend/components/datepicker/src/messages/cs/kvdate.php b/backend/components/datepicker/src/messages/cs/kvdate.php new file mode 100644 index 0000000..5ac89c6 --- /dev/null +++ b/backend/components/datepicker/src/messages/cs/kvdate.php @@ -0,0 +1,22 @@ + 'Vymazat pole', + 'Select date' => 'Vybrat datum', +]; diff --git a/backend/components/datepicker/src/messages/da/kvdate.php b/backend/components/datepicker/src/messages/da/kvdate.php new file mode 100644 index 0000000..53d98e7 --- /dev/null +++ b/backend/components/datepicker/src/messages/da/kvdate.php @@ -0,0 +1,22 @@ + '', + 'Select date' => '', +]; diff --git a/backend/components/datepicker/src/messages/de/kvdate.php b/backend/components/datepicker/src/messages/de/kvdate.php new file mode 100644 index 0000000..dd7c2fd --- /dev/null +++ b/backend/components/datepicker/src/messages/de/kvdate.php @@ -0,0 +1,22 @@ + 'Feld löschen', + 'Select date' => 'Datum wählen', +]; diff --git a/backend/components/datepicker/src/messages/el-GR/kvdate.php b/backend/components/datepicker/src/messages/el-GR/kvdate.php new file mode 100644 index 0000000..7bddfd0 --- /dev/null +++ b/backend/components/datepicker/src/messages/el-GR/kvdate.php @@ -0,0 +1,22 @@ + 'Καθαρισμός', + 'Select date' => 'Επιλογή ημερ/νίας', +]; diff --git a/backend/components/datepicker/src/messages/en/kvdate.php b/backend/components/datepicker/src/messages/en/kvdate.php new file mode 100644 index 0000000..5763b63 --- /dev/null +++ b/backend/components/datepicker/src/messages/en/kvdate.php @@ -0,0 +1,22 @@ + '', + 'Select date' => '', +]; \ No newline at end of file diff --git a/backend/components/datepicker/src/messages/es/kvdate.php b/backend/components/datepicker/src/messages/es/kvdate.php new file mode 100644 index 0000000..d25f728 --- /dev/null +++ b/backend/components/datepicker/src/messages/es/kvdate.php @@ -0,0 +1,22 @@ + 'Limpiar campo', + 'Select date' => 'Seleccionar fecha', +]; \ No newline at end of file diff --git a/backend/components/datepicker/src/messages/et/kvdate.php b/backend/components/datepicker/src/messages/et/kvdate.php new file mode 100644 index 0000000..2f2d66c --- /dev/null +++ b/backend/components/datepicker/src/messages/et/kvdate.php @@ -0,0 +1,24 @@ + + */ +return [ + 'Clear field' => 'Puhasta väli', + 'Select date' => 'Vali kuupäev', +]; \ No newline at end of file diff --git a/backend/components/datepicker/src/messages/fr/kvdate.php b/backend/components/datepicker/src/messages/fr/kvdate.php new file mode 100644 index 0000000..8470223 --- /dev/null +++ b/backend/components/datepicker/src/messages/fr/kvdate.php @@ -0,0 +1,22 @@ + 'Effacer', + 'Select date' => 'Choisir la date', +]; diff --git a/backend/components/datepicker/src/messages/gu/kvdate.php b/backend/components/datepicker/src/messages/gu/kvdate.php new file mode 100644 index 0000000..54cec96 --- /dev/null +++ b/backend/components/datepicker/src/messages/gu/kvdate.php @@ -0,0 +1,24 @@ + + */ +return [ + 'Clear field' => 'ફીલ્ડ્ ખાલી કરો', + 'Select date' => 'તારીખ પસંદ કરો', +]; diff --git a/backend/components/datepicker/src/messages/hi/kvdate.php b/backend/components/datepicker/src/messages/hi/kvdate.php new file mode 100644 index 0000000..610fe94 --- /dev/null +++ b/backend/components/datepicker/src/messages/hi/kvdate.php @@ -0,0 +1,24 @@ + + */ +return [ + 'Clear field' => 'फील्ड् खाली करें', + 'Select date' => 'तारीख़ चुनें', +]; diff --git a/backend/components/datepicker/src/messages/hu/kvdate.php b/backend/components/datepicker/src/messages/hu/kvdate.php new file mode 100644 index 0000000..53d98e7 --- /dev/null +++ b/backend/components/datepicker/src/messages/hu/kvdate.php @@ -0,0 +1,22 @@ + '', + 'Select date' => '', +]; diff --git a/backend/components/datepicker/src/messages/id/kvdate.php b/backend/components/datepicker/src/messages/id/kvdate.php new file mode 100644 index 0000000..89783aa --- /dev/null +++ b/backend/components/datepicker/src/messages/id/kvdate.php @@ -0,0 +1,22 @@ + 'Bersihkan field', + 'Select date' => 'Pilih tanggal', +]; diff --git a/backend/components/datepicker/src/messages/it/kvdate.php b/backend/components/datepicker/src/messages/it/kvdate.php new file mode 100644 index 0000000..7f47079 --- /dev/null +++ b/backend/components/datepicker/src/messages/it/kvdate.php @@ -0,0 +1,24 @@ + + */ +return [ + 'Clear field' => 'Pulisci campo', + 'Select date' => 'Scegli data', +]; diff --git a/backend/components/datepicker/src/messages/ja/kvdate.php b/backend/components/datepicker/src/messages/ja/kvdate.php new file mode 100644 index 0000000..8ff9d08 --- /dev/null +++ b/backend/components/datepicker/src/messages/ja/kvdate.php @@ -0,0 +1,22 @@ + 'クリア', + 'Select date' => '日付を選択', +]; \ No newline at end of file diff --git a/backend/components/datepicker/src/messages/kk/kvdate.php b/backend/components/datepicker/src/messages/kk/kvdate.php new file mode 100644 index 0000000..abab65d --- /dev/null +++ b/backend/components/datepicker/src/messages/kk/kvdate.php @@ -0,0 +1,22 @@ + 'Күнін таңдау', + 'Clear field' => 'Тазарту', +]; diff --git a/backend/components/datepicker/src/messages/kvdate.php b/backend/components/datepicker/src/messages/kvdate.php new file mode 100644 index 0000000..634e845 --- /dev/null +++ b/backend/components/datepicker/src/messages/kvdate.php @@ -0,0 +1,22 @@ + 'Tyhjennä kenttä', + 'Select date' => 'Valitse päivämäärä', +]; \ No newline at end of file diff --git a/backend/components/datepicker/src/messages/lt/kvdate.php b/backend/components/datepicker/src/messages/lt/kvdate.php new file mode 100644 index 0000000..4a70146 --- /dev/null +++ b/backend/components/datepicker/src/messages/lt/kvdate.php @@ -0,0 +1,22 @@ + 'išvalyti lauką', + 'Select date' => 'Pasirinkti datą', +]; diff --git a/backend/components/datepicker/src/messages/lv/kvdate.php b/backend/components/datepicker/src/messages/lv/kvdate.php new file mode 100644 index 0000000..57e2360 --- /dev/null +++ b/backend/components/datepicker/src/messages/lv/kvdate.php @@ -0,0 +1,22 @@ + 'Notīrīt lauku', + 'Select date' => 'Izvēlēties datumu', +]; \ No newline at end of file diff --git a/backend/components/datepicker/src/messages/nl/kvdate.php b/backend/components/datepicker/src/messages/nl/kvdate.php new file mode 100644 index 0000000..6af4fe1 --- /dev/null +++ b/backend/components/datepicker/src/messages/nl/kvdate.php @@ -0,0 +1,22 @@ + 'Leeg veld', + 'Select date' => 'Selecteer datum', +]; diff --git a/backend/components/datepicker/src/messages/pl/kvdate.php b/backend/components/datepicker/src/messages/pl/kvdate.php new file mode 100644 index 0000000..35d6e17 --- /dev/null +++ b/backend/components/datepicker/src/messages/pl/kvdate.php @@ -0,0 +1,22 @@ + 'Wyczyść', + 'Select date' => 'Wybierz datę', +]; diff --git a/backend/components/datepicker/src/messages/pt/kvdate.php b/backend/components/datepicker/src/messages/pt/kvdate.php new file mode 100644 index 0000000..53d98e7 --- /dev/null +++ b/backend/components/datepicker/src/messages/pt/kvdate.php @@ -0,0 +1,22 @@ + '', + 'Select date' => '', +]; diff --git a/backend/components/datepicker/src/messages/ro/kvdate.php b/backend/components/datepicker/src/messages/ro/kvdate.php new file mode 100644 index 0000000..a411dec --- /dev/null +++ b/backend/components/datepicker/src/messages/ro/kvdate.php @@ -0,0 +1,22 @@ + 'Stergere camp', + 'Select date' => 'Selectare data', +]; diff --git a/backend/components/datepicker/src/messages/ru/kvdate.php b/backend/components/datepicker/src/messages/ru/kvdate.php new file mode 100644 index 0000000..608027b --- /dev/null +++ b/backend/components/datepicker/src/messages/ru/kvdate.php @@ -0,0 +1,22 @@ + 'Очистить поле', + 'Select date' => 'Выбрать дату', +]; diff --git a/backend/components/datepicker/src/messages/sk/kvdate.php b/backend/components/datepicker/src/messages/sk/kvdate.php new file mode 100644 index 0000000..6663e17 --- /dev/null +++ b/backend/components/datepicker/src/messages/sk/kvdate.php @@ -0,0 +1,22 @@ + 'Vymazať pole', + 'Select date' => 'Vybrať dátum', +]; diff --git a/backend/components/datepicker/src/messages/sv/kvdate.php b/backend/components/datepicker/src/messages/sv/kvdate.php new file mode 100644 index 0000000..37ba0cb --- /dev/null +++ b/backend/components/datepicker/src/messages/sv/kvdate.php @@ -0,0 +1,22 @@ + 'Rensa fält', + 'Select date' => 'Välj datum', +]; diff --git a/backend/components/datepicker/src/messages/th/kvdate.php b/backend/components/datepicker/src/messages/th/kvdate.php new file mode 100644 index 0000000..9cbfe36 --- /dev/null +++ b/backend/components/datepicker/src/messages/th/kvdate.php @@ -0,0 +1,22 @@ + 'ล้างข้อมูล', + 'Select date' => 'เลือกวันที่', +]; diff --git a/backend/components/datepicker/src/messages/tr/kvdate.php b/backend/components/datepicker/src/messages/tr/kvdate.php new file mode 100644 index 0000000..2c4cbd1 --- /dev/null +++ b/backend/components/datepicker/src/messages/tr/kvdate.php @@ -0,0 +1,5 @@ + 'Alanı Temizle', + 'Select date' => 'Tarih Seç', +]; diff --git a/backend/components/datepicker/src/messages/uk/kvdate.php b/backend/components/datepicker/src/messages/uk/kvdate.php new file mode 100644 index 0000000..49edd3c --- /dev/null +++ b/backend/components/datepicker/src/messages/uk/kvdate.php @@ -0,0 +1,22 @@ + 'Очистити поле', + 'Select date' => 'Обрати дату', +]; diff --git a/backend/components/datepicker/src/messages/vi/kvdate.php b/backend/components/datepicker/src/messages/vi/kvdate.php new file mode 100644 index 0000000..53d98e7 --- /dev/null +++ b/backend/components/datepicker/src/messages/vi/kvdate.php @@ -0,0 +1,22 @@ + '', + 'Select date' => '', +]; diff --git a/backend/components/datepicker/src/messages/zh/kvdate.php b/backend/components/datepicker/src/messages/zh/kvdate.php new file mode 100644 index 0000000..893821e --- /dev/null +++ b/backend/components/datepicker/src/messages/zh/kvdate.php @@ -0,0 +1,22 @@ + '清空栏目', + 'Select date' => '选择日期', +]; diff --git a/frontend/modules/reports/views/reports/_form.php b/frontend/modules/reports/views/reports/_form.php index eff9b57..c691f80 100755 --- a/frontend/modules/reports/views/reports/_form.php +++ b/frontend/modules/reports/views/reports/_form.php @@ -1,6 +1,6 @@