seeder-resources-view 1.0.11 → 1.0.13

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
@@ -17320,7 +17320,7 @@ const MediaGridItem = /*#__PURE__*/react.memo(_ref => {
17320
17320
  trigger: ['contextMenu'],
17321
17321
  disabled: !onContextMenu,
17322
17322
  children: /*#__PURE__*/jsxRuntime.jsxs(antd.List.Item, {
17323
- className: "media-grid-item ".concat(checked ? 'media-grid-item-selected' : '', " ").concat(showCheckbox ? 'media-grid-item-bordered' : ''),
17323
+ className: "".concat(showCheckbox ? 'media-grid-item' : ''),
17324
17324
  title: item.name,
17325
17325
  onClick: handleItemClick,
17326
17326
  children: [showCheckbox && /*#__PURE__*/jsxRuntime.jsx("div", {
@@ -17335,7 +17335,7 @@ const MediaGridItem = /*#__PURE__*/react.memo(_ref => {
17335
17335
  children: /*#__PURE__*/jsxRuntime.jsx(antd.Image, {
17336
17336
  width: "100%",
17337
17337
  height: "100%",
17338
- src: getFullUrl(item.head_thumbnail),
17338
+ src: getFullUrl(item.head_thumbnail || item.thumbnail),
17339
17339
  preview: false
17340
17340
  })
17341
17341
  }), /*#__PURE__*/jsxRuntime.jsx("div", {
@@ -18476,9 +18476,15 @@ const ResourcesView = _ref => {
18476
18476
  loading: loading,
18477
18477
  onContextMenu: mergedFeatures.delete || mergedFeatures.download || mergedFeatures.copy ? onContextMenu : null,
18478
18478
  selectedKeys: selectedItems,
18479
- onSelectChange: mergedFeatures.batchOperations ? handleSelectChange : null,
18480
18479
  showCheckbox: mergedFeatures.batchOperations,
18481
- onClick: () => {},
18480
+ onSelectChange: mergedFeatures.batchOperations ? handleSelectChange : null,
18481
+ gridConfig: mergedFeatures.batchOperations ? {
18482
+ gutter: 0,
18483
+ column: 6
18484
+ } : {
18485
+ gutter: 24,
18486
+ column: 6
18487
+ },
18482
18488
  features: mergedFeatures,
18483
18489
  getFullUrl: getFullUrl
18484
18490
  })]