@zgfe/business-lib 1.1.50-title.0 → 1.1.50
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/es/addToPanel/components/styleList.js +1 -1
- package/es/addToPanel/demo/edit.d.ts +2 -1
- package/es/addToPanel/demo/edit.js +32 -0
- package/es/addToPanel/demo/index.d.ts +2 -1
- package/es/addToPanel/demo/index.js +32 -1
- package/es/addToPanel/index.js +15 -22
- package/es/addToPanel/types.d.ts +3 -3
- package/es/addToScene/demo/index.d.ts +2 -1
- package/es/assets/demo/input.d.ts +2 -1
- package/es/attrConditions/demo/group.d.ts +2 -1
- package/es/attrConditions/demo/index.d.ts +2 -1
- package/es/attributeSelector/demo/disable.d.ts +2 -1
- package/es/attributeSelector/demo/index.d.ts +2 -1
- package/es/chart/demo/bar.d.ts +2 -1
- package/es/chart/demo/index.d.ts +2 -1
- package/es/chart/demo/map.d.ts +2 -1
- package/es/chart/demo/pie.d.ts +2 -1
- package/es/colorIcon/demo/index.d.ts +2 -1
- package/es/constants/apis.d.ts +0 -2
- package/es/constants/apis.js +0 -2
- package/es/constants/common.d.ts +0 -29
- package/es/constants/common.js +1 -38
- package/es/cycleTime/demo/disable.d.ts +2 -1
- package/es/cycleTime/demo/index.d.ts +2 -1
- package/es/cycleTime/demo/multi.d.ts +2 -1
- package/es/datePicker/demo/customType.d.ts +2 -1
- package/es/datePicker/demo/day.d.ts +2 -1
- package/es/datePicker/demo/index.d.ts +2 -1
- package/es/demoWrapper/demo/index.d.ts +2 -1
- package/es/dialog/demo/index.d.ts +2 -1
- package/es/dnd/demo/data.d.ts +2 -1
- package/es/dnd/demo/handle.d.ts +2 -1
- package/es/dnd/demo/index.d.ts +2 -1
- package/es/eventSelector/demo/index.d.ts +2 -1
- package/es/icon/demo/index.d.ts +2 -1
- package/es/icon/demo/list.d.ts +2 -1
- package/es/index.d.ts +1 -3
- package/es/index.js +1 -3
- package/es/layout/analysisLayout/demo/index.d.ts +2 -1
- package/es/layout/detail/demo/index.d.ts +2 -1
- package/es/loginForm/demo/index.d.ts +2 -1
- package/es/searchInput/demo/index.d.ts +2 -1
- package/es/select/demo/children.d.ts +2 -1
- package/es/select/demo/customLabel.d.ts +2 -1
- package/es/select/demo/group.d.ts +2 -1
- package/es/select/demo/index.d.ts +2 -1
- package/es/select/demo/loading.d.ts +2 -1
- package/es/select/demo/multiple.d.ts +2 -1
- package/es/socket/demo/demo.d.ts +2 -1
- package/es/table/demo/index.d.ts +2 -1
- package/es/table/demo/index2.d.ts +2 -1
- package/es/table/demo/index3.d.ts +2 -1
- package/es/targetConditionGroup/demo/group.d.ts +2 -1
- package/es/targetConditionGroup/demo/index.d.ts +2 -1
- package/es/targetSelector/demo/index.d.ts +2 -1
- package/es/userCondition/conditions/business/paramsCondition.js +5 -1
- package/es/userCondition/demo/business.d.ts +2 -1
- package/es/userCondition/demo/index.d.ts +2 -1
- package/es/userGroup/demo/group.d.ts +2 -1
- package/es/userGroup/demo/index.d.ts +2 -1
- package/es/userTagsSelector/demo/index.d.ts +2 -1
- package/package.json +2 -2
- package/es/layout/optionTitle/components/btnMenu/api.d.ts +0 -4
- package/es/layout/optionTitle/components/btnMenu/api.js +0 -7
- package/es/layout/optionTitle/components/btnMenu/demo.d.ts +0 -2
- package/es/layout/optionTitle/components/btnMenu/demo.js +0 -80
- package/es/layout/optionTitle/components/btnMenu/index.d.ts +0 -5
- package/es/layout/optionTitle/components/btnMenu/index.js +0 -48
- package/es/layout/optionTitle/components/btnMenu/index.less +0 -18
- package/es/layout/optionTitle/components/title/demo.d.ts +0 -2
- package/es/layout/optionTitle/components/title/demo.js +0 -50
- package/es/layout/optionTitle/components/title/index.d.ts +0 -5
- package/es/layout/optionTitle/components/title/index.js +0 -106
- package/es/layout/optionTitle/components/title/index.less +0 -42
- package/es/layout/optionTitle/data.d.ts +0 -3
- package/es/layout/optionTitle/data.js +0 -77
- package/es/layout/optionTitle/demo/index.d.ts +0 -2
- package/es/layout/optionTitle/demo/index.js +0 -84
- package/es/layout/optionTitle/demo/index.less +0 -12
- package/es/layout/optionTitle/demo/layout.d.ts +0 -3
- package/es/layout/optionTitle/demo/layout.js +0 -41
- package/es/layout/optionTitle/demo/panelCreate.d.ts +0 -2
- package/es/layout/optionTitle/demo/panelCreate.js +0 -82
- package/es/layout/optionTitle/index.d.ts +0 -6
- package/es/layout/optionTitle/index.js +0 -154
- package/es/layout/optionTitle/layout.d.ts +0 -5
- package/es/layout/optionTitle/layout.js +0 -38
- package/es/layout/optionTitle/styles/index.less +0 -19
- package/es/layout/optionTitle/styles/layout.less +0 -43
- package/es/layout/optionTitle/styles/search.less +0 -27
- package/es/layout/optionTitle/types.d.ts +0 -83
- package/es/layout/optionTitle/types.js +0 -15
- package/es/layout/optionTitle/typesValue.d.ts +0 -4
- package/es/layout/optionTitle/typesValue.js +0 -7
|
@@ -57,7 +57,7 @@ var StyleList = function StyleList(props) {
|
|
|
57
57
|
key: item.value,
|
|
58
58
|
placement: "top",
|
|
59
59
|
disabled: item.disabled || !item.children,
|
|
60
|
-
|
|
60
|
+
overlay: function overlay() {
|
|
61
61
|
return ChildList(item);
|
|
62
62
|
}
|
|
63
63
|
}, /*#__PURE__*/React.createElement("div", {
|
|
@@ -7,6 +7,37 @@ function _arrayWithHoles(arr) { if (Array.isArray(arr)) return arr; }
|
|
|
7
7
|
import React, { useState } from 'react';
|
|
8
8
|
import { BizAddToPanel, DemoWrapper } from '@zgfe/business-lib';
|
|
9
9
|
import { Button } from 'antd';
|
|
10
|
+
var chartTypes = [{
|
|
11
|
+
label: '趋势图',
|
|
12
|
+
value: 'line',
|
|
13
|
+
icon: 'qushitu1'
|
|
14
|
+
}, {
|
|
15
|
+
label: '汇总图',
|
|
16
|
+
value: 'bar',
|
|
17
|
+
icon: 'huizongtu'
|
|
18
|
+
}, {
|
|
19
|
+
label: '地图',
|
|
20
|
+
value: 'map',
|
|
21
|
+
icon: 'ditu',
|
|
22
|
+
disabled: true
|
|
23
|
+
}, {
|
|
24
|
+
label: '表格',
|
|
25
|
+
value: 'table',
|
|
26
|
+
icon: 'biaoge',
|
|
27
|
+
children: [{
|
|
28
|
+
label: '趋势图',
|
|
29
|
+
value: 'line',
|
|
30
|
+
icon: 'qushitu1'
|
|
31
|
+
}, {
|
|
32
|
+
label: '汇总图',
|
|
33
|
+
value: 'bar',
|
|
34
|
+
icon: 'huizongtu'
|
|
35
|
+
}]
|
|
36
|
+
}, {
|
|
37
|
+
label: '分数',
|
|
38
|
+
value: 'fraction',
|
|
39
|
+
icon: 'fenshu'
|
|
40
|
+
}];
|
|
10
41
|
var defaultValue = {
|
|
11
42
|
panel: {
|
|
12
43
|
id: 52397,
|
|
@@ -33,6 +64,7 @@ export default (function () {
|
|
|
33
64
|
type: "edit",
|
|
34
65
|
params: {},
|
|
35
66
|
elementId: 1,
|
|
67
|
+
styleOptions: chartTypes,
|
|
36
68
|
onCancel: function onCancel() {
|
|
37
69
|
setShowDialog(false);
|
|
38
70
|
},
|
|
@@ -7,6 +7,37 @@ function _arrayWithHoles(arr) { if (Array.isArray(arr)) return arr; }
|
|
|
7
7
|
import React, { useState } from 'react';
|
|
8
8
|
import { BizAddToPanel } from '@zgfe/business-lib';
|
|
9
9
|
import { Button } from 'antd';
|
|
10
|
+
var chartTypes = [{
|
|
11
|
+
label: '趋势图',
|
|
12
|
+
value: 'line',
|
|
13
|
+
icon: 'qushitu1'
|
|
14
|
+
}, {
|
|
15
|
+
label: '汇总图',
|
|
16
|
+
value: 'bar',
|
|
17
|
+
icon: 'huizongtu'
|
|
18
|
+
}, {
|
|
19
|
+
label: '地图',
|
|
20
|
+
value: 'map',
|
|
21
|
+
icon: 'ditu',
|
|
22
|
+
disabled: true
|
|
23
|
+
}, {
|
|
24
|
+
label: '表格',
|
|
25
|
+
value: 'table',
|
|
26
|
+
icon: 'biaoge',
|
|
27
|
+
children: [{
|
|
28
|
+
label: '趋势图',
|
|
29
|
+
value: 'line',
|
|
30
|
+
icon: 'qushitu1'
|
|
31
|
+
}, {
|
|
32
|
+
label: '汇总图',
|
|
33
|
+
value: 'bar',
|
|
34
|
+
icon: 'huizongtu'
|
|
35
|
+
}]
|
|
36
|
+
}, {
|
|
37
|
+
label: '分数',
|
|
38
|
+
value: 'fraction',
|
|
39
|
+
icon: 'fenshu'
|
|
40
|
+
}];
|
|
10
41
|
var defaultValue = {
|
|
11
42
|
panel: {
|
|
12
43
|
id: 52397,
|
|
@@ -29,7 +60,7 @@ export default (function () {
|
|
|
29
60
|
}, "\u6DFB\u52A0\u5230\u770B\u677F"), showDialog && /*#__PURE__*/React.createElement(BizAddToPanel, {
|
|
30
61
|
defaultValue: defaultValue,
|
|
31
62
|
params: {},
|
|
32
|
-
|
|
63
|
+
styleOptions: chartTypes,
|
|
33
64
|
onCancel: function onCancel() {
|
|
34
65
|
setShowDialog(false);
|
|
35
66
|
},
|
package/es/addToPanel/index.js
CHANGED
|
@@ -23,7 +23,6 @@ import request from '../utils/ajax';
|
|
|
23
23
|
import Apis from '../constants/apis';
|
|
24
24
|
import BizGlobalDataContext from '../context';
|
|
25
25
|
import _ from 'lodash';
|
|
26
|
-
import { chartTypes } from '../constants/common';
|
|
27
26
|
export var classPrefix = 'biz-addtopanel';
|
|
28
27
|
var BizAddToPanel = function BizAddToPanel(props) {
|
|
29
28
|
var refForm = useRef();
|
|
@@ -44,20 +43,8 @@ var BizAddToPanel = function BizAddToPanel(props) {
|
|
|
44
43
|
router = _useContext.router,
|
|
45
44
|
routes = _useContext.routes,
|
|
46
45
|
isDemo = _useContext.isDemo;
|
|
47
|
-
var _useState7 = useState(chartTypes),
|
|
48
|
-
_useState8 = _slicedToArray(_useState7, 2),
|
|
49
|
-
styleOptions = _useState8[0],
|
|
50
|
-
setStyleOptions = _useState8[1];
|
|
51
46
|
useEffect(function () {
|
|
52
47
|
queryGroups();
|
|
53
|
-
if (props.showMap) {
|
|
54
|
-
setStyleOptions(function () {
|
|
55
|
-
var styleData = _.cloneDeep(chartTypes);
|
|
56
|
-
styleData[2].children[2].disabled = false;
|
|
57
|
-
styleData[3].disabled = false;
|
|
58
|
-
return styleData;
|
|
59
|
-
});
|
|
60
|
-
}
|
|
61
48
|
}, []);
|
|
62
49
|
function queryGroups() {
|
|
63
50
|
request(Apis.queryPanelGroup, {
|
|
@@ -103,17 +90,23 @@ var BizAddToPanel = function BizAddToPanel(props) {
|
|
|
103
90
|
data: searchParam,
|
|
104
91
|
chosen_data: form.showList && form.showList === 'dynamic' ? [] : props.showList
|
|
105
92
|
};
|
|
106
|
-
var data = {
|
|
107
|
-
|
|
108
|
-
panel_id: form.panel.id,
|
|
109
|
-
web_data: JSON.stringify(resData)
|
|
110
|
-
};
|
|
111
|
-
var url = Apis.updatePanelTarget,
|
|
93
|
+
var data = {},
|
|
94
|
+
url = Apis.updatePanelTarget,
|
|
112
95
|
msgType = '保存';
|
|
113
96
|
if (props.type === 'edit') {
|
|
114
|
-
data
|
|
97
|
+
data = {
|
|
98
|
+
name: form.name,
|
|
99
|
+
panel_id: form.panel.id,
|
|
100
|
+
element_id: props.elementId,
|
|
101
|
+
web_data: JSON.stringify(resData)
|
|
102
|
+
};
|
|
115
103
|
} else {
|
|
116
|
-
data
|
|
104
|
+
data = {
|
|
105
|
+
name: form.name,
|
|
106
|
+
panel_id: form.panel.id,
|
|
107
|
+
web_data: JSON.stringify(resData),
|
|
108
|
+
mobile_data: JSON.stringify(resData)
|
|
109
|
+
};
|
|
117
110
|
if (form.panel.id === 0) {
|
|
118
111
|
data.app_id = currentApp === null || currentApp === void 0 ? void 0 : currentApp.appId;
|
|
119
112
|
data.platform = (currentApp === null || currentApp === void 0 ? void 0 : currentApp.platform) || 0;
|
|
@@ -246,7 +239,7 @@ var BizAddToPanel = function BizAddToPanel(props) {
|
|
|
246
239
|
message: '请选择样式'
|
|
247
240
|
}]
|
|
248
241
|
}, /*#__PURE__*/React.createElement(StyleList, {
|
|
249
|
-
options: styleOptions
|
|
242
|
+
options: props.styleOptions
|
|
250
243
|
})), /*#__PURE__*/React.createElement(Form.Item, {
|
|
251
244
|
noStyle: true,
|
|
252
245
|
shouldUpdate: true
|
package/es/addToPanel/types.d.ts
CHANGED
|
@@ -12,17 +12,17 @@ declare namespace AddToPanel {
|
|
|
12
12
|
defaultValue?: Value;
|
|
13
13
|
params: Record<string, any>;
|
|
14
14
|
type?: string;
|
|
15
|
+
styleOptions: TabItem[];
|
|
15
16
|
showOptions?: Option[];
|
|
16
17
|
showList?: string[];
|
|
17
18
|
elementId?: number;
|
|
18
|
-
showMap?: boolean;
|
|
19
19
|
onOk?: (responseData: any) => void;
|
|
20
20
|
onCancel?: () => void;
|
|
21
21
|
}
|
|
22
22
|
interface PanelValue {
|
|
23
23
|
id: number;
|
|
24
|
-
name
|
|
25
|
-
open_type
|
|
24
|
+
name: string;
|
|
25
|
+
open_type: number;
|
|
26
26
|
}
|
|
27
27
|
export interface Value {
|
|
28
28
|
panel: PanelValue;
|
package/es/chart/demo/bar.d.ts
CHANGED
package/es/chart/demo/index.d.ts
CHANGED
package/es/chart/demo/map.d.ts
CHANGED
package/es/chart/demo/pie.d.ts
CHANGED
package/es/constants/apis.d.ts
CHANGED
package/es/constants/apis.js
CHANGED
|
@@ -8,8 +8,6 @@ var Apis = {
|
|
|
8
8
|
queryDatasetList: '/zg/web/cdp/inner/dataset/list',
|
|
9
9
|
queryDatasetDetail: '/zg/web/cdp/inner/dataset/detail',
|
|
10
10
|
getSocketToken: '/zg/web/v2/tracking/view/websocket/token',
|
|
11
|
-
delPanelElement: '/apppanel/delPanelElement.jsp',
|
|
12
|
-
updateElementName: '/apppanel/updateElementName.jsp',
|
|
13
11
|
bizDataTypeList: '/cep-console/api/v1/bizdata/type/list',
|
|
14
12
|
orderAttributeMaster: '/cep-console/api/v1/cdp/orderAttribute/master',
|
|
15
13
|
orderAttributeSon: '/cep-console/api/v1/cdp/orderAttribute/son',
|
package/es/constants/common.d.ts
CHANGED
|
@@ -9,32 +9,3 @@ export declare const BuiltinIndicators: {
|
|
|
9
9
|
attrList: never[];
|
|
10
10
|
}[];
|
|
11
11
|
};
|
|
12
|
-
export declare const chartTypes: ({
|
|
13
|
-
label: string;
|
|
14
|
-
value: string;
|
|
15
|
-
icon: string;
|
|
16
|
-
children?: undefined;
|
|
17
|
-
disabled?: undefined;
|
|
18
|
-
} | {
|
|
19
|
-
label: string;
|
|
20
|
-
icon: string;
|
|
21
|
-
value: string;
|
|
22
|
-
children: ({
|
|
23
|
-
label: string;
|
|
24
|
-
value: string;
|
|
25
|
-
icon: string;
|
|
26
|
-
disabled?: undefined;
|
|
27
|
-
} | {
|
|
28
|
-
label: string;
|
|
29
|
-
value: string;
|
|
30
|
-
icon: string;
|
|
31
|
-
disabled: boolean;
|
|
32
|
-
})[];
|
|
33
|
-
disabled?: undefined;
|
|
34
|
-
} | {
|
|
35
|
-
label: string;
|
|
36
|
-
value: string;
|
|
37
|
-
icon: string;
|
|
38
|
-
disabled: boolean;
|
|
39
|
-
children?: undefined;
|
|
40
|
-
})[];
|
package/es/constants/common.js
CHANGED
|
@@ -32,41 +32,4 @@ export var BuiltinIndicators = {
|
|
|
32
32
|
isBuiltIn: true,
|
|
33
33
|
attrList: []
|
|
34
34
|
}]
|
|
35
|
-
};
|
|
36
|
-
export var chartTypes = [{
|
|
37
|
-
label: '趋势图',
|
|
38
|
-
value: 'line',
|
|
39
|
-
icon: 'qushitu1'
|
|
40
|
-
}, {
|
|
41
|
-
label: '汇总图',
|
|
42
|
-
value: 'bar',
|
|
43
|
-
icon: 'huizongtu'
|
|
44
|
-
}, {
|
|
45
|
-
label: '表格',
|
|
46
|
-
icon: 'biaoge',
|
|
47
|
-
value: 'grid',
|
|
48
|
-
children: [{
|
|
49
|
-
label: '',
|
|
50
|
-
value: 'line',
|
|
51
|
-
icon: 'qushitu1'
|
|
52
|
-
}, {
|
|
53
|
-
label: '',
|
|
54
|
-
value: 'bar',
|
|
55
|
-
icon: 'huizongtu'
|
|
56
|
-
}, {
|
|
57
|
-
label: '',
|
|
58
|
-
value: 'map',
|
|
59
|
-
icon: 'ditu',
|
|
60
|
-
disabled: true
|
|
61
|
-
}]
|
|
62
|
-
}, {
|
|
63
|
-
label: '地图',
|
|
64
|
-
value: 'map',
|
|
65
|
-
icon: 'ditu',
|
|
66
|
-
disabled: true
|
|
67
|
-
}, {
|
|
68
|
-
label: '数值',
|
|
69
|
-
value: 'number',
|
|
70
|
-
icon: 'fenshu',
|
|
71
|
-
disabled: true
|
|
72
|
-
}];
|
|
35
|
+
};
|
package/es/dnd/demo/data.d.ts
CHANGED
package/es/dnd/demo/handle.d.ts
CHANGED
package/es/dnd/demo/index.d.ts
CHANGED
package/es/icon/demo/index.d.ts
CHANGED
package/es/icon/demo/list.d.ts
CHANGED
package/es/index.d.ts
CHANGED
|
@@ -18,7 +18,6 @@ import { util, ajax } from './utils';
|
|
|
18
18
|
import theme from './assets/theme.js';
|
|
19
19
|
import convertAttributeData from './attributeSelector/util';
|
|
20
20
|
import BizGlobalDataContext from './context';
|
|
21
|
-
import { BizTargetFromPanelContext } from './layout/optionTitle/types';
|
|
22
21
|
import BizUserCondition from './userCondition';
|
|
23
22
|
import BizSearchInput from './searchInput';
|
|
24
23
|
import BizUserTagsSelect from './userTagsSelector';
|
|
@@ -31,8 +30,7 @@ import BizDetailLayout from './layout/detail';
|
|
|
31
30
|
import BizLoginForm from './loginForm';
|
|
32
31
|
import DemoWrapper from './demoWrapper';
|
|
33
32
|
import SocketClient from './socket';
|
|
34
|
-
|
|
35
|
-
export { BizTargetFromPanel, BizSearchInput, BizSelect, BizDialog, BizChart, BizTable, BizAnalysisLayout, BizDetailLayout, BizUserGroup, IconFont, ColorIcon, BizTargetSelector, BizEventSelector, BizAttributeSelector, BizGlobalDataContext, BizTargetCondition, BizDatePicker, BizConditionItem, BizConditionGroup, BizUserCondition, BizAddToScene, BizAddToPanel, BizCycleTime, BizDnd, BizLoginForm, DemoWrapper, SocketClient, ajax, util, theme, convertAttributeData, BizUserTagsSelect, setGlobalConfig, BizTargetFromPanelContext, };
|
|
33
|
+
export { BizSearchInput, BizSelect, BizDialog, BizChart, BizTable, BizAnalysisLayout, BizDetailLayout, BizUserGroup, IconFont, ColorIcon, BizTargetSelector, BizEventSelector, BizAttributeSelector, BizGlobalDataContext, BizTargetCondition, BizDatePicker, BizConditionItem, BizConditionGroup, BizUserCondition, BizAddToScene, BizAddToPanel, BizCycleTime, BizDnd, BizLoginForm, DemoWrapper, SocketClient, ajax, util, theme, convertAttributeData, BizUserTagsSelect, setGlobalConfig, };
|
|
36
34
|
export type { UserGroupTypes } from './userGroup/types';
|
|
37
35
|
export type { BizSelectTypes } from './select/types';
|
|
38
36
|
export type { AttributeSelect } from './attributeSelector/types';
|
package/es/index.js
CHANGED
|
@@ -17,7 +17,6 @@ import { util, ajax } from './utils';
|
|
|
17
17
|
import theme from './assets/theme.js';
|
|
18
18
|
import convertAttributeData from './attributeSelector/util';
|
|
19
19
|
import BizGlobalDataContext from './context';
|
|
20
|
-
import { BizTargetFromPanelContext } from './layout/optionTitle/types';
|
|
21
20
|
import BizUserCondition from './userCondition';
|
|
22
21
|
import BizSearchInput from './searchInput';
|
|
23
22
|
import BizUserTagsSelect from './userTagsSelector';
|
|
@@ -30,5 +29,4 @@ import BizDetailLayout from './layout/detail';
|
|
|
30
29
|
import BizLoginForm from './loginForm';
|
|
31
30
|
import DemoWrapper from './demoWrapper';
|
|
32
31
|
import SocketClient from './socket';
|
|
33
|
-
|
|
34
|
-
export { BizTargetFromPanel, BizSearchInput, BizSelect, BizDialog, BizChart, BizTable, BizAnalysisLayout, BizDetailLayout, BizUserGroup, IconFont, ColorIcon, BizTargetSelector, BizEventSelector, BizAttributeSelector, BizGlobalDataContext, BizTargetCondition, BizDatePicker, BizConditionItem, BizConditionGroup, BizUserCondition, BizAddToScene, BizAddToPanel, BizCycleTime, BizDnd, BizLoginForm, DemoWrapper, SocketClient, ajax, util, theme, convertAttributeData, BizUserTagsSelect, setGlobalConfig, BizTargetFromPanelContext };
|
|
32
|
+
export { BizSearchInput, BizSelect, BizDialog, BizChart, BizTable, BizAnalysisLayout, BizDetailLayout, BizUserGroup, IconFont, ColorIcon, BizTargetSelector, BizEventSelector, BizAttributeSelector, BizGlobalDataContext, BizTargetCondition, BizDatePicker, BizConditionItem, BizConditionGroup, BizUserCondition, BizAddToScene, BizAddToPanel, BizCycleTime, BizDnd, BizLoginForm, DemoWrapper, SocketClient, ajax, util, theme, convertAttributeData, BizUserTagsSelect, setGlobalConfig };
|
package/es/socket/demo/demo.d.ts
CHANGED
package/es/table/demo/index.d.ts
CHANGED
|
@@ -16,7 +16,11 @@ var ParamsCondition = function ParamsCondition(props) {
|
|
|
16
16
|
onChange = props.onChange;
|
|
17
17
|
var onValue0Change = function onValue0Change(e) {
|
|
18
18
|
var value = e.target.value;
|
|
19
|
-
condition.attrs[index].
|
|
19
|
+
if (condition.attrs[index].attrType === 'cont-date') {
|
|
20
|
+
condition.attrs[index].params = [value, '0'];
|
|
21
|
+
} else {
|
|
22
|
+
condition.attrs[index].params[0] = value;
|
|
23
|
+
}
|
|
20
24
|
onChange(_objectSpread({}, condition));
|
|
21
25
|
};
|
|
22
26
|
var onValue1Change = function onValue1Change(e) {
|