@bit-sun/business-component 4.0.13-alpha.15 → 4.0.13-alpha.17
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/dist/components/Business/AddSelectBusiness/index.d.ts +4 -4
- package/dist/components/Business/BsLayouts/Components/AllFunc/drawContent.d.ts +2 -2
- package/dist/components/Business/BsLayouts/Components/ChooseStore/index.d.ts +2 -2
- package/dist/components/Business/BsLayouts/Components/CustomerMenu/MenuSetting/index.d.ts +1 -1
- package/dist/components/Business/BsLayouts/Components/CustomerMenu/MenuSetting/leftTree.d.ts +1 -1
- package/dist/components/Business/BsLayouts/Components/CustomerMenu/MenuSetting/rightTree.d.ts +2 -2
- package/dist/components/Business/BsLayouts/Components/CustomerMenu/globalMenu/DrawContent.d.ts +2 -2
- package/dist/components/Business/BsLayouts/Components/CustomerMenu/globalMenu/customMenuHeader.d.ts +2 -2
- package/dist/components/Business/BsLayouts/Components/CustomerMenu/index.d.ts +1 -1
- package/dist/components/Business/BsLayouts/Components/GlobalHeader/index.d.ts +2 -2
- package/dist/components/Business/BsLayouts/Components/RightContent/LoginModal.d.ts +2 -2
- package/dist/components/Business/BsLayouts/index.d.ts +1 -1
- package/dist/components/Business/BsSulaQueryTable/SearchItemSetting.d.ts +5 -5
- package/dist/components/Business/BsSulaQueryTable/index.d.ts +2 -2
- package/dist/components/Business/BsSulaQueryTable/setting.d.ts +6 -6
- package/dist/components/Business/BsSulaQueryTable/utils.d.ts +15 -15
- package/dist/components/Business/CommodityEntry/index.d.ts +2 -2
- package/dist/components/Business/CommonAlert/index.d.ts +2 -2
- package/dist/components/Business/CommonGuideWrapper/index.d.ts +3 -3
- package/dist/components/Business/DetailPageWrapper/index.d.ts +6 -6
- package/dist/components/Business/HomePageWrapper/index.d.ts +2 -2
- package/dist/components/Business/JsonQueryTable/components/FieldsModifyModal.d.ts +2 -2
- package/dist/components/Business/JsonQueryTable/components/FieldsSettingsTable.d.ts +2 -2
- package/dist/components/Business/JsonQueryTable/components/Formula.d.ts +2 -2
- package/dist/components/Business/JsonQueryTable/components/MaintainOptions.d.ts +2 -2
- package/dist/components/Business/JsonQueryTable/drawer/index.d.ts +2 -2
- package/dist/components/Business/PropertyModal/index.d.ts +2 -2
- package/dist/components/Business/PropertyModal/propertyGroup.d.ts +1 -1
- package/dist/components/Business/SearchSelect/index.d.ts +1 -1
- package/dist/components/Business/StateFlow/index.d.ts +2 -2
- package/dist/components/Business/TreeSearchSelect/index.d.ts +1 -1
- package/dist/components/Business/columnSettingTable/columnSetting.d.ts +6 -6
- package/dist/components/Business/columnSettingTable/components/TableSumComponent.d.ts +2 -2
- package/dist/components/Business/columnSettingTable/index.d.ts +2 -2
- package/dist/components/Business/columnSettingTable/sulaSettingTable.d.ts +2 -2
- package/dist/components/Business/columnSettingTable/utils.d.ts +2 -2
- package/dist/components/Business/moreTreeTable/FixedScrollBar.d.ts +1 -1
- package/dist/components/Common/ParagraphCopier/index.d.ts +1 -1
- package/dist/components/Common/Section/index.d.ts +1 -1
- package/dist/components/Functional/AddSelect/index.d.ts +2 -2
- package/dist/components/Functional/AuthButton/index.d.ts +2 -2
- package/dist/components/Functional/DataImport/index.d.ts +3 -3
- package/dist/components/Functional/DataValidation/index.d.ts +3 -3
- package/dist/components/Functional/ExportFunctions/ExportIcon/index.d.ts +2 -2
- package/dist/components/Functional/QueryMutipleInput/index.d.ts +2 -2
- package/dist/components/Functional/QueryMutipleSelect/index.d.ts +2 -2
- package/dist/components/Functional/SearchSelect/index.d.ts +1 -1
- package/dist/components/Functional/SearchSelect/utils.d.ts +3 -3
- package/dist/components/Functional/TreeSearchSelect/index.d.ts +2 -2
- package/dist/components/Solution/RuleComponent/CustomPlugin/CustomSelector/CustomSelectorModal.d.ts +1 -1
- package/dist/components/Solution/RuleComponent/CustomPlugin/CustomSelector/index.d.ts +2 -2
- package/dist/components/Solution/RuleComponent/Formula.d.ts +2 -2
- package/dist/components/Solution/RuleComponent/InnerSelect.d.ts +2 -2
- package/dist/components/Solution/RuleComponent/RenderCompItem.d.ts +2 -2
- package/dist/components/Solution/RuleSetter/RuleInstance.d.ts +2 -2
- package/dist/components/Solution/RuleSetter/baseRule.d.ts +1 -1
- package/dist/components/Solution/RuleSetter/index.d.ts +1 -1
- package/dist/index.esm.js +15 -13
- package/dist/index.js +15 -13
- package/dist/plugin/TableColumnSetting/index.d.ts +5 -5
- package/dist/utils/TableUtils.d.ts +19 -19
- package/package.json +1 -1
- package/src/components/Business/CommodityEntry/index.tsx +11 -9
- package/src/components/Business/HomePageWrapper/index.less +1 -1
- package/src/components/Functional/SearchSelect/index.less +3 -5
- package/src/components/Functional/SearchSelect/index.tsx +2 -2
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
|
|
2
|
-
export declare const AddSkuSelect: (parProps: any) =>
|
|
3
|
-
export declare const AddSkcSelect: (parProps: any) =>
|
|
4
|
-
export declare const AddSpuSelect: (parProps: any) =>
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
export declare const AddSkuSelect: (parProps: any) => JSX.Element;
|
|
3
|
+
export declare const AddSkcSelect: (parProps: any) => JSX.Element;
|
|
4
|
+
export declare const AddSpuSelect: (parProps: any) => JSX.Element;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
|
|
1
|
+
/// <reference types="react" />
|
|
2
2
|
import './index.less';
|
|
3
3
|
export type SiderTheme = 'light' | 'dark';
|
|
4
|
-
declare const DrawContent: ({ onClose, itemPath }: any) =>
|
|
4
|
+
declare const DrawContent: ({ onClose, itemPath }: any) => JSX.Element;
|
|
5
5
|
export default DrawContent;
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
|
|
2
|
-
declare const ChooseStore: (props: any) =>
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
declare const ChooseStore: (props: any) => JSX.Element;
|
|
3
3
|
export default ChooseStore;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
import React from "react";
|
|
2
2
|
import './index.less';
|
|
3
|
-
declare const MenuSetting: React.ForwardRefExoticComponent<
|
|
3
|
+
declare const MenuSetting: React.ForwardRefExoticComponent<Pick<any, string | number | symbol> & React.RefAttributes<unknown>>;
|
|
4
4
|
export default MenuSetting;
|
package/dist/components/Business/BsLayouts/Components/CustomerMenu/MenuSetting/leftTree.d.ts
CHANGED
|
@@ -12,6 +12,6 @@ declare class LeftTree extends React.Component<any> {
|
|
|
12
12
|
onChange: (e: any) => void;
|
|
13
13
|
getPathList: (originData: any) => Array<any>;
|
|
14
14
|
handleAdd2Menu: (path: string) => void;
|
|
15
|
-
render():
|
|
15
|
+
render(): JSX.Element;
|
|
16
16
|
}
|
|
17
17
|
export default LeftTree;
|
package/dist/components/Business/BsLayouts/Components/CustomerMenu/MenuSetting/rightTree.d.ts
CHANGED
|
@@ -24,7 +24,7 @@ declare class rightTree extends React.Component<any> {
|
|
|
24
24
|
handleBatchDelete: () => void;
|
|
25
25
|
handleAddTreeNode: (e: any, item: any) => void;
|
|
26
26
|
onCheck: (checkedKeysValue: React.Key[]) => void;
|
|
27
|
-
getChildMenu: (item: any) =>
|
|
28
|
-
render():
|
|
27
|
+
getChildMenu: (item: any) => JSX.Element;
|
|
28
|
+
render(): JSX.Element;
|
|
29
29
|
}
|
|
30
30
|
export default rightTree;
|
package/dist/components/Business/BsLayouts/Components/CustomerMenu/globalMenu/DrawContent.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
|
|
1
|
+
/// <reference types="react" />
|
|
2
2
|
import './drawContent.less';
|
|
3
|
-
declare const DrawContent: ({ onClose, originRoutes, itemPath }: any) =>
|
|
3
|
+
declare const DrawContent: ({ onClose, originRoutes, itemPath }: any) => JSX.Element;
|
|
4
4
|
export default DrawContent;
|
package/dist/components/Business/BsLayouts/Components/CustomerMenu/globalMenu/customMenuHeader.d.ts
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
|
|
2
|
-
declare const CustomerMenuHeader: ({ collapsed, handleClose, originRoutes, itemPath }: any) =>
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
declare const CustomerMenuHeader: ({ collapsed, handleClose, originRoutes, itemPath }: any) => JSX.Element;
|
|
3
3
|
export default CustomerMenuHeader;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
import React from "react";
|
|
2
2
|
import './index.less';
|
|
3
|
-
declare const CustomerMenu: React.ForwardRefExoticComponent<
|
|
3
|
+
declare const CustomerMenu: React.ForwardRefExoticComponent<Pick<any, string | number | symbol> & React.RefAttributes<unknown>>;
|
|
4
4
|
export default CustomerMenu;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
|
|
1
|
+
/// <reference types="react" />
|
|
2
2
|
import './index.less';
|
|
3
3
|
export declare const judgeIsEmpty: (value: any) => boolean;
|
|
4
|
-
declare const GlobalHeaderCom: (props: any) =>
|
|
4
|
+
declare const GlobalHeaderCom: (props: any) => JSX.Element;
|
|
5
5
|
export default GlobalHeaderCom;
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
|
|
2
|
-
declare const _default: (props: any) =>
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
declare const _default: (props: any) => JSX.Element;
|
|
3
3
|
export default _default;
|
|
@@ -25,13 +25,13 @@ declare class SearchItemTable extends React.Component {
|
|
|
25
25
|
} | {
|
|
26
26
|
title: string;
|
|
27
27
|
dataIndex: string;
|
|
28
|
-
render: (text: any, record: any) =>
|
|
28
|
+
render: (text: any, record: any) => JSX.Element;
|
|
29
29
|
className?: undefined;
|
|
30
30
|
} | {
|
|
31
31
|
title: string;
|
|
32
32
|
dataIndex: string;
|
|
33
33
|
className: string;
|
|
34
|
-
render: () =>
|
|
34
|
+
render: () => JSX.Element;
|
|
35
35
|
})[];
|
|
36
36
|
showModal: () => void;
|
|
37
37
|
handleOk: (e?: React.MouseEvent<HTMLElement>) => void;
|
|
@@ -41,18 +41,18 @@ declare class SearchItemTable extends React.Component {
|
|
|
41
41
|
oldIndex: any;
|
|
42
42
|
newIndex: any;
|
|
43
43
|
}) => void;
|
|
44
|
-
DraggableContainer: (props: any) =>
|
|
44
|
+
DraggableContainer: (props: any) => JSX.Element;
|
|
45
45
|
DraggableBodyRow: ({ className, style, ...restProps }: {
|
|
46
46
|
[x: string]: any;
|
|
47
47
|
className: any;
|
|
48
48
|
style: any;
|
|
49
|
-
}) =>
|
|
49
|
+
}) => JSX.Element;
|
|
50
50
|
onChange: (e: CheckboxChangeEvent, name: any) => void;
|
|
51
51
|
handleReset: () => void;
|
|
52
52
|
handleResetSetting: () => void;
|
|
53
53
|
onSearch: (e: any) => void;
|
|
54
54
|
onSearchSort: (e: any) => void;
|
|
55
55
|
showSearchItemLabel: (item: object) => any;
|
|
56
|
-
render():
|
|
56
|
+
render(): JSX.Element;
|
|
57
57
|
}
|
|
58
58
|
export default SearchItemTable;
|
|
@@ -22,18 +22,18 @@ declare class SortableTable extends React.Component {
|
|
|
22
22
|
dataIndex: string;
|
|
23
23
|
className: string;
|
|
24
24
|
width: number;
|
|
25
|
-
render: (text: any, record: any) =>
|
|
25
|
+
render: (text: any, record: any) => JSX.Element;
|
|
26
26
|
} | {
|
|
27
27
|
title: string;
|
|
28
28
|
dataIndex: string;
|
|
29
|
-
render: (text: any, record: any) =>
|
|
29
|
+
render: (text: any, record: any) => JSX.Element;
|
|
30
30
|
className?: undefined;
|
|
31
31
|
width?: undefined;
|
|
32
32
|
} | {
|
|
33
33
|
title: string;
|
|
34
34
|
dataIndex: string;
|
|
35
35
|
className: string;
|
|
36
|
-
render: () =>
|
|
36
|
+
render: () => JSX.Element;
|
|
37
37
|
width?: undefined;
|
|
38
38
|
})[];
|
|
39
39
|
showModal: () => void;
|
|
@@ -44,17 +44,17 @@ declare class SortableTable extends React.Component {
|
|
|
44
44
|
oldIndex: any;
|
|
45
45
|
newIndex: any;
|
|
46
46
|
}) => void;
|
|
47
|
-
DraggableContainer: (props: any) =>
|
|
47
|
+
DraggableContainer: (props: any) => JSX.Element;
|
|
48
48
|
DraggableBodyRow: ({ className, style, ...restProps }: {
|
|
49
49
|
[x: string]: any;
|
|
50
50
|
className: any;
|
|
51
51
|
style: any;
|
|
52
|
-
}) =>
|
|
52
|
+
}) => JSX.Element;
|
|
53
53
|
onChange: (e: CheckboxChangeEvent, title: any) => void;
|
|
54
54
|
handleReset: () => void;
|
|
55
55
|
handleResetSetting: () => Promise<unknown>;
|
|
56
56
|
onSearch: (e: any) => void;
|
|
57
57
|
onSearchSort: (e: any) => void;
|
|
58
|
-
render():
|
|
58
|
+
render(): JSX.Element;
|
|
59
59
|
}
|
|
60
60
|
export default SortableTable;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
|
|
1
|
+
/// <reference types="react" />
|
|
2
2
|
import moment from 'moment';
|
|
3
3
|
import './utils.less';
|
|
4
|
-
export declare const handleStatusBadge: (text: any, color: any) =>
|
|
5
|
-
export declare const HandleTotalCount: (totalParams: any) =>
|
|
4
|
+
export declare const handleStatusBadge: (text: any, color: any) => JSX.Element;
|
|
5
|
+
export declare const HandleTotalCount: (totalParams: any) => JSX.Element;
|
|
6
6
|
export declare const updateGuanDate: (requestParams: any, dateKeyParams?: any) => {
|
|
7
7
|
type: string;
|
|
8
8
|
width: number;
|
|
@@ -42,18 +42,18 @@ export declare const updateGuanDate: (requestParams: any, dateKeyParams?: any) =
|
|
|
42
42
|
};
|
|
43
43
|
export declare const renderZeroInSummary: (value: any) => number | "-";
|
|
44
44
|
export declare const calculateValidPeriod: (start: any, end: any) => string;
|
|
45
|
-
export declare const handleTextDouble: (textOne: string | undefined, textTwo: string | undefined) =>
|
|
46
|
-
export declare const handleTextLineFeed: (text: string | undefined, width?: number) =>
|
|
47
|
-
export declare const handleTextOverflow: (text: string | undefined, width?: number) =>
|
|
48
|
-
export declare const handleTextOverflowNoTooltip: (text: string | undefined, width?: number) =>
|
|
49
|
-
export declare const handleTooltip: (text: any, timeTrue?: boolean) =>
|
|
50
|
-
export declare const handleTooltipHours: (text: any, timeTrue?: boolean) =>
|
|
45
|
+
export declare const handleTextDouble: (textOne: string | undefined, textTwo: string | undefined) => JSX.Element;
|
|
46
|
+
export declare const handleTextLineFeed: (text: string | undefined, width?: number) => JSX.Element;
|
|
47
|
+
export declare const handleTextOverflow: (text: string | undefined, width?: number) => JSX.Element;
|
|
48
|
+
export declare const handleTextOverflowNoTooltip: (text: string | undefined, width?: number) => JSX.Element;
|
|
49
|
+
export declare const handleTooltip: (text: any, timeTrue?: boolean) => JSX.Element;
|
|
50
|
+
export declare const handleTooltipHours: (text: any, timeTrue?: boolean) => JSX.Element;
|
|
51
51
|
type tableColumnsImageType = {
|
|
52
52
|
width?: number | string;
|
|
53
53
|
height?: number | string;
|
|
54
54
|
[key: string]: any;
|
|
55
55
|
};
|
|
56
|
-
export declare const tableColumnsImage: (url?: string, paramsObj?: tableColumnsImageType) =>
|
|
56
|
+
export declare const tableColumnsImage: (url?: string, paramsObj?: tableColumnsImageType) => JSX.Element;
|
|
57
57
|
type UserColumnsType = {
|
|
58
58
|
name: string;
|
|
59
59
|
department?: string;
|
|
@@ -61,8 +61,8 @@ type UserColumnsType = {
|
|
|
61
61
|
company?: string;
|
|
62
62
|
avatar?: string;
|
|
63
63
|
};
|
|
64
|
-
export declare const userColumns: (props: UserColumnsType) =>
|
|
65
|
-
export declare const userInfoCard: (props: any) =>
|
|
64
|
+
export declare const userColumns: (props: UserColumnsType) => JSX.Element;
|
|
65
|
+
export declare const userInfoCard: (props: any) => JSX.Element;
|
|
66
66
|
export declare function handleCommonTimeRenderHours(text: any, format?: any): any;
|
|
67
67
|
export declare function handleCommonTimeRender(text: any, format?: any): any;
|
|
68
68
|
interface ColumnsEditInterfave {
|
|
@@ -80,9 +80,9 @@ interface ColumnsEditInterfave {
|
|
|
80
80
|
};
|
|
81
81
|
[key: string]: any;
|
|
82
82
|
}
|
|
83
|
-
export declare const ColumnsEdit: (props: ColumnsEditInterfave) =>
|
|
84
|
-
export declare const handleTextDoubleOrId: (textOne: string | undefined, textTwo: string | undefined) =>
|
|
85
|
-
export declare const textIcon: (type: string | number, text?: string) =>
|
|
83
|
+
export declare const ColumnsEdit: (props: ColumnsEditInterfave) => JSX.Element;
|
|
84
|
+
export declare const handleTextDoubleOrId: (textOne: string | undefined, textTwo: string | undefined) => JSX.Element;
|
|
85
|
+
export declare const textIcon: (type: string | number, text?: string) => JSX.Element | undefined;
|
|
86
86
|
export declare const renderFixed2: (text: any) => any;
|
|
87
87
|
export declare const getItemDefaultWidth: (item: any) => number;
|
|
88
88
|
/**
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
|
|
2
|
-
declare const CommodityEntry: (props: any) =>
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
declare const CommodityEntry: (props: any) => JSX.Element;
|
|
3
3
|
export default CommodityEntry;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import
|
|
1
|
+
import { Component } from 'react';
|
|
2
2
|
import './index.less';
|
|
3
3
|
export default class GuideWrapper extends Component {
|
|
4
|
-
static Field: ({ children, titleExtra, title, extra, bordered, ...props }: any) =>
|
|
5
|
-
render():
|
|
4
|
+
static Field: ({ children, titleExtra, title, extra, bordered, ...props }: any) => JSX.Element;
|
|
5
|
+
render(): JSX.Element;
|
|
6
6
|
}
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
|
|
1
|
+
/// <reference types="react" />
|
|
2
2
|
import './index.less';
|
|
3
3
|
export declare const iconMap: {
|
|
4
|
-
edit:
|
|
5
|
-
delete:
|
|
6
|
-
submit:
|
|
7
|
-
more:
|
|
4
|
+
edit: JSX.Element;
|
|
5
|
+
delete: JSX.Element;
|
|
6
|
+
submit: JSX.Element;
|
|
7
|
+
more: JSX.Element;
|
|
8
8
|
};
|
|
9
|
-
declare const _default: (props: any) =>
|
|
9
|
+
declare const _default: (props: any) => JSX.Element;
|
|
10
10
|
export default _default;
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
|
|
2
|
-
declare const FieldsModifyModal: (props: any) =>
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
declare const FieldsModifyModal: (props: any) => JSX.Element;
|
|
3
3
|
export default FieldsModifyModal;
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
|
|
2
|
-
declare const _default: (props: any) =>
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
declare const _default: (props: any) => JSX.Element;
|
|
3
3
|
export default _default;
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
|
|
2
|
-
declare const _default: (props: any) =>
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
declare const _default: (props: any) => JSX.Element;
|
|
3
3
|
export default _default;
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
|
|
2
|
-
declare const _default: (props: any) =>
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
declare const _default: (props: any) => JSX.Element;
|
|
3
3
|
export default _default;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
|
|
1
|
+
/// <reference types="react" />
|
|
2
2
|
import "./index.less";
|
|
3
3
|
interface propertyValueType {
|
|
4
4
|
propertyName: string;
|
|
@@ -19,5 +19,5 @@ declare const PropertySelector: ({ value, onChange, width, ...restProps }: {
|
|
|
19
19
|
value: valueType;
|
|
20
20
|
onChange: any;
|
|
21
21
|
width: string;
|
|
22
|
-
}) =>
|
|
22
|
+
}) => JSX.Element;
|
|
23
23
|
export default PropertySelector;
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
-
declare const _default: React.MemoExoticComponent<React.ForwardRefExoticComponent<
|
|
2
|
+
declare const _default: React.MemoExoticComponent<React.ForwardRefExoticComponent<Pick<any, string | number | symbol> & React.RefAttributes<unknown>>>;
|
|
3
3
|
export default _default;
|
|
@@ -24,18 +24,18 @@ declare class SortableTable extends React.Component<SortTableProps> {
|
|
|
24
24
|
dataIndex: string;
|
|
25
25
|
className: string;
|
|
26
26
|
width: number;
|
|
27
|
-
render: (text: any, record: any) =>
|
|
27
|
+
render: (text: any, record: any) => JSX.Element;
|
|
28
28
|
} | {
|
|
29
29
|
title: string;
|
|
30
30
|
dataIndex: string;
|
|
31
|
-
render: (text: any, record: any) =>
|
|
31
|
+
render: (text: any, record: any) => JSX.Element;
|
|
32
32
|
className?: undefined;
|
|
33
33
|
width?: undefined;
|
|
34
34
|
} | {
|
|
35
35
|
title: string;
|
|
36
36
|
dataIndex: string;
|
|
37
37
|
className: string;
|
|
38
|
-
render: () =>
|
|
38
|
+
render: () => JSX.Element;
|
|
39
39
|
width?: undefined;
|
|
40
40
|
})[];
|
|
41
41
|
showModal: () => void;
|
|
@@ -43,14 +43,14 @@ declare class SortableTable extends React.Component<SortTableProps> {
|
|
|
43
43
|
handleCancel: (e: React.MouseEvent<HTMLElement>) => void;
|
|
44
44
|
handleTableHeadHidden: (title: string) => void;
|
|
45
45
|
onSortEnd: ({ oldIndex, newIndex }: any) => void;
|
|
46
|
-
DraggableContainer: (props: any) =>
|
|
47
|
-
DraggableBodyRow: ({ className, style, ...restProps }: any) =>
|
|
46
|
+
DraggableContainer: (props: any) => JSX.Element;
|
|
47
|
+
DraggableBodyRow: ({ className, style, ...restProps }: any) => JSX.Element;
|
|
48
48
|
onChange: (e: any, title: any) => void;
|
|
49
49
|
handleReset: () => void;
|
|
50
50
|
handleResetSetting: () => Promise<unknown>;
|
|
51
51
|
onSearch: (e: any) => void;
|
|
52
52
|
onSearchSort: (e: any) => void;
|
|
53
53
|
getConfigFromlocalstorage: () => any;
|
|
54
|
-
render():
|
|
54
|
+
render(): JSX.Element;
|
|
55
55
|
}
|
|
56
56
|
export default SortableTable;
|
|
@@ -11,7 +11,7 @@ export default class ColumnSettingTable extends React.Component {
|
|
|
11
11
|
getTableSummaryInfo: () => () => any;
|
|
12
12
|
handledynamicColumns: (col: any[]) => any[];
|
|
13
13
|
handleResize: (index: any) => (_: any, { size }: any) => void;
|
|
14
|
-
ResizeableTitle: (props: any) =>
|
|
14
|
+
ResizeableTitle: (props: any) => JSX.Element;
|
|
15
15
|
getTableScrollXWidth: (cols: any[]) => any;
|
|
16
|
-
render():
|
|
16
|
+
render(): JSX.Element;
|
|
17
17
|
}
|
|
@@ -11,7 +11,7 @@ export default class ColumnSettingSulaTable extends React.Component {
|
|
|
11
11
|
getTableSummaryInfo: () => () => any;
|
|
12
12
|
handledynamicColumns: (col: any[]) => any[];
|
|
13
13
|
handleResize: (index: any) => (_: any, { size }: any) => void;
|
|
14
|
-
ResizeableTitle: (props: any) =>
|
|
14
|
+
ResizeableTitle: (props: any) => JSX.Element;
|
|
15
15
|
getTableScrollXWidth: (cols: any[]) => any;
|
|
16
|
-
render():
|
|
16
|
+
render(): JSX.Element;
|
|
17
17
|
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
|
|
1
|
+
/// <reference types="react" />
|
|
2
2
|
/**
|
|
3
3
|
* 非空数组
|
|
4
4
|
* @param arr 要判断的数据
|
|
@@ -6,5 +6,5 @@ import React from 'react';
|
|
|
6
6
|
*/
|
|
7
7
|
export declare const noEmptyArray: (arr: any[]) => boolean;
|
|
8
8
|
export declare const getItemDefaultWidth: (item: any) => number;
|
|
9
|
-
export declare const handleTextOverflow: (text: string | undefined, width?: number) =>
|
|
9
|
+
export declare const handleTextOverflow: (text: string | undefined, width?: number) => JSX.Element;
|
|
10
10
|
export declare const getShowColumns: (originColumns: any[], configs: any[]) => any[];
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
-
declare const _default: React.ForwardRefExoticComponent<
|
|
2
|
+
declare const _default: React.ForwardRefExoticComponent<Pick<any, string | number | symbol> & React.RefAttributes<unknown>>;
|
|
3
3
|
export default _default;
|
|
@@ -4,5 +4,5 @@ export interface ParagraphCopierProps {
|
|
|
4
4
|
text: string;
|
|
5
5
|
enableHover?: boolean;
|
|
6
6
|
}
|
|
7
|
-
declare const ParagraphCopier: (props: ParagraphCopierProps) =>
|
|
7
|
+
declare const ParagraphCopier: (props: ParagraphCopierProps) => JSX.Element;
|
|
8
8
|
export default ParagraphCopier;
|
|
@@ -25,5 +25,5 @@ interface IProps {
|
|
|
25
25
|
ellipsis?: ellipsisProps;
|
|
26
26
|
}
|
|
27
27
|
export type SectionProps = PropsWithChildren<IProps>;
|
|
28
|
-
declare const Section: ({ children, copyable, label, icon, ellipsis, }: SectionProps) =>
|
|
28
|
+
declare const Section: ({ children, copyable, label, icon, ellipsis, }: SectionProps) => JSX.Element;
|
|
29
29
|
export default Section;
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
|
|
2
|
-
declare const AuthButton: (props: any) =>
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
declare const AuthButton: (props: any) => JSX.Element;
|
|
3
3
|
export default AuthButton;
|
|
@@ -137,10 +137,10 @@ declare class DataImport extends React.Component {
|
|
|
137
137
|
toggleData: () => void;
|
|
138
138
|
onChange: (e: any) => void;
|
|
139
139
|
errorChange: (e: any) => void;
|
|
140
|
-
menuList:
|
|
141
|
-
leftMenu:
|
|
140
|
+
menuList: JSX.Element;
|
|
141
|
+
leftMenu: JSX.Element;
|
|
142
142
|
getSheetMap: () => {};
|
|
143
143
|
importExcelToLuckySheet: (resultData: any) => void;
|
|
144
|
-
render():
|
|
144
|
+
render(): JSX.Element;
|
|
145
145
|
}
|
|
146
146
|
export default DataImport;
|
|
@@ -137,10 +137,10 @@ declare class DataValidation extends React.Component {
|
|
|
137
137
|
toggleData: () => void;
|
|
138
138
|
onChange: (e: any) => void;
|
|
139
139
|
errorChange: (e: any) => void;
|
|
140
|
-
menuList:
|
|
141
|
-
leftMenu:
|
|
140
|
+
menuList: JSX.Element;
|
|
141
|
+
leftMenu: JSX.Element;
|
|
142
142
|
getSheetMap: () => {};
|
|
143
143
|
importExcelToLuckySheet: (resultData: any) => void;
|
|
144
|
-
render():
|
|
144
|
+
render(): JSX.Element;
|
|
145
145
|
}
|
|
146
146
|
export default DataValidation;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
|
|
1
|
+
/// <reference types="react" />
|
|
2
2
|
interface exportIconType {
|
|
3
3
|
/** others选填,使用axios发请求,*/
|
|
4
4
|
request: {
|
|
@@ -9,5 +9,5 @@ interface exportIconType {
|
|
|
9
9
|
/** BsSulaQueryTable的tableRef*/
|
|
10
10
|
tableRef: any;
|
|
11
11
|
}
|
|
12
|
-
declare const ExportIcon: ({ request: exportRequest, tableRef, allowSelect, columnsRowKey }: exportIconType) =>
|
|
12
|
+
declare const ExportIcon: ({ request: exportRequest, tableRef, allowSelect, columnsRowKey }: exportIconType) => JSX.Element;
|
|
13
13
|
export default ExportIcon;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
|
|
1
|
+
/// <reference types="react" />
|
|
2
2
|
import './index.less';
|
|
3
3
|
declare const QueryMutipleInput: ({ onValueChange, onPressEnter }: {
|
|
4
4
|
onValueChange: any;
|
|
5
5
|
onPressEnter: any;
|
|
6
|
-
}) =>
|
|
6
|
+
}) => JSX.Element;
|
|
7
7
|
export default QueryMutipleInput;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
|
|
1
|
+
/// <reference types="react" />
|
|
2
2
|
import './index.less';
|
|
3
3
|
export declare const getValue: (value: any, selectMode?: any) => any;
|
|
4
|
-
declare const QueryMutipleSearchSelect: ({ onValueChange, requestConfig, selectProps, ctx }: any) =>
|
|
4
|
+
declare const QueryMutipleSearchSelect: ({ onValueChange, requestConfig, selectProps, ctx }: any) => JSX.Element;
|
|
5
5
|
export default QueryMutipleSearchSelect;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import './index.less';
|
|
3
|
-
declare const SearchSelect: React.ForwardRefExoticComponent<
|
|
3
|
+
declare const SearchSelect: React.ForwardRefExoticComponent<Pick<any, string | number | symbol> & React.RefAttributes<unknown>>;
|
|
4
4
|
export default SearchSelect;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/// <reference types="lodash" />
|
|
2
|
-
|
|
2
|
+
/// <reference types="react" />
|
|
3
3
|
export declare const columnsPerRow = 4;
|
|
4
4
|
export declare const ColSpan = 6;
|
|
5
5
|
export declare const handleSourceName: (sName: any) => any;
|
|
@@ -23,7 +23,7 @@ export declare const convertUrlQueryParams: (params: any) => string;
|
|
|
23
23
|
export declare const convertBodyParams: (params: any) => any;
|
|
24
24
|
export declare const convertResData: (requestConfig: any, res: any, selectProps: any) => any;
|
|
25
25
|
export declare const handleSelectOptionsShowValue: (specialBracket: boolean, noNeedSplit: boolean, item: any) => any;
|
|
26
|
-
export declare const LightHeightOption: (props: any) =>
|
|
27
|
-
export declare const maxTagPlaceholder: (selectedValues: any, { selectProps, onChange, value, setIsMaxTagsOpen }: any) =>
|
|
26
|
+
export declare const LightHeightOption: (props: any) => JSX.Element;
|
|
27
|
+
export declare const maxTagPlaceholder: (selectedValues: any, { selectProps, onChange, value, setIsMaxTagsOpen }: any) => JSX.Element;
|
|
28
28
|
export declare const handleTableColumns: (tableColumns: any) => any;
|
|
29
29
|
export declare const getShowStr: ({ viewShowValueStr, labelInValue, selectMode, value, items }: any) => any;
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
|
|
2
|
-
declare const TreeSearchSelect: (props: any) =>
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
declare const TreeSearchSelect: (props: any) => JSX.Element;
|
|
3
3
|
export default TreeSearchSelect;
|
package/dist/components/Solution/RuleComponent/CustomPlugin/CustomSelector/CustomSelectorModal.d.ts
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
-
declare const _default: React.ForwardRefExoticComponent<
|
|
2
|
+
declare const _default: React.ForwardRefExoticComponent<Pick<any, string | number | symbol> & React.RefAttributes<unknown>>;
|
|
3
3
|
export default _default;
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
|
|
2
|
-
declare const _default: (props: any) =>
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
declare const _default: (props: any) => JSX.Element;
|
|
3
3
|
export default _default;
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
|
|
1
|
+
/// <reference types="react" />
|
|
2
2
|
declare const App: ({ setValue, formula, record, sourceData, disabled }: {
|
|
3
3
|
setValue: any;
|
|
4
4
|
record: any;
|
|
5
5
|
sourceData: any;
|
|
6
6
|
formula?: any;
|
|
7
7
|
disabled?: boolean | undefined;
|
|
8
|
-
}) =>
|
|
8
|
+
}) => JSX.Element;
|
|
9
9
|
export default App;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
|
|
1
|
+
/// <reference types="react" />
|
|
2
2
|
interface Iprops {
|
|
3
3
|
disabled: boolean;
|
|
4
4
|
inputType: number;
|
|
@@ -8,5 +8,5 @@ interface Iprops {
|
|
|
8
8
|
onChange: any;
|
|
9
9
|
dictionaryCode?: string;
|
|
10
10
|
}
|
|
11
|
-
declare const _default: (props: Iprops) =>
|
|
11
|
+
declare const _default: (props: Iprops) => JSX.Element;
|
|
12
12
|
export default _default;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
|
|
2
|
-
export default function RenderCompItem(props: any):
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
export default function RenderCompItem(props: any): JSX.Element | undefined;
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
|
|
2
|
-
declare const _default: (props: any) =>
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
declare const _default: (props: any) => JSX.Element;
|
|
3
3
|
export default _default;
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
-
declare const _default: React.ForwardRefExoticComponent<
|
|
2
|
+
declare const _default: React.ForwardRefExoticComponent<Pick<any, string | number | symbol> & React.RefAttributes<unknown>>;
|
|
3
3
|
export default _default;
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
-
declare const _default: React.ForwardRefExoticComponent<
|
|
2
|
+
declare const _default: React.ForwardRefExoticComponent<Pick<any, string | number | symbol> & React.RefAttributes<unknown>>;
|
|
3
3
|
export default _default;
|
package/dist/index.esm.js
CHANGED
|
@@ -4812,7 +4812,7 @@ function ToCDB$1(selectStr) {
|
|
|
4812
4812
|
return tmp;
|
|
4813
4813
|
}
|
|
4814
4814
|
|
|
4815
|
-
var css_248z$6 = ".search_select .ant-select-selector {\n height: 24px;\n overflow: hidden;\n}\n.search_select .ant-select-selector .ant-select-selection-overflow {\n height: 40px;\n flex-wrap: nowrap;\n overflow-x: auto;\n}\n.search_select .ant-select-selector .ant-select-selection-overflow-item {\n align-self: auto;\n}\n.search_select_show {\n display: flex;\n}\n.search_select_show .ant-select-dropdown {\n top: 24px !important;\n width: calc(141%) !important;\n}\n.search_select_show .ant-select-clear {\n right: 33px;\n}\n.search_select_show .ant-select-multiple.ant-select-show-arrow .ant-select-selector,\n.search_select_show .ant-select-multiple.ant-select-allow-clear .ant-select-selector {\n padding-right: 28px;\n}\n.search_select_show.search_select_show_list .ant-select-dropdown {\n top: 24px !important;\n width: calc(100% + 110px) !important;\n}\n.search_select_expand_button {\n position: relative;\n right: -11px;\n width: 30px;\n border-left: 1px solid #d9d9d9;\n height: 24px;\n cursor: pointer;\n font-size: 14px;\n font-weight: bolder;\n}\n.search_select_expand_button span {\n position: absolute;\n left: 50%;\n top: 50%;\n transform: translate(-50%, -50%);\n}\n.search_select_expand_button:hover {\n background-color: #005cff;\n color: #fff;\n border-top-right-radius: 2px;\n border-bottom-right-radius: 2px;\n}\n.search_select_expand_button_disabled:hover {\n background-color: transparent;\n color: rgba(0, 0, 0, 0.25);\n cursor: not-allowed;\n}\n.search_select_dropdown_table .ant-table.ant-table-bordered > .ant-table-container > .ant-table-header > table {\n font-family: MiSans-Regular;\n font-weight: 400;\n font-size: 12px;\n}\n.search_select_dropdown_table .ant-table.ant-table-bordered > .ant-table-container > .ant-table-header > table thead > tr > th {\n color: #7F7F7F;\n}\n.search_select_dropdown_table .ant-table.ant-table-bordered > .ant-table-container > .ant-table-header > table .ant-table-thead .ant-table-selection .ant-checkbox-wrapper {\n justify-content: center;\n}\n.search_select_dropdown_table .ant-table.ant-table-bordered > .ant-table-container > .ant-table-header > table tbody > tr > td {\n color: #333333;\n}\n.search_select_dropdown_table1 .ant-table.ant-table-bordered > .ant-table-container .ant-table-body > table > tbody > tr > td.ant-table-selection-column,\n.search_select_dropdown_table1 .ant-table.ant-table-bordered > .ant-table-container .ant-table-header > table > thead > tr > th.ant-table-selection-column {\n visibility: hidden;\n padding: 0;\n margin: 0;\n width: 0;\n height: 0;\n min-width: 0;\n min-height: 0;\n border: none;\n}\n.search_select_dropdown_table1 .ant-table.ant-table-bordered > .ant-table-container .ant-table-body > table > tbody > tr > td.ant-table-selection-column .ant-radio-wrapper,\n.search_select_dropdown_table1 .ant-table.ant-table-bordered > .ant-table-container .ant-table-header > table > thead > tr > th.ant-table-selection-column .ant-radio-wrapper {\n display: none;\n}\n.search_select_modal_wrapper .ant-modal {\n top: 60px;\n}\n.search_select_modal_wrapper .ant-modal-header {\n padding: 6px 0px 6px 16px;\n}\n.search_select_modal_wrapper .ant-modal-header .ant-modal-title {\n height: 20px;\n color: #000000;\n line-height: 20px;\n}\n.search_select_modal_wrapper .ant-modal-close-x {\n width: 32px;\n height: 32px;\n line-height: 32px;\n}\n.search_select_modal_wrapper .ant-modal-body {\n padding: 0px;\n background: #F3F3F3;\n height: calc(100vh - 235px);\n overflow: hidden;\n}\n.search_select_modal_wrapper .ant-modal-footer .ant-btn.ant-btn-default {\n color: #005cff;\n border-color: #005cff;\n}\n.search_select_modal_wrapper .ant-modal-footer .ant-btn-primary,\n.search_select_modal_wrapper .ant-modal-footer .ant-btn-primary[disabled] {\n background: #005cff;\n border-color: #005cff;\n}\n.search_select_modal_wrapper .ant-modal-footer .ant-btn-primary[disabled] {\n opacity: 0.5;\n color: #fff;\n}\n.search_select_wrapper {\n position: relative;\n font-size: 14px;\n}\n.search_select_wrapper_topForm .select_list_columns {\n width: 100%;\n padding: 10px 6px 2px 16px;\n background-color: #fff;\n}\n.search_select_wrapper_topForm .select_list_columns .ant-form {\n padding: 0;\n display: flex;\n align-items: flex-start;\n}\n.search_select_wrapper_topForm .select_list_columns .ant-form .ant-row .ant-form-item,\n.search_select_wrapper_topForm .select_list_columns .ant-form .ant-row .ant-col .ant-space {\n font-size: 12px !important;\n margin-right: 0px !important;\n margin-bottom: 8px !important;\n}\n.search_select_wrapper_topForm .select_list_columns .ant-form .ant-row.ant-form-item-row {\n background-color: #fafafa;\n border: 0.8px solid #D9D9D9;\n border-radius: 2px;\n font-size: 12px;\n}\n.search_select_wrapper_topForm .select_list_columns .ant-form .ant-row {\n width: 100%;\n}\n.search_select_wrapper_topForm .select_list_columns .ant-form .ant-row .ant-form-item-label {\n width: 110px;\n order: 1;\n}\n.search_select_wrapper_topForm .select_list_columns .ant-form .ant-row .ant-form-item-label label {\n width: 100%;\n text-align: left;\n padding: 0 10px;\n color: #333333;\n font-size: 12px;\n font-family: PingFangSC-Regular;\n font-weight: 400;\n}\n.search_select_wrapper_topForm .select_list_columns .ant-form .ant-row .ant-form-item-control {\n order: 2;\n width: 100px;\n}\n.search_select_wrapper_topForm .select_list_columns .ant-form .ant-row .ant-form-item-control .ant-input-affix-wrapper {\n border: 0;\n font-size: 12px;\n background-color: #fafafa;\n padding: 0 11px;\n height: 24px;\n}\n.search_select_wrapper_topForm .select_list_columns .ant-form .ant-row .ant-form-item-control .ant-input-affix-wrapper .ant-input {\n background-color: #fafafa !important;\n border: 0;\n font-size: 12px;\n}\n.search_select_wrapper_topForm .select_list_columns .ant-form .ant-row .ant-form-item-control .ant-select-selector {\n border: 0 !important;\n background-color: #fafafa !important;\n font-size: 12px;\n}\n.search_select_wrapper_topForm .select_list_columns .ant-form .ant-row .ant-form-item-control .query_input .ant-input {\n background-color: #fafafa !important;\n border: 0;\n font-size: 12px;\n}\n.search_select_wrapper_topForm .select_list_columns .ant-form .ant-btn-primary {\n background: #005cff;\n}\n.search_select_wrapper_topForm .select_list_columns .ant-form > .ant-row > .ant-col {\n order: 2;\n padding-right: 10px;\n}\n.search_select_wrapper_topForm .select_list_button_space {\n margin-right: 10px;\n}\n.search_select_wrapper_bottomTable {\n margin: 10px;\n display: flex;\n justify-content: space-between;\n}\n.search_select_wrapper_bottomTable_wrapLeft1,\n.search_select_wrapper_bottomTable_wrapLeft2,\n.search_select_wrapper_bottomTable_wrapRight {\n background: #fff;\n width: calc(50% - 5px);\n}\n.search_select_wrapper_bottomTable_wrapLeft1
|
|
4815
|
+
var css_248z$6 = ".search_select .ant-select-selector {\n height: 24px;\n overflow: hidden;\n}\n.search_select .ant-select-selector .ant-select-selection-overflow {\n height: 40px;\n flex-wrap: nowrap;\n overflow-x: auto;\n}\n.search_select .ant-select-selector .ant-select-selection-overflow-item {\n align-self: auto;\n}\n.search_select_show {\n display: flex;\n}\n.search_select_show .ant-select-dropdown {\n top: 24px !important;\n width: calc(141%) !important;\n}\n.search_select_show .ant-select-clear {\n right: 33px;\n}\n.search_select_show .ant-select-multiple.ant-select-show-arrow .ant-select-selector,\n.search_select_show .ant-select-multiple.ant-select-allow-clear .ant-select-selector {\n padding-right: 28px;\n}\n.search_select_show.search_select_show_list .ant-select-dropdown {\n top: 24px !important;\n width: calc(100% + 110px) !important;\n}\n.search_select_expand_button {\n position: relative;\n right: -11px;\n width: 30px;\n border-left: 1px solid #d9d9d9;\n height: 24px;\n cursor: pointer;\n font-size: 14px;\n font-weight: bolder;\n}\n.search_select_expand_button span {\n position: absolute;\n left: 50%;\n top: 50%;\n transform: translate(-50%, -50%);\n}\n.search_select_expand_button:hover {\n background-color: #005cff;\n color: #fff;\n border-top-right-radius: 2px;\n border-bottom-right-radius: 2px;\n}\n.search_select_expand_button_disabled:hover {\n background-color: transparent;\n color: rgba(0, 0, 0, 0.25);\n cursor: not-allowed;\n}\n.search_select_dropdown_table .ant-table.ant-table-bordered > .ant-table-container > .ant-table-header > table {\n font-family: MiSans-Regular;\n font-weight: 400;\n font-size: 12px;\n}\n.search_select_dropdown_table .ant-table.ant-table-bordered > .ant-table-container > .ant-table-header > table thead > tr > th {\n color: #7F7F7F;\n}\n.search_select_dropdown_table .ant-table.ant-table-bordered > .ant-table-container > .ant-table-header > table .ant-table-thead .ant-table-selection .ant-checkbox-wrapper {\n justify-content: center;\n}\n.search_select_dropdown_table .ant-table.ant-table-bordered > .ant-table-container > .ant-table-header > table tbody > tr > td {\n color: #333333;\n}\n.search_select_dropdown_table1 .ant-table.ant-table-bordered > .ant-table-container .ant-table-body > table > tbody > tr > td.ant-table-selection-column,\n.search_select_dropdown_table1 .ant-table.ant-table-bordered > .ant-table-container .ant-table-header > table > thead > tr > th.ant-table-selection-column {\n visibility: hidden;\n padding: 0;\n margin: 0;\n width: 0;\n height: 0;\n min-width: 0;\n min-height: 0;\n border: none;\n}\n.search_select_dropdown_table1 .ant-table.ant-table-bordered > .ant-table-container .ant-table-body > table > tbody > tr > td.ant-table-selection-column .ant-radio-wrapper,\n.search_select_dropdown_table1 .ant-table.ant-table-bordered > .ant-table-container .ant-table-header > table > thead > tr > th.ant-table-selection-column .ant-radio-wrapper {\n display: none;\n}\n.search_select_modal_wrapper .ant-modal {\n top: 60px;\n}\n.search_select_modal_wrapper .ant-modal-header {\n padding: 6px 0px 6px 16px;\n}\n.search_select_modal_wrapper .ant-modal-header .ant-modal-title {\n height: 20px;\n color: #000000;\n line-height: 20px;\n}\n.search_select_modal_wrapper .ant-modal-close-x {\n width: 32px;\n height: 32px;\n line-height: 32px;\n}\n.search_select_modal_wrapper .ant-modal-body {\n padding: 0px;\n background: #F3F3F3;\n height: calc(100vh - 235px);\n overflow: hidden;\n}\n.search_select_modal_wrapper .ant-modal-footer .ant-btn.ant-btn-default {\n color: #005cff;\n border-color: #005cff;\n}\n.search_select_modal_wrapper .ant-modal-footer .ant-btn-primary,\n.search_select_modal_wrapper .ant-modal-footer .ant-btn-primary[disabled] {\n background: #005cff;\n border-color: #005cff;\n}\n.search_select_modal_wrapper .ant-modal-footer .ant-btn-primary[disabled] {\n opacity: 0.5;\n color: #fff;\n}\n.search_select_wrapper {\n position: relative;\n font-size: 14px;\n}\n.search_select_wrapper_topForm .select_list_columns {\n width: 100%;\n padding: 10px 6px 2px 16px;\n background-color: #fff;\n}\n.search_select_wrapper_topForm .select_list_columns .ant-form {\n padding: 0;\n display: flex;\n align-items: flex-start;\n}\n.search_select_wrapper_topForm .select_list_columns .ant-form .ant-row .ant-form-item,\n.search_select_wrapper_topForm .select_list_columns .ant-form .ant-row .ant-col .ant-space {\n font-size: 12px !important;\n margin-right: 0px !important;\n margin-bottom: 8px !important;\n}\n.search_select_wrapper_topForm .select_list_columns .ant-form .ant-row.ant-form-item-row {\n background-color: #fafafa;\n border: 0.8px solid #D9D9D9;\n border-radius: 2px;\n font-size: 12px;\n}\n.search_select_wrapper_topForm .select_list_columns .ant-form .ant-row {\n width: 100%;\n}\n.search_select_wrapper_topForm .select_list_columns .ant-form .ant-row .ant-form-item-label {\n width: 110px;\n order: 1;\n}\n.search_select_wrapper_topForm .select_list_columns .ant-form .ant-row .ant-form-item-label label {\n width: 100%;\n text-align: left;\n padding: 0 10px;\n color: #333333;\n font-size: 12px;\n font-family: PingFangSC-Regular;\n font-weight: 400;\n}\n.search_select_wrapper_topForm .select_list_columns .ant-form .ant-row .ant-form-item-control {\n order: 2;\n width: 100px;\n}\n.search_select_wrapper_topForm .select_list_columns .ant-form .ant-row .ant-form-item-control .ant-input-affix-wrapper {\n border: 0;\n font-size: 12px;\n background-color: #fafafa;\n padding: 0 11px;\n height: 24px;\n}\n.search_select_wrapper_topForm .select_list_columns .ant-form .ant-row .ant-form-item-control .ant-input-affix-wrapper .ant-input {\n background-color: #fafafa !important;\n border: 0;\n font-size: 12px;\n}\n.search_select_wrapper_topForm .select_list_columns .ant-form .ant-row .ant-form-item-control .ant-select-selector {\n border: 0 !important;\n background-color: #fafafa !important;\n font-size: 12px;\n}\n.search_select_wrapper_topForm .select_list_columns .ant-form .ant-row .ant-form-item-control .query_input .ant-input {\n background-color: #fafafa !important;\n border: 0;\n font-size: 12px;\n}\n.search_select_wrapper_topForm .select_list_columns .ant-form .ant-btn-primary {\n background: #005cff;\n}\n.search_select_wrapper_topForm .select_list_columns .ant-form > .ant-row > .ant-col {\n order: 2;\n padding-right: 10px;\n}\n.search_select_wrapper_topForm .select_list_button_space {\n margin-right: 10px;\n}\n.search_select_wrapper_bottomTable {\n margin: 10px;\n display: flex;\n justify-content: space-between;\n}\n.search_select_wrapper_bottomTable_wrapLeft1,\n.search_select_wrapper_bottomTable_wrapLeft2,\n.search_select_wrapper_bottomTable_wrapRight {\n background: #fff;\n width: calc(50% - 5px);\n}\n.search_select_wrapper_bottomTable_wrapLeft1 .ant-table.ant-table-bordered > .ant-table-container > .ant-table-header > table .ant-table-thead .ant-table-selection .ant-checkbox-wrapper,\n.search_select_wrapper_bottomTable_wrapLeft2 .ant-table.ant-table-bordered > .ant-table-container > .ant-table-header > table .ant-table-thead .ant-table-selection .ant-checkbox-wrapper,\n.search_select_wrapper_bottomTable_wrapRight .ant-table.ant-table-bordered > .ant-table-container > .ant-table-header > table .ant-table-thead .ant-table-selection .ant-checkbox-wrapper {\n justify-content: center;\n}\n.search_select_wrapper_bottomTable_wrapLeft1 {\n width: 100%;\n}\n.search_select_wrapper_bottomTable_wrapRight {\n margin-left: 10px;\n}\n.search_select_wrapper_bottomTable .ant-tabs-nav {\n margin: 0;\n padding: 6px 18.5px;\n}\n.search_select_wrapper_bottomTable .ant-tabs-nav .ant-tabs-nav-wrap {\n height: 28px;\n font-size: 14px;\n}\n.search_select_wrapper_bottomTable .ant-tabs-nav .ant-tabs-tab {\n padding: 4px 0;\n}\n.search_select_wrapper_bottomTable .ant-tabs-nav .ant-tabs-ink-bar {\n left: 3px !important;\n width: 40px !important;\n background: #005cff;\n}\n.search_select_wrapper_bottomTable .ant-tabs-nav .ant-tabs-extra-content > span {\n color: #005cff;\n cursor: pointer;\n}\n.search_select_wrapper_bottomTable .ant-tabs-tab.ant-tabs-tab-active .ant-tabs-tab-btn {\n color: #005cff;\n}\n.search_select_wrapper_bottomTable .ant-tabs-content-holder {\n padding: 10px 10px 7px;\n}\n.search_select_wrapper_bottomTable .ant-tabs-content-holder .ant-tabs-content .ant-table-wrapper .ant-table .ant-table-container .ant-table-content .ant-table-thead > tr > th {\n color: #7F7F7F;\n}\n.search_select_wrapper_bottomTable .ant-tabs-content-holder .ant-tabs-content .ant-table-wrapper .ant-table .ant-table-container .ant-table-content .ant-table-thead .ant-table-selection .ant-checkbox-wrapper {\n justify-content: center;\n}\n.search_select_wrapper_bottomTable .ant-tabs-content-holder .ant-tabs-content .ant-table-wrapper .ant-table .ant-table-container .ant-table-content .ant-table.ant-table-small .ant-table-tbody > tr > td {\n color: #333333;\n}\n.search_select_wrapper_bottomTable .ant-checkbox-checked .ant-checkbox-inner {\n color: #005cff;\n background: #005cff;\n}\n.search_select_wrapper_bottomTable .ant-pagination-item-active a {\n color: #005cff;\n}\n.search_select_wrapper_bottomTable .ant-pagination-item-active {\n border-color: #005cff;\n}\n.searchSelectSpin > div {\n height: 300px !important;\n}\n.searchSelectMaxTagToolTip .ant-tooltip-inner {\n max-height: 72px;\n overflow-x: auto;\n padding: 0px;\n}\n";
|
|
4816
4816
|
styleInject(css_248z$6);
|
|
4817
4817
|
|
|
4818
4818
|
var zhankaitiaojian = "data:image/svg+xml,%3C%3Fxml%20version%3D%221.0%22%20encoding%3D%22UTF-8%22%3F%3E%3Csvg%20width%3D%2224px%22%20height%3D%2224px%22%20viewBox%3D%220%200%2024%2024%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%3Ezhankaitiaojian-icon%3C%2Ftitle%3E%20%20%20%20%3Cdefs%3E%20%20%20%20%20%20%20%20%3Crect%20id%3D%22path-1%22%20x%3D%220%22%20y%3D%220%22%20width%3D%2224%22%20height%3D%2224%22%3E%3C%2Frect%3E%20%20%20%20%3C%2Fdefs%3E%20%20%20%20%3Cg%20id%3D%22%E9%A1%B5%E9%9D%A2-1%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%22icon%22%20transform%3D%22translate%28-702.000000%2C%20-498.000000%29%22%3E%20%20%20%20%20%20%20%20%20%20%20%20%3Cg%20id%3D%22zhankaitiaojian-icon%22%20transform%3D%22translate%28702.000000%2C%20498.000000%29%22%3E%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%3Cmask%20id%3D%22mask-2%22%20fill%3D%22white%22%3E%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%3Cuse%20xlink%3Ahref%3D%22%23path-1%22%3E%3C%2Fuse%3E%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%3C%2Fmask%3E%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%3Cuse%20id%3D%22%E8%92%99%E7%89%88%22%20fill%3D%22%23D8D8D8%22%20opacity%3D%220%22%20xlink%3Ahref%3D%22%23path-1%22%3E%3C%2Fuse%3E%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%3Cpath%20d%3D%22M12.0142082%2C6%20L18%2C11.9972435%20L12.0142082%2C18%20L11.04209%2C17.0260337%20L16.0562218%2C11.9972435%20L11.04209%2C6.97396631%20L12.0142082%2C6%20Z%20M6.97257658%2C6%20L12.9583683%2C11.9972435%20L6.97257658%2C18%20L6.00091666%2C17.0260337%20L11.0150485%2C11.9972435%20L6%2C6.97396631%20L6.97257658%2C6%20Z%22%20id%3D%22%E5%BD%A2%E7%8A%B6%22%20fill%3D%22%23005CFF%22%20fill-rule%3D%22nonzero%22%20mask%3D%22url%28%23mask-2%29%22%20transform%3D%22translate%2812.000000%2C%2012.000000%29%20rotate%28-270.000000%29%20translate%28-12.000000%2C%20-12.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";
|
|
@@ -5559,7 +5559,7 @@ var SearchSelect = /*#__PURE__*/forwardRef(function (props, ref) {
|
|
|
5559
5559
|
pageSize: pageSize,
|
|
5560
5560
|
currentPage: currentPage
|
|
5561
5561
|
}, otherParams), fixedParam), params);
|
|
5562
|
-
if (isNil(queryParams[selectParamsKey])) {
|
|
5562
|
+
if (isNil(queryParams[selectParamsKey]) && (searchValue === null || searchValue === void 0 ? void 0 : searchValue.length)) {
|
|
5563
5563
|
queryParams[selectParamsKey] = searchValue;
|
|
5564
5564
|
}
|
|
5565
5565
|
var getRequest;
|
|
@@ -6335,7 +6335,7 @@ var SearchSelect = /*#__PURE__*/forwardRef(function (props, ref) {
|
|
|
6335
6335
|
}))), needModalTable && isModalVisible && (/*#__PURE__*/React$1.createElement(Modal, _objectSpread2({
|
|
6336
6336
|
maskClosable: false,
|
|
6337
6337
|
destroyOnClose: true,
|
|
6338
|
-
width: "
|
|
6338
|
+
width: "calc(100% - 320px)",
|
|
6339
6339
|
title: modalTableProps === null || modalTableProps === void 0 ? void 0 : modalTableProps.modalTableTitle,
|
|
6340
6340
|
visible: isModalVisible,
|
|
6341
6341
|
confirmLoading: confirmLoading,
|
|
@@ -13732,16 +13732,18 @@ var CommodityEntry = function CommodityEntry(props) {
|
|
|
13732
13732
|
modalProps = _useState2[0],
|
|
13733
13733
|
setModalProps = _useState2[1];
|
|
13734
13734
|
var handleOk = function handleOk() {
|
|
13735
|
-
var _dataValidationRef$cu;
|
|
13735
|
+
var _dataValidationRef$cu, _dataValidationRef$cu2;
|
|
13736
13736
|
// 方法获取当前组件内部的数据,然后进行自身的业务操作
|
|
13737
|
-
var resultData = (_dataValidationRef$cu = dataValidationRef.current) === null || _dataValidationRef$cu === void 0 ? void 0 : _dataValidationRef$cu.getValidateData();
|
|
13738
|
-
if (
|
|
13739
|
-
|
|
13740
|
-
|
|
13741
|
-
|
|
13742
|
-
|
|
13743
|
-
|
|
13744
|
-
|
|
13737
|
+
var resultData = (props === null || props === void 0 ? void 0 : props.notValid) ? (_dataValidationRef$cu = dataValidationRef.current) === null || _dataValidationRef$cu === void 0 ? void 0 : _dataValidationRef$cu.getData() : (_dataValidationRef$cu2 = dataValidationRef.current) === null || _dataValidationRef$cu2 === void 0 ? void 0 : _dataValidationRef$cu2.getValidateData();
|
|
13738
|
+
if (!!!(props === null || props === void 0 ? void 0 : props.notValid)) {
|
|
13739
|
+
if (!resultData.successData.length) {
|
|
13740
|
+
message$1.error("无校验通过数据,请校验数据");
|
|
13741
|
+
return;
|
|
13742
|
+
}
|
|
13743
|
+
if (resultData.failData.length) {
|
|
13744
|
+
message$1.error("\u6709".concat(resultData.failData.length, "\u6761\u6821\u9A8C\u5931\u8D25\u6570\u636E"));
|
|
13745
|
+
return;
|
|
13746
|
+
}
|
|
13745
13747
|
}
|
|
13746
13748
|
callbackHandleOk(resultData, function () {
|
|
13747
13749
|
modalProps.hideModal();
|
|
@@ -16203,7 +16205,7 @@ var DetailWrapper = /*#__PURE__*/React$1.memo(function (_ref) {
|
|
|
16203
16205
|
return true;
|
|
16204
16206
|
});
|
|
16205
16207
|
|
|
16206
|
-
var css_248z$h = ".bs_home_page_head_wrapper {\n
|
|
16208
|
+
var css_248z$h = ".bs_home_page_head_wrapper {\n position: sticky;\n background: #fff;\n width: 100%;\n top: 0px;\n z-index: 10;\n}\n.home_page_head {\n display: flex;\n justify-content: space-between;\n align-items: center;\n background-color: #FFFFFF;\n border-bottom: 1px solid #f0f0f0;\n padding: 6px 16px 5px;\n font-weight: 500;\n}\n.home_page_head .home_page_title_wrapper {\n display: flex;\n align-items: center;\n height: 20px;\n line-height: 20px;\n}\n.home_page_head .home_page_title {\n font-family: PingFangSC-Medium;\n font-weight: 600;\n font-size: 16px;\n color: #000000;\n letter-spacing: 0;\n flex-grow: 1;\n padding-right: 10px;\n display: none;\n}\n.home_page_head .ant-breadcrumb {\n display: block !important;\n}\n.home_page_head .ant-breadcrumb .ant-breadcrumb-separator {\n margin: 0 2px;\n}\n.home_page_head .ant-breadcrumb li .bread_name {\n color: #8B8B8B;\n font-size: 12px;\n line-height: 16px;\n cursor: pointer;\n}\n.home_page_head .ant-breadcrumb li .bread_name_last {\n color: #282828;\n}\n";
|
|
16207
16209
|
styleInject(css_248z$h);
|
|
16208
16210
|
|
|
16209
16211
|
var _excluded$e = ["children"];
|
package/dist/index.js
CHANGED
|
@@ -4835,7 +4835,7 @@ function ToCDB$1(selectStr) {
|
|
|
4835
4835
|
return tmp;
|
|
4836
4836
|
}
|
|
4837
4837
|
|
|
4838
|
-
var css_248z$6 = ".search_select .ant-select-selector {\n height: 24px;\n overflow: hidden;\n}\n.search_select .ant-select-selector .ant-select-selection-overflow {\n height: 40px;\n flex-wrap: nowrap;\n overflow-x: auto;\n}\n.search_select .ant-select-selector .ant-select-selection-overflow-item {\n align-self: auto;\n}\n.search_select_show {\n display: flex;\n}\n.search_select_show .ant-select-dropdown {\n top: 24px !important;\n width: calc(141%) !important;\n}\n.search_select_show .ant-select-clear {\n right: 33px;\n}\n.search_select_show .ant-select-multiple.ant-select-show-arrow .ant-select-selector,\n.search_select_show .ant-select-multiple.ant-select-allow-clear .ant-select-selector {\n padding-right: 28px;\n}\n.search_select_show.search_select_show_list .ant-select-dropdown {\n top: 24px !important;\n width: calc(100% + 110px) !important;\n}\n.search_select_expand_button {\n position: relative;\n right: -11px;\n width: 30px;\n border-left: 1px solid #d9d9d9;\n height: 24px;\n cursor: pointer;\n font-size: 14px;\n font-weight: bolder;\n}\n.search_select_expand_button span {\n position: absolute;\n left: 50%;\n top: 50%;\n transform: translate(-50%, -50%);\n}\n.search_select_expand_button:hover {\n background-color: #005cff;\n color: #fff;\n border-top-right-radius: 2px;\n border-bottom-right-radius: 2px;\n}\n.search_select_expand_button_disabled:hover {\n background-color: transparent;\n color: rgba(0, 0, 0, 0.25);\n cursor: not-allowed;\n}\n.search_select_dropdown_table .ant-table.ant-table-bordered > .ant-table-container > .ant-table-header > table {\n font-family: MiSans-Regular;\n font-weight: 400;\n font-size: 12px;\n}\n.search_select_dropdown_table .ant-table.ant-table-bordered > .ant-table-container > .ant-table-header > table thead > tr > th {\n color: #7F7F7F;\n}\n.search_select_dropdown_table .ant-table.ant-table-bordered > .ant-table-container > .ant-table-header > table .ant-table-thead .ant-table-selection .ant-checkbox-wrapper {\n justify-content: center;\n}\n.search_select_dropdown_table .ant-table.ant-table-bordered > .ant-table-container > .ant-table-header > table tbody > tr > td {\n color: #333333;\n}\n.search_select_dropdown_table1 .ant-table.ant-table-bordered > .ant-table-container .ant-table-body > table > tbody > tr > td.ant-table-selection-column,\n.search_select_dropdown_table1 .ant-table.ant-table-bordered > .ant-table-container .ant-table-header > table > thead > tr > th.ant-table-selection-column {\n visibility: hidden;\n padding: 0;\n margin: 0;\n width: 0;\n height: 0;\n min-width: 0;\n min-height: 0;\n border: none;\n}\n.search_select_dropdown_table1 .ant-table.ant-table-bordered > .ant-table-container .ant-table-body > table > tbody > tr > td.ant-table-selection-column .ant-radio-wrapper,\n.search_select_dropdown_table1 .ant-table.ant-table-bordered > .ant-table-container .ant-table-header > table > thead > tr > th.ant-table-selection-column .ant-radio-wrapper {\n display: none;\n}\n.search_select_modal_wrapper .ant-modal {\n top: 60px;\n}\n.search_select_modal_wrapper .ant-modal-header {\n padding: 6px 0px 6px 16px;\n}\n.search_select_modal_wrapper .ant-modal-header .ant-modal-title {\n height: 20px;\n color: #000000;\n line-height: 20px;\n}\n.search_select_modal_wrapper .ant-modal-close-x {\n width: 32px;\n height: 32px;\n line-height: 32px;\n}\n.search_select_modal_wrapper .ant-modal-body {\n padding: 0px;\n background: #F3F3F3;\n height: calc(100vh - 235px);\n overflow: hidden;\n}\n.search_select_modal_wrapper .ant-modal-footer .ant-btn.ant-btn-default {\n color: #005cff;\n border-color: #005cff;\n}\n.search_select_modal_wrapper .ant-modal-footer .ant-btn-primary,\n.search_select_modal_wrapper .ant-modal-footer .ant-btn-primary[disabled] {\n background: #005cff;\n border-color: #005cff;\n}\n.search_select_modal_wrapper .ant-modal-footer .ant-btn-primary[disabled] {\n opacity: 0.5;\n color: #fff;\n}\n.search_select_wrapper {\n position: relative;\n font-size: 14px;\n}\n.search_select_wrapper_topForm .select_list_columns {\n width: 100%;\n padding: 10px 6px 2px 16px;\n background-color: #fff;\n}\n.search_select_wrapper_topForm .select_list_columns .ant-form {\n padding: 0;\n display: flex;\n align-items: flex-start;\n}\n.search_select_wrapper_topForm .select_list_columns .ant-form .ant-row .ant-form-item,\n.search_select_wrapper_topForm .select_list_columns .ant-form .ant-row .ant-col .ant-space {\n font-size: 12px !important;\n margin-right: 0px !important;\n margin-bottom: 8px !important;\n}\n.search_select_wrapper_topForm .select_list_columns .ant-form .ant-row.ant-form-item-row {\n background-color: #fafafa;\n border: 0.8px solid #D9D9D9;\n border-radius: 2px;\n font-size: 12px;\n}\n.search_select_wrapper_topForm .select_list_columns .ant-form .ant-row {\n width: 100%;\n}\n.search_select_wrapper_topForm .select_list_columns .ant-form .ant-row .ant-form-item-label {\n width: 110px;\n order: 1;\n}\n.search_select_wrapper_topForm .select_list_columns .ant-form .ant-row .ant-form-item-label label {\n width: 100%;\n text-align: left;\n padding: 0 10px;\n color: #333333;\n font-size: 12px;\n font-family: PingFangSC-Regular;\n font-weight: 400;\n}\n.search_select_wrapper_topForm .select_list_columns .ant-form .ant-row .ant-form-item-control {\n order: 2;\n width: 100px;\n}\n.search_select_wrapper_topForm .select_list_columns .ant-form .ant-row .ant-form-item-control .ant-input-affix-wrapper {\n border: 0;\n font-size: 12px;\n background-color: #fafafa;\n padding: 0 11px;\n height: 24px;\n}\n.search_select_wrapper_topForm .select_list_columns .ant-form .ant-row .ant-form-item-control .ant-input-affix-wrapper .ant-input {\n background-color: #fafafa !important;\n border: 0;\n font-size: 12px;\n}\n.search_select_wrapper_topForm .select_list_columns .ant-form .ant-row .ant-form-item-control .ant-select-selector {\n border: 0 !important;\n background-color: #fafafa !important;\n font-size: 12px;\n}\n.search_select_wrapper_topForm .select_list_columns .ant-form .ant-row .ant-form-item-control .query_input .ant-input {\n background-color: #fafafa !important;\n border: 0;\n font-size: 12px;\n}\n.search_select_wrapper_topForm .select_list_columns .ant-form .ant-btn-primary {\n background: #005cff;\n}\n.search_select_wrapper_topForm .select_list_columns .ant-form > .ant-row > .ant-col {\n order: 2;\n padding-right: 10px;\n}\n.search_select_wrapper_topForm .select_list_button_space {\n margin-right: 10px;\n}\n.search_select_wrapper_bottomTable {\n margin: 10px;\n display: flex;\n justify-content: space-between;\n}\n.search_select_wrapper_bottomTable_wrapLeft1,\n.search_select_wrapper_bottomTable_wrapLeft2,\n.search_select_wrapper_bottomTable_wrapRight {\n background: #fff;\n width: calc(50% - 5px);\n}\n.search_select_wrapper_bottomTable_wrapLeft1
|
|
4838
|
+
var css_248z$6 = ".search_select .ant-select-selector {\n height: 24px;\n overflow: hidden;\n}\n.search_select .ant-select-selector .ant-select-selection-overflow {\n height: 40px;\n flex-wrap: nowrap;\n overflow-x: auto;\n}\n.search_select .ant-select-selector .ant-select-selection-overflow-item {\n align-self: auto;\n}\n.search_select_show {\n display: flex;\n}\n.search_select_show .ant-select-dropdown {\n top: 24px !important;\n width: calc(141%) !important;\n}\n.search_select_show .ant-select-clear {\n right: 33px;\n}\n.search_select_show .ant-select-multiple.ant-select-show-arrow .ant-select-selector,\n.search_select_show .ant-select-multiple.ant-select-allow-clear .ant-select-selector {\n padding-right: 28px;\n}\n.search_select_show.search_select_show_list .ant-select-dropdown {\n top: 24px !important;\n width: calc(100% + 110px) !important;\n}\n.search_select_expand_button {\n position: relative;\n right: -11px;\n width: 30px;\n border-left: 1px solid #d9d9d9;\n height: 24px;\n cursor: pointer;\n font-size: 14px;\n font-weight: bolder;\n}\n.search_select_expand_button span {\n position: absolute;\n left: 50%;\n top: 50%;\n transform: translate(-50%, -50%);\n}\n.search_select_expand_button:hover {\n background-color: #005cff;\n color: #fff;\n border-top-right-radius: 2px;\n border-bottom-right-radius: 2px;\n}\n.search_select_expand_button_disabled:hover {\n background-color: transparent;\n color: rgba(0, 0, 0, 0.25);\n cursor: not-allowed;\n}\n.search_select_dropdown_table .ant-table.ant-table-bordered > .ant-table-container > .ant-table-header > table {\n font-family: MiSans-Regular;\n font-weight: 400;\n font-size: 12px;\n}\n.search_select_dropdown_table .ant-table.ant-table-bordered > .ant-table-container > .ant-table-header > table thead > tr > th {\n color: #7F7F7F;\n}\n.search_select_dropdown_table .ant-table.ant-table-bordered > .ant-table-container > .ant-table-header > table .ant-table-thead .ant-table-selection .ant-checkbox-wrapper {\n justify-content: center;\n}\n.search_select_dropdown_table .ant-table.ant-table-bordered > .ant-table-container > .ant-table-header > table tbody > tr > td {\n color: #333333;\n}\n.search_select_dropdown_table1 .ant-table.ant-table-bordered > .ant-table-container .ant-table-body > table > tbody > tr > td.ant-table-selection-column,\n.search_select_dropdown_table1 .ant-table.ant-table-bordered > .ant-table-container .ant-table-header > table > thead > tr > th.ant-table-selection-column {\n visibility: hidden;\n padding: 0;\n margin: 0;\n width: 0;\n height: 0;\n min-width: 0;\n min-height: 0;\n border: none;\n}\n.search_select_dropdown_table1 .ant-table.ant-table-bordered > .ant-table-container .ant-table-body > table > tbody > tr > td.ant-table-selection-column .ant-radio-wrapper,\n.search_select_dropdown_table1 .ant-table.ant-table-bordered > .ant-table-container .ant-table-header > table > thead > tr > th.ant-table-selection-column .ant-radio-wrapper {\n display: none;\n}\n.search_select_modal_wrapper .ant-modal {\n top: 60px;\n}\n.search_select_modal_wrapper .ant-modal-header {\n padding: 6px 0px 6px 16px;\n}\n.search_select_modal_wrapper .ant-modal-header .ant-modal-title {\n height: 20px;\n color: #000000;\n line-height: 20px;\n}\n.search_select_modal_wrapper .ant-modal-close-x {\n width: 32px;\n height: 32px;\n line-height: 32px;\n}\n.search_select_modal_wrapper .ant-modal-body {\n padding: 0px;\n background: #F3F3F3;\n height: calc(100vh - 235px);\n overflow: hidden;\n}\n.search_select_modal_wrapper .ant-modal-footer .ant-btn.ant-btn-default {\n color: #005cff;\n border-color: #005cff;\n}\n.search_select_modal_wrapper .ant-modal-footer .ant-btn-primary,\n.search_select_modal_wrapper .ant-modal-footer .ant-btn-primary[disabled] {\n background: #005cff;\n border-color: #005cff;\n}\n.search_select_modal_wrapper .ant-modal-footer .ant-btn-primary[disabled] {\n opacity: 0.5;\n color: #fff;\n}\n.search_select_wrapper {\n position: relative;\n font-size: 14px;\n}\n.search_select_wrapper_topForm .select_list_columns {\n width: 100%;\n padding: 10px 6px 2px 16px;\n background-color: #fff;\n}\n.search_select_wrapper_topForm .select_list_columns .ant-form {\n padding: 0;\n display: flex;\n align-items: flex-start;\n}\n.search_select_wrapper_topForm .select_list_columns .ant-form .ant-row .ant-form-item,\n.search_select_wrapper_topForm .select_list_columns .ant-form .ant-row .ant-col .ant-space {\n font-size: 12px !important;\n margin-right: 0px !important;\n margin-bottom: 8px !important;\n}\n.search_select_wrapper_topForm .select_list_columns .ant-form .ant-row.ant-form-item-row {\n background-color: #fafafa;\n border: 0.8px solid #D9D9D9;\n border-radius: 2px;\n font-size: 12px;\n}\n.search_select_wrapper_topForm .select_list_columns .ant-form .ant-row {\n width: 100%;\n}\n.search_select_wrapper_topForm .select_list_columns .ant-form .ant-row .ant-form-item-label {\n width: 110px;\n order: 1;\n}\n.search_select_wrapper_topForm .select_list_columns .ant-form .ant-row .ant-form-item-label label {\n width: 100%;\n text-align: left;\n padding: 0 10px;\n color: #333333;\n font-size: 12px;\n font-family: PingFangSC-Regular;\n font-weight: 400;\n}\n.search_select_wrapper_topForm .select_list_columns .ant-form .ant-row .ant-form-item-control {\n order: 2;\n width: 100px;\n}\n.search_select_wrapper_topForm .select_list_columns .ant-form .ant-row .ant-form-item-control .ant-input-affix-wrapper {\n border: 0;\n font-size: 12px;\n background-color: #fafafa;\n padding: 0 11px;\n height: 24px;\n}\n.search_select_wrapper_topForm .select_list_columns .ant-form .ant-row .ant-form-item-control .ant-input-affix-wrapper .ant-input {\n background-color: #fafafa !important;\n border: 0;\n font-size: 12px;\n}\n.search_select_wrapper_topForm .select_list_columns .ant-form .ant-row .ant-form-item-control .ant-select-selector {\n border: 0 !important;\n background-color: #fafafa !important;\n font-size: 12px;\n}\n.search_select_wrapper_topForm .select_list_columns .ant-form .ant-row .ant-form-item-control .query_input .ant-input {\n background-color: #fafafa !important;\n border: 0;\n font-size: 12px;\n}\n.search_select_wrapper_topForm .select_list_columns .ant-form .ant-btn-primary {\n background: #005cff;\n}\n.search_select_wrapper_topForm .select_list_columns .ant-form > .ant-row > .ant-col {\n order: 2;\n padding-right: 10px;\n}\n.search_select_wrapper_topForm .select_list_button_space {\n margin-right: 10px;\n}\n.search_select_wrapper_bottomTable {\n margin: 10px;\n display: flex;\n justify-content: space-between;\n}\n.search_select_wrapper_bottomTable_wrapLeft1,\n.search_select_wrapper_bottomTable_wrapLeft2,\n.search_select_wrapper_bottomTable_wrapRight {\n background: #fff;\n width: calc(50% - 5px);\n}\n.search_select_wrapper_bottomTable_wrapLeft1 .ant-table.ant-table-bordered > .ant-table-container > .ant-table-header > table .ant-table-thead .ant-table-selection .ant-checkbox-wrapper,\n.search_select_wrapper_bottomTable_wrapLeft2 .ant-table.ant-table-bordered > .ant-table-container > .ant-table-header > table .ant-table-thead .ant-table-selection .ant-checkbox-wrapper,\n.search_select_wrapper_bottomTable_wrapRight .ant-table.ant-table-bordered > .ant-table-container > .ant-table-header > table .ant-table-thead .ant-table-selection .ant-checkbox-wrapper {\n justify-content: center;\n}\n.search_select_wrapper_bottomTable_wrapLeft1 {\n width: 100%;\n}\n.search_select_wrapper_bottomTable_wrapRight {\n margin-left: 10px;\n}\n.search_select_wrapper_bottomTable .ant-tabs-nav {\n margin: 0;\n padding: 6px 18.5px;\n}\n.search_select_wrapper_bottomTable .ant-tabs-nav .ant-tabs-nav-wrap {\n height: 28px;\n font-size: 14px;\n}\n.search_select_wrapper_bottomTable .ant-tabs-nav .ant-tabs-tab {\n padding: 4px 0;\n}\n.search_select_wrapper_bottomTable .ant-tabs-nav .ant-tabs-ink-bar {\n left: 3px !important;\n width: 40px !important;\n background: #005cff;\n}\n.search_select_wrapper_bottomTable .ant-tabs-nav .ant-tabs-extra-content > span {\n color: #005cff;\n cursor: pointer;\n}\n.search_select_wrapper_bottomTable .ant-tabs-tab.ant-tabs-tab-active .ant-tabs-tab-btn {\n color: #005cff;\n}\n.search_select_wrapper_bottomTable .ant-tabs-content-holder {\n padding: 10px 10px 7px;\n}\n.search_select_wrapper_bottomTable .ant-tabs-content-holder .ant-tabs-content .ant-table-wrapper .ant-table .ant-table-container .ant-table-content .ant-table-thead > tr > th {\n color: #7F7F7F;\n}\n.search_select_wrapper_bottomTable .ant-tabs-content-holder .ant-tabs-content .ant-table-wrapper .ant-table .ant-table-container .ant-table-content .ant-table-thead .ant-table-selection .ant-checkbox-wrapper {\n justify-content: center;\n}\n.search_select_wrapper_bottomTable .ant-tabs-content-holder .ant-tabs-content .ant-table-wrapper .ant-table .ant-table-container .ant-table-content .ant-table.ant-table-small .ant-table-tbody > tr > td {\n color: #333333;\n}\n.search_select_wrapper_bottomTable .ant-checkbox-checked .ant-checkbox-inner {\n color: #005cff;\n background: #005cff;\n}\n.search_select_wrapper_bottomTable .ant-pagination-item-active a {\n color: #005cff;\n}\n.search_select_wrapper_bottomTable .ant-pagination-item-active {\n border-color: #005cff;\n}\n.searchSelectSpin > div {\n height: 300px !important;\n}\n.searchSelectMaxTagToolTip .ant-tooltip-inner {\n max-height: 72px;\n overflow-x: auto;\n padding: 0px;\n}\n";
|
|
4839
4839
|
styleInject(css_248z$6);
|
|
4840
4840
|
|
|
4841
4841
|
var zhankaitiaojian = "data:image/svg+xml,%3C%3Fxml%20version%3D%221.0%22%20encoding%3D%22UTF-8%22%3F%3E%3Csvg%20width%3D%2224px%22%20height%3D%2224px%22%20viewBox%3D%220%200%2024%2024%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%3Ezhankaitiaojian-icon%3C%2Ftitle%3E%20%20%20%20%3Cdefs%3E%20%20%20%20%20%20%20%20%3Crect%20id%3D%22path-1%22%20x%3D%220%22%20y%3D%220%22%20width%3D%2224%22%20height%3D%2224%22%3E%3C%2Frect%3E%20%20%20%20%3C%2Fdefs%3E%20%20%20%20%3Cg%20id%3D%22%E9%A1%B5%E9%9D%A2-1%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%22icon%22%20transform%3D%22translate%28-702.000000%2C%20-498.000000%29%22%3E%20%20%20%20%20%20%20%20%20%20%20%20%3Cg%20id%3D%22zhankaitiaojian-icon%22%20transform%3D%22translate%28702.000000%2C%20498.000000%29%22%3E%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%3Cmask%20id%3D%22mask-2%22%20fill%3D%22white%22%3E%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%3Cuse%20xlink%3Ahref%3D%22%23path-1%22%3E%3C%2Fuse%3E%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%3C%2Fmask%3E%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%3Cuse%20id%3D%22%E8%92%99%E7%89%88%22%20fill%3D%22%23D8D8D8%22%20opacity%3D%220%22%20xlink%3Ahref%3D%22%23path-1%22%3E%3C%2Fuse%3E%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%3Cpath%20d%3D%22M12.0142082%2C6%20L18%2C11.9972435%20L12.0142082%2C18%20L11.04209%2C17.0260337%20L16.0562218%2C11.9972435%20L11.04209%2C6.97396631%20L12.0142082%2C6%20Z%20M6.97257658%2C6%20L12.9583683%2C11.9972435%20L6.97257658%2C18%20L6.00091666%2C17.0260337%20L11.0150485%2C11.9972435%20L6%2C6.97396631%20L6.97257658%2C6%20Z%22%20id%3D%22%E5%BD%A2%E7%8A%B6%22%20fill%3D%22%23005CFF%22%20fill-rule%3D%22nonzero%22%20mask%3D%22url%28%23mask-2%29%22%20transform%3D%22translate%2812.000000%2C%2012.000000%29%20rotate%28-270.000000%29%20translate%28-12.000000%2C%20-12.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";
|
|
@@ -5582,7 +5582,7 @@ var SearchSelect = /*#__PURE__*/React$1.forwardRef(function (props, ref) {
|
|
|
5582
5582
|
pageSize: pageSize,
|
|
5583
5583
|
currentPage: currentPage
|
|
5584
5584
|
}, otherParams), fixedParam), params);
|
|
5585
|
-
if (_.isNil(queryParams[selectParamsKey])) {
|
|
5585
|
+
if (_.isNil(queryParams[selectParamsKey]) && (searchValue === null || searchValue === void 0 ? void 0 : searchValue.length)) {
|
|
5586
5586
|
queryParams[selectParamsKey] = searchValue;
|
|
5587
5587
|
}
|
|
5588
5588
|
var getRequest;
|
|
@@ -6358,7 +6358,7 @@ var SearchSelect = /*#__PURE__*/React$1.forwardRef(function (props, ref) {
|
|
|
6358
6358
|
}))), needModalTable && isModalVisible && (/*#__PURE__*/React__default['default'].createElement(antd.Modal, _objectSpread2({
|
|
6359
6359
|
maskClosable: false,
|
|
6360
6360
|
destroyOnClose: true,
|
|
6361
|
-
width: "
|
|
6361
|
+
width: "calc(100% - 320px)",
|
|
6362
6362
|
title: modalTableProps === null || modalTableProps === void 0 ? void 0 : modalTableProps.modalTableTitle,
|
|
6363
6363
|
visible: isModalVisible,
|
|
6364
6364
|
confirmLoading: confirmLoading,
|
|
@@ -13755,16 +13755,18 @@ var CommodityEntry = function CommodityEntry(props) {
|
|
|
13755
13755
|
modalProps = _useState2[0],
|
|
13756
13756
|
setModalProps = _useState2[1];
|
|
13757
13757
|
var handleOk = function handleOk() {
|
|
13758
|
-
var _dataValidationRef$cu;
|
|
13758
|
+
var _dataValidationRef$cu, _dataValidationRef$cu2;
|
|
13759
13759
|
// 方法获取当前组件内部的数据,然后进行自身的业务操作
|
|
13760
|
-
var resultData = (_dataValidationRef$cu = dataValidationRef.current) === null || _dataValidationRef$cu === void 0 ? void 0 : _dataValidationRef$cu.getValidateData();
|
|
13761
|
-
if (
|
|
13762
|
-
|
|
13763
|
-
|
|
13764
|
-
|
|
13765
|
-
|
|
13766
|
-
|
|
13767
|
-
|
|
13760
|
+
var resultData = (props === null || props === void 0 ? void 0 : props.notValid) ? (_dataValidationRef$cu = dataValidationRef.current) === null || _dataValidationRef$cu === void 0 ? void 0 : _dataValidationRef$cu.getData() : (_dataValidationRef$cu2 = dataValidationRef.current) === null || _dataValidationRef$cu2 === void 0 ? void 0 : _dataValidationRef$cu2.getValidateData();
|
|
13761
|
+
if (!!!(props === null || props === void 0 ? void 0 : props.notValid)) {
|
|
13762
|
+
if (!resultData.successData.length) {
|
|
13763
|
+
antd.message.error("无校验通过数据,请校验数据");
|
|
13764
|
+
return;
|
|
13765
|
+
}
|
|
13766
|
+
if (resultData.failData.length) {
|
|
13767
|
+
antd.message.error("\u6709".concat(resultData.failData.length, "\u6761\u6821\u9A8C\u5931\u8D25\u6570\u636E"));
|
|
13768
|
+
return;
|
|
13769
|
+
}
|
|
13768
13770
|
}
|
|
13769
13771
|
callbackHandleOk(resultData, function () {
|
|
13770
13772
|
modalProps.hideModal();
|
|
@@ -16226,7 +16228,7 @@ var DetailWrapper = /*#__PURE__*/React__default['default'].memo(function (_ref)
|
|
|
16226
16228
|
return true;
|
|
16227
16229
|
});
|
|
16228
16230
|
|
|
16229
|
-
var css_248z$h = ".bs_home_page_head_wrapper {\n
|
|
16231
|
+
var css_248z$h = ".bs_home_page_head_wrapper {\n position: sticky;\n background: #fff;\n width: 100%;\n top: 0px;\n z-index: 10;\n}\n.home_page_head {\n display: flex;\n justify-content: space-between;\n align-items: center;\n background-color: #FFFFFF;\n border-bottom: 1px solid #f0f0f0;\n padding: 6px 16px 5px;\n font-weight: 500;\n}\n.home_page_head .home_page_title_wrapper {\n display: flex;\n align-items: center;\n height: 20px;\n line-height: 20px;\n}\n.home_page_head .home_page_title {\n font-family: PingFangSC-Medium;\n font-weight: 600;\n font-size: 16px;\n color: #000000;\n letter-spacing: 0;\n flex-grow: 1;\n padding-right: 10px;\n display: none;\n}\n.home_page_head .ant-breadcrumb {\n display: block !important;\n}\n.home_page_head .ant-breadcrumb .ant-breadcrumb-separator {\n margin: 0 2px;\n}\n.home_page_head .ant-breadcrumb li .bread_name {\n color: #8B8B8B;\n font-size: 12px;\n line-height: 16px;\n cursor: pointer;\n}\n.home_page_head .ant-breadcrumb li .bread_name_last {\n color: #282828;\n}\n";
|
|
16230
16232
|
styleInject(css_248z$h);
|
|
16231
16233
|
|
|
16232
16234
|
var _excluded$e = ["children"];
|
|
@@ -38,14 +38,14 @@ declare class TableColumnSetting extends React.Component<TableColumnSettingProps
|
|
|
38
38
|
} | {
|
|
39
39
|
title: string;
|
|
40
40
|
dataIndex: string;
|
|
41
|
-
render: (text: any, record: any) =>
|
|
41
|
+
render: (text: any, record: any) => JSX.Element;
|
|
42
42
|
className?: undefined;
|
|
43
43
|
width?: undefined;
|
|
44
44
|
} | {
|
|
45
45
|
title: string;
|
|
46
46
|
dataIndex: string;
|
|
47
47
|
className: string;
|
|
48
|
-
render: () =>
|
|
48
|
+
render: () => JSX.Element;
|
|
49
49
|
width?: undefined;
|
|
50
50
|
})[];
|
|
51
51
|
showModal: () => void;
|
|
@@ -53,12 +53,12 @@ declare class TableColumnSetting extends React.Component<TableColumnSettingProps
|
|
|
53
53
|
handleCancel: (e: React.MouseEvent<HTMLElement>) => void;
|
|
54
54
|
handleTableHeadHidden: (title: string) => void;
|
|
55
55
|
onSortEnd: ({ oldIndex, newIndex }: any) => void;
|
|
56
|
-
DraggableContainer: (props: any) =>
|
|
57
|
-
DraggableBodyRow: ({ className, style, ...restProps }: any) =>
|
|
56
|
+
DraggableContainer: (props: any) => JSX.Element;
|
|
57
|
+
DraggableBodyRow: ({ className, style, ...restProps }: any) => JSX.Element;
|
|
58
58
|
onChange: (e: any, title: any) => void;
|
|
59
59
|
handleReset: () => void;
|
|
60
60
|
onSearch: (e: any) => void;
|
|
61
61
|
onSearchSort: (e: any) => void;
|
|
62
|
-
render():
|
|
62
|
+
render(): JSX.Element;
|
|
63
63
|
}
|
|
64
64
|
export default TableColumnSetting;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
|
|
1
|
+
/// <reference types="react" />
|
|
2
2
|
import moment from 'moment';
|
|
3
3
|
type mediaListType = {
|
|
4
4
|
type: number;
|
|
@@ -49,24 +49,24 @@ declare const updateGuanDate: (requestParams: any, dateKeyParams?: any) => {
|
|
|
49
49
|
};
|
|
50
50
|
submit: any;
|
|
51
51
|
};
|
|
52
|
-
declare const textIcon: (type: string | number, text?: string) =>
|
|
53
|
-
declare const handleTextDoubleOrId: (textOne: string | undefined, textTwo: string | undefined) =>
|
|
54
|
-
declare const handleTextDouble: (textOne: string | undefined, textTwo: string | undefined) =>
|
|
55
|
-
declare const handleTextOverflow: (text: string | undefined, width?: number) =>
|
|
56
|
-
declare const handleTextLineFeed: (text: string | undefined, width?: number) =>
|
|
57
|
-
declare const handleTextTooltip: (text: any) =>
|
|
58
|
-
declare const handleTextBreakSpaces: (text: any) =>
|
|
59
|
-
declare const handleStatusBadge: (text: any, color: any) =>
|
|
60
|
-
declare const HandleTotalCount: (totalParams: any) =>
|
|
52
|
+
declare const textIcon: (type: string | number, text?: string) => JSX.Element | undefined;
|
|
53
|
+
declare const handleTextDoubleOrId: (textOne: string | undefined, textTwo: string | undefined) => JSX.Element;
|
|
54
|
+
declare const handleTextDouble: (textOne: string | undefined, textTwo: string | undefined) => JSX.Element;
|
|
55
|
+
declare const handleTextOverflow: (text: string | undefined, width?: number) => JSX.Element;
|
|
56
|
+
declare const handleTextLineFeed: (text: string | undefined, width?: number) => JSX.Element;
|
|
57
|
+
declare const handleTextTooltip: (text: any) => JSX.Element;
|
|
58
|
+
declare const handleTextBreakSpaces: (text: any) => JSX.Element;
|
|
59
|
+
declare const handleStatusBadge: (text: any, color: any) => JSX.Element;
|
|
60
|
+
declare const HandleTotalCount: (totalParams: any) => JSX.Element;
|
|
61
61
|
declare const handleCommonTimeRender: (text: any, format?: any) => any;
|
|
62
|
-
declare const handleTooltip: (text: any, timeTrue?: boolean) =>
|
|
63
|
-
declare const handleTooltipHours: (text: any, timeTrue?: boolean) =>
|
|
62
|
+
declare const handleTooltip: (text: any, timeTrue?: boolean) => JSX.Element;
|
|
63
|
+
declare const handleTooltipHours: (text: any, timeTrue?: boolean) => JSX.Element;
|
|
64
64
|
type tableColumnsImageType = {
|
|
65
65
|
width?: number | string;
|
|
66
66
|
height?: number | string;
|
|
67
67
|
[key: string]: any;
|
|
68
68
|
};
|
|
69
|
-
declare const tableColumnsImage: (url?: string, paramsObj?: tableColumnsImageType) =>
|
|
69
|
+
declare const tableColumnsImage: (url?: string, paramsObj?: tableColumnsImageType) => JSX.Element;
|
|
70
70
|
interface ColumnsEditInterfave {
|
|
71
71
|
text?: string;
|
|
72
72
|
record?: any;
|
|
@@ -82,7 +82,7 @@ interface ColumnsEditInterfave {
|
|
|
82
82
|
};
|
|
83
83
|
[key: string]: any;
|
|
84
84
|
}
|
|
85
|
-
declare const ColumnsEdit: (props: ColumnsEditInterfave) =>
|
|
85
|
+
declare const ColumnsEdit: (props: ColumnsEditInterfave) => JSX.Element;
|
|
86
86
|
type UserColumnsType = {
|
|
87
87
|
name: string;
|
|
88
88
|
department?: string;
|
|
@@ -90,13 +90,13 @@ type UserColumnsType = {
|
|
|
90
90
|
company?: string;
|
|
91
91
|
avatar?: string;
|
|
92
92
|
};
|
|
93
|
-
declare const userColumns: (props: UserColumnsType) =>
|
|
94
|
-
declare const userInfoCard: (props: any) =>
|
|
93
|
+
declare const userColumns: (props: UserColumnsType) => JSX.Element;
|
|
94
|
+
declare const userInfoCard: (props: any) => JSX.Element;
|
|
95
95
|
declare const getItemDefaultWidth: (item: any) => number;
|
|
96
|
-
declare const sulaTableRenderTooltip: ({ text }: any) =>
|
|
96
|
+
declare const sulaTableRenderTooltip: ({ text }: any) => JSX.Element;
|
|
97
97
|
declare const renderNumberText: ({ text }: any) => any;
|
|
98
98
|
declare const renderFixed2: (text: any) => any;
|
|
99
|
-
declare const handleTextWarpCustom: (text: any, style?: {}) =>
|
|
99
|
+
declare const handleTextWarpCustom: (text: any, style?: {}) => JSX.Element;
|
|
100
100
|
declare const calculateValidPeriod: (start: any, end: any) => string;
|
|
101
|
-
declare const handleTextWarp: (text: any) =>
|
|
101
|
+
declare const handleTextWarp: (text: any) => JSX.Element;
|
|
102
102
|
export { getSkuImg, updateGuanDate, textIcon, handleTextDoubleOrId, handleTextDouble, handleTextOverflow, handleTextLineFeed, handleTextTooltip, handleTextBreakSpaces, handleStatusBadge, HandleTotalCount, handleTooltip, handleCommonTimeRender, handleTooltipHours, tableColumnsImage, ColumnsEdit, userColumns, userInfoCard, getItemDefaultWidth, renderNumberText, sulaTableRenderTooltip, renderFixed2, handleTextWarpCustom, handleTextWarp, calculateValidPeriod };
|
package/package.json
CHANGED
|
@@ -34,16 +34,18 @@ const CommodityEntry = (props: any) => {
|
|
|
34
34
|
|
|
35
35
|
const handleOk = () => {
|
|
36
36
|
// 方法获取当前组件内部的数据,然后进行自身的业务操作
|
|
37
|
-
|
|
37
|
+
let resultData = props?.notValid ? dataValidationRef.current?.getData() : dataValidationRef.current?.getValidateData();
|
|
38
38
|
|
|
39
|
-
if
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
39
|
+
if(!(!!props?.notValid)) {
|
|
40
|
+
if (!resultData.successData.length) {
|
|
41
|
+
message.error("无校验通过数据,请校验数据");
|
|
42
|
+
return;
|
|
43
|
+
}
|
|
44
|
+
|
|
45
|
+
if (resultData.failData.length) {
|
|
46
|
+
message.error(`有${resultData.failData.length}条校验失败数据`);
|
|
47
|
+
return;
|
|
48
|
+
}
|
|
47
49
|
}
|
|
48
50
|
|
|
49
51
|
callbackHandleOk(resultData, () => {
|
|
@@ -249,11 +249,9 @@
|
|
|
249
249
|
&_wrapLeft1, &_wrapLeft2, &_wrapRight{
|
|
250
250
|
background: #fff;
|
|
251
251
|
width: calc(50% - 5px);
|
|
252
|
-
|
|
253
|
-
|
|
254
|
-
|
|
255
|
-
padding-left: 6px;
|
|
256
|
-
}
|
|
252
|
+
// 解决全选按钮位置偏左问题
|
|
253
|
+
.ant-table.ant-table-bordered > .ant-table-container > .ant-table-header > table .ant-table-thead .ant-table-selection .ant-checkbox-wrapper {
|
|
254
|
+
justify-content: center;
|
|
257
255
|
}
|
|
258
256
|
}
|
|
259
257
|
&_wrapLeft1 {
|
|
@@ -230,7 +230,7 @@ const SearchSelect = forwardRef((props: any, ref: any) => {
|
|
|
230
230
|
...fixedParam,
|
|
231
231
|
...params,
|
|
232
232
|
};
|
|
233
|
-
if (isNil(queryParams[selectParamsKey])) {
|
|
233
|
+
if (isNil(queryParams[selectParamsKey])&&searchValue?.length) {
|
|
234
234
|
queryParams[selectParamsKey] = searchValue;
|
|
235
235
|
}
|
|
236
236
|
|
|
@@ -887,7 +887,7 @@ const SearchSelect = forwardRef((props: any, ref: any) => {
|
|
|
887
887
|
<Modal
|
|
888
888
|
maskClosable={false}
|
|
889
889
|
destroyOnClose
|
|
890
|
-
width=
|
|
890
|
+
width={`calc(100% - 320px)`}
|
|
891
891
|
title={modalTableProps?.modalTableTitle}
|
|
892
892
|
visible={isModalVisible}
|
|
893
893
|
confirmLoading={confirmLoading}
|