daterangepicker-4.x 4.9.2 → 4.9.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +7 -7
- package/daterangepicker.js +5 -5
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -18,8 +18,8 @@ Above samples are based on the [original repository](https://github.com/dangross
|
|
|
18
18
|
```html
|
|
19
19
|
<script type="text/javascript" src="https://cdn.jsdelivr.net/jquery/latest/jquery.min.js"></script>
|
|
20
20
|
<script type="text/javascript" src="https://cdn.jsdelivr.net/npm/luxon@3.5.0/build/global/luxon.min.js"></script>
|
|
21
|
-
<script type="text/javascript" src="https://cdn.jsdelivr.net/npm/daterangepicker-4.x@4.9.
|
|
22
|
-
<link type="text/css" href="https://cdn.jsdelivr.net/npm/daterangepicker-4.x@4.9.
|
|
21
|
+
<script type="text/javascript" src="https://cdn.jsdelivr.net/npm/daterangepicker-4.x@4.9.3/daterangepicker.min.js"></script>
|
|
22
|
+
<link type="text/css" href="https://cdn.jsdelivr.net/npm/daterangepicker-4.x@4.9.3/daterangepicker.min.css" rel="stylesheet" />
|
|
23
23
|
|
|
24
24
|
<input type="text" id="daterange" />
|
|
25
25
|
|
|
@@ -702,11 +702,11 @@ A single predefined range
|
|
|
702
702
|
| Name | Type | Default | Description |
|
|
703
703
|
| --- | --- | --- | --- |
|
|
704
704
|
| stepSize | <code>boolean</code> | <code>true</code> | If `true`, then `startDate` and `endDate` are rounded to match `timePickerStepSize` (no warning) |
|
|
705
|
-
| minMax | <code>boolean</code> | <code>true</code> | If `true`
|
|
706
|
-
| span | <code>boolean</code> | <code>true</code> | If `true`
|
|
707
|
-
| invalidDate | <code>boolean</code> | <code>false</code> | If `true`
|
|
708
|
-
| invalidTime | <code>boolean</code> | <code>false</code> | If `true`
|
|
709
|
-
| writeWarning | <code>boolean</code> | <code>true</code> | If `true`
|
|
705
|
+
| minMax | <code>boolean</code> | <code>true</code> | If `true` and `startDate` and `endDate` do not fall into `minDate` and `maxDate` then dates are shifted and a warning is written to console. |
|
|
706
|
+
| span | <code>boolean</code> | <code>true</code> | If `true` and `startDate` and `endDate` do not fall into `minDate` and `maxSpan` then `endDate` is shifted and a warning is written to console. |
|
|
707
|
+
| invalidDate | <code>boolean</code> | <code>false</code> | If `true` and `invalidDate` returns `true`, then an error is logged to console |
|
|
708
|
+
| invalidTime | <code>boolean</code> | <code>false</code> | If `true` and `invalidTime` returns `true`, then an error is logged to console |
|
|
709
|
+
| writeWarning | <code>boolean</code> | <code>true</code> | If `true` a warning is written to console if `startDate` or `endDate` is modified with the exception of rounding due to `timePickerStepSize`. |
|
|
710
710
|
|
|
711
711
|
<a name="callback"></a>
|
|
712
712
|
|
package/daterangepicker.js
CHANGED
|
@@ -871,13 +871,13 @@
|
|
|
871
871
|
* @typedef constraintOptions
|
|
872
872
|
* @type {Object}
|
|
873
873
|
* @property {boolean} stepSize=true If `true`, then `startDate` and `endDate` are rounded to match `timePickerStepSize` (no warning)
|
|
874
|
-
* @property {boolean} minMax=true If `true`
|
|
874
|
+
* @property {boolean} minMax=true If `true` and `startDate` and `endDate` do not fall into `minDate` and `maxDate`
|
|
875
875
|
* then dates are shifted and a warning is written to console.
|
|
876
|
-
* @property {boolean} span=true If `true`
|
|
876
|
+
* @property {boolean} span=true If `true` and `startDate` and `endDate` do not fall into `minDate` and `maxSpan`
|
|
877
877
|
* then `endDate` is shifted and a warning is written to console.
|
|
878
|
-
* @property {boolean} invalidDate=false If `true`
|
|
879
|
-
* @property {boolean} invalidTime=false If `true`
|
|
880
|
-
* @property {boolean} writeWarning=true If `true`
|
|
878
|
+
* @property {boolean} invalidDate=false If `true` and `invalidDate` returns `true`, then an error is logged to console
|
|
879
|
+
* @property {boolean} invalidTime=false If `true` and `invalidTime` returns `true`, then an error is logged to console
|
|
880
|
+
* @property {boolean} writeWarning=true If `true` a warning is written to console if `startDate` or `endDate` is modified
|
|
881
881
|
* with the exception of rounding due to `timePickerStepSize`.
|
|
882
882
|
*/
|
|
883
883
|
|