ywana-core8 0.0.850 → 0.0.852

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/index.umd.js CHANGED
@@ -121,15 +121,15 @@
121
121
  var token = securityCtx ? securityCtx.token() : null;
122
122
  return fetchAsync('POST', domain + URL, body, token, headers);
123
123
  },
124
- PUT: function PUT(URL, body) {
124
+ PUT: function PUT(URL, body, headers) {
125
125
  var token = securityCtx ? securityCtx.token() : null;
126
126
  return fetchAsync('PUT', domain + URL, body, token, headers);
127
127
  },
128
- PATCH: function PATCH(URL, body) {
128
+ PATCH: function PATCH(URL, body, headers) {
129
129
  var token = securityCtx ? securityCtx.token() : null;
130
130
  return fetchAsync('PATCH', domain + URL, body, token, headers);
131
131
  },
132
- DELETE: function DELETE(URL) {
132
+ DELETE: function DELETE(URL, headers) {
133
133
  var token = securityCtx ? securityCtx.token() : null;
134
134
  return fetchAsync('DELETE', domain + URL, undefined, token, headers);
135
135
  }
@@ -1696,7 +1696,10 @@
1696
1696
  label = _ref.label,
1697
1697
  type = _ref.type,
1698
1698
  item = _ref.item,
1699
- sortable = _ref.sortable;
1699
+ sortable = _ref.sortable,
1700
+ _ref$resizable = _ref.resizable,
1701
+ resizable = _ref$resizable === void 0 ? false : _ref$resizable;
1702
+ var resizableStyle = resizable ? "resizable-column" : "";
1700
1703
  var _ref2 = type === TYPES$1.ENTITY ? [1, Object.values(item).filter(function (v) {
1701
1704
  return v.column === true;
1702
1705
  }).length] : [2, 1],
@@ -1704,6 +1707,7 @@
1704
1707
  colspan = _ref2[1];
1705
1708
  return /*#__PURE__*/React__default["default"].createElement("th", {
1706
1709
  key: id,
1710
+ className: resizableStyle,
1707
1711
  rowSpan: rowspan,
1708
1712
  colSpan: colspan
1709
1713
  }, /*#__PURE__*/React__default["default"].createElement("div", null, id === "checked" && onCheckAll ? /*#__PURE__*/React__default["default"].createElement(CheckBox, {