chore: remove source map references from WebDAV component files
This commit is contained in:
parent
92009c1a63
commit
50f4167a8b
|
|
@ -54,4 +54,3 @@ export type { DownloadResult, NavigationEvent, PermissionCode, Permissions, Prog
|
||||||
export type { WebDAVUIOptions } from './ui/component.js';
|
export type { WebDAVUIOptions } from './ui/component.js';
|
||||||
export type { WopiApp } from './operations/wopi.js';
|
export type { WopiApp } from './operations/wopi.js';
|
||||||
export type { TextEditorDeps } from './ui/editor.js';
|
export type { TextEditorDeps } from './ui/editor.js';
|
||||||
//# sourceMappingURL=index.d.ts.map
|
|
||||||
1
src/app/vendor/webdav-component/esm/index.js
vendored
1
src/app/vendor/webdav-component/esm/index.js
vendored
|
|
@ -50,4 +50,3 @@ export { TextEditor } from './ui/editor.js';
|
||||||
export { buildPageTemplate, buildDialogTemplate, buildParentRow, buildDirRow, buildFileRow, buildPasteWidget, renderEntry, } from './ui/templates.js';
|
export { buildPageTemplate, buildDialogTemplate, buildParentRow, buildDirRow, buildFileRow, buildPasteWidget, renderEntry, } from './ui/templates.js';
|
||||||
export { normalizeURL, joinURL, dirname, basename, parentCollectionURL, stripHostPrefix, } from './utils/url.js';
|
export { normalizeURL, joinURL, dirname, basename, parentCollectionURL, stripHostPrefix, } from './utils/url.js';
|
||||||
export { template, htmlEscape, formatBytes, formatDate, makeTranslate } from './utils/format.js';
|
export { template, htmlEscape, formatBytes, formatDate, makeTranslate } from './utils/format.js';
|
||||||
//# sourceMappingURL=index.js.map
|
|
||||||
|
|
@ -113,4 +113,3 @@ export declare class WebDAVManager extends Emitter {
|
||||||
}
|
}
|
||||||
/** Re-export commonly used types so consumers can `import { WebDAVManager, WebDAVClient } from 'webdav-component'`. */
|
/** Re-export commonly used types so consumers can `import { WebDAVManager, WebDAVClient } from 'webdav-component'`. */
|
||||||
export type { WebDAVClientOptions, WebDAVEntry, WebDAVListing, WebDAVManagerOptions } from '../types.js';
|
export type { WebDAVClientOptions, WebDAVEntry, WebDAVListing, WebDAVManagerOptions } from '../types.js';
|
||||||
//# sourceMappingURL=manager.d.ts.map
|
|
||||||
|
|
@ -301,4 +301,3 @@ export class WebDAVManager extends Emitter {
|
||||||
return this.on(event, fn);
|
return this.on(event, fn);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
//# sourceMappingURL=manager.js.map
|
|
||||||
|
|
@ -24,4 +24,3 @@ export declare class WopiRegistry {
|
||||||
/** True if the registry knows about any file types. */
|
/** True if the registry knows about any file types. */
|
||||||
get hasApps(): boolean;
|
get hasApps(): boolean;
|
||||||
}
|
}
|
||||||
//# sourceMappingURL=wopi.d.ts.map
|
|
||||||
|
|
@ -75,4 +75,3 @@ export class WopiRegistry {
|
||||||
return Object.keys(this.byExt).length > 0 || Object.keys(this.byMime).length > 0;
|
return Object.keys(this.byExt).length > 0 || Object.keys(this.byMime).length > 0;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
//# sourceMappingURL=wopi.js.map
|
|
||||||
|
|
@ -61,4 +61,3 @@ export declare class WebDAVClient {
|
||||||
/** HEAD request — returns true if the resource exists. */
|
/** HEAD request — returns true if the resource exists. */
|
||||||
exists(url: string): Promise<boolean>;
|
exists(url: string): Promise<boolean>;
|
||||||
}
|
}
|
||||||
//# sourceMappingURL=client.d.ts.map
|
|
||||||
|
|
@ -135,4 +135,3 @@ export class WebDAVClient {
|
||||||
return r.status === 200;
|
return r.status === 200;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
//# sourceMappingURL=client.js.map
|
|
||||||
|
|
@ -16,4 +16,3 @@ export interface ParseContext {
|
||||||
* collection).
|
* collection).
|
||||||
*/
|
*/
|
||||||
export declare function parsePropfindListing(xml: Document, ctx: ParseContext): WebDAVListing;
|
export declare function parsePropfindListing(xml: Document, ctx: ParseContext): WebDAVListing;
|
||||||
//# sourceMappingURL=parse.d.ts.map
|
|
||||||
|
|
@ -73,4 +73,3 @@ export function parsePropfindListing(xml, ctx) {
|
||||||
});
|
});
|
||||||
return files;
|
return files;
|
||||||
}
|
}
|
||||||
//# sourceMappingURL=parse.js.map
|
|
||||||
|
|
@ -15,4 +15,3 @@ export declare function hasPermission(perms: Permissions | null, code: Permissio
|
||||||
* server doesn't return `oc:permissions` at all.
|
* server doesn't return `oc:permissions` at all.
|
||||||
*/
|
*/
|
||||||
export declare function hasPermissionOrDefault(perms: Permissions | null, code: PermissionCode, fallback: boolean): boolean;
|
export declare function hasPermissionOrDefault(perms: Permissions | null, code: PermissionCode, fallback: boolean): boolean;
|
||||||
//# sourceMappingURL=permissions.d.ts.map
|
|
||||||
|
|
@ -20,4 +20,3 @@ export function hasPermissionOrDefault(perms, code, fallback) {
|
||||||
}
|
}
|
||||||
return perms.indexOf(code) !== -1;
|
return perms.indexOf(code) !== -1;
|
||||||
}
|
}
|
||||||
//# sourceMappingURL=permissions.js.map
|
|
||||||
|
|
@ -100,4 +100,3 @@ export interface DownloadResult {
|
||||||
/** The underlying blob. */
|
/** The underlying blob. */
|
||||||
blob: Blob;
|
blob: Blob;
|
||||||
}
|
}
|
||||||
//# sourceMappingURL=types.d.ts.map
|
|
||||||
1
src/app/vendor/webdav-component/esm/types.js
vendored
1
src/app/vendor/webdav-component/esm/types.js
vendored
|
|
@ -12,4 +12,3 @@
|
||||||
* Default UI: construct a `WebDAVUI` which composes a manager.
|
* Default UI: construct a `WebDAVUI` which composes a manager.
|
||||||
*/
|
*/
|
||||||
export {};
|
export {};
|
||||||
//# sourceMappingURL=types.js.map
|
|
||||||
|
|
@ -100,4 +100,3 @@ export declare class WebDAVUI {
|
||||||
private hide;
|
private hide;
|
||||||
private toggle;
|
private toggle;
|
||||||
}
|
}
|
||||||
//# sourceMappingURL=component.d.ts.map
|
|
||||||
|
|
@ -758,4 +758,3 @@ function escapeHtml(s) {
|
||||||
.replace(/"/g, '"')
|
.replace(/"/g, '"')
|
||||||
.replace(/'/g, ''');
|
.replace(/'/g, ''');
|
||||||
}
|
}
|
||||||
//# sourceMappingURL=component.js.map
|
|
||||||
|
|
@ -39,4 +39,3 @@ export declare class TextEditor {
|
||||||
dispose(): void;
|
dispose(): void;
|
||||||
private handleClose;
|
private handleClose;
|
||||||
}
|
}
|
||||||
//# sourceMappingURL=editor.d.ts.map
|
|
||||||
|
|
@ -114,4 +114,3 @@ export class TextEditor {
|
||||||
textEl.value = this.originalContent;
|
textEl.value = this.originalContent;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
//# sourceMappingURL=editor.js.map
|
|
||||||
|
|
@ -20,4 +20,3 @@ export declare function renderEntry(entry: WebDAVEntry, ctx: TemplateContext, is
|
||||||
export declare function buildPasteWidget(t: (k: string) => string, count: number, action: 'copy' | 'move'): string;
|
export declare function buildPasteWidget(t: (k: string) => string, count: number, action: 'copy' | 'move'): string;
|
||||||
/** Re-export the sort-order type so consumers don't need to import from types.ts. */
|
/** Re-export the sort-order type so consumers don't need to import from types.ts. */
|
||||||
export type { SortOrder };
|
export type { SortOrder };
|
||||||
//# sourceMappingURL=templates.d.ts.map
|
|
||||||
|
|
@ -128,4 +128,3 @@ export function buildPasteWidget(t, count, action) {
|
||||||
label: action === 'copy' ? t('Copy here') : t('Move here'),
|
label: action === 'copy' ? t('Copy here') : t('Move here'),
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
//# sourceMappingURL=templates.js.map
|
|
||||||
|
|
@ -15,4 +15,3 @@ export interface SendOptions {
|
||||||
* Returns the raw `Response` so callers can inspect status / stream body.
|
* Returns the raw `Response` so callers can inspect status / stream body.
|
||||||
*/
|
*/
|
||||||
export declare function sendRequest(fetchImpl: typeof fetch, options: SendOptions, defaultHeaders?: HeaderMap): Promise<Response>;
|
export declare function sendRequest(fetchImpl: typeof fetch, options: SendOptions, defaultHeaders?: HeaderMap): Promise<Response>;
|
||||||
//# sourceMappingURL=fetch.d.ts.map
|
|
||||||
|
|
@ -14,4 +14,3 @@ export function sendRequest(fetchImpl, options, defaultHeaders = {}) {
|
||||||
signal: options.signal,
|
signal: options.signal,
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
//# sourceMappingURL=fetch.js.map
|
|
||||||
|
|
@ -11,4 +11,3 @@ export declare function formatBytes(bytes: number, unit?: string): string;
|
||||||
export declare function formatDate(date: Date | null): string;
|
export declare function formatDate(date: Date | null): string;
|
||||||
/** A trivial i18n lookup. Missing keys fall back to the key. */
|
/** A trivial i18n lookup. Missing keys fall back to the key. */
|
||||||
export declare function makeTranslate(strings: Record<string, string> | undefined): (key: string) => string;
|
export declare function makeTranslate(strings: Record<string, string> | undefined): (key: string) => string;
|
||||||
//# sourceMappingURL=format.d.ts.map
|
|
||||||
|
|
@ -55,4 +55,3 @@ export function makeTranslate(strings) {
|
||||||
const dict = strings || {};
|
const dict = strings || {};
|
||||||
return (key) => (key in dict ? dict[key] : key);
|
return (key) => (key in dict ? dict[key] : key);
|
||||||
}
|
}
|
||||||
//# sourceMappingURL=format.js.map
|
|
||||||
|
|
@ -32,4 +32,3 @@ export declare function parentCollectionURL(uri: string): string;
|
||||||
* include as a prefix on each entry.
|
* include as a prefix on each entry.
|
||||||
*/
|
*/
|
||||||
export declare function stripHostPrefix(name: string, host: string | null): string;
|
export declare function stripHostPrefix(name: string, host: string | null): string;
|
||||||
//# sourceMappingURL=url.d.ts.map
|
|
||||||
|
|
@ -60,4 +60,3 @@ export function stripHostPrefix(name, host) {
|
||||||
}
|
}
|
||||||
return name;
|
return name;
|
||||||
}
|
}
|
||||||
//# sourceMappingURL=url.js.map
|
|
||||||
Loading…
Reference in New Issue
Block a user