Permalink
Browse files

Update dependencies

  • Loading branch information...
almasaeed2010 committed Feb 4, 2018
1 parent 278785a commit 281bb899b54a0163656e3fea21bebea4635989e1
Showing 1,333 changed files with 33,733 additions and 110,629 deletions.
@@ -58,5 +58,8 @@
"font-awesome": "^4.7.0",
"Ionicons": "ionicons#^2.0.1",
"jquery-ui": "1.11.4"
},
"resolutions": {
"jquery": "^3.2.1"
}
}
@@ -18,12 +18,12 @@
"moment": ">=2.9.0"
},
"homepage": "https://github.com/dangrossman/bootstrap-daterangepicker",
"version": "2.1.25",
"_release": "2.1.25",
"version": "2.1.27",
"_release": "2.1.27",
"_resolution": {
"type": "version",
"tag": "v2.1.25",
"commit": "29bbf5a04df69fda363cedb534272ac344524e57"
"tag": "v2.1.27",
"commit": "d4aabfbceaf57117e1af33f3f82e92162719eee9"
},
"_source": "https://github.com/dangrossman/bootstrap-daterangepicker.git",
"_target": "^2.1.25",
@@ -23,7 +23,7 @@ for convenience. It is available under the [MIT license](http://www.opensource.o
The MIT License (MIT)
Copyright (c) 2012-2016 Dan Grossman
Copyright (c) 2012-2017 Dan Grossman
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
@@ -1,16 +1,17 @@
/**
* @version: 2.1.25
* @version: 2.1.27
* @author: Dan Grossman http://www.dangrossman.info/
* @copyright: Copyright (c) 2012-2017 Dan Grossman. All rights reserved.
* @license: Licensed under the MIT license. See http://www.opensource.org/licenses/mit-license.php
* @website: https://www.daterangepicker.com/
* @website: http://www.daterangepicker.com/
*/
// Follow the UMD template https://github.com/umdjs/umd/blob/master/templates/returnExportsGlobal.js
(function (root, factory) {
if (typeof define === 'function' && define.amd) {
// AMD. Make globaly available as well
define(['moment', 'jquery'], function (moment, jquery) {
return (root.daterangepicker = factory(moment, jquery));
if (!jquery.fn) jquery.fn = {}; // webpack server rendering
return factory(moment, jquery);
});
} else if (typeof module === 'object' && module.exports) {
// Node / Browserify
@@ -20,7 +21,8 @@
jQuery = require('jquery');
if (!jQuery.fn) jQuery.fn = {};
}
module.exports = factory(require('moment'), jQuery);
var moment = (typeof window != 'undefined' && typeof window.moment != 'undefined') ? window.moment : require('moment');
module.exports = factory(moment, jQuery);
} else {
// Browser globals
root.daterangepicker = factory(root.moment, root.jQuery);
@@ -422,7 +424,8 @@
.on('click.daterangepicker', '.daterangepicker_input input', $.proxy(this.showCalendars, this))
.on('focus.daterangepicker', '.daterangepicker_input input', $.proxy(this.formInputsFocused, this))
.on('blur.daterangepicker', '.daterangepicker_input input', $.proxy(this.formInputsBlurred, this))
.on('change.daterangepicker', '.daterangepicker_input input', $.proxy(this.formInputsChanged, this));
.on('change.daterangepicker', '.daterangepicker_input input', $.proxy(this.formInputsChanged, this))
.on('keydown.daterangepicker', '.daterangepicker_input input', $.proxy(this.formInputsKeydown, this));
this.container.find('.ranges')
.on('click.daterangepicker', 'button.applyBtn', $.proxy(this.clickApply, this))
@@ -436,10 +439,11 @@
'click.daterangepicker': $.proxy(this.show, this),
'focus.daterangepicker': $.proxy(this.show, this),
'keyup.daterangepicker': $.proxy(this.elementChanged, this),
'keydown.daterangepicker': $.proxy(this.keydown, this)
'keydown.daterangepicker': $.proxy(this.keydown, this) //IE 11 compatibility
});
} else {
this.element.on('click.daterangepicker', $.proxy(this.toggle, this));
this.element.on('keydown.daterangepicker', $.proxy(this.toggle, this));
}
//
@@ -499,7 +503,7 @@
this.endDate = moment(endDate);
if (!this.timePicker)
this.endDate = this.endDate.endOf('day');
this.endDate = this.endDate.add(1,'d').startOf('day').subtract(1,'second');
if (this.timePicker && this.timePickerIncrement)
this.endDate.minute(Math.round(this.endDate.minute() / this.timePickerIncrement) * this.timePickerIncrement);
@@ -1370,8 +1374,10 @@
var customRange = true;
var i = 0;
for (var range in this.ranges) {
if (this.timePicker) {
if (this.startDate.isSame(this.ranges[range][0]) && this.endDate.isSame(this.ranges[range][1])) {
if (this.timePicker) {
var format = this.timePickerSeconds ? "YYYY-MM-DD hh:mm:ss" : "YYYY-MM-DD hh:mm";
//ignore times when comparing dates if time picker seconds is not enabled
if (this.startDate.format(format) == this.ranges[range][0].format(format) && this.endDate.format(format) == this.ranges[range][1].format(format)) {
customRange = false;
this.chosenLabel = this.container.find('.ranges li:eq(' + i + ')').addClass('active').html();
break;
@@ -1560,10 +1566,22 @@
},
formInputsKeydown: function(e) {
// This function ensures that if the 'enter' key was pressed in the input, then the calendars
// are updated with the startDate and endDate.
// This behaviour is automatic in Chrome/Firefox/Edge but not in IE 11 hence why this exists.
// Other browsers and versions of IE are untested and the behaviour is unknown.
if (e.keyCode === 13) {
// Prevent the calendar from being updated twice on Chrome/Firefox/Edge
e.preventDefault();
this.formInputsChanged(e);
}
},
elementChanged: function() {
if (!this.element.is('input')) return;
if (!this.element.val().length) return;
if (this.element.val().length < this.locale.format.length) return;
var dateString = this.element.val().split(this.locale.separator),
start = null,
@@ -1591,6 +1609,14 @@
if ((e.keyCode === 9) || (e.keyCode === 13)) {
this.hide();
}
//hide on esc and prevent propagation
if (e.keyCode === 27) {
e.preventDefault();
e.stopPropagation();
this.hide();
}
},
updateElement: function() {
@@ -1612,11 +1638,12 @@
};
$.fn.daterangepicker = function(options, callback) {
var implementOptions = $.extend(true, {}, $.fn.daterangepicker.defaultOptions, options);
this.each(function() {
var el = $(this);
if (el.data('daterangepicker'))
el.data('daterangepicker').remove();
el.data('daterangepicker', new DateRangePicker(el, options, callback));
el.data('daterangepicker', new DateRangePicker(el, implementOptions, callback));
});
return this;
};
@@ -1,6 +1,6 @@
Package.describe({
name: 'dangrossman:bootstrap-daterangepicker',
version: '2.1.25',
version: '2.1.27',
summary: 'Date range picker component for Bootstrap',
git: 'https://github.com/dangrossman/bootstrap-daterangepicker',
documentation: 'README.md'
@@ -1,6 +1,6 @@
{
"name": "bootstrap-daterangepicker",
"version": "2.1.25",
"version": "2.1.27",
"description": "Date range picker component for Bootstrap",
"main": "daterangepicker.js",
"style": "daterangepicker.css",
@@ -39,15 +39,6 @@
</li>
</ul>
<ul class="nav navbar-nav navbar-right">
<li>
<a href="http://www.websitegoodies.com" rel="nofollow" style="background: #f49a16">
<span class="fa-stack">
<i class="fa fa-circle fa-stack-2x"></i>
<i class="fa fa-wrench fa-stack-1x fa-inverse" style="color: #f49a16"></i>
</span>
Website Goodies
</a>
</li>
<li>
<a href="https://www.improvely.com" rel="nofollow" style="background: #00caff">
<span class="fa-stack">
@@ -67,12 +58,12 @@
</a>
</li>
<li>
<a href="https://www.visitorboost.com" rel="nofollow" style="background: #f55443">
<a href="http://www.websitegoodies.com" rel="nofollow" style="background: #06c">
<span class="fa-stack">
<i class="fa fa-circle fa-stack-2x"></i>
<i class="fa fa-line-chart fa-stack-1x fa-inverse" style="color: #f55443"></i>
<i class="fa fa-wrench fa-stack-1x fa-inverse" style="color: #06c"></i>
</span>
Visitor Boost
Website Goodies
</a>
</li>
</ul>
@@ -210,7 +201,7 @@ <h3>Date Range Picker</h3>
</div>
<div class="col-md-4 col-xs-12">
<h4>Demo:</h4>
<input class="pull-right" type="text" name="daterange" value="01/15/2015 - 02/15/2015" />
<input class="pull-right" type="text" name="daterange" value="01/15/2017 - 02/15/2017" />
</div>
</div>
@@ -238,7 +229,7 @@ <h3>Date and Time</h3>
</div>
<div class="col-md-5 col-xs-12">
<h4>Demo:</h4>
<input class="pull-right" type="text" name="daterange2" value="01/01/2015 1:30 PM - 01/01/2015 2:00 PM" />
<input class="pull-right" type="text" name="daterange2" value="01/01/2017 1:30 PM - 01/01/2017 2:00 PM" />
</div>
</div>
@@ -410,12 +401,12 @@ <h2>Configuration Generator</h2>
<div class="form-group">
<label for="startDate">startDate</label>
<input type="text" class="form-control" id="startDate" value="07/01/2015">
<input type="text" class="form-control" id="startDate" value="07/01/2017">
</div>
<div class="form-group">
<label for="endDate">endDate</label>
<input type="text" class="form-control" id="endDate" value="07/15/2015">
<input type="text" class="form-control" id="endDate" value="07/15/2017">
</div>
<div class="form-group">
@@ -775,7 +766,7 @@ <h2>License</h2>
<p>The MIT License (MIT)</p>
<p>Copyright (c) 2012-2015 <a href="http://www.dangrossman.info">Dan Grossman</a></p>
<p>Copyright (c) 2012-2017 <a href="http://www.dangrossman.info">Dan Grossman</a></p>
<p>
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
@@ -821,13 +812,7 @@ <h2>Comments</h2>
</div>
<!-- Begin W3Counter Tracking Code -->
<script type="text/javascript" src="https://www.w3counter.com/tracker.js"></script>
<script type="text/javascript">
w3counter(90840);
</script>
<noscript>
<div><a href="http://www.w3counter.com"><img src="https://www.w3counter.com/tracker.php?id=90840" style="border: 0" alt="W3Counter" /></a></div>
</noscript>
<script type="text/javascript" src="https://www.w3counter.com/tracker.js?id=90840"></script>
<!-- End W3Counter Tracking Code -->
<script type="text/javascript">
@@ -836,13 +821,12 @@ <h2>Comments</h2>
(function(e,t){window._improvely=[];var n=e.getElementsByTagName("script")[0];var r=e.createElement("script");r.type="text/javascript";r.src="https://"+im_domain+".iljmp.com/improvely.js";r.async=true;n.parentNode.insertBefore(r,n);if(typeof t.init=="undefined"){t.init=function(e,t){window._improvely.push(["init",e,t])};t.goal=function(e){window._improvely.push(["goal",e])};t.conversion=function(e){window._improvely.push(["conversion",e])};t.label=function(e){window._improvely.push(["label",e])}}window.improvely=t;t.init(im_domain,im_project_id)})(document,window.improvely||[])
</script>
<script type="text/javascript">
Shopify = { shop: 'www.improvely.com' };
</script>
<script type="text/javascript" src="https://icf.improvely.com/icf-button.js?shop=www.improvely.com"></script>
<script>
!function(e){window._wsg=7;var t=e.getElementsByTagName("script")[0],s=e.createElement("script");s.type="text/javascript",s.src="https://www.websitegoodies.com/js/widgets.js",t.parentNode.insertBefore(s,t)}(document);
</script>
<div id="footer">
Copyright &copy; 2015 <a href="http://www.awio.com">Awio Web Services LLC</a>.
Copyright &copy; 2012-2017 <a href="http://www.awio.com">Awio Web Services LLC</a>.
&nbsp;
Developed and maintained by <a href="http://www.dangrossman.info/">Dan Grossman</a>.
&nbsp;
@@ -61,7 +61,7 @@ input[type="text"] {
border: 0;
}
.navbar-inverse {
background: #222;
background: #ccc;
}
.navbar .container {
padding: 0 20px;
@@ -124,4 +124,4 @@ input[type="text"] {
float: none;
position: relative;
}
}
}
@@ -126,7 +126,7 @@ $(document).ready(function() {
if ($('#cancelClass').val().length && $('#cancelClass').val() != 'btn-default')
options.cancelClass = $('#cancelClass').val();
$('#config-text').val("$('#demo').daterangepicker(" + JSON.stringify(options, null, ' ') + ", function(start, end, label) {\n console.log(\"New date range selected: ' + start.format('YYYY-MM-DD') + ' to ' + end.format('YYYY-MM-DD') + ' (predefined range: ' + label + ')\");\n});");
$('#config-text').val("$('#demo').daterangepicker(" + JSON.stringify(options, null, ' ') + ", function(start, end, label) {\n console.log('New date range selected: ' + start.format('YYYY-MM-DD') + ' to ' + end.format('YYYY-MM-DD') + ' (predefined range: ' + label + ')');\n});");
$('#config-demo').daterangepicker(options, function(start, end, label) { console.log('New date range selected: ' + start.format('YYYY-MM-DD') + ' to ' + end.format('YYYY-MM-DD') + ' (predefined range: ' + label + ')'); });
@@ -16,12 +16,12 @@
"homepage": "http://ckeditor.com",
"main": "./ckeditor.js",
"moduleType": "globals",
"version": "4.7.3",
"_release": "4.7.3",
"version": "4.8.0",
"_release": "4.8.0",
"_resolution": {
"type": "version",
"tag": "4.7.3",
"commit": "97b8f412f6b36985c734daf0717e81009a885dba"
"tag": "4.8.0",
"commit": "3e0ba2fa7361e0e425b73b2e4400af4a7f767ec5"
},
"_source": "https://github.com/ckeditor/ckeditor-releases.git",
"_target": "^4.7.0",
Oops, something went wrong.

0 comments on commit 281bb89

Please sign in to comment.