wt-enjoy-link-antd-repack 4.1.49 → 4.1.50
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.
@@ -2,6 +2,6 @@ import React from 'react';
|
|
2
2
|
export { Form as BiuAForm } from 'antd';
|
3
3
|
export declare const BiuAFormItem: React.MemoExoticComponent<(<Values = any>(props: import("antd").FormItemProps<Values>) => React.ReactElement<any, string | React.JSXElementConstructor<any>>) & {
|
4
4
|
useStatus: () => {
|
5
|
-
status?: "" | "
|
5
|
+
status?: "" | "success" | "warning" | "error" | "validating" | undefined;
|
6
6
|
};
|
7
7
|
}>;
|
@@ -15,7 +15,7 @@ declare const _default: React.MemoExoticComponent<React.ForwardRefExoticComponen
|
|
15
15
|
initialValue?: number | undefined;
|
16
16
|
searchTimes?: number | undefined;
|
17
17
|
rowLabel?: string | undefined;
|
18
|
-
addresstype?: "
|
18
|
+
addresstype?: "1" | "2" | undefined;
|
19
19
|
clientidNull?: string | undefined;
|
20
20
|
addresstypeStr?: string | undefined;
|
21
21
|
addressAttrStr?: string | undefined;
|
@@ -9,7 +9,7 @@ declare const _default: React.MemoExoticComponent<React.ForwardRefExoticComponen
|
|
9
9
|
/**
|
10
10
|
* 0:入库 1:出库 2:移库 3:冻结 4:调整 5:属性变更
|
11
11
|
*/
|
12
|
-
orderType: 0 |
|
12
|
+
orderType: 0 | 1 | 2 | 3 | 4 | 5;
|
13
13
|
isFirstLoad: boolean;
|
14
14
|
} & SelectProps<any, import("antd/lib/select").DefaultOptionType> & React.RefAttributes<unknown>>>;
|
15
15
|
export default _default;
|
@@ -38,25 +38,25 @@ var ContainerWrapper = styled.div.withConfig({
|
|
38
38
|
displayName: "ContainerWrapper",
|
39
39
|
componentId: "wt-enjoy-link-antd-repack__sc-159m0g4-0"
|
40
40
|
})(["height:100%;display:flex;flex-direction:column;background-color:", ";.ant-popover-inner-content{padding:4px !important;}"], function (props) {
|
41
|
-
return props
|
41
|
+
return props.$isPage ? 'none' : '#ffffff';
|
42
42
|
});
|
43
43
|
var ActionWrapper = styled.div.withConfig({
|
44
44
|
displayName: "ActionWrapper",
|
45
45
|
componentId: "wt-enjoy-link-antd-repack__sc-159m0g4-1"
|
46
46
|
})(["display:flex;justify-content:space-between;box-sizing:border-box;width:calc(100% - 16px);border-top:1px solid #f0f0f0;padding:16px 0;flex-direction:row-reverse;", ""], function (props) {
|
47
|
-
return props
|
47
|
+
return props.$isPage ? "\n & {\n border-top: none;\n padding: 0 0 16px 0;\n margin: 0;\n }\n " : '';
|
48
48
|
});
|
49
49
|
var HeaderWrapper = styled.div.withConfig({
|
50
50
|
displayName: "HeaderWrapper",
|
51
51
|
componentId: "wt-enjoy-link-antd-repack__sc-159m0g4-2"
|
52
52
|
})(["flex-grow:0;padding:0px 0 16px 0;", ""], function (props) {
|
53
|
-
return props
|
53
|
+
return props.$isPage ? "\n background: #ffffff;\n border-radius: 4px;\n box-shadow: 0px 2px 9px 0px rgba(0, 0, 0, 0.05);\n margin-bottom: 20px;\n padding: 16px 15px;\n " : '';
|
54
54
|
});
|
55
55
|
var ContentWrapper = styled.div.withConfig({
|
56
56
|
displayName: "ContentWrapper",
|
57
57
|
componentId: "wt-enjoy-link-antd-repack__sc-159m0g4-3"
|
58
58
|
})(["flex:1;display:flex;flex-direction:column;overflow:hidden;", ""], function (props) {
|
59
|
-
return props
|
59
|
+
return props.$isPage ? "\n & {\n background: #ffffff;\n border-radius: 4px;\n padding: 16px 20px;\n box-shadow: 0px 2px 9px 0px rgba(0, 0, 0, 0.05);\n }\n " : '';
|
60
60
|
});
|
61
61
|
var FooterWrapper = styled.div.withConfig({
|
62
62
|
displayName: "FooterWrapper",
|
@@ -66,7 +66,7 @@ var StyledResizeTable = styled(BiuResizeTable).withConfig({
|
|
66
66
|
displayName: "StyledResizeTable",
|
67
67
|
componentId: "wt-enjoy-link-antd-repack__sc-159m0g4-5"
|
68
68
|
})(["display:block;flex-grow:1;overflow:hidden;height:100% !important;.ant-table-cell{border-right:none !important;}", " .ant-table-tbody > .ant-table-row > td{padding:6px !important;min-height:45px !important;height:45px !important;line-height:14px !important;color:#333333;}.ant-table-tbody > .ant-table-row:hover > td{background:#f5f5f5;}.ant-table-tbody > .ant-table-row-selected > td{background:#f0f7ff !important;}.ant-table-wrapper{height:100% !important;}.ant-table-tbody > tr > td{border-bottom:1px solid #ebebeb;}.ant-spin-nested-loading{height:100% !important;}.ant-spin-container{height:100% !important;}.ant-table{height:100% !important;border-bottom:1px solid #ebebeb !important;}.ant-table-container{height:100% !important;display:flex;flex-direction:column;}.ant-table-body{flex:1;}.ant-table-row{font-size:14px;font-weight:normal;}"], function (props) {
|
69
|
-
return props
|
69
|
+
return props.$isPage ? "\n & {\n padding: 0\n }\n " : '';
|
70
70
|
});
|
71
71
|
var SummaryWrapper = styled.div.withConfig({
|
72
72
|
displayName: "SummaryWrapper",
|
@@ -193,9 +193,9 @@ export var TableInstance = /*#__PURE__*/React.memo( /*#__PURE__*/forwardRef(func
|
|
193
193
|
return /*#__PURE__*/_jsxs(ContainerWrapper, {
|
194
194
|
ref: rootRef,
|
195
195
|
style: _objectSpread({}, containerStyle),
|
196
|
-
isPage: isPage,
|
196
|
+
$isPage: isPage,
|
197
197
|
children: [/*#__PURE__*/_jsx(HeaderWrapper, {
|
198
|
-
isPage: isPage,
|
198
|
+
$isPage: isPage,
|
199
199
|
children: searchForm ? /*#__PURE__*/_jsx(BiuForm, {
|
200
200
|
ref: formRef,
|
201
201
|
headLine: headLine,
|
@@ -204,9 +204,9 @@ export var TableInstance = /*#__PURE__*/React.memo( /*#__PURE__*/forwardRef(func
|
|
204
204
|
onReset: onReset
|
205
205
|
}) : null
|
206
206
|
}), /*#__PURE__*/_jsxs(ContentWrapper, {
|
207
|
-
isPage: isPage,
|
207
|
+
$isPage: isPage,
|
208
208
|
children: [/*#__PURE__*/_jsxs(ActionWrapper, {
|
209
|
-
isPage: isPage,
|
209
|
+
$isPage: isPage,
|
210
210
|
children: [/*#__PURE__*/_jsx("div", {
|
211
211
|
style: {
|
212
212
|
paddingRight: 0
|
@@ -241,7 +241,7 @@ export var TableInstance = /*#__PURE__*/React.memo( /*#__PURE__*/forwardRef(func
|
|
241
241
|
operationOptions: operationOptions
|
242
242
|
})]
|
243
243
|
}), /*#__PURE__*/_jsx(StyledResizeTable, _objectSpread({
|
244
|
-
isPage: isPage,
|
244
|
+
$isPage: isPage,
|
245
245
|
rowKey: rowKey,
|
246
246
|
loading: tabLoading || loading,
|
247
247
|
rowSelection: _objectSpread(_objectSpread({}, rowSelection), {}, {
|