@zgfe/modules-interval 1.0.0-interval.11 → 1.0.0-interval.12

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.
@@ -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
- app_id: currentApp === null || currentApp === void 0 ? void 0 : currentApp.appId,
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
- app_id: currentApp === null || currentApp === void 0 ? void 0 : currentApp.appId,
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) {
@@ -1,4 +1,4 @@
1
1
  /// <reference path="../typings.d.ts" />
2
- import EventChart from './modules/chart';
2
+ import IntervalChart from './modules/chart';
3
3
  import ModuleInterval from './modules/home';
4
- export { ModuleInterval, EventChart };
4
+ export { ModuleInterval, IntervalChart };
package/dist/esm/index.js CHANGED
@@ -1,4 +1,4 @@
1
1
  /// <reference path="../typings.d.ts" />
2
- import EventChart from "./modules/chart";
2
+ import IntervalChart from "./modules/chart";
3
3
  import ModuleInterval from "./modules/home";
4
- export { ModuleInterval, EventChart };
4
+ export { ModuleInterval, IntervalChart };
@@ -116,7 +116,7 @@ var EventContent = function EventContent(props) {
116
116
  if (flag !== undefined) setAjaxFlag(flag);
117
117
  if (!ajaxFlag) return;
118
118
  if ((searchData === null || searchData === void 0 ? void 0 : (_searchData$start = searchData.start) === null || _searchData$start === void 0 ? void 0 : _searchData$start.id) === null || (searchData === null || searchData === void 0 ? void 0 : (_searchData$endId = searchData.endId) === null || _searchData$endId === void 0 ? void 0 : _searchData$endId.id) === null) {
119
- setLoading(false);
119
+ setLoading(true);
120
120
  return;
121
121
  }
122
122
  setLoading(true);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@zgfe/modules-interval",
3
- "version": "1.0.0-interval.11",
3
+ "version": "1.0.0-interval.12",
4
4
  "scripts": {
5
5
  "start": "dumi dev",
6
6
  "docs:build": "dumi build",