Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@hpcc-js/api

Package Overview
Dependencies
Maintainers
1
Versions
198
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@hpcc-js/api - npm Package Compare versions

Comparing version 0.0.19 to 0.0.21

8

dist/api-vendor.js

@@ -1,6 +0,2 @@

(function (global, factory) {
typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports) :
typeof define === 'function' && define.amd ? define(['exports'], factory) :
(factory((global['_hpccJs_api-vendor'] = global['_hpccJs_api-vendor'] || {})));
}(this, (function (exports) { 'use strict';
define(['exports'], function (exports) { 'use strict';

@@ -1324,3 +1320,3 @@ function __$styleInject(css, returnValue) {

})));
});
//# sourceMappingURL=api-vendor.js.map

@@ -1,2 +0,2 @@

!function(t,n){"object"==typeof exports&&"undefined"!=typeof module?n(exports):"function"==typeof define&&define.amd?define(["exports"],n):n(t["_hpccJs_api-vendor"]=t["_hpccJs_api-vendor"]||{})}(this,function(t){"use strict";function n(t){return function(){var n=this.ownerDocument,e=this.namespaceURI;return e===nt&&n.documentElement.namespaceURI===nt?n.createElement(t):n.createElementNS(e,t)}}function e(t){return function(){return this.ownerDocument.createElementNS(t.space,t.local)}}function r(t,n,e){return t=i(t,n,e),function(n){var e=n.relatedTarget;e&&(e===this||8&e.compareDocumentPosition(this))||t.call(this,n)}}function i(t,n,e){return function(r){var i=ft;ft=r;try{t.call(this,this.__data__,n,e)}finally{ft=i}}}function o(t){return t.trim().split(/^|\s+/).map(function(t){var n="",e=t.indexOf(".");return e>=0&&(n=t.slice(e+1),t=t.slice(0,e)),{type:t,name:n}})}function u(t){return function(){var n=this.__on;if(n){for(var e,r=0,i=-1,o=n.length;r<o;++r)e=n[r],t.type&&e.type!==t.type||e.name!==t.name?n[++i]=e:this.removeEventListener(e.type,e.listener,e.capture);++i?n.length=i:delete this.__on}}}function s(t,n,e){var o=ct.hasOwnProperty(t.type)?r:i;return function(r,i,u){var s,a=this.__on,c=o(n,i,u);if(a)for(var f=0,l=a.length;f<l;++f)if((s=a[f]).type===t.type&&s.name===t.name)return this.removeEventListener(s.type,s.listener,s.capture),this.addEventListener(s.type,s.listener=c,s.capture=e),void(s.value=n);this.addEventListener(t.type,c,e),s={type:t.type,name:t.name,value:n,listener:c,capture:e},a?a.push(s):this.__on=[s]}}function a(){}function c(){return[]}function f(t,n){this.ownerDocument=t.ownerDocument,this.namespaceURI=t.namespaceURI,this._next=null,this._parent=t,this.__data__=n}function l(t,n,e,r,i,o){for(var u,s=0,a=n.length,c=o.length;s<c;++s)(u=n[s])?(u.__data__=o[s],r[s]=u):e[s]=new f(t,o[s]);for(;s<a;++s)(u=n[s])&&(i[s]=u)}function h(t,n,e,r,i,o,u){var s,a,c,l={},h=n.length,p=o.length,y=new Array(h);for(s=0;s<h;++s)(a=n[s])&&(y[s]=c=wt+u.call(a,a.__data__,s,n),c in l?i[s]=a:l[c]=a);for(s=0;s<p;++s)(a=l[c=wt+u.call(t,o[s],s,o)])?(r[s]=a,a.__data__=o[s],l[c]=null):e[s]=new f(t,o[s]);for(s=0;s<h;++s)(a=n[s])&&l[y[s]]===a&&(i[s]=a)}function p(t,n){return t<n?-1:t>n?1:t>=n?0:NaN}function y(t){return function(){this.removeAttribute(t)}}function v(t){return function(){this.removeAttributeNS(t.space,t.local)}}function d(t,n){return function(){this.setAttribute(t,n)}}function m(t,n){return function(){this.setAttributeNS(t.space,t.local,n)}}function _(t,n){return function(){var e=n.apply(this,arguments);null==e?this.removeAttribute(t):this.setAttribute(t,e)}}function g(t,n){return function(){var e=n.apply(this,arguments);null==e?this.removeAttributeNS(t.space,t.local):this.setAttributeNS(t.space,t.local,e)}}function w(t){return function(){this.style.removeProperty(t)}}function x(t,n,e){return function(){this.style.setProperty(t,n,e)}}function A(t,n,e){return function(){var r=n.apply(this,arguments);null==r?this.style.removeProperty(t):this.style.setProperty(t,r,e)}}function b(t,n){return t.style.getPropertyValue(n)||Ht(t).getComputedStyle(t,null).getPropertyValue(n)}function S(t){return function(){delete this[t]}}function E(t,n){return function(){this[t]=n}}function N(t,n){return function(){var e=n.apply(this,arguments);null==e?delete this[t]:this[t]=e}}function T(t){return t.trim().split(/^|\s+/)}function C(t){return t.classList||new L(t)}function L(t){this._node=t,this._names=T(t.getAttribute("class")||"")}function M(t,n){for(var e=C(t),r=-1,i=n.length;++r<i;)e.add(n[r])}function $(t,n){for(var e=C(t),r=-1,i=n.length;++r<i;)e.remove(n[r])}function P(t){return function(){M(this,t)}}function H(t){return function(){$(this,t)}}function z(t,n){return function(){(n.apply(this,arguments)?M:$)(this,t)}}function B(){this.textContent=""}function O(t){return function(){this.textContent=t}}function k(t){return function(){var n=t.apply(this,arguments);this.textContent=null==n?"":n}}function q(){this.innerHTML=""}function D(t){return function(){this.innerHTML=t}}function V(t){return function(){var n=t.apply(this,arguments);this.innerHTML=null==n?"":n}}function W(){this.nextSibling&&this.parentNode.appendChild(this)}function j(){this.previousSibling&&this.parentNode.insertBefore(this,this.parentNode.firstChild)}function I(){return null}function R(){var t=this.parentNode;t&&t.removeChild(this)}function U(t,n,e){var r=Ht(t),i=r.CustomEvent;"function"==typeof i?i=new i(n,e):(i=r.document.createEvent("Event"),e?(i.initEvent(n,e.bubbles,e.cancelable),i.detail=e.detail):i.initEvent(n,!1,!1)),t.dispatchEvent(i)}function G(t,n){return function(){return U(this,t,n)}}function J(t,n){return function(){return U(this,t,n.apply(this,arguments))}}function X(t,n){this._groups=t,this._parents=n}function F(){return new X([[document.documentElement]],Gt)}function K(){}function Q(t,n){var e=new K;if(t instanceof K)t.each(function(t,n){e.set(n,t)});else if(Array.isArray(t)){var r,i=-1,o=t.length;if(null==n)for(;++i<o;)e.set(i,t[i]);else for(;++i<o;)e.set(n(r=t[i],i,t),r)}else if(t)for(var u in t)e.set(u,t[u]);return e}function Y(){}function Z(t,n){var e=new Y;if(t instanceof Y)t.each(function(t){e.add(t)});else if(t){var r=-1,i=t.length;if(null==n)for(;++r<i;)e.add(t[r]);else for(;++r<i;)e.add(n(t[r],r,t))}return e}function tt(){function t(t){(A=p(t))&&(b=A.createSVGPoint(),w().appendChild(x))}function n(){return"n"}function e(){return[0,0]}function r(){return" "}function i(){var t=v();return{top:t.n.y-x.offsetHeight,left:t.n.x-x.offsetWidth/2}}function o(){var t=v();return{top:t.s.y,left:t.s.x-x.offsetWidth/2}}function u(){var t=v();return{top:t.e.y-x.offsetHeight/2,left:t.e.x}}function s(){var t=v();return{top:t.w.y-x.offsetHeight/2,left:t.w.x-x.offsetWidth}}function a(){var t=v();return{top:t.nw.y-x.offsetHeight,left:t.nw.x-x.offsetWidth}}function c(){var t=v();return{top:t.ne.y-x.offsetHeight,left:t.ne.x}}function f(){var t=v();return{top:t.sw.y,left:t.sw.x-x.offsetWidth}}function l(){var t=v();return{top:t.se.y,left:t.se.x}}function h(){var t=Jt(document.createElement("div"));return t.style("position","absolute").style("top",0).style("opacity",0).style("pointer-events","none").style("box-sizing","border-box"),t.node()}function p(t){var n=t.node();return n?"svg"===n.tagName.toLowerCase()?n:n.ownerSVGElement:null}function y(){return null==x&&(x=h(),w().appendChild(x)),Jt(x)}function v(){for(var t=S||event.target;null==t.getScreenCTM&&null==t.parentNode;)t=t.parentNode;var n={},e=t.getScreenCTM(),r=t.getBBox(),i=r.width,o=r.height,u=r.x,s=r.y;return b.x=u,b.y=s,n.nw=b.matrixTransform(e),b.x+=i,n.ne=b.matrixTransform(e),b.y+=o,n.se=b.matrixTransform(e),b.x-=i,n.sw=b.matrixTransform(e),b.y-=o/2,n.w=b.matrixTransform(e),b.x+=i,n.e=b.matrixTransform(e),b.x-=i/2,b.y-=o/2,n.n=b.matrixTransform(e),b.y+=o,n.s=b.matrixTransform(e),n}function d(t){return"function"==typeof t?t:function(){return t}}var m=n,_=e,g=r,w=d(document.body),x=h(),A=null,b=null,S=null;t.show=function(){var n=Array.prototype.slice.call(arguments);n[n.length-1]instanceof SVGElement&&(S=n.pop());var e,r=g.apply(this,n),i=_.apply(this,n),o=m.apply(this,n),u=y(),s=N.length,a=document.documentElement.scrollTop||w().scrollTop,c=document.documentElement.scrollLeft||w().scrollLeft;for(u.html(r).style("opacity",1).style("pointer-events","all");s--;)u.classed(N[s],!1);return e=E.get(o).apply(this),u.classed(o,!0).style("top",e.top+i[0]+a+"px").style("left",e.left+i[1]+c+"px"),t},t.hide=function(){return y().style("opacity",0).style("pointer-events","none"),t},t.attr=function(n,e){if(arguments.length<2&&"string"==typeof n)return y().attr(n);var r=Array.prototype.slice.call(arguments);return F.prototype.attr.apply(y(),r),t},t.style=function(n,e){if(arguments.length<2&&"string"==typeof n)return y().style(n);var r=Array.prototype.slice.call(arguments);return F.prototype.style.apply(y(),r),t},t.direction=function(n){return arguments.length?(m=null==n?n:d(n),t):m},t.offset=function(n){return arguments.length?(_=null==n?n:d(n),t):_},t.html=function(n){return arguments.length?(g=null==n?n:d(n),t):g},t.rootElement=function(n){return arguments.length?(w=null==n?n:d(n),t):w},t.destroy=function(){return x&&(y().remove(),x=null),t};var E=Q({n:i,s:o,e:u,w:s,nw:a,ne:c,sw:f,se:l}),N=E.keys();return t}var nt="http://www.w3.org/1999/xhtml",et={svg:"http://www.w3.org/2000/svg",xhtml:nt,xlink:"http://www.w3.org/1999/xlink",xml:"http://www.w3.org/XML/1998/namespace",xmlns:"http://www.w3.org/2000/xmlns/"},rt=function(t){var n=t+="",e=n.indexOf(":");return e>=0&&"xmlns"!==(n=t.slice(0,e))&&(t=t.slice(e+1)),et.hasOwnProperty(n)?{space:et[n],local:t}:t},it=function(t){var r=rt(t);return(r.local?e:n)(r)},ot=function(t){return function(){return this.matches(t)}};if("undefined"!=typeof document){var ut=document.documentElement;if(!ut.matches){var st=ut.webkitMatchesSelector||ut.msMatchesSelector||ut.mozMatchesSelector||ut.oMatchesSelector;ot=function(t){return function(){return st.call(this,t)}}}}var at=ot,ct={},ft=null;"undefined"!=typeof document&&("onmouseenter"in document.documentElement||(ct={mouseenter:"mouseover",mouseleave:"mouseout"}));var lt=function(t,n,e){var r,i,a=o(t+""),c=a.length;{if(!(arguments.length<2)){for(f=n?s:u,null==e&&(e=!1),r=0;r<c;++r)this.each(f(a[r],n,e));return this}var f=this.node().__on;if(f)for(var l,h=0,p=f.length;h<p;++h)for(r=0,l=f[h];r<c;++r)if((i=a[r]).type===l.type&&i.name===l.name)return l.value}},ht=function(t){return null==t?a:function(){return this.querySelector(t)}},pt=function(t){"function"!=typeof t&&(t=ht(t));for(var n=this._groups,e=n.length,r=new Array(e),i=0;i<e;++i)for(var o,u,s=n[i],a=s.length,c=r[i]=new Array(a),f=0;f<a;++f)(o=s[f])&&(u=t.call(o,o.__data__,f,s))&&("__data__"in o&&(u.__data__=o.__data__),c[f]=u);return new X(r,this._parents)},yt=function(t){return null==t?c:function(){return this.querySelectorAll(t)}},vt=function(t){"function"!=typeof t&&(t=yt(t));for(var n=this._groups,e=n.length,r=[],i=[],o=0;o<e;++o)for(var u,s=n[o],a=s.length,c=0;c<a;++c)(u=s[c])&&(r.push(t.call(u,u.__data__,c,s)),i.push(u));return new X(r,i)},dt=function(t){"function"!=typeof t&&(t=at(t));for(var n=this._groups,e=n.length,r=new Array(e),i=0;i<e;++i)for(var o,u=n[i],s=u.length,a=r[i]=[],c=0;c<s;++c)(o=u[c])&&t.call(o,o.__data__,c,u)&&a.push(o);return new X(r,this._parents)},mt=function(t){return new Array(t.length)},_t=function(){return new X(this._enter||this._groups.map(mt),this._parents)};f.prototype={constructor:f,appendChild:function(t){return this._parent.insertBefore(t,this._next)},insertBefore:function(t,n){return this._parent.insertBefore(t,n)},querySelector:function(t){return this._parent.querySelector(t)},querySelectorAll:function(t){return this._parent.querySelectorAll(t)}};var gt=function(t){return function(){return t}},wt="$",xt=function(t,n){if(!t)return v=new Array(this.size()),c=-1,this.each(function(t){v[++c]=t}),v;var e=n?h:l,r=this._parents,i=this._groups;"function"!=typeof t&&(t=gt(t));for(var o=i.length,u=new Array(o),s=new Array(o),a=new Array(o),c=0;c<o;++c){var f=r[c],p=i[c],y=p.length,v=t.call(f,f&&f.__data__,c,r),d=v.length,m=s[c]=new Array(d),_=u[c]=new Array(d);e(f,p,m,_,a[c]=new Array(y),v,n);for(var g,w,x=0,A=0;x<d;++x)if(g=m[x]){for(x>=A&&(A=x+1);!(w=_[A])&&++A<d;);g._next=w||null}}return u=new X(u,r),u._enter=s,u._exit=a,u},At=function(){return new X(this._exit||this._groups.map(mt),this._parents)},bt=function(t){for(var n=this._groups,e=t._groups,r=n.length,i=e.length,o=Math.min(r,i),u=new Array(r),s=0;s<o;++s)for(var a,c=n[s],f=e[s],l=c.length,h=u[s]=new Array(l),p=0;p<l;++p)(a=c[p]||f[p])&&(h[p]=a);for(;s<r;++s)u[s]=n[s];return new X(u,this._parents)},St=function(){for(var t=this._groups,n=-1,e=t.length;++n<e;)for(var r,i=t[n],o=i.length-1,u=i[o];--o>=0;)(r=i[o])&&(u&&u!==r.nextSibling&&u.parentNode.insertBefore(r,u),u=r);return this},Et=function(t){function n(n,e){return n&&e?t(n.__data__,e.__data__):!n-!e}t||(t=p);for(var e=this._groups,r=e.length,i=new Array(r),o=0;o<r;++o){for(var u,s=e[o],a=s.length,c=i[o]=new Array(a),f=0;f<a;++f)(u=s[f])&&(c[f]=u);c.sort(n)}return new X(i,this._parents).order()},Nt=function(){var t=arguments[0];return arguments[0]=this,t.apply(null,arguments),this},Tt=function(){var t=new Array(this.size()),n=-1;return this.each(function(){t[++n]=this}),t},Ct=function(){for(var t=this._groups,n=0,e=t.length;n<e;++n)for(var r=t[n],i=0,o=r.length;i<o;++i){var u=r[i];if(u)return u}return null},Lt=function(){var t=0;return this.each(function(){++t}),t},Mt=function(){return!this.node()},$t=function(t){for(var n=this._groups,e=0,r=n.length;e<r;++e)for(var i,o=n[e],u=0,s=o.length;u<s;++u)(i=o[u])&&t.call(i,i.__data__,u,o);return this},Pt=function(t,n){var e=rt(t);if(arguments.length<2){var r=this.node();return e.local?r.getAttributeNS(e.space,e.local):r.getAttribute(e)}return this.each((null==n?e.local?v:y:"function"==typeof n?e.local?g:_:e.local?m:d)(e,n))},Ht=function(t){return t.ownerDocument&&t.ownerDocument.defaultView||t.document&&t||t.defaultView},zt=function(t,n,e){return arguments.length>1?this.each((null==n?w:"function"==typeof n?A:x)(t,n,null==e?"":e)):b(this.node(),t)},Bt=function(t,n){return arguments.length>1?this.each((null==n?S:"function"==typeof n?N:E)(t,n)):this.node()[t]};L.prototype={add:function(t){this._names.indexOf(t)<0&&(this._names.push(t),this._node.setAttribute("class",this._names.join(" ")))},remove:function(t){var n=this._names.indexOf(t);n>=0&&(this._names.splice(n,1),this._node.setAttribute("class",this._names.join(" ")))},contains:function(t){return this._names.indexOf(t)>=0}};var Ot=function(t,n){var e=T(t+"");if(arguments.length<2){for(var r=C(this.node()),i=-1,o=e.length;++i<o;)if(!r.contains(e[i]))return!1;return!0}return this.each(("function"==typeof n?z:n?P:H)(e,n))},kt=function(t){return arguments.length?this.each(null==t?B:("function"==typeof t?k:O)(t)):this.node().textContent},qt=function(t){return arguments.length?this.each(null==t?q:("function"==typeof t?V:D)(t)):this.node().innerHTML},Dt=function(){return this.each(W)},Vt=function(){return this.each(j)},Wt=function(t){var n="function"==typeof t?t:it(t);return this.select(function(){return this.appendChild(n.apply(this,arguments))})},jt=function(t,n){var e="function"==typeof t?t:it(t),r=null==n?I:"function"==typeof n?n:ht(n);return this.select(function(){return this.insertBefore(e.apply(this,arguments),r.apply(this,arguments)||null)})},It=function(){return this.each(R)},Rt=function(t){return arguments.length?this.property("__data__",t):this.node().__data__},Ut=function(t,n){return this.each(("function"==typeof n?J:G)(t,n))},Gt=[null];X.prototype=F.prototype={constructor:X,select:pt,selectAll:vt,filter:dt,data:xt,enter:_t,exit:At,merge:bt,order:St,sort:Et,call:Nt,nodes:Tt,node:Ct,size:Lt,empty:Mt,each:$t,attr:Pt,style:zt,property:Bt,classed:Ot,text:kt,html:qt,raise:Dt,lower:Vt,append:Wt,insert:jt,remove:It,datum:Rt,on:lt,dispatch:Ut};var Jt=function(t){return"string"==typeof t?new X([[document.querySelector(t)]],[document.documentElement]):new X([[t]],Gt)};K.prototype=Q.prototype={constructor:K,has:function(t){return"$"+t in this},get:function(t){return this["$"+t]},set:function(t,n){return this["$"+t]=n,this},remove:function(t){var n="$"+t;return n in this&&delete this[n]},clear:function(){for(var t in this)"$"===t[0]&&delete this[t]},keys:function(){var t=[];for(var n in this)"$"===n[0]&&t.push(n.slice(1));return t},values:function(){var t=[];for(var n in this)"$"===n[0]&&t.push(this[n]);return t},entries:function(){var t=[];for(var n in this)"$"===n[0]&&t.push({key:n.slice(1),value:this[n]});return t},size:function(){var t=0;for(var n in this)"$"===n[0]&&++t;return t},empty:function(){for(var t in this)if("$"===t[0])return!1;return!0},each:function(t){for(var n in this)"$"===n[0]&&t(this[n],n.slice(1),this)}};var Xt=Q.prototype;Y.prototype=Z.prototype={constructor:Y,has:Xt.has,add:function(t){return t+="",this["$"+t]=t,this},remove:Xt.remove,clear:Xt.clear,values:Xt.keys,size:Xt.size,empty:Xt.empty,each:Xt.each},t.tip=tt,Object.defineProperty(t,"__esModule",{value:!0})});
define(["exports"],function(t){"use strict";function n(t){return function(){var n=this.ownerDocument,e=this.namespaceURI;return e===nt&&n.documentElement.namespaceURI===nt?n.createElement(t):n.createElementNS(e,t)}}function e(t){return function(){return this.ownerDocument.createElementNS(t.space,t.local)}}function r(t,n,e){return t=i(t,n,e),function(n){var e=n.relatedTarget;e&&(e===this||8&e.compareDocumentPosition(this))||t.call(this,n)}}function i(t,n,e){return function(r){var i=lt;lt=r;try{t.call(this,this.__data__,n,e)}finally{lt=i}}}function o(t){return t.trim().split(/^|\s+/).map(function(t){var n="",e=t.indexOf(".");return e>=0&&(n=t.slice(e+1),t=t.slice(0,e)),{type:t,name:n}})}function u(t){return function(){var n=this.__on;if(n){for(var e,r=0,i=-1,o=n.length;r<o;++r)e=n[r],t.type&&e.type!==t.type||e.name!==t.name?n[++i]=e:this.removeEventListener(e.type,e.listener,e.capture);++i?n.length=i:delete this.__on}}}function s(t,n,e){var o=ct.hasOwnProperty(t.type)?r:i;return function(r,i,u){var s,a=this.__on,c=o(n,i,u);if(a)for(var l=0,f=a.length;l<f;++l)if((s=a[l]).type===t.type&&s.name===t.name)return this.removeEventListener(s.type,s.listener,s.capture),this.addEventListener(s.type,s.listener=c,s.capture=e),void(s.value=n);this.addEventListener(t.type,c,e),s={type:t.type,name:t.name,value:n,listener:c,capture:e},a?a.push(s):this.__on=[s]}}function a(){}function c(){return[]}function l(t,n){this.ownerDocument=t.ownerDocument,this.namespaceURI=t.namespaceURI,this._next=null,this._parent=t,this.__data__=n}function f(t,n,e,r,i,o){for(var u,s=0,a=n.length,c=o.length;s<c;++s)(u=n[s])?(u.__data__=o[s],r[s]=u):e[s]=new l(t,o[s]);for(;s<a;++s)(u=n[s])&&(i[s]=u)}function h(t,n,e,r,i,o,u){var s,a,c,f={},h=n.length,p=o.length,y=new Array(h);for(s=0;s<h;++s)(a=n[s])&&(y[s]=c=wt+u.call(a,a.__data__,s,n),c in f?i[s]=a:f[c]=a);for(s=0;s<p;++s)(a=f[c=wt+u.call(t,o[s],s,o)])?(r[s]=a,a.__data__=o[s],f[c]=null):e[s]=new l(t,o[s]);for(s=0;s<h;++s)(a=n[s])&&f[y[s]]===a&&(i[s]=a)}function p(t,n){return t<n?-1:t>n?1:t>=n?0:NaN}function y(t){return function(){this.removeAttribute(t)}}function v(t){return function(){this.removeAttributeNS(t.space,t.local)}}function d(t,n){return function(){this.setAttribute(t,n)}}function m(t,n){return function(){this.setAttributeNS(t.space,t.local,n)}}function _(t,n){return function(){var e=n.apply(this,arguments);null==e?this.removeAttribute(t):this.setAttribute(t,e)}}function g(t,n){return function(){var e=n.apply(this,arguments);null==e?this.removeAttributeNS(t.space,t.local):this.setAttributeNS(t.space,t.local,e)}}function w(t){return function(){this.style.removeProperty(t)}}function x(t,n,e){return function(){this.style.setProperty(t,n,e)}}function A(t,n,e){return function(){var r=n.apply(this,arguments);null==r?this.style.removeProperty(t):this.style.setProperty(t,r,e)}}function b(t,n){return t.style.getPropertyValue(n)||Ht(t).getComputedStyle(t,null).getPropertyValue(n)}function S(t){return function(){delete this[t]}}function E(t,n){return function(){this[t]=n}}function N(t,n){return function(){var e=n.apply(this,arguments);null==e?delete this[t]:this[t]=e}}function T(t){return t.trim().split(/^|\s+/)}function C(t){return t.classList||new L(t)}function L(t){this._node=t,this._names=T(t.getAttribute("class")||"")}function M(t,n){for(var e=C(t),r=-1,i=n.length;++r<i;)e.add(n[r])}function $(t,n){for(var e=C(t),r=-1,i=n.length;++r<i;)e.remove(n[r])}function P(t){return function(){M(this,t)}}function H(t){return function(){$(this,t)}}function z(t,n){return function(){(n.apply(this,arguments)?M:$)(this,t)}}function B(){this.textContent=""}function O(t){return function(){this.textContent=t}}function k(t){return function(){var n=t.apply(this,arguments);this.textContent=null==n?"":n}}function q(){this.innerHTML=""}function D(t){return function(){this.innerHTML=t}}function V(t){return function(){var n=t.apply(this,arguments);this.innerHTML=null==n?"":n}}function W(){this.nextSibling&&this.parentNode.appendChild(this)}function I(){this.previousSibling&&this.parentNode.insertBefore(this,this.parentNode.firstChild)}function R(){return null}function U(){var t=this.parentNode;t&&t.removeChild(this)}function j(t,n,e){var r=Ht(t),i=r.CustomEvent;"function"==typeof i?i=new i(n,e):(i=r.document.createEvent("Event"),e?(i.initEvent(n,e.bubbles,e.cancelable),i.detail=e.detail):i.initEvent(n,!1,!1)),t.dispatchEvent(i)}function G(t,n){return function(){return j(this,t,n)}}function X(t,n){return function(){return j(this,t,n.apply(this,arguments))}}function F(t,n){this._groups=t,this._parents=n}function J(){return new F([[document.documentElement]],Gt)}function K(){}function Q(t,n){var e=new K;if(t instanceof K)t.each(function(t,n){e.set(n,t)});else if(Array.isArray(t)){var r,i=-1,o=t.length;if(null==n)for(;++i<o;)e.set(i,t[i]);else for(;++i<o;)e.set(n(r=t[i],i,t),r)}else if(t)for(var u in t)e.set(u,t[u]);return e}function Y(){}function Z(t,n){var e=new Y;if(t instanceof Y)t.each(function(t){e.add(t)});else if(t){var r=-1,i=t.length;if(null==n)for(;++r<i;)e.add(t[r]);else for(;++r<i;)e.add(n(t[r],r,t))}return e}function tt(){function t(t){(A=p(t))&&(b=A.createSVGPoint(),w().appendChild(x))}function n(){return"n"}function e(){return[0,0]}function r(){return" "}function i(){var t=v();return{top:t.n.y-x.offsetHeight,left:t.n.x-x.offsetWidth/2}}function o(){var t=v();return{top:t.s.y,left:t.s.x-x.offsetWidth/2}}function u(){var t=v();return{top:t.e.y-x.offsetHeight/2,left:t.e.x}}function s(){var t=v();return{top:t.w.y-x.offsetHeight/2,left:t.w.x-x.offsetWidth}}function a(){var t=v();return{top:t.nw.y-x.offsetHeight,left:t.nw.x-x.offsetWidth}}function c(){var t=v();return{top:t.ne.y-x.offsetHeight,left:t.ne.x}}function l(){var t=v();return{top:t.sw.y,left:t.sw.x-x.offsetWidth}}function f(){var t=v();return{top:t.se.y,left:t.se.x}}function h(){var t=Xt(document.createElement("div"));return t.style("position","absolute").style("top",0).style("opacity",0).style("pointer-events","none").style("box-sizing","border-box"),t.node()}function p(t){var n=t.node();return n?"svg"===n.tagName.toLowerCase()?n:n.ownerSVGElement:null}function y(){return null==x&&(x=h(),w().appendChild(x)),Xt(x)}function v(){for(var t=S||event.target;null==t.getScreenCTM&&null==t.parentNode;)t=t.parentNode;var n={},e=t.getScreenCTM(),r=t.getBBox(),i=r.width,o=r.height,u=r.x,s=r.y;return b.x=u,b.y=s,n.nw=b.matrixTransform(e),b.x+=i,n.ne=b.matrixTransform(e),b.y+=o,n.se=b.matrixTransform(e),b.x-=i,n.sw=b.matrixTransform(e),b.y-=o/2,n.w=b.matrixTransform(e),b.x+=i,n.e=b.matrixTransform(e),b.x-=i/2,b.y-=o/2,n.n=b.matrixTransform(e),b.y+=o,n.s=b.matrixTransform(e),n}function d(t){return"function"==typeof t?t:function(){return t}}var m=n,_=e,g=r,w=d(document.body),x=h(),A=null,b=null,S=null;t.show=function(){var n=Array.prototype.slice.call(arguments);n[n.length-1]instanceof SVGElement&&(S=n.pop());var e,r=g.apply(this,n),i=_.apply(this,n),o=m.apply(this,n),u=y(),s=N.length,a=document.documentElement.scrollTop||w().scrollTop,c=document.documentElement.scrollLeft||w().scrollLeft;for(u.html(r).style("opacity",1).style("pointer-events","all");s--;)u.classed(N[s],!1);return e=E.get(o).apply(this),u.classed(o,!0).style("top",e.top+i[0]+a+"px").style("left",e.left+i[1]+c+"px"),t},t.hide=function(){return y().style("opacity",0).style("pointer-events","none"),t},t.attr=function(n,e){if(arguments.length<2&&"string"==typeof n)return y().attr(n);var r=Array.prototype.slice.call(arguments);return J.prototype.attr.apply(y(),r),t},t.style=function(n,e){if(arguments.length<2&&"string"==typeof n)return y().style(n);var r=Array.prototype.slice.call(arguments);return J.prototype.style.apply(y(),r),t},t.direction=function(n){return arguments.length?(m=null==n?n:d(n),t):m},t.offset=function(n){return arguments.length?(_=null==n?n:d(n),t):_},t.html=function(n){return arguments.length?(g=null==n?n:d(n),t):g},t.rootElement=function(n){return arguments.length?(w=null==n?n:d(n),t):w},t.destroy=function(){return x&&(y().remove(),x=null),t};var E=Q({n:i,s:o,e:u,w:s,nw:a,ne:c,sw:l,se:f}),N=E.keys();return t}var nt="http://www.w3.org/1999/xhtml",et={svg:"http://www.w3.org/2000/svg",xhtml:nt,xlink:"http://www.w3.org/1999/xlink",xml:"http://www.w3.org/XML/1998/namespace",xmlns:"http://www.w3.org/2000/xmlns/"},rt=function(t){var n=t+="",e=n.indexOf(":");return e>=0&&"xmlns"!==(n=t.slice(0,e))&&(t=t.slice(e+1)),et.hasOwnProperty(n)?{space:et[n],local:t}:t},it=function(t){var r=rt(t);return(r.local?e:n)(r)},ot=function(t){return function(){return this.matches(t)}};if("undefined"!=typeof document){var ut=document.documentElement;if(!ut.matches){var st=ut.webkitMatchesSelector||ut.msMatchesSelector||ut.mozMatchesSelector||ut.oMatchesSelector;ot=function(t){return function(){return st.call(this,t)}}}}var at=ot,ct={},lt=null;"undefined"!=typeof document&&("onmouseenter"in document.documentElement||(ct={mouseenter:"mouseover",mouseleave:"mouseout"}));var ft=function(t,n,e){var r,i,a=o(t+""),c=a.length;{if(!(arguments.length<2)){for(l=n?s:u,null==e&&(e=!1),r=0;r<c;++r)this.each(l(a[r],n,e));return this}var l=this.node().__on;if(l)for(var f,h=0,p=l.length;h<p;++h)for(r=0,f=l[h];r<c;++r)if((i=a[r]).type===f.type&&i.name===f.name)return f.value}},ht=function(t){return null==t?a:function(){return this.querySelector(t)}},pt=function(t){"function"!=typeof t&&(t=ht(t));for(var n=this._groups,e=n.length,r=new Array(e),i=0;i<e;++i)for(var o,u,s=n[i],a=s.length,c=r[i]=new Array(a),l=0;l<a;++l)(o=s[l])&&(u=t.call(o,o.__data__,l,s))&&("__data__"in o&&(u.__data__=o.__data__),c[l]=u);return new F(r,this._parents)},yt=function(t){return null==t?c:function(){return this.querySelectorAll(t)}},vt=function(t){"function"!=typeof t&&(t=yt(t));for(var n=this._groups,e=n.length,r=[],i=[],o=0;o<e;++o)for(var u,s=n[o],a=s.length,c=0;c<a;++c)(u=s[c])&&(r.push(t.call(u,u.__data__,c,s)),i.push(u));return new F(r,i)},dt=function(t){"function"!=typeof t&&(t=at(t));for(var n=this._groups,e=n.length,r=new Array(e),i=0;i<e;++i)for(var o,u=n[i],s=u.length,a=r[i]=[],c=0;c<s;++c)(o=u[c])&&t.call(o,o.__data__,c,u)&&a.push(o);return new F(r,this._parents)},mt=function(t){return new Array(t.length)},_t=function(){return new F(this._enter||this._groups.map(mt),this._parents)};l.prototype={constructor:l,appendChild:function(t){return this._parent.insertBefore(t,this._next)},insertBefore:function(t,n){return this._parent.insertBefore(t,n)},querySelector:function(t){return this._parent.querySelector(t)},querySelectorAll:function(t){return this._parent.querySelectorAll(t)}};var gt=function(t){return function(){return t}},wt="$",xt=function(t,n){if(!t)return v=new Array(this.size()),c=-1,this.each(function(t){v[++c]=t}),v;var e=n?h:f,r=this._parents,i=this._groups;"function"!=typeof t&&(t=gt(t));for(var o=i.length,u=new Array(o),s=new Array(o),a=new Array(o),c=0;c<o;++c){var l=r[c],p=i[c],y=p.length,v=t.call(l,l&&l.__data__,c,r),d=v.length,m=s[c]=new Array(d),_=u[c]=new Array(d);e(l,p,m,_,a[c]=new Array(y),v,n);for(var g,w,x=0,A=0;x<d;++x)if(g=m[x]){for(x>=A&&(A=x+1);!(w=_[A])&&++A<d;);g._next=w||null}}return u=new F(u,r),u._enter=s,u._exit=a,u},At=function(){return new F(this._exit||this._groups.map(mt),this._parents)},bt=function(t){for(var n=this._groups,e=t._groups,r=n.length,i=e.length,o=Math.min(r,i),u=new Array(r),s=0;s<o;++s)for(var a,c=n[s],l=e[s],f=c.length,h=u[s]=new Array(f),p=0;p<f;++p)(a=c[p]||l[p])&&(h[p]=a);for(;s<r;++s)u[s]=n[s];return new F(u,this._parents)},St=function(){for(var t=this._groups,n=-1,e=t.length;++n<e;)for(var r,i=t[n],o=i.length-1,u=i[o];--o>=0;)(r=i[o])&&(u&&u!==r.nextSibling&&u.parentNode.insertBefore(r,u),u=r);return this},Et=function(t){function n(n,e){return n&&e?t(n.__data__,e.__data__):!n-!e}t||(t=p);for(var e=this._groups,r=e.length,i=new Array(r),o=0;o<r;++o){for(var u,s=e[o],a=s.length,c=i[o]=new Array(a),l=0;l<a;++l)(u=s[l])&&(c[l]=u);c.sort(n)}return new F(i,this._parents).order()},Nt=function(){var t=arguments[0];return arguments[0]=this,t.apply(null,arguments),this},Tt=function(){var t=new Array(this.size()),n=-1;return this.each(function(){t[++n]=this}),t},Ct=function(){for(var t=this._groups,n=0,e=t.length;n<e;++n)for(var r=t[n],i=0,o=r.length;i<o;++i){var u=r[i];if(u)return u}return null},Lt=function(){var t=0;return this.each(function(){++t}),t},Mt=function(){return!this.node()},$t=function(t){for(var n=this._groups,e=0,r=n.length;e<r;++e)for(var i,o=n[e],u=0,s=o.length;u<s;++u)(i=o[u])&&t.call(i,i.__data__,u,o);return this},Pt=function(t,n){var e=rt(t);if(arguments.length<2){var r=this.node();return e.local?r.getAttributeNS(e.space,e.local):r.getAttribute(e)}return this.each((null==n?e.local?v:y:"function"==typeof n?e.local?g:_:e.local?m:d)(e,n))},Ht=function(t){return t.ownerDocument&&t.ownerDocument.defaultView||t.document&&t||t.defaultView},zt=function(t,n,e){return arguments.length>1?this.each((null==n?w:"function"==typeof n?A:x)(t,n,null==e?"":e)):b(this.node(),t)},Bt=function(t,n){return arguments.length>1?this.each((null==n?S:"function"==typeof n?N:E)(t,n)):this.node()[t]};L.prototype={add:function(t){this._names.indexOf(t)<0&&(this._names.push(t),this._node.setAttribute("class",this._names.join(" ")))},remove:function(t){var n=this._names.indexOf(t);n>=0&&(this._names.splice(n,1),this._node.setAttribute("class",this._names.join(" ")))},contains:function(t){return this._names.indexOf(t)>=0}};var Ot=function(t,n){var e=T(t+"");if(arguments.length<2){for(var r=C(this.node()),i=-1,o=e.length;++i<o;)if(!r.contains(e[i]))return!1;return!0}return this.each(("function"==typeof n?z:n?P:H)(e,n))},kt=function(t){return arguments.length?this.each(null==t?B:("function"==typeof t?k:O)(t)):this.node().textContent},qt=function(t){return arguments.length?this.each(null==t?q:("function"==typeof t?V:D)(t)):this.node().innerHTML},Dt=function(){return this.each(W)},Vt=function(){return this.each(I)},Wt=function(t){var n="function"==typeof t?t:it(t);return this.select(function(){return this.appendChild(n.apply(this,arguments))})},It=function(t,n){var e="function"==typeof t?t:it(t),r=null==n?R:"function"==typeof n?n:ht(n);return this.select(function(){return this.insertBefore(e.apply(this,arguments),r.apply(this,arguments)||null)})},Rt=function(){return this.each(U)},Ut=function(t){return arguments.length?this.property("__data__",t):this.node().__data__},jt=function(t,n){return this.each(("function"==typeof n?X:G)(t,n))},Gt=[null];F.prototype=J.prototype={constructor:F,select:pt,selectAll:vt,filter:dt,data:xt,enter:_t,exit:At,merge:bt,order:St,sort:Et,call:Nt,nodes:Tt,node:Ct,size:Lt,empty:Mt,each:$t,attr:Pt,style:zt,property:Bt,classed:Ot,text:kt,html:qt,raise:Dt,lower:Vt,append:Wt,insert:It,remove:Rt,datum:Ut,on:ft,dispatch:jt};var Xt=function(t){return"string"==typeof t?new F([[document.querySelector(t)]],[document.documentElement]):new F([[t]],Gt)};K.prototype=Q.prototype={constructor:K,has:function(t){return"$"+t in this},get:function(t){return this["$"+t]},set:function(t,n){return this["$"+t]=n,this},remove:function(t){var n="$"+t;return n in this&&delete this[n]},clear:function(){for(var t in this)"$"===t[0]&&delete this[t]},keys:function(){var t=[];for(var n in this)"$"===n[0]&&t.push(n.slice(1));return t},values:function(){var t=[];for(var n in this)"$"===n[0]&&t.push(this[n]);return t},entries:function(){var t=[];for(var n in this)"$"===n[0]&&t.push({key:n.slice(1),value:this[n]});return t},size:function(){var t=0;for(var n in this)"$"===n[0]&&++t;return t},empty:function(){for(var t in this)if("$"===t[0])return!1;return!0},each:function(t){for(var n in this)"$"===n[0]&&t(this[n],n.slice(1),this)}};var Ft=Q.prototype;Y.prototype=Z.prototype={constructor:Y,has:Ft.has,add:function(t){return t+="",this["$"+t]=t,this},remove:Ft.remove,clear:Ft.clear,values:Ft.keys,size:Ft.size,empty:Ft.empty,each:Ft.each},t.tip=tt,Object.defineProperty(t,"__esModule",{value:!0})});
//# sourceMappingURL=api-vendor.min.js.map

@@ -1,6 +0,2 @@

(function (global, factory) {
typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports, require('@hpcc-js/common'), require('@hpcc-js/loader-vendor'), require('@hpcc-js/common-vendor'), require('@hpcc-js/api-vendor')) :
typeof define === 'function' && define.amd ? define(['exports', '@hpcc-js/common', '@hpcc-js/loader-vendor', '@hpcc-js/common-vendor', '@hpcc-js/api-vendor'], factory) :
(factory((global._hpccJs_api = global._hpccJs_api || {}),global._hpccJs_common,global.tslib_1,global._hpccJs_commonVendor,global._tip));
}(this, (function (exports,_hpccJs_common,tslib_1,_hpccJs_commonVendor,_tip) { 'use strict';
define(['exports', '@hpcc-js/common', '@hpcc-js/common-vendor', '@hpcc-js/api-vendor'], function (exports, _hpccJs_common, tslib_1, _tip) { 'use strict';

@@ -149,3 +145,3 @@ function __$styleInject(css, returnValue) {

var _this = _super.call(this) || this;
_this._valueFormatter = _hpccJs_commonVendor.format(_this.tooltipValueFormat());
_this._valueFormatter = tslib_1.format(_this.tooltipValueFormat());
if (_this.layerEnter) {

@@ -251,3 +247,3 @@ var layerEnter_1 = _this.layerEnter;

if (arguments.length) {
this._valueFormatter = _hpccJs_commonVendor.format(_);
this._valueFormatter = tslib_1.format(_);
}

@@ -281,3 +277,3 @@ return retVal;

})));
});
//# sourceMappingURL=api.js.map

@@ -1,2 +0,2 @@

!function(t,o){"object"==typeof exports&&"undefined"!=typeof module?o(exports,require("@hpcc-js/common"),require("@hpcc-js/loader-vendor"),require("@hpcc-js/common-vendor"),require("@hpcc-js/api-vendor")):"function"==typeof define&&define.amd?define(["exports","@hpcc-js/common","@hpcc-js/loader-vendor","@hpcc-js/common-vendor","@hpcc-js/api-vendor"],o):o(t._hpccJs_api=t._hpccJs_api||{},t._hpccJs_common,t.tslib_1,t._hpccJs_commonVendor,t._tip)}(this,function(t,o,e,n,r){"use strict";function i(){}function l(){}function p(){}function a(){}var c=r.default;i.prototype._palette=o.Palette.rainbow("default"),i.prototype.click=function(t,o,e){console.log("Click: "+JSON.stringify(t)+", "+o+", "+e)},i.prototype.dblclick=function(t,o,e){console.log("Double click: "+JSON.stringify(t)+", "+o+", "+e)},l.prototype._palette=o.Palette.ordinal("default"),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)},p.prototype.vertex_click=function(t,o,e,n){n&&n.vertex&&console.log("Vertex click: "+n.vertex.id())},p.prototype.vertex_dblclick=function(t,o,e,n){n&&n.vertex&&console.log("Vertex double click: "+n.vertex.id())},p.prototype.edge_click=function(t,o,e,n){n&&n.edge&&console.log("Edge click: "+n.edge.id())},p.prototype.edge_dblclick=function(t,o,e,n){n&&n.edge&&console.log("Edge double click: "+n.edge.id())};var s=function(t){function o(){return t.call(this)||this}return e.__extends(o,t),o.prototype.isValid=function(){return!(this.validate()&&!new RegExp(this.validate()).test(this.value()))},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.click=function(t){},o.prototype.dblclick=function(t){},o.prototype.change=function(t){},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}(o.Widget);s.prototype.publish("name","","string","HTML name for the input"),s.prototype.publish("label","","string","Descriptive label"),s.prototype.publish("value","","string","Input Current Value"),s.prototype.publish("validate",null,"string","Input Validation"),a.prototype._palette=o.Palette.ordinal("default"),a.prototype.click=function(t,o,e){console.log("Click: "+JSON.stringify(t)+", "+o+", "+e)},a.prototype.dblclick=function(t,o,e){console.log("Double click: "+JSON.stringify(t)+", "+o+", "+e)},function(t,o){if("undefined"==typeof document)return o;t=t||"";var e=document.head||document.getElementsByTagName("head")[0],n=document.createElement("style");n.type="text/css",n.styleSheet?n.styleSheet.cssText=t:n.appendChild(document.createTextNode(t)),e.appendChild(n)}('.d3-tip {\r\n line-height: 1;\r\n font-weight: bold;\r\n padding: 12px;\r\n background: rgba(0, 0, 0, 0.66);\r\n color: #fff;\r\n border-radius: 2px;\r\n pointer-events: none !important;\r\n z-index:10;\r\n}\r\n\r\n.d3-tip.hidden {\r\n visibility:hidden;\r\n}\r\n\r\n/* Creates a small triangle extender for the tooltip */\r\n.d3-tip:after {\r\n box-sizing: border-box;\r\n display: inline;\r\n font-size: 10px;\r\n width: 100%;\r\n line-height: 1;\r\n color: rgba(0, 0, 0, 0.66);\r\n position: absolute;\r\n pointer-events: none !important;\r\n}\r\n\r\n/* Northward tooltips */\r\n.d3-tip.n:after {\r\n content: "\\25BC";\r\n margin: -1px 0 0 0;\r\n top: 100%;\r\n left: 0;\r\n text-align: center;\r\n}\r\n\r\n/* Eastward tooltips */\r\n.d3-tip.e:after {\r\n content: "\\25C0";\r\n margin: -4px 0 0 0;\r\n top: 50%;\r\n left: -8px;\r\n}\r\n\r\n/* Southward tooltips */\r\n.d3-tip.s:after {\r\n content: "\\25B2";\r\n margin: 0 0 1px 0;\r\n top: -8px;\r\n left: 0;\r\n text-align: center;\r\n}\r\n\r\n/* Westward tooltips */\r\n.d3-tip.w:after {\r\n content: "\\25B6";\r\n margin: -4px 0 0 -1px;\r\n top: 50%;\r\n left: 100%;\r\n}\r\n\r\n.d3-tip.notick:after {\r\n content: "" !important;\r\n}\r\n\r\n.common_Widget .over {\r\n stroke: rgba(0, 0, 0, 0.66);\r\n opacity: 0.66;\r\n}\r\n',void 0);var u=r.tip||c||r,d=function(t){function o(){var o=t.call(this)||this;if(o._valueFormatter=n.format(o.tooltipValueFormat()),o.layerEnter){var e=o.layerEnter;o.layerEnter=function(t,o,n){this.tooltipEnter(o),e.apply(this,arguments)};var r=o.layerUpdate;o.layerUpdate=function(t){r.apply(this,arguments),this.tooltipUpdate()};var i=o.layerExit;o.layerExit=function(t){i.apply(this,arguments),this.tooltipExit()}}else{var l=o.enter;o.enter=function(t,o){this.tooltipEnter(o),l.apply(this,arguments)};var p=o.update;o.update=function(t,o){p.apply(this,arguments),this.tooltipUpdate()};var a=o.exit;o.exit=function(t,o){a.apply(this,arguments),this.tooltipExit()}}return o}return e.__extends(o,t),o.prototype.tooltipEnter=function(t){var o=this;this.tooltip=u().attr("class","d3-tip").offset(function(){switch(o.tooltip.direction()()){case"e":return[0,o.tooltipOffset()];default:return[-o.tooltipOffset(),0]}}),t.call(this.tooltip)},o.prototype.tooltipUpdate=function(){var t=this.tooltip.attr("class");t=t.split(" notick").join("")+(this.tooltipTick()?"":" notick")+("none"===this.tooltipStyle()?" hidden":""),this.tooltip.attr("class",t)},o.prototype.tooltipExit=function(){this.tooltip&&this.tooltip.destroy()},o.prototype._tooltipHTML=function(t){return t},o.prototype.tooltipHTML=function(t){return this.tooltip.html(t)},o.prototype.tooltipFormat=function(t){switch(t=t||{},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;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>":"<span style='color:"+this.tooltipLabelColor()+"'>"+t.label+"</span>: <span style='color:"+this.tooltipValueColor()+"'>"+t.value+"</span>"}},o}(o.Widget);d.prototype.publish("tooltipStyle","default","set","Style",["default","none"],{}),d.prototype.publish("tooltipValueFormat",",.2f","string","Value Format",null,{}),d.prototype.publish("tooltipSeriesColor","#EAFFFF","html-color","Series Color",null,{}),d.prototype.publish("tooltipLabelColor","#CCFFFF","html-color","Label Color",null,{}),d.prototype.publish("tooltipValueColor","white","html-color","Value Color",null,{}),d.prototype.publish("tooltipTick",!0,"boolean","Show tooltip tick",null,{}),d.prototype.publish("tooltipOffset",8,"number","Offset from the cursor",null,{});var f=d.prototype.tooltipValueFormat;d.prototype.tooltipValueFormat=function(t){var o=f.apply(this,arguments);return arguments.length&&(this._valueFormatter=n.format(t)),o};var h=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}();h.prototype._palette=o.Palette.ordinal("default"),t.I1DChart=i,t.I2DChart=l,t.IGraph=p,t.IInput=s,t.INDChart=a,t.ITooltip=d,t.ITree=h,Object.defineProperty(t,"__esModule",{value:!0})});
define(["exports","@hpcc-js/common","@hpcc-js/common-vendor","@hpcc-js/api-vendor"],function(t,o,e,n){"use strict";function i(){}function r(){}function l(){}function p(){}var a=n.default;i.prototype._palette=o.Palette.rainbow("default"),i.prototype.click=function(t,o,e){console.log("Click: "+JSON.stringify(t)+", "+o+", "+e)},i.prototype.dblclick=function(t,o,e){console.log("Double click: "+JSON.stringify(t)+", "+o+", "+e)},r.prototype._palette=o.Palette.ordinal("default"),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.vertex_click=function(t,o,e,n){n&&n.vertex&&console.log("Vertex click: "+n.vertex.id())},l.prototype.vertex_dblclick=function(t,o,e,n){n&&n.vertex&&console.log("Vertex double click: "+n.vertex.id())},l.prototype.edge_click=function(t,o,e,n){n&&n.edge&&console.log("Edge click: "+n.edge.id())},l.prototype.edge_dblclick=function(t,o,e,n){n&&n.edge&&console.log("Edge double click: "+n.edge.id())};var s=function(t){function o(){return t.call(this)||this}return e.__extends(o,t),o.prototype.isValid=function(){return!(this.validate()&&!new RegExp(this.validate()).test(this.value()))},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.click=function(t){},o.prototype.dblclick=function(t){},o.prototype.change=function(t){},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}(o.Widget);s.prototype.publish("name","","string","HTML name for the input"),s.prototype.publish("label","","string","Descriptive label"),s.prototype.publish("value","","string","Input Current Value"),s.prototype.publish("validate",null,"string","Input Validation"),p.prototype._palette=o.Palette.ordinal("default"),p.prototype.click=function(t,o,e){console.log("Click: "+JSON.stringify(t)+", "+o+", "+e)},p.prototype.dblclick=function(t,o,e){console.log("Double click: "+JSON.stringify(t)+", "+o+", "+e)},function(t,o){if("undefined"==typeof document)return o;t=t||"";var e=document.head||document.getElementsByTagName("head")[0],n=document.createElement("style");n.type="text/css",n.styleSheet?n.styleSheet.cssText=t:n.appendChild(document.createTextNode(t)),e.appendChild(n)}('.d3-tip {\r\n line-height: 1;\r\n font-weight: bold;\r\n padding: 12px;\r\n background: rgba(0, 0, 0, 0.66);\r\n color: #fff;\r\n border-radius: 2px;\r\n pointer-events: none !important;\r\n z-index:10;\r\n}\r\n\r\n.d3-tip.hidden {\r\n visibility:hidden;\r\n}\r\n\r\n/* Creates a small triangle extender for the tooltip */\r\n.d3-tip:after {\r\n box-sizing: border-box;\r\n display: inline;\r\n font-size: 10px;\r\n width: 100%;\r\n line-height: 1;\r\n color: rgba(0, 0, 0, 0.66);\r\n position: absolute;\r\n pointer-events: none !important;\r\n}\r\n\r\n/* Northward tooltips */\r\n.d3-tip.n:after {\r\n content: "\\25BC";\r\n margin: -1px 0 0 0;\r\n top: 100%;\r\n left: 0;\r\n text-align: center;\r\n}\r\n\r\n/* Eastward tooltips */\r\n.d3-tip.e:after {\r\n content: "\\25C0";\r\n margin: -4px 0 0 0;\r\n top: 50%;\r\n left: -8px;\r\n}\r\n\r\n/* Southward tooltips */\r\n.d3-tip.s:after {\r\n content: "\\25B2";\r\n margin: 0 0 1px 0;\r\n top: -8px;\r\n left: 0;\r\n text-align: center;\r\n}\r\n\r\n/* Westward tooltips */\r\n.d3-tip.w:after {\r\n content: "\\25B6";\r\n margin: -4px 0 0 -1px;\r\n top: 50%;\r\n left: 100%;\r\n}\r\n\r\n.d3-tip.notick:after {\r\n content: "" !important;\r\n}\r\n\r\n.common_Widget .over {\r\n stroke: rgba(0, 0, 0, 0.66);\r\n opacity: 0.66;\r\n}\r\n',void 0);var c=n.tip||a||n,u=function(t){function o(){var o=t.call(this)||this;if(o._valueFormatter=e.format(o.tooltipValueFormat()),o.layerEnter){var n=o.layerEnter;o.layerEnter=function(t,o,e){this.tooltipEnter(o),n.apply(this,arguments)};var i=o.layerUpdate;o.layerUpdate=function(t){i.apply(this,arguments),this.tooltipUpdate()};var r=o.layerExit;o.layerExit=function(t){r.apply(this,arguments),this.tooltipExit()}}else{var l=o.enter;o.enter=function(t,o){this.tooltipEnter(o),l.apply(this,arguments)};var p=o.update;o.update=function(t,o){p.apply(this,arguments),this.tooltipUpdate()};var a=o.exit;o.exit=function(t,o){a.apply(this,arguments),this.tooltipExit()}}return o}return e.__extends(o,t),o.prototype.tooltipEnter=function(t){var o=this;this.tooltip=c().attr("class","d3-tip").offset(function(){switch(o.tooltip.direction()()){case"e":return[0,o.tooltipOffset()];default:return[-o.tooltipOffset(),0]}}),t.call(this.tooltip)},o.prototype.tooltipUpdate=function(){var t=this.tooltip.attr("class");t=t.split(" notick").join("")+(this.tooltipTick()?"":" notick")+("none"===this.tooltipStyle()?" hidden":""),this.tooltip.attr("class",t)},o.prototype.tooltipExit=function(){this.tooltip&&this.tooltip.destroy()},o.prototype._tooltipHTML=function(t){return t},o.prototype.tooltipHTML=function(t){return this.tooltip.html(t)},o.prototype.tooltipFormat=function(t){switch(t=t||{},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;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>":"<span style='color:"+this.tooltipLabelColor()+"'>"+t.label+"</span>: <span style='color:"+this.tooltipValueColor()+"'>"+t.value+"</span>"}},o}(o.Widget);u.prototype.publish("tooltipStyle","default","set","Style",["default","none"],{}),u.prototype.publish("tooltipValueFormat",",.2f","string","Value Format",null,{}),u.prototype.publish("tooltipSeriesColor","#EAFFFF","html-color","Series Color",null,{}),u.prototype.publish("tooltipLabelColor","#CCFFFF","html-color","Label Color",null,{}),u.prototype.publish("tooltipValueColor","white","html-color","Value Color",null,{}),u.prototype.publish("tooltipTick",!0,"boolean","Show tooltip tick",null,{}),u.prototype.publish("tooltipOffset",8,"number","Offset from the cursor",null,{});var d=u.prototype.tooltipValueFormat;u.prototype.tooltipValueFormat=function(t){var o=d.apply(this,arguments);return arguments.length&&(this._valueFormatter=e.format(t)),o};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.I1DChart=i,t.I2DChart=r,t.IGraph=l,t.IInput=s,t.INDChart=p,t.ITooltip=u,t.ITree=f,Object.defineProperty(t,"__esModule",{value:!0})});
//# sourceMappingURL=api.min.js.map
{
"name": "@hpcc-js/api",
"version": "0.0.19",
"version": "0.0.21",
"description": "hpcc-js - Viz api",

@@ -19,3 +19,3 @@ "main": "lib/index.js",

"dependencies": {
"@hpcc-js/common": "^0.0.18",
"@hpcc-js/common": "^0.0.20",
"d3-format": "^1.2.0",

@@ -22,0 +22,0 @@ "d3-tip": "GordonSmith/d3-tip#vJSNEXT",

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

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc