@bit-sun/business-component 4.2.0-alpha.1 → 4.2.0-alpha.11
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 +9 -9
- 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 +6 -6
- 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 +12 -12
- package/dist/components/Business/HomePageWrapper/index.d.ts +1 -2
- package/dist/components/Business/ItemPropertySelector/index.d.ts +1 -2
- 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/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/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 +6 -6
- package/dist/components/Business/columnSettingTable/components/TableSumComponent.d.ts +1 -2
- package/dist/components/Business/columnSettingTable/index.d.ts +3 -3
- package/dist/components/Business/columnSettingTable/sulaSettingTable.d.ts +3 -3
- 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 +5 -5
- package/dist/components/Functional/ExportFunctions/ExportIcon/index.d.ts +1 -2
- package/dist/components/Functional/QueryMutipleInput/index.d.ts +1 -2
- 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 +2 -3
- 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 +3 -0
- package/dist/index.esm.js +1843 -1176
- package/dist/index.js +1845 -1174
- package/dist/plugin/TableColumnSetting/index.d.ts +5 -5
- package/dist/utils/TableUtils.d.ts +18 -19
- package/dist/utils/utils.d.ts +41 -0
- package/docs/flow-control-readme.md +283 -0
- package/package.json +1 -1
- package/src/components/Business/BsSulaQueryTable/SearchItemSetting.tsx +0 -1
- package/src/components/Business/BsSulaQueryTable/index.md +57 -4
- package/src/components/Business/BsSulaQueryTable/index.tsx +164 -7
- package/src/components/Business/BsSulaQueryTable/setting.tsx +6 -0
- package/src/components/Business/DetailPageWrapper/index.tsx +81 -1
- package/src/components/Business/DetailPageWrapper/readme.md +89 -0
- package/src/components/Business/SearchSelect/BusinessUtils.tsx +364 -42
- package/src/components/Business/SystemLog/index.md +37 -0
- package/src/components/Business/SystemLog/index.tsx +87 -0
- package/src/components/Business/columnSettingTable/index.tsx +7 -6
- package/src/components/Business/columnSettingTable/sulaSettingTable.tsx +23 -22
- package/src/components/Functional/AddSelect/index.tsx +92 -0
- package/src/components/Functional/DataValidation/index.tsx +22 -3
- package/src/components/Functional/QueryMutipleInput/index.tsx +1 -1
- package/src/components/Functional/SearchSelect/index.tsx +6 -3
- package/src/components/Functional/SearchSelect/utils.tsx +4 -1
- package/src/components/Solution/RuleComponent/RenderCompItem.tsx +9 -1
- package/src/components/Solution/RuleComponent/RenderCompItem_README.md +189 -0
- package/src/components/Solution/RuleComponent/index.js +1 -0
- package/src/components/Solution/RuleComponent/ruleFiled.js +25 -1
- package/src/index.ts +7 -0
- package/src/utils/utils.ts +41 -1
|
@@ -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;
|
|
@@ -141,16 +141,16 @@ declare class DataValidation extends React.Component {
|
|
|
141
141
|
naturalCompare: (a: any, b: any) => any;
|
|
142
142
|
customSort: (a: any, b: any) => any;
|
|
143
143
|
sortData: (sorterKey: string) => void;
|
|
144
|
-
resetData: () => void
|
|
144
|
+
resetData: () => Promise<void>;
|
|
145
145
|
filterData: (type: string) => void;
|
|
146
146
|
toggleData: () => void;
|
|
147
147
|
onChange: (e: any) => void;
|
|
148
148
|
errorChange: (e: any) => void;
|
|
149
|
-
menuList:
|
|
150
|
-
leftMenu:
|
|
151
|
-
getSortList: () =>
|
|
149
|
+
menuList: JSX.Element;
|
|
150
|
+
leftMenu: JSX.Element;
|
|
151
|
+
getSortList: () => JSX.Element;
|
|
152
152
|
getSheetMap: () => {};
|
|
153
153
|
importExcelToLuckySheet: (resultData: any) => void;
|
|
154
|
-
render():
|
|
154
|
+
render(): JSX.Element;
|
|
155
155
|
}
|
|
156
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,8 +1,7 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
1
|
import './index.less';
|
|
3
2
|
declare const QueryMutipleInput: ({ onValueChange, onPressEnter, value: initialValue }: {
|
|
4
3
|
onValueChange: any;
|
|
5
4
|
onPressEnter: any;
|
|
6
5
|
value: any;
|
|
7
|
-
}) =>
|
|
6
|
+
}) => JSX.Element;
|
|
8
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,5 +1,4 @@
|
|
|
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;
|
|
@@ -24,7 +23,7 @@ export declare const convertUrlQueryParams: (params: any) => string;
|
|
|
24
23
|
export declare const convertBodyParams: (params: any) => any;
|
|
25
24
|
export declare const convertResData: (requestConfig: any, res: any, selectProps: any) => any;
|
|
26
25
|
export declare const handleSelectOptionsShowValue: (specialBracket: boolean, noNeedSplit: boolean, item: any) => any;
|
|
27
|
-
export declare const LightHeightOption: (props: any) =>
|
|
28
|
-
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;
|
|
29
28
|
export declare const handleTableColumns: (tableColumns: any) => any;
|
|
30
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
|
@@ -33,6 +33,9 @@ export { default as EllipsisTooltip } from './components/Functional/EllipsisTool
|
|
|
33
33
|
export * from './components/Functional/BsAntdSula/index';
|
|
34
34
|
export { default as RuleComponent } from './components/Solution/RuleComponent';
|
|
35
35
|
export { default as RuleSetter } from './components/Solution/RuleSetter';
|
|
36
|
+
export { default as RenderCompItem } from './components/Solution/RuleComponent/RenderCompItem';
|
|
37
|
+
export { processDetailButtonsVisible as processDetailButtonsVisible } from './components/Business/DetailPageWrapper';
|
|
36
38
|
export { default as ExtendedCollapse } from './components/Common/ExtendedCollapse';
|
|
37
39
|
export { default as Section } from './components/Common/Section';
|
|
38
40
|
export { default as ParagraphCopier } from './components/Common/ParagraphCopier';
|
|
41
|
+
export { default as SystemLog } from './components/Business/SystemLog';
|