wt-enjoy-link-antd-repack 4.1.74 → 4.1.75
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.
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"tableActionBarRender.d.ts","sourceRoot":"","sources":["tableActionBarRender.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,OAAO,CAAA;AACtC,OAAO,KAAK,MAAM,OAAO,CAAA;AACzB,OAAO,KAAK,EAAE,oBAAoB,EAAE,eAAe,EAAE,cAAmB;AAIxE,MAAM,WAAW,qBAAqB;IACpC,gBAAgB,CAAC,EAAE,oBAAoB,EAAE,CAAA;IACzC,OAAO,EAAE,SAAS,CAAC,eAAe,CAAC,GAAG,IAAI,CAAA;IAC1C,UAAU,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,EAAE,CAAA;CACnC;AAED,eAAO,MAAM,oBAAoB,oCAAsB,qBAAqB,
|
1
|
+
{"version":3,"file":"tableActionBarRender.d.ts","sourceRoot":"","sources":["tableActionBarRender.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,OAAO,CAAA;AACtC,OAAO,KAAK,MAAM,OAAO,CAAA;AACzB,OAAO,KAAK,EAAE,oBAAoB,EAAE,eAAe,EAAE,cAAmB;AAIxE,MAAM,WAAW,qBAAqB;IACpC,gBAAgB,CAAC,EAAE,oBAAoB,EAAE,CAAA;IACzC,OAAO,EAAE,SAAS,CAAC,eAAe,CAAC,GAAG,IAAI,CAAA;IAC1C,UAAU,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,EAAE,CAAA;CACnC;AAED,eAAO,MAAM,oBAAoB,oCAAsB,qBAAqB,6CA6K1E,CAAA"}
|
@@ -54,9 +54,12 @@ export var TableActionBarRender = /*#__PURE__*/React.memo(function (props) {
|
|
54
54
|
dropItems = _ref.dropItems,
|
55
55
|
auth = _ref.auth,
|
56
56
|
restProps = _objectWithoutProperties(_ref, _excluded);
|
57
|
+
console.log('title', title);
|
57
58
|
if (!hasAuth(auth)) return null;
|
58
59
|
if (render) {
|
59
|
-
return
|
60
|
+
return /*#__PURE__*/_jsx(Space, {
|
61
|
+
children: render()
|
62
|
+
}, "".concat(title || ''));
|
60
63
|
}
|
61
64
|
if (dropName) {
|
62
65
|
var dropLable = /*#__PURE__*/_jsx(BiuAButton
|
@@ -91,7 +94,7 @@ export var TableActionBarRender = /*#__PURE__*/React.memo(function (props) {
|
|
91
94
|
items: items
|
92
95
|
},
|
93
96
|
placement: "bottomLeft",
|
94
|
-
children: /*#__PURE__*/_jsx(
|
97
|
+
children: /*#__PURE__*/_jsx(BiuAButton, {
|
95
98
|
type: "primary",
|
96
99
|
children: /*#__PURE__*/_jsxs(Space, {
|
97
100
|
children: [dropName, /*#__PURE__*/_jsx(RightOutlined, {
|
@@ -101,7 +104,7 @@ export var TableActionBarRender = /*#__PURE__*/React.memo(function (props) {
|
|
101
104
|
top: -1
|
102
105
|
}
|
103
106
|
})]
|
104
|
-
})
|
107
|
+
}, dropName)
|
105
108
|
})
|
106
109
|
}, dropName);
|
107
110
|
} else {
|
@@ -128,7 +131,7 @@ export var TableActionBarRender = /*#__PURE__*/React.memo(function (props) {
|
|
128
131
|
top: -1
|
129
132
|
}
|
130
133
|
})]
|
131
|
-
})
|
134
|
+
}, title)
|
132
135
|
})
|
133
136
|
}, title);
|
134
137
|
}
|