@bit-sun/business-component 4.2.0-alpha.2 → 4.2.0-alpha.20
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 +13 -9
- package/dist/components/Business/AddSelectBusiness/index.d.ts +0 -1
- package/dist/components/Business/BsLayouts/Components/AllFunc/drawContent.d.ts +0 -1
- package/dist/components/Business/BsLayouts/Components/ChooseStore/index.d.ts +0 -1
- package/dist/components/Business/BsLayouts/Components/CustomerMenu/globalMenu/DrawContent.d.ts +0 -1
- package/dist/components/Business/BsLayouts/Components/CustomerMenu/globalMenu/customMenuHeader.d.ts +0 -1
- package/dist/components/Business/BsLayouts/Components/GlobalHeader/index.d.ts +0 -1
- package/dist/components/Business/BsLayouts/Components/RightContent/LoginModal.d.ts +0 -1
- package/dist/components/Business/BsSulaQueryTable/index.d.ts +0 -1
- package/dist/components/Business/BsSulaQueryTable/setting.d.ts +1 -1
- package/dist/components/Business/BsSulaQueryTable/utils.d.ts +0 -1
- package/dist/components/Business/CommodityEntry/index.d.ts +0 -1
- package/dist/components/Business/CommonAlert/index.d.ts +0 -1
- package/dist/components/Business/DetailPageWrapper/index.d.ts +1 -1
- package/dist/components/Business/HomePageWrapper/index.d.ts +0 -1
- package/dist/components/Business/ItemPropertySelector/index.d.ts +0 -1
- package/dist/components/Business/JsonQueryTable/components/FieldsModifyModal.d.ts +0 -1
- package/dist/components/Business/JsonQueryTable/components/FieldsSettingsTable.d.ts +0 -1
- package/dist/components/Business/JsonQueryTable/components/Formula.d.ts +0 -1
- package/dist/components/Business/JsonQueryTable/components/MaintainOptions.d.ts +0 -1
- package/dist/components/Business/JsonQueryTable/drawer/index.d.ts +0 -1
- package/dist/components/Business/PropertyModal/index.d.ts +0 -1
- package/dist/components/Business/StateFlow/index.d.ts +0 -1
- package/dist/components/Business/SystemLog/index.d.ts +78 -0
- package/dist/components/Business/TrialCalculation/index.d.ts +15 -0
- package/dist/components/Business/columnSettingTable/components/TableSumComponent.d.ts +0 -1
- package/dist/components/Business/columnSettingTable/utils.d.ts +0 -1
- package/dist/components/Functional/AddSelect/index.d.ts +0 -1
- package/dist/components/Functional/AuthButton/index.d.ts +0 -1
- package/dist/components/Functional/DataValidation/index.d.ts +1 -1
- package/dist/components/Functional/ExportFunctions/ExportIcon/index.d.ts +0 -1
- package/dist/components/Functional/QueryMutipleInput/index.d.ts +0 -1
- package/dist/components/Functional/QueryMutipleSelect/index.d.ts +0 -1
- package/dist/components/Functional/SearchSelect/utils.d.ts +0 -1
- package/dist/components/Functional/TreeSearchSelect/index.d.ts +0 -1
- package/dist/components/Solution/RuleComponent/CustomPlugin/CustomSelector/index.d.ts +0 -1
- package/dist/components/Solution/RuleComponent/Formula.d.ts +0 -1
- package/dist/components/Solution/RuleComponent/InnerSelect.d.ts +0 -1
- package/dist/components/Solution/RuleComponent/RenderCompItem.d.ts +0 -1
- package/dist/components/Solution/RuleSetter/RuleInstance.d.ts +0 -1
- package/dist/index.d.ts +4 -0
- package/dist/index.esm.js +2250 -1203
- package/dist/index.js +2250 -1198
- package/dist/utils/TableUtils.d.ts +0 -1
- 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/AddSelectBusiness/index.tsx +3 -2
- 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 +174 -10
- 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 +365 -43
- package/src/components/Business/SystemLog/index.md +37 -0
- package/src/components/Business/SystemLog/index.tsx +87 -0
- package/src/components/Business/TrialCalculation/PathDisplay.less +93 -0
- package/src/components/Business/TrialCalculation/PathDisplay_README.md +77 -0
- package/src/components/Business/TrialCalculation/index.tsx +322 -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 +95 -1
- package/src/components/Functional/DataValidation/index.tsx +31 -9
- package/src/components/Functional/SearchSelect/index.tsx +68 -10
- package/src/components/Functional/SearchSelect/utils.tsx +9 -1
- package/src/components/Functional/TreeSearchSelect/index.tsx +2 -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 +8 -0
- package/src/utils/utils.ts +41 -1
package/.umirc.ts
CHANGED
|
@@ -35,7 +35,7 @@ export default defineConfig({
|
|
|
35
35
|
proxy: {
|
|
36
36
|
'/bop/api/': {
|
|
37
37
|
// target: 'http://bitsun.product.app.business-operation-platform.v1-dev:8050', // 开发环境
|
|
38
|
-
target: 'https://
|
|
38
|
+
target: 'https://ocean-test.bitsun-inc.com/', // 测试环境
|
|
39
39
|
// target: 'http://yxzttest.yangzijiang.com/', // 扬子江测试环境
|
|
40
40
|
// target: 'http://yxzt.yangzijiang.com/', // 扬子江测试环境
|
|
41
41
|
changeOrigin: true,
|
|
@@ -48,37 +48,41 @@ export default defineConfig({
|
|
|
48
48
|
// target: 'http://bitsun.product.app.business-operation-platform.v1-dev:8050', // 开发环境
|
|
49
49
|
// 英伦
|
|
50
50
|
// target: 'http://47.100.87.54:9102/', // 开发环境
|
|
51
|
-
target: 'https://
|
|
51
|
+
target: 'https://ocean-test.bitsun-inc.com/', // 测试环境
|
|
52
52
|
// target: 'http://www.i-baby.net/', // 生产
|
|
53
53
|
changeOrigin: true,
|
|
54
54
|
// pathRewrite: { '^/wms-ops/': '/wms-ops/' }, // 开发环境
|
|
55
55
|
},
|
|
56
56
|
'/user/': {
|
|
57
|
-
target: 'https://
|
|
57
|
+
target: 'https://ocean-test.bitsun-inc.com/', // 开发环境
|
|
58
58
|
changeOrigin: true,
|
|
59
59
|
},
|
|
60
60
|
'/drp-ops/': {
|
|
61
|
-
target: 'https://
|
|
61
|
+
target: 'https://ocean-test.bitsun-inc.com/', // 开发环境
|
|
62
62
|
changeOrigin: true,
|
|
63
63
|
},
|
|
64
64
|
'/channel-manage/': {
|
|
65
|
-
target: 'https://
|
|
65
|
+
target: 'https://ocean-test.bitsun-inc.com/', // 开发环境
|
|
66
66
|
changeOrigin: true,
|
|
67
67
|
},
|
|
68
68
|
'/items/': {
|
|
69
|
-
target: 'https://
|
|
69
|
+
target: 'https://ocean-test.bitsun-inc.com/', // 开发环境
|
|
70
70
|
changeOrigin: true,
|
|
71
71
|
},
|
|
72
72
|
'/stock/': {
|
|
73
|
-
target: 'https://
|
|
73
|
+
target: 'https://ocean-test.bitsun-inc.com/', // 开发环境
|
|
74
|
+
changeOrigin: true,
|
|
75
|
+
},
|
|
76
|
+
'/settle/': {
|
|
77
|
+
target: 'https://ocean-test.bitsun-inc.com/', // 开发环境
|
|
74
78
|
changeOrigin: true,
|
|
75
79
|
},
|
|
76
80
|
'/basic/': {
|
|
77
|
-
target: 'https://
|
|
81
|
+
target: 'https://ocean-test.bitsun-inc.com/', // 开发环境
|
|
78
82
|
changeOrigin: true,
|
|
79
83
|
},
|
|
80
84
|
'/srm-ops/': {
|
|
81
|
-
target: 'https://
|
|
85
|
+
target: 'https://ocean-test.bitsun-inc.com/', // 开发环境
|
|
82
86
|
changeOrigin: true,
|
|
83
87
|
},
|
|
84
88
|
},
|
|
@@ -29,7 +29,7 @@ declare class SortableTable extends React.Component {
|
|
|
29
29
|
} | {
|
|
30
30
|
title: string;
|
|
31
31
|
dataIndex: string;
|
|
32
|
-
render: (text: any, record: any) => JSX.Element;
|
|
32
|
+
render: (text: any, record: any) => JSX.Element | null;
|
|
33
33
|
className?: undefined;
|
|
34
34
|
width?: undefined;
|
|
35
35
|
} | {
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
1
|
import './index.less';
|
|
3
2
|
export declare const iconMap: {
|
|
4
3
|
edit: JSX.Element;
|
|
@@ -14,3 +13,4 @@ export declare const iconMap: {
|
|
|
14
13
|
};
|
|
15
14
|
declare const _default: (props: any) => JSX.Element;
|
|
16
15
|
export default _default;
|
|
16
|
+
export declare const processDetailButtonsVisible: (buttons: any[], params: any) => any[];
|
|
@@ -0,0 +1,78 @@
|
|
|
1
|
+
declare const SystemLog: ({ modeType, code, containerName, renderLogRef, extraParams, }: {
|
|
2
|
+
modeType: string;
|
|
3
|
+
code: any;
|
|
4
|
+
containerName: string;
|
|
5
|
+
renderLogRef: object;
|
|
6
|
+
extraParams?: object | undefined;
|
|
7
|
+
}) => {
|
|
8
|
+
initialVisible: boolean;
|
|
9
|
+
fields: {
|
|
10
|
+
name: string;
|
|
11
|
+
label: boolean;
|
|
12
|
+
itemLayout: {
|
|
13
|
+
span: number;
|
|
14
|
+
labelCol: {
|
|
15
|
+
span: number;
|
|
16
|
+
};
|
|
17
|
+
wrapperCol: {
|
|
18
|
+
span: number;
|
|
19
|
+
};
|
|
20
|
+
};
|
|
21
|
+
field: (ctx: any) => any;
|
|
22
|
+
}[];
|
|
23
|
+
container: {
|
|
24
|
+
type: string;
|
|
25
|
+
props: {
|
|
26
|
+
title: any;
|
|
27
|
+
id: number;
|
|
28
|
+
level: number;
|
|
29
|
+
name: string;
|
|
30
|
+
bordered?: undefined;
|
|
31
|
+
isWhiteCard?: undefined;
|
|
32
|
+
};
|
|
33
|
+
};
|
|
34
|
+
itemLayout: {
|
|
35
|
+
span: number;
|
|
36
|
+
labelCol: {
|
|
37
|
+
span: number;
|
|
38
|
+
};
|
|
39
|
+
wrapperCol: {
|
|
40
|
+
span: number;
|
|
41
|
+
};
|
|
42
|
+
};
|
|
43
|
+
} | {
|
|
44
|
+
initialVisible: boolean;
|
|
45
|
+
fields: {
|
|
46
|
+
name: string;
|
|
47
|
+
label: boolean;
|
|
48
|
+
itemLayout: {
|
|
49
|
+
span: number;
|
|
50
|
+
labelCol: {
|
|
51
|
+
span: number;
|
|
52
|
+
};
|
|
53
|
+
wrapperCol: {
|
|
54
|
+
span: number;
|
|
55
|
+
};
|
|
56
|
+
};
|
|
57
|
+
field: (ctx: any) => any;
|
|
58
|
+
}[];
|
|
59
|
+
container: {
|
|
60
|
+
type: string;
|
|
61
|
+
props: {
|
|
62
|
+
title: any;
|
|
63
|
+
id: number;
|
|
64
|
+
level: number;
|
|
65
|
+
bordered: null;
|
|
66
|
+
isWhiteCard: boolean;
|
|
67
|
+
name: string;
|
|
68
|
+
};
|
|
69
|
+
};
|
|
70
|
+
itemLayout: {
|
|
71
|
+
wrapperCol: {
|
|
72
|
+
span: number;
|
|
73
|
+
};
|
|
74
|
+
span?: undefined;
|
|
75
|
+
labelCol?: undefined;
|
|
76
|
+
};
|
|
77
|
+
};
|
|
78
|
+
export default SystemLog;
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import './PathDisplay.less';
|
|
3
|
+
interface PathDisplayProps {
|
|
4
|
+
recordType?: string;
|
|
5
|
+
businessType?: string;
|
|
6
|
+
sendOrgCode?: string;
|
|
7
|
+
receiverOrgCode?: string;
|
|
8
|
+
orderNo?: string;
|
|
9
|
+
autoCallApi?: boolean;
|
|
10
|
+
}
|
|
11
|
+
interface PathDisplayRef {
|
|
12
|
+
fetchData: () => Promise<void>;
|
|
13
|
+
}
|
|
14
|
+
declare const PathDisplay: React.ForwardRefExoticComponent<PathDisplayProps & React.RefAttributes<PathDisplayRef>>;
|
|
15
|
+
export default PathDisplay;
|
|
@@ -141,7 +141,7 @@ 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;
|
package/dist/index.d.ts
CHANGED
|
@@ -33,6 +33,10 @@ 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 { default as TrialCalculation } from './components/Business/TrialCalculation';
|
|
38
|
+
export { processDetailButtonsVisible as processDetailButtonsVisible } from './components/Business/DetailPageWrapper';
|
|
36
39
|
export { default as ExtendedCollapse } from './components/Common/ExtendedCollapse';
|
|
37
40
|
export { default as Section } from './components/Common/Section';
|
|
38
41
|
export { default as ParagraphCopier } from './components/Common/ParagraphCopier';
|
|
42
|
+
export { default as SystemLog } from './components/Business/SystemLog';
|