@steroidsjs/core 2.2.95 → 2.2.96

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.
@@ -72,6 +72,11 @@ export interface IListConfig {
72
72
  * @example {text: 'Записи не найдены'}
73
73
  */
74
74
  empty?: boolean | string | IEmptyProps;
75
+ /**
76
+ * Состояние загрузки элементов списка
77
+ * @example false
78
+ */
79
+ isLoading?: boolean;
75
80
  /**
76
81
  * Форма для поиска элементов
77
82
  * @example {fields: ['title'], model: {attributes: ['title:string:Название']}}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@steroidsjs/core",
3
- "version": "2.2.95",
3
+ "version": "2.2.96",
4
4
  "description": "",
5
5
  "author": "Vladimir Kozhin <hello@kozhindev.com>",
6
6
  "repository": {
@@ -110,7 +110,8 @@ function Grid(props) {
110
110
  .map(function (column) { return (isString_1["default"](column) ? { attribute: column } : column); })
111
111
  .filter(function (column) { return column.visible !== false; })
112
112
  .map(function (column) { return (__assign(__assign({}, column), { label: renderLabel(column) })); }); }, [props.columns, props.controls, props.itemsIndexing, renderLabel]);
113
- return components.ui.renderView(props.view || 'list.GridView', __assign(__assign({}, props), { paginationPosition: paginationPosition,
113
+ return components.ui.renderView(props.view || 'list.GridView', __assign(__assign({}, props), { list: list,
114
+ paginationPosition: paginationPosition,
114
115
  paginationSizePosition: paginationSizePosition,
115
116
  layoutNamesPosition: layoutNamesPosition,
116
117
  renderList: renderList,