@pisell/materials 1.0.545 → 1.0.546
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/lowcode/assets/3aabdcc7a349f06ed35f441355ffd5be.png +0 -0
- package/build/lowcode/assets-daily.json +11 -11
- package/build/lowcode/assets-dev.json +2 -2
- package/build/lowcode/assets-prod.json +11 -11
- package/build/lowcode/index.js +1 -1
- package/build/lowcode/meta.js +5 -5
- package/build/lowcode/preview.js +7 -7
- package/build/lowcode/render/default/assets/3aabdcc7a349f06ed35f441355ffd5be.png +0 -0
- package/build/lowcode/render/default/view.css +1 -1
- package/build/lowcode/render/default/view.js +21 -21
- package/build/lowcode/view.css +1 -1
- package/build/lowcode/view.js +20 -20
- package/es/components/dataSourceComponents/dataSourceTable/hooks/useTableProps.d.ts +1 -1
- package/es/components/saasLogin/img/leftImg.png +0 -0
- package/es/components/saasLogin/index.d.ts +83 -0
- package/es/components/saasLogin/index.js +369 -0
- package/es/components/saasLogin/index.less +249 -0
- package/es/index.d.ts +1 -0
- package/es/index.js +2 -1
- package/lib/components/dataSourceComponents/dataSourceTable/hooks/useTableProps.d.ts +1 -1
- package/lib/components/saasLogin/img/leftImg.png +0 -0
- package/lib/components/saasLogin/index.d.ts +83 -0
- package/lib/components/saasLogin/index.js +262 -0
- package/lib/components/saasLogin/index.less +249 -0
- package/lib/index.d.ts +1 -0
- package/lib/index.js +3 -0
- package/lowcode/saas-login/meta.ts +541 -0
- package/lowcode/saas-login/snippets.ts +38 -0
- package/package.json +3 -3
|
@@ -0,0 +1,249 @@
|
|
|
1
|
+
// Saas登录组件样式
|
|
2
|
+
.saas-login-wrapper {
|
|
3
|
+
display: flex;
|
|
4
|
+
height: 100vh;
|
|
5
|
+
width: 100vw;
|
|
6
|
+
overflow: hidden;
|
|
7
|
+
|
|
8
|
+
// 左侧区域
|
|
9
|
+
.saas-login-bg {
|
|
10
|
+
flex: 1;
|
|
11
|
+
display: flex;
|
|
12
|
+
align-items: center;
|
|
13
|
+
justify-content: center;
|
|
14
|
+
background: linear-gradient(135deg, #2563EB 0%, #4F46E5 50%, #7C3AED 100%);
|
|
15
|
+
position: relative;
|
|
16
|
+
|
|
17
|
+
img {
|
|
18
|
+
width: auto;
|
|
19
|
+
height: 471px;
|
|
20
|
+
position: absolute;
|
|
21
|
+
top: 50%;
|
|
22
|
+
left: 50%;
|
|
23
|
+
transform: translate(-50%, -50%);
|
|
24
|
+
}
|
|
25
|
+
}
|
|
26
|
+
|
|
27
|
+
// 右侧区域
|
|
28
|
+
.saas-login-main {
|
|
29
|
+
width: 480px;
|
|
30
|
+
background: #fff;
|
|
31
|
+
display: flex;
|
|
32
|
+
align-items: center;
|
|
33
|
+
justify-content: center;
|
|
34
|
+
height: 100%;
|
|
35
|
+
overflow-y: auto;
|
|
36
|
+
}
|
|
37
|
+
}
|
|
38
|
+
|
|
39
|
+
.saas-login-container {
|
|
40
|
+
// width: 100%;
|
|
41
|
+
width: 360px;
|
|
42
|
+
overflow-x: hidden;
|
|
43
|
+
// margin: 0 auto;
|
|
44
|
+
// padding: 24px;
|
|
45
|
+
text-align: center;
|
|
46
|
+
// height: 100%;
|
|
47
|
+
// overflow-y: auto;
|
|
48
|
+
|
|
49
|
+
// Logo样式
|
|
50
|
+
.saas-login-logo {
|
|
51
|
+
height: 48px;
|
|
52
|
+
margin-bottom: 24px;
|
|
53
|
+
border-radius: 8px;
|
|
54
|
+
|
|
55
|
+
&.left {
|
|
56
|
+
margin-right: auto;
|
|
57
|
+
margin-left: 0;
|
|
58
|
+
}
|
|
59
|
+
|
|
60
|
+
&.center {
|
|
61
|
+
margin: 0 auto;
|
|
62
|
+
}
|
|
63
|
+
|
|
64
|
+
&.right {
|
|
65
|
+
margin-left: auto;
|
|
66
|
+
margin-right: 0;
|
|
67
|
+
}
|
|
68
|
+
|
|
69
|
+
img {
|
|
70
|
+
height: 48px;
|
|
71
|
+
object-fit: contain;
|
|
72
|
+
}
|
|
73
|
+
}
|
|
74
|
+
|
|
75
|
+
.saas-login-title {
|
|
76
|
+
font-size: 24px;
|
|
77
|
+
font-weight: 600;
|
|
78
|
+
color: #101828;
|
|
79
|
+
margin-top: 0;
|
|
80
|
+
margin-bottom: 12px;
|
|
81
|
+
}
|
|
82
|
+
|
|
83
|
+
.saas-login-subtitle {
|
|
84
|
+
font-size: 14px;
|
|
85
|
+
color: #667085;
|
|
86
|
+
margin-top: 0;
|
|
87
|
+
margin-bottom: 32px;
|
|
88
|
+
}
|
|
89
|
+
|
|
90
|
+
.saas-login-tabs {
|
|
91
|
+
display: flex;
|
|
92
|
+
justify-content: center;
|
|
93
|
+
gap: 24px;
|
|
94
|
+
margin-bottom: 32px;
|
|
95
|
+
border-bottom: 1px solid #E4E7EC;
|
|
96
|
+
|
|
97
|
+
.tab {
|
|
98
|
+
padding: 12px 24px;
|
|
99
|
+
cursor: pointer;
|
|
100
|
+
color: #667085;
|
|
101
|
+
font-weight: 500;
|
|
102
|
+
position: relative;
|
|
103
|
+
|
|
104
|
+
&.active {
|
|
105
|
+
color: #7F56D9;
|
|
106
|
+
|
|
107
|
+
&:after {
|
|
108
|
+
content: '';
|
|
109
|
+
position: absolute;
|
|
110
|
+
bottom: -1px;
|
|
111
|
+
left: 0;
|
|
112
|
+
right: 0;
|
|
113
|
+
height: 2px;
|
|
114
|
+
background: #7F56D9;
|
|
115
|
+
}
|
|
116
|
+
}
|
|
117
|
+
|
|
118
|
+
&:hover {
|
|
119
|
+
color: #6941C6;
|
|
120
|
+
}
|
|
121
|
+
}
|
|
122
|
+
}
|
|
123
|
+
|
|
124
|
+
// 表单区域样式
|
|
125
|
+
.saas-login-form {
|
|
126
|
+
// 表单项标题
|
|
127
|
+
.form-item-label {
|
|
128
|
+
font-size: 14px;
|
|
129
|
+
font-weight: 500;
|
|
130
|
+
color: #344054;
|
|
131
|
+
margin-bottom: 6px;
|
|
132
|
+
text-align: left;
|
|
133
|
+
}
|
|
134
|
+
|
|
135
|
+
// 输入框样式
|
|
136
|
+
.saas-login-input {
|
|
137
|
+
height: 44px;
|
|
138
|
+
border-radius: 8px;
|
|
139
|
+
border: 1px solid #D0D5DD;
|
|
140
|
+
background: #FFF;
|
|
141
|
+
|
|
142
|
+
&:hover {
|
|
143
|
+
border-color: #7F56D9;
|
|
144
|
+
}
|
|
145
|
+
|
|
146
|
+
&:focus {
|
|
147
|
+
border-color: #7F56D9;
|
|
148
|
+
box-shadow: 0 0 0 4px rgba(127, 86, 217, 0.1);
|
|
149
|
+
}
|
|
150
|
+
|
|
151
|
+
&.ant-input-password {
|
|
152
|
+
padding: 4px 11px;
|
|
153
|
+
|
|
154
|
+
.ant-input {
|
|
155
|
+
height: 34px;
|
|
156
|
+
}
|
|
157
|
+
}
|
|
158
|
+
}
|
|
159
|
+
|
|
160
|
+
// 登录按钮样式
|
|
161
|
+
.saas-login-button {
|
|
162
|
+
height: 44px;
|
|
163
|
+
border-radius: 8px;
|
|
164
|
+
background: #7F56D9;
|
|
165
|
+
border: none;
|
|
166
|
+
font-weight: 500;
|
|
167
|
+
|
|
168
|
+
&:hover {
|
|
169
|
+
background: #6941C6;
|
|
170
|
+
}
|
|
171
|
+
|
|
172
|
+
&:focus {
|
|
173
|
+
background: #7F56D9;
|
|
174
|
+
box-shadow: 0 0 0 4px rgba(127, 86, 217, 0.1);
|
|
175
|
+
}
|
|
176
|
+
}
|
|
177
|
+
|
|
178
|
+
// 社交登录按钮样式
|
|
179
|
+
.saas-login-social {
|
|
180
|
+
width: 100%;
|
|
181
|
+
|
|
182
|
+
.saas-login-social-button {
|
|
183
|
+
height: 44px;
|
|
184
|
+
border-radius: 8px;
|
|
185
|
+
|
|
186
|
+
&.google {
|
|
187
|
+
border-color: #D0D5DD;
|
|
188
|
+
|
|
189
|
+
&:hover {
|
|
190
|
+
background: #F9FAFB;
|
|
191
|
+
}
|
|
192
|
+
}
|
|
193
|
+
|
|
194
|
+
&.facebook {
|
|
195
|
+
border-color: #D0D5DD;
|
|
196
|
+
|
|
197
|
+
&:hover {
|
|
198
|
+
background: #F9FAFB;
|
|
199
|
+
}
|
|
200
|
+
}
|
|
201
|
+
|
|
202
|
+
&.apple {
|
|
203
|
+
border-color: #D0D5DD;
|
|
204
|
+
|
|
205
|
+
&:hover {
|
|
206
|
+
background: #F9FAFB;
|
|
207
|
+
}
|
|
208
|
+
}
|
|
209
|
+
}
|
|
210
|
+
}
|
|
211
|
+
}
|
|
212
|
+
|
|
213
|
+
// 页脚样式
|
|
214
|
+
.saas-login-footer {
|
|
215
|
+
margin-top: 32px;
|
|
216
|
+
|
|
217
|
+
.saas-login-signup {
|
|
218
|
+
font-size: 14px;
|
|
219
|
+
color: #667085;
|
|
220
|
+
margin-bottom: 16px;
|
|
221
|
+
|
|
222
|
+
a {
|
|
223
|
+
color: #7F56D9;
|
|
224
|
+
margin-left: 4px;
|
|
225
|
+
cursor: pointer;
|
|
226
|
+
|
|
227
|
+
&:hover {
|
|
228
|
+
color: #6941C6;
|
|
229
|
+
}
|
|
230
|
+
}
|
|
231
|
+
}
|
|
232
|
+
|
|
233
|
+
.saas-login-links {
|
|
234
|
+
display: flex;
|
|
235
|
+
justify-content: center;
|
|
236
|
+
gap: 24px;
|
|
237
|
+
|
|
238
|
+
a {
|
|
239
|
+
font-size: 14px;
|
|
240
|
+
color: #667085;
|
|
241
|
+
cursor: pointer;
|
|
242
|
+
|
|
243
|
+
&:hover {
|
|
244
|
+
color: #101828;
|
|
245
|
+
}
|
|
246
|
+
}
|
|
247
|
+
}
|
|
248
|
+
}
|
|
249
|
+
}
|
package/lib/index.d.ts
CHANGED
|
@@ -153,3 +153,4 @@ export { default as PisellHeaderProgressBar } from './components/pisellHeaderPro
|
|
|
153
153
|
export { default as PisellList01 } from './components/pisellList01';
|
|
154
154
|
export { default as PageHeader } from './components/page-header';
|
|
155
155
|
export { default as OrganizationTenantSwitcher } from './components/organizationTenantSwitcher';
|
|
156
|
+
export { default as SaasLogin } from './components/saasLogin';
|
package/lib/index.js
CHANGED
|
@@ -149,6 +149,7 @@ __export(src_exports, {
|
|
|
149
149
|
RecordView: () => import_record_view.default,
|
|
150
150
|
Result: () => import_antd25.Result,
|
|
151
151
|
Row: () => import_antd26.Row,
|
|
152
|
+
SaasLogin: () => import_saasLogin.default,
|
|
152
153
|
SectionFooters: () => import_section_footers2.default,
|
|
153
154
|
Segmented: () => import_segmented.default,
|
|
154
155
|
Select: () => import_select.default,
|
|
@@ -342,6 +343,7 @@ var import_pisellHeaderProgressBar = __toESM(require("./components/pisellHeaderP
|
|
|
342
343
|
var import_pisellList01 = __toESM(require("./components/pisellList01"));
|
|
343
344
|
var import_page_header = __toESM(require("./components/page-header"));
|
|
344
345
|
var import_organizationTenantSwitcher = __toESM(require("./components/organizationTenantSwitcher"));
|
|
346
|
+
var import_saasLogin = __toESM(require("./components/saasLogin"));
|
|
345
347
|
// Annotate the CommonJS export names for ESM import in node:
|
|
346
348
|
0 && (module.exports = {
|
|
347
349
|
Affix,
|
|
@@ -464,6 +466,7 @@ var import_organizationTenantSwitcher = __toESM(require("./components/organizati
|
|
|
464
466
|
RecordView,
|
|
465
467
|
Result,
|
|
466
468
|
Row,
|
|
469
|
+
SaasLogin,
|
|
467
470
|
SectionFooters,
|
|
468
471
|
Segmented,
|
|
469
472
|
Select,
|