@vitrosoftware/common-ui-ts 1.1.55 → 1.1.57

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.
@@ -113,7 +113,7 @@
113
113
  display: inline-block;
114
114
  color: #D13438;
115
115
  font-size: 14px;
116
- line-height: 135%;
116
+ line-height: 19px;
117
117
  margin-top: 2px;
118
118
  width: 100%;
119
119
  text-overflow: ellipsis;
@@ -22,8 +22,8 @@
22
22
 
23
23
  .vitro-form-login {
24
24
  width: 468px;
25
- height: 658px;
26
- padding: 52px 36px 24px 36px;
25
+ min-height: 506px;
26
+ padding: 71px 36px 24px 36px;
27
27
  border-radius: 8px;
28
28
  display: flex;
29
29
  flex-direction: column;
@@ -31,7 +31,7 @@
31
31
  background: #fff;
32
32
  position: absolute;
33
33
  z-index: 100;
34
- top: calc(50% - 329px);
34
+ top: calc(50% - 253px);
35
35
  left: calc(50% - 234px);
36
36
  box-shadow: 0px 4px 14px 0px rgba(0, 0, 0, 0.18), 0px 0px 4px 0px rgba(0, 0, 0, 0.14);
37
37
  }
@@ -39,7 +39,7 @@
39
39
  .vitro-logo {
40
40
  width: 165px;
41
41
  height: 57px;
42
- margin-bottom: 66px;
42
+ margin-bottom: 34px;
43
43
  background-size: 100%;
44
44
  background-position: center;
45
45
  /* vitro-logo.svg URL-encoder for SVG */
@@ -52,7 +52,7 @@
52
52
  font-family: 'InterMedium';
53
53
  font-size: 32px;
54
54
  line-height: 135%;
55
- margin-bottom: 62px;
55
+ margin-bottom: 25px;
56
56
  }
57
57
 
58
58
  .vitro-flex {
@@ -61,6 +61,11 @@
61
61
  justify-content: space-between;
62
62
  align-items: center;
63
63
  margin-bottom: 24px;
64
+ margin-top: 32px;
65
+ height: 24px;
66
+ }
67
+
68
+ .vitro-flex.vitro-error {
64
69
  margin-top: 11px;
65
70
  }
66
71
 
@@ -105,14 +110,11 @@
105
110
  margin-left: 30px;
106
111
  }
107
112
 
108
- .vitro-login-control {
109
- width: 100%;
110
- position: relative;
111
- }
112
-
113
- .vitro-login-control.vitro-error + .vitro-login-control.vitro-error > div,
114
- .vitro-login-control + .vitro-login-control.vitro-error > div {
115
- margin-bottom: 0px !important;
113
+ .vitro-control,
114
+ .vitro-password-control {
115
+ margin-bottom: 0;
116
+ margin-top: 20px;
117
+ max-height: 69px;
116
118
  }
117
119
 
118
120
  .vitro-control > div {
@@ -151,31 +153,10 @@
151
153
  height: 48px !important;
152
154
  font-size: 18px !important;
153
155
  line-height: 135%;
156
+ margin-top: 20px;
154
157
  box-shadow: 0px 4px 16px 0px rgba(52, 117, 199, 0.15);
155
158
  }
156
159
 
157
- .vitro-button-show-password,
158
- .vitro-button-hide-password {
159
- position: absolute;
160
- top: 12px;
161
- right: 20px;
162
- width: 24px;
163
- height: 24px;
164
- background-size: 100%;
165
- background-position: center;
166
- cursor: pointer;
167
- }
168
-
169
- .vitro-button-show-password {
170
- /* show-password.svg URL-encoder for SVG */
171
- 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='visible--eye-eyeball-open-view'%3E%3Cpath id='Vector' d='M22.6767 10.7074C22.961 11.0618 23.1183 11.5222 23.1183 11.9995C23.1183 12.4769 22.961 12.9373 22.6767 13.2917C20.8767 15.471 16.7795 19.7139 11.9967 19.7139C7.21381 19.7139 3.11667 15.471 1.31667 13.2917C1.03237 12.9373 0.875 12.4769 0.875 11.9995C0.875 11.5222 1.03237 11.0618 1.31667 10.7074C3.11667 8.52807 7.21381 4.28516 11.9967 4.28516C16.7795 4.28516 20.8767 8.52807 22.6767 10.7074Z' stroke='%238E98A3' stroke-linecap='round' stroke-linejoin='round'/%3E%3Cpath id='Vector_2' d='M11.9989 15.4275C13.8924 15.4275 15.4275 13.8924 15.4275 11.9989C15.4275 10.1053 13.8924 8.57031 11.9989 8.57031C10.1053 8.57031 8.57031 10.1053 8.57031 11.9989C8.57031 13.8924 10.1053 15.4275 11.9989 15.4275Z' stroke='%238E98A3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/g%3E%3C/svg%3E%0A");
172
- }
173
-
174
- .vitro-button-hide-password {
175
- /* hide-password.svg URL-encoder for SVG */
176
- background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none'%3E%3Cpath d='M22.6767 10.7074C22.961 11.0618 23.1183 11.5222 23.1183 11.9995C23.1183 12.4769 22.961 12.9373 22.6767 13.2917C20.8767 15.471 16.7795 19.7139 11.9967 19.7139C7.21381 19.7139 3.11667 15.471 1.31667 13.2917C1.03237 12.9373 0.875 12.4769 0.875 11.9995C0.875 11.5222 1.03237 11.0618 1.31667 10.7074C3.11667 8.52807 7.21381 4.28516 11.9967 4.28516C16.7795 4.28516 20.8767 8.52807 22.6767 10.7074Z' stroke='%238E98A3' stroke-linecap='round' stroke-linejoin='round'/%3E%3Cpath d='M3.96875 20L19.9687 4' stroke='%238E98A3' stroke-linecap='round'/%3E%3Cpath d='M11.9989 15.4275C13.8924 15.4275 15.4275 13.8924 15.4275 11.9989C15.4275 10.1053 13.8924 8.57031 11.9989 8.57031C10.1053 8.57031 8.57031 10.1053 8.57031 11.9989C8.57031 13.8924 10.1053 15.4275 11.9989 15.4275Z' stroke='%238E98A3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
177
- }
178
-
179
160
  .vitro-footer {
180
161
  position: absolute;
181
162
  bottom: 12px;
@@ -0,0 +1,21 @@
1
+ .vitro-button-show-password,
2
+ .vitro-button-hide-password {
3
+ position: absolute;
4
+ top: 12px;
5
+ right: 20px;
6
+ width: 24px;
7
+ height: 24px;
8
+ background-size: 100%;
9
+ background-position: center;
10
+ cursor: pointer;
11
+ }
12
+
13
+ .vitro-button-show-password {
14
+ /* show-password.svg URL-encoder for SVG */
15
+ 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='visible--eye-eyeball-open-view'%3E%3Cpath id='Vector' d='M22.6767 10.7074C22.961 11.0618 23.1183 11.5222 23.1183 11.9995C23.1183 12.4769 22.961 12.9373 22.6767 13.2917C20.8767 15.471 16.7795 19.7139 11.9967 19.7139C7.21381 19.7139 3.11667 15.471 1.31667 13.2917C1.03237 12.9373 0.875 12.4769 0.875 11.9995C0.875 11.5222 1.03237 11.0618 1.31667 10.7074C3.11667 8.52807 7.21381 4.28516 11.9967 4.28516C16.7795 4.28516 20.8767 8.52807 22.6767 10.7074Z' stroke='%238E98A3' stroke-linecap='round' stroke-linejoin='round'/%3E%3Cpath id='Vector_2' d='M11.9989 15.4275C13.8924 15.4275 15.4275 13.8924 15.4275 11.9989C15.4275 10.1053 13.8924 8.57031 11.9989 8.57031C10.1053 8.57031 8.57031 10.1053 8.57031 11.9989C8.57031 13.8924 10.1053 15.4275 11.9989 15.4275Z' stroke='%238E98A3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/g%3E%3C/svg%3E%0A");
16
+ }
17
+
18
+ .vitro-button-hide-password {
19
+ /* hide-password.svg URL-encoder for SVG */
20
+ background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none'%3E%3Cpath d='M22.6767 10.7074C22.961 11.0618 23.1183 11.5222 23.1183 11.9995C23.1183 12.4769 22.961 12.9373 22.6767 13.2917C20.8767 15.471 16.7795 19.7139 11.9967 19.7139C7.21381 19.7139 3.11667 15.471 1.31667 13.2917C1.03237 12.9373 0.875 12.4769 0.875 11.9995C0.875 11.5222 1.03237 11.0618 1.31667 10.7074C3.11667 8.52807 7.21381 4.28516 11.9967 4.28516C16.7795 4.28516 20.8767 8.52807 22.6767 10.7074Z' stroke='%238E98A3' stroke-linecap='round' stroke-linejoin='round'/%3E%3Cpath d='M3.96875 20L19.9687 4' stroke='%238E98A3' stroke-linecap='round'/%3E%3Cpath d='M11.9989 15.4275C13.8924 15.4275 15.4275 13.8924 15.4275 11.9989C15.4275 10.1053 13.8924 8.57031 11.9989 8.57031C10.1053 8.57031 8.57031 10.1053 8.57031 11.9989C8.57031 13.8924 10.1053 15.4275 11.9989 15.4275Z' stroke='%238E98A3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
21
+ }
@@ -0,0 +1,3 @@
1
+ export declare class KEY_CODE {
2
+ static readonly ENTER = 13;
3
+ }
@@ -11,6 +11,7 @@ interface ActionHandlerProps {
11
11
  isShow?: boolean;
12
12
  isBlockInterface?: boolean;
13
13
  isAutoClose?: boolean;
14
+ processError?: (failResult: any[]) => any;
14
15
  onAfterAction?: (error: any, successResult: any, failResult: any) => void;
15
16
  onBeforeAction?: () => void;
16
17
  onAfterActionClose?: (error: any, successResult: any, failResult: any) => void;
@@ -18,6 +18,7 @@ interface InputProps {
18
18
  isRequired?: boolean;
19
19
  isMultiline?: boolean;
20
20
  isAutoComplete?: boolean;
21
+ isError?: boolean;
21
22
  isIcon?: boolean;
22
23
  onChange?: (value: string, name?: string) => void;
23
24
  onBlur?: (e: any) => void;
@@ -1,11 +1,10 @@
1
- /// <reference types="react" />
1
+ import React from 'react';
2
2
  interface LoginProps {
3
3
  onSubmit: (userName: string, password: string) => any;
4
4
  onResetPassword?: () => any;
5
5
  onSaveData?: (value: any[] | any, name?: string) => any;
6
6
  onRegister?: () => any;
7
- userNameErrorText?: string;
8
- passwordErrorText?: string;
7
+ errorMessage?: string;
9
8
  emptyErrorText?: string;
10
9
  copyright?: string;
11
10
  linkItemList?: {
@@ -13,5 +12,5 @@ interface LoginProps {
13
12
  url: string;
14
13
  }[];
15
14
  }
16
- export declare const Login: (props: LoginProps) => JSX.Element;
15
+ export declare const Login: React.ForwardRefExoticComponent<LoginProps & React.RefAttributes<unknown>>;
17
16
  export {};
@@ -1,9 +1,7 @@
1
1
  export declare enum LOCALE {
2
2
  ERROR_EMPTY = "app.common.login.error.empty",
3
- ERROR_WRONG_DATA = "app.common.login.error.wrongData",
4
- PLACEHOLDER_NAME = "app.common.login.placeholder.userName",
5
- PLACEHOLDER_PASSWORD = "app.common.login.placeholder.password",
6
- PLACEHOLDER = "app.common.login.placeholder",
3
+ FIELD_NAME = "app.common.login.field.userName",
4
+ FIELD_PASSWORD = "app.common.login.field.password",
7
5
  ACTION_SAVE_DATA = "app.common.login.action.saveData",
8
6
  ACTION_LOGIN = "app.common.login.action.login",
9
7
  ACTION_RESET_PASSWORD = "app.common.login.action.resetPassword",
@@ -12,7 +10,8 @@ export declare enum LOCALE {
12
10
  TITLE = "app.common.login.title",
13
11
  COPYRIGHT = "app.common.login.copyright"
14
12
  }
15
- export declare enum INPUT_TYPE {
13
+ export declare enum FIELD_NAME {
14
+ USER_NAME = "userName",
16
15
  PASSWORD = "password",
17
- TEXT = "text"
16
+ SAVE_DATA = "saveData"
18
17
  }
@@ -0,0 +1,31 @@
1
+ import React from 'react';
2
+ interface PasswordInputProps {
3
+ name?: string;
4
+ value?: string;
5
+ height?: number;
6
+ minHeight?: number;
7
+ maxHeight?: number;
8
+ rows?: number;
9
+ placeholder?: string;
10
+ label?: string;
11
+ labelWidth?: number;
12
+ labelPosition?: string;
13
+ errorMessage?: string;
14
+ isDisabled?: boolean;
15
+ isReadOnly?: boolean;
16
+ isRequired?: boolean;
17
+ isMultiline?: boolean;
18
+ isAutoComplete?: boolean;
19
+ isError?: boolean;
20
+ isIcon?: boolean;
21
+ onChange?: (value: string, name?: string) => void;
22
+ onBlur?: (e: any) => void;
23
+ onFocus?: (e: any) => void;
24
+ onChangeSize?: (element: HTMLInputElement | HTMLTextAreaElement) => void;
25
+ onKeyPress?: (e: any) => void;
26
+ onKeyDown?: (e: any) => void;
27
+ children?: React.ReactNode;
28
+ className?: string;
29
+ }
30
+ export declare const PasswordInput: React.ForwardRefExoticComponent<PasswordInputProps & React.RefAttributes<unknown>>;
31
+ export {};
@@ -0,0 +1,4 @@
1
+ export declare enum TYPE {
2
+ TEXT = "text",
3
+ PASSWORD = "password"
4
+ }
@@ -1,12 +1,13 @@
1
1
  /// <reference types="react" />
2
2
  import 'jstree';
3
3
  import { TreeViewContext } from './TreeViewContext';
4
- interface TreeViewProps {
4
+ export interface TreeViewProps {
5
5
  id: string;
6
6
  getData: (obj: any, cb: any) => any;
7
7
  onInit: (jsTreeView: TreeViewContext) => any;
8
8
  isCheckboxSelect?: boolean;
9
9
  isSaveCheckboxState?: boolean;
10
+ expandNodeIdList?: string[];
11
+ selectNodeId?: string;
10
12
  }
11
13
  export declare const TreeView: (props: TreeViewProps) => JSX.Element;
12
- export {};
@@ -1,6 +1,6 @@
1
1
  import { PLUGIN, CASCADE, NODE_TYPE } from './TreeViewConstants';
2
2
  export declare class TreeViewConfig {
3
- static getConfig(id: string, checkboxSelect?: boolean, saveChecked?: boolean): {
3
+ static getConfig(id: string, checkboxSelect?: boolean, saveChecked?: boolean, expandNodeIdList?: string[], selectNodeId?: string): {
4
4
  core: {
5
5
  check_callback: boolean;
6
6
  themes: {
package/dist/index.css CHANGED
@@ -1895,7 +1895,7 @@
1895
1895
  display: inline-block;
1896
1896
  color: #D13438;
1897
1897
  font-size: 14px;
1898
- line-height: 135%;
1898
+ line-height: 19px;
1899
1899
  margin-top: 2px;
1900
1900
  width: 100%;
1901
1901
  text-overflow: ellipsis;
@@ -2159,8 +2159,8 @@
2159
2159
 
2160
2160
  ._login_vitro-form-login_2nyw95B {
2161
2161
  width: 468px;
2162
- height: 658px;
2163
- padding: 52px 36px 24px 36px;
2162
+ min-height: 506px;
2163
+ padding: 71px 36px 24px 36px;
2164
2164
  border-radius: 8px;
2165
2165
  display: flex;
2166
2166
  flex-direction: column;
@@ -2168,7 +2168,7 @@
2168
2168
  background: #fff;
2169
2169
  position: absolute;
2170
2170
  z-index: 100;
2171
- top: calc(50% - 329px);
2171
+ top: calc(50% - 253px);
2172
2172
  left: calc(50% - 234px);
2173
2173
  box-shadow: 0px 4px 14px 0px rgba(0, 0, 0, 0.18), 0px 0px 4px 0px rgba(0, 0, 0, 0.14);
2174
2174
  }
@@ -2176,7 +2176,7 @@
2176
2176
  ._login_vitro-logo_3-qTjgy {
2177
2177
  width: 165px;
2178
2178
  height: 57px;
2179
- margin-bottom: 66px;
2179
+ margin-bottom: 34px;
2180
2180
  background-size: 100%;
2181
2181
  background-position: center;
2182
2182
  /* vitro-logo.svg URL-encoder for SVG */
@@ -2189,7 +2189,7 @@
2189
2189
  font-family: 'InterMedium';
2190
2190
  font-size: 32px;
2191
2191
  line-height: 135%;
2192
- margin-bottom: 62px;
2192
+ margin-bottom: 25px;
2193
2193
  }
2194
2194
 
2195
2195
  ._login_vitro-flex_2CffX6W {
@@ -2198,6 +2198,11 @@
2198
2198
  justify-content: space-between;
2199
2199
  align-items: center;
2200
2200
  margin-bottom: 24px;
2201
+ margin-top: 32px;
2202
+ height: 24px;
2203
+ }
2204
+
2205
+ ._login_vitro-flex_2CffX6W._login_vitro-error_1Nk25em {
2201
2206
  margin-top: 11px;
2202
2207
  }
2203
2208
 
@@ -2243,14 +2248,11 @@
2243
2248
  margin-left: 30px;
2244
2249
  }
2245
2250
 
2246
- ._login_vitro-login-control_cksptcC {
2247
- width: 100%;
2248
- position: relative;
2249
- }
2250
-
2251
- ._login_vitro-login-control_cksptcC._login_vitro-error_1Nk25em + ._login_vitro-login-control_cksptcC._login_vitro-error_1Nk25em > div,
2252
- ._login_vitro-login-control_cksptcC + ._login_vitro-login-control_cksptcC._login_vitro-error_1Nk25em > div {
2253
- margin-bottom: 0px !important;
2251
+ ._login_vitro-control_3YqxIR2,
2252
+ ._login_vitro-password-control_2Zp5fJi {
2253
+ margin-bottom: 0;
2254
+ margin-top: 20px;
2255
+ max-height: 69px;
2254
2256
  }
2255
2257
 
2256
2258
  ._login_vitro-control_3YqxIR2 > div {
@@ -2297,31 +2299,10 @@
2297
2299
  height: 48px !important;
2298
2300
  font-size: 18px !important;
2299
2301
  line-height: 135%;
2302
+ margin-top: 20px;
2300
2303
  box-shadow: 0px 4px 16px 0px rgba(52, 117, 199, 0.15);
2301
2304
  }
2302
2305
 
2303
- ._login_vitro-button-show-password_3NpbpN5,
2304
- ._login_vitro-button-hide-password_27R-yFe {
2305
- position: absolute;
2306
- top: 12px;
2307
- right: 20px;
2308
- width: 24px;
2309
- height: 24px;
2310
- background-size: 100%;
2311
- background-position: center;
2312
- cursor: pointer;
2313
- }
2314
-
2315
- ._login_vitro-button-show-password_3NpbpN5 {
2316
- /* show-password.svg URL-encoder for SVG */
2317
- 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='visible--eye-eyeball-open-view'%3E%3Cpath id='Vector' d='M22.6767 10.7074C22.961 11.0618 23.1183 11.5222 23.1183 11.9995C23.1183 12.4769 22.961 12.9373 22.6767 13.2917C20.8767 15.471 16.7795 19.7139 11.9967 19.7139C7.21381 19.7139 3.11667 15.471 1.31667 13.2917C1.03237 12.9373 0.875 12.4769 0.875 11.9995C0.875 11.5222 1.03237 11.0618 1.31667 10.7074C3.11667 8.52807 7.21381 4.28516 11.9967 4.28516C16.7795 4.28516 20.8767 8.52807 22.6767 10.7074Z' stroke='%238E98A3' stroke-linecap='round' stroke-linejoin='round'/%3E%3Cpath id='Vector_2' d='M11.9989 15.4275C13.8924 15.4275 15.4275 13.8924 15.4275 11.9989C15.4275 10.1053 13.8924 8.57031 11.9989 8.57031C10.1053 8.57031 8.57031 10.1053 8.57031 11.9989C8.57031 13.8924 10.1053 15.4275 11.9989 15.4275Z' stroke='%238E98A3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/g%3E%3C/svg%3E%0A");
2318
- }
2319
-
2320
- ._login_vitro-button-hide-password_27R-yFe {
2321
- /* hide-password.svg URL-encoder for SVG */
2322
- background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none'%3E%3Cpath d='M22.6767 10.7074C22.961 11.0618 23.1183 11.5222 23.1183 11.9995C23.1183 12.4769 22.961 12.9373 22.6767 13.2917C20.8767 15.471 16.7795 19.7139 11.9967 19.7139C7.21381 19.7139 3.11667 15.471 1.31667 13.2917C1.03237 12.9373 0.875 12.4769 0.875 11.9995C0.875 11.5222 1.03237 11.0618 1.31667 10.7074C3.11667 8.52807 7.21381 4.28516 11.9967 4.28516C16.7795 4.28516 20.8767 8.52807 22.6767 10.7074Z' stroke='%238E98A3' stroke-linecap='round' stroke-linejoin='round'/%3E%3Cpath d='M3.96875 20L19.9687 4' stroke='%238E98A3' stroke-linecap='round'/%3E%3Cpath d='M11.9989 15.4275C13.8924 15.4275 15.4275 13.8924 15.4275 11.9989C15.4275 10.1053 13.8924 8.57031 11.9989 8.57031C10.1053 8.57031 8.57031 10.1053 8.57031 11.9989C8.57031 13.8924 10.1053 15.4275 11.9989 15.4275Z' stroke='%238E98A3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
2323
- }
2324
-
2325
2306
  ._login_vitro-footer_1lceaP0 {
2326
2307
  position: absolute;
2327
2308
  bottom: 12px;
@@ -2382,6 +2363,28 @@
2382
2363
  /* copyright.svg URL-encoder for SVG */
2383
2364
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 14 14' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M9.98598 5.63043H9.12827C9.07755 5.38373 8.98878 5.167 8.86197 4.98024C8.73746 4.79348 8.58529 4.63669 8.40545 4.50988C8.22791 4.38076 8.03078 4.28393 7.81404 4.21937C7.59731 4.15481 7.37136 4.12253 7.13618 4.12253C6.70732 4.12253 6.31882 4.2309 5.97066 4.44763C5.62481 4.66436 5.34929 4.9837 5.14408 5.40563C4.94119 5.82757 4.83974 6.34519 4.83974 6.9585C4.83974 7.5718 4.94119 8.08943 5.14408 8.51136C5.34929 8.9333 5.62481 9.25264 5.97066 9.46937C6.31882 9.6861 6.70732 9.79447 7.13618 9.79447C7.37136 9.79447 7.59731 9.76219 7.81404 9.69763C8.03078 9.63307 8.22791 9.53738 8.40545 9.41057C8.58529 9.28146 8.73746 9.12352 8.86197 8.93676C8.98878 8.74769 9.07755 8.53096 9.12827 8.28656H9.98598C9.92142 8.64855 9.80383 8.9725 9.63321 9.2584C9.46259 9.5443 9.25047 9.78755 8.99685 9.98814C8.74323 10.1864 8.45848 10.3375 8.1426 10.4412C7.82903 10.545 7.49356 10.5968 7.13618 10.5968C6.53209 10.5968 5.99487 10.4493 5.52452 10.1542C5.05416 9.85903 4.6841 9.43939 4.41434 8.89526C4.14458 8.35112 4.0097 7.70553 4.0097 6.9585C4.0097 6.21146 4.14458 5.56588 4.41434 5.02174C4.6841 4.4776 5.05416 4.05797 5.52452 3.76285C5.99487 3.46772 6.53209 3.32016 7.13618 3.32016C7.49356 3.32016 7.82903 3.37204 8.1426 3.47579C8.45848 3.57955 8.74323 3.73172 8.99685 3.93231C9.25047 4.1306 9.46259 4.37269 9.63321 4.6586C9.80383 4.94219 9.92142 5.26614 9.98598 5.63043ZM6.99784 13.6126C6.26233 13.6126 5.56141 13.5008 4.89507 13.2772C4.23104 13.0535 3.62119 12.7376 3.06553 12.3295C2.51217 11.9237 2.03144 11.443 1.62333 10.8874C1.21754 10.334 0.902812 9.7253 0.679163 9.06126C0.455513 8.39493 0.343688 7.69401 0.343688 6.9585C0.343688 6.22299 0.455513 5.52322 0.679163 4.85919C0.902812 4.19285 1.21754 3.583 1.62333 3.02964C2.03144 2.47398 2.51217 1.99325 3.06553 1.58745C3.62119 1.17935 4.23104 0.863472 4.89507 0.639822C5.56141 0.416173 6.26233 0.304348 6.99784 0.304348C7.73335 0.304348 8.43312 0.416173 9.09715 0.639822C9.76348 0.863472 10.3733 1.17935 10.9267 1.58745C11.4824 1.99325 11.9631 2.47398 12.3689 3.02964C12.777 3.583 13.0929 4.19285 13.3165 4.85919C13.5402 5.52322 13.652 6.22299 13.652 6.9585C13.652 7.69401 13.5402 8.39493 13.3165 9.06126C13.0929 9.7253 12.777 10.334 12.3689 10.8874C11.9631 11.443 11.4824 11.9237 10.9267 12.3295C10.3733 12.7376 9.76348 13.0535 9.09715 13.2772C8.43312 13.5008 7.73335 13.6126 6.99784 13.6126ZM6.99784 12.8103C7.64573 12.8103 8.26134 12.7111 8.84468 12.5128C9.43032 12.3169 9.96638 12.039 10.4529 11.6793C10.9417 11.322 11.3648 10.9 11.7221 10.4135C12.0818 9.92474 12.3597 9.38867 12.5556 8.80534C12.7516 8.2197 12.8496 7.60408 12.8496 6.9585C12.8496 6.31061 12.7516 5.69499 12.5556 5.11166C12.3597 4.52602 12.0818 3.98995 11.7221 3.50346C11.3648 3.01466 10.9417 2.59157 10.4529 2.23419C9.96638 1.87451 9.43032 1.59667 8.84468 1.40069C8.26134 1.20471 7.64573 1.10672 6.99784 1.10672C6.34995 1.10672 5.73318 1.20471 5.14754 1.40069C4.56421 1.59667 4.02814 1.87451 3.53934 2.23419C3.05285 2.59157 2.62976 3.01466 2.27007 3.50346C1.91269 3.98995 1.63601 4.52602 1.44003 5.11166C1.24405 5.69499 1.14606 6.31061 1.14606 6.9585C1.14606 7.60408 1.24405 8.2197 1.44003 8.80534C1.63601 9.38867 1.91269 9.92474 2.27007 10.4135C2.62976 10.9 3.05285 11.322 3.53934 11.6793C4.02814 12.039 4.56421 12.3169 5.14754 12.5128C5.73318 12.7111 6.34995 12.8103 6.99784 12.8103Z' fill='white'/%3E%3C/svg%3E%0A");
2384
2365
  }
2366
+ ._password-input_vitro-button-show-password_2jL4nM-,
2367
+ ._password-input_vitro-button-hide-password_vPoUeVl {
2368
+ position: absolute;
2369
+ top: 12px;
2370
+ right: 20px;
2371
+ width: 24px;
2372
+ height: 24px;
2373
+ background-size: 100%;
2374
+ background-position: center;
2375
+ cursor: pointer;
2376
+ }
2377
+
2378
+ ._password-input_vitro-button-show-password_2jL4nM- {
2379
+ /* show-password.svg URL-encoder for SVG */
2380
+ 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='visible--eye-eyeball-open-view'%3E%3Cpath id='Vector' d='M22.6767 10.7074C22.961 11.0618 23.1183 11.5222 23.1183 11.9995C23.1183 12.4769 22.961 12.9373 22.6767 13.2917C20.8767 15.471 16.7795 19.7139 11.9967 19.7139C7.21381 19.7139 3.11667 15.471 1.31667 13.2917C1.03237 12.9373 0.875 12.4769 0.875 11.9995C0.875 11.5222 1.03237 11.0618 1.31667 10.7074C3.11667 8.52807 7.21381 4.28516 11.9967 4.28516C16.7795 4.28516 20.8767 8.52807 22.6767 10.7074Z' stroke='%238E98A3' stroke-linecap='round' stroke-linejoin='round'/%3E%3Cpath id='Vector_2' d='M11.9989 15.4275C13.8924 15.4275 15.4275 13.8924 15.4275 11.9989C15.4275 10.1053 13.8924 8.57031 11.9989 8.57031C10.1053 8.57031 8.57031 10.1053 8.57031 11.9989C8.57031 13.8924 10.1053 15.4275 11.9989 15.4275Z' stroke='%238E98A3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/g%3E%3C/svg%3E%0A");
2381
+ }
2382
+
2383
+ ._password-input_vitro-button-hide-password_vPoUeVl {
2384
+ /* hide-password.svg URL-encoder for SVG */
2385
+ background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none'%3E%3Cpath d='M22.6767 10.7074C22.961 11.0618 23.1183 11.5222 23.1183 11.9995C23.1183 12.4769 22.961 12.9373 22.6767 13.2917C20.8767 15.471 16.7795 19.7139 11.9967 19.7139C7.21381 19.7139 3.11667 15.471 1.31667 13.2917C1.03237 12.9373 0.875 12.4769 0.875 11.9995C0.875 11.5222 1.03237 11.0618 1.31667 10.7074C3.11667 8.52807 7.21381 4.28516 11.9967 4.28516C16.7795 4.28516 20.8767 8.52807 22.6767 10.7074Z' stroke='%238E98A3' stroke-linecap='round' stroke-linejoin='round'/%3E%3Cpath d='M3.96875 20L19.9687 4' stroke='%238E98A3' stroke-linecap='round'/%3E%3Cpath d='M11.9989 15.4275C13.8924 15.4275 15.4275 13.8924 15.4275 11.9989C15.4275 10.1053 13.8924 8.57031 11.9989 8.57031C10.1053 8.57031 8.57031 10.1053 8.57031 11.9989C8.57031 13.8924 10.1053 15.4275 11.9989 15.4275Z' stroke='%238E98A3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
2386
+ }
2387
+
2385
2388
  ._date-picker_vitro-control_2AYXegb {
2386
2389
  margin-bottom: 22px;
2387
2390
  width: 100%;
package/dist/index.d.ts CHANGED
@@ -4,7 +4,7 @@ import commonRu from './locale/common-ru.json';
4
4
  export { commonRu, commonEn };
5
5
  import { Breadcrumbs } from './controls/Breadcrumbs/Breadcrumbs';
6
6
  import { TopLevelMenu } from './controls/TopLevelMenu/TopLevelMenu';
7
- import { TreeView } from './controls/TreeView/TreeView';
7
+ import { TreeView, TreeViewProps } from './controls/TreeView/TreeView';
8
8
  import { TreeViewContext } from './controls/TreeView/TreeViewContext';
9
9
  import * as TREE_VIEW from './controls/TreeView/TreeViewConstants';
10
10
  import { TableView } from './controls/TableView/TableView';
@@ -30,6 +30,7 @@ import { PdfViewer } from './controls/PdfViewer/PdfViewer';
30
30
  import { PdfViewerContext } from './controls/PdfViewer/PdfViewerContext';
31
31
  import { Login } from './controls/Login/Login';
32
32
  import { Input } from './controls/Input/Input';
33
+ import { PasswordInput } from './controls/PasswordInput/PasswordInput';
33
34
  import { DatePicker } from './controls/DatePicker/DatePicker';
34
35
  import { TimePicker } from './controls/TimePicker/TimePicker';
35
36
  import { Button } from './controls/Button/Button';
@@ -73,7 +74,7 @@ import { Tooltip } from './controls/Tooltip/Tooltip';
73
74
  import * as TOOLTIP from './controls/Tooltip/TooltipConstants';
74
75
  export { Breadcrumbs };
75
76
  export { TopLevelMenu };
76
- export { TreeView, TreeViewContext, TREE_VIEW };
77
+ export { TreeView, TreeViewContext, TREE_VIEW, TreeViewProps };
77
78
  export { TableView, TableViewContext, TableViewRow, TableViewCol, TABLE_VIEW };
78
79
  export { MicroFrontend };
79
80
  export { TelerikUploader, TelerikUploaderContext, TelerikUploaderContextImpl, TelerikUploaderSettings };
@@ -113,3 +114,4 @@ export { Search, SearchCriterion };
113
114
  export { FieldIterator };
114
115
  export { Tooltip, TOOLTIP };
115
116
  export { CONTROL };
117
+ export { PasswordInput };