@hpcc-js/api
Advanced tools
Comparing version 2.8.57 to 2.8.59
import { Palette, hsl, Widget, select, selection, map, format } from '@hpcc-js/common'; | ||
var PKG_NAME = "@hpcc-js/api"; | ||
var PKG_VERSION = "2.8.57"; | ||
var BUILD_VERSION = "2.97.0"; | ||
var PKG_VERSION = "2.8.59"; | ||
var BUILD_VERSION = "2.99.0"; | ||
@@ -592,3 +592,3 @@ function I1DChart() { | ||
var css_248z = ".d3-tip{background:rgba(0,0,0,.66);border-radius:2px;color:#fff;font-weight:700;line-height:1;padding:12px;pointer-events:none!important;z-index:10}.d3-tip.hidden{visibility:hidden}.d3-tip:after{border:4px solid rgba(0,0,0,.66);box-sizing:border-box;content:\" \";display:inline-block;height:8px;margin:0;pointer-events:none!important;position:absolute;width:8px}.d3-tip.n:after{border-right-color:transparent;border-top-width:8px;left:calc(50% - 4px);top:100%}.d3-tip.e:after,.d3-tip.n:after{border-bottom-color:transparent;border-left-color:transparent}.d3-tip.e:after{border-right-width:8px;border-top-color:transparent;left:-12px;top:calc(50% - 4px)}.d3-tip.s{margin-top:8px}.d3-tip.s:after{border-bottom-width:8px;border-left-color:transparent;left:calc(50% - 4px);top:-12px}.d3-tip.s:after,.d3-tip.w:after{border-right-color:transparent;border-top-color:transparent}.d3-tip.w:after{border-bottom-color:transparent;border-left-width:8px;left:100%;top:calc(50% - 4px)}.d3-tip.notick:after{border-color:transparent!important}.common_Widget .over{stroke:rgba(0,0,0,.66);opacity:.66}.d3-tip.ITooltip-tooltipStyle-series-table{padding:0}.d3-tip .ITooltip-series-table td,.d3-tip .ITooltip-series-table th{border:1px solid #d1d1d1;padding:6px;text-align:left}.d3-tip .ITooltip-series-table .series-table-row-color{display:inline-block;height:10px;margin-right:10px;width:10px}.d3-tip .ITooltip-series-table .series-table-row-label{display:inline-block}.d3-tip .ITooltip-series-table th{background-color:#b3b3b3}.d3-tip .ITooltip-series-table td{background-color:#fff;color:#555;font-weight:400}.d3-tip .ITooltip-series-table td:first-child{border-right:0}table.ITooltip-series-table td:last-child{border-left:1px dotted #a3a3a3}"; | ||
var css_248z = ".d3-tip{line-height:1;font-weight:700;padding:12px;background:rgba(0,0,0,.66);color:#fff;border-radius:2px;pointer-events:none!important;z-index:10}.d3-tip.hidden{visibility:hidden}.d3-tip:after{content:\" \";box-sizing:border-box;display:inline-block;border:4px solid rgba(0,0,0,.66);position:absolute;pointer-events:none!important;width:8px;height:8px;margin:0}.d3-tip.n:after{top:100%;left:calc(50% - 4px);border-top-width:8px;border-right-color:transparent}.d3-tip.e:after,.d3-tip.n:after{border-bottom-color:transparent;border-left-color:transparent}.d3-tip.e:after{top:calc(50% - 4px);left:-12px;border-top-color:transparent;border-right-width:8px}.d3-tip.s{margin-top:8px}.d3-tip.s:after{top:-12px;left:calc(50% - 4px);border-bottom-width:8px;border-left-color:transparent}.d3-tip.s:after,.d3-tip.w:after{border-top-color:transparent;border-right-color:transparent}.d3-tip.w:after{top:calc(50% - 4px);left:100%;border-bottom-color:transparent;border-left-width:8px}.d3-tip.notick:after{border-color:transparent!important}.common_Widget .over{stroke:rgba(0,0,0,.66);opacity:.66}.d3-tip.ITooltip-tooltipStyle-series-table{padding:0}.d3-tip .ITooltip-series-table td,.d3-tip .ITooltip-series-table th{padding:6px;text-align:left;border:1px solid #d1d1d1}.d3-tip .ITooltip-series-table .series-table-row-color{display:inline-block;height:10px;width:10px;margin-right:10px}.d3-tip .ITooltip-series-table .series-table-row-label{display:inline-block}.d3-tip .ITooltip-series-table th{background-color:#b3b3b3}.d3-tip .ITooltip-series-table td{background-color:#fff;color:#555;font-weight:400}.d3-tip .ITooltip-series-table td:first-child{border-right:0}table.ITooltip-series-table td:last-child{border-left:1px dotted #a3a3a3}"; | ||
styleInject(css_248z); | ||
@@ -735,6 +735,6 @@ | ||
var value = obj && obj[key] ? obj[key] : ""; | ||
body += "<tr><td style=\"".concat(this.tooltipLabelColor_exists() ? "color:" + this.tooltipLabelColor() : "", "\">").concat(key, "</td><td style=\"font-weight:normal\">").concat(value, "</td></tr>"); | ||
body += "<tr><td style=\"" + (this.tooltipLabelColor_exists() ? "color:" + this.tooltipLabelColor() : "") + "\">" + key + "</td><td style=\"font-weight:normal\">" + value + "</td></tr>"; | ||
} | ||
} | ||
return "<table>\n <thead>\n <tr><th colspan=\"2\" style=\"font-weight:bold;font-size:16px\">".concat(obj[titleKey], "</th></tr>\n </thead>\n <tbody>\n ").concat(body, "\n </tbody>\n </table>"); | ||
return "<table>\n <thead>\n <tr><th colspan=\"2\" style=\"font-weight:bold;font-size:16px\">" + obj[titleKey] + "</th></tr>\n </thead>\n <tbody>\n " + body + "\n </tbody>\n </table>"; | ||
}; | ||
@@ -741,0 +741,0 @@ return ITooltip; |
(function (global, factory) { | ||
typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports, require('@hpcc-js/common')) : | ||
typeof define === 'function' && define.amd ? define(['exports', '@hpcc-js/common'], factory) : | ||
(global = typeof globalThis !== 'undefined' ? globalThis : global || self, factory(global["@hpcc-js/api"] = {}, global["@hpcc-js/common"])); | ||
})(this, (function (exports, common) { 'use strict'; | ||
(global = global || self, factory(global['@hpcc-js/api'] = {}, global['@hpcc-js/common'])); | ||
}(this, (function (exports, common) { 'use strict'; | ||
var PKG_NAME = "@hpcc-js/api"; | ||
var PKG_VERSION = "2.8.57"; | ||
var BUILD_VERSION = "2.97.0"; | ||
var PKG_VERSION = "2.8.59"; | ||
var BUILD_VERSION = "2.99.0"; | ||
@@ -596,3 +596,3 @@ function I1DChart() { | ||
var css_248z = ".d3-tip{background:rgba(0,0,0,.66);border-radius:2px;color:#fff;font-weight:700;line-height:1;padding:12px;pointer-events:none!important;z-index:10}.d3-tip.hidden{visibility:hidden}.d3-tip:after{border:4px solid rgba(0,0,0,.66);box-sizing:border-box;content:\" \";display:inline-block;height:8px;margin:0;pointer-events:none!important;position:absolute;width:8px}.d3-tip.n:after{border-right-color:transparent;border-top-width:8px;left:calc(50% - 4px);top:100%}.d3-tip.e:after,.d3-tip.n:after{border-bottom-color:transparent;border-left-color:transparent}.d3-tip.e:after{border-right-width:8px;border-top-color:transparent;left:-12px;top:calc(50% - 4px)}.d3-tip.s{margin-top:8px}.d3-tip.s:after{border-bottom-width:8px;border-left-color:transparent;left:calc(50% - 4px);top:-12px}.d3-tip.s:after,.d3-tip.w:after{border-right-color:transparent;border-top-color:transparent}.d3-tip.w:after{border-bottom-color:transparent;border-left-width:8px;left:100%;top:calc(50% - 4px)}.d3-tip.notick:after{border-color:transparent!important}.common_Widget .over{stroke:rgba(0,0,0,.66);opacity:.66}.d3-tip.ITooltip-tooltipStyle-series-table{padding:0}.d3-tip .ITooltip-series-table td,.d3-tip .ITooltip-series-table th{border:1px solid #d1d1d1;padding:6px;text-align:left}.d3-tip .ITooltip-series-table .series-table-row-color{display:inline-block;height:10px;margin-right:10px;width:10px}.d3-tip .ITooltip-series-table .series-table-row-label{display:inline-block}.d3-tip .ITooltip-series-table th{background-color:#b3b3b3}.d3-tip .ITooltip-series-table td{background-color:#fff;color:#555;font-weight:400}.d3-tip .ITooltip-series-table td:first-child{border-right:0}table.ITooltip-series-table td:last-child{border-left:1px dotted #a3a3a3}"; | ||
var css_248z = ".d3-tip{line-height:1;font-weight:700;padding:12px;background:rgba(0,0,0,.66);color:#fff;border-radius:2px;pointer-events:none!important;z-index:10}.d3-tip.hidden{visibility:hidden}.d3-tip:after{content:\" \";box-sizing:border-box;display:inline-block;border:4px solid rgba(0,0,0,.66);position:absolute;pointer-events:none!important;width:8px;height:8px;margin:0}.d3-tip.n:after{top:100%;left:calc(50% - 4px);border-top-width:8px;border-right-color:transparent}.d3-tip.e:after,.d3-tip.n:after{border-bottom-color:transparent;border-left-color:transparent}.d3-tip.e:after{top:calc(50% - 4px);left:-12px;border-top-color:transparent;border-right-width:8px}.d3-tip.s{margin-top:8px}.d3-tip.s:after{top:-12px;left:calc(50% - 4px);border-bottom-width:8px;border-left-color:transparent}.d3-tip.s:after,.d3-tip.w:after{border-top-color:transparent;border-right-color:transparent}.d3-tip.w:after{top:calc(50% - 4px);left:100%;border-bottom-color:transparent;border-left-width:8px}.d3-tip.notick:after{border-color:transparent!important}.common_Widget .over{stroke:rgba(0,0,0,.66);opacity:.66}.d3-tip.ITooltip-tooltipStyle-series-table{padding:0}.d3-tip .ITooltip-series-table td,.d3-tip .ITooltip-series-table th{padding:6px;text-align:left;border:1px solid #d1d1d1}.d3-tip .ITooltip-series-table .series-table-row-color{display:inline-block;height:10px;width:10px;margin-right:10px}.d3-tip .ITooltip-series-table .series-table-row-label{display:inline-block}.d3-tip .ITooltip-series-table th{background-color:#b3b3b3}.d3-tip .ITooltip-series-table td{background-color:#fff;color:#555;font-weight:400}.d3-tip .ITooltip-series-table td:first-child{border-right:0}table.ITooltip-series-table td:last-child{border-left:1px dotted #a3a3a3}"; | ||
styleInject(css_248z); | ||
@@ -739,6 +739,6 @@ | ||
var value = obj && obj[key] ? obj[key] : ""; | ||
body += "<tr><td style=\"".concat(this.tooltipLabelColor_exists() ? "color:" + this.tooltipLabelColor() : "", "\">").concat(key, "</td><td style=\"font-weight:normal\">").concat(value, "</td></tr>"); | ||
body += "<tr><td style=\"" + (this.tooltipLabelColor_exists() ? "color:" + this.tooltipLabelColor() : "") + "\">" + key + "</td><td style=\"font-weight:normal\">" + value + "</td></tr>"; | ||
} | ||
} | ||
return "<table>\n <thead>\n <tr><th colspan=\"2\" style=\"font-weight:bold;font-size:16px\">".concat(obj[titleKey], "</th></tr>\n </thead>\n <tbody>\n ").concat(body, "\n </tbody>\n </table>"); | ||
return "<table>\n <thead>\n <tr><th colspan=\"2\" style=\"font-weight:bold;font-size:16px\">" + obj[titleKey] + "</th></tr>\n </thead>\n <tbody>\n " + body + "\n </tbody>\n </table>"; | ||
}; | ||
@@ -793,3 +793,3 @@ return ITooltip; | ||
})); | ||
}))); | ||
//# sourceMappingURL=index.js.map |
@@ -1,17 +0,2 @@ | ||
!function(t,o){"object"==typeof exports&&"undefined"!=typeof module?o(exports,require("@hpcc-js/common")):"function"==typeof define&&define.amd?define(["exports","@hpcc-js/common"],o):o((t="undefined"!=typeof globalThis?globalThis:t||self)["@hpcc-js/api"]={},t["@hpcc-js/common"])}(this,(function(t,o){"use strict";function e(){}function r(){}function l(){}function i(){}e.prototype._dataFamily="1D",e.prototype._palette=o.Palette.rainbow("default"),e.prototype.click=function(t,o,e){console.log("Click: "+JSON.stringify(t)+", "+o+", "+e)},e.prototype.dblclick=function(t,o,e){console.log("Double click: "+JSON.stringify(t)+", "+o+", "+e)},r.prototype._dataFamily="2D",r.prototype._palette=o.Palette.ordinal("default"),r.prototype.fillColor=function(t,o,e,r){return this._palette(t[0])},r.prototype.strokeColor=function(t,e,r,l){return o.hsl(this.fillColor(t,e,r,l)).darker().toString()},r.prototype.textColor=function(t,e,r,l){return o.Palette.textColor(this.fillColor(t,e,r,l))},r.prototype.click=function(t,o,e){console.log("Click: "+JSON.stringify(t)+", "+o+", "+e)},r.prototype.dblclick=function(t,o,e){console.log("Double click: "+JSON.stringify(t)+", "+o+", "+e)},l.prototype._palette=o.Palette.rainbow("default"),l.prototype.fillColor=function(t,o,e){return this._palette(t.length)},l.prototype.strokeColor=function(t,e,r){return o.hsl(this.fillColor(t,e,r)).darker().toString()},l.prototype.textColor=function(t,e,r){return o.Palette.textColor(this.fillColor(t,e,r))},l.prototype.click=function(t,o,e){console.log("Click: "+JSON.stringify(t)+", "+o+", "+e)},l.prototype.dblclick=function(t,o,e){console.log("Double click: "+JSON.stringify(t)+", "+o+", "+e)},i.prototype._dataFamily="graph",i.prototype.vertex_click=function(t,o,e,r){r&&r.vertex&&console.log("Vertex click: "+r.vertex.id())},i.prototype.vertex_dblclick=function(t,o,e,r){r&&r.vertex&&console.log("Vertex double click: "+r.vertex.id())},i.prototype.edge_click=function(t,o,e,r){r&&r.edge&&console.log("Edge click: "+r.edge.id())},i.prototype.edge_dblclick=function(t,o,e,r){r&&r.edge&&console.log("Edge double click: "+r.edge.id())}; | ||
/*! ***************************************************************************** | ||
Copyright (c) Microsoft Corporation. | ||
Permission to use, copy, modify, and/or distribute this software for any | ||
purpose with or without fee is hereby granted. | ||
THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH | ||
REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY | ||
AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT, | ||
INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM | ||
LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR | ||
OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR | ||
PERFORMANCE OF THIS SOFTWARE. | ||
***************************************************************************** */ | ||
var n=function(t,o){return n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,o){t.__proto__=o}||function(t,o){for(var e in o)Object.prototype.hasOwnProperty.call(o,e)&&(t[e]=o[e])},n(t,o)};function p(t,o){if("function"!=typeof o&&null!==o)throw new TypeError("Class extends value "+String(o)+" is not a constructor or null");function e(){this.constructor=t}n(t,o),t.prototype=null===o?Object.create(o):(e.prototype=o.prototype,new e)}var a=function(t){function o(){return t.call(this)||this}return p(o,t),o.prototype.isValid=function(){if(this.validate()&&!new RegExp(this.validate()).test(this.value()))return!1;return!0},o.prototype.hasValue=function(){if("function"==typeof this.type){switch(this.type()){case"radio":case"checkbox":if(this.value()&&"false"!==this.value())return!0;break;default:if(this.value())return!0}return!1}return""!==this.value()},o.prototype.blur=function(t){},o.prototype.keyup=function(t){},o.prototype.focus=function(t){},o.prototype.click=function(t){},o.prototype.dblclick=function(t){},o.prototype.change=function(t,o){},o.prototype.resetValue=function(t){t.value(t._inputElement[0].node().value)},o.prototype.disable=function(t){this._inputElement.forEach((function(o,e){o.attr("disabled",t?"disabled":null)}))},o.prototype.setFocus=function(){this._inputElement.length&&this._inputElement[0].node().focus()},o}(o.Widget);function s(){}a.prototype.publish("name","","string","HTML name for the input"),a.prototype.publish("label","","string","Descriptive label"),a.prototype.publish("value","","string","Input Current Value"),a.prototype.publish("validate",null,"string","Input Validation"),s.prototype._dataFamily="ND",s.prototype._palette=o.Palette.ordinal("default"),s.prototype.fillColor=function(t,o,e,r){return this._palette(o)},s.prototype.strokeColor=function(t,e,r,l){return o.hsl(this.fillColor(t,e,r,l)).darker().toString()},s.prototype.textColor=function(t,e,r,l){return o.Palette.textColor(this.fillColor(t,e,r,l))},s.prototype.click=function(t,o,e){console.log("Click: "+JSON.stringify(t)+", "+o+", "+e)},s.prototype.dblclick=function(t,o,e){console.log("Double click: "+JSON.stringify(t)+", "+o+", "+e)};!function(t,o){void 0===o&&(o={});var e=o.insertAt;if(t&&"undefined"!=typeof document){var r=document.head||document.getElementsByTagName("head")[0],l=document.createElement("style");l.type="text/css","top"===e&&r.firstChild?r.insertBefore(l,r.firstChild):r.appendChild(l),l.styleSheet?l.styleSheet.cssText=t:l.appendChild(document.createTextNode(t))}}('.d3-tip{background:rgba(0,0,0,.66);border-radius:2px;color:#fff;font-weight:700;line-height:1;padding:12px;pointer-events:none!important;z-index:10}.d3-tip.hidden{visibility:hidden}.d3-tip:after{border:4px solid rgba(0,0,0,.66);box-sizing:border-box;content:" ";display:inline-block;height:8px;margin:0;pointer-events:none!important;position:absolute;width:8px}.d3-tip.n:after{border-right-color:transparent;border-top-width:8px;left:calc(50% - 4px);top:100%}.d3-tip.e:after,.d3-tip.n:after{border-bottom-color:transparent;border-left-color:transparent}.d3-tip.e:after{border-right-width:8px;border-top-color:transparent;left:-12px;top:calc(50% - 4px)}.d3-tip.s{margin-top:8px}.d3-tip.s:after{border-bottom-width:8px;border-left-color:transparent;left:calc(50% - 4px);top:-12px}.d3-tip.s:after,.d3-tip.w:after{border-right-color:transparent;border-top-color:transparent}.d3-tip.w:after{border-bottom-color:transparent;border-left-width:8px;left:100%;top:calc(50% - 4px)}.d3-tip.notick:after{border-color:transparent!important}.common_Widget .over{stroke:rgba(0,0,0,.66);opacity:.66}.d3-tip.ITooltip-tooltipStyle-series-table{padding:0}.d3-tip .ITooltip-series-table td,.d3-tip .ITooltip-series-table th{border:1px solid #d1d1d1;padding:6px;text-align:left}.d3-tip .ITooltip-series-table .series-table-row-color{display:inline-block;height:10px;margin-right:10px;width:10px}.d3-tip .ITooltip-series-table .series-table-row-label{display:inline-block}.d3-tip .ITooltip-series-table th{background-color:#b3b3b3}.d3-tip .ITooltip-series-table td{background-color:#fff;color:#555;font-weight:400}.d3-tip .ITooltip-series-table td:first-child{border-right:0}table.ITooltip-series-table td:last-child{border-left:1px dotted #a3a3a3}');var c=function(t){function e(){var e=t.call(this)||this;if(e.tooltip=function(){var t=function(){return"n"},e=function(){return[0,0]},r=function(){return" "},l=h(document.body),i=f(),n=null,p=null,a=null,s=function(t){var o;if(o=t.node(),n=o?"svg"===o.tagName.toLowerCase()?o:o.ownerSVGElement:null){p=n.createSVGPoint();var e=l();e&&i&&e.appendChild(i)}};s.show=function(t,o,i){a=i[o];var n=Array.prototype.slice.call(arguments),p=r.apply(this,n);if(null===p)return s;var f,y=e.apply(this,n),h=d(),b=u.length,g=l().getBoundingClientRect();for(h.html(p).style("opacity",1).style("pointer-events","all");b--;)h.classed(u[b],!1);for(var v=!1,m={},x=u[0],w=0;w<u.length&&!(v=S(u[w]));w++);if(v)h.classed("notick",!1);else{h.classed("notick",!0);var k=T(m[x]),C=_(m[x]);S(x,k,C)}return s;function _(t){return t.left>t.right?t.left>0?-t.left:0:t.right>0?t.right:0}function T(t){return t.top>t.bottom?t.top>0?-t.top:0:t.bottom}function S(t,o,e){o=o||0,e=e||0,h.style("white-space","nowrap"),f=c.get(t).apply(this),h.classed(t,!0).style("top",f.top+y[0]-o+"px").style("left",f.left+y[1]-e+"px");var r=h.node().getBoundingClientRect(),l=r.top>g.top&&r.left>g.left&&r.bottom<g.bottom&&r.right<g.right;return m[t]={top:g.top-r.top,right:r.right-g.right,bottom:r.bottom-g.bottom,left:g.left-r.left},h.style("white-space","normal"),m[t].total_overflow=Object.keys(m[t]).filter((function(o){return m[t][o]>0})).reduce((function(o,e){return o+m[t][e]}),0),m[x].total_overflow>m[t].total_overflow&&(x=t),l||h.classed(t,!1),l}},s.hide=function(){return d().style("opacity",0).style("pointer-events","none"),s},s.attr=function(t,e){if(arguments.length<2&&"string"==typeof t)return d().attr(t);var r=Array.prototype.slice.call(arguments);return o.selection.prototype.attr.apply(d(),r),s},s.style=function(t,e){if(arguments.length<2&&"string"==typeof t)return d().style(t);var r=Array.prototype.slice.call(arguments);return o.selection.prototype.style.apply(d(),r),s},s.direction=function(o){return arguments.length?(t=null==o?o:h(o),s):t},s.offset=function(t){return arguments.length?(e=null==t?t:h(t),s):e},s.html=function(t){return arguments.length?(r=null==t?t:h(t),s):r},s.rootElement=function(t){return arguments.length?(l=h(t),s):l},s.destroy=function(){return i&&(d().remove(),i=null),s};var c=o.map({n:function(){var t=y(window);return{top:t.n.y-i.offsetHeight,left:t.n.x-i.offsetWidth/2}},s:function(){var t=y(window);return{top:t.s.y+8,left:t.s.x-i.offsetWidth/2}},e:function(){var t=y(window);return{top:t.e.y-i.offsetHeight/2,left:t.e.x+8}},w:function(){var t=y(window);return{top:t.w.y-i.offsetHeight/2,left:t.w.x-i.offsetWidth-8}},nw:function(){var t=y(window);return{top:t.nw.y-i.offsetHeight,left:t.nw.x-i.offsetWidth}},ne:function(){var t=y(window);return{top:t.ne.y-i.offsetHeight,left:t.ne.x}},sw:function(){var t=y(window);return{top:t.sw.y,left:t.sw.x-i.offsetWidth}},se:function(){var t=y(window);return{top:t.se.y,left:t.se.x}}}),u=c.keys();function f(){var t=o.select(document.createElement("div"));return t.attr("class","d3-tip").style("position","absolute").style("top","0px").style("opacity",0).style("pointer-events","none").style("box-sizing","border-box"),t.node()}function d(){return null==i&&(i=f(),l().appendChild(i)),o.select(i)}function y(t){for(var o=a||t;null==o.getCTM&&null!=o.parentNode;)o=o.parentNode;var e={},r=o.getCTM(),l=o.getBBox(),i=l.width,n=l.height,s=l.x,c=l.y;return p.x=s,p.y=c,e.nw=p.matrixTransform(r),p.x+=i,e.ne=p.matrixTransform(r),p.y+=n,e.se=p.matrixTransform(r),p.x-=i,e.sw=p.matrixTransform(r),p.y-=n/2,e.w=p.matrixTransform(r),p.x+=i,e.e=p.matrixTransform(r),p.x-=i/2,p.y-=n/2,e.n=p.matrixTransform(r),p.y+=n,e.s=p.matrixTransform(r),e}function h(t){return"function"==typeof t?t:function(){return t}}return s}(),e._valueFormatter=o.format(e.tooltipValueFormat()),e.layerEnter){var r=e.layerEnter;e.layerEnter=function(t,o,e){this._parentOverlay||(this._parentOverlay=t._parentOverlay),this.tooltipEnter(o),r.apply(this,arguments)};var l=e.layerUpdate;e.layerUpdate=function(t){l.apply(this,arguments),this.tooltipUpdate()};var i=e.layerExit;e.layerExit=function(t){this.tooltipExit(),i.apply(this,arguments)}}else{var n=e.enter;e.enter=function(t,o){this.tooltipEnter(o),n.apply(this,arguments)};var p=e.update;e.update=function(t,o){p.apply(this,arguments),this.tooltipUpdate()};var a=e.exit;e.exit=function(t,o){this.tooltipExit(),a.apply(this,arguments)}}return e}return p(e,t),e.prototype.tooltipEnter=function(t){var o=this.parentOverlay();o.empty()||this.tooltip.rootElement(o.node().parentNode),t.call(this.tooltip)},e.prototype.tooltipUpdate=function(){var t=this;this.tooltip.offset((function(){if(event&&t.tooltipFollowMouse()){var o=document.querySelector(".d3-tip");return o.style.display="block",o.style.left=t.tooltipOffset()+event.clientX+"px",o.style.top=event.clientY+"px",[]}return"e"===t.tooltip.direction()()?[0,t.tooltipOffset()]:[-t.tooltipOffset(),0]}));var o=this.tooltip.attr("class");o&&(o=(o=o.split(" notick").join("")+(this.tooltipTick()?"":" notick")+("none"===this.tooltipStyle()?" hidden":"")).split(" ").filter((function(t){return 0!==t.indexOf("ITooltip-tooltipStyle-")})).join(" "),o+=" ITooltip-tooltipStyle-"+this.tooltipStyle(),this.tooltip.attr("class",o))},e.prototype.tooltipExit=function(){this.tooltip&&this.tooltip.destroy()},e.prototype._tooltipHTML=function(t){return t},e.prototype.tooltipHTML=function(t){return this.tooltip.html(t)},e.prototype.tooltipFormat=function(t){switch(void 0===t&&(t={}),t.label=void 0===t.label?"":t.label,t.series=t.series||"",t.value instanceof Date?t.value=t.value||"":t.value=this._valueFormatter(t.value)||"",this.tooltipStyle()){case"none":break;case"series-table":var o='<table class="ITooltip-series-table"><thead><tr><th colspan="2">'+t.label+"</th></tr></thead><tbody>";return t.arr.forEach((function(t){o+="<tr>",o+="<td>",o+='<div class="series-table-row-color" style="background-color:'+t.color+'"></div>',o+='<div class="series-table-row-label">'+t.label+"</div>",o+="</td>",o+='<td><div class="series-table-row-value">'+t.value+"</div></td>",o+="</tr>"})),o+="</tbody>",o+="</table>";default:return t.series?"<span style='color:"+this.tooltipSeriesColor()+"'>"+t.series+"</span> / <span style='color:"+this.tooltipLabelColor()+"'>"+t.label+"</span>: <span style='color:"+this.tooltipValueColor()+"'>"+t.value+"</span>":""!==t.label?"<span style='color:"+this.tooltipLabelColor()+"'>"+t.label+"</span>: <span style='color:"+this.tooltipValueColor()+"'>"+t.value+"</span>":"<span style='color:"+this.tooltipValueColor()+"'>"+t.value+"</span>"}},e.prototype.tooltipKeyValueFormat=function(t,o){var e="";for(var r in o)if(r!==t){var l=o&&o[r]?o[r]:"";e+='<tr><td style="'.concat(this.tooltipLabelColor_exists()?"color:"+this.tooltipLabelColor():"",'">').concat(r,'</td><td style="font-weight:normal">').concat(l,"</td></tr>")}return'<table>\n <thead>\n <tr><th colspan="2" style="font-weight:bold;font-size:16px">'.concat(o[t],"</th></tr>\n </thead>\n <tbody>\n ").concat(e,"\n </tbody>\n </table>")},e}(o.Widget);c.prototype.publish("tooltipStyle","default","set","Style mode",["default","none","series-table"],{}),c.prototype.publish("tooltipFollowMouse",!1,"boolean","If true, the tooltip will follow mouse movement",null,{}),c.prototype.publish("tooltipValueFormat",",.2f","string","Number format of tooltip value(s)",null,{}),c.prototype.publish("tooltipSeriesColor","#EAFFFF","html-color","Color of tooltip series text",null,{}),c.prototype.publish("tooltipLabelColor","#CCFFFF","html-color","Color of tooltip label text",null,{}),c.prototype.publish("tooltipValueColor","white","html-color","Color of tooltip value(s)",null,{}),c.prototype.publish("tooltipTick",!0,"boolean","Show tooltip tick",null,{}),c.prototype.publish("tooltipOffset",8,"number","Offset from the cursor",null,{});var u=c.prototype.tooltipValueFormat;c.prototype.tooltipValueFormat=function(t){var e=u.apply(this,arguments);return arguments.length&&(this._valueFormatter=o.format(t)),e};var f=function(){function t(){}return t.prototype.click=function(t,o,e){console.log("Click: "+JSON.stringify(t)+", "+o+", "+e)},t.prototype.dblclick=function(t,o,e){console.log("Double click: "+JSON.stringify(t)+", "+o+", "+e)},t}();f.prototype._palette=o.Palette.ordinal("default"),t.BUILD_VERSION="2.97.0",t.I1DChart=e,t.I2DAggrChart=l,t.I2DChart=r,t.IGraph=i,t.IInput=a,t.INDChart=s,t.ITooltip=c,t.ITree=f,t.PKG_NAME="@hpcc-js/api",t.PKG_VERSION="2.8.57",t.instanceOfIHighlight=function(t){return"function"==typeof t.highlightColumn},Object.defineProperty(t,"__esModule",{value:!0})})); | ||
!function(t,o){"object"==typeof exports&&"undefined"!=typeof module?o(exports,require("@hpcc-js/common")):"function"==typeof define&&define.amd?define(["exports","@hpcc-js/common"],o):o((t=t||self)["@hpcc-js/api"]={},t["@hpcc-js/common"])}(this,function(t,o){"use strict";function e(){}function r(){}function l(){}function i(){}e.prototype._dataFamily="1D",e.prototype._palette=o.Palette.rainbow("default"),e.prototype.click=function(t,o,e){console.log("Click: "+JSON.stringify(t)+", "+o+", "+e)},e.prototype.dblclick=function(t,o,e){console.log("Double click: "+JSON.stringify(t)+", "+o+", "+e)},r.prototype._dataFamily="2D",r.prototype._palette=o.Palette.ordinal("default"),r.prototype.fillColor=function(t,o,e,r){return this._palette(t[0])},r.prototype.strokeColor=function(t,e,r,l){return o.hsl(this.fillColor(t,e,r,l)).darker().toString()},r.prototype.textColor=function(t,e,r,l){return o.Palette.textColor(this.fillColor(t,e,r,l))},r.prototype.click=function(t,o,e){console.log("Click: "+JSON.stringify(t)+", "+o+", "+e)},r.prototype.dblclick=function(t,o,e){console.log("Double click: "+JSON.stringify(t)+", "+o+", "+e)},l.prototype._palette=o.Palette.rainbow("default"),l.prototype.fillColor=function(t,o,e){return this._palette(t.length)},l.prototype.strokeColor=function(t,e,r){return o.hsl(this.fillColor(t,e,r)).darker().toString()},l.prototype.textColor=function(t,e,r){return o.Palette.textColor(this.fillColor(t,e,r))},l.prototype.click=function(t,o,e){console.log("Click: "+JSON.stringify(t)+", "+o+", "+e)},l.prototype.dblclick=function(t,o,e){console.log("Double click: "+JSON.stringify(t)+", "+o+", "+e)},i.prototype._dataFamily="graph",i.prototype.vertex_click=function(t,o,e,r){r&&r.vertex&&console.log("Vertex click: "+r.vertex.id())},i.prototype.vertex_dblclick=function(t,o,e,r){r&&r.vertex&&console.log("Vertex double click: "+r.vertex.id())},i.prototype.edge_click=function(t,o,e,r){r&&r.edge&&console.log("Edge click: "+r.edge.id())},i.prototype.edge_dblclick=function(t,o,e,r){r&&r.edge&&console.log("Edge double click: "+r.edge.id())};var n=function(t,o){return(n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,o){t.__proto__=o}||function(t,o){for(var e in o)Object.prototype.hasOwnProperty.call(o,e)&&(t[e]=o[e])})(t,o)};function p(t,o){if("function"!=typeof o&&null!==o)throw new TypeError("Class extends value "+String(o)+" is not a constructor or null");function e(){this.constructor=t}n(t,o),t.prototype=null===o?Object.create(o):(e.prototype=o.prototype,new e)}var a=function(t){function o(){return t.call(this)||this}return p(o,t),o.prototype.isValid=function(){if(this.validate()&&!new RegExp(this.validate()).test(this.value()))return!1;return!0},o.prototype.hasValue=function(){if("function"==typeof this.type){switch(this.type()){case"radio":case"checkbox":if(this.value()&&"false"!==this.value())return!0;break;default:if(this.value())return!0}return!1}return""!==this.value()},o.prototype.blur=function(t){},o.prototype.keyup=function(t){},o.prototype.focus=function(t){},o.prototype.click=function(t){},o.prototype.dblclick=function(t){},o.prototype.change=function(t,o){},o.prototype.resetValue=function(t){t.value(t._inputElement[0].node().value)},o.prototype.disable=function(t){this._inputElement.forEach(function(o,e){o.attr("disabled",t?"disabled":null)})},o.prototype.setFocus=function(){this._inputElement.length&&this._inputElement[0].node().focus()},o}(o.Widget);function s(){}a.prototype.publish("name","","string","HTML name for the input"),a.prototype.publish("label","","string","Descriptive label"),a.prototype.publish("value","","string","Input Current Value"),a.prototype.publish("validate",null,"string","Input Validation"),s.prototype._dataFamily="ND",s.prototype._palette=o.Palette.ordinal("default"),s.prototype.fillColor=function(t,o,e,r){return this._palette(o)},s.prototype.strokeColor=function(t,e,r,l){return o.hsl(this.fillColor(t,e,r,l)).darker().toString()},s.prototype.textColor=function(t,e,r,l){return o.Palette.textColor(this.fillColor(t,e,r,l))},s.prototype.click=function(t,o,e){console.log("Click: "+JSON.stringify(t)+", "+o+", "+e)},s.prototype.dblclick=function(t,o,e){console.log("Double click: "+JSON.stringify(t)+", "+o+", "+e)};!function(t,o){void 0===o&&(o={});var e=o.insertAt;if(t&&"undefined"!=typeof document){var r=document.head||document.getElementsByTagName("head")[0],l=document.createElement("style");l.type="text/css","top"===e&&r.firstChild?r.insertBefore(l,r.firstChild):r.appendChild(l),l.styleSheet?l.styleSheet.cssText=t:l.appendChild(document.createTextNode(t))}}('.d3-tip{line-height:1;font-weight:700;padding:12px;background:rgba(0,0,0,.66);color:#fff;border-radius:2px;pointer-events:none!important;z-index:10}.d3-tip.hidden{visibility:hidden}.d3-tip:after{content:" ";box-sizing:border-box;display:inline-block;border:4px solid rgba(0,0,0,.66);position:absolute;pointer-events:none!important;width:8px;height:8px;margin:0}.d3-tip.n:after{top:100%;left:calc(50% - 4px);border-top-width:8px;border-right-color:transparent}.d3-tip.e:after,.d3-tip.n:after{border-bottom-color:transparent;border-left-color:transparent}.d3-tip.e:after{top:calc(50% - 4px);left:-12px;border-top-color:transparent;border-right-width:8px}.d3-tip.s{margin-top:8px}.d3-tip.s:after{top:-12px;left:calc(50% - 4px);border-bottom-width:8px;border-left-color:transparent}.d3-tip.s:after,.d3-tip.w:after{border-top-color:transparent;border-right-color:transparent}.d3-tip.w:after{top:calc(50% - 4px);left:100%;border-bottom-color:transparent;border-left-width:8px}.d3-tip.notick:after{border-color:transparent!important}.common_Widget .over{stroke:rgba(0,0,0,.66);opacity:.66}.d3-tip.ITooltip-tooltipStyle-series-table{padding:0}.d3-tip .ITooltip-series-table td,.d3-tip .ITooltip-series-table th{padding:6px;text-align:left;border:1px solid #d1d1d1}.d3-tip .ITooltip-series-table .series-table-row-color{display:inline-block;height:10px;width:10px;margin-right:10px}.d3-tip .ITooltip-series-table .series-table-row-label{display:inline-block}.d3-tip .ITooltip-series-table th{background-color:#b3b3b3}.d3-tip .ITooltip-series-table td{background-color:#fff;color:#555;font-weight:400}.d3-tip .ITooltip-series-table td:first-child{border-right:0}table.ITooltip-series-table td:last-child{border-left:1px dotted #a3a3a3}');var c=function(t){function e(){var e=t.call(this)||this;if(e.tooltip=function(){var t=function(){return"n"},e=function(){return[0,0]},r=function(){return" "},l=h(document.body),i=f(),n=null,p=null,a=null,s=function(t){var o;if(o=t.node(),n=o?"svg"===o.tagName.toLowerCase()?o:o.ownerSVGElement:null){p=n.createSVGPoint();var e=l();e&&i&&e.appendChild(i)}};s.show=function(t,o,i){a=i[o];var n=Array.prototype.slice.call(arguments),p=r.apply(this,n);if(null===p)return s;var f,y=e.apply(this,n),h=d(),b=u.length,g=l().getBoundingClientRect();for(h.html(p).style("opacity",1).style("pointer-events","all");b--;)h.classed(u[b],!1);for(var v,m=!1,x={},w=u[0],k=0;k<u.length&&!(m=T(u[k]));k++);if(m)h.classed("notick",!1);else{h.classed("notick",!0);var C=(v=x[w]).top>v.bottom?v.top>0?-v.top:0:v.bottom,_=function(t){return t.left>t.right?t.left>0?-t.left:0:t.right>0?t.right:0}(x[w]);T(w,C,_)}return s;function T(t,o,e){o=o||0,e=e||0,h.style("white-space","nowrap"),f=c.get(t).apply(this),h.classed(t,!0).style("top",f.top+y[0]-o+"px").style("left",f.left+y[1]-e+"px");var r=h.node().getBoundingClientRect(),l=r.top>g.top&&r.left>g.left&&r.bottom<g.bottom&&r.right<g.right;return x[t]={top:g.top-r.top,right:r.right-g.right,bottom:r.bottom-g.bottom,left:g.left-r.left},h.style("white-space","normal"),x[t].total_overflow=Object.keys(x[t]).filter(function(o){return x[t][o]>0}).reduce(function(o,e){return o+x[t][e]},0),x[w].total_overflow>x[t].total_overflow&&(w=t),l||h.classed(t,!1),l}},s.hide=function(){return d().style("opacity",0).style("pointer-events","none"),s},s.attr=function(t,e){if(arguments.length<2&&"string"==typeof t)return d().attr(t);var r=Array.prototype.slice.call(arguments);return o.selection.prototype.attr.apply(d(),r),s},s.style=function(t,e){if(arguments.length<2&&"string"==typeof t)return d().style(t);var r=Array.prototype.slice.call(arguments);return o.selection.prototype.style.apply(d(),r),s},s.direction=function(o){return arguments.length?(t=null==o?o:h(o),s):t},s.offset=function(t){return arguments.length?(e=null==t?t:h(t),s):e},s.html=function(t){return arguments.length?(r=null==t?t:h(t),s):r},s.rootElement=function(t){return arguments.length?(l=h(t),s):l},s.destroy=function(){return i&&(d().remove(),i=null),s};var c=o.map({n:function(){var t=y(window);return{top:t.n.y-i.offsetHeight,left:t.n.x-i.offsetWidth/2}},s:function(){var t=y(window);return{top:t.s.y+8,left:t.s.x-i.offsetWidth/2}},e:function(){var t=y(window);return{top:t.e.y-i.offsetHeight/2,left:t.e.x+8}},w:function(){var t=y(window);return{top:t.w.y-i.offsetHeight/2,left:t.w.x-i.offsetWidth-8}},nw:function(){var t=y(window);return{top:t.nw.y-i.offsetHeight,left:t.nw.x-i.offsetWidth}},ne:function(){var t=y(window);return{top:t.ne.y-i.offsetHeight,left:t.ne.x}},sw:function(){var t=y(window);return{top:t.sw.y,left:t.sw.x-i.offsetWidth}},se:function(){var t=y(window);return{top:t.se.y,left:t.se.x}}}),u=c.keys();function f(){var t=o.select(document.createElement("div"));return t.attr("class","d3-tip").style("position","absolute").style("top","0px").style("opacity",0).style("pointer-events","none").style("box-sizing","border-box"),t.node()}function d(){return null==i&&(i=f(),l().appendChild(i)),o.select(i)}function y(t){for(var o=a||t;null==o.getCTM&&null!=o.parentNode;)o=o.parentNode;var e={},r=o.getCTM(),l=o.getBBox(),i=l.width,n=l.height,s=l.x,c=l.y;return p.x=s,p.y=c,e.nw=p.matrixTransform(r),p.x+=i,e.ne=p.matrixTransform(r),p.y+=n,e.se=p.matrixTransform(r),p.x-=i,e.sw=p.matrixTransform(r),p.y-=n/2,e.w=p.matrixTransform(r),p.x+=i,e.e=p.matrixTransform(r),p.x-=i/2,p.y-=n/2,e.n=p.matrixTransform(r),p.y+=n,e.s=p.matrixTransform(r),e}function h(t){return"function"==typeof t?t:function(){return t}}return s}(),e._valueFormatter=o.format(e.tooltipValueFormat()),e.layerEnter){var r=e.layerEnter;e.layerEnter=function(t,o,e){this._parentOverlay||(this._parentOverlay=t._parentOverlay),this.tooltipEnter(o),r.apply(this,arguments)};var l=e.layerUpdate;e.layerUpdate=function(t){l.apply(this,arguments),this.tooltipUpdate()};var i=e.layerExit;e.layerExit=function(t){this.tooltipExit(),i.apply(this,arguments)}}else{var n=e.enter;e.enter=function(t,o){this.tooltipEnter(o),n.apply(this,arguments)};var p=e.update;e.update=function(t,o){p.apply(this,arguments),this.tooltipUpdate()};var a=e.exit;e.exit=function(t,o){this.tooltipExit(),a.apply(this,arguments)}}return e}return p(e,t),e.prototype.tooltipEnter=function(t){var o=this.parentOverlay();o.empty()||this.tooltip.rootElement(o.node().parentNode),t.call(this.tooltip)},e.prototype.tooltipUpdate=function(){var t=this;this.tooltip.offset(function(){if(event&&t.tooltipFollowMouse()){var o=document.querySelector(".d3-tip");return o.style.display="block",o.style.left=t.tooltipOffset()+event.clientX+"px",o.style.top=event.clientY+"px",[]}switch(t.tooltip.direction()()){case"e":return[0,t.tooltipOffset()];default:return[-t.tooltipOffset(),0]}});var o=this.tooltip.attr("class");o&&(o=(o=o.split(" notick").join("")+(this.tooltipTick()?"":" notick")+("none"===this.tooltipStyle()?" hidden":"")).split(" ").filter(function(t){return 0!==t.indexOf("ITooltip-tooltipStyle-")}).join(" "),o+=" ITooltip-tooltipStyle-"+this.tooltipStyle(),this.tooltip.attr("class",o))},e.prototype.tooltipExit=function(){this.tooltip&&this.tooltip.destroy()},e.prototype._tooltipHTML=function(t){return t},e.prototype.tooltipHTML=function(t){return this.tooltip.html(t)},e.prototype.tooltipFormat=function(t){switch(void 0===t&&(t={}),t.label=void 0===t.label?"":t.label,t.series=t.series||"",t.value instanceof Date?t.value=t.value||"":t.value=this._valueFormatter(t.value)||"",this.tooltipStyle()){case"none":break;case"series-table":var o='<table class="ITooltip-series-table"><thead><tr><th colspan="2">'+t.label+"</th></tr></thead><tbody>";return t.arr.forEach(function(t){o+="<tr>",o+="<td>",o+='<div class="series-table-row-color" style="background-color:'+t.color+'"></div>',o+='<div class="series-table-row-label">'+t.label+"</div>",o+="</td>",o+='<td><div class="series-table-row-value">'+t.value+"</div></td>",o+="</tr>"}),o+="</tbody>",o+="</table>";default:return t.series?"<span style='color:"+this.tooltipSeriesColor()+"'>"+t.series+"</span> / <span style='color:"+this.tooltipLabelColor()+"'>"+t.label+"</span>: <span style='color:"+this.tooltipValueColor()+"'>"+t.value+"</span>":""!==t.label?"<span style='color:"+this.tooltipLabelColor()+"'>"+t.label+"</span>: <span style='color:"+this.tooltipValueColor()+"'>"+t.value+"</span>":"<span style='color:"+this.tooltipValueColor()+"'>"+t.value+"</span>"}},e.prototype.tooltipKeyValueFormat=function(t,o){var e="";for(var r in o)if(r!==t){var l=o&&o[r]?o[r]:"";e+='<tr><td style="'+(this.tooltipLabelColor_exists()?"color:"+this.tooltipLabelColor():"")+'">'+r+'</td><td style="font-weight:normal">'+l+"</td></tr>"}return'<table>\n <thead>\n <tr><th colspan="2" style="font-weight:bold;font-size:16px">'+o[t]+"</th></tr>\n </thead>\n <tbody>\n "+e+"\n </tbody>\n </table>"},e}(o.Widget);c.prototype.publish("tooltipStyle","default","set","Style mode",["default","none","series-table"],{}),c.prototype.publish("tooltipFollowMouse",!1,"boolean","If true, the tooltip will follow mouse movement",null,{}),c.prototype.publish("tooltipValueFormat",",.2f","string","Number format of tooltip value(s)",null,{}),c.prototype.publish("tooltipSeriesColor","#EAFFFF","html-color","Color of tooltip series text",null,{}),c.prototype.publish("tooltipLabelColor","#CCFFFF","html-color","Color of tooltip label text",null,{}),c.prototype.publish("tooltipValueColor","white","html-color","Color of tooltip value(s)",null,{}),c.prototype.publish("tooltipTick",!0,"boolean","Show tooltip tick",null,{}),c.prototype.publish("tooltipOffset",8,"number","Offset from the cursor",null,{});var u=c.prototype.tooltipValueFormat;c.prototype.tooltipValueFormat=function(t){var e=u.apply(this,arguments);return arguments.length&&(this._valueFormatter=o.format(t)),e};var f=function(){function t(){}return t.prototype.click=function(t,o,e){console.log("Click: "+JSON.stringify(t)+", "+o+", "+e)},t.prototype.dblclick=function(t,o,e){console.log("Double click: "+JSON.stringify(t)+", "+o+", "+e)},t}();f.prototype._palette=o.Palette.ordinal("default"),t.BUILD_VERSION="2.99.0",t.I1DChart=e,t.I2DAggrChart=l,t.I2DChart=r,t.IGraph=i,t.IInput=a,t.INDChart=s,t.ITooltip=c,t.ITree=f,t.PKG_NAME="@hpcc-js/api",t.PKG_VERSION="2.8.59",t.instanceOfIHighlight=function(t){return"function"==typeof t.highlightColumn},Object.defineProperty(t,"__esModule",{value:!0})}); | ||
//# sourceMappingURL=index.min.js.map |
{ | ||
"name": "@hpcc-js/api", | ||
"version": "2.8.57", | ||
"version": "2.8.59", | ||
"description": "hpcc-js - Viz api", | ||
@@ -37,14 +37,15 @@ "main": "dist/index.js", | ||
"lint": "eslint src/**/*.ts", | ||
"docs": "typedoc --options tdoptions.json ." | ||
"docs": "typedoc --options tdoptions.json .", | ||
"update": "npx npm-check-updates -u -t minor" | ||
}, | ||
"dependencies": { | ||
"@hpcc-js/common": "^2.62.0" | ||
"@hpcc-js/common": "^2.64.0" | ||
}, | ||
"devDependencies": { | ||
"@hpcc-js/bundle": "^2.10.21", | ||
"@rollup/plugin-alias": "3.1.9", | ||
"@rollup/plugin-commonjs": "21.0.1", | ||
"@rollup/plugin-node-resolve": "13.1.3", | ||
"@typescript-eslint/eslint-plugin": "5.10.1", | ||
"@typescript-eslint/parser": "5.10.1", | ||
"@hpcc-js/bundle": "^2.10.23", | ||
"@rollup/plugin-alias": "3.1.0", | ||
"@rollup/plugin-commonjs": "12.0.0", | ||
"@rollup/plugin-node-resolve": "8.0.0", | ||
"@typescript-eslint/eslint-plugin": "4.31.0", | ||
"@typescript-eslint/parser": "4.31.0", | ||
"d3-collection": "^1", | ||
@@ -55,13 +56,13 @@ "d3-color": "^1", | ||
"downlevel-dts": "0.6.0", | ||
"eslint": "8.8.0", | ||
"eslint": "7.32.0", | ||
"eslint-plugin-react-hooks": "^4.3.0", | ||
"npm-run-all": "4.1.5", | ||
"rimraf": "3.0.2", | ||
"rollup": "2.66.1", | ||
"rollup-plugin-postcss": "4.0.2", | ||
"rollup-plugin-sourcemaps": "0.6.3", | ||
"terser": "5.10.0", | ||
"tslib": "2.3.1", | ||
"typedoc": "0.22.11", | ||
"typescript": "4.5.5" | ||
"rimraf": "2.6.3", | ||
"rollup": "2.10.7", | ||
"rollup-plugin-postcss": "3.1.1", | ||
"rollup-plugin-sourcemaps": "0.6.2", | ||
"terser": "4.0.0", | ||
"tslib": "2.3.0", | ||
"typedoc": "0.14.2", | ||
"typescript": "4.3.4" | ||
}, | ||
@@ -79,3 +80,3 @@ "repository": { | ||
"homepage": "https://github.com/hpcc-systems/Visualization", | ||
"gitHead": "481c2fc2b4389cb32900bf2735bed31e7bfb7dfd" | ||
"gitHead": "f7efefac2a4dbd99309a35f040d149a8e8349c88" | ||
} |
export const PKG_NAME = "@hpcc-js/api"; | ||
export const PKG_VERSION = "2.8.57"; | ||
export const BUILD_VERSION = "2.97.0"; | ||
export const PKG_VERSION = "2.8.59"; | ||
export const BUILD_VERSION = "2.99.0"; |
export declare const PKG_NAME = "@hpcc-js/api"; | ||
export declare const PKG_VERSION = "2.8.57"; | ||
export declare const BUILD_VERSION = "2.97.0"; | ||
export declare const PKG_VERSION = "2.8.59"; | ||
export declare const BUILD_VERSION = "2.99.0"; | ||
//# sourceMappingURL=__package__.d.ts.map |
export declare const PKG_NAME = "@hpcc-js/api"; | ||
export declare const PKG_VERSION = "2.8.57"; | ||
export declare const BUILD_VERSION = "2.97.0"; | ||
export declare const PKG_VERSION = "2.8.59"; | ||
export declare const BUILD_VERSION = "2.99.0"; | ||
//# sourceMappingURL=__package__.d.ts.map |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Long strings
Supply chain riskContains long string literals, which may be a sign of obfuscated or packed code.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Long strings
Supply chain riskContains long string literals, which may be a sign of obfuscated or packed code.
Found 1 instance in 1 package
321868
2696
Updated@hpcc-js/common@^2.64.0