ros.grant.common 2.0.1231 → 2.0.1235
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.
|
@@ -194,11 +194,11 @@ class CustomSelectInitializer {
|
|
|
194
194
|
// Установка selectedIndex кастомного селекта в нужное значение
|
|
195
195
|
public static SetSelectedIndex(element: HTMLElement, value: number) {
|
|
196
196
|
|
|
197
|
-
|
|
198
|
-
|
|
197
|
+
$(element).parent().find('.selected').removeClass('selected');
|
|
198
|
+
$(element).parent().attr('selected-val', ($('option', $(element).parent())[value] as any).value);
|
|
199
199
|
|
|
200
|
-
|
|
201
|
-
|
|
200
|
+
(element as any).parentElement.selectedIndex = value;
|
|
201
|
+
CustomSelectInitializer.SetSelectedValue((element as any).parentElement);
|
|
202
202
|
}
|
|
203
203
|
|
|
204
204
|
private static InitCustomOptions(select: HTMLElement) {
|
|
@@ -139,6 +139,12 @@ class DateTimePickerInitializer {
|
|
|
139
139
|
var event = new Event("change");
|
|
140
140
|
element.dispatchEvent(event);
|
|
141
141
|
});
|
|
142
|
+
|
|
143
|
+
input.addEventListener('focusout', function (e) {
|
|
144
|
+
var element = e.target;
|
|
145
|
+
var event = new Event("change");
|
|
146
|
+
element.dispatchEvent(event);
|
|
147
|
+
});
|
|
142
148
|
}
|
|
143
149
|
|
|
144
150
|
public static initLabel(label: HTMLElement) {
|
|
@@ -301,16 +301,23 @@
|
|
|
301
301
|
}
|
|
302
302
|
}
|
|
303
303
|
|
|
304
|
-
|
|
304
|
+
|
|
305
|
+
lib-contact-line .widget__content_item {
|
|
306
|
+
border-bottom: 1px solid var(--Stroke) !important;
|
|
307
|
+
padding: 8px 0 0 0 !important;
|
|
308
|
+
}
|
|
309
|
+
|
|
310
|
+
|
|
311
|
+
lib-contact-line:last-child {
|
|
305
312
|
.widget__content_item {
|
|
306
|
-
border-bottom:
|
|
313
|
+
border-bottom: none !important;
|
|
314
|
+
padding: 8px 0 8px 0 !important;
|
|
307
315
|
}
|
|
308
316
|
}
|
|
309
317
|
|
|
310
|
-
|
|
318
|
+
lib-contact-line:first-child {
|
|
311
319
|
.widget__content_item {
|
|
312
|
-
|
|
313
|
-
padding-bottom: 8px;
|
|
320
|
+
padding: 16px 0 0 0 !important;
|
|
314
321
|
}
|
|
315
322
|
}
|
|
316
323
|
|
package/package.json
CHANGED