@myun/gimi-chat 0.9.13 → 0.9.15

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.
@@ -40,7 +40,8 @@ var WordCard = function WordCard(_ref) {
40
40
  list: renderData,
41
41
  onDownloadCallback: onDownloadCallback,
42
42
  model: model,
43
- showAll: true
43
+ showAll: true,
44
+ disablePreview: true
44
45
  });
45
46
  }
46
47
  var _transforata = transforata(skillDetail, t),
@@ -16,5 +16,6 @@ export declare const MultipleFileCard: React.FC<{
16
16
  onDownloadCallback?: () => void;
17
17
  model: 'fullscreen' | 'sidebar';
18
18
  showAll?: boolean;
19
+ disablePreview?: boolean;
19
20
  }>;
20
21
  export default MultipleFileCard;
@@ -81,7 +81,9 @@ export var MultipleFileCard = function MultipleFileCard(_ref2) {
81
81
  onDownloadCallback = _ref2.onDownloadCallback,
82
82
  model = _ref2.model,
83
83
  _ref2$showAll = _ref2.showAll,
84
- showAll = _ref2$showAll === void 0 ? false : _ref2$showAll;
84
+ showAll = _ref2$showAll === void 0 ? false : _ref2$showAll,
85
+ _ref2$disablePreview = _ref2.disablePreview,
86
+ disablePreview = _ref2$disablePreview === void 0 ? false : _ref2$disablePreview;
85
87
  var dispatch = useAppDispatch();
86
88
  var _useTranslation2 = useTranslation(),
87
89
  t = _useTranslation2.t;
@@ -111,7 +113,8 @@ export var MultipleFileCard = function MultipleFileCard(_ref2) {
111
113
  key: index,
112
114
  downloadText: t('file.download'),
113
115
  onDownloadCallback: onDownloadCallback,
114
- model: model
116
+ model: model,
117
+ disablePreview: disablePreview
115
118
  });
116
119
  }), hasMore && /*#__PURE__*/React.createElement("div", {
117
120
  className: styles.all,