cfel-base-components 2.5.78 → 2.6.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.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "cfel-base-components",
3
- "version": "2.5.78",
3
+ "version": "2.6.1",
4
4
  "description": "cfel-base-components",
5
5
  "main": "/src/index.tsx",
6
6
  "types": "src/index.d.ts",
@@ -6,8 +6,6 @@ ul {
6
6
  margin: 0;
7
7
  }
8
8
 
9
-
10
-
11
9
  .ant-popover-inner {
12
10
  padding: 8px !important;
13
11
  }
@@ -107,9 +105,7 @@ ul {
107
105
  scale: 1.25;
108
106
  background: #788bb1;
109
107
  border-radius: 2px;
110
- transition:
111
- background 0.3s cubic-bezier(0.645, 0.045, 0.355, 1),
112
- transform 0.3s cubic-bezier(0.645, 0.045, 0.355, 1);
108
+ transition: background 0.3s cubic-bezier(0.645, 0.045, 0.355, 1), transform 0.3s cubic-bezier(0.645, 0.045, 0.355, 1);
113
109
  content: '';
114
110
  }
115
111
 
@@ -521,9 +517,7 @@ body {
521
517
 
522
518
  .search {
523
519
  height: 40px;
524
- box-shadow:
525
- inset 0px 2px 1px 0px rgba(0, 0, 0, 0.05),
526
- inset 0px -2px 0px 0px rgba(255, 255, 255, 0.3);
520
+ box-shadow: inset 0px 2px 1px 0px rgba(0, 0, 0, 0.05), inset 0px -2px 0px 0px rgba(255, 255, 255, 0.3);
527
521
  border-radius: 10px;
528
522
  backdrop-filter: blur(10px);
529
523
  position: relative;
@@ -593,9 +587,7 @@ body {
593
587
  .search-mobile-console {
594
588
  width: 40px;
595
589
  height: 40px;
596
- box-shadow:
597
- inset 0px 2px 1px 0px rgba(0, 0, 0, 0.05),
598
- inset 0px -2px 0px 0px rgba(255, 255, 255, 0.3);
590
+ box-shadow: inset 0px 2px 1px 0px rgba(0, 0, 0, 0.05), inset 0px -2px 0px 0px rgba(255, 255, 255, 0.3);
599
591
  border-radius: 10px;
600
592
  backdrop-filter: blur(10px);
601
593
  padding-top: 11px;
@@ -616,14 +608,7 @@ body {
616
608
  }
617
609
 
618
610
  .layout-side-mask2 {
619
- background: radial-gradient(
620
- 152% 131% at 3% 1%,
621
- #e8e2fa 0%,
622
- #c4d0f3 10%,
623
- #afcaf8 25%,
624
- #89bff6 49%,
625
- #478eed 100%
626
- );
611
+ background: radial-gradient(152% 131% at 3% 1%, #e8e2fa 0%, #c4d0f3 10%, #afcaf8 25%, #89bff6 49%, #478eed 100%);
627
612
  opacity: 0.3;
628
613
  position: absolute;
629
614
  top: 0;
@@ -707,10 +692,6 @@ body {
707
692
  display: flex;
708
693
  justify-content: center;
709
694
  align-items: center;
710
-
711
- &:hover {
712
- background: rgba(0, 0, 0, 0.06);
713
- }
714
695
  }
715
696
  }
716
697
 
@@ -773,9 +754,7 @@ body {
773
754
  box-shadow: inset 0px -1px 0px 0px #edeefd;
774
755
  color: black;
775
756
  border-radius: 16px;
776
- box-shadow:
777
- 0 8px 20px rgba(0, 0, 0, 0.1),
778
- inset 0 1px 0 rgba(255, 255, 255, 0.1);
757
+ box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1), inset 0 1px 0 rgba(255, 255, 255, 0.1);
779
758
  backdrop-filter: blur(10px);
780
759
  padding: 16px;
781
760
  border: 1px solid rgba(255, 255, 255, 0.08);
package/src/index.tsx CHANGED
@@ -8,7 +8,7 @@ import Account from './components/universal-pages/account'
8
8
  import AccountInfo from './components/universal-pages/accountInfo'
9
9
  import Role from './components/universal-pages/role'
10
10
  import RoleInfo from './components/universal-pages/roleInfo'
11
- import request from './apiRequest/config'
11
+ import request, { post, get } from './apiRequest/config'
12
12
  import iotRequest from './apiRequest/iotConfig'
13
13
  import { hosts } from './apiRequest/hosts'
14
14
  import CpcAccount from './components/universal-pages/cpcAccount' //cp列表c账号
@@ -16,6 +16,7 @@ import CpcAccountInfo from './components/universal-pages/cpcAccountInfo' //cpc
16
16
  import CpcRole from './components/universal-pages/cpcRole' //cpc 角色
17
17
  import CpcRoleInfo from './components/universal-pages/cpcRoleInfo' //cpc角色详情
18
18
  import { getUrlParams, downloadFile, timeFormatter } from './utils/index'
19
+
19
20
  export {
20
21
  LiosLayout,
21
22
  LiosLayoutlProps,
@@ -29,6 +30,8 @@ export {
29
30
  Role,
30
31
  RoleInfo,
31
32
  request,
33
+ post,
34
+ get,
32
35
  iotRequest,
33
36
  hosts,
34
37
  getUrlParams,