@tuya-sat/sdf-main-sdk 2.0.0-smartHome-alpha.2 → 2.0.0-smartHome-alpha.4
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/dist/{364.95d1115d.chunk.js → 364.27a84dfb.chunk.js} +1 -1
- package/dist/{364.95d1115d.chunk.js.map → 364.27a84dfb.chunk.js.map} +1 -1
- package/dist/api/urls.d.ts +3 -0
- package/dist/components/Layout/antd/components/HomeSelect/index.d.ts +4 -0
- package/dist/components/Layout/antd/components/HomeSelect/useHomeInfo.d.ts +12 -0
- package/dist/components/Layout/antd/components/UserAccount/SmartHomeUserAccount.d.ts +16 -0
- package/dist/components/Layout/antd/components/UserAccount/UserAccount.d.ts +16 -0
- package/dist/components/Layout/antd/components/UserAccount/index.d.ts +3 -16
- package/dist/components/SmartHomeLogin/component/qrLogin.d.ts +17 -0
- package/dist/components/SmartHomeLogin/index.d.ts +6 -0
- package/dist/components/SmartHomeSetting/index.d.ts +10 -0
- package/dist/en.json +1 -0
- package/dist/index.d.ts +4 -4
- package/dist/main.bundle.js +1 -1
- package/dist/main.bundle.js.map +1 -1
- package/dist/main.css +144 -25
- package/dist/main.css.map +1 -1
- package/dist/manifest.json +2 -2
- package/dist/utils/common.d.ts +3 -0
- package/dist/zh.json +1 -0
- package/package.json +1 -1
package/dist/main.css
CHANGED
|
@@ -1160,6 +1160,47 @@ body.light .layoutContent___o1Q3::backdrop {
|
|
|
1160
1160
|
width: auto !important;
|
|
1161
1161
|
}
|
|
1162
1162
|
|
|
1163
|
+
.project__tL4Fm .main-select {
|
|
1164
|
+
height: 36px;
|
|
1165
|
+
}
|
|
1166
|
+
.aside__EHJwi .main-select {
|
|
1167
|
+
width: 100% !important;
|
|
1168
|
+
height: 40px;
|
|
1169
|
+
}
|
|
1170
|
+
.collapsed__xR8Bm {
|
|
1171
|
+
display: flex;
|
|
1172
|
+
align-items: center;
|
|
1173
|
+
height: 40px;
|
|
1174
|
+
padding: 0 8px;
|
|
1175
|
+
cursor: pointer;
|
|
1176
|
+
border-radius: 8px;
|
|
1177
|
+
background: var(--main-app-color-fill-tertiary);
|
|
1178
|
+
-webkit-user-select: none;
|
|
1179
|
+
-moz-user-select: none;
|
|
1180
|
+
user-select: none;
|
|
1181
|
+
}
|
|
1182
|
+
.collapsed__xR8Bm .name {
|
|
1183
|
+
min-width: 24px;
|
|
1184
|
+
height: 24px;
|
|
1185
|
+
line-height: 24px;
|
|
1186
|
+
border-radius: 12px;
|
|
1187
|
+
font-size: 14px;
|
|
1188
|
+
font-weight: bold;
|
|
1189
|
+
text-align: center;
|
|
1190
|
+
color: var(--main-app-color-primary-text);
|
|
1191
|
+
background: var(--main-app-color-bg-container);
|
|
1192
|
+
}
|
|
1193
|
+
.popover__Zt49Z .main-popover-inner {
|
|
1194
|
+
padding: 0;
|
|
1195
|
+
}
|
|
1196
|
+
.popover__Zt49Z .main-menu-item {
|
|
1197
|
+
padding-left: 12px !important;
|
|
1198
|
+
padding-inline: 12px !important;
|
|
1199
|
+
}
|
|
1200
|
+
.popover__Zt49Z .main-menu-inline-collapsed {
|
|
1201
|
+
width: auto !important;
|
|
1202
|
+
}
|
|
1203
|
+
|
|
1163
1204
|
.horizontalMenu__knTR1 {
|
|
1164
1205
|
display: flex;
|
|
1165
1206
|
align-items: center;
|
|
@@ -1518,6 +1559,84 @@ body.light .circle__l8iGG .main-badge-count {
|
|
|
1518
1559
|
color: #fff;
|
|
1519
1560
|
}
|
|
1520
1561
|
|
|
1562
|
+
.textWrapper__LLHVV {
|
|
1563
|
+
margin-left: 10px;
|
|
1564
|
+
cursor: pointer;
|
|
1565
|
+
}
|
|
1566
|
+
.background__AbwLy {
|
|
1567
|
+
padding: 20px 20px 20px 24px;
|
|
1568
|
+
background-color: #fff;
|
|
1569
|
+
border-radius: 4px;
|
|
1570
|
+
}
|
|
1571
|
+
.page-container__Ux6ME {
|
|
1572
|
+
display: flex;
|
|
1573
|
+
justify-content: center;
|
|
1574
|
+
height: 100%;
|
|
1575
|
+
flex: 1;
|
|
1576
|
+
}
|
|
1577
|
+
.page-container__Ux6ME .page-content__C1Two {
|
|
1578
|
+
flex: 1;
|
|
1579
|
+
width: auto;
|
|
1580
|
+
margin: 20px;
|
|
1581
|
+
padding: 16px;
|
|
1582
|
+
}
|
|
1583
|
+
.page-container__Ux6ME .page-content__C1Two .header__m6weV {
|
|
1584
|
+
display: flex;
|
|
1585
|
+
line-height: 20px;
|
|
1586
|
+
align-items: center;
|
|
1587
|
+
}
|
|
1588
|
+
.page-container__Ux6ME .page-content__C1Two .header__m6weV h3 {
|
|
1589
|
+
margin-left: 10px;
|
|
1590
|
+
font-size: 16px;
|
|
1591
|
+
font-weight: 600;
|
|
1592
|
+
}
|
|
1593
|
+
.page-container__Ux6ME .page-content__C1Two .title__EWEpx {
|
|
1594
|
+
margin-top: 16px;
|
|
1595
|
+
margin-left: 24px;
|
|
1596
|
+
margin-bottom: 32px;
|
|
1597
|
+
}
|
|
1598
|
+
.page-container__Ux6ME .page-content__C1Two .title__EWEpx .icon__yo0VT {
|
|
1599
|
+
margin-right: 10px;
|
|
1600
|
+
}
|
|
1601
|
+
.page-container__Ux6ME .page-content__C1Two .title__EWEpx .icon__yo0VT:hover {
|
|
1602
|
+
color: #1890ff;
|
|
1603
|
+
}
|
|
1604
|
+
.page-container__Ux6ME .page-content__C1Two .main-form-item {
|
|
1605
|
+
margin-bottom: 0;
|
|
1606
|
+
}
|
|
1607
|
+
.page-container__Ux6ME .page-content__C1Two .main-form-item-label {
|
|
1608
|
+
width: 85px;
|
|
1609
|
+
}
|
|
1610
|
+
.setting-item__SpW9i {
|
|
1611
|
+
position: relative;
|
|
1612
|
+
display: flex;
|
|
1613
|
+
align-items: center;
|
|
1614
|
+
padding: 16px 0;
|
|
1615
|
+
border-bottom: 1px solid var(--main-app-color-border-secondary);
|
|
1616
|
+
}
|
|
1617
|
+
.setting-item__SpW9i > .hd {
|
|
1618
|
+
margin-right: 16px;
|
|
1619
|
+
}
|
|
1620
|
+
.setting-item__SpW9i > .bd {
|
|
1621
|
+
flex: 1;
|
|
1622
|
+
}
|
|
1623
|
+
.setting-item__SpW9i > .extra {
|
|
1624
|
+
margin-left: 16px;
|
|
1625
|
+
}
|
|
1626
|
+
.setting-item__SpW9i .title {
|
|
1627
|
+
margin-bottom: 4px;
|
|
1628
|
+
font-size: 16px;
|
|
1629
|
+
font-weight: 500;
|
|
1630
|
+
color: var(--main-app-color-text);
|
|
1631
|
+
}
|
|
1632
|
+
.setting-item__SpW9i .content {
|
|
1633
|
+
font-size: 14px;
|
|
1634
|
+
color: var(--main-app-color-text-secondary);
|
|
1635
|
+
}
|
|
1636
|
+
.setting-item__SpW9i a {
|
|
1637
|
+
color: var(--main-app-color-primary-text);
|
|
1638
|
+
}
|
|
1639
|
+
|
|
1521
1640
|
.main-dropdown .main-dropdown-menu > li.main-dropdown-menu-item, .main-dropdown .main-dropdown-menu > li.main-dropdown-menu-submenu > .main-dropdown-menu-submenu-title {
|
|
1522
1641
|
color: var(--main-app-navigate-menu-text);
|
|
1523
1642
|
}
|
|
@@ -2128,7 +2247,7 @@ body.light .foldBtnFixed__tZVuF:hover {
|
|
|
2128
2247
|
margin: 5px 0 0 10px;
|
|
2129
2248
|
}
|
|
2130
2249
|
|
|
2131
|
-
.
|
|
2250
|
+
.login__xvHHH {
|
|
2132
2251
|
position: relative;
|
|
2133
2252
|
z-index: 1;
|
|
2134
2253
|
display: flex;
|
|
@@ -2142,7 +2261,7 @@ body.light .foldBtnFixed__tZVuF:hover {
|
|
|
2142
2261
|
background: #2c0069 no-repeat center;
|
|
2143
2262
|
background-size: cover;
|
|
2144
2263
|
}
|
|
2145
|
-
.
|
|
2264
|
+
.loginForm__XWYZH {
|
|
2146
2265
|
width: 400px;
|
|
2147
2266
|
padding: 48px 0px;
|
|
2148
2267
|
text-align: center;
|
|
@@ -2150,43 +2269,43 @@ body.light .foldBtnFixed__tZVuF:hover {
|
|
|
2150
2269
|
background: #FFFFFF;
|
|
2151
2270
|
color: var(--main-app-color-text);
|
|
2152
2271
|
}
|
|
2153
|
-
.
|
|
2272
|
+
.loginForm__XWYZH .logo {
|
|
2154
2273
|
margin-bottom: 20px;
|
|
2155
2274
|
}
|
|
2156
|
-
.
|
|
2275
|
+
.loginForm__XWYZH .logo svg {
|
|
2157
2276
|
height: 64px;
|
|
2158
2277
|
}
|
|
2159
|
-
.
|
|
2278
|
+
.loginForm__XWYZH .title {
|
|
2160
2279
|
margin-bottom: 24px;
|
|
2161
2280
|
}
|
|
2162
|
-
.
|
|
2281
|
+
.loginForm__XWYZH .title h1 {
|
|
2163
2282
|
margin: 0;
|
|
2164
2283
|
font-size: 28px;
|
|
2165
2284
|
font-weight: 900;
|
|
2166
2285
|
font-family: Nunito Sans;
|
|
2167
2286
|
}
|
|
2168
|
-
.
|
|
2287
|
+
.qrcode__ey3ia .qrcode-tips {
|
|
2169
2288
|
font-size: 14px;
|
|
2170
2289
|
color: var(--main-app-color-text-tertiary);
|
|
2171
2290
|
}
|
|
2172
|
-
.
|
|
2291
|
+
.qrcode__ey3ia .qrcode-tips.error {
|
|
2173
2292
|
color: var(--main-app-color-error);
|
|
2174
2293
|
}
|
|
2175
|
-
.
|
|
2294
|
+
.qrcodeContent__w8BGl {
|
|
2176
2295
|
position: relative;
|
|
2177
2296
|
margin: 0 auto 16px;
|
|
2178
2297
|
}
|
|
2179
|
-
.
|
|
2298
|
+
.qrcodeContent__w8BGl svg {
|
|
2180
2299
|
border-radius: 8px;
|
|
2181
2300
|
}
|
|
2182
|
-
.
|
|
2301
|
+
.qrcodeContent__w8BGl .qrcode-overlay {
|
|
2183
2302
|
position: absolute;
|
|
2184
2303
|
inset: 0;
|
|
2185
2304
|
background: rgba(255, 255, 255, 0.3);
|
|
2186
2305
|
backdrop-filter: blur(5px);
|
|
2187
2306
|
cursor: pointer;
|
|
2188
2307
|
}
|
|
2189
|
-
.
|
|
2308
|
+
.topNavs__JeEdh {
|
|
2190
2309
|
position: absolute;
|
|
2191
2310
|
top: 24px;
|
|
2192
2311
|
right: 24px;
|
|
@@ -2195,30 +2314,30 @@ body.light .foldBtnFixed__tZVuF:hover {
|
|
|
2195
2314
|
align-items: center;
|
|
2196
2315
|
font-size: 13px;
|
|
2197
2316
|
}
|
|
2198
|
-
.
|
|
2317
|
+
.topNavs__JeEdh > div {
|
|
2199
2318
|
margin-left: 24px;
|
|
2200
2319
|
}
|
|
2201
|
-
.
|
|
2202
|
-
.
|
|
2203
|
-
.
|
|
2320
|
+
.topNavs__JeEdh .main-select,
|
|
2321
|
+
.topNavs__JeEdh .main-select-selection-item,
|
|
2322
|
+
.topNavs__JeEdh .main-dropdown-trigger {
|
|
2204
2323
|
color: #C7CBD0 !important;
|
|
2205
2324
|
cursor: pointer;
|
|
2206
2325
|
}
|
|
2207
|
-
.
|
|
2326
|
+
.topNavs__JeEdh .main-select-arrow {
|
|
2208
2327
|
color: inherit !important;
|
|
2209
2328
|
}
|
|
2210
|
-
.
|
|
2329
|
+
.topNavs__JeEdh .main-select-selection-item {
|
|
2211
2330
|
padding-right: 24px !important;
|
|
2212
2331
|
}
|
|
2213
|
-
.
|
|
2332
|
+
.topNavs__JeEdh .anticon-down {
|
|
2214
2333
|
font-size: 10px !important;
|
|
2215
2334
|
}
|
|
2216
2335
|
|
|
2217
|
-
.login-
|
|
2336
|
+
.login-form__ydAww {
|
|
2218
2337
|
position: relative;
|
|
2219
2338
|
padding-bottom: 30px;
|
|
2220
2339
|
}
|
|
2221
|
-
.login-
|
|
2340
|
+
.login-form__ydAww .forgot__JXn0Y {
|
|
2222
2341
|
position: absolute;
|
|
2223
2342
|
left: 50%;
|
|
2224
2343
|
bottom: 0;
|
|
@@ -2227,22 +2346,22 @@ body.light .foldBtnFixed__tZVuF:hover {
|
|
|
2227
2346
|
line-height: 22px;
|
|
2228
2347
|
padding: 0;
|
|
2229
2348
|
}
|
|
2230
|
-
.third-
|
|
2349
|
+
.third-login__klswv {
|
|
2231
2350
|
cursor: pointer;
|
|
2232
2351
|
display: flex;
|
|
2233
2352
|
align-items: center;
|
|
2234
2353
|
height: 30px;
|
|
2235
2354
|
}
|
|
2236
|
-
.third-
|
|
2355
|
+
.third-login__klswv .icon__zKsXD {
|
|
2237
2356
|
width: 28px;
|
|
2238
2357
|
height: 28px;
|
|
2239
2358
|
transition: all 0.3s;
|
|
2240
2359
|
}
|
|
2241
|
-
.third-
|
|
2360
|
+
.third-login__klswv .icon__zKsXD:hover {
|
|
2242
2361
|
width: 30px;
|
|
2243
2362
|
height: 30px;
|
|
2244
2363
|
}
|
|
2245
|
-
.
|
|
2364
|
+
.qrLoginForm__OqMS9 {
|
|
2246
2365
|
text-align: center;
|
|
2247
2366
|
}
|
|
2248
2367
|
|