@clickview/exchange 0.7.1 → 0.7.2-dev.1

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 (87) hide show
  1. package/dist/bundles.json +2 -2
  2. package/dist/css/{13-exchange-39ccbc5ba7.chunk.css → 13-exchange-2d47fb8d02.chunk.css} +5 -5
  3. package/dist/css/{366-exchange-2f4d731369.chunk.css → 366-exchange-8c85984df8.chunk.css} +4 -4
  4. package/dist/css/{374-exchange-ebbe63253e.chunk.css → 374-exchange-2ff96890db.chunk.css} +1 -1
  5. package/dist/css/{445-exchange-2429d46651.chunk.css → 445-exchange-ccf1b06b70.chunk.css} +1 -1
  6. package/dist/css/{483-exchange-d0ce3b8799.chunk.css → 483-exchange-a2600f5a78.chunk.css} +4 -4
  7. package/dist/css/497-exchange-5d3ec54337.chunk.css +1 -0
  8. package/dist/css/{255-exchange-d2f9046e75.chunk.css → 579-exchange-c0755122b7.chunk.css} +4 -3
  9. package/dist/css/{63-exchange-f6ae71cd8d.chunk.css → 63-exchange-e7ea6bb19f.chunk.css} +1 -1
  10. package/dist/css/{662-exchange-06c9786bd9.chunk.css → 662-exchange-d5d5ff3e2d.chunk.css} +3 -3
  11. package/dist/css/665-exchange-5d3ec54337.chunk.css +1 -0
  12. package/dist/css/{806-exchange-facfcc131d.chunk.css → 806-exchange-a8d5012765.chunk.css} +4 -4
  13. package/dist/css/{954-exchange-3f4e97314a.chunk.css → 954-exchange-60c2c30b74.chunk.css} +1 -1
  14. package/dist/css/lite-exchange-1b770ac7dd.css +17 -0
  15. package/dist/languages/en.json +1 -1
  16. package/dist/scripts/13-d9cdbc4b85-exchange.chunk.js +1 -0
  17. package/dist/scripts/{184-db1e7ad30e-exchange.chunk.js → 184-da12e1b2fc-exchange.chunk.js} +1 -1
  18. package/dist/scripts/254-0e9d10f00d-exchange.chunk.js +1 -0
  19. package/dist/scripts/267-4210b5c2a3-exchange.chunk.js +1 -0
  20. package/dist/scripts/{351-b7512a656c-exchange.chunk.js → 351-0ac39ec1d7-exchange.chunk.js} +1 -1
  21. package/dist/scripts/366-d716d498d9-exchange.chunk.js +1 -0
  22. package/dist/scripts/374-dbc80eb1a4-exchange.chunk.js +1 -0
  23. package/dist/scripts/{414-a623b2cbe6-exchange.chunk.js → 414-156b108bdb-exchange.chunk.js} +1 -1
  24. package/dist/scripts/433-7856ccb323-exchange.chunk.js +1 -0
  25. package/dist/scripts/439-f9b76e717c-exchange.chunk.js +1 -0
  26. package/dist/scripts/445-8a517de5b7-exchange.chunk.js +1 -0
  27. package/dist/scripts/497-a4bab99365-exchange.chunk.js +2 -0
  28. package/dist/scripts/544-4d55da5404-exchange.chunk.js +1 -0
  29. package/dist/scripts/548-8d82739b5d-exchange.chunk.js +1 -0
  30. package/dist/scripts/572-cf76344dfe-exchange.chunk.js +1 -0
  31. package/dist/scripts/579-f26d0ba42f-exchange.chunk.js +2 -0
  32. package/dist/scripts/63-7ed3faa18a-exchange.chunk.js +1 -0
  33. package/dist/scripts/636-f0abef5736-exchange.chunk.js +2 -0
  34. package/dist/scripts/662-965a02bd03-exchange.chunk.js +1 -0
  35. package/dist/scripts/665-9a23aa1f38-exchange.chunk.js +2 -0
  36. package/dist/scripts/{690-3160f8eef6-exchange.chunk.js → 690-156f0a308e-exchange.chunk.js} +1 -1
  37. package/dist/scripts/806-1a0d4f4660-exchange.chunk.js +1 -0
  38. package/dist/scripts/{838-3f17f630f4-exchange.chunk.js → 838-d83b68bdad-exchange.chunk.js} +1 -1
  39. package/dist/scripts/{85-908fd21b01-exchange.chunk.js → 85-2a5efab527-exchange.chunk.js} +1 -1
  40. package/dist/scripts/854-c8642b7ea1-exchange.chunk.js +1 -0
  41. package/dist/scripts/87-7f90f293c5-exchange.chunk.js +1 -0
  42. package/dist/scripts/875-91ba8b7c10-exchange.chunk.js +1 -0
  43. package/dist/scripts/{88-7319aea112-exchange.chunk.js → 88-75348f8731-exchange.chunk.js} +2 -2
  44. package/dist/scripts/{925-5b677259ce-exchange.chunk.js → 925-046df7a817-exchange.chunk.js} +1 -1
  45. package/dist/scripts/954-06259efc8b-exchange.chunk.js +1 -0
  46. package/dist/scripts/bundle-ec20fac10b.min.js +2 -0
  47. package/dist/scripts/{bundle-9688abac12.min.js.LICENSE.txt → bundle-ec20fac10b.min.js.LICENSE.txt} +12 -27
  48. package/jest.config.js +11 -11
  49. package/package.json +39 -39
  50. package/typings/libs/CVLanguages.d.ts +24 -24
  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 +28 -28
  55. package/typings/utils/imports.d.ts +11 -11
  56. package/dist/css/497-exchange-74522bc90f.chunk.css +0 -1
  57. package/dist/css/665-exchange-74522bc90f.chunk.css +0 -1
  58. package/dist/css/lite-exchange-f0327e6d18.css +0 -18
  59. package/dist/scripts/13-c4a1eddf32-exchange.chunk.js +0 -1
  60. package/dist/scripts/254-f6a65ea25f-exchange.chunk.js +0 -1
  61. package/dist/scripts/255-2b234a0065-exchange.chunk.js +0 -2
  62. package/dist/scripts/267-d48442ca99-exchange.chunk.js +0 -1
  63. package/dist/scripts/366-9b1e7c5335-exchange.chunk.js +0 -1
  64. package/dist/scripts/374-89098972e2-exchange.chunk.js +0 -1
  65. package/dist/scripts/433-10cafd7ec7-exchange.chunk.js +0 -1
  66. package/dist/scripts/439-777020cc52-exchange.chunk.js +0 -1
  67. package/dist/scripts/445-049fd17ee9-exchange.chunk.js +0 -1
  68. package/dist/scripts/497-6dc3aeb606-exchange.chunk.js +0 -2
  69. package/dist/scripts/544-83b6b4c75b-exchange.chunk.js +0 -1
  70. package/dist/scripts/548-90a354d79f-exchange.chunk.js +0 -1
  71. package/dist/scripts/572-ea5512bc69-exchange.chunk.js +0 -1
  72. package/dist/scripts/63-dcc39d9466-exchange.chunk.js +0 -1
  73. package/dist/scripts/636-ce1f722491-exchange.chunk.js +0 -2
  74. package/dist/scripts/662-8c69c0f77d-exchange.chunk.js +0 -1
  75. package/dist/scripts/665-9904fe4289-exchange.chunk.js +0 -2
  76. package/dist/scripts/682-75c5919756-exchange.chunk.js +0 -1
  77. package/dist/scripts/806-88a8027836-exchange.chunk.js +0 -1
  78. package/dist/scripts/854-916583e51d-exchange.chunk.js +0 -1
  79. package/dist/scripts/875-c40828d1c6-exchange.chunk.js +0 -1
  80. package/dist/scripts/954-6728b5f911-exchange.chunk.js +0 -1
  81. package/dist/scripts/bundle-9688abac12.min.js +0 -2
  82. /package/dist/scripts/{483-de17262480-exchange.chunk.js → 483-9f62b59359-exchange.chunk.js} +0 -0
  83. /package/dist/scripts/{255-2b234a0065-exchange.chunk.js.LICENSE.txt → 497-a4bab99365-exchange.chunk.js.LICENSE.txt} +0 -0
  84. /package/dist/scripts/{497-6dc3aeb606-exchange.chunk.js.LICENSE.txt → 579-f26d0ba42f-exchange.chunk.js.LICENSE.txt} +0 -0
  85. /package/dist/scripts/{636-ce1f722491-exchange.chunk.js.LICENSE.txt → 636-f0abef5736-exchange.chunk.js.LICENSE.txt} +0 -0
  86. /package/dist/scripts/{665-9904fe4289-exchange.chunk.js.LICENSE.txt → 665-9a23aa1f38-exchange.chunk.js.LICENSE.txt} +0 -0
  87. /package/dist/scripts/{88-7319aea112-exchange.chunk.js.LICENSE.txt → 88-75348f8731-exchange.chunk.js.LICENSE.txt} +0 -0
@@ -5,8 +5,8 @@
5
5
  */
6
6
 
7
7
  /*!
8
- * Bootstrap v4.6.2 (https://getbootstrap.com/)
9
- * Copyright 2011-2022 The Bootstrap Authors (https://github.com/twbs/bootstrap/graphs/contributors)
8
+ * Bootstrap v5.3.2 (https://getbootstrap.com/)
9
+ * Copyright 2011-2023 The Bootstrap Authors (https://github.com/twbs/bootstrap/graphs/contributors)
10
10
  * Licensed under MIT (https://github.com/twbs/bootstrap/blob/main/LICENSE)
11
11
  */
12
12
 
@@ -82,6 +82,16 @@
82
82
  * LICENSE file in the root directory of this source tree.
83
83
  */
84
84
 
85
+ /**
86
+ * @license React
87
+ * react-jsx-runtime.production.min.js
88
+ *
89
+ * Copyright (c) Facebook, Inc. and its affiliates.
90
+ *
91
+ * This source code is licensed under the MIT license found in the
92
+ * LICENSE file in the root directory of this source tree.
93
+ */
94
+
85
95
  /**
86
96
  * @license React
87
97
  * react.production.min.js
@@ -131,31 +141,6 @@
131
141
  * LICENSE file in the root directory of this source tree.
132
142
  */
133
143
 
134
- /**!
135
- * @fileOverview Kickass library to create and place poppers near their reference elements.
136
- * @version 1.16.1
137
- * @license
138
- * Copyright (c) 2016 Federico Zivolo and contributors
139
- *
140
- * Permission is hereby granted, free of charge, to any person obtaining a copy
141
- * of this software and associated documentation files (the "Software"), to deal
142
- * in the Software without restriction, including without limitation the rights
143
- * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
144
- * copies of the Software, and to permit persons to whom the Software is
145
- * furnished to do so, subject to the following conditions:
146
- *
147
- * The above copyright notice and this permission notice shall be included in all
148
- * copies or substantial portions of the Software.
149
- *
150
- * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
151
- * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
152
- * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
153
- * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
154
- * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
155
- * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
156
- * SOFTWARE.
157
- */
158
-
159
144
  //! moment.js
160
145
 
161
146
  //! 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,39 +1,39 @@
1
- {
2
- "name": "@clickview/exchange",
3
- "version": "0.7.1",
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
- "dependencies": {
21
- "moment-timezone": "0.5.43"
22
- },
23
- "devDependencies": {
24
- "@types/moment-timezone": "0.5.30"
25
- },
26
- "author": "Shale Kuzmanovski",
27
- "license": "ISC",
28
- "babel": {
29
- "presets": [
30
- [
31
- "@babel/preset-env",
32
- {
33
- "corejs": 3,
34
- "useBuiltIns": "entry"
35
- }
36
- ]
37
- ]
38
- }
39
- }
1
+ {
2
+ "name": "@clickview/exchange",
3
+ "version": "0.7.2-dev.1",
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
+ "dependencies": {
21
+ "moment-timezone": "0.5.43"
22
+ },
23
+ "devDependencies": {
24
+ "@types/moment-timezone": "0.5.30"
25
+ },
26
+ "author": "Shale Kuzmanovski",
27
+ "license": "ISC",
28
+ "babel": {
29
+ "presets": [
30
+ [
31
+ "@babel/preset-env",
32
+ {
33
+ "corejs": 3,
34
+ "useBuiltIns": "entry"
35
+ }
36
+ ]
37
+ ]
38
+ }
39
+ }
@@ -1,24 +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
+ 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
  }
@@ -1,29 +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
- }
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
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
- .jCfI0{position:absolute;right:.625rem;top:50%;margin-top:-0.75rem}.RBJnf{padding-right:2.75rem}.RBJnf::placeholder{color:#b5b5b5;opacity:1}.d78lK:focus-within{background-color:#fff;border-color:#313543;outline:0;box-shadow:0 0 0 .2rem rgba(0,0,0,.2)}.d78lK:focus-within.is-invalid{color:#d9584f;border-color:#d9584f;outline:0;box-shadow:0 0 0 .2rem rgba(217,88,79,.25)}.asbVo{background-color:#f1f1f1}.wzyOG{margin-left:.1rem}
@@ -1 +0,0 @@
1
- .jCfI0{position:absolute;right:.625rem;top:50%;margin-top:-0.75rem}.RBJnf{padding-right:2.75rem}.RBJnf::placeholder{color:#b5b5b5;opacity:1}.d78lK:focus-within{background-color:#fff;border-color:#313543;outline:0;box-shadow:0 0 0 .2rem rgba(0,0,0,.2)}.d78lK:focus-within.is-invalid{color:#d9584f;border-color:#d9584f;outline:0;box-shadow:0 0 0 .2rem rgba(217,88,79,.25)}.asbVo{background-color:#f1f1f1}.wzyOG{margin-left:.1rem}