@clickview/library-editor 1.1.1 → 1.1.2-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.
Files changed (65) hide show
  1. package/dist/bundle.js +2 -2
  2. package/dist/en.json +1 -1
  3. package/dist/library-editor-app.css +0 -14
  4. package/dist/src/apps/index.d.ts +1 -0
  5. package/dist/src/apps/library-editor/components/language-select/LanguageSelectTypeaheadHelper.d.ts +2 -2
  6. package/dist/src/apps/library-editor/enums/VideoCollectionSource.d.ts +4 -0
  7. package/dist/src/apps/library-editor/enums/index.d.ts +1 -0
  8. package/dist/src/apps/library-editor/services/LibraryDataService.d.ts +7 -7
  9. package/dist/src/apps/library-editor/services/SeriesDataService.d.ts +2 -1
  10. package/dist/src/apps/library-editor/services/VideoDataService.d.ts +1 -3
  11. package/dist/src/apps/library-editor/views/video-collection/VideoCollectionView.d.ts +8 -0
  12. package/dist/src/apps/notifications/utils/NotificationsHelper.d.ts +1 -1
  13. package/dist/src/apps/search/models/SearchAppVariables.d.ts +4 -0
  14. package/dist/src/apps/search/services/SearchDataService.d.ts +1 -1
  15. package/dist/src/apps/search/services/index.d.ts +0 -1
  16. package/dist/src/apps/search/utils/Enums.d.ts +0 -18
  17. package/dist/src/apps/search/utils/SearchHelper.d.ts +0 -2
  18. package/dist/src/apps/search/views/search/SearchView.d.ts +1 -0
  19. package/dist/src/apps/upload/views/upload-videos/UploadVideosView.d.ts +1 -1
  20. package/dist/src/index.d.ts +0 -3
  21. package/dist/src/shared/behaviors/index.d.ts +0 -2
  22. package/dist/src/shared/components/edit-video/edit-broadcast/EditBroadcastComponent.d.ts +1 -1
  23. package/dist/src/shared/components/index.d.ts +0 -1
  24. package/dist/src/shared/components/spinner-button/SpinnerButtonComponent.d.ts +1 -1
  25. package/dist/src/shared/components/typeahead-input/SearchTypeaheadComponent.d.ts +2 -2
  26. package/dist/src/shared/components/video-actions/VideoActionsComponent.d.ts +3 -0
  27. package/dist/src/shared/components/video-item/VideoItemComponent.d.ts +2 -0
  28. package/dist/src/shared/components/video-list/VideoListComponent.d.ts +2 -0
  29. package/dist/src/shared/constants/Search.d.ts +0 -16
  30. package/dist/src/shared/constants/Services.d.ts +0 -2
  31. package/dist/src/shared/enums/PartialLoading.d.ts +2 -5
  32. package/dist/src/shared/interfaces/index.d.ts +0 -1
  33. package/dist/src/shared/services/LanguageDataService.d.ts +6 -1
  34. package/dist/src/shared/services/RestrictedVideoDataService.d.ts +1 -2
  35. package/dist/src/shared/services/VideoMixinService.d.ts +0 -1
  36. package/dist/src/shared/services/index.d.ts +1 -4
  37. package/dist/src/shared/utils/SortHelper.d.ts +1 -1
  38. package/dist/src/shared/utils/index.d.ts +0 -1
  39. package/dist/src/shared/utils/search/RawSearchHelper.d.ts +3 -3
  40. package/dist/src/shared/utils/search/index.d.ts +0 -4
  41. package/dist/src/shared/utils/search/raw-search-components/index.d.ts +0 -1
  42. package/package.json +103 -104
  43. package/dist/src/apps/search/components/index.d.ts +0 -2
  44. package/dist/src/apps/search/components/instant-search/index.d.ts +0 -4
  45. package/dist/src/apps/search/components/instant-search/recent-search/RecentSearchResultComponent.d.ts +0 -15
  46. package/dist/src/apps/search/components/instant-search/series/SeriesSearchResultComponent.d.ts +0 -9
  47. package/dist/src/apps/search/components/instant-search/tag/TagSearchResultComponent.d.ts +0 -9
  48. package/dist/src/apps/search/components/instant-search/video-result/VideoSearchResultComponent.d.ts +0 -15
  49. package/dist/src/apps/search/components/search-context/SearchContextComponent.d.ts +0 -18
  50. package/dist/src/apps/search/components/search-tips/SearchTipsComponent.d.ts +0 -11
  51. package/dist/src/apps/search/services/ContextualSearchService.d.ts +0 -37
  52. package/dist/src/apps/search/views/search-bar/SearchBarView.d.ts +0 -102
  53. package/dist/src/apps/search/views/search-bar/templates/index.d.ts +0 -9
  54. package/dist/src/shared/behaviors/popover/PopoverBehavior.d.ts +0 -40
  55. package/dist/src/shared/behaviors/tooltip/TooltipBehavior.d.ts +0 -12
  56. package/dist/src/shared/components/thumbnail/ThumbnailComponent.d.ts +0 -32
  57. package/dist/src/shared/interfaces/Tooltip.d.ts +0 -6
  58. package/dist/src/shared/services/ContextService.d.ts +0 -38
  59. package/dist/src/shared/services/LanguageService.d.ts +0 -16
  60. package/dist/src/shared/utils/MaskHelper.d.ts +0 -15
  61. package/dist/src/shared/utils/search/InstantSearchHelper.d.ts +0 -21
  62. package/dist/src/shared/utils/search/RecentSearchHelper.d.ts +0 -12
  63. package/dist/src/shared/utils/search/SearchTypes.d.ts +0 -28
  64. package/dist/src/shared/utils/search/TypeaheadHelper.d.ts +0 -76
  65. package/dist/src/shared/utils/search/raw-search-components/confirm-selection/ConfirmSelectionComponent.d.ts +0 -12
@@ -5,20 +5,6 @@ export declare enum QueryTypes {
5
5
  HostedLibrary = "hosted_library",
6
6
  CustomLibrary = "custom_library"
7
7
  }
8
- export declare enum FilterTypes {
9
- Sources = "libraries",
10
- Folder = "folder",
11
- Tags = "tag",
12
- Ratings = "ratings",
13
- Interactives = "interactives",
14
- Resources = "resources",
15
- Subtitles = "subtitles",
16
- ProductionYear = "productionYear",
17
- ProducedByClickView = "producedByClickView",
18
- HD = "hd",
19
- Duration = "duration",
20
- Series = "series"
21
- }
22
8
  export declare enum QueryString {
23
9
  Since = "since-",
24
10
  Before = "before-",
@@ -28,10 +14,6 @@ export declare enum QueryString {
28
14
  Libraries = "libraries",
29
15
  Ratings = "ratings"
30
16
  }
31
- export declare enum SearchTypes {
32
- Direct = "direct-search",
33
- Recent = "recent-searches"
34
- }
35
17
  export declare enum FilterBehaviorTypes {
36
18
  Inclusive = "inclusive",
37
19
  Exclusive = "exclusive",
@@ -1,5 +1,4 @@
1
1
  import { ObjectHash } from 'backbone';
2
- import { Core } from '@clickview/common';
3
2
  import { LibraryCollection } from "../../../shared/collections";
4
3
  import { Query } from "../models";
5
4
  import { FilterCollection } from "../collections";
@@ -8,6 +7,5 @@ export declare const SearchHelper: {
8
7
  getQueryString(model: Query, collection: FilterCollection, cursor: string): string;
9
8
  getDynamicFilterQueryString(model: Query, collection: FilterCollection): string;
10
9
  getRouteQueryParams(model: Query, collection: FilterCollection, sources: LibraryCollection): ObjectHash;
11
- getContextualSearchQueryParams(context: Core.Model): ObjectHash;
12
10
  encodeURL(query: string): string;
13
11
  };
@@ -6,6 +6,7 @@ interface SearchViewOptions extends Core.ViewOptions<Query> {
6
6
  }
7
7
  export declare class SearchView extends Core.View<Query> {
8
8
  protected options: SearchViewOptions;
9
+ private contextualSearchService;
9
10
  private searchDataService;
10
11
  private videoDataService;
11
12
  private ratingsDataService;
@@ -1,5 +1,5 @@
1
- import { Core } from '@clickview/common';
2
1
  import { ObjectHash } from 'backbone';
2
+ import { Core } from '@clickview/common';
3
3
  import { AnalyticsOptions } from '@clickview/analytics';
4
4
  interface UploadVideosViewOptions extends Core.ViewOptions {
5
5
  folderId?: string;
@@ -128,10 +128,7 @@ import './apps/search/components/filters/filters.lang.json';
128
128
  import './apps/search/components/filters/more-filters-button/more-filters-button.lang.json';
129
129
  import './apps/search/components/results/search-results.lang.json';
130
130
  import './apps/search/components/search-header/search-header.lang.json';
131
- import './apps/search/components/search-tips/search-tips.lang.json';
132
- import './apps/search/services/search-services.lang.json';
133
131
  import './apps/search/utils/search-utils.lang.json';
134
- import './apps/search/views/search-bar/search-bar.lang.json';
135
132
  import './apps/search/views/search/search.lang.json';
136
133
  import './apps/staff-requests/components/staff-request-actions/staff-request-actions.lang.json';
137
134
  import './apps/staff-requests/components/staff-request-details/staff-request-details.lang.json';
@@ -6,7 +6,5 @@ export * from './lock-layout-file-drop/LockLayoutFileDropBehavior';
6
6
  export * from './backbone-validation/BackboneValidationBehavior';
7
7
  export * from './empty-state/EmptyStateBehavior';
8
8
  export * from './lazy-load/LazyLoadBehavior';
9
- export * from './popover/PopoverBehavior';
10
9
  export * from './popup/PopupBehavior';
11
10
  export * from './stickit/StickitBehavior';
12
- export * from './tooltip/TooltipBehavior';
@@ -1,5 +1,5 @@
1
- import { Core } from '@clickview/common';
2
1
  import { ObjectHash } from 'backbone';
2
+ import { Core } from '@clickview/common';
3
3
  import { Video } from "../../../models";
4
4
  interface EditBroadcastComponentOptions extends Core.ComponentOptions<Video> {
5
5
  editable?: boolean;
@@ -20,7 +20,6 @@ export * from './video-basic-info/VideoBasicInfoComponent';
20
20
  export * from './video-item-preview/VideoItemPreviewComponent';
21
21
  export * from './video-preview/VideoPreviewComponent';
22
22
  export * from './page-header/PageHeaderComponent';
23
- export * from './thumbnail/ThumbnailComponent';
24
23
  export * from './video-item';
25
24
  export * from './video-description/VideoDescriptionComponent';
26
25
  export * from './video-list/VideoListComponent';
@@ -1,6 +1,6 @@
1
1
  import { ObjectHash } from 'backbone';
2
2
  import { Core } from '@clickview/common';
3
- import { TooltipOptions } from "../../interfaces";
3
+ import { TooltipOptions } from '@clickview/shared';
4
4
  import { SpinnerOptions } from "../../utils";
5
5
  export declare const SpinnerButtonEvents: {
6
6
  ShowSpinner: string;
@@ -1,7 +1,7 @@
1
1
  /// <reference types="typeahead" />
2
- import { Core } from '@clickview/common';
3
2
  import { ObjectHash } from 'backbone';
4
- import { TypeaheadConfigHandler, TypeaheadSourceItem } from "../../utils/search";
3
+ import { Core } from '@clickview/common';
4
+ import { TypeaheadConfigHandler, TypeaheadSourceItem } from '@clickview/shared';
5
5
  interface TypeaheadCallbacks {
6
6
  onRender?: Function;
7
7
  onInput?: Function;
@@ -3,6 +3,7 @@ import { Core } from '@clickview/common';
3
3
  import { AnalyticsOptions } from '@clickview/analytics';
4
4
  import { VideoCollectionIdentifier } from "../../interfaces";
5
5
  import { Video, Config } from "../../models";
6
+ import { VideoCollectionSource } from "../../../apps/library-editor/enums";
6
7
  export interface VideoActionsComponentOptions extends Core.ComponentOptions<Video> {
7
8
  showActionLabels?: boolean;
8
9
  application: string;
@@ -12,6 +13,7 @@ export interface VideoActionsComponentOptions extends Core.ComponentOptions<Vide
12
13
  routeToFolderOnDelete?: boolean;
13
14
  analyticsOptions?: AnalyticsOptions;
14
15
  config: Config;
16
+ collectionSource?: VideoCollectionSource;
15
17
  }
16
18
  export declare class VideoActionsComponent extends Core.Component<Video> {
17
19
  options: VideoActionsComponentOptions;
@@ -29,6 +31,7 @@ export declare class VideoActionsComponent extends Core.Component<Video> {
29
31
  private onClickMore;
30
32
  private getActions;
31
33
  private getEditTooltip;
34
+ private getFolderSourceId;
32
35
  private getMoreActions;
33
36
  private renderActions;
34
37
  private renderMoreActions;
@@ -4,6 +4,7 @@ import { AnalyticsOptions } from '@clickview/analytics';
4
4
  import { Video, Config } from "../../models";
5
5
  import { VideoCollectionIdentifier } from "../../interfaces";
6
6
  import { VideoItemComponentType, VideoSourcesMetadataComponentOptions } from "..";
7
+ import { VideoCollectionSource } from "../../../apps/library-editor/enums";
7
8
  export interface VideoItemComponentOptions extends Core.ComponentOptions<Video> {
8
9
  componentType?: VideoItemComponentType;
9
10
  videoWithMetadata?: Video;
@@ -18,6 +19,7 @@ export interface VideoItemComponentOptions extends Core.ComponentOptions<Video>
18
19
  customerHasExchange?: boolean;
19
20
  analyticsOptions?: AnalyticsOptions;
20
21
  videoItemSelector?: string;
22
+ videoCollectionSource: VideoCollectionSource;
21
23
  }
22
24
  export declare class VideoItemComponent extends Core.Component<Video> {
23
25
  options: VideoItemComponentOptions;
@@ -7,6 +7,7 @@ import { Config } from "../../models";
7
7
  import { EmptyState } from "../../enums";
8
8
  import { EmptyStateOptions } from "../../constants";
9
9
  import { VideoCollection } from "../../collections";
10
+ import { VideoCollectionSource } from "../../../apps/library-editor/enums";
10
11
  interface VideoListComponentOptions extends Core.ComponentOptions {
11
12
  videoItemComponentType?: VideoItemComponentType;
12
13
  videosWithMetadata?: VideoCollection;
@@ -23,6 +24,7 @@ interface VideoListComponentOptions extends Core.ComponentOptions {
23
24
  customerHasLocalCache?: boolean;
24
25
  customerHasExchange?: boolean;
25
26
  analyticsOptions?: AnalyticsOptions;
27
+ videoCollectionSource?: VideoCollectionSource;
26
28
  }
27
29
  export declare class VideoListComponent extends Core.Component {
28
30
  options: VideoListComponentOptions;
@@ -5,22 +5,6 @@ export declare enum LibraryType {
5
5
  CustomLibrary = "custom_library",
6
6
  Workspace = "workspace"
7
7
  }
8
- export declare enum BloodhoundType {
9
- Remote = 0,
10
- Local = 1
11
- }
12
- export declare const TypeaheadConfiguration: {
13
- /**
14
- * Request remote data after character input meets length
15
- */
16
- ActivationLength: number;
17
- SuggestionLimit: {
18
- Min: number;
19
- Default: number;
20
- Folder: number;
21
- Recent: number;
22
- };
23
- };
24
8
  export declare enum SearchQueryType {
25
9
  Video = "videos",
26
10
  Folder = "categories",
@@ -19,7 +19,6 @@ declare enum Services {
19
19
  PageVisibility = "PageVisibility",
20
20
  PageTitle = "PageTitle",
21
21
  Language = "LanguageService",
22
- ContextualSearch = "ContextualSearchService",
23
22
  Intercom = "IntercomService"
24
23
  }
25
24
  declare enum DataServices {
@@ -28,7 +27,6 @@ declare enum DataServices {
28
27
  Customer = "CustomerDataService",
29
28
  Library = "LibraryDataService",
30
29
  Video = "VideoDataService",
31
- Search = "SearchDataService",
32
30
  Notifications = "NotificationDataService",
33
31
  NotificationsSocket = "NotificationSocketService",
34
32
  Settings = "SettingsDataService",
@@ -33,9 +33,6 @@ export declare enum PartialLoading {
33
33
  LibraryFolders = 31,
34
34
  EditResourcesCVContent = 32,
35
35
  TagFilter = 33,
36
- VideoItemPreview = 34
37
- }
38
- export declare enum PartialLoadingComponentTypes {
39
- Component = 1,
40
- ComponentCollection = 2
36
+ VideoItemPreview = 34,
37
+ Unselected = 35
41
38
  }
@@ -3,4 +3,3 @@ export * from './VideoCollectionIdentifier';
3
3
  export * from './RecentVideoCollectionIdentifier';
4
4
  export * from './RecentVideoSubjectCollectionIdentifier';
5
5
  export * from './LibraryFoldersIdentifier';
6
- export * from './Tooltip';
@@ -1,7 +1,12 @@
1
+ import { ObjectHash } from 'backbone';
1
2
  import { BaseDataService } from '@clickview/common';
2
- import { LanguageConfig } from "../models";
3
+ interface LanguageConfig {
4
+ locale: string;
5
+ phrases: ObjectHash;
6
+ }
3
7
  export declare class LanguageDataService extends BaseDataService {
4
8
  get name(): string;
5
9
  get channelName(): string;
6
10
  getLanguageConfig(callback?: (languageConfig: LanguageConfig) => void): void;
7
11
  }
12
+ export {};
@@ -1,7 +1,6 @@
1
- import { BaseDataService } from '@clickview/common';
1
+ import { Cursors, BaseDataService } from '@clickview/common';
2
2
  import { VideoCollection, RestrictedObjectCollection } from "../collections";
3
3
  import { VideoCollectionIdentifier } from "../interfaces/VideoCollectionIdentifier";
4
- import { Cursors } from '@clickview/common';
5
4
  export declare class RestrictedVideoDataService extends BaseDataService {
6
5
  get name(): string;
7
6
  get channelName(): string;
@@ -4,7 +4,6 @@ import { VideoCollectionIdentifier } from "../interfaces";
4
4
  import { Video } from "../models";
5
5
  export declare class VideoMixinService extends Core.Service {
6
6
  private restrictedVideoDataService;
7
- private localCacheDataService;
8
7
  initialize(): void;
9
8
  get name(): string;
10
9
  get channelName(): string;
@@ -6,13 +6,10 @@ export * from './PartialLoadingService';
6
6
  export * from './SettingsDataService';
7
7
  export * from './CustomerDataService';
8
8
  export * from './LocalCacheDataService';
9
- export * from './VideoMixinService';
10
9
  export * from './RestrictedVideoDataService';
11
10
  export * from './PageVisibilityService';
12
11
  export * from './PageTitleService';
13
- export * from './ContextService';
14
- export * from './LanguageService';
12
+ export * from './VideoMixinService';
15
13
  export * from './LanguageDataService';
16
- export * from './ContextService';
17
14
  export * from './DownloadProxyDataServices';
18
15
  export * from './IntercomService';
@@ -1,6 +1,6 @@
1
+ import { ObjectHash } from 'backbone';
1
2
  import { Core } from '@clickview/common';
2
3
  import { SortType, ExportServiceSortType } from "../enums";
3
- import { ObjectHash } from 'backbone';
4
4
  declare const SortHelper: {
5
5
  GetCurrentSortType(): SortType;
6
6
  GetSortViewModel(): Core.Model;
@@ -6,7 +6,6 @@ export * from './TimeHelper';
6
6
  export * from './SettingsHelper';
7
7
  export * from './FolderTreeHelpers';
8
8
  export * from './TextHelper';
9
- export * from './MaskHelper';
10
9
  export * from './PermissionsHelper';
11
10
  export * from './ImageHelper';
12
11
  export * from './RatingHelper';
@@ -1,13 +1,13 @@
1
1
  /// <reference types="jquery" />
2
2
  import { ObjectHash } from 'backbone';
3
- import * as Search from "./";
3
+ import { TypeaheadDataSource, BloodhoundConfigHandler } from '@clickview/shared';
4
4
  import { Tag, Producer, Distributor, Series, Channel } from "../../models";
5
5
  declare type RawSearchType = Producer | Distributor | Series | Channel | Tag;
6
6
  /**
7
7
  * Specific logic for processing responses from domain instant/raw endpoint
8
8
  */
9
9
  export declare const RawSearchHelper: {
10
- handleQuery(dataSource?: Search.TypeaheadDataSource<RawSearchType>, options?: ObjectHash): Search.TypeaheadDataSource<RawSearchType>;
10
+ handleQuery(dataSource?: TypeaheadDataSource<RawSearchType>, options?: ObjectHash): TypeaheadDataSource<RawSearchType>;
11
11
  getSuggestionTemplate(sourceName: string): any;
12
12
  getPendingTemplate(sourceName: string): any;
13
13
  getNotFoundTemplate(sourceName: string, hideEmptyResults?: boolean): any;
@@ -15,7 +15,7 @@ export declare const RawSearchHelper: {
15
15
  prepareQuery: (query: string, settings: JQueryAjaxSettings, options?: ObjectHash) => string;
16
16
  prepareUrl(source: string, options: ObjectHash): string;
17
17
  mapRawSearchType(source: string, options: ObjectHash): string;
18
- getBloodhoundConfig(): Search.BloodhoundConfigHandler<RawSearchType>;
18
+ getBloodhoundConfig(): BloodhoundConfigHandler<RawSearchType>;
19
19
  getTypeaheadConfig(): any;
20
20
  };
21
21
  export {};
@@ -1,5 +1 @@
1
- export * from './InstantSearchHelper';
2
- export * from './RecentSearchHelper';
3
- export * from './TypeaheadHelper';
4
- export * from './SearchTypes';
5
1
  export * from './RawSearchHelper';
@@ -1,2 +1 @@
1
- export * from './confirm-selection/ConfirmSelectionComponent';
2
1
  export * from './add-new/AddNewSuggestion';
package/package.json CHANGED
@@ -1,104 +1,103 @@
1
- {
2
- "name": "@clickview/library-editor",
3
- "description": "Library Editor",
4
- "version": "1.1.1",
5
- "main": "dist/bundle.js",
6
- "types": "dist/src/index.d.ts",
7
- "scripts": {
8
- "clean-deps": "rd /s /q \"node_modules\"",
9
- "dev": "run-s vendor-dev watch",
10
- "prod": "run-s vendor-prod webpack-prod validate",
11
- "validate": "node ./tooling/buildValidator.js",
12
- "watch": "npm run webpack-dev -- --watch",
13
- "dev-vendor": "set NODE_ENV=development&& node ./tooling/bundleHelper.js",
14
- "webpack-dev": "set NODE_ENV=development&& webpack --config ./tooling/webpack.config.js",
15
- "vendor-dev": "set NODE_ENV=development&& node ./tooling/bundleHelper.js",
16
- "dotnet-dev": "dotnet run --launch-profile Development",
17
- "webpack-prod": "set NODE_ENV=production&& node --max_old_space_size=6144 node_modules\\webpack\\bin\\webpack --config ./tooling/webpack.config.js",
18
- "vendor-prod": "set NODE_ENV=production&& node ./tooling/bundleHelper.js",
19
- "dotnet-prod": "dotnet run --launch-profile Production",
20
- "start-old": "run-p link dev dotnet-dev",
21
- "start-prod": "run-s prod dotnet-prod",
22
- "start": "set NODE_ENV=development&& webpack -w --config ./tooling/webpack.config.js",
23
- "build": "set NODE_ENV=production&& webpack --config ./tooling/webpack.config.js",
24
- "dev-build": "set NODE_ENV=development&& webpack --config ./tooling/webpack.config.js"
25
- },
26
- "repository": {
27
- "type": "git",
28
- "url": "http://gitlab.cvinternal.net/Online/Cloud"
29
- },
30
- "author": "Shale Kuzmanovski, Michael McDonnell",
31
- "license": "ISC",
32
- "devDependencies": {
33
- "@clickview/tooling": "0.0.10",
34
- "@fortawesome/fontawesome": "1.1.8",
35
- "@types/clipboard": "2.0.1",
36
- "@types/cropperjs": "1.1.5",
37
- "@types/dropzone": "5.0.6",
38
- "@types/jqueryui": "1.12.7",
39
- "@types/linkifyjs": "2.1.2",
40
- "@types/node-polyglot": "0.4.33",
41
- "@types/typeahead": "0.11.32",
42
- "@types/webpack-env": "1.13.9",
43
- "babel-minify-webpack-plugin": "0.3.1",
44
- "mkdirp": "0.5.1",
45
- "node-sass": "4.12.0",
46
- "npm-run-all": "4.1.5",
47
- "postcss-cli": "6.1.3",
48
- "postcss-sass": "0.4.1",
49
- "prettier": "1.18.2",
50
- "regenerator-runtime": "0.13.3",
51
- "rev-hash": "3.0.0",
52
- "stylelint-config-recommended": "2.2.0",
53
- "stylelint-scss": "3.9.0",
54
- "typedoc": "0.14.2",
55
- "webpack-bundle-analyzer": "3.3.2",
56
- "webpack-dev-middleware": "3.7.0",
57
- "webpack-env": "0.8.0",
58
- "webpack-hot-middleware": "2.25.0",
59
- "webpack-stats-plugin": "0.2.1",
60
- "write-json-file": "4.1.1"
61
- },
62
- "dependencies": {
63
- "@babel/polyfill": "7.4.4",
64
- "@clickview/analytics": "1.0.0",
65
- "@clickview/common": "1.0.0",
66
- "@clickview/shared": "1.0.0",
67
- "@clickview/styles": "1.0.0",
68
- "autotrack": "2.4.1",
69
- "backbone-validation": "0.11.5",
70
- "bootstrap": "4.3.1",
71
- "clipboard": "2.0.4",
72
- "corejs-typeahead": "1.2.1",
73
- "cropperjs": "1.5.3",
74
- "dropzone": "5.5.1",
75
- "jquery-ui": "1.12.1",
76
- "linkifyjs": "2.1.8",
77
- "moment": "2.24.0",
78
- "node-polyglot": "2.3.0",
79
- "signalr": "2.4.0",
80
- "tempusdominus-bootstrap-4": "5.1.2"
81
- },
82
- "browserslist": [
83
- "Firefox >= 22",
84
- "Chrome >= 28",
85
- "Safari >= 6",
86
- "IE >= 11",
87
- "Edge >= 20"
88
- ],
89
- "babel": {
90
- "presets": [
91
- [
92
- "@babel/preset-env",
93
- {
94
- "corejs": 2,
95
- "useBuiltIns": "entry"
96
- }
97
- ]
98
- ]
99
- },
100
- "vendorBundle": {
101
- "name": "cv-vendor",
102
- "hash": "50a185b299"
103
- }
104
- }
1
+ {
2
+ "name": "@clickview/library-editor",
3
+ "description": "Library Editor",
4
+ "version": "1.1.2-rc.0",
5
+ "main": "dist/bundle.js",
6
+ "types": "dist/src/index.d.ts",
7
+ "scripts": {
8
+ "clean-deps": "rd /s /q \"node_modules\"",
9
+ "dev": "run-s vendor-dev watch",
10
+ "prod": "run-s vendor-prod webpack-prod validate",
11
+ "validate": "node ./tooling/buildValidator.js",
12
+ "watch": "npm run webpack-dev -- --watch",
13
+ "dev-vendor": "set NODE_ENV=development&& node ./tooling/bundleHelper.js",
14
+ "webpack-dev": "set NODE_ENV=development&& webpack --config ./tooling/webpack.config.js",
15
+ "vendor-dev": "set NODE_ENV=development&& node ./tooling/bundleHelper.js",
16
+ "dotnet-dev": "dotnet run --launch-profile Development",
17
+ "webpack-prod": "set NODE_ENV=production&& node --max_old_space_size=6144 node_modules\\webpack\\bin\\webpack --config ./tooling/webpack.config.js",
18
+ "vendor-prod": "set NODE_ENV=production&& node ./tooling/bundleHelper.js",
19
+ "dotnet-prod": "dotnet run --launch-profile Production",
20
+ "start-old": "run-p link dev dotnet-dev",
21
+ "start-prod": "run-s prod dotnet-prod",
22
+ "start": "set NODE_ENV=development&& webpack -w --config ./tooling/webpack.config.js",
23
+ "build": "set NODE_ENV=production&& webpack --config ./tooling/webpack.config.js",
24
+ "dev-build": "set NODE_ENV=development&& webpack --config ./tooling/webpack.config.js"
25
+ },
26
+ "repository": {
27
+ "type": "git",
28
+ "url": "http://gitlab.cvinternal.net/Online/Cloud"
29
+ },
30
+ "author": "Shale Kuzmanovski, Michael McDonnell",
31
+ "license": "ISC",
32
+ "devDependencies": {
33
+ "@clickview/tooling": "0.0.11-alpha.4",
34
+ "@fortawesome/fontawesome": "1.1.8",
35
+ "@types/clipboard": "2.0.1",
36
+ "@types/cropperjs": "1.1.5",
37
+ "@types/dropzone": "5.0.6",
38
+ "@types/jqueryui": "1.12.7",
39
+ "@types/linkifyjs": "2.1.2",
40
+ "@types/node-polyglot": "0.4.33",
41
+ "@types/typeahead": "0.11.32",
42
+ "@types/webpack-env": "1.13.9",
43
+ "babel-minify-webpack-plugin": "0.3.1",
44
+ "mkdirp": "0.5.1",
45
+ "node-sass": "4.12.0",
46
+ "npm-run-all": "4.1.5",
47
+ "postcss-cli": "6.1.3",
48
+ "postcss-sass": "0.4.1",
49
+ "prettier": "1.18.2",
50
+ "regenerator-runtime": "0.13.3",
51
+ "rev-hash": "3.0.0",
52
+ "stylelint-config-recommended": "2.2.0",
53
+ "stylelint-scss": "3.9.0",
54
+ "typedoc": "0.14.2",
55
+ "webpack-bundle-analyzer": "3.3.2",
56
+ "webpack-dev-middleware": "3.7.0",
57
+ "webpack-env": "0.8.0",
58
+ "webpack-hot-middleware": "2.25.0",
59
+ "webpack-stats-plugin": "0.2.1",
60
+ "write-json-file": "4.1.1"
61
+ },
62
+ "dependencies": {
63
+ "@babel/polyfill": "7.4.4",
64
+ "@clickview/analytics": "1.0.1-alpha.4",
65
+ "@clickview/common": "1.0.1-alpha.4",
66
+ "@clickview/shared": "1.0.1-alpha.4",
67
+ "@clickview/styles": "1.0.1-alpha.4",
68
+ "autotrack": "2.4.1",
69
+ "bootstrap": "4.3.1",
70
+ "clipboard": "2.0.4",
71
+ "corejs-typeahead": "1.2.1",
72
+ "cropperjs": "1.5.3",
73
+ "dropzone": "5.5.1",
74
+ "jquery-ui": "1.12.1",
75
+ "linkifyjs": "2.1.8",
76
+ "moment": "2.24.0",
77
+ "node-polyglot": "2.3.0",
78
+ "signalr": "2.4.0",
79
+ "tempusdominus-bootstrap-4": "5.1.2"
80
+ },
81
+ "browserslist": [
82
+ "Firefox >= 22",
83
+ "Chrome >= 28",
84
+ "Safari >= 6",
85
+ "IE >= 11",
86
+ "Edge >= 20"
87
+ ],
88
+ "babel": {
89
+ "presets": [
90
+ [
91
+ "@babel/preset-env",
92
+ {
93
+ "corejs": 2,
94
+ "useBuiltIns": "entry"
95
+ }
96
+ ]
97
+ ]
98
+ },
99
+ "vendorBundle": {
100
+ "name": "cv-vendor",
101
+ "hash": "50a185b299"
102
+ }
103
+ }
@@ -1,2 +0,0 @@
1
- export * from './search-tips/SearchTipsComponent';
2
- export * from './search-context/SearchContextComponent';
@@ -1,4 +0,0 @@
1
- export * from './recent-search/RecentSearchResultComponent';
2
- export * from './series/SeriesSearchResultComponent';
3
- export * from './tag/TagSearchResultComponent';
4
- export * from './video-result/VideoSearchResultComponent';
@@ -1,15 +0,0 @@
1
- import { ObjectHash } from 'backbone';
2
- import { Core } from '@clickview/common';
3
- interface RecentSearchResultComponentOptions extends Core.ComponentOptions {
4
- channelName: string;
5
- }
6
- export declare class RecentSearchResultComponent extends Core.Component {
7
- constructor(options: RecentSearchResultComponentOptions);
8
- get name(): string;
9
- get template(): string;
10
- get className(): string;
11
- events(): ObjectHash;
12
- viewOptions(): ObjectHash;
13
- private onClick;
14
- }
15
- export {};
@@ -1,9 +0,0 @@
1
- import { ObjectHash } from 'backbone';
2
- import { Core } from '@clickview/common';
3
- export declare class SeriesSearchResultComponent extends Core.Component {
4
- get name(): string;
5
- get template(): string;
6
- get className(): string;
7
- events(): ObjectHash;
8
- private onClick;
9
- }
@@ -1,9 +0,0 @@
1
- import { ObjectHash } from 'backbone';
2
- import { Core } from '@clickview/common';
3
- export declare class TagSearchResultComponent extends Core.Component {
4
- get name(): string;
5
- get template(): string;
6
- get className(): string;
7
- events(): ObjectHash;
8
- private onClick;
9
- }
@@ -1,15 +0,0 @@
1
- import { ObjectHash } from 'backbone';
2
- import { Core } from '@clickview/common';
3
- export declare class VideoSearchResultComponent extends Core.Component<any> {
4
- get name(): string;
5
- get template(): string;
6
- get className(): string;
7
- regions(): ObjectHash;
8
- events(): ObjectHash;
9
- private onClick;
10
- private getCollection;
11
- private getUrl;
12
- private renderThumbnail;
13
- viewOptions(): ObjectHash;
14
- onRender(): void;
15
- }