@clickview/exchange 0.0.0-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.
@@ -0,0 +1,120 @@
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
+ * Cropper.js v1.5.6
9
+ * https://fengyuanchen.github.io/cropperjs
10
+ *
11
+ * Copyright 2015-present Chen Fengyuan
12
+ * Released under the MIT license
13
+ *
14
+ * Date: 2019-10-04T04:33:48.372Z
15
+ */
16
+
17
+ /*!
18
+ * Font Awesome Free 5.0.13 by @fontawesome - https://fontawesome.com
19
+ * License - https://fontawesome.com/license (Icons: CC BY 4.0, Fonts: SIL OFL 1.1, Code: MIT License)
20
+ */
21
+
22
+ /*!
23
+ * Sizzle CSS Selector Engine v2.3.4
24
+ * https://sizzlejs.com/
25
+ *
26
+ * Copyright JS Foundation and other contributors
27
+ * Released under the MIT license
28
+ * https://js.foundation/
29
+ *
30
+ * Date: 2019-04-08
31
+ */
32
+
33
+ /*!
34
+ * jQuery JavaScript Library v3.4.1
35
+ * https://jquery.com/
36
+ *
37
+ * Includes Sizzle.js
38
+ * https://sizzlejs.com/
39
+ *
40
+ * Copyright JS Foundation and other contributors
41
+ * Released under the MIT license
42
+ * https://jquery.org/license
43
+ *
44
+ * Date: 2019-05-01T21:04Z
45
+ */
46
+
47
+ /*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */
48
+
49
+ /**
50
+ * @license React
51
+ * react-dom.production.min.js
52
+ *
53
+ * Copyright (c) Facebook, Inc. and its affiliates.
54
+ *
55
+ * This source code is licensed under the MIT license found in the
56
+ * LICENSE file in the root directory of this source tree.
57
+ */
58
+
59
+ /**
60
+ * @license React
61
+ * react-is.production.min.js
62
+ *
63
+ * Copyright (c) Facebook, Inc. and its affiliates.
64
+ *
65
+ * This source code is licensed under the MIT license found in the
66
+ * LICENSE file in the root directory of this source tree.
67
+ */
68
+
69
+ /**
70
+ * @license React
71
+ * react.production.min.js
72
+ *
73
+ * Copyright (c) Facebook, Inc. and its affiliates.
74
+ *
75
+ * This source code is licensed under the MIT license found in the
76
+ * LICENSE file in the root directory of this source tree.
77
+ */
78
+
79
+ /**
80
+ * @license React
81
+ * scheduler.production.min.js
82
+ *
83
+ * Copyright (c) Facebook, Inc. and its affiliates.
84
+ *
85
+ * This source code is licensed under the MIT license found in the
86
+ * LICENSE file in the root directory of this source tree.
87
+ */
88
+
89
+ /**
90
+ * @license React
91
+ * use-sync-external-store-shim.production.min.js
92
+ *
93
+ * Copyright (c) Facebook, Inc. and its affiliates.
94
+ *
95
+ * This source code is licensed under the MIT license found in the
96
+ * LICENSE file in the root directory of this source tree.
97
+ */
98
+
99
+ /**
100
+ * @license React
101
+ * use-sync-external-store-shim/with-selector.production.min.js
102
+ *
103
+ * Copyright (c) Facebook, Inc. and its affiliates.
104
+ *
105
+ * This source code is licensed under the MIT license found in the
106
+ * LICENSE file in the root directory of this source tree.
107
+ */
108
+
109
+ /** @license React v16.13.1
110
+ * react-is.production.min.js
111
+ *
112
+ * Copyright (c) Facebook, Inc. and its affiliates.
113
+ *
114
+ * This source code is licensed under the MIT license found in the
115
+ * LICENSE file in the root directory of this source tree.
116
+ */
117
+
118
+ //! moment.js
119
+
120
+ //! moment.js locale configuration
package/jest.config.js ADDED
@@ -0,0 +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
+
12
+ module.exports = getBaseConfig(paths);
package/package.json ADDED
@@ -0,0 +1,37 @@
1
+ {
2
+ "name": "@clickview/exchange",
3
+ "version": "0.0.0-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
+ "dependencies": {},
26
+ "babel": {
27
+ "presets": [
28
+ [
29
+ "@babel/preset-env",
30
+ {
31
+ "corejs": 3,
32
+ "useBuiltIns": "entry"
33
+ }
34
+ ]
35
+ ]
36
+ }
37
+ }
@@ -0,0 +1,5 @@
1
+ declare function cloneDeep<T>(obj: T): T;
2
+
3
+ declare module 'lodash.clonedeep' {
4
+ export = cloneDeep;
5
+ }
@@ -0,0 +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
+
83
+ export = IntersectionObserver;
@@ -0,0 +1,3 @@
1
+ declare namespace trackJs {
2
+ declare function track(error: string | Error): void;
3
+ }
@@ -0,0 +1 @@
1
+ declare let __ENVIRONMENT__: 'development' | 'production';
@@ -0,0 +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;
12
+ }