@vitrosoftware/common-ui-ts 1.1.12 → 1.1.14

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.
Files changed (104) hide show
  1. package/css/common.css +33 -1
  2. package/css/std/controls/action-handler/action-handler-info.css +103 -0
  3. package/css/std/controls/action-handler/action-handler.css +247 -0
  4. package/css/std/controls/alert/alert.css +184 -0
  5. package/css/std/controls/breadcrumbs/breadcrumbs.css +137 -0
  6. package/css/std/controls/button/button.css +67 -0
  7. package/css/std/controls/command-menu/command-menu-button.css +28 -0
  8. package/css/std/controls/command-menu/command-menu-dropdown-button.css +174 -0
  9. package/css/std/controls/command-menu/command-menu-item.css +14 -0
  10. package/css/std/controls/command-menu/command-menu-lookup-picker.css +48 -0
  11. package/css/std/controls/command-menu/command-menu.css +18 -0
  12. package/css/std/controls/control-group/control-group.css +27 -0
  13. package/css/std/controls/date-picker/date-picker.css +311 -0
  14. package/css/std/controls/dialog/dialog-button-close.css +34 -0
  15. package/css/std/controls/dialog/dialog-button.css +3 -0
  16. package/css/std/controls/dialog/dialog-content.css +29 -0
  17. package/css/std/controls/dialog/dialog-footer.css +9 -0
  18. package/css/std/controls/dialog/dialog-header.css +5 -0
  19. package/css/std/controls/dialog/dialog.css +35 -0
  20. package/css/std/controls/input/input.css +145 -0
  21. package/css/std/controls/label/label.css +8 -0
  22. package/css/std/controls/login/img/login-background.png +0 -0
  23. package/css/std/controls/login/login.css +230 -0
  24. package/css/std/controls/lookup-picker/lookup-picker-selected-item.css +4 -0
  25. package/css/std/controls/lookup-picker/lookup-picker-value-list.css +52 -0
  26. package/css/std/controls/lookup-picker/lookup-picker.css +144 -0
  27. package/css/std/controls/sidebar/sidebar-item.css +110 -0
  28. package/css/std/controls/sidebar/sidebar.css +104 -0
  29. package/css/std/controls/tab-group/tab-group.css +117 -0
  30. package/css/std/controls/table-view/table-view-custom-date-edit.css +24 -0
  31. package/css/std/controls/table-view/table-view-custom-lookup-edit.css +4 -0
  32. package/css/std/controls/table-view/table-view.css +45 -0
  33. package/css/std/controls/table-view/treegrid.css +588 -0
  34. package/css/std/controls/task-tile/task-tile.css +91 -0
  35. package/css/std/controls/time-picker/time-picker.css +286 -0
  36. package/css/std/controls/tree-view/tree-view-context-menu.css +77 -0
  37. package/css/std/controls/tree-view/tree-view.css +110 -0
  38. package/css/std/controls/uploader/uploader.css +474 -0
  39. package/css/std/controls/view/view.css +5 -0
  40. package/css/std/controls/view-part/view-part.css +5 -0
  41. package/css/white/controls/sidebar/sidebar-item.css +54 -0
  42. package/css/white/controls/sidebar/sidebar.css +75 -0
  43. package/dist/constants/Ctrl.d.ts +28 -0
  44. package/dist/constants/Event.d.ts +5 -1
  45. package/dist/controls/ActionHandler/ActionHandler.d.ts +6 -3
  46. package/dist/controls/ActionHandler/ActionHandlerConstants.d.ts +13 -6
  47. package/dist/controls/ActionHandler/ActionInfo.d.ts +12 -0
  48. package/dist/controls/ActionHandler/ActionInfoItem.d.ts +13 -0
  49. package/dist/controls/Alert/Alert.d.ts +19 -0
  50. package/dist/controls/Alert/AlertConstants.d.ts +5 -0
  51. package/dist/controls/Breadcrumbs/Breadcrumbs.d.ts +6 -2
  52. package/dist/controls/Breadcrumbs/Item.d.ts +2 -1
  53. package/dist/controls/Button/Button.d.ts +14 -0
  54. package/dist/controls/CommandMenu/CommandMenu.d.ts +6 -0
  55. package/dist/controls/CommandMenu/CommandMenuButton.d.ts +13 -0
  56. package/dist/controls/CommandMenu/CommandMenuDropdownButton.d.ts +17 -0
  57. package/dist/controls/CommandMenu/CommandMenuItemHeader.d.ts +11 -0
  58. package/dist/controls/CommandMenu/CommandMenuLookupPicker.d.ts +32 -0
  59. package/dist/controls/CommandMenu/CommandMenuSubItem.d.ts +12 -0
  60. package/dist/controls/DatePicker/DatePicker.d.ts +26 -0
  61. package/dist/controls/DatePicker/DatePickerConstants.d.ts +12 -0
  62. package/dist/controls/Dialog/Dialog.d.ts +13 -0
  63. package/dist/controls/Dialog/DialogButton.d.ts +9 -0
  64. package/dist/controls/Dialog/DialogCloseButton.d.ts +8 -0
  65. package/dist/controls/Dialog/DialogComponent.d.ts +9 -0
  66. package/dist/controls/Dialog/DialogConstants.d.ts +5 -0
  67. package/dist/controls/Dialog/DialogContent.d.ts +6 -0
  68. package/dist/controls/Dialog/DialogFooter.d.ts +11 -0
  69. package/dist/controls/Dialog/DialogHeader.d.ts +6 -0
  70. package/dist/controls/Input/Input.d.ts +32 -0
  71. package/dist/controls/Input/InputConstants.d.ts +11 -0
  72. package/dist/controls/Label/Label.d.ts +9 -0
  73. package/dist/controls/Label/LabelConstants.d.ts +3 -0
  74. package/dist/controls/Login/Login.d.ts +17 -0
  75. package/dist/controls/Login/LoginConstants.d.ts +18 -0
  76. package/dist/controls/Login/LoginFooter.d.ts +10 -0
  77. package/dist/controls/Login/LoginInput.d.ts +17 -0
  78. package/dist/controls/LookupPicker/LookupPicker.d.ts +33 -0
  79. package/dist/controls/LookupPicker/LookupPickerConstants.d.ts +3 -0
  80. package/dist/controls/LookupPicker/SelectedValueList.d.ts +11 -0
  81. package/dist/controls/LookupPicker/ValueList.d.ts +16 -0
  82. package/dist/controls/Sidebar/Item.d.ts +9 -0
  83. package/dist/controls/Sidebar/LinkItem.d.ts +16 -0
  84. package/dist/controls/Sidebar/Section.d.ts +11 -0
  85. package/dist/controls/Sidebar/SectionList.d.ts +10 -0
  86. package/dist/controls/Sidebar/Sidebar.d.ts +14 -0
  87. package/dist/controls/Sidebar/SidebarConstants.d.ts +4 -0
  88. package/dist/controls/Sidebar/SidebarItem.d.ts +10 -0
  89. package/dist/controls/Sidebar/SidebarSection.d.ts +7 -0
  90. package/dist/controls/TableView/TableViewConstants.d.ts +4 -0
  91. package/dist/controls/TaskTile/TaskTile.d.ts +18 -0
  92. package/dist/controls/TelerikUploader/TelerikUploaderConstants.d.ts +14 -2
  93. package/dist/controls/TelerikUploader/TelerikUploaderContextImpl.d.ts +22 -2
  94. package/dist/controls/TimePicker/TimePicker.d.ts +20 -0
  95. package/dist/controls/TimePicker/TimePickerConstants.d.ts +12 -0
  96. package/dist/index.css +3266 -471
  97. package/dist/index.d.ts +62 -26
  98. package/dist/index.js +4752 -314
  99. package/dist/index.js.map +1 -1
  100. package/dist/index.modern.js +4734 -317
  101. package/dist/index.modern.js.map +1 -1
  102. package/lib/third-party.js +97104 -0
  103. package/package.json +4 -2
  104. /package/css/{third-party/treegrid → white/controls/table-view}/treegrid.css +0 -0
package/css/common.css CHANGED
@@ -1,5 +1,4 @@
1
1
  @import url('@vitrosoftware/common-ui-ts/css/third-party/kendo/kendo.css');
2
- @import url('@vitrosoftware/common-ui-ts/css/third-party/treegrid/treegrid.css');
3
2
  @import url('@vitrosoftware/common-ui-ts/css/third-party/jstree/style.min.css');
4
3
  @import url('@vitrosoftware/common-ui-ts/css/third-party/jquery-ui/jquery-ui.min.css');
5
4
  @import url('@vitrosoftware/common-ui-ts/css/third-party/jquery-ui/jquery-ui.structure.css');
@@ -16,3 +15,36 @@
16
15
  :global(.vitro-opacity-normal) {
17
16
  opacity: 1;
18
17
  }
18
+
19
+ :global(.vitro-title) {
20
+ font-size: 20px;
21
+ font-family: 'InterMedium';
22
+ line-height: 24px;
23
+ margin-right: 24px;
24
+ margin-bottom: 14px;
25
+ }
26
+
27
+ :global(.vitro-flex) {
28
+ display: flex;
29
+ }
30
+
31
+ :global(.vitro-title.vitro-border-bottom) {
32
+ border-bottom: 1px solid #E4E6EC;
33
+ margin-right: 12px;
34
+ margin-bottom: 0;
35
+ padding-bottom: 12px;
36
+ }
37
+
38
+ @media (max-width: 800px) {
39
+ :global(.vitro-title) {
40
+ padding-bottom: 8px;
41
+ font-size: 18px;
42
+ line-height: 27px;
43
+ margin: 0;
44
+ }
45
+
46
+ :global(.pane) > :global(.vitro-flex) {
47
+ flex-direction: column;
48
+ align-items: flex-start;
49
+ }
50
+ }
@@ -0,0 +1,103 @@
1
+ .vitro-info-container {
2
+ width: 100%;
3
+ padding-top: 16px;
4
+ margin-top: 16px;
5
+ border-top: 1px solid #E4E6EC;
6
+ }
7
+
8
+ .vitro-action-info {
9
+ color: #4A556C;
10
+ font-size: 14px;
11
+ line-height: 21px;
12
+ margin-left: 32px;
13
+ }
14
+
15
+ .vitro-item-container {
16
+ margin-top: 16px;
17
+ }
18
+
19
+ .vitro-item {
20
+ display: flex;
21
+ margin-bottom: 4px;
22
+ height: 32px;
23
+ justify-content: space-between;
24
+ align-items: center;
25
+ }
26
+
27
+ .vitro-item:last-child {
28
+ margin-bottom: 0;
29
+ }
30
+
31
+ .vitro-title {
32
+ color: #222D44;
33
+ font-size: 12px;
34
+ line-height: 16px;
35
+ }
36
+
37
+ .vitro-subtitle {
38
+ color: #8E98A3;
39
+ font-size: 11px;
40
+ line-height: 16px;
41
+ }
42
+
43
+ .vitro-progress-bar {
44
+ width: 32px;
45
+ height: 32px;
46
+ border-radius: 50%;
47
+ display: flex;
48
+ align-items: center;
49
+ justify-content: center;
50
+ background: #3274E0;
51
+ position: relative;
52
+ margin-left: 12px;
53
+ }
54
+
55
+ .vitro-progress-bar::before {
56
+ content: '';
57
+ display: block;
58
+ width: 28px;
59
+ height: 28px;
60
+ background: #fff;
61
+ border-radius: 50%;
62
+ position: absolute;
63
+ top: calc(50% - 14px);
64
+ left: calc(50% - 14px);
65
+ }
66
+
67
+ .vitro-button-cancel {
68
+ cursor: pointer;
69
+ width: 16px;
70
+ height: 16px;
71
+ z-index: 100;
72
+ background-size: 100%;
73
+ background-position: center;
74
+ background-repeat: no-repeat;
75
+ background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none'%3E%3Cpath d='M4.50488 11.4965L8.00022 8.00119L11.4955 11.4965M11.4955 4.50586L7.99955 8.00119L4.50488 4.50586' stroke='%23999B9D' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
76
+ }
77
+
78
+ .vitro-success,
79
+ .vitro-progress,
80
+ .vitro-error,
81
+ .vitro-status {
82
+ font-size: 12px;
83
+ line-height: 16px;
84
+ white-space: nowrap;
85
+ display: flex;
86
+ align-items: center;
87
+ }
88
+
89
+ .vitro-success {
90
+ color: #198754;
91
+ }
92
+
93
+ .vitro-progress {
94
+ color: #2A63F6;
95
+ }
96
+
97
+ .vitro-error {
98
+ color: #D13438;
99
+ }
100
+
101
+ .vitro-status {
102
+ color: #4A556C;
103
+ }
@@ -0,0 +1,247 @@
1
+ .vitro-action-handler > :global(div.popover) {
2
+ z-index: 10000;
3
+ max-width: unset !important;
4
+ border: none;
5
+ box-shadow: 0px 4px 14px 0px rgba(0, 0, 0, 0.16), 0px 0px 4px 0px rgba(0, 0, 0, 0.12);
6
+ }
7
+
8
+ .vitro-icon-before,
9
+ .vitro-icon-progress,
10
+ .vitro-icon-success,
11
+ .vitro-icon-error {
12
+ background-size: 100%;
13
+ background-position: center;
14
+ background-repeat: no-repeat;
15
+ }
16
+
17
+ .vitro-icon-before {
18
+ width: 42px;
19
+ height: 42px;
20
+ margin-right: 16px;
21
+ }
22
+
23
+ .vitro-icon-progress,
24
+ .vitro-icon-success,
25
+ .vitro-icon-error,
26
+ .vitro-icon-warning {
27
+ width: 24px;
28
+ height: 24px;
29
+ margin-right: 8px;
30
+ }
31
+
32
+ .vitro-icon-before {
33
+ /* question.svg URL-encoder for SVG */
34
+ background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 42 42' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cg id='help-question'%3E%3Cpath id='Vector' d='M21.0005 36.751C29.6993 36.751 36.751 29.6993 36.751 21.0005C36.751 12.3017 29.6993 5.25 21.0005 5.25C12.3017 5.25 5.25 12.3017 5.25 21.0005C5.25 29.6993 12.3017 36.751 21.0005 36.751Z' stroke='%234A556C' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3Cpath id='Vector_2' d='M16.7656 16.7561C16.7656 15.9174 17.0146 15.0976 17.4809 14.4002C17.9473 13.7029 18.6102 13.1594 19.3858 12.8384C20.1613 12.5175 21.0147 12.4335 21.838 12.5971C22.6614 12.7607 23.4177 13.1646 24.0112 13.7576C24.6048 14.3507 25.0091 15.1063 25.1728 15.9289C25.3366 16.7514 25.2526 17.6041 24.9313 18.3789C24.6101 19.1538 24.066 19.816 23.3681 20.282C22.6701 20.7479 21.8495 20.9966 21.01 20.9966V23.8236' stroke='%23222D44' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3Cg id='Group 2567'%3E%3Cpath id='Vector_3' d='M21.0042 29.3835C20.6697 29.3835 20.3984 29.1122 20.3984 28.7777C20.3984 28.4431 20.6697 28.1719 21.0042 28.1719' stroke='%23222D44' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3Cpath id='Vector_4' d='M21 29.3835C21.3346 29.3835 21.6058 29.1122 21.6058 28.7777C21.6058 28.4431 21.3346 28.1719 21 28.1719' stroke='%23222D44' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E%0A");
35
+ }
36
+
37
+ .vitro-icon-progress {
38
+ /* preloader.svg URL-encoder for SVG */
39
+ background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' viewBox='0 0 100 100' preserveAspectRatio='xMidYMid' style='margin: auto; background-image: none; display: block; shape-rendering: auto; background-position: initial initial; background-repeat: initial initial;' class='ng-star-inserted'%3E%3Cg transform='rotate(0 50 50)'%3E%3Crect x='46' y='6' rx='3.84' ry='3.84' width='8' height='24' fill='%23347FDE'%3E%3Canimate attributeName='opacity' values='1;0' keyTimes='0;1' dur='1s' begin='-0.875s' repeatCount='indefinite'%3E%3C/animate%3E%3C/rect%3E%3C/g%3E%3Cg transform='rotate(45 50 50)'%3E%3Crect x='46' y='6' rx='3.84' ry='3.84' width='8' height='24' fill='%23347FDE'%3E%3Canimate attributeName='opacity' values='1;0' keyTimes='0;1' dur='1s' begin='-0.75s' repeatCount='indefinite'%3E%3C/animate%3E%3C/rect%3E%3C/g%3E%3Cg transform='rotate(90 50 50)'%3E%3Crect x='46' y='6' rx='3.84' ry='3.84' width='8' height='24' fill='%23347FDE'%3E%3Canimate attributeName='opacity' values='1;0' keyTimes='0;1' dur='1s' begin='-0.625s' repeatCount='indefinite'%3E%3C/animate%3E%3C/rect%3E%3C/g%3E%3Cg transform='rotate(135 50 50)'%3E%3Crect x='46' y='6' rx='3.84' ry='3.84' width='8' height='24' fill='%23347FDE'%3E%3Canimate attributeName='opacity' values='1;0' keyTimes='0;1' dur='1s' begin='-0.5s' repeatCount='indefinite'%3E%3C/animate%3E%3C/rect%3E%3C/g%3E%3Cg transform='rotate(180 50 50)'%3E%3Crect x='46' y='6' rx='3.84' ry='3.84' width='8' height='24' fill='%23347FDE'%3E%3Canimate attributeName='opacity' values='1;0' keyTimes='0;1' dur='1s' begin='-0.375s' repeatCount='indefinite'%3E%3C/animate%3E%3C/rect%3E%3C/g%3E%3Cg transform='rotate(225 50 50)'%3E%3Crect x='46' y='6' rx='3.84' ry='3.84' width='8' height='24' fill='%23347FDE'%3E%3Canimate attributeName='opacity' values='1;0' keyTimes='0;1' dur='1s' begin='-0.25s' repeatCount='indefinite'%3E%3C/animate%3E%3C/rect%3E%3C/g%3E%3Cg transform='rotate(270 50 50)'%3E%3Crect x='46' y='6' rx='3.84' ry='3.84' width='8' height='24' fill='%23347FDE'%3E%3Canimate attributeName='opacity' values='1;0' keyTimes='0;1' dur='1s' begin='-0.125s' repeatCount='indefinite'%3E%3C/animate%3E%3C/rect%3E%3C/g%3E%3Cg transform='rotate(315 50 50)'%3E%3Crect x='46' y='6' rx='3.84' ry='3.84' width='8' height='24' fill='%23347FDE'%3E%3Canimate attributeName='opacity' values='1;0' keyTimes='0;1' dur='1s' begin='0s' repeatCount='indefinite'%3E%3C/animate%3E%3C/rect%3E%3C/g%3E%3C/svg%3E");
40
+ }
41
+
42
+ .vitro-icon-error {
43
+ /* error.svg URL-encoder for SVG */
44
+ 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");
45
+ }
46
+
47
+ .vitro-icon-success {
48
+ /* success.svg URL-encoder for SVG */
49
+ 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");
50
+ }
51
+
52
+ .vitro-icon-warning {
53
+ /* warning.svg URL-encoder for SVG */
54
+ 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");
55
+ }
56
+
57
+ .vitro-action-handler :global(.popover-body) {
58
+ padding: 24px;
59
+ width: 460px;
60
+ height: 170px;
61
+ }
62
+
63
+ .vitro-action-handler :global(.popover-body) .vitro-content {
64
+ display: flex;
65
+ flex-direction: column;
66
+ }
67
+
68
+ .vitro-flex {
69
+ align-items: center;
70
+ display: flex;
71
+ }
72
+
73
+ :global(.bs-popover-auto[data-popper-placement^=bottom] > .popover-arrow::before), :global(.bs-popover-bottom > .popover-arrow::before) {
74
+ border-bottom-color: rgba(0, 0, 0, 0.12);
75
+ }
76
+
77
+ .vitro-interface-blur {
78
+ position: absolute;
79
+ z-index: 100000;
80
+ height: 100vh;
81
+ width: 100vw;
82
+ top: 0;
83
+ left: 0;
84
+ }
85
+
86
+ .vitro-action-handler-dialog-confirm, .vitro-action-handler-dialog {
87
+ z-index: 100000;
88
+ position: absolute;
89
+ display: flex;
90
+ flex-direction: column;
91
+ justify-content: space-between;
92
+ overflow: hidden;
93
+ }
94
+
95
+ .vitro-content-container {
96
+ padding: 16px;
97
+ flex: 1 1;
98
+ }
99
+
100
+ .vitro-confirm .vitro-content-container {
101
+ padding: 0;
102
+ }
103
+
104
+ .vitro-content {
105
+ width: 100%;
106
+ height: 100%;
107
+ }
108
+
109
+ .vitro-action-handler-dialog-confirm {
110
+ height: 100vh;
111
+ width: 100vw;
112
+ background: rgba(34, 45, 68, 0.2);
113
+ }
114
+
115
+ .vitro-action-handler-dialog-confirm .vitro-content {
116
+ padding: 24px;
117
+ width: 460px;
118
+ height: 170px;
119
+ background: #fff;
120
+ border-radius: 4px;
121
+ border: 1px solid #C0CAD5;
122
+ position: absolute;
123
+ top: calc(50% - 75px);
124
+ left: calc(50% - 230px);
125
+ box-shadow: 0px 4px 14px 0px rgba(0, 0, 0, 0.16), 0px 0px 4px 0px rgba(0, 0, 0, 0.12);
126
+ display: flex;
127
+ flex-direction: column;
128
+ }
129
+
130
+ .vitro-action-handler-dialog {
131
+ height: auto;
132
+ width: 450px;
133
+ top: 56px;
134
+ right: 24px;
135
+ overflow: hidden;
136
+ box-shadow: 0px 4px 14px 0px rgba(0, 0, 0, 0.16), 0px 0px 4px 0px rgba(0, 0, 0, 0.12);
137
+ border-radius: 4px;
138
+ background: #fff;
139
+ }
140
+
141
+ .vitro-action-handler-dialog .vitro-flex,
142
+ :global(.popover-body) .vitro-flex {
143
+ overflow: hidden;
144
+ }
145
+
146
+ .vitro-action-handler-dialog .vitro-flex > span {
147
+ font-size: 14px;
148
+ flex: 1 1;
149
+ }
150
+
151
+ .vitro-progress {
152
+ width: 100%;
153
+ background-color: transparent;
154
+ overflow: hidden;
155
+ margin-top: -4px;
156
+ }
157
+
158
+ .vitro-progress-bar {
159
+ width: 1%;
160
+ height: 4px;
161
+ background: #3274E0;
162
+ }
163
+
164
+ .vitro-flex > span {
165
+ color: #222D44;
166
+ font-size: 18px;
167
+ line-height: 150%;
168
+ }
169
+
170
+ .vitro-small {
171
+ color: #4A556C;
172
+ font-size: 14px;
173
+ line-height: 150% !important;
174
+ margin-left: 59px;
175
+ flex: 1 1;
176
+ margin-top: -5px;
177
+ }
178
+
179
+ .vitro-button-close {
180
+ cursor: pointer;
181
+ width: 24px;
182
+ height: 24px;
183
+ background-size: 100%;
184
+ background-position: center;
185
+ background-repeat: no-repeat;
186
+ margin-left: 10px;
187
+ /* close-red.svg URL-encoder for SVG */
188
+ 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='iconoir:cancel'%3E%3Cpath id='Vector' d='M4.79688 19.2008L11.9969 12.0008L19.1969 19.2008M19.1969 4.80078L11.9955 12.0008L4.79688 4.80078' stroke='%23D13438' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/g%3E%3C/svg%3E%0A");
189
+ }
190
+
191
+ .vitro-success .vitro-button-close,
192
+ .vitro-warning .vitro-button-close,
193
+ .vitro-error .vitro-button-close {
194
+ /* close.svg URL-encoder for SVG */
195
+ margin-left: 8px;
196
+ 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='iconoir:cancel'%3E%3Cpath id='Vector' d='M6.75781 17.2438L12.0008 12.0008L17.2438 17.2438M17.2438 6.75781L11.9998 12.0008L6.75781 6.75781' stroke='%234A556C' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/g%3E%3C/svg%3E%0A");
197
+ }
198
+
199
+ .vitro-button-cancel {
200
+ cursor: pointer;
201
+ background: #fff !important;
202
+ color: #222D44 !important;
203
+ border: 1px solid #E4E6EC !important;
204
+ margin-right: 12px !important;
205
+ }
206
+
207
+ .vitro-button-cancel:hover, .vitro-button-cancel:active {
208
+ background: #F3F8FF !important;
209
+ }
210
+
211
+ .vitro-button, .vitro-button-cancel {
212
+ min-width: 145px !important;
213
+ height: 44px !important;
214
+ font-size: 18px !important;
215
+ }
216
+
217
+ .vitro-success {
218
+ border-left: 4px solid #198754;
219
+ }
220
+
221
+ .vitro-error {
222
+ border-left: 4px solid #D13438;
223
+ }
224
+
225
+ .vitro-warning {
226
+ border-left: 4px solid #F3AD4A;
227
+ }
228
+
229
+ .vitro-button-collapse-up,
230
+ .vitro-button-collapse-bottom {
231
+ width: 24px;
232
+ height: 24px;
233
+ background-size: 100%;
234
+ background-position: center;
235
+ background-repeat: no-repeat;
236
+ cursor: pointer;
237
+ }
238
+
239
+ .vitro-button-collapse-bottom {
240
+ /* collapse-up.svg URL-encoder for SVG */
241
+ 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='Chevron-dropdown-Big'%3E%3Cpath id='Vector 9' d='M19.5 9L12 16.5L4.5 9' stroke='%234A556C' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/g%3E%3C/svg%3E%0A");
242
+ }
243
+
244
+ .vitro-button-collapse-up {
245
+ /* collapse-bottom.svg URL-encoder for SVG */
246
+ background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M4.5 16.5L12 9L19.5 16.5' stroke='%234A556C' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E%0A");
247
+ }
@@ -0,0 +1,184 @@
1
+ .vitro-alert {
2
+ border: 0;
3
+ z-index: 1000;
4
+ position: absolute;
5
+ right: 0;
6
+ width: 450px;
7
+ box-shadow: 0px 4px 14px 0px rgba(0, 0, 0, 0.18), 0px 0px 4px 0px rgba(0, 0, 0, 0.14);
8
+ border-radius: 4px;
9
+ padding: 12px !important;
10
+ }
11
+
12
+ :global(#Timesheets) .vitro-alert {
13
+ position: relative;
14
+ width: 100%;
15
+ margin-top: -12px;
16
+ margin-bottom: 24px !important;
17
+ top: 0 !important;
18
+ left: 0 !important;
19
+ transform: none !important;
20
+ }
21
+
22
+ .vitro-alert-content {
23
+ display: flex;
24
+ align-items: start;
25
+ height: auto;
26
+ }
27
+
28
+ .vitro-button-close {
29
+ cursor: pointer;
30
+ width: 24px;
31
+ height: 24px;
32
+ background-position: center;
33
+ background-size: 100%;
34
+ background-repeat: no-repeat;
35
+ 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='iconoir:cancel'%3E%3Cpath id='Vector' d='M6.75781 17.2438L12.0008 12.0008L17.2438 17.2438M17.2438 6.75781L11.9998 12.0008L6.75781 6.75781' stroke='%234A556C' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/g%3E%3C/svg%3E%0A");
36
+ }
37
+
38
+ .vitro-icon {
39
+ width: 24px;
40
+ height: 24px;
41
+ margin-right: 8px;
42
+ background-position: center;
43
+ background-size: 100%;
44
+ background-repeat: no-repeat;
45
+ align-self: center;
46
+ }
47
+
48
+ .vitro-text {
49
+ display: flex;
50
+ flex-grow: 1;
51
+ font-size: 14px;
52
+ line-height: 21px;
53
+ color: #4A556C;
54
+ flex-direction: column;
55
+ }
56
+
57
+ .vitro-text > strong {
58
+ color: #222D44;
59
+ display: block;
60
+ }
61
+
62
+ .vitro-text a {
63
+ text-decoration: underline;
64
+ }
65
+
66
+ .vitro-text p {
67
+ margin: 0px;
68
+ }
69
+
70
+ .vitro-alert-action-list {
71
+ display: flex;
72
+ flex-grow: 0;
73
+ flex-shrink: 0;
74
+ flex-basis: auto;
75
+ align-items: center;
76
+ margin-right: 6px;
77
+ margin-left: 8px;
78
+ padding: 0px;
79
+ }
80
+
81
+ .vitro-position-center {
82
+ top: 50%;
83
+ left: 50%;
84
+ transform: translate(-50%, -50%);
85
+ }
86
+
87
+ .vitro-alert ul:global(.errorList) {
88
+ -webkit-font-smoothing: antialiased;
89
+ font-size: 14px;
90
+ line-height: 20px;
91
+ font-weight: 500;
92
+ list-style: disc;
93
+ max-height: 440px;
94
+ overflow: hidden;
95
+ display: block;
96
+ }
97
+
98
+ .vitro-alert > ul:global(.errorList) {
99
+ list-style: decimal;
100
+ }
101
+
102
+ .vitro-alert > ul:global(.errorList) > li a {
103
+ text-decoration: underline;
104
+ }
105
+
106
+ .vitro-alert a:global(.link) {
107
+ text-decoration: underline;
108
+ white-space: pre-wrap;
109
+ }
110
+
111
+ .vitro-alert button:global(.btn) {
112
+ margin-left: 8px;
113
+ background: white;
114
+ color: #616365;
115
+ font-size: 13px;
116
+ padding: 0.1rem 16px;
117
+ border: 1px solid rgb(138, 136, 134);
118
+ font-weight: 600;
119
+ min-width: 80px;
120
+ border-radius: 2px;
121
+ }
122
+
123
+ .vitro-alert :global(.btn):active,
124
+ .vitro-alert :global(.btn):focus {
125
+ outline: none !important;
126
+ }
127
+
128
+ .vitro-alert > div :global(.header) {
129
+ font-weight: 500;
130
+ font-size: 15px;
131
+ }
132
+
133
+ .vitro-alert button:global(.close) {
134
+ position: relative;
135
+ padding: 0.2rem;
136
+ }
137
+
138
+ .vitro-alert button:global(.btn.error) {
139
+ margin-left: 8px;
140
+ font-size: 13px;
141
+ font-weight: bold;
142
+ padding: 0.1rem 0.75rem;
143
+ border-radius: 0;
144
+ }
145
+
146
+ .vitro-alert :global(.btn.danger),
147
+ .vitro-alert :global(.btn.warning) {
148
+ margin: 5px;
149
+ }
150
+
151
+ .vitro-alert:global(.alert-danger),
152
+ .vitro-alert:global(.alert-success),
153
+ .vitro-alert:global(.alert-warning) {
154
+ border: none;
155
+ background-color: #fff !important;
156
+ color: #222d44;
157
+ }
158
+
159
+ .vitro-alert:global(.alert-danger) {
160
+ border-left: 4px solid #D13438;
161
+ }
162
+
163
+ .vitro-alert:global(.alert-success) {
164
+ border-left: 4px solid #198754;
165
+ }
166
+
167
+ .vitro-alert:global(.alert-warning) {
168
+ border-left: 4px solid #F3AD4A;
169
+ }
170
+
171
+ .vitro-alert:global(.alert-danger) .vitro-icon {
172
+ /* error.svg URL-encoder for SVG */
173
+ 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");
174
+ }
175
+
176
+ .vitro-alert:global(.alert-success) .vitro-icon {
177
+ /* success.svg URL-encoder for SVG */
178
+ 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");
179
+ }
180
+
181
+ .vitro-alert:global(.alert-warning) .vitro-icon {
182
+ /* warning.svg URL-encoder for SVG */
183
+ 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");
184
+ }