@vitrosoftware/common-ui-ts 1.1.24 → 1.1.27
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/common.css +1 -0
- package/css/std/controls/action-handler/action-handler.css +4 -3
- package/css/std/controls/alert/alert.css +15 -10
- package/css/std/controls/command-menu/command-menu-dropdown-button.css +7 -2
- package/css/std/controls/dialog/dialog-button-close.css +4 -5
- package/css/std/controls/dialog/dialog-button.css +4 -0
- package/css/std/controls/dialog/dialog-content.css +9 -21
- package/css/std/controls/dialog/dialog-footer.css +6 -5
- package/css/std/controls/dialog/dialog-header.css +27 -3
- package/css/std/controls/dialog/dialog.css +3 -8
- package/css/std/controls/dropdown-button/dropdown-button.css +12 -7
- package/css/std/controls/lookup-picker/lookup-picker.css +1 -0
- package/css/std/controls/message-input/message-input.css +110 -0
- package/css/std/controls/pdf-viewer/pdf-viewer.css +369 -139
- package/css/std/controls/tab-group/tab-group.css +4 -0
- package/css/std/controls/table-view/treegrid.css +5 -4
- package/css/std/controls/tree-view/tree-view.css +21 -3
- package/dist/constants/Event.d.ts +2 -1
- package/dist/controls/ActionHandler/ActionHandlerConstants.d.ts +4 -3
- package/dist/controls/CommandMenu/CommandMenuDropdownButton.d.ts +1 -0
- package/dist/controls/CommandMenu/CommandMenuSubItem.d.ts +1 -0
- package/dist/controls/Dialog/Dialog.d.ts +16 -6
- package/dist/controls/Dialog/DialogButton.d.ts +2 -3
- package/dist/controls/Dialog/DialogComponent.d.ts +0 -1
- package/dist/controls/Dialog/DialogContent.d.ts +1 -0
- package/dist/controls/Dialog/DialogFooter.d.ts +5 -5
- package/dist/controls/Dialog/DialogHeader.d.ts +2 -0
- package/dist/controls/MessageInput/MessageInput.d.ts +14 -0
- package/dist/controls/PdfViewer/PdfViewerContext.d.ts +0 -1
- package/dist/controls/TabGroup/TabGroup.d.ts +1 -0
- package/dist/controls/TabGroup/TabGroupComponent.d.ts +1 -0
- package/dist/controls/TableView/TableViewConstants.d.ts +1 -0
- package/dist/controls/TelerikUploader/TelerikUploaderContextImpl.d.ts +1 -0
- package/dist/controls/TelerikUploader/TelerikUploaderSettings.d.ts +1 -0
- package/dist/controls/TreeView/JsTreeViewContextImpl.d.ts +7 -0
- package/dist/controls/TreeView/TreeView.d.ts +2 -0
- package/dist/controls/TreeView/TreeViewConfig.d.ts +12 -6
- package/dist/controls/TreeView/TreeViewConstants.d.ts +25 -2
- package/dist/controls/TreeView/TreeViewContext.d.ts +7 -0
- package/dist/index.css +259 -98
- package/dist/index.d.ts +4 -2
- package/dist/index.js +402 -154
- package/dist/index.js.map +1 -1
- package/dist/index.modern.js +402 -155
- package/dist/index.modern.js.map +1 -1
- package/package.json +4 -3
- package/src/controls/PdfViewer/js/pdf-viewer.js +213 -71
package/dist/index.css
CHANGED
|
@@ -34,6 +34,7 @@
|
|
|
34
34
|
margin-right: 12px;
|
|
35
35
|
margin-bottom: 0;
|
|
36
36
|
padding-bottom: 12px;
|
|
37
|
+
margin-bottom: 8px;
|
|
37
38
|
}
|
|
38
39
|
|
|
39
40
|
@media (max-width: 800px) {
|
|
@@ -344,7 +345,6 @@
|
|
|
344
345
|
}
|
|
345
346
|
|
|
346
347
|
#TreeView .ps {
|
|
347
|
-
padding-top: 8px;
|
|
348
348
|
padding-right: 12px;
|
|
349
349
|
}
|
|
350
350
|
|
|
@@ -405,6 +405,10 @@
|
|
|
405
405
|
margin-left: 0;
|
|
406
406
|
}
|
|
407
407
|
|
|
408
|
+
.vitro-root-node > .jstree-anchor > .jstree-checkbox {
|
|
409
|
+
display: none;
|
|
410
|
+
}
|
|
411
|
+
|
|
408
412
|
._tree-view_vitro-tree-view_3oii-CW .vitro-root-node > .jstree-anchor > .jstree-icon.folder {
|
|
409
413
|
/* root-folder.svg URL-encoder for SVG */
|
|
410
414
|
background-image: url("data:image/svg+xml,%3Csvg width='24' height='24' viewBox='0 0 24 24' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M10.6464 5.35355C10.7402 5.44732 10.8674 5.5 11 5.5H19C20.3807 5.5 21.5 6.61929 21.5 8V18C21.5 19.3807 20.3807 20.5 19 20.5H5C3.61929 20.5 2.5 19.3807 2.5 18V6C2.5 4.61929 3.61929 3.5 5 3.5H7.75736C8.4204 3.5 9.05629 3.76339 9.52513 4.23223L10.6464 5.35355Z' stroke='%23999B9D' stroke-linejoin='round'/%3E%3Cpath d='M8 16L12 10' stroke='%23999B9D' stroke-linecap='round'/%3E%3Cpath d='M12 16L16 16' stroke='%23999B9D' stroke-linecap='round'/%3E%3C/svg%3E%0A") !important;
|
|
@@ -434,7 +438,7 @@
|
|
|
434
438
|
height: 32px !important;
|
|
435
439
|
line-height: 32px !important;
|
|
436
440
|
background-position: center !important;
|
|
437
|
-
background-size: 100
|
|
441
|
+
background-size: 100%;
|
|
438
442
|
margin-right: 4px;
|
|
439
443
|
}
|
|
440
444
|
|
|
@@ -450,7 +454,22 @@
|
|
|
450
454
|
background-image: url("data:image/svg+xml,%3Csvg width='24' height='24' viewBox='0 0 24 24' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M9.5 7L14.5 12L9.5 17' stroke='%238E98A3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E%0A");
|
|
451
455
|
background-repeat: no-repeat;
|
|
452
456
|
background-position: center center !important;
|
|
453
|
-
}
|
|
457
|
+
}
|
|
458
|
+
|
|
459
|
+
._tree-view_vitro-tree-view_3oii-CW .jstree-checkbox {
|
|
460
|
+
/* checkbox-big-empty.svg URL-encoder for SVG */
|
|
461
|
+
background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Crect x='2.5' y='2.5' width='19' height='19' rx='2' stroke='%23C0CAD5'/%3E%3C/svg%3E%0A");
|
|
462
|
+
}
|
|
463
|
+
|
|
464
|
+
._tree-view_vitro-tree-view_3oii-CW .jstree-checked .jstree-checkbox {
|
|
465
|
+
/* checkbox-big-active.svg URL-encoder for SVG */
|
|
466
|
+
background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Crect x='2' y='2' width='20' height='20' rx='2.5' fill='%234292F7'/%3E%3Cpath d='M16.7062 8.50593C17.0826 8.86144 17.0996 9.45479 16.7441 9.83121L11.4316 15.4562C11.2577 15.6404 11.0166 15.7463 10.7634 15.7499C10.5101 15.7535 10.2662 15.6545 10.0871 15.4754L7.27459 12.6629C6.90847 12.2968 6.90847 11.7032 7.27459 11.3371C7.6407 10.971 8.2343 10.971 8.60041 11.3371L10.7308 13.4675L15.3809 8.54379C15.7364 8.16737 16.3298 8.15042 16.7062 8.50593Z' fill='white'/%3E%3C/svg%3E%0A");
|
|
467
|
+
}
|
|
468
|
+
|
|
469
|
+
._tree-view_vitro-tree-view_3oii-CW .jstree-checkbox.jstree-undetermined {
|
|
470
|
+
/* checkbox-big-undetermined.svg URL-encoder for SVG */
|
|
471
|
+
background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Crect x='7' y='7' width='10' height='10' rx='1' fill='%234292F7'/%3E%3Crect x='2.625' y='2.625' width='18.75' height='18.75' rx='1.875' stroke='%23C0CAD5' stroke-width='1.25'/%3E%3C/svg%3E%0A");
|
|
472
|
+
}
|
|
454
473
|
|
|
455
474
|
@import url('@vitrosoftware/common-ui-ts/css/std/controls/table-view/treegrid.css');
|
|
456
475
|
@import url('@vitrosoftware/common-ui-ts/css/std/controls/table-view/table-view-custom-lookup-edit.css');
|
|
@@ -1262,6 +1281,7 @@
|
|
|
1262
1281
|
color: #222D44 !important;
|
|
1263
1282
|
border: 1px solid #E4E6EC !important;
|
|
1264
1283
|
margin-right: 12px !important;
|
|
1284
|
+
font-family: 'InterRegular' !important;
|
|
1265
1285
|
}
|
|
1266
1286
|
|
|
1267
1287
|
._action-handler_vitro-button-cancel_GE8JsGp:hover, ._action-handler_vitro-button-cancel_GE8JsGp:active {
|
|
@@ -1269,9 +1289,9 @@
|
|
|
1269
1289
|
}
|
|
1270
1290
|
|
|
1271
1291
|
._action-handler_vitro-button_1wSNAYT, ._action-handler_vitro-button-cancel_GE8JsGp {
|
|
1272
|
-
min-width:
|
|
1273
|
-
height:
|
|
1274
|
-
font-size:
|
|
1292
|
+
min-width: 120px !important;
|
|
1293
|
+
height: 40px !important;
|
|
1294
|
+
font-size: 16px !important;
|
|
1275
1295
|
}
|
|
1276
1296
|
|
|
1277
1297
|
._action-handler_vitro-success_1bfGHQQ {
|
|
@@ -1473,13 +1493,6 @@
|
|
|
1473
1493
|
color: #4A556C;
|
|
1474
1494
|
}
|
|
1475
1495
|
|
|
1476
|
-
._dropdown-button_vitro-icon_2NCEoeb {
|
|
1477
|
-
width: 20px;
|
|
1478
|
-
height: 20px;
|
|
1479
|
-
background-size: 20px;
|
|
1480
|
-
margin-right: 12px;
|
|
1481
|
-
}
|
|
1482
|
-
|
|
1483
1496
|
._dropdown-button_vitro-dropdown-button_1myvkhB .dropdown-menu {
|
|
1484
1497
|
box-shadow: 0px 4px 14px 0px rgba(0, 0, 0, 0.18), 0px 0px 4px 0px rgba(0, 0, 0, 0.14);
|
|
1485
1498
|
background: #fff;
|
|
@@ -1514,6 +1527,18 @@
|
|
|
1514
1527
|
background-image: url(data:image/svg+xml,%3Csvg viewBox=%270 0 16 11%27 fill=%27none%27 xmlns=%27http://www.w3.org/2000/svg%27%3E%3Cpath d=%27M6.31554 1.65838L0.382812 11H15.6249L9.69214 1.65838C8.90651 0.421336 7.10117 0.421335 6.31554 1.65838Z%27 fill=%27white%27/%3E%3C/svg%3E%0A);
|
|
1515
1528
|
}
|
|
1516
1529
|
|
|
1530
|
+
._dropdown-button_vitro-dropdown-button_1myvkhB .dropdown-item ._dropdown-button_vitro-icon_2NCEoeb {
|
|
1531
|
+
width: 20px;
|
|
1532
|
+
height: 20px;
|
|
1533
|
+
margin-right: 12px;
|
|
1534
|
+
margin-left: 0;
|
|
1535
|
+
}
|
|
1536
|
+
|
|
1537
|
+
._dropdown-button_vitro-dropdown-button_1myvkhB .dropdown-item ._dropdown-button_vitro-icon_2NCEoeb img {
|
|
1538
|
+
width: 20px;
|
|
1539
|
+
height: 20px;
|
|
1540
|
+
}
|
|
1541
|
+
|
|
1517
1542
|
._dropdown-button_vitro-dropdown-button_1myvkhB .dropdown-item {
|
|
1518
1543
|
display: flex;
|
|
1519
1544
|
align-items: center;
|
|
@@ -1616,6 +1641,10 @@
|
|
|
1616
1641
|
border-radius: 0 0 4px 4px;
|
|
1617
1642
|
}
|
|
1618
1643
|
|
|
1644
|
+
._tab-group_vitro-tab_1Qb50HL .nav .dropdown-item:first-child:last-child {
|
|
1645
|
+
border-radius: 4px;
|
|
1646
|
+
}
|
|
1647
|
+
|
|
1619
1648
|
._tab-group_vitro-tab_1Qb50HL .nav > div._tab-group_vitro-item_2YnBcmb {
|
|
1620
1649
|
flex-grow: 1;
|
|
1621
1650
|
text-align: center;
|
|
@@ -3056,6 +3085,7 @@
|
|
|
3056
3085
|
._lookup-picker_vitro-lookup-picker_1aXYQEG {
|
|
3057
3086
|
position: relative;
|
|
3058
3087
|
margin-bottom: 22px;
|
|
3088
|
+
width: 100%;
|
|
3059
3089
|
}
|
|
3060
3090
|
|
|
3061
3091
|
._lookup-picker_vitro-content_37L0slb {
|
|
@@ -3432,11 +3462,15 @@ li:first-child ._command-menu-item_vitro-item_2pVhk23:hover {
|
|
|
3432
3462
|
._command-menu-dropdown-button_vitro-dropdown-button-container_29qd-_O .dropdown-item ._command-menu-dropdown-button_vitro-icon_36InzPx {
|
|
3433
3463
|
width: 20px;
|
|
3434
3464
|
height: 20px;
|
|
3435
|
-
background-size: 20px !important;
|
|
3436
3465
|
margin-right: 12px;
|
|
3437
3466
|
margin-left: 0;
|
|
3438
3467
|
}
|
|
3439
3468
|
|
|
3469
|
+
._command-menu-dropdown-button_vitro-dropdown-button-container_29qd-_O .dropdown-item ._command-menu-dropdown-button_vitro-icon_36InzPx img {
|
|
3470
|
+
width: 20px;
|
|
3471
|
+
height: 20px;
|
|
3472
|
+
}
|
|
3473
|
+
|
|
3440
3474
|
._command-menu-dropdown-button_vitro-button-collapse-bottom_1OS_X_a {
|
|
3441
3475
|
width: 24px;
|
|
3442
3476
|
height: 24px;
|
|
@@ -3471,7 +3505,8 @@ li:first-child ._command-menu-item_vitro-item_2pVhk23:hover {
|
|
|
3471
3505
|
width: 24px;
|
|
3472
3506
|
}
|
|
3473
3507
|
|
|
3474
|
-
.vitro-button-context > div
|
|
3508
|
+
.vitro-button-context > div,
|
|
3509
|
+
.vitro-button-context img {
|
|
3475
3510
|
margin: 0 !important;
|
|
3476
3511
|
}
|
|
3477
3512
|
|
|
@@ -3814,7 +3849,12 @@ ul > li:last-child > ul > li:last-child ._sidebar-item_vitro-active_7p5iOhY {
|
|
|
3814
3849
|
width: 450px;
|
|
3815
3850
|
box-shadow: 0px 4px 14px 0px rgba(0, 0, 0, 0.18), 0px 0px 4px 0px rgba(0, 0, 0, 0.14);
|
|
3816
3851
|
border-radius: 4px;
|
|
3817
|
-
|
|
3852
|
+
}
|
|
3853
|
+
|
|
3854
|
+
._alert_vitro-alert_3sPAkJb .alert {
|
|
3855
|
+
margin-bottom: 0;
|
|
3856
|
+
padding: 12px;
|
|
3857
|
+
border-radius: 4px;
|
|
3818
3858
|
}
|
|
3819
3859
|
|
|
3820
3860
|
#Timesheets ._alert_vitro-alert_3sPAkJb {
|
|
@@ -3956,82 +3996,93 @@ ul > li:last-child > ul > li:last-child ._sidebar-item_vitro-active_7p5iOhY {
|
|
|
3956
3996
|
margin: 5px;
|
|
3957
3997
|
}
|
|
3958
3998
|
|
|
3959
|
-
._alert_vitro-alert_3sPAkJb.alert-danger,
|
|
3960
|
-
._alert_vitro-alert_3sPAkJb.alert-success,
|
|
3961
|
-
._alert_vitro-alert_3sPAkJb.alert-warning {
|
|
3999
|
+
._alert_vitro-alert_3sPAkJb .alert-danger,
|
|
4000
|
+
._alert_vitro-alert_3sPAkJb .alert-success,
|
|
4001
|
+
._alert_vitro-alert_3sPAkJb .alert-warning {
|
|
3962
4002
|
border: none;
|
|
3963
4003
|
background-color: #fff !important;
|
|
3964
4004
|
color: #222d44;
|
|
3965
4005
|
}
|
|
3966
4006
|
|
|
3967
|
-
._alert_vitro-alert_3sPAkJb.alert-danger {
|
|
4007
|
+
._alert_vitro-alert_3sPAkJb .alert-danger {
|
|
3968
4008
|
border-left: 4px solid #D13438;
|
|
3969
4009
|
}
|
|
3970
4010
|
|
|
3971
|
-
._alert_vitro-alert_3sPAkJb.alert-success {
|
|
4011
|
+
._alert_vitro-alert_3sPAkJb .alert-success {
|
|
3972
4012
|
border-left: 4px solid #198754;
|
|
3973
4013
|
}
|
|
3974
4014
|
|
|
3975
|
-
._alert_vitro-alert_3sPAkJb.alert-warning {
|
|
4015
|
+
._alert_vitro-alert_3sPAkJb .alert-warning {
|
|
3976
4016
|
border-left: 4px solid #F3AD4A;
|
|
3977
4017
|
}
|
|
3978
4018
|
|
|
3979
|
-
._alert_vitro-alert_3sPAkJb.alert-danger ._alert_vitro-icon_pK385gF {
|
|
4019
|
+
._alert_vitro-alert_3sPAkJb .alert-danger ._alert_vitro-icon_pK385gF {
|
|
3980
4020
|
/* error.svg URL-encoder for SVG */
|
|
3981
4021
|
background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cg id='check-one /Line/Black'%3E%3Cpath id='Vector' d='M12 22.0039C14.7614 22.0039 17.2614 20.8846 19.071 19.075C20.8807 17.2653 22 14.7653 22 12.0039C22 9.24251 20.8807 6.74251 19.071 4.93284C17.2614 3.1232 14.7614 2.00391 12 2.00391C9.2386 2.00391 6.7386 3.1232 4.92893 4.93284C3.11929 6.74251 2 9.24251 2 12.0039C2 14.7653 3.11929 17.2653 4.92893 19.075C6.7386 20.8846 9.2386 22.0039 12 22.0039Z' fill='%23D13438'/%3E%3Cpath id='Vector_2' d='M9 15L12 12L15 15M15 9L11.9994 12L9 9' stroke='white' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/g%3E%3C/svg%3E%0A");
|
|
3982
4022
|
}
|
|
3983
4023
|
|
|
3984
|
-
._alert_vitro-alert_3sPAkJb.alert-success ._alert_vitro-icon_pK385gF {
|
|
4024
|
+
._alert_vitro-alert_3sPAkJb .alert-success ._alert_vitro-icon_pK385gF {
|
|
3985
4025
|
/* success.svg URL-encoder for SVG */
|
|
3986
4026
|
background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cg id='check-one /Line/Black'%3E%3Crect width='24' height='24' fill='white'/%3E%3Cpath id='Vector' d='M12 22C14.7614 22 17.2614 20.8807 19.0711 19.0711C20.8807 17.2614 22 14.7614 22 12C22 9.2386 20.8807 6.7386 19.0711 4.92893C17.2614 3.11929 14.7614 2 12 2C9.2386 2 6.7386 3.11929 4.92893 4.92893C3.11929 6.7386 2 9.2386 2 12C2 14.7614 3.11929 17.2614 4.92893 19.0711C6.7386 20.8807 9.2386 22 12 22Z' fill='%23198754'/%3E%3Cpath id='Vector_2' d='M8 12L11 15L16 10' stroke='white' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/g%3E%3C/svg%3E%0A");
|
|
3987
4027
|
}
|
|
3988
4028
|
|
|
3989
|
-
._alert_vitro-alert_3sPAkJb.alert-warning ._alert_vitro-icon_pK385gF {
|
|
4029
|
+
._alert_vitro-alert_3sPAkJb .alert-warning ._alert_vitro-icon_pK385gF {
|
|
3990
4030
|
/* warning.svg URL-encoder for SVG */
|
|
3991
4031
|
background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cg id='check-one /Line/Black'%3E%3Cpath id='Vector' d='M12 22.0039C14.7614 22.0039 17.2614 20.8846 19.071 19.075C20.8807 17.2653 22 14.7653 22 12.0039C22 9.24251 20.8807 6.74251 19.071 4.93284C17.2614 3.1232 14.7614 2.00391 12 2.00391C9.2386 2.00391 6.7386 3.1232 4.92893 4.93284C3.11929 6.74251 2 9.24251 2 12.0039C2 14.7653 3.11929 17.2653 4.92893 19.075C6.7386 20.8846 9.2386 22.0039 12 22.0039Z' fill='%23F3AD4A'/%3E%3Cg id='Vector_2'%3E%3Cpath d='M12 6V12Z' fill='white'/%3E%3Cpath d='M12 6V12' stroke='white' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/g%3E%3Ccircle id='Ellipse 135' cx='12' cy='17' r='1' fill='white'/%3E%3C/g%3E%3C/svg%3E%0A");
|
|
3992
4032
|
}
|
|
3993
|
-
._dialog-
|
|
3994
|
-
|
|
3995
|
-
|
|
3996
|
-
|
|
4033
|
+
._dialog-content_vitro-dialog-content_qQNWu6x {
|
|
4034
|
+
min-width: auto;
|
|
4035
|
+
overflow: hidden;
|
|
4036
|
+
display: flex;
|
|
4037
|
+
flex-direction: column;
|
|
4038
|
+
flex-grow: 1;
|
|
4039
|
+
flex-shrink: 1;
|
|
3997
4040
|
}
|
|
3998
|
-
|
|
3999
|
-
.
|
|
4000
|
-
|
|
4001
|
-
|
|
4002
|
-
|
|
4003
|
-
|
|
4004
|
-
|
|
4005
|
-
|
|
4006
|
-
|
|
4041
|
+
|
|
4042
|
+
._dialog-content_vitro-dialog-content_qQNWu6x .ps {
|
|
4043
|
+
padding-top: 12px;
|
|
4044
|
+
padding-left: 16px;
|
|
4045
|
+
}
|
|
4046
|
+
|
|
4047
|
+
._dialog-content_vitro-dialog-content_qQNWu6x > div {
|
|
4048
|
+
max-height: 100%;
|
|
4049
|
+
}
|
|
4050
|
+
._dialog-header_vitro-dialog-header_2W3GraU {
|
|
4051
|
+
padding: 20px 16px;
|
|
4052
|
+
border-bottom: 1px solid #E4E6EC;
|
|
4053
|
+
background: #fff;
|
|
4054
|
+
border-radius: 4px 4px 0 0;
|
|
4007
4055
|
display: flex;
|
|
4008
4056
|
align-items: center;
|
|
4009
|
-
justify-content: center;
|
|
4010
|
-
background: rgba(34, 45, 68, 0.2);
|
|
4011
4057
|
}
|
|
4012
4058
|
|
|
4013
|
-
.
|
|
4014
|
-
|
|
4015
|
-
|
|
4016
|
-
|
|
4017
|
-
|
|
4018
|
-
position: absolute;
|
|
4019
|
-
display: block;
|
|
4020
|
-
left: 50%;
|
|
4021
|
-
top: 50%;
|
|
4022
|
-
transform: translate(-50%, -50%);
|
|
4023
|
-
opacity: 1;
|
|
4024
|
-
padding: 24px;
|
|
4025
|
-
border-radius: 4px;
|
|
4026
|
-
min-height: 514px;
|
|
4027
|
-
width: 760px;
|
|
4028
|
-
box-shadow: 0px 4px 14px 0px rgba(0, 0, 0, 0.18), 0px 0px 4px 0px rgba(0, 0, 0, 0.14);
|
|
4059
|
+
._dialog-header_vitro-title_2k8SPhE {
|
|
4060
|
+
color: #222D44;
|
|
4061
|
+
font-size: 20px;
|
|
4062
|
+
line-height: 24px;
|
|
4063
|
+
margin-bottom: 0;
|
|
4029
4064
|
}
|
|
4030
4065
|
|
|
4031
|
-
.
|
|
4032
|
-
|
|
4066
|
+
._dialog-header_vitro-description_Hiq51VI {
|
|
4067
|
+
color: #4A556C;
|
|
4068
|
+
font-size: 14px;
|
|
4069
|
+
line-height: 16px;
|
|
4070
|
+
margin-top: 7px;
|
|
4071
|
+
margin-bottom: 0;
|
|
4072
|
+
}
|
|
4073
|
+
|
|
4074
|
+
._dialog-header_vitro-icon_3GtsVWO {
|
|
4075
|
+
width: 38px;
|
|
4076
|
+
height: 38px;
|
|
4077
|
+
margin-right: 16px;
|
|
4078
|
+
}
|
|
4079
|
+
._dialog-button_vitro-dialog-button_1fQ5l22 {
|
|
4080
|
+
margin-left: 12px;
|
|
4081
|
+
}
|
|
4082
|
+
|
|
4083
|
+
._dialog-button_vitro-dialog-button_1fQ5l22:disabled {
|
|
4084
|
+
background: #E0E0E0;
|
|
4033
4085
|
}
|
|
4034
|
-
|
|
4035
4086
|
._dialog-button-close_vitro-dialog-button-close_1p27cEz {
|
|
4036
4087
|
display: block;
|
|
4037
4088
|
position: absolute;
|
|
@@ -4040,20 +4091,19 @@ ul > li:last-child > ul > li:last-child ._sidebar-item_vitro-active_7p5iOhY {
|
|
|
4040
4091
|
outline: 0;
|
|
4041
4092
|
cursor: pointer;
|
|
4042
4093
|
padding: 0;
|
|
4043
|
-
width:
|
|
4044
|
-
height:
|
|
4045
|
-
right: -
|
|
4094
|
+
width: 26px;
|
|
4095
|
+
height: 26px;
|
|
4096
|
+
right: -42px;
|
|
4046
4097
|
top: 2px;
|
|
4047
4098
|
/* close.svg URL-encoder for SVG */
|
|
4048
4099
|
background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 32 32' fill='none' stroke='%23fff' stroke-width='2' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M0 32.333l16-16m0 0l-16-16m16 16l16 16m-16-16l16-16'%3E%3C/path%3E%3C/svg%3E");
|
|
4049
4100
|
}
|
|
4050
4101
|
|
|
4051
4102
|
._dialog-button-close_vitro-button-close_2BpzTR0 {
|
|
4103
|
+
font-family: 'InterRegular' !important;
|
|
4052
4104
|
background: #fff !important;
|
|
4053
4105
|
color: #222D44 !important;
|
|
4054
4106
|
border: none;
|
|
4055
|
-
margin-left: 12px;
|
|
4056
|
-
font-family: 'InterRegular' !important;
|
|
4057
4107
|
}
|
|
4058
4108
|
|
|
4059
4109
|
._dialog-button-close_vitro-button-close_2BpzTR0:hover,
|
|
@@ -4067,47 +4117,46 @@ ul > li:last-child > ul > li:last-child ._sidebar-item_vitro-active_7p5iOhY {
|
|
|
4067
4117
|
}
|
|
4068
4118
|
}
|
|
4069
4119
|
|
|
4070
|
-
._dialog-
|
|
4071
|
-
min-width: auto;
|
|
4072
|
-
overflow: visible;
|
|
4073
|
-
flex: none;
|
|
4120
|
+
._dialog-footer_vitro-dialog-footer_2vUQ3aG {
|
|
4074
4121
|
display: flex;
|
|
4075
|
-
|
|
4076
|
-
|
|
4077
|
-
|
|
4078
|
-
|
|
4079
|
-
|
|
4080
|
-
|
|
4081
|
-
|
|
4082
|
-
._dialog-content_vitro-dialog-content_qQNWu6x {
|
|
4083
|
-
max-height: 360px !important;
|
|
4084
|
-
height: 360px;
|
|
4085
|
-
}
|
|
4086
|
-
|
|
4087
|
-
._dialog-content_vitro-dialog-content_qQNWu6x textarea {
|
|
4088
|
-
max-height: 200px;
|
|
4122
|
+
justify-content: flex-end;
|
|
4123
|
+
background: #fff;
|
|
4124
|
+
width: 100%;
|
|
4125
|
+
padding: 16px;
|
|
4126
|
+
border-top: 1px solid #E4E6EC;
|
|
4127
|
+
margin-top: auto;
|
|
4128
|
+
border-radius: 0 0 4px 4px;
|
|
4089
4129
|
}
|
|
4090
|
-
|
|
4091
|
-
.
|
|
4092
|
-
|
|
4130
|
+
|
|
4131
|
+
._dialog_vitro-dialog_2NzcRZg {
|
|
4132
|
+
position: fixed;
|
|
4133
|
+
margin: 0 auto;
|
|
4134
|
+
left: 0;
|
|
4135
|
+
right: 0;
|
|
4136
|
+
top: 0;
|
|
4137
|
+
bottom: 0;
|
|
4138
|
+
z-index: 10000;
|
|
4139
|
+
display: flex;
|
|
4140
|
+
align-items: center;
|
|
4141
|
+
justify-content: center;
|
|
4142
|
+
background: rgba(34, 45, 68, 0.2);
|
|
4093
4143
|
}
|
|
4094
4144
|
|
|
4095
|
-
.
|
|
4096
|
-
height: 100%;
|
|
4097
|
-
margin: 0 !important;
|
|
4098
|
-
}
|
|
4099
|
-
|
|
4100
|
-
._dialog-button_vitro-dialog-button_1fQ5l22:disabled {
|
|
4101
|
-
background: #E0E0E0;
|
|
4102
|
-
}
|
|
4103
|
-
._dialog-footer_vitro-dialog-footer_2vUQ3aG {
|
|
4145
|
+
._dialog_vitro-dialog_2NzcRZg > div {
|
|
4104
4146
|
display: flex;
|
|
4105
|
-
|
|
4106
|
-
|
|
4147
|
+
flex-direction: column;
|
|
4148
|
+
border: 1px solid #C0CAD5;
|
|
4107
4149
|
background: #fff;
|
|
4108
4150
|
position: absolute;
|
|
4109
|
-
|
|
4110
|
-
|
|
4151
|
+
overflow: visible;
|
|
4152
|
+
left: 50%;
|
|
4153
|
+
top: 50%;
|
|
4154
|
+
transform: translate(-50%, -50%);
|
|
4155
|
+
opacity: 1;
|
|
4156
|
+
border-radius: 4px;
|
|
4157
|
+
height: 534px;
|
|
4158
|
+
width: 760px;
|
|
4159
|
+
box-shadow: 0px 4px 14px 0px rgba(0, 0, 0, 0.18), 0px 0px 4px 0px rgba(0, 0, 0, 0.14);
|
|
4111
4160
|
}
|
|
4112
4161
|
._user-profile_vitro-user-profile_11XpBoQ span {
|
|
4113
4162
|
margin-right: 10px;
|
|
@@ -4287,3 +4336,115 @@ ul > li:last-child > ul > li:last-child ._sidebar-item_vitro-active_7p5iOhY {
|
|
|
4287
4336
|
._activity-item_vitro-avatar_218ZqAk {
|
|
4288
4337
|
margin-right: 4px;
|
|
4289
4338
|
}
|
|
4339
|
+
|
|
4340
|
+
._message-input_vitro-message-input_3MkcjWD {
|
|
4341
|
+
display: flex;
|
|
4342
|
+
align-items: flex-start;
|
|
4343
|
+
border-top: 1px solid #e0e0e0;
|
|
4344
|
+
padding-top: 12px;
|
|
4345
|
+
}
|
|
4346
|
+
|
|
4347
|
+
._message-input_vitro-message-input_3MkcjWD ._message-input_vitro-control_1PUSjq9 {
|
|
4348
|
+
width: 100%;
|
|
4349
|
+
position: relative;
|
|
4350
|
+
padding: 0;
|
|
4351
|
+
border-radius: 4px;
|
|
4352
|
+
border: 1px solid #C0CAD5;
|
|
4353
|
+
min-height: 40px;
|
|
4354
|
+
display: flex;
|
|
4355
|
+
justify-content: space-between;
|
|
4356
|
+
align-items: center;
|
|
4357
|
+
padding: 0 8px;
|
|
4358
|
+
margin-left: 8px;
|
|
4359
|
+
}
|
|
4360
|
+
|
|
4361
|
+
._message-input_vitro-control_1PUSjq9 textarea {
|
|
4362
|
+
border: none;
|
|
4363
|
+
resize: none;
|
|
4364
|
+
line-height: 20px;
|
|
4365
|
+
overflow-y: auto;
|
|
4366
|
+
height: 20px;
|
|
4367
|
+
width: 90%;
|
|
4368
|
+
}
|
|
4369
|
+
|
|
4370
|
+
._message-input_vitro-control_1PUSjq9 span {
|
|
4371
|
+
overflow-y: auto;
|
|
4372
|
+
width: 90%;
|
|
4373
|
+
height: -moz-fit-content;
|
|
4374
|
+
height: fit-content;
|
|
4375
|
+
max-height: 60px;
|
|
4376
|
+
}
|
|
4377
|
+
|
|
4378
|
+
._message-input_vitro-button-send_1vktQrZ {
|
|
4379
|
+
height: 24px;
|
|
4380
|
+
width: 24px;
|
|
4381
|
+
background-color: #fff;
|
|
4382
|
+
border: none;
|
|
4383
|
+
outline: none;
|
|
4384
|
+
background-size: 100%;
|
|
4385
|
+
background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' version='1.1' id='Layer_1' x='0px' y='0px' viewBox='0 0 20 20' style='enable-background:new 0 0 20 20;' xml:space='preserve'%3E%3Cstyle type='text/css'%3E .st0%7Bfill:none;stroke:%23BDBDBD;stroke-miterlimit:10;%7D%0A%3C/style%3E%3Cpath class='st0' d='M18,10L1.5,8.5l0-5.9L18,10c-5.5,2.5-11,5-16.5,7.5v-6L18,10'/%3E%3C/svg%3E");
|
|
4386
|
+
}
|
|
4387
|
+
|
|
4388
|
+
._message-input_vitro-button-send_1vktQrZ:hover,
|
|
4389
|
+
._message-input_vitro-button-send_1vktQrZ:active {
|
|
4390
|
+
background-color: none;
|
|
4391
|
+
border: none;
|
|
4392
|
+
outline: none;
|
|
4393
|
+
}
|
|
4394
|
+
|
|
4395
|
+
.vitro-input-upload-file {
|
|
4396
|
+
height: 24px;
|
|
4397
|
+
}
|
|
4398
|
+
|
|
4399
|
+
.vitro-input-upload-file input {
|
|
4400
|
+
display: none;
|
|
4401
|
+
}
|
|
4402
|
+
|
|
4403
|
+
.vitro-input-upload-file label {
|
|
4404
|
+
margin-bottom: 0px;
|
|
4405
|
+
}
|
|
4406
|
+
|
|
4407
|
+
.card-header, textarea.note-codable, .note-statusbar, .note-table-popover.bottom, .note-link-popover.bottom, .note-dropzone {
|
|
4408
|
+
display: none;
|
|
4409
|
+
}
|
|
4410
|
+
|
|
4411
|
+
.note-editor {
|
|
4412
|
+
width: 100%;
|
|
4413
|
+
border: none !important;
|
|
4414
|
+
}
|
|
4415
|
+
|
|
4416
|
+
.note-editable {
|
|
4417
|
+
color: #4F4F4F;
|
|
4418
|
+
}
|
|
4419
|
+
|
|
4420
|
+
.note-editable img {
|
|
4421
|
+
max-width: 200px;
|
|
4422
|
+
display: block;
|
|
4423
|
+
}
|
|
4424
|
+
|
|
4425
|
+
.note-popover.popover {
|
|
4426
|
+
max-width: 440px;
|
|
4427
|
+
max-height: 150px;
|
|
4428
|
+
overflow-y: auto;
|
|
4429
|
+
border: none;
|
|
4430
|
+
background: #fff;
|
|
4431
|
+
box-shadow: 0 4px 16px rgb(0 0 0 / 10%);
|
|
4432
|
+
border-radius: 8px;
|
|
4433
|
+
margin-bottom: 8px;
|
|
4434
|
+
}
|
|
4435
|
+
|
|
4436
|
+
.note-popover.popover div.note-hint-group {
|
|
4437
|
+
padding: 8px 0;
|
|
4438
|
+
}
|
|
4439
|
+
|
|
4440
|
+
.note-hint-item {
|
|
4441
|
+
padding: 4px 8px;
|
|
4442
|
+
font-family: "InterRegular";
|
|
4443
|
+
font-size: 10pt;
|
|
4444
|
+
line-height: 11pt;
|
|
4445
|
+
cursor: pointer;
|
|
4446
|
+
}
|
|
4447
|
+
|
|
4448
|
+
.note-hint-item:hover {
|
|
4449
|
+
background: #F5F6FA;
|
|
4450
|
+
}
|
package/dist/index.d.ts
CHANGED
|
@@ -46,7 +46,7 @@ import { SidebarSection } from './controls/Sidebar/SidebarSection';
|
|
|
46
46
|
import { TaskTile } from './controls/TaskTile/TaskTile';
|
|
47
47
|
import { Alert } from './controls/Alert/Alert';
|
|
48
48
|
import * as ALERT from './controls/Alert/AlertConstants';
|
|
49
|
-
import { Dialog } from './controls/Dialog/Dialog';
|
|
49
|
+
import { Dialog, DialogProps } from './controls/Dialog/Dialog';
|
|
50
50
|
import { DialogContent } from './controls/Dialog/DialogContent';
|
|
51
51
|
import { DialogFooter } from './controls/Dialog/DialogFooter';
|
|
52
52
|
import { Avatar } from './controls/Avatar/Avatar';
|
|
@@ -61,6 +61,7 @@ import { ActivityItem, ActivityItemProps } from './controls/ActivityItem/Activit
|
|
|
61
61
|
import { Icon } from './controls/Icon/Icon';
|
|
62
62
|
import { EVENT } from './constants/Event';
|
|
63
63
|
import { ScrollBar } from './controls/ScrollBar/ScrollBar';
|
|
64
|
+
import { MessageInput } from './controls/MessageInput/MessageInput';
|
|
64
65
|
export { Breadcrumbs };
|
|
65
66
|
export { TopLevelMenu };
|
|
66
67
|
export { TreeView, TreeViewContext, TREE_VIEW };
|
|
@@ -84,7 +85,7 @@ export { CommandMenu, CommandMenuButton, CommandMenuLookupPicker, CommandMenuDro
|
|
|
84
85
|
export { Sidebar, SidebarItem, SidebarSection };
|
|
85
86
|
export { TaskTile };
|
|
86
87
|
export { Alert, ALERT };
|
|
87
|
-
export { Dialog, DialogContent, DialogFooter };
|
|
88
|
+
export { Dialog, DialogProps, DialogContent, DialogFooter };
|
|
88
89
|
export { Avatar };
|
|
89
90
|
export { UserProfile };
|
|
90
91
|
export { UserLookupPicker };
|
|
@@ -96,3 +97,4 @@ export { ActivityItem, ActivityItemProps };
|
|
|
96
97
|
export { Icon };
|
|
97
98
|
export { EVENT };
|
|
98
99
|
export { ScrollBar };
|
|
100
|
+
export { MessageInput };
|