1
0
mirror of https://github.com/tabler/tabler.git synced 2025-12-26 11:16:12 +04:00

Release 1.0.0-alpha.23

This commit is contained in:
codecalm
2021-02-09 01:08:08 +01:00
parent f49eb84828
commit e3d0b57b2e
172 changed files with 13476 additions and 3007 deletions

4
dist/css/demo.css vendored
View File

@@ -1,6 +1,6 @@
/*!
* Tabler v1.0.0-alpha.22 (https://tabler.io)
* @version 1.0.0-alpha.22
* Tabler v1.0.0-alpha.23 (https://tabler.io)
* @version 1.0.0-alpha.23
* @link https://tabler.io
* Copyright 2018-2021 The Tabler Authors
* Copyright 2018-2021 codecalm.net Paweł Kuna

File diff suppressed because one or more lines are too long

View File

@@ -1,6 +1,6 @@
/*!
* Tabler v1.0.0-alpha.22 (https://tabler.io)
* @version 1.0.0-alpha.22
* Tabler v1.0.0-alpha.23 (https://tabler.io)
* @version 1.0.0-alpha.23
* @link https://tabler.io
* Copyright 2018-2021 The Tabler Authors
* Copyright 2018-2021 codecalm.net Paweł Kuna

File diff suppressed because one or more lines are too long

View File

@@ -1,6 +1,6 @@
/*!
* Tabler v1.0.0-alpha.22 (https://tabler.io)
* @version 1.0.0-alpha.22
* Tabler v1.0.0-alpha.23 (https://tabler.io)
* @version 1.0.0-alpha.23
* @link https://tabler.io
* Copyright 2018-2021 The Tabler Authors
* Copyright 2018-2021 codecalm.net Paweł Kuna

View File

@@ -1,6 +1,6 @@
/*!
* Tabler v1.0.0-alpha.22 (https://tabler.io)
* @version 1.0.0-alpha.22
* Tabler v1.0.0-alpha.23 (https://tabler.io)
* @version 1.0.0-alpha.23
* @link https://tabler.io
* Copyright 2018-2021 The Tabler Authors
* Copyright 2018-2021 codecalm.net Paweł Kuna

View File

@@ -1,6 +1,6 @@
/*!
* Tabler v1.0.0-alpha.22 (https://tabler.io)
* @version 1.0.0-alpha.22
* Tabler v1.0.0-alpha.23 (https://tabler.io)
* @version 1.0.0-alpha.23
* @link https://tabler.io
* Copyright 2018-2021 The Tabler Authors
* Copyright 2018-2021 codecalm.net Paweł Kuna

View File

@@ -1,6 +1,6 @@
/*!
* Tabler v1.0.0-alpha.22 (https://tabler.io)
* @version 1.0.0-alpha.22
* Tabler v1.0.0-alpha.23 (https://tabler.io)
* @version 1.0.0-alpha.23
* @link https://tabler.io
* Copyright 2018-2021 The Tabler Authors
* Copyright 2018-2021 codecalm.net Paweł Kuna

View File

@@ -1,6 +1,6 @@
/*!
* Tabler v1.0.0-alpha.22 (https://tabler.io)
* @version 1.0.0-alpha.22
* Tabler v1.0.0-alpha.23 (https://tabler.io)
* @version 1.0.0-alpha.23
* @link https://tabler.io
* Copyright 2018-2021 The Tabler Authors
* Copyright 2018-2021 codecalm.net Paweł Kuna

View File

@@ -1,6 +1,6 @@
/*!
* Tabler v1.0.0-alpha.22 (https://tabler.io)
* @version 1.0.0-alpha.22
* Tabler v1.0.0-alpha.23 (https://tabler.io)
* @version 1.0.0-alpha.23
* @link https://tabler.io
* Copyright 2018-2021 The Tabler Authors
* Copyright 2018-2021 codecalm.net Paweł Kuna

View File

@@ -1,6 +1,6 @@
/*!
* Tabler v1.0.0-alpha.22 (https://tabler.io)
* @version 1.0.0-alpha.22
* Tabler v1.0.0-alpha.23 (https://tabler.io)
* @version 1.0.0-alpha.23
* @link https://tabler.io
* Copyright 2018-2021 The Tabler Authors
* Copyright 2018-2021 codecalm.net Paweł Kuna

View File

@@ -1,6 +1,6 @@
/*!
* Tabler v1.0.0-alpha.22 (https://tabler.io)
* @version 1.0.0-alpha.22
* Tabler v1.0.0-alpha.23 (https://tabler.io)
* @version 1.0.0-alpha.23
* @link https://tabler.io
* Copyright 2018-2021 The Tabler Authors
* Copyright 2018-2021 codecalm.net Paweł Kuna

View File

@@ -1,6 +1,6 @@
/*!
* Tabler v1.0.0-alpha.22 (https://tabler.io)
* @version 1.0.0-alpha.22
* Tabler v1.0.0-alpha.23 (https://tabler.io)
* @version 1.0.0-alpha.23
* @link https://tabler.io
* Copyright 2018-2021 The Tabler Authors
* Copyright 2018-2021 codecalm.net Paweł Kuna
@@ -82,106 +82,6 @@
background-color: #edf3fa;
padding: 0 .25rem; }
.flatpickr-input.flatpickr-input {
background: #ffffff; }
.flatpickr-input.flatpickr-input.active {
border-color: #90b5e2;
box-shadow: 0 0 0 0.25rem rgba(32, 107, 196, 0.25); }
.flatpickr-calendar {
background: #ffffff;
border: 1px solid rgba(101, 109, 119, 0.24);
border-radius: 4px;
padding: .5rem;
font-size: inherit;
box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15);
-webkit-user-select: none;
-moz-user-select: none;
-ms-user-select: none;
user-select: none;
margin-top: -1px; }
.flatpickr-calendar:before, .flatpickr-calendar:after {
content: none; }
.flatpickr-calendar .flatpickr-innerContainer,
.flatpickr-calendar .flatpickr-rContainer,
.flatpickr-calendar .dayContainer,
.flatpickr-calendar .flatpickr-days {
width: 100%; }
.flatpickr-calendar .dayContainer,
.flatpickr-calendar .flatpickr-day {
max-width: 100%;
min-width: 0; }
.flatpickr-calendar.inline {
width: 100%;
box-shadow: none;
margin: 0; }
.flatpickr-day {
color: inherit;
border-radius: 4px;
display: flex;
align-items: center;
line-height: 1; }
.flatpickr-day.flatpickr-disabled, .flatpickr-day.flatpickr-disabled:hover, .flatpickr-day.prevMonthDay, .flatpickr-day.nextMonthDay, .flatpickr-day.notAllowed, .flatpickr-day.notAllowed.prevMonthDay, .flatpickr-day.notAllowed.nextMonthDay {
color: inherit;
opacity: .2; }
.flatpickr-day.today {
border-color: #e6e8e9; }
.flatpickr-day.selected {
background-color: #206bc4; }
span.flatpickr-weekday {
font-size: 0.625rem;
font-weight: 600;
text-transform: uppercase;
letter-spacing: .04em;
line-height: 1.6;
color: #656d77; }
.flatpickr-months {
margin-bottom: .5rem; }
.flatpickr-months .flatpickr-month {
color: currentColor;
fill: currentColor; }
.flatpickr-months .flatpickr-current-month {
font-weight: 400; }
.flatpickr-months .flatpickr-monthDropdown-months {
-webkit-appearance: none;
-moz-appearance: none;
appearance: none;
font-weight: inherit; }
.flatpickr-months .flatpickr-prev-month,
.flatpickr-months .flatpickr-next-month {
position: static;
color: #656d77; }
.flatpickr-months .flatpickr-prev-month:hover,
.flatpickr-months .flatpickr-next-month:hover {
color: #232e3c; }
.flatpickr-months .flatpickr-prev-month svg,
.flatpickr-months .flatpickr-next-month svg {
display: block;
fill: currentColor !important; }
.flatpickr-months .numInputWrapper .cur-year {
font-weight: inherit; }
.flatpickr-months .numInputWrapper .arrowUp,
.flatpickr-months .numInputWrapper .arrowDown {
display: none; }
.flatpickr-day.inRange,
.flatpickr-day.prevMonthDay.inRange,
.flatpickr-day.nextMonthDay.inRange,
.flatpickr-day.today.inRange,
.flatpickr-day.prevMonthDay.today.inRange,
.flatpickr-day.nextMonthDay.today.inRange,
.flatpickr-day:hover,
.flatpickr-day.prevMonthDay:hover,
.flatpickr-day.nextMonthDay:hover,
.flatpickr-day:focus,
.flatpickr-day.prevMonthDay:focus,
.flatpickr-day.nextMonthDay:focus {
background: rgba(101, 109, 119, 0.06);
border-color: transparent; }
.noUi-target {
border: 0;
box-shadow: none;
@@ -218,3 +118,39 @@ span.flatpickr-weekday {
.noUi-connect {
background: currentColor; }
.litepicker {
--litepicker-month-weekday-color: #656d77;
--litepicker-button-prev-month-color: #656d77;
--litepicker-button-next-month-color: #656d77;
--litepicker-button-prev-month-color-hover: #206bc4;
--litepicker-button-next-month-color-hover: #206bc4;
--litepicker-day-color-hover: #206bc4;
--litepicker-is-end-color-bg: #206bc4;
--litepicker-is-today-color: #206bc4;
font: inherit;
-webkit-user-select: none;
-moz-user-select: none;
-ms-user-select: none;
user-select: none; }
.litepicker svg {
fill: none !important; }
.litepicker .container__months {
border: 1px solid rgba(101, 109, 119, 0.16);
border-radius: 4px;
box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15); }
.litepicker .container__months .month-item-name,
.litepicker .container__months .month-item-year {
font-weight: 500 !important; }
.litepicker .container__months .button-next-month,
.litepicker .container__months .button-prev-month {
cursor: pointer !important; }
.litepicker .container__months .month-item-weekdays-row > div {
padding: .5rem 0 !important;
font-size: 0.75rem; }
.litepicker .container__days .day-item {
cursor: pointer !important;
padding: .5rem 0 !important;
transition: .3s color, .3s background-color, .3s border-color; }
.datepicker-inline .litepicker .container__months {
box-shadow: none; }

File diff suppressed because one or more lines are too long

View File

@@ -1,6 +1,6 @@
/*!
* Tabler v1.0.0-alpha.22 (https://tabler.io)
* @version 1.0.0-alpha.22
* Tabler v1.0.0-alpha.23 (https://tabler.io)
* @version 1.0.0-alpha.23
* @link https://tabler.io
* Copyright 2018-2021 The Tabler Authors
* Copyright 2018-2021 codecalm.net Paweł Kuna
@@ -82,106 +82,6 @@
background-color: #edf3fa;
padding: 0 .25rem; }
.flatpickr-input.flatpickr-input {
background: #ffffff; }
.flatpickr-input.flatpickr-input.active {
border-color: #90b5e2;
box-shadow: 0 0 0 0.25rem rgba(32, 107, 196, 0.25); }
.flatpickr-calendar {
background: #ffffff;
border: 1px solid rgba(101, 109, 119, 0.24);
border-radius: 4px;
padding: .5rem;
font-size: inherit;
box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15);
-webkit-user-select: none;
-moz-user-select: none;
-ms-user-select: none;
user-select: none;
margin-top: -1px; }
.flatpickr-calendar:before, .flatpickr-calendar:after {
content: none; }
.flatpickr-calendar .flatpickr-innerContainer,
.flatpickr-calendar .flatpickr-rContainer,
.flatpickr-calendar .dayContainer,
.flatpickr-calendar .flatpickr-days {
width: 100%; }
.flatpickr-calendar .dayContainer,
.flatpickr-calendar .flatpickr-day {
max-width: 100%;
min-width: 0; }
.flatpickr-calendar.inline {
width: 100%;
box-shadow: none;
margin: 0; }
.flatpickr-day {
color: inherit;
border-radius: 4px;
display: flex;
align-items: center;
line-height: 1; }
.flatpickr-day.flatpickr-disabled, .flatpickr-day.flatpickr-disabled:hover, .flatpickr-day.prevMonthDay, .flatpickr-day.nextMonthDay, .flatpickr-day.notAllowed, .flatpickr-day.notAllowed.prevMonthDay, .flatpickr-day.notAllowed.nextMonthDay {
color: inherit;
opacity: .2; }
.flatpickr-day.today {
border-color: #e6e8e9; }
.flatpickr-day.selected {
background-color: #206bc4; }
span.flatpickr-weekday {
font-size: 0.625rem;
font-weight: 600;
text-transform: uppercase;
letter-spacing: .04em;
line-height: 1.6;
color: #656d77; }
.flatpickr-months {
margin-bottom: .5rem; }
.flatpickr-months .flatpickr-month {
color: currentColor;
fill: currentColor; }
.flatpickr-months .flatpickr-current-month {
font-weight: 400; }
.flatpickr-months .flatpickr-monthDropdown-months {
-webkit-appearance: none;
-moz-appearance: none;
appearance: none;
font-weight: inherit; }
.flatpickr-months .flatpickr-prev-month,
.flatpickr-months .flatpickr-next-month {
position: static;
color: #656d77; }
.flatpickr-months .flatpickr-prev-month:hover,
.flatpickr-months .flatpickr-next-month:hover {
color: #232e3c; }
.flatpickr-months .flatpickr-prev-month svg,
.flatpickr-months .flatpickr-next-month svg {
display: block;
fill: currentColor !important; }
.flatpickr-months .numInputWrapper .cur-year {
font-weight: inherit; }
.flatpickr-months .numInputWrapper .arrowUp,
.flatpickr-months .numInputWrapper .arrowDown {
display: none; }
.flatpickr-day.inRange,
.flatpickr-day.prevMonthDay.inRange,
.flatpickr-day.nextMonthDay.inRange,
.flatpickr-day.today.inRange,
.flatpickr-day.prevMonthDay.today.inRange,
.flatpickr-day.nextMonthDay.today.inRange,
.flatpickr-day:hover,
.flatpickr-day.prevMonthDay:hover,
.flatpickr-day.nextMonthDay:hover,
.flatpickr-day:focus,
.flatpickr-day.prevMonthDay:focus,
.flatpickr-day.nextMonthDay:focus {
background: rgba(101, 109, 119, 0.06);
border-color: transparent; }
.noUi-target {
border: 0;
box-shadow: none;
@@ -218,3 +118,39 @@ span.flatpickr-weekday {
.noUi-connect {
background: currentColor; }
.litepicker {
--litepicker-month-weekday-color: #656d77;
--litepicker-button-prev-month-color: #656d77;
--litepicker-button-next-month-color: #656d77;
--litepicker-button-prev-month-color-hover: #206bc4;
--litepicker-button-next-month-color-hover: #206bc4;
--litepicker-day-color-hover: #206bc4;
--litepicker-is-end-color-bg: #206bc4;
--litepicker-is-today-color: #206bc4;
font: inherit;
-webkit-user-select: none;
-moz-user-select: none;
-ms-user-select: none;
user-select: none; }
.litepicker svg {
fill: none !important; }
.litepicker .container__months {
border: 1px solid rgba(101, 109, 119, 0.16);
border-radius: 4px;
box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15); }
.litepicker .container__months .month-item-name,
.litepicker .container__months .month-item-year {
font-weight: 500 !important; }
.litepicker .container__months .button-next-month,
.litepicker .container__months .button-prev-month {
cursor: pointer !important; }
.litepicker .container__months .month-item-weekdays-row > div {
padding: .5rem 0 !important;
font-size: 0.75rem; }
.litepicker .container__days .day-item {
cursor: pointer !important;
padding: .5rem 0 !important;
transition: .3s color, .3s background-color, .3s border-color; }
.datepicker-inline .litepicker .container__months {
box-shadow: none; }

File diff suppressed because one or more lines are too long

14
dist/css/tabler.css vendored
View File

@@ -1,6 +1,6 @@
/*!
* Tabler v1.0.0-alpha.22 (https://tabler.io)
* @version 1.0.0-alpha.22
* Tabler v1.0.0-alpha.23 (https://tabler.io)
* @version 1.0.0-alpha.23
* @link https://tabler.io
* Copyright 2018-2021 The Tabler Authors
* Copyright 2018-2021 codecalm.net Paweł Kuna
@@ -10505,7 +10505,7 @@ Form switch
height: 1.125rem;
margin-top: 0.0625rem; }
.form-control.is-valid-lite, .form-control.is-invalid-lite {
.form-control.is-valid-lite, .form-select.is-valid-lite, .form-control.is-invalid-lite, .form-select.is-invalid-lite {
border-color: #e6e8e9; }
.legend {
@@ -12469,8 +12469,7 @@ Antialiasing
.theme-dark .footer:not(.footer-transparent),
.theme-dark .modal-content,
.theme-dark .modal-header,
.theme-dark .dropdown-menu,
.theme-dark .flatpickr-calendar {
.theme-dark .dropdown-menu {
background-color: #232e3c;
color: inherit; }
.theme-dark .card {
@@ -12489,7 +12488,6 @@ Antialiasing
.theme-dark .form-file-text,
.theme-dark .form-control,
.theme-dark .form-selectgroup-label,
.theme-dark .flatpickr-input.flatpickr-input,
.theme-dark .form-selectgroup-check,
.theme-dark .form-imagecheck-figure:before {
background-color: #1f2936;
@@ -12535,8 +12533,7 @@ Antialiasing
.theme-dark-auto .footer:not(.footer-transparent),
.theme-dark-auto .modal-content,
.theme-dark-auto .modal-header,
.theme-dark-auto .dropdown-menu,
.theme-dark-auto .flatpickr-calendar {
.theme-dark-auto .dropdown-menu {
background-color: #232e3c;
color: inherit; }
.theme-dark-auto .card {
@@ -12555,7 +12552,6 @@ Antialiasing
.theme-dark-auto .form-file-text,
.theme-dark-auto .form-control,
.theme-dark-auto .form-selectgroup-label,
.theme-dark-auto .flatpickr-input.flatpickr-input,
.theme-dark-auto .form-selectgroup-check,
.theme-dark-auto .form-imagecheck-figure:before {
background-color: #1f2936;

File diff suppressed because one or more lines are too long

View File

@@ -1,6 +1,6 @@
/*!
* Tabler v1.0.0-alpha.22 (https://tabler.io)
* @version 1.0.0-alpha.22
* Tabler v1.0.0-alpha.23 (https://tabler.io)
* @version 1.0.0-alpha.23
* @link https://tabler.io
* Copyright 2018-2021 The Tabler Authors
* Copyright 2018-2021 codecalm.net Paweł Kuna
@@ -10483,7 +10483,7 @@ Form switch
height: 1.125rem;
margin-top: 0.0625rem; }
.form-control.is-valid-lite, .form-control.is-invalid-lite {
.form-control.is-valid-lite, .form-select.is-valid-lite, .form-control.is-invalid-lite, .form-select.is-invalid-lite {
border-color: #e6e8e9; }
.legend {
@@ -12447,8 +12447,7 @@ Antialiasing
.theme-dark .footer:not(.footer-transparent),
.theme-dark .modal-content,
.theme-dark .modal-header,
.theme-dark .dropdown-menu,
.theme-dark .flatpickr-calendar {
.theme-dark .dropdown-menu {
background-color: #232e3c;
color: inherit; }
.theme-dark .card {
@@ -12467,7 +12466,6 @@ Antialiasing
.theme-dark .form-file-text,
.theme-dark .form-control,
.theme-dark .form-selectgroup-label,
.theme-dark .flatpickr-input.flatpickr-input,
.theme-dark .form-selectgroup-check,
.theme-dark .form-imagecheck-figure:before {
background-color: #1f2936;
@@ -12513,8 +12511,7 @@ Antialiasing
.theme-dark-auto .footer:not(.footer-transparent),
.theme-dark-auto .modal-content,
.theme-dark-auto .modal-header,
.theme-dark-auto .dropdown-menu,
.theme-dark-auto .flatpickr-calendar {
.theme-dark-auto .dropdown-menu {
background-color: #232e3c;
color: inherit; }
.theme-dark-auto .card {
@@ -12533,7 +12530,6 @@ Antialiasing
.theme-dark-auto .form-file-text,
.theme-dark-auto .form-control,
.theme-dark-auto .form-selectgroup-label,
.theme-dark-auto .flatpickr-input.flatpickr-input,
.theme-dark-auto .form-selectgroup-check,
.theme-dark-auto .form-imagecheck-figure:before {
background-color: #1f2936;

File diff suppressed because one or more lines are too long

5098
dist/js/tabler.js vendored

File diff suppressed because it is too large Load Diff

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@@ -1,171 +0,0 @@
(function (global, factory) {
typeof exports === 'object' && typeof module !== 'undefined' ? module.exports = factory() :
typeof define === 'function' && define.amd ? define(factory) :
(global = typeof globalThis !== 'undefined' ? globalThis : global || self, global.rangePlugin = factory());
}(this, (function () { 'use strict';
/*! *****************************************************************************
Copyright (c) Microsoft Corporation.
Permission to use, copy, modify, and/or distribute this software for any
purpose with or without fee is hereby granted.
THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
PERFORMANCE OF THIS SOFTWARE.
***************************************************************************** */
function __spreadArrays() {
for (var s = 0, i = 0, il = arguments.length; i < il; i++) s += arguments[i].length;
for (var r = Array(s), k = 0, i = 0; i < il; i++)
for (var a = arguments[i], j = 0, jl = a.length; j < jl; j++, k++)
r[k] = a[j];
return r;
}
function rangePlugin(config) {
if (config === void 0) { config = {}; }
return function (fp) {
var dateFormat = "", secondInput, _secondInputFocused, _prevDates;
var createSecondInput = function () {
if (config.input) {
secondInput =
config.input instanceof Element
? config.input
: window.document.querySelector(config.input);
if (!secondInput) {
fp.config.errorHandler(new Error("Invalid input element specified"));
return;
}
if (fp.config.wrap) {
secondInput = secondInput.querySelector("[data-input]");
}
}
else {
secondInput = fp._input.cloneNode();
secondInput.removeAttribute("id");
secondInput._flatpickr = undefined;
}
if (secondInput.value) {
var parsedDate = fp.parseDate(secondInput.value);
if (parsedDate)
fp.selectedDates.push(parsedDate);
}
secondInput.setAttribute("data-fp-omit", "");
if (fp.config.clickOpens) {
fp._bind(secondInput, ["focus", "click"], function () {
if (fp.selectedDates[1]) {
fp.latestSelectedDateObj = fp.selectedDates[1];
fp._setHoursFromDate(fp.selectedDates[1]);
fp.jumpToDate(fp.selectedDates[1]);
}
_secondInputFocused = true;
fp.isOpen = false;
fp.open(undefined, config.position === "left" ? fp._input : secondInput);
});
fp._bind(fp._input, ["focus", "click"], function (e) {
e.preventDefault();
fp.isOpen = false;
fp.open();
});
}
if (fp.config.allowInput)
fp._bind(secondInput, "keydown", function (e) {
if (e.key === "Enter") {
fp.setDate([fp.selectedDates[0], secondInput.value], true, dateFormat);
secondInput.click();
}
});
if (!config.input)
fp._input.parentNode &&
fp._input.parentNode.insertBefore(secondInput, fp._input.nextSibling);
};
var plugin = {
onParseConfig: function () {
fp.config.mode = "range";
dateFormat = fp.config.altInput
? fp.config.altFormat
: fp.config.dateFormat;
},
onReady: function () {
createSecondInput();
fp.config.ignoredFocusElements.push(secondInput);
if (fp.config.allowInput) {
fp._input.removeAttribute("readonly");
secondInput.removeAttribute("readonly");
}
else {
secondInput.setAttribute("readonly", "readonly");
}
fp._bind(fp._input, "focus", function () {
fp.latestSelectedDateObj = fp.selectedDates[0];
fp._setHoursFromDate(fp.selectedDates[0]);
_secondInputFocused = false;
fp.jumpToDate(fp.selectedDates[0]);
});
if (fp.config.allowInput)
fp._bind(fp._input, "keydown", function (e) {
if (e.key === "Enter")
fp.setDate([fp._input.value, fp.selectedDates[1]], true, dateFormat);
});
fp.setDate(fp.selectedDates, false);
plugin.onValueUpdate(fp.selectedDates);
fp.loadedPlugins.push("range");
},
onPreCalendarPosition: function () {
if (_secondInputFocused) {
fp._positionElement = secondInput;
setTimeout(function () {
fp._positionElement = fp._input;
}, 0);
}
},
onChange: function () {
if (!fp.selectedDates.length) {
setTimeout(function () {
if (fp.selectedDates.length)
return;
secondInput.value = "";
_prevDates = [];
}, 10);
}
if (_secondInputFocused) {
setTimeout(function () {
secondInput.focus();
}, 0);
}
},
onDestroy: function () {
if (!config.input)
secondInput.parentNode &&
secondInput.parentNode.removeChild(secondInput);
},
onValueUpdate: function (selDates) {
var _a, _b, _c;
if (!secondInput)
return;
_prevDates =
!_prevDates || selDates.length >= _prevDates.length
? __spreadArrays(selDates) : _prevDates;
if (_prevDates.length > selDates.length) {
var newSelectedDate = selDates[0];
var newDates = _secondInputFocused
? [_prevDates[0], newSelectedDate]
: [newSelectedDate, _prevDates[1]];
fp.setDate(newDates, false);
_prevDates = __spreadArrays(newDates);
}
_a = fp.selectedDates.map(function (d) { return fp.formatDate(d, dateFormat); }), _b = _a[0], fp._input.value = _b === void 0 ? "" : _b, _c = _a[1], secondInput.value = _c === void 0 ? "" : _c;
},
};
return plugin;
};
}
return rangePlugin;
})));

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@@ -1 +0,0 @@
.jqvmap-label,.jqvmap-pin{pointer-events:none}.jqvmap-label{position:absolute;display:none;-webkit-border-radius:3px;-moz-border-radius:3px;border-radius:3px;background:#292929;color:#fff;font-family:sans-serif,Verdana;font-size:smaller;padding:3px}.jqvmap-zoomin,.jqvmap-zoomout{position:absolute;left:10px;-webkit-border-radius:3px;-moz-border-radius:3px;border-radius:3px;background:#000;padding:3px;color:#fff;width:10px;height:10px;cursor:pointer;line-height:10px;text-align:center}.jqvmap-zoomin{top:10px}.jqvmap-zoomout{top:30px}.jqvmap-region{cursor:pointer}.jqvmap-ajax_response{width:100%;height:500px}

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

12
dist/libs/litepicker/dist/litepicker.js vendored Normal file

File diff suppressed because one or more lines are too long

View File

@@ -1,333 +0,0 @@
/**
* selectize.css (v0.12.6)
* Copyright (c) 20132015 Brian Reavis & contributors
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not use this
* file except in compliance with the License. You may obtain a copy of the License at:
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software distributed under
* the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF
* ANY KIND, either express or implied. See the License for the specific language
* governing permissions and limitations under the License.
*
* @author Brian Reavis <brian@thirdroute.com>
*/
.selectize-control.plugin-drag_drop.multi > .selectize-input > div.ui-sortable-placeholder {
visibility: visible !important;
background: #f2f2f2 !important;
background: rgba(0, 0, 0, 0.06) !important;
border: 0 none !important;
-webkit-box-shadow: inset 0 0 12px 4px #fff;
box-shadow: inset 0 0 12px 4px #fff;
}
.selectize-control.plugin-drag_drop .ui-sortable-placeholder::after {
content: '!';
visibility: hidden;
}
.selectize-control.plugin-drag_drop .ui-sortable-helper {
-webkit-box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}
.selectize-dropdown-header {
position: relative;
padding: 5px 8px;
border-bottom: 1px solid #d0d0d0;
background: #f8f8f8;
-webkit-border-radius: 3px 3px 0 0;
-moz-border-radius: 3px 3px 0 0;
border-radius: 3px 3px 0 0;
}
.selectize-dropdown-header-close {
position: absolute;
right: 8px;
top: 50%;
color: #303030;
opacity: 0.4;
margin-top: -12px;
line-height: 20px;
font-size: 20px !important;
}
.selectize-dropdown-header-close:hover {
color: #000000;
}
.selectize-dropdown.plugin-optgroup_columns .optgroup {
border-right: 1px solid #f2f2f2;
border-top: 0 none;
float: left;
-webkit-box-sizing: border-box;
-moz-box-sizing: border-box;
box-sizing: border-box;
}
.selectize-dropdown.plugin-optgroup_columns .optgroup:last-child {
border-right: 0 none;
}
.selectize-dropdown.plugin-optgroup_columns .optgroup:before {
display: none;
}
.selectize-dropdown.plugin-optgroup_columns .optgroup-header {
border-top: 0 none;
}
.selectize-control.plugin-remove_button [data-value] {
position: relative;
padding-right: 24px !important;
}
.selectize-control.plugin-remove_button [data-value] .remove {
z-index: 1;
/* fixes ie bug (see #392) */
position: absolute;
top: 0;
right: 0;
bottom: 0;
width: 17px;
text-align: center;
font-weight: bold;
font-size: 12px;
color: inherit;
text-decoration: none;
vertical-align: middle;
display: inline-block;
padding: 2px 0 0 0;
border-left: 1px solid #d0d0d0;
-webkit-border-radius: 0 2px 2px 0;
-moz-border-radius: 0 2px 2px 0;
border-radius: 0 2px 2px 0;
-webkit-box-sizing: border-box;
-moz-box-sizing: border-box;
box-sizing: border-box;
}
.selectize-control.plugin-remove_button [data-value] .remove:hover {
background: rgba(0, 0, 0, 0.05);
}
.selectize-control.plugin-remove_button [data-value].active .remove {
border-left-color: #cacaca;
}
.selectize-control.plugin-remove_button .disabled [data-value] .remove:hover {
background: none;
}
.selectize-control.plugin-remove_button .disabled [data-value] .remove {
border-left-color: #ffffff;
}
.selectize-control.plugin-remove_button .remove-single {
position: absolute;
right: 0;
top: 0;
font-size: 23px;
}
.selectize-control {
position: relative;
}
.selectize-dropdown,
.selectize-input,
.selectize-input input {
color: #303030;
font-family: inherit;
font-size: 13px;
line-height: 18px;
-webkit-font-smoothing: inherit;
}
.selectize-input,
.selectize-control.single .selectize-input.input-active {
background: #fff;
cursor: text;
display: inline-block;
}
.selectize-input {
border: 1px solid #d0d0d0;
padding: 8px 8px;
display: inline-block;
width: 100%;
overflow: hidden;
position: relative;
z-index: 1;
-webkit-box-sizing: border-box;
-moz-box-sizing: border-box;
box-sizing: border-box;
-webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.1);
box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.1);
-webkit-border-radius: 3px;
-moz-border-radius: 3px;
border-radius: 3px;
}
.selectize-control.multi .selectize-input.has-items {
padding: 6px 8px 3px;
}
.selectize-input.full {
background-color: #fff;
}
.selectize-input.disabled,
.selectize-input.disabled * {
cursor: default !important;
}
.selectize-input.focus {
-webkit-box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.15);
box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.15);
}
.selectize-input.dropdown-active {
-webkit-border-radius: 3px 3px 0 0;
-moz-border-radius: 3px 3px 0 0;
border-radius: 3px 3px 0 0;
}
.selectize-input > * {
vertical-align: baseline;
display: -moz-inline-stack;
display: inline-block;
zoom: 1;
*display: inline;
}
.selectize-control.multi .selectize-input > div {
cursor: pointer;
margin: 0 3px 3px 0;
padding: 2px 6px;
background: #f2f2f2;
color: #303030;
border: 0 solid #d0d0d0;
}
.selectize-control.multi .selectize-input > div.active {
background: #e8e8e8;
color: #303030;
border: 0 solid #cacaca;
}
.selectize-control.multi .selectize-input.disabled > div,
.selectize-control.multi .selectize-input.disabled > div.active {
color: #7d7d7d;
background: #ffffff;
border: 0 solid #ffffff;
}
.selectize-input > input {
display: inline-block !important;
padding: 0 !important;
min-height: 0 !important;
max-height: none !important;
max-width: 100% !important;
margin: 0 2px 0 0 !important;
text-indent: 0 !important;
border: 0 none !important;
background: none !important;
line-height: inherit !important;
-webkit-user-select: auto !important;
-webkit-box-shadow: none !important;
box-shadow: none !important;
}
.selectize-input > input::-ms-clear {
display: none;
}
.selectize-input > input:focus {
outline: none !important;
}
.selectize-input::after {
content: ' ';
display: block;
clear: left;
}
.selectize-input.dropdown-active::before {
content: ' ';
display: block;
position: absolute;
background: #f0f0f0;
height: 1px;
bottom: 0;
left: 0;
right: 0;
}
.selectize-dropdown {
position: absolute;
z-index: 10;
border: 1px solid #d0d0d0;
background: #fff;
margin: -1px 0 0 0;
border-top: 0 none;
-webkit-box-sizing: border-box;
-moz-box-sizing: border-box;
box-sizing: border-box;
-webkit-box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
-webkit-border-radius: 0 0 3px 3px;
-moz-border-radius: 0 0 3px 3px;
border-radius: 0 0 3px 3px;
}
.selectize-dropdown [data-selectable] {
cursor: pointer;
overflow: hidden;
}
.selectize-dropdown [data-selectable] .highlight {
background: rgba(125, 168, 208, 0.2);
-webkit-border-radius: 1px;
-moz-border-radius: 1px;
border-radius: 1px;
}
.selectize-dropdown .option,
.selectize-dropdown .optgroup-header {
padding: 5px 8px;
}
.selectize-dropdown .option,
.selectize-dropdown [data-disabled],
.selectize-dropdown [data-disabled] [data-selectable].option {
cursor: inherit;
opacity: 0.5;
}
.selectize-dropdown [data-selectable].option {
opacity: 1;
}
.selectize-dropdown .optgroup:first-child .optgroup-header {
border-top: 0 none;
}
.selectize-dropdown .optgroup-header {
color: #303030;
background: #fff;
cursor: default;
}
.selectize-dropdown .active {
background-color: #f5fafd;
color: #495c68;
}
.selectize-dropdown .active.create {
color: #495c68;
}
.selectize-dropdown .create {
color: rgba(48, 48, 48, 0.5);
}
.selectize-dropdown-content {
overflow-y: auto;
overflow-x: hidden;
max-height: 200px;
-webkit-overflow-scrolling: touch;
}
.selectize-control.single .selectize-input,
.selectize-control.single .selectize-input input {
cursor: pointer;
}
.selectize-control.single .selectize-input.input-active,
.selectize-control.single .selectize-input.input-active input {
cursor: text;
}
.selectize-control.single .selectize-input:after {
content: ' ';
display: block;
position: absolute;
top: 50%;
right: 15px;
margin-top: -3px;
width: 0;
height: 0;
border-style: solid;
border-width: 5px 5px 0 5px;
border-color: #808080 transparent transparent transparent;
}
.selectize-control.single .selectize-input.dropdown-active:after {
margin-top: -4px;
border-width: 0 5px 5px 5px;
border-color: transparent transparent #808080 transparent;
}
.selectize-control.rtl.single .selectize-input:after {
left: 15px;
right: auto;
}
.selectize-control.rtl .selectize-input > input {
margin: 0 4px 0 -2px !important;
}
.selectize-control .selectize-input.disabled {
opacity: 0.5;
background-color: #fafafa;
}

File diff suppressed because one or more lines are too long