@bit-sun/business-component 4.0.11 → 4.0.12-alpha.3

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 (44) hide show
  1. package/.umirc.ts +10 -6
  2. package/dist/components/Business/BsSulaQueryTable/SearchItemSetting.d.ts +2 -4
  3. package/dist/components/Business/BsSulaQueryTable/utils.d.ts +1 -0
  4. package/dist/components/Business/SearchSelect/BusinessUtils.d.ts +2 -1
  5. package/dist/components/Functional/SearchSelect/utils.d.ts +11 -0
  6. package/dist/index.esm.js +1910 -980
  7. package/dist/index.js +1909 -979
  8. package/package.json +2 -2
  9. package/src/assets/copyImg.svg +16 -0
  10. package/src/assets/zhankaitiaojian-icon.svg +18 -0
  11. package/src/components/Business/BsLayouts/index.tsx +17 -0
  12. package/src/components/Business/BsSulaQueryTable/SearchItemSetting.tsx +45 -17
  13. package/src/components/Business/BsSulaQueryTable/index.less +21 -38
  14. package/src/components/Business/BsSulaQueryTable/index.tsx +26 -16
  15. package/src/components/Business/BsSulaQueryTable/setting.tsx +5 -5
  16. package/src/components/Business/BsSulaQueryTable/utils.tsx +36 -15
  17. package/src/components/Business/DetailPageWrapper/index.less +11 -3
  18. package/src/components/Business/DetailPageWrapper/index.tsx +27 -2
  19. package/src/components/Business/HomePageWrapper/index.less +9 -0
  20. package/src/components/Business/HomePageWrapper/index.tsx +1 -1
  21. package/src/components/Business/SearchSelect/BusinessUtils.tsx +834 -179
  22. package/src/components/Business/SearchSelect/index.md +181 -0
  23. package/src/components/Business/SearchSelect/index.tsx +2 -1
  24. package/src/components/Business/SearchSelect/utils.ts +4 -1
  25. package/src/components/Business/StateFlow/index.less +140 -124
  26. package/src/components/Business/StateFlow/index.tsx +3 -3
  27. package/src/components/Business/columnSettingTable/columnSetting.tsx +6 -6
  28. package/src/components/Business/columnSettingTable/index.less +31 -69
  29. package/src/components/Business/columnSettingTable/index.tsx +36 -6
  30. package/src/components/Business/columnSettingTable/sulaSettingTable.tsx +36 -7
  31. package/src/components/Common/ParagraphCopier/index.tsx +2 -6
  32. package/src/components/Functional/QueryMutipleInput/index.less +51 -19
  33. package/src/components/Functional/QueryMutipleInput/index.tsx +28 -22
  34. package/src/components/Functional/SearchSelect/index.less +236 -73
  35. package/src/components/Functional/SearchSelect/index.tsx +400 -263
  36. package/src/components/Functional/SearchSelect/utils.ts +35 -0
  37. package/src/components/Functional/TreeSearchSelect/index.tsx +1 -1
  38. package/src/components/Solution/RuleComponent/index.js +4 -3
  39. package/src/components/Solution/RuleSetter/function.ts +2 -1
  40. package/src/plugin/TableColumnSetting/index.less +38 -70
  41. package/src/plugin/TableColumnSetting/index.tsx +5 -5
  42. package/src/styles/bsDefault.less +132 -136
  43. package/src/utils/TableUtils.tsx +1 -1
  44. package/src/utils/utils.ts +5 -2
package/.umirc.ts CHANGED
@@ -54,27 +54,31 @@ export default defineConfig({
54
54
  // pathRewrite: { '^/wms-ops/': '/wms-ops/' }, // 开发环境
55
55
  },
56
56
  '/user/': {
57
- target: 'http://bitsun.cb21419868b8b483f9e04b769406afe73.cn-shanghai.alicontainer.com/', // 开发环境
57
+ target: 'http://bitsun.cc0b9108c833e4298b9db565441546718.cn-shanghai.alicontainer.com/', // 开发环境
58
+ changeOrigin: true,
59
+ },
60
+ '/drp-ops/': {
61
+ target: 'http://bitsun.cc0b9108c833e4298b9db565441546718.cn-shanghai.alicontainer.com/', // 开发环境
58
62
  changeOrigin: true,
59
63
  },
60
64
  '/channel-manage/': {
61
- target: 'http://bitsun.cb21419868b8b483f9e04b769406afe73.cn-shanghai.alicontainer.com/', // 开发环境
65
+ target: 'http://bitsun.cc0b9108c833e4298b9db565441546718.cn-shanghai.alicontainer.com/', // 开发环境
62
66
  changeOrigin: true,
63
67
  },
64
68
  '/items/': {
65
- target: 'http://bitsun.cb21419868b8b483f9e04b769406afe73.cn-shanghai.alicontainer.com/', // 开发环境
69
+ target: 'http://bitsun.cc0b9108c833e4298b9db565441546718.cn-shanghai.alicontainer.com/', // 开发环境
66
70
  changeOrigin: true,
67
71
  },
68
72
  '/stock/': {
69
- target: 'http://bitsun.cb21419868b8b483f9e04b769406afe73.cn-shanghai.alicontainer.com/', // 开发环境
73
+ target: 'http://bitsun.cc0b9108c833e4298b9db565441546718.cn-shanghai.alicontainer.com/', // 开发环境
70
74
  changeOrigin: true,
71
75
  },
72
76
  '/basic/': {
73
- target: 'http://bitsun.cb21419868b8b483f9e04b769406afe73.cn-shanghai.alicontainer.com/', // 开发环境
77
+ target: 'http://bitsun.cc0b9108c833e4298b9db565441546718.cn-shanghai.alicontainer.com/', // 开发环境
74
78
  changeOrigin: true,
75
79
  },
76
80
  '/srm-ops/': {
77
- target: 'http://bitsun.cb21419868b8b483f9e04b769406afe73.cn-shanghai.alicontainer.com/', // 开发环境
81
+ target: 'http://bitsun.cc0b9108c833e4298b9db565441546718.cn-shanghai.alicontainer.com/', // 开发环境
78
82
  changeOrigin: true,
79
83
  },
80
84
  },
@@ -21,20 +21,17 @@ declare class SearchItemTable extends React.Component {
21
21
  title: string;
22
22
  dataIndex: string;
23
23
  className: string;
24
- width: number;
25
24
  render?: undefined;
26
25
  } | {
27
26
  title: string;
28
27
  dataIndex: string;
29
28
  render: (text: any, record: any) => React.JSX.Element;
30
29
  className?: undefined;
31
- width?: undefined;
32
30
  } | {
33
31
  title: string;
34
32
  dataIndex: string;
35
33
  className: string;
36
34
  render: () => React.JSX.Element;
37
- width?: undefined;
38
35
  })[];
39
36
  showModal: () => void;
40
37
  handleOk: (e?: React.MouseEvent<HTMLElement>) => void;
@@ -50,11 +47,12 @@ declare class SearchItemTable extends React.Component {
50
47
  className: any;
51
48
  style: any;
52
49
  }) => React.JSX.Element;
53
- onChange: (e: CheckboxChangeEvent, label: any) => void;
50
+ onChange: (e: CheckboxChangeEvent, name: any) => void;
54
51
  handleReset: () => void;
55
52
  handleResetSetting: () => void;
56
53
  onSearch: (e: any) => void;
57
54
  onSearchSort: (e: any) => void;
55
+ showSearchItemLabel: (item: object) => any;
58
56
  render(): React.JSX.Element;
59
57
  }
60
58
  export default SearchItemTable;
@@ -45,6 +45,7 @@ export declare const calculateValidPeriod: (start: any, end: any) => string;
45
45
  export declare const handleTextDouble: (textOne: string | undefined, textTwo: string | undefined) => React.JSX.Element;
46
46
  export declare const handleTextLineFeed: (text: string | undefined, width?: number) => React.JSX.Element;
47
47
  export declare const handleTextOverflow: (text: string | undefined, width?: number) => React.JSX.Element;
48
+ export declare const handleTextOverflowNoTooltip: (text: string | undefined, width?: number) => React.JSX.Element;
48
49
  export declare const handleTooltip: (text: any, timeTrue?: boolean) => React.JSX.Element;
49
50
  export declare const handleTooltipHours: (text: any, timeTrue?: boolean) => React.JSX.Element;
50
51
  type tableColumnsImageType = {
@@ -1,5 +1,6 @@
1
- export declare function commonFun(type?: string, prefixUrl: any, requestConfigProp?: any, modalTableBusProps?: any, hiddenFields?: any): {
1
+ export declare function commonFun(type?: string, prefixUrl: any, parentProps?: any): {
2
2
  modalTableProps: any;
3
+ selectProps: any;
3
4
  requestConfig: any;
4
5
  needModalTable: any;
5
6
  };
@@ -1 +1,12 @@
1
+ export declare const columnsPerRow = 4;
2
+ export declare const ColSpan = 6;
1
3
  export declare const handleSourceName: (sName: any) => any;
4
+ export declare const getFormRowInfo: (list: any) => {
5
+ totalRows: number;
6
+ emptyArray: any[];
7
+ };
8
+ export declare const defaultVisibleFieldsCount = 7;
9
+ export declare const getVisibleFieldsCount: (modalTableProps: any) => any;
10
+ export declare const hasMoreQueryFields: (modalTableProps: any) => boolean;
11
+ export declare const getRealStr: (oldSelect: any, newSelect: any, record: any) => any;
12
+ export declare const getTableHeigth: (list: any) => number;