@useupup/angular 3.3.0
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/LICENSE +21 -0
- package/README.md +71 -0
- package/dist/README.md +71 -0
- package/dist/assets/logos.d.ts +4 -0
- package/dist/components/audio-uploader.component.d.ts +48 -0
- package/dist/components/audio-waveform.component.d.ts +24 -0
- package/dist/components/box-uploader.component.d.ts +22 -0
- package/dist/components/camera-uploader.component.d.ts +44 -0
- package/dist/components/client-box-uploader.component.d.ts +23 -0
- package/dist/components/client-dropbox-uploader.component.d.ts +23 -0
- package/dist/components/client-google-drive-uploader.component.d.ts +28 -0
- package/dist/components/client-one-drive-uploader.component.d.ts +23 -0
- package/dist/components/default-add-more-icon.component.d.ts +12 -0
- package/dist/components/dropbox-uploader.component.d.ts +22 -0
- package/dist/components/file-hero.component.d.ts +36 -0
- package/dist/components/file-icon.component.d.ts +12 -0
- package/dist/components/file-item.component.d.ts +28 -0
- package/dist/components/file-list.component.d.ts +71 -0
- package/dist/components/file-preview-portal.component.d.ts +52 -0
- package/dist/components/file-preview-thumbnail.component.d.ts +40 -0
- package/dist/components/file-preview.component.d.ts +55 -0
- package/dist/components/file-row.component.d.ts +43 -0
- package/dist/components/google-drive-uploader.component.d.ts +22 -0
- package/dist/components/icon.component.d.ts +17 -0
- package/dist/components/icons/audio-icon.component.d.ts +6 -0
- package/dist/components/icons/box-icon.component.d.ts +6 -0
- package/dist/components/icons/camera-icon.component.d.ts +6 -0
- package/dist/components/icons/chevron-left-icon.component.d.ts +6 -0
- package/dist/components/icons/default-loader-icon.component.d.ts +5 -0
- package/dist/components/icons/dropbox-icon.component.d.ts +6 -0
- package/dist/components/icons/empty-icon.component.d.ts +6 -0
- package/dist/components/icons/file-icon-svg.component.d.ts +8 -0
- package/dist/components/icons/folder-filled-icon.component.d.ts +6 -0
- package/dist/components/icons/google-drive-icon.component.d.ts +6 -0
- package/dist/components/icons/index.d.ts +25 -0
- package/dist/components/icons/layout-grid-icon.component.d.ts +6 -0
- package/dist/components/icons/layout-list-icon.component.d.ts +6 -0
- package/dist/components/icons/link-icon.component.d.ts +6 -0
- package/dist/components/icons/loader-icon.component.d.ts +6 -0
- package/dist/components/icons/my-device-icon.component.d.ts +6 -0
- package/dist/components/icons/one-drive-icon.component.d.ts +6 -0
- package/dist/components/icons/player-pause-filled-icon.component.d.ts +6 -0
- package/dist/components/icons/player-play-filled-icon.component.d.ts +6 -0
- package/dist/components/icons/screen-capture-icon.component.d.ts +6 -0
- package/dist/components/icons/search-icon.component.d.ts +6 -0
- package/dist/components/icons/trash-icon.component.d.ts +14 -0
- package/dist/components/icons/upload-icon.component.d.ts +7 -0
- package/dist/components/icons/user-icon.component.d.ts +6 -0
- package/dist/components/icons/x-icon.component.d.ts +6 -0
- package/dist/components/image-editor-stub.component.d.ts +13 -0
- package/dist/components/one-drive-uploader.component.d.ts +22 -0
- package/dist/components/progress-bar.component.d.ts +30 -0
- package/dist/components/screen-capture-uploader.component.d.ts +47 -0
- package/dist/components/server-mode-drive-uploader.component.d.ts +49 -0
- package/dist/components/shared/drive-auth-fallback.component.d.ts +27 -0
- package/dist/components/shared/drive-browser-header.component.d.ts +64 -0
- package/dist/components/shared/drive-browser-icon.component.d.ts +16 -0
- package/dist/components/shared/drive-browser-item.component.d.ts +21 -0
- package/dist/components/shared/drive-browser.component.d.ts +52 -0
- package/dist/components/shared/file-success-check.component.d.ts +21 -0
- package/dist/components/source-selector.component.d.ts +35 -0
- package/dist/components/source-view-container.component.d.ts +29 -0
- package/dist/components/source-view.component.d.ts +46 -0
- package/dist/components/uploader-header.component.d.ts +36 -0
- package/dist/components/uploader-panel.component.d.ts +59 -0
- package/dist/components/url-uploader.component.d.ts +30 -0
- package/dist/context/source-view-header-extra.service.d.ts +21 -0
- package/dist/fesm2022/useupup-angular.mjs +9561 -0
- package/dist/fesm2022/useupup-angular.mjs.map +1 -0
- package/dist/index.d.ts +5 -0
- package/dist/lib/to-signal-store.d.ts +20 -0
- package/dist/lib/use-sse-processing.d.ts +19 -0
- package/dist/lib/use-tiles-per-row.d.ts +18 -0
- package/dist/lib/use-upup-upload.d.ts +40 -0
- package/dist/lib/view-mode.d.ts +23 -0
- package/dist/public-api.d.ts +9 -0
- package/dist/services/box.service.d.ts +40 -0
- package/dist/services/camera-uploader.service.d.ts +32 -0
- package/dist/services/dropbox.service.d.ts +40 -0
- package/dist/services/fetch-file-by-url.service.d.ts +17 -0
- package/dist/services/google-drive.service.d.ts +47 -0
- package/dist/services/one-drive.service.d.ts +39 -0
- package/dist/services/server-mode-drive.service.d.ts +30 -0
- package/dist/shared/types.d.ts +14 -0
- package/dist/styles.d.ts +4 -0
- package/dist/tailwind-prefixed.css +2499 -0
- package/dist/upup-store.service.d.ts +131 -0
- package/dist/upup-uploader.component.d.ts +36 -0
- package/package.json +109 -0
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { type OnChanges } from '@angular/core';
|
|
2
|
+
import { type SafeHtml } from '@angular/platform-browser';
|
|
3
|
+
import { type IconName } from '@useupup/core';
|
|
4
|
+
import * as i0 from "@angular/core";
|
|
5
|
+
export declare class IconComponent implements OnChanges {
|
|
6
|
+
private sanitizer;
|
|
7
|
+
name: IconName;
|
|
8
|
+
size?: number;
|
|
9
|
+
className: string;
|
|
10
|
+
def: import("@useupup/core").IconDef;
|
|
11
|
+
px: number;
|
|
12
|
+
klass: string;
|
|
13
|
+
safeInner: SafeHtml;
|
|
14
|
+
ngOnChanges(): void;
|
|
15
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<IconComponent, never>;
|
|
16
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<IconComponent, "upup-icon", never, { "name": { "alias": "name"; "required": true; }; "size": { "alias": "size"; "required": false; }; "className": { "alias": "class"; "required": false; }; }, {}, never, never, true, never>;
|
|
17
|
+
}
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
export declare class AudioIconComponent {
|
|
3
|
+
className: string;
|
|
4
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<AudioIconComponent, never>;
|
|
5
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<AudioIconComponent, "upup-audio-icon", never, { "className": { "alias": "class"; "required": false; }; }, {}, never, never, true, never>;
|
|
6
|
+
}
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
export declare class BoxIconComponent {
|
|
3
|
+
className: string;
|
|
4
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<BoxIconComponent, never>;
|
|
5
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<BoxIconComponent, "upup-box-icon", never, { "className": { "alias": "class"; "required": false; }; }, {}, never, never, true, never>;
|
|
6
|
+
}
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
export declare class CameraIconComponent {
|
|
3
|
+
className: string;
|
|
4
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<CameraIconComponent, never>;
|
|
5
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<CameraIconComponent, "upup-camera-icon", never, { "className": { "alias": "class"; "required": false; }; }, {}, never, never, true, never>;
|
|
6
|
+
}
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
export declare class ChevronLeftIconComponent {
|
|
3
|
+
className: string;
|
|
4
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ChevronLeftIconComponent, never>;
|
|
5
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ChevronLeftIconComponent, "upup-chevron-left-icon", never, { "className": { "alias": "class"; "required": false; }; }, {}, never, never, true, never>;
|
|
6
|
+
}
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
export declare class DefaultLoaderIconComponent {
|
|
3
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<DefaultLoaderIconComponent, never>;
|
|
4
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<DefaultLoaderIconComponent, "upup-default-loader-icon", never, {}, {}, never, never, true, never>;
|
|
5
|
+
}
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
export declare class DropboxIconComponent {
|
|
3
|
+
className: string;
|
|
4
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<DropboxIconComponent, never>;
|
|
5
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<DropboxIconComponent, "upup-dropbox-icon", never, { "className": { "alias": "class"; "required": false; }; }, {}, never, never, true, never>;
|
|
6
|
+
}
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
/** Renders nothing. Default placeholder for optional icon props. */
|
|
3
|
+
export declare class EmptyIconComponent {
|
|
4
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<EmptyIconComponent, never>;
|
|
5
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<EmptyIconComponent, "upup-icon-empty", never, {}, {}, never, never, true, never>;
|
|
6
|
+
}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import type { IconName } from '@useupup/core';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
export declare class FileIconSvgComponent {
|
|
4
|
+
name: IconName;
|
|
5
|
+
className: string;
|
|
6
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<FileIconSvgComponent, never>;
|
|
7
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<FileIconSvgComponent, "upup-file-icon-svg", never, { "name": { "alias": "name"; "required": false; }; "className": { "alias": "class"; "required": false; }; }, {}, never, never, true, never>;
|
|
8
|
+
}
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
export declare class FolderFilledIconComponent {
|
|
3
|
+
className: string;
|
|
4
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<FolderFilledIconComponent, never>;
|
|
5
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<FolderFilledIconComponent, "upup-folder-filled-icon", never, { "className": { "alias": "class"; "required": false; }; }, {}, never, never, true, never>;
|
|
6
|
+
}
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
export declare class GoogleDriveIconComponent {
|
|
3
|
+
className: string;
|
|
4
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<GoogleDriveIconComponent, never>;
|
|
5
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<GoogleDriveIconComponent, "upup-google-drive-icon", never, { "className": { "alias": "class"; "required": false; }; }, {}, never, never, true, never>;
|
|
6
|
+
}
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
export { IconComponent } from '../icon.component';
|
|
2
|
+
export { EmptyIconComponent } from './empty-icon.component';
|
|
3
|
+
export { TrashIconComponent } from './trash-icon.component';
|
|
4
|
+
export { DefaultLoaderIconComponent } from './default-loader-icon.component';
|
|
5
|
+
export { UploadIconComponent } from './upload-icon.component';
|
|
6
|
+
export { LoaderIconComponent } from './loader-icon.component';
|
|
7
|
+
export { PlayerPlayFilledIconComponent } from './player-play-filled-icon.component';
|
|
8
|
+
export { PlayerPauseFilledIconComponent } from './player-pause-filled-icon.component';
|
|
9
|
+
export { XIconComponent } from './x-icon.component';
|
|
10
|
+
export { LayoutGridIconComponent } from './layout-grid-icon.component';
|
|
11
|
+
export { LayoutListIconComponent } from './layout-list-icon.component';
|
|
12
|
+
export { FolderFilledIconComponent } from './folder-filled-icon.component';
|
|
13
|
+
export { ChevronLeftIconComponent } from './chevron-left-icon.component';
|
|
14
|
+
export { SearchIconComponent } from './search-icon.component';
|
|
15
|
+
export { UserIconComponent } from './user-icon.component';
|
|
16
|
+
export { FileIconSvgComponent } from './file-icon-svg.component';
|
|
17
|
+
export { MyDeviceIconComponent } from './my-device-icon.component';
|
|
18
|
+
export { BoxIconComponent } from './box-icon.component';
|
|
19
|
+
export { DropboxIconComponent } from './dropbox-icon.component';
|
|
20
|
+
export { GoogleDriveIconComponent } from './google-drive-icon.component';
|
|
21
|
+
export { OneDriveIconComponent } from './one-drive-icon.component';
|
|
22
|
+
export { LinkIconComponent } from './link-icon.component';
|
|
23
|
+
export { CameraIconComponent } from './camera-icon.component';
|
|
24
|
+
export { AudioIconComponent } from './audio-icon.component';
|
|
25
|
+
export { ScreenCaptureIconComponent } from './screen-capture-icon.component';
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
export declare class LayoutGridIconComponent {
|
|
3
|
+
size: number;
|
|
4
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<LayoutGridIconComponent, never>;
|
|
5
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<LayoutGridIconComponent, "upup-icon-layout-grid", never, { "size": { "alias": "size"; "required": false; }; }, {}, never, never, true, never>;
|
|
6
|
+
}
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
export declare class LayoutListIconComponent {
|
|
3
|
+
size: number;
|
|
4
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<LayoutListIconComponent, never>;
|
|
5
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<LayoutListIconComponent, "upup-icon-layout-list", never, { "size": { "alias": "size"; "required": false; }; }, {}, never, never, true, never>;
|
|
6
|
+
}
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
export declare class LinkIconComponent {
|
|
3
|
+
className: string;
|
|
4
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<LinkIconComponent, never>;
|
|
5
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<LinkIconComponent, "upup-link-icon", never, { "className": { "alias": "class"; "required": false; }; }, {}, never, never, true, never>;
|
|
6
|
+
}
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
export declare class LoaderIconComponent {
|
|
3
|
+
className: string;
|
|
4
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<LoaderIconComponent, never>;
|
|
5
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<LoaderIconComponent, "upup-icon-loader", never, { "className": { "alias": "class"; "required": false; }; }, {}, never, never, true, never>;
|
|
6
|
+
}
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
export declare class MyDeviceIconComponent {
|
|
3
|
+
className: string;
|
|
4
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<MyDeviceIconComponent, never>;
|
|
5
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<MyDeviceIconComponent, "upup-icon-my-device", never, { "className": { "alias": "class"; "required": false; }; }, {}, never, never, true, never>;
|
|
6
|
+
}
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
export declare class OneDriveIconComponent {
|
|
3
|
+
className: string;
|
|
4
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<OneDriveIconComponent, never>;
|
|
5
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<OneDriveIconComponent, "upup-one-drive-icon", never, { "className": { "alias": "class"; "required": false; }; }, {}, never, never, true, never>;
|
|
6
|
+
}
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
export declare class PlayerPauseFilledIconComponent {
|
|
3
|
+
size: number;
|
|
4
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<PlayerPauseFilledIconComponent, never>;
|
|
5
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<PlayerPauseFilledIconComponent, "upup-player-pause-filled-icon", never, { "size": { "alias": "size"; "required": false; }; }, {}, never, never, true, never>;
|
|
6
|
+
}
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
export declare class PlayerPlayFilledIconComponent {
|
|
3
|
+
size: number;
|
|
4
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<PlayerPlayFilledIconComponent, never>;
|
|
5
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<PlayerPlayFilledIconComponent, "upup-player-play-filled-icon", never, { "size": { "alias": "size"; "required": false; }; }, {}, never, never, true, never>;
|
|
6
|
+
}
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
export declare class ScreenCaptureIconComponent {
|
|
3
|
+
className: string;
|
|
4
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ScreenCaptureIconComponent, never>;
|
|
5
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ScreenCaptureIconComponent, "upup-screen-capture-icon", never, { "className": { "alias": "class"; "required": false; }; }, {}, never, never, true, never>;
|
|
6
|
+
}
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
export declare class SearchIconComponent {
|
|
3
|
+
className: string;
|
|
4
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<SearchIconComponent, never>;
|
|
5
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<SearchIconComponent, "upup-search-icon", never, { "className": { "alias": "class"; "required": false; }; }, {}, never, never, true, never>;
|
|
6
|
+
}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
/**
|
|
3
|
+
* Default file-delete glyph — renders the shared registry 'trash' icon (parity with
|
|
4
|
+
* React's react-icons TbTrash default for icons.FileDeleteIcon).
|
|
5
|
+
*
|
|
6
|
+
* Rendered via NgComponentOutlet (no inputs passed), so the file-card delete-button
|
|
7
|
+
* size (upup-h-3 upup-w-3, matching React's <FileDeleteIcon className="upup-h-3 upup-w-3" />)
|
|
8
|
+
* is baked as the default class.
|
|
9
|
+
*/
|
|
10
|
+
export declare class TrashIconComponent {
|
|
11
|
+
className: string;
|
|
12
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<TrashIconComponent, never>;
|
|
13
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<TrashIconComponent, "upup-icon-trash", never, { "className": { "alias": "class"; "required": false; }; }, {}, never, never, true, never>;
|
|
14
|
+
}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
export declare class UploadIconComponent {
|
|
3
|
+
size: number;
|
|
4
|
+
className: string;
|
|
5
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<UploadIconComponent, never>;
|
|
6
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<UploadIconComponent, "upup-icon-upload", never, { "size": { "alias": "size"; "required": false; }; "className": { "alias": "class"; "required": false; }; }, {}, never, never, true, never>;
|
|
7
|
+
}
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
export declare class UserIconComponent {
|
|
3
|
+
className: string;
|
|
4
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<UserIconComponent, never>;
|
|
5
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<UserIconComponent, "upup-user-icon", never, { "className": { "alias": "class"; "required": false; }; }, {}, never, never, true, never>;
|
|
6
|
+
}
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
export declare class XIconComponent {
|
|
3
|
+
size: number;
|
|
4
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<XIconComponent, never>;
|
|
5
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<XIconComponent, "upup-x-icon", never, { "size": { "alias": "size"; "required": false; }; }, {}, never, never, true, never>;
|
|
6
|
+
}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
/**
|
|
3
|
+
* ImageEditorStubComponent — Angular port of ImageEditorStub.svelte.
|
|
4
|
+
*
|
|
5
|
+
* The image editor is not supported in Angular (React-only feature).
|
|
6
|
+
* This stub renders nothing, mirroring the svelte stub which is an empty
|
|
7
|
+
* template with only a comment:
|
|
8
|
+
* <!-- Image editor is not supported in Svelte. Use @useupup/react if image editing is required. -->
|
|
9
|
+
*/
|
|
10
|
+
export declare class ImageEditorStubComponent {
|
|
11
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ImageEditorStubComponent, never>;
|
|
12
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ImageEditorStubComponent, "upup-image-editor-stub", never, {}, {}, never, never, true, never>;
|
|
13
|
+
}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import { UpupStore } from '../upup-store.service';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
/**
|
|
4
|
+
* OneDriveUploaderComponent — Angular port of OneDriveUploader.svelte.
|
|
5
|
+
*
|
|
6
|
+
* Routes by store.mode:
|
|
7
|
+
* 'server' → ServerModeDriveUploaderComponent(provider="one-drive")
|
|
8
|
+
* 'client' → ClientOneDriveUploaderComponent
|
|
9
|
+
*
|
|
10
|
+
* Mirrors svelte:
|
|
11
|
+
* {#if mode === 'server'}
|
|
12
|
+
* <ServerModeDriveUploader provider="one-drive" onBack={...} />
|
|
13
|
+
* {:else}
|
|
14
|
+
* <ClientOneDriveUploader />
|
|
15
|
+
* {/if}
|
|
16
|
+
*/
|
|
17
|
+
export declare class OneDriveUploaderComponent {
|
|
18
|
+
readonly store: UpupStore;
|
|
19
|
+
readonly handleBack: () => void;
|
|
20
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<OneDriveUploaderComponent, never>;
|
|
21
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<OneDriveUploaderComponent, "upup-one-drive-uploader", never, {}, {}, never, never, true, never>;
|
|
22
|
+
}
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
import { isUploadActive } from '@useupup/core/internal';
|
|
2
|
+
import { UpupStore } from '../upup-store.service';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
/**
|
|
5
|
+
* Progress bar — port of shared/ProgressBar.
|
|
6
|
+
*
|
|
7
|
+
* The `className` positioning classes land on the INNER container div via the
|
|
8
|
+
* @Input (never `class=` on the host), so the transparent `<upup-progress-bar>`
|
|
9
|
+
* host is unwrapped by the parity normalizer and the DOM matches React's div
|
|
10
|
+
* (F-712). At idle (no progress, not uploading) shouldShow is false, so the host
|
|
11
|
+
* renders empty and contributes nothing — matching React's `null` return.
|
|
12
|
+
*
|
|
13
|
+
* Reads: store.uploadStatus(), store.isDark(), store.slotOverrides(), store.slots(),
|
|
14
|
+
* store.translations() (aria-label).
|
|
15
|
+
*/
|
|
16
|
+
export declare class ProgressBarComponent {
|
|
17
|
+
readonly store: UpupStore;
|
|
18
|
+
progress: number;
|
|
19
|
+
showValue: boolean;
|
|
20
|
+
progressBarClassName: string;
|
|
21
|
+
className: string;
|
|
22
|
+
readonly isUploadActive: typeof isUploadActive;
|
|
23
|
+
get shouldShow(): boolean;
|
|
24
|
+
get containerClass(): string;
|
|
25
|
+
get trackClass(): string;
|
|
26
|
+
get fillClass(): string;
|
|
27
|
+
get textClass(): string;
|
|
28
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ProgressBarComponent, never>;
|
|
29
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ProgressBarComponent, "upup-progress-bar", never, { "progress": { "alias": "progress"; "required": false; }; "showValue": { "alias": "showValue"; "required": false; }; "progressBarClassName": { "alias": "progressBarClassName"; "required": false; }; "className": { "alias": "className"; "required": false; }; }, {}, never, never, true, never>;
|
|
30
|
+
}
|
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
import { OnDestroy, ElementRef } from '@angular/core';
|
|
2
|
+
import { UpupStore } from '../upup-store.service';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
type RecordingState = 'idle' | 'recording' | 'recorded';
|
|
5
|
+
/**
|
|
6
|
+
* Screen capture recorder leaf — port of ScreenCaptureUploader.svelte.
|
|
7
|
+
*
|
|
8
|
+
* Slot name : "screen-capture-uploader"
|
|
9
|
+
* (Both error-state and normal-state AVC use slotName="screen-capture-uploader".)
|
|
10
|
+
*
|
|
11
|
+
* Svelte parity:
|
|
12
|
+
* - getDisplayMedia for screen + audio (svelte: navigator.mediaDevices.getDisplayMedia)
|
|
13
|
+
* - Inline MediaRecorder lifecycle (no shared composable in svelte either)
|
|
14
|
+
* - stream.getVideoTracks()[0].onended → auto-stop when user stops sharing
|
|
15
|
+
* - Cleanup on ngOnDestroy (svelte: onDestroy)
|
|
16
|
+
* - previewEl bound via @ViewChild (svelte: bind:this={previewEl})
|
|
17
|
+
* - retryRecording() resets error and calls startRecording()
|
|
18
|
+
*
|
|
19
|
+
* Auto-start guard for tests:
|
|
20
|
+
* startRecording() only runs on user click ("Share Screen"), not on mount → no jsdom hang.
|
|
21
|
+
*/
|
|
22
|
+
export declare class ScreenCaptureUploaderComponent implements OnDestroy {
|
|
23
|
+
readonly store: UpupStore;
|
|
24
|
+
recordingState: RecordingState;
|
|
25
|
+
duration: number;
|
|
26
|
+
videoUrl: string | null;
|
|
27
|
+
error: string | null;
|
|
28
|
+
set previewEl(ref: ElementRef<HTMLVideoElement> | undefined);
|
|
29
|
+
private mediaRecorder;
|
|
30
|
+
private chunks;
|
|
31
|
+
private timerHandle;
|
|
32
|
+
private streamRef;
|
|
33
|
+
ngOnDestroy(): void;
|
|
34
|
+
startRecording(): Promise<void>;
|
|
35
|
+
stopRecording(): void;
|
|
36
|
+
discardRecording(): void;
|
|
37
|
+
addRecording(): void;
|
|
38
|
+
retryRecording(): void;
|
|
39
|
+
formatTime(s: number): string;
|
|
40
|
+
get errorTextClass(): string;
|
|
41
|
+
get retryButtonClass(): string;
|
|
42
|
+
get shareButtonClass(): string;
|
|
43
|
+
get addButtonClass(): string;
|
|
44
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ScreenCaptureUploaderComponent, never>;
|
|
45
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ScreenCaptureUploaderComponent, "upup-screen-capture-uploader", never, {}, {}, never, never, true, never>;
|
|
46
|
+
}
|
|
47
|
+
export {};
|
|
@@ -0,0 +1,49 @@
|
|
|
1
|
+
import { OnInit, OnDestroy, Type } from '@angular/core';
|
|
2
|
+
import { ServerModeDriveService, type ServerModeProvider, type ServerDriveFile } from '../services/server-mode-drive.service';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
/**
|
|
5
|
+
* Angular port of ServerModeDriveUploader.svelte.
|
|
6
|
+
*
|
|
7
|
+
* Routes between two views based on server list state:
|
|
8
|
+
* - 'reauth': renders DriveAuthFallback (sign-in prompt; testid upup-server-drive-browser absent)
|
|
9
|
+
* - all other states: renders the server drive browser (data-testid="upup-server-drive-browser")
|
|
10
|
+
*
|
|
11
|
+
* Testid `upup-server-drive-browser` MUST be preserved byte-for-byte (live-verification + guards).
|
|
12
|
+
* Double-brace {{provider}} is resolved by DriveAuthFallbackComponent via core's formatUiMessage.
|
|
13
|
+
*
|
|
14
|
+
* Regression guards (from vanilla's server-drive.test.ts, ported to Angular):
|
|
15
|
+
* 1. 401 → state.status === 'reauth' → auth fallback rendered, browser testid absent
|
|
16
|
+
* 2. ngOnDestroy calls destroy() → abort controller aborted
|
|
17
|
+
* 3. ngOnDestroy calls destroy() → window 'message' listener removed
|
|
18
|
+
*/
|
|
19
|
+
export declare class ServerModeDriveUploaderComponent implements OnInit, OnDestroy {
|
|
20
|
+
private store;
|
|
21
|
+
readonly svc: ServerModeDriveService;
|
|
22
|
+
provider: ServerModeProvider;
|
|
23
|
+
onBack: () => void;
|
|
24
|
+
/** data-upup-slot forwarded to SourceViewContainer and DriveAuthFallback. */
|
|
25
|
+
slotName: string;
|
|
26
|
+
ngOnInit(): void;
|
|
27
|
+
ngOnDestroy(): void;
|
|
28
|
+
readonly startAuth: () => void;
|
|
29
|
+
get providerLabel(): string;
|
|
30
|
+
get isLoading(): boolean;
|
|
31
|
+
get loader(): Type<unknown>;
|
|
32
|
+
get displayFiles(): ServerDriveFile[];
|
|
33
|
+
get errorMessage(): string;
|
|
34
|
+
get addFilesLabel(): string;
|
|
35
|
+
/** Non-folder file-icon stroke; folder uses a static sky stroke. */
|
|
36
|
+
get fileIconStroke(): string;
|
|
37
|
+
get headerClass(): string;
|
|
38
|
+
get footerClass(): string;
|
|
39
|
+
get searchInputClass(): string;
|
|
40
|
+
get errorClass(): string;
|
|
41
|
+
fileItemClass(file: ServerDriveFile): string;
|
|
42
|
+
onFileClick(file: ServerDriveFile): void;
|
|
43
|
+
onSearchInput(ev: Event): void;
|
|
44
|
+
onSearchEnter(ev: Event): void;
|
|
45
|
+
handleTransfer(): void;
|
|
46
|
+
formatBytes(bytes: number): string;
|
|
47
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ServerModeDriveUploaderComponent, never>;
|
|
48
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ServerModeDriveUploaderComponent, "upup-server-mode-drive-uploader", never, { "provider": { "alias": "provider"; "required": true; }; "onBack": { "alias": "onBack"; "required": false; }; "slotName": { "alias": "slotName"; "required": false; }; }, {}, never, never, true, never>;
|
|
49
|
+
}
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
import { type DriveBrowserError } from '@useupup/core';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
/**
|
|
4
|
+
* Angular port of DriveAuthFallback.svelte.
|
|
5
|
+
*
|
|
6
|
+
* Renders the "sign in" prompt when a cloud drive is not yet authenticated.
|
|
7
|
+
* Uses core's `formatUiMessage` (t) with {{provider}} double-brace placeholders —
|
|
8
|
+
* exactly as svelte does: t(tr.authenticatePrompt, { provider: providerName }).
|
|
9
|
+
* Single-brace is WRONG; this mirrors the proven svelte pattern.
|
|
10
|
+
*/
|
|
11
|
+
export declare class DriveAuthFallbackComponent {
|
|
12
|
+
private store;
|
|
13
|
+
providerName: string;
|
|
14
|
+
onRetry: () => void;
|
|
15
|
+
error: (() => DriveBrowserError | undefined) | undefined;
|
|
16
|
+
/** Maps to svelte's dataUpupSlot prop — forwarded to SourceViewContainer slotName. */
|
|
17
|
+
slotName: string;
|
|
18
|
+
get errorText(): string;
|
|
19
|
+
/** Resolved i18n string: "Sign in to access {{provider}}" → "Sign in to access Google Drive" */
|
|
20
|
+
get authenticatePrompt(): string;
|
|
21
|
+
/** Resolved i18n string: "Sign in with {{provider}}" → "Sign in with Google Drive" */
|
|
22
|
+
get signInLabel(): string;
|
|
23
|
+
get promptClass(): string;
|
|
24
|
+
get signInButtonClass(): string;
|
|
25
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<DriveAuthFallbackComponent, never>;
|
|
26
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<DriveAuthFallbackComponent, "upup-drive-auth-fallback", never, { "providerName": { "alias": "providerName"; "required": true; }; "onRetry": { "alias": "onRetry"; "required": true; }; "error": { "alias": "error"; "required": false; }; "slotName": { "alias": "slotName"; "required": false; }; }, {}, never, never, true, never>;
|
|
27
|
+
}
|
|
@@ -0,0 +1,64 @@
|
|
|
1
|
+
import { ElementRef, OnDestroy } from '@angular/core';
|
|
2
|
+
import { type DriveFolder, type DriveUser, type UiTranslations } from '@useupup/core';
|
|
3
|
+
import { SourceViewHeaderExtraService } from '../../context/source-view-header-extra.service';
|
|
4
|
+
import * as i0 from "@angular/core";
|
|
5
|
+
/**
|
|
6
|
+
* Angular port of DriveBrowserHeader.
|
|
7
|
+
*
|
|
8
|
+
* Boxless, merged header: once navigated past the root, a ghost chevron-left
|
|
9
|
+
* Back button (up one folder) + the current folder name, with the search
|
|
10
|
+
* collapsed into an icon toggle that expands into the styled input. At the root
|
|
11
|
+
* the full-width search shows directly. The account controls (avatar + log out +
|
|
12
|
+
* hairline separator) are portaled into the SourceView header row, next to Back
|
|
13
|
+
* — not their own strip. Only shown when `user` is set. Preserves
|
|
14
|
+
* data-upup-slot="drive-browser-header".
|
|
15
|
+
*
|
|
16
|
+
* Portal idiom: the account controls live in a `display:contents` wrapper which
|
|
17
|
+
* is appended into the header-extra host element (from
|
|
18
|
+
* SourceViewHeaderExtraService) once it mounts — Angular's equivalent of React's
|
|
19
|
+
* createPortal / Svelte's `portal` action.
|
|
20
|
+
*/
|
|
21
|
+
export declare class DriveBrowserHeaderComponent implements OnDestroy {
|
|
22
|
+
private store;
|
|
23
|
+
readonly headerExtra: SourceViewHeaderExtraService;
|
|
24
|
+
path: DriveFolder[];
|
|
25
|
+
setPath: (newPath: DriveFolder[]) => void;
|
|
26
|
+
handleSignOut: () => void;
|
|
27
|
+
showSearch: boolean;
|
|
28
|
+
searchTerm: string;
|
|
29
|
+
onSearch: (value: string) => void;
|
|
30
|
+
user: DriveUser | undefined;
|
|
31
|
+
/**
|
|
32
|
+
* The account-controls wrapper, relocated into the header-extra host once it
|
|
33
|
+
* mounts. Tracked so the moved node can be removed on destroy (mirrors
|
|
34
|
+
* Svelte's portal action `destroy()`), since it no longer lives inside this
|
|
35
|
+
* component's own view.
|
|
36
|
+
*/
|
|
37
|
+
private movedNode;
|
|
38
|
+
set extra(ref: ElementRef<HTMLElement> | undefined);
|
|
39
|
+
searchOpen: boolean;
|
|
40
|
+
/**
|
|
41
|
+
* Focus the field the moment it expands. The input renders only while
|
|
42
|
+
* `searchOpen`, so the query result appears exactly on the open transition —
|
|
43
|
+
* mirroring React's `useEffect(focus, [searchOpen])`, using the same
|
|
44
|
+
* ViewChild-setter idiom as `extra` above.
|
|
45
|
+
*/
|
|
46
|
+
set searchInput(ref: ElementRef<HTMLInputElement> | undefined);
|
|
47
|
+
get navigated(): boolean;
|
|
48
|
+
get currentFolder(): DriveFolder | undefined;
|
|
49
|
+
get hasFilter(): boolean;
|
|
50
|
+
onSearchBlur(): void;
|
|
51
|
+
get tr(): UiTranslations;
|
|
52
|
+
onLogout(): void;
|
|
53
|
+
ngOnDestroy(): void;
|
|
54
|
+
get headerClass(): string;
|
|
55
|
+
get backClass(): string;
|
|
56
|
+
get searchToggleClass(): string;
|
|
57
|
+
get logoutClass(): string;
|
|
58
|
+
get separatorClass(): string;
|
|
59
|
+
get searchContainerClass(): string;
|
|
60
|
+
get searchInputClass(): string;
|
|
61
|
+
getInputValue(event: Event): string;
|
|
62
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<DriveBrowserHeaderComponent, never>;
|
|
63
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<DriveBrowserHeaderComponent, "upup-drive-browser-header", never, { "path": { "alias": "path"; "required": true; }; "setPath": { "alias": "setPath"; "required": true; }; "handleSignOut": { "alias": "handleSignOut"; "required": true; }; "showSearch": { "alias": "showSearch"; "required": false; }; "searchTerm": { "alias": "searchTerm"; "required": false; }; "onSearch": { "alias": "onSearch"; "required": false; }; "user": { "alias": "user"; "required": false; }; }, {}, never, never, true, never>;
|
|
64
|
+
}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { type DriveFile } from '@useupup/core';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
/**
|
|
4
|
+
* Angular port of DriveBrowserIcon.svelte.
|
|
5
|
+
*
|
|
6
|
+
* Renders a folder icon, a file icon, or the drive thumbnail image for a DriveFile.
|
|
7
|
+
* Falls back to an inline SVG data-URI when the thumbnail image fails to load.
|
|
8
|
+
*/
|
|
9
|
+
export declare class DriveBrowserIconComponent {
|
|
10
|
+
private store;
|
|
11
|
+
file: DriveFile;
|
|
12
|
+
get fileIconClass(): string;
|
|
13
|
+
handleImgError(e: Event): void;
|
|
14
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<DriveBrowserIconComponent, never>;
|
|
15
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<DriveBrowserIconComponent, "upup-drive-browser-icon", never, { "file": { "alias": "file"; "required": true; }; }, {}, never, never, true, never>;
|
|
16
|
+
}
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import { type DriveFile } from '@useupup/core';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
/**
|
|
4
|
+
* Angular port of DriveBrowserItem.svelte.
|
|
5
|
+
*
|
|
6
|
+
* Renders a single drive file/folder row. Clicking calls handleClick.
|
|
7
|
+
* Highlights selected files. Preserves data-upup-slot="drive-browser-item".
|
|
8
|
+
*/
|
|
9
|
+
export declare class DriveBrowserItemComponent {
|
|
10
|
+
private store;
|
|
11
|
+
file: DriveFile;
|
|
12
|
+
handleClick: (file: DriveFile) => void;
|
|
13
|
+
selectedFiles: DriveFile[];
|
|
14
|
+
get isFolder(): boolean;
|
|
15
|
+
get isFileSelected(): boolean;
|
|
16
|
+
get containerClass(): string;
|
|
17
|
+
get innerClass(): string;
|
|
18
|
+
get textClass(): string;
|
|
19
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<DriveBrowserItemComponent, never>;
|
|
20
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<DriveBrowserItemComponent, "upup-drive-browser-item", never, { "file": { "alias": "file"; "required": true; }; "handleClick": { "alias": "handleClick"; "required": true; }; "selectedFiles": { "alias": "selectedFiles"; "required": true; }; }, {}, never, never, true, never>;
|
|
21
|
+
}
|
|
@@ -0,0 +1,52 @@
|
|
|
1
|
+
import { Type } from '@angular/core';
|
|
2
|
+
import { type DriveBrowserError, type DriveFile, type DriveFolder, type DriveUser, type UiTranslations } from '@useupup/core';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
/**
|
|
5
|
+
* Angular port of DriveBrowser.svelte.
|
|
6
|
+
*
|
|
7
|
+
* The main drive file/folder browser. Driven entirely by signals passed as inputs
|
|
8
|
+
* from a drive service. No business logic: navigate/select/submit all delegate
|
|
9
|
+
* back to the service via the provided handler functions.
|
|
10
|
+
*
|
|
11
|
+
* Preserves data-testid="upup-drive-browser" and data-upup-slot={slotName}.
|
|
12
|
+
*/
|
|
13
|
+
export declare class DriveBrowserComponent {
|
|
14
|
+
private store;
|
|
15
|
+
driveFiles: () => DriveFolder | undefined;
|
|
16
|
+
path: () => DriveFolder[];
|
|
17
|
+
setPath: (newPath: DriveFolder[]) => void;
|
|
18
|
+
user: () => DriveUser | undefined;
|
|
19
|
+
handleSignOut: () => void;
|
|
20
|
+
handleClick: (file: DriveFile) => void;
|
|
21
|
+
selectedFiles: () => DriveFile[];
|
|
22
|
+
showLoader: () => boolean;
|
|
23
|
+
handleSubmit: () => Promise<void>;
|
|
24
|
+
handleCancelDownload: () => void;
|
|
25
|
+
isClickLoading: () => boolean;
|
|
26
|
+
onSelectCurrentFolder: (() => void) | undefined;
|
|
27
|
+
error: (() => DriveBrowserError | undefined) | undefined;
|
|
28
|
+
hasMore: (() => boolean) | undefined;
|
|
29
|
+
isLoadingMore: (() => boolean) | undefined;
|
|
30
|
+
loadMore: (() => void | Promise<void>) | undefined;
|
|
31
|
+
/** Maps to svelte's dataUpupSlot prop. */
|
|
32
|
+
slotName: string;
|
|
33
|
+
readonly searchTerm: import("@angular/core").WritableSignal<string>;
|
|
34
|
+
readonly onSearchChange: (v: string) => void;
|
|
35
|
+
readonly isLoading: import("@angular/core").Signal<boolean>;
|
|
36
|
+
get errorText(): string;
|
|
37
|
+
get loader(): Type<unknown>;
|
|
38
|
+
readonly items: import("@angular/core").Signal<DriveFile[]>;
|
|
39
|
+
readonly displayedItems: import("@angular/core").Signal<DriveFile[]>;
|
|
40
|
+
get tr(): UiTranslations;
|
|
41
|
+
/** Click handler that is a noop when loading (passed to DriveBrowserItem). */
|
|
42
|
+
get clickHandler(): (file: DriveFile) => void;
|
|
43
|
+
get addFilesLabel(): string;
|
|
44
|
+
get bodyClass(): string;
|
|
45
|
+
get footerClass(): string;
|
|
46
|
+
get selectFolderBtnClass(): string;
|
|
47
|
+
get addFilesBtnClass(): string;
|
|
48
|
+
get cancelBtnClass(): string;
|
|
49
|
+
private filterItems;
|
|
50
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<DriveBrowserComponent, never>;
|
|
51
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<DriveBrowserComponent, "upup-drive-browser", never, { "driveFiles": { "alias": "driveFiles"; "required": true; }; "path": { "alias": "path"; "required": true; }; "setPath": { "alias": "setPath"; "required": true; }; "user": { "alias": "user"; "required": true; }; "handleSignOut": { "alias": "handleSignOut"; "required": true; }; "handleClick": { "alias": "handleClick"; "required": true; }; "selectedFiles": { "alias": "selectedFiles"; "required": true; }; "showLoader": { "alias": "showLoader"; "required": true; }; "handleSubmit": { "alias": "handleSubmit"; "required": true; }; "handleCancelDownload": { "alias": "handleCancelDownload"; "required": true; }; "isClickLoading": { "alias": "isClickLoading"; "required": true; }; "onSelectCurrentFolder": { "alias": "onSelectCurrentFolder"; "required": false; }; "error": { "alias": "error"; "required": false; }; "hasMore": { "alias": "hasMore"; "required": false; }; "isLoadingMore": { "alias": "isLoadingMore"; "required": false; }; "loadMore": { "alias": "loadMore"; "required": false; }; "slotName": { "alias": "slotName"; "required": false; }; }, {}, never, never, true, never>;
|
|
52
|
+
}
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
/**
|
|
3
|
+
* Completion checkmark (port of shared/FileSuccessCheck): a sky ring with a tick
|
|
4
|
+
* that DRAWS in and a wrapper that POPS, shown when a file reaches
|
|
5
|
+
* UploadStatus.SUCCESSFUL. Hosts (FilePreview tile, FileRow, FileHero) gate it
|
|
6
|
+
* on status; the fx classes render UNCONDITIONALLY — the shared CSS
|
|
7
|
+
* `data-motion="off"` kill rule is the one gate, so under motion-off the mark
|
|
8
|
+
* simply appears drawn. aria-hidden: completion is conveyed textually by the
|
|
9
|
+
* file list's live region + the upload announcement.
|
|
10
|
+
*/
|
|
11
|
+
export declare class FileSuccessCheckComponent {
|
|
12
|
+
/** Position in the sorted list — drives the draw/pop stagger (capped at 8). */
|
|
13
|
+
index: number;
|
|
14
|
+
/** Host-supplied positioning classes (absolute placement on tiles/hero). */
|
|
15
|
+
className: string;
|
|
16
|
+
size: number;
|
|
17
|
+
get delay(): string;
|
|
18
|
+
get spanClass(): string;
|
|
19
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<FileSuccessCheckComponent, never>;
|
|
20
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<FileSuccessCheckComponent, "upup-file-success-check", never, { "index": { "alias": "index"; "required": false; }; "className": { "alias": "className"; "required": false; }; "size": { "alias": "size"; "required": false; }; }, {}, never, never, true, never>;
|
|
21
|
+
}
|