d2coreui 23.0.0 → 23.0.1

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.
@@ -50,7 +50,6 @@ export interface DataGridSearchProps {
50
50
  searchButtonDisabled?: boolean;
51
51
  hidden?: boolean;
52
52
  searchRenderer?(): React.ReactNode;
53
- inputReadonly?: boolean;
54
53
  stringFormatter?(rawString: string): string;
55
54
  onChange?(searchString: string): void;
56
55
  onSearch?(): void;
@@ -1418,7 +1418,7 @@ class DataGrid extends React.Component {
1418
1418
  React.createElement(Dropdown, { trigger: ["click"], menu: this.getSettingsMenu() },
1419
1419
  React.createElement(Button, { title: i18n("Extended table features"), disabled: this.state.loading },
1420
1420
  React.createElement(TableOutlined, null))),
1421
- !((_d = this.props.search) === null || _d === void 0 ? void 0 : _d.hidden) && !((_e = this.props.search) === null || _e === void 0 ? void 0 : _e.searchRenderer) && React.createElement(AutoCompleteInput, { style: { minWidth: 100, flexGrow: 1 }, placeholder: this.props.search ? this.props.search.placeholder : undefined, stringFormatter: this.props.search ? this.props.search.stringFormatter : undefined, value: this.props.search ? this.props.search.searchString : undefined, inputReadonly: this.props.search ? this.props.search.inputReadonly : undefined, options: this.props.search ? this.props.search.searchHistory : undefined, onChange: this.props.search ? this.props.search.onChange : undefined, onSearch: this.props.search ? this.props.search.onSearch : undefined, disabled: this.state.loading || (this.props.filter && this.props.filter.columnSearchVisible) }), (_g = (_f = this.props.search) === null || _f === void 0 ? void 0 : _f.searchRenderer) === null || _g === void 0 ? void 0 :
1421
+ !((_d = this.props.search) === null || _d === void 0 ? void 0 : _d.hidden) && !((_e = this.props.search) === null || _e === void 0 ? void 0 : _e.searchRenderer) && React.createElement(AutoCompleteInput, { style: { minWidth: 100, flexGrow: 1 }, placeholder: this.props.search ? this.props.search.placeholder : undefined, stringFormatter: this.props.search ? this.props.search.stringFormatter : undefined, value: this.props.search ? this.props.search.searchString : undefined, options: this.props.search ? this.props.search.searchHistory : undefined, onChange: this.props.search ? this.props.search.onChange : undefined, onSearch: this.props.search ? this.props.search.onSearch : undefined, disabled: this.state.loading || (this.props.filter && this.props.filter.columnSearchVisible) }), (_g = (_f = this.props.search) === null || _f === void 0 ? void 0 : _f.searchRenderer) === null || _g === void 0 ? void 0 :
1422
1422
  _g.call(_f),
1423
1423
  React.createElement(Button, { title: ((_h = this.props.search) === null || _h === void 0 ? void 0 : _h.hidden) ? i18n("Refresh") : i18n("Search"), className: "search-btn " + (this.props.search && this.props.search.searchButtonClassName ? this.props.search.searchButtonClassName : ""), disabled: (_j = this.props.search) === null || _j === void 0 ? void 0 : _j.searchButtonDisabled, type: "primary", onClick: () => {
1424
1424
  if (this.props.search && this.props.search.onSearch) {