%PDF-1.5 %���� ºaâÚÎΞ-ÌE1ÍØÄ÷{òò2ÿ ÛÖ^ÔÀá TÎ{¦?§®¥kuµùÕ5sLOšuY
| Server IP : 14.207.165.8 / Your IP : 216.73.216.102 Web Server : Apache/2.4.18 (Ubuntu) System : Linux 246 4.4.0-210-generic #242-Ubuntu SMP Fri Apr 16 09:57:56 UTC 2021 x86_64 User : root ( 0) PHP Version : 7.0.33-0ubuntu0.16.04.16 Disable Function : exec,passthru,shell_exec,system,proc_open,popen,pcntl_exec MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : ON | Pkexec : ON Directory : /var/www/html/eoffice/frontend/web/assets/4b01d25c/js/ |
Upload File : |
/*!
* @copyright Copyright © Kartik Visweswaran, Krajee.com, 2014 - 2017
* @package yii2-widgets
* @subpackage yii2-widget-datepicker
* @version 1.4.3
*
* 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();
$el.find('.input-group-addon:not(.kv-date-calendar):not(.kv-date-remove)').each(function () {
var $addon = $(this);
$addon.on('click.kvdatepicker', function () {
$el.kvDatepicker('hide');
});
});
$el.find('.input-group-addon.kv-date-calendar').on('click.kvdatepicker', function () {
$id.focus();
});
};
})(window.jQuery);