@uppy/provider-views
Advanced tools
Comparing version
# @uppy/provider-views | ||
## 4.3.0 | ||
Released: 2025-01-06 | ||
Included in: Uppy v4.11.0 | ||
- @uppy/angular,@uppy/audio,@uppy/aws-s3,@uppy/box,@uppy/companion-client,@uppy/compressor,@uppy/core,@uppy/dashboard,@uppy/drag-drop,@uppy/drop-target,@uppy/dropbox,@uppy/facebook,@uppy/file-input,@uppy/form,@uppy/golden-retriever,@uppy/google-drive-picker,@uppy/google-drive,@uppy/google-photos-picker,@uppy/google-photos,@uppy/image-editor,@uppy/informer,@uppy/instagram,@uppy/locales,@uppy/onedrive,@uppy/progress-bar,@uppy/provider-views,@uppy/react,@uppy/remote-sources,@uppy/screen-capture,@uppy/status-bar,@uppy/thumbnail-generator,@uppy/transloadit,@uppy/tus,@uppy/unsplash,@uppy/url,@uppy/vue,@uppy/webcam,@uppy/webdav,@uppy/xhr-upload,@uppy/zoom: Remove "paths" from all tsconfig's (Merlijn Vos / #5572) | ||
## 4.2.1 | ||
@@ -4,0 +11,0 @@ |
import type { PartialTreeFolder } from '@uppy/core/lib/Uppy.js'; | ||
import { h } from 'preact'; | ||
import type { Body, Meta } from '@uppy/utils/lib/UppyFile'; | ||
import type ProviderView from './ProviderView/index.ts'; | ||
import type ProviderView from './ProviderView/index.js'; | ||
type BreadcrumbsProps<M extends Meta, B extends Body> = { | ||
@@ -6,0 +6,0 @@ openFolder: ProviderView<M, B>['openFolder']; |
@@ -5,3 +5,3 @@ import { h } from 'preact'; | ||
import type { PartialTreeFile, PartialTreeFolderNode } from '@uppy/core/lib/Uppy.js'; | ||
import ProviderView from './ProviderView/ProviderView.tsx'; | ||
import ProviderView from './ProviderView/ProviderView.jsx'; | ||
type BrowserProps<M extends Meta, B extends Body> = { | ||
@@ -8,0 +8,0 @@ displayedPartialTree: (PartialTreeFile | PartialTreeFolderNode)[]; |
@@ -5,3 +5,3 @@ import { h } from 'preact'; | ||
import type { PartialTree } from '@uppy/core/lib/Uppy.js'; | ||
import ProviderView from './ProviderView/ProviderView.tsx'; | ||
import ProviderView from './ProviderView/ProviderView.jsx'; | ||
export default function FooterActions<M extends Meta, B extends Body>({ cancelSelection, donePicking, i18n, partialTree, validateAggregateRestrictions, }: { | ||
@@ -8,0 +8,0 @@ cancelSelection: ProviderView<M, B>['cancelSelection']; |
import { h } from 'preact'; | ||
import classNames from 'classnames'; | ||
import { useMemo } from 'preact/hooks'; | ||
import getNumberOfSelectedFiles from "./utils/PartialTreeUtils/getNumberOfSelectedFiles.js"; | ||
import getNumberOfSelectedFiles from './utils/PartialTreeUtils/getNumberOfSelectedFiles.js'; | ||
export default function FooterActions(_ref) { | ||
@@ -6,0 +6,0 @@ let { |
@@ -1,5 +0,5 @@ | ||
export { default as ProviderViews, defaultPickerIcon, } from './ProviderView/index.ts'; | ||
export { default as SearchProviderViews } from './SearchProviderView/index.ts'; | ||
export { default as SearchInput } from './SearchInput.tsx'; | ||
export { default as GooglePickerView } from './GooglePicker/GooglePickerView.tsx'; | ||
export { default as ProviderViews, defaultPickerIcon, } from './ProviderView/index.js'; | ||
export { default as SearchProviderViews } from './SearchProviderView/index.js'; | ||
export { default as SearchInput } from './SearchInput.jsx'; | ||
export { default as GooglePickerView } from './GooglePicker/GooglePickerView.jsx'; | ||
//# sourceMappingURL=index.d.ts.map |
@@ -1,4 +0,4 @@ | ||
export { default as ProviderViews, defaultPickerIcon } from "./ProviderView/index.js"; | ||
export { default as SearchProviderViews } from "./SearchProviderView/index.js"; | ||
export { default as ProviderViews, defaultPickerIcon } from './ProviderView/index.js'; | ||
export { default as SearchProviderViews } from './SearchProviderView/index.js'; | ||
export { default as SearchInput } from "./SearchInput.js"; | ||
export { default as GooglePickerView } from "./GooglePicker/GooglePickerView.js"; |
import { h } from 'preact'; | ||
import type { Body, Meta } from '@uppy/utils/lib/UppyFile'; | ||
import type { I18n } from '@uppy/utils/lib/Translator'; | ||
import type { Opts } from './ProviderView.ts'; | ||
import type ProviderViews from './ProviderView.ts'; | ||
import type { Opts } from './ProviderView.js'; | ||
import type ProviderViews from './ProviderView.js'; | ||
type AuthViewProps<M extends Meta, B extends Body> = { | ||
@@ -7,0 +7,0 @@ loading: boolean | string; |
@@ -5,3 +5,3 @@ import { h } from 'preact'; | ||
import type { PartialTreeFolder } from '@uppy/core/lib/Uppy.js'; | ||
import type ProviderView from './ProviderView.ts'; | ||
import type ProviderView from './ProviderView.js'; | ||
type HeaderProps<M extends Meta, B extends Body> = { | ||
@@ -8,0 +8,0 @@ showBreadcrumbs: boolean; |
@@ -1,2 +0,2 @@ | ||
export { default, defaultPickerIcon } from './ProviderView.tsx'; | ||
export { default, defaultPickerIcon } from './ProviderView.jsx'; | ||
//# sourceMappingURL=index.d.ts.map |
@@ -14,13 +14,13 @@ function _classPrivateFieldLooseBase(e, t) { if (!{}.hasOwnProperty.call(e, t)) throw new TypeError("attempted to use private field on non-instance"); return e; } | ||
const packageJson = { | ||
"version": "4.2.1" | ||
"version": "4.3.0" | ||
}; | ||
import PartialTreeUtils from "../utils/PartialTreeUtils/index.js"; | ||
import shouldHandleScroll from "../utils/shouldHandleScroll.js"; | ||
import handleError from "../utils/handleError.js"; | ||
import getClickedRange from "../utils/getClickedRange.js"; | ||
import PartialTreeUtils from '../utils/PartialTreeUtils/index.js'; | ||
import shouldHandleScroll from '../utils/shouldHandleScroll.js'; | ||
import handleError from '../utils/handleError.js'; | ||
import getClickedRange from '../utils/getClickedRange.js'; | ||
import SearchInput from "../SearchInput.js"; | ||
import FooterActions from "../FooterActions.js"; | ||
import addFiles from "../utils/addFiles.js"; | ||
import getCheckedFilesWithPaths from "../utils/PartialTreeUtils/getCheckedFilesWithPaths.js"; | ||
import getBreadcrumbs from "../utils/PartialTreeUtils/getBreadcrumbs.js"; | ||
import addFiles from '../utils/addFiles.js'; | ||
import getCheckedFilesWithPaths from '../utils/PartialTreeUtils/getCheckedFilesWithPaths.js'; | ||
import getBreadcrumbs from '../utils/PartialTreeUtils/getBreadcrumbs.js'; | ||
export function defaultPickerIcon() { | ||
@@ -27,0 +27,0 @@ return h("svg", { |
@@ -1,2 +0,2 @@ | ||
export { default } from './SearchProviderView.tsx'; | ||
export { default } from './SearchProviderView.jsx'; | ||
//# sourceMappingURL=index.d.ts.map |
@@ -10,11 +10,11 @@ import { h } from 'preact'; | ||
const packageJson = { | ||
"version": "4.2.1" | ||
"version": "4.3.0" | ||
}; | ||
import PartialTreeUtils from "../utils/PartialTreeUtils/index.js"; | ||
import shouldHandleScroll from "../utils/shouldHandleScroll.js"; | ||
import handleError from "../utils/handleError.js"; | ||
import getClickedRange from "../utils/getClickedRange.js"; | ||
import PartialTreeUtils from '../utils/PartialTreeUtils/index.js'; | ||
import shouldHandleScroll from '../utils/shouldHandleScroll.js'; | ||
import handleError from '../utils/handleError.js'; | ||
import getClickedRange from '../utils/getClickedRange.js'; | ||
import FooterActions from "../FooterActions.js"; | ||
import addFiles from "../utils/addFiles.js"; | ||
import getCheckedFilesWithPaths from "../utils/PartialTreeUtils/getCheckedFilesWithPaths.js"; | ||
import addFiles from '../utils/addFiles.js'; | ||
import getCheckedFilesWithPaths from '../utils/PartialTreeUtils/getCheckedFilesWithPaths.js'; | ||
const defaultState = { | ||
@@ -21,0 +21,0 @@ loading: false, |
import { getSafeFileId } from '@uppy/utils/lib/generateFileID'; | ||
import getTagFile from "./getTagFile.js"; | ||
import getTagFile from './getTagFile.js'; | ||
const addFiles = (companionFiles, plugin, provider) => { | ||
@@ -4,0 +4,0 @@ const tagFiles = companionFiles.map(f => getTagFile(f, plugin, provider)); |
@@ -7,3 +7,3 @@ /* eslint-disable no-param-reassign */ | ||
import PQueue from 'p-queue'; | ||
import shallowClone from "./shallowClone.js"; | ||
import shallowClone from './shallowClone.js'; | ||
const recursivelyFetch = async (queue, poorTree, poorFolder, apiList, validateSingleFile) => { | ||
@@ -10,0 +10,0 @@ let items = []; |
/* eslint-disable no-param-reassign */ | ||
import shallowClone from "./shallowClone.js"; | ||
import shallowClone from './shallowClone.js'; | ||
@@ -5,0 +5,0 @@ /* |
declare const _default: { | ||
afterOpenFolder: (oldPartialTree: import("@uppy/core/lib/Uppy.ts").PartialTree, discoveredItems: import("@uppy/utils/lib/CompanionFile.ts").CompanionFile[], clickedFolder: import("@uppy/core/lib/Uppy.ts").PartialTreeFolder, currentPagePath: string | null, validateSingleFile: (file: import("@uppy/utils/lib/CompanionFile.ts").CompanionFile) => string | null) => import("@uppy/core/lib/Uppy.ts").PartialTree; | ||
afterScrollFolder: (oldPartialTree: import("@uppy/core/lib/Uppy.ts").PartialTree, currentFolderId: import("@uppy/core/lib/Uppy.ts").PartialTreeId, items: import("@uppy/utils/lib/CompanionFile.ts").CompanionFile[], nextPagePath: string | null, validateSingleFile: (file: import("@uppy/utils/lib/CompanionFile.ts").CompanionFile) => string | null) => import("@uppy/core/lib/Uppy.ts").PartialTree; | ||
afterToggleCheckbox: (oldTree: import("@uppy/core/lib/Uppy.ts").PartialTree, clickedRange: string[]) => import("@uppy/core/lib/Uppy.ts").PartialTree; | ||
afterFill: (partialTree: import("@uppy/core/lib/Uppy.ts").PartialTree, apiList: import("./afterFill.ts").ApiList, validateSingleFile: (file: import("@uppy/utils/lib/CompanionFile.ts").CompanionFile) => string | null, reportProgress: (n: number) => void) => Promise<import("@uppy/core/lib/Uppy.ts").PartialTree>; | ||
afterOpenFolder: (oldPartialTree: import("@uppy/core/lib/Uppy.js").PartialTree, discoveredItems: import("@uppy/utils/lib/CompanionFile").CompanionFile[], clickedFolder: import("@uppy/core/lib/Uppy.js").PartialTreeFolder, currentPagePath: string | null, validateSingleFile: (file: import("@uppy/utils/lib/CompanionFile").CompanionFile) => string | null) => import("@uppy/core/lib/Uppy.js").PartialTree; | ||
afterScrollFolder: (oldPartialTree: import("@uppy/core/lib/Uppy.js").PartialTree, currentFolderId: import("@uppy/core/lib/Uppy.js").PartialTreeId, items: import("@uppy/utils/lib/CompanionFile").CompanionFile[], nextPagePath: string | null, validateSingleFile: (file: import("@uppy/utils/lib/CompanionFile").CompanionFile) => string | null) => import("@uppy/core/lib/Uppy.js").PartialTree; | ||
afterToggleCheckbox: (oldTree: import("@uppy/core/lib/Uppy.js").PartialTree, clickedRange: string[]) => import("@uppy/core/lib/Uppy.js").PartialTree; | ||
afterFill: (partialTree: import("@uppy/core/lib/Uppy.js").PartialTree, apiList: import("./afterFill.js").ApiList, validateSingleFile: (file: import("@uppy/utils/lib/CompanionFile").CompanionFile) => string | null, reportProgress: (n: number) => void) => Promise<import("@uppy/core/lib/Uppy.js").PartialTree>; | ||
}; | ||
export default _default; | ||
//# sourceMappingURL=index.d.ts.map |
@@ -1,5 +0,5 @@ | ||
import afterOpenFolder from "./afterOpenFolder.js"; | ||
import afterScrollFolder from "./afterScrollFolder.js"; | ||
import afterToggleCheckbox from "./afterToggleCheckbox.js"; | ||
import afterFill from "./afterFill.js"; | ||
import afterOpenFolder from './afterOpenFolder.js'; | ||
import afterScrollFolder from './afterScrollFolder.js'; | ||
import afterToggleCheckbox from './afterToggleCheckbox.js'; | ||
import afterFill from './afterFill.js'; | ||
export default { | ||
@@ -6,0 +6,0 @@ afterOpenFolder, |
{ | ||
"name": "@uppy/provider-views", | ||
"description": "View library for Uppy remote provider plugins.", | ||
"version": "4.2.1", | ||
"version": "4.3.0", | ||
"license": "MIT", | ||
@@ -22,3 +22,3 @@ "main": "lib/index.js", | ||
"dependencies": { | ||
"@uppy/utils": "^6.0.6", | ||
"@uppy/utils": "^6.1.0", | ||
"classnames": "^2.2.6", | ||
@@ -36,4 +36,4 @@ "nanoid": "^5.0.9", | ||
"peerDependencies": { | ||
"@uppy/core": "^4.3.2" | ||
"@uppy/core": "^4.4.0" | ||
} | ||
} |
export { | ||
default as ProviderViews, | ||
defaultPickerIcon, | ||
} from './ProviderView/index.ts' | ||
} from './ProviderView/index.js' | ||
export { default as SearchProviderViews } from './SearchProviderView/index.ts' | ||
export { default as SearchProviderViews } from './SearchProviderView/index.js' | ||
export { default as SearchInput } from './SearchInput.tsx' | ||
export { default as SearchInput } from './SearchInput.jsx' | ||
export { default as GooglePickerView } from './GooglePicker/GooglePickerView.tsx' | ||
export { default as GooglePickerView } from './GooglePicker/GooglePickerView.jsx' |
@@ -1,1 +0,1 @@ | ||
export { default, defaultPickerIcon } from './ProviderView.tsx' | ||
export { default, defaultPickerIcon } from './ProviderView.jsx' |
@@ -1,1 +0,1 @@ | ||
export { default } from './SearchProviderView.tsx' | ||
export { default } from './SearchProviderView.jsx' |
@@ -9,3 +9,3 @@ import type { UnknownPlugin } from '@uppy/core' | ||
import { getSafeFileId } from '@uppy/utils/lib/generateFileID' | ||
import getTagFile from './getTagFile.ts' | ||
import getTagFile from './getTagFile.js' | ||
@@ -12,0 +12,0 @@ const addFiles = <M extends Meta, B extends Body>( |
@@ -13,3 +13,3 @@ /* eslint-disable no-param-reassign */ | ||
import PQueue from 'p-queue' | ||
import shallowClone from './shallowClone.ts' | ||
import shallowClone from './shallowClone.js' | ||
@@ -16,0 +16,0 @@ export interface ApiList { |
@@ -9,3 +9,3 @@ /* eslint-disable no-param-reassign */ | ||
} from '@uppy/core/lib/Uppy.js' | ||
import shallowClone from './shallowClone.ts' | ||
import shallowClone from './shallowClone.js' | ||
@@ -12,0 +12,0 @@ /* |
@@ -11,9 +11,9 @@ /* eslint-disable no-underscore-dangle */ | ||
} from '@uppy/core/lib/Uppy.js' | ||
import afterToggleCheckbox from './afterToggleCheckbox.ts' | ||
import afterOpenFolder from './afterOpenFolder.ts' | ||
import afterScrollFolder from './afterScrollFolder.ts' | ||
import afterFill from './afterFill.ts' | ||
import getCheckedFilesWithPaths from './getCheckedFilesWithPaths.ts' | ||
import getNumberOfSelectedFiles from './getNumberOfSelectedFiles.ts' | ||
import getBreadcrumbs from './getBreadcrumbs.ts' | ||
import afterToggleCheckbox from './afterToggleCheckbox.js' | ||
import afterOpenFolder from './afterOpenFolder.js' | ||
import afterScrollFolder from './afterScrollFolder.js' | ||
import afterFill from './afterFill.js' | ||
import getCheckedFilesWithPaths from './getCheckedFilesWithPaths.js' | ||
import getNumberOfSelectedFiles from './getNumberOfSelectedFiles.js' | ||
import getBreadcrumbs from './getBreadcrumbs.js' | ||
@@ -20,0 +20,0 @@ const _root = (id: string, options: any = {}): PartialTreeFolderRoot => ({ |
@@ -1,5 +0,5 @@ | ||
import afterOpenFolder from './afterOpenFolder.ts' | ||
import afterScrollFolder from './afterScrollFolder.ts' | ||
import afterToggleCheckbox from './afterToggleCheckbox.ts' | ||
import afterFill from './afterFill.ts' | ||
import afterOpenFolder from './afterOpenFolder.js' | ||
import afterScrollFolder from './afterScrollFolder.js' | ||
import afterToggleCheckbox from './afterToggleCheckbox.js' | ||
import afterFill from './afterFill.js' | ||
@@ -6,0 +6,0 @@ export default { |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
474624
0.16%Updated