@bigbinary/neeto-image-uploader-frontend 2.3.2 → 2.3.3
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/AssetLibrary.js +2 -2
- package/dist/AssetLibrary.js.map +1 -1
- package/dist/ImageUploader.js +1 -1
- package/dist/cjs/AssetLibrary.js +2 -2
- package/dist/cjs/AssetLibrary.js.map +1 -1
- package/dist/cjs/ImageUploader.js +1 -1
- package/dist/cjs/hooks.js +2 -2
- package/dist/cjs/index.js +2 -2
- package/dist/hooks.js +2 -2
- package/dist/index.js +2 -2
- package/dist/{useImageUploader-b93adc31.js → useImageUploader-9faaa8e5.js} +60 -34
- package/dist/useImageUploader-9faaa8e5.js.map +1 -0
- package/dist/{useImageUploader-b78deb18.js → useImageUploader-a53cf673.js} +60 -34
- package/dist/useImageUploader-a53cf673.js.map +1 -0
- package/dist/{useProfileImageUpload-51ab47be.js → useProfileImageUpload-0861cfca.js} +2 -2
- package/dist/{useProfileImageUpload-51ab47be.js.map → useProfileImageUpload-0861cfca.js.map} +1 -1
- package/dist/{useProfileImageUpload-085576e5.js → useProfileImageUpload-0fd0e56b.js} +2 -2
- package/dist/{useProfileImageUpload-085576e5.js.map → useProfileImageUpload-0fd0e56b.js.map} +1 -1
- package/package.json +7 -7
- package/dist/useImageUploader-b78deb18.js.map +0 -1
- package/dist/useImageUploader-b93adc31.js.map +0 -1
package/dist/AssetLibrary.js
CHANGED
|
@@ -11,7 +11,7 @@ import Toastr from '@bigbinary/neetoui/Toastr';
|
|
|
11
11
|
import Typography from '@bigbinary/neetoui/Typography';
|
|
12
12
|
import { mergeLeft, mergeRight, identity, clamp, curry, prop, pluck, filter, includes, append, isEmpty, identical, isNil, assoc, equals, groupBy, isNotNil, keys, pick, map, not, move, head, reverse, is, modify, __, trim, toLower, concat } from 'ramda';
|
|
13
13
|
import { useTranslation, Trans } from 'react-i18next';
|
|
14
|
-
import { c as commonjsGlobal$1, g as getDefaultExportFromCjs$1, a as getAugmentedNamespace, d as directUploadsApi, _ as _asyncToGenerator, b as _regeneratorRuntime, u as useCreateBlob, e as useImageUploader, f as generateASCIIFileName } from './useImageUploader-
|
|
14
|
+
import { c as commonjsGlobal$1, g as getDefaultExportFromCjs$1, a as getAugmentedNamespace, d as directUploadsApi, _ as _asyncToGenerator, b as _regeneratorRuntime, u as useCreateBlob, e as useImageUploader, f as generateASCIIFileName } from './useImageUploader-9faaa8e5.js';
|
|
15
15
|
import classnames from 'classnames';
|
|
16
16
|
import LeftArrow from '@bigbinary/neeto-icons/LeftArrow';
|
|
17
17
|
import { useMutation, useInfiniteQuery, useQueryClient, QueryClient, QueryCache, useQuery, QueryClientProvider, keepPreviousData } from '@tanstack/react-query';
|
|
@@ -9669,10 +9669,10 @@ var InfiniteScroller = function InfiniteScroller(_ref) {
|
|
|
9669
9669
|
_useState2 = _slicedToArray$1(_useState, 2),
|
|
9670
9670
|
deleteConfirmation = _useState2[0],
|
|
9671
9671
|
setDeleteConfirmation = _useState2[1];
|
|
9672
|
+
var isMenuButtonEnabled = globalProps.assetsUploaderService !== CLOUD_FLARE;
|
|
9672
9673
|
var _useBulkDestroyAssets = useBulkDestroyAssets(ASSETS_DESTROY_URL),
|
|
9673
9674
|
isPending = _useBulkDestroyAssets.isPending,
|
|
9674
9675
|
bulkDelete = _useBulkDestroyAssets.mutate;
|
|
9675
|
-
var isMenuButtonEnabled = globalProps.assetsUploaderService !== CLOUD_FLARE;
|
|
9676
9676
|
var handleDelete = useCallback(function () {
|
|
9677
9677
|
bulkDelete(deleteConfirmation.imageIds, {
|
|
9678
9678
|
onSuccess: function onSuccess() {
|