@vitrosoftware/common-ui-ts 1.1.88 → 1.1.90
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/checkbox/checkbox.css +1 -1
- package/css/std/controls/criterion/criterion.css +6 -1
- package/css/std/controls/date-picker/date-picker.css +10 -5
- package/css/std/controls/image-button/image-button.css +13 -0
- package/css/std/controls/input/input.css +16 -11
- package/css/std/controls/link/link.css +12 -0
- package/css/std/controls/link-input/img/edit.svg +5 -0
- package/css/std/controls/link-input/link-input.css +37 -0
- package/css/std/controls/login/img/clock.svg +4 -0
- package/css/std/controls/login/img/windows-logo.svg +6 -0
- package/css/std/controls/login/login-content.css +12 -0
- package/css/std/controls/login/login-form.css +161 -0
- package/css/std/controls/login/login-go-back-link.css +7 -0
- package/css/std/controls/login/login-submit-button.css +10 -0
- package/css/std/controls/login/login-title.css +8 -0
- package/css/std/controls/login/login.css +12 -144
- package/css/std/controls/login/ntlm-authentication-form.css +31 -0
- package/css/std/controls/login/two-factor-authentication-form.css +144 -0
- package/css/std/controls/lookup-picker/lookup-picker.css +14 -9
- package/css/std/controls/main/main.css +1 -1
- package/css/std/controls/sidebar/img/bottom-menu-button-next.svg +3 -0
- package/css/std/controls/sidebar/sidebar-item.css +19 -8
- package/css/std/controls/sidebar/sidebar.css +80 -25
- package/css/std/controls/time-picker/time-picker.css +18 -13
- package/dist/index.css +614 -213
- package/dist/index.js +835 -373
- package/dist/index.js.map +1 -1
- package/dist/src/constants/Control.d.ts +1 -0
- package/dist/src/constants/Target.d.ts +4 -0
- package/dist/src/controls/Button/Button.d.ts +1 -2
- package/dist/src/controls/ImageButton/ImageButton.d.ts +12 -0
- package/dist/src/controls/Input/Input.d.ts +1 -0
- package/dist/src/controls/Link/Link.d.ts +10 -0
- package/dist/src/controls/LinkInput/LinkInput.d.ts +26 -0
- package/dist/src/controls/LinkInput/LinkInputConstants.d.ts +4 -0
- package/dist/src/controls/LinkInput/LinkInputRef.d.ts +11 -0
- package/dist/src/controls/Login/Login.d.ts +3 -7
- package/dist/src/controls/Login/LoginConstants.d.ts +19 -4
- package/dist/src/controls/Login/LoginContent.d.ts +8 -0
- package/dist/src/controls/Login/LoginForm.d.ts +15 -0
- package/dist/src/controls/Login/LoginFormRef.d.ts +5 -0
- package/dist/src/controls/Login/LoginGoBackLink.d.ts +6 -0
- package/dist/src/controls/Login/LoginSubmitButton.d.ts +8 -0
- package/dist/src/controls/Login/LoginTitle.d.ts +7 -0
- package/dist/src/controls/Login/NTLMAuthenticationForm.d.ts +6 -0
- package/dist/src/controls/Login/TwoFactorAuthenticationForm.d.ts +15 -0
- package/dist/src/controls/Login/TwoFactorAuthenticationFormRef.d.ts +4 -0
- package/dist/src/controls/Sidebar/GroupItem.d.ts +1 -0
- package/dist/src/controls/Sidebar/Item.d.ts +2 -0
- package/dist/src/controls/Sidebar/Section.d.ts +1 -0
- package/dist/src/controls/Sidebar/SectionList.d.ts +1 -0
- package/dist/src/controls/Sidebar/Sidebar.d.ts +2 -0
- package/dist/src/controls/Tooltip/Tooltip.d.ts +1 -2
- package/dist/src/index.d.ts +14 -3
- package/package.json +1 -1
- package/src/controls/BimViewer/js/bim-viewer.js +2 -2
- package/src/controls/PdfViewer/js/pdf-viewer.js +1 -1
- package/css/std/controls/sidebar/img/bottom-menu-button-more.svg +0 -5
|
@@ -0,0 +1,144 @@
|
|
|
1
|
+
.vitro-two-factor-authentication-form {
|
|
2
|
+
width: 100%;
|
|
3
|
+
height: 486px;
|
|
4
|
+
max-height: 486px;
|
|
5
|
+
flex-shrink: 0;
|
|
6
|
+
display: flex;
|
|
7
|
+
flex-direction: column;
|
|
8
|
+
align-items: center;
|
|
9
|
+
}
|
|
10
|
+
|
|
11
|
+
.vitro-title {
|
|
12
|
+
color: #222D44;
|
|
13
|
+
text-align: center;
|
|
14
|
+
font-family: 'InterMedium';
|
|
15
|
+
font-size: 32px;
|
|
16
|
+
line-height: 135%;
|
|
17
|
+
margin-top: 32px;
|
|
18
|
+
margin-bottom: 25px;
|
|
19
|
+
}
|
|
20
|
+
|
|
21
|
+
.vitro-subtitle {
|
|
22
|
+
font-size: 16px;
|
|
23
|
+
line-height: 135%;
|
|
24
|
+
color: #222D44;
|
|
25
|
+
margin-bottom: 24px;
|
|
26
|
+
text-align: center;
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
.vitro-subtitle div {
|
|
30
|
+
text-align: center;
|
|
31
|
+
white-space: nowrap;
|
|
32
|
+
}
|
|
33
|
+
|
|
34
|
+
.vitro-subtitle span {
|
|
35
|
+
white-space: nowrap;
|
|
36
|
+
font-family: 'InterMedium';
|
|
37
|
+
}
|
|
38
|
+
|
|
39
|
+
.vitro-control {
|
|
40
|
+
margin-bottom: 8px;
|
|
41
|
+
}
|
|
42
|
+
|
|
43
|
+
.vitro-link-resend-code {
|
|
44
|
+
font-family: 'InterMedium';
|
|
45
|
+
}
|
|
46
|
+
|
|
47
|
+
.vitro-link-resend-code {
|
|
48
|
+
height: 40px;
|
|
49
|
+
margin-bottom: 18px;
|
|
50
|
+
}
|
|
51
|
+
|
|
52
|
+
.vitro-description,
|
|
53
|
+
.vitro-resend-code-description {
|
|
54
|
+
font-family: 'InterMedium';
|
|
55
|
+
font-size: 14px;
|
|
56
|
+
line-height: 135%;
|
|
57
|
+
color: #6C757D;
|
|
58
|
+
width: fit-content;
|
|
59
|
+
max-width: 259px;
|
|
60
|
+
text-align: center;
|
|
61
|
+
display: flex;
|
|
62
|
+
align-items: center;
|
|
63
|
+
}
|
|
64
|
+
|
|
65
|
+
.vitro-resend-code-description {
|
|
66
|
+
height: 40px;
|
|
67
|
+
margin-bottom: 18px;
|
|
68
|
+
}
|
|
69
|
+
|
|
70
|
+
.vitro-flex {
|
|
71
|
+
display: flex;
|
|
72
|
+
flex-direction: column;
|
|
73
|
+
align-items: baseline;
|
|
74
|
+
justify-content: space-between;
|
|
75
|
+
width: 100%;
|
|
76
|
+
flex: 1 1;
|
|
77
|
+
}
|
|
78
|
+
|
|
79
|
+
.vitro-clock::before {
|
|
80
|
+
content: '';
|
|
81
|
+
display: block;
|
|
82
|
+
width: 24px;
|
|
83
|
+
height: 24px;
|
|
84
|
+
flex-shrink: 0;
|
|
85
|
+
margin-right: 8px;
|
|
86
|
+
background-size: 100%;
|
|
87
|
+
background-repeat: no-repeat;
|
|
88
|
+
background-position: center;
|
|
89
|
+
background-image: url('@vitrosoftware/common-ui-ts/css/std/controls/login/img/clock.svg');
|
|
90
|
+
}
|
|
91
|
+
|
|
92
|
+
.vitro-button {
|
|
93
|
+
margin-top: 16px;
|
|
94
|
+
margin-bottom: 32px;
|
|
95
|
+
}
|
|
96
|
+
|
|
97
|
+
.vitro-control > div {
|
|
98
|
+
font-size: 16px !important;
|
|
99
|
+
line-height: 27px !important;
|
|
100
|
+
top: -16px !important;
|
|
101
|
+
}
|
|
102
|
+
|
|
103
|
+
.vitro-control input {
|
|
104
|
+
height: 48px !important;
|
|
105
|
+
font-size: 18px !important;
|
|
106
|
+
line-height: 135% !important;
|
|
107
|
+
padding: 12px 44px 12px 20px !important;
|
|
108
|
+
box-shadow: 0px 2px 6px 0px rgba(19, 18, 66, 0.07);
|
|
109
|
+
}
|
|
110
|
+
|
|
111
|
+
.vitro-email {
|
|
112
|
+
white-space: nowrap;
|
|
113
|
+
align-items: center;
|
|
114
|
+
height: 22px;
|
|
115
|
+
display: inline-flex;
|
|
116
|
+
}
|
|
117
|
+
|
|
118
|
+
.vitro-hidden-symbol {
|
|
119
|
+
margin-right: 3px;
|
|
120
|
+
letter-spacing: -2px;
|
|
121
|
+
font-size: 18px;
|
|
122
|
+
margin-right: 3px;
|
|
123
|
+
display: flex;
|
|
124
|
+
align-items: baseline;
|
|
125
|
+
}
|
|
126
|
+
|
|
127
|
+
@media (max-width: 800px) {
|
|
128
|
+
|
|
129
|
+
.vitro-two-factor-authentication-form {
|
|
130
|
+
height: 452px;
|
|
131
|
+
max-height: 452px;
|
|
132
|
+
}
|
|
133
|
+
|
|
134
|
+
.vitro-title {
|
|
135
|
+
margin-bottom: 16px;
|
|
136
|
+
margin-top: 0;
|
|
137
|
+
font-size: 24px;
|
|
138
|
+
}
|
|
139
|
+
|
|
140
|
+
.vitro-subtitle div {
|
|
141
|
+
white-space: normal;
|
|
142
|
+
}
|
|
143
|
+
|
|
144
|
+
}
|
|
@@ -20,14 +20,6 @@
|
|
|
20
20
|
flex-wrap: wrap;
|
|
21
21
|
}
|
|
22
22
|
|
|
23
|
-
.vitro-focus .vitro-content {
|
|
24
|
-
border-color: #3274E0;
|
|
25
|
-
}
|
|
26
|
-
|
|
27
|
-
.vitro-focus .vitro-label {
|
|
28
|
-
color: #3274E0;
|
|
29
|
-
}
|
|
30
|
-
|
|
31
23
|
.vitro-read-only .vitro-content {
|
|
32
24
|
color: #4A556C;
|
|
33
25
|
font-size: 12px;
|
|
@@ -43,6 +35,14 @@
|
|
|
43
35
|
color: #4A556C;
|
|
44
36
|
}
|
|
45
37
|
|
|
38
|
+
.vitro-focus .vitro-content {
|
|
39
|
+
border-color: #3274E0;
|
|
40
|
+
}
|
|
41
|
+
|
|
42
|
+
.vitro-focus .vitro-label {
|
|
43
|
+
color: #3274E0;
|
|
44
|
+
}
|
|
45
|
+
|
|
46
46
|
.vitro-error .vitro-content {
|
|
47
47
|
border-color: #D13438;
|
|
48
48
|
}
|
|
@@ -52,8 +52,13 @@
|
|
|
52
52
|
}
|
|
53
53
|
|
|
54
54
|
.vitro-label {
|
|
55
|
+
color: #4A556C;
|
|
55
56
|
padding: 0 6px;
|
|
56
|
-
background:
|
|
57
|
+
background: transparent;
|
|
58
|
+
background-image: linear-gradient(#fff, #fff);
|
|
59
|
+
background-size: 100% 2px;
|
|
60
|
+
background-position: 0 calc(50% + 3px);
|
|
61
|
+
background-repeat: no-repeat;
|
|
57
62
|
z-index: 1;
|
|
58
63
|
position: absolute;
|
|
59
64
|
left: 10px;
|
|
@@ -33,11 +33,8 @@
|
|
|
33
33
|
width: fit-content;
|
|
34
34
|
align-items: center;
|
|
35
35
|
overflow: hidden;
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
ul > li:last-child > ul > li:last-child .vitro-active {
|
|
40
|
-
background-color: transparent;
|
|
36
|
+
height: 100%;
|
|
37
|
+
flex-shrink: 1;
|
|
41
38
|
}
|
|
42
39
|
|
|
43
40
|
.vitro-item-text {
|
|
@@ -129,18 +126,28 @@ ul > li:last-child > ul > li:last-child .vitro-active {
|
|
|
129
126
|
display: none;
|
|
130
127
|
}
|
|
131
128
|
|
|
129
|
+
:global(.vitro-bottom-menu) .vitro-item a > div,
|
|
130
|
+
:global(.vitro-bottom-menu) .vitro-item button > div {
|
|
131
|
+
flex-direction: column;
|
|
132
|
+
height: 100%;
|
|
133
|
+
}
|
|
134
|
+
|
|
132
135
|
:global(.vitro-bottom-menu) .vitro-item-text {
|
|
133
|
-
display: block;
|
|
134
136
|
color: #4A556C;
|
|
135
|
-
font-size:
|
|
136
|
-
line-height:
|
|
137
|
+
font-size: 11px;
|
|
138
|
+
line-height: 11px;
|
|
137
139
|
text-align: center;
|
|
138
140
|
overflow: visible;
|
|
139
141
|
white-space: normal;
|
|
142
|
+
margin: auto;
|
|
143
|
+
display: -webkit-box;
|
|
144
|
+
-webkit-line-clamp: 2;
|
|
145
|
+
-webkit-box-orient: vertical;
|
|
140
146
|
}
|
|
141
147
|
|
|
142
148
|
:global(.vitro-bottom-menu) .vitro-image {
|
|
143
149
|
margin-right: 0;
|
|
150
|
+
margin-bottom: 4px;
|
|
144
151
|
}
|
|
145
152
|
|
|
146
153
|
:global(.vitro-bottom-menu) .vitro-active {
|
|
@@ -223,6 +230,10 @@ ul > li:last-child > ul > li:last-child .vitro-active {
|
|
|
223
230
|
width: 100% !important;
|
|
224
231
|
}
|
|
225
232
|
|
|
233
|
+
.vitro-popup-item-list .vitro-item:last-child {
|
|
234
|
+
margin-bottom: 16px;
|
|
235
|
+
}
|
|
236
|
+
|
|
226
237
|
.vitro-popup-item-list .vitro-item > a,
|
|
227
238
|
.vitro-popup-item-list .vitro-item > button {
|
|
228
239
|
background-color: #fff;
|
|
@@ -34,19 +34,6 @@
|
|
|
34
34
|
justify-content: space-between;
|
|
35
35
|
}
|
|
36
36
|
|
|
37
|
-
.vitro-sidebar ul > li:last-child > ul > li:last-child a:hover {
|
|
38
|
-
background-color: transparent;
|
|
39
|
-
}
|
|
40
|
-
|
|
41
|
-
.vitro-sidebar ul > li:last-child > ul > li:last-child span {
|
|
42
|
-
color: #8D8D8D;
|
|
43
|
-
font-size: 10px;
|
|
44
|
-
}
|
|
45
|
-
|
|
46
|
-
.vitro-sidebar ul > li:last-child > ul > li:last-child span:hover {
|
|
47
|
-
font-weight: 400 !important;
|
|
48
|
-
}
|
|
49
|
-
|
|
50
37
|
.vitro-scrollbar :global(.ps__rail-y) {
|
|
51
38
|
background-color: transparent !important;
|
|
52
39
|
border: none;
|
|
@@ -54,21 +41,42 @@
|
|
|
54
41
|
|
|
55
42
|
.vitro-scrollbar > div:first-child {
|
|
56
43
|
padding: 0 8px;
|
|
44
|
+
display: flex;
|
|
45
|
+
flex-direction: column;
|
|
57
46
|
}
|
|
58
47
|
|
|
59
48
|
.vitro-sidebar-section-list {
|
|
60
|
-
height: 100%;
|
|
61
49
|
display: flex;
|
|
62
50
|
flex-direction: column;
|
|
63
51
|
justify-content: space-between;
|
|
52
|
+
flex: 1 0;
|
|
53
|
+
}
|
|
54
|
+
|
|
55
|
+
.vitro-sidebar-section-list > li::before {
|
|
56
|
+
display: block;
|
|
57
|
+
content: '';
|
|
58
|
+
background: #E4E6EC;
|
|
59
|
+
margin: 0 auto;
|
|
60
|
+
min-width: 40px;
|
|
61
|
+
width: calc(100% - 16px);
|
|
62
|
+
height: 1px;
|
|
63
|
+
margin-bottom: 4px;
|
|
64
|
+
}
|
|
65
|
+
|
|
66
|
+
.vitro-sidebar-section-list > li:first-child::before {
|
|
67
|
+
display: none;
|
|
68
|
+
}
|
|
69
|
+
|
|
70
|
+
:global(.vitro-bottom-menu) .vitro-sidebar-section-list > li::before {
|
|
71
|
+
display: none;
|
|
64
72
|
}
|
|
65
73
|
|
|
66
74
|
:global(.vitro-bottom-menu) {
|
|
67
75
|
width: 100%;
|
|
68
76
|
z-index: 2;
|
|
69
77
|
flex-direction: row;
|
|
70
|
-
height:
|
|
71
|
-
padding: 0
|
|
78
|
+
height: 66px;
|
|
79
|
+
padding: 0 0 0 12px !important;
|
|
72
80
|
background: #fff;
|
|
73
81
|
bottom: 0;
|
|
74
82
|
top: initial;
|
|
@@ -95,22 +103,69 @@
|
|
|
95
103
|
transition: 1s all ease;
|
|
96
104
|
}
|
|
97
105
|
|
|
98
|
-
.vitro-button-more
|
|
106
|
+
.vitro-button-more,
|
|
107
|
+
.vitro-button-more:hover,
|
|
108
|
+
.vitro-button-more:active {
|
|
99
109
|
display: block;
|
|
100
110
|
width: 40px;
|
|
101
|
-
height:
|
|
111
|
+
height: 100%;
|
|
102
112
|
min-width: 40px;
|
|
113
|
+
outline: none;
|
|
114
|
+
border-top-right-radius: 4px;
|
|
103
115
|
border: none;
|
|
104
|
-
|
|
116
|
+
border-left: 1px solid #E4E6EC;
|
|
117
|
+
background-color: #F7F9FC;
|
|
105
118
|
background-size: 100%;
|
|
106
119
|
background-position: center;
|
|
107
120
|
background-repeat: no-repeat;
|
|
108
|
-
background-image: url('@vitrosoftware/common-ui-ts/css/std/controls/sidebar/img/bottom-menu-button-
|
|
121
|
+
background-image: url('@vitrosoftware/common-ui-ts/css/std/controls/sidebar/img/bottom-menu-button-next.svg');
|
|
109
122
|
}
|
|
110
123
|
|
|
111
|
-
.vitro-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
124
|
+
.vitro-logo-container {
|
|
125
|
+
width: 100%;
|
|
126
|
+
height: 40px;
|
|
127
|
+
padding: 0 8px;
|
|
128
|
+
margin-bottom: 4px;
|
|
129
|
+
}
|
|
130
|
+
|
|
131
|
+
.vitro-logo-container::before {
|
|
132
|
+
display: block;
|
|
133
|
+
content: '';
|
|
134
|
+
background: #E4E6EC;
|
|
135
|
+
margin: 0 auto;
|
|
136
|
+
min-width: 40px;
|
|
137
|
+
width: calc(100% - 16px);
|
|
138
|
+
height: 1px;
|
|
139
|
+
}
|
|
140
|
+
|
|
141
|
+
.vitro-logo {
|
|
142
|
+
display: flex;
|
|
143
|
+
width: fit-content;
|
|
144
|
+
align-items: center;
|
|
145
|
+
width: 100%;
|
|
146
|
+
height: 40px;
|
|
147
|
+
padding: 8px;
|
|
148
|
+
}
|
|
149
|
+
|
|
150
|
+
.vitro-logo span {
|
|
151
|
+
color: #8D8D8D !important;
|
|
152
|
+
font-size: 10px !important;
|
|
153
|
+
overflow: hidden;
|
|
154
|
+
text-overflow: ellipsis;
|
|
155
|
+
white-space: nowrap;
|
|
156
|
+
}
|
|
157
|
+
|
|
158
|
+
:global(.vitro-bottom-menu) .vitro-logo {
|
|
159
|
+
flex-direction: column;
|
|
160
|
+
justify-content: space-between;
|
|
161
|
+
height: 100%;
|
|
162
|
+
padding: 0;
|
|
163
|
+
margin-bottom: 0;
|
|
164
|
+
}
|
|
165
|
+
|
|
166
|
+
.vitro-scroll-content {
|
|
167
|
+
display: flex;
|
|
168
|
+
flex-direction: row;
|
|
169
|
+
height: 100%;
|
|
170
|
+
transition: 1s all ease;
|
|
116
171
|
}
|
|
@@ -48,18 +48,6 @@
|
|
|
48
48
|
line-height: 16px;
|
|
49
49
|
}
|
|
50
50
|
|
|
51
|
-
.vitro-focus .vitro-label {
|
|
52
|
-
color: #3274E0;
|
|
53
|
-
}
|
|
54
|
-
|
|
55
|
-
.vitro-focus :global(.k-picker-wrap) {
|
|
56
|
-
border-color: #3274E0 !important;
|
|
57
|
-
}
|
|
58
|
-
|
|
59
|
-
.vitro-error :global(.k-picker-wrap) {
|
|
60
|
-
border-color: #D13438 !important;
|
|
61
|
-
}
|
|
62
|
-
|
|
63
51
|
.vitro-read-only input {
|
|
64
52
|
color: #4A556C;
|
|
65
53
|
font-size: 12px;
|
|
@@ -75,13 +63,30 @@
|
|
|
75
63
|
display: none;
|
|
76
64
|
}
|
|
77
65
|
|
|
66
|
+
.vitro-focus .vitro-label {
|
|
67
|
+
color: #3274E0;
|
|
68
|
+
}
|
|
69
|
+
|
|
70
|
+
.vitro-focus :global(.k-picker-wrap) {
|
|
71
|
+
border-color: #3274E0 !important;
|
|
72
|
+
}
|
|
73
|
+
|
|
74
|
+
.vitro-error :global(.k-picker-wrap) {
|
|
75
|
+
border-color: #D13438 !important;
|
|
76
|
+
}
|
|
77
|
+
|
|
78
78
|
.vitro-error .vitro-label {
|
|
79
79
|
color: #D13438;
|
|
80
80
|
}
|
|
81
81
|
|
|
82
82
|
.vitro-label {
|
|
83
|
+
color: #4A556C;
|
|
83
84
|
padding: 0 6px;
|
|
84
|
-
background:
|
|
85
|
+
background: transparent;
|
|
86
|
+
background-image: linear-gradient(#fff, #fff);
|
|
87
|
+
background-size: 100% 2px;
|
|
88
|
+
background-position: 0 calc(50% + 3px);
|
|
89
|
+
background-repeat: no-repeat;
|
|
85
90
|
z-index: 1;
|
|
86
91
|
position: absolute;
|
|
87
92
|
left: 10px;
|