@zgfe/business-lib 1.2.17-heyh.2 → 1.2.18-mintai.2
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/AUMFormulaTarget/components/formulaItem/index.d.ts +4 -1
- package/es/AUMFormulaTarget/components/panel/item.d.ts +4 -1
- package/es/AUMFormulaTarget/components/symbol/index.d.ts +4 -1
- package/es/AUMFormulaTarget/index.d.ts +4 -1
- package/es/addToPanel/components/addPanel.d.ts +4 -1
- package/es/addToPanel/components/numberChart.d.ts +4 -1
- package/es/addToPanel/components/radioGroup.d.ts +4 -1
- package/es/addToPanel/components/radioGroup.js +3 -11
- package/es/addToPanel/components/styleList.d.ts +4 -1
- package/es/addToPanel/components/styleList.js +0 -3
- package/es/addToPanel/index.d.ts +4 -1
- package/es/addToPanel/index.js +1 -4
- package/es/addToScene/addGroup.d.ts +4 -1
- package/es/addToScene/index.d.ts +4 -1
- package/es/addToScene/index.js +1 -1
- package/es/assets/demo/index.d.ts +4 -1
- package/es/attrCondition/group.js +0 -3
- package/es/attrCondition/index.d.ts +4 -1
- package/es/attrConditions/components/operateList.d.ts +4 -1
- package/es/attrConditions/components/stringList.d.ts +4 -1
- package/es/attrConditions/components/valuesList.d.ts +4 -1
- package/es/attrConditions/index.d.ts +4 -1
- package/es/attrConditions/index.js +2 -5
- package/es/attributeSelector/index.d.ts +4 -1
- package/es/attributeSelector/listPanel.d.ts +4 -1
- package/es/attributeSelector/option.d.ts +4 -1
- package/es/colorIcon/index.d.ts +4 -1
- package/es/context/types.d.ts +8 -4
- package/es/cycleTime/index.d.ts +4 -1
- package/es/cycleTime/month.d.ts +4 -1
- package/es/dataSetGroup/index.d.ts +4 -1
- package/es/dataSetGroup/overlay.d.ts +4 -1
- package/es/datePicker/datePicker.d.ts +4 -1
- package/es/datePicker/datePicker.js +1 -1
- package/es/datePicker/demo/index.js +1 -0
- package/es/datePicker/index.d.ts +4 -1
- package/es/datePicker/shortcut.d.ts +4 -1
- package/es/demoWrapper/content.d.ts +4 -1
- package/es/demoWrapper/head.d.ts +4 -1
- package/es/demoWrapper/index.d.ts +4 -1
- package/es/demoWrapper/innerDemo.d.ts +4 -1
- package/es/demoWrapper/types.d.ts +4 -1
- package/es/dialog/index.d.ts +4 -1
- package/es/dnd/index.d.ts +4 -1
- package/es/dnd/item.d.ts +4 -1
- package/es/dnd/item.js +1 -1
- package/es/eventSelector/index.d.ts +4 -1
- package/es/eventSelector/listPanel.d.ts +5 -2
- package/es/eventSelector/option.d.ts +4 -1
- package/es/formulaTarget/components/formulaItem/index.d.ts +4 -1
- package/es/formulaTarget/components/panel/item.d.ts +4 -1
- package/es/formulaTarget/components/symbol/index.d.ts +4 -1
- package/es/formulaTarget/index.d.ts +4 -1
- package/es/icon/iconFont.d.ts +4 -1
- package/es/layout/analysisLayout/index.d.ts +4 -1
- package/es/layout/columnLayout/index.d.ts +4 -1
- package/es/layout/detail/index.d.ts +4 -1
- package/es/layout/optionTitle/components/btnMenu/api.d.ts +6 -2
- package/es/layout/optionTitle/components/btnMenu/index.d.ts +4 -1
- package/es/layout/optionTitle/index.d.ts +4 -1
- package/es/layout/optionTitle/typesValue.d.ts +6 -2
- package/es/loading/index.d.ts +4 -1
- package/es/loginForm/index.d.ts +4 -1
- package/es/productCondition/conditionTypeList.d.ts +4 -1
- package/es/productCondition/conditionWrap.d.ts +4 -1
- package/es/productCondition/conditions/cdpCshCondition.d.ts +4 -1
- package/es/productCondition/conditions/eventCondition.d.ts +4 -1
- package/es/productCondition/conditions/order/runPeriodCondition.d.ts +4 -1
- package/es/productCondition/conditions/order/runTimesCondition.d.ts +4 -1
- package/es/productCondition/conditions/periodCondition.d.ts +4 -1
- package/es/productCondition/conditions/propCondition.d.ts +4 -1
- package/es/productCondition/conditions/runTimesCondition.d.ts +4 -1
- package/es/productCondition/conditions/textDesc.d.ts +4 -1
- package/es/productCondition/conditions/timeDimension.d.ts +4 -1
- package/es/productCondition/index.d.ts +4 -1
- package/es/productCondition/orConditions.d.ts +4 -1
- package/es/productCondition/relationLabel.d.ts +4 -1
- package/es/quickDatePicker/index.d.ts +4 -1
- package/es/searchInput/index.d.ts +4 -1
- package/es/select/index.d.ts +4 -1
- package/es/select/option.d.ts +5 -2
- package/es/table/index.d.ts +4 -1
- package/es/targetConditionGroup/components/targetDimension.d.ts +4 -1
- package/es/targetConditionGroup/index.d.ts +4 -1
- package/es/targetSelector/editBox.d.ts +4 -1
- package/es/targetSelector/index.d.ts +4 -1
- package/es/targetSelector/optionIcon.d.ts +4 -1
- package/es/targetSelector/types.d.ts +9 -5
- package/es/userCondition/conditionTypeList.d.ts +4 -1
- package/es/userCondition/conditionWrap.d.ts +4 -1
- package/es/userCondition/conditions/business/operatorCondition.d.ts +4 -1
- package/es/userCondition/conditions/business/paramsCondition.d.ts +4 -1
- package/es/userCondition/conditions/businessCondition.d.ts +4 -1
- package/es/userCondition/conditions/cdpCondition.d.ts +4 -1
- package/es/userCondition/conditions/cdpCshCondition.d.ts +4 -1
- package/es/userCondition/conditions/dataAttribute.d.ts +4 -1
- package/es/userCondition/conditions/eventCondition.d.ts +4 -1
- package/es/userCondition/conditions/order/runPeriodCondition.d.ts +4 -1
- package/es/userCondition/conditions/order/runTimesCondition.d.ts +4 -1
- package/es/userCondition/conditions/periodCondition.d.ts +4 -1
- package/es/userCondition/conditions/propCondition.d.ts +4 -1
- package/es/userCondition/conditions/runTimesCondition.d.ts +4 -1
- package/es/userCondition/conditions/tagsCondition.d.ts +4 -1
- package/es/userCondition/conditions/textDesc.d.ts +4 -1
- package/es/userCondition/conditions/timeDimension.d.ts +4 -1
- package/es/userCondition/index.d.ts +4 -1
- package/es/userCondition/orConditions.d.ts +4 -1
- package/es/userCondition/relationLabel.d.ts +4 -1
- package/es/userGroup/index.d.ts +4 -1
- package/es/userGroup/overlay.d.ts +4 -1
- package/es/userGroupHeader/index.d.ts +4 -1
- package/es/userTagsSelector/cascaderOverlay.d.ts +4 -1
- package/es/userTagsSelector/components/search/index.d.ts +4 -1
- package/es/userTagsSelector/components/tagList/index.d.ts +4 -1
- package/es/userTagsSelector/groups/index.d.ts +4 -1
- package/es/userTagsSelector/index.d.ts +4 -1
- package/es/userTagsSelector/multipleCheckPanel/index.d.ts +4 -1
- package/package.json +2 -2
|
@@ -1,4 +1,7 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import { FormulaItemProps } from './types';
|
|
3
|
-
|
|
3
|
+
type FCWithDefaultProps<P> = React.FC<P> & {
|
|
4
|
+
defaultProps?: Partial<P>;
|
|
5
|
+
};
|
|
6
|
+
declare const FormulaItem: FCWithDefaultProps<FormulaItemProps>;
|
|
4
7
|
export default FormulaItem;
|
|
@@ -1,5 +1,8 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import './index.less';
|
|
3
3
|
import { PanelItemProps } from './types';
|
|
4
|
-
|
|
4
|
+
type FCWithDefaultProps<P> = React.FC<P> & {
|
|
5
|
+
defaultProps?: Partial<P>;
|
|
6
|
+
};
|
|
7
|
+
declare const PanelItem: FCWithDefaultProps<PanelItemProps>;
|
|
5
8
|
export default PanelItem;
|
|
@@ -1,6 +1,9 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import './index.less';
|
|
3
|
-
|
|
3
|
+
type FCWithDefaultProps<P> = React.FC<P> & {
|
|
4
|
+
defaultProps?: Partial<P>;
|
|
5
|
+
};
|
|
6
|
+
declare const FormulaSymbol: FCWithDefaultProps<{
|
|
4
7
|
value?: string;
|
|
5
8
|
onChange?: (symbol: string) => void;
|
|
6
9
|
}>;
|
|
@@ -1,5 +1,8 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import './styles/index.less';
|
|
3
3
|
import { BizFormulaTargetTypes } from './types';
|
|
4
|
-
|
|
4
|
+
type FCWithDefaultProps<P> = React.FC<P> & {
|
|
5
|
+
defaultProps?: Partial<P>;
|
|
6
|
+
};
|
|
7
|
+
declare const BizFormulaTarget: FCWithDefaultProps<BizFormulaTargetTypes.Props>;
|
|
5
8
|
export default BizFormulaTarget;
|
|
@@ -1,7 +1,10 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import '../styles/addPanel.less';
|
|
3
3
|
import AddToPanel from '../types';
|
|
4
|
-
|
|
4
|
+
type FCWithDefaultProps<P> = React.FC<P> & {
|
|
5
|
+
defaultProps?: Partial<P>;
|
|
6
|
+
};
|
|
7
|
+
declare const AddPanel: FCWithDefaultProps<{
|
|
5
8
|
onChange?: (panel: AddToPanel.PanelOption) => void;
|
|
6
9
|
onBack?: () => void;
|
|
7
10
|
}>;
|
|
@@ -1,5 +1,8 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
-
|
|
2
|
+
type FCWithDefaultProps<P> = React.FC<P> & {
|
|
3
|
+
defaultProps?: Partial<P>;
|
|
4
|
+
};
|
|
5
|
+
declare const RadioGroup: FCWithDefaultProps<{
|
|
3
6
|
value?: string;
|
|
4
7
|
options?: any[];
|
|
5
8
|
onChange?: (value: any) => void;
|
|
@@ -2,10 +2,11 @@ import { Radio, Space } from 'antd';
|
|
|
2
2
|
import React from 'react';
|
|
3
3
|
var RadioGroup = function RadioGroup(props) {
|
|
4
4
|
var options = props.options,
|
|
5
|
-
onChange = props.onChange
|
|
5
|
+
onChange = props.onChange,
|
|
6
|
+
value = props.value;
|
|
6
7
|
return /*#__PURE__*/React.createElement(Radio.Group, {
|
|
7
8
|
onChange: onChange,
|
|
8
|
-
defaultValue:
|
|
9
|
+
defaultValue: value,
|
|
9
10
|
className: "biz-addtopanel-show"
|
|
10
11
|
}, /*#__PURE__*/React.createElement(Space, {
|
|
11
12
|
direction: "vertical"
|
|
@@ -16,13 +17,4 @@ var RadioGroup = function RadioGroup(props) {
|
|
|
16
17
|
}, item.label);
|
|
17
18
|
})));
|
|
18
19
|
};
|
|
19
|
-
RadioGroup.defaultProps = {
|
|
20
|
-
options: [{
|
|
21
|
-
label: '动态显示数据最多的10个分组',
|
|
22
|
-
value: 'dynamic'
|
|
23
|
-
}, {
|
|
24
|
-
label: '固定显示当前选择的分组',
|
|
25
|
-
value: 'fix'
|
|
26
|
-
}]
|
|
27
|
-
};
|
|
28
20
|
export default RadioGroup;
|
|
@@ -1,5 +1,8 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import AddToPanel from '../types';
|
|
3
3
|
import '../styles/style.less';
|
|
4
|
-
|
|
4
|
+
type FCWithDefaultProps<P> = React.FC<P> & {
|
|
5
|
+
defaultProps?: Partial<P>;
|
|
6
|
+
};
|
|
7
|
+
declare const StyleList: FCWithDefaultProps<AddToPanel.StyleProps>;
|
|
5
8
|
export default StyleList;
|
package/es/addToPanel/index.d.ts
CHANGED
|
@@ -2,5 +2,8 @@ import React from 'react';
|
|
|
2
2
|
import AddToPanel from './types';
|
|
3
3
|
import './styles/index.less';
|
|
4
4
|
export declare const classPrefix = "biz-addtopanel";
|
|
5
|
-
|
|
5
|
+
type FCWithDefaultProps<P> = React.FC<P> & {
|
|
6
|
+
defaultProps?: Partial<P>;
|
|
7
|
+
};
|
|
8
|
+
declare const BizAddToPanel: FCWithDefaultProps<AddToPanel.Props>;
|
|
6
9
|
export default BizAddToPanel;
|
package/es/addToPanel/index.js
CHANGED
|
@@ -26,7 +26,7 @@ import BizGlobalDataContext from '../context';
|
|
|
26
26
|
import _ from 'lodash';
|
|
27
27
|
export var classPrefix = 'biz-addtopanel';
|
|
28
28
|
var BizAddToPanel = function BizAddToPanel(props) {
|
|
29
|
-
var refForm = useRef();
|
|
29
|
+
var refForm = useRef(null);
|
|
30
30
|
var _useState = useState(false),
|
|
31
31
|
_useState2 = _slicedToArray(_useState, 2),
|
|
32
32
|
addMode = _useState2[0],
|
|
@@ -285,7 +285,4 @@ var BizAddToPanel = function BizAddToPanel(props) {
|
|
|
285
285
|
return showBox(type);
|
|
286
286
|
})));
|
|
287
287
|
};
|
|
288
|
-
BizAddToPanel.defaultProps = {
|
|
289
|
-
showList: []
|
|
290
|
-
};
|
|
291
288
|
export default BizAddToPanel;
|
|
@@ -3,7 +3,10 @@ interface Val {
|
|
|
3
3
|
groupName: string;
|
|
4
4
|
groupId: number;
|
|
5
5
|
}
|
|
6
|
-
|
|
6
|
+
type FCWithDefaultProps<P> = React.FC<P> & {
|
|
7
|
+
defaultProps?: Partial<P>;
|
|
8
|
+
};
|
|
9
|
+
declare const AddGroup: FCWithDefaultProps<{
|
|
7
10
|
value?: Val;
|
|
8
11
|
onChange?: (val: Val) => void;
|
|
9
12
|
onBack: () => void;
|
package/es/addToScene/index.d.ts
CHANGED
|
@@ -2,5 +2,8 @@ import React from 'react';
|
|
|
2
2
|
import AddToScene from './types';
|
|
3
3
|
import './styles/index.less';
|
|
4
4
|
export declare const classPrefix = "biz-addtoscene";
|
|
5
|
-
|
|
5
|
+
type FCWithDefaultProps<P> = React.FC<P> & {
|
|
6
|
+
defaultProps?: Partial<P>;
|
|
7
|
+
};
|
|
8
|
+
declare const BizAddToScene: FCWithDefaultProps<AddToScene.Props>;
|
|
6
9
|
export default BizAddToScene;
|
package/es/addToScene/index.js
CHANGED
|
@@ -32,7 +32,7 @@ var BizAddToScene = function BizAddToScene(props) {
|
|
|
32
32
|
var _useContext = useContext(BizGlobalDataContext),
|
|
33
33
|
currentApp = _useContext.currentApp,
|
|
34
34
|
isDemo = _useContext.isDemo;
|
|
35
|
-
var refForm = useRef();
|
|
35
|
+
var refForm = useRef(null);
|
|
36
36
|
function toAddGroup() {
|
|
37
37
|
var _refForm$current;
|
|
38
38
|
(_refForm$current = refForm.current) === null || _refForm$current === void 0 ? void 0 : _refForm$current.resetFields(['group']);
|
|
@@ -1,6 +1,9 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import '@zgfe/business-lib/es/assets/styles/resetAntd.less';
|
|
3
|
-
|
|
3
|
+
type FCWithDefaultProps<P> = React.FC<P> & {
|
|
4
|
+
defaultProps?: Partial<P>;
|
|
5
|
+
};
|
|
6
|
+
declare const AssetsDemo: FCWithDefaultProps<{
|
|
4
7
|
children: any;
|
|
5
8
|
}>;
|
|
6
9
|
export default AssetsDemo;
|
|
@@ -1,5 +1,8 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import { AttrConditionTypes } from '../attrConditions/types';
|
|
3
3
|
import './styles/index.less';
|
|
4
|
-
|
|
4
|
+
type FCWithDefaultProps<P> = React.FC<P> & {
|
|
5
|
+
defaultProps?: Partial<P>;
|
|
6
|
+
};
|
|
7
|
+
declare const BizAttrCondition: FCWithDefaultProps<AttrConditionTypes.ItemProp>;
|
|
5
8
|
export default BizAttrCondition;
|
|
@@ -1,7 +1,10 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import { AttributeSelect } from '../../attributeSelector/types';
|
|
3
3
|
import { BizSelectTypes } from '../../select/types';
|
|
4
|
-
|
|
4
|
+
type FCWithDefaultProps<P> = React.FC<P> & {
|
|
5
|
+
defaultProps?: Partial<P>;
|
|
6
|
+
};
|
|
7
|
+
declare const BizOperateList: FCWithDefaultProps<{
|
|
5
8
|
attr?: AttributeSelect.Value;
|
|
6
9
|
defaultValue?: string;
|
|
7
10
|
onChange?: (value: string) => void;
|
|
@@ -1,7 +1,10 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import { AttributeSelect } from '../../attributeSelector/types';
|
|
3
3
|
import { BizSelectTypes } from '../../select/types';
|
|
4
|
-
|
|
4
|
+
type FCWithDefaultProps<P> = React.FC<P> & {
|
|
5
|
+
defaultProps?: Partial<P>;
|
|
6
|
+
};
|
|
7
|
+
declare const StringList: FCWithDefaultProps<{
|
|
5
8
|
attr: AttributeSelect.Value;
|
|
6
9
|
operate: string;
|
|
7
10
|
value?: string[];
|
|
@@ -1,7 +1,10 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import { AttributeSelect } from '../../attributeSelector/types';
|
|
3
3
|
import { BizSelectTypes } from '../../select/types';
|
|
4
|
-
|
|
4
|
+
type FCWithDefaultProps<P> = React.FC<P> & {
|
|
5
|
+
defaultProps?: Partial<P>;
|
|
6
|
+
};
|
|
7
|
+
declare const ValuesList: FCWithDefaultProps<{
|
|
5
8
|
attr?: AttributeSelect.Value;
|
|
6
9
|
operate?: string;
|
|
7
10
|
defaultValue?: string[];
|
|
@@ -3,6 +3,9 @@ import { AttributeSelect } from '../attributeSelector/types';
|
|
|
3
3
|
import './styles/index.less';
|
|
4
4
|
import { AttrConditionTypes, OperateTypes } from './types';
|
|
5
5
|
export declare const classPrefix = "biz-condition-item";
|
|
6
|
+
type FCWithDefaultProps<P> = React.FC<P> & {
|
|
7
|
+
defaultProps?: Partial<P>;
|
|
8
|
+
};
|
|
6
9
|
export declare function getCondition(attr: AttributeSelect.Value, operate: OperateTypes, values: string[]): AttrConditionTypes.ItemValue | undefined;
|
|
7
|
-
declare const BizConditionItem:
|
|
10
|
+
declare const BizConditionItem: FCWithDefaultProps<AttrConditionTypes.ItemProp>;
|
|
8
11
|
export default BizConditionItem;
|
|
@@ -41,8 +41,8 @@ var BizConditionItem = function BizConditionItem(props) {
|
|
|
41
41
|
enableUserProp = props.enableUserProp,
|
|
42
42
|
enableEnvProp = props.enableEnvProp,
|
|
43
43
|
disableItemList = props.disableItemList,
|
|
44
|
-
|
|
45
|
-
|
|
44
|
+
theme = props.theme,
|
|
45
|
+
border = props.border;
|
|
46
46
|
var _useAttrCondition = useAttrCondition(props),
|
|
47
47
|
loading = _useAttrCondition.loading,
|
|
48
48
|
attr = _useAttrCondition.attr,
|
|
@@ -90,7 +90,4 @@ var BizConditionItem = function BizConditionItem(props) {
|
|
|
90
90
|
theme: theme
|
|
91
91
|
}))));
|
|
92
92
|
};
|
|
93
|
-
BizConditionItem.defaultProps = {
|
|
94
|
-
border: true
|
|
95
|
-
};
|
|
96
93
|
export default BizConditionItem;
|
|
@@ -1,5 +1,8 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import { AttributeSelect } from './types';
|
|
3
3
|
import './styles/index.less';
|
|
4
|
-
|
|
4
|
+
type FCWithDefaultProps<P> = React.FC<P> & {
|
|
5
|
+
defaultProps?: Partial<P>;
|
|
6
|
+
};
|
|
7
|
+
declare const BizAttributeSelector: FCWithDefaultProps<AttributeSelect.Props>;
|
|
5
8
|
export default BizAttributeSelector;
|
|
@@ -1,4 +1,7 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import { AttributeSelect } from './types';
|
|
3
|
-
|
|
3
|
+
type FCWithDefaultProps<P> = React.FC<P> & {
|
|
4
|
+
defaultProps?: Partial<P>;
|
|
5
|
+
};
|
|
6
|
+
declare const AttrListPanel: FCWithDefaultProps<AttributeSelect.Props>;
|
|
4
7
|
export default AttrListPanel;
|
|
@@ -1,6 +1,9 @@
|
|
|
1
1
|
import React, { ReactNode } from 'react';
|
|
2
2
|
import { AttributeSelect } from './types';
|
|
3
|
-
|
|
3
|
+
type FCWithDefaultProps<P> = React.FC<P> & {
|
|
4
|
+
defaultProps?: Partial<P>;
|
|
5
|
+
};
|
|
6
|
+
declare const Option: FCWithDefaultProps<{
|
|
4
7
|
option?: AttributeSelect.Value;
|
|
5
8
|
group?: AttributeSelect.Option;
|
|
6
9
|
disabled?: boolean;
|
package/es/colorIcon/index.d.ts
CHANGED
|
@@ -5,5 +5,8 @@ interface Props {
|
|
|
5
5
|
height?: number;
|
|
6
6
|
className?: string;
|
|
7
7
|
}
|
|
8
|
-
|
|
8
|
+
type FCWithDefaultProps<P> = React.FC<P> & {
|
|
9
|
+
defaultProps?: Partial<P>;
|
|
10
|
+
};
|
|
11
|
+
declare const ColorIcon: FCWithDefaultProps<Props>;
|
|
9
12
|
export default ColorIcon;
|
package/es/context/types.d.ts
CHANGED
|
@@ -1,6 +1,10 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import type { GlobalContextProps, Menu, UserInfo, AppInfoProps } from './index';
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
export declare const
|
|
3
|
+
type FCWithDefaultProps<P> = React.FC<P> & {
|
|
4
|
+
defaultProps?: Partial<P>;
|
|
5
|
+
};
|
|
6
|
+
export declare const GlobalContextProps_: FCWithDefaultProps<GlobalContextProps>;
|
|
7
|
+
export declare const Menu_: FCWithDefaultProps<Menu>;
|
|
8
|
+
export declare const UserInfo_: FCWithDefaultProps<UserInfo>;
|
|
9
|
+
export declare const AppInfoProps_: FCWithDefaultProps<AppInfoProps>;
|
|
10
|
+
export {};
|
package/es/cycleTime/index.d.ts
CHANGED
|
@@ -16,7 +16,10 @@ interface Value {
|
|
|
16
16
|
day?: number[];
|
|
17
17
|
time?: string;
|
|
18
18
|
}
|
|
19
|
-
|
|
19
|
+
type FCWithDefaultProps<P> = React.FC<P> & {
|
|
20
|
+
defaultProps?: Partial<P>;
|
|
21
|
+
};
|
|
22
|
+
declare const BizCycleTime: FCWithDefaultProps<{
|
|
20
23
|
value?: Value;
|
|
21
24
|
multiple?: boolean;
|
|
22
25
|
placeholder?: string;
|
package/es/cycleTime/month.d.ts
CHANGED
|
@@ -2,7 +2,10 @@ import React from 'react';
|
|
|
2
2
|
import './styles/month.less';
|
|
3
3
|
import { BaseOption } from '../utils/type';
|
|
4
4
|
import { SizeType } from 'antd/es/config-provider/SizeContext';
|
|
5
|
-
|
|
5
|
+
type FCWithDefaultProps<P> = React.FC<P> & {
|
|
6
|
+
defaultProps?: Partial<P>;
|
|
7
|
+
};
|
|
8
|
+
declare const MonthDay: FCWithDefaultProps<{
|
|
6
9
|
size?: SizeType;
|
|
7
10
|
className?: string;
|
|
8
11
|
defaultValue?: BaseOption<number>[];
|
|
@@ -2,5 +2,8 @@ import React from 'react';
|
|
|
2
2
|
import './styles/index.less';
|
|
3
3
|
import { UserGroupTypes } from './types';
|
|
4
4
|
export declare const classPrefix = "biz-dataSet-group";
|
|
5
|
-
|
|
5
|
+
type FCWithDefaultProps<P> = React.FC<P> & {
|
|
6
|
+
defaultProps?: Partial<P>;
|
|
7
|
+
};
|
|
8
|
+
declare const DataSetGroup: FCWithDefaultProps<UserGroupTypes.Props>;
|
|
6
9
|
export default DataSetGroup;
|
|
@@ -1,6 +1,9 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import { UserGroupTypes } from './types';
|
|
3
|
-
|
|
3
|
+
type FCWithDefaultProps<P> = React.FC<P> & {
|
|
4
|
+
defaultProps?: Partial<P>;
|
|
5
|
+
};
|
|
6
|
+
declare const Overlay: FCWithDefaultProps<{
|
|
4
7
|
dataset: UserGroupTypes.Group[];
|
|
5
8
|
onClose?: () => void;
|
|
6
9
|
onClickCreate?: () => void;
|
|
@@ -21,7 +21,7 @@ var BizDate = function BizDate(_ref) {
|
|
|
21
21
|
function disabledDate(current) {
|
|
22
22
|
var step = includeToday ? 0 : 1;
|
|
23
23
|
var max = moment().subtract(step, 'days');
|
|
24
|
-
var _timeRangeOpen = 12;
|
|
24
|
+
var _timeRangeOpen = selectRange || 12;
|
|
25
25
|
if (envs === null || envs === void 0 ? void 0 : envs.timeRangeOpen) {
|
|
26
26
|
_timeRangeOpen = typeof (envs === null || envs === void 0 ? void 0 : envs.timeRangeOpen) === 'boolean' ? (envs === null || envs === void 0 ? void 0 : envs.timeRangeOpen) ? 200 : 12 : envs === null || envs === void 0 ? void 0 : envs.timeRangeOpen;
|
|
27
27
|
}
|
package/es/datePicker/index.d.ts
CHANGED
|
@@ -2,5 +2,8 @@ import React from 'react';
|
|
|
2
2
|
import { DatePickerTypes } from './types';
|
|
3
3
|
import './styles/index.less';
|
|
4
4
|
export declare const classPrefix = "biz-date-picker-wrap";
|
|
5
|
-
|
|
5
|
+
type FCWithDefaultProps<P> = React.FC<P> & {
|
|
6
|
+
defaultProps?: Partial<P>;
|
|
7
|
+
};
|
|
8
|
+
declare const BizDatePicker: FCWithDefaultProps<DatePickerTypes.Props>;
|
|
6
9
|
export default BizDatePicker;
|
|
@@ -1,6 +1,9 @@
|
|
|
1
1
|
import React, { ReactNode } from 'react';
|
|
2
2
|
import { AppInfoProps, GlobalContextProps } from '../context';
|
|
3
|
-
|
|
3
|
+
type FCWithDefaultProps<P> = React.FC<P> & {
|
|
4
|
+
defaultProps?: Partial<P>;
|
|
5
|
+
};
|
|
6
|
+
declare const DemoContent: FCWithDefaultProps<{
|
|
4
7
|
children?: ReactNode;
|
|
5
8
|
needMeta?: boolean;
|
|
6
9
|
currentApp?: AppInfoProps;
|
package/es/demoWrapper/head.d.ts
CHANGED
|
@@ -1,6 +1,9 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import { AppInfoProps } from '../context';
|
|
3
|
-
|
|
3
|
+
type FCWithDefaultProps<P> = React.FC<P> & {
|
|
4
|
+
defaultProps?: Partial<P>;
|
|
5
|
+
};
|
|
6
|
+
declare const DemoHeader: FCWithDefaultProps<{
|
|
4
7
|
defaultApp?: number;
|
|
5
8
|
onChangeApp?: (app: AppInfoProps) => void;
|
|
6
9
|
onLoading?: (loading: boolean) => void;
|
|
@@ -1,5 +1,8 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import DemoWrapperTypes from './types';
|
|
3
3
|
import './index.less';
|
|
4
|
-
|
|
4
|
+
type FCWithDefaultProps<P> = React.FC<P> & {
|
|
5
|
+
defaultProps?: Partial<P>;
|
|
6
|
+
};
|
|
7
|
+
declare const DemoWrapper: FCWithDefaultProps<DemoWrapperTypes.Props>;
|
|
5
8
|
export default DemoWrapper;
|
|
@@ -1,6 +1,9 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import { GlobalContextProps } from '../context';
|
|
3
|
-
|
|
3
|
+
type FCWithDefaultProps<P> = React.FC<P> & {
|
|
4
|
+
defaultProps?: Partial<P>;
|
|
5
|
+
};
|
|
6
|
+
declare const InnerDemo: FCWithDefaultProps<{
|
|
4
7
|
contextProps?: GlobalContextProps;
|
|
5
8
|
children?: React.ReactNode;
|
|
6
9
|
}>;
|
|
@@ -9,5 +9,8 @@ declare namespace DemoWrapperTypes {
|
|
|
9
9
|
contextProps?: GlobalContextProps;
|
|
10
10
|
}
|
|
11
11
|
}
|
|
12
|
-
|
|
12
|
+
type FCWithDefaultProps<P> = React.FC<P> & {
|
|
13
|
+
defaultProps?: Partial<P>;
|
|
14
|
+
};
|
|
15
|
+
export declare const Props: FCWithDefaultProps<DemoWrapperTypes.Props>;
|
|
13
16
|
export default DemoWrapperTypes;
|
package/es/dialog/index.d.ts
CHANGED
|
@@ -2,5 +2,8 @@ import React from 'react';
|
|
|
2
2
|
import { DialogTypes } from './types';
|
|
3
3
|
import './styles/index.less';
|
|
4
4
|
export declare const classPrefix = "biz-dialog";
|
|
5
|
-
|
|
5
|
+
type FCWithDefaultProps<P> = React.FC<P> & {
|
|
6
|
+
defaultProps?: Partial<P>;
|
|
7
|
+
};
|
|
8
|
+
declare const BizDialog: FCWithDefaultProps<DialogTypes.Props>;
|
|
6
9
|
export default BizDialog;
|
package/es/dnd/index.d.ts
CHANGED
|
@@ -2,5 +2,8 @@ import React from 'react';
|
|
|
2
2
|
import { DndTypes } from './types';
|
|
3
3
|
import './styles/index.less';
|
|
4
4
|
export declare const classPrefix = "biz-dnd";
|
|
5
|
-
|
|
5
|
+
type FCWithDefaultProps<P> = React.FC<P> & {
|
|
6
|
+
defaultProps?: Partial<P>;
|
|
7
|
+
};
|
|
8
|
+
declare const BizDnd: FCWithDefaultProps<DndTypes.ContainerProps>;
|
|
6
9
|
export default BizDnd;
|
package/es/dnd/item.d.ts
CHANGED
|
@@ -1,4 +1,7 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import { DndTypes } from './types';
|
|
3
|
-
|
|
3
|
+
type FCWithDefaultProps<P> = React.FC<P> & {
|
|
4
|
+
defaultProps?: Partial<P>;
|
|
5
|
+
};
|
|
6
|
+
declare const BizDndItem: FCWithDefaultProps<DndTypes.ItemProps>;
|
|
4
7
|
export default BizDndItem;
|
package/es/dnd/item.js
CHANGED
|
@@ -25,7 +25,7 @@ var BizDndItem = function BizDndItem(props) {
|
|
|
25
25
|
_useState2 = _slicedToArray(_useState, 2),
|
|
26
26
|
isDragging = _useState2[0],
|
|
27
27
|
setIsDragging = _useState2[1];
|
|
28
|
-
var ref = useRef();
|
|
28
|
+
var ref = useRef(null);
|
|
29
29
|
function onMousedown(e) {
|
|
30
30
|
var _e$currentTarget$getB = e.currentTarget.getBoundingClientRect(),
|
|
31
31
|
top = _e$currentTarget$getB.top,
|
|
@@ -2,5 +2,8 @@ import React from 'react';
|
|
|
2
2
|
import './styles/index.less';
|
|
3
3
|
import { EventSelectTypes } from './types';
|
|
4
4
|
export declare const classPrefix = "biz-event-select";
|
|
5
|
-
|
|
5
|
+
type FCWithDefaultProps<P> = React.FC<P> & {
|
|
6
|
+
defaultProps?: Partial<P>;
|
|
7
|
+
};
|
|
8
|
+
declare const BizEventSelector: FCWithDefaultProps<EventSelectTypes.Props>;
|
|
6
9
|
export default BizEventSelector;
|
|
@@ -1,8 +1,11 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import { AnalysisEvent } from '../attributeSelector/types';
|
|
3
3
|
import { EventSelectTypes } from './types';
|
|
4
|
-
|
|
5
|
-
|
|
4
|
+
type FCWithDefaultProps<P> = React.FC<P> & {
|
|
5
|
+
defaultProps?: Partial<P>;
|
|
6
|
+
};
|
|
7
|
+
declare const EventListPanel: FCWithDefaultProps<EventSelectTypes.DropdownProps>;
|
|
8
|
+
export declare const InfiniteScrollList: FCWithDefaultProps<{
|
|
6
9
|
scrollableTarget: string;
|
|
7
10
|
searchEventList: AnalysisEvent[];
|
|
8
11
|
searchValue: string;
|
|
@@ -1,6 +1,9 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import { AnalysisEvent, EventGroup } from '../attributeSelector/types';
|
|
3
|
-
|
|
3
|
+
type FCWithDefaultProps<P> = React.FC<P> & {
|
|
4
|
+
defaultProps?: Partial<P>;
|
|
5
|
+
};
|
|
6
|
+
declare const EventListOption: FCWithDefaultProps<{
|
|
4
7
|
showCount?: boolean;
|
|
5
8
|
count?: number;
|
|
6
9
|
label?: string;
|
|
@@ -1,4 +1,7 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import { FormulaItemProps } from './types';
|
|
3
|
-
|
|
3
|
+
type FCWithDefaultProps<P> = React.FC<P> & {
|
|
4
|
+
defaultProps?: Partial<P>;
|
|
5
|
+
};
|
|
6
|
+
declare const FormulaItem: FCWithDefaultProps<FormulaItemProps>;
|
|
4
7
|
export default FormulaItem;
|
|
@@ -1,5 +1,8 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import './index.less';
|
|
3
3
|
import { PanelItemProps } from './types';
|
|
4
|
-
|
|
4
|
+
type FCWithDefaultProps<P> = React.FC<P> & {
|
|
5
|
+
defaultProps?: Partial<P>;
|
|
6
|
+
};
|
|
7
|
+
declare const PanelItem: FCWithDefaultProps<PanelItemProps>;
|
|
5
8
|
export default PanelItem;
|
|
@@ -1,6 +1,9 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import './index.less';
|
|
3
|
-
|
|
3
|
+
type FCWithDefaultProps<P> = React.FC<P> & {
|
|
4
|
+
defaultProps?: Partial<P>;
|
|
5
|
+
};
|
|
6
|
+
declare const FormulaSymbol: FCWithDefaultProps<{
|
|
4
7
|
value?: string;
|
|
5
8
|
onChange?: (symbol: string) => void;
|
|
6
9
|
}>;
|