@clickview/exchange 0.0.0 → 0.0.1-dev.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 (58) hide show
  1. package/.eslintrc.json +2 -2
  2. package/dist/bundles.json +2 -2
  3. package/dist/css/214-exchange-a6069ef511.chunk.css +1 -0
  4. package/dist/css/243-exchange-98ea4f6ba6.chunk.css +51 -0
  5. package/dist/css/268-exchange-5147d7dafc.chunk.css +31 -0
  6. package/dist/css/273-exchange-376789f053.chunk.css +2 -0
  7. package/dist/css/498-exchange-bda8919aee.chunk.css +50 -0
  8. package/dist/css/637-exchange-7b8b1d8597.chunk.css +7 -0
  9. package/dist/css/867-exchange-9212311cc7.chunk.css +3 -0
  10. package/dist/css/90-exchange-34558cb09b.chunk.css +33 -0
  11. package/dist/css/920-exchange-e0232d3271.chunk.css +4 -0
  12. package/dist/css/967-exchange-8a06d563ce.chunk.css +8 -0
  13. package/dist/css/{lite-exchange-e07742bb7a.css → lite-exchange-11da8fa6e3.css} +2 -1
  14. package/dist/languages/en.json +1 -1
  15. package/dist/scripts/127-3669c03115-exchange.chunk.js +1 -0
  16. package/dist/scripts/214-d730199dbd-exchange.chunk.js +1 -0
  17. package/dist/scripts/243-1a6c42f0c1-exchange.chunk.js +2 -0
  18. package/dist/scripts/243-1a6c42f0c1-exchange.chunk.js.LICENSE.txt +1 -0
  19. package/dist/scripts/251-d60c2f8458-exchange.chunk.js +2 -0
  20. package/dist/scripts/251-d60c2f8458-exchange.chunk.js.LICENSE.txt +13 -0
  21. package/dist/scripts/267-c794745bc7-exchange.chunk.js +2 -0
  22. package/dist/scripts/267-c794745bc7-exchange.chunk.js.LICENSE.txt +1 -0
  23. package/dist/scripts/268-82f484e07a-exchange.chunk.js +1 -0
  24. package/dist/scripts/273-6b51338fa0-exchange.chunk.js +1 -0
  25. package/dist/scripts/351-bb632828a4-exchange.chunk.js +1 -0
  26. package/dist/scripts/442-f089c95007-exchange.chunk.js +1 -0
  27. package/dist/scripts/498-f12ae3d243-exchange.chunk.js +1 -0
  28. package/dist/scripts/{601-147be3249c-exchange.chunk.js → 601-749f701fb0-exchange.chunk.js} +1 -1
  29. package/dist/scripts/611-8f619aff9d-exchange.chunk.js +1 -0
  30. package/dist/scripts/612-62874e57da-exchange.chunk.js +2 -0
  31. package/dist/scripts/612-62874e57da-exchange.chunk.js.LICENSE.txt +1 -0
  32. package/dist/scripts/637-f312680f75-exchange.chunk.js +1 -0
  33. package/dist/scripts/649-cb5a724c81-exchange.chunk.js +1 -0
  34. package/dist/scripts/{682-f4ddb59bee-exchange.chunk.js → 682-b7bdcbe2a8-exchange.chunk.js} +1 -1
  35. package/dist/scripts/70-f24936c4d3-exchange.chunk.js +1 -0
  36. package/dist/scripts/725-c1517598e5-exchange.chunk.js +1 -0
  37. package/dist/scripts/851-d71bd07a22-exchange.chunk.js +1 -0
  38. package/dist/scripts/867-108de6a060-exchange.chunk.js +1 -0
  39. package/dist/scripts/90-73fc8286c0-exchange.chunk.js +1 -0
  40. package/dist/scripts/91-2e27cf99bd-exchange.chunk.js +1 -0
  41. package/dist/scripts/920-3f8ab3dd21-exchange.chunk.js +1 -0
  42. package/dist/scripts/{925-0da46826f4-exchange.chunk.js → 925-f30ba100dc-exchange.chunk.js} +1 -1
  43. package/dist/scripts/952-245618ec68-exchange.chunk.js +1 -0
  44. package/dist/scripts/967-2db4e1019e-exchange.chunk.js +1 -0
  45. package/dist/scripts/972-b81f6f8450-exchange.chunk.js +1 -0
  46. package/dist/scripts/bundle-59eb82b596.min.js +2 -0
  47. package/dist/scripts/{bundle-c827892a13.min.js.LICENSE.txt → bundle-59eb82b596.min.js.LICENSE.txt} +58 -0
  48. package/jest.config.js +11 -11
  49. package/package.json +36 -36
  50. package/typings/libs/CVLanguages.d.ts +24 -0
  51. package/typings/libs/cloneDeep.d.ts +4 -4
  52. package/typings/libs/intersection-observer.d.ts +82 -82
  53. package/typings/libs/trackjs.d.ts +2 -2
  54. package/typings/libs/videojs-contrib-quality-levels.d.ts +29 -0
  55. package/typings/utils/imports.d.ts +11 -11
  56. package/dist/scripts/171-b84a29422d-exchange.chunk.js +0 -1
  57. package/dist/scripts/268-511d97d8ee-exchange.chunk.js +0 -1
  58. package/dist/scripts/bundle-c827892a13.min.js +0 -2
@@ -4,6 +4,12 @@
4
4
  http://jedwatson.github.io/classnames
5
5
  */
6
6
 
7
+ /*!
8
+ * Bootstrap v4.6.2 (https://getbootstrap.com/)
9
+ * Copyright 2011-2022 The Bootstrap Authors (https://github.com/twbs/bootstrap/graphs/contributors)
10
+ * Licensed under MIT (https://github.com/twbs/bootstrap/blob/main/LICENSE)
11
+ */
12
+
7
13
  /*!
8
14
  * Cropper.js v1.5.6
9
15
  * https://fengyuanchen.github.io/cropperjs
@@ -115,6 +121,58 @@
115
121
  * LICENSE file in the root directory of this source tree.
116
122
  */
117
123
 
124
+ /**!
125
+
126
+ @license
127
+ handlebars v4.4.3
128
+
129
+ Copyright (C) 2011-2017 by Yehuda Katz
130
+
131
+ Permission is hereby granted, free of charge, to any person obtaining a copy
132
+ of this software and associated documentation files (the "Software"), to deal
133
+ in the Software without restriction, including without limitation the rights
134
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
135
+ copies of the Software, and to permit persons to whom the Software is
136
+ furnished to do so, subject to the following conditions:
137
+
138
+ The above copyright notice and this permission notice shall be included in
139
+ all copies or substantial portions of the Software.
140
+
141
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
142
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
143
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
144
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
145
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
146
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
147
+ THE SOFTWARE.
148
+
149
+ */
150
+
151
+ /**!
152
+ * @fileOverview Kickass library to create and place poppers near their reference elements.
153
+ * @version 1.16.1
154
+ * @license
155
+ * Copyright (c) 2016 Federico Zivolo and contributors
156
+ *
157
+ * Permission is hereby granted, free of charge, to any person obtaining a copy
158
+ * of this software and associated documentation files (the "Software"), to deal
159
+ * in the Software without restriction, including without limitation the rights
160
+ * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
161
+ * copies of the Software, and to permit persons to whom the Software is
162
+ * furnished to do so, subject to the following conditions:
163
+ *
164
+ * The above copyright notice and this permission notice shall be included in all
165
+ * copies or substantial portions of the Software.
166
+ *
167
+ * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
168
+ * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
169
+ * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
170
+ * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
171
+ * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
172
+ * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
173
+ * SOFTWARE.
174
+ */
175
+
118
176
  //! moment.js
119
177
 
120
178
  //! moment.js locale configuration
package/jest.config.js CHANGED
@@ -1,12 +1,12 @@
1
- const getBaseConfig = require('../../libs/testing/jest.base.config');
2
- const { compilerOptions } = require('./tsconfig');
3
-
4
- const paths = {
5
- ...compilerOptions.paths,
6
- 'shared/*': ['./src/shared/*'],
7
- 'apps/*': ['./src/apps/*']
8
- };
9
-
10
- delete paths['*'];
11
-
1
+ const getBaseConfig = require('../../libs/testing/jest.base.config');
2
+ const { compilerOptions } = require('./tsconfig');
3
+
4
+ const paths = {
5
+ ...compilerOptions.paths,
6
+ 'shared/*': ['./src/shared/*'],
7
+ 'apps/*': ['./src/apps/*']
8
+ };
9
+
10
+ delete paths['*'];
11
+
12
12
  module.exports = getBaseConfig(paths);
package/package.json CHANGED
@@ -1,36 +1,36 @@
1
- {
2
- "name": "@clickview/exchange",
3
- "version": "0.0.0",
4
- "description": "ClickView exchange",
5
- "main": "dist/scripts/bundle.js",
6
- "scripts": {
7
- "start": "cross-env NODE_ENV=development webpack -w --config ./tooling/webpack.config.js",
8
- "build": "cross-env NODE_ENV=production webpack --config ./tooling/webpack.config.js",
9
- "test": "jest",
10
- "test-watch": "jest --watch"
11
- },
12
- "repository": {
13
- "type": "git",
14
- "url": "https://gitlab.cvinternal.net/front-end/clickview"
15
- },
16
- "cv": {
17
- "publishable": true,
18
- "rebuildable": true
19
- },
20
- "author": "Shale Kuzmanovski",
21
- "license": "ISC",
22
- "devDependencies": {
23
- "@clickview/eslint-config": "1.1.1"
24
- },
25
- "babel": {
26
- "presets": [
27
- [
28
- "@babel/preset-env",
29
- {
30
- "corejs": 3,
31
- "useBuiltIns": "entry"
32
- }
33
- ]
34
- ]
35
- }
36
- }
1
+ {
2
+ "name": "@clickview/exchange",
3
+ "version": "0.0.1-dev.0",
4
+ "description": "ClickView exchange",
5
+ "main": "dist/scripts/bundle.js",
6
+ "scripts": {
7
+ "start": "cross-env NODE_ENV=development webpack -w --config ./tooling/webpack.config.js",
8
+ "build": "cross-env NODE_ENV=production webpack --config ./tooling/webpack.config.js",
9
+ "test": "jest",
10
+ "test-watch": "jest --watch"
11
+ },
12
+ "repository": {
13
+ "type": "git",
14
+ "url": "https://gitlab.cvinternal.net/front-end/clickview"
15
+ },
16
+ "cv": {
17
+ "publishable": true,
18
+ "rebuildable": true
19
+ },
20
+ "author": "Shale Kuzmanovski",
21
+ "license": "ISC",
22
+ "devDependencies": {
23
+ "@clickview/eslint-config": "1.1.1"
24
+ },
25
+ "babel": {
26
+ "presets": [
27
+ [
28
+ "@babel/preset-env",
29
+ {
30
+ "corejs": 3,
31
+ "useBuiltIns": "entry"
32
+ }
33
+ ]
34
+ ]
35
+ }
36
+ }
@@ -0,0 +1,24 @@
1
+ interface SetLanguageOptions {
2
+ validate: boolean;
3
+ }
4
+
5
+ interface LanguageSet {
6
+ [languagecode: string]: Language;
7
+ }
8
+
9
+ interface Language {
10
+ englishName: string;
11
+ nativeName: string;
12
+ }
13
+
14
+ interface ICVLanguages {
15
+ VERSION: string;
16
+
17
+ getEnglishName(languageCode: string): string;
18
+ getNativeName(languageCode: string): string;
19
+ getFullEnglishName(languageCode: string): string;
20
+ getFullNativeName(languageCode: string): string;
21
+ getEnglishNameContains(englishName: string): Language[];
22
+ }
23
+
24
+ declare let CVLanguages: ICVLanguages;
@@ -1,5 +1,5 @@
1
- declare function cloneDeep<T>(obj: T): T;
2
-
3
- declare module 'lodash.clonedeep' {
4
- export = cloneDeep;
1
+ declare function cloneDeep<T>(obj: T): T;
2
+
3
+ declare module 'lodash.clonedeep' {
4
+ export = cloneDeep;
5
5
  }
@@ -1,83 +1,83 @@
1
- // https://wicg.github.io/IntersectionObserver/#intersection-observer-private-slots
2
-
3
- /*
4
- callback IntersectionObserverCallback = void (sequence<IntersectionObserverEntry> entries, IntersectionObserver observer)
5
-
6
- [Constructor(IntersectionObserverCallback callback, optional IntersectionObserverInit options),
7
- Exposed=Window]
8
- interface IntersectionObserver {
9
- readonly attribute Element? root;
10
- readonly attribute DOMString rootMargin;
11
- readonly attribute sequence<double> thresholds;
12
- void observe(Element target);
13
- void unobserve(Element target);
14
- void disconnect();
15
- sequence<IntersectionObserverEntry> takeRecords();
16
- };
17
-
18
- [Constructor(IntersectionObserverEntryInit intersectionObserverEntryInit)]
19
- interface IntersectionObserverEntry {
20
- readonly attribute DOMHighResTimeStamp time;
21
- readonly attribute DOMRectReadOnly rootBounds;
22
- readonly attribute DOMRectReadOnly boundingClientRect;
23
- readonly attribute DOMRectReadOnly intersectionRect;
24
- readonly attribute double intersectionRatio;
25
- readonly attribute Element target;
26
- };
27
-
28
- dictionary IntersectionObserverEntryInit {
29
- required DOMHighResTimeStamp time;
30
- required DOMRectInit rootBounds;
31
- required DOMRectInit boundingClientRect;
32
- required DOMRectInit intersectionRect;
33
- required double intersectionRatio;
34
- required Element target;
35
- };
36
-
37
- dictionary IntersectionObserverInit {
38
- Element? root = null;
39
- DOMString rootMargin = "0px";
40
- (double or sequence<double>) threshold = 0;
41
- };
42
- */
43
-
44
- interface Bounds {
45
- readonly height: number;
46
- readonly width: number;
47
- readonly top: number;
48
- readonly left: number;
49
- readonly right: number;
50
- readonly bottom: number;
51
- }
52
-
53
- interface IntersectionObserverEntry {
54
- readonly time: number;
55
- readonly rootBounds: Bounds;
56
- readonly boundingClientRect: Bounds;
57
- readonly intersectionRect: Bounds;
58
- readonly intersectionRatio: number;
59
- readonly target: Element;
60
- }
61
-
62
- type IntersectionObserverCallback = (entries: IntersectionObserverEntry[], observer: IntersectionObserver) => void;
63
-
64
- interface IntersectionObserverInit {
65
- root?: Element | null;
66
- rootMargin?: string;
67
- threshold?: number;
68
- }
69
-
70
- declare class IntersectionObserver {
71
- readonly root: Element | null;
72
- readonly rootMargin: string;
73
- readonly thresholds: number[];
74
-
75
- constructor(callback: IntersectionObserverCallback, options?: IntersectionObserverInit);
76
-
77
- observe(target: Element): void;
78
- unobserve(target: Element): void;
79
- disconnect(): void;
80
- takeRecords(): IntersectionObserverEntry[];
81
- }
82
-
1
+ // https://wicg.github.io/IntersectionObserver/#intersection-observer-private-slots
2
+
3
+ /*
4
+ callback IntersectionObserverCallback = void (sequence<IntersectionObserverEntry> entries, IntersectionObserver observer)
5
+
6
+ [Constructor(IntersectionObserverCallback callback, optional IntersectionObserverInit options),
7
+ Exposed=Window]
8
+ interface IntersectionObserver {
9
+ readonly attribute Element? root;
10
+ readonly attribute DOMString rootMargin;
11
+ readonly attribute sequence<double> thresholds;
12
+ void observe(Element target);
13
+ void unobserve(Element target);
14
+ void disconnect();
15
+ sequence<IntersectionObserverEntry> takeRecords();
16
+ };
17
+
18
+ [Constructor(IntersectionObserverEntryInit intersectionObserverEntryInit)]
19
+ interface IntersectionObserverEntry {
20
+ readonly attribute DOMHighResTimeStamp time;
21
+ readonly attribute DOMRectReadOnly rootBounds;
22
+ readonly attribute DOMRectReadOnly boundingClientRect;
23
+ readonly attribute DOMRectReadOnly intersectionRect;
24
+ readonly attribute double intersectionRatio;
25
+ readonly attribute Element target;
26
+ };
27
+
28
+ dictionary IntersectionObserverEntryInit {
29
+ required DOMHighResTimeStamp time;
30
+ required DOMRectInit rootBounds;
31
+ required DOMRectInit boundingClientRect;
32
+ required DOMRectInit intersectionRect;
33
+ required double intersectionRatio;
34
+ required Element target;
35
+ };
36
+
37
+ dictionary IntersectionObserverInit {
38
+ Element? root = null;
39
+ DOMString rootMargin = "0px";
40
+ (double or sequence<double>) threshold = 0;
41
+ };
42
+ */
43
+
44
+ interface Bounds {
45
+ readonly height: number;
46
+ readonly width: number;
47
+ readonly top: number;
48
+ readonly left: number;
49
+ readonly right: number;
50
+ readonly bottom: number;
51
+ }
52
+
53
+ interface IntersectionObserverEntry {
54
+ readonly time: number;
55
+ readonly rootBounds: Bounds;
56
+ readonly boundingClientRect: Bounds;
57
+ readonly intersectionRect: Bounds;
58
+ readonly intersectionRatio: number;
59
+ readonly target: Element;
60
+ }
61
+
62
+ type IntersectionObserverCallback = (entries: IntersectionObserverEntry[], observer: IntersectionObserver) => void;
63
+
64
+ interface IntersectionObserverInit {
65
+ root?: Element | null;
66
+ rootMargin?: string;
67
+ threshold?: number;
68
+ }
69
+
70
+ declare class IntersectionObserver {
71
+ readonly root: Element | null;
72
+ readonly rootMargin: string;
73
+ readonly thresholds: number[];
74
+
75
+ constructor(callback: IntersectionObserverCallback, options?: IntersectionObserverInit);
76
+
77
+ observe(target: Element): void;
78
+ unobserve(target: Element): void;
79
+ disconnect(): void;
80
+ takeRecords(): IntersectionObserverEntry[];
81
+ }
82
+
83
83
  export = IntersectionObserver;
@@ -1,3 +1,3 @@
1
- declare namespace trackJs {
2
- declare function track(error: string | Error): void;
1
+ declare namespace trackJs {
2
+ declare function track(error: string | Error): void;
3
3
  }
@@ -0,0 +1,29 @@
1
+ import videojs from 'video.js';
2
+
3
+ declare module 'video.js' {
4
+ export interface VideoJsPlayer {
5
+ qualityLevels(): QualityLevelList;
6
+ }
7
+ }
8
+
9
+ declare module 'videojs-contrib-quality-levels' {
10
+ export interface QualityLevelList extends videojs.EventTarget {
11
+ [id: string]: QualityLevel;
12
+ selectedIndex: number;
13
+ length: number;
14
+ addQualityLevel(representation: Representation): QualityLevel;
15
+ removeQualityLevel(qualityLevel: QualityLevel): QualityLevel;
16
+ getQualityLevelById(id: string): QualityLevel;
17
+ }
18
+
19
+ export interface QualityLevel {
20
+ id: string;
21
+ label: string;
22
+ enabled: boolean;
23
+ }
24
+
25
+ export interface Representation {
26
+ id: string;
27
+ enabled(enabled: boolean): boolean;
28
+ }
29
+ }
@@ -1,12 +1,12 @@
1
- /**
2
- * Define our templates as a module so that we can use
3
- * import statements just the same as we do for other
4
- * ts/js code.
5
- */
6
- declare module '*.scss';
7
- declare module '*.svg';
8
-
9
- declare module '*.json' {
10
- export const value: any;
11
- export default value;
1
+ /**
2
+ * Define our templates as a module so that we can use
3
+ * import statements just the same as we do for other
4
+ * ts/js code.
5
+ */
6
+ declare module '*.scss';
7
+ declare module '*.svg';
8
+
9
+ declare module '*.json' {
10
+ export const value: any;
11
+ export default value;
12
12
  }
@@ -1 +0,0 @@
1
- "use strict";(self.webpackChunk_clickview_exchange=self.webpackChunk_clickview_exchange||[]).push([[171],{96171:(e,c,i)=>{i.r(c),i.d(c,{TvHomeView:()=>l});var n=i(32735);function l(){return n.createElement("h1",null,"ClickView TV")}}}]);
@@ -1 +0,0 @@
1
- "use strict";(self.webpackChunk_clickview_exchange=self.webpackChunk_clickview_exchange||[]).push([[268],{268:(e,c,n)=>{n.r(c),n.d(c,{ExchangeHomeView:()=>h});var a=n(32735);function h(){return a.createElement("h1",null,"Exchange")}}}]);