@hpcc-js/react
Advanced tools
Comparing version 2.9.14 to 2.9.15
@@ -6,2 +6,62 @@ # Change Log | ||
## [2.9.15](https://github.com/hpcc-systems/Visualization/compare/@hpcc-js/react@2.9.4...@hpcc-js/react@2.9.15) (2020-05-20) | ||
## 2.15.20 (2020-05-20) | ||
## 2.15.19 (2020-05-19) | ||
## 2.15.18 (2020-05-15) | ||
## 2.15.17 (2020-05-15) | ||
## 2.15.16 (2020-05-14) | ||
## 2.15.15 (2020-05-12) | ||
## 2.15.14 (2020-05-07) | ||
## 2.15.13 (2020-04-24) | ||
## 2.15.12 (2020-04-22) | ||
## 2.15.11 (2020-04-21) | ||
## 2.15.10 (2020-04-21) | ||
## 2.15.9 (2020-04-17) | ||
## 2.15.7 (2020-04-11) | ||
**Note:** Version bump only for package @hpcc-js/react | ||
## [2.9.14](https://github.com/hpcc-systems/Visualization/compare/@hpcc-js/react@2.9.4...@hpcc-js/react@2.9.14) (2020-05-19) | ||
@@ -8,0 +68,0 @@ |
import { Utility, Palette, publish, HTMLWidget, SVGWidget } from '@hpcc-js/common'; | ||
var PKG_NAME = "@hpcc-js/react"; | ||
var PKG_VERSION = "2.9.14"; | ||
var BUILD_VERSION = "2.15.19"; | ||
var PKG_VERSION = "2.9.15"; | ||
var BUILD_VERSION = "2.15.21"; | ||
var PKG_NAME$1 = "@hpcc-js/preact-shim"; | ||
var PKG_VERSION$1 = "2.13.7"; | ||
var BUILD_VERSION$1 = "2.15.19"; | ||
var PKG_VERSION$1 = "2.13.8"; | ||
var BUILD_VERSION$1 = "2.15.21"; | ||
@@ -11,0 +11,0 @@ var n,u,i,t,o,f,r={},e=[],c=/acit|ex(?:s|g|n|p|$)|rph|grid|ows|mnc|ntw|ine[ch]|zoo|^ord/i;function s(n,l){for(var u in l)n[u]=l[u];return n}function a(n){var l=n.parentNode;l&&l.removeChild(n);}function h(n,l,u){var i,t=arguments,o={};for(i in l)"key"!==i&&"ref"!==i&&(o[i]=l[i]);if(arguments.length>3)for(u=[u],i=3;i<arguments.length;i++)u.push(t[i]);if(null!=u&&(o.children=u),"function"==typeof n&&null!=n.defaultProps)for(i in n.defaultProps)void 0===o[i]&&(o[i]=n.defaultProps[i]);return v(n,o,l&&l.key,l&&l.ref)}function v(l,u,i,t){var o={type:l,props:u,key:i,ref:t,__k:null,__:null,__b:0,__e:null,__d:null,__c:null,constructor:void 0};return n.vnode&&n.vnode(o),o}function y(n){return n.children}function d(n,l){this.props=n,this.context=l;}function m(n,l){if(null==l)return n.__?m(n.__,n.__.__k.indexOf(n)+1):null;for(var u;l<n.__k.length;l++)if(null!=(u=n.__k[l])&&null!=u.__e)return u.__e;return "function"==typeof n.type?m(n):null}function w(n){var l,u;if(null!=(n=n.__)&&null!=n.__c){for(n.__e=n.__c.base=null,l=0;l<n.__k.length;l++)if(null!=(u=n.__k[l])&&null!=u.__e){n.__e=n.__c.base=u.__e;break}return w(n)}}function g(l){(!l.__d&&(l.__d=!0)&&1===u.push(l)||t!==n.debounceRendering)&&((t=n.debounceRendering)||i)(k);}function k(){var n,l,i,t,o,f,r;for(u.sort(function(n,l){return l.__v.__b-n.__v.__b});n=u.pop();)n.__d&&(i=void 0,t=void 0,f=(o=(l=n).__v).__e,(r=l.__P)&&(i=[],t=T(r,o,s({},o),l.__n,void 0!==r.ownerSVGElement,null,i,null==f?m(o):f),$(i,o),t!=f&&w(o)));}function _(n,l,u,i,t,o,f,c,s){var h,v,p,y,d,w,g,k=u&&u.__k||e,_=k.length;if(c==r&&(c=null!=o?o[0]:_?m(u,0):null),h=0,l.__k=b(l.__k,function(u){if(null!=u){if(u.__=l,u.__b=l.__b+1,null===(p=k[h])||p&&u.key==p.key&&u.type===p.type)k[h]=void 0;else for(v=0;v<_;v++){if((p=k[v])&&u.key==p.key&&u.type===p.type){k[v]=void 0;break}p=null;}if(y=T(n,u,p=p||r,i,t,o,f,c,s),(v=u.ref)&&p.ref!=v&&(g||(g=[]),p.ref&&g.push(p.ref,null,u),g.push(v,u.__c||y,u)),null!=y){if(null==w&&(w=y),null!=u.__d)y=u.__d,u.__d=null;else if(o==p||y!=c||null==y.parentNode){n:if(null==c||c.parentNode!==n)n.appendChild(y);else{for(d=c,v=0;(d=d.nextSibling)&&v<_;v+=2)if(d==y)break n;n.insertBefore(y,c);}"option"==l.type&&(n.value="");}c=y.nextSibling,"function"==typeof l.type&&(l.__d=y);}}return h++,u}),l.__e=w,null!=o&&"function"!=typeof l.type)for(h=o.length;h--;)null!=o[h]&&a(o[h]);for(h=_;h--;)null!=k[h]&&A(k[h],k[h]);if(g)for(h=0;h<g.length;h++)z(g[h],g[++h],g[++h]);}function b(n,l,u){if(null==u&&(u=[]),null==n||"boolean"==typeof n)l&&u.push(l(null));else if(Array.isArray(n))for(var i=0;i<n.length;i++)b(n[i],l,u);else u.push(l?l("string"==typeof n||"number"==typeof n?v(null,n,null,null):null!=n.__e||null!=n.__c?v(n.type,n.props,n.key,null):n):n);return u}function x(n,l,u,i,t){var o;for(o in u)o in l||P(n,o,null,u[o],i);for(o in l)t&&"function"!=typeof l[o]||"value"===o||"checked"===o||u[o]===l[o]||P(n,o,l[o],u[o],i);}function C(n,l,u){"-"===l[0]?n.setProperty(l,u):n[l]="number"==typeof u&&!1===c.test(l)?u+"px":null==u?"":u;}function P(n,l,u,i,t){var o,f,r,e,c;if(t?"className"===l&&(l="class"):"class"===l&&(l="className"),"key"===l||"children"===l);else if("style"===l)if(o=n.style,"string"==typeof u)o.cssText=u;else{if("string"==typeof i&&(o.cssText="",i=null),i)for(f in i)u&&f in u||C(o,f,"");if(u)for(r in u)i&&u[r]===i[r]||C(o,r,u[r]);}else"o"===l[0]&&"n"===l[1]?(e=l!==(l=l.replace(/Capture$/,"")),c=l.toLowerCase(),l=(c in n?c:l).slice(2),u?(i||n.addEventListener(l,N,e),(n.l||(n.l={}))[l]=u):n.removeEventListener(l,N,e)):"list"!==l&&"tagName"!==l&&"form"!==l&&"type"!==l&&!t&&l in n?n[l]=null==u?"":u:"function"!=typeof u&&"dangerouslySetInnerHTML"!==l&&(l!==(l=l.replace(/^xlink:?/,""))?null==u||!1===u?n.removeAttributeNS("http://www.w3.org/1999/xlink",l.toLowerCase()):n.setAttributeNS("http://www.w3.org/1999/xlink",l.toLowerCase(),u):null==u||!1===u?n.removeAttribute(l):n.setAttribute(l,u));}function N(l){this.l[l.type](n.event?n.event(l):l);}function T(l,u,i,t,o,f,r,e,c){var a,h,v,p,m,w,g,k,x,C,P=u.type;if(void 0!==u.constructor)return null;(a=n.__b)&&a(u);try{n:if("function"==typeof P){if(k=u.props,x=(a=P.contextType)&&t[a.__c],C=a?x?x.props.value:a.__:t,i.__c?g=(h=u.__c=i.__c).__=h.__E:("prototype"in P&&P.prototype.render?u.__c=h=new P(k,C):(u.__c=h=new d(k,C),h.constructor=P,h.render=D),x&&x.sub(h),h.props=k,h.state||(h.state={}),h.context=C,h.__n=t,v=h.__d=!0,h.__h=[]),null==h.__s&&(h.__s=h.state),null!=P.getDerivedStateFromProps&&(h.__s==h.state&&(h.__s=s({},h.__s)),s(h.__s,P.getDerivedStateFromProps(k,h.__s))),p=h.props,m=h.state,v)null==P.getDerivedStateFromProps&&null!=h.componentWillMount&&h.componentWillMount(),null!=h.componentDidMount&&h.__h.push(h.componentDidMount);else{if(null==P.getDerivedStateFromProps&&k!==p&&null!=h.componentWillReceiveProps&&h.componentWillReceiveProps(k,C),!h.__e&&null!=h.shouldComponentUpdate&&!1===h.shouldComponentUpdate(k,h.__s,C)){for(h.props=k,h.state=h.__s,h.__d=!1,h.__v=u,u.__e=i.__e,u.__k=i.__k,h.__h.length&&r.push(h),a=0;a<u.__k.length;a++)u.__k[a]&&(u.__k[a].__=u);break n}null!=h.componentWillUpdate&&h.componentWillUpdate(k,h.__s,C),null!=h.componentDidUpdate&&h.__h.push(function(){h.componentDidUpdate(p,m,w);});}h.context=C,h.props=k,h.state=h.__s,(a=n.__r)&&a(u),h.__d=!1,h.__v=u,h.__P=l,a=h.render(h.props,h.state,h.context),u.__k=b(null!=a&&a.type==y&&null==a.key?a.props.children:a),null!=h.getChildContext&&(t=s(s({},t),h.getChildContext())),v||null==h.getSnapshotBeforeUpdate||(w=h.getSnapshotBeforeUpdate(p,m)),_(l,u,i,t,o,f,r,e,c),h.base=u.__e,h.__h.length&&r.push(h),g&&(h.__E=h.__=null),h.__e=null;}else u.__e=j(i.__e,u,i,t,o,f,r,c);(a=n.diffed)&&a(u);}catch(l){n.__e(l,u,i);}return u.__e}function $(l,u){n.__c&&n.__c(u,l),l.some(function(u){try{l=u.__h,u.__h=[],l.some(function(n){n.call(u);});}catch(l){n.__e(l,u.__v);}});}function j(n,l,u,i,t,o,f,c){var s,a,h,v,p,y=u.props,d=l.props;if(t="svg"===l.type||t,null==n&&null!=o)for(s=0;s<o.length;s++)if(null!=(a=o[s])&&(null===l.type?3===a.nodeType:a.localName===l.type)){n=a,o[s]=null;break}if(null==n){if(null===l.type)return document.createTextNode(d);n=t?document.createElementNS("http://www.w3.org/2000/svg",l.type):document.createElement(l.type),o=null;}if(null===l.type)null!=o&&(o[o.indexOf(n)]=null),y!==d&&(n.data=d);else if(l!==u){if(null!=o&&(o=e.slice.call(n.childNodes)),h=(y=u.props||r).dangerouslySetInnerHTML,v=d.dangerouslySetInnerHTML,!c){if(y===r)for(y={},p=0;p<n.attributes.length;p++)y[n.attributes[p].name]=n.attributes[p].value;(v||h)&&(v&&h&&v.__html==h.__html||(n.innerHTML=v&&v.__html||""));}x(n,d,y,t,c),l.__k=l.props.children,v||_(n,l,u,i,"foreignObject"!==l.type&&t,o,f,r,c),c||("value"in d&&void 0!==d.value&&d.value!==n.value&&(n.value=null==d.value?"":d.value),"checked"in d&&void 0!==d.checked&&d.checked!==n.checked&&(n.checked=d.checked));}return n}function z(l,u,i){try{"function"==typeof l?l(u):l.current=u;}catch(l){n.__e(l,i);}}function A(l,u,i){var t,o,f;if(n.unmount&&n.unmount(l),(t=l.ref)&&z(t,null,u),i||"function"==typeof l.type||(i=null!=(o=l.__e)),l.__e=l.__d=null,null!=(t=l.__c)){if(t.componentWillUnmount)try{t.componentWillUnmount();}catch(l){n.__e(l,u);}t.base=t.__P=null;}if(t=l.__k)for(f=0;f<t.length;f++)t[f]&&A(t[f],u,i);null!=o&&a(o);}function D(n,l,u){return this.constructor(n,u)}function E(l,u,i){var t,f,c;n.__&&n.__(l,u),f=(t=i===o)?null:i&&i.__k||u.__k,l=h(y,null,[l]),c=[],T(u,(t?u:i||u).__k=l,f||r,r,void 0!==u.ownerSVGElement,i&&!t?[i]:f?null:e.slice.call(u.childNodes),c,i||r,t),$(c,l);}n={__e:function(n,l){for(var u;l=l.__;)if((u=l.__c)&&!u.__)try{if(u.constructor&&null!=u.constructor.getDerivedStateFromError)u.setState(u.constructor.getDerivedStateFromError(n));else{if(null==u.componentDidCatch)continue;u.componentDidCatch(n);}return g(u.__E=u)}catch(l){n=l;}throw n}},d.prototype.setState=function(n,l){var u;u=this.__s!==this.state?this.__s:this.__s=s({},this.state),"function"==typeof n&&(n=n(u,this.props)),n&&s(u,n),null!=n&&this.__v&&(this.__e=!1,l&&this.__h.push(l),g(this));},d.prototype.forceUpdate=function(n){this.__v&&(this.__e=!0,n&&this.__h.push(n),g(this));},d.prototype.render=y,u=[],i="function"==typeof Promise?Promise.prototype.then.bind(Promise.resolve()):setTimeout,o=r,f=0; |
@@ -8,8 +8,8 @@ (function (global, factory) { | ||
var PKG_NAME = "@hpcc-js/react"; | ||
var PKG_VERSION = "2.9.14"; | ||
var BUILD_VERSION = "2.15.19"; | ||
var PKG_VERSION = "2.9.15"; | ||
var BUILD_VERSION = "2.15.21"; | ||
var PKG_NAME$1 = "@hpcc-js/preact-shim"; | ||
var PKG_VERSION$1 = "2.13.7"; | ||
var BUILD_VERSION$1 = "2.15.19"; | ||
var PKG_VERSION$1 = "2.13.8"; | ||
var BUILD_VERSION$1 = "2.15.21"; | ||
@@ -16,0 +16,0 @@ var n,u,i,t,o,f,r={},e=[],c=/acit|ex(?:s|g|n|p|$)|rph|grid|ows|mnc|ntw|ine[ch]|zoo|^ord/i;function s(n,l){for(var u in l)n[u]=l[u];return n}function a(n){var l=n.parentNode;l&&l.removeChild(n);}function h(n,l,u){var i,t=arguments,o={};for(i in l)"key"!==i&&"ref"!==i&&(o[i]=l[i]);if(arguments.length>3)for(u=[u],i=3;i<arguments.length;i++)u.push(t[i]);if(null!=u&&(o.children=u),"function"==typeof n&&null!=n.defaultProps)for(i in n.defaultProps)void 0===o[i]&&(o[i]=n.defaultProps[i]);return v(n,o,l&&l.key,l&&l.ref)}function v(l,u,i,t){var o={type:l,props:u,key:i,ref:t,__k:null,__:null,__b:0,__e:null,__d:null,__c:null,constructor:void 0};return n.vnode&&n.vnode(o),o}function y(n){return n.children}function d(n,l){this.props=n,this.context=l;}function m(n,l){if(null==l)return n.__?m(n.__,n.__.__k.indexOf(n)+1):null;for(var u;l<n.__k.length;l++)if(null!=(u=n.__k[l])&&null!=u.__e)return u.__e;return "function"==typeof n.type?m(n):null}function w(n){var l,u;if(null!=(n=n.__)&&null!=n.__c){for(n.__e=n.__c.base=null,l=0;l<n.__k.length;l++)if(null!=(u=n.__k[l])&&null!=u.__e){n.__e=n.__c.base=u.__e;break}return w(n)}}function g(l){(!l.__d&&(l.__d=!0)&&1===u.push(l)||t!==n.debounceRendering)&&((t=n.debounceRendering)||i)(k);}function k(){var n,l,i,t,o,f,r;for(u.sort(function(n,l){return l.__v.__b-n.__v.__b});n=u.pop();)n.__d&&(i=void 0,t=void 0,f=(o=(l=n).__v).__e,(r=l.__P)&&(i=[],t=T(r,o,s({},o),l.__n,void 0!==r.ownerSVGElement,null,i,null==f?m(o):f),$(i,o),t!=f&&w(o)));}function _(n,l,u,i,t,o,f,c,s){var h,v,p,y,d,w,g,k=u&&u.__k||e,_=k.length;if(c==r&&(c=null!=o?o[0]:_?m(u,0):null),h=0,l.__k=b(l.__k,function(u){if(null!=u){if(u.__=l,u.__b=l.__b+1,null===(p=k[h])||p&&u.key==p.key&&u.type===p.type)k[h]=void 0;else for(v=0;v<_;v++){if((p=k[v])&&u.key==p.key&&u.type===p.type){k[v]=void 0;break}p=null;}if(y=T(n,u,p=p||r,i,t,o,f,c,s),(v=u.ref)&&p.ref!=v&&(g||(g=[]),p.ref&&g.push(p.ref,null,u),g.push(v,u.__c||y,u)),null!=y){if(null==w&&(w=y),null!=u.__d)y=u.__d,u.__d=null;else if(o==p||y!=c||null==y.parentNode){n:if(null==c||c.parentNode!==n)n.appendChild(y);else{for(d=c,v=0;(d=d.nextSibling)&&v<_;v+=2)if(d==y)break n;n.insertBefore(y,c);}"option"==l.type&&(n.value="");}c=y.nextSibling,"function"==typeof l.type&&(l.__d=y);}}return h++,u}),l.__e=w,null!=o&&"function"!=typeof l.type)for(h=o.length;h--;)null!=o[h]&&a(o[h]);for(h=_;h--;)null!=k[h]&&A(k[h],k[h]);if(g)for(h=0;h<g.length;h++)z(g[h],g[++h],g[++h]);}function b(n,l,u){if(null==u&&(u=[]),null==n||"boolean"==typeof n)l&&u.push(l(null));else if(Array.isArray(n))for(var i=0;i<n.length;i++)b(n[i],l,u);else u.push(l?l("string"==typeof n||"number"==typeof n?v(null,n,null,null):null!=n.__e||null!=n.__c?v(n.type,n.props,n.key,null):n):n);return u}function x(n,l,u,i,t){var o;for(o in u)o in l||P(n,o,null,u[o],i);for(o in l)t&&"function"!=typeof l[o]||"value"===o||"checked"===o||u[o]===l[o]||P(n,o,l[o],u[o],i);}function C(n,l,u){"-"===l[0]?n.setProperty(l,u):n[l]="number"==typeof u&&!1===c.test(l)?u+"px":null==u?"":u;}function P(n,l,u,i,t){var o,f,r,e,c;if(t?"className"===l&&(l="class"):"class"===l&&(l="className"),"key"===l||"children"===l);else if("style"===l)if(o=n.style,"string"==typeof u)o.cssText=u;else{if("string"==typeof i&&(o.cssText="",i=null),i)for(f in i)u&&f in u||C(o,f,"");if(u)for(r in u)i&&u[r]===i[r]||C(o,r,u[r]);}else"o"===l[0]&&"n"===l[1]?(e=l!==(l=l.replace(/Capture$/,"")),c=l.toLowerCase(),l=(c in n?c:l).slice(2),u?(i||n.addEventListener(l,N,e),(n.l||(n.l={}))[l]=u):n.removeEventListener(l,N,e)):"list"!==l&&"tagName"!==l&&"form"!==l&&"type"!==l&&!t&&l in n?n[l]=null==u?"":u:"function"!=typeof u&&"dangerouslySetInnerHTML"!==l&&(l!==(l=l.replace(/^xlink:?/,""))?null==u||!1===u?n.removeAttributeNS("http://www.w3.org/1999/xlink",l.toLowerCase()):n.setAttributeNS("http://www.w3.org/1999/xlink",l.toLowerCase(),u):null==u||!1===u?n.removeAttribute(l):n.setAttribute(l,u));}function N(l){this.l[l.type](n.event?n.event(l):l);}function T(l,u,i,t,o,f,r,e,c){var a,h,v,p,m,w,g,k,x,C,P=u.type;if(void 0!==u.constructor)return null;(a=n.__b)&&a(u);try{n:if("function"==typeof P){if(k=u.props,x=(a=P.contextType)&&t[a.__c],C=a?x?x.props.value:a.__:t,i.__c?g=(h=u.__c=i.__c).__=h.__E:("prototype"in P&&P.prototype.render?u.__c=h=new P(k,C):(u.__c=h=new d(k,C),h.constructor=P,h.render=D),x&&x.sub(h),h.props=k,h.state||(h.state={}),h.context=C,h.__n=t,v=h.__d=!0,h.__h=[]),null==h.__s&&(h.__s=h.state),null!=P.getDerivedStateFromProps&&(h.__s==h.state&&(h.__s=s({},h.__s)),s(h.__s,P.getDerivedStateFromProps(k,h.__s))),p=h.props,m=h.state,v)null==P.getDerivedStateFromProps&&null!=h.componentWillMount&&h.componentWillMount(),null!=h.componentDidMount&&h.__h.push(h.componentDidMount);else{if(null==P.getDerivedStateFromProps&&k!==p&&null!=h.componentWillReceiveProps&&h.componentWillReceiveProps(k,C),!h.__e&&null!=h.shouldComponentUpdate&&!1===h.shouldComponentUpdate(k,h.__s,C)){for(h.props=k,h.state=h.__s,h.__d=!1,h.__v=u,u.__e=i.__e,u.__k=i.__k,h.__h.length&&r.push(h),a=0;a<u.__k.length;a++)u.__k[a]&&(u.__k[a].__=u);break n}null!=h.componentWillUpdate&&h.componentWillUpdate(k,h.__s,C),null!=h.componentDidUpdate&&h.__h.push(function(){h.componentDidUpdate(p,m,w);});}h.context=C,h.props=k,h.state=h.__s,(a=n.__r)&&a(u),h.__d=!1,h.__v=u,h.__P=l,a=h.render(h.props,h.state,h.context),u.__k=b(null!=a&&a.type==y&&null==a.key?a.props.children:a),null!=h.getChildContext&&(t=s(s({},t),h.getChildContext())),v||null==h.getSnapshotBeforeUpdate||(w=h.getSnapshotBeforeUpdate(p,m)),_(l,u,i,t,o,f,r,e,c),h.base=u.__e,h.__h.length&&r.push(h),g&&(h.__E=h.__=null),h.__e=null;}else u.__e=j(i.__e,u,i,t,o,f,r,c);(a=n.diffed)&&a(u);}catch(l){n.__e(l,u,i);}return u.__e}function $(l,u){n.__c&&n.__c(u,l),l.some(function(u){try{l=u.__h,u.__h=[],l.some(function(n){n.call(u);});}catch(l){n.__e(l,u.__v);}});}function j(n,l,u,i,t,o,f,c){var s,a,h,v,p,y=u.props,d=l.props;if(t="svg"===l.type||t,null==n&&null!=o)for(s=0;s<o.length;s++)if(null!=(a=o[s])&&(null===l.type?3===a.nodeType:a.localName===l.type)){n=a,o[s]=null;break}if(null==n){if(null===l.type)return document.createTextNode(d);n=t?document.createElementNS("http://www.w3.org/2000/svg",l.type):document.createElement(l.type),o=null;}if(null===l.type)null!=o&&(o[o.indexOf(n)]=null),y!==d&&(n.data=d);else if(l!==u){if(null!=o&&(o=e.slice.call(n.childNodes)),h=(y=u.props||r).dangerouslySetInnerHTML,v=d.dangerouslySetInnerHTML,!c){if(y===r)for(y={},p=0;p<n.attributes.length;p++)y[n.attributes[p].name]=n.attributes[p].value;(v||h)&&(v&&h&&v.__html==h.__html||(n.innerHTML=v&&v.__html||""));}x(n,d,y,t,c),l.__k=l.props.children,v||_(n,l,u,i,"foreignObject"!==l.type&&t,o,f,r,c),c||("value"in d&&void 0!==d.value&&d.value!==n.value&&(n.value=null==d.value?"":d.value),"checked"in d&&void 0!==d.checked&&d.checked!==n.checked&&(n.checked=d.checked));}return n}function z(l,u,i){try{"function"==typeof l?l(u):l.current=u;}catch(l){n.__e(l,i);}}function A(l,u,i){var t,o,f;if(n.unmount&&n.unmount(l),(t=l.ref)&&z(t,null,u),i||"function"==typeof l.type||(i=null!=(o=l.__e)),l.__e=l.__d=null,null!=(t=l.__c)){if(t.componentWillUnmount)try{t.componentWillUnmount();}catch(l){n.__e(l,u);}t.base=t.__P=null;}if(t=l.__k)for(f=0;f<t.length;f++)t[f]&&A(t[f],u,i);null!=o&&a(o);}function D(n,l,u){return this.constructor(n,u)}function E(l,u,i){var t,f,c;n.__&&n.__(l,u),f=(t=i===o)?null:i&&i.__k||u.__k,l=h(y,null,[l]),c=[],T(u,(t?u:i||u).__k=l,f||r,r,void 0!==u.ownerSVGElement,i&&!t?[i]:f?null:e.slice.call(u.childNodes),c,i||r,t),$(c,l);}n={__e:function(n,l){for(var u;l=l.__;)if((u=l.__c)&&!u.__)try{if(u.constructor&&null!=u.constructor.getDerivedStateFromError)u.setState(u.constructor.getDerivedStateFromError(n));else{if(null==u.componentDidCatch)continue;u.componentDidCatch(n);}return g(u.__E=u)}catch(l){n=l;}throw n}},d.prototype.setState=function(n,l){var u;u=this.__s!==this.state?this.__s:this.__s=s({},this.state),"function"==typeof n&&(n=n(u,this.props)),n&&s(u,n),null!=n&&this.__v&&(this.__e=!1,l&&this.__h.push(l),g(this));},d.prototype.forceUpdate=function(n){this.__v&&(this.__e=!0,n&&this.__h.push(n),g(this));},d.prototype.render=y,u=[],i="function"==typeof Promise?Promise.prototype.then.bind(Promise.resolve()):setTimeout,o=r,f=0; |
@@ -1,2 +0,2 @@ | ||
!function(t,e){"object"==typeof exports&&"undefined"!=typeof module?e(exports,require("@hpcc-js/common")):"function"==typeof define&&define.amd?define(["exports","@hpcc-js/common"],e):e((t=t||self)["@hpcc-js/react"]={},t["@hpcc-js/common"])}(this,function(t,e){"use strict";var n,i,o,r,s,l={},_=[],u=/acit|ex(?:s|g|n|p|$)|rph|grid|ows|mnc|ntw|ine[ch]|zoo|^ord/i;function h(t,e){for(var n in e)t[n]=e[n];return t}function a(t){var e=t.parentNode;e&&e.removeChild(t)}function c(t,e,n){var i,o=arguments,r={};for(i in e)"key"!==i&&"ref"!==i&&(r[i]=e[i]);if(arguments.length>3)for(n=[n],i=3;i<arguments.length;i++)n.push(o[i]);if(null!=n&&(r.children=n),"function"==typeof t&&null!=t.defaultProps)for(i in t.defaultProps)void 0===r[i]&&(r[i]=t.defaultProps[i]);return f(t,r,e&&e.key,e&&e.ref)}function f(t,e,i,o){var r={type:t,props:e,key:i,ref:o,__k:null,__:null,__b:0,__e:null,__d:null,__c:null,constructor:void 0};return n.vnode&&n.vnode(r),r}function p(t){return t.children}function d(t,e){this.props=t,this.context=e}function v(t,e){if(null==e)return t.__?v(t.__,t.__.__k.indexOf(t)+1):null;for(var n;e<t.__k.length;e++)if(null!=(n=t.__k[e])&&null!=n.__e)return n.__e;return"function"==typeof t.type?v(t):null}function y(t){var e,n;if(null!=(t=t.__)&&null!=t.__c){for(t.__e=t.__c.base=null,e=0;e<t.__k.length;e++)if(null!=(n=t.__k[e])&&null!=n.__e){t.__e=t.__c.base=n.__e;break}return y(t)}}function x(t){(!t.__d&&(t.__d=!0)&&1===i.push(t)||r!==n.debounceRendering)&&((r=n.debounceRendering)||o)(g)}function g(){var t,e,n,o,r,s,l;for(i.sort(function(t,e){return e.__v.__b-t.__v.__b});t=i.pop();)t.__d&&(n=void 0,o=void 0,s=(r=(e=t).__v).__e,(l=e.__P)&&(n=[],o=F(l,r,h({},r),e.__n,void 0!==l.ownerSVGElement,null,n,null==s?v(r):s),T(n,r),o!=s&&y(r)))}function m(t,e,n,i,o,r,s,u,h){var c,f,p,d,y,x,g,m=n&&n.__k||_,b=m.length;if(u==l&&(u=null!=r?r[0]:b?v(n,0):null),c=0,e.__k=k(e.__k,function(n){if(null!=n){if(n.__=e,n.__b=e.__b+1,null===(p=m[c])||p&&n.key==p.key&&n.type===p.type)m[c]=void 0;else for(f=0;f<b;f++){if((p=m[f])&&n.key==p.key&&n.type===p.type){m[f]=void 0;break}p=null}if(d=F(t,n,p=p||l,i,o,r,s,u,h),(f=n.ref)&&p.ref!=f&&(g||(g=[]),p.ref&&g.push(p.ref,null,n),g.push(f,n.__c||d,n)),null!=d){if(null==x&&(x=d),null!=n.__d)d=n.__d,n.__d=null;else if(r==p||d!=u||null==d.parentNode){t:if(null==u||u.parentNode!==t)t.appendChild(d);else{for(y=u,f=0;(y=y.nextSibling)&&f<b;f+=2)if(y==d)break t;t.insertBefore(d,u)}"option"==e.type&&(t.value="")}u=d.nextSibling,"function"==typeof e.type&&(e.__d=d)}}return c++,n}),e.__e=x,null!=r&&"function"!=typeof e.type)for(c=r.length;c--;)null!=r[c]&&a(r[c]);for(c=b;c--;)null!=m[c]&&E(m[c],m[c]);if(g)for(c=0;c<g.length;c++)M(g[c],g[++c],g[++c])}function k(t,e,n){if(null==n&&(n=[]),null==t||"boolean"==typeof t)e&&n.push(e(null));else if(Array.isArray(t))for(var i=0;i<t.length;i++)k(t[i],e,n);else n.push(e?e("string"==typeof t||"number"==typeof t?f(null,t,null,null):null!=t.__e||null!=t.__c?f(t.type,t.props,t.key,null):t):t);return n}function b(t,e,n){"-"===e[0]?t.setProperty(e,n):t[e]="number"==typeof n&&!1===u.test(e)?n+"px":null==n?"":n}function w(t,e,n,i,o){var r,s,l,_,u;if(o?"className"===e&&(e="class"):"class"===e&&(e="className"),"key"===e||"children"===e);else if("style"===e)if(r=t.style,"string"==typeof n)r.cssText=n;else{if("string"==typeof i&&(r.cssText="",i=null),i)for(s in i)n&&s in n||b(r,s,"");if(n)for(l in n)i&&n[l]===i[l]||b(r,l,n[l])}else"o"===e[0]&&"n"===e[1]?(_=e!==(e=e.replace(/Capture$/,"")),u=e.toLowerCase(),e=(u in t?u:e).slice(2),n?(i||t.addEventListener(e,S,_),(t.l||(t.l={}))[e]=n):t.removeEventListener(e,S,_)):"list"!==e&&"tagName"!==e&&"form"!==e&&"type"!==e&&!o&&e in t?t[e]=null==n?"":n:"function"!=typeof n&&"dangerouslySetInnerHTML"!==e&&(e!==(e=e.replace(/^xlink:?/,""))?null==n||!1===n?t.removeAttributeNS("http://www.w3.org/1999/xlink",e.toLowerCase()):t.setAttributeNS("http://www.w3.org/1999/xlink",e.toLowerCase(),n):null==n||!1===n?t.removeAttribute(e):t.setAttribute(e,n))}function S(t){this.l[t.type](n.event?n.event(t):t)}function F(t,e,i,o,r,s,l,_,u){var a,c,f,v,y,x,g,b,w,S,F=e.type;if(void 0!==e.constructor)return null;(a=n.__b)&&a(e);try{t:if("function"==typeof F){if(b=e.props,w=(a=F.contextType)&&o[a.__c],S=a?w?w.props.value:a.__:o,i.__c?g=(c=e.__c=i.__c).__=c.__E:("prototype"in F&&F.prototype.render?e.__c=c=new F(b,S):(e.__c=c=new d(b,S),c.constructor=F,c.render=C),w&&w.sub(c),c.props=b,c.state||(c.state={}),c.context=S,c.__n=o,f=c.__d=!0,c.__h=[]),null==c.__s&&(c.__s=c.state),null!=F.getDerivedStateFromProps&&(c.__s==c.state&&(c.__s=h({},c.__s)),h(c.__s,F.getDerivedStateFromProps(b,c.__s))),v=c.props,y=c.state,f)null==F.getDerivedStateFromProps&&null!=c.componentWillMount&&c.componentWillMount(),null!=c.componentDidMount&&c.__h.push(c.componentDidMount);else{if(null==F.getDerivedStateFromProps&&b!==v&&null!=c.componentWillReceiveProps&&c.componentWillReceiveProps(b,S),!c.__e&&null!=c.shouldComponentUpdate&&!1===c.shouldComponentUpdate(b,c.__s,S)){for(c.props=b,c.state=c.__s,c.__d=!1,c.__v=e,e.__e=i.__e,e.__k=i.__k,c.__h.length&&l.push(c),a=0;a<e.__k.length;a++)e.__k[a]&&(e.__k[a].__=e);break t}null!=c.componentWillUpdate&&c.componentWillUpdate(b,c.__s,S),null!=c.componentDidUpdate&&c.__h.push(function(){c.componentDidUpdate(v,y,x)})}c.context=S,c.props=b,c.state=c.__s,(a=n.__r)&&a(e),c.__d=!1,c.__v=e,c.__P=t,a=c.render(c.props,c.state,c.context),e.__k=k(null!=a&&a.type==p&&null==a.key?a.props.children:a),null!=c.getChildContext&&(o=h(h({},o),c.getChildContext())),f||null==c.getSnapshotBeforeUpdate||(x=c.getSnapshotBeforeUpdate(v,y)),m(t,e,i,o,r,s,l,_,u),c.base=e.__e,c.__h.length&&l.push(c),g&&(c.__E=c.__=null),c.__e=null}else e.__e=P(i.__e,e,i,o,r,s,l,u);(a=n.diffed)&&a(e)}catch(t){n.__e(t,e,i)}return e.__e}function T(t,e){n.__c&&n.__c(e,t),t.some(function(e){try{t=e.__h,e.__h=[],t.some(function(t){t.call(e)})}catch(t){n.__e(t,e.__v)}})}function P(t,e,n,i,o,r,s,u){var h,a,c,f,p,d=n.props,v=e.props;if(o="svg"===e.type||o,null==t&&null!=r)for(h=0;h<r.length;h++)if(null!=(a=r[h])&&(null===e.type?3===a.nodeType:a.localName===e.type)){t=a,r[h]=null;break}if(null==t){if(null===e.type)return document.createTextNode(v);t=o?document.createElementNS("http://www.w3.org/2000/svg",e.type):document.createElement(e.type),r=null}if(null===e.type)null!=r&&(r[r.indexOf(t)]=null),d!==v&&(t.data=v);else if(e!==n){if(null!=r&&(r=_.slice.call(t.childNodes)),c=(d=n.props||l).dangerouslySetInnerHTML,f=v.dangerouslySetInnerHTML,!u){if(d===l)for(d={},p=0;p<t.attributes.length;p++)d[t.attributes[p].name]=t.attributes[p].value;(f||c)&&(f&&c&&f.__html==c.__html||(t.innerHTML=f&&f.__html||""))}(function(t,e,n,i,o){var r;for(r in n)r in e||w(t,r,null,n[r],i);for(r in e)o&&"function"!=typeof e[r]||"value"===r||"checked"===r||n[r]===e[r]||w(t,r,e[r],n[r],i)})(t,v,d,o,u),e.__k=e.props.children,f||m(t,e,n,i,"foreignObject"!==e.type&&o,r,s,l,u),u||("value"in v&&void 0!==v.value&&v.value!==t.value&&(t.value=null==v.value?"":v.value),"checked"in v&&void 0!==v.checked&&v.checked!==t.checked&&(t.checked=v.checked))}return t}function M(t,e,i){try{"function"==typeof t?t(e):t.current=e}catch(t){n.__e(t,i)}}function E(t,e,i){var o,r,s;if(n.unmount&&n.unmount(t),(o=t.ref)&&M(o,null,e),i||"function"==typeof t.type||(i=null!=(r=t.__e)),t.__e=t.__d=null,null!=(o=t.__c)){if(o.componentWillUnmount)try{o.componentWillUnmount()}catch(t){n.__e(t,e)}o.base=o.__P=null}if(o=t.__k)for(s=0;s<o.length;s++)o[s]&&E(o[s],e,i);null!=r&&a(r)}function C(t,e,n){return this.constructor(t,n)}function N(t,e,i){var o,r,u;n.__&&n.__(t,e),r=(o=i===s)?null:i&&i.__k||e.__k,t=c(p,null,[t]),u=[],F(e,(o?e:i||e).__k=t,r||l,l,void 0!==e.ownerSVGElement,i&&!o?[i]:r?null:_.slice.call(e.childNodes),u,i||l,o),T(u,t)}n={__e:function(t,e){for(var n;e=e.__;)if((n=e.__c)&&!n.__)try{if(n.constructor&&null!=n.constructor.getDerivedStateFromError)n.setState(n.constructor.getDerivedStateFromError(t));else{if(null==n.componentDidCatch)continue;n.componentDidCatch(t)}return x(n.__E=n)}catch(e){t=e}throw t}},d.prototype.setState=function(t,e){var n;n=this.__s!==this.state?this.__s:this.__s=h({},this.state),"function"==typeof t&&(t=t(n,this.props)),t&&h(n,t),null!=t&&this.__v&&(this.__e=!1,e&&this.__h.push(e),x(this))},d.prototype.forceUpdate=function(t){this.__v&&(this.__e=!0,t&&this.__h.push(t),x(this))},d.prototype.render=p,i=[],o="function"==typeof Promise?Promise.prototype.then.bind(Promise.resolve()):setTimeout,s=l;var O,j,A,H=[],U=n.__r,z=n.diffed,D=n.__c,R=n.unmount;function W(t){n.__h&&n.__h(j);var e=j.__H||(j.__H={t:[],u:[]});return t>=e.t.length&&e.t.push({}),e.t[t]}function L(t){return I(Z,t)}function I(t,e,n){var i=W(O++);return i.__c||(i.__c=j,i.i=[n?n(e):Z(void 0,e),function(e){var n=t(i.i[0],e);i.i[0]!==n&&(i.i[0]=n,i.__c.setState({}))}]),i.i}function q(t,e){var n=W(O++);K(n.o,e)&&(n.i=t,n.o=e,j.__H.u.push(n))}function V(){H.some(function(t){t.__P&&(t.__H.u.forEach(G),t.__H.u.forEach(B),t.__H.u=[])}),H=[]}function G(t){t.m&&t.m()}function B(t){var e=t.i();"function"==typeof e&&(t.m=e)}function K(t,e){return!t||e.some(function(e,n){return e!==t[n]})}function Z(t,e){return"function"==typeof e?e(t):e}n.__r=function(t){U&&U(t),O=0,(j=t.__c).__H&&(j.__H.u.forEach(G),j.__H.u.forEach(B),j.__H.u=[])},n.diffed=function(t){z&&z(t);var e=t.__c;if(e){var i=e.__H;i&&i.u.length&&(1!==H.push(e)&&A===n.requestAnimationFrame||((A=n.requestAnimationFrame)||function(t){var e,n=function(){clearTimeout(i),cancelAnimationFrame(e),setTimeout(t)},i=setTimeout(n,100);"undefined"!=typeof window&&(e=requestAnimationFrame(n))})(V))}},n.__c=function(t,e){e.some(function(t){t.__h.forEach(G),t.__h=t.__h.filter(function(t){return!t.i||B(t)})}),D&&D(t,e)},n.unmount=function(t){R&&R(t);var e=t.__c;if(e){var n=e.__H;n&&n.t.forEach(function(t){return t.m&&t.m()})}};var $=Object.freeze({BUILD_VERSION:"2.15.19",Component:d,Fragment:p,PKG_NAME:"@hpcc-js/preact-shim",PKG_VERSION:"2.13.7",createElement:c,h:c,render:N,useEffect:q,useMemo:function(t,e){var n=W(O++);return K(n.o,e)?(n.o=e,n.v=t,n.i=t()):n.i},useReducer:I,useState:L}),Q=Math.PI,J=2*Q,X=J-1e-6;function Y(){this._x0=this._y0=this._x1=this._y1=null,this._=""}function tt(){return new Y}function et(t){return function(){return t}}Y.prototype=tt.prototype={constructor:Y,moveTo:function(t,e){this._+="M"+(this._x0=this._x1=+t)+","+(this._y0=this._y1=+e)},closePath:function(){null!==this._x1&&(this._x1=this._x0,this._y1=this._y0,this._+="Z")},lineTo:function(t,e){this._+="L"+(this._x1=+t)+","+(this._y1=+e)},quadraticCurveTo:function(t,e,n,i){this._+="Q"+ +t+","+ +e+","+(this._x1=+n)+","+(this._y1=+i)},bezierCurveTo:function(t,e,n,i,o,r){this._+="C"+ +t+","+ +e+","+ +n+","+ +i+","+(this._x1=+o)+","+(this._y1=+r)},arcTo:function(t,e,n,i,o){t=+t,e=+e,n=+n,i=+i,o=+o;var r=this._x1,s=this._y1,l=n-t,_=i-e,u=r-t,h=s-e,a=u*u+h*h;if(o<0)throw new Error("negative radius: "+o);if(null===this._x1)this._+="M"+(this._x1=t)+","+(this._y1=e);else if(a>1e-6)if(Math.abs(h*l-_*u)>1e-6&&o){var c=n-r,f=i-s,p=l*l+_*_,d=c*c+f*f,v=Math.sqrt(p),y=Math.sqrt(a),x=o*Math.tan((Q-Math.acos((p+a-d)/(2*v*y)))/2),g=x/y,m=x/v;Math.abs(g-1)>1e-6&&(this._+="L"+(t+g*u)+","+(e+g*h)),this._+="A"+o+","+o+",0,0,"+ +(h*c>u*f)+","+(this._x1=t+m*l)+","+(this._y1=e+m*_)}else this._+="L"+(this._x1=t)+","+(this._y1=e);else;},arc:function(t,e,n,i,o,r){t=+t,e=+e;var s=(n=+n)*Math.cos(i),l=n*Math.sin(i),_=t+s,u=e+l,h=1^r,a=r?i-o:o-i;if(n<0)throw new Error("negative radius: "+n);null===this._x1?this._+="M"+_+","+u:(Math.abs(this._x1-_)>1e-6||Math.abs(this._y1-u)>1e-6)&&(this._+="L"+_+","+u),n&&(a<0&&(a=a%J+J),a>X?this._+="A"+n+","+n+",0,1,"+h+","+(t-s)+","+(e-l)+"A"+n+","+n+",0,1,"+h+","+(this._x1=_)+","+(this._y1=u):a>1e-6&&(this._+="A"+n+","+n+",0,"+ +(a>=Q)+","+h+","+(this._x1=t+n*Math.cos(o))+","+(this._y1=e+n*Math.sin(o))))},rect:function(t,e,n,i){this._+="M"+(this._x0=this._x1=+t)+","+(this._y0=this._y1=+e)+"h"+ +n+"v"+ +i+"h"+-n+"Z"},toString:function(){return this._}};Math.PI;function nt(t){this._context=t}function it(t){return new nt(t)}function ot(t){return t[0]}function rt(t){return t[1]}function st(t,e,n){t._context.bezierCurveTo((2*t._x0+t._x1)/3,(2*t._y0+t._y1)/3,(t._x0+2*t._x1)/3,(t._y0+2*t._y1)/3,(t._x0+4*t._x1+e)/6,(t._y0+4*t._y1+n)/6)}function lt(t){this._context=t}function _t(t){return t<0?-1:1}function ut(t,e,n){var i=t._x1-t._x0,o=e-t._x1,r=(t._y1-t._y0)/(i||o<0&&-0),s=(n-t._y1)/(o||i<0&&-0),l=(r*o+s*i)/(i+o);return(_t(r)+_t(s))*Math.min(Math.abs(r),Math.abs(s),.5*Math.abs(l))||0}function ht(t,e){var n=t._x1-t._x0;return n?(3*(t._y1-t._y0)/n-e)/2:e}function at(t,e,n){var i=t._x0,o=t._y0,r=t._x1,s=t._y1,l=(r-i)/3;t._context.bezierCurveTo(i+l,o+l*e,r-l,s-l*n,r,s)}function ct(t){this._context=t}function ft(t){this._context=t}nt.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._point=0},lineEnd:function(){(this._line||0!==this._line&&1===this._point)&&this._context.closePath(),this._line=1-this._line},point:function(t,e){switch(t=+t,e=+e,this._point){case 0:this._point=1,this._line?this._context.lineTo(t,e):this._context.moveTo(t,e);break;case 1:this._point=2;default:this._context.lineTo(t,e)}}},lt.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._y0=this._y1=NaN,this._point=0},lineEnd:function(){switch(this._point){case 3:st(this,this._x1,this._y1);case 2:this._context.lineTo(this._x1,this._y1)}(this._line||0!==this._line&&1===this._point)&&this._context.closePath(),this._line=1-this._line},point:function(t,e){switch(t=+t,e=+e,this._point){case 0:this._point=1,this._line?this._context.lineTo(t,e):this._context.moveTo(t,e);break;case 1:this._point=2;break;case 2:this._point=3,this._context.lineTo((5*this._x0+this._x1)/6,(5*this._y0+this._y1)/6);default:st(this,t,e)}this._x0=this._x1,this._x1=t,this._y0=this._y1,this._y1=e}},ct.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._y0=this._y1=this._t0=NaN,this._point=0},lineEnd:function(){switch(this._point){case 2:this._context.lineTo(this._x1,this._y1);break;case 3:at(this,this._t0,ht(this,this._t0))}(this._line||0!==this._line&&1===this._point)&&this._context.closePath(),this._line=1-this._line},point:function(t,e){var n=NaN;if(e=+e,(t=+t)!==this._x1||e!==this._y1){switch(this._point){case 0:this._point=1,this._line?this._context.lineTo(t,e):this._context.moveTo(t,e);break;case 1:this._point=2;break;case 2:this._point=3,at(this,ht(this,n=ut(this,t,e)),n);break;default:at(this,this._t0,n=ut(this,t,e))}this._x0=this._x1,this._x1=t,this._y0=this._y1,this._y1=e,this._t0=n}}},(function(t){this._context=new ft(t)}.prototype=Object.create(ct.prototype)).point=function(t,e){ct.prototype.point.call(this,e,t)},ft.prototype={moveTo:function(t,e){this._context.moveTo(e,t)},closePath:function(){this._context.closePath()},lineTo:function(t,e){this._context.lineTo(e,t)},bezierCurveTo:function(t,e,n,i,o,r){this._context.bezierCurveTo(e,t,i,n,r,o)}};var pt=function(){var t=ot,e=rt,n=et(!0),i=null,o=it,r=null;function s(s){var l,_,u,h=s.length,a=!1;for(null==i&&(r=o(u=tt())),l=0;l<=h;++l)!(l<h&&n(_=s[l],l,s))===a&&((a=!a)?r.lineStart():r.lineEnd()),a&&r.point(+t(_,l,s),+e(_,l,s));if(u)return r=null,u+""||null}return s.x=function(e){return arguments.length?(t="function"==typeof e?e:et(+e),s):t},s.y=function(t){return arguments.length?(e="function"==typeof t?t:et(+t),s):e},s.defined=function(t){return arguments.length?(n="function"==typeof t?t:et(!!t),s):n},s.curve=function(t){return arguments.length?(o=t,null!=i&&(r=o(i)),s):o},s.context=function(t){return arguments.length?(null==t?i=r=null:r=o(i=t),s):i},s}().x(function(t){return t[0]}).y(function(t){return t[1]}).curve(function(t){return new lt(t)});function dt(t,e){if(2===t.length&&e){var n=t[0][0]-t[1][0],i=t[0][1]-t[1][1];if(Math.sqrt(n*n+i*i)){var o=(t[0][0]+t[1][0])/2-i*e/100,r=(t[0][1]+t[1][1])/2+n*e/100;return[t[0],[o,r],t[1]]}}return t}var vt=function(t){var n=t.x,i=t.y,o=void 0===i?0:i,r=t.height,s=void 0===r?12:r,l=t.fill,_=t.stroke,u=t.fontFamily,h=void 0===u?"FontAwesome":u,a=t.char,f=void 0===a?"":a,p=t.yOffset;return c("text",{x:n,y:(void 0===p?0:p)+o-3.5*s/12,fill:l,stroke:_,"font-family":h,"font-size":s+"px",style:"text-anchor: middle;"},"FontAwesome"===h?e.Utility.faChar(f):f)},yt=function(t,e){return(yt=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])})(t,e)};function xt(t,e){function n(){this.constructor=t}yt(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)}var gt=function(){return(gt=Object.assign||function(t){for(var e,n=1,i=arguments.length;n<i;n++)for(var o in e=arguments[n])Object.prototype.hasOwnProperty.call(e,o)&&(t[o]=e[o]);return t}).apply(this,arguments)};function mt(t,e,n,i){var o,r=arguments.length,s=r<3?e:null===i?i=Object.getOwnPropertyDescriptor(e,n):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(t,e,n,i);else for(var l=t.length-1;l>=0;l--)(o=t[l])&&(s=(r<3?o(s):r>3?o(e,n,s):o(e,n))||s);return r>3&&s&&Object.defineProperty(e,n,s),s}function kt(t,e){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(t,e)}var bt=function(t){var e=t.radius,n=void 0===e?32:e,i=t.fill,o=void 0===i?"navy":i,r=t.stroke,s=void 0===r?o:r,l=t.strokeWidth;return c("circle",{r:n,fill:o,stroke:s,"stroke-width":void 0===l?1:l})},wt=function(t){var e=t.radius,n=void 0===e?30:e,i=t.cornerRadius,o=void 0===i?0:i,r=t.fill,s=void 0===r?"white":r,l=t.stroke,_=t.strokeWidth;return c("rect",{x:-n,y:-n,rx:o,ry:o,width:2*n,height:2*n,fill:s,stroke:l||s,"stroke-width":void 0===_?1:_})},St=function(t){var e=t.width,n=void 0===e?30:e,i=t.height,o=void 0===i?30:i,r=t.cornerRadius,s=void 0===r?0:r,l=t.fill,_=void 0===l?"white":l,u=t.stroke,h=void 0===u?"black":u,a=t.strokeWidth;return c("rect",{x:-n/2,y:-o/2,rx:s,ry:s,width:n,height:o,fill:_,stroke:h||_,"stroke-width":void 0===a?1:a})},Ft=function(t){var e=t.shape,n=void 0===e?"circle":e,i=t.height,o=void 0===i?128:i,r=t.fill,s=t.stroke,l=t.strokeWidth,_=void 0===l?1:l;switch(n){case"square":return c(wt,{radius:o/2,fill:r,stroke:s,strokeWidth:_});case"circle":default:return c(bt,{radius:o/2,fill:r,stroke:s,strokeWidth:_})}},Tt=function(t){var n=t.shape,i=void 0===n?"circle":n,o=t.height,r=void 0===o?32:o,s=t.fill,l=t.stroke,_=t.imageFontFamily,u=void 0===_?"FontAwesome":_,h=t.imageChar,a=void 0===h?"":h,f=t.imageCharFill,d=void 0===f?e.Palette.textColor(s):f,v=t.padding,y=void 0===v?r/5:v,x=t.yOffset,g=void 0===x?0:x;return c(p,null,c(Ft,{shape:i,height:r,fill:s,stroke:l}),c(vt,{y:r/2,height:r-y,fontFamily:u,char:a,fill:d,"font-weight":400,yOffset:g}))};function Pt(t,e,n,i){N(c(t,e),n,i)}var Mt=function(t){function n(e){var n=t.call(this)||this;return n._component=e,n._props={},n}return xt(n,t),n.prototype.props=function(t){return arguments.length?(this._props=gt(gt({},this._props),t),this):this._props},n.prototype.prop=function(t,e){return 1===arguments.length?this._props[t]:(this._props[t]=e,this)},n.prototype.update=function(e,n){t.prototype.update.call(this,e,n),Pt(this._component,this._props,e)},mt([e.publish({},"object","Properties"),kt("design:type",Object)],n.prototype,"_props",void 0),n}(e.HTMLWidget),Et=function(t){function n(e){var n=t.call(this)||this;return n._component=e,n._props={},n}return xt(n,t),n.prototype.props=function(t){return arguments.length?(this._props=gt(gt({},this._props),t),this):this._props},n.prototype.prop=function(t,e){return 1===arguments.length?this._props[t]:(this._props[t]=e,this)},n.prototype.update=function(e,n){t.prototype.update.call(this,e,n),Pt(this._component,this._props,e)},mt([e.publish({},"object","Properties"),kt("design:type",Object)],n.prototype,"_props",void 0),n}(e.SVGWidget),Ct=function(t){var e=t.text,n=t.height,i=void 0===n?12:n,o=t.anchor,r=void 0===o?"middle":o,s=t.baseline,l=void 0===s?"middle":s,_=t.fontFamily,u=void 0===_?"Verdana":_,h=t.fill;return c("text",{"font-family":u,"font-size":i+"px","text-anchor":r,"dominant-baseline":l,fill:void 0===h?"black":h},e)},Nt=function(t){var n=t.text,i=t.height,o=void 0===i?12:i,r=t.fontFamily,s=void 0===r?"Verdana":r,l=t.fill,_=void 0===l?"black":l,u=t.onSizeUpdate,h=void 0===u?function(t){}:u,a=L(0),f=a[0],d=a[1],v=L(0),y=v[0],x=v[1];q(function(){return h({width:f,height:y})},[f,y]);var g=n.split("\n");d(e.Utility.textSize(g,s,o).width),x(g.length*(o+2)-2);var m=-y/2+o/2,k=g.map(function(t,e){return c("g",{transform:"translate(0 "+(m+e*(o+2))+")"},c(Ct,{text:t,height:o,fontFamily:s,fill:_}))});return c(p,null,k)},Ot=function(t){var e=t.text,n=t.height,i=void 0===n?12:n,o=t.fontFamily,r=void 0===o?"Verdana":o,s=t.padding,l=void 0===s?4:s,_=t.fill,u=void 0===_?"whitesmoke":_,h=t.stroke,a=void 0===h?"lightgray":h,f=t.textFill,d=void 0===f?"black":f,v=t.strokeWidth,y=void 0===v?1:v,x=t.onSizeUpdate,g=void 0===x?function(t){}:x,m=L(0),k=m[0],b=m[1],w=L(0),S=w[0],F=w[1];return q(function(){return g({width:k,height:S})},[k,S]),c(p,null,c(St,{width:k+2*l,height:S+2*l,fill:u,stroke:a,strokeWidth:y}),c(Nt,{text:e,fontFamily:r,height:i,fill:d,onSizeUpdate:function(t){b(t.width),F(t.height)}}))},jt=function(t){var e=t.x,n=t.y,i=t.annotations,o=void 0===i?[]:i,r=t.stepSize,s=void 0===r?-16:r,l=o.map(function(t,i){return c("g",{key:t,transform:"translate("+(e+i*s)+" "+n+")"},c("use",{href:"#"+t}))});return c(p,null,l)};t.Annotations=jt,t.BUILD_VERSION="2.15.19",t.Circle=bt,t.Edge=function(t){var e=t.points,n=void 0===e?[]:e,i=t.curveDepth,o=void 0===i?16:i,r=t.stroke,s=void 0===r?"black":r,l=t.strokeDasharray;return console.log("strokeDasharray",l),c("path",{stroke:s,"stroke-dasharray":l,d:pt(dt(n,o))})},t.HTMLAdapter=Mt,t.Icon=Tt,t.Icons=function(t){var e=t.icons,n=(void 0===e?[]:e).map(function(t){return c("g",{key:t.id,id:t.id},c(Tt,gt({},t)))});return c(p,null,n)},t.ImageChar=vt,t.PKG_NAME="@hpcc-js/react",t.PKG_VERSION="2.9.14",t.React=$,t.Rectangle=St,t.SVGAdapter=Et,t.Shape=Ft,t.Square=wt,t.Subgraph=function(t){var n=t.text,i=t.width,o=void 0===i?100:i,r=t.height,s=void 0===r?100:r,l=t.fill,_=void 0===l?"transparent":l,u=t.stroke,h=void 0===u?"black":u,a=t.fontHeight,f=void 0===a?12:a,d=t.fontFamily,v=e.Utility.textSize(n,d,f,!1);return c(p,null,c(St,{width:o,height:s,fill:_,stroke:h}),c("g",{transform:"translate("+((-o+v.width)/2+4)+" "+((-s+v.height)/2+4)+")"},c(Nt,{height:f,text:n,fontFamily:d})))},t.Text=Nt,t.TextBox=Ot,t.TextLine=Ct,t.Vertex=function(t){var e=t.categoryID,n=void 0===e?"":e,i=t.text,o=void 0===i?"":i,r=t.textHeight,s=void 0===r?12:r,l=t.textPadding,_=void 0===l?4:l,u=t.icon,h=void 0===u?{}:u,a=t.annotationsHeight,f=void 0===a?12:a,p=t.annotations,d=void 0===p?[]:p,v=t.textFill,y=t.textboxFill,x=t.textboxStroke,g=t.textFontFamily,m=t.onSizeUpdate,k=void 0===m?function(t){}:m,b=L(0),w=b[0],S=b[1],F=L(0),T=F[0],P=F[1];q(function(){return k({width:0,height:0})},[w,T]),h=gt({imageChar:"fa-question",height:32,fill:"transparent"},h);var M=w;return M+=4,n?c("g",{transform:"translate(0 "+-(2*h.height/6+s+8)/2+")"},c("use",{href:"#"+n}),c("g",{transform:"translate(0 "+(h.height/3+T/2+_)+")"},c(Ot,{text:o,height:s,padding:_,onSizeUpdate:E,textFill:v,fill:y,stroke:x,fontFamily:g})),c(jt,{x:M/2,y:h.height/3+T+_+f/3,annotations:d})):c("g",{transform:"translate(0 "+-(2*h.height/6+s+8)/2+")"},c(Tt,gt({},h)),c("g",{transform:"translate(0 "+(h.height/3+T/2+_)+")"},c(Ot,{text:o,height:s,padding:_,onSizeUpdate:E,textFill:v,fill:y,stroke:x,fontFamily:g})));function E(t){S(t.width),P(t.height)}},t.Vertex2=function(t){var n=t.categoryID,i=void 0===n?"":n,o=t.text,r=void 0===o?"":o,s=t.textHeight,l=void 0===s?12:s,_=t.textPadding,u=void 0===_?4:_,h=t.icon,a=void 0===h?{}:h,f=t.textFill,d=void 0===f?"black":f,v=t.textboxFill,y=void 0===v?"white":v,x=t.textboxStroke,g=void 0===x?"black":x,m=t.textFontFamily,k=t.annotationsHeight,b=void 0===k?12:k,w=t.annotations,S=void 0===w?[]:w;a=gt({imageChar:"fa-question",imageCharFill:"white",height:32,fill:"black",shape:"square"},a);var F=l+2*u,T=e.Utility.textSize(r,m,l,!1).width,P=b,M=F/2,E=-(2*a.height/6+l+8)/2,C=-a.height/2,N=Math.ceil(T/2+u),O=M-a.height/2,j=P/2,A=M;return i?c("g",{transform:"translate(0 "+E+")"},c("g",{transform:"translate("+C+" 0)"},c("use",{href:"#"+i})),c("g",{transform:"translate("+N+" "+O+")"},c(Ot,{text:r,height:l,padding:u,strokeWidth:1,stroke:g,fill:y,textFill:d,fontFamily:m})),c(jt,{x:j,y:A,annotations:S,stepSize:P})):c(p,null,c("g",{transform:"translate("+C+" 0)scale(1.0002)"},c(Tt,gt({},a,{shape:"square"}))),c("g",{transform:"translate("+N+" "+O+")scale(1.0002)"},c(Ot,{text:r,height:l,padding:u,stroke:g,fill:y})))},t.render=Pt,t.svgRender=function(t,e,n,i){N(c("svg",null,c(t,e)),n,i)},Object.defineProperty(t,"__esModule",{value:!0})}); | ||
!function(t,e){"object"==typeof exports&&"undefined"!=typeof module?e(exports,require("@hpcc-js/common")):"function"==typeof define&&define.amd?define(["exports","@hpcc-js/common"],e):e((t=t||self)["@hpcc-js/react"]={},t["@hpcc-js/common"])}(this,function(t,e){"use strict";var n,i,o,r,s,l={},_=[],u=/acit|ex(?:s|g|n|p|$)|rph|grid|ows|mnc|ntw|ine[ch]|zoo|^ord/i;function h(t,e){for(var n in e)t[n]=e[n];return t}function a(t){var e=t.parentNode;e&&e.removeChild(t)}function c(t,e,n){var i,o=arguments,r={};for(i in e)"key"!==i&&"ref"!==i&&(r[i]=e[i]);if(arguments.length>3)for(n=[n],i=3;i<arguments.length;i++)n.push(o[i]);if(null!=n&&(r.children=n),"function"==typeof t&&null!=t.defaultProps)for(i in t.defaultProps)void 0===r[i]&&(r[i]=t.defaultProps[i]);return f(t,r,e&&e.key,e&&e.ref)}function f(t,e,i,o){var r={type:t,props:e,key:i,ref:o,__k:null,__:null,__b:0,__e:null,__d:null,__c:null,constructor:void 0};return n.vnode&&n.vnode(r),r}function p(t){return t.children}function d(t,e){this.props=t,this.context=e}function v(t,e){if(null==e)return t.__?v(t.__,t.__.__k.indexOf(t)+1):null;for(var n;e<t.__k.length;e++)if(null!=(n=t.__k[e])&&null!=n.__e)return n.__e;return"function"==typeof t.type?v(t):null}function y(t){var e,n;if(null!=(t=t.__)&&null!=t.__c){for(t.__e=t.__c.base=null,e=0;e<t.__k.length;e++)if(null!=(n=t.__k[e])&&null!=n.__e){t.__e=t.__c.base=n.__e;break}return y(t)}}function x(t){(!t.__d&&(t.__d=!0)&&1===i.push(t)||r!==n.debounceRendering)&&((r=n.debounceRendering)||o)(g)}function g(){var t,e,n,o,r,s,l;for(i.sort(function(t,e){return e.__v.__b-t.__v.__b});t=i.pop();)t.__d&&(n=void 0,o=void 0,s=(r=(e=t).__v).__e,(l=e.__P)&&(n=[],o=F(l,r,h({},r),e.__n,void 0!==l.ownerSVGElement,null,n,null==s?v(r):s),T(n,r),o!=s&&y(r)))}function m(t,e,n,i,o,r,s,u,h){var c,f,p,d,y,x,g,m=n&&n.__k||_,b=m.length;if(u==l&&(u=null!=r?r[0]:b?v(n,0):null),c=0,e.__k=k(e.__k,function(n){if(null!=n){if(n.__=e,n.__b=e.__b+1,null===(p=m[c])||p&&n.key==p.key&&n.type===p.type)m[c]=void 0;else for(f=0;f<b;f++){if((p=m[f])&&n.key==p.key&&n.type===p.type){m[f]=void 0;break}p=null}if(d=F(t,n,p=p||l,i,o,r,s,u,h),(f=n.ref)&&p.ref!=f&&(g||(g=[]),p.ref&&g.push(p.ref,null,n),g.push(f,n.__c||d,n)),null!=d){if(null==x&&(x=d),null!=n.__d)d=n.__d,n.__d=null;else if(r==p||d!=u||null==d.parentNode){t:if(null==u||u.parentNode!==t)t.appendChild(d);else{for(y=u,f=0;(y=y.nextSibling)&&f<b;f+=2)if(y==d)break t;t.insertBefore(d,u)}"option"==e.type&&(t.value="")}u=d.nextSibling,"function"==typeof e.type&&(e.__d=d)}}return c++,n}),e.__e=x,null!=r&&"function"!=typeof e.type)for(c=r.length;c--;)null!=r[c]&&a(r[c]);for(c=b;c--;)null!=m[c]&&E(m[c],m[c]);if(g)for(c=0;c<g.length;c++)M(g[c],g[++c],g[++c])}function k(t,e,n){if(null==n&&(n=[]),null==t||"boolean"==typeof t)e&&n.push(e(null));else if(Array.isArray(t))for(var i=0;i<t.length;i++)k(t[i],e,n);else n.push(e?e("string"==typeof t||"number"==typeof t?f(null,t,null,null):null!=t.__e||null!=t.__c?f(t.type,t.props,t.key,null):t):t);return n}function b(t,e,n){"-"===e[0]?t.setProperty(e,n):t[e]="number"==typeof n&&!1===u.test(e)?n+"px":null==n?"":n}function w(t,e,n,i,o){var r,s,l,_,u;if(o?"className"===e&&(e="class"):"class"===e&&(e="className"),"key"===e||"children"===e);else if("style"===e)if(r=t.style,"string"==typeof n)r.cssText=n;else{if("string"==typeof i&&(r.cssText="",i=null),i)for(s in i)n&&s in n||b(r,s,"");if(n)for(l in n)i&&n[l]===i[l]||b(r,l,n[l])}else"o"===e[0]&&"n"===e[1]?(_=e!==(e=e.replace(/Capture$/,"")),u=e.toLowerCase(),e=(u in t?u:e).slice(2),n?(i||t.addEventListener(e,S,_),(t.l||(t.l={}))[e]=n):t.removeEventListener(e,S,_)):"list"!==e&&"tagName"!==e&&"form"!==e&&"type"!==e&&!o&&e in t?t[e]=null==n?"":n:"function"!=typeof n&&"dangerouslySetInnerHTML"!==e&&(e!==(e=e.replace(/^xlink:?/,""))?null==n||!1===n?t.removeAttributeNS("http://www.w3.org/1999/xlink",e.toLowerCase()):t.setAttributeNS("http://www.w3.org/1999/xlink",e.toLowerCase(),n):null==n||!1===n?t.removeAttribute(e):t.setAttribute(e,n))}function S(t){this.l[t.type](n.event?n.event(t):t)}function F(t,e,i,o,r,s,l,_,u){var a,c,f,v,y,x,g,b,w,S,F=e.type;if(void 0!==e.constructor)return null;(a=n.__b)&&a(e);try{t:if("function"==typeof F){if(b=e.props,w=(a=F.contextType)&&o[a.__c],S=a?w?w.props.value:a.__:o,i.__c?g=(c=e.__c=i.__c).__=c.__E:("prototype"in F&&F.prototype.render?e.__c=c=new F(b,S):(e.__c=c=new d(b,S),c.constructor=F,c.render=C),w&&w.sub(c),c.props=b,c.state||(c.state={}),c.context=S,c.__n=o,f=c.__d=!0,c.__h=[]),null==c.__s&&(c.__s=c.state),null!=F.getDerivedStateFromProps&&(c.__s==c.state&&(c.__s=h({},c.__s)),h(c.__s,F.getDerivedStateFromProps(b,c.__s))),v=c.props,y=c.state,f)null==F.getDerivedStateFromProps&&null!=c.componentWillMount&&c.componentWillMount(),null!=c.componentDidMount&&c.__h.push(c.componentDidMount);else{if(null==F.getDerivedStateFromProps&&b!==v&&null!=c.componentWillReceiveProps&&c.componentWillReceiveProps(b,S),!c.__e&&null!=c.shouldComponentUpdate&&!1===c.shouldComponentUpdate(b,c.__s,S)){for(c.props=b,c.state=c.__s,c.__d=!1,c.__v=e,e.__e=i.__e,e.__k=i.__k,c.__h.length&&l.push(c),a=0;a<e.__k.length;a++)e.__k[a]&&(e.__k[a].__=e);break t}null!=c.componentWillUpdate&&c.componentWillUpdate(b,c.__s,S),null!=c.componentDidUpdate&&c.__h.push(function(){c.componentDidUpdate(v,y,x)})}c.context=S,c.props=b,c.state=c.__s,(a=n.__r)&&a(e),c.__d=!1,c.__v=e,c.__P=t,a=c.render(c.props,c.state,c.context),e.__k=k(null!=a&&a.type==p&&null==a.key?a.props.children:a),null!=c.getChildContext&&(o=h(h({},o),c.getChildContext())),f||null==c.getSnapshotBeforeUpdate||(x=c.getSnapshotBeforeUpdate(v,y)),m(t,e,i,o,r,s,l,_,u),c.base=e.__e,c.__h.length&&l.push(c),g&&(c.__E=c.__=null),c.__e=null}else e.__e=P(i.__e,e,i,o,r,s,l,u);(a=n.diffed)&&a(e)}catch(t){n.__e(t,e,i)}return e.__e}function T(t,e){n.__c&&n.__c(e,t),t.some(function(e){try{t=e.__h,e.__h=[],t.some(function(t){t.call(e)})}catch(t){n.__e(t,e.__v)}})}function P(t,e,n,i,o,r,s,u){var h,a,c,f,p,d=n.props,v=e.props;if(o="svg"===e.type||o,null==t&&null!=r)for(h=0;h<r.length;h++)if(null!=(a=r[h])&&(null===e.type?3===a.nodeType:a.localName===e.type)){t=a,r[h]=null;break}if(null==t){if(null===e.type)return document.createTextNode(v);t=o?document.createElementNS("http://www.w3.org/2000/svg",e.type):document.createElement(e.type),r=null}if(null===e.type)null!=r&&(r[r.indexOf(t)]=null),d!==v&&(t.data=v);else if(e!==n){if(null!=r&&(r=_.slice.call(t.childNodes)),c=(d=n.props||l).dangerouslySetInnerHTML,f=v.dangerouslySetInnerHTML,!u){if(d===l)for(d={},p=0;p<t.attributes.length;p++)d[t.attributes[p].name]=t.attributes[p].value;(f||c)&&(f&&c&&f.__html==c.__html||(t.innerHTML=f&&f.__html||""))}(function(t,e,n,i,o){var r;for(r in n)r in e||w(t,r,null,n[r],i);for(r in e)o&&"function"!=typeof e[r]||"value"===r||"checked"===r||n[r]===e[r]||w(t,r,e[r],n[r],i)})(t,v,d,o,u),e.__k=e.props.children,f||m(t,e,n,i,"foreignObject"!==e.type&&o,r,s,l,u),u||("value"in v&&void 0!==v.value&&v.value!==t.value&&(t.value=null==v.value?"":v.value),"checked"in v&&void 0!==v.checked&&v.checked!==t.checked&&(t.checked=v.checked))}return t}function M(t,e,i){try{"function"==typeof t?t(e):t.current=e}catch(t){n.__e(t,i)}}function E(t,e,i){var o,r,s;if(n.unmount&&n.unmount(t),(o=t.ref)&&M(o,null,e),i||"function"==typeof t.type||(i=null!=(r=t.__e)),t.__e=t.__d=null,null!=(o=t.__c)){if(o.componentWillUnmount)try{o.componentWillUnmount()}catch(t){n.__e(t,e)}o.base=o.__P=null}if(o=t.__k)for(s=0;s<o.length;s++)o[s]&&E(o[s],e,i);null!=r&&a(r)}function C(t,e,n){return this.constructor(t,n)}function N(t,e,i){var o,r,u;n.__&&n.__(t,e),r=(o=i===s)?null:i&&i.__k||e.__k,t=c(p,null,[t]),u=[],F(e,(o?e:i||e).__k=t,r||l,l,void 0!==e.ownerSVGElement,i&&!o?[i]:r?null:_.slice.call(e.childNodes),u,i||l,o),T(u,t)}n={__e:function(t,e){for(var n;e=e.__;)if((n=e.__c)&&!n.__)try{if(n.constructor&&null!=n.constructor.getDerivedStateFromError)n.setState(n.constructor.getDerivedStateFromError(t));else{if(null==n.componentDidCatch)continue;n.componentDidCatch(t)}return x(n.__E=n)}catch(e){t=e}throw t}},d.prototype.setState=function(t,e){var n;n=this.__s!==this.state?this.__s:this.__s=h({},this.state),"function"==typeof t&&(t=t(n,this.props)),t&&h(n,t),null!=t&&this.__v&&(this.__e=!1,e&&this.__h.push(e),x(this))},d.prototype.forceUpdate=function(t){this.__v&&(this.__e=!0,t&&this.__h.push(t),x(this))},d.prototype.render=p,i=[],o="function"==typeof Promise?Promise.prototype.then.bind(Promise.resolve()):setTimeout,s=l;var O,j,A,H=[],U=n.__r,z=n.diffed,D=n.__c,R=n.unmount;function W(t){n.__h&&n.__h(j);var e=j.__H||(j.__H={t:[],u:[]});return t>=e.t.length&&e.t.push({}),e.t[t]}function L(t){return I(Z,t)}function I(t,e,n){var i=W(O++);return i.__c||(i.__c=j,i.i=[n?n(e):Z(void 0,e),function(e){var n=t(i.i[0],e);i.i[0]!==n&&(i.i[0]=n,i.__c.setState({}))}]),i.i}function q(t,e){var n=W(O++);K(n.o,e)&&(n.i=t,n.o=e,j.__H.u.push(n))}function V(){H.some(function(t){t.__P&&(t.__H.u.forEach(G),t.__H.u.forEach(B),t.__H.u=[])}),H=[]}function G(t){t.m&&t.m()}function B(t){var e=t.i();"function"==typeof e&&(t.m=e)}function K(t,e){return!t||e.some(function(e,n){return e!==t[n]})}function Z(t,e){return"function"==typeof e?e(t):e}n.__r=function(t){U&&U(t),O=0,(j=t.__c).__H&&(j.__H.u.forEach(G),j.__H.u.forEach(B),j.__H.u=[])},n.diffed=function(t){z&&z(t);var e=t.__c;if(e){var i=e.__H;i&&i.u.length&&(1!==H.push(e)&&A===n.requestAnimationFrame||((A=n.requestAnimationFrame)||function(t){var e,n=function(){clearTimeout(i),cancelAnimationFrame(e),setTimeout(t)},i=setTimeout(n,100);"undefined"!=typeof window&&(e=requestAnimationFrame(n))})(V))}},n.__c=function(t,e){e.some(function(t){t.__h.forEach(G),t.__h=t.__h.filter(function(t){return!t.i||B(t)})}),D&&D(t,e)},n.unmount=function(t){R&&R(t);var e=t.__c;if(e){var n=e.__H;n&&n.t.forEach(function(t){return t.m&&t.m()})}};var $=Object.freeze({BUILD_VERSION:"2.15.21",Component:d,Fragment:p,PKG_NAME:"@hpcc-js/preact-shim",PKG_VERSION:"2.13.8",createElement:c,h:c,render:N,useEffect:q,useMemo:function(t,e){var n=W(O++);return K(n.o,e)?(n.o=e,n.v=t,n.i=t()):n.i},useReducer:I,useState:L}),Q=Math.PI,J=2*Q,X=J-1e-6;function Y(){this._x0=this._y0=this._x1=this._y1=null,this._=""}function tt(){return new Y}function et(t){return function(){return t}}Y.prototype=tt.prototype={constructor:Y,moveTo:function(t,e){this._+="M"+(this._x0=this._x1=+t)+","+(this._y0=this._y1=+e)},closePath:function(){null!==this._x1&&(this._x1=this._x0,this._y1=this._y0,this._+="Z")},lineTo:function(t,e){this._+="L"+(this._x1=+t)+","+(this._y1=+e)},quadraticCurveTo:function(t,e,n,i){this._+="Q"+ +t+","+ +e+","+(this._x1=+n)+","+(this._y1=+i)},bezierCurveTo:function(t,e,n,i,o,r){this._+="C"+ +t+","+ +e+","+ +n+","+ +i+","+(this._x1=+o)+","+(this._y1=+r)},arcTo:function(t,e,n,i,o){t=+t,e=+e,n=+n,i=+i,o=+o;var r=this._x1,s=this._y1,l=n-t,_=i-e,u=r-t,h=s-e,a=u*u+h*h;if(o<0)throw new Error("negative radius: "+o);if(null===this._x1)this._+="M"+(this._x1=t)+","+(this._y1=e);else if(a>1e-6)if(Math.abs(h*l-_*u)>1e-6&&o){var c=n-r,f=i-s,p=l*l+_*_,d=c*c+f*f,v=Math.sqrt(p),y=Math.sqrt(a),x=o*Math.tan((Q-Math.acos((p+a-d)/(2*v*y)))/2),g=x/y,m=x/v;Math.abs(g-1)>1e-6&&(this._+="L"+(t+g*u)+","+(e+g*h)),this._+="A"+o+","+o+",0,0,"+ +(h*c>u*f)+","+(this._x1=t+m*l)+","+(this._y1=e+m*_)}else this._+="L"+(this._x1=t)+","+(this._y1=e);else;},arc:function(t,e,n,i,o,r){t=+t,e=+e;var s=(n=+n)*Math.cos(i),l=n*Math.sin(i),_=t+s,u=e+l,h=1^r,a=r?i-o:o-i;if(n<0)throw new Error("negative radius: "+n);null===this._x1?this._+="M"+_+","+u:(Math.abs(this._x1-_)>1e-6||Math.abs(this._y1-u)>1e-6)&&(this._+="L"+_+","+u),n&&(a<0&&(a=a%J+J),a>X?this._+="A"+n+","+n+",0,1,"+h+","+(t-s)+","+(e-l)+"A"+n+","+n+",0,1,"+h+","+(this._x1=_)+","+(this._y1=u):a>1e-6&&(this._+="A"+n+","+n+",0,"+ +(a>=Q)+","+h+","+(this._x1=t+n*Math.cos(o))+","+(this._y1=e+n*Math.sin(o))))},rect:function(t,e,n,i){this._+="M"+(this._x0=this._x1=+t)+","+(this._y0=this._y1=+e)+"h"+ +n+"v"+ +i+"h"+-n+"Z"},toString:function(){return this._}};Math.PI;function nt(t){this._context=t}function it(t){return new nt(t)}function ot(t){return t[0]}function rt(t){return t[1]}function st(t,e,n){t._context.bezierCurveTo((2*t._x0+t._x1)/3,(2*t._y0+t._y1)/3,(t._x0+2*t._x1)/3,(t._y0+2*t._y1)/3,(t._x0+4*t._x1+e)/6,(t._y0+4*t._y1+n)/6)}function lt(t){this._context=t}function _t(t){return t<0?-1:1}function ut(t,e,n){var i=t._x1-t._x0,o=e-t._x1,r=(t._y1-t._y0)/(i||o<0&&-0),s=(n-t._y1)/(o||i<0&&-0),l=(r*o+s*i)/(i+o);return(_t(r)+_t(s))*Math.min(Math.abs(r),Math.abs(s),.5*Math.abs(l))||0}function ht(t,e){var n=t._x1-t._x0;return n?(3*(t._y1-t._y0)/n-e)/2:e}function at(t,e,n){var i=t._x0,o=t._y0,r=t._x1,s=t._y1,l=(r-i)/3;t._context.bezierCurveTo(i+l,o+l*e,r-l,s-l*n,r,s)}function ct(t){this._context=t}function ft(t){this._context=t}nt.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._point=0},lineEnd:function(){(this._line||0!==this._line&&1===this._point)&&this._context.closePath(),this._line=1-this._line},point:function(t,e){switch(t=+t,e=+e,this._point){case 0:this._point=1,this._line?this._context.lineTo(t,e):this._context.moveTo(t,e);break;case 1:this._point=2;default:this._context.lineTo(t,e)}}},lt.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._y0=this._y1=NaN,this._point=0},lineEnd:function(){switch(this._point){case 3:st(this,this._x1,this._y1);case 2:this._context.lineTo(this._x1,this._y1)}(this._line||0!==this._line&&1===this._point)&&this._context.closePath(),this._line=1-this._line},point:function(t,e){switch(t=+t,e=+e,this._point){case 0:this._point=1,this._line?this._context.lineTo(t,e):this._context.moveTo(t,e);break;case 1:this._point=2;break;case 2:this._point=3,this._context.lineTo((5*this._x0+this._x1)/6,(5*this._y0+this._y1)/6);default:st(this,t,e)}this._x0=this._x1,this._x1=t,this._y0=this._y1,this._y1=e}},ct.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._y0=this._y1=this._t0=NaN,this._point=0},lineEnd:function(){switch(this._point){case 2:this._context.lineTo(this._x1,this._y1);break;case 3:at(this,this._t0,ht(this,this._t0))}(this._line||0!==this._line&&1===this._point)&&this._context.closePath(),this._line=1-this._line},point:function(t,e){var n=NaN;if(e=+e,(t=+t)!==this._x1||e!==this._y1){switch(this._point){case 0:this._point=1,this._line?this._context.lineTo(t,e):this._context.moveTo(t,e);break;case 1:this._point=2;break;case 2:this._point=3,at(this,ht(this,n=ut(this,t,e)),n);break;default:at(this,this._t0,n=ut(this,t,e))}this._x0=this._x1,this._x1=t,this._y0=this._y1,this._y1=e,this._t0=n}}},(function(t){this._context=new ft(t)}.prototype=Object.create(ct.prototype)).point=function(t,e){ct.prototype.point.call(this,e,t)},ft.prototype={moveTo:function(t,e){this._context.moveTo(e,t)},closePath:function(){this._context.closePath()},lineTo:function(t,e){this._context.lineTo(e,t)},bezierCurveTo:function(t,e,n,i,o,r){this._context.bezierCurveTo(e,t,i,n,r,o)}};var pt=function(){var t=ot,e=rt,n=et(!0),i=null,o=it,r=null;function s(s){var l,_,u,h=s.length,a=!1;for(null==i&&(r=o(u=tt())),l=0;l<=h;++l)!(l<h&&n(_=s[l],l,s))===a&&((a=!a)?r.lineStart():r.lineEnd()),a&&r.point(+t(_,l,s),+e(_,l,s));if(u)return r=null,u+""||null}return s.x=function(e){return arguments.length?(t="function"==typeof e?e:et(+e),s):t},s.y=function(t){return arguments.length?(e="function"==typeof t?t:et(+t),s):e},s.defined=function(t){return arguments.length?(n="function"==typeof t?t:et(!!t),s):n},s.curve=function(t){return arguments.length?(o=t,null!=i&&(r=o(i)),s):o},s.context=function(t){return arguments.length?(null==t?i=r=null:r=o(i=t),s):i},s}().x(function(t){return t[0]}).y(function(t){return t[1]}).curve(function(t){return new lt(t)});function dt(t,e){if(2===t.length&&e){var n=t[0][0]-t[1][0],i=t[0][1]-t[1][1];if(Math.sqrt(n*n+i*i)){var o=(t[0][0]+t[1][0])/2-i*e/100,r=(t[0][1]+t[1][1])/2+n*e/100;return[t[0],[o,r],t[1]]}}return t}var vt=function(t){var n=t.x,i=t.y,o=void 0===i?0:i,r=t.height,s=void 0===r?12:r,l=t.fill,_=t.stroke,u=t.fontFamily,h=void 0===u?"FontAwesome":u,a=t.char,f=void 0===a?"":a,p=t.yOffset;return c("text",{x:n,y:(void 0===p?0:p)+o-3.5*s/12,fill:l,stroke:_,"font-family":h,"font-size":s+"px",style:"text-anchor: middle;"},"FontAwesome"===h?e.Utility.faChar(f):f)},yt=function(t,e){return(yt=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])})(t,e)};function xt(t,e){function n(){this.constructor=t}yt(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)}var gt=function(){return(gt=Object.assign||function(t){for(var e,n=1,i=arguments.length;n<i;n++)for(var o in e=arguments[n])Object.prototype.hasOwnProperty.call(e,o)&&(t[o]=e[o]);return t}).apply(this,arguments)};function mt(t,e,n,i){var o,r=arguments.length,s=r<3?e:null===i?i=Object.getOwnPropertyDescriptor(e,n):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(t,e,n,i);else for(var l=t.length-1;l>=0;l--)(o=t[l])&&(s=(r<3?o(s):r>3?o(e,n,s):o(e,n))||s);return r>3&&s&&Object.defineProperty(e,n,s),s}function kt(t,e){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(t,e)}var bt=function(t){var e=t.radius,n=void 0===e?32:e,i=t.fill,o=void 0===i?"navy":i,r=t.stroke,s=void 0===r?o:r,l=t.strokeWidth;return c("circle",{r:n,fill:o,stroke:s,"stroke-width":void 0===l?1:l})},wt=function(t){var e=t.radius,n=void 0===e?30:e,i=t.cornerRadius,o=void 0===i?0:i,r=t.fill,s=void 0===r?"white":r,l=t.stroke,_=t.strokeWidth;return c("rect",{x:-n,y:-n,rx:o,ry:o,width:2*n,height:2*n,fill:s,stroke:l||s,"stroke-width":void 0===_?1:_})},St=function(t){var e=t.width,n=void 0===e?30:e,i=t.height,o=void 0===i?30:i,r=t.cornerRadius,s=void 0===r?0:r,l=t.fill,_=void 0===l?"white":l,u=t.stroke,h=void 0===u?"black":u,a=t.strokeWidth;return c("rect",{x:-n/2,y:-o/2,rx:s,ry:s,width:n,height:o,fill:_,stroke:h||_,"stroke-width":void 0===a?1:a})},Ft=function(t){var e=t.shape,n=void 0===e?"circle":e,i=t.height,o=void 0===i?128:i,r=t.fill,s=t.stroke,l=t.strokeWidth,_=void 0===l?1:l;switch(n){case"square":return c(wt,{radius:o/2,fill:r,stroke:s,strokeWidth:_});case"circle":default:return c(bt,{radius:o/2,fill:r,stroke:s,strokeWidth:_})}},Tt=function(t){var n=t.shape,i=void 0===n?"circle":n,o=t.height,r=void 0===o?32:o,s=t.fill,l=t.stroke,_=t.imageFontFamily,u=void 0===_?"FontAwesome":_,h=t.imageChar,a=void 0===h?"":h,f=t.imageCharFill,d=void 0===f?e.Palette.textColor(s):f,v=t.padding,y=void 0===v?r/5:v,x=t.yOffset,g=void 0===x?0:x;return c(p,null,c(Ft,{shape:i,height:r,fill:s,stroke:l}),c(vt,{y:r/2,height:r-y,fontFamily:u,char:a,fill:d,"font-weight":400,yOffset:g}))};function Pt(t,e,n,i){N(c(t,e),n,i)}var Mt=function(t){function n(e){var n=t.call(this)||this;return n._component=e,n._props={},n}return xt(n,t),n.prototype.props=function(t){return arguments.length?(this._props=gt(gt({},this._props),t),this):this._props},n.prototype.prop=function(t,e){return 1===arguments.length?this._props[t]:(this._props[t]=e,this)},n.prototype.update=function(e,n){t.prototype.update.call(this,e,n),Pt(this._component,this._props,e)},mt([e.publish({},"object","Properties"),kt("design:type",Object)],n.prototype,"_props",void 0),n}(e.HTMLWidget),Et=function(t){function n(e){var n=t.call(this)||this;return n._component=e,n._props={},n}return xt(n,t),n.prototype.props=function(t){return arguments.length?(this._props=gt(gt({},this._props),t),this):this._props},n.prototype.prop=function(t,e){return 1===arguments.length?this._props[t]:(this._props[t]=e,this)},n.prototype.update=function(e,n){t.prototype.update.call(this,e,n),Pt(this._component,this._props,e)},mt([e.publish({},"object","Properties"),kt("design:type",Object)],n.prototype,"_props",void 0),n}(e.SVGWidget),Ct=function(t){var e=t.text,n=t.height,i=void 0===n?12:n,o=t.anchor,r=void 0===o?"middle":o,s=t.baseline,l=void 0===s?"middle":s,_=t.fontFamily,u=void 0===_?"Verdana":_,h=t.fill;return c("text",{"font-family":u,"font-size":i+"px","text-anchor":r,"dominant-baseline":l,fill:void 0===h?"black":h},e)},Nt=function(t){var n=t.text,i=t.height,o=void 0===i?12:i,r=t.fontFamily,s=void 0===r?"Verdana":r,l=t.fill,_=void 0===l?"black":l,u=t.onSizeUpdate,h=void 0===u?function(t){}:u,a=L(0),f=a[0],d=a[1],v=L(0),y=v[0],x=v[1];q(function(){return h({width:f,height:y})},[f,y]);var g=n.split("\n");d(e.Utility.textSize(g,s,o).width),x(g.length*(o+2)-2);var m=-y/2+o/2,k=g.map(function(t,e){return c("g",{transform:"translate(0 "+(m+e*(o+2))+")"},c(Ct,{text:t,height:o,fontFamily:s,fill:_}))});return c(p,null,k)},Ot=function(t){var e=t.text,n=t.height,i=void 0===n?12:n,o=t.fontFamily,r=void 0===o?"Verdana":o,s=t.padding,l=void 0===s?4:s,_=t.fill,u=void 0===_?"whitesmoke":_,h=t.stroke,a=void 0===h?"lightgray":h,f=t.textFill,d=void 0===f?"black":f,v=t.strokeWidth,y=void 0===v?1:v,x=t.onSizeUpdate,g=void 0===x?function(t){}:x,m=L(0),k=m[0],b=m[1],w=L(0),S=w[0],F=w[1];return q(function(){return g({width:k,height:S})},[k,S]),c(p,null,c(St,{width:k+2*l,height:S+2*l,fill:u,stroke:a,strokeWidth:y}),c(Nt,{text:e,fontFamily:r,height:i,fill:d,onSizeUpdate:function(t){b(t.width),F(t.height)}}))},jt=function(t){var e=t.x,n=t.y,i=t.annotations,o=void 0===i?[]:i,r=t.stepSize,s=void 0===r?-16:r,l=o.map(function(t,i){return c("g",{key:t,transform:"translate("+(e+i*s)+" "+n+")"},c("use",{href:"#"+t}))});return c(p,null,l)};t.Annotations=jt,t.BUILD_VERSION="2.15.21",t.Circle=bt,t.Edge=function(t){var e=t.points,n=void 0===e?[]:e,i=t.curveDepth,o=void 0===i?16:i,r=t.stroke,s=void 0===r?"black":r,l=t.strokeDasharray;return console.log("strokeDasharray",l),c("path",{stroke:s,"stroke-dasharray":l,d:pt(dt(n,o))})},t.HTMLAdapter=Mt,t.Icon=Tt,t.Icons=function(t){var e=t.icons,n=(void 0===e?[]:e).map(function(t){return c("g",{key:t.id,id:t.id},c(Tt,gt({},t)))});return c(p,null,n)},t.ImageChar=vt,t.PKG_NAME="@hpcc-js/react",t.PKG_VERSION="2.9.15",t.React=$,t.Rectangle=St,t.SVGAdapter=Et,t.Shape=Ft,t.Square=wt,t.Subgraph=function(t){var n=t.text,i=t.width,o=void 0===i?100:i,r=t.height,s=void 0===r?100:r,l=t.fill,_=void 0===l?"transparent":l,u=t.stroke,h=void 0===u?"black":u,a=t.fontHeight,f=void 0===a?12:a,d=t.fontFamily,v=e.Utility.textSize(n,d,f,!1);return c(p,null,c(St,{width:o,height:s,fill:_,stroke:h}),c("g",{transform:"translate("+((-o+v.width)/2+4)+" "+((-s+v.height)/2+4)+")"},c(Nt,{height:f,text:n,fontFamily:d})))},t.Text=Nt,t.TextBox=Ot,t.TextLine=Ct,t.Vertex=function(t){var e=t.categoryID,n=void 0===e?"":e,i=t.text,o=void 0===i?"":i,r=t.textHeight,s=void 0===r?12:r,l=t.textPadding,_=void 0===l?4:l,u=t.icon,h=void 0===u?{}:u,a=t.annotationsHeight,f=void 0===a?12:a,p=t.annotations,d=void 0===p?[]:p,v=t.textFill,y=t.textboxFill,x=t.textboxStroke,g=t.textFontFamily,m=t.onSizeUpdate,k=void 0===m?function(t){}:m,b=L(0),w=b[0],S=b[1],F=L(0),T=F[0],P=F[1];q(function(){return k({width:0,height:0})},[w,T]),h=gt({imageChar:"fa-question",height:32,fill:"transparent"},h);var M=w;return M+=4,n?c("g",{transform:"translate(0 "+-(2*h.height/6+s+8)/2+")"},c("use",{href:"#"+n}),c("g",{transform:"translate(0 "+(h.height/3+T/2+_)+")"},c(Ot,{text:o,height:s,padding:_,onSizeUpdate:E,textFill:v,fill:y,stroke:x,fontFamily:g})),c(jt,{x:M/2,y:h.height/3+T+_+f/3,annotations:d})):c("g",{transform:"translate(0 "+-(2*h.height/6+s+8)/2+")"},c(Tt,gt({},h)),c("g",{transform:"translate(0 "+(h.height/3+T/2+_)+")"},c(Ot,{text:o,height:s,padding:_,onSizeUpdate:E,textFill:v,fill:y,stroke:x,fontFamily:g})));function E(t){S(t.width),P(t.height)}},t.Vertex2=function(t){var n=t.categoryID,i=void 0===n?"":n,o=t.text,r=void 0===o?"":o,s=t.textHeight,l=void 0===s?12:s,_=t.textPadding,u=void 0===_?4:_,h=t.icon,a=void 0===h?{}:h,f=t.textFill,d=void 0===f?"black":f,v=t.textboxFill,y=void 0===v?"white":v,x=t.textboxStroke,g=void 0===x?"black":x,m=t.textFontFamily,k=t.annotationsHeight,b=void 0===k?12:k,w=t.annotations,S=void 0===w?[]:w;a=gt({imageChar:"fa-question",imageCharFill:"white",height:32,fill:"black",shape:"square"},a);var F=l+2*u,T=e.Utility.textSize(r,m,l,!1).width,P=b,M=F/2,E=-(2*a.height/6+l+8)/2,C=-a.height/2,N=Math.ceil(T/2+u),O=M-a.height/2,j=P/2,A=M;return i?c("g",{transform:"translate(0 "+E+")"},c("g",{transform:"translate("+C+" 0)"},c("use",{href:"#"+i})),c("g",{transform:"translate("+N+" "+O+")"},c(Ot,{text:r,height:l,padding:u,strokeWidth:1,stroke:g,fill:y,textFill:d,fontFamily:m})),c(jt,{x:j,y:A,annotations:S,stepSize:P})):c(p,null,c("g",{transform:"translate("+C+" 0)scale(1.0002)"},c(Tt,gt({},a,{shape:"square"}))),c("g",{transform:"translate("+N+" "+O+")scale(1.0002)"},c(Ot,{text:r,height:l,padding:u,stroke:g,fill:y})))},t.render=Pt,t.svgRender=function(t,e,n,i){N(c("svg",null,c(t,e)),n,i)},Object.defineProperty(t,"__esModule",{value:!0})}); | ||
//# sourceMappingURL=index.min.js.map |
{ | ||
"name": "@hpcc-js/react", | ||
"version": "2.9.14", | ||
"version": "2.9.15", | ||
"description": "hpcc-js - Viz React", | ||
@@ -13,3 +13,3 @@ "main": "dist/index.js", | ||
"*": [ | ||
"types-ts3.4/*" | ||
"types-3.4/index.d.ts" | ||
] | ||
@@ -41,7 +41,7 @@ } | ||
"dependencies": { | ||
"@hpcc-js/common": "^2.28.0", | ||
"@hpcc-js/preact-shim": "^2.13.7" | ||
"@hpcc-js/common": "^2.29.0", | ||
"@hpcc-js/preact-shim": "^2.13.8" | ||
}, | ||
"devDependencies": { | ||
"@hpcc-js/bundle": "^2.10.13", | ||
"@hpcc-js/bundle": "^2.10.14", | ||
"downlevel-dts": "^0.4.0", | ||
@@ -73,3 +73,3 @@ "npm-run-all": "4.1.5", | ||
"homepage": "https://github.com/hpcc-systems/Visualization", | ||
"gitHead": "1066859ae5a016375ab5d5e5860a1f924784103c" | ||
"gitHead": "d4f5f6ccaa5c156107f8cd39d1eccd8f58b9a97d" | ||
} |
export declare const PKG_NAME = "@hpcc-js/react"; | ||
export declare const PKG_VERSION = "2.9.14"; | ||
export declare const BUILD_VERSION = "2.15.19"; | ||
export declare const PKG_VERSION = "2.9.15"; | ||
export declare const BUILD_VERSION = "2.15.21"; | ||
//# sourceMappingURL=__package__.d.ts.map |
export declare const PKG_NAME = "@hpcc-js/react"; | ||
export declare const PKG_VERSION = "2.9.14"; | ||
export declare const BUILD_VERSION = "2.15.19"; | ||
export declare const PKG_VERSION = "2.9.15"; | ||
export declare const BUILD_VERSION = "2.15.21"; | ||
//# 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
571800
Updated@hpcc-js/common@^2.29.0
Updated@hpcc-js/preact-shim@^2.13.8