@bit-sun/business-component 3.1.0-alpha.1 → 3.1.0-alpha.10

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 (58) hide show
  1. package/dist/components/Business/BsSulaQueryTable/setting.d.ts +1 -1
  2. package/dist/components/Business/DetailPageWrapper/utils.d.ts +3 -1
  3. package/dist/components/Business/columnSettingTable/columnSetting.d.ts +2 -1
  4. package/dist/components/Business/columnSettingTable/utils.d.ts +1 -0
  5. package/dist/components/Functional/DataImport/index.d.ts +2 -0
  6. package/dist/components/Functional/DataValidation/index.d.ts +2 -0
  7. package/dist/index.esm.js +880 -441
  8. package/dist/index.js +882 -439
  9. package/dist/utils/LocalstorageUtils.d.ts +1 -0
  10. package/dist/utils/enumConfig.d.ts +1 -0
  11. package/dist/utils/index.d.ts +2 -0
  12. package/dist/utils/xlsxUtil.d.ts +6 -0
  13. package/lib/assets/exportFail.svg +9 -9
  14. package/lib/assets/exportProcessing.svg +9 -9
  15. package/lib/assets/exportSuccess.svg +9 -9
  16. package/package.json +6 -5
  17. package/src/assets/caidan.svg +1 -1
  18. package/src/assets/exportFail.svg +9 -9
  19. package/src/assets/exportProcessing.svg +9 -9
  20. package/src/assets/exportSuccess.svg +9 -9
  21. package/src/assets/fixed-left-active.svg +1 -1
  22. package/src/assets/fixed-right-active.svg +1 -1
  23. package/src/components/Business/BsLayouts/Components/AllFunc/drawContent.tsx +1 -1
  24. package/src/components/Business/BsLayouts/Components/CustomerMenu/globalMenu/DrawContent.tsx +1 -1
  25. package/src/components/Business/BsLayouts/Components/CustomerMenu/globalMenu/drawContent.less +2 -2
  26. package/src/components/Business/BsLayouts/Components/GlobalHeader/index.less +1 -1
  27. package/src/components/Business/BsLayouts/Components/RightContent/home.less +1 -1
  28. package/src/components/Business/BsLayouts/Components/SearchFunc/index.less +3 -3
  29. package/src/components/Business/BsLayouts/index.tsx +1 -1
  30. package/src/components/Business/BsSulaQueryTable/index.less +7 -1
  31. package/src/components/Business/BsSulaQueryTable/index.tsx +96 -102
  32. package/src/components/Business/BsSulaQueryTable/setting.tsx +5 -0
  33. package/src/components/Business/BsSulaQueryTable/utils.less +1 -1
  34. package/src/components/Business/CommonAlert/index.tsx +1 -1
  35. package/src/components/Business/CommonGuideWrapper/index.less +1 -1
  36. package/src/components/Business/DetailPageWrapper/index.less +2 -3
  37. package/src/components/Business/DetailPageWrapper/index.tsx +3 -2
  38. package/src/components/Business/DetailPageWrapper/utils.tsx +4 -2
  39. package/src/components/Business/SearchSelect/BusinessUtils.tsx +11 -7
  40. package/src/components/Business/StateFlow/index.less +3 -3
  41. package/src/components/Business/TreeSearchSelect/index.md +26 -0
  42. package/src/components/Business/columnSettingTable/columnSetting.tsx +63 -14
  43. package/src/components/Business/columnSettingTable/index.less +7 -1
  44. package/src/components/Business/columnSettingTable/index.tsx +3 -12
  45. package/src/components/Business/columnSettingTable/sulaSettingTable.tsx +2 -12
  46. package/src/components/Business/columnSettingTable/utils.tsx +18 -1
  47. package/src/components/Functional/AddSelect/index.tsx +3 -3
  48. package/src/components/Functional/BillEntry/index.tsx +50 -51
  49. package/src/components/Functional/DataImport/index.tsx +101 -20
  50. package/src/components/Functional/DataValidation/index.tsx +104 -19
  51. package/src/components/Functional/SearchSelect/index.tsx +20 -6
  52. package/src/components/Functional/TreeSearchSelect/index.tsx +41 -23
  53. package/src/styles/bsDefault.less +2 -2
  54. package/src/utils/LocalstorageUtils.ts +6 -0
  55. package/src/utils/TableUtils.less +1 -1
  56. package/src/utils/enumConfig.ts +1 -0
  57. package/src/utils/index.ts +3 -0
  58. package/src/utils/xlsxUtil.tsx +146 -0
@@ -22,7 +22,7 @@ declare class SortableTable extends React.Component {
22
22
  dataIndex: string;
23
23
  className: string;
24
24
  width: number;
25
- render?: undefined;
25
+ render: (text: any, record: any) => React.JSX.Element;
26
26
  } | {
27
27
  title: string;
28
28
  dataIndex: string;
@@ -7,5 +7,7 @@ export declare const judgeIsEmpty: (value: any) => boolean;
7
7
  export declare const getMainCrumbNameMap: (menuData: any) => {};
8
8
  export declare const getModeTypeText: (path: any) => "编辑" | "查看" | "新增" | "--";
9
9
  export declare function matchRoute(path: any, routeObj: any, hideRouteObj: any): any;
10
- export declare const getDetailMatchRoute: (path: any, routeObj: any, hideRouteArray: any) => any;
10
+ export declare const getDetailMatchRoute: (path: any, routeObj: any, hideRouteArray: any, { pathToRegexp }: {
11
+ pathToRegexp: any;
12
+ }) => any;
11
13
  export {};
@@ -24,7 +24,7 @@ declare class SortableTable extends React.Component<SortTableProps> {
24
24
  dataIndex: string;
25
25
  className: string;
26
26
  width: number;
27
- render?: undefined;
27
+ render: (text: any, record: any) => React.JSX.Element;
28
28
  } | {
29
29
  title: string;
30
30
  dataIndex: string;
@@ -47,6 +47,7 @@ declare class SortableTable extends React.Component<SortTableProps> {
47
47
  DraggableBodyRow: ({ className, style, ...restProps }: any) => React.JSX.Element;
48
48
  onChange: (e: any, title: any) => void;
49
49
  handleReset: () => void;
50
+ handleResetSetting: () => void;
50
51
  onSearch: (e: any) => void;
51
52
  onSearchSort: (e: any) => void;
52
53
  getConfigFromlocalstorage: () => any;
@@ -7,3 +7,4 @@ import React from 'react';
7
7
  export declare const noEmptyArray: (arr: any[]) => boolean;
8
8
  export declare const getItemDefaultWidth: (item: any) => number;
9
9
  export declare const handleTextOverflow: (text: string | undefined, width?: number) => React.JSX.Element;
10
+ export declare const getShowColumns: (originColumns: any[], configs: any[]) => any[];
@@ -139,6 +139,8 @@ declare class DataImport extends React.Component {
139
139
  errorChange: (e: any) => void;
140
140
  menuList: React.JSX.Element;
141
141
  leftMenu: React.JSX.Element;
142
+ getSheetMap: () => {};
143
+ importExcelToLuckySheet: (resultData: any) => void;
142
144
  render(): React.JSX.Element;
143
145
  }
144
146
  export default DataImport;
@@ -139,6 +139,8 @@ declare class DataValidation extends React.Component {
139
139
  errorChange: (e: any) => void;
140
140
  menuList: React.JSX.Element;
141
141
  leftMenu: React.JSX.Element;
142
+ getSheetMap: () => {};
143
+ importExcelToLuckySheet: (resultData: any) => void;
142
144
  render(): React.JSX.Element;
143
145
  }
144
146
  export default DataValidation;