@zgfe/modules-interval 1.0.0-interval.11 → 1.0.0-interval.13
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/esm/components/renderContent/styles/index.less +1 -1
- package/dist/esm/components/topBar/index.js +6 -4
- package/dist/esm/constants/fields.d.ts +6 -78
- package/dist/esm/constants/fields.js +2 -42
- package/dist/esm/index.d.ts +2 -2
- package/dist/esm/index.js +2 -2
- package/dist/esm/modules/topPanel/index.js +1 -0
- package/package.json +1 -1
|
@@ -73,10 +73,12 @@ var TopBar = function TopBar(props) {
|
|
|
73
73
|
}
|
|
74
74
|
}, "\u6DFB\u52A0\u5230\u770B\u677F"), showPanel && /*#__PURE__*/React.createElement(BizAddToPanel, {
|
|
75
75
|
type: panelType,
|
|
76
|
-
params: _objectSpread({
|
|
77
|
-
|
|
76
|
+
params: _objectSpread(_objectSpread({
|
|
77
|
+
appId: currentApp === null || currentApp === void 0 ? void 0 : currentApp.appId,
|
|
78
78
|
module: 'interval'
|
|
79
|
-
}, searchDataParams(searchData)),
|
|
79
|
+
}, searchDataParams(searchData)), {}, {
|
|
80
|
+
chartType: 'boxplot'
|
|
81
|
+
}),
|
|
80
82
|
styleOptions: chartTypes,
|
|
81
83
|
onCancel: function onCancel() {
|
|
82
84
|
return closeHandle('panel');
|
|
@@ -93,7 +95,7 @@ var TopBar = function TopBar(props) {
|
|
|
93
95
|
}
|
|
94
96
|
}, "\u6DFB\u52A0\u5E38\u7528\u573A\u666F"), showScene && /*#__PURE__*/React.createElement(BizAddToScene, {
|
|
95
97
|
params: _objectSpread({
|
|
96
|
-
|
|
98
|
+
appId: currentApp === null || currentApp === void 0 ? void 0 : currentApp.appId,
|
|
97
99
|
module: 'interval'
|
|
98
100
|
}, searchDataParams(searchData)),
|
|
99
101
|
onOk: function onOk(data) {
|
|
@@ -2,35 +2,11 @@ export declare const platformOption: {
|
|
|
2
2
|
key: number;
|
|
3
3
|
value: string;
|
|
4
4
|
}[];
|
|
5
|
-
export declare const chartTypes:
|
|
5
|
+
export declare const chartTypes: {
|
|
6
6
|
label: string;
|
|
7
7
|
value: string;
|
|
8
8
|
icon: string;
|
|
9
|
-
|
|
10
|
-
disabled?: undefined;
|
|
11
|
-
} | {
|
|
12
|
-
label: string;
|
|
13
|
-
icon: string;
|
|
14
|
-
value: string;
|
|
15
|
-
children: ({
|
|
16
|
-
label: string;
|
|
17
|
-
value: string;
|
|
18
|
-
icon: string;
|
|
19
|
-
disabled?: undefined;
|
|
20
|
-
} | {
|
|
21
|
-
label: string;
|
|
22
|
-
value: string;
|
|
23
|
-
icon: string;
|
|
24
|
-
disabled: boolean;
|
|
25
|
-
})[];
|
|
26
|
-
disabled?: undefined;
|
|
27
|
-
} | {
|
|
28
|
-
label: string;
|
|
29
|
-
value: string;
|
|
30
|
-
icon: string;
|
|
31
|
-
disabled: boolean;
|
|
32
|
-
children?: undefined;
|
|
33
|
-
})[];
|
|
9
|
+
}[];
|
|
34
10
|
export declare const addPanelFields: ({
|
|
35
11
|
label: string;
|
|
36
12
|
name: string;
|
|
@@ -66,35 +42,11 @@ export declare const addPanelFields: ({
|
|
|
66
42
|
label: string;
|
|
67
43
|
name: string;
|
|
68
44
|
type: string;
|
|
69
|
-
options:
|
|
70
|
-
label: string;
|
|
71
|
-
value: string;
|
|
72
|
-
icon: string;
|
|
73
|
-
children?: undefined;
|
|
74
|
-
disabled?: undefined;
|
|
75
|
-
} | {
|
|
76
|
-
label: string;
|
|
77
|
-
icon: string;
|
|
78
|
-
value: string;
|
|
79
|
-
children: ({
|
|
80
|
-
label: string;
|
|
81
|
-
value: string;
|
|
82
|
-
icon: string;
|
|
83
|
-
disabled?: undefined;
|
|
84
|
-
} | {
|
|
85
|
-
label: string;
|
|
86
|
-
value: string;
|
|
87
|
-
icon: string;
|
|
88
|
-
disabled: boolean;
|
|
89
|
-
})[];
|
|
90
|
-
disabled?: undefined;
|
|
91
|
-
} | {
|
|
45
|
+
options: {
|
|
92
46
|
label: string;
|
|
93
47
|
value: string;
|
|
94
48
|
icon: string;
|
|
95
|
-
|
|
96
|
-
children?: undefined;
|
|
97
|
-
})[];
|
|
49
|
+
}[];
|
|
98
50
|
rules: {
|
|
99
51
|
required: boolean;
|
|
100
52
|
message: string;
|
|
@@ -128,35 +80,11 @@ export declare const editPanelFields: ({
|
|
|
128
80
|
label: string;
|
|
129
81
|
name: string;
|
|
130
82
|
type: string;
|
|
131
|
-
options:
|
|
132
|
-
label: string;
|
|
133
|
-
value: string;
|
|
134
|
-
icon: string;
|
|
135
|
-
children?: undefined;
|
|
136
|
-
disabled?: undefined;
|
|
137
|
-
} | {
|
|
138
|
-
label: string;
|
|
139
|
-
icon: string;
|
|
140
|
-
value: string;
|
|
141
|
-
children: ({
|
|
142
|
-
label: string;
|
|
143
|
-
value: string;
|
|
144
|
-
icon: string;
|
|
145
|
-
disabled?: undefined;
|
|
146
|
-
} | {
|
|
147
|
-
label: string;
|
|
148
|
-
value: string;
|
|
149
|
-
icon: string;
|
|
150
|
-
disabled: boolean;
|
|
151
|
-
})[];
|
|
152
|
-
disabled?: undefined;
|
|
153
|
-
} | {
|
|
83
|
+
options: {
|
|
154
84
|
label: string;
|
|
155
85
|
value: string;
|
|
156
86
|
icon: string;
|
|
157
|
-
|
|
158
|
-
children?: undefined;
|
|
159
|
-
})[];
|
|
87
|
+
}[];
|
|
160
88
|
rules: {
|
|
161
89
|
required: boolean;
|
|
162
90
|
message: string;
|
|
@@ -12,49 +12,9 @@ export var platformOption = [{
|
|
|
12
12
|
value: 'Android'
|
|
13
13
|
}];
|
|
14
14
|
export var chartTypes = [{
|
|
15
|
-
label: '
|
|
16
|
-
value: '
|
|
15
|
+
label: '盒须图',
|
|
16
|
+
value: 'boxplot',
|
|
17
17
|
icon: 'qushitu1'
|
|
18
|
-
}, {
|
|
19
|
-
label: '汇总图',
|
|
20
|
-
value: 'bar',
|
|
21
|
-
icon: 'huizongtu'
|
|
22
|
-
}, {
|
|
23
|
-
label: '占比图',
|
|
24
|
-
value: 'pie',
|
|
25
|
-
icon: 'bingtu'
|
|
26
|
-
}, {
|
|
27
|
-
label: '表格',
|
|
28
|
-
icon: 'biaoge',
|
|
29
|
-
value: 'grid',
|
|
30
|
-
children: [{
|
|
31
|
-
label: '',
|
|
32
|
-
value: 'line',
|
|
33
|
-
icon: 'qushitu1'
|
|
34
|
-
}, {
|
|
35
|
-
label: '',
|
|
36
|
-
value: 'bar',
|
|
37
|
-
icon: 'huizongtu'
|
|
38
|
-
}, {
|
|
39
|
-
label: '',
|
|
40
|
-
value: 'pie',
|
|
41
|
-
icon: 'bingtu'
|
|
42
|
-
}, {
|
|
43
|
-
label: '',
|
|
44
|
-
value: 'map',
|
|
45
|
-
icon: 'ditu',
|
|
46
|
-
disabled: true
|
|
47
|
-
}]
|
|
48
|
-
}, {
|
|
49
|
-
label: '地图',
|
|
50
|
-
value: 'map',
|
|
51
|
-
icon: 'ditu',
|
|
52
|
-
disabled: true
|
|
53
|
-
}, {
|
|
54
|
-
label: '数值',
|
|
55
|
-
value: 'number',
|
|
56
|
-
icon: 'fenshu',
|
|
57
|
-
disabled: true
|
|
58
18
|
}];
|
|
59
19
|
|
|
60
20
|
// 添加看板弹窗内容
|
package/dist/esm/index.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
/// <reference path="../typings.d.ts" />
|
|
2
|
-
import
|
|
2
|
+
import IntervalChart from './modules/chart/intervalChart';
|
|
3
3
|
import ModuleInterval from './modules/home';
|
|
4
|
-
export { ModuleInterval,
|
|
4
|
+
export { ModuleInterval, IntervalChart };
|
package/dist/esm/index.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
/// <reference path="../typings.d.ts" />
|
|
2
|
-
import
|
|
2
|
+
import IntervalChart from "./modules/chart/intervalChart";
|
|
3
3
|
import ModuleInterval from "./modules/home";
|
|
4
|
-
export { ModuleInterval,
|
|
4
|
+
export { ModuleInterval, IntervalChart };
|
|
@@ -13,6 +13,7 @@ import _ from 'lodash';
|
|
|
13
13
|
import { transformData } from "../content/utils";
|
|
14
14
|
var classPrefix = 'top-panel-interval';
|
|
15
15
|
var TopPanel = function TopPanel(props) {
|
|
16
|
+
console.log(777777, props);
|
|
16
17
|
var defaultValue = props.defaultValue,
|
|
17
18
|
loading = props.loading,
|
|
18
19
|
collapseRef = props.collapseRef,
|