@clickview/exchange 0.7.2-dev.2 → 0.7.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 (76) hide show
  1. package/dist/bundles.json +4 -0
  2. package/dist/css/13-exchange-2d47fb8d02.chunk.css +56 -0
  3. package/dist/css/243-exchange-06944bdfa4.chunk.css +1 -0
  4. package/dist/css/366-exchange-8c85984df8.chunk.css +25 -0
  5. package/dist/css/374-exchange-2ff96890db.chunk.css +12 -0
  6. package/dist/css/445-exchange-ccf1b06b70.chunk.css +12 -0
  7. package/dist/css/483-exchange-a2600f5a78.chunk.css +35 -0
  8. package/dist/css/497-exchange-5d3ec54337.chunk.css +1 -0
  9. package/dist/css/63-exchange-e7ea6bb19f.chunk.css +9 -0
  10. package/dist/css/636-exchange-471c89d673.chunk.css +2 -0
  11. package/dist/css/662-exchange-d5d5ff3e2d.chunk.css +33 -0
  12. package/dist/css/665-exchange-5d3ec54337.chunk.css +1 -0
  13. package/dist/css/689-exchange-84afe8cc9e.chunk.css +61 -0
  14. package/dist/css/690-exchange-d71527fc65.chunk.css +1 -0
  15. package/dist/css/806-exchange-a8d5012765.chunk.css +38 -0
  16. package/dist/css/85-exchange-e3c83a9d46.chunk.css +1 -0
  17. package/dist/css/954-exchange-60c2c30b74.chunk.css +10 -0
  18. package/dist/css/lite-exchange-f1622679e0.css +17 -0
  19. package/dist/languages/en.json +1 -0
  20. package/dist/scripts/127-a6c0df48ef-exchange.chunk.js +1 -0
  21. package/dist/scripts/13-3359bd5be3-exchange.chunk.js +1 -0
  22. package/dist/scripts/173-a27741eddf-exchange.chunk.js +1 -0
  23. package/dist/scripts/184-da12e1b2fc-exchange.chunk.js +1 -0
  24. package/dist/scripts/229-a6024de4fb-exchange.chunk.js +2 -0
  25. package/dist/scripts/229-a6024de4fb-exchange.chunk.js.LICENSE.txt +13 -0
  26. package/dist/scripts/243-693d76b16e-exchange.chunk.js +1 -0
  27. package/dist/scripts/251-4ceb3e66f0-exchange.chunk.js +2 -0
  28. package/dist/scripts/251-4ceb3e66f0-exchange.chunk.js.LICENSE.txt +13 -0
  29. package/dist/scripts/254-0e9d10f00d-exchange.chunk.js +1 -0
  30. package/dist/scripts/267-4210b5c2a3-exchange.chunk.js +1 -0
  31. package/dist/scripts/351-0ac39ec1d7-exchange.chunk.js +1 -0
  32. package/dist/scripts/366-843f089374-exchange.chunk.js +1 -0
  33. package/dist/scripts/374-dbc80eb1a4-exchange.chunk.js +1 -0
  34. package/dist/scripts/433-7856ccb323-exchange.chunk.js +1 -0
  35. package/dist/scripts/439-f7c46265bc-exchange.chunk.js +1 -0
  36. package/dist/scripts/445-8a517de5b7-exchange.chunk.js +1 -0
  37. package/dist/scripts/483-9f62b59359-exchange.chunk.js +1 -0
  38. package/dist/scripts/497-0ff3d99ee8-exchange.chunk.js +2 -0
  39. package/dist/scripts/497-0ff3d99ee8-exchange.chunk.js.LICENSE.txt +1 -0
  40. package/dist/scripts/544-4d55da5404-exchange.chunk.js +1 -0
  41. package/dist/scripts/548-25e5450f2c-exchange.chunk.js +1 -0
  42. package/dist/scripts/572-10603397c0-exchange.chunk.js +1 -0
  43. package/dist/scripts/601-74c38c24fd-exchange.chunk.js +1 -0
  44. package/dist/scripts/619-62aef79034-exchange.chunk.js +1 -0
  45. package/dist/scripts/63-7ed3faa18a-exchange.chunk.js +1 -0
  46. package/dist/scripts/636-f0abef5736-exchange.chunk.js +2 -0
  47. package/dist/scripts/636-f0abef5736-exchange.chunk.js.LICENSE.txt +1 -0
  48. package/dist/scripts/656-088c654c27-exchange.chunk.js +1 -0
  49. package/dist/scripts/662-965a02bd03-exchange.chunk.js +1 -0
  50. package/dist/scripts/665-515fcc1da0-exchange.chunk.js +2 -0
  51. package/dist/scripts/665-515fcc1da0-exchange.chunk.js.LICENSE.txt +1 -0
  52. package/dist/scripts/689-0650f499cf-exchange.chunk.js +2 -0
  53. package/dist/scripts/689-0650f499cf-exchange.chunk.js.LICENSE.txt +1 -0
  54. package/dist/scripts/690-156f0a308e-exchange.chunk.js +1 -0
  55. package/dist/scripts/806-1a0d4f4660-exchange.chunk.js +1 -0
  56. package/dist/scripts/838-e6af4c4150-exchange.chunk.js +1 -0
  57. package/dist/scripts/85-2a5efab527-exchange.chunk.js +1 -0
  58. package/dist/scripts/851-37d2fd80e0-exchange.chunk.js +2 -0
  59. package/dist/scripts/851-37d2fd80e0-exchange.chunk.js.LICENSE.txt +1 -0
  60. package/dist/scripts/854-7beab69d41-exchange.chunk.js +1 -0
  61. package/dist/scripts/87-7f90f293c5-exchange.chunk.js +1 -0
  62. package/dist/scripts/875-f1c66c0536-exchange.chunk.js +1 -0
  63. package/dist/scripts/877-fe5a8062dd-exchange.chunk.js +1 -0
  64. package/dist/scripts/923-cd7764743c-exchange.chunk.js +1 -0
  65. package/dist/scripts/925-046df7a817-exchange.chunk.js +1 -0
  66. package/dist/scripts/954-bebcf7ae26-exchange.chunk.js +1 -0
  67. package/dist/scripts/bundle-c494803049.min.js +2 -0
  68. package/dist/scripts/bundle-c494803049.min.js.LICENSE.txt +126 -0
  69. package/jest.config.js +11 -11
  70. package/package.json +1 -1
  71. package/typings/libs/CVLanguages.d.ts +24 -24
  72. package/typings/libs/cloneDeep.d.ts +4 -4
  73. package/typings/libs/intersection-observer.d.ts +82 -82
  74. package/typings/libs/trackjs.d.ts +2 -2
  75. package/typings/libs/videojs-contrib-quality-levels.d.ts +28 -28
  76. package/typings/utils/imports.d.ts +11 -11
@@ -0,0 +1,126 @@
1
+ /*!
2
+ Copyright (c) 2018 Jed Watson.
3
+ Licensed under the MIT License (MIT), see
4
+ http://jedwatson.github.io/classnames
5
+ */
6
+
7
+ /*!
8
+ * Bootstrap v5.3.2 (https://getbootstrap.com/)
9
+ * Copyright 2011-2023 The Bootstrap Authors (https://github.com/twbs/bootstrap/graphs/contributors)
10
+ * Licensed under MIT (https://github.com/twbs/bootstrap/blob/main/LICENSE)
11
+ */
12
+
13
+ /*!
14
+ * Font Awesome Free 5.0.13 by @fontawesome - https://fontawesome.com
15
+ * License - https://fontawesome.com/license (Icons: CC BY 4.0, Fonts: SIL OFL 1.1, Code: MIT License)
16
+ */
17
+
18
+ /*!
19
+ * Sizzle CSS Selector Engine v2.3.4
20
+ * https://sizzlejs.com/
21
+ *
22
+ * Copyright JS Foundation and other contributors
23
+ * Released under the MIT license
24
+ * https://js.foundation/
25
+ *
26
+ * Date: 2019-04-08
27
+ */
28
+
29
+ /*!
30
+ * jQuery JavaScript Library v3.4.1
31
+ * https://jquery.com/
32
+ *
33
+ * Includes Sizzle.js
34
+ * https://sizzlejs.com/
35
+ *
36
+ * Copyright JS Foundation and other contributors
37
+ * Released under the MIT license
38
+ * https://jquery.org/license
39
+ *
40
+ * Date: 2019-05-01T21:04Z
41
+ */
42
+
43
+ /*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */
44
+
45
+ /**
46
+ * @license React
47
+ * react-dom.production.min.js
48
+ *
49
+ * Copyright (c) Facebook, Inc. and its affiliates.
50
+ *
51
+ * This source code is licensed under the MIT license found in the
52
+ * LICENSE file in the root directory of this source tree.
53
+ */
54
+
55
+ /**
56
+ * @license React
57
+ * react-is.production.min.js
58
+ *
59
+ * Copyright (c) Facebook, Inc. and its affiliates.
60
+ *
61
+ * This source code is licensed under the MIT license found in the
62
+ * LICENSE file in the root directory of this source tree.
63
+ */
64
+
65
+ /**
66
+ * @license React
67
+ * react-jsx-runtime.production.min.js
68
+ *
69
+ * Copyright (c) Facebook, Inc. and its affiliates.
70
+ *
71
+ * This source code is licensed under the MIT license found in the
72
+ * LICENSE file in the root directory of this source tree.
73
+ */
74
+
75
+ /**
76
+ * @license React
77
+ * react.production.min.js
78
+ *
79
+ * Copyright (c) Facebook, Inc. and its affiliates.
80
+ *
81
+ * This source code is licensed under the MIT license found in the
82
+ * LICENSE file in the root directory of this source tree.
83
+ */
84
+
85
+ /**
86
+ * @license React
87
+ * scheduler.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
+
95
+ /**
96
+ * @license React
97
+ * use-sync-external-store-shim.production.min.js
98
+ *
99
+ * Copyright (c) Facebook, Inc. and its affiliates.
100
+ *
101
+ * This source code is licensed under the MIT license found in the
102
+ * LICENSE file in the root directory of this source tree.
103
+ */
104
+
105
+ /**
106
+ * @license React
107
+ * use-sync-external-store-shim/with-selector.production.min.js
108
+ *
109
+ * Copyright (c) Facebook, Inc. and its affiliates.
110
+ *
111
+ * This source code is licensed under the MIT license found in the
112
+ * LICENSE file in the root directory of this source tree.
113
+ */
114
+
115
+ /** @license React v16.13.1
116
+ * react-is.production.min.js
117
+ *
118
+ * Copyright (c) Facebook, Inc. and its affiliates.
119
+ *
120
+ * This source code is licensed under the MIT license found in the
121
+ * LICENSE file in the root directory of this source tree.
122
+ */
123
+
124
+ //! moment.js
125
+
126
+ //! 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,6 +1,6 @@
1
1
  {
2
2
  "name": "@clickview/exchange",
3
- "version": "0.7.2-dev.2",
3
+ "version": "0.7.2-rc.0",
4
4
  "description": "ClickView exchange",
5
5
  "main": "dist/scripts/bundle.js",
6
6
  "scripts": {
@@ -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
  }