ods-component-lib 1.18.54 → 1.18.55

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.js CHANGED
@@ -16296,7 +16296,10 @@ var iconComponents = {
16296
16296
  copy: outline.CopyIcon,
16297
16297
  discount: outline.DiscountIcon,
16298
16298
  kebabMenu: outline.KebabMenuIcon,
16299
- refresh: outline.RefreshIcon
16299
+ refresh: outline.RefreshIcon,
16300
+ unmap: outline.LinkBreakIcon,
16301
+ save: outline.FloppyDiskIcon,
16302
+ cancel: outline.Loop1Icon
16300
16303
  };
16301
16304
  var DynamicIcon = function DynamicIcon(_ref) {
16302
16305
  var iconName = _ref.iconName;
@@ -16732,9 +16735,17 @@ var OdsRemoteDataGrid = function OdsRemoteDataGrid(props) {
16732
16735
  onClick: buttonItem.onClick
16733
16736
  });
16734
16737
  }), props.edit && actionButtons.map(function (buttonItem, index) {
16735
- return React__default.createElement(DataGrid.Button, Object.assign({
16736
- key: "action-button-" + index
16737
- }, buttonItem));
16738
+ return React__default.createElement(DataGrid.Button, {
16739
+ key: "action-button-" + index,
16740
+ name: buttonItem.name,
16741
+ hint: buttonItem.hint,
16742
+ visible: buttonItem.visible,
16743
+ disabled: buttonItem.actionPermission == undefined ? false : !buttonItem.actionPermission,
16744
+ icon: server_browser.renderToString(React__default.createElement(DynamicIcon, {
16745
+ iconName: buttonItem.icon
16746
+ })),
16747
+ onClick: buttonItem.onClick
16748
+ });
16738
16749
  })), kebabMenuButtons.length > 0 && React__default.createElement(DataGrid.Column, {
16739
16750
  dataField: "Actionss",
16740
16751
  fixed: true,