@titaui/pc 1.7.100 → 1.8.2

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 (123) hide show
  1. package/lib/components/dialog/index.css +4 -0
  2. package/lib/components/dialog/index.js +7 -6
  3. package/lib/components/form/form-fields/input/index.css +19 -5
  4. package/lib/components/form/form-fields/input/index.js +11 -8
  5. package/lib/components/form/form-fields/input-verification-code/index.css +117 -0
  6. package/lib/components/form/form-fields/input-verification-code/index.js +230 -0
  7. package/lib/components/form/form-fields/password/index.css +2 -2
  8. package/lib/components/form/form-fields/radios/index.js +1 -1
  9. package/lib/components/form/index.js +4 -1
  10. package/lib/components/grid-layout/near-visitors/index.js +4 -2
  11. package/lib/components/grid-layout/okr-align/index.js +4 -4
  12. package/lib/components/grid-layout/okr-progress/index.js +6 -6
  13. package/lib/components/grid-layout/okr-target/index.js +2 -2
  14. package/lib/components/grid-layout/over-view/index.js +1 -1
  15. package/lib/components/grid-layout/personal-info/index.js +5 -3
  16. package/lib/components/grid-layout/sub-employee-okr/index.js +1 -1
  17. package/lib/components/grid-layout/week-task/index.js +4 -4
  18. package/lib/components/grid-layout/words-cloud/index.js +5 -3
  19. package/lib/components/grid-page/personal-info/index.js +5 -3
  20. package/lib/components/img-viewer/index.js +1 -1
  21. package/lib/components/mblog/style.js +4 -4
  22. package/lib/components/nav-top/components/user-message/components/empty/index.js +4 -2
  23. package/lib/components/nav-top/components/user-message/msg/index.js +1 -1
  24. package/lib/components/okr-detail/base-info/base-info.js +4 -3
  25. package/lib/components/okr-detail/base-info/o-desc/index.js +2 -8
  26. package/lib/components/point-demo/constant.js +1 -3
  27. package/lib/components/point-demo/drop-down-box/index.js +1 -3
  28. package/lib/components/point-demo/index.js +8 -10
  29. package/lib/components/publish-dynamic-modal/publish-dynamic-modal.css +1 -1
  30. package/lib/components/publish-dynamic-modal/publish-dynamic-modal.js +2 -1
  31. package/lib/components/table/index.css +4 -0
  32. package/lib/components/table/index.js +3 -0
  33. package/lib/components/upload-photo-modal/constant.js +99 -0
  34. package/lib/components/upload-photo-modal/img/browser-preview-bgc.png +0 -0
  35. package/lib/components/upload-photo-modal/index.css +276 -0
  36. package/lib/components/upload-photo-modal/index.js +332 -0
  37. package/lib/components/upload-photo-modal/request-api.js +44 -0
  38. package/lib/components/user-selector/category-selector-panel/depart-tree.js +3 -0
  39. package/lib/components/user-selector/export-modules/field-tree-selector/index.css +1 -1
  40. package/lib/components/user-selector/export-modules/field-tree-selector/index.js +2 -0
  41. package/lib/components/user-selector/request-apis.js +1 -1
  42. package/lib/components/word-cloud/index.js +1 -1
  43. package/lib/components-v1/userSelector/components/MultiMode/CommonList.js +1 -1
  44. package/lib/components-v1/userSelector/components/MultiMode/DepartmentList.js +1 -1
  45. package/lib/components-v1/userSelector/components/MultiMode/SubsList.js +1 -1
  46. package/lib/components-v1/userSelector/components/SingleMode.js +1 -1
  47. package/lib/index.js +8 -0
  48. package/lib/pages/home/components/data-list/index.js +2 -2
  49. package/lib/pages/home/components/data-list/nav-selector/index.js +2 -2
  50. package/lib/pages/home/components/data-list/table/columns/index.js +1 -1
  51. package/lib/pages/home/components/guide/index.js +14 -12
  52. package/lib/pages/home/components/header/index.js +3 -1
  53. package/lib/pages/home-page-data-list/index.js +2 -2
  54. package/lib/pages/personal-info/components/base-info/index.css +36 -1
  55. package/lib/pages/personal-info/components/base-info/index.js +22 -90
  56. package/lib/pages/personal-info/components/edit-info/index.js +192 -0
  57. package/lib/pages/personal-info/components/edit-info/input/index.css +89 -0
  58. package/lib/pages/personal-info/components/edit-info/input/index.js +199 -0
  59. package/lib/pages/personal-info/components/person-photo/index.css +88 -0
  60. package/lib/pages/personal-info/components/person-photo/index.js +86 -0
  61. package/lib/pages/personal-info/index.js +3 -1
  62. package/package.json +3 -1
  63. package/src/components/dialog/index.js +2 -1
  64. package/src/components/dialog/index.scss +3 -0
  65. package/src/components/form/form-fields/input/index.scss +16 -5
  66. package/src/components/form/form-fields/input/index.tsx +9 -4
  67. package/src/components/form/form-fields/input-verification-code/index.scss +108 -0
  68. package/src/components/form/form-fields/input-verification-code/index.tsx +171 -0
  69. package/src/components/form/form-fields/password/index.scss +2 -2
  70. package/src/components/form/form-fields/radios/index.tsx +2 -2
  71. package/src/components/form/index.tsx +2 -0
  72. package/src/components/grid-layout/near-visitors/index.tsx +3 -2
  73. package/src/components/grid-layout/okr-align/index.tsx +4 -4
  74. package/src/components/grid-layout/okr-progress/index.tsx +6 -6
  75. package/src/components/grid-layout/okr-target/index.tsx +2 -2
  76. package/src/components/grid-layout/over-view/index.tsx +1 -1
  77. package/src/components/grid-layout/personal-info/index.tsx +4 -3
  78. package/src/components/grid-layout/sub-employee-okr/index.tsx +1 -1
  79. package/src/components/grid-layout/week-task/index.tsx +3 -3
  80. package/src/components/grid-layout/words-cloud/index.tsx +4 -3
  81. package/src/components/grid-page/personal-info/index.tsx +4 -3
  82. package/src/components/img-viewer/index.tsx +1 -1
  83. package/src/components/mblog/style.ts +5 -5
  84. package/src/components/nav-top/components/user-message/components/empty/index.tsx +3 -2
  85. package/src/components/nav-top/components/user-message/msg/index.tsx +1 -1
  86. package/src/components/okr-detail/base-info/base-info.tsx +2 -4
  87. package/src/components/okr-detail/base-info/o-desc/index.tsx +0 -7
  88. package/src/components/point-demo/constant.ts +1 -3
  89. package/src/components/point-demo/drop-down-box/index.js +1 -2
  90. package/src/components/point-demo/index.js +8 -9
  91. package/src/components/publish-dynamic-modal/publish-dynamic-modal.scss +1 -1
  92. package/src/components/publish-dynamic-modal/publish-dynamic-modal.tsx +1 -0
  93. package/src/components/table/index.js +1 -0
  94. package/src/components/table/index.scss +5 -0
  95. package/src/components/upload-photo-modal/constant.ts +71 -0
  96. package/src/components/upload-photo-modal/img/browser-preview-bgc.png +0 -0
  97. package/src/components/upload-photo-modal/index.scss +248 -0
  98. package/src/components/upload-photo-modal/index.tsx +236 -0
  99. package/src/components/upload-photo-modal/request-api.ts +23 -0
  100. package/src/components/user-selector/category-selector-panel/depart-tree.tsx +3 -2
  101. package/src/components/user-selector/export-modules/field-tree-selector/index.scss +1 -1
  102. package/src/components/user-selector/export-modules/field-tree-selector/index.tsx +3 -0
  103. package/src/components/user-selector/request-apis.js +1 -1
  104. package/src/components/word-cloud/index.js +1 -1
  105. package/src/components-v1/userSelector/components/MultiMode/CommonList.tsx +1 -1
  106. package/src/components-v1/userSelector/components/MultiMode/DepartmentList.tsx +1 -1
  107. package/src/components-v1/userSelector/components/MultiMode/SubsList.tsx +1 -1
  108. package/src/components-v1/userSelector/components/SingleMode.tsx +1 -1
  109. package/src/index.js +1 -0
  110. package/src/pages/home/components/data-list/index.tsx +2 -2
  111. package/src/pages/home/components/data-list/nav-selector/index.tsx +2 -2
  112. package/src/pages/home/components/data-list/table/columns/index.tsx +1 -1
  113. package/src/pages/home/components/guide/index.tsx +13 -12
  114. package/src/pages/home/components/header/index.tsx +2 -1
  115. package/src/pages/home-page-data-list/index.tsx +2 -2
  116. package/src/pages/personal-info/components/base-info/index.scss +30 -1
  117. package/src/pages/personal-info/components/base-info/index.tsx +26 -97
  118. package/src/pages/personal-info/components/edit-info/index.tsx +152 -0
  119. package/src/pages/personal-info/components/edit-info/input/index.scss +82 -0
  120. package/src/pages/personal-info/components/edit-info/input/index.tsx +145 -0
  121. package/src/pages/personal-info/components/person-photo/index.scss +80 -0
  122. package/src/pages/personal-info/components/person-photo/index.tsx +49 -0
  123. package/src/pages/personal-info/index.tsx +2 -0
@@ -21,7 +21,6 @@ const ODesc: FC<IODescProps> = ({
21
21
  const [hasError, setHasError] = useState(false);
22
22
  const [isShowMore, setIsShowMore] = useState(false);
23
23
  const [desc, setDesc] = useState(originalDesc);
24
- // const [originalDesc,setOriginalDesc] = useState(decodeURI(encodeURI(data.description))||'')
25
24
  const [showMoreBtn, setShowMoreBtn] = useState(false);
26
25
  const textareaRef = useRef(document.createElement("textarea"));
27
26
  const textRef = useRef(document.createElement("div"));
@@ -69,12 +68,6 @@ const ODesc: FC<IODescProps> = ({
69
68
  [originalDesc, desc, onChangeDesc, hasError]
70
69
  );
71
70
 
72
- // const handleEnsureDesc = useCallback((e) => {
73
- // setIsFocus(false);
74
- // setIsAddDesc(false)
75
- // onChangeDesc && onChangeDesc();
76
- // }, [onChangeDesc]);
77
-
78
71
  useEffect(() => {
79
72
  if (isFocus) {
80
73
  setShowMoreBtn(false);
@@ -1,5 +1,3 @@
1
- import { getLocale } from "../../utils/getLocale";
2
-
3
1
  export const getOkrClassifyList = () => {
4
2
  return [
5
3
  { label: "1-10", value: 1 },
@@ -24,6 +22,6 @@ export const getOkrClassifyList1 = () => {
24
22
  { label: "IT 负责人", value: 4 },
25
23
  { label: "采购专员", value: 5 },
26
24
  { label: "业务部门主管", value: 6 },
27
- { label: `${getLocale("OKR_Menu_Title_Others")}`, value: 7 },
25
+ { label: `其他`, value: 7 },
28
26
  ]
29
27
  };
@@ -1,10 +1,9 @@
1
1
  import React, { FC, useState, useRef, useMemo, useCallback, useEffect } from "react";
2
2
  import Popup from "../popup";
3
- import { getLocale } from '../../../utils/getLocale'
4
3
  import SuffixIcon from "../image/down.svg"
5
4
  import "./index.scss";
6
5
 
7
- const SelectLayer = ({ style,errMsg,className,title,required=false, initValue, onChangeClassify, items, initText = `${getLocale('OKR_MyO_E_Temporarilynone')}`, popupProps, renderPrefixIcon, renderSuffixIcon, renderPrefixIconClass, renderSuffixIconClass, textClass, forceRenderText = false }) => {
6
+ const SelectLayer = ({ style,errMsg,className,title,required=false, initValue, onChangeClassify, items, initText = `暂无`, popupProps, renderPrefixIcon, renderSuffixIcon, renderPrefixIconClass, renderSuffixIconClass, textClass, forceRenderText = false }) => {
8
7
  const [visible, setVisible] = useState(false);
9
8
  const [selectItem, setSelectItem] = useState(items.find(item => item.value === initValue));
10
9
 
@@ -5,7 +5,6 @@ import Dialog from "../dialog";
5
5
  import axios from 'axios'
6
6
  import ReactDOM from 'react-dom'
7
7
  import {getTenantInfo} from '../../utils/helpers';
8
- import { getLocale } from '../../utils/getLocale'
9
8
  // const isMobile = window.userAgent === 'mobile'
10
9
  const isMobile = document.body.clientWidth < 768
11
10
  import Input from './input'
@@ -250,7 +249,7 @@ export default (props) => {
250
249
  <div className="tita-appointment-demo-right-form">
251
250
  <div className="tita-appointment-demo-right-form-item">
252
251
  <Input className="tita-appointment-demo-right-form-item-left"
253
- label={getLocale('Mod_UserName')} placeholder="请输入您的名称"
252
+ label={'名称'} placeholder="请输入您的名称"
254
253
  id="name"
255
254
  errMsg={errMsg}
256
255
  required={true}
@@ -259,7 +258,7 @@ export default (props) => {
259
258
  onBlur={onBlurName}
260
259
  />
261
260
  <Input className="tita-appointment-demo-right-form-item-right"
262
- label="手机号码" placeholder={getLocale('Pro_page_Ext_Tab_PhoneNumber')}
261
+ label="手机号码" placeholder={'请输入手机号'}
263
262
  id="phone"
264
263
  errMsg={errMsg1}
265
264
  required={true}
@@ -276,7 +275,7 @@ export default (props) => {
276
275
  items={getOkrClassifyList1()}
277
276
  initValue={selectValue1}
278
277
  renderSuffixIcon
279
- initText={getLocale('Mod_Pleaseselect')}
278
+ initText={'请选择'}
280
279
  onChangeClassify={handleSelectOkrClassify1}
281
280
  title="您的身份"
282
281
  errMsg={errMsgIde}
@@ -287,7 +286,7 @@ export default (props) => {
287
286
  items={getOkrClassifyList()}
288
287
  initValue={selectValue}
289
288
  renderSuffixIcon
290
- initText={getLocale('Mod_Pleaseselect')}
289
+ initText={'请选择'}
291
290
  onChangeClassify={handleSelectOkrClassify}
292
291
  title="公司人数"
293
292
  errMsg={errMsgNum}
@@ -325,9 +324,9 @@ export default (props) => {
325
324
  <div className={`${has('OKR 目标管理') ? 'tita-appointment-demo-right-form-item-modules-item-active' : ''} tita-appointment-demo-right-form-item-modules-item`}
326
325
  onClick={() => onClickAddModules('OKR 目标管理')}
327
326
  >OKR 目标管理</div>
328
- <div className={`${has(getLocale('Menu_Title_Performance')) ? 'tita-appointment-demo-right-form-item-modules-item-active' : ''} tita-appointment-demo-right-form-item-modules-item`}
329
- onClick={() => onClickAddModules(getLocale('Menu_Title_Performance'))}
330
- >{getLocale('Menu_Title_Performance')}</div>
327
+ <div className={`${has("绩效考核") ? 'tita-appointment-demo-right-form-item-modules-item-active' : ''} tita-appointment-demo-right-form-item-modules-item`}
328
+ onClick={() => onClickAddModules("绩效考核")}
329
+ >绩效考核</div>
331
330
  <div className={`${has('项目管理') ? 'tita-appointment-demo-right-form-item-modules-item-active' : ''} tita-appointment-demo-right-form-item-modules-item`}
332
331
  onClick={() => onClickAddModules('项目管理')}
333
332
  >项目管理</div>
@@ -360,7 +359,7 @@ export default (props) => {
360
359
  }
361
360
  <div className="tita-appointment-demo-right-form-submit"
362
361
  onClick={onClickSubmit}
363
- >{getLocale('Pro_detail_Submission')}</div>
362
+ >提交</div>
364
363
  </div>
365
364
  </div>
366
365
 
@@ -1,3 +1,3 @@
1
1
  .publish-dynamic-modal {
2
- padding: 16px 32px 18px 32px;
2
+ padding: 10px 32px 18px 32px;
3
3
  }
@@ -109,6 +109,7 @@ const PublishDynamicModal: FC = ({}) => {
109
109
  noFooter
110
110
  style={{ width: isEn ? '680px' : "480px" }}
111
111
  destroyOnClose
112
+ noHeadLine
112
113
  >
113
114
  <div className={prefix}>
114
115
  <MBlog
@@ -183,6 +183,7 @@ export default props => {
183
183
  }
184
184
  </div>
185
185
  {!!total&&<Pagination
186
+ className={classNames({[`${preCls}__pagination-only-one`]:pageSize>total})}
186
187
  pageSize={pageSize}
187
188
  total={total}
188
189
  current={pageNum}
@@ -104,4 +104,9 @@
104
104
  font-size: 12px;
105
105
  }
106
106
  }
107
+ &__pagination-only-one{
108
+ .titaui-pagination__select-selector{
109
+ margin-right: 26px;
110
+ }
111
+ }
107
112
  }
@@ -0,0 +1,71 @@
1
+ import { saveUserInfo, saveTenantLogo } from "./request-api";
2
+ import Toast from '../../components/toast';
3
+
4
+ export const List = [
5
+ {
6
+ id: 'person',
7
+ accept: '.jpg,.jpeg,.gif,.png',
8
+ autoCropArea: 0.5,
9
+ initialAspectRatio: 1,
10
+ tips: '仅支持 jpg、jpeg、gif、png 格式 建议图片最小尺寸 150*150px',
11
+ previewTitle: '预览',
12
+ handleSaveInfo: (data, onCancel, image) => {
13
+ if (!image) {
14
+ return;
15
+ } else {
16
+ saveUserInfo({ data: data }).then((resp) => {
17
+ if (resp.Code === 1) {
18
+ Toast.Success('保存成功', { canClose: false });
19
+ onCancel();
20
+ } else {
21
+ Toast.Error(resp.Message, { canClose: false });
22
+ }
23
+ });
24
+ }
25
+ },
26
+ },
27
+ {
28
+ id: 'enterprise',
29
+ accept: '.jpg,.jpeg,.gif,.png',
30
+ autoCropArea: 1,
31
+ initialAspectRatio: 5,
32
+ tips: '建议 logo 尺寸 400*80 logo 最佳适配颜色为白色 仅支持 jpg、jpeg、gif、png 格式',
33
+ previewTitle: 'logo 预览',
34
+ handleSaveInfo: (data, onCancel, image) => {
35
+ if (!image) {
36
+ return;
37
+ } else {
38
+ saveTenantLogo({ data: data }).then((resp) => {
39
+ if (resp.Code === 1) {
40
+ Toast.Success('保存成功', { canClose: false });
41
+ onCancel();
42
+ } else {
43
+ Toast.Error(resp.Message, { canClose: false });
44
+ }
45
+ });
46
+ }
47
+ },
48
+ },
49
+ {
50
+ id: 'browser',
51
+ accept: '',
52
+ autoCropArea: 0.5,
53
+ initialAspectRatio: 1,
54
+ tips: '图标尺寸 18*18,超过将被浏览器压缩',
55
+ previewTitle: '浏览器图标预览',
56
+ handleSaveInfo: (data, onCancel, image) => {
57
+ if (!image) {
58
+ return;
59
+ } else {
60
+ saveTenantLogo({ data: data }).then((resp) => {
61
+ if (resp.Code === 1) {
62
+ Toast.Success('保存成功', { canClose: false });
63
+ onCancel();
64
+ } else {
65
+ Toast.Error(resp.Message, { canClose: false });
66
+ }
67
+ });
68
+ }
69
+ },
70
+ }
71
+ ];
@@ -0,0 +1,248 @@
1
+ .tita-ui-change-person-photo {
2
+ &__img {
3
+ display: flex;
4
+ justify-content: space-between;
5
+ box-sizing: border-box;
6
+ padding: 0 32px;
7
+ .cropper-wrap-box {
8
+ border-radius: 12px;
9
+ }
10
+ .cropper-canvas {
11
+ border-radius: 12px;
12
+ }
13
+ .cropper-crop {
14
+ border-radius: 12px;
15
+ }
16
+ }
17
+ &__upload {
18
+ display: flex;
19
+ justify-content: space-between;
20
+ box-sizing: border-box;
21
+ padding: 0 32px;
22
+
23
+ &-preview {
24
+ display: flex;
25
+ flex-direction: column;
26
+ align-items: center;
27
+ }
28
+ &-right {
29
+ position: relative;
30
+ width: 240px;
31
+ height: 240px;
32
+ background: #f0f2f5;
33
+ border-radius: 12px;
34
+ box-sizing: border-box;
35
+ padding: 30px;
36
+ display: flex;
37
+ flex-direction: column;
38
+ align-items: center;
39
+ &-input {
40
+ position: absolute;
41
+ top: 76px;
42
+ width: 240px;
43
+ height: 60px;
44
+ opacity: 0;
45
+ cursor: pointer;
46
+ }
47
+ &-icon {
48
+ cursor: pointer;
49
+ margin-top: 46px;
50
+ font-size: 32px;
51
+ color: #2879ff;
52
+ }
53
+ &-title {
54
+ margin-top: 4px;
55
+ font-size: 12px;
56
+ font-weight: 400;
57
+ color: #2879ff;
58
+ line-height: 18px;
59
+ cursor: pointer;
60
+ }
61
+ &-tips {
62
+ margin-top: 8px;
63
+ font-size: 12px;
64
+ font-weight: 400;
65
+ color: #a4acb9;
66
+ line-height: 18px;
67
+ text-align: center;
68
+ }
69
+ }
70
+ &-left {
71
+ display: flex;
72
+ flex-direction: column;
73
+ align-items: center;
74
+ margin-left: 36px;
75
+ width: 136px;
76
+ height: 100%;
77
+ &-box1 {
78
+ width: 136px;
79
+ height: 136px;
80
+ background: #f0f2f5;
81
+ border-radius: 50%;
82
+ }
83
+ &-box2 {
84
+ width: 48px;
85
+ height: 48px;
86
+ background: #f0f2f5;
87
+ border-radius: 50%;
88
+ margin-top: 14px;
89
+ }
90
+ &-box3 {
91
+ width: 28px;
92
+ height: 28px;
93
+ background: #f0f2f5;
94
+ border-radius: 50%;
95
+ margin-top: 14px;
96
+ }
97
+ &-box {
98
+ width: 160px;
99
+ height: 32px;
100
+ background: #F0F2F5;
101
+ border-radius: 2px;
102
+ border: 1px solid #E9ECF0;
103
+ }
104
+ &-preview {
105
+ margin-top: 8px;
106
+ font-size: 14px;
107
+ font-weight: 400;
108
+ color: #3F4755;
109
+ line-height: 22px;
110
+ }
111
+ }
112
+ }
113
+ &__preview {
114
+ display: flex;
115
+ align-items: center;
116
+ flex-direction: column;
117
+ overflow: hidden;
118
+ &-box {
119
+ position: relative;
120
+ display: flex;
121
+ align-items: center;
122
+ flex-direction: column;
123
+ &-bgc {
124
+ width: 160px;
125
+ height: 32px;
126
+ background: #2879FF;
127
+ border-radius: 2px;
128
+ border: 1px solid #E9ECF0;
129
+ }
130
+ &-browser {
131
+ margin-left: 16px;
132
+ width: 176px;
133
+ height: 48px;
134
+ background: #F0F2F5;
135
+ border-radius: 2px;
136
+ border: 1px solid #E9ECF0;
137
+ background-image: url('./img/browser-preview-bgc.png');
138
+ background-size: 170px 28px;
139
+ background-position: center center;
140
+ background-repeat: no-repeat;
141
+ }
142
+ }
143
+ &-box1 {
144
+ width: 136px;
145
+ height: 136px;
146
+ border-radius: 50%;
147
+ }
148
+ &-box2 {
149
+ margin-top: 14px;
150
+ width: 48px;
151
+ height: 48px;
152
+ border-radius: 50%;
153
+ }
154
+ &-box3 {
155
+ margin-top: 14px;
156
+ width: 28px;
157
+ height: 28px;
158
+ border-radius: 50%;
159
+ }
160
+ &-enterprise {
161
+ &-img {
162
+ position: absolute;
163
+ top: 2px;
164
+ right: 45px;
165
+ width: 70px;
166
+ height: 28px;
167
+ }
168
+ &-title {
169
+ margin-top: 36px;
170
+ font-size: 14px;
171
+ font-weight: 400;
172
+ color: #3F4755;
173
+ line-height: 22px;
174
+ }
175
+ }
176
+ &-browser {
177
+ &-img {
178
+ position: absolute;
179
+ top: 15px;
180
+ left: 16px;
181
+ width: 18px;
182
+ height: 18px;
183
+ }
184
+ &-name {
185
+ position: absolute;
186
+ top: 15px;
187
+ right:10px;
188
+ font-size: 12px;
189
+ font-weight: 400;
190
+ color: #3F4755;
191
+ line-height: 18px;
192
+ }
193
+ &-title {
194
+ margin-top: 58px;
195
+ font-size: 14px;
196
+ font-weight: 400;
197
+ color: #3F4755;
198
+ line-height: 22px;
199
+ }
200
+ }
201
+ &-title {
202
+ margin-top: 8px;
203
+ font-size: 14px;
204
+ font-weight: 400;
205
+ color: #6f7886;
206
+ line-height: 22px;
207
+ }
208
+ }
209
+ &__title {
210
+ position: relative;
211
+ display: flex;
212
+ align-items: center;
213
+ justify-content: space-between;
214
+ box-sizing: border-box;
215
+ padding: 8px 32px 0 32px;
216
+ &-input {
217
+ display: none;
218
+ position: absolute;
219
+ width: 240px;
220
+ height: 30px;
221
+ &--show {
222
+ display: block;
223
+ opacity: 0;
224
+ cursor: pointer;
225
+ }
226
+ }
227
+ &-again {
228
+ margin-left: 92px;
229
+ margin-top: 8px;
230
+ font-size: 14px;
231
+ font-weight: 400;
232
+ color: #bfc7d5;
233
+ line-height: 22px;
234
+ &--show {
235
+ cursor: pointer;
236
+ color: #2879ff;
237
+ }
238
+ }
239
+ &-preview {
240
+ margin-right: 54px;
241
+ margin-top: 8px;
242
+ font-size: 14px;
243
+ font-weight: 400;
244
+ color: #6f7886;
245
+ line-height: 22px;
246
+ }
247
+ }
248
+ }