@zgfe/business-lib 1.2.17 → 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,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;
|
package/es/icon/iconFont.d.ts
CHANGED
|
@@ -5,5 +5,8 @@ interface Props extends IconFontProps {
|
|
|
5
5
|
size?: number;
|
|
6
6
|
className?: string;
|
|
7
7
|
}
|
|
8
|
-
|
|
8
|
+
type FCWithDefaultProps<P> = React.FC<P> & {
|
|
9
|
+
defaultProps?: Partial<P>;
|
|
10
|
+
};
|
|
11
|
+
declare const IconFont: FCWithDefaultProps<Props>;
|
|
9
12
|
export default IconFont;
|
|
@@ -11,5 +11,8 @@ type AnalysisLayoutProps = {
|
|
|
11
11
|
maxWidthOfLeft?: number;
|
|
12
12
|
onCollapse?: (flag: boolean) => void;
|
|
13
13
|
};
|
|
14
|
-
|
|
14
|
+
type FCWithDefaultProps<P> = React.FC<P> & {
|
|
15
|
+
defaultProps?: Partial<P>;
|
|
16
|
+
};
|
|
17
|
+
declare const BizAnalysisLayout: FCWithDefaultProps<AnalysisLayoutProps>;
|
|
15
18
|
export default BizAnalysisLayout;
|
|
@@ -1,5 +1,8 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import { LayoutTypes } from './types';
|
|
3
3
|
import './index.less';
|
|
4
|
-
|
|
4
|
+
type FCWithDefaultProps<P> = React.FC<P> & {
|
|
5
|
+
defaultProps?: Partial<P>;
|
|
6
|
+
};
|
|
7
|
+
declare const BizLayout: FCWithDefaultProps<LayoutTypes.Props>;
|
|
5
8
|
export default BizLayout;
|
|
@@ -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 BizDetailLayout: FCWithDefaultProps<{
|
|
4
7
|
width?: string;
|
|
5
8
|
className?: string;
|
|
6
9
|
onBack?: () => void;
|
|
@@ -1,4 +1,8 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import { BizOptionTitleProps } from '../../types';
|
|
3
|
-
|
|
4
|
-
|
|
3
|
+
type FCWithDefaultProps<P> = React.FC<P> & {
|
|
4
|
+
defaultProps?: Partial<P>;
|
|
5
|
+
};
|
|
6
|
+
export declare const BtnMenuProps_: FCWithDefaultProps<BizOptionTitleProps.BtnMenuProps>;
|
|
7
|
+
export declare const BtnItem_: FCWithDefaultProps<BizOptionTitleProps.BtnItem>;
|
|
8
|
+
export {};
|
|
@@ -1,5 +1,8 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import { BizOptionTitleProps } from '../../types';
|
|
3
3
|
import './index.less';
|
|
4
|
-
|
|
4
|
+
type FCWithDefaultProps<P> = React.FC<P> & {
|
|
5
|
+
defaultProps?: Partial<P>;
|
|
6
|
+
};
|
|
7
|
+
export declare const BizBtnMenu: FCWithDefaultProps<BizOptionTitleProps.BtnMenuProps>;
|
|
5
8
|
export default BizBtnMenu;
|
|
@@ -2,5 +2,8 @@ import React from 'react';
|
|
|
2
2
|
import { BizOptionTitleProps } from './types';
|
|
3
3
|
import './styles/index.less';
|
|
4
4
|
export declare const classPrefix = "biz-layout-panel";
|
|
5
|
-
|
|
5
|
+
type FCWithDefaultProps<P> = React.FC<P> & {
|
|
6
|
+
defaultProps?: Partial<P>;
|
|
7
|
+
};
|
|
8
|
+
declare const BizTargetFromPanel: FCWithDefaultProps<BizOptionTitleProps.Props>;
|
|
6
9
|
export default BizTargetFromPanel;
|
|
@@ -1,4 +1,8 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import { BizOptionTitleProps } from './types';
|
|
3
|
-
|
|
4
|
-
|
|
3
|
+
type FCWithDefaultProps<P> = React.FC<P> & {
|
|
4
|
+
defaultProps?: Partial<P>;
|
|
5
|
+
};
|
|
6
|
+
export declare const Value: FCWithDefaultProps<BizOptionTitleProps.Value>;
|
|
7
|
+
export declare const TargetValue: FCWithDefaultProps<BizOptionTitleProps.TargetValue>;
|
|
8
|
+
export {};
|
package/es/loading/index.d.ts
CHANGED
|
@@ -2,5 +2,8 @@ import React from 'react';
|
|
|
2
2
|
import './styles/index.less';
|
|
3
3
|
import { LoadingTypes } from './types';
|
|
4
4
|
export declare const classPrefix = "biz-loading";
|
|
5
|
-
|
|
5
|
+
type FCWithDefaultProps<P> = React.FC<P> & {
|
|
6
|
+
defaultProps?: Partial<P>;
|
|
7
|
+
};
|
|
8
|
+
declare const BizLoading: FCWithDefaultProps<LoadingTypes>;
|
|
6
9
|
export default BizLoading;
|
package/es/loginForm/index.d.ts
CHANGED
|
@@ -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 BizLoginForm: FCWithDefaultProps<{
|
|
4
7
|
loginUrl?: string;
|
|
5
8
|
onSuccess?: () => void;
|
|
6
9
|
}>;
|
|
@@ -6,5 +6,8 @@ export interface ConditionTypeListPropsI {
|
|
|
6
6
|
label?: string | React.ReactNode;
|
|
7
7
|
show?: boolean;
|
|
8
8
|
}
|
|
9
|
-
|
|
9
|
+
type FCWithDefaultProps<P> = React.FC<P> & {
|
|
10
|
+
defaultProps?: Partial<P>;
|
|
11
|
+
};
|
|
12
|
+
declare const ConditionTypeList: FCWithDefaultProps<ConditionTypeListPropsI>;
|
|
10
13
|
export default ConditionTypeList;
|
|
@@ -3,5 +3,8 @@ import './styles/conditionWrap.less';
|
|
|
3
3
|
export interface ConditionWrapPropsI {
|
|
4
4
|
onDelte: () => void;
|
|
5
5
|
}
|
|
6
|
-
|
|
6
|
+
type FCWithDefaultProps<P> = React.FC<P> & {
|
|
7
|
+
defaultProps?: Partial<P>;
|
|
8
|
+
};
|
|
9
|
+
declare const ConditionWrap: FCWithDefaultProps<PropsWithChildren<ConditionWrapPropsI>>;
|
|
7
10
|
export default ConditionWrap;
|
|
@@ -1,8 +1,11 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import { AllConditionBasePropsI, BizProductConditionT } from '../types';
|
|
3
3
|
import './styles/cdpCshCondition.less';
|
|
4
|
+
type FCWithDefaultProps<P> = React.FC<P> & {
|
|
5
|
+
defaultProps?: Partial<P>;
|
|
6
|
+
};
|
|
4
7
|
interface CdpConditionProps extends AllConditionBasePropsI<BizProductConditionT.CdpCshConditionDetail[]> {
|
|
5
8
|
defaultValue?: BizProductConditionT.CdpCshCondition;
|
|
6
9
|
}
|
|
7
|
-
declare const CdpCondition:
|
|
10
|
+
declare const CdpCondition: FCWithDefaultProps<CdpConditionProps>;
|
|
8
11
|
export default CdpCondition;
|
|
@@ -4,5 +4,8 @@ import './styles/eventCondition.less';
|
|
|
4
4
|
export interface EventConditionPropsI extends AllConditionBasePropsI<BizProductConditionT.EventCondition> {
|
|
5
5
|
condition: BizProductConditionT.EventCondition;
|
|
6
6
|
}
|
|
7
|
-
|
|
7
|
+
type FCWithDefaultProps<P> = React.FC<P> & {
|
|
8
|
+
defaultProps?: Partial<P>;
|
|
9
|
+
};
|
|
10
|
+
declare const EventCondition: FCWithDefaultProps<EventConditionPropsI>;
|
|
8
11
|
export default EventCondition;
|
|
@@ -7,5 +7,8 @@ export interface RunPeriodConditionPropsI extends AllConditionBasePropsI<BizProd
|
|
|
7
7
|
dataId: number;
|
|
8
8
|
condition: BizProductConditionT.BusinessCondition;
|
|
9
9
|
}
|
|
10
|
-
|
|
10
|
+
type FCWithDefaultProps<P> = React.FC<P> & {
|
|
11
|
+
defaultProps?: Partial<P>;
|
|
12
|
+
};
|
|
13
|
+
declare const RunPeriodCondition: FCWithDefaultProps<RunPeriodConditionPropsI>;
|
|
11
14
|
export default RunPeriodCondition;
|
|
@@ -7,5 +7,8 @@ export interface RunTimesConditionPropsI extends AllConditionBasePropsI<BizProdu
|
|
|
7
7
|
index?: number;
|
|
8
8
|
condition: BizProductConditionT.BusinessCondition;
|
|
9
9
|
}
|
|
10
|
-
|
|
10
|
+
type FCWithDefaultProps<P> = React.FC<P> & {
|
|
11
|
+
defaultProps?: Partial<P>;
|
|
12
|
+
};
|
|
13
|
+
declare const RunTimesCondition: FCWithDefaultProps<RunTimesConditionPropsI>;
|
|
11
14
|
export default RunTimesCondition;
|
|
@@ -7,5 +7,8 @@ export interface PeriodConditionPropsI extends AllConditionBasePropsI<RunPeriodI
|
|
|
7
7
|
runPeriod: RunPeriodI;
|
|
8
8
|
isRealTime?: boolean;
|
|
9
9
|
}
|
|
10
|
-
|
|
10
|
+
type FCWithDefaultProps<P> = React.FC<P> & {
|
|
11
|
+
defaultProps?: Partial<P>;
|
|
12
|
+
};
|
|
13
|
+
declare const PeriodCondition: FCWithDefaultProps<PeriodConditionPropsI>;
|
|
11
14
|
export default PeriodCondition;
|
|
@@ -1,5 +1,8 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import { PropConditionType } from '../types';
|
|
3
3
|
import './styles/propCondition.less';
|
|
4
|
-
|
|
4
|
+
type FCWithDefaultProps<P> = React.FC<P> & {
|
|
5
|
+
defaultProps?: Partial<P>;
|
|
6
|
+
};
|
|
7
|
+
declare const PropCondition: FCWithDefaultProps<PropConditionType.PropsI>;
|
|
5
8
|
export default PropCondition;
|
|
@@ -5,5 +5,8 @@ export interface RunTimesConditionPropsI {
|
|
|
5
5
|
runTimes: RunTimesI;
|
|
6
6
|
onChange: (data: RunTimesI) => void;
|
|
7
7
|
}
|
|
8
|
-
|
|
8
|
+
type FCWithDefaultProps<P> = React.FC<P> & {
|
|
9
|
+
defaultProps?: Partial<P>;
|
|
10
|
+
};
|
|
11
|
+
declare const RunTimesCondition: FCWithDefaultProps<RunTimesConditionPropsI>;
|
|
9
12
|
export default RunTimesCondition;
|
|
@@ -5,5 +5,8 @@ export interface TextProps {
|
|
|
5
5
|
condition: BizProductConditionT.PropCondition | BizProductConditionT.EventCondition | BizProductConditionT.CdpCshCondition;
|
|
6
6
|
showOrDesc: boolean;
|
|
7
7
|
}
|
|
8
|
-
|
|
8
|
+
type FCWithDefaultProps<P> = React.FC<P> & {
|
|
9
|
+
defaultProps?: Partial<P>;
|
|
10
|
+
};
|
|
11
|
+
declare const Text: FCWithDefaultProps<TextProps>;
|
|
9
12
|
export default Text;
|
|
@@ -7,5 +7,8 @@ export interface TimeDimensionPropsI {
|
|
|
7
7
|
dataId: number;
|
|
8
8
|
onChange: (condition: number | BizProductConditionT.BusinessCondition) => void;
|
|
9
9
|
}
|
|
10
|
-
|
|
10
|
+
type FCWithDefaultProps<P> = React.FC<P> & {
|
|
11
|
+
defaultProps?: Partial<P>;
|
|
12
|
+
};
|
|
13
|
+
declare const TimeDimension: FCWithDefaultProps<TimeDimensionPropsI>;
|
|
11
14
|
export default TimeDimension;
|
|
@@ -3,5 +3,8 @@ import { BizProductConditionT } from './types';
|
|
|
3
3
|
import './styles/index.less';
|
|
4
4
|
export declare const BizUserConditionContext: React.Context<BizProductConditionT.GlobalContext>;
|
|
5
5
|
export declare const classPrefix = "biz-user-condition";
|
|
6
|
-
|
|
6
|
+
type FCWithDefaultProps<P> = React.FC<P> & {
|
|
7
|
+
defaultProps?: Partial<P>;
|
|
8
|
+
};
|
|
9
|
+
declare const BizUserCondition: FCWithDefaultProps<BizProductConditionT.PropsI>;
|
|
7
10
|
export default BizUserCondition;
|
|
@@ -1,5 +1,8 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import { OrConditionsT } from './types';
|
|
3
3
|
import './styles/orConditions.less';
|
|
4
|
-
|
|
4
|
+
type FCWithDefaultProps<P> = React.FC<P> & {
|
|
5
|
+
defaultProps?: Partial<P>;
|
|
6
|
+
};
|
|
7
|
+
declare const OrConditions: FCWithDefaultProps<OrConditionsT.PropI>;
|
|
5
8
|
export default OrConditions;
|
|
@@ -1,6 +1,9 @@
|
|
|
1
1
|
import React, { PropsWithChildren } from 'react';
|
|
2
2
|
import './styles/relationLabel.less';
|
|
3
|
-
|
|
3
|
+
type FCWithDefaultProps<P> = React.FC<P> & {
|
|
4
|
+
defaultProps?: Partial<P>;
|
|
5
|
+
};
|
|
6
|
+
declare const RelationLabel: FCWithDefaultProps<PropsWithChildren<{
|
|
4
7
|
show: boolean;
|
|
5
8
|
}>>;
|
|
6
9
|
export default RelationLabel;
|
|
@@ -2,5 +2,8 @@ import React from 'react';
|
|
|
2
2
|
import './styles/index.less';
|
|
3
3
|
import { QuickDatePickerTypes } from './types';
|
|
4
4
|
export declare const classPrefix = "biz-quick-date-picker-wrap";
|
|
5
|
-
|
|
5
|
+
type FCWithDefaultProps<P> = React.FC<P> & {
|
|
6
|
+
defaultProps?: Partial<P>;
|
|
7
|
+
};
|
|
8
|
+
declare const BizQuickDatePicker: FCWithDefaultProps<QuickDatePickerTypes.Props>;
|
|
6
9
|
export default BizQuickDatePicker;
|
|
@@ -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 BizSearchInput: FCWithDefaultProps<{
|
|
3
6
|
value?: string;
|
|
4
7
|
className?: string;
|
|
5
8
|
onChange?: (val: string) => void;
|
package/es/select/index.d.ts
CHANGED
|
@@ -2,5 +2,8 @@ import React, { PropsWithChildren } from 'react';
|
|
|
2
2
|
import './styles/index.less';
|
|
3
3
|
import { BizSelectTypes } from './types';
|
|
4
4
|
export declare const classPrefix = "biz-select";
|
|
5
|
-
|
|
5
|
+
type FCWithDefaultProps<P> = React.FC<P> & {
|
|
6
|
+
defaultProps?: Partial<P>;
|
|
7
|
+
};
|
|
8
|
+
declare const BizSelect: FCWithDefaultProps<PropsWithChildren<BizSelectTypes.Props>>;
|
|
6
9
|
export default BizSelect;
|
package/es/select/option.d.ts
CHANGED
|
@@ -1,5 +1,8 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import { BizSelectTypes } from './types';
|
|
3
|
-
|
|
4
|
-
|
|
3
|
+
type FCWithDefaultProps<P> = React.FC<P> & {
|
|
4
|
+
defaultProps?: Partial<P>;
|
|
5
|
+
};
|
|
6
|
+
export declare const SelectAll: FCWithDefaultProps<BizSelectTypes.SelectAllProps>;
|
|
7
|
+
declare const SelectOption: FCWithDefaultProps<BizSelectTypes.OverlayProps>;
|
|
5
8
|
export default SelectOption;
|
package/es/table/index.d.ts
CHANGED
|
@@ -2,5 +2,8 @@ import React from 'react';
|
|
|
2
2
|
import { TableProps } from 'antd/lib/table';
|
|
3
3
|
import { BizTableTypes } from './type';
|
|
4
4
|
import './styles/index.less';
|
|
5
|
-
|
|
5
|
+
type FCWithDefaultProps<P> = React.FC<P> & {
|
|
6
|
+
defaultProps?: Partial<P>;
|
|
7
|
+
};
|
|
8
|
+
declare const BizTable: FCWithDefaultProps<BizTableTypes.Props & TableProps<any>>;
|
|
6
9
|
export default BizTable;
|
|
@@ -1,6 +1,9 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import { TargetConditionTypes } from '../types';
|
|
3
|
-
|
|
3
|
+
type FCWithDefaultProps<P> = React.FC<P> & {
|
|
4
|
+
defaultProps?: Partial<P>;
|
|
5
|
+
};
|
|
6
|
+
declare const BizTargetDimension: FCWithDefaultProps<{
|
|
4
7
|
value?: TargetConditionTypes.DimensionValue;
|
|
5
8
|
eventId?: number;
|
|
6
9
|
isExtend?: boolean;
|
|
@@ -2,5 +2,8 @@ import React from 'react';
|
|
|
2
2
|
import { TargetConditionTypes } from './types';
|
|
3
3
|
import './styles/index.less';
|
|
4
4
|
export declare const classPrefix = "biz-target";
|
|
5
|
-
|
|
5
|
+
type FCWithDefaultProps<P> = React.FC<P> & {
|
|
6
|
+
defaultProps?: Partial<P>;
|
|
7
|
+
};
|
|
8
|
+
declare const BizTargetCondition: FCWithDefaultProps<TargetConditionTypes.Props>;
|
|
6
9
|
export default BizTargetCondition;
|
|
@@ -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 BizEventNameEditBox: FCWithDefaultProps<{
|
|
3
6
|
defaultValue?: string;
|
|
4
7
|
disabled?: string;
|
|
5
8
|
onCancel: () => void;
|
|
@@ -2,5 +2,8 @@ import React from 'react';
|
|
|
2
2
|
import './styles/index.less';
|
|
3
3
|
import { TargetSelectTypes } from './types';
|
|
4
4
|
export declare const classPrefix = "biz-target-select";
|
|
5
|
-
|
|
5
|
+
type FCWithDefaultProps<P> = React.FC<P> & {
|
|
6
|
+
defaultProps?: Partial<P>;
|
|
7
|
+
};
|
|
8
|
+
declare const BizTargetSelector: FCWithDefaultProps<TargetSelectTypes.Props>;
|
|
6
9
|
export default BizTargetSelector;
|
|
@@ -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 BizTargetOptionIcon: FCWithDefaultProps<{
|
|
3
6
|
enabled?: boolean;
|
|
4
7
|
title?: string;
|
|
5
8
|
name: string;
|
|
@@ -1,8 +1,12 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import { TargetSelectTypes } from './types';
|
|
3
3
|
import { EventSelectTypes } from '../eventSelector/types';
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
export declare const
|
|
8
|
-
export declare const
|
|
4
|
+
type FCWithDefaultProps<P> = React.FC<P> & {
|
|
5
|
+
defaultProps?: Partial<P>;
|
|
6
|
+
};
|
|
7
|
+
export declare const Props: FCWithDefaultProps<TargetSelectTypes.Props>;
|
|
8
|
+
export declare const Value: FCWithDefaultProps<TargetSelectTypes.Value>;
|
|
9
|
+
export declare const EventTargetValue: FCWithDefaultProps<EventSelectTypes.Value>;
|
|
10
|
+
export declare const EventGroup: FCWithDefaultProps<EventSelectTypes.Value['group']>;
|
|
11
|
+
export declare const AnalysisEvent: FCWithDefaultProps<EventSelectTypes.Value['event']>;
|
|
12
|
+
export {};
|
|
@@ -6,5 +6,8 @@ export interface ConditionTypeListPropsI {
|
|
|
6
6
|
label?: string | React.ReactNode;
|
|
7
7
|
show?: boolean;
|
|
8
8
|
}
|
|
9
|
-
|
|
9
|
+
type FCWithDefaultProps<P> = React.FC<P> & {
|
|
10
|
+
defaultProps?: Partial<P>;
|
|
11
|
+
};
|
|
12
|
+
declare const ConditionTypeList: FCWithDefaultProps<ConditionTypeListPropsI>;
|
|
10
13
|
export default ConditionTypeList;
|
|
@@ -3,5 +3,8 @@ import './styles/conditionWrap.less';
|
|
|
3
3
|
export interface ConditionWrapPropsI {
|
|
4
4
|
onDelte: () => void;
|
|
5
5
|
}
|
|
6
|
-
|
|
6
|
+
type FCWithDefaultProps<P> = React.FC<P> & {
|
|
7
|
+
defaultProps?: Partial<P>;
|
|
8
|
+
};
|
|
9
|
+
declare const ConditionWrap: FCWithDefaultProps<PropsWithChildren<ConditionWrapPropsI>>;
|
|
7
10
|
export default ConditionWrap;
|
|
@@ -7,5 +7,8 @@ export interface OperatorConditionPropsI {
|
|
|
7
7
|
queryValueObj: any;
|
|
8
8
|
onChange: (condition: any) => void;
|
|
9
9
|
}
|
|
10
|
-
|
|
10
|
+
type FCWithDefaultProps<P> = React.FC<P> & {
|
|
11
|
+
defaultProps?: Partial<P>;
|
|
12
|
+
};
|
|
13
|
+
declare const OperatorCondition: FCWithDefaultProps<OperatorConditionPropsI>;
|
|
11
14
|
export default OperatorCondition;
|
|
@@ -5,5 +5,8 @@ export interface ParamsConditionPropsI {
|
|
|
5
5
|
index: number;
|
|
6
6
|
onChange: (condition: any) => void;
|
|
7
7
|
}
|
|
8
|
-
|
|
8
|
+
type FCWithDefaultProps<P> = React.FC<P> & {
|
|
9
|
+
defaultProps?: Partial<P>;
|
|
10
|
+
};
|
|
11
|
+
declare const ParamsCondition: FCWithDefaultProps<ParamsConditionPropsI>;
|
|
9
12
|
export default ParamsCondition;
|
|
@@ -1,5 +1,8 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import { BizUserConditionT } from '../types';
|
|
3
3
|
import './styles/periodCondition.less';
|
|
4
|
-
|
|
4
|
+
type FCWithDefaultProps<P> = React.FC<P> & {
|
|
5
|
+
defaultProps?: Partial<P>;
|
|
6
|
+
};
|
|
7
|
+
declare const BusinessCondition: FCWithDefaultProps<BizUserConditionT.BusinessPropsI>;
|
|
5
8
|
export default BusinessCondition;
|
|
@@ -1,8 +1,11 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import { AllConditionBasePropsI, BizUserConditionT } from '../types';
|
|
3
3
|
import './styles/cdpCondition.less';
|
|
4
|
+
type FCWithDefaultProps<P> = React.FC<P> & {
|
|
5
|
+
defaultProps?: Partial<P>;
|
|
6
|
+
};
|
|
4
7
|
interface CdpConditionProps extends AllConditionBasePropsI<BizUserConditionT.CdpConditionDetail[]> {
|
|
5
8
|
defaultValue?: BizUserConditionT.CdpCondition;
|
|
6
9
|
}
|
|
7
|
-
declare const CdpCondition:
|
|
10
|
+
declare const CdpCondition: FCWithDefaultProps<CdpConditionProps>;
|
|
8
11
|
export default CdpCondition;
|
|
@@ -1,8 +1,11 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import { AllConditionBasePropsI, BizUserConditionT } from '../types';
|
|
3
3
|
import './styles/cdpCshCondition.less';
|
|
4
|
+
type FCWithDefaultProps<P> = React.FC<P> & {
|
|
5
|
+
defaultProps?: Partial<P>;
|
|
6
|
+
};
|
|
4
7
|
interface CdpConditionProps extends AllConditionBasePropsI<BizUserConditionT.CdpCshConditionDetail[]> {
|
|
5
8
|
defaultValue?: BizUserConditionT.CdpCshCondition;
|
|
6
9
|
}
|
|
7
|
-
declare const CdpCondition:
|
|
10
|
+
declare const CdpCondition: FCWithDefaultProps<CdpConditionProps>;
|
|
8
11
|
export default CdpCondition;
|
|
@@ -6,5 +6,8 @@ export interface DataAttributePropsI {
|
|
|
6
6
|
serviceAttrType: any;
|
|
7
7
|
onChange: (condition: any) => void;
|
|
8
8
|
}
|
|
9
|
-
|
|
9
|
+
type FCWithDefaultProps<P> = React.FC<P> & {
|
|
10
|
+
defaultProps?: Partial<P>;
|
|
11
|
+
};
|
|
12
|
+
declare const DataAttribute: FCWithDefaultProps<DataAttributePropsI>;
|
|
10
13
|
export default DataAttribute;
|
|
@@ -4,5 +4,8 @@ import './styles/eventCondition.less';
|
|
|
4
4
|
export interface EventConditionPropsI extends AllConditionBasePropsI<any> {
|
|
5
5
|
condition: BizUserConditionT.EventCondition;
|
|
6
6
|
}
|
|
7
|
-
|
|
7
|
+
type FCWithDefaultProps<P> = React.FC<P> & {
|
|
8
|
+
defaultProps?: Partial<P>;
|
|
9
|
+
};
|
|
10
|
+
declare const EventCondition: FCWithDefaultProps<EventConditionPropsI>;
|
|
8
11
|
export default EventCondition;
|
|
@@ -7,5 +7,8 @@ export interface RunPeriodConditionPropsI extends AllConditionBasePropsI<any> {
|
|
|
7
7
|
dataId: number;
|
|
8
8
|
condition: BizUserConditionT.BusinessCondition;
|
|
9
9
|
}
|
|
10
|
-
|
|
10
|
+
type FCWithDefaultProps<P> = React.FC<P> & {
|
|
11
|
+
defaultProps?: Partial<P>;
|
|
12
|
+
};
|
|
13
|
+
declare const RunPeriodCondition: FCWithDefaultProps<RunPeriodConditionPropsI>;
|
|
11
14
|
export default RunPeriodCondition;
|
|
@@ -7,5 +7,8 @@ export interface RunTimesConditionPropsI extends AllConditionBasePropsI<any> {
|
|
|
7
7
|
index?: number;
|
|
8
8
|
condition: BizUserConditionT.BusinessCondition;
|
|
9
9
|
}
|
|
10
|
-
|
|
10
|
+
type FCWithDefaultProps<P> = React.FC<P> & {
|
|
11
|
+
defaultProps?: Partial<P>;
|
|
12
|
+
};
|
|
13
|
+
declare const RunTimesCondition: FCWithDefaultProps<RunTimesConditionPropsI>;
|
|
11
14
|
export default RunTimesCondition;
|
|
@@ -7,5 +7,8 @@ export interface PeriodConditionPropsI extends AllConditionBasePropsI<RunPeriodI
|
|
|
7
7
|
runPeriod: RunPeriodI;
|
|
8
8
|
isRealTime?: boolean;
|
|
9
9
|
}
|
|
10
|
-
|
|
10
|
+
type FCWithDefaultProps<P> = React.FC<P> & {
|
|
11
|
+
defaultProps?: Partial<P>;
|
|
12
|
+
};
|
|
13
|
+
declare const PeriodCondition: FCWithDefaultProps<PeriodConditionPropsI>;
|
|
11
14
|
export default PeriodCondition;
|
|
@@ -1,5 +1,8 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import { PropConditionType } from '../types';
|
|
3
3
|
import './styles/propCondition.less';
|
|
4
|
-
|
|
4
|
+
type FCWithDefaultProps<P> = React.FC<P> & {
|
|
5
|
+
defaultProps?: Partial<P>;
|
|
6
|
+
};
|
|
7
|
+
declare const PropCondition: FCWithDefaultProps<PropConditionType.PropsI>;
|
|
5
8
|
export default PropCondition;
|
|
@@ -5,5 +5,8 @@ export interface RunTimesConditionPropsI {
|
|
|
5
5
|
runTimes: RunTimesI;
|
|
6
6
|
onChange: (data: RunTimesI) => void;
|
|
7
7
|
}
|
|
8
|
-
|
|
8
|
+
type FCWithDefaultProps<P> = React.FC<P> & {
|
|
9
|
+
defaultProps?: Partial<P>;
|
|
10
|
+
};
|
|
11
|
+
declare const RunTimesCondition: FCWithDefaultProps<RunTimesConditionPropsI>;
|
|
9
12
|
export default RunTimesCondition;
|
|
@@ -5,5 +5,8 @@ type Labels = BizUserConditionT.Labels;
|
|
|
5
5
|
export interface TagsConditionPropI extends AllConditionBasePropsI<Labels> {
|
|
6
6
|
labels: Labels;
|
|
7
7
|
}
|
|
8
|
-
|
|
8
|
+
type FCWithDefaultProps<P> = React.FC<P> & {
|
|
9
|
+
defaultProps?: Partial<P>;
|
|
10
|
+
};
|
|
11
|
+
declare const TagsCondition: FCWithDefaultProps<TagsConditionPropI>;
|
|
9
12
|
export default TagsCondition;
|
|
@@ -5,5 +5,8 @@ export interface TextProps {
|
|
|
5
5
|
condition: BizUserConditionT.ActiveCondition | BizUserConditionT.AddCondition | BizUserConditionT.PropCondition | BizUserConditionT.EventCondition | BizUserConditionT.TagsCondition | BizUserConditionT.CdpCondition | BizUserConditionT.CdpCshCondition | BizUserConditionT.OrderCondition | BizUserConditionT.BusinessCondition;
|
|
6
6
|
showOrDesc: boolean;
|
|
7
7
|
}
|
|
8
|
-
|
|
8
|
+
type FCWithDefaultProps<P> = React.FC<P> & {
|
|
9
|
+
defaultProps?: Partial<P>;
|
|
10
|
+
};
|
|
11
|
+
declare const Text: FCWithDefaultProps<TextProps>;
|
|
9
12
|
export default Text;
|
|
@@ -6,5 +6,8 @@ export interface TimeDimensionPropsI {
|
|
|
6
6
|
dataId: number;
|
|
7
7
|
onChange: (condition: any) => void;
|
|
8
8
|
}
|
|
9
|
-
|
|
9
|
+
type FCWithDefaultProps<P> = React.FC<P> & {
|
|
10
|
+
defaultProps?: Partial<P>;
|
|
11
|
+
};
|
|
12
|
+
declare const TimeDimension: FCWithDefaultProps<TimeDimensionPropsI>;
|
|
10
13
|
export default TimeDimension;
|