@zgfe/modules-interval 1.0.23-zhongyuan.0 → 1.0.23-zhongyuan.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.
@@ -1,138 +1,138 @@
1
- .mi-interval-table {
2
- width: 100%;
3
- margin-top: 16px;
4
-
5
- .ant-table {
6
- border-radius: 8px;
7
- }
8
- .ant-table-cell-with-append .ant-table-row-expand-icon {
9
- left: 16px !important;
10
- color: #9aa1a9;
11
- border: 1px solid #9aa1a9;
12
- }
13
- .ant-table-row-expand-icon::before {
14
- height: 1.4px !important;
15
- }
16
- .ant-table-row-expand-icon::after {
17
- width: 1.4px !important;
18
- }
19
- .ant-table-cell {
20
- height: 50px;
21
- padding: 0 16px !important;
22
- }
23
-
24
- .ant-pagination {
25
- margin-top: 24px !important;
26
- }
27
-
28
- .ant-table-tbody > tr > td {
29
- border-bottom: 0.1px solid #e6e7ea;
30
- }
31
-
32
- .ant-table .ant-table-container .ant-table-thead > tr > th {
33
- background-color: #f2f3f4 !important;
34
- }
35
-
36
- &-table-header {
37
- display: flex;
38
- justify-content: space-between;
39
- height: 50px;
40
- padding: 0 16px;
41
- line-height: 50px;
42
- background: #fafafb;
43
- border: 1px solid var(--gray-6, #ecedf0);
44
- border-bottom: none;
45
- border-radius: 8px 8px 0 0;
46
-
47
- > :nth-child(2) {
48
- display: flex;
49
- margin-top: 9px;
50
- div {
51
- display: flex;
52
- align-items: center;
53
- height: 32px;
54
- padding: 0 16px;
55
- line-height: 32px;
56
- background: #fff;
57
- border: 1px solid #f2f3f4;
58
- border-radius: 4px;
59
- cursor: pointer;
60
- .xiazai1 {
61
- margin-right: 4px;
62
- font-size: 16px !important;
63
- }
64
- }
65
- div:hover {
66
- color: #165dff;
67
- border: 1px solid #165dff;
68
- }
69
- }
70
- }
71
-
72
- .ant-table {
73
- border-radius: 0 0 8px 8px;
74
- }
75
-
76
- .ant-table-cell-with-append {
77
- padding-left: 20px;
78
-
79
- .ant-table-row-expand-icon {
80
- position: absolute;
81
- left: 0;
82
- margin-top: 0;
83
- }
84
- }
85
- }
86
-
87
- .event-table-sql-modal {
88
- .ant-modal-header {
89
- position: relative;
90
- z-index: 1;
91
- height: 82px;
92
- background: transparent;
93
- }
94
-
95
- .ant-modal-body {
96
- padding: 0 24px 18px 24px;
97
- }
98
-
99
- .ant-modal-close-x {
100
- margin-top: 13px;
101
- margin-right: 8px;
102
- }
103
-
104
- img {
105
- width: 100%;
106
- }
107
-
108
- .qingchu {
109
- font-weight: 500;
110
- font-size: 22px !important;
111
- }
112
-
113
- .modal-bg {
114
- position: absolute;
115
- top: 0;
116
- left: 0;
117
- width: 100%;
118
- height: auto;
119
- }
120
-
121
- .hljs {
122
- padding: 16px;
123
- background: #fafafb;
124
- }
125
-
126
- .copy-box {
127
- position: absolute;
128
- top: 98px;
129
- right: 40px;
130
- padding: 0 8px;
131
- background: #f2f3f4;
132
- border-radius: 4px;
133
-
134
- .fuzhi1 {
135
- margin-right: 8px;
136
- }
137
- }
138
- }
1
+ .mi-interval-table {
2
+ width: 100%;
3
+ margin-top: 16px;
4
+
5
+ .ant-table {
6
+ border-radius: 8px;
7
+ }
8
+ .ant-table-cell-with-append .ant-table-row-expand-icon {
9
+ left: 16px !important;
10
+ color: #9aa1a9;
11
+ border: 1px solid #9aa1a9;
12
+ }
13
+ .ant-table-row-expand-icon::before {
14
+ height: 1.4px !important;
15
+ }
16
+ .ant-table-row-expand-icon::after {
17
+ width: 1.4px !important;
18
+ }
19
+ .ant-table-cell {
20
+ height: 50px;
21
+ padding: 0 16px !important;
22
+ }
23
+
24
+ .ant-pagination {
25
+ margin-top: 24px !important;
26
+ }
27
+
28
+ .ant-table-tbody > tr > td {
29
+ border-bottom: 0.1px solid #e6e7ea;
30
+ }
31
+
32
+ .ant-table .ant-table-container .ant-table-thead > tr > th {
33
+ background-color: #f2f3f4 !important;
34
+ }
35
+
36
+ &-table-header {
37
+ display: flex;
38
+ justify-content: space-between;
39
+ height: 50px;
40
+ padding: 0 16px;
41
+ line-height: 50px;
42
+ background: #fafafb;
43
+ border: 1px solid var(--gray-6, #ecedf0);
44
+ border-bottom: none;
45
+ border-radius: 8px 8px 0 0;
46
+
47
+ > :nth-child(2) {
48
+ display: flex;
49
+ margin-top: 9px;
50
+ div {
51
+ display: flex;
52
+ align-items: center;
53
+ height: 32px;
54
+ padding: 0 16px;
55
+ line-height: 32px;
56
+ background: #fff;
57
+ border: 1px solid #f2f3f4;
58
+ border-radius: 4px;
59
+ cursor: pointer;
60
+ .xiazai1 {
61
+ margin-right: 4px;
62
+ font-size: 16px !important;
63
+ }
64
+ }
65
+ div:hover {
66
+ color: #165dff;
67
+ border: 1px solid #165dff;
68
+ }
69
+ }
70
+ }
71
+
72
+ .ant-table {
73
+ border-radius: 0 0 8px 8px;
74
+ }
75
+
76
+ .ant-table-cell-with-append {
77
+ padding-left: 20px;
78
+
79
+ .ant-table-row-expand-icon {
80
+ position: absolute;
81
+ left: 0;
82
+ margin-top: 0;
83
+ }
84
+ }
85
+ }
86
+
87
+ .event-table-sql-modal {
88
+ .ant-modal-header {
89
+ position: relative;
90
+ z-index: 1;
91
+ height: 82px;
92
+ background: transparent;
93
+ }
94
+
95
+ .ant-modal-body {
96
+ padding: 0 24px 18px 24px;
97
+ }
98
+
99
+ .ant-modal-close-x {
100
+ margin-top: 13px;
101
+ margin-right: 8px;
102
+ }
103
+
104
+ img {
105
+ width: 100%;
106
+ }
107
+
108
+ .qingchu {
109
+ font-weight: 500;
110
+ font-size: 22px !important;
111
+ }
112
+
113
+ .modal-bg {
114
+ position: absolute;
115
+ top: 0;
116
+ left: 0;
117
+ width: 100%;
118
+ height: auto;
119
+ }
120
+
121
+ .hljs {
122
+ padding: 16px;
123
+ background: #fafafb;
124
+ }
125
+
126
+ .copy-box {
127
+ position: absolute;
128
+ top: 98px;
129
+ right: 40px;
130
+ padding: 0 8px;
131
+ background: #f2f3f4;
132
+ border-radius: 4px;
133
+
134
+ .fuzhi1 {
135
+ margin-right: 8px;
136
+ }
137
+ }
138
+ }
@@ -1,16 +1,16 @@
1
- @import '~@zgfe/business-lib/es/assets/styles/inner.less';
2
-
3
- .modules-interval-topbar {
4
- display: flex;
5
- justify-content: flex-end;
6
- margin: 8px 0;
7
- &-panel {
8
- margin-right: 16px;
9
- }
10
- &-scene {
11
- margin-right: 16px;
12
- }
13
- &-earlywarning {
14
- margin-right: 16px;
15
- }
16
- }
1
+ @import '~@zgfe/business-lib/es/assets/styles/inner.less';
2
+
3
+ .modules-interval-topbar {
4
+ display: flex;
5
+ justify-content: flex-end;
6
+ margin: 8px 0;
7
+ &-panel {
8
+ margin-right: 16px;
9
+ }
10
+ &-scene {
11
+ margin-right: 16px;
12
+ }
13
+ &-earlywarning {
14
+ margin-right: 16px;
15
+ }
16
+ }
@@ -2,12 +2,12 @@ var Apis = {
2
2
  dataList: '/interval/intervalData',
3
3
  getEventDataSql: '/dataSql/getEventDataSql',
4
4
  eventDownloadReport: '/interval/downLoadintervalData',
5
- /**
6
- * 用户下钻
5
+ /**
6
+ * 用户下钻
7
7
  */
8
8
  userDrill: '/interval/userDrill',
9
- /**
10
- * 主体下钻
9
+ /**
10
+ * 主体下钻
11
11
  */
12
12
  subjectDrill: '/interval/eventDrill',
13
13
  querySubjectDisplay: '/analysisSubject/querySubDisplay'
@@ -126,8 +126,8 @@ export var addSceneFields = [{
126
126
  }]
127
127
  }];
128
128
 
129
- /**
130
- * 维度对象
129
+ /**
130
+ * 维度对象
131
131
  */
132
132
  export var indexObject = {
133
133
  number: '人数',
@@ -139,8 +139,8 @@ export var indexObject = {
139
139
  median: '中位数'
140
140
  };
141
141
 
142
- /**
143
- * 内置指标
142
+ /**
143
+ * 内置指标
144
144
  */
145
145
  export var BuiltinIndicators = {
146
146
  id: -2,
@@ -1,58 +1,58 @@
1
- .custom-tooltip-chart {
2
- display: flex;
3
- flex-direction: column;
4
- flex-shrink: 0;
5
- gap: 4px;
6
- align-items: flex-start;
7
- width: 146px;
8
- height: 100%;
9
- padding: 8px;
10
- color: var(--io-n, #021429);
11
- font-weight: 500;
12
- font-size: 12px;
13
- font-style: normal;
14
- // background: rgba(250, 251, 253, 0.8);
15
- border-radius: 10px;
16
- box-shadow: 0px 4px 10px 0px #0000001a;
17
-
18
- .custom-tooltip-name {
19
- color: var(--io-n, #021429);
20
- font-weight: 500;
21
- font-size: 12px;
22
- font-family: PingFang SC;
23
- font-style: normal;
24
- line-height: normal;
25
- }
26
-
27
- .custom-tooltip-div {
28
- display: flex;
29
- flex-direction: column;
30
- gap: 6px;
31
- width: 100%;
32
- height: 100%;
33
- padding: 0px 8px;
34
- background: #fff;
35
- border-radius: 4px;
36
- box-shadow: 0px 1px 2px 0px rgba(0, 0, 0, 0.04);
37
-
38
- .tooltip-span {
39
- display: block;
40
- color: var(--3, #5f6085);
41
- font-weight: 400;
42
- font-size: 12px;
43
- font-family: PingFang SC;
44
- font-style: normal;
45
- line-height: normal;
46
- }
47
-
48
- > div {
49
- display: flex;
50
- align-items: center;
51
- justify-content: space-between;
52
- }
53
-
54
- .tooltip-marker {
55
- justify-content: flex-start;
56
- }
57
- }
58
- }
1
+ .custom-tooltip-chart {
2
+ display: flex;
3
+ flex-direction: column;
4
+ flex-shrink: 0;
5
+ gap: 4px;
6
+ align-items: flex-start;
7
+ width: 146px;
8
+ height: 100%;
9
+ padding: 8px;
10
+ color: var(--io-n, #021429);
11
+ font-weight: 500;
12
+ font-size: 12px;
13
+ font-style: normal;
14
+ // background: rgba(250, 251, 253, 0.8);
15
+ border-radius: 10px;
16
+ box-shadow: 0px 4px 10px 0px #0000001a;
17
+
18
+ .custom-tooltip-name {
19
+ color: var(--io-n, #021429);
20
+ font-weight: 500;
21
+ font-size: 12px;
22
+ font-family: PingFang SC;
23
+ font-style: normal;
24
+ line-height: normal;
25
+ }
26
+
27
+ .custom-tooltip-div {
28
+ display: flex;
29
+ flex-direction: column;
30
+ gap: 6px;
31
+ width: 100%;
32
+ height: 100%;
33
+ padding: 0px 8px;
34
+ background: #fff;
35
+ border-radius: 4px;
36
+ box-shadow: 0px 1px 2px 0px rgba(0, 0, 0, 0.04);
37
+
38
+ .tooltip-span {
39
+ display: block;
40
+ color: var(--3, #5f6085);
41
+ font-weight: 400;
42
+ font-size: 12px;
43
+ font-family: PingFang SC;
44
+ font-style: normal;
45
+ line-height: normal;
46
+ }
47
+
48
+ > div {
49
+ display: flex;
50
+ align-items: center;
51
+ justify-content: space-between;
52
+ }
53
+
54
+ .tooltip-marker {
55
+ justify-content: flex-start;
56
+ }
57
+ }
58
+ }
@@ -1,25 +1,25 @@
1
- @import '~@zgfe/business-lib/es/assets/styles/inner.less';
2
- .interval-content {
3
- &-header {
4
- display: flex;
5
- align-items: center;
6
- justify-content: space-between;
7
- padding: 0 16px;
8
- background: #fafafb;
9
- > span {
10
- color: var(--io-N-, #021429);
11
- font-weight: 500;
12
- font-size: 16px;
13
- font-family: 'PingFang SC';
14
- font-style: normal;
15
- line-height: 20px; /* 125% */
16
- letter-spacing: 0.016px;
17
- white-space: nowrap;
18
- }
19
- }
20
- &-options {
21
- display: flex;
22
- justify-content: flex-end;
23
- margin-bottom: 16px;
24
- }
25
- }
1
+ @import '~@zgfe/business-lib/es/assets/styles/inner.less';
2
+ .interval-content {
3
+ &-header {
4
+ display: flex;
5
+ align-items: center;
6
+ justify-content: space-between;
7
+ padding: 0 16px;
8
+ background: #fafafb;
9
+ > span {
10
+ color: var(--io-N-, #021429);
11
+ font-weight: 500;
12
+ font-size: 16px;
13
+ font-family: 'PingFang SC';
14
+ font-style: normal;
15
+ line-height: 20px; /* 125% */
16
+ letter-spacing: 0.016px;
17
+ white-space: nowrap;
18
+ }
19
+ }
20
+ &-options {
21
+ display: flex;
22
+ justify-content: flex-end;
23
+ margin-bottom: 16px;
24
+ }
25
+ }
@@ -48,6 +48,7 @@ export declare function searchDataParams(params: any): {
48
48
  userAttr: any;
49
49
  eventAttr: any;
50
50
  event: any;
51
+ encryptionType: any;
51
52
  } | null;
52
53
  associatedPreAttr: any;
53
54
  associatedNextAttr: any;
@@ -80,7 +80,7 @@ export function searchCondition(params) {
80
80
  };
81
81
  }
82
82
  export function searchDataParams(params) {
83
- var _params$dimension, _params$dimension2, _params$dimension3, _params$dimension4, _params$dimension5, _params$dimension6, _params$dimension7, _params$dimension8, _params$dimension9, _params$dimension10, _params$dimension11, _params$dimension12, _params$associatedPre, _params$associatedNex;
83
+ var _params$dimension, _params$dimension2, _params$dimension3, _params$dimension4, _params$dimension5, _params$dimension6, _params$dimension7, _params$dimension8, _params$dimension9, _params$dimension10, _params$dimension11, _params$dimension12, _params$dimension13, _params$associatedPre, _params$associatedNex;
84
84
  return {
85
85
  time: _objectSpread({}, params === null || params === void 0 ? void 0 : params.time),
86
86
  platform: (params === null || params === void 0 ? void 0 : params.platform) || 0,
@@ -93,7 +93,8 @@ export function searchDataParams(params) {
93
93
  attrId: params === null || params === void 0 ? void 0 : (_params$dimension6 = params.dimension) === null || _params$dimension6 === void 0 ? void 0 : _params$dimension6.id,
94
94
  userAttr: (params === null || params === void 0 ? void 0 : (_params$dimension7 = params.dimension) === null || _params$dimension7 === void 0 ? void 0 : _params$dimension7.propCategory) === 'userProp' ? params === null || params === void 0 ? void 0 : (_params$dimension8 = params.dimension) === null || _params$dimension8 === void 0 ? void 0 : _params$dimension8.name : null,
95
95
  eventAttr: (params === null || params === void 0 ? void 0 : (_params$dimension9 = params.dimension) === null || _params$dimension9 === void 0 ? void 0 : _params$dimension9.propCategory) === 'eventProp' ? params === null || params === void 0 ? void 0 : (_params$dimension10 = params.dimension) === null || _params$dimension10 === void 0 ? void 0 : _params$dimension10.label : null,
96
- event: (params === null || params === void 0 ? void 0 : (_params$dimension11 = params.dimension) === null || _params$dimension11 === void 0 ? void 0 : _params$dimension11.propCategory) !== 'envProp' ? params === null || params === void 0 ? void 0 : (_params$dimension12 = params.dimension) === null || _params$dimension12 === void 0 ? void 0 : _params$dimension12.eventId : null
96
+ event: (params === null || params === void 0 ? void 0 : (_params$dimension11 = params.dimension) === null || _params$dimension11 === void 0 ? void 0 : _params$dimension11.propCategory) !== 'envProp' ? params === null || params === void 0 ? void 0 : (_params$dimension12 = params.dimension) === null || _params$dimension12 === void 0 ? void 0 : _params$dimension12.eventId : null,
97
+ encryptionType: params === null || params === void 0 ? void 0 : (_params$dimension13 = params.dimension) === null || _params$dimension13 === void 0 ? void 0 : _params$dimension13.encryptionType
97
98
  } : null,
98
99
  associatedPreAttr: params === null || params === void 0 ? void 0 : (_params$associatedPre = params.associatedPreAttr) === null || _params$associatedPre === void 0 ? void 0 : _params$associatedPre.id,
99
100
  associatedNextAttr: params === null || params === void 0 ? void 0 : (_params$associatedNex = params.associatedNextAttr) === null || _params$associatedNex === void 0 ? void 0 : _params$associatedNex.id,
@@ -1,33 +1,33 @@
1
- /*滚动条凹槽的颜色,还可以设置边框属性 */
2
- ::-webkit-scrollbar-track-piece {
3
- background-color: #fff;
4
- -webkit-border-radius: 10px;
5
- -moz-border-radius: 10px;
6
- border-radius: 10px;
7
- }
8
-
9
- /*滚动条的宽度*/
10
- ::-webkit-scrollbar {
11
- width: 10px;
12
- height: 10px;
13
- }
14
-
15
- /*滚动条的设置*/
16
- ::-webkit-scrollbar-thumb {
17
- background-color: #cacdd4;
18
- background-clip: padding-box;
19
- border: 2px solid #fff;
20
- -webkit-border-radius: 10px;
21
- -moz-border-radius: 10px;
22
- border-radius: 10px;
23
- }
24
-
25
- /*滚动条鼠标移上去*/
26
- ::-webkit-scrollbar-thumb:hover {
27
- // background-color: #bbb;
28
- }
29
-
30
- ::-webkit-scrollbar-track-piece {
31
- width: 6px;
32
- height: 6px;
33
- }
1
+ /*滚动条凹槽的颜色,还可以设置边框属性 */
2
+ ::-webkit-scrollbar-track-piece {
3
+ background-color: #fff;
4
+ -webkit-border-radius: 10px;
5
+ -moz-border-radius: 10px;
6
+ border-radius: 10px;
7
+ }
8
+
9
+ /*滚动条的宽度*/
10
+ ::-webkit-scrollbar {
11
+ width: 10px;
12
+ height: 10px;
13
+ }
14
+
15
+ /*滚动条的设置*/
16
+ ::-webkit-scrollbar-thumb {
17
+ background-color: #cacdd4;
18
+ background-clip: padding-box;
19
+ border: 2px solid #fff;
20
+ -webkit-border-radius: 10px;
21
+ -moz-border-radius: 10px;
22
+ border-radius: 10px;
23
+ }
24
+
25
+ /*滚动条鼠标移上去*/
26
+ ::-webkit-scrollbar-thumb:hover {
27
+ // background-color: #bbb;
28
+ }
29
+
30
+ ::-webkit-scrollbar-track-piece {
31
+ width: 6px;
32
+ height: 6px;
33
+ }