@clickview/reports 0.0.0-dev.1 → 0.0.0-dev.3

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.
package/package.json CHANGED
@@ -1,42 +1,45 @@
1
- {
2
- "name": "@clickview/reports",
3
- "version": "0.0.0-dev.1",
4
- "description": "ClickView Reports",
5
- "main": "dist/reports-app.js",
6
- "scripts": {
7
- "start": "set NODE_ENV=development&& webpack -w --config ./tooling/webpack.config.js",
8
- "build": "set NODE_ENV=production&& webpack --config ./tooling/webpack.config.js",
9
- "dev-build": "set NODE_ENV=development&& webpack --config ./tooling/webpack.config.js"
10
- },
11
- "repository": {
12
- "type": "git",
13
- "url": "https://gitlab.cvinternal.net/front-end/clickview"
14
- },
15
- "cv": {
16
- "publishable": true,
17
- "rebuildable": true
18
- },
19
- "author": "Joshua Taylor, Shale Kuzmanovski, Matt Trengrove, Michael McDonnell",
20
- "license": "ISC",
21
- "devDependencies": {
22
- "@babel/core": "7.11.6",
23
- "@clickview/eslint-config": "1.0.0",
24
- "@clickview/tooling": "0.0.20",
25
- "@types/react-dates": "21.8.1"
26
- },
27
- "dependencies": {
28
- "@clickview/styles": "1.0.13",
29
- "react-dates": "21.8.0"
30
- },
31
- "babel": {
32
- "presets": [
33
- [
34
- "@babel/preset-env",
35
- {
36
- "corejs": 3,
37
- "useBuiltIns": "entry"
38
- }
39
- ]
40
- ]
41
- }
42
- }
1
+ {
2
+ "name": "@clickview/reports",
3
+ "version": "0.0.0-dev.3",
4
+ "description": "ClickView Reports",
5
+ "main": "dist/reports-app.js",
6
+ "scripts": {
7
+ "start": "set NODE_ENV=development&& webpack -w --config ./tooling/webpack.config.js",
8
+ "build": "set NODE_ENV=production&& webpack --config ./tooling/webpack.config.js",
9
+ "dev-build": "set NODE_ENV=development&& webpack --config ./tooling/webpack.config.js"
10
+ },
11
+ "repository": {
12
+ "type": "git",
13
+ "url": "https://gitlab.cvinternal.net/front-end/clickview"
14
+ },
15
+ "cv": {
16
+ "publishable": true,
17
+ "rebuildable": true
18
+ },
19
+ "author": "Joshua Taylor, Shale Kuzmanovski, Matt Trengrove, Michael McDonnell",
20
+ "license": "ISC",
21
+ "devDependencies": {
22
+ "@babel/core": "7.11.6",
23
+ "@clickview/eslint-config": "1.0.0",
24
+ "@clickview/tooling": "0.0.20",
25
+ "@types/react-dates": "21.8.1",
26
+ "@types/react-table": "7.0.29",
27
+ "redux-devtools-extension": "2.13.8"
28
+ },
29
+ "dependencies": {
30
+ "@clickview/styles": "1.0.13",
31
+ "react-dates": "21.8.0",
32
+ "react-table": "7.6.3"
33
+ },
34
+ "babel": {
35
+ "presets": [
36
+ [
37
+ "@babel/preset-env",
38
+ {
39
+ "corejs": 3,
40
+ "useBuiltIns": "entry"
41
+ }
42
+ ]
43
+ ]
44
+ }
45
+ }
@@ -0,0 +1,127 @@
1
+ /**
2
+ * In order to add typings for various react-table plugins, the below should be selectively
3
+ * uncommented based on what we are using.
4
+ *
5
+ * Refer: https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/react-table
6
+ */
7
+
8
+ // import {
9
+ // UseColumnOrderInstanceProps,
10
+ // UseColumnOrderState,
11
+ // UseExpandedHooks,
12
+ // UseExpandedInstanceProps,
13
+ // UseExpandedOptions,
14
+ // UseExpandedRowProps,
15
+ // UseExpandedState,
16
+ // UseFiltersColumnOptions,
17
+ // UseFiltersColumnProps,
18
+ // UseFiltersInstanceProps,
19
+ // UseFiltersOptions,
20
+ // UseFiltersState,
21
+ // UseGlobalFiltersColumnOptions,
22
+ // UseGlobalFiltersInstanceProps,
23
+ // UseGlobalFiltersOptions,
24
+ // UseGlobalFiltersState,
25
+ // UseGroupByCellProps,
26
+ // UseGroupByColumnOptions,
27
+ // UseGroupByColumnProps,
28
+ // UseGroupByHooks,
29
+ // UseGroupByInstanceProps,
30
+ // UseGroupByOptions,
31
+ // UseGroupByRowProps,
32
+ // UseGroupByState,
33
+ // UsePaginationInstanceProps,
34
+ // UsePaginationOptions,
35
+ // UsePaginationState,
36
+ // UseResizeColumnsColumnOptions,
37
+ // UseResizeColumnsColumnProps,
38
+ // UseResizeColumnsOptions,
39
+ // UseResizeColumnsState,
40
+ // UseRowSelectHooks,
41
+ // UseRowSelectInstanceProps,
42
+ // UseRowSelectOptions,
43
+ // UseRowSelectRowProps,
44
+ // UseRowSelectState,
45
+ // UseRowStateCellProps,
46
+ // UseRowStateInstanceProps,
47
+ // UseRowStateOptions,
48
+ // UseRowStateRowProps,
49
+ // UseRowStateState,
50
+ // UseSortByColumnOptions,
51
+ // UseSortByColumnProps,
52
+ // UseSortByHooks,
53
+ // UseSortByInstanceProps,
54
+ // UseSortByOptions,
55
+ // UseSortByState
56
+ // } from 'react-table';
57
+
58
+ // declare module 'react-table' {
59
+ // // take this file as-is, or comment out the sections that don't apply to your plugin configuration
60
+
61
+ // export interface TableOptions<D extends Record<string, unknown>>
62
+ // extends UseExpandedOptions<D>,
63
+ // UseFiltersOptions<D>,
64
+ // UseGlobalFiltersOptions<D>,
65
+ // UseGroupByOptions<D>,
66
+ // UsePaginationOptions<D>,
67
+ // UseResizeColumnsOptions<D>,
68
+ // UseRowSelectOptions<D>,
69
+ // UseRowStateOptions<D>,
70
+ // UseSortByOptions<D>,
71
+ // // note that having Record here allows you to add anything to the options, this matches the spirit of the
72
+ // // underlying js library, but might be cleaner if it's replaced by a more specific type that matches your
73
+ // // feature set, this is a safe default.
74
+ // Record<string, any> {}
75
+
76
+ // export interface Hooks<D extends Record<string, unknown> = Record<string, unknown>>
77
+ // extends UseExpandedHooks<D>,
78
+ // UseGroupByHooks<D>,
79
+ // UseRowSelectHooks<D>,
80
+ // UseSortByHooks<D> {}
81
+
82
+ // export interface TableInstance<D extends Record<string, unknown> = Record<string, unknown>>
83
+ // extends UseColumnOrderInstanceProps<D>,
84
+ // UseExpandedInstanceProps<D>,
85
+ // UseFiltersInstanceProps<D>,
86
+ // UseGlobalFiltersInstanceProps<D>,
87
+ // UseGroupByInstanceProps<D>,
88
+ // UsePaginationInstanceProps<D>,
89
+ // UseRowSelectInstanceProps<D>,
90
+ // UseRowStateInstanceProps<D>,
91
+ // UseSortByInstanceProps<D> {}
92
+
93
+ // export interface TableState<D extends Record<string, unknown> = Record<string, unknown>>
94
+ // extends UseColumnOrderState<D>,
95
+ // UseExpandedState<D>,
96
+ // UseFiltersState<D>,
97
+ // UseGlobalFiltersState<D>,
98
+ // UseGroupByState<D>,
99
+ // UsePaginationState<D>,
100
+ // UseResizeColumnsState<D>,
101
+ // UseRowSelectState<D>,
102
+ // UseRowStateState<D>,
103
+ // UseSortByState<D> {}
104
+
105
+ // export interface ColumnInterface<D extends Record<string, unknown> = Record<string, unknown>>
106
+ // extends UseFiltersColumnOptions<D>,
107
+ // UseGlobalFiltersColumnOptions<D>,
108
+ // UseGroupByColumnOptions<D>,
109
+ // UseResizeColumnsColumnOptions<D>,
110
+ // UseSortByColumnOptions<D> {}
111
+
112
+ // export interface ColumnInstance<D extends Record<string, unknown> = Record<string, unknown>>
113
+ // extends UseFiltersColumnProps<D>,
114
+ // UseGroupByColumnProps<D>,
115
+ // UseResizeColumnsColumnProps<D>,
116
+ // UseSortByColumnProps<D> {}
117
+
118
+ // export interface Cell<D extends Record<string, unknown> = Record<string, unknown>, V = any>
119
+ // extends UseGroupByCellProps<D>,
120
+ // UseRowStateCellProps<D> {}
121
+
122
+ // export interface Row<D extends Record<string, unknown> = Record<string, unknown>>
123
+ // extends UseExpandedRowProps<D>,
124
+ // UseGroupByRowProps<D>,
125
+ // UseRowSelectRowProps<D>,
126
+ // UseRowStateRowProps<D> {}
127
+ // }
@@ -0,0 +1 @@
1
+ declare var __ENVIRONMENT__: 'development' | 'production';