@bit-sun/business-component 2.4.18 → 3.0.0-alpha.0
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/dist/components/Business/BsLayouts/Components/ChooseStore/index.d.ts +3 -0
- package/dist/components/Business/BsLayouts/Components/ChooseStore/services.d.ts +1 -0
- package/dist/components/Business/BsLayouts/Components/RightContent/i18n.d.ts +9 -0
- package/dist/components/Business/BsLayouts/service.d.ts +1 -1
- package/dist/components/Business/BsSulaQueryTable/index.d.ts +1 -0
- package/dist/components/Business/BsSulaQueryTable/setting.d.ts +1 -1
- package/dist/components/Business/BsSulaQueryTable/utils.d.ts +1 -0
- package/dist/components/Business/columnSettingTable/columnSetting.d.ts +1 -0
- package/dist/components/Functional/ExportFunctions/ExportIcon/index.d.ts +1 -1
- package/dist/components/Functional/QueryMutipleInput/index.d.ts +2 -1
- package/dist/components/Solution/RuleComponent/RenderCompItem.d.ts +2 -0
- package/dist/components/Solution/RuleComponent/services.d.ts +1 -1
- package/dist/index.esm.js +1563 -1070
- package/dist/index.js +1548 -1053
- package/dist/utils/request.d.ts +2 -0
- package/dist/utils/utils.d.ts +6 -0
- package/package.json +6 -4
- package/src/assets/arrow_top.svg +18 -0
- package/src/components/Business/AddSelectBusiness/index.tsx +38 -19
- package/src/components/Business/BsLayouts/Components/ChooseStore/index.less +0 -0
- package/src/components/Business/BsLayouts/Components/ChooseStore/index.tsx +193 -0
- package/src/components/Business/BsLayouts/Components/ChooseStore/services.ts +10 -0
- package/src/components/Business/BsLayouts/Components/GlobalHeader/index.tsx +7 -1
- package/src/components/Business/BsLayouts/Components/RightContent/LoginModal.tsx +3 -3
- package/src/components/Business/BsLayouts/Components/RightContent/i18n.ts +9 -0
- package/src/components/Business/BsLayouts/Components/RightContent/index.tsx +19 -2
- package/src/components/Business/BsLayouts/index.tsx +44 -34
- package/src/components/Business/BsLayouts/service.ts +2 -2
- package/src/components/Business/BsSulaQueryTable/SearchItemSetting.tsx +9 -9
- package/src/components/Business/BsSulaQueryTable/bssulaquerytable.less +5 -0
- package/src/components/Business/BsSulaQueryTable/index.tsx +346 -175
- package/src/components/Business/BsSulaQueryTable/setting.tsx +125 -87
- package/src/components/Business/BsSulaQueryTable/utils.tsx +57 -34
- package/src/components/Business/CommonGuideWrapper/index.tsx +11 -2
- package/src/components/Business/JsonQueryTable/index.tsx +10 -12
- package/src/components/Business/SearchSelect/utils.ts +3 -3
- package/src/components/Business/columnSettingTable/columnSetting.tsx +10 -8
- package/src/components/Business/columnSettingTable/utils.tsx +29 -29
- package/src/components/Functional/AddSelect/helps.ts +4 -3
- package/src/components/Functional/AddSelect/index.tsx +79 -33
- package/src/components/Functional/BillEntry/index.tsx +3 -3
- package/src/components/Functional/DataImport/index.tsx +3 -3
- package/src/components/Functional/DataValidation/index.tsx +3 -3
- package/src/components/Functional/ExportFunctions/ExportIcon/index.tsx +10 -5
- package/src/components/Functional/QueryMutipleInput/index.tsx +2 -1
- package/src/components/Functional/SearchSelect/index.less +6 -0
- package/src/components/Functional/SearchSelect/index.tsx +152 -45
- package/src/components/Functional/TreeSearchSelect/index.tsx +24 -22
- package/src/components/Solution/RuleComponent/RenderCompItem.tsx +641 -0
- package/src/components/Solution/RuleComponent/index.js +7 -652
- package/src/components/Solution/RuleComponent/services.ts +2 -2
- package/src/plugin/TableColumnSetting/index.tsx +2 -2
- package/src/utils/request.ts +53 -0
- package/src/utils/utils.ts +37 -21
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare function getStoreByName(params: any): Promise<any>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare function outLogin(params: any): Promise<
|
|
1
|
+
export declare function outLogin(params: any): Promise<any>;
|
|
@@ -37,7 +37,7 @@ declare class SortableTable extends React.Component {
|
|
|
37
37
|
width?: undefined;
|
|
38
38
|
})[];
|
|
39
39
|
showModal: () => void;
|
|
40
|
-
handleOk: (e?: React.MouseEvent<HTMLElement>) =>
|
|
40
|
+
handleOk: (e?: React.MouseEvent<HTMLElement>) => void;
|
|
41
41
|
handleCancel: (e: React.MouseEvent<HTMLElement>) => void;
|
|
42
42
|
handleTableHeadHidden: (title: string) => void;
|
|
43
43
|
onSortEnd: ({ oldIndex, newIndex }: {
|
|
@@ -96,4 +96,5 @@ export declare function queryParams(params: any, flag?: any): any;
|
|
|
96
96
|
* @returns boolean
|
|
97
97
|
*/
|
|
98
98
|
export declare const authFn: (code?: any) => boolean;
|
|
99
|
+
export declare const renderToString: (render: ReactElement<any, string | JSXElementConstructor<any>> | string) => any;
|
|
99
100
|
export {};
|
|
@@ -16,6 +16,7 @@ declare class SortableTable extends React.Component<SortTableProps> {
|
|
|
16
16
|
patchUserColumnConfig: (config: any) => void;
|
|
17
17
|
patchConfigToLocalstorage: (configvalue: any, tableCode: string) => void;
|
|
18
18
|
setInitValue: (datasource: any[]) => void;
|
|
19
|
+
isColumnsChange: (pre?: never[], next?: never[]) => boolean;
|
|
19
20
|
componentWillReceiveProps(nextProps: any): void;
|
|
20
21
|
componentDidMount(): void;
|
|
21
22
|
columns: ({
|
|
@@ -9,5 +9,5 @@ interface exportIconType {
|
|
|
9
9
|
/** BsSulaQueryTable的tableRef*/
|
|
10
10
|
tableRef: any;
|
|
11
11
|
}
|
|
12
|
-
declare const ExportIcon: ({ request, tableRef }: exportIconType) => React.JSX.Element;
|
|
12
|
+
declare const ExportIcon: ({ request: exportRequest, tableRef, allowSelect, columnsRowKey }: exportIconType) => React.JSX.Element;
|
|
13
13
|
export default ExportIcon;
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import './index.less';
|
|
3
|
-
declare const QueryMutipleInput: ({ onValueChange }: {
|
|
3
|
+
declare const QueryMutipleInput: ({ onValueChange, onPressEnter }: {
|
|
4
4
|
onValueChange: any;
|
|
5
|
+
onPressEnter: any;
|
|
5
6
|
}) => React.JSX.Element;
|
|
6
7
|
export default QueryMutipleInput;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare function getRegularThresholdRange(params: any): Promise<
|
|
1
|
+
export declare function getRegularThresholdRange(params: any): Promise<any>;
|