@zgfe/modules-settings 1.2.51-zhongyuan.1 → 1.2.51-zhongyuan.5

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 (173) hide show
  1. package/README.md +33 -33
  2. package/es/components/card/demo/index.js +6 -6
  3. package/es/components/card/index.js +6 -6
  4. package/es/components/card/index.less +87 -87
  5. package/es/components/pageLoading/index.less +7 -7
  6. package/es/components/picCircleSelect/bak/index copy 2.tsx.bak +92 -92
  7. package/es/components/picCircleSelect/bak/index copy 3.tsx.bak +58 -58
  8. package/es/components/picCircleSelect/bak/index copy 4.tsx.bak +66 -66
  9. package/es/components/picCircleSelect/bak/index copy 5.tsx.bak +116 -116
  10. package/es/components/picCircleSelect/bak/index copy 6.tsx.bak +116 -116
  11. package/es/components/picCircleSelect/bak/index copy.tsx.bak +41 -41
  12. package/es/components/picCircleSelect/bak/index.tsx.bak +48 -48
  13. package/es/components/picCircleSelect/bak/index1.tsx.bak +46 -46
  14. package/es/components/picCircleSelect/bak/index2.tsx.bak +104 -104
  15. package/es/components/picCircleSelect/demo/index.js +5 -5
  16. package/es/components/picCircleSelect/index.js +7 -8
  17. package/es/components/picCircleSelect/index.less +37 -37
  18. package/es/components/processCanvas/customNode/node_point.js +4 -4
  19. package/es/components/processCanvas/demo/index.js +5 -6
  20. package/es/components/processCanvas/index.js +11 -11
  21. package/es/components/processCanvas/styles/customNode.less +149 -149
  22. package/es/components/processCanvas/styles/index.less +34 -34
  23. package/es/components/processCanvas/toolbar.js +5 -5
  24. package/es/components/selectAppWrapper/index.js +14 -15
  25. package/es/components/settingTabs/index.js +5 -5
  26. package/es/components/settingTabs/index.less +51 -51
  27. package/es/constants/api.d.ts +13 -0
  28. package/es/constants/api.js +18 -2
  29. package/es/constants/icons/demo.css +539 -539
  30. package/es/constants/icons/demo_index.html +9871 -9871
  31. package/es/constants/icons/iconfont.css +1699 -1699
  32. package/es/constants/icons/iconfont.json +2956 -2956
  33. package/es/global.d.ts +4 -4
  34. package/es/modules/appSettings/appInfo/index.js +7 -7
  35. package/es/modules/appSettings/dataAccessFilter/index.js +5 -5
  36. package/es/modules/appSettings/dataAccessFilter/index.less +5 -5
  37. package/es/modules/appSettings/virtualSource/index.js +7 -7
  38. package/es/modules/appSettings/virtualSource/styles/index.less +28 -28
  39. package/es/modules/appSettings/virtualSource/styles/table.less +51 -51
  40. package/es/modules/companySetting/appList/index.js +12 -12
  41. package/es/modules/companySetting/appList/index.less +126 -126
  42. package/es/modules/companySetting/application/applicationForm.js +9 -9
  43. package/es/modules/companySetting/application/applicationSetting.js +5 -5
  44. package/es/modules/companySetting/application/index.js +28 -28
  45. package/es/modules/companySetting/application/index.less +126 -126
  46. package/es/modules/companySetting/business/businessForm.js +7 -7
  47. package/es/modules/companySetting/business/index.js +27 -27
  48. package/es/modules/companySetting/business/index.less +92 -92
  49. package/es/modules/companySetting/cost/index.js +20 -20
  50. package/es/modules/companySetting/cost/index.less +38 -38
  51. package/es/modules/companySetting/department/index.js +16 -16
  52. package/es/modules/companySetting/department/index.less +157 -157
  53. package/es/modules/companySetting/edit/authConfig.js +5 -5
  54. package/es/modules/companySetting/edit/authConfigCEP.js +11 -11
  55. package/es/modules/companySetting/edit/authGroup.js +13 -13
  56. package/es/modules/companySetting/edit/authModule.js +18 -18
  57. package/es/modules/companySetting/edit/multiAuthModule.js +13 -13
  58. package/es/modules/companySetting/edit/styles/authConfig.less +3 -3
  59. package/es/modules/companySetting/edit/styles/authGroup.less +10 -10
  60. package/es/modules/companySetting/edit/styles/authModule.less +82 -82
  61. package/es/modules/companySetting/edit/styles/user.less +54 -54
  62. package/es/modules/companySetting/edit/styles/userGroup.less +44 -44
  63. package/es/modules/companySetting/edit/user.js +14 -14
  64. package/es/modules/companySetting/edit/userGroup.js +16 -16
  65. package/es/modules/companySetting/index.js +29 -29
  66. package/es/modules/companySetting/index.less +90 -90
  67. package/es/modules/companySetting/info/index.js +7 -7
  68. package/es/modules/companySetting/info/index.less +42 -42
  69. package/es/modules/companySetting/mainPart/images/img2.svg +12 -12
  70. package/es/modules/companySetting/mainPart/index.js +28 -28
  71. package/es/modules/companySetting/mainPart/index.less +239 -239
  72. package/es/modules/companySetting/mainPart/mainPartForm.js +13 -13
  73. package/es/modules/companySetting/mainPart/mainPartSetting.js +5 -5
  74. package/es/modules/companySetting/mainPart/useColumns.js +16 -16
  75. package/es/modules/companySetting/operationLog/index.js +13 -13
  76. package/es/modules/companySetting/operationLog/index.less +33 -33
  77. package/es/modules/companySetting/role/index.js +23 -23
  78. package/es/modules/companySetting/role/index.less +296 -296
  79. package/es/modules/companySetting/role/setDataRangeDialog/index.js +2 -2
  80. package/es/modules/companySetting/role/setDataRangeDialog/index.less +37 -37
  81. package/es/modules/companySetting/style/common.less +79 -79
  82. package/es/modules/companySetting/style/reset.less +117 -117
  83. package/es/modules/companySetting/user/index.js +193 -24
  84. package/es/modules/companySetting/user/index.less +11 -0
  85. package/es/modules/companySetting/user/invite.js +14 -14
  86. package/es/modules/companySetting/virtualApp/config.js +8 -8
  87. package/es/modules/companySetting/virtualApp/index.js +12 -12
  88. package/es/modules/companySetting/virtualApp/panels/list.js +8 -9
  89. package/es/modules/companySetting/virtualApp/panels/sourceItem.js +7 -7
  90. package/es/modules/companySetting/virtualApp/styles/config.less +37 -37
  91. package/es/modules/companySetting/virtualApp/styles/index.less +21 -21
  92. package/es/modules/companySetting/virtualApp/styles/list.less +28 -28
  93. package/es/modules/companySetting/virtualApp/styles/sourceItem.less +33 -33
  94. package/es/modules/companySetting/virtualApp/styles/table.less +44 -44
  95. package/es/modules/companySetting/wechatBinding/index.js +7 -7
  96. package/es/modules/companySetting/wechatBinding/index.less +58 -58
  97. package/es/modules/createDemand/collectionAttributeList.js +9 -9
  98. package/es/modules/createDemand/constants.js +17 -17
  99. package/es/modules/createDemand/demo/index.js +7 -7
  100. package/es/modules/createDemand/demo/selectPoint.js +13 -13
  101. package/es/modules/createDemand/index.js +39 -41
  102. package/es/modules/createDemand/styles/index.less +277 -277
  103. package/es/modules/createDemand_bf/collectionAttributeList.js +9 -9
  104. package/es/modules/createDemand_bf/constants.js +4 -4
  105. package/es/modules/createDemand_bf/index.js +35 -35
  106. package/es/modules/createDemand_bf/styles/index.less +222 -222
  107. package/es/modules/createProcess/components/index.less +52 -52
  108. package/es/modules/createProcess/components/processNode.js +11 -11
  109. package/es/modules/createProcess/index.js +17 -17
  110. package/es/modules/createProcess/index.less +114 -114
  111. package/es/modules/createProcess/title/index.js +11 -11
  112. package/es/modules/createProcess/title/index.less +53 -53
  113. package/es/modules/dealDemand/collectionAttributeList.js +9 -9
  114. package/es/modules/dealDemand/constants.js +7 -7
  115. package/es/modules/dealDemand/demo/index.js +7 -7
  116. package/es/modules/dealDemand/demo/selectPoint.js +13 -13
  117. package/es/modules/dealDemand/index.js +22 -24
  118. package/es/modules/dealDemand/styles/index.less +265 -265
  119. package/es/modules/demandManage/index.js +14 -15
  120. package/es/modules/demandManage/styles/index.less +210 -210
  121. package/es/modules/getPassword/index.js +10 -10
  122. package/es/modules/getPassword/index.less +122 -122
  123. package/es/modules/messageList/index.js +7 -8
  124. package/es/modules/messageList/index.less +81 -81
  125. package/es/modules/personalSetting/index.js +5 -5
  126. package/es/modules/personalSetting/info/index.js +5 -5
  127. package/es/modules/personalSetting/reset/index.js +5 -5
  128. package/es/modules/personalSetting/securityLog/index.js +14 -14
  129. package/es/modules/personalSetting/securityLog/index.less +11 -11
  130. package/es/modules/personalSetting/styles/unbinding.less +73 -73
  131. package/es/modules/personalSetting/unbinding/index.js +5 -5
  132. package/es/modules/pointMap/ImportModal/demo/index.js +5 -5
  133. package/es/modules/pointMap/ImportModal/index.js +14 -14
  134. package/es/modules/pointMap/ImportModal/styles/index.less +91 -91
  135. package/es/modules/pointMap/demo/index.js +7 -7
  136. package/es/modules/pointMap/editTxt/index.js +11 -11
  137. package/es/modules/pointMap/editTxt/index.less +55 -55
  138. package/es/modules/pointMap/index.js +11 -11
  139. package/es/modules/pointMap/pageInfo.js +44 -46
  140. package/es/modules/pointMap/styles/index.less +38 -38
  141. package/es/modules/pointMap/styles/pageInfo.less +244 -244
  142. package/es/modules/pointMap/styles/tree.css +142 -0
  143. package/es/modules/pointMap/styles/tree.less +29 -0
  144. package/es/modules/pointMap/tree.js +75 -27
  145. package/es/modules/systemSetting/Dictionary.d.ts +3 -0
  146. package/es/modules/systemSetting/Dictionary.js +387 -0
  147. package/es/modules/systemSetting/DictionaryType.d.ts +14 -0
  148. package/es/modules/systemSetting/DictionaryType.js +203 -0
  149. package/es/modules/systemSetting/approvalmanage/approvalStrategy/index.js +14 -14
  150. package/es/modules/systemSetting/approvalmanage/approvalStrategy/index.less +14 -14
  151. package/es/modules/systemSetting/approvalmanage/index.js +5 -5
  152. package/es/modules/systemSetting/approvalmanage/index.less +5 -5
  153. package/es/modules/systemSetting/approvalmanage/processManage/index.js +13 -13
  154. package/es/modules/systemSetting/approvalmanage/processManage/index.less +39 -39
  155. package/es/modules/systemSetting/authUrl.js +15 -15
  156. package/es/modules/systemSetting/document-setting/index.d.ts +3 -0
  157. package/es/modules/systemSetting/document-setting/index.js +467 -0
  158. package/es/modules/systemSetting/img/empty-data.png +0 -0
  159. package/es/modules/systemSetting/index.css +111 -0
  160. package/es/modules/systemSetting/index.js +19 -8
  161. package/es/modules/systemSetting/index.less +117 -0
  162. package/es/modules/systemSetting/notice/configItem/index.less +21 -21
  163. package/es/modules/systemSetting/notice/edit/index.js +5 -5
  164. package/es/modules/systemSetting/notice/edit/index.less +26 -26
  165. package/es/modules/systemSetting/notice/index.js +11 -11
  166. package/es/requests/department.js +6 -6
  167. package/es/requests/role.js +6 -6
  168. package/es/types/companySetting.d.ts +1 -0
  169. package/es/utils/base64.js +0 -1
  170. package/es/utils/constants.js +0 -4
  171. package/es/utils/functionalPermissions.js +6 -8
  172. package/es/utils/util.js +16 -16
  173. package/package.json +5 -2
@@ -1,210 +1,210 @@
1
- // @import '~@zgfe/business-lib/es/assets/styles/inner.less';
2
- .system-setting-demand {
3
- padding: 24px;
4
- background-color: #fff;
5
-
6
- &-title {
7
- padding: 16px 0;
8
- color: #021429;
9
- font-weight: 500;
10
- font-size: 20px;
11
- }
12
-
13
- &-panel {
14
- display: flex;
15
- flex-direction: row;
16
- gap: 16px;
17
- &-all {
18
- display: flex;
19
- flex-direction: row;
20
- gap: 16px;
21
- align-items: center;
22
- width: 256px;
23
- padding: 24px;
24
- color: var(--io-N8-, #354354);
25
- font-weight: 400;
26
- font-size: 16px;
27
- background: var(--io-n-02, #fafafb);
28
- border-radius: 8px;
29
- &-img {
30
- width: 64px;
31
- height: 64px;
32
- background: url('./../images/title-bg.png') no-repeat;
33
- background-size: contain;
34
- }
35
- &-num {
36
- color: var(--io-N-, #021429);
37
- font-weight: 700;
38
- font-size: 32px;
39
- line-height: 40px; /* 125% */
40
- cursor: pointer;
41
- }
42
- }
43
- &-status {
44
- display: flex;
45
- flex: 1;
46
- flex-direction: row;
47
- color: var(--io-N8-, #354354);
48
- font-weight: 400;
49
- font-size: 16px;
50
- font-family: 'PingFang SC';
51
- font-style: normal;
52
- line-height: normal;
53
- background: var(--io-n-02, #fafafb);
54
- border-radius: 8px;
55
- &-item {
56
- display: flex;
57
- flex: 1;
58
- // align-items: center;
59
- flex-direction: column;
60
- padding: 24px;
61
- &-txt {
62
- display: flex;
63
- flex-direction: row;
64
- gap: 4px;
65
- align-items: center;
66
- cursor: pointer;
67
- &::before {
68
- display: block;
69
- width: 8px;
70
- height: 8px;
71
- border-radius: 4px;
72
- content: '';
73
- }
74
- }
75
- &-num {
76
- margin-top: 4px;
77
- margin-left: 12px;
78
- color: var(--io-N-, #021429);
79
- font-weight: 700;
80
- font-size: 32px;
81
- font-family: Arial;
82
- font-style: normal;
83
- line-height: 40px; /* 125% */
84
- cursor: pointer;
85
- }
86
- }
87
- &-item:nth-child(1) {
88
- .system-setting-demand-panel-status-item-txt::before {
89
- background-color: #fd9f41;
90
- }
91
- }
92
- &-item:nth-child(2) {
93
- .system-setting-demand-panel-status-item-txt::before {
94
- background-color: #165dff;
95
- }
96
- }
97
- &-item:nth-child(3) {
98
- .system-setting-demand-panel-status-item-txt::before {
99
- background-color: #fb5547;
100
- }
101
- }
102
- &-item:nth-child(4) {
103
- .system-setting-demand-panel-status-item-txt::before {
104
- background-color: #ccd0d4;
105
- }
106
- }
107
- }
108
- }
109
- &-filter {
110
- display: flex;
111
- flex-direction: row;
112
- align-items: center;
113
- padding: 16px 0;
114
- &-left {
115
- display: flex;
116
- flex: 1;
117
- flex-direction: row;
118
- gap: 16px;
119
- align-items: center;
120
- }
121
- &-right {
122
- display: flex;
123
- flex-direction: row;
124
- gap: 16px;
125
- align-items: center;
126
- .button:not(.disabled):not(.ant-btn-primary) {
127
- color: #1454e5;
128
- border: 1px solid #1454e5;
129
- }
130
- }
131
- }
132
-
133
- &-table {
134
- &-status2 {
135
- display: flex;
136
- align-items: center;
137
- padding: 1px 8px;
138
- color: var(--io-i-, #165dff);
139
- font-weight: 400;
140
- font-size: 14px;
141
- line-height: 22px; /* 157.143% */
142
- background: var(--io-i1-, #e8efff);
143
- border-radius: 2px;
144
- }
145
- &-status1 {
146
- display: flex;
147
- align-items: center;
148
- padding: 1px 8px;
149
- color: var(--io-i-, #fd9f41);
150
- font-weight: 400;
151
- font-size: 14px;
152
- line-height: 22px; /* 157.143% */
153
- background: var(--io-i1-, #ffecd9);
154
- border-radius: 2px;
155
- }
156
- &-status3 {
157
- display: flex;
158
- align-items: center;
159
- padding: 1px 8px;
160
- color: var(--io-i-, #fb5547);
161
- font-weight: 400;
162
- font-size: 14px;
163
- line-height: 22px; /* 157.143% */
164
- background: var(--io-i1-, #ffece8);
165
- border-radius: 2px;
166
- }
167
- &-status4 {
168
- display: flex;
169
- align-items: center;
170
- padding: 1px 8px;
171
- color: var(--io-i-, #5f6085);
172
- font-weight: 400;
173
- font-size: 14px;
174
- line-height: 22px; /* 157.143% */
175
- background: var(--io-i1-, #f2f3f4);
176
- border-radius: 2px;
177
- }
178
- }
179
- }
180
- .system-setting-demand-pop {
181
- display: flex;
182
- flex-direction: column;
183
- gap: 8px;
184
- width: 136px;
185
- &-header {
186
- display: flex;
187
- flex-direction: row;
188
- align-items: flex-start;
189
- justify-content: space-between;
190
- color: var(--io-N-, #021429);
191
- font-weight: 400;
192
- font-size: 16px;
193
- line-height: 24px; /* 150% */
194
- .qingchu {
195
- color: #9aa1a9;
196
- cursor: pointer;
197
- }
198
- }
199
- &-footer {
200
- display: flex;
201
- flex-direction: row;
202
- align-items: center;
203
- justify-content: space-between;
204
- .ant-btn-primary {
205
- height: 24px;
206
- padding-top: 0;
207
- padding-bottom: 0;
208
- }
209
- }
210
- }
1
+ // @import '~@zgfe/business-lib/es/assets/styles/inner.less';
2
+ .system-setting-demand {
3
+ padding: 24px;
4
+ background-color: #fff;
5
+
6
+ &-title {
7
+ padding: 16px 0;
8
+ color: #021429;
9
+ font-weight: 500;
10
+ font-size: 20px;
11
+ }
12
+
13
+ &-panel {
14
+ display: flex;
15
+ flex-direction: row;
16
+ gap: 16px;
17
+ &-all {
18
+ display: flex;
19
+ flex-direction: row;
20
+ gap: 16px;
21
+ align-items: center;
22
+ width: 256px;
23
+ padding: 24px;
24
+ color: var(--io-N8-, #354354);
25
+ font-weight: 400;
26
+ font-size: 16px;
27
+ background: var(--io-n-02, #fafafb);
28
+ border-radius: 8px;
29
+ &-img {
30
+ width: 64px;
31
+ height: 64px;
32
+ background: url('./../images/title-bg.png') no-repeat;
33
+ background-size: contain;
34
+ }
35
+ &-num {
36
+ color: var(--io-N-, #021429);
37
+ font-weight: 700;
38
+ font-size: 32px;
39
+ line-height: 40px; /* 125% */
40
+ cursor: pointer;
41
+ }
42
+ }
43
+ &-status {
44
+ display: flex;
45
+ flex: 1;
46
+ flex-direction: row;
47
+ color: var(--io-N8-, #354354);
48
+ font-weight: 400;
49
+ font-size: 16px;
50
+ font-family: 'PingFang SC';
51
+ font-style: normal;
52
+ line-height: normal;
53
+ background: var(--io-n-02, #fafafb);
54
+ border-radius: 8px;
55
+ &-item {
56
+ display: flex;
57
+ flex: 1;
58
+ // align-items: center;
59
+ flex-direction: column;
60
+ padding: 24px;
61
+ &-txt {
62
+ display: flex;
63
+ flex-direction: row;
64
+ gap: 4px;
65
+ align-items: center;
66
+ cursor: pointer;
67
+ &::before {
68
+ display: block;
69
+ width: 8px;
70
+ height: 8px;
71
+ border-radius: 4px;
72
+ content: '';
73
+ }
74
+ }
75
+ &-num {
76
+ margin-top: 4px;
77
+ margin-left: 12px;
78
+ color: var(--io-N-, #021429);
79
+ font-weight: 700;
80
+ font-size: 32px;
81
+ font-family: Arial;
82
+ font-style: normal;
83
+ line-height: 40px; /* 125% */
84
+ cursor: pointer;
85
+ }
86
+ }
87
+ &-item:nth-child(1) {
88
+ .system-setting-demand-panel-status-item-txt::before {
89
+ background-color: #fd9f41;
90
+ }
91
+ }
92
+ &-item:nth-child(2) {
93
+ .system-setting-demand-panel-status-item-txt::before {
94
+ background-color: #165dff;
95
+ }
96
+ }
97
+ &-item:nth-child(3) {
98
+ .system-setting-demand-panel-status-item-txt::before {
99
+ background-color: #fb5547;
100
+ }
101
+ }
102
+ &-item:nth-child(4) {
103
+ .system-setting-demand-panel-status-item-txt::before {
104
+ background-color: #ccd0d4;
105
+ }
106
+ }
107
+ }
108
+ }
109
+ &-filter {
110
+ display: flex;
111
+ flex-direction: row;
112
+ align-items: center;
113
+ padding: 16px 0;
114
+ &-left {
115
+ display: flex;
116
+ flex: 1;
117
+ flex-direction: row;
118
+ gap: 16px;
119
+ align-items: center;
120
+ }
121
+ &-right {
122
+ display: flex;
123
+ flex-direction: row;
124
+ gap: 16px;
125
+ align-items: center;
126
+ .button:not(.disabled):not(.ant-btn-primary) {
127
+ color: #1454e5;
128
+ border: 1px solid #1454e5;
129
+ }
130
+ }
131
+ }
132
+
133
+ &-table {
134
+ &-status2 {
135
+ display: flex;
136
+ align-items: center;
137
+ padding: 1px 8px;
138
+ color: var(--io-i-, #165dff);
139
+ font-weight: 400;
140
+ font-size: 14px;
141
+ line-height: 22px; /* 157.143% */
142
+ background: var(--io-i1-, #e8efff);
143
+ border-radius: 2px;
144
+ }
145
+ &-status1 {
146
+ display: flex;
147
+ align-items: center;
148
+ padding: 1px 8px;
149
+ color: var(--io-i-, #fd9f41);
150
+ font-weight: 400;
151
+ font-size: 14px;
152
+ line-height: 22px; /* 157.143% */
153
+ background: var(--io-i1-, #ffecd9);
154
+ border-radius: 2px;
155
+ }
156
+ &-status3 {
157
+ display: flex;
158
+ align-items: center;
159
+ padding: 1px 8px;
160
+ color: var(--io-i-, #fb5547);
161
+ font-weight: 400;
162
+ font-size: 14px;
163
+ line-height: 22px; /* 157.143% */
164
+ background: var(--io-i1-, #ffece8);
165
+ border-radius: 2px;
166
+ }
167
+ &-status4 {
168
+ display: flex;
169
+ align-items: center;
170
+ padding: 1px 8px;
171
+ color: var(--io-i-, #5f6085);
172
+ font-weight: 400;
173
+ font-size: 14px;
174
+ line-height: 22px; /* 157.143% */
175
+ background: var(--io-i1-, #f2f3f4);
176
+ border-radius: 2px;
177
+ }
178
+ }
179
+ }
180
+ .system-setting-demand-pop {
181
+ display: flex;
182
+ flex-direction: column;
183
+ gap: 8px;
184
+ width: 136px;
185
+ &-header {
186
+ display: flex;
187
+ flex-direction: row;
188
+ align-items: flex-start;
189
+ justify-content: space-between;
190
+ color: var(--io-N-, #021429);
191
+ font-weight: 400;
192
+ font-size: 16px;
193
+ line-height: 24px; /* 150% */
194
+ .qingchu {
195
+ color: #9aa1a9;
196
+ cursor: pointer;
197
+ }
198
+ }
199
+ &-footer {
200
+ display: flex;
201
+ flex-direction: row;
202
+ align-items: center;
203
+ justify-content: space-between;
204
+ .ant-btn-primary {
205
+ height: 24px;
206
+ padding-top: 0;
207
+ padding-bottom: 0;
208
+ }
209
+ }
210
+ }
@@ -1,9 +1,9 @@
1
- function _slicedToArray(arr, i) { return _arrayWithHoles(arr) || _iterableToArrayLimit(arr, i) || _unsupportedIterableToArray(arr, i) || _nonIterableRest(); }
1
+ function _slicedToArray(r, e) { return _arrayWithHoles(r) || _iterableToArrayLimit(r, e) || _unsupportedIterableToArray(r, e) || _nonIterableRest(); }
2
2
  function _nonIterableRest() { throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); }
3
- function _unsupportedIterableToArray(o, minLen) { if (!o) return; if (typeof o === "string") return _arrayLikeToArray(o, minLen); var n = Object.prototype.toString.call(o).slice(8, -1); if (n === "Object" && o.constructor) n = o.constructor.name; if (n === "Map" || n === "Set") return Array.from(o); if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray(o, minLen); }
4
- function _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len = arr.length; for (var i = 0, arr2 = new Array(len); i < len; i++) arr2[i] = arr[i]; return arr2; }
5
- function _iterableToArrayLimit(arr, i) { var _i = null == arr ? null : "undefined" != typeof Symbol && arr[Symbol.iterator] || arr["@@iterator"]; if (null != _i) { var _s, _e, _x, _r, _arr = [], _n = !0, _d = !1; try { if (_x = (_i = _i.call(arr)).next, 0 === i) { if (Object(_i) !== _i) return; _n = !1; } else for (; !(_n = (_s = _x.call(_i)).done) && (_arr.push(_s.value), _arr.length !== i); _n = !0); } catch (err) { _d = !0, _e = err; } finally { try { if (!_n && null != _i.return && (_r = _i.return(), Object(_r) !== _r)) return; } finally { if (_d) throw _e; } } return _arr; } }
6
- function _arrayWithHoles(arr) { if (Array.isArray(arr)) return arr; }
3
+ function _unsupportedIterableToArray(r, a) { if (r) { if ("string" == typeof r) return _arrayLikeToArray(r, a); var t = {}.toString.call(r).slice(8, -1); return "Object" === t && r.constructor && (t = r.constructor.name), "Map" === t || "Set" === t ? Array.from(r) : "Arguments" === t || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t) ? _arrayLikeToArray(r, a) : void 0; } }
4
+ function _arrayLikeToArray(r, a) { (null == a || a > r.length) && (a = r.length); for (var e = 0, n = Array(a); e < a; e++) n[e] = r[e]; return n; }
5
+ function _iterableToArrayLimit(r, l) { var t = null == r ? null : "undefined" != typeof Symbol && r[Symbol.iterator] || r["@@iterator"]; if (null != t) { var e, n, i, u, a = [], f = !0, o = !1; try { if (i = (t = t.call(r)).next, 0 === l) { if (Object(t) !== t) return; f = !1; } else for (; !(f = (e = i.call(t)).done) && (a.push(e.value), a.length !== l); f = !0); } catch (r) { o = !0, n = r; } finally { try { if (!f && null != t.return && (u = t.return(), Object(u) !== u)) return; } finally { if (o) throw n; } } return a; } }
6
+ function _arrayWithHoles(r) { if (Array.isArray(r)) return r; }
7
7
  import React, { useContext, useState, useEffect } from 'react';
8
8
  import { Input, Button, Form, message } from 'antd';
9
9
  import { BizGlobalDataContext, ajax, base64 } from '@zgfe/business-lib';
@@ -198,9 +198,9 @@ var GetPassword = function GetPassword() {
198
198
  className: "".concat(classPrefix, "-background")
199
199
  }, showLogo && /*#__PURE__*/React.createElement("div", {
200
200
  className: "".concat(classPrefix, "-logo")
201
- })), ENVIRONMENT === 'saas' && /*#__PURE__*/React.createElement("div", {
201
+ })), ENVIRONMENT === 'saas' && (/*#__PURE__*/React.createElement("div", {
202
202
  className: "".concat(classPrefix, "-saas")
203
- }, step === 1 && /*#__PURE__*/React.createElement(Form, {
203
+ }, step === 1 && (/*#__PURE__*/React.createElement(Form, {
204
204
  form: form1,
205
205
  colon: false,
206
206
  layout: "vertical",
@@ -300,7 +300,7 @@ var GetPassword = function GetPassword() {
300
300
  onClick: function onClick() {
301
301
  form1.submit();
302
302
  }
303
- }, "\u786E\u8BA4")), step === 2 && /*#__PURE__*/React.createElement(Form, {
303
+ }, "\u786E\u8BA4"))), step === 2 && (/*#__PURE__*/React.createElement(Form, {
304
304
  form: form2,
305
305
  colon: false,
306
306
  layout: "vertical",
@@ -358,8 +358,8 @@ var GetPassword = function GetPassword() {
358
358
  onClick: function onClick() {
359
359
  form2.submit();
360
360
  }
361
- }, "\u786E\u8BA4\u4FEE\u6539"))), ENVIRONMENT !== 'saas' && /*#__PURE__*/React.createElement("div", {
361
+ }, "\u786E\u8BA4\u4FEE\u6539"))))), ENVIRONMENT !== 'saas' && (/*#__PURE__*/React.createElement("div", {
362
362
  className: "".concat(classPrefix, "-not-saas")
363
- }, /*#__PURE__*/React.createElement("div", null, "\u8BF7\u8054\u7CFB\u8D85\u7EA7\u7BA1\u7406\u5458\uFF0C\u9700\u8981\u4ED6\u5728\"\u516C\u53F8\u8BBE\u7F6E\uFF0D\u6210\u5458\"\u4E2D\u91CD\u7F6E\u5BC6\u7801")));
363
+ }, /*#__PURE__*/React.createElement("div", null, "\u8BF7\u8054\u7CFB\u8D85\u7EA7\u7BA1\u7406\u5458\uFF0C\u9700\u8981\u4ED6\u5728\"\u516C\u53F8\u8BBE\u7F6E\uFF0D\u6210\u5458\"\u4E2D\u91CD\u7F6E\u5BC6\u7801"))));
364
364
  };
365
365
  export default GetPassword;