@bit-sun/business-component 2.0.31 → 2.0.33

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 (39) hide show
  1. package/dist/components/Business/BsSulaQueryTable/index.d.ts +2 -0
  2. package/dist/components/Business/BsSulaQueryTable/setting.d.ts +59 -0
  3. package/dist/components/Business/BsSulaQueryTable/utils.d.ts +98 -0
  4. package/dist/components/Business/CommonAlert/index.d.ts +3 -0
  5. package/dist/components/Business/DetailPageWrapper/index.d.ts +9 -0
  6. package/dist/components/Business/DetailPageWrapper/utils.d.ts +9 -0
  7. package/dist/components/Business/HomePageWrapper/index.d.ts +3 -0
  8. package/dist/components/Business/columnSettingTable/index.d.ts +1 -0
  9. package/dist/components/Business/columnSettingTable/sulaSettingTable.d.ts +1 -0
  10. package/dist/index.esm.js +205 -13
  11. package/dist/index.js +205 -13
  12. package/package.json +5 -2
  13. package/src/assets/btn-delete.svg +30 -0
  14. package/src/assets/btn-edit.svg +20 -0
  15. package/src/assets/btn-more.svg +18 -0
  16. package/src/assets/btn-submit.svg +20 -0
  17. package/src/assets/fixed-left-active.svg +12 -0
  18. package/src/assets/fixed-left.svg +16 -0
  19. package/src/assets/fixed-right-active.svg +12 -0
  20. package/src/assets/fixed-right.svg +16 -0
  21. package/src/assets/icon-quanping.svg +16 -0
  22. package/src/assets/scanning.svg +25 -0
  23. package/src/components/Business/BsSulaQueryTable/index.less +220 -0
  24. package/src/components/Business/BsSulaQueryTable/index.tsx +534 -0
  25. package/src/components/Business/BsSulaQueryTable/setting.tsx +817 -0
  26. package/src/components/Business/BsSulaQueryTable/utils.less +65 -0
  27. package/src/components/Business/BsSulaQueryTable/utils.tsx +690 -0
  28. package/src/components/Business/CommonAlert/index.less +0 -0
  29. package/src/components/Business/CommonAlert/index.tsx +23 -0
  30. package/src/components/Business/DetailPageWrapper/index.less +80 -0
  31. package/src/components/Business/DetailPageWrapper/index.tsx +325 -0
  32. package/src/components/Business/DetailPageWrapper/utils.tsx +111 -0
  33. package/src/components/Business/HomePageWrapper/index.less +33 -0
  34. package/src/components/Business/HomePageWrapper/index.md +45 -0
  35. package/src/components/Business/HomePageWrapper/index.tsx +150 -0
  36. package/src/components/Business/columnSettingTable/columnSetting.tsx +173 -5
  37. package/src/components/Business/columnSettingTable/index.tsx +9 -0
  38. package/src/components/Business/columnSettingTable/sulaSettingTable.tsx +9 -0
  39. package/src/index.ts +3 -0
@@ -0,0 +1,2 @@
1
+ declare const _default: (props: any) => JSX.Element;
2
+ export default _default;
@@ -0,0 +1,59 @@
1
+ import React from 'react';
2
+ import './index.less';
3
+ declare class SortableTable extends React.Component {
4
+ state: {
5
+ dataSource: never[];
6
+ columns: never[];
7
+ selectedRowKeys: never[];
8
+ sortDataSource: never[];
9
+ setVisible: boolean;
10
+ searchDataSource: boolean;
11
+ onSearchSort: boolean;
12
+ isDefaultValue: boolean;
13
+ defaultValue: never[];
14
+ };
15
+ patchUserColumnConfig: (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, title: any) => void;
54
+ handleReset: () => void;
55
+ onSearch: (e: any) => void;
56
+ onSearchSort: (e: any) => void;
57
+ render(): JSX.Element;
58
+ }
59
+ export default SortableTable;
@@ -0,0 +1,98 @@
1
+ import moment from 'moment';
2
+ import './utils.less';
3
+ export declare const handleStatusBadge: (text: any, color: any) => JSX.Element;
4
+ export declare const HandleTotalCount: (totalParams: any) => JSX.Element;
5
+ export declare const updateGuanDate: (requestParams: any, dateKeyParams?: any) => {
6
+ type: string;
7
+ width: number;
8
+ props: {
9
+ maskClosable: boolean;
10
+ };
11
+ title: string;
12
+ mode: string;
13
+ initialValues: (ctx: any) => any;
14
+ fields: {
15
+ name: any;
16
+ label: string;
17
+ field: {
18
+ type: string;
19
+ props: {
20
+ autoSize: boolean;
21
+ placeholder: string;
22
+ disabledDate: (currentDate: any) => boolean;
23
+ style: {
24
+ width: string;
25
+ };
26
+ };
27
+ };
28
+ initialValue: moment.Moment;
29
+ rules: {
30
+ required: boolean;
31
+ message: string;
32
+ }[];
33
+ }[];
34
+ submitButtonProps: {
35
+ children: string;
36
+ };
37
+ backButtonProps: {
38
+ children: string;
39
+ };
40
+ submit: any;
41
+ };
42
+ export declare const renderZeroInSummary: (value: any) => number | "- -";
43
+ export declare const calculateValidPeriod: (start: any, end: any) => string;
44
+ export declare const handleTextDouble: (textOne: string | undefined, textTwo: string | undefined) => JSX.Element;
45
+ export declare const handleTextLineFeed: (text: string | undefined, width?: number) => JSX.Element;
46
+ export declare const handleTextOverflow: (text: string | undefined, width?: number) => JSX.Element;
47
+ export declare const handleTooltip: (text: any, timeTrue?: boolean) => JSX.Element;
48
+ export declare const handleTooltipHours: (text: any, timeTrue?: boolean) => JSX.Element;
49
+ declare type tableColumnsImageType = {
50
+ width?: number | string;
51
+ height?: number | string;
52
+ [key: string]: any;
53
+ };
54
+ export declare const tableColumnsImage: (url?: string, paramsObj?: tableColumnsImageType) => JSX.Element;
55
+ declare type UserColumnsType = {
56
+ name: string;
57
+ department?: string;
58
+ position?: string;
59
+ company?: string;
60
+ avatar?: string;
61
+ };
62
+ export declare const userColumns: (props: UserColumnsType) => JSX.Element;
63
+ export declare const userInfoCard: (props: any) => JSX.Element;
64
+ export declare function handleCommonTimeRenderHours(text: any, format?: any): any;
65
+ export declare function handleCommonTimeRender(text: any, format?: any): any;
66
+ interface ColumnsEditInterfave {
67
+ text?: string;
68
+ record?: any;
69
+ type?: string;
70
+ reqName: string;
71
+ successMessage?: string;
72
+ urlPathId?: boolean;
73
+ disabled: boolean;
74
+ requestProps: {
75
+ url: string;
76
+ converter?: Function;
77
+ method?: string;
78
+ };
79
+ [key: string]: any;
80
+ }
81
+ export declare const ColumnsEdit: (props: ColumnsEditInterfave) => JSX.Element;
82
+ export declare const handleTextDoubleOrId: (textOne: string | undefined, textTwo: string | undefined) => JSX.Element;
83
+ export declare const textIcon: (type: string | number, text?: string) => JSX.Element | undefined;
84
+ export declare const renderFixed2: (text: any) => any;
85
+ export declare const getItemDefaultWidth: (item: any) => number;
86
+ /**
87
+ * 查询参数处理
88
+ * @param params 要应用于查询的参数
89
+ * @returns 返回处理后的查询参数
90
+ */
91
+ export declare function queryParams(params: any, flag?: any): any;
92
+ /**
93
+ * 根据用户权限检验对应按钮是够显示 !!!!现在先去掉
94
+ * @param code 对应权限值
95
+ * @returns boolean
96
+ */
97
+ export declare const authFn: (code?: any) => boolean;
98
+ export {};
@@ -0,0 +1,3 @@
1
+ import './index.less';
2
+ declare const _default: (props: any) => JSX.Element;
3
+ export default _default;
@@ -0,0 +1,9 @@
1
+ import './index.less';
2
+ export declare const iconMap: {
3
+ edit: JSX.Element;
4
+ delete: JSX.Element;
5
+ submit: JSX.Element;
6
+ more: JSX.Element;
7
+ };
8
+ declare const _default: (props: any) => JSX.Element;
9
+ export default _default;
@@ -0,0 +1,9 @@
1
+ interface actionItem {
2
+ [propName: string]: any;
3
+ }
4
+ export declare const doDetailPageAction: (config: actionItem) => void;
5
+ export declare const formatter: (data: any, parentAuthority: any, parentName: any) => any;
6
+ export declare const memoizeOneFormatter: import("memoize-one").MemoizedFn<(data: any, parentAuthority: any, parentName: any) => any>;
7
+ export declare const getBreadcrumbNameMap: (menuData: any) => {};
8
+ export declare const judgeIsEmpty: (value: any) => boolean;
9
+ export {};
@@ -0,0 +1,3 @@
1
+ import './index.less';
2
+ declare const _default: (props: any) => JSX.Element;
3
+ export default _default;
@@ -11,5 +11,6 @@ export default class ColumnSettingTable extends React.Component {
11
11
  handledynamicColumns: (col: any[]) => any[];
12
12
  handleResize: (index: any) => (_: any, { size }: any) => void;
13
13
  ResizeableTitle: (props: any) => JSX.Element;
14
+ getTableScrollXWidth: (cols: any[]) => any;
14
15
  render(): JSX.Element;
15
16
  }
@@ -12,5 +12,6 @@ export default class ColumnSettingSulaTable extends React.Component {
12
12
  handledynamicColumns: (col: any[]) => any[];
13
13
  handleResize: (index: any) => (_: any, { size }: any) => void;
14
14
  ResizeableTitle: (props: any) => JSX.Element;
15
+ getTableScrollXWidth: (cols: any[]) => any;
15
16
  render(): JSX.Element;
16
17
  }
package/dist/index.esm.js CHANGED
@@ -7760,6 +7760,14 @@ var shezhi = "data:image/svg+xml,%3C%3Fxml%20version%3D%221.0%22%20encoding%3D%2
7760
7760
 
7761
7761
  var close = "data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20xmlns%3Axlink%3D%22http%3A%2F%2Fwww.w3.org%2F1999%2Fxlink%22%20viewBox%3D%220%200%2024%2024%22%20class%3D%22design-iconfont%22%3E%20%20%3Cdefs%3E%20%20%20%20%3Cpath%20id%3D%22vpuagl2aub%22%20d%3D%22M0%200H24V24H0z%22%2F%3E%20%20%20%20%3Cpath%20d%3D%22M5.1277704%2C-2.07168062e-16%20L12.8722296%2C2.07168062e-16%20C14.6552671%2C-1.2037061e-16%2015.3018396%2C0.185651222%2015.9536914%2C0.534265408%20C16.6055433%2C0.882879593%2017.1171204%2C1.39445674%2017.4657346%2C2.04630859%20C17.8143488%2C2.69816044%2018%2C3.34473292%2018%2C5.1277704%20L18%2C12.8722296%20C18%2C14.6552671%2017.8143488%2C15.3018396%2017.4657346%2C15.9536914%20C17.1171204%2C16.6055433%2016.6055433%2C17.1171204%2015.9536914%2C17.4657346%20C15.3018396%2C17.8143488%2014.6552671%2C18%2012.8722296%2C18%20L5.1277704%2C18%20C3.34473292%2C18%202.69816044%2C17.8143488%202.04630859%2C17.4657346%20C1.39445674%2C17.1171204%200.882879593%2C16.6055433%200.534265408%2C15.9536914%20C0.185651222%2C15.3018396%208.02470732e-17%2C14.6552671%20-1.38112041e-16%2C12.8722296%20L1.38112041e-16%2C5.1277704%20C-8.02470732e-17%2C3.34473292%200.185651222%2C2.69816044%200.534265408%2C2.04630859%20C0.882879593%2C1.39445674%201.39445674%2C0.882879593%202.04630859%2C0.534265408%20C2.69816044%2C0.185651222%203.34473292%2C1.2037061e-16%205.1277704%2C-2.07168062e-16%20Z%22%20id%3D%229tkq7bared%22%2F%3E%20%20%20%20%3Cpath%20id%3D%22a485p4r8he%22%20d%3D%22M0%200H14V14H0z%22%2F%3E%20%20%20%20%3ClinearGradient%20x1%3D%22100%25%22%20y1%3D%2250%25%22%20x2%3D%220%25%22%20y2%3D%2250%25%22%20id%3D%22fsb3v12sda%22%3E%20%20%20%20%20%20%3Cstop%20stop-color%3D%22%2310295B%22%20offset%3D%220%25%22%2F%3E%20%20%20%20%20%20%3Cstop%20stop-color%3D%22%230F2A61%22%20offset%3D%22100%25%22%2F%3E%20%20%20%20%3C%2FlinearGradient%3E%20%20%3C%2Fdefs%3E%20%20%3Cg%20fill%3D%22none%22%20fill-rule%3D%22evenodd%22%3E%20%20%20%20%3Cmask%20id%3D%22hvyjhat2pc%22%20fill%3D%22%23fff%22%3E%20%20%20%20%20%20%3Cuse%20xlink%3Ahref%3D%22%23vpuagl2aub%22%2F%3E%20%20%20%20%3C%2Fmask%3E%20%20%20%20%3Cg%20mask%3D%22url%28%23hvyjhat2pc%29%22%3E%20%20%20%20%20%20%3Cg%20transform%3D%22translate%285%205%29%22%3E%20%20%20%20%20%20%20%20%3Cmask%20id%3D%22ifetffbq2f%22%20fill%3D%22%23fff%22%3E%20%20%20%20%20%20%20%20%20%20%3Cuse%20xlink%3Ahref%3D%22%23a485p4r8he%22%2F%3E%20%20%20%20%20%20%20%20%3C%2Fmask%3E%20%20%20%20%20%20%20%20%3Cg%20mask%3D%22url%28%23ifetffbq2f%29%22%3E%20%20%20%20%20%20%20%20%20%20%3Cpath%20d%3D%22M0.799503052%201.50303676e-15L0%200.796118532%204.44765885%205.26408461%200%209.7320507%200.799503052%2010.5281692%205.24340131%206.06358768%209.68729958%2010.5281692%2010.4868026%209.7320507%206.03951985%205.26446067%2010.4868026%200.796118532%209.68729958%200%205.24340131%204.46420549%200.799503052%200.000376053891z%22%20transform%3D%22translate%281.752867%201.756628%29%22%20fill%3D%22%23999%22%20fill-rule%3D%22nonzero%22%2F%3E%20%20%20%20%20%20%20%20%3C%2Fg%3E%20%20%20%20%20%20%3C%2Fg%3E%20%20%20%20%3C%2Fg%3E%20%20%3C%2Fg%3E%3C%2Fsvg%3E";
7762
7762
 
7763
+ var fixedLeft = "data:image/svg+xml,%3C%3Fxml%20version%3D%221.0%22%20encoding%3D%22UTF-8%22%3F%3E%3Csvg%20width%3D%2218px%22%20height%3D%2218px%22%20viewBox%3D%220%200%2018%2018%22%20version%3D%221.1%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20xmlns%3Axlink%3D%22http%3A%2F%2Fwww.w3.org%2F1999%2Fxlink%22%3E%20%20%20%20%3Ctitle%3E%E7%BC%96%E7%BB%84%209%3C%2Ftitle%3E%20%20%20%20%3Cg%20id%3D%22%E6%98%9F%E6%BE%9C-%E4%B8%AA%E6%80%A7%E5%8C%96%E8%AE%BE%E7%BD%AE%26amp%3B%E9%94%81%E5%AE%9A%E5%88%97%22%20stroke%3D%22none%22%20stroke-width%3D%221%22%20fill%3D%22none%22%20fill-rule%3D%22evenodd%22%3E%20%20%20%20%20%20%20%20%3Cg%20id%3D%22%E5%88%97%E8%A1%A8%E6%90%9C%E7%B4%A2%E5%8C%BA%E5%8A%9F%E8%83%BD%E8%BF%AD%E4%BB%A3%EF%BC%88%E5%8F%AF%E9%94%81%E5%AE%9A%E5%88%97%E8%A1%A8%EF%BC%89%22%20transform%3D%22translate%28-1256.000000%2C%20-596.000000%29%22%3E%20%20%20%20%20%20%20%20%20%20%20%20%3Cg%20id%3D%22%E7%BC%96%E7%BB%84-8%22%20transform%3D%22translate%28550.000000%2C%20291.000000%29%22%3E%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%3Cg%20id%3D%22%E7%BC%96%E7%BB%84-8%E5%A4%87%E4%BB%BD-3%22%20transform%3D%22translate%28590.000000%2C%20294.000000%29%22%3E%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%3Cg%20id%3D%22%E7%BC%96%E7%BB%84-9%22%20transform%3D%22translate%28125.000000%2C%2020.000000%29%20scale%281%2C%20-1%29%20translate%28-125.000000%2C%20-20.000000%29%20translate%28116.000000%2C%2011.000000%29%22%3E%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%3Crect%20id%3D%22%E7%9F%A9%E5%BD%A2%22%20stroke%3D%22%23979797%22%20fill%3D%22%23D8D8D8%22%20opacity%3D%220%22%20x%3D%220.5%22%20y%3D%220.5%22%20width%3D%2217%22%20height%3D%2217%22%3E%3C%2Frect%3E%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%3Cpath%20d%3D%22M9.49980555%2C4.20269836%20L15%2C9.65415997%20L14.1747569%2C10.4721491%20L10.0757645%2C6.40841633%20L10.0757645%2C15%20L8.90867951%2C15%20L8.90906842%2C6.4246065%20L4.82524306%2C10.4721491%20L4%2C9.65493094%20L9.49980555%2C4.20269836%20Z%20M14.9824996%2C3%20L14.9824996%2C4.15644073%20L4.09333569%2C4.15644073%20L4.09333569%2C3%20L14.9824996%2C3%20Z%22%20id%3D%22%E5%BD%A2%E7%8A%B6%E7%BB%93%E5%90%88%22%20fill%3D%22%23999999%22%20fill-rule%3D%22nonzero%22%20transform%3D%22translate%289.500000%2C%209.000000%29%20rotate%28-180.000000%29%20translate%28-9.500000%2C%20-9.000000%29%20%22%3E%3C%2Fpath%3E%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%3C%2Fg%3E%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%3C%2Fg%3E%20%20%20%20%20%20%20%20%20%20%20%20%3C%2Fg%3E%20%20%20%20%20%20%20%20%3C%2Fg%3E%20%20%20%20%3C%2Fg%3E%3C%2Fsvg%3E";
7764
+
7765
+ var fixedLeftActive = "data:image/svg+xml,%3C%3Fxml%20version%3D%221.0%22%20encoding%3D%22UTF-8%22%3F%3E%3Csvg%20width%3D%2218px%22%20height%3D%2218px%22%20viewBox%3D%220%200%2018%2018%22%20version%3D%221.1%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20xmlns%3Axlink%3D%22http%3A%2F%2Fwww.w3.org%2F1999%2Fxlink%22%3E%20%20%20%20%3Ctitle%3E%E7%BC%96%E7%BB%84%209%3C%2Ftitle%3E%20%20%20%20%3Cg%20id%3D%22%E6%98%9F%E6%BE%9C-%E4%B8%AA%E6%80%A7%E5%8C%96%E8%AE%BE%E7%BD%AE%26amp%3B%E9%94%81%E5%AE%9A%E5%88%97%22%20stroke%3D%22none%22%20stroke-width%3D%221%22%20fill%3D%22none%22%20fill-rule%3D%22evenodd%22%3E%20%20%20%20%20%20%20%20%3Cg%20id%3D%22%E7%94%BB%E6%9D%BF%22%20transform%3D%22translate%28-67.000000%2C%20-43.000000%29%22%3E%20%20%20%20%20%20%20%20%20%20%20%20%3Cg%20id%3D%22%E7%BC%96%E7%BB%84-9%22%20transform%3D%22translate%2876.000000%2C%2052.000000%29%20scale%281%2C%20-1%29%20translate%28-76.000000%2C%20-52.000000%29%20translate%2867.000000%2C%2043.000000%29%22%3E%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%3Crect%20id%3D%22%E7%9F%A9%E5%BD%A2%22%20stroke%3D%22%23979797%22%20fill%3D%22%23D8D8D8%22%20opacity%3D%220%22%20x%3D%220.5%22%20y%3D%220.5%22%20width%3D%2217%22%20height%3D%2217%22%3E%3C%2Frect%3E%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%3Cpath%20d%3D%22M9.49980555%2C4.20269836%20L15%2C9.65415997%20L14.1747569%2C10.4721491%20L10.0757645%2C6.40841633%20L10.0757645%2C15%20L8.90867951%2C15%20L8.90906842%2C6.4246065%20L4.82524306%2C10.4721491%20L4%2C9.65493094%20L9.49980555%2C4.20269836%20Z%20M14.9824996%2C3%20L14.9824996%2C4.15644073%20L4.09333569%2C4.15644073%20L4.09333569%2C3%20L14.9824996%2C3%20Z%22%20id%3D%22%E5%BD%A2%E7%8A%B6%E7%BB%93%E5%90%88%22%20fill%3D%22%23005CFF%22%20fill-rule%3D%22nonzero%22%20transform%3D%22translate%289.500000%2C%209.000000%29%20rotate%28-180.000000%29%20translate%28-9.500000%2C%20-9.000000%29%20%22%3E%3C%2Fpath%3E%20%20%20%20%20%20%20%20%20%20%20%20%3C%2Fg%3E%20%20%20%20%20%20%20%20%3C%2Fg%3E%20%20%20%20%3C%2Fg%3E%3C%2Fsvg%3E";
7766
+
7767
+ var fixedRight = "data:image/svg+xml,%3C%3Fxml%20version%3D%221.0%22%20encoding%3D%22UTF-8%22%3F%3E%3Csvg%20width%3D%2218px%22%20height%3D%2218px%22%20viewBox%3D%220%200%2018%2018%22%20version%3D%221.1%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20xmlns%3Axlink%3D%22http%3A%2F%2Fwww.w3.org%2F1999%2Fxlink%22%3E%20%20%20%20%3Ctitle%3E%E7%BC%96%E7%BB%84%209%3C%2Ftitle%3E%20%20%20%20%3Cg%20id%3D%22%E6%98%9F%E6%BE%9C-%E4%B8%AA%E6%80%A7%E5%8C%96%E8%AE%BE%E7%BD%AE%26amp%3B%E9%94%81%E5%AE%9A%E5%88%97%22%20stroke%3D%22none%22%20stroke-width%3D%221%22%20fill%3D%22none%22%20fill-rule%3D%22evenodd%22%3E%20%20%20%20%20%20%20%20%3Cg%20id%3D%22%E5%88%97%E8%A1%A8%E6%90%9C%E7%B4%A2%E5%8C%BA%E5%8A%9F%E8%83%BD%E8%BF%AD%E4%BB%A3%EF%BC%88%E5%8F%AF%E9%94%81%E5%AE%9A%E5%88%97%E8%A1%A8%EF%BC%89%22%20transform%3D%22translate%28-1278.000000%2C%20-596.000000%29%22%3E%20%20%20%20%20%20%20%20%20%20%20%20%3Cg%20id%3D%22%E7%BC%96%E7%BB%84-8%22%20transform%3D%22translate%28550.000000%2C%20291.000000%29%22%3E%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%3Cg%20id%3D%22%E7%BC%96%E7%BB%84-8%E5%A4%87%E4%BB%BD-3%22%20transform%3D%22translate%28590.000000%2C%20294.000000%29%22%3E%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%3Cg%20id%3D%22%E7%BC%96%E7%BB%84-9%22%20transform%3D%22translate%28138.000000%2C%2011.000000%29%22%3E%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%3Crect%20id%3D%22%E7%9F%A9%E5%BD%A2%22%20stroke%3D%22%23979797%22%20fill%3D%22%23D8D8D8%22%20opacity%3D%220%22%20x%3D%220.5%22%20y%3D%220.5%22%20width%3D%2217%22%20height%3D%2217%22%3E%3C%2Frect%3E%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%3Cpath%20d%3D%22M9.49980555%2C4.20269836%20L15%2C9.65415997%20L14.1747569%2C10.4721491%20L10.0757645%2C6.40841633%20L10.0757645%2C15%20L8.90867951%2C15%20L8.90906842%2C6.4246065%20L4.82524306%2C10.4721491%20L4%2C9.65493094%20L9.49980555%2C4.20269836%20Z%20M14.9824996%2C3%20L14.9824996%2C4.15644073%20L4.09333569%2C4.15644073%20L4.09333569%2C3%20L14.9824996%2C3%20Z%22%20id%3D%22%E5%BD%A2%E7%8A%B6%E7%BB%93%E5%90%88%22%20fill%3D%22%23999999%22%20fill-rule%3D%22nonzero%22%20transform%3D%22translate%289.500000%2C%209.000000%29%20rotate%28-180.000000%29%20translate%28-9.500000%2C%20-9.000000%29%20%22%3E%3C%2Fpath%3E%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%3C%2Fg%3E%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%3C%2Fg%3E%20%20%20%20%20%20%20%20%20%20%20%20%3C%2Fg%3E%20%20%20%20%20%20%20%20%3C%2Fg%3E%20%20%20%20%3C%2Fg%3E%3C%2Fsvg%3E";
7768
+
7769
+ var fixedRightActive = "data:image/svg+xml,%3C%3Fxml%20version%3D%221.0%22%20encoding%3D%22UTF-8%22%3F%3E%3Csvg%20width%3D%2218px%22%20height%3D%2218px%22%20viewBox%3D%220%200%2018%2018%22%20version%3D%221.1%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20xmlns%3Axlink%3D%22http%3A%2F%2Fwww.w3.org%2F1999%2Fxlink%22%3E%20%20%20%20%3Ctitle%3E%E7%BC%96%E7%BB%84%209%3C%2Ftitle%3E%20%20%20%20%3Cg%20id%3D%22%E6%98%9F%E6%BE%9C-%E4%B8%AA%E6%80%A7%E5%8C%96%E8%AE%BE%E7%BD%AE%26amp%3B%E9%94%81%E5%AE%9A%E5%88%97%22%20stroke%3D%22none%22%20stroke-width%3D%221%22%20fill%3D%22none%22%20fill-rule%3D%22evenodd%22%3E%20%20%20%20%20%20%20%20%3Cg%20id%3D%22%E7%94%BB%E6%9D%BF%22%20transform%3D%22translate%28-89.000000%2C%20-43.000000%29%22%3E%20%20%20%20%20%20%20%20%20%20%20%20%3Cg%20id%3D%22%E7%BC%96%E7%BB%84-9%22%20transform%3D%22translate%2889.000000%2C%2043.000000%29%22%3E%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%3Crect%20id%3D%22%E7%9F%A9%E5%BD%A2%22%20stroke%3D%22%23979797%22%20fill%3D%22%23D8D8D8%22%20opacity%3D%220%22%20x%3D%220.5%22%20y%3D%220.5%22%20width%3D%2217%22%20height%3D%2217%22%3E%3C%2Frect%3E%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%3Cpath%20d%3D%22M9.49980555%2C4.20269836%20L15%2C9.65415997%20L14.1747569%2C10.4721491%20L10.0757645%2C6.40841633%20L10.0757645%2C15%20L8.90867951%2C15%20L8.90906842%2C6.4246065%20L4.82524306%2C10.4721491%20L4%2C9.65493094%20L9.49980555%2C4.20269836%20Z%20M14.9824996%2C3%20L14.9824996%2C4.15644073%20L4.09333569%2C4.15644073%20L4.09333569%2C3%20L14.9824996%2C3%20Z%22%20id%3D%22%E5%BD%A2%E7%8A%B6%E7%BB%93%E5%90%88%22%20fill%3D%22%23005CFF%22%20fill-rule%3D%22nonzero%22%20transform%3D%22translate%289.500000%2C%209.000000%29%20rotate%28-180.000000%29%20translate%28-9.500000%2C%20-9.000000%29%20%22%3E%3C%2Fpath%3E%20%20%20%20%20%20%20%20%20%20%20%20%3C%2Fg%3E%20%20%20%20%20%20%20%20%3C%2Fg%3E%20%20%20%20%3C%2Fg%3E%3C%2Fsvg%3E";
7770
+
7763
7771
  var css_248z$8 = ".sort_table_wrapper .sort_table {\n display: flex;\n}\n.sort_table_wrapper .sort_table .sort_table_column_wrapper {\n width: 560px;\n margin-right: 10px;\n}\n.sort_table_wrapper .sort_table .sort_table_content_wrapper {\n width: 210px;\n}\n.sort_table_wrapper .sort_table .sort_table_column_count,\n.sort_table_wrapper .sort_table .sort_table_content_count {\n height: 20px;\n font-family: PingFangSC-Regular;\n font-weight: 400;\n font-size: 14px;\n color: #000000;\n letter-spacing: 0;\n}\n.sort_table_wrapper .sort_table .sort_table_column_count span,\n.sort_table_wrapper .sort_table .sort_table_content_count span {\n color: #848484;\n}\n.sort_table_wrapper .sort_table .sort_table_column {\n margin-top: 10px;\n width: 560px;\n height: 430px;\n overflow: auto;\n padding: 10px;\n background: #ffffff;\n border: 1px solid #d9d9d9;\n border-radius: 5px;\n}\n.sort_table_wrapper .sort_table .sort_table_column_all {\n display: flex;\n flex-wrap: wrap;\n justify-content: space-between;\n}\n.sort_table_wrapper .sort_table .sort_table_column_all_empty {\n width: 538px;\n line-height: 360px;\n text-align: center;\n font-family: PingFangSC-Regular;\n font-weight: 400;\n font-size: 14px;\n color: #848484;\n}\n.sort_table_wrapper .sort_table .sort_table_column_special {\n margin-top: 40px;\n width: 100px;\n height: 20px;\n font-family: PingFangSC-Regular;\n font-weight: 400;\n font-size: 14px;\n color: #848484;\n letter-spacing: 0;\n}\n.sort_table_wrapper .sort_table .sort_table_column .ant-checkbox-wrapper {\n width: 144px;\n margin-top: 16px;\n}\n.sort_table_wrapper .sort_table .sort_table_column .ant-checkbox-wrapper + .ant-checkbox-wrapper {\n margin-left: 0px;\n}\n.sort_table_wrapper .sort_table .sort_table_content {\n margin-top: 10px;\n padding-top: 10px;\n padding-bottom: 10px;\n border: 1px solid #d9d9d9;\n border-radius: 5px;\n}\n.sort_table_wrapper .sort_table .sort_table_content .ant-table-wrapper {\n padding: 0px !important;\n}\n.sort_table_wrapper .sort_table .sort_table_content .sort_table_title {\n height: 32px;\n line-height: 32px;\n padding-left: 10px;\n color: gray;\n}\n.sort_table_wrapper div.ant-modal-header {\n width: 820px;\n height: 64px;\n background: #ffffff;\n padding: 20px;\n border: 0px;\n}\n.sort_table_wrapper div.ant-modal-header div.ant-modal-title {\n height: 24px;\n font-family: PingFangSC-Medium;\n font-weight: 500;\n font-size: 18px;\n color: #000000;\n letter-spacing: 0;\n line-height: 24px;\n}\n.sort_table_wrapper .ant-modal-body {\n padding: 0 20px !important;\n}\n.sort_table_wrapper .ant-modal-close-x {\n height: 24px;\n font-family: PingFangSC-Medium;\n font-weight: 500;\n font-size: 18px;\n color: #000000;\n letter-spacing: 0;\n}\n.sort_table_wrapper .ant-input-affix-wrapper {\n padding: 0px;\n padding-right: 10px;\n}\n.sort_table_wrapper input {\n height: 32px;\n padding: 6px 4px;\n border-radius: 5px;\n}\n.sort_table_wrapper .ant-input-prefix {\n width: 24px;\n height: 24px;\n margin: 4px;\n display: flex;\n justify-content: center;\n}\n.sort_table_wrapper .ant-modal-footer {\n height: 70px;\n border: 0;\n padding: 20px;\n}\n.sort_table_wrapper .ant-modal-footer .ant-btn {\n width: 80px;\n height: 34px;\n border-radius: 5px;\n}\n.sort_table_wrapper .ant-modal-footer .ant-btn span {\n font-family: PingFangSC-Medium;\n font-weight: 600;\n font-size: 14px;\n letter-spacing: 0;\n text-align: center;\n line-height: 20px;\n}\n.sort_table_wrapper .ant-modal-footer .ant-btn:first-child {\n margin-right: 524px;\n}\n.sort_table_wrapper .ant-table-wrapper::-webkit-scrollbar {\n display: none;\n}\n.sort_table_wrapper .ant-table-wrapper {\n margin-top: 10px;\n height: 364px;\n overflow: scroll;\n padding-bottom: 50px;\n}\n.sort_table_wrapper .ant-table-wrapper tr {\n height: 36px;\n}\n.sort_table_wrapper .ant-table-wrapper tr td {\n width: 24px !important;\n height: 36px !important;\n font-family: PingFangSC-Regular;\n font-weight: 400;\n font-size: 14px;\n color: #000000;\n letter-spacing: 0;\n}\n.sort_table_wrapper .ant-table-wrapper tr td:first-child {\n padding-left: 10px !important;\n padding-right: 0px !important;\n width: 115px !important;\n}\n.sort_table_wrapper .ant-table-wrapper tr td img {\n cursor: pointer;\n}\n.sort_table_wrapper .ant-table-wrapper tr td:not(:first-child) {\n padding-left: 0px !important;\n padding-right: 0px !important;\n}\n.sort_table_wrapper .ant-table-wrapper tr td:last-child {\n padding-left: 0px !important;\n padding-right: 3px !important;\n width: 34px !important;\n}\n.sort_table_wrapper .ant-table-wrapper tr td:last-child img {\n position: relative;\n top: 1px;\n}\n.global_tab_nav_style {\n top: 2px !important;\n}\n.row-dragging {\n background: #fafafa;\n border: 1px solid #ccc;\n z-index: 10000;\n}\n.row-dragging td {\n padding: 7px 16px;\n display: none;\n}\n.row-dragging td:first-child {\n display: inline-block;\n}\n.row-dragging .drag-visible {\n visibility: visible;\n}\n";
7764
7772
  styleInject(css_248z$8);
7765
7773
 
@@ -7894,6 +7902,156 @@ var SortableTable = /*#__PURE__*/function (_React$Component) {
7894
7902
  dataIndex: 'title',
7895
7903
  className: 'drag-visible',
7896
7904
  width: 100
7905
+ }, {
7906
+ title: '列首',
7907
+ dataIndex: 'fixedLeft',
7908
+ render: function render(text, record) {
7909
+ return /*#__PURE__*/React.createElement("span", {
7910
+ onClick: function onClick() {
7911
+ var sortDataSource = _this.state.sortDataSource;
7912
+
7913
+ if ((record === null || record === void 0 ? void 0 : record.fixed) !== 'left') {
7914
+ var newSortData = sortDataSource.map(function (item) {
7915
+ if (item.title === record.title) {
7916
+ return _objectSpread2(_objectSpread2({}, item), {}, {
7917
+ fixed: 'left'
7918
+ });
7919
+ }
7920
+
7921
+ return item;
7922
+ });
7923
+
7924
+ _this.setState({
7925
+ sortDataSource: [].concat(_toConsumableArray(newSortData.filter(function (item) {
7926
+ return item.fixed === 'left';
7927
+ })), _toConsumableArray(newSortData.filter(function (item) {
7928
+ return !item.fixed;
7929
+ })), _toConsumableArray(newSortData.filter(function (item) {
7930
+ return item.fixed === 'right';
7931
+ }))),
7932
+ dataSource: _toConsumableArray(_this.state.dataSource.map(function (item) {
7933
+ if (item.title === record.title) {
7934
+ return _objectSpread2(_objectSpread2({}, item), {}, {
7935
+ fixed: 'left'
7936
+ });
7937
+ }
7938
+
7939
+ return item;
7940
+ }))
7941
+ });
7942
+ } else {
7943
+ var _newSortData = sortDataSource.map(function (item) {
7944
+ if (item.title === record.title) {
7945
+ return _objectSpread2(_objectSpread2({}, item), {}, {
7946
+ fixed: null
7947
+ });
7948
+ }
7949
+
7950
+ return item;
7951
+ });
7952
+
7953
+ _this.setState({
7954
+ sortDataSource: [].concat(_toConsumableArray(_newSortData.filter(function (item) {
7955
+ return item.fixed === 'left';
7956
+ })), _toConsumableArray(_newSortData.filter(function (item) {
7957
+ return !item.fixed;
7958
+ })), _toConsumableArray(_newSortData.filter(function (item) {
7959
+ return item.fixed === 'right';
7960
+ }))),
7961
+ dataSource: _toConsumableArray(_this.state.dataSource.map(function (item) {
7962
+ if (item.title === record.title) {
7963
+ return _objectSpread2(_objectSpread2({}, item), {}, {
7964
+ fixed: null
7965
+ });
7966
+ }
7967
+
7968
+ return item;
7969
+ }))
7970
+ });
7971
+ }
7972
+ }
7973
+ }, /*#__PURE__*/React.createElement(Tooltip, {
7974
+ placement: "top",
7975
+ title: (record === null || record === void 0 ? void 0 : record.fixed) === 'left' ? '取消固定' : '固定列首'
7976
+ }, /*#__PURE__*/React.createElement("img", {
7977
+ src: (record === null || record === void 0 ? void 0 : record.fixed) === 'left' ? fixedLeftActive : fixedLeft
7978
+ })));
7979
+ }
7980
+ }, {
7981
+ title: '列尾',
7982
+ dataIndex: 'fixedRight',
7983
+ render: function render(text, record) {
7984
+ return /*#__PURE__*/React.createElement("span", {
7985
+ onClick: function onClick() {
7986
+ var sortDataSource = _this.state.sortDataSource;
7987
+
7988
+ if ((record === null || record === void 0 ? void 0 : record.fixed) !== 'right') {
7989
+ var newSortData = sortDataSource.map(function (item) {
7990
+ if (item.title === record.title) {
7991
+ return _objectSpread2(_objectSpread2({}, item), {}, {
7992
+ fixed: 'right'
7993
+ });
7994
+ }
7995
+
7996
+ return item;
7997
+ });
7998
+
7999
+ _this.setState({
8000
+ sortDataSource: [].concat(_toConsumableArray(newSortData.filter(function (item) {
8001
+ return item.fixed === 'left';
8002
+ })), _toConsumableArray(newSortData.filter(function (item) {
8003
+ return !item.fixed;
8004
+ })), _toConsumableArray(newSortData.filter(function (item) {
8005
+ return item.fixed === 'right';
8006
+ }))),
8007
+ dataSource: _toConsumableArray(_this.state.dataSource.map(function (item) {
8008
+ if (item.title === record.title) {
8009
+ return _objectSpread2(_objectSpread2({}, item), {}, {
8010
+ fixed: 'right'
8011
+ });
8012
+ }
8013
+
8014
+ return item;
8015
+ }))
8016
+ });
8017
+ } else {
8018
+ var _newSortData2 = sortDataSource.map(function (item) {
8019
+ if (item.title === record.title) {
8020
+ return _objectSpread2(_objectSpread2({}, item), {}, {
8021
+ fixed: null
8022
+ });
8023
+ }
8024
+
8025
+ return item;
8026
+ });
8027
+
8028
+ _this.setState({
8029
+ sortDataSource: [].concat(_toConsumableArray(_newSortData2.filter(function (item) {
8030
+ return item.fixed === 'left';
8031
+ })), _toConsumableArray(_newSortData2.filter(function (item) {
8032
+ return !item.fixed;
8033
+ })), _toConsumableArray(_newSortData2.filter(function (item) {
8034
+ return item.fixed === 'right';
8035
+ }))),
8036
+ dataSource: _toConsumableArray(_this.state.dataSource.map(function (item) {
8037
+ if (item.title === record.title) {
8038
+ return _objectSpread2(_objectSpread2({}, item), {}, {
8039
+ fixed: null
8040
+ });
8041
+ }
8042
+
8043
+ return item;
8044
+ }))
8045
+ });
8046
+ }
8047
+ }
8048
+ }, /*#__PURE__*/React.createElement(Tooltip, {
8049
+ placement: "top",
8050
+ title: (record === null || record === void 0 ? void 0 : record.fixed) === 'right' ? '取消固定' : '固定列尾'
8051
+ }, /*#__PURE__*/React.createElement("img", {
8052
+ src: (record === null || record === void 0 ? void 0 : record.fixed) === 'right' ? fixedRightActive : fixedRight
8053
+ })));
8054
+ }
7897
8055
  }, {
7898
8056
  title: '删除',
7899
8057
  dataIndex: 'title1',
@@ -7992,12 +8150,10 @@ var SortableTable = /*#__PURE__*/function (_React$Component) {
7992
8150
  var sortDataSource = _this.state.sortDataSource;
7993
8151
  var _this$props = _this.props,
7994
8152
  value = _this$props.value,
7995
- setValue = _this$props.setValue;
7996
-
7997
- if (sortDataSource[oldIndex]['fixed']) {
7998
- message.warning('固定列不可移动');
7999
- return;
8000
- }
8153
+ setValue = _this$props.setValue; // if (sortDataSource[oldIndex]['fixed']) {
8154
+ // message.warning('固定列不可移动');
8155
+ // return;
8156
+ // }
8001
8157
 
8002
8158
  if (oldIndex !== newIndex) {
8003
8159
  var newData = arrayMoveImmutable([].concat(sortDataSource), oldIndex, newIndex).filter(function (el) {
@@ -8005,7 +8161,13 @@ var SortableTable = /*#__PURE__*/function (_React$Component) {
8005
8161
  });
8006
8162
 
8007
8163
  _this.setState({
8008
- sortDataSource: newData
8164
+ sortDataSource: [].concat(_toConsumableArray(newData.filter(function (item) {
8165
+ return item.fixed === 'left';
8166
+ })), _toConsumableArray(newData.filter(function (item) {
8167
+ return !item.fixed;
8168
+ })), _toConsumableArray(newData.filter(function (item) {
8169
+ return item.fixed === 'right';
8170
+ })))
8009
8171
  });
8010
8172
  }
8011
8173
  };
@@ -8055,27 +8217,27 @@ var SortableTable = /*#__PURE__*/function (_React$Component) {
8055
8217
  }))
8056
8218
  });
8057
8219
  } else {
8058
- var fixedLeft = [];
8059
- var fixedRight = [];
8220
+ var _fixedLeft = [];
8221
+ var _fixedRight = [];
8060
8222
  var noFixedSortSource = [];
8061
8223
  sortDataSource.forEach(function (item) {
8062
8224
  if ((item === null || item === void 0 ? void 0 : item.fixed) === 'left') {
8063
- fixedLeft.push(item);
8225
+ _fixedLeft.push(item);
8064
8226
  } else if ((item === null || item === void 0 ? void 0 : item.fixed) === 'right') {
8065
- fixedRight.push(item);
8227
+ _fixedRight.push(item);
8066
8228
  } else {
8067
8229
  noFixedSortSource.push(item);
8068
8230
  }
8069
8231
  });
8070
8232
 
8071
8233
  _this.setState({
8072
- sortDataSource: [].concat(fixedLeft, noFixedSortSource, _toConsumableArray(dataSource.filter(function (item) {
8234
+ sortDataSource: [].concat(_fixedLeft, noFixedSortSource, _toConsumableArray(dataSource.filter(function (item) {
8073
8235
  return item.title === title;
8074
8236
  }).map(function (source) {
8075
8237
  return _objectSpread2(_objectSpread2({}, source), {}, {
8076
8238
  hidden: false
8077
8239
  });
8078
- })), fixedRight),
8240
+ })), _fixedRight),
8079
8241
  dataSource: _toConsumableArray(dataSource.map(function (item) {
8080
8242
  if (item.title === title) {
8081
8243
  return _objectSpread2(_objectSpread2({}, item), {}, {
@@ -8533,6 +8695,18 @@ var ColumnSettingSulaTable = /*#__PURE__*/function (_React$Component) {
8533
8695
  }, /*#__PURE__*/React.createElement("th", _objectSpread2({}, restProps)));
8534
8696
  };
8535
8697
 
8698
+ _this.getTableScrollXWidth = function (cols) {
8699
+ if (cols.every(function (item) {
8700
+ return item.width;
8701
+ })) {
8702
+ return cols.reduce(function (cur, obj) {
8703
+ return cur += obj.width;
8704
+ }, 0);
8705
+ } else {
8706
+ return 'max-content';
8707
+ }
8708
+ };
8709
+
8536
8710
  _this.state = {
8537
8711
  showColumns: []
8538
8712
  };
@@ -8612,6 +8786,9 @@ var ColumnSettingSulaTable = /*#__PURE__*/function (_React$Component) {
8612
8786
  }
8613
8787
 
8614
8788
  otherTableInfo = _objectSpread2(_objectSpread2({}, otherTableInfo), {}, {
8789
+ scroll: {
8790
+ x: restProps.overScrollX || this.getTableScrollXWidth(showCol)
8791
+ },
8615
8792
  summary: showSummary
8616
8793
  });
8617
8794
  return /*#__PURE__*/React.createElement("div", null, /*#__PURE__*/React.createElement("div", {
@@ -8800,6 +8977,18 @@ var ColumnSettingTable = /*#__PURE__*/function (_React$Component) {
8800
8977
  }, /*#__PURE__*/React.createElement("th", _objectSpread2({}, restProps)));
8801
8978
  };
8802
8979
 
8980
+ _this.getTableScrollXWidth = function (cols) {
8981
+ if (cols.every(function (item) {
8982
+ return item.width;
8983
+ })) {
8984
+ return cols.reduce(function (cur, obj) {
8985
+ return cur += obj.width;
8986
+ }, 0);
8987
+ } else {
8988
+ return 'max-content';
8989
+ }
8990
+ };
8991
+
8803
8992
  _this.state = {
8804
8993
  showColumns: []
8805
8994
  };
@@ -8876,6 +9065,9 @@ var ColumnSettingTable = /*#__PURE__*/function (_React$Component) {
8876
9065
  }
8877
9066
 
8878
9067
  otherTableInfo = _objectSpread2(_objectSpread2({}, otherTableInfo), {}, {
9068
+ scroll: {
9069
+ x: restProps.overScrollX || this.getTableScrollXWidth(showCol)
9070
+ },
8879
9071
  summary: showSummary
8880
9072
  });
8881
9073
  return /*#__PURE__*/React.createElement("div", null, /*#__PURE__*/React.createElement("div", {