@clickview/library-editor 1.1.3 → 1.1.4-rc.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/dist/bundle.js +2 -2
- package/dist/bundle.js.map +1 -1
- package/dist/en.json +1 -1
- package/dist/library-editor-app.css +3 -1
- package/dist/library-editor-app.css.map +1 -1
- package/dist/src/apps/content-updates/views/add-to-library/AddToLibraryView.d.ts +1 -3
- package/dist/src/apps/library-editor/components/folder-details/FolderDetailsComponent.d.ts +3 -1
- package/dist/src/apps/library-editor/views/add-to-exchange/AddToExchangeView.d.ts +1 -0
- package/dist/src/apps/library-editor/views/new-folder/NewFolderView.d.ts +1 -0
- package/dist/src/apps/staff-requests/components/staff-request-actions/StaffRequestActionsComponent.d.ts +1 -0
- package/dist/src/apps/upload/components/upload-folder-select/UploadFolderSelectComponent.d.ts +1 -0
- package/dist/src/apps/upload/services/VideoUploadService.d.ts +8 -0
- package/dist/src/index.d.ts +1 -0
- package/dist/src/shared/components/index.d.ts +1 -0
- package/dist/src/shared/components/left-nav/LeftNavComponent.d.ts +4 -1
- package/dist/src/shared/components/left-nav/LeftNavNodeComponent.d.ts +1 -0
- package/dist/src/shared/components/tree-dropdown/TreeDropdownComponent.d.ts +31 -0
- package/dist/src/shared/utils/FolderTreeHelpers.d.ts +1 -1
- package/package.json +1 -1
- package/dist/cv-app-dev.js +0 -104026
- package/dist/cv-app-dev.js.map +0 -1
- package/dist/cv-svg-dev.js +0 -1449
- package/dist/cv-svg-dev.js.map +0 -1
- package/dist/src/apps/search/components/index.d.ts +0 -2
- package/dist/src/apps/search/components/instant-search/index.d.ts +0 -4
- package/dist/src/apps/search/components/instant-search/recent-search/RecentSearchResultComponent.d.ts +0 -15
- package/dist/src/apps/search/components/instant-search/series/SeriesSearchResultComponent.d.ts +0 -9
- package/dist/src/apps/search/components/instant-search/tag/TagSearchResultComponent.d.ts +0 -9
- package/dist/src/apps/search/components/instant-search/video-result/VideoSearchResultComponent.d.ts +0 -15
- package/dist/src/apps/search/components/search-context/SearchContextComponent.d.ts +0 -18
- package/dist/src/apps/search/components/search-tips/SearchTipsComponent.d.ts +0 -11
- package/dist/src/apps/search/services/ContextualSearchService.d.ts +0 -37
- package/dist/src/apps/search/views/search-bar/SearchBarView.d.ts +0 -102
- package/dist/src/apps/search/views/search-bar/templates/index.d.ts +0 -9
- package/dist/src/shared/behaviors/popover/PopoverBehavior.d.ts +0 -40
- package/dist/src/shared/behaviors/tooltip/TooltipBehavior.d.ts +0 -12
- package/dist/src/shared/components/thumbnail/ThumbnailComponent.d.ts +0 -32
- package/dist/src/shared/interfaces/Tooltip.d.ts +0 -6
- package/dist/src/shared/services/ContextService.d.ts +0 -38
- package/dist/src/shared/services/LanguageService.d.ts +0 -16
- package/dist/src/shared/utils/MaskHelper.d.ts +0 -15
- package/dist/src/shared/utils/search/InstantSearchHelper.d.ts +0 -21
- package/dist/src/shared/utils/search/RecentSearchHelper.d.ts +0 -12
- package/dist/src/shared/utils/search/SearchTypes.d.ts +0 -28
- package/dist/src/shared/utils/search/TypeaheadHelper.d.ts +0 -76
- package/dist/src/shared/utils/search/raw-search-components/confirm-selection/ConfirmSelectionComponent.d.ts +0 -12
|
@@ -18,6 +18,7 @@ export declare class StaffRequestActionsComponent extends Core.Component {
|
|
|
18
18
|
get name(): string;
|
|
19
19
|
get template(): string;
|
|
20
20
|
get lang(): string;
|
|
21
|
+
get folderTreeKey(): string;
|
|
21
22
|
get className(): string;
|
|
22
23
|
get channelName(): string;
|
|
23
24
|
get viewModelName(): string;
|
package/dist/src/apps/upload/components/upload-folder-select/UploadFolderSelectComponent.d.ts
CHANGED
|
@@ -18,6 +18,7 @@ export declare class UploadFolderSelectComponent extends Core.Component {
|
|
|
18
18
|
get name(): string;
|
|
19
19
|
get template(): any;
|
|
20
20
|
get lang(): string;
|
|
21
|
+
get folderTreeKey(): string;
|
|
21
22
|
regions(): ObjectHash;
|
|
22
23
|
private hasMultipleLibraries;
|
|
23
24
|
private get libraryChannelName();
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { BaseVideoUploadService } from '@clickview/shared';
|
|
2
|
+
export declare class VideoUploadService extends BaseVideoUploadService {
|
|
3
|
+
/**
|
|
4
|
+
* We override addFiles here because we don't want to start the upload
|
|
5
|
+
* if the user does not yet have any libraries
|
|
6
|
+
*/
|
|
7
|
+
addFiles(files: File[]): void;
|
|
8
|
+
}
|
package/dist/src/index.d.ts
CHANGED
|
@@ -165,6 +165,7 @@ import './shared/components/edit-video/edit-season-info/edit-season-info.lang.js
|
|
|
165
165
|
import './shared/components/edit-video/select-rating/select-rating.lang.json';
|
|
166
166
|
import './shared/components/page-footer/page-footer.lang.json';
|
|
167
167
|
import './shared/components/pagination/pagination.lang.json';
|
|
168
|
+
import './shared/components/tree-dropdown/tree-dropdown.lang.json';
|
|
168
169
|
import './shared/components/video-actions/video-actions.lang.json';
|
|
169
170
|
import './shared/components/video-basic-info/video-basic-info.lang.json';
|
|
170
171
|
import './shared/components/video-description/video-description.lang.json';
|
|
@@ -43,3 +43,4 @@ export * from './dropdown/DropdownComponentCollection';
|
|
|
43
43
|
export * from './dropdown/DropdownItemComponent';
|
|
44
44
|
export * from './empty-state/EmptyStateComponent';
|
|
45
45
|
export * from './spinner-button/SpinnerButtonComponent';
|
|
46
|
+
export * from './tree-dropdown/TreeDropdownComponent';
|
|
@@ -6,7 +6,7 @@ export interface LeftNavComponentOptions extends Core.ComponentOptions {
|
|
|
6
6
|
channelName: string;
|
|
7
7
|
childrenProperty?: string;
|
|
8
8
|
textProperty?: string;
|
|
9
|
-
appLink
|
|
9
|
+
appLink?: Core.AppLink;
|
|
10
10
|
linkArgs?: (model: Core.Model) => any[];
|
|
11
11
|
linkParams?: (model: Core.Model) => string | ObjectHash;
|
|
12
12
|
actions?: new (...args: any[]) => Core.Component;
|
|
@@ -14,9 +14,12 @@ export interface LeftNavComponentOptions extends Core.ComponentOptions {
|
|
|
14
14
|
extraClass?: string;
|
|
15
15
|
folderTreeId: string;
|
|
16
16
|
analyticsOptions?: AnalyticsOptions;
|
|
17
|
+
isSelector?: boolean;
|
|
18
|
+
disabledIds?: ObjectHash;
|
|
17
19
|
}
|
|
18
20
|
export declare class LeftNavComponent extends Core.ComponentCollection {
|
|
19
21
|
protected options: LeftNavComponentOptions;
|
|
22
|
+
private disabledIds;
|
|
20
23
|
constructor(options?: LeftNavComponentOptions);
|
|
21
24
|
get name(): string;
|
|
22
25
|
get tagName(): string;
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
/// <reference types="jquery" />
|
|
2
|
+
import { ObjectHash } from 'backbone';
|
|
3
|
+
import { Core } from '@clickview/common';
|
|
4
|
+
import { FolderCollection } from "../../collections";
|
|
5
|
+
interface TreeDropdownComponentOptions extends Core.ComponentOptions {
|
|
6
|
+
folderTreeKey: string;
|
|
7
|
+
canCreateNew?: boolean;
|
|
8
|
+
disabledIds?: string[];
|
|
9
|
+
}
|
|
10
|
+
export declare class TreeDropdownComponent extends Core.Component {
|
|
11
|
+
options: TreeDropdownComponentOptions;
|
|
12
|
+
collection: FolderCollection;
|
|
13
|
+
private buttonText;
|
|
14
|
+
private disabledIds;
|
|
15
|
+
constructor(options: TreeDropdownComponentOptions);
|
|
16
|
+
initialize(): void;
|
|
17
|
+
get name(): string;
|
|
18
|
+
get template(): string;
|
|
19
|
+
get className(): string;
|
|
20
|
+
get lang(): string;
|
|
21
|
+
regions(): ObjectHash;
|
|
22
|
+
events(): ObjectHash;
|
|
23
|
+
get defaults(): ObjectHash;
|
|
24
|
+
get elements(): ObjectHash;
|
|
25
|
+
onClickCreateNew(e: JQuery.Event): void;
|
|
26
|
+
private setButtonText;
|
|
27
|
+
private renderSelector;
|
|
28
|
+
viewOptions(): ObjectHash;
|
|
29
|
+
onRender(): void;
|
|
30
|
+
}
|
|
31
|
+
export {};
|
|
@@ -11,7 +11,7 @@ declare const FolderTreeHelpers: {
|
|
|
11
11
|
* @param folder either the folder model or the id of the folder
|
|
12
12
|
* @param collection the folder collection
|
|
13
13
|
*/
|
|
14
|
-
setSelected(key: string, folder: string |
|
|
14
|
+
setSelected(key: string, folder: string | Core.Model, collection: FolderCollection, isDisabled?: boolean): void;
|
|
15
15
|
getSelected(key: string, collection: FolderCollection): Folder;
|
|
16
16
|
newFolder(): Folder;
|
|
17
17
|
getModelFromCollection(id: string, collection: FolderCollection): Folder;
|