@hpcc-js/common 2.73.1 → 2.73.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.
Files changed (60) hide show
  1. package/LICENSE +43 -43
  2. package/README.md +59 -59
  3. package/dist/index.es6.js +32 -32
  4. package/dist/index.es6.js.map +1 -1
  5. package/dist/index.js +34 -34
  6. package/dist/index.js.map +1 -1
  7. package/dist/index.min.js +1 -1
  8. package/dist/index.min.js.map +1 -1
  9. package/package.json +4 -4
  10. package/src/CanvasWidget.ts +31 -31
  11. package/src/Class.ts +67 -67
  12. package/src/Database.ts +856 -856
  13. package/src/Entity.ts +235 -235
  14. package/src/EntityCard.ts +66 -66
  15. package/src/EntityPin.ts +103 -103
  16. package/src/EntityRect.css +15 -15
  17. package/src/EntityRect.ts +236 -236
  18. package/src/EntityVertex.ts +86 -86
  19. package/src/FAChar.css +2 -2
  20. package/src/FAChar.ts +82 -82
  21. package/src/HTMLWidget.ts +191 -191
  22. package/src/IList.ts +4 -4
  23. package/src/IMenu.ts +5 -5
  24. package/src/Icon.css +9 -9
  25. package/src/Icon.ts +164 -164
  26. package/src/Image.ts +95 -95
  27. package/src/List.css +13 -13
  28. package/src/List.ts +99 -99
  29. package/src/Menu.css +23 -23
  30. package/src/Menu.ts +134 -134
  31. package/src/Palette.ts +341 -341
  32. package/src/Platform.ts +125 -125
  33. package/src/ProgressBar.ts +105 -105
  34. package/src/PropertyExt.ts +793 -793
  35. package/src/ResizeSurface.css +39 -39
  36. package/src/ResizeSurface.ts +221 -221
  37. package/src/SVGWidget.ts +567 -567
  38. package/src/SVGZoomWidget.css +12 -12
  39. package/src/SVGZoomWidget.ts +426 -426
  40. package/src/Shape.css +3 -3
  41. package/src/Shape.ts +186 -186
  42. package/src/Surface.css +35 -35
  43. package/src/Surface.ts +349 -349
  44. package/src/Text.css +4 -4
  45. package/src/Text.ts +131 -131
  46. package/src/TextBox.css +4 -4
  47. package/src/TextBox.ts +168 -168
  48. package/src/TitleBar.css +99 -99
  49. package/src/TitleBar.ts +401 -401
  50. package/src/Transition.ts +45 -45
  51. package/src/Utility.ts +839 -839
  52. package/src/Widget.css +8 -8
  53. package/src/Widget.ts +730 -730
  54. package/src/WidgetArray.ts +13 -13
  55. package/src/__package__.ts +3 -3
  56. package/src/index.ts +55 -55
  57. package/types/PropertyExt.d.ts.map +1 -1
  58. package/types/Utility.d.ts.map +1 -1
  59. package/types/__package__.d.ts +2 -2
  60. package/types-3.4/__package__.d.ts +2 -2
package/LICENSE CHANGED
@@ -1,43 +1,43 @@
1
- HPCC SYSTEMS software Copyright (C) 2012 HPCC Systems.
2
-
3
- Licensed under the Apache License, Version 2.0 (the "License");
4
- you may not use this file except in compliance with the License.
5
- You may obtain a copy of the License at
6
-
7
- http://www.apache.org/licenses/LICENSE-2.0
8
-
9
- Unless required by applicable law or agreed to in writing, software
10
- distributed under the License is distributed on an "AS IS" BASIS,
11
- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12
- See the License for the specific language governing permissions and
13
- limitations under the License.
14
-
15
-
16
- Intersection Algorithms Provided by Kevin Lindsey
17
- Copyright (c) 2000-2011, Kevin Lindsey
18
- All rights reserved.
19
-
20
- Redistribution and use in source and binary forms, with or without
21
- modification, are permitted provided that the following conditions are met:
22
-
23
- - Redistributions of source code must retain the above copyright notice,
24
- this list of conditions and the following disclaimer.
25
-
26
- - Redistributions in binary form must reproduce the above copyright
27
- notice, this list of conditions and the following disclaimer in the
28
- documentation and/or other materials provided with the distribution.
29
-
30
- - Neither the name of this software nor the names of its contributors
31
- may be used to endorse or promote products derived from this software
32
- without specific prior written permission.
33
-
34
- THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND
35
- ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
36
- WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
37
- DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR
38
- ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
39
- (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
40
- LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON
41
- ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
42
- (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
43
- SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
1
+ HPCC SYSTEMS software Copyright (C) 2012 HPCC Systems.
2
+
3
+ Licensed under the Apache License, Version 2.0 (the "License");
4
+ you may not use this file except in compliance with the License.
5
+ You may obtain a copy of the License at
6
+
7
+ http://www.apache.org/licenses/LICENSE-2.0
8
+
9
+ Unless required by applicable law or agreed to in writing, software
10
+ distributed under the License is distributed on an "AS IS" BASIS,
11
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12
+ See the License for the specific language governing permissions and
13
+ limitations under the License.
14
+
15
+
16
+ Intersection Algorithms Provided by Kevin Lindsey
17
+ Copyright (c) 2000-2011, Kevin Lindsey
18
+ All rights reserved.
19
+
20
+ Redistribution and use in source and binary forms, with or without
21
+ modification, are permitted provided that the following conditions are met:
22
+
23
+ - Redistributions of source code must retain the above copyright notice,
24
+ this list of conditions and the following disclaimer.
25
+
26
+ - Redistributions in binary form must reproduce the above copyright
27
+ notice, this list of conditions and the following disclaimer in the
28
+ documentation and/or other materials provided with the distribution.
29
+
30
+ - Neither the name of this software nor the names of its contributors
31
+ may be used to endorse or promote products derived from this software
32
+ without specific prior written permission.
33
+
34
+ THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND
35
+ ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
36
+ WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
37
+ DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR
38
+ ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
39
+ (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
40
+ LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON
41
+ ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
42
+ (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
43
+ SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
package/README.md CHANGED
@@ -1,59 +1,59 @@
1
- # @hpcc-js/common
2
- This package is part of the mono repository "@hpcc-js" (aka Visualization Framework), for more information including [Quick Start](https://github.com/hpcc-systems/Visualization/wiki/Quick-Start), [Gallery](https://raw.githack.com/hpcc-systems/Visualization/trunk/demos/gallery/gallery.html) and [Tutorials](https://github.com/hpcc-systems/Visualization/wiki/Tutorials), please visit the main page on GitHub: [hpcc-systems/Visualization](https://github.com/hpcc-systems/Visualization).
3
-
4
- ## Exported Widgets
5
- * [EntityCard](https://raw.githack.com/hpcc-systems/Visualization/trunk/demos/gallery/playground.html?./samples/common/EntityCard.js)
6
- * [EntityPin](https://raw.githack.com/hpcc-systems/Visualization/trunk/demos/gallery/playground.html?./samples/common/EntityPin.js)
7
- * [EntityRect](https://raw.githack.com/hpcc-systems/Visualization/trunk/demos/gallery/playground.html?./samples/common/EntityRect.js)
8
- * [EntityVertex](https://raw.githack.com/hpcc-systems/Visualization/trunk/demos/gallery/playground.html?./samples/common/EntityVertex.js)
9
- * [Icon](https://raw.githack.com/hpcc-systems/Visualization/trunk/demos/gallery/playground.html?./samples/common/Icon.js)
10
- * [Shape](https://raw.githack.com/hpcc-systems/Visualization/trunk/demos/gallery/playground.html?./samples/common/Shape.js)
11
- * [TextBox](https://raw.githack.com/hpcc-systems/Visualization/trunk/demos/gallery/playground.html?./samples/widget/Text%20Box.js)
12
- * [TitleBar](https://raw.githack.com/hpcc-systems/Visualization/trunk/demos/gallery/playground.html?./samples/common/TitleBar.js)
13
- * [CanvasWidget](https://raw.githack.com/hpcc-systems/Visualization/trunk/demos/gallery/playground.html?./samples/common/CanvasWidget.js)
14
- * [HTMLWidget](https://raw.githack.com/hpcc-systems/Visualization/trunk/demos/gallery/playground.html?./samples/common/HTMLWidget.js)
15
- * [SVGWidget](https://raw.githack.com/hpcc-systems/Visualization/trunk/demos/gallery/playground.html?./samples/common/SVGWidget.js)
16
-
17
- ## Stand-alone HTML Example
18
- ```html
19
- <html>
20
- <head>
21
- <title>Simple EntityCard</title>
22
- <link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/font-awesome/4.7.0/css/font-awesome.min.css"/>
23
- <script src="https://unpkg.com/@hpcc-js/util"></script>
24
- <script src="https://unpkg.com/@hpcc-js/common"></script>
25
- </head>
26
- <body>
27
- <div id="placeholder" style="width:800px;height:600px;"></div>
28
- <script>
29
- console.log(window["@hpcc-js/common"].EntityCard);
30
- var chart = new window["@hpcc-js/common"].EntityCard()
31
- .target("placeholder")
32
- .icon("")
33
- .iconDiameter(55)
34
- .iconPaddingPercent(0)
35
- .title("Hello\nEntityCard")
36
- .titleFontSize(28)
37
- .titleColor("#ecf0f1")
38
- .description("This is an EntityCard description")
39
- .descriptionColor("#ecf0f1")
40
- .iconColor("#ecf0f1")
41
- .backgroundShape("rect")
42
- .backgroundColorFill("#2980b9")
43
- .backgroundColorStroke("#2c3e50")
44
- .annotationIcons([
45
- { faChar: "A", image_colorFill: "#2c3e50", shape_colorFill: "#f1c40f", shape_colorStroke: "none" },
46
- { faChar: "B", image_colorFill: "#2c3e50", shape_colorFill: "#e67e22", shape_colorStroke: "none" },
47
- { faChar: "C", image_colorFill: "#2c3e50", shape_colorFill: "#e74c3c", shape_colorStroke: "none" }
48
- ])
49
- .render();
50
- </script>
51
- </body>
52
- </html>
53
- ```
54
-
55
- ## Getting Started with @hpccjs
56
- * _[Quick Start](https://github.com/hpcc-systems/Visualization/wiki/Quick-Start)_
57
- * _[Tutorials](https://github.com/hpcc-systems/Visualization/wiki/Tutorials)_
58
- * _[Gallery](https://raw.githack.com/hpcc-systems/Visualization/trunk/demos/gallery/gallery.html)_ ([alt](https://rawgit.com/hpcc-systems/Visualization/trunk/demos/gallery/gallery.html))
59
- * _[Wiki](https://github.com/hpcc-systems/Visualization/wiki)_
1
+ # @hpcc-js/common
2
+ This package is part of the mono repository "@hpcc-js" (aka Visualization Framework), for more information including [Quick Start](https://github.com/hpcc-systems/Visualization/wiki/Quick-Start), [Gallery](https://raw.githack.com/hpcc-systems/Visualization/trunk/demos/gallery/gallery.html) and [Tutorials](https://github.com/hpcc-systems/Visualization/wiki/Tutorials), please visit the main page on GitHub: [hpcc-systems/Visualization](https://github.com/hpcc-systems/Visualization).
3
+
4
+ ## Exported Widgets
5
+ * [EntityCard](https://raw.githack.com/hpcc-systems/Visualization/trunk/demos/gallery/playground.html?./samples/common/EntityCard.js)
6
+ * [EntityPin](https://raw.githack.com/hpcc-systems/Visualization/trunk/demos/gallery/playground.html?./samples/common/EntityPin.js)
7
+ * [EntityRect](https://raw.githack.com/hpcc-systems/Visualization/trunk/demos/gallery/playground.html?./samples/common/EntityRect.js)
8
+ * [EntityVertex](https://raw.githack.com/hpcc-systems/Visualization/trunk/demos/gallery/playground.html?./samples/common/EntityVertex.js)
9
+ * [Icon](https://raw.githack.com/hpcc-systems/Visualization/trunk/demos/gallery/playground.html?./samples/common/Icon.js)
10
+ * [Shape](https://raw.githack.com/hpcc-systems/Visualization/trunk/demos/gallery/playground.html?./samples/common/Shape.js)
11
+ * [TextBox](https://raw.githack.com/hpcc-systems/Visualization/trunk/demos/gallery/playground.html?./samples/widget/Text%20Box.js)
12
+ * [TitleBar](https://raw.githack.com/hpcc-systems/Visualization/trunk/demos/gallery/playground.html?./samples/common/TitleBar.js)
13
+ * [CanvasWidget](https://raw.githack.com/hpcc-systems/Visualization/trunk/demos/gallery/playground.html?./samples/common/CanvasWidget.js)
14
+ * [HTMLWidget](https://raw.githack.com/hpcc-systems/Visualization/trunk/demos/gallery/playground.html?./samples/common/HTMLWidget.js)
15
+ * [SVGWidget](https://raw.githack.com/hpcc-systems/Visualization/trunk/demos/gallery/playground.html?./samples/common/SVGWidget.js)
16
+
17
+ ## Stand-alone HTML Example
18
+ ```html
19
+ <html>
20
+ <head>
21
+ <title>Simple EntityCard</title>
22
+ <link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/font-awesome/4.7.0/css/font-awesome.min.css"/>
23
+ <script src="https://unpkg.com/@hpcc-js/util"></script>
24
+ <script src="https://unpkg.com/@hpcc-js/common"></script>
25
+ </head>
26
+ <body>
27
+ <div id="placeholder" style="width:800px;height:600px;"></div>
28
+ <script>
29
+ console.log(window["@hpcc-js/common"].EntityCard);
30
+ var chart = new window["@hpcc-js/common"].EntityCard()
31
+ .target("placeholder")
32
+ .icon("")
33
+ .iconDiameter(55)
34
+ .iconPaddingPercent(0)
35
+ .title("Hello\nEntityCard")
36
+ .titleFontSize(28)
37
+ .titleColor("#ecf0f1")
38
+ .description("This is an EntityCard description")
39
+ .descriptionColor("#ecf0f1")
40
+ .iconColor("#ecf0f1")
41
+ .backgroundShape("rect")
42
+ .backgroundColorFill("#2980b9")
43
+ .backgroundColorStroke("#2c3e50")
44
+ .annotationIcons([
45
+ { faChar: "A", image_colorFill: "#2c3e50", shape_colorFill: "#f1c40f", shape_colorStroke: "none" },
46
+ { faChar: "B", image_colorFill: "#2c3e50", shape_colorFill: "#e67e22", shape_colorStroke: "none" },
47
+ { faChar: "C", image_colorFill: "#2c3e50", shape_colorFill: "#e74c3c", shape_colorStroke: "none" }
48
+ ])
49
+ .render();
50
+ </script>
51
+ </body>
52
+ </html>
53
+ ```
54
+
55
+ ## Getting Started with @hpccjs
56
+ * _[Quick Start](https://github.com/hpcc-systems/Visualization/wiki/Quick-Start)_
57
+ * _[Tutorials](https://github.com/hpcc-systems/Visualization/wiki/Tutorials)_
58
+ * _[Gallery](https://raw.githack.com/hpcc-systems/Visualization/trunk/demos/gallery/gallery.html)_ ([alt](https://rawgit.com/hpcc-systems/Visualization/trunk/demos/gallery/gallery.html))
59
+ * _[Wiki](https://github.com/hpcc-systems/Visualization/wiki)_
package/dist/index.es6.js CHANGED
@@ -1,8 +1,8 @@
1
1
  import { classID2Meta, hashSum, isArray } from '@hpcc-js/util';
2
2
 
3
3
  var PKG_NAME = "@hpcc-js/common";
4
- var PKG_VERSION = "2.73.1";
5
- var BUILD_VERSION = "2.108.2";
4
+ var PKG_VERSION = "2.73.2";
5
+ var BUILD_VERSION = "2.108.6";
6
6
 
7
7
  /******************************************************************************
8
8
  Copyright (c) Microsoft Corporation.
@@ -1758,7 +1758,7 @@ function hslConvert(o) {
1758
1758
  return new Hsl(h, s, l, o.opacity);
1759
1759
  }
1760
1760
 
1761
- function hsl$2(h, s, l, opacity) {
1761
+ function hsl$1(h, s, l, opacity) {
1762
1762
  return arguments.length === 1 ? hslConvert(h) : new Hsl(h, s, l, opacity == null ? 1 : opacity);
1763
1763
  }
1764
1764
 
@@ -1769,7 +1769,7 @@ function Hsl(h, s, l, opacity) {
1769
1769
  this.opacity = +opacity;
1770
1770
  }
1771
1771
 
1772
- define(Hsl, hsl$2, extend(Color, {
1772
+ define(Hsl, hsl$1, extend(Color, {
1773
1773
  brighter(k) {
1774
1774
  k = k == null ? brighter : Math.pow(brighter, k);
1775
1775
  return new Hsl(this.h, this.s, this.l * k, this.opacity);
@@ -1916,7 +1916,7 @@ function lch(l, c, h, opacity) {
1916
1916
  return arguments.length === 1 ? hclConvert(l) : new Hcl(h, c, l, opacity == null ? 1 : opacity);
1917
1917
  }
1918
1918
 
1919
- function hcl$2(h, c, l, opacity) {
1919
+ function hcl$1(h, c, l, opacity) {
1920
1920
  return arguments.length === 1 ? hclConvert(h) : new Hcl(h, c, l, opacity == null ? 1 : opacity);
1921
1921
  }
1922
1922
 
@@ -1933,7 +1933,7 @@ function hcl2lab(o) {
1933
1933
  return new Lab(o.l, Math.cos(h) * o.c, Math.sin(h) * o.c, o.opacity);
1934
1934
  }
1935
1935
 
1936
- define(Hcl, hcl$2, extend(Color, {
1936
+ define(Hcl, hcl$1, extend(Color, {
1937
1937
  brighter(k) {
1938
1938
  return new Hcl(this.h, this.c, this.l + K * (k == null ? 1 : k), this.opacity);
1939
1939
  },
@@ -1968,7 +1968,7 @@ function cubehelixConvert(o) {
1968
1968
  return new Cubehelix(h < 0 ? h + 360 : h, s, l, o.opacity);
1969
1969
  }
1970
1970
 
1971
- function cubehelix$3(h, s, l, opacity) {
1971
+ function cubehelix$2(h, s, l, opacity) {
1972
1972
  return arguments.length === 1 ? cubehelixConvert(h) : new Cubehelix(h, s, l, opacity == null ? 1 : opacity);
1973
1973
  }
1974
1974
 
@@ -1979,7 +1979,7 @@ function Cubehelix(h, s, l, opacity) {
1979
1979
  this.opacity = +opacity;
1980
1980
  }
1981
1981
 
1982
- define(Cubehelix, cubehelix$3, extend(Color, {
1982
+ define(Cubehelix, cubehelix$2, extend(Color, {
1983
1983
  brighter(k) {
1984
1984
  k = k == null ? brighter : Math.pow(brighter, k);
1985
1985
  return new Cubehelix(this.h, this.s, this.l * k, this.opacity);
@@ -2003,7 +2003,7 @@ define(Cubehelix, cubehelix$3, extend(Color, {
2003
2003
  }
2004
2004
  }));
2005
2005
 
2006
- function basis(t1, v0, v1, v2, v3) {
2006
+ function basis$1(t1, v0, v1, v2, v3) {
2007
2007
  var t2 = t1 * t1, t3 = t2 * t1;
2008
2008
  return ((1 - 3 * t1 + 3 * t2 - t3) * v0
2009
2009
  + (4 - 6 * t2 + 3 * t3) * v1
@@ -2011,7 +2011,7 @@ function basis(t1, v0, v1, v2, v3) {
2011
2011
  + t3 * v3) / 6;
2012
2012
  }
2013
2013
 
2014
- function basis$1(values) {
2014
+ function basis(values) {
2015
2015
  var n = values.length - 1;
2016
2016
  return function(t) {
2017
2017
  var i = t <= 0 ? (t = 0) : t >= 1 ? (t = 1, n - 1) : Math.floor(t * n),
@@ -2019,7 +2019,7 @@ function basis$1(values) {
2019
2019
  v2 = values[i + 1],
2020
2020
  v0 = i > 0 ? values[i - 1] : 2 * v1 - v2,
2021
2021
  v3 = i < n - 1 ? values[i + 2] : 2 * v2 - v1;
2022
- return basis((t - i / n) * n, v0, v1, v2, v3);
2022
+ return basis$1((t - i / n) * n, v0, v1, v2, v3);
2023
2023
  };
2024
2024
  }
2025
2025
 
@@ -2031,7 +2031,7 @@ function basisClosed(values) {
2031
2031
  v1 = values[i % n],
2032
2032
  v2 = values[(i + 1) % n],
2033
2033
  v3 = values[(i + 2) % n];
2034
- return basis((t - i / n) * n, v0, v1, v2, v3);
2034
+ return basis$1((t - i / n) * n, v0, v1, v2, v3);
2035
2035
  };
2036
2036
  }
2037
2037
 
@@ -2117,7 +2117,7 @@ function rgbSpline(spline) {
2117
2117
  };
2118
2118
  }
2119
2119
 
2120
- var rgbBasis = rgbSpline(basis$1);
2120
+ var rgbBasis = rgbSpline(basis);
2121
2121
  var rgbBasisClosed = rgbSpline(basisClosed);
2122
2122
 
2123
2123
  function numberArray(a, b) {
@@ -2466,7 +2466,7 @@ function interpolateZoom(p0, p1) {
2466
2466
 
2467
2467
  function hsl(hue) {
2468
2468
  return function(start, end) {
2469
- var h = hue((start = hsl$2(start)).h, (end = hsl$2(end)).h),
2469
+ var h = hue((start = hsl$1(start)).h, (end = hsl$1(end)).h),
2470
2470
  s = nogamma(start.s, end.s),
2471
2471
  l = nogamma(start.l, end.l),
2472
2472
  opacity = nogamma(start.opacity, end.opacity);
@@ -2480,7 +2480,7 @@ function hsl(hue) {
2480
2480
  }
2481
2481
  }
2482
2482
 
2483
- var hsl$1 = hsl(hue$1);
2483
+ var hsl_default = hsl(hue$1);
2484
2484
  var hslLong = hsl(nogamma);
2485
2485
 
2486
2486
  function lab(start, end) {
@@ -2499,7 +2499,7 @@ function lab(start, end) {
2499
2499
 
2500
2500
  function hcl(hue) {
2501
2501
  return function(start, end) {
2502
- var h = hue((start = hcl$2(start)).h, (end = hcl$2(end)).h),
2502
+ var h = hue((start = hcl$1(start)).h, (end = hcl$1(end)).h),
2503
2503
  c = nogamma(start.c, end.c),
2504
2504
  l = nogamma(start.l, end.l),
2505
2505
  opacity = nogamma(start.opacity, end.opacity);
@@ -2513,7 +2513,7 @@ function hcl(hue) {
2513
2513
  }
2514
2514
  }
2515
2515
 
2516
- var hcl$1 = hcl(hue$1);
2516
+ var hcl_default = hcl(hue$1);
2517
2517
  var hclLong = hcl(nogamma);
2518
2518
 
2519
2519
  function cubehelix$1(hue) {
@@ -2521,7 +2521,7 @@ function cubehelix$1(hue) {
2521
2521
  y = +y;
2522
2522
 
2523
2523
  function cubehelix(start, end) {
2524
- var h = hue((start = cubehelix$3(start)).h, (end = cubehelix$3(end)).h),
2524
+ var h = hue((start = cubehelix$2(start)).h, (end = cubehelix$2(end)).h),
2525
2525
  s = nogamma(start.s, end.s),
2526
2526
  l = nogamma(start.l, end.l),
2527
2527
  opacity = nogamma(start.opacity, end.opacity);
@@ -2540,7 +2540,7 @@ function cubehelix$1(hue) {
2540
2540
  })(1);
2541
2541
  }
2542
2542
 
2543
- var cubehelix$2 = cubehelix$1(hue$1);
2543
+ var cubehelix_default = cubehelix$1(hue$1);
2544
2544
  var cubehelixLong = cubehelix$1(nogamma);
2545
2545
 
2546
2546
  function piecewise(interpolate, values) {
@@ -10915,15 +10915,15 @@ var d3SchemeCategory20c = colors("3182bd6baed69ecae1c6dbefe6550dfd8d3cfdae6bfdd0
10915
10915
 
10916
10916
  var d3SchemeCategory20 = colors("1f77b4aec7e8ff7f0effbb782ca02c98df8ad62728ff98969467bdc5b0d58c564bc49c94e377c2f7b6d27f7f7fc7c7c7bcbd22dbdb8d17becf9edae5");
10917
10917
 
10918
- var cubehelix = cubehelixLong(cubehelix$3(300, 0.5, 0.0), cubehelix$3(-240, 0.5, 1.0));
10918
+ var cubehelix = cubehelixLong(cubehelix$2(300, 0.5, 0.0), cubehelix$2(-240, 0.5, 1.0));
10919
10919
 
10920
- var warm = cubehelixLong(cubehelix$3(-100, 0.75, 0.35), cubehelix$3(80, 1.50, 0.8));
10920
+ var warm = cubehelixLong(cubehelix$2(-100, 0.75, 0.35), cubehelix$2(80, 1.50, 0.8));
10921
10921
 
10922
- var cool = cubehelixLong(cubehelix$3(260, 0.75, 0.35), cubehelix$3(80, 1.50, 0.8));
10922
+ var cool = cubehelixLong(cubehelix$2(260, 0.75, 0.35), cubehelix$2(80, 1.50, 0.8));
10923
10923
 
10924
- var rainbow$1 = cubehelix$3();
10924
+ var rainbow$1 = cubehelix$2();
10925
10925
 
10926
- function rainbow$2(t) {
10926
+ function rainbow_default(t) {
10927
10927
  if (t < 0 || t > 1) t -= Math.floor(t);
10928
10928
  var ts = Math.abs(t - 0.5);
10929
10929
  rainbow$1.h = 360 * t - 100;
@@ -11172,7 +11172,7 @@ function palette_rainbow(id, _colors, _steps) {
11172
11172
  scale = sequential(m_d3[id]).domain([0, 100]);
11173
11173
  }
11174
11174
  if (!scale) {
11175
- scale = _custom(m_colorbrewer.RdYlGn[11]);
11175
+ scale = _custom(m_colorbrewer["RdYlGn"][11]);
11176
11176
  }
11177
11177
  colors = scale.range ? scale.range() : scale;
11178
11178
  }
@@ -11264,7 +11264,7 @@ function test(ordinalDivID, brewerDivID, customDivID, customArr, steps) {
11264
11264
  .attr("class", "swatch2")
11265
11265
  .style("background-color", function (d) { return d; });
11266
11266
  }
11267
- m_colorbrewer.RdWhGr = {
11267
+ m_colorbrewer["RdWhGr"] = {
11268
11268
  3: ["red", "white", "green"]
11269
11269
  };
11270
11270
  var ordinal = fetchOrdinalItem;
@@ -14614,18 +14614,18 @@ function brushSelection(node) {
14614
14614
  }
14615
14615
 
14616
14616
  function brushX() {
14617
- return brush$1(X);
14617
+ return brush(X);
14618
14618
  }
14619
14619
 
14620
14620
  function brushY() {
14621
- return brush$1(Y);
14621
+ return brush(Y);
14622
14622
  }
14623
14623
 
14624
- function brush() {
14625
- return brush$1(XY);
14624
+ function brush_default() {
14625
+ return brush(XY);
14626
14626
  }
14627
14627
 
14628
- function brush$1(dim) {
14628
+ function brush(dim) {
14629
14629
  var extent = defaultExtent,
14630
14630
  filter = defaultFilter,
14631
14631
  touchable = defaultTouchable,
@@ -15063,5 +15063,5 @@ function brush$1(dim) {
15063
15063
 
15064
15064
  var d3Event = function () { return event; };
15065
15065
 
15066
- export { BUILD_VERSION, Button, CanvasWidget, Class, Database, Entity, EntityCard, EntityPin, EntityRect, EntityRectList, EntityVertex, FAChar, FormatSpecifier, HTMLWidget, Icon, IconBar, Image$1 as Image, List, Menu, Meta, PKG_NAME, PKG_VERSION, Palette, Platform, ProgressBar, PropertyExt, ResizeSurface, SVGGlowFilter, SVGWidget, SVGZoomWidget, SelectDropDown, SelectionBar, SelectionButton, Shape, Spacer, StickyButton, Surface, Text, TextBox, TitleBar, ToggleButton, Utility, Widget, WidgetArray, active, ascending, autoType, bisectRight as bisect, bisectLeft, bisectRight, bisector, brush, brushSelection, brushX, brushY, point$1 as clientPoint, color, create$1 as create, creator, cross, csvFormat, csvFormatBody, csvFormatRow, csvFormatRows, csvFormatValue, csvParse, csvParseRows, cubehelix$3 as cubehelix, customEvent, d3Event, d3Descending as descending, d3Deviation as deviation, dispatch, d3Drag as drag, dragDisable, yesdrag as dragEnable, dsv as dsvFormat, backInOut as easeBack, backIn as easeBackIn, backInOut as easeBackInOut, backOut as easeBackOut, bounceOut as easeBounce, bounceIn as easeBounceIn, bounceInOut as easeBounceInOut, bounceOut as easeBounceOut, circleInOut as easeCircle, circleIn as easeCircleIn, circleInOut as easeCircleInOut, circleOut as easeCircleOut, cubicInOut as easeCubic, cubicIn as easeCubicIn, cubicInOut as easeCubicInOut, cubicOut as easeCubicOut, elasticOut as easeElastic, elasticIn as easeElasticIn, elasticInOut as easeElasticInOut, elasticOut as easeElasticOut, expInOut as easeExp, expIn as easeExpIn, expInOut as easeExpInOut, expOut as easeExpOut, linear$1 as easeLinear, polyInOut as easePoly, polyIn as easePolyIn, polyInOut as easePolyInOut, polyOut as easePolyOut, quadInOut as easeQuad, quadIn as easeQuadIn, quadInOut as easeQuadInOut, quadOut as easeQuadOut, sinInOut as easeSin, sinIn as easeSinIn, sinInOut as easeSinInOut, sinOut as easeSinOut, entries, event, extent, fontAwsesomeStyle, format, defaultLocale$1 as formatDefaultLocale, formatLocale$1 as formatLocale, formatPrefix, formatSpecifier, gray, hcl$2 as hcl, histogram, hsl$2 as hsl, interpolate$1 as interpolate, array$2 as interpolateArray, basis$1 as interpolateBasis, basisClosed as interpolateBasisClosed, cool as interpolateCool, cubehelix$2 as interpolateCubehelix, cubehelix as interpolateCubehelixDefault, cubehelixLong as interpolateCubehelixLong, date$1 as interpolateDate, discrete as interpolateDiscrete, hcl$1 as interpolateHcl, hclLong as interpolateHclLong, hsl$1 as interpolateHsl, hslLong as interpolateHslLong, hue as interpolateHue, inferno as interpolateInferno, lab as interpolateLab, magma as interpolateMagma, reinterpolate$1 as interpolateNumber, numberArray as interpolateNumberArray, object as interpolateObject, plasma as interpolatePlasma, rainbow$2 as interpolateRainbow, interpolateRgb, rgbBasis as interpolateRgbBasis, rgbBasisClosed as interpolateRgbBasisClosed, interpolateRound, interpolateString, interpolateTransformCss, interpolateTransformSvg, d3InterpolateViridis as interpolateViridis, warm as interpolateWarm, interpolateZoom, interrupt, formatIso as isoFormat, parseIso as isoParse, keys, lab$1 as lab, lch, local$1 as local, map$2 as map, matcher, d3Max as max, d3Mean as mean, d3Median as median, merge, d3Min as min, mouse, namespace, namespaces, d3Nest as nest, pairs, permute, piecewise, precisionFixed, precisionPrefix, precisionRound, publish, publishProxy, threshold$1 as quantile, quantize$1 as quantize, sequence as range, rgb, band as scaleBand, identity$1 as scaleIdentity, implicit as scaleImplicit, linear as scaleLinear, log as scaleLog, ordinal$1 as scaleOrdinal, point as scalePoint, pow as scalePow, quantile as scaleQuantile, quantize as scaleQuantize, sequential as scaleSequential, sqrt as scaleSqrt, threshold as scaleThreshold, time as scaleTime, utcTime as scaleUtc, scan, d3SchemeCategory10 as schemeCategory10, d3SchemeCategory20 as schemeCategory20, d3SchemeCategory20b as schemeCategory20b, d3SchemeCategory20c as schemeCategory20c, select, selectAll, selection, selector, selectorAll, set, shuffle, styleValue as style, d3Sum as sum, freedmanDiaconis as thresholdFreedmanDiaconis, scott as thresholdScott, sturges as thresholdSturges, tickIncrement, tickStep, ticks, timeFormat, defaultLocale as timeFormatDefaultLocale, formatLocale as timeFormatLocale, timeParse, touch, touches, transition, transpose, tsvFormat, tsvFormatBody, tsvFormatRow, tsvFormatRows, tsvFormatValue, tsvParse, tsvParseRows, utcFormat, utcParse, d3Values as values, d3Variance as variance, defaultView as window, zip, d3Zoom as zoom, identity as zoomIdentity, transform as zoomTransform };
15066
+ export { BUILD_VERSION, Button, CanvasWidget, Class, Database, Entity, EntityCard, EntityPin, EntityRect, EntityRectList, EntityVertex, FAChar, FormatSpecifier, HTMLWidget, Icon, IconBar, Image$1 as Image, List, Menu, Meta, PKG_NAME, PKG_VERSION, Palette, Platform, ProgressBar, PropertyExt, ResizeSurface, SVGGlowFilter, SVGWidget, SVGZoomWidget, SelectDropDown, SelectionBar, SelectionButton, Shape, Spacer, StickyButton, Surface, Text, TextBox, TitleBar, ToggleButton, Utility, Widget, WidgetArray, active, ascending, autoType, bisectRight as bisect, bisectLeft, bisectRight, bisector, brush_default as brush, brushSelection, brushX, brushY, point$1 as clientPoint, color, create$1 as create, creator, cross, csvFormat, csvFormatBody, csvFormatRow, csvFormatRows, csvFormatValue, csvParse, csvParseRows, cubehelix$2 as cubehelix, customEvent, d3Event, d3Descending as descending, d3Deviation as deviation, dispatch, d3Drag as drag, dragDisable, yesdrag as dragEnable, dsv as dsvFormat, backInOut as easeBack, backIn as easeBackIn, backInOut as easeBackInOut, backOut as easeBackOut, bounceOut as easeBounce, bounceIn as easeBounceIn, bounceInOut as easeBounceInOut, bounceOut as easeBounceOut, circleInOut as easeCircle, circleIn as easeCircleIn, circleInOut as easeCircleInOut, circleOut as easeCircleOut, cubicInOut as easeCubic, cubicIn as easeCubicIn, cubicInOut as easeCubicInOut, cubicOut as easeCubicOut, elasticOut as easeElastic, elasticIn as easeElasticIn, elasticInOut as easeElasticInOut, elasticOut as easeElasticOut, expInOut as easeExp, expIn as easeExpIn, expInOut as easeExpInOut, expOut as easeExpOut, linear$1 as easeLinear, polyInOut as easePoly, polyIn as easePolyIn, polyInOut as easePolyInOut, polyOut as easePolyOut, quadInOut as easeQuad, quadIn as easeQuadIn, quadInOut as easeQuadInOut, quadOut as easeQuadOut, sinInOut as easeSin, sinIn as easeSinIn, sinInOut as easeSinInOut, sinOut as easeSinOut, entries, event, extent, fontAwsesomeStyle, format, defaultLocale$1 as formatDefaultLocale, formatLocale$1 as formatLocale, formatPrefix, formatSpecifier, gray, hcl$1 as hcl, histogram, hsl$1 as hsl, interpolate$1 as interpolate, array$2 as interpolateArray, basis as interpolateBasis, basisClosed as interpolateBasisClosed, cool as interpolateCool, cubehelix_default as interpolateCubehelix, cubehelix as interpolateCubehelixDefault, cubehelixLong as interpolateCubehelixLong, date$1 as interpolateDate, discrete as interpolateDiscrete, hcl_default as interpolateHcl, hclLong as interpolateHclLong, hsl_default as interpolateHsl, hslLong as interpolateHslLong, hue as interpolateHue, inferno as interpolateInferno, lab as interpolateLab, magma as interpolateMagma, reinterpolate$1 as interpolateNumber, numberArray as interpolateNumberArray, object as interpolateObject, plasma as interpolatePlasma, rainbow_default as interpolateRainbow, interpolateRgb, rgbBasis as interpolateRgbBasis, rgbBasisClosed as interpolateRgbBasisClosed, interpolateRound, interpolateString, interpolateTransformCss, interpolateTransformSvg, d3InterpolateViridis as interpolateViridis, warm as interpolateWarm, interpolateZoom, interrupt, formatIso as isoFormat, parseIso as isoParse, keys, lab$1 as lab, lch, local$1 as local, map$2 as map, matcher, d3Max as max, d3Mean as mean, d3Median as median, merge, d3Min as min, mouse, namespace, namespaces, d3Nest as nest, pairs, permute, piecewise, precisionFixed, precisionPrefix, precisionRound, publish, publishProxy, threshold$1 as quantile, quantize$1 as quantize, sequence as range, rgb, band as scaleBand, identity$1 as scaleIdentity, implicit as scaleImplicit, linear as scaleLinear, log as scaleLog, ordinal$1 as scaleOrdinal, point as scalePoint, pow as scalePow, quantile as scaleQuantile, quantize as scaleQuantize, sequential as scaleSequential, sqrt as scaleSqrt, threshold as scaleThreshold, time as scaleTime, utcTime as scaleUtc, scan, d3SchemeCategory10 as schemeCategory10, d3SchemeCategory20 as schemeCategory20, d3SchemeCategory20b as schemeCategory20b, d3SchemeCategory20c as schemeCategory20c, select, selectAll, selection, selector, selectorAll, set, shuffle, styleValue as style, d3Sum as sum, freedmanDiaconis as thresholdFreedmanDiaconis, scott as thresholdScott, sturges as thresholdSturges, tickIncrement, tickStep, ticks, timeFormat, defaultLocale as timeFormatDefaultLocale, formatLocale as timeFormatLocale, timeParse, touch, touches, transition, transpose, tsvFormat, tsvFormatBody, tsvFormatRow, tsvFormatRows, tsvFormatValue, tsvParse, tsvParseRows, utcFormat, utcParse, d3Values as values, d3Variance as variance, defaultView as window, zip, d3Zoom as zoom, identity as zoomIdentity, transform as zoomTransform };
15067
15067
  //# sourceMappingURL=index.es6.js.map