@bit-sun/business-component 2.1.1-alpha.22 → 2.1.1-alpha.23
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/.fatherrc.ts +1 -1
- package/.umirc.ts +6 -6
- package/dist/components/Business/BsSulaQueryTable/SearchItemSetting.d.ts +59 -0
- package/dist/index.d.ts +0 -1
- package/dist/index.esm.js +4387 -12912
- package/dist/index.js +4381 -12911
- package/dist/utils/enumConfig.d.ts +1 -0
- package/dist/utils/utils.d.ts +0 -2
- package/package.json +4 -10
- package/src/components/Business/BsSulaQueryTable/SearchItemSetting.tsx +538 -0
- package/src/components/Business/BsSulaQueryTable/index.tsx +69 -20
- package/src/components/Business/BsSulaQueryTable/setting.tsx +1 -1
- package/src/components/Functional/BillEntry/index.tsx +1 -0
- package/src/index.ts +1 -3
- package/src/utils/enumConfig.ts +1 -0
- package/src/utils/utils.ts +0 -40
- package/dist/components/Business/JsonQueryTable/components/FieldsModifyModal.d.ts +0 -2
- package/dist/components/Business/JsonQueryTable/components/FieldsSettingsTable.d.ts +0 -2
- package/dist/components/Business/JsonQueryTable/components/Formula.d.ts +0 -6
- package/dist/components/Business/JsonQueryTable/components/MaintainOptions.d.ts +0 -2
- package/dist/components/Business/JsonQueryTable/drawer/index.d.ts +0 -2
- package/dist/components/Business/JsonQueryTable/function.d.ts +0 -37
- package/dist/components/Business/JsonQueryTable/index.d.ts +0 -3
- package/dist/components/Business/JsonQueryTable/static.d.ts +0 -39
- package/src/components/Business/JsonQueryTable/components/FieldsModifyModal.tsx +0 -824
- package/src/components/Business/JsonQueryTable/components/FieldsSettingsTable.tsx +0 -201
- package/src/components/Business/JsonQueryTable/components/Formula.tsx +0 -205
- package/src/components/Business/JsonQueryTable/components/MaintainOptions.tsx +0 -127
- package/src/components/Business/JsonQueryTable/configButton/index.js +0 -20
- package/src/components/Business/JsonQueryTable/configTree/component/compactArrayView.js +0 -25
- package/src/components/Business/JsonQueryTable/configTree/component/compactObjectView.js +0 -30
- package/src/components/Business/JsonQueryTable/configTree/index.js +0 -82
- package/src/components/Business/JsonQueryTable/configTree/index.less +0 -44
- package/src/components/Business/JsonQueryTable/configTree/parser/highlight.js +0 -57
- package/src/components/Business/JsonQueryTable/configTree/parser/index.js +0 -124
- package/src/components/Business/JsonQueryTable/configTree/render/iconRender.js +0 -29
- package/src/components/Business/JsonQueryTable/configTree/render/nameRender.js +0 -22
- package/src/components/Business/JsonQueryTable/configTree/treeNode.js +0 -116
- package/src/components/Business/JsonQueryTable/drawer/index.tsx +0 -12
- package/src/components/Business/JsonQueryTable/function.ts +0 -62
- package/src/components/Business/JsonQueryTable/index.less +0 -19
- package/src/components/Business/JsonQueryTable/index.md +0 -328
- package/src/components/Business/JsonQueryTable/index.tsx +0 -320
- package/src/components/Business/JsonQueryTable/jsonEditor/index.js +0 -346
- package/src/components/Business/JsonQueryTable/jsonEditor/index.less +0 -22
- package/src/components/Business/JsonQueryTable/jsonEditor/lint/basicType.js +0 -147
- package/src/components/Business/JsonQueryTable/jsonEditor/lint/index.js +0 -389
- package/src/components/Business/JsonQueryTable/jsonEditor/suggestions/actions.js +0 -118
- package/src/components/Business/JsonQueryTable/jsonEditor/suggestions/dependency.js +0 -22
- package/src/components/Business/JsonQueryTable/jsonEditor/suggestions/index.js +0 -21
- package/src/components/Business/JsonQueryTable/jsonEditor/suggestions/request.js +0 -65
- package/src/components/Business/JsonQueryTable/static.ts +0 -356
- package/src/utils/getFormMode.js +0 -12
- package/src/utils/serialize.js +0 -7
package/.fatherrc.ts
CHANGED
package/.umirc.ts
CHANGED
|
@@ -46,27 +46,27 @@ export default defineConfig({
|
|
|
46
46
|
// pathRewrite: { '^/wms-ops/': '/wms-ops/' }, // 开发环境
|
|
47
47
|
},
|
|
48
48
|
'/user/': {
|
|
49
|
-
target: 'http://bitsun
|
|
49
|
+
target: 'http://omni.bitsun-inc.com/', // 开发环境
|
|
50
50
|
changeOrigin: true,
|
|
51
51
|
},
|
|
52
52
|
'/channel-manage/': {
|
|
53
|
-
target: 'http://bitsun
|
|
53
|
+
target: 'http://omni.bitsun-inc.com/', // 开发环境
|
|
54
54
|
changeOrigin: true,
|
|
55
55
|
},
|
|
56
56
|
'/items/': {
|
|
57
|
-
target: 'http://bitsun
|
|
57
|
+
target: 'http://omni.bitsun-inc.com/', // 开发环境
|
|
58
58
|
changeOrigin: true,
|
|
59
59
|
},
|
|
60
60
|
'/stock/': {
|
|
61
|
-
target: 'http://bitsun
|
|
61
|
+
target: 'http://omni.bitsun-inc.com/', // 开发环境
|
|
62
62
|
changeOrigin: true,
|
|
63
63
|
},
|
|
64
64
|
'/basic/': {
|
|
65
|
-
target: 'http://bitsun
|
|
65
|
+
target: 'http://omni.bitsun-inc.com/', // 开发环境
|
|
66
66
|
changeOrigin: true,
|
|
67
67
|
},
|
|
68
68
|
'/srm-ops/': {
|
|
69
|
-
target: 'http://bitsun
|
|
69
|
+
target: 'http://omni.bitsun-inc.com/', // 开发环境
|
|
70
70
|
changeOrigin: true,
|
|
71
71
|
},
|
|
72
72
|
},
|
|
@@ -0,0 +1,59 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import './index.less';
|
|
3
|
+
declare class SearchItemTable extends React.Component {
|
|
4
|
+
state: {
|
|
5
|
+
dataSource: never[];
|
|
6
|
+
columns: never[];
|
|
7
|
+
sortDataSource: never[];
|
|
8
|
+
setVisible: boolean;
|
|
9
|
+
searchDataSource: boolean;
|
|
10
|
+
onSearchSort: boolean;
|
|
11
|
+
isDefaultValue: boolean;
|
|
12
|
+
defaultValue: never[];
|
|
13
|
+
bsTableCode: string;
|
|
14
|
+
};
|
|
15
|
+
patchUserSearchFieldsConfig: (config: any) => void;
|
|
16
|
+
getConfigFromlocalstorage: () => any;
|
|
17
|
+
patchConfigToLocalstorage: (configvalue: any) => void;
|
|
18
|
+
setInitValue: (isClick?: boolean) => void;
|
|
19
|
+
componentDidMount(): void;
|
|
20
|
+
columns: ({
|
|
21
|
+
title: string;
|
|
22
|
+
dataIndex: string;
|
|
23
|
+
className: string;
|
|
24
|
+
width: number;
|
|
25
|
+
render?: undefined;
|
|
26
|
+
} | {
|
|
27
|
+
title: string;
|
|
28
|
+
dataIndex: string;
|
|
29
|
+
render: (text: any, record: any) => JSX.Element;
|
|
30
|
+
className?: undefined;
|
|
31
|
+
width?: undefined;
|
|
32
|
+
} | {
|
|
33
|
+
title: string;
|
|
34
|
+
dataIndex: string;
|
|
35
|
+
className: string;
|
|
36
|
+
render: () => JSX.Element;
|
|
37
|
+
width?: undefined;
|
|
38
|
+
})[];
|
|
39
|
+
showModal: () => void;
|
|
40
|
+
handleOk: (e?: React.MouseEvent<HTMLElement>) => void;
|
|
41
|
+
handleCancel: (e: React.MouseEvent<HTMLElement>) => void;
|
|
42
|
+
handleTableHeadHidden: (title: string) => void;
|
|
43
|
+
onSortEnd: ({ oldIndex, newIndex }: {
|
|
44
|
+
oldIndex: any;
|
|
45
|
+
newIndex: any;
|
|
46
|
+
}) => void;
|
|
47
|
+
DraggableContainer: (props: any) => JSX.Element;
|
|
48
|
+
DraggableBodyRow: ({ className, style, ...restProps }: {
|
|
49
|
+
[x: string]: any;
|
|
50
|
+
className: any;
|
|
51
|
+
style: any;
|
|
52
|
+
}) => JSX.Element;
|
|
53
|
+
onChange: (e: CheckboxChangeEvent, label: any) => void;
|
|
54
|
+
handleReset: () => void;
|
|
55
|
+
onSearch: (e: any) => void;
|
|
56
|
+
onSearchSort: (e: any) => void;
|
|
57
|
+
render(): JSX.Element;
|
|
58
|
+
}
|
|
59
|
+
export default SearchItemTable;
|
package/dist/index.d.ts
CHANGED
|
@@ -21,4 +21,3 @@ export { default as HomePageWrapper } from './components/Business/HomePageWrappe
|
|
|
21
21
|
export { default as BsSulaQueryTable } from './components/Business/BsSulaQueryTable';
|
|
22
22
|
export { default as BsLayout } from './components/Business/BsLayouts';
|
|
23
23
|
export { default as MoreTreeTable } from './components/Business/moreTreeTable';
|
|
24
|
-
export { default as JsonQueryTable } from './components/Business/JsonQueryTable';
|