@vitrosoftware/common-ui-ts 1.1.253 → 1.1.254
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/css/std/controls/date-picker/date-picker.css +231 -12
- package/css/std/controls/field-iterator/field-iterator.css +11 -0
- package/css/std/controls/table-view/table-view-custom-date-edit.css +18 -0
- package/dist/index.css +274 -44
- package/dist/index.js +378 -116
- package/dist/index.js.map +1 -1
- package/dist/src/constants/Attribute.d.ts +1 -0
- package/dist/src/constants/HtmlElement.d.ts +4 -0
- package/dist/src/controls/DatePicker/DatePicker.d.ts +7 -4
- package/dist/src/controls/DatePicker/DatePickerConstants.d.ts +7 -0
- package/dist/src/controls/DatePicker/services/DatePickerService.d.ts +6 -0
- package/dist/src/controls/ExpandControlGroup/ExpandControlGroup.d.ts +2 -0
- package/dist/src/controls/FieldIterator/FieldIterator.d.ts +3 -0
- package/dist/src/controls/FieldIterator/FieldIteratorGroup.d.ts +19 -0
- package/dist/src/controls/FieldIterator/models/FieldIteratorGroup.d.ts +6 -0
- package/dist/src/controls/TableView/TableViewConstants.d.ts +2 -1
- package/dist/src/controls/TimePicker/TimePicker.d.ts +1 -1
- package/dist/src/controls/TimePicker/TimePickerConstants.d.ts +3 -0
- package/dist/src/controls/TimePicker/services/TimePickerService.d.ts +3 -0
- package/dist/src/controls/TimePicker/services/impl/TimePickerServiceImpl.d.ts +5 -0
- package/dist/src/models.d.ts +3 -0
- package/dist/src/services.d.ts +3 -0
- package/lib/kendo/kendo.messages.ru-RU.min.js +15 -6
- package/lib/third-party.js +15 -6
- package/package.json +1 -1
- package/src/controls/BimViewer/js/bim-viewer.js +2 -2
- package/src/controls/DxfViewer/js/dxf-viewer.js +15 -15
- package/src/controls/PdfViewer/js/pdf-viewer.js +1 -1
|
@@ -81,16 +81,16 @@
|
|
|
81
81
|
display: none;
|
|
82
82
|
}
|
|
83
83
|
|
|
84
|
-
:global(.k-datepicker)
|
|
84
|
+
:global(.k-datepicker),
|
|
85
|
+
:global(.k-datetimepicker) {
|
|
85
86
|
width: 100% !important;
|
|
86
87
|
}
|
|
87
88
|
|
|
88
89
|
.vitro-calendar-container {
|
|
89
90
|
width: 280px;
|
|
90
|
-
height:
|
|
91
|
+
height: 326px;
|
|
91
92
|
box-shadow: none !important;
|
|
92
93
|
background-color: transparent;
|
|
93
|
-
border-radius: 4px;
|
|
94
94
|
padding: 4px 0;
|
|
95
95
|
border: none;
|
|
96
96
|
}
|
|
@@ -98,6 +98,7 @@
|
|
|
98
98
|
.vitro-calendar-container > div {
|
|
99
99
|
box-shadow: 0px 4px 14px 0px rgba(0, 0, 0, 0.16), 0px 0px 4px 0px rgba(0, 0, 0, 0.12);
|
|
100
100
|
background-color: #fff;
|
|
101
|
+
border-radius: 4px;
|
|
101
102
|
}
|
|
102
103
|
|
|
103
104
|
:global(.k-calendar) {
|
|
@@ -129,7 +130,8 @@
|
|
|
129
130
|
border-color: #D13438 !important;
|
|
130
131
|
}
|
|
131
132
|
|
|
132
|
-
:global(.k-i-calendar)
|
|
133
|
+
:global(.k-i-calendar),
|
|
134
|
+
:global(.k-datetimepicker .k-i-clock) {
|
|
133
135
|
height: 20px !important;
|
|
134
136
|
width: 20px !important;
|
|
135
137
|
display: flex !important;
|
|
@@ -137,7 +139,8 @@
|
|
|
137
139
|
justify-content: center;
|
|
138
140
|
}
|
|
139
141
|
|
|
140
|
-
:global(.k-i-calendar)::before
|
|
142
|
+
:global(.k-i-calendar)::before,
|
|
143
|
+
:global(.k-datetimepicker .k-i-clock)::before {
|
|
141
144
|
content: '' !important;
|
|
142
145
|
display: inline-block;
|
|
143
146
|
height: 18px;
|
|
@@ -179,7 +182,7 @@
|
|
|
179
182
|
height: 24px !important;
|
|
180
183
|
width: 24px !important;
|
|
181
184
|
border-radius: 2px;
|
|
182
|
-
color: #222D44
|
|
185
|
+
color: #222D44;
|
|
183
186
|
opacity: 1 !important;
|
|
184
187
|
}
|
|
185
188
|
|
|
@@ -220,9 +223,9 @@
|
|
|
220
223
|
color: #fff !important;
|
|
221
224
|
}
|
|
222
225
|
|
|
223
|
-
:global(.k-state-hover .k-link) {
|
|
224
|
-
background-color: #DCEEFF
|
|
225
|
-
border-radius: 2px
|
|
226
|
+
:global(.k-calendar .k-state-hover .k-link) {
|
|
227
|
+
background-color: #DCEEFF;
|
|
228
|
+
border-radius: 2px;
|
|
226
229
|
}
|
|
227
230
|
|
|
228
231
|
:global(.k-header) {
|
|
@@ -248,26 +251,41 @@
|
|
|
248
251
|
background: #fff !important;
|
|
249
252
|
}
|
|
250
253
|
|
|
251
|
-
:global(.k-
|
|
254
|
+
:global(.k-prev-view):hover,
|
|
255
|
+
:global(.k-next-view):hover {
|
|
256
|
+
color: transparent !important;
|
|
257
|
+
}
|
|
258
|
+
|
|
259
|
+
:global(.k-nav-prev) span,
|
|
260
|
+
:global(.k-prev-view) span {
|
|
252
261
|
background-repeat: no-repeat;
|
|
253
262
|
background-position: center;
|
|
254
263
|
background-size: 100%;
|
|
255
264
|
background-image: url('@vitrosoftware/common-ui-ts/css/std/controls/date-picker/img/collapse-left-grey.svg');
|
|
256
265
|
width: 22px;
|
|
257
266
|
height: 22px;
|
|
267
|
+
flex-shrink: 0;
|
|
258
268
|
}
|
|
259
269
|
|
|
260
|
-
:global(.k-nav-next) span
|
|
270
|
+
:global(.k-nav-next) span,
|
|
271
|
+
:global(.k-next-view) span {
|
|
261
272
|
background-repeat: no-repeat;
|
|
262
273
|
background-position: center;
|
|
263
274
|
background-size: 100%;
|
|
264
275
|
background-image: url('@vitrosoftware/common-ui-ts/css/std/controls/date-picker/img/collapse-right-grey.svg');
|
|
265
276
|
width: 22px;
|
|
266
277
|
height: 22px;
|
|
278
|
+
flex-shrink: 0;
|
|
267
279
|
}
|
|
268
280
|
|
|
269
281
|
:global(.k-nav-prev) span::before,
|
|
270
|
-
:global(.k-nav-next) span::before
|
|
282
|
+
:global(.k-nav-next) span::before,
|
|
283
|
+
:global(.k-prev-view) span::before,
|
|
284
|
+
:global(.k-next-view) span::before,
|
|
285
|
+
:global(.k-nav-prev)::before,
|
|
286
|
+
:global(.k-nav-next)::before,
|
|
287
|
+
:global(.k-prev-view)::before,
|
|
288
|
+
:global(.k-next-view)::before {
|
|
271
289
|
display: none;
|
|
272
290
|
}
|
|
273
291
|
|
|
@@ -287,4 +305,205 @@
|
|
|
287
305
|
height: unset !important;
|
|
288
306
|
width: unset !important;
|
|
289
307
|
padding: 10px 0 !important;
|
|
308
|
+
}
|
|
309
|
+
|
|
310
|
+
.vitro-calendar-container :global(.k-calendar .k-state-focused .k-link),
|
|
311
|
+
.vitro-calendar-container :global(.k-calendar .k-state-focused.k-state-hover .k-link) {
|
|
312
|
+
background: #347FDE;
|
|
313
|
+
color: #fff !important;
|
|
314
|
+
box-shadow: none;
|
|
315
|
+
}
|
|
316
|
+
|
|
317
|
+
.vitro-calendar-container :global(.k-calendar .k-link) {
|
|
318
|
+
color: #222D44;
|
|
319
|
+
}
|
|
320
|
+
|
|
321
|
+
.vitro-calendar-container :global(.k-calendar-header) {
|
|
322
|
+
height: 40px;
|
|
323
|
+
}
|
|
324
|
+
|
|
325
|
+
.vitro-calendar-container :global(.k-datetime-footer) {
|
|
326
|
+
display: none;
|
|
327
|
+
}
|
|
328
|
+
|
|
329
|
+
.vitro-calendar-container :global(.k-datetime-wrap) {
|
|
330
|
+
width: 280px;
|
|
331
|
+
}
|
|
332
|
+
|
|
333
|
+
.vitro-calendar-container :global(.k-datetime-calendar-wrap),
|
|
334
|
+
.vitro-calendar-container :global(.k-datetime-time-wrap) {
|
|
335
|
+
flex: 0 0 100%;
|
|
336
|
+
}
|
|
337
|
+
|
|
338
|
+
.vitro-calendar-container :global(.k-today),
|
|
339
|
+
.vitro-calendar-container :global(.k-nav-today) {
|
|
340
|
+
color: #347FDE !important;
|
|
341
|
+
font-size: 14px;
|
|
342
|
+
line-height: 21px;
|
|
343
|
+
}
|
|
344
|
+
|
|
345
|
+
.vitro-calendar-container :global(.k-datetime-buttongroup .k-button) {
|
|
346
|
+
font-family: 'InterRegular';
|
|
347
|
+
color: #4A556C;
|
|
348
|
+
font-size: 14px;
|
|
349
|
+
line-height: 150%;
|
|
350
|
+
padding: 0 12px 15px;
|
|
351
|
+
overflow: hidden;
|
|
352
|
+
text-overflow: ellipsis;
|
|
353
|
+
background: #fff;
|
|
354
|
+
box-shadow: none;
|
|
355
|
+
border: none;
|
|
356
|
+
border-bottom: 1px solid #E4E6EC;
|
|
357
|
+
}
|
|
358
|
+
|
|
359
|
+
.vitro-calendar-container :global(.k-datetime-buttongroup .k-button.k-state-active) {
|
|
360
|
+
color: #3274E0;
|
|
361
|
+
background-color: #fff;
|
|
362
|
+
background-image: none;
|
|
363
|
+
box-shadow: none;
|
|
364
|
+
border: none;
|
|
365
|
+
border-bottom: 2px solid #3274E0;
|
|
366
|
+
padding: 0 12px 15px;
|
|
367
|
+
}
|
|
368
|
+
|
|
369
|
+
.vitro-calendar-container :global(.k-datetime-buttongroup) {
|
|
370
|
+
padding: 16px 16px 0 16px;
|
|
371
|
+
}
|
|
372
|
+
|
|
373
|
+
.vitro-calendar-container :global(.k-picker-wrap > .k-select) {
|
|
374
|
+
background: transparent !important;
|
|
375
|
+
margin-right: 16px;
|
|
376
|
+
width: 20px;
|
|
377
|
+
height: 20px;
|
|
378
|
+
align-self: center;
|
|
379
|
+
}
|
|
380
|
+
|
|
381
|
+
.vitro-calendar-container :global(.k-picker-wrap.k-state-focused),
|
|
382
|
+
.vitro-calendar-container :global(.k-picker-wrap.k-state-active) {
|
|
383
|
+
box-shadow: none !important;
|
|
384
|
+
}
|
|
385
|
+
|
|
386
|
+
.vitro-calendar-container :global(.k-calendar-header .k-title) {
|
|
387
|
+
color: #222D44;
|
|
388
|
+
font-weight: unset;
|
|
389
|
+
font-size: 14px;
|
|
390
|
+
padding: 0 8px;
|
|
391
|
+
}
|
|
392
|
+
|
|
393
|
+
.vitro-calendar-container :global(.k-calendar-header .k-title::before) {
|
|
394
|
+
display: none;
|
|
395
|
+
}
|
|
396
|
+
|
|
397
|
+
.vitro-calendar-container :global(.k-time-header .k-title) {
|
|
398
|
+
font-weight: unset;
|
|
399
|
+
font-family: 'InterMedium';
|
|
400
|
+
font-size: 18px;
|
|
401
|
+
line-height: 27px;
|
|
402
|
+
color: #222D44;
|
|
403
|
+
}
|
|
404
|
+
|
|
405
|
+
.vitro-calendar-container :global(.k-time-container .k-item:hover) {
|
|
406
|
+
font-family: 'InterMedium';
|
|
407
|
+
}
|
|
408
|
+
|
|
409
|
+
.vitro-calendar-container :global(.k-time-highlight) {
|
|
410
|
+
border-color: #C0CAD5;
|
|
411
|
+
}
|
|
412
|
+
|
|
413
|
+
.vitro-calendar-container :global(.k-time-list)::after,
|
|
414
|
+
.vitro-calendar-container :global(.k-time-list)::before {
|
|
415
|
+
box-shadow: 0 12px 30px 60px #fff;
|
|
416
|
+
}
|
|
417
|
+
|
|
418
|
+
.vitro-calendar-container :global(.k-time-list-wrapper.k-state-focused) {
|
|
419
|
+
background-color: #DCEEFF;
|
|
420
|
+
font-family: 'InterMedium';
|
|
421
|
+
}
|
|
422
|
+
|
|
423
|
+
.vitro-calendar-container :global(.k-time-list-wrapper.k-state-focused)::before,
|
|
424
|
+
.vitro-calendar-container :global(.k-time-list-wrapper.k-state-focused)::after {
|
|
425
|
+
display: none;
|
|
426
|
+
}
|
|
427
|
+
|
|
428
|
+
.vitro-calendar-container :global(.k-time-list-wrapper) {
|
|
429
|
+
background-color: #FFF;
|
|
430
|
+
width: 85px;
|
|
431
|
+
height: 182px;
|
|
432
|
+
margin-top: 1px;
|
|
433
|
+
}
|
|
434
|
+
|
|
435
|
+
.vitro-calendar-container :global(.k-time-list-wrapper .k-title) {
|
|
436
|
+
font-family: 'InterRegular';
|
|
437
|
+
color: #222D44;
|
|
438
|
+
background-color: #FFF !important;
|
|
439
|
+
font-size: 12px;
|
|
440
|
+
line-height: 16px;
|
|
441
|
+
display: flex;
|
|
442
|
+
align-items: center;
|
|
443
|
+
justify-content: center;
|
|
444
|
+
height: 36px;
|
|
445
|
+
opacity: 1 !important;
|
|
446
|
+
}
|
|
447
|
+
|
|
448
|
+
.vitro-calendar-container :global(.k-time-list-container) {
|
|
449
|
+
justify-content: center;
|
|
450
|
+
}
|
|
451
|
+
|
|
452
|
+
.vitro-calendar-container :global(.k-time-header) {
|
|
453
|
+
height: 40px;
|
|
454
|
+
padding: 8px 24px;
|
|
455
|
+
}
|
|
456
|
+
|
|
457
|
+
.vitro-calendar-container :global(.k-time-footer) {
|
|
458
|
+
border-top: 1px solid #E4E6EC;
|
|
459
|
+
margin-top: 0 !important;
|
|
460
|
+
}
|
|
461
|
+
|
|
462
|
+
.vitro-calendar-container :global(.k-time-now) {
|
|
463
|
+
border-radius: 4px !important;
|
|
464
|
+
color: #347FDE !important;
|
|
465
|
+
font-size: 14px !important;
|
|
466
|
+
line-height: 21px;
|
|
467
|
+
outline: none !important;
|
|
468
|
+
}
|
|
469
|
+
|
|
470
|
+
.vitro-calendar-container :global(.k-time-now):hover::before {
|
|
471
|
+
display: none;
|
|
472
|
+
}
|
|
473
|
+
|
|
474
|
+
.vitro-calendar-container :global(.k-action-buttons .k-button) {
|
|
475
|
+
background: #fff;
|
|
476
|
+
border-bottom-left-radius: 4px;
|
|
477
|
+
font-size: 14px;
|
|
478
|
+
line-height: 21px;
|
|
479
|
+
padding: 8px !important;
|
|
480
|
+
font-family: 'InterMedium';
|
|
481
|
+
color: #222D44;
|
|
482
|
+
}
|
|
483
|
+
|
|
484
|
+
.vitro-calendar-container :global(.k-action-buttons .k-primary) {
|
|
485
|
+
background: #347FDE;
|
|
486
|
+
border-bottom-left-radius: 0 !important;
|
|
487
|
+
border-bottom-right-radius: 4px !important;
|
|
488
|
+
color: white !important;
|
|
489
|
+
}
|
|
490
|
+
|
|
491
|
+
.vitro-calendar-container :global(.k-action-buttons .k-primary:hover) {
|
|
492
|
+
background: #3274E0;
|
|
493
|
+
border-color: #3274E0;
|
|
494
|
+
}
|
|
495
|
+
|
|
496
|
+
.vitro-calendar-container :global(.k-time-cancel):hover {
|
|
497
|
+
background: #F3F8FF !important;
|
|
498
|
+
background-image: none;
|
|
499
|
+
}
|
|
500
|
+
|
|
501
|
+
.vitro-calendar-container :global(.k-item) {
|
|
502
|
+
width: 85px;
|
|
503
|
+
}
|
|
504
|
+
|
|
505
|
+
.vitro-calendar-container :global(.k-item span) {
|
|
506
|
+
color: #222D44;
|
|
507
|
+
font-size: 14px;
|
|
508
|
+
line-height: 21px;
|
|
290
509
|
}
|
|
@@ -74,4 +74,15 @@
|
|
|
74
74
|
gap: 22px 16px;
|
|
75
75
|
display: flex;
|
|
76
76
|
flex-direction: column;
|
|
77
|
+
}
|
|
78
|
+
|
|
79
|
+
.vitro-field-iterator-group :global(.vitro-content) {
|
|
80
|
+
display: flex;
|
|
81
|
+
flex-wrap: wrap;
|
|
82
|
+
grid-gap: 22px 16px;
|
|
83
|
+
align-content: flex-start;
|
|
84
|
+
}
|
|
85
|
+
|
|
86
|
+
.vitro-label {
|
|
87
|
+
margin: 0;
|
|
77
88
|
}
|
|
@@ -48,4 +48,22 @@
|
|
|
48
48
|
.vitro-table-view-gantt .TWMain .TWDatesBottom {
|
|
49
49
|
background-size: 20px;
|
|
50
50
|
background-position: center;
|
|
51
|
+
}
|
|
52
|
+
|
|
53
|
+
.table-view-custom-date-edit-date-picker {
|
|
54
|
+
display: none;
|
|
55
|
+
}
|
|
56
|
+
|
|
57
|
+
.table-view-custom-date-edit .k-animation-container {
|
|
58
|
+
position: initial !important;
|
|
59
|
+
left: initial !important;
|
|
60
|
+
top: initial !important;
|
|
61
|
+
}
|
|
62
|
+
|
|
63
|
+
.table-view-custom-date-edit .k-datetime-container {
|
|
64
|
+
padding: 0;
|
|
65
|
+
}
|
|
66
|
+
|
|
67
|
+
.table-view-custom-date-edit .k-datetime-container > .k-datetime-wrap {
|
|
68
|
+
box-shadow: none;
|
|
51
69
|
}
|