@zgfe/modules-settings 2.0.0-zhongyuan.8 → 2.1.0-zhongyuan-set.1

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 (130) hide show
  1. package/README.md +33 -33
  2. package/es/components/card/index.less +87 -87
  3. package/es/components/importMetaDialog/index.d.ts +13 -0
  4. package/es/components/importMetaDialog/index.js +217 -0
  5. package/es/components/importMetaDialog/styles/index.less +115 -0
  6. package/es/components/pageLoading/index.less +7 -7
  7. package/es/components/picCircleSelect/bak/index copy 2.tsx.bak +92 -92
  8. package/es/components/picCircleSelect/bak/index copy 3.tsx.bak +58 -58
  9. package/es/components/picCircleSelect/bak/index copy 4.tsx.bak +66 -66
  10. package/es/components/picCircleSelect/bak/index copy 5.tsx.bak +116 -116
  11. package/es/components/picCircleSelect/bak/index copy 6.tsx.bak +116 -116
  12. package/es/components/picCircleSelect/bak/index copy.tsx.bak +41 -41
  13. package/es/components/picCircleSelect/bak/index.tsx.bak +48 -48
  14. package/es/components/picCircleSelect/bak/index1.tsx.bak +46 -46
  15. package/es/components/picCircleSelect/bak/index2.tsx.bak +104 -104
  16. package/es/components/picCircleSelect/index.less +37 -37
  17. package/es/components/processCanvas/styles/customNode.less +149 -149
  18. package/es/components/processCanvas/styles/index.less +34 -34
  19. package/es/components/settingTabs/index.less +51 -51
  20. package/es/constants/api.d.ts +30 -0
  21. package/es/constants/api.js +43 -1
  22. package/es/constants/icons/demo.css +539 -539
  23. package/es/constants/icons/demo_index.html +9871 -9871
  24. package/es/constants/icons/iconfont.css +1699 -1699
  25. package/es/constants/icons/iconfont.json +2956 -2956
  26. package/es/global.d.ts +4 -4
  27. package/es/modules/appSettings/dataAccessFilter/index.js +2 -1
  28. package/es/modules/appSettings/dataAccessFilter/index.less +5 -5
  29. package/es/modules/appSettings/virtualSource/styles/index.less +28 -28
  30. package/es/modules/appSettings/virtualSource/styles/table.less +51 -51
  31. package/es/modules/companySetting/appList/index.less +126 -126
  32. package/es/modules/companySetting/application/applicationForm.d.ts +1 -0
  33. package/es/modules/companySetting/application/applicationForm.js +34 -4
  34. package/es/modules/companySetting/application/index.d.ts +13 -0
  35. package/es/modules/companySetting/application/index.js +276 -104
  36. package/es/modules/companySetting/application/index.less +144 -126
  37. package/es/modules/companySetting/business/index.less +92 -92
  38. package/es/modules/companySetting/cost/index.less +38 -38
  39. package/es/modules/companySetting/department/index.less +157 -157
  40. package/es/modules/companySetting/edit/styles/authConfig.less +3 -3
  41. package/es/modules/companySetting/edit/styles/authGroup.less +10 -10
  42. package/es/modules/companySetting/edit/styles/authModule.less +82 -82
  43. package/es/modules/companySetting/edit/styles/user.less +54 -54
  44. package/es/modules/companySetting/edit/styles/userGroup.less +44 -44
  45. package/es/modules/companySetting/index.js +37 -33
  46. package/es/modules/companySetting/index.less +90 -90
  47. package/es/modules/companySetting/info/index.less +42 -42
  48. package/es/modules/companySetting/mainPart/images/img2.svg +12 -12
  49. package/es/modules/companySetting/mainPart/index.less +239 -239
  50. package/es/modules/companySetting/operationLog/index.js +22 -5
  51. package/es/modules/companySetting/operationLog/index.less +33 -33
  52. package/es/modules/companySetting/role/index.less +296 -296
  53. package/es/modules/companySetting/role/setDataRangeDialog/index.less +37 -37
  54. package/es/modules/companySetting/style/common.less +79 -79
  55. package/es/modules/companySetting/style/reset.less +117 -117
  56. package/es/modules/companySetting/user/index.js +36 -24
  57. package/es/modules/companySetting/user/invite.js +47 -100
  58. package/es/modules/companySetting/virtualApp/styles/config.less +37 -37
  59. package/es/modules/companySetting/virtualApp/styles/index.less +21 -21
  60. package/es/modules/companySetting/virtualApp/styles/list.less +28 -28
  61. package/es/modules/companySetting/virtualApp/styles/sourceItem.less +33 -33
  62. package/es/modules/companySetting/virtualApp/styles/table.less +44 -44
  63. package/es/modules/companySetting/wechatBinding/index.less +58 -58
  64. package/es/modules/createDemand/constants.d.ts +15 -2
  65. package/es/modules/createDemand/constants.js +57 -4
  66. package/es/modules/createDemand/demo/selectPoint.js +1 -2
  67. package/es/modules/createDemand/index.d.ts +0 -1
  68. package/es/modules/createDemand/index.js +793 -179
  69. package/es/modules/createDemand/styles/index.less +403 -277
  70. package/es/modules/createDemand_bf/demo/index.js +0 -1
  71. package/es/modules/createDemand_bf/index.js +0 -1
  72. package/es/modules/createDemand_bf/styles/index.less +222 -222
  73. package/es/modules/createProcess/components/index.less +52 -52
  74. package/es/modules/createProcess/index.less +114 -114
  75. package/es/modules/createProcess/title/index.less +53 -53
  76. package/es/modules/dealDemand/demo/index.js +0 -1
  77. package/es/modules/dealDemand/demo/selectPoint.js +1 -1
  78. package/es/modules/dealDemand/index.js +0 -2
  79. package/es/modules/dealDemand/styles/index.less +265 -265
  80. package/es/modules/demandManage/index.js +174 -163
  81. package/es/modules/demandManage/styles/index.less +155 -210
  82. package/es/modules/getPassword/index.less +122 -122
  83. package/es/modules/messageList/index.d.ts +1 -1
  84. package/es/modules/messageList/index.js +6 -6
  85. package/es/modules/messageList/index.less +81 -81
  86. package/es/modules/personalSetting/demo/index.d.ts +3 -0
  87. package/es/modules/personalSetting/demo/index.js +12 -0
  88. package/es/modules/personalSetting/index.js +11 -1
  89. package/es/modules/personalSetting/info/index.js +23 -5
  90. package/es/modules/personalSetting/securityLog/index.less +11 -11
  91. package/es/modules/personalSetting/styles/unbinding.less +73 -73
  92. package/es/modules/pointMap/ImportModal/styles/index.less +91 -91
  93. package/es/modules/pointMap/createMetaDrawer.d.ts +5 -0
  94. package/es/modules/pointMap/createMetaDrawer.js +825 -0
  95. package/es/modules/pointMap/editTxt/index.less +55 -55
  96. package/es/modules/pointMap/pageInfo.js +401 -179
  97. package/es/modules/pointMap/record.d.ts +7 -0
  98. package/es/modules/pointMap/record.js +521 -0
  99. package/es/modules/pointMap/styles/index.less +165 -38
  100. package/es/modules/pointMap/styles/pageInfo.less +439 -244
  101. package/es/modules/pointMap/styles/tree.css +28 -9
  102. package/es/modules/pointMap/styles/tree.less +33 -8
  103. package/es/modules/pointMap/tree.js +232 -88
  104. package/es/modules/pointMap/types.d.ts +88 -0
  105. package/es/modules/pointMap/types.js +1 -0
  106. package/es/modules/systemSetting/Dictionary.d.ts +5 -2
  107. package/es/modules/systemSetting/Dictionary.js +54 -370
  108. package/es/modules/systemSetting/approvalmanage/approvalStrategy/index.less +14 -14
  109. package/es/modules/systemSetting/approvalmanage/index.less +5 -5
  110. package/es/modules/systemSetting/approvalmanage/processManage/index.less +39 -39
  111. package/es/modules/systemSetting/dictionaryItem/dictionaryManagement/create.d.ts +9 -0
  112. package/es/modules/systemSetting/dictionaryItem/dictionaryManagement/create.js +245 -0
  113. package/es/modules/systemSetting/dictionaryItem/dictionaryManagement/css/index.less +48 -0
  114. package/es/modules/systemSetting/dictionaryItem/dictionaryManagement/index.d.ts +4 -0
  115. package/es/modules/systemSetting/dictionaryItem/dictionaryManagement/index.js +207 -0
  116. package/es/modules/systemSetting/dictionaryItem/dictionaryManagement/type/index.d.ts +10 -0
  117. package/es/modules/systemSetting/dictionaryItem/dictionaryManagement/type/index.js +1 -0
  118. package/es/modules/systemSetting/dictionaryItem/eventTagManagement/create.d.ts +10 -0
  119. package/es/modules/systemSetting/dictionaryItem/eventTagManagement/create.js +124 -0
  120. package/es/modules/systemSetting/dictionaryItem/eventTagManagement/css/index.less +32 -0
  121. package/es/modules/systemSetting/dictionaryItem/eventTagManagement/index.d.ts +7 -0
  122. package/es/modules/systemSetting/dictionaryItem/eventTagManagement/index.js +264 -0
  123. package/es/modules/systemSetting/dictionaryItem/eventTagManagement/type/index.d.ts +9 -0
  124. package/es/modules/systemSetting/dictionaryItem/eventTagManagement/type/index.js +1 -0
  125. package/es/modules/systemSetting/document-setting/index.js +7 -6
  126. package/es/modules/systemSetting/index.js +16 -16
  127. package/es/modules/systemSetting/notice/configItem/index.less +21 -21
  128. package/es/modules/systemSetting/notice/edit/index.less +26 -26
  129. package/es/types/personal.d.ts +1 -0
  130. package/package.json +3 -3
@@ -1,81 +1,81 @@
1
- .system-setting-message {
2
- display: flex;
3
- flex-direction: column;
4
- width: 100%;
5
- height: 100%;
6
- background-color: #fff;
7
- &-header {
8
- display: flex;
9
- align-items: center;
10
- justify-content: space-between;
11
- height: 56px;
12
- padding: 16px 24px;
13
- color: var(--io-N-, #021429);
14
- font-weight: 500;
15
- font-size: 16px;
16
- border-bottom: 1px solid var(--io-N1-, #e6e7ea);
17
- .qingchu {
18
- font-size: 24px !important;
19
- cursor: pointer;
20
- }
21
- }
22
- &-content {
23
- display: flex;
24
- flex: 1;
25
- flex-direction: column;
26
- overflow-y: auto;
27
- &-filter {
28
- display: flex;
29
- flex-direction: row;
30
- align-items: center;
31
- justify-content: space-between;
32
- padding: 16px 16px 8px 16px;
33
- &-select {
34
- width: 120px;
35
- }
36
- }
37
- &-list {
38
- display: flex;
39
- flex-direction: column;
40
- align-items: flex-start;
41
- padding: 0 16px;
42
- &-empty {
43
- width: 100%;
44
- margin-top: 54px;
45
- }
46
- &-item {
47
- display: flex;
48
- flex-direction: row;
49
- gap: 8px;
50
- padding: 12px 0;
51
- &-dian {
52
- width: 8px;
53
- height: 8px;
54
- margin: 6px;
55
- border-radius: 8px;
56
- }
57
- &-title {
58
- margin-bottom: 8px;
59
- color: var(--io-N-, #021429);
60
- font-size: 14px;
61
- line-height: 20px;
62
- cursor: pointer;
63
- &:hover {
64
- color: #165dff !important;
65
- }
66
- }
67
- &-date {
68
- color: var(--io-N6-, #67727f);
69
- font-size: 14px;
70
- line-height: 20px;
71
- }
72
- }
73
- }
74
- }
75
- &-search-popup {
76
- .ant-select-item {
77
- height: 32px !important;
78
- padding: 4px 12px !important;
79
- }
80
- }
81
- }
1
+ .system-setting-message {
2
+ display: flex;
3
+ flex-direction: column;
4
+ width: 100%;
5
+ height: 100%;
6
+ background-color: #fff;
7
+ &-header {
8
+ display: flex;
9
+ align-items: center;
10
+ justify-content: space-between;
11
+ height: 56px;
12
+ padding: 16px 24px;
13
+ color: var(--io-N-, #021429);
14
+ font-weight: 500;
15
+ font-size: 16px;
16
+ border-bottom: 1px solid var(--io-N1-, #e6e7ea);
17
+ .qingchu {
18
+ font-size: 24px !important;
19
+ cursor: pointer;
20
+ }
21
+ }
22
+ &-content {
23
+ display: flex;
24
+ flex: 1;
25
+ flex-direction: column;
26
+ overflow-y: auto;
27
+ &-filter {
28
+ display: flex;
29
+ flex-direction: row;
30
+ align-items: center;
31
+ justify-content: space-between;
32
+ padding: 16px 16px 8px 16px;
33
+ &-select {
34
+ width: 120px;
35
+ }
36
+ }
37
+ &-list {
38
+ display: flex;
39
+ flex-direction: column;
40
+ align-items: flex-start;
41
+ padding: 0 16px;
42
+ &-empty {
43
+ width: 100%;
44
+ margin-top: 54px;
45
+ }
46
+ &-item {
47
+ display: flex;
48
+ flex-direction: row;
49
+ gap: 8px;
50
+ padding: 12px 0;
51
+ &-dian {
52
+ width: 8px;
53
+ height: 8px;
54
+ margin: 6px;
55
+ border-radius: 8px;
56
+ }
57
+ &-title {
58
+ margin-bottom: 8px;
59
+ color: var(--io-N-, #021429);
60
+ font-size: 14px;
61
+ line-height: 20px;
62
+ cursor: pointer;
63
+ &:hover {
64
+ color: #165dff !important;
65
+ }
66
+ }
67
+ &-date {
68
+ color: var(--io-N6-, #67727f);
69
+ font-size: 14px;
70
+ line-height: 20px;
71
+ }
72
+ }
73
+ }
74
+ }
75
+ &-search-popup {
76
+ .ant-select-item {
77
+ height: 32px !important;
78
+ padding: 4px 12px !important;
79
+ }
80
+ }
81
+ }
@@ -0,0 +1,3 @@
1
+ import React from 'react';
2
+ declare const _default: () => React.JSX.Element;
3
+ export default _default;
@@ -0,0 +1,12 @@
1
+ import React from 'react';
2
+ import PersonalSetting from '../index';
3
+ import { DemoWrapper } from '@zgfe/business-lib';
4
+ export default (function () {
5
+ return /*#__PURE__*/React.createElement(DemoWrapper, {
6
+ defaultApp: 99825
7
+ }, /*#__PURE__*/React.createElement(PersonalSetting, {
8
+ settingsCallback: function settingsCallback(type) {
9
+ throw new Error('Function not implemented.');
10
+ }
11
+ }));
12
+ });
@@ -14,11 +14,13 @@ import { useContext } from 'react';
14
14
  import { BizGlobalDataContext } from '@zgfe/business-lib';
15
15
  import util from '../../utils/util';
16
16
  import SecurityLog from './securityLog';
17
+ import CreateProcess from '../messageList';
17
18
  var PersonalSetting = function PersonalSetting(_ref) {
18
19
  var settingsCallback = _ref.settingsCallback;
19
20
  var _useContext = useContext(BizGlobalDataContext),
20
21
  currentUser = _useContext.currentUser,
21
- isDemo = _useContext.isDemo;
22
+ isDemo = _useContext.isDemo,
23
+ route = _useContext.route;
22
24
  var _useState = useState('1'),
23
25
  _useState2 = _slicedToArray(_useState, 2),
24
26
  currentKey = _useState2[0],
@@ -29,8 +31,10 @@ var PersonalSetting = function PersonalSetting(_ref) {
29
31
  className: "tab-header-title"
30
32
  }, "\u4E2A\u4EBA\u8BBE\u7F6E"));
31
33
  useEffect(function () {
34
+ var _route$query, _route$query2;
32
35
  var query = util.getHrefData(window.location.href);
33
36
  if (query.password) setCurrentKey('2');
37
+ if (route === null || route === void 0 ? void 0 : (_route$query = route.query) === null || _route$query === void 0 ? void 0 : _route$query.currentKey) setCurrentKey(route === null || route === void 0 ? void 0 : (_route$query2 = route.query) === null || _route$query2 === void 0 ? void 0 : _route$query2.currentKey);
34
38
  }, []);
35
39
  var items = [{
36
40
  key: '1',
@@ -54,6 +58,12 @@ var PersonalSetting = function PersonalSetting(_ref) {
54
58
  key: '4',
55
59
  label: '安全日志',
56
60
  content: /*#__PURE__*/React.createElement(SecurityLog, null)
61
+ }, {
62
+ key: '5',
63
+ label: '消息通知',
64
+ content: /*#__PURE__*/React.createElement(CreateProcess, {
65
+ onClose: undefined
66
+ })
57
67
  }];
58
68
  return /*#__PURE__*/React.createElement(SettingTabs, {
59
69
  typeName: "personal",
@@ -18,7 +18,8 @@ var PersonalInfo = function PersonalInfo(_ref) {
18
18
  isDemo = _useContext.isDemo;
19
19
  var _useState = useState({
20
20
  username: currentUser === null || currentUser === void 0 ? void 0 : currentUser.username,
21
- emailNote: currentUser === null || currentUser === void 0 ? void 0 : currentUser.emailNote
21
+ emailNote: currentUser === null || currentUser === void 0 ? void 0 : currentUser.emailNote,
22
+ telphone: currentUser === null || currentUser === void 0 ? void 0 : currentUser.telphone
22
23
  }),
23
24
  _useState2 = _slicedToArray(_useState, 2),
24
25
  initialValues = _useState2[0],
@@ -34,14 +35,15 @@ var PersonalInfo = function PersonalInfo(_ref) {
34
35
  var onSubmit = function onSubmit(value) {
35
36
  setLoading(true);
36
37
  var username = value.username,
37
- emailNote = value.emailNote;
38
+ emailNote = value.emailNote,
39
+ telphone = value.telphone;
38
40
  urlRequest(apis.setting.updateUserInfo, {
39
41
  method: 'post',
40
42
  data: {
41
43
  data: JSON.stringify({
42
44
  name: username,
43
45
  email: emailNote,
44
- mobile: currentUser === null || currentUser === void 0 ? void 0 : currentUser.telphone
46
+ mobile: telphone
45
47
  })
46
48
  }
47
49
  }).then(function (res) {
@@ -52,11 +54,13 @@ var PersonalInfo = function PersonalInfo(_ref) {
52
54
  // 表单重置
53
55
  setInitialValues({
54
56
  username: username,
55
- emailNote: emailNote
57
+ emailNote: emailNote,
58
+ telphone: telphone
56
59
  });
57
60
  form.resetFields();
58
61
  currentUser.username = username;
59
62
  currentUser.emailNote = emailNote;
63
+ currentUser.telphone = telphone;
60
64
  // 主应用更新currentUser,同公司设置-更新应用名称回调
61
65
  settingsCallback('settingChangeCompanyNameCallback');
62
66
  } else {
@@ -96,6 +100,20 @@ var PersonalInfo = function PersonalInfo(_ref) {
96
100
  }, /*#__PURE__*/React.createElement(Input, {
97
101
  placeholder: "\u59D3\u540D",
98
102
  disabled: isDemo
103
+ })), /*#__PURE__*/React.createElement(Form.Item, {
104
+ label: "\u624B\u673A\u53F7",
105
+ name: "telphone",
106
+ rules: [{
107
+ required: true,
108
+ message: '请输入手机号'
109
+ }, {
110
+ pattern: /^[0-9]{11}$/,
111
+ message: '请输入正确的手机号'
112
+ }]
113
+ }, /*#__PURE__*/React.createElement(Input, {
114
+ maxLength: 11,
115
+ placeholder: "\u624B\u673A\u53F7",
116
+ disabled: isDemo
99
117
  })), /*#__PURE__*/React.createElement(Form.Item, {
100
118
  label: "\u90AE\u7BB1",
101
119
  name: "emailNote",
@@ -116,7 +134,7 @@ var PersonalInfo = function PersonalInfo(_ref) {
116
134
  type: "primary",
117
135
  htmlType: "submit",
118
136
  loading: loading,
119
- disabled: isDemo || !(form.isFieldTouched('username') || form.isFieldTouched('emailNote')) || !!form.getFieldsError().filter(function (_ref2) {
137
+ disabled: isDemo || !(form.isFieldTouched('username') || form.isFieldTouched('emailNote') || form.isFieldTouched('telphone')) || !!form.getFieldsError().filter(function (_ref2) {
120
138
  var errors = _ref2.errors;
121
139
  return errors.length;
122
140
  }).length || JSON.stringify(initialValues) === JSON.stringify(form.getFieldsValue())
@@ -1,11 +1,11 @@
1
- .security-log-page {
2
- padding: 40px;
3
- &-spin {
4
- padding-top: 200px;
5
- text-align: center;
6
- }
7
- &-header {
8
- margin-bottom: 30px;
9
- text-align: right;
10
- }
11
- }
1
+ .security-log-page {
2
+ padding: 40px;
3
+ &-spin {
4
+ padding-top: 200px;
5
+ text-align: center;
6
+ }
7
+ &-header {
8
+ margin-bottom: 30px;
9
+ text-align: right;
10
+ }
11
+ }
@@ -1,73 +1,73 @@
1
- .personal-mfa-unbinding-page {
2
- // margin: -40px;
3
-
4
- .unbinding-banner {
5
- width: 100%;
6
- padding: 32px 0 24px;
7
- text-align: center;
8
- background: url('../images/banner.png');
9
- background-size: 100% 100%;
10
-
11
- .unbinding-img {
12
- display: inline-block;
13
- width: 120px;
14
- height: 120px;
15
- background-image: url('../images/unbinding.png');
16
- background-size: 120px 120px;
17
- }
18
-
19
- .title {
20
- margin-top: 16px;
21
- color: #021429;
22
- font-weight: 600;
23
- font-size: 16px;
24
- line-height: 22px;
25
- }
26
-
27
- .desc {
28
- margin-top: 8px;
29
- color: #67727f;
30
- font-size: 14px;
31
- line-height: 20px;
32
- }
33
-
34
- .label {
35
- width: 86px;
36
- height: 24px;
37
- margin: 8px auto 0;
38
- color: #29bd52;
39
- font-size: 14px;
40
- line-height: 24px;
41
- background: #d4f2dc;
42
- border-radius: 2px;
43
- }
44
- }
45
-
46
- .unbinding-content-wrap {
47
- padding-top: 24px;
48
-
49
- .unbinding-content {
50
- width: 520px;
51
- height: 180px;
52
- margin: 0 auto;
53
- padding: 24px;
54
- border: 1px solid #e6e7ea;
55
- border-radius: 4px;
56
-
57
- .title {
58
- color: #021429;
59
- font-weight: 500;
60
- font-size: 14px;
61
- line-height: 20px;
62
- }
63
-
64
- .verification {
65
- margin-top: 24px;
66
- .button-container {
67
- margin-left: 40px;
68
- text-align: center;
69
- }
70
- }
71
- }
72
- }
73
- }
1
+ .personal-mfa-unbinding-page {
2
+ // margin: -40px;
3
+
4
+ .unbinding-banner {
5
+ width: 100%;
6
+ padding: 32px 0 24px;
7
+ text-align: center;
8
+ background: url('../images/banner.png');
9
+ background-size: 100% 100%;
10
+
11
+ .unbinding-img {
12
+ display: inline-block;
13
+ width: 120px;
14
+ height: 120px;
15
+ background-image: url('../images/unbinding.png');
16
+ background-size: 120px 120px;
17
+ }
18
+
19
+ .title {
20
+ margin-top: 16px;
21
+ color: #021429;
22
+ font-weight: 600;
23
+ font-size: 16px;
24
+ line-height: 22px;
25
+ }
26
+
27
+ .desc {
28
+ margin-top: 8px;
29
+ color: #67727f;
30
+ font-size: 14px;
31
+ line-height: 20px;
32
+ }
33
+
34
+ .label {
35
+ width: 86px;
36
+ height: 24px;
37
+ margin: 8px auto 0;
38
+ color: #29bd52;
39
+ font-size: 14px;
40
+ line-height: 24px;
41
+ background: #d4f2dc;
42
+ border-radius: 2px;
43
+ }
44
+ }
45
+
46
+ .unbinding-content-wrap {
47
+ padding-top: 24px;
48
+
49
+ .unbinding-content {
50
+ width: 520px;
51
+ height: 180px;
52
+ margin: 0 auto;
53
+ padding: 24px;
54
+ border: 1px solid #e6e7ea;
55
+ border-radius: 4px;
56
+
57
+ .title {
58
+ color: #021429;
59
+ font-weight: 500;
60
+ font-size: 14px;
61
+ line-height: 20px;
62
+ }
63
+
64
+ .verification {
65
+ margin-top: 24px;
66
+ .button-container {
67
+ margin-left: 40px;
68
+ text-align: center;
69
+ }
70
+ }
71
+ }
72
+ }
73
+ }
@@ -1,91 +1,91 @@
1
- @import '~@zgfe/business-lib/es/assets/styles/inner.less';
2
-
3
- .import-meta-modal {
4
- &-icon-file {
5
- color: @primary-color;
6
- font-size: 48px !important;
7
- }
8
- &-icon-export {
9
- margin-right: @margin-xss;
10
- }
11
- &-export-btn {
12
- display: block;
13
- width: fit-content;
14
- // margin-top: @margin-md;
15
- }
16
- .ant-upload.ant-upload-drag {
17
- background: #fafafb;
18
- /* io/中性/N2-置灰信息 */
19
- border: 1px dashed #ccd0d4;
20
- }
21
- .ant-upload.ant-upload-drag .ant-upload {
22
- padding: 40px 0;
23
- }
24
- &-export-container {
25
- border-radius: 4px;
26
- &-h1 {
27
- margin-top: -8px;
28
- margin-bottom: 4px;
29
- }
30
- &-h2 {
31
- color: @text-color-secondary;
32
- font-size: 12px;
33
- }
34
- }
35
-
36
- &-show-container {
37
- display: flex;
38
- align-items: center;
39
- justify-content: space-between;
40
- padding: 24px;
41
- background: #fafafb;
42
- /* io/中性/N1-按钮边框 线色 */
43
- border: 1px solid #e6e7ea;
44
- border-radius: 4px;
45
- &-content {
46
- display: flex;
47
- align-items: center;
48
- &-icon {
49
- margin-right: 12px;
50
- color: @primary-color;
51
- font-size: 40px !important;
52
- }
53
- &-file {
54
- &-title {
55
- font-size: 16px;
56
- }
57
- &-size {
58
- color: @text-color-secondary;
59
- font-size: 12px;
60
- }
61
- }
62
- }
63
- }
64
-
65
- &-spin {
66
- background: #fafafb;
67
- border: 1px solid #e6e7ea;
68
- border-radius: 4px;
69
- &-icon.anticon {
70
- color: @primary-color;
71
- font-size: 24px;
72
- }
73
- .ant-spin-text {
74
- margin-top: @margin-xs;
75
- }
76
- }
77
-
78
- &-upload-txt {
79
- font-size: 16px;
80
- }
81
-
82
- .ant-modal-body {
83
- padding-top: 8px !important;
84
- }
85
- &-footer {
86
- display: flex;
87
- flex-direction: row;
88
- align-items: center;
89
- justify-content: space-between;
90
- }
91
- }
1
+ @import '~@zgfe/business-lib/es/assets/styles/inner.less';
2
+
3
+ .import-meta-modal {
4
+ &-icon-file {
5
+ color: @primary-color;
6
+ font-size: 48px !important;
7
+ }
8
+ &-icon-export {
9
+ margin-right: @margin-xss;
10
+ }
11
+ &-export-btn {
12
+ display: block;
13
+ width: fit-content;
14
+ // margin-top: @margin-md;
15
+ }
16
+ .ant-upload.ant-upload-drag {
17
+ background: #fafafb;
18
+ /* io/中性/N2-置灰信息 */
19
+ border: 1px dashed #ccd0d4;
20
+ }
21
+ .ant-upload.ant-upload-drag .ant-upload {
22
+ padding: 40px 0;
23
+ }
24
+ &-export-container {
25
+ border-radius: 4px;
26
+ &-h1 {
27
+ margin-top: -8px;
28
+ margin-bottom: 4px;
29
+ }
30
+ &-h2 {
31
+ color: @text-color-secondary;
32
+ font-size: 12px;
33
+ }
34
+ }
35
+
36
+ &-show-container {
37
+ display: flex;
38
+ align-items: center;
39
+ justify-content: space-between;
40
+ padding: 24px;
41
+ background: #fafafb;
42
+ /* io/中性/N1-按钮边框 线色 */
43
+ border: 1px solid #e6e7ea;
44
+ border-radius: 4px;
45
+ &-content {
46
+ display: flex;
47
+ align-items: center;
48
+ &-icon {
49
+ margin-right: 12px;
50
+ color: @primary-color;
51
+ font-size: 40px !important;
52
+ }
53
+ &-file {
54
+ &-title {
55
+ font-size: 16px;
56
+ }
57
+ &-size {
58
+ color: @text-color-secondary;
59
+ font-size: 12px;
60
+ }
61
+ }
62
+ }
63
+ }
64
+
65
+ &-spin {
66
+ background: #fafafb;
67
+ border: 1px solid #e6e7ea;
68
+ border-radius: 4px;
69
+ &-icon.anticon {
70
+ color: @primary-color;
71
+ font-size: 24px;
72
+ }
73
+ .ant-spin-text {
74
+ margin-top: @margin-xs;
75
+ }
76
+ }
77
+
78
+ &-upload-txt {
79
+ font-size: 16px;
80
+ }
81
+
82
+ .ant-modal-body {
83
+ padding-top: 8px !important;
84
+ }
85
+ &-footer {
86
+ display: flex;
87
+ flex-direction: row;
88
+ align-items: center;
89
+ justify-content: space-between;
90
+ }
91
+ }
@@ -0,0 +1,5 @@
1
+ import React from 'react';
2
+ import { CreateMetaDrawerProps } from './types';
3
+ import './styles/index.less';
4
+ declare const CreateMeta: React.FC<CreateMetaDrawerProps>;
5
+ export default CreateMeta;