@bit-sun/business-component 2.2.0-alpha.2 → 2.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.
Files changed (35) hide show
  1. package/dist/components/Business/AddSelectBusiness/index.d.ts +2 -0
  2. package/dist/components/Business/BsLayouts/utils.d.ts +0 -4
  3. package/dist/components/Business/BsSulaQueryTable/SearchItemSetting.d.ts +59 -0
  4. package/dist/index.esm.js +4221 -2601
  5. package/dist/index.js +4222 -2600
  6. package/dist/utils/LocalstorageUtils.d.ts +14 -0
  7. package/dist/utils/enumConfig.d.ts +1 -0
  8. package/dist/utils/index.d.ts +1 -0
  9. package/package.json +1 -1
  10. package/src/components/Business/AddSelectBusiness/index.md +69 -3
  11. package/src/components/Business/AddSelectBusiness/index.tsx +494 -3
  12. package/src/components/Business/BsLayouts/Components/RightContent/LoginModal.tsx +3 -3
  13. package/src/components/Business/BsLayouts/Components/RightContent/index.tsx +5 -6
  14. package/src/components/Business/BsLayouts/index.tsx +20 -16
  15. package/src/components/Business/BsLayouts/utils.tsx +1 -24
  16. package/src/components/Business/BsSulaQueryTable/SearchItemSetting.tsx +538 -0
  17. package/src/components/Business/BsSulaQueryTable/index.tsx +107 -63
  18. package/src/components/Business/BsSulaQueryTable/setting.tsx +1 -1
  19. package/src/components/Business/CommodityEntry/index.md +1 -1
  20. package/src/components/Business/DetailPageWrapper/index.tsx +10 -21
  21. package/src/components/Business/JsonQueryTable/components/FieldsSettingsTable.tsx +6 -2
  22. package/src/components/Business/JsonQueryTable/index.tsx +258 -43
  23. package/src/components/Business/SearchSelect/BusinessUtils.ts +139 -2
  24. package/src/components/Business/SearchSelect/index.md +56 -0
  25. package/src/components/Business/SearchSelect/utils.ts +1 -1
  26. package/src/components/Business/moreTreeTable/index.md +29 -89
  27. package/src/components/Business/moreTreeTable/index.tsx +51 -5
  28. package/src/components/Functional/AddSelect/index.tsx +158 -27
  29. package/src/components/Functional/DataImport/index.tsx +1 -1
  30. package/src/components/Functional/DataValidation/index.tsx +1 -1
  31. package/src/styles/bsDefault.less +6 -0
  32. package/src/utils/LocalstorageUtils.ts +57 -0
  33. package/src/utils/enumConfig.ts +1 -0
  34. package/src/utils/index.ts +1 -0
  35. package/src/utils/requestUtils.ts +5 -4
@@ -1 +1,3 @@
1
1
  export declare const AddSkuSelect: (parProps: any) => JSX.Element;
2
+ export declare const AddSkcSelect: (parProps: any) => JSX.Element;
3
+ export declare const AddSpuSelect: (parProps: any) => JSX.Element;
@@ -4,10 +4,6 @@
4
4
  export declare const matchPath: (pathname: any, options: {} | undefined, pathToRegexp: any) => never;
5
5
  export declare const searchMenuData: (router: any, name?: any, callBack: any) => void;
6
6
  export declare const setMenuTreeData: (routesData: Array<any>) => void;
7
- export declare function handleUserID(): any;
8
- export declare function handleAccountID(): any;
9
- export declare function handleUserName(): any;
10
- export declare function handleUserPhone(): any;
11
7
  export declare const setLoginOutPath: () => void;
12
8
  export declare const getBreadcrumbNameMap: (menuData: any) => {};
13
9
  export declare const ergodicMenuRoutes: (routes: any) => any[];
@@ -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;