ros.grant.common 2.0.1509 → 2.0.1510
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.
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
var pickmeup;
|
|
2
|
+
var activePickmeup = null;
|
|
2
3
|
|
|
3
4
|
$(document).ready(InitDateTimePickers);
|
|
4
5
|
|
|
@@ -62,7 +63,7 @@ class DateTimePickerInitializer {
|
|
|
62
63
|
DateInputValidation.initValidation($this, dateFormat);
|
|
63
64
|
}
|
|
64
65
|
// для ограничения выбора дат в календаре
|
|
65
|
-
setTimeout(() => DateTimePickerInitializer.initMinMaxDates($this),
|
|
66
|
+
setTimeout(() => DateTimePickerInitializer.initMinMaxDates($this), 900);
|
|
66
67
|
|
|
67
68
|
if (ageLimit) {
|
|
68
69
|
DateTimePickerInitializer.initByAgeLimit($this, ageLimit);
|
|
@@ -133,6 +134,17 @@ class DateTimePickerInitializer {
|
|
|
133
134
|
next: '<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M9 18L15 12L9 6" stroke="#282828" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"/></svg>',
|
|
134
135
|
});
|
|
135
136
|
|
|
137
|
+
input.addEventListener('pickmeup-show', function (e) {
|
|
138
|
+
if (activePickmeup) {
|
|
139
|
+
activePickmeup.hide();
|
|
140
|
+
}
|
|
141
|
+
activePickmeup = pickmeup(e.target);
|
|
142
|
+
});
|
|
143
|
+
|
|
144
|
+
input.addEventListener('pickmeup-hide', function (e) {
|
|
145
|
+
activePickmeup = null;
|
|
146
|
+
});
|
|
147
|
+
|
|
136
148
|
input.addEventListener('pickmeup-change', function (e) {
|
|
137
149
|
// триггер события изменения значения инпута
|
|
138
150
|
var element = e.target;
|
package/package.json
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
{
|
|
2
|
-
"version": "2.0.
|
|
2
|
+
"version": "2.0.1510",
|
|
3
3
|
"name": "ros.grant.common",
|
|
4
4
|
"private": false,
|
|
5
5
|
"scripts": {
|
|
@@ -51,7 +51,7 @@
|
|
|
51
51
|
"pickmeup": "^3.2.1",
|
|
52
52
|
"rimraf": "^3.0.2",
|
|
53
53
|
"ros.grant.telerik": "1.0.22",
|
|
54
|
-
"ros.grant.webshared": "2.0.
|
|
54
|
+
"ros.grant.webshared": "2.0.429",
|
|
55
55
|
"rxjs": "^6.5.4",
|
|
56
56
|
"slick-carousel": "^1.8.1",
|
|
57
57
|
"sticky-sidebar": "^3.3.1",
|