@bit-sun/business-component 4.0.13-alpha.8 → 4.2.0-aiwei-alpha.1
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/.umirc.ts +21 -10
- package/dist/components/Business/AddSelectBusiness/index.d.ts +3 -4
- package/dist/components/Business/BsLayouts/Components/AllFunc/drawContent.d.ts +1 -2
- package/dist/components/Business/BsLayouts/Components/ChooseStore/index.d.ts +1 -2
- package/dist/components/Business/BsLayouts/Components/CustomerMenu/MenuSetting/index.d.ts +1 -1
- package/dist/components/Business/BsLayouts/Components/CustomerMenu/MenuSetting/leftTree.d.ts +1 -1
- package/dist/components/Business/BsLayouts/Components/CustomerMenu/MenuSetting/rightTree.d.ts +2 -2
- package/dist/components/Business/BsLayouts/Components/CustomerMenu/globalMenu/DrawContent.d.ts +1 -2
- package/dist/components/Business/BsLayouts/Components/CustomerMenu/globalMenu/customMenuHeader.d.ts +1 -2
- package/dist/components/Business/BsLayouts/Components/CustomerMenu/index.d.ts +1 -1
- package/dist/components/Business/BsLayouts/Components/GlobalHeader/index.d.ts +1 -2
- package/dist/components/Business/BsLayouts/Components/RightContent/LoginModal.d.ts +1 -2
- package/dist/components/Business/BsLayouts/index.d.ts +1 -1
- package/dist/components/Business/BsSulaQueryTable/SearchItemSetting.d.ts +5 -5
- package/dist/components/Business/BsSulaQueryTable/index.d.ts +1 -2
- package/dist/components/Business/BsSulaQueryTable/setting.d.ts +11 -8
- package/dist/components/Business/BsSulaQueryTable/utils.d.ts +14 -15
- package/dist/components/Business/CommodityEntry/index.d.ts +1 -2
- package/dist/components/Business/CommonAlert/index.d.ts +1 -2
- package/dist/components/Business/CommonGuideWrapper/index.d.ts +3 -3
- package/dist/components/Business/DetailPageWrapper/index.d.ts +11 -6
- package/dist/components/Business/HomePageWrapper/index.d.ts +1 -2
- package/dist/components/Business/ItemPropertySelector/index.d.ts +2 -0
- package/dist/components/Business/JsonQueryTable/components/FieldsModifyModal.d.ts +1 -2
- package/dist/components/Business/JsonQueryTable/components/FieldsSettingsTable.d.ts +1 -2
- package/dist/components/Business/JsonQueryTable/components/Formula.d.ts +1 -2
- package/dist/components/Business/JsonQueryTable/components/MaintainOptions.d.ts +1 -2
- package/dist/components/Business/JsonQueryTable/drawer/index.d.ts +1 -2
- package/dist/components/Business/ModalUtils/index.d.ts +8 -0
- package/dist/components/Business/PropertyModal/index.d.ts +1 -2
- package/dist/components/Business/PropertyModal/propertyGroup.d.ts +1 -1
- package/dist/components/Business/SearchSelect/index.d.ts +1 -1
- package/dist/components/Business/SearchSelect/utils.d.ts +4 -2
- package/dist/components/Business/StateFlow/index.d.ts +1 -2
- package/dist/components/Business/SystemLog/index.d.ts +78 -0
- package/dist/components/Business/TreeSearchSelect/index.d.ts +1 -1
- package/dist/components/Business/columnSettingTable/columnSetting.d.ts +9 -8
- package/dist/components/Business/columnSettingTable/components/TableSumComponent.d.ts +1 -2
- package/dist/components/Business/columnSettingTable/index.d.ts +21 -4
- package/dist/components/Business/columnSettingTable/sulaSettingTable.d.ts +22 -5
- package/dist/components/Business/columnSettingTable/utils.d.ts +1 -2
- package/dist/components/Business/moreTreeTable/FixedScrollBar.d.ts +1 -1
- package/dist/components/Common/ParagraphCopier/index.d.ts +1 -1
- package/dist/components/Common/Section/index.d.ts +1 -1
- package/dist/components/Functional/AddSelect/index.d.ts +1 -2
- package/dist/components/Functional/AuthButton/index.d.ts +1 -2
- package/dist/components/Functional/DataImport/index.d.ts +3 -3
- package/dist/components/Functional/DataValidation/index.d.ts +15 -5
- package/dist/components/Functional/ExportFunctions/ExportIcon/index.d.ts +1 -2
- package/dist/components/Functional/QueryMutipleInput/index.d.ts +3 -3
- package/dist/components/Functional/QueryMutipleSelect/index.d.ts +1 -2
- package/dist/components/Functional/SearchSelect/index.d.ts +1 -1
- package/dist/components/Functional/SearchSelect/utils.d.ts +4 -4
- package/dist/components/Functional/TreeSearchSelect/index.d.ts +1 -2
- package/dist/components/Solution/RuleComponent/CustomPlugin/CustomSelector/CustomSelectorModal.d.ts +1 -1
- package/dist/components/Solution/RuleComponent/CustomPlugin/CustomSelector/index.d.ts +1 -2
- package/dist/components/Solution/RuleComponent/Formula.d.ts +1 -2
- package/dist/components/Solution/RuleComponent/InnerSelect.d.ts +1 -2
- package/dist/components/Solution/RuleComponent/RenderCompItem.d.ts +1 -2
- package/dist/components/Solution/RuleSetter/RuleInstance.d.ts +1 -2
- package/dist/components/Solution/RuleSetter/baseRule.d.ts +1 -1
- package/dist/components/Solution/RuleSetter/index.d.ts +1 -1
- package/dist/index.d.ts +2 -0
- package/dist/index.esm.js +4206 -2108
- package/dist/index.js +4215 -2106
- package/dist/plugin/TableColumnSetting/index.d.ts +6 -5
- package/dist/utils/RequestCacheManager.d.ts +82 -0
- package/dist/utils/TableUtils.d.ts +18 -19
- package/dist/utils/cachedRequest.d.ts +76 -0
- package/dist/utils/index.d.ts +1 -0
- package/dist/utils/utils.d.ts +41 -0
- package/package.json +16 -14
- package/src/assets/btn-cancel.svg +3 -0
- package/src/assets/btn-copy.svg +3 -0
- package/src/assets/btn-delete.svg +2 -29
- package/src/assets/btn-edit.svg +2 -19
- package/src/assets/btn-hangUp.svg +3 -0
- package/src/assets/btn-print.svg +3 -0
- package/src/assets/btn-refresh.svg +3 -0
- package/src/assets/btn-unhook.svg +3 -0
- package/src/components/Business/AddSelectBusiness/index.md +8 -2
- package/src/components/Business/AddSelectBusiness/index.tsx +4 -1
- package/src/components/Business/BsLayouts/Components/ChooseStore/services.ts +1 -1
- package/src/components/Business/BsLayouts/Components/GlobalHeader/index.less +1 -1
- package/src/components/Business/BsLayouts/Components/RightContent/LoginModal.tsx +1 -1
- package/src/components/Business/BsLayouts/Components/RightContent/home.less +1 -1
- package/src/components/Business/BsLayouts/Components/SearchFunc/index.less +2 -2
- package/src/components/Business/BsLayouts/service.ts +1 -1
- package/src/components/Business/BsSulaQueryTable/SearchItemSetting.tsx +6 -5
- package/src/components/Business/BsSulaQueryTable/index.less +5 -3
- package/src/components/Business/BsSulaQueryTable/index.md +45 -32
- package/src/components/Business/BsSulaQueryTable/index.tsx +154 -76
- package/src/components/Business/BsSulaQueryTable/setting.tsx +47 -11
- package/src/components/Business/BsSulaQueryTable/utils.less +1 -1
- package/src/components/Business/BsSulaQueryTable/utils.tsx +15 -12
- package/src/components/Business/CommodityEntry/index.md +1 -1
- package/src/components/Business/CommodityEntry/index.tsx +11 -9
- package/src/components/Business/DetailPageWrapper/index.less +1 -1
- package/src/components/Business/DetailPageWrapper/index.tsx +24 -5
- package/src/components/Business/DetailPageWrapper/utils.tsx +7 -2
- package/src/components/Business/HomePageWrapper/index.less +1 -1
- package/src/components/Business/ItemPropertySelector/index.tsx +88 -0
- package/src/components/Business/JsonQueryTable/function.ts +1 -1
- package/src/components/Business/JsonQueryTable/index.tsx +1 -1
- package/src/components/Business/ModalUtils/index.tsx +45 -0
- package/src/components/Business/PropertyModal/index.tsx +1 -1
- package/src/components/Business/SearchSelect/BusinessUtils.tsx +625 -76
- package/src/components/Business/SearchSelect/index.md +4 -4
- package/src/components/Business/SearchSelect/utils.ts +27 -5
- package/src/components/Business/SystemLog/index.md +37 -0
- package/src/components/Business/SystemLog/index.tsx +87 -0
- package/src/components/Business/columnSettingTable/columnSetting.tsx +28 -12
- package/src/components/Business/columnSettingTable/index.less +5 -3
- package/src/components/Business/columnSettingTable/index.md +200 -136
- package/src/components/Business/columnSettingTable/index.tsx +168 -39
- package/src/components/Business/columnSettingTable/sulaSettingTable.tsx +188 -56
- package/src/components/Functional/AddSelect/helps.ts +1 -1
- package/src/components/Functional/AddSelect/index.tsx +132 -13
- package/src/components/Functional/BillEntry/index.less +3 -0
- package/src/components/Functional/BillEntry/index.tsx +1 -1
- package/src/components/Functional/DataImport/index.tsx +1 -1
- package/src/components/Functional/DataValidation/index.md +1 -0
- package/src/components/Functional/DataValidation/index.tsx +161 -27
- package/src/components/Functional/ExportFunctions/ExportIcon/index.tsx +1 -1
- package/src/components/Functional/QueryMutipleInput/index.tsx +12 -3
- package/src/components/Functional/QueryMutipleSelect/index.tsx +3 -2
- package/src/components/Functional/SearchSelect/index.less +4 -0
- package/src/components/Functional/SearchSelect/index.tsx +68 -24
- package/src/components/Functional/SearchSelect/utils.tsx +17 -11
- package/src/components/Functional/TreeSearchSelect/index.tsx +3 -2
- package/src/components/Solution/RuleComponent/InnerSelect.tsx +1 -0
- package/src/components/Solution/RuleComponent/RenderCompItem.tsx +11 -2
- package/src/components/Solution/RuleComponent/index.js +75 -4
- package/src/components/Solution/RuleComponent/ruleFiled.js +26 -2
- package/src/components/Solution/RuleComponent/services.ts +1 -1
- package/src/components/Solution/RuleSetter/service.js +1 -1
- package/src/index.ts +3 -0
- package/src/plugin/TableColumnSetting/index.less +5 -3
- package/src/plugin/TableColumnSetting/index.tsx +80 -13
- package/src/styles/bsDefault.less +9 -3
- package/src/utils/RequestCacheManager.ts +213 -0
- package/src/utils/RequestCache_Examples.md +137 -0
- package/src/utils/RequestCache_README.md +170 -0
- package/src/utils/TableUtils.less +1 -1
- package/src/utils/cachedRequest.ts +288 -0
- package/src/utils/index.ts +1 -0
- package/src/utils/request.ts +8 -4
- package/src/utils/requestUtils.ts +1 -1
- package/src/utils/utils.ts +41 -1
|
@@ -4,14 +4,31 @@ export default class ColumnSettingTable extends React.Component {
|
|
|
4
4
|
constructor(props: any);
|
|
5
5
|
componentDidMount(): void;
|
|
6
6
|
componentWillReceiveProps(nextProps: any): void;
|
|
7
|
-
setInitialShowColumn: (columns: any[]) => void;
|
|
7
|
+
setInitialShowColumn: (columns: any[], callback?: () => void) => void;
|
|
8
8
|
reSetInitialShowColumn: () => void;
|
|
9
9
|
setShowColumns: (newColumns: Array<any>) => void;
|
|
10
10
|
getConfigFromlocalstorage: () => any;
|
|
11
|
-
|
|
11
|
+
/**
|
|
12
|
+
* 新增函数,用于根据传入的小数位数进行四舍五入
|
|
13
|
+
* @param number
|
|
14
|
+
* @param decimalPlaces
|
|
15
|
+
* @returns
|
|
16
|
+
*/
|
|
17
|
+
roundToDecimalPlaces: (number: any, decimalPlaces: number) => number;
|
|
18
|
+
/**
|
|
19
|
+
* 合计行逻辑
|
|
20
|
+
* @returns
|
|
21
|
+
*/
|
|
22
|
+
getTableSummaryInfo: () => () => JSX.Element;
|
|
12
23
|
handledynamicColumns: (col: any[]) => any[];
|
|
13
24
|
handleResize: (index: any) => (_: any, { size }: any) => void;
|
|
14
|
-
ResizeableTitle: (props: any) =>
|
|
25
|
+
ResizeableTitle: (props: any) => JSX.Element;
|
|
15
26
|
getTableScrollXWidth: (cols: any[]) => any;
|
|
16
|
-
|
|
27
|
+
/**
|
|
28
|
+
* 处理行点击事件
|
|
29
|
+
* @param record
|
|
30
|
+
*/
|
|
31
|
+
handleRowClick: (record: any) => void;
|
|
32
|
+
recalculateSummary: (nextProps: any) => void;
|
|
33
|
+
render(): JSX.Element;
|
|
17
34
|
}
|
|
@@ -1,17 +1,34 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
export default class ColumnSettingSulaTable extends React.Component {
|
|
3
|
-
sulaTableRef: React.RefObject<
|
|
3
|
+
sulaTableRef: React.RefObject<any>;
|
|
4
4
|
state: any;
|
|
5
5
|
constructor(props: any);
|
|
6
6
|
componentDidMount(): void;
|
|
7
7
|
componentWillReceiveProps(nextProps: any): void;
|
|
8
|
-
setInitialShowColumn: (columns: any[]) => void;
|
|
8
|
+
setInitialShowColumn: (columns: any[], callback?: () => void) => void;
|
|
9
9
|
setShowColumns: (newColumns: Array<any>) => void;
|
|
10
10
|
getConfigFromlocalstorage: () => any;
|
|
11
|
-
|
|
11
|
+
/**
|
|
12
|
+
* 新增函数,用于根据传入的小数位数进行四舍五入
|
|
13
|
+
* @param number
|
|
14
|
+
* @param decimalPlaces
|
|
15
|
+
* @returns
|
|
16
|
+
*/
|
|
17
|
+
roundToDecimalPlaces: (number: any, decimalPlaces: number) => number;
|
|
18
|
+
/**
|
|
19
|
+
* 合计行逻辑
|
|
20
|
+
* @returns
|
|
21
|
+
*/
|
|
22
|
+
getTableSummaryInfo: () => () => JSX.Element;
|
|
12
23
|
handledynamicColumns: (col: any[]) => any[];
|
|
13
24
|
handleResize: (index: any) => (_: any, { size }: any) => void;
|
|
14
|
-
ResizeableTitle: (props: any) =>
|
|
25
|
+
ResizeableTitle: (props: any) => JSX.Element;
|
|
15
26
|
getTableScrollXWidth: (cols: any[]) => any;
|
|
16
|
-
|
|
27
|
+
/**
|
|
28
|
+
* 处理行点击事件
|
|
29
|
+
* @param record
|
|
30
|
+
*/
|
|
31
|
+
handleRowClick: (record: any) => void;
|
|
32
|
+
recalculateSummary: (nextProps: any) => void;
|
|
33
|
+
render(): JSX.Element;
|
|
17
34
|
}
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
1
|
/**
|
|
3
2
|
* 非空数组
|
|
4
3
|
* @param arr 要判断的数据
|
|
@@ -6,5 +5,5 @@ import React from 'react';
|
|
|
6
5
|
*/
|
|
7
6
|
export declare const noEmptyArray: (arr: any[]) => boolean;
|
|
8
7
|
export declare const getItemDefaultWidth: (item: any) => number;
|
|
9
|
-
export declare const handleTextOverflow: (text: string | undefined, width?: number) =>
|
|
8
|
+
export declare const handleTextOverflow: (text: string | undefined, width?: number) => JSX.Element;
|
|
10
9
|
export declare const getShowColumns: (originColumns: any[], configs: any[]) => any[];
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
-
declare const _default: React.ForwardRefExoticComponent<
|
|
2
|
+
declare const _default: React.ForwardRefExoticComponent<Pick<any, string | number | symbol> & React.RefAttributes<unknown>>;
|
|
3
3
|
export default _default;
|
|
@@ -4,5 +4,5 @@ export interface ParagraphCopierProps {
|
|
|
4
4
|
text: string;
|
|
5
5
|
enableHover?: boolean;
|
|
6
6
|
}
|
|
7
|
-
declare const ParagraphCopier: (props: ParagraphCopierProps) =>
|
|
7
|
+
declare const ParagraphCopier: (props: ParagraphCopierProps) => JSX.Element;
|
|
8
8
|
export default ParagraphCopier;
|
|
@@ -25,5 +25,5 @@ interface IProps {
|
|
|
25
25
|
ellipsis?: ellipsisProps;
|
|
26
26
|
}
|
|
27
27
|
export type SectionProps = PropsWithChildren<IProps>;
|
|
28
|
-
declare const Section: ({ children, copyable, label, icon, ellipsis, }: SectionProps) =>
|
|
28
|
+
declare const Section: ({ children, copyable, label, icon, ellipsis, }: SectionProps) => JSX.Element;
|
|
29
29
|
export default Section;
|
|
@@ -137,10 +137,10 @@ declare class DataImport extends React.Component {
|
|
|
137
137
|
toggleData: () => void;
|
|
138
138
|
onChange: (e: any) => void;
|
|
139
139
|
errorChange: (e: any) => void;
|
|
140
|
-
menuList:
|
|
141
|
-
leftMenu:
|
|
140
|
+
menuList: JSX.Element;
|
|
141
|
+
leftMenu: JSX.Element;
|
|
142
142
|
getSheetMap: () => {};
|
|
143
143
|
importExcelToLuckySheet: (resultData: any) => void;
|
|
144
|
-
render():
|
|
144
|
+
render(): JSX.Element;
|
|
145
145
|
}
|
|
146
146
|
export default DataImport;
|
|
@@ -5,16 +5,22 @@ declare class DataValidation extends React.Component {
|
|
|
5
5
|
onDragEnd(result: any): void;
|
|
6
6
|
getCount: () => {
|
|
7
7
|
total: any;
|
|
8
|
+
totalQuantity: any;
|
|
9
|
+
totalSuccessQuantity: any;
|
|
10
|
+
totalErrorQuantity: any;
|
|
8
11
|
error: any;
|
|
12
|
+
success: any;
|
|
9
13
|
};
|
|
10
14
|
setConfig: (data: any) => {
|
|
11
15
|
container: string;
|
|
12
|
-
showtoolbar: boolean;
|
|
13
16
|
hook: {
|
|
14
17
|
columnTitleCellRenderBefore: (columnAbc: any, postion: any, ctx: any) => void;
|
|
15
18
|
cellRenderBefore: (cell: any, postion: any, sheetFile: any, ctx: any) => void;
|
|
16
19
|
cellAllRenderBefore: (data: any, sheetFile: any, ctx: any) => void;
|
|
17
20
|
};
|
|
21
|
+
showtoolbarConfig: {
|
|
22
|
+
sortAndFilter: boolean;
|
|
23
|
+
};
|
|
18
24
|
data: {
|
|
19
25
|
name: string;
|
|
20
26
|
color: string;
|
|
@@ -132,15 +138,19 @@ declare class DataValidation extends React.Component {
|
|
|
132
138
|
failData: any;
|
|
133
139
|
};
|
|
134
140
|
getData: () => any;
|
|
135
|
-
|
|
141
|
+
naturalCompare: (a: any, b: any) => any;
|
|
142
|
+
customSort: (a: any, b: any) => any;
|
|
143
|
+
sortData: (sorterKey: string) => void;
|
|
144
|
+
resetData: () => Promise<void>;
|
|
136
145
|
filterData: (type: string) => void;
|
|
137
146
|
toggleData: () => void;
|
|
138
147
|
onChange: (e: any) => void;
|
|
139
148
|
errorChange: (e: any) => void;
|
|
140
|
-
menuList:
|
|
141
|
-
leftMenu:
|
|
149
|
+
menuList: JSX.Element;
|
|
150
|
+
leftMenu: JSX.Element;
|
|
151
|
+
getSortList: () => JSX.Element;
|
|
142
152
|
getSheetMap: () => {};
|
|
143
153
|
importExcelToLuckySheet: (resultData: any) => void;
|
|
144
|
-
render():
|
|
154
|
+
render(): JSX.Element;
|
|
145
155
|
}
|
|
146
156
|
export default DataValidation;
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
1
|
interface exportIconType {
|
|
3
2
|
/** others选填,使用axios发请求,*/
|
|
4
3
|
request: {
|
|
@@ -9,5 +8,5 @@ interface exportIconType {
|
|
|
9
8
|
/** BsSulaQueryTable的tableRef*/
|
|
10
9
|
tableRef: any;
|
|
11
10
|
}
|
|
12
|
-
declare const ExportIcon: ({ request: exportRequest, tableRef, allowSelect, columnsRowKey }: exportIconType) =>
|
|
11
|
+
declare const ExportIcon: ({ request: exportRequest, tableRef, allowSelect, columnsRowKey }: exportIconType) => JSX.Element;
|
|
13
12
|
export default ExportIcon;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
1
|
import './index.less';
|
|
3
|
-
declare const QueryMutipleInput: ({ onValueChange, onPressEnter }: {
|
|
2
|
+
declare const QueryMutipleInput: ({ onValueChange, onPressEnter, value: initialValue }: {
|
|
4
3
|
onValueChange: any;
|
|
5
4
|
onPressEnter: any;
|
|
6
|
-
|
|
5
|
+
value: any;
|
|
6
|
+
}) => JSX.Element;
|
|
7
7
|
export default QueryMutipleInput;
|
|
@@ -1,5 +1,4 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
1
|
import './index.less';
|
|
3
2
|
export declare const getValue: (value: any, selectMode?: any) => any;
|
|
4
|
-
declare const QueryMutipleSearchSelect: ({ onValueChange, requestConfig, selectProps, ctx }: any) =>
|
|
3
|
+
declare const QueryMutipleSearchSelect: ({ onValueChange, requestConfig, selectProps, ctx }: any) => JSX.Element;
|
|
5
4
|
export default QueryMutipleSearchSelect;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import './index.less';
|
|
3
|
-
declare const SearchSelect: React.ForwardRefExoticComponent<
|
|
3
|
+
declare const SearchSelect: React.ForwardRefExoticComponent<Pick<any, string | number | symbol> & React.RefAttributes<unknown>>;
|
|
4
4
|
export default SearchSelect;
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
/// <reference types="lodash" />
|
|
2
|
-
import React from 'react';
|
|
3
2
|
export declare const columnsPerRow = 4;
|
|
4
3
|
export declare const ColSpan = 6;
|
|
5
4
|
export declare const handleSourceName: (sName: any) => any;
|
|
6
5
|
export declare const makeUniqueValue: () => string;
|
|
7
|
-
export declare const getFormRowInfo: (list: any) => {
|
|
6
|
+
export declare const getFormRowInfo: (list: any, tableSearchColSpan: number) => {
|
|
8
7
|
totalRows: number;
|
|
9
8
|
emptyArray: any[];
|
|
9
|
+
ColSpan: number;
|
|
10
10
|
};
|
|
11
11
|
export declare const defaultVisibleFieldsCount = 7;
|
|
12
12
|
export declare const getVisibleFieldsCount: (modalTableProps: any) => any;
|
|
@@ -23,7 +23,7 @@ export declare const convertUrlQueryParams: (params: any) => string;
|
|
|
23
23
|
export declare const convertBodyParams: (params: any) => any;
|
|
24
24
|
export declare const convertResData: (requestConfig: any, res: any, selectProps: any) => any;
|
|
25
25
|
export declare const handleSelectOptionsShowValue: (specialBracket: boolean, noNeedSplit: boolean, item: any) => any;
|
|
26
|
-
export declare const LightHeightOption: (props: any) =>
|
|
27
|
-
export declare const maxTagPlaceholder: (selectedValues: any, { selectProps, onChange, value, setIsMaxTagsOpen }: any) =>
|
|
26
|
+
export declare const LightHeightOption: (props: any) => JSX.Element;
|
|
27
|
+
export declare const maxTagPlaceholder: (selectedValues: any, { selectProps, onChange, value, setIsMaxTagsOpen }: any) => JSX.Element;
|
|
28
28
|
export declare const handleTableColumns: (tableColumns: any) => any;
|
|
29
29
|
export declare const getShowStr: ({ viewShowValueStr, labelInValue, selectMode, value, items }: any) => any;
|
package/dist/components/Solution/RuleComponent/CustomPlugin/CustomSelector/CustomSelectorModal.d.ts
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
-
declare const _default: React.ForwardRefExoticComponent<
|
|
2
|
+
declare const _default: React.ForwardRefExoticComponent<Pick<any, string | number | symbol> & React.RefAttributes<unknown>>;
|
|
3
3
|
export default _default;
|
|
@@ -1,9 +1,8 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
1
|
declare const App: ({ setValue, formula, record, sourceData, disabled }: {
|
|
3
2
|
setValue: any;
|
|
4
3
|
record: any;
|
|
5
4
|
sourceData: any;
|
|
6
5
|
formula?: any;
|
|
7
6
|
disabled?: boolean | undefined;
|
|
8
|
-
}) =>
|
|
7
|
+
}) => JSX.Element;
|
|
9
8
|
export default App;
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
1
|
interface Iprops {
|
|
3
2
|
disabled: boolean;
|
|
4
3
|
inputType: number;
|
|
@@ -8,5 +7,5 @@ interface Iprops {
|
|
|
8
7
|
onChange: any;
|
|
9
8
|
dictionaryCode?: string;
|
|
10
9
|
}
|
|
11
|
-
declare const _default: (props: Iprops) =>
|
|
10
|
+
declare const _default: (props: Iprops) => JSX.Element;
|
|
12
11
|
export default _default;
|
|
@@ -1,2 +1 @@
|
|
|
1
|
-
|
|
2
|
-
export default function RenderCompItem(props: any): React.JSX.Element | undefined;
|
|
1
|
+
export default function RenderCompItem(props: any): JSX.Element | undefined;
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
-
declare const _default: React.ForwardRefExoticComponent<
|
|
2
|
+
declare const _default: React.ForwardRefExoticComponent<Pick<any, string | number | symbol> & React.RefAttributes<unknown>>;
|
|
3
3
|
export default _default;
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
-
declare const _default: React.ForwardRefExoticComponent<
|
|
2
|
+
declare const _default: React.ForwardRefExoticComponent<Pick<any, string | number | symbol> & React.RefAttributes<unknown>>;
|
|
3
3
|
export default _default;
|
package/dist/index.d.ts
CHANGED
|
@@ -28,6 +28,7 @@ export { default as TableColumnSetting } from './plugin/TableColumnSetting';
|
|
|
28
28
|
export { default as AuthButton } from './components/Functional/AuthButton';
|
|
29
29
|
export { default as CustomSelector } from './components/Solution/RuleComponent/CustomPlugin/CustomSelector';
|
|
30
30
|
export { default as PropertySelector } from './components/Business/PropertyModal';
|
|
31
|
+
export { default as ModalUtils } from './components/Business/ModalUtils';
|
|
31
32
|
export { default as EllipsisTooltip } from './components/Functional/EllipsisTooltip';
|
|
32
33
|
export * from './components/Functional/BsAntdSula/index';
|
|
33
34
|
export { default as RuleComponent } from './components/Solution/RuleComponent';
|
|
@@ -35,3 +36,4 @@ export { default as RuleSetter } from './components/Solution/RuleSetter';
|
|
|
35
36
|
export { default as ExtendedCollapse } from './components/Common/ExtendedCollapse';
|
|
36
37
|
export { default as Section } from './components/Common/Section';
|
|
37
38
|
export { default as ParagraphCopier } from './components/Common/ParagraphCopier';
|
|
39
|
+
export { default as SystemLog } from './components/Business/SystemLog';
|