@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.
Files changed (118) hide show
  1. package/es/AUMFormulaTarget/components/formulaItem/index.d.ts +4 -1
  2. package/es/AUMFormulaTarget/components/panel/item.d.ts +4 -1
  3. package/es/AUMFormulaTarget/components/symbol/index.d.ts +4 -1
  4. package/es/AUMFormulaTarget/index.d.ts +4 -1
  5. package/es/addToPanel/components/addPanel.d.ts +4 -1
  6. package/es/addToPanel/components/numberChart.d.ts +4 -1
  7. package/es/addToPanel/components/radioGroup.d.ts +4 -1
  8. package/es/addToPanel/components/radioGroup.js +3 -11
  9. package/es/addToPanel/components/styleList.d.ts +4 -1
  10. package/es/addToPanel/components/styleList.js +0 -3
  11. package/es/addToPanel/index.d.ts +4 -1
  12. package/es/addToPanel/index.js +1 -4
  13. package/es/addToScene/addGroup.d.ts +4 -1
  14. package/es/addToScene/index.d.ts +4 -1
  15. package/es/addToScene/index.js +1 -1
  16. package/es/assets/demo/index.d.ts +4 -1
  17. package/es/attrCondition/group.js +0 -3
  18. package/es/attrCondition/index.d.ts +4 -1
  19. package/es/attrConditions/components/operateList.d.ts +4 -1
  20. package/es/attrConditions/components/stringList.d.ts +4 -1
  21. package/es/attrConditions/components/valuesList.d.ts +4 -1
  22. package/es/attrConditions/index.d.ts +4 -1
  23. package/es/attrConditions/index.js +2 -5
  24. package/es/attributeSelector/index.d.ts +4 -1
  25. package/es/attributeSelector/listPanel.d.ts +4 -1
  26. package/es/attributeSelector/option.d.ts +4 -1
  27. package/es/colorIcon/index.d.ts +4 -1
  28. package/es/context/types.d.ts +8 -4
  29. package/es/cycleTime/index.d.ts +4 -1
  30. package/es/cycleTime/month.d.ts +4 -1
  31. package/es/dataSetGroup/index.d.ts +4 -1
  32. package/es/dataSetGroup/overlay.d.ts +4 -1
  33. package/es/datePicker/datePicker.d.ts +4 -1
  34. package/es/datePicker/datePicker.js +1 -1
  35. package/es/datePicker/demo/index.js +1 -0
  36. package/es/datePicker/index.d.ts +4 -1
  37. package/es/datePicker/shortcut.d.ts +4 -1
  38. package/es/demoWrapper/content.d.ts +4 -1
  39. package/es/demoWrapper/head.d.ts +4 -1
  40. package/es/demoWrapper/index.d.ts +4 -1
  41. package/es/demoWrapper/innerDemo.d.ts +4 -1
  42. package/es/demoWrapper/types.d.ts +4 -1
  43. package/es/dialog/index.d.ts +4 -1
  44. package/es/dnd/index.d.ts +4 -1
  45. package/es/dnd/item.d.ts +4 -1
  46. package/es/dnd/item.js +1 -1
  47. package/es/eventSelector/index.d.ts +4 -1
  48. package/es/eventSelector/listPanel.d.ts +5 -2
  49. package/es/eventSelector/option.d.ts +4 -1
  50. package/es/formulaTarget/components/formulaItem/index.d.ts +4 -1
  51. package/es/formulaTarget/components/panel/item.d.ts +4 -1
  52. package/es/formulaTarget/components/symbol/index.d.ts +4 -1
  53. package/es/formulaTarget/index.d.ts +4 -1
  54. package/es/icon/iconFont.d.ts +4 -1
  55. package/es/layout/analysisLayout/index.d.ts +4 -1
  56. package/es/layout/columnLayout/index.d.ts +4 -1
  57. package/es/layout/detail/index.d.ts +4 -1
  58. package/es/layout/optionTitle/components/btnMenu/api.d.ts +6 -2
  59. package/es/layout/optionTitle/components/btnMenu/index.d.ts +4 -1
  60. package/es/layout/optionTitle/index.d.ts +4 -1
  61. package/es/layout/optionTitle/typesValue.d.ts +6 -2
  62. package/es/loading/index.d.ts +4 -1
  63. package/es/loginForm/index.d.ts +4 -1
  64. package/es/productCondition/conditionTypeList.d.ts +4 -1
  65. package/es/productCondition/conditionWrap.d.ts +4 -1
  66. package/es/productCondition/conditions/cdpCshCondition.d.ts +4 -1
  67. package/es/productCondition/conditions/eventCondition.d.ts +4 -1
  68. package/es/productCondition/conditions/order/runPeriodCondition.d.ts +4 -1
  69. package/es/productCondition/conditions/order/runTimesCondition.d.ts +4 -1
  70. package/es/productCondition/conditions/periodCondition.d.ts +4 -1
  71. package/es/productCondition/conditions/propCondition.d.ts +4 -1
  72. package/es/productCondition/conditions/runTimesCondition.d.ts +4 -1
  73. package/es/productCondition/conditions/textDesc.d.ts +4 -1
  74. package/es/productCondition/conditions/timeDimension.d.ts +4 -1
  75. package/es/productCondition/index.d.ts +4 -1
  76. package/es/productCondition/orConditions.d.ts +4 -1
  77. package/es/productCondition/relationLabel.d.ts +4 -1
  78. package/es/quickDatePicker/index.d.ts +4 -1
  79. package/es/searchInput/index.d.ts +4 -1
  80. package/es/select/index.d.ts +4 -1
  81. package/es/select/option.d.ts +5 -2
  82. package/es/table/index.d.ts +4 -1
  83. package/es/targetConditionGroup/components/targetDimension.d.ts +4 -1
  84. package/es/targetConditionGroup/index.d.ts +4 -1
  85. package/es/targetSelector/editBox.d.ts +4 -1
  86. package/es/targetSelector/index.d.ts +4 -1
  87. package/es/targetSelector/optionIcon.d.ts +4 -1
  88. package/es/targetSelector/types.d.ts +9 -5
  89. package/es/userCondition/conditionTypeList.d.ts +4 -1
  90. package/es/userCondition/conditionWrap.d.ts +4 -1
  91. package/es/userCondition/conditions/business/operatorCondition.d.ts +4 -1
  92. package/es/userCondition/conditions/business/paramsCondition.d.ts +4 -1
  93. package/es/userCondition/conditions/businessCondition.d.ts +4 -1
  94. package/es/userCondition/conditions/cdpCondition.d.ts +4 -1
  95. package/es/userCondition/conditions/cdpCshCondition.d.ts +4 -1
  96. package/es/userCondition/conditions/dataAttribute.d.ts +4 -1
  97. package/es/userCondition/conditions/eventCondition.d.ts +4 -1
  98. package/es/userCondition/conditions/order/runPeriodCondition.d.ts +4 -1
  99. package/es/userCondition/conditions/order/runTimesCondition.d.ts +4 -1
  100. package/es/userCondition/conditions/periodCondition.d.ts +4 -1
  101. package/es/userCondition/conditions/propCondition.d.ts +4 -1
  102. package/es/userCondition/conditions/runTimesCondition.d.ts +4 -1
  103. package/es/userCondition/conditions/tagsCondition.d.ts +4 -1
  104. package/es/userCondition/conditions/textDesc.d.ts +4 -1
  105. package/es/userCondition/conditions/timeDimension.d.ts +4 -1
  106. package/es/userCondition/index.d.ts +4 -1
  107. package/es/userCondition/orConditions.d.ts +4 -1
  108. package/es/userCondition/relationLabel.d.ts +4 -1
  109. package/es/userGroup/index.d.ts +4 -1
  110. package/es/userGroup/overlay.d.ts +4 -1
  111. package/es/userGroupHeader/index.d.ts +4 -1
  112. package/es/userTagsSelector/cascaderOverlay.d.ts +4 -1
  113. package/es/userTagsSelector/components/search/index.d.ts +4 -1
  114. package/es/userTagsSelector/components/tagList/index.d.ts +4 -1
  115. package/es/userTagsSelector/groups/index.d.ts +4 -1
  116. package/es/userTagsSelector/index.d.ts +4 -1
  117. package/es/userTagsSelector/multipleCheckPanel/index.d.ts +4 -1
  118. 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
- declare const BizFormulaTarget: React.FC<BizFormulaTargetTypes.Props>;
4
+ type FCWithDefaultProps<P> = React.FC<P> & {
5
+ defaultProps?: Partial<P>;
6
+ };
7
+ declare const BizFormulaTarget: FCWithDefaultProps<BizFormulaTargetTypes.Props>;
5
8
  export default BizFormulaTarget;
@@ -5,5 +5,8 @@ interface Props extends IconFontProps {
5
5
  size?: number;
6
6
  className?: string;
7
7
  }
8
- declare const IconFont: React.FC<Props>;
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
- declare const BizAnalysisLayout: React.FC<AnalysisLayoutProps>;
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
- declare const BizLayout: React.FC<LayoutTypes.Props>;
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
- declare const BizDetailLayout: React.FC<{
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
- export declare const BtnMenuProps_: React.FC<BizOptionTitleProps.BtnMenuProps>;
4
- export declare const BtnItem_: React.FC<BizOptionTitleProps.BtnItem>;
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
- export declare const BizBtnMenu: React.FC<BizOptionTitleProps.BtnMenuProps>;
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
- declare const BizTargetFromPanel: React.FC<BizOptionTitleProps.Props>;
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
- export declare const Value: React.FC<BizOptionTitleProps.Value>;
4
- export declare const TargetValue: React.FC<BizOptionTitleProps.TargetValue>;
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 {};
@@ -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
- declare const BizLoading: React.FC<LoadingTypes>;
5
+ type FCWithDefaultProps<P> = React.FC<P> & {
6
+ defaultProps?: Partial<P>;
7
+ };
8
+ declare const BizLoading: FCWithDefaultProps<LoadingTypes>;
6
9
  export default BizLoading;
@@ -1,6 +1,9 @@
1
1
  import React from 'react';
2
2
  import './index.less';
3
- declare const BizLoginForm: React.FC<{
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
- declare const ConditionTypeList: React.FC<ConditionTypeListPropsI>;
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
- declare const ConditionWrap: React.FC<PropsWithChildren<ConditionWrapPropsI>>;
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: React.FC<CdpConditionProps>;
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
- declare const EventCondition: React.FC<EventConditionPropsI>;
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
- declare const RunPeriodCondition: React.FC<RunPeriodConditionPropsI>;
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
- declare const RunTimesCondition: React.FC<RunTimesConditionPropsI>;
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
- declare const PeriodCondition: React.FC<PeriodConditionPropsI>;
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
- declare const PropCondition: React.FC<PropConditionType.PropsI>;
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
- declare const RunTimesCondition: React.FC<RunTimesConditionPropsI>;
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
- declare const Text: React.FC<TextProps>;
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
- declare const TimeDimension: React.FC<TimeDimensionPropsI>;
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
- declare const BizUserCondition: React.FC<BizProductConditionT.PropsI>;
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
- declare const OrConditions: React.FC<OrConditionsT.PropI>;
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
- declare const RelationLabel: React.FC<PropsWithChildren<{
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
- declare const BizQuickDatePicker: React.FC<QuickDatePickerTypes.Props>;
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
- declare const BizSearchInput: React.FC<{
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;
@@ -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
- declare const BizSelect: React.FC<PropsWithChildren<BizSelectTypes.Props>>;
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;
@@ -1,5 +1,8 @@
1
1
  import React from 'react';
2
2
  import { BizSelectTypes } from './types';
3
- export declare const SelectAll: React.FC<BizSelectTypes.SelectAllProps>;
4
- declare const SelectOption: React.FC<BizSelectTypes.OverlayProps>;
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;
@@ -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
- declare const BizTable: React.FC<BizTableTypes.Props & TableProps<any>>;
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
- declare const BizTargetDimension: React.FC<{
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
- declare const BizTargetCondition: React.FC<TargetConditionTypes.Props>;
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
- declare const BizEventNameEditBox: React.FC<{
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
- declare const BizTargetSelector: React.FC<TargetSelectTypes.Props>;
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
- declare const BizTargetOptionIcon: React.FC<{
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
- export declare const Props: React.FC<TargetSelectTypes.Props>;
5
- export declare const Value: React.FC<TargetSelectTypes.Value>;
6
- export declare const EventTargetValue: React.FC<EventSelectTypes.Value>;
7
- export declare const EventGroup: React.FC<EventSelectTypes.Value['group']>;
8
- export declare const AnalysisEvent: React.FC<EventSelectTypes.Value['event']>;
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
- declare const ConditionTypeList: React.FC<ConditionTypeListPropsI>;
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
- declare const ConditionWrap: React.FC<PropsWithChildren<ConditionWrapPropsI>>;
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
- declare const OperatorCondition: React.FC<OperatorConditionPropsI>;
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
- declare const ParamsCondition: React.FC<ParamsConditionPropsI>;
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
- declare const BusinessCondition: React.FC<BizUserConditionT.BusinessPropsI>;
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: React.FC<CdpConditionProps>;
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: React.FC<CdpConditionProps>;
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
- declare const DataAttribute: React.FC<DataAttributePropsI>;
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
- declare const EventCondition: React.FC<EventConditionPropsI>;
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
- declare const RunPeriodCondition: React.FC<RunPeriodConditionPropsI>;
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
- declare const RunTimesCondition: React.FC<RunTimesConditionPropsI>;
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
- declare const PeriodCondition: React.FC<PeriodConditionPropsI>;
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
- declare const PropCondition: React.FC<PropConditionType.PropsI>;
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
- declare const RunTimesCondition: React.FC<RunTimesConditionPropsI>;
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
- declare const TagsCondition: React.FC<TagsConditionPropI>;
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
- declare const Text: React.FC<TextProps>;
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
- declare const TimeDimension: React.FC<TimeDimensionPropsI>;
9
+ type FCWithDefaultProps<P> = React.FC<P> & {
10
+ defaultProps?: Partial<P>;
11
+ };
12
+ declare const TimeDimension: FCWithDefaultProps<TimeDimensionPropsI>;
10
13
  export default TimeDimension;