@zgfe/modules-interval 1.0.0-interval.18 → 1.0.0-interval.19
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.
|
@@ -17,6 +17,7 @@ import "./styles/index.less";
|
|
|
17
17
|
import { EventContext } from "../../types";
|
|
18
18
|
import { chartTypes, platformOption } from "../../constants/fields";
|
|
19
19
|
import { searchDataParams } from "../../modules/content/utils";
|
|
20
|
+
import { appVersionType } from '@zgfe/business-lib/es/context';
|
|
20
21
|
var classPrefix = 'modules-interval-topbar';
|
|
21
22
|
var TopBar = function TopBar(props) {
|
|
22
23
|
var _useContext = useContext(EventContext),
|
|
@@ -111,7 +112,7 @@ var TopBar = function TopBar(props) {
|
|
|
111
112
|
onCancel: function onCancel() {
|
|
112
113
|
return closeHandle('scene');
|
|
113
114
|
}
|
|
114
|
-
})), (currentApp === null || currentApp === void 0 ? void 0 : currentApp.appVersion) ===
|
|
115
|
+
})), (currentApp === null || currentApp === void 0 ? void 0 : currentApp.appVersion) === appVersionType.CityCommercialBank ? /*#__PURE__*/React.createElement(Button, {
|
|
115
116
|
className: "".concat(classPrefix, "-earlywarning"),
|
|
116
117
|
type: "primary",
|
|
117
118
|
disabled: showLoading,
|
|
@@ -187,9 +187,6 @@ var TopPanel = function TopPanel(props) {
|
|
|
187
187
|
relevancyFl: relevancyFl,
|
|
188
188
|
relevancy: true
|
|
189
189
|
})), relevancy ? /*#__PURE__*/React.createElement(Form.Item, {
|
|
190
|
-
style: {
|
|
191
|
-
marginBottom: 0
|
|
192
|
-
},
|
|
193
190
|
className: "associated"
|
|
194
191
|
}, /*#__PURE__*/React.createElement("span", {
|
|
195
192
|
className: "associated-link"
|
|
@@ -78,11 +78,11 @@
|
|
|
78
78
|
}
|
|
79
79
|
|
|
80
80
|
.interval-box {
|
|
81
|
-
>
|
|
81
|
+
>div:nth-child(1) {
|
|
82
82
|
padding: 4px 24px;
|
|
83
83
|
}
|
|
84
84
|
|
|
85
|
-
>
|
|
85
|
+
>div:nth-child(1):hover {
|
|
86
86
|
background-color: #e8efff;
|
|
87
87
|
}
|
|
88
88
|
|
|
@@ -94,6 +94,7 @@
|
|
|
94
94
|
.biz-attr-condition-group-container {
|
|
95
95
|
gap: 4px !important;
|
|
96
96
|
}
|
|
97
|
+
|
|
97
98
|
.ant-space-item {
|
|
98
99
|
max-width: calc(100% + 24px) !important;
|
|
99
100
|
margin-left: -24px;
|
|
@@ -111,10 +112,12 @@
|
|
|
111
112
|
background-color: #e8efff;
|
|
112
113
|
}
|
|
113
114
|
}
|
|
115
|
+
|
|
114
116
|
.dimension-interval {
|
|
115
117
|
.ant-form-item-control-input {
|
|
116
118
|
padding: 4px 24px;
|
|
117
119
|
}
|
|
120
|
+
|
|
118
121
|
.ant-form-item-control-input:hover {
|
|
119
122
|
background-color: #e8efff;
|
|
120
123
|
}
|
|
@@ -125,11 +128,29 @@
|
|
|
125
128
|
width: 208px;
|
|
126
129
|
}
|
|
127
130
|
|
|
128
|
-
|
|
131
|
+
>.ant-form-item {
|
|
129
132
|
margin-bottom: 12px;
|
|
130
133
|
}
|
|
131
134
|
|
|
132
135
|
.associated {
|
|
136
|
+
margin-bottom: 12px;
|
|
137
|
+
|
|
138
|
+
.ant-form-item-control-input {
|
|
139
|
+
padding: 4px 20px;
|
|
140
|
+
|
|
141
|
+
.ant-form-item-control-input {
|
|
142
|
+
padding: 0;
|
|
143
|
+
}
|
|
144
|
+
|
|
145
|
+
.ant-form-item {
|
|
146
|
+
margin-bottom: 0;
|
|
147
|
+
}
|
|
148
|
+
}
|
|
149
|
+
|
|
150
|
+
.ant-form-item-control-input:hover {
|
|
151
|
+
background-color: #e8efff;
|
|
152
|
+
}
|
|
153
|
+
|
|
133
154
|
.associated-link {
|
|
134
155
|
display: block;
|
|
135
156
|
line-height: 32px;
|