wt-enjoy-link-antd-repack 4.1.68 → 4.1.70
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,6CA2I1E,CAAA"}
|
@@ -13,7 +13,7 @@ function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol"
|
|
13
13
|
function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != _typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }
|
14
14
|
function _objectWithoutProperties(source, excluded) { if (source == null) return {}; var target = _objectWithoutPropertiesLoose(source, excluded); var key, i; if (Object.getOwnPropertySymbols) { var sourceSymbolKeys = Object.getOwnPropertySymbols(source); for (i = 0; i < sourceSymbolKeys.length; i++) { key = sourceSymbolKeys[i]; if (excluded.indexOf(key) >= 0) continue; if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue; target[key] = source[key]; } } return target; }
|
15
15
|
function _objectWithoutPropertiesLoose(source, excluded) { if (source == null) return {}; var target = {}; var sourceKeys = Object.keys(source); var key, i; for (i = 0; i < sourceKeys.length; i++) { key = sourceKeys[i]; if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } return target; }
|
16
|
-
import { RightOutlined
|
16
|
+
import { RightOutlined } from '@ant-design/icons';
|
17
17
|
import { Button, Dropdown, Popconfirm, Space } from 'antd';
|
18
18
|
import React from 'react';
|
19
19
|
import { BiuAButton } from "../..";
|
@@ -58,9 +58,12 @@ export var TableActionBarRender = /*#__PURE__*/React.memo(function (props) {
|
|
58
58
|
return render();
|
59
59
|
}
|
60
60
|
if (dropName) {
|
61
|
-
var dropLable = /*#__PURE__*/_jsx(BiuAButton
|
62
|
-
|
63
|
-
}, btnProps), restProps), {}, {
|
61
|
+
var dropLable = /*#__PURE__*/_jsx(BiuAButton
|
62
|
+
// icon={<SlidersOutlined />}
|
63
|
+
, _objectSpread(_objectSpread(_objectSpread({}, btnProps), restProps), {}, {
|
64
|
+
style: {
|
65
|
+
width: '100%'
|
66
|
+
},
|
64
67
|
onClick: function onClick(event) {
|
65
68
|
var _formRef$current;
|
66
69
|
event.preventDefault();
|
@@ -99,7 +102,7 @@ export var TableActionBarRender = /*#__PURE__*/React.memo(function (props) {
|
|
99
102
|
})]
|
100
103
|
})
|
101
104
|
})
|
102
|
-
});
|
105
|
+
}, dropName);
|
103
106
|
} else {
|
104
107
|
return '';
|
105
108
|
}
|
@@ -133,16 +136,14 @@ export var TableActionBarRender = /*#__PURE__*/React.memo(function (props) {
|
|
133
136
|
var _formRef$current2;
|
134
137
|
if (callback) callback(formRef === null || formRef === void 0 || (_formRef$current2 = formRef.current) === null || _formRef$current2 === void 0 ? void 0 : _formRef$current2.getFieldsValue(), dataSource);
|
135
138
|
},
|
136
|
-
children: /*#__PURE__*/_jsx(BiuAButton, _objectSpread(_objectSpread(_objectSpread({
|
137
|
-
icon: /*#__PURE__*/_jsx(SlidersOutlined, {})
|
138
|
-
}, btnProps), restProps), {}, {
|
139
|
+
children: /*#__PURE__*/_jsx(BiuAButton, _objectSpread(_objectSpread(_objectSpread({}, btnProps), restProps), {}, {
|
139
140
|
children: title
|
140
141
|
}))
|
141
142
|
}), "".concat(title || ''));
|
142
143
|
}
|
143
|
-
return /*#__PURE__*/_jsx(BiuAButton
|
144
|
-
|
145
|
-
}, btnProps), restProps), {}, {
|
144
|
+
return /*#__PURE__*/_jsx(BiuAButton
|
145
|
+
// icon={<SlidersOutlined />}
|
146
|
+
, _objectSpread(_objectSpread(_objectSpread({}, btnProps), restProps), {}, {
|
146
147
|
onClick: function onClick(event) {
|
147
148
|
var _formRef$current3;
|
148
149
|
event.preventDefault();
|