@filerobot/common
Advanced tools
Comparing version 3.103.7 to 3.103.8
@@ -33,2 +33,3 @@ function _toConsumableArray(r) { return _arrayWithoutHoles(r) || _iterableToArray(r) || _unsupportedIterableToArray(r) || _nonIterableSpread(); } | ||
originalFile = _ref.originalFile, | ||
copyCdnLink = _ref.copyCdnLink, | ||
locateFile = _ref.locateFile, | ||
@@ -99,3 +100,4 @@ deleteModal = _ref.deleteModal, | ||
triggerDownloadConsentModal: triggerDownloadConsentModal, | ||
fileWindowUpdated: fileWindowUpdated | ||
fileWindowUpdated: fileWindowUpdated, | ||
copyCdnLink: copyCdnLink | ||
}) | ||
@@ -102,0 +104,0 @@ }), showAddButton && /*#__PURE__*/_jsx(Styled.AddBtnWrapper, { |
@@ -32,2 +32,3 @@ function _toConsumableArray(r) { return _arrayWithoutHoles(r) || _iterableToArray(r) || _unsupportedIterableToArray(r) || _nonIterableSpread(); } | ||
downloadOneFile = _ref.downloadOneFile, | ||
copyCdnLink = _ref.copyCdnLink, | ||
locateFile = _ref.locateFile, | ||
@@ -125,3 +126,5 @@ deleteModal = _ref.deleteModal, | ||
onClick({ | ||
attachedFile: attachedFile, | ||
src: nextSrc, | ||
copyCdnLink: copyCdnLink, | ||
info: info, | ||
@@ -128,0 +131,0 @@ file: file, |
import openLink from '@filerobot/utils/lib/openLink'; | ||
import copyText from '@filerobot/utils/lib/copyText'; | ||
import { OpenLink, Hub, Link, Download, Remove } from '@scaleflex/icons'; | ||
@@ -24,10 +23,5 @@ export var ATTACHMENT_ACTIONS = [{ | ||
onClick: function onClick(_ref3) { | ||
var src = _ref3.src, | ||
i18n = _ref3.i18n, | ||
info = _ref3.info; | ||
copyText({ | ||
text: src, | ||
i18n: i18n, | ||
info: info | ||
}); | ||
var copyCdnLink = _ref3.copyCdnLink, | ||
attachedFile = _ref3.attachedFile; | ||
copyCdnLink(attachedFile); | ||
}, | ||
@@ -34,0 +28,0 @@ hideOption: function hideOption() {} |
@@ -20,2 +20,3 @@ import { ImagePreview } from '@filerobot/common'; | ||
fetchFileByUuid = _ref.fetchFileByUuid, | ||
copyCdnLink = _ref.copyCdnLink, | ||
locateFile = _ref.locateFile, | ||
@@ -86,3 +87,4 @@ deleteModal = _ref.deleteModal, | ||
fileWindowUpdated: fileWindowUpdated, | ||
fetchFileByUuid: fetchFileByUuid | ||
fetchFileByUuid: fetchFileByUuid, | ||
copyCdnLink: copyCdnLink | ||
})] | ||
@@ -89,0 +91,0 @@ }, file.uuid); |
{ | ||
"name": "@filerobot/common", | ||
"version": "3.103.7", | ||
"version": "3.103.8", | ||
"description": "The common components shared between Filerobot Media Asset Widget modules", | ||
@@ -17,4 +17,4 @@ "homepage": "", | ||
"dependencies": { | ||
"@filerobot/icons": "^3.103.7", | ||
"@filerobot/utils": "^3.103.7", | ||
"@filerobot/icons": "^3.103.8", | ||
"@filerobot/utils": "^3.103.8", | ||
"@scaleflex/icons": "2.11.5", | ||
@@ -32,3 +32,3 @@ "@scaleflex/ui": "2.11.5", | ||
}, | ||
"gitHead": "f5e5fe09224864d3a39b7ea7cbc8b40c22e4c853" | ||
"gitHead": "dea059b5755c318c5a47bf950b3708ccbd1e2c19" | ||
} |
Sorry, the diff of this file is too big to display
709301
8318
Updated@filerobot/icons@^3.103.8
Updated@filerobot/utils@^3.103.8