buckaroo-js-core 0.8.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 (159) hide show
  1. package/.prettierrc +16 -0
  2. package/CHANGELOG.md +23 -0
  3. package/LICENSE +15 -0
  4. package/README.md +66 -0
  5. package/buckaroo_js/baked_data/colorMap.d.ts +3 -0
  6. package/buckaroo_js/baked_data/colorMap.d.ts.map +1 -0
  7. package/buckaroo_js/baked_data/colorMap.js +520 -0
  8. package/buckaroo_js/baked_data/colorMap.js.map +1 -0
  9. package/buckaroo_js/baked_data/staticData.d.ts +124 -0
  10. package/buckaroo_js/baked_data/staticData.d.ts.map +1 -0
  11. package/buckaroo_js/baked_data/staticData.js +459 -0
  12. package/buckaroo_js/baked_data/staticData.js.map +1 -0
  13. package/buckaroo_js/components/ColumnsEditor.d.ts +19 -0
  14. package/buckaroo_js/components/ColumnsEditor.d.ts.map +1 -0
  15. package/buckaroo_js/components/ColumnsEditor.js +68 -0
  16. package/buckaroo_js/components/ColumnsEditor.js.map +1 -0
  17. package/buckaroo_js/components/CommandUtils.d.ts +22 -0
  18. package/buckaroo_js/components/CommandUtils.d.ts.map +1 -0
  19. package/buckaroo_js/components/CommandUtils.js +17 -0
  20. package/buckaroo_js/components/CommandUtils.js.map +1 -0
  21. package/buckaroo_js/components/DCFCell.d.ts +28 -0
  22. package/buckaroo_js/components/DCFCell.d.ts.map +1 -0
  23. package/buckaroo_js/components/DCFCell.js +120 -0
  24. package/buckaroo_js/components/DCFCell.js.map +1 -0
  25. package/buckaroo_js/components/DFViewerParts/DFViewer.d.ts +29 -0
  26. package/buckaroo_js/components/DFViewerParts/DFViewer.d.ts.map +1 -0
  27. package/buckaroo_js/components/DFViewerParts/DFViewer.js +163 -0
  28. package/buckaroo_js/components/DFViewerParts/DFViewer.js.map +1 -0
  29. package/buckaroo_js/components/DFViewerParts/DFWhole.d.ts +111 -0
  30. package/buckaroo_js/components/DFViewerParts/DFWhole.d.ts.map +1 -0
  31. package/buckaroo_js/components/DFViewerParts/DFWhole.js +17 -0
  32. package/buckaroo_js/components/DFViewerParts/DFWhole.js.map +1 -0
  33. package/buckaroo_js/components/DFViewerParts/Displayer.d.ts +19 -0
  34. package/buckaroo_js/components/DFViewerParts/Displayer.d.ts.map +1 -0
  35. package/buckaroo_js/components/DFViewerParts/Displayer.js +221 -0
  36. package/buckaroo_js/components/DFViewerParts/Displayer.js.map +1 -0
  37. package/buckaroo_js/components/DFViewerParts/HistogramCell.d.ts +20 -0
  38. package/buckaroo_js/components/DFViewerParts/HistogramCell.d.ts.map +1 -0
  39. package/buckaroo_js/components/DFViewerParts/HistogramCell.js +184 -0
  40. package/buckaroo_js/components/DFViewerParts/HistogramCell.js.map +1 -0
  41. package/buckaroo_js/components/DFViewerParts/SeriesSummaryTooltip.d.ts +5 -0
  42. package/buckaroo_js/components/DFViewerParts/SeriesSummaryTooltip.d.ts.map +1 -0
  43. package/buckaroo_js/components/DFViewerParts/SeriesSummaryTooltip.js +18 -0
  44. package/buckaroo_js/components/DFViewerParts/SeriesSummaryTooltip.js.map +1 -0
  45. package/buckaroo_js/components/DFViewerParts/gridUtils.d.ts +24 -0
  46. package/buckaroo_js/components/DFViewerParts/gridUtils.d.ts.map +1 -0
  47. package/buckaroo_js/components/DFViewerParts/gridUtils.js +230 -0
  48. package/buckaroo_js/components/DFViewerParts/gridUtils.js.map +1 -0
  49. package/buckaroo_js/components/DependentTabs.d.ts +33 -0
  50. package/buckaroo_js/components/DependentTabs.d.ts.map +1 -0
  51. package/buckaroo_js/components/DependentTabs.js +108 -0
  52. package/buckaroo_js/components/DependentTabs.js.map +1 -0
  53. package/buckaroo_js/components/OperationDetail.d.ts +16 -0
  54. package/buckaroo_js/components/OperationDetail.d.ts.map +1 -0
  55. package/buckaroo_js/components/OperationDetail.js +144 -0
  56. package/buckaroo_js/components/OperationDetail.js.map +1 -0
  57. package/buckaroo_js/components/OperationUtils.d.ts +17 -0
  58. package/buckaroo_js/components/OperationUtils.d.ts.map +1 -0
  59. package/buckaroo_js/components/OperationUtils.js +14 -0
  60. package/buckaroo_js/components/OperationUtils.js.map +1 -0
  61. package/buckaroo_js/components/Operations.d.ts +24 -0
  62. package/buckaroo_js/components/Operations.d.ts.map +1 -0
  63. package/buckaroo_js/components/Operations.js +209 -0
  64. package/buckaroo_js/components/Operations.js.map +1 -0
  65. package/buckaroo_js/components/StatusBar.d.ts +12 -0
  66. package/buckaroo_js/components/StatusBar.d.ts.map +1 -0
  67. package/buckaroo_js/components/StatusBar.js +155 -0
  68. package/buckaroo_js/components/StatusBar.js.map +1 -0
  69. package/buckaroo_js/components/WidgetTypes.d.ts +25 -0
  70. package/buckaroo_js/components/WidgetTypes.d.ts.map +1 -0
  71. package/buckaroo_js/components/WidgetTypes.js +3 -0
  72. package/buckaroo_js/components/WidgetTypes.js.map +1 -0
  73. package/buckaroo_js/components/bakedOperationDefaults.d.ts +5 -0
  74. package/buckaroo_js/components/bakedOperationDefaults.d.ts.map +1 -0
  75. package/buckaroo_js/components/bakedOperationDefaults.js +15 -0
  76. package/buckaroo_js/components/bakedOperationDefaults.js.map +1 -0
  77. package/buckaroo_js/components/utils.d.ts +294 -0
  78. package/buckaroo_js/components/utils.d.ts.map +1 -0
  79. package/buckaroo_js/components/utils.js +143 -0
  80. package/buckaroo_js/components/utils.js.map +1 -0
  81. package/buckaroo_js/extension.d.ts +2 -0
  82. package/buckaroo_js/extension.d.ts.map +1 -0
  83. package/buckaroo_js/extension.js +20 -0
  84. package/buckaroo_js/extension.js.map +1 -0
  85. package/buckaroo_js/index.d.ts +25 -0
  86. package/buckaroo_js/index.d.ts.map +1 -0
  87. package/buckaroo_js/index.js +46 -0
  88. package/buckaroo_js/index.js.map +1 -0
  89. package/buckaroo_js/vendor/RechartExtra.d.ts +38 -0
  90. package/buckaroo_js/vendor/RechartExtra.d.ts.map +1 -0
  91. package/buckaroo_js/vendor/RechartExtra.js +17 -0
  92. package/buckaroo_js/vendor/RechartExtra.js.map +1 -0
  93. package/buckaroo_js/vendor/RechartTooltip.d.ts +82 -0
  94. package/buckaroo_js/vendor/RechartTooltip.d.ts.map +1 -0
  95. package/buckaroo_js/vendor/RechartTooltip.js +232 -0
  96. package/buckaroo_js/vendor/RechartTooltip.js.map +1 -0
  97. package/codecov.yml +16 -0
  98. package/eslint.config.mjs +88 -0
  99. package/examples/App.tsx +160 -0
  100. package/examples/CodeBlock.tsx +27 -0
  101. package/examples/CodePenButton.tsx +77 -0
  102. package/examples/ReadmeBlock.tsx +11 -0
  103. package/examples/app.css +29 -0
  104. package/examples/ex/ColumnsEditorEx.tsx +5 -0
  105. package/examples/ex/CommandViewerEx.tsx +20 -0
  106. package/examples/ex/DFViewerEx.tsx +3 -0
  107. package/examples/ex/DFViewerEx_large.tsx +266 -0
  108. package/examples/ex/DFViewerEx_real_summary.tsx +20 -0
  109. package/examples/ex/DFViewerEx_short_data.tsx +22 -0
  110. package/examples/ex/DFViewerEx_string_index.tsx +1012 -0
  111. package/examples/ex/HistogramEx.tsx +67 -0
  112. package/examples/ex/StatusBarEx.tsx +46 -0
  113. package/examples/ex/WidgetDCFCellEx.tsx +6 -0
  114. package/examples/example.css +20 -0
  115. package/examples/index-iframe.hnottml +24 -0
  116. package/examples/index-react18.tsx +8 -0
  117. package/examples/index.html +20 -0
  118. package/examples/jsx-loader.ts +16 -0
  119. package/examples/tsconfig.json +31 -0
  120. package/index.d.ts +2 -0
  121. package/index.d.ts.map +1 -0
  122. package/index.js +7 -0
  123. package/index.js.map +1 -0
  124. package/jest.config.js +24 -0
  125. package/package.json +117 -0
  126. package/screen-animation.gif +0 -0
  127. package/src/buckaroo_js/baked_data/colorMap.ts +523 -0
  128. package/src/buckaroo_js/baked_data/staticData.ts +503 -0
  129. package/src/buckaroo_js/components/ColumnsEditor.tsx +66 -0
  130. package/src/buckaroo_js/components/CommandUtils.ts +40 -0
  131. package/src/buckaroo_js/components/DCFCell.tsx +175 -0
  132. package/src/buckaroo_js/components/DFViewerParts/DFViewer.tsx +215 -0
  133. package/src/buckaroo_js/components/DFViewerParts/DFWhole.ts +190 -0
  134. package/src/buckaroo_js/components/DFViewerParts/Displayer.ts +215 -0
  135. package/src/buckaroo_js/components/DFViewerParts/HistogramCell.tsx +251 -0
  136. package/src/buckaroo_js/components/DFViewerParts/SeriesSummaryTooltip.tsx +20 -0
  137. package/src/buckaroo_js/components/DFViewerParts/gridUtils.ts +290 -0
  138. package/src/buckaroo_js/components/DependentTabs.tsx +134 -0
  139. package/src/buckaroo_js/components/OperationDetail.tsx +203 -0
  140. package/src/buckaroo_js/components/OperationUtils.ts +33 -0
  141. package/src/buckaroo_js/components/Operations.tsx +243 -0
  142. package/src/buckaroo_js/components/StatusBar.tsx +190 -0
  143. package/src/buckaroo_js/components/WidgetTypes.tsx +42 -0
  144. package/src/buckaroo_js/components/bakedOperationDefaults.ts +14 -0
  145. package/src/buckaroo_js/components/utils.ts +60 -0
  146. package/src/buckaroo_js/extension.ts +15 -0
  147. package/src/buckaroo_js/index.ts +34 -0
  148. package/src/buckaroo_js/style/dcf-npm.css +244 -0
  149. package/src/buckaroo_js/style/icons/arrow-down-short-dark.svg +4 -0
  150. package/src/buckaroo_js/style/icons/arrow-down-short.svg +4 -0
  151. package/src/buckaroo_js/style/icons/arrow-up-short-dark.svg +4 -0
  152. package/src/buckaroo_js/style/icons/arrow-up-short.svg +4 -0
  153. package/src/buckaroo_js/style/icons/filter-dark.svg +3 -0
  154. package/src/buckaroo_js/style/icons/filter.svg +3 -0
  155. package/src/buckaroo_js/vendor/RechartExtra.ts +60 -0
  156. package/src/buckaroo_js/vendor/RechartTooltip.tsx +357 -0
  157. package/src/index.tsx +3 -0
  158. package/tsconfig.json +41 -0
  159. package/webpack.config.ts +97 -0
package/.prettierrc ADDED
@@ -0,0 +1,16 @@
1
+ {
2
+ "printWidth": 100,
3
+ "trailingComma": "none",
4
+ "tabWidth": 4,
5
+ "semi": true,
6
+ "singleQuote": true,
7
+ "bracketSpacing": false,
8
+ "bracketSameLine": false,
9
+ "arrowParens": "always",
10
+ "endOfLine": "auto",
11
+ "jsxSingleQuote": true,
12
+ "proseWrap": "preserve",
13
+ "quoteProps": "as-needed",
14
+ "useTabs": false,
15
+ "htmlWhitespaceSensitivity": "css"
16
+ }
package/CHANGELOG.md ADDED
@@ -0,0 +1,23 @@
1
+ # Changelog
2
+
3
+ All notable changes to this project will be documented in this file.
4
+
5
+ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
6
+ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
7
+
8
+ ### [1.1.1] WIP
9
+
10
+ - Render the examples in React 18 mode when available
11
+ - Add automatic loading to CodePen for the examples
12
+
13
+ ## [1.1.0] 2021-05-04
14
+
15
+ - Support custom grid elements
16
+ - Support reference forwarding
17
+ - Support externally triggered data refresh
18
+ - Support custom fillers and default values
19
+ - Support integration with `sortablejs` for drag&drop reordering
20
+
21
+ # [1.0.0] 2021-05-02
22
+
23
+ - First release
package/LICENSE ADDED
@@ -0,0 +1,15 @@
1
+ ISC License
2
+
3
+ Copyright (c) 2022, Momtchil Momtchev <momtchil@momtchev.com>
4
+
5
+ Permission to use, copy, modify, and/or distribute this software for any
6
+ purpose with or without fee is hereby granted, provided that the above
7
+ copyright notice and this permission notice appear in all copies.
8
+
9
+ THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
10
+ WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
11
+ MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
12
+ ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
13
+ WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
14
+ ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
15
+ OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
package/README.md ADDED
@@ -0,0 +1,66 @@
1
+ # react-edit-list
2
+
3
+ [![License: ISC](https://img.shields.io/github/license/mmomtchev/react-edit-list)](https://github.com/mmomtchev/react-edit-list/blob/main/LICENSE) [![npm version](https://img.shields.io/npm/v/react-edit-list)](https://www.npmjs.com/package/react-edit-list) [![Node.js CI](https://github.com/mmomtchev/react-edit-list/workflows/Node.js%20CI/badge.svg)](https://github.com/mmomtchev/react-edit-list/actions?query=workflow%3A%22Node.js+CI%22) [![codecov](https://codecov.io/gh/mmomtchev/react-edit-list/branch/main/graph/badge.svg?token=ZHVvNADJrZ)](https://codecov.io/gh/mmomtchev/react-edit-list)
4
+
5
+ Universal Editable List React Component
6
+
7
+ `react-edit-list` allows for easy creation of editable lists in React that can be interfaced with a database
8
+
9
+ * Fully customizable
10
+ * Zero-dependency
11
+ * Supports async callbacks for calling externals APIs
12
+ * Supports input validation
13
+ * Supports optional `null` fields
14
+ * Supports custom field types
15
+
16
+ # Installation
17
+
18
+ ```shell
19
+ npm i --save react-edit-layers
20
+ ```
21
+
22
+ # Usage
23
+
24
+ Refer to the [examples](https://mmomtchev.github.io/react-edit-list/)
25
+
26
+ ![screenshot](https://raw.githubusercontent.com/mmomtchev/react-edit-list/main/screen-animation.gif)
27
+
28
+ # API
29
+
30
+ <!-- Generated by documentation.js. Update this documentation by updating the source code. -->
31
+
32
+ ### Table of Contents
33
+
34
+ * [\_](#\_)
35
+ * [AnimationTiming](#animationtiming)
36
+ * [AnimationDuration](#animationduration)
37
+ * [React](#react)
38
+ * [defaultProps](#defaultprops)
39
+
40
+ ## \_
41
+
42
+ This module contains the standard library from rechart so that base rechart code cna be imported with the minimum amount of rewriting
43
+
44
+ ## AnimationTiming
45
+
46
+ The type of easing function to use for animations
47
+
48
+ Type: (`"ease"` | `"ease-in"` | `"ease-out"` | `"ease-in-out"` | `"linear"`)
49
+
50
+ ## AnimationDuration
51
+
52
+ Specifies the duration of animation, the unit of this option is ms.
53
+
54
+ Type: [number](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Number)
55
+
56
+ ## React
57
+
58
+ Reimplementation of rechart tooltips. most of this is copied from ??? in the recharts source tree because the parts we are editting are deeply embedded into functions.
59
+
60
+ Most of the point of this is to get tooltips to be absolutely positioned off of document.body, not the nearest parent element. AG-Grid hides those tooltips otherwise.
61
+
62
+ ## defaultProps
63
+
64
+ needs to be set so that renderByOrder can access an have default values for
65
+ children.props when there are no props set by the consumer
66
+ doesn't work if using default parameters
@@ -0,0 +1,3 @@
1
+ export declare const DIVERGING_RED_WHITE_BLUE: string[];
2
+ export declare const BLUE_TO_YELLOW: string[];
3
+ //# sourceMappingURL=colorMap.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"colorMap.d.ts","sourceRoot":"","sources":["../../src/buckaroo_js/baked_data/colorMap.ts"],"names":[],"mappings":"AAKA,eAAO,MAAM,wBAAwB,UAiQpC,CAAC;AAGF,eAAO,MAAM,cAAc,UAiQ1B,CAAC"}
@@ -0,0 +1,520 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.BLUE_TO_YELLOW = exports.DIVERGING_RED_WHITE_BLUE = void 0;
4
+ exports.DIVERGING_RED_WHITE_BLUE = [
5
+ '#e65036',
6
+ '#e65138',
7
+ '#e75339',
8
+ '#e7553a',
9
+ '#e8563c',
10
+ '#e8583d',
11
+ '#e9593f',
12
+ '#e95b40',
13
+ '#e95c41',
14
+ '#ea5e43',
15
+ '#ea5f44',
16
+ '#eb6046',
17
+ '#eb6247',
18
+ '#ec6349',
19
+ '#ec654a',
20
+ '#ec664b',
21
+ '#ed684d',
22
+ '#ed694e',
23
+ '#ee6a50',
24
+ '#ee6c51',
25
+ '#ee6d52',
26
+ '#ef6f54',
27
+ '#ef7055',
28
+ '#ef7157',
29
+ '#f07358',
30
+ '#f0745a',
31
+ '#f1765b',
32
+ '#f1775d',
33
+ '#f1785e',
34
+ '#f27a5f',
35
+ '#f27b61',
36
+ '#f27c62',
37
+ '#f37e64',
38
+ '#f37f65',
39
+ '#f38067',
40
+ '#f48268',
41
+ '#f4836a',
42
+ '#f4846b',
43
+ '#f5866c',
44
+ '#f5876e',
45
+ '#f5886f',
46
+ '#f58a71',
47
+ '#f68b72',
48
+ '#f68c74',
49
+ '#f68d75',
50
+ '#f78f77',
51
+ '#f79078',
52
+ '#f7917a',
53
+ '#f7937b',
54
+ '#f8947d',
55
+ '#f8957e',
56
+ '#f89780',
57
+ '#f89881',
58
+ '#f99983',
59
+ '#f99a84',
60
+ '#f99c86',
61
+ '#f99d87',
62
+ '#f99e89',
63
+ '#faa08a',
64
+ '#faa18c',
65
+ '#faa28d',
66
+ '#faa38f',
67
+ '#faa590',
68
+ '#fba692',
69
+ '#fba793',
70
+ '#fba995',
71
+ '#fbaa96',
72
+ '#fbab98',
73
+ '#fbac99',
74
+ '#fcae9b',
75
+ '#fcaf9c',
76
+ '#fcb09e',
77
+ '#fcb19f',
78
+ '#fcb3a1',
79
+ '#fcb4a2',
80
+ '#fcb5a4',
81
+ '#fcb7a5',
82
+ '#fdb8a7',
83
+ '#fdb9a8',
84
+ '#fdbaaa',
85
+ '#fdbcac',
86
+ '#fdbdad',
87
+ '#fdbeaf',
88
+ '#fdbfb0',
89
+ '#fdc1b2',
90
+ '#fdc2b3',
91
+ '#fdc3b5',
92
+ '#fdc4b6',
93
+ '#fdc6b8',
94
+ '#fdc7ba',
95
+ '#fdc8bb',
96
+ '#fdcabd',
97
+ '#fdcbbe',
98
+ '#fdccc0',
99
+ '#fdcdc1',
100
+ '#fdcfc3',
101
+ '#fdd0c5',
102
+ '#fdd1c6',
103
+ '#fdd2c8',
104
+ '#fdd4c9',
105
+ '#fdd5cb',
106
+ '#fdd6cc',
107
+ '#fdd7ce',
108
+ '#fdd9d0',
109
+ '#fddad1',
110
+ '#fddbd3',
111
+ '#fddcd4',
112
+ '#fdded6',
113
+ '#fcdfd8',
114
+ '#fce0d9',
115
+ '#fce1db',
116
+ '#fce3dc',
117
+ '#fce4de',
118
+ '#fce5e0',
119
+ '#fce7e1',
120
+ '#fce8e3',
121
+ '#fbe9e5',
122
+ '#fbeae6',
123
+ '#fbece8',
124
+ '#fbede9',
125
+ '#fbeeeb',
126
+ '#faefed',
127
+ '#faf1ee',
128
+ '#faf2f0',
129
+ '#faf3f2',
130
+ '#f9f4f3',
131
+ '#f9f5f5',
132
+ '#f8f6f6',
133
+ '#f7f6f7',
134
+ '#f6f6f8',
135
+ '#f5f5f9',
136
+ '#f4f4f9',
137
+ '#f3f3f9',
138
+ '#f1f2f9',
139
+ '#f0f1f9',
140
+ '#eff0f9',
141
+ '#eeeffa',
142
+ '#edeefa',
143
+ '#ecedfa',
144
+ '#eaecfa',
145
+ '#e9ebfa',
146
+ '#e8eafa',
147
+ '#e7e9fa',
148
+ '#e6e8fa',
149
+ '#e5e7fa',
150
+ '#e3e6fa',
151
+ '#e2e5fa',
152
+ '#e1e4fa',
153
+ '#e0e3fa',
154
+ '#dfe2fb',
155
+ '#dde1fb',
156
+ '#dce0fb',
157
+ '#dbdffb',
158
+ '#dadefb',
159
+ '#d9ddfb',
160
+ '#d7dcfb',
161
+ '#d6dbfb',
162
+ '#d5dafb',
163
+ '#d4d9fb',
164
+ '#d3d8fb',
165
+ '#d1d7fb',
166
+ '#d0d6fb',
167
+ '#cfd5fb',
168
+ '#ced4fb',
169
+ '#cdd3fc',
170
+ '#cbd2fc',
171
+ '#cad1fc',
172
+ '#c9d0fc',
173
+ '#c8cffc',
174
+ '#c6cefc',
175
+ '#c5cdfc',
176
+ '#c4ccfc',
177
+ '#c3cbfc',
178
+ '#c1cafc',
179
+ '#c0c9fc',
180
+ '#bfc8fc',
181
+ '#bdc7fc',
182
+ '#bcc7fc',
183
+ '#bbc6fc',
184
+ '#bac5fc',
185
+ '#b8c4fc',
186
+ '#b7c3fc',
187
+ '#b6c2fc',
188
+ '#b4c1fd',
189
+ '#b3c0fd',
190
+ '#b2bffd',
191
+ '#b0befd',
192
+ '#afbdfd',
193
+ '#aebcfd',
194
+ '#acbbfd',
195
+ '#abbafd',
196
+ '#aab9fd',
197
+ '#a8b8fd',
198
+ '#a7b7fd',
199
+ '#a5b6fd',
200
+ '#a4b5fd',
201
+ '#a3b4fd',
202
+ '#a1b3fd',
203
+ '#a0b2fd',
204
+ '#9eb2fd',
205
+ '#9db1fd',
206
+ '#9bb0fd',
207
+ '#9aaffd',
208
+ '#99aefd',
209
+ '#97adfd',
210
+ '#96acfd',
211
+ '#94abfd',
212
+ '#93aafd',
213
+ '#91a9fd',
214
+ '#90a8fd',
215
+ '#8ea7fd',
216
+ '#8ca6fd',
217
+ '#8ba5fe',
218
+ '#89a4fe',
219
+ '#88a4fe',
220
+ '#86a3fe',
221
+ '#84a2fe',
222
+ '#83a1fe',
223
+ '#81a0fe',
224
+ '#809ffe',
225
+ '#7e9efe',
226
+ '#7c9dfe',
227
+ '#7a9cfe',
228
+ '#799bfe',
229
+ '#779afe',
230
+ '#759afe',
231
+ '#7399fe',
232
+ '#7198fe',
233
+ '#7097fe',
234
+ '#6e96fe',
235
+ '#6c95fe',
236
+ '#6a94fe',
237
+ '#6893fe',
238
+ '#6692fe',
239
+ '#6491fe',
240
+ '#6291fe',
241
+ '#5f90fe',
242
+ '#5d8ffe',
243
+ '#5b8efe',
244
+ '#598dfe',
245
+ '#568cfe',
246
+ '#548bfe',
247
+ '#518afe',
248
+ '#4f8afe',
249
+ '#4c89fe',
250
+ '#4988fe',
251
+ '#4787fe',
252
+ '#4486fe',
253
+ '#4085fe',
254
+ '#3d84fe',
255
+ '#3a83fe',
256
+ '#3683fe',
257
+ '#3282fe',
258
+ '#2e81fe',
259
+ '#2980fe',
260
+ '#247ffe'
261
+ ];
262
+ exports.BLUE_TO_YELLOW = [
263
+ '#0488fc',
264
+ '#1089fb',
265
+ '#1789fb',
266
+ '#1d89fa',
267
+ '#228afa',
268
+ '#268af9',
269
+ '#2a8af9',
270
+ '#2e8af8',
271
+ '#318bf7',
272
+ '#348bf7',
273
+ '#378bf6',
274
+ '#3a8cf6',
275
+ '#3c8cf5',
276
+ '#3f8cf5',
277
+ '#418df4',
278
+ '#438df4',
279
+ '#458df3',
280
+ '#488df2',
281
+ '#4a8ef2',
282
+ '#4c8ef1',
283
+ '#4d8ef1',
284
+ '#4f8ff0',
285
+ '#518ff0',
286
+ '#538fef',
287
+ '#5490ee',
288
+ '#5690ee',
289
+ '#5890ed',
290
+ '#5991ed',
291
+ '#5b91ec',
292
+ '#5c91ec',
293
+ '#5e92eb',
294
+ '#5f92ea',
295
+ '#6192ea',
296
+ '#6292e9',
297
+ '#6393e9',
298
+ '#6593e8',
299
+ '#6693e8',
300
+ '#6794e7',
301
+ '#6994e6',
302
+ '#6a94e6',
303
+ '#6b95e5',
304
+ '#6c95e5',
305
+ '#6e95e4',
306
+ '#6f96e4',
307
+ '#7096e3',
308
+ '#7196e3',
309
+ '#7297e2',
310
+ '#7397e1',
311
+ '#7497e1',
312
+ '#7698e0',
313
+ '#7798e0',
314
+ '#7898df',
315
+ '#7999df',
316
+ '#7a99de',
317
+ '#7b99dd',
318
+ '#7c9add',
319
+ '#7d9adc',
320
+ '#7e9adc',
321
+ '#7f9bdb',
322
+ '#809bdb',
323
+ '#819bda',
324
+ '#829cd9',
325
+ '#839cd9',
326
+ '#849cd8',
327
+ '#849dd8',
328
+ '#859dd7',
329
+ '#869dd7',
330
+ '#879ed6',
331
+ '#889ed5',
332
+ '#899ed5',
333
+ '#8a9fd4',
334
+ '#8b9fd4',
335
+ '#8c9fd3',
336
+ '#8ca0d3',
337
+ '#8da0d2',
338
+ '#8ea0d1',
339
+ '#8fa1d1',
340
+ '#90a1d0',
341
+ '#91a1d0',
342
+ '#91a2cf',
343
+ '#92a2ce',
344
+ '#93a2ce',
345
+ '#94a3cd',
346
+ '#95a3cd',
347
+ '#95a3cc',
348
+ '#96a4cc',
349
+ '#97a4cb',
350
+ '#98a4ca',
351
+ '#98a5ca',
352
+ '#99a5c9',
353
+ '#9aa5c9',
354
+ '#9ba6c8',
355
+ '#9ba6c8',
356
+ '#9ca6c7',
357
+ '#9da7c6',
358
+ '#9ea7c6',
359
+ '#9ea7c5',
360
+ '#9fa8c5',
361
+ '#a0a8c4',
362
+ '#a0a9c3',
363
+ '#a1a9c3',
364
+ '#a2a9c2',
365
+ '#a2aac2',
366
+ '#a3aac1',
367
+ '#a4aac1',
368
+ '#a4abc0',
369
+ '#a5abbf',
370
+ '#a6abbf',
371
+ '#a6acbe',
372
+ '#a7acbe',
373
+ '#a8acbd',
374
+ '#a8adbc',
375
+ '#a9adbc',
376
+ '#aaadbb',
377
+ '#aaaebb',
378
+ '#abaeba',
379
+ '#acafb9',
380
+ '#acafb9',
381
+ '#adafb8',
382
+ '#adb0b8',
383
+ '#aeb0b7',
384
+ '#afb0b7',
385
+ '#afb1b6',
386
+ '#b0b1b5',
387
+ '#b1b1b5',
388
+ '#b1b2b4',
389
+ '#b2b2b4',
390
+ '#b2b2b3',
391
+ '#b3b3b2',
392
+ '#b4b3b2',
393
+ '#b4b3b1',
394
+ '#b5b4b1',
395
+ '#b6b4b0',
396
+ '#b7b4af',
397
+ '#b7b5af',
398
+ '#b8b5ae',
399
+ '#b9b5ad',
400
+ '#bab6ad',
401
+ '#bab6ac',
402
+ '#bbb6ac',
403
+ '#bcb7ab',
404
+ '#bcb7aa',
405
+ '#bdb7aa',
406
+ '#beb8a9',
407
+ '#beb8a8',
408
+ '#bfb8a8',
409
+ '#c0b9a7',
410
+ '#c0b9a7',
411
+ '#c1b9a6',
412
+ '#c2baa5',
413
+ '#c2baa5',
414
+ '#c3baa4',
415
+ '#c4bba3',
416
+ '#c4bba3',
417
+ '#c5bba2',
418
+ '#c6bca2',
419
+ '#c6bca1',
420
+ '#c7bca0',
421
+ '#c8bca0',
422
+ '#c8bd9f',
423
+ '#c9bd9e',
424
+ '#cabd9e',
425
+ '#cabe9d',
426
+ '#cbbe9c',
427
+ '#ccbe9c',
428
+ '#ccbf9b',
429
+ '#cdbf9b',
430
+ '#cdbf9a',
431
+ '#cec099',
432
+ '#cfc099',
433
+ '#cfc098',
434
+ '#d0c197',
435
+ '#d1c197',
436
+ '#d1c196',
437
+ '#d2c295',
438
+ '#d2c295',
439
+ '#d3c294',
440
+ '#d4c393',
441
+ '#d4c393',
442
+ '#d5c392',
443
+ '#d5c491',
444
+ '#d6c491',
445
+ '#d7c490',
446
+ '#d7c58f',
447
+ '#d8c58f',
448
+ '#d8c58e',
449
+ '#d9c68d',
450
+ '#dac68d',
451
+ '#dac68c',
452
+ '#dbc78b',
453
+ '#dbc78b',
454
+ '#dcc78a',
455
+ '#dcc889',
456
+ '#ddc889',
457
+ '#dec888',
458
+ '#dec987',
459
+ '#dfc987',
460
+ '#dfc986',
461
+ '#e0ca85',
462
+ '#e0ca85',
463
+ '#e1ca84',
464
+ '#e2cb83',
465
+ '#e2cb83',
466
+ '#e3cc82',
467
+ '#e3cc81',
468
+ '#e4cc80',
469
+ '#e4cd80',
470
+ '#e5cd7f',
471
+ '#e6cd7e',
472
+ '#e6ce7e',
473
+ '#e7ce7d',
474
+ '#e7ce7c',
475
+ '#e8cf7b',
476
+ '#e8cf7b',
477
+ '#e9cf7a',
478
+ '#e9d079',
479
+ '#ead078',
480
+ '#ead078',
481
+ '#ebd177',
482
+ '#ecd176',
483
+ '#ecd176',
484
+ '#edd275',
485
+ '#edd274',
486
+ '#eed273',
487
+ '#eed373',
488
+ '#efd372',
489
+ '#efd371',
490
+ '#f0d470',
491
+ '#f0d46f',
492
+ '#f1d46f',
493
+ '#f1d56e',
494
+ '#f2d56d',
495
+ '#f2d56c',
496
+ '#f3d66c',
497
+ '#f3d66b',
498
+ '#f4d66a',
499
+ '#f5d769',
500
+ '#f5d768',
501
+ '#f6d868',
502
+ '#f6d867',
503
+ '#f7d866',
504
+ '#f7d965',
505
+ '#f8d964',
506
+ '#f8d963',
507
+ '#f9da63',
508
+ '#f9da62',
509
+ '#fada61',
510
+ '#fadb60',
511
+ '#fbdb5f',
512
+ '#fbdb5e',
513
+ '#fcdc5d',
514
+ '#fcdc5d',
515
+ '#fddc5c',
516
+ '#fddd5b',
517
+ '#fedd5a',
518
+ '#fedd59'
519
+ ];
520
+ //# sourceMappingURL=colorMap.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"colorMap.js","sourceRoot":"","sources":["../../src/buckaroo_js/baked_data/colorMap.ts"],"names":[],"mappings":";;;AAKa,QAAA,wBAAwB,GAAG;IACpC,SAAS;IACT,SAAS;IACT,SAAS;IACT,SAAS;IACT,SAAS;IACT,SAAS;IACT,SAAS;IACT,SAAS;IACT,SAAS;IACT,SAAS;IACT,SAAS;IACT,SAAS;IACT,SAAS;IACT,SAAS;IACT,SAAS;IACT,SAAS;IACT,SAAS;IACT,SAAS;IACT,SAAS;IACT,SAAS;IACT,SAAS;IACT,SAAS;IACT,SAAS;IACT,SAAS;IACT,SAAS;IACT,SAAS;IACT,SAAS;IACT,SAAS;IACT,SAAS;IACT,SAAS;IACT,SAAS;IACT,SAAS;IACT,SAAS;IACT,SAAS;IACT,SAAS;IACT,SAAS;IACT,SAAS;IACT,SAAS;IACT,SAAS;IACT,SAAS;IACT,SAAS;IACT,SAAS;IACT,SAAS;IACT,SAAS;IACT,SAAS;IACT,SAAS;IACT,SAAS;IACT,SAAS;IACT,SAAS;IACT,SAAS;IACT,SAAS;IACT,SAAS;IACT,SAAS;IACT,SAAS;IACT,SAAS;IACT,SAAS;IACT,SAAS;IACT,SAAS;IACT,SAAS;IACT,SAAS;IACT,SAAS;IACT,SAAS;IACT,SAAS;IACT,SAAS;IACT,SAAS;IACT,SAAS;IACT,SAAS;IACT,SAAS;IACT,SAAS;IACT,SAAS;IACT,SAAS;IACT,SAAS;IACT,SAAS;IACT,SAAS;IACT,SAAS;IACT,SAAS;IACT,SAAS;IACT,SAAS;IACT,SAAS;IACT,SAAS;IACT,SAAS;IACT,SAAS;IACT,SAAS;IACT,SAAS;IACT,SAAS;IACT,SAAS;IACT,SAAS;IACT,SAAS;IACT,SAAS;IACT,SAAS;IACT,SAAS;IACT,SAAS;IACT,SAAS;IACT,SAAS;IACT,SAAS;IACT,SAAS;IACT,SAAS;IACT,SAAS;IACT,SAAS;IACT,SAAS;IACT,SAAS;IACT,SAAS;IACT,SAAS;IACT,SAAS;IACT,SAAS;IACT,SAAS;IACT,SAAS;IACT,SAAS;IACT,SAAS;IACT,SAAS;IACT,SAAS;IACT,SAAS;IACT,SAAS;IACT,SAAS;IACT,SAAS;IACT,SAAS;IACT,SAAS;IACT,SAAS;IACT,SAAS;IACT,SAAS;IACT,SAAS;IACT,SAAS;IACT,SAAS;IACT,SAAS;IACT,SAAS;IACT,SAAS;IACT,SAAS;IACT,SAAS;IACT,SAAS;IACT,SAAS;IACT,SAAS;IACT,SAAS;IACT,SAAS;IACT,SAAS;IACT,SAAS;IACT,SAAS;IACT,SAAS;IACT,SAAS;IACT,SAAS;IACT,SAAS;IACT,SAAS;IACT,SAAS;IACT,SAAS;IACT,SAAS;IACT,SAAS;IACT,SAAS;IACT,SAAS;IACT,SAAS;IACT,SAAS;IACT,SAAS;IACT,SAAS;IACT,SAAS;IACT,SAAS;IACT,SAAS;IACT,SAAS;IACT,SAAS;IACT,SAAS;IACT,SAAS;IACT,SAAS;IACT,SAAS;IACT,SAAS;IACT,SAAS;IACT,SAAS;IACT,SAAS;IACT,SAAS;IACT,SAAS;IACT,SAAS;IACT,SAAS;IACT,SAAS;IACT,SAAS;IACT,SAAS;IACT,SAAS;IACT,SAAS;IACT,SAAS;IACT,SAAS;IACT,SAAS;IACT,SAAS;IACT,SAAS;IACT,SAAS;IACT,SAAS;IACT,SAAS;IACT,SAAS;IACT,SAAS;IACT,SAAS;IACT,SAAS;IACT,SAAS;IACT,SAAS;IACT,SAAS;IACT,SAAS;IACT,SAAS;IACT,SAAS;IACT,SAAS;IACT,SAAS;IACT,SAAS;IACT,SAAS;IACT,SAAS;IACT,SAAS;IACT,SAAS;IACT,SAAS;IACT,SAAS;IACT,SAAS;IACT,SAAS;IACT,SAAS;IACT,SAAS;IACT,SAAS;IACT,SAAS;IACT,SAAS;IACT,SAAS;IACT,SAAS;IACT,SAAS;IACT,SAAS;IACT,SAAS;IACT,SAAS;IACT,SAAS;IACT,SAAS;IACT,SAAS;IACT,SAAS;IACT,SAAS;IACT,SAAS;IACT,SAAS;IACT,SAAS;IACT,SAAS;IACT,SAAS;IACT,SAAS;IACT,SAAS;IACT,SAAS;IACT,SAAS;IACT,SAAS;IACT,SAAS;IACT,SAAS;IACT,SAAS;IACT,SAAS;IACT,SAAS;IACT,SAAS;IACT,SAAS;IACT,SAAS;IACT,SAAS;IACT,SAAS;IACT,SAAS;IACT,SAAS;IACT,SAAS;IACT,SAAS;IACT,SAAS;IACT,SAAS;IACT,SAAS;IACT,SAAS;IACT,SAAS;IACT,SAAS;IACT,SAAS;IACT,SAAS;IACT,SAAS;IACT,SAAS;IACT,SAAS;IACT,SAAS;IACT,SAAS;IACT,SAAS;CACZ,CAAC;AAGW,QAAA,cAAc,GAAG;IAC1B,SAAS;IACT,SAAS;IACT,SAAS;IACT,SAAS;IACT,SAAS;IACT,SAAS;IACT,SAAS;IACT,SAAS;IACT,SAAS;IACT,SAAS;IACT,SAAS;IACT,SAAS;IACT,SAAS;IACT,SAAS;IACT,SAAS;IACT,SAAS;IACT,SAAS;IACT,SAAS;IACT,SAAS;IACT,SAAS;IACT,SAAS;IACT,SAAS;IACT,SAAS;IACT,SAAS;IACT,SAAS;IACT,SAAS;IACT,SAAS;IACT,SAAS;IACT,SAAS;IACT,SAAS;IACT,SAAS;IACT,SAAS;IACT,SAAS;IACT,SAAS;IACT,SAAS;IACT,SAAS;IACT,SAAS;IACT,SAAS;IACT,SAAS;IACT,SAAS;IACT,SAAS;IACT,SAAS;IACT,SAAS;IACT,SAAS;IACT,SAAS;IACT,SAAS;IACT,SAAS;IACT,SAAS;IACT,SAAS;IACT,SAAS;IACT,SAAS;IACT,SAAS;IACT,SAAS;IACT,SAAS;IACT,SAAS;IACT,SAAS;IACT,SAAS;IACT,SAAS;IACT,SAAS;IACT,SAAS;IACT,SAAS;IACT,SAAS;IACT,SAAS;IACT,SAAS;IACT,SAAS;IACT,SAAS;IACT,SAAS;IACT,SAAS;IACT,SAAS;IACT,SAAS;IACT,SAAS;IACT,SAAS;IACT,SAAS;IACT,SAAS;IACT,SAAS;IACT,SAAS;IACT,SAAS;IACT,SAAS;IACT,SAAS;IACT,SAAS;IACT,SAAS;IACT,SAAS;IACT,SAAS;IACT,SAAS;IACT,SAAS;IACT,SAAS;IACT,SAAS;IACT,SAAS;IACT,SAAS;IACT,SAAS;IACT,SAAS;IACT,SAAS;IACT,SAAS;IACT,SAAS;IACT,SAAS;IACT,SAAS;IACT,SAAS;IACT,SAAS;IACT,SAAS;IACT,SAAS;IACT,SAAS;IACT,SAAS;IACT,SAAS;IACT,SAAS;IACT,SAAS;IACT,SAAS;IACT,SAAS;IACT,SAAS;IACT,SAAS;IACT,SAAS;IACT,SAAS;IACT,SAAS;IACT,SAAS;IACT,SAAS;IACT,SAAS;IACT,SAAS;IACT,SAAS;IACT,SAAS;IACT,SAAS;IACT,SAAS;IACT,SAAS;IACT,SAAS;IACT,SAAS;IACT,SAAS;IACT,SAAS;IACT,SAAS;IACT,SAAS;IACT,SAAS;IACT,SAAS;IACT,SAAS;IACT,SAAS;IACT,SAAS;IACT,SAAS;IACT,SAAS;IACT,SAAS;IACT,SAAS;IACT,SAAS;IACT,SAAS;IACT,SAAS;IACT,SAAS;IACT,SAAS;IACT,SAAS;IACT,SAAS;IACT,SAAS;IACT,SAAS;IACT,SAAS;IACT,SAAS;IACT,SAAS;IACT,SAAS;IACT,SAAS;IACT,SAAS;IACT,SAAS;IACT,SAAS;IACT,SAAS;IACT,SAAS;IACT,SAAS;IACT,SAAS;IACT,SAAS;IACT,SAAS;IACT,SAAS;IACT,SAAS;IACT,SAAS;IACT,SAAS;IACT,SAAS;IACT,SAAS;IACT,SAAS;IACT,SAAS;IACT,SAAS;IACT,SAAS;IACT,SAAS;IACT,SAAS;IACT,SAAS;IACT,SAAS;IACT,SAAS;IACT,SAAS;IACT,SAAS;IACT,SAAS;IACT,SAAS;IACT,SAAS;IACT,SAAS;IACT,SAAS;IACT,SAAS;IACT,SAAS;IACT,SAAS;IACT,SAAS;IACT,SAAS;IACT,SAAS;IACT,SAAS;IACT,SAAS;IACT,SAAS;IACT,SAAS;IACT,SAAS;IACT,SAAS;IACT,SAAS;IACT,SAAS;IACT,SAAS;IACT,SAAS;IACT,SAAS;IACT,SAAS;IACT,SAAS;IACT,SAAS;IACT,SAAS;IACT,SAAS;IACT,SAAS;IACT,SAAS;IACT,SAAS;IACT,SAAS;IACT,SAAS;IACT,SAAS;IACT,SAAS;IACT,SAAS;IACT,SAAS;IACT,SAAS;IACT,SAAS;IACT,SAAS;IACT,SAAS;IACT,SAAS;IACT,SAAS;IACT,SAAS;IACT,SAAS;IACT,SAAS;IACT,SAAS;IACT,SAAS;IACT,SAAS;IACT,SAAS;IACT,SAAS;IACT,SAAS;IACT,SAAS;IACT,SAAS;IACT,SAAS;IACT,SAAS;IACT,SAAS;IACT,SAAS;IACT,SAAS;IACT,SAAS;IACT,SAAS;IACT,SAAS;IACT,SAAS;IACT,SAAS;IACT,SAAS;IACT,SAAS;IACT,SAAS;IACT,SAAS;IACT,SAAS;IACT,SAAS;IACT,SAAS;IACT,SAAS;IACT,SAAS;IACT,SAAS;IACT,SAAS;IACT,SAAS;IACT,SAAS;IACT,SAAS;IACT,SAAS;IACT,SAAS;IACT,SAAS;CACZ,CAAC"}