@hpcc-js/other 2.17.1 → 2.17.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 (46) hide show
  1. package/LICENSE +43 -43
  2. package/README.md +41 -41
  3. package/dist/index.es6.js +5 -5
  4. package/dist/index.es6.js.map +1 -1
  5. package/dist/index.js +5 -5
  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 +5 -5
  10. package/src/Audio.ts +83 -83
  11. package/src/AutoCompleteText.css +21 -21
  12. package/src/AutoCompleteText.ts +124 -124
  13. package/src/CalendarHeatMap.css +26 -26
  14. package/src/CalendarHeatMap.ts +243 -243
  15. package/src/Comms.ts +1085 -1085
  16. package/src/ESP.ts +451 -451
  17. package/src/HPCCBadge.ts +220 -220
  18. package/src/HeatMap.ts +135 -135
  19. package/src/Html.css +5 -5
  20. package/src/Html.ts +44 -44
  21. package/src/IconList.css +3 -3
  22. package/src/IconList.ts +86 -86
  23. package/src/Legend.css +85 -85
  24. package/src/Legend.ts +220 -220
  25. package/src/MorphText.css +11 -11
  26. package/src/MorphText.ts +102 -102
  27. package/src/NestedTable.ts +51 -51
  28. package/src/Opportunity.css +80 -80
  29. package/src/Opportunity.ts +488 -488
  30. package/src/Paginator.css +120 -120
  31. package/src/Paginator.ts +164 -164
  32. package/src/Persist.ts +151 -151
  33. package/src/PropertyEditor.css +130 -130
  34. package/src/PropertyEditor.ts +750 -750
  35. package/src/RadioCheckbox.css +6 -6
  36. package/src/RadioCheckbox.ts +123 -123
  37. package/src/Select.css +7 -7
  38. package/src/Select.ts +120 -120
  39. package/src/Table.css +92 -92
  40. package/src/Table.ts +1050 -1050
  41. package/src/ThemeEditor.css +195 -195
  42. package/src/ThemeEditor.ts +744 -744
  43. package/src/__package__.ts +3 -3
  44. package/src/index.ts +23 -23
  45. package/types/__package__.d.ts +2 -2
  46. 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,42 +1,42 @@
1
- # @hpcc-js/other
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
- * [CalendarHeatMap](https://rawgit.com/hpcc-systems/Visualization/trunk/demos/gallery/playground.html?./samples/time/Calendar.js)
6
- * [IconList](https://rawgit.com/hpcc-systems/Visualization/trunk/demos/gallery/playground.html?./samples/misc/IconList.js)
7
- * [Html](https://rawgit.com/hpcc-systems/Visualization/trunk/demos/gallery/playground.html?./samples/other/Html.js)
8
- * [MorphText](https://rawgit.com/hpcc-systems/Visualization/trunk/demos/gallery/playground.html?./samples/other/MorphText.js)
9
- * [HeatMap](https://rawgit.com/hpcc-systems/Visualization/trunk/demos/gallery/playground.html?./samples/other/HeatMap.js)
10
-
11
- ## Stand-alone HTML Example
12
- ```html
13
- <html>
14
- <head>
15
- <title>Simple CalendarHeatMap</title>
16
- <script src="https://unpkg.com/@hpcc-js/common"></script>
17
- <script src="https://unpkg.com/@hpcc-js/other"></script>
18
- </head>
19
- <body>
20
- <div id="placeholder" style="width:400px;height:400px;"></div>
21
- <script>
22
- var columns = ["Date", "Value"];
23
- var data = [
24
- ["2019-08-30", "8835.96"],
25
- ["2019-08-29", "9857.98"],
26
- ["2019-08-28", "10809.85"],
27
- ["2019-08-27", "11860.03"],
28
- ["2019-08-24", "12664.39"]
29
- ];
30
- new window["@hpcc-js/other"].CalendarHeatMap()
31
- .columns(columns)
32
- .data(data)
33
- .dateColumn("Date")
34
- .aggrColumn("Value")
35
- .aggrType("mean")
36
- .target("placeholder")
37
- .render()
38
- ;
39
- </script>
40
- </body>
41
- </html>
1
+ # @hpcc-js/other
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
+ * [CalendarHeatMap](https://rawgit.com/hpcc-systems/Visualization/trunk/demos/gallery/playground.html?./samples/time/Calendar.js)
6
+ * [IconList](https://rawgit.com/hpcc-systems/Visualization/trunk/demos/gallery/playground.html?./samples/misc/IconList.js)
7
+ * [Html](https://rawgit.com/hpcc-systems/Visualization/trunk/demos/gallery/playground.html?./samples/other/Html.js)
8
+ * [MorphText](https://rawgit.com/hpcc-systems/Visualization/trunk/demos/gallery/playground.html?./samples/other/MorphText.js)
9
+ * [HeatMap](https://rawgit.com/hpcc-systems/Visualization/trunk/demos/gallery/playground.html?./samples/other/HeatMap.js)
10
+
11
+ ## Stand-alone HTML Example
12
+ ```html
13
+ <html>
14
+ <head>
15
+ <title>Simple CalendarHeatMap</title>
16
+ <script src="https://unpkg.com/@hpcc-js/common"></script>
17
+ <script src="https://unpkg.com/@hpcc-js/other"></script>
18
+ </head>
19
+ <body>
20
+ <div id="placeholder" style="width:400px;height:400px;"></div>
21
+ <script>
22
+ var columns = ["Date", "Value"];
23
+ var data = [
24
+ ["2019-08-30", "8835.96"],
25
+ ["2019-08-29", "9857.98"],
26
+ ["2019-08-28", "10809.85"],
27
+ ["2019-08-27", "11860.03"],
28
+ ["2019-08-24", "12664.39"]
29
+ ];
30
+ new window["@hpcc-js/other"].CalendarHeatMap()
31
+ .columns(columns)
32
+ .data(data)
33
+ .dateColumn("Date")
34
+ .aggrColumn("Value")
35
+ .aggrType("mean")
36
+ .target("placeholder")
37
+ .render()
38
+ ;
39
+ </script>
40
+ </body>
41
+ </html>
42
42
  ```
package/dist/index.es6.js CHANGED
@@ -17,8 +17,8 @@ function _mergeNamespaces(n, m) {
17
17
  }
18
18
 
19
19
  var PKG_NAME = "@hpcc-js/other";
20
- var PKG_VERSION = "2.17.1";
21
- var BUILD_VERSION = "2.108.2";
20
+ var PKG_VERSION = "2.17.2";
21
+ var BUILD_VERSION = "2.108.6";
22
22
 
23
23
  /******************************************************************************
24
24
  Copyright (c) Microsoft Corporation.
@@ -2548,10 +2548,10 @@ function requireSimpleheat () {
2548
2548
  var simpleheatExports = requireSimpleheat();
2549
2549
  var simpleheat$1 = /*@__PURE__*/getDefaultExportFromCjs(simpleheatExports);
2550
2550
 
2551
- var _simpleheat = /*#__PURE__*/_mergeNamespaces({
2551
+ var _simpleheat = /*#__PURE__*/Object.freeze({
2552
2552
  __proto__: null,
2553
2553
  default: simpleheat$1
2554
- }, [simpleheatExports]);
2554
+ });
2555
2555
 
2556
2556
  var simpleheat = window.simpleheat || (_simpleheat && simpleheat$1) || _simpleheat;
2557
2557
  var HeatMap = /** @class */ (function (_super) {
@@ -4427,7 +4427,7 @@ var Opportunity = /** @class */ (function (_super) {
4427
4427
  })
4428
4428
  .attr("y1", nodeRectHeight / 2)
4429
4429
  .attr("x2", function (d2) {
4430
- return (d2.delta > 0) ? (nodeRectWidth + nodeRectWidthPadding - 4) + ((Math.abs(d2.delta) - 1)) * (w / context.groupCount) : ((-30 - ((Math.abs(d2.delta) - 1)) * (w / context.groupCount)) + 4);
4430
+ return (d2.delta > 0) ? (nodeRectWidth + nodeRectWidthPadding - 4) + ((Math.abs(d2.delta) - 1)) * (w / context.groupCount) : ((-nodeRectWidthPadding - ((Math.abs(d2.delta) - 1)) * (w / context.groupCount)) + 4);
4431
4431
  })
4432
4432
  .attr("y2", nodeRectHeight / 2)
4433
4433
  .style("stroke-dasharray", ("3, 3"))