@clickview/online 0.0.9-rc.0 → 0.0.9
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/en.json +1 -1
- package/dist/libs/shared/src/apps/upload/constants/UploadConstants.d.ts +39 -0
- package/dist/libs/shared/src/apps/upload/enums/FileLifestyle.d.ts +4 -0
- package/dist/libs/shared/src/apps/upload/errors/file-type/FileTypeError.d.ts +15 -0
- package/dist/libs/shared/src/apps/upload/errors/internet-connectivity/InternetConnectivityError.d.ts +7 -0
- package/dist/libs/shared/src/apps/upload/services/DropzoneWrapper.d.ts +30 -0
- package/dist/libs/shared/src/apps/upload/services/UploadService.d.ts +66 -0
- package/dist/libs/shared/src/apps/upload/utils/FileExtensionsHelper.d.ts +9 -0
- package/dist/libs/shared/src/components/channel-form-field/ChannelFormField.d.ts +8 -0
- package/dist/libs/shared/src/components/confirmation-popup/ConfirmationPopup.d.ts +20 -0
- package/dist/libs/shared/src/components/edit-link/EditLink.d.ts +26 -0
- package/dist/libs/shared/src/components/edit-resource/EditResource.d.ts +15 -0
- package/dist/libs/shared/src/components/edit-video-links/EditVideoLinks.d.ts +11 -0
- package/dist/libs/shared/src/components/edit-video-resources/EditVideoResources.d.ts +20 -0
- package/dist/libs/shared/src/components/edit-video-subtitles/EditVideoSubtitles.d.ts +16 -0
- package/dist/libs/shared/src/components/file-select/FileSelect.d.ts +14 -0
- package/dist/libs/shared/src/components/file-select-button/FileSelectButton.d.ts +15 -0
- package/dist/libs/shared/src/components/file-upload-list/FileUploadList.d.ts +8 -0
- package/dist/libs/shared/src/components/forms/date-picker-form-field/DatePickerFormField.d.ts +17 -0
- package/dist/libs/shared/src/components/image-cropper/ImageCropper.d.ts +10 -0
- package/dist/libs/shared/src/components/image-select/ImageSelect.d.ts +14 -0
- package/dist/libs/shared/src/components/language-select/LanguageSelect.d.ts +8 -0
- package/dist/libs/shared/src/components/rating-select/RatingSelect.d.ts +12 -0
- package/dist/libs/shared/src/components/resource-list/ResourceList.d.ts +14 -0
- package/dist/libs/shared/src/components/subtitle-list/SubtitleList.d.ts +9 -0
- package/dist/libs/shared/src/components/thumbnails/video/VideoThumbnailWatchProgressBar.d.ts +8 -0
- package/dist/libs/shared/src/constants/ImageSizes.d.ts +8 -0
- package/dist/libs/shared/src/context/ImageStorageContext.d.ts +45 -0
- package/dist/libs/shared/src/enums/DateFormat.d.ts +7 -0
- package/dist/libs/shared/src/enums/MasterObjectTypes.d.ts +8 -0
- package/dist/libs/shared/src/enums/ObjectOwnerType.d.ts +4 -0
- package/dist/libs/shared/src/enums/UploadInteractionType.d.ts +4 -0
- package/dist/libs/shared/src/flight-requests/ImageRequests.d.ts +7 -0
- package/dist/libs/shared/src/flight-requests/LinkRequests.d.ts +11 -0
- package/dist/libs/shared/src/flight-requests/RatingRequests.d.ts +4 -0
- package/dist/libs/shared/src/flight-requests/ResourceRequests.d.ts +11 -0
- package/dist/libs/shared/src/flight-requests/SubtitleRequests.d.ts +9 -0
- package/dist/libs/shared/src/hooks/UseListenOn.d.ts +3 -0
- package/dist/libs/shared/src/hooks/useGetCollectionItems.d.ts +7 -0
- package/dist/libs/shared/src/interfaces/collections/SubtitleCollection.d.ts +3 -0
- package/dist/libs/shared/src/interfaces/models/FileUpload.d.ts +20 -0
- package/dist/libs/shared/src/interfaces/models/Language.d.ts +4 -0
- package/dist/libs/shared/src/interfaces/models/Pdf.d.ts +4 -0
- package/dist/libs/shared/src/interfaces/models/Subtitle.d.ts +7 -0
- package/dist/libs/shared/src/interfaces/requests/UpdateObjectChannel.d.ts +3 -0
- package/dist/libs/shared/src/interfaces/requests/UpdateObjectRating.d.ts +3 -0
- package/dist/libs/shared/src/interfaces/requests/UpdateResourceRequest.d.ts +3 -0
- package/dist/libs/shared/src/interfaces/services/BaseConfigDataService.d.ts +5 -0
- package/dist/libs/shared/src/legacy/behaviors/file-drop/FileDropBehavior.d.ts +19 -0
- package/dist/libs/shared/src/legacy/behaviors/file-drop/FileDropHelper.d.ts +4 -0
- package/dist/libs/shared/src/legacy/behaviors/file-select/FileSelectBehavior.d.ts +16 -0
- package/dist/libs/shared/src/legacy/components/file-select/FileSelectComponent.d.ts +29 -0
- package/dist/libs/shared/src/legacy/components/file-uploads/FileUploadComponent.d.ts +15 -0
- package/dist/libs/shared/src/legacy/components/resource-item/ResourceItemComponent.d.ts +22 -0
- package/dist/libs/shared/src/legacy/components/subtitle-item/SubtitleItemComponent.d.ts +17 -0
- package/dist/libs/shared/src/legacy/errors/too-many-files/TooManyFilesError.d.ts +7 -0
- package/dist/libs/shared/src/legacy/errors/too-many-resources/TooManyResourcesError.d.ts +8 -0
- package/dist/libs/shared/src/legacy/errors/too-many-subtitles/TooManySubtitlesError.d.ts +8 -0
- package/dist/libs/shared/src/legacy/utils/LangHelper.d.ts +5 -0
- package/dist/libs/shared/src/utils/ImageSelectHelper.d.ts +6 -0
- package/dist/libs/shared/src/utils/PermissionsHelper.d.ts +10 -0
- package/dist/libs/shared/src/utils/SubtitleHelper.d.ts +9 -0
- package/dist/libs/shared/src/views/delete-link/DeleteLinkView.d.ts +8 -0
- package/dist/libs/shared/src/views/delete-resource/DeleteResourceView.d.ts +8 -0
- package/dist/libs/shared/src/views/delete-subtitle/DeleteSubtitleView.d.ts +8 -0
- package/dist/libs/shared/src/views/dialog/DialogView.d.ts +9 -0
- package/dist/libs/shared/src/views/edit-link/EditLinkView.d.ts +8 -0
- package/dist/libs/shared/src/views/edit-resource/EditResourceView.d.ts +8 -0
- package/dist/libs/shared/src/views/image-upload/ImageUploadView.d.ts +9 -0
- package/dist/online-app.css.map +1 -0
- package/dist/online-app.js.map +1 -0
- package/dist/projects/online/src/apps/workspace/WorkspaceApplication.d.ts +19 -0
- package/dist/projects/online/src/apps/workspace/components/edit-workspace-video-details/EditWorkspaceVideoDetails.d.ts +9 -0
- package/dist/projects/online/src/apps/workspace/components/edit-workspace-video-details/partial-loading/PartialEditWorkspaceVideoDetails.d.ts +2 -0
- package/dist/projects/online/src/apps/workspace/context/WorkspaceAppContext.d.ts +3 -0
- package/dist/projects/online/src/apps/workspace/flight-requests/WorkspaceVideoRequests.d.ts +9 -0
- package/dist/projects/online/src/apps/workspace/views/edit-workspace-video/EditWorkspaceVideoView.d.ts +8 -0
- package/dist/projects/online/src/apps/workspace/views/edit-workspace-video/partial-loading/PartialEditVideoUploadArea.d.ts +2 -0
- package/package.json +2 -2
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { Flight } from "../../../common/src/react";
|
|
2
|
+
import { Xhr } from "../../../common/src/backbone/interfaces/Xhr";
|
|
3
|
+
import { HashObject } from "../../../common/src/react/interfaces";
|
|
4
|
+
import { ImageType } from "../enums/Images";
|
|
5
|
+
export declare const ImageRequests: {
|
|
6
|
+
uploadBase64Image(dataUrl: string, type: ImageType, success?: (data: HashObject<any>) => void, error?: (xhr: Xhr) => void, always?: () => void): Flight.Request;
|
|
7
|
+
};
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { Flight } from "../../../common/src/react";
|
|
2
|
+
import { HashObject } from "../../../common/src/react/interfaces/HashObject";
|
|
3
|
+
import { Xhr } from "../../../common/src/backbone/interfaces/Xhr";
|
|
4
|
+
import { Link } from "../interfaces";
|
|
5
|
+
export declare const LinkRequests: {
|
|
6
|
+
link(id: string): Flight.Request;
|
|
7
|
+
videoLinks(videoId: string): Flight.Request;
|
|
8
|
+
addLink(videoId: string, link: any, success?: (data: HashObject<any>) => void, error?: (xhr: Xhr) => void, always?: () => void): Flight.Request;
|
|
9
|
+
updateLink(id: string, data: Link, success?: (data: HashObject<any>) => void, error?: (xhr: Xhr) => void, always?: () => void): Flight.Request;
|
|
10
|
+
deleteLink(id: string, videoId: string, success?: (data: HashObject<any>) => void, error?: (xhr: Xhr) => void, always?: () => void): Flight.Request;
|
|
11
|
+
};
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { Flight } from "../../../common/src/react";
|
|
2
|
+
import { HashObject } from "../../../common/src/react/interfaces/HashObject";
|
|
3
|
+
import { Xhr } from "../../../common/src/backbone/interfaces/Xhr";
|
|
4
|
+
import { UpdateResourceRequest } from "../interfaces";
|
|
5
|
+
export declare const ResourceRequests: {
|
|
6
|
+
resource(id: string): Flight.Request;
|
|
7
|
+
videoResources(videoId: string): Flight.Request;
|
|
8
|
+
addResource(videoId: string, resource: any, success?: (data: HashObject<any>) => void, error?: (xhr: Xhr) => void, always?: () => void): Flight.Request;
|
|
9
|
+
updateResource(id: string, data: UpdateResourceRequest, success?: (data: HashObject<any>) => void, error?: (xhr: Xhr) => void, always?: () => void): Flight.Request;
|
|
10
|
+
deleteResource(id: string, videoId: string, success?: (data: HashObject<any>) => void, error?: (xhr: Xhr) => void, always?: () => void): Flight.Request;
|
|
11
|
+
};
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { Flight } from "../../../common/src/react";
|
|
2
|
+
import { HashObject } from "../../../common/src/react/interfaces/HashObject";
|
|
3
|
+
import { Xhr } from "../../../common/src/backbone/interfaces/Xhr";
|
|
4
|
+
export declare const SubtitleRequests: {
|
|
5
|
+
subtitle(id: string): Flight.Request;
|
|
6
|
+
videoSubtitles(videoId: string): Flight.Request;
|
|
7
|
+
addSubtitle(videoId: string, subtitle: any, success?: (data: HashObject<any>) => void, error?: (xhr: Xhr) => void, always?: () => void): Flight.Request;
|
|
8
|
+
deleteSubtitle(id: string, videoId: string, success?: (data: HashObject<any>) => void, error?: (xhr: Xhr) => void, always?: () => void): Flight.Request;
|
|
9
|
+
};
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { Core } from "../../../common/src/backbone";
|
|
3
|
+
/**
|
|
4
|
+
* Hook used to listen to updates on a Backbone Collection
|
|
5
|
+
* and trigger a re-render.
|
|
6
|
+
*/
|
|
7
|
+
export declare function useGetCollectionItems<T>(getCollection: () => Core.Collection, onRemove?: () => void, dependencies?: React.DependencyList): T[];
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Interface for a file uploaded
|
|
3
|
+
* to FileApi
|
|
4
|
+
*/
|
|
5
|
+
export interface FileUpload {
|
|
6
|
+
id: string;
|
|
7
|
+
file: {
|
|
8
|
+
cvUpload: {
|
|
9
|
+
uploadId: string;
|
|
10
|
+
ingestUrl: string;
|
|
11
|
+
};
|
|
12
|
+
};
|
|
13
|
+
fileInfo: {
|
|
14
|
+
id: string;
|
|
15
|
+
name: string;
|
|
16
|
+
extension: string;
|
|
17
|
+
size: number;
|
|
18
|
+
url: string;
|
|
19
|
+
};
|
|
20
|
+
}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import { Core } from "../../../../../common/src/backbone";
|
|
2
|
+
import { ObjectHash } from 'backbone';
|
|
3
|
+
interface FileDropBehaviorOptions {
|
|
4
|
+
channelName: string;
|
|
5
|
+
acceptMultiple: boolean;
|
|
6
|
+
}
|
|
7
|
+
export declare class FileDropBehavior extends Core.Behavior {
|
|
8
|
+
options: FileDropBehaviorOptions;
|
|
9
|
+
private locked;
|
|
10
|
+
initialize(): void;
|
|
11
|
+
get events(): ObjectHash;
|
|
12
|
+
private lock;
|
|
13
|
+
private unlock;
|
|
14
|
+
/**
|
|
15
|
+
* https://developer.mozilla.org/en-US/docs/Web/API/HTML_Drag_and_Drop_API/File_drag_and_drop
|
|
16
|
+
*/
|
|
17
|
+
private onDrop;
|
|
18
|
+
}
|
|
19
|
+
export {};
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { Core } from "../../../../../common/src/backbone";
|
|
2
|
+
import { ObjectHash } from 'backbone';
|
|
3
|
+
interface FileSelectBehaviorOptions {
|
|
4
|
+
buttonSelector?: string;
|
|
5
|
+
channelName: string;
|
|
6
|
+
acceptMultiple: boolean;
|
|
7
|
+
mimeType: string;
|
|
8
|
+
}
|
|
9
|
+
export declare class FileSelectBehavior extends Core.Behavior {
|
|
10
|
+
options: FileSelectBehaviorOptions;
|
|
11
|
+
events(): ObjectHash;
|
|
12
|
+
private onClickSelect;
|
|
13
|
+
private onChangeFileSelect;
|
|
14
|
+
onRender(): void;
|
|
15
|
+
}
|
|
16
|
+
export {};
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
import { ObjectHash } from 'backbone';
|
|
2
|
+
import { Core } from "../../../../../common/src/backbone";
|
|
3
|
+
interface FileSelectComponentOptions extends Core.ComponentOptions {
|
|
4
|
+
title: string;
|
|
5
|
+
description: string;
|
|
6
|
+
alternateText: string;
|
|
7
|
+
mimeType: string;
|
|
8
|
+
channelName: string;
|
|
9
|
+
acceptMultiple?: boolean;
|
|
10
|
+
limitText: string;
|
|
11
|
+
isClickViewContent?: boolean;
|
|
12
|
+
}
|
|
13
|
+
export declare class FileSelectComponent extends Core.Component {
|
|
14
|
+
options: FileSelectComponentOptions;
|
|
15
|
+
constructor(options: FileSelectComponentOptions);
|
|
16
|
+
get name(): string;
|
|
17
|
+
get template(): any;
|
|
18
|
+
get lang(): string;
|
|
19
|
+
get elements(): ObjectHash;
|
|
20
|
+
get defaults(): ObjectHash;
|
|
21
|
+
get behaviors(): any[];
|
|
22
|
+
events(): ObjectHash;
|
|
23
|
+
private onDrop;
|
|
24
|
+
private onDragOver;
|
|
25
|
+
private onDragLeave;
|
|
26
|
+
viewOptions(): ObjectHash;
|
|
27
|
+
onRender(): void;
|
|
28
|
+
}
|
|
29
|
+
export {};
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { ObjectHash } from 'backbone';
|
|
2
|
+
import { Core } from "../../../../../common/src/backbone";
|
|
3
|
+
export interface FileUploadComponentOptions extends Core.ComponentOptions {
|
|
4
|
+
onClickCancelUpload: (id: string) => void;
|
|
5
|
+
}
|
|
6
|
+
export declare class FileUploadComponent extends Core.Component {
|
|
7
|
+
options: FileUploadComponentOptions;
|
|
8
|
+
constructor(options: FileUploadComponentOptions);
|
|
9
|
+
initialize(): void;
|
|
10
|
+
get name(): string;
|
|
11
|
+
get template(): any;
|
|
12
|
+
events(): ObjectHash;
|
|
13
|
+
private onClickCancelUpload;
|
|
14
|
+
viewOptions(): ObjectHash;
|
|
15
|
+
}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import { ObjectHash } from 'backbone';
|
|
2
|
+
import { Core } from "../../../../../common/src/backbone";
|
|
3
|
+
import { AnalyticsOptions } from "../../../../../analytics/src/interfaces";
|
|
4
|
+
export interface ResourceItemComponentOptions extends Core.ComponentOptions {
|
|
5
|
+
editable: boolean;
|
|
6
|
+
videoId: string;
|
|
7
|
+
getEditAppLink: (resourceId: string) => Core.AppLink;
|
|
8
|
+
onClickDelete: (resource: Core.Model) => void;
|
|
9
|
+
analyticsOptions?: AnalyticsOptions;
|
|
10
|
+
}
|
|
11
|
+
export declare class ResourceItemComponent extends Core.Component {
|
|
12
|
+
options: ResourceItemComponentOptions;
|
|
13
|
+
constructor(options: ResourceItemComponentOptions);
|
|
14
|
+
get name(): string;
|
|
15
|
+
get template(): any;
|
|
16
|
+
get className(): string;
|
|
17
|
+
events(): ObjectHash;
|
|
18
|
+
get appLinks(): Core.AppLinkHash;
|
|
19
|
+
private onClickEdit;
|
|
20
|
+
private onClickDelete;
|
|
21
|
+
viewOptions(): ObjectHash;
|
|
22
|
+
}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { Core } from "../../../../../common/src/backbone";
|
|
2
|
+
import { ObjectHash } from 'backbone';
|
|
3
|
+
export interface SubtitleItemComponentOptions extends Core.ComponentOptions {
|
|
4
|
+
onClickDelete: (resource: Core.Model) => void;
|
|
5
|
+
isClickViewContent?: boolean;
|
|
6
|
+
}
|
|
7
|
+
export declare class SubtitleItemComponent extends Core.Component {
|
|
8
|
+
options: SubtitleItemComponentOptions;
|
|
9
|
+
constructor(options: SubtitleItemComponentOptions);
|
|
10
|
+
get name(): string;
|
|
11
|
+
get template(): any;
|
|
12
|
+
get className(): string;
|
|
13
|
+
events(): ObjectHash;
|
|
14
|
+
private getEnglishName;
|
|
15
|
+
private onClickDelete;
|
|
16
|
+
viewOptions(): ObjectHash;
|
|
17
|
+
}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { DialogError } from "../../../errors/primitives/DialogError";
|
|
2
|
+
import { DialogOptions } from "../../../interfaces";
|
|
3
|
+
export declare class TooManyFilesError extends DialogError {
|
|
4
|
+
constructor();
|
|
5
|
+
get name(): string;
|
|
6
|
+
get dialogOptions(): DialogOptions;
|
|
7
|
+
}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { DialogError } from "../../../errors/primitives/DialogError";
|
|
2
|
+
import { DialogOptions } from "../../../interfaces/DialogOptions";
|
|
3
|
+
export declare class TooManyResourcesError extends DialogError {
|
|
4
|
+
resourceLimit: number;
|
|
5
|
+
constructor(resourceLimit: number);
|
|
6
|
+
get name(): string;
|
|
7
|
+
get dialogOptions(): DialogOptions;
|
|
8
|
+
}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { DialogError } from "../../../errors/primitives/DialogError";
|
|
2
|
+
import { DialogOptions } from "../../../interfaces/DialogOptions";
|
|
3
|
+
export declare class TooManySubtitlesError extends DialogError {
|
|
4
|
+
subtileLimit: number;
|
|
5
|
+
constructor(subtitleLimit: number);
|
|
6
|
+
get name(): string;
|
|
7
|
+
get dialogOptions(): DialogOptions;
|
|
8
|
+
}
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import { ImageType } from "../enums/Images";
|
|
2
|
+
export declare const ImageSelectHelper: {
|
|
3
|
+
onFileSelect(imageType: ImageType, files: FileList, onImageLoad: (image: HTMLImageElement) => void): void;
|
|
4
|
+
onReaderLoad(reader: FileReader, imageType: ImageType, onImageLoad: (image: HTMLImageElement) => void): void;
|
|
5
|
+
isImageValid(imageType: ImageType, image: HTMLImageElement): boolean;
|
|
6
|
+
};
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { BaseObject, Customer, Video } from "../interfaces";
|
|
2
|
+
import { ObjectOwnerType } from "../enums/ObjectOwnerType";
|
|
3
|
+
interface ObjectWithCustomer extends BaseObject {
|
|
4
|
+
customer?: Customer;
|
|
5
|
+
}
|
|
6
|
+
export declare const PermissionsHelper: {
|
|
7
|
+
canEditVideo(video: Video): boolean;
|
|
8
|
+
filterObjectsByOwnerType<T extends ObjectWithCustomer>(objects: T[], owner: ObjectOwnerType, currentCustomerId?: string): T[];
|
|
9
|
+
};
|
|
10
|
+
export {};
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { Subtitle } from "../interfaces";
|
|
2
|
+
export declare const SubtitleHelper: {
|
|
3
|
+
/**
|
|
4
|
+
*
|
|
5
|
+
* @param subtitle - the subtitle to get the English name for.
|
|
6
|
+
* @param allVideoSubtitles - the full list of subtitles on the video.
|
|
7
|
+
*/
|
|
8
|
+
getEnglishName(subtitle: Subtitle, allVideoSubtitles?: Subtitle[]): string;
|
|
9
|
+
};
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
import { PopupViewProps } from "../../interfaces";
|
|
3
|
+
interface DeleteLinkViewProps extends PopupViewProps {
|
|
4
|
+
linkId: string;
|
|
5
|
+
videoId: string;
|
|
6
|
+
}
|
|
7
|
+
export declare function DeleteLinkView(props: DeleteLinkViewProps): JSX.Element;
|
|
8
|
+
export {};
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
import { PopupViewProps } from "../../interfaces";
|
|
3
|
+
interface DeleteResourceViewProps extends PopupViewProps {
|
|
4
|
+
resourceId: string;
|
|
5
|
+
videoId: string;
|
|
6
|
+
}
|
|
7
|
+
export declare function DeleteResourceView(props: DeleteResourceViewProps): JSX.Element;
|
|
8
|
+
export {};
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
import { PopupViewProps } from "../../interfaces";
|
|
3
|
+
interface DeleteSubtitleViewProps extends PopupViewProps {
|
|
4
|
+
subtitleId: string;
|
|
5
|
+
videoId: string;
|
|
6
|
+
}
|
|
7
|
+
export declare function DeleteSubtitleView(props: DeleteSubtitleViewProps): JSX.Element;
|
|
8
|
+
export {};
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import * as React from 'react';
|
|
2
|
+
import { PopupViewProps, DialogOptions } from "../../interfaces";
|
|
3
|
+
interface DialogViewProps extends DialogOptions {
|
|
4
|
+
onDone?: () => void;
|
|
5
|
+
onFail?: () => void;
|
|
6
|
+
}
|
|
7
|
+
declare type PropTypes = React.PropsWithChildren<DialogViewProps & PopupViewProps>;
|
|
8
|
+
export declare function DialogView(props: PropTypes): React.ReactElement;
|
|
9
|
+
export {};
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
import { PopupViewProps } from "../../interfaces";
|
|
3
|
+
interface EditLinkViewProps extends PopupViewProps {
|
|
4
|
+
linkId: string;
|
|
5
|
+
videoId: string;
|
|
6
|
+
}
|
|
7
|
+
export declare function EditLinkView(props: EditLinkViewProps): JSX.Element;
|
|
8
|
+
export {};
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
import { PopupViewProps } from "../../interfaces";
|
|
3
|
+
interface EditResourceViewProps extends PopupViewProps {
|
|
4
|
+
resourceId: string;
|
|
5
|
+
videoId: string;
|
|
6
|
+
}
|
|
7
|
+
export declare function EditResourceView(props: EditResourceViewProps): JSX.Element;
|
|
8
|
+
export {};
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import * as React from 'react';
|
|
2
|
+
import { PopupViewProps } from "../../interfaces";
|
|
3
|
+
import { ImageType } from "../../enums/Images";
|
|
4
|
+
interface ImageUploadViewProps extends PopupViewProps {
|
|
5
|
+
imageType: ImageType;
|
|
6
|
+
popupSize?: 'sm' | 'lg' | 'xl';
|
|
7
|
+
}
|
|
8
|
+
export declare function ImageUploadView(props: ImageUploadViewProps): React.ReactElement;
|
|
9
|
+
export {};
|