@visactor/react-vchart 2.0.18 → 2.0.19
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/index.js +1 -1
- package/build/index.min.js +1 -1
- package/cjs/index.d.ts +1 -1
- package/cjs/index.js +1 -1
- package/cjs/index.js.map +1 -1
- package/esm/index.d.ts +1 -1
- package/esm/index.js +1 -1
- package/esm/index.js.map +1 -1
- package/package.json +5 -5
package/build/index.js
CHANGED
|
@@ -88877,7 +88877,7 @@
|
|
|
88877
88877
|
|
|
88878
88878
|
const VChartSimple = createChart('VChartSimple');
|
|
88879
88879
|
|
|
88880
|
-
const version = "2.0.
|
|
88880
|
+
const version = "2.0.19";
|
|
88881
88881
|
|
|
88882
88882
|
exports.Area = Area;
|
|
88883
88883
|
exports.AreaChart = AreaChart;
|
package/build/index.min.js
CHANGED
|
@@ -21,4 +21,4 @@ let S$=class t extends o${constructor(e){super(z({},t.defaultOptions,e)),this.fi
|
|
|
21
21
|
OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
|
|
22
22
|
PERFORMANCE OF THIS SOFTWARE.
|
|
23
23
|
***************************************************************************** */
|
|
24
|
-
function(t,e){var i={};for(var s in t)Object.prototype.hasOwnProperty.call(t,s)&&e.indexOf(s)<0&&(i[s]=t[s]);if(null!=t&&"function"==typeof Object.getOwnPropertySymbols){var n=0;for(s=Object.getOwnPropertySymbols(t);n<s.length;n++)e.indexOf(s[n])<0&&Object.prototype.propertyIsEnumerable.call(t,s[n])&&(i[s[n]]=t[s[n]])}return i}(i,["className","style","width","height","id"]);return e.useLayoutEffect((()=>{o(!0)}),[]),e.createElement("div",{ref:r,id:null==u?void 0:u.toString(),className:l,style:Object.assign({position:"relative",height:d||"100%",width:c||"100%"},h)},a?e.createElement(t,Object.assign({ref:n,container:r.current},s?s(p):p)):e.createElement(e.Fragment,null))}));return n.displayName=i||t.name,n}const B1=e.createContext(null);B1.displayName="ChartContext";var P1,E1={exports:{}},O1={};E1.exports=function(){if(P1)return O1;P1=1;var t,e=Symbol.for("react.element"),i=Symbol.for("react.portal"),s=Symbol.for("react.fragment"),n=Symbol.for("react.strict_mode"),r=Symbol.for("react.profiler"),a=Symbol.for("react.provider"),o=Symbol.for("react.context"),l=Symbol.for("react.server_context"),h=Symbol.for("react.forward_ref"),c=Symbol.for("react.suspense"),d=Symbol.for("react.suspense_list"),u=Symbol.for("react.memo"),p=Symbol.for("react.lazy"),g=Symbol.for("react.offscreen");function f(t){if("object"==typeof t&&null!==t){var g=t.$$typeof;switch(g){case e:switch(t=t.type){case s:case r:case n:case c:case d:return t;default:switch(t=t&&t.$$typeof){case l:case o:case h:case p:case u:case a:return t;default:return g}}case i:return g}}}return t=Symbol.for("react.module.reference"),O1.ContextConsumer=o,O1.ContextProvider=a,O1.Element=e,O1.ForwardRef=h,O1.Fragment=s,O1.Lazy=p,O1.Memo=u,O1.Portal=i,O1.Profiler=r,O1.StrictMode=n,O1.Suspense=c,O1.SuspenseList=d,O1.isAsyncMode=function(){return!1},O1.isConcurrentMode=function(){return!1},O1.isContextConsumer=function(t){return f(t)===o},O1.isContextProvider=function(t){return f(t)===a},O1.isElement=function(t){return"object"==typeof t&&null!==t&&t.$$typeof===e},O1.isForwardRef=function(t){return f(t)===h},O1.isFragment=function(t){return f(t)===s},O1.isLazy=function(t){return f(t)===p},O1.isMemo=function(t){return f(t)===u},O1.isPortal=function(t){return f(t)===i},O1.isProfiler=function(t){return f(t)===r},O1.isStrictMode=function(t){return f(t)===n},O1.isSuspense=function(t){return f(t)===c},O1.isSuspenseList=function(t){return f(t)===d},O1.isValidElementType=function(e){return"string"==typeof e||"function"==typeof e||e===s||e===r||e===n||e===c||e===d||e===g||"object"==typeof e&&null!==e&&(e.$$typeof===p||e.$$typeof===u||e.$$typeof===a||e.$$typeof===o||e.$$typeof===h||e.$$typeof===t||void 0!==e.getModuleId)},O1.typeOf=f,O1}();var R1=E1.exports;const I1=t=>{let i=[];return e.Children.forEach(t,(t=>{u(t)||(R1.isFragment(t)?i=i.concat(I1(t.props.children)):i.push(t))})),i},L1={onPointerDown:"pointerdown",onPointerUp:"pointerup",onPointerUpOutside:"pointerupoutside",onPointerTap:"pointertap",onPointerOver:"pointerover",onPointerMove:"pointermove",onPointerEnter:"pointerenter",onPointerLeave:"pointerleave",onPointerOut:"pointerout",onMouseDown:"mousedown",onMouseUp:"mouseup",onMouseUpOutside:"mouseupoutside",onMouseMove:"mousemove",onMouseOver:"mouseover",onMouseOut:"mouseout",onMouseEnter:"mouseenter",onMouseLeave:"mouseleave",onPinch:"pinch",onPinchStart:"pinchstart",onPinchEnd:"pinchend",onPan:"pan",onPanStart:"panstart",onPanEnd:"panend",onDrag:"drag",onDragStart:"dragstart",onDragEnter:"dragenter",onDragLeave:"dragleave",onDragOver:"dragover",onDragEnd:"dragend",onRightDown:"rightdown",onRightUp:"rightup",onRightUpOutside:"rightupoutside",onTouchStart:"touchstart",onTouchEnd:"touchend",onTouchEndOutside:"touchendoutside",onTouchMove:"touchmove",onTouchCancel:"touchcancel",onPress:"press",onPressUp:"pressup",onPressEnd:"pressend",onSwipe:"swipe",onDrop:"drop",onWeel:"wheel",onClick:"click",onDblClick:"dblclick"},D1={onLegendItemHover:"legendItemHover",onLegendItemUnHover:"legendItemUnHover",onLegendItemClick:"legendItemClick",onLegendFilter:"legendFilter",onLegendSelectedDataChange:"legendSelectedDataChange"},F1={onBrushStart:"brushStart",onBrushChange:"brushChange",onBrushEnd:"brushEnd",onBrushClear:"brushClear"},j1={onDataZoomChange:"dataZoomChange"},z1={onPlayerPlay:"playerPlay",onPlayerPause:"playerPause",onPlayerEnd:"playerEnd",onPlayerChange:"playerChange",onPlayerForward:"playerForward",onPlayerBackward:"playerBackward"},H1={onScrollBarChange:"scrollBarChange"},V1=Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},D1),F1),z1),j1),H1),{onDimensionHover:"dimensionHover",onDimensionClick:"dimensionClick"}),{onInitialized:"initialized",onRendered:"rendered",onRenderFinished:"renderFinished",onAnimationFinished:"animationFinished",onLayoutStart:"layoutStart",onLayoutEnd:"layoutEnd"}),{onDrill:"drill"}),L1),N1=Object.keys(V1).concat(Object.keys(L1).map((t=>`${t}Filter`))),W1=Object.keys(L1),U1=Object.keys(L1).reduce(((t,e)=>(t[L1[e]]=e,t)),{}),G1=(t,e=L1)=>{const i={};return Object.keys(t).forEach((s=>{e[s]&&t[s]&&(i[s]=t[s])})),i},Y1=(t,e,i,s=L1)=>{if(!e&&!i||!t)return!1;const n=i?G1(i,s):null,r=e?G1(e,s):null;return n&&Object.keys(n).forEach((e=>{r&&r[e]&&r[e]===n[e]||t.off(s[e],n[e])})),r&&Object.keys(r).forEach((i=>{if(!n||!n[i]||n[i]!==r[i]){const n=e[`${i}Filter`];n?t.on(s[i],n,r[i]):t.on(s[i],r[i])}})),!0},$1=`${AL}_REACT_TOOLTIP`,X1=["children","hooks","ref",...N1,"vchartConstructor","vchartConstrouctor","useSyncRender","skipFunctionDiff","onError","onReady","spec","container","options","morphConfig"],K1={morph:!1,enableExitAnimation:!1},q1=(t,e)=>`${t&&t.type&&(t.type.displayName||t.type.name)}-${e}`,Z1=e.forwardRef(((t,s)=>{const[n,r]=e.useState(0),a=e.useRef({});e.useImperativeHandle(s,(()=>{var t;return null===(t=a.current)||void 0===t?void 0:t.chart}));const o=!!t.spec,l=e.useRef(!1),h=e.useRef(H(t,X1)),c=e.useRef(null),d=e.useRef(null),g=!!t.skipFunctionDiff,[f,m]=e.useState(null),v=t=>{let s;o&&t.spec?(s=t.spec,p(t.data)&&(s=Object.assign(Object.assign({},t.spec),{data:t.data}))):s=Object.assign(Object.assign({},h.current),c.current);const n=((t,s,n)=>{var r,a,o;const l=Object.assign({},null!=n?n:{});let h;if((null==n?void 0:n.tooltipRender)?(h=n.tooltipRender,delete l.tooltipRender):s.tooltipRender&&(h=s.tooltipRender),h){let c;if((null==n?void 0:n.reserveDefaultTooltip)?(c=n.reserveDefaultTooltip,delete l.reserveDefaultTooltip):c=s.reserveDefaultTooltip,!c){const t=Object.assign({},null!==(a=null===(r=l.style)||void 0===r?void 0:r.panel)&&void 0!==a?a:{});t.padding=0,t.border=Object.assign(Object.assign({},t.border),{radius:0}),t.backgroundColor="unset",l.style=Object.assign(Object.assign({},null!==(o=l.style)&&void 0!==o?o:{}),{panel:t})}return Object.assign(Object.assign({},l),{updateElement:(s,n,r)=>{const{changePositionOnly:a}=r;if(!a){if(!c){s.style.width="auto",s.style.height="auto",s.style.minHeight="auto";for(let t=0;t<s.children.length;t++){const e=s.children[t];e.className!==$1&&"none"!==e.style.display&&(e.style.display="none")}}t(i.createPortal(e.createElement("div",{className:$1},h(s,n,r)),s))}}})}return n})(m,t,s.tooltip);return n&&(s.tooltip=n),s},y=e=>{if(!l.current){if(!a.current||!a.current.chart)return;e&&Y1(a.current.chart,t,d.current,V1),r(n+1),t.onReady&&t.onReady(a.current.chart,0===n)}};return e.useEffect((()=>{var e,i,s;const n=o?null:(t=>{const e={};return I1(t.children).map(((t,i)=>{const s=t&&t.type&&t.type.parseSpec;if(s&&t.props){const n=s(u(t.props.componentId)?Object.assign(Object.assign({},t.props),{componentId:q1(t,i)}):t.props);n.isSingle?e[n.specName]=n.spec:(e[n.specName]||(e[n.specName]=[]),e[n.specName].push(n.spec))}})),e})(t);if(!(null===(e=a.current)||void 0===e?void 0:e.chart))return o||(c.current=n),(t=>{var e;const i=new(null!==(e=t.vchartConstructor)&&void 0!==e?e:t.vchartConstrouctor)(v(t),Object.assign(Object.assign({},t.options),{onError:t.onError,autoFit:!0,dom:t.container}));a.current=Object.assign(Object.assign({},a.current),{chart:i}),l.current=!1})(t),a.current.chart&&(Y1(a.current.chart,t,d.current,V1),a.current.chart.renderSync({reuse:!1}),y()),void(d.current=t);if(o)return void(W(d.current.spec,t.spec,{skipFunction:g})?d.current.data!==t.data&&(a.current.chart.updateFullDataSync(t.data),y(!0),d.current=t):(a.current.chart.updateSpecSync(v(t),void 0,null!==(i=t.morphConfig)&&void 0!==i?i:K1),y(!0),d.current=t));const r=H(t,X1);W(r,h.current,{skipFunction:g})&&W(n,c.current,{skipFunction:g})||(h.current=r,c.current=n,a.current.chart.updateSpecSync(v(t),void 0,null!==(s=t.morphConfig)&&void 0!==s?s:K1),y(!0),d.current=t)}),[t]),e.useEffect((()=>()=>{a&&a.current&&a.current.chart&&(a.current.chart.release(),a.current.chart=null),d.current=null,l.current=!0}),[]),e.createElement(B1.Provider,{value:a.current},I1(t.children).map(((t,i)=>{if("string"==typeof t)return null;const s=q1(t,i);return e.createElement(e.Fragment,{key:s},e.cloneElement(t,{updateId:n,componentId:s}))})),f)})),J1=(t,e,i)=>{i&&i.length&&e.vchartConstructor&&e.vchartConstructor.useRegisters(i);const s=T1(Z1,t,(t=>e?Object.assign(t,e):t));return s.displayName=t,s},Q1=[rj,Hb,gJ,W0,GH,KH,ZH,QH,xJ,v0,rJ,zJ,YZ,_0,v1,NQ,IQ,d0,VJ,jQ],t2=J1("AreaChart",{type:"area",vchartConstructor:vj},[_N,s0,a0,...Q1]),e2=J1("BarChart",{type:"bar",vchartConstructor:vj},[DN,s0,a0,...Q1]);class i2 extends IN{_getDefaultSeriesSpec(t){const e=super._getDefaultSeriesSpec(t);return e.barWidth=t.barWidth,e.barMaxWidth=t.barMaxWidth,e.barMinWidth=t.barMinWidth,e.barGapInGroup=t.barGapInGroup,e}}var s2,n2,r2,a2,o2;!function(t){t.bar3d="bar3d",t.histogram3d="histogram3d",t.rangeColumn3d="rangeColumn3d",t.pie3d="pie3d",t.wordCloud3d="wordCloud3d",t.funnel3d="funnel3d"}(s2||(s2={})),function(t){t.rect3d="rect3d",t.arc3d="arc3d",t.pyramid3d="pyramid3d"}(n2||(n2={})),function(t){t.bar3d="bar3d",t.rangeColumn3d="rangeColumn3d",t.pie3d="pie3d",t.wordCloud3d="wordCloud3d",t.funnel3d="funnel3d"}(r2||(r2={})),function(t){t.bar3d="bar3d",t.funnel3d="funnel3d",t.transform3d="transform3d",t.pie3d="pie3d"}(a2||(a2={})),function(t){t.bar3d_horizontal="bar3d_horizontal",t.bar3d_vertical="bar3d_vertical",t.bar3d_stack="bar3d_stack",t.rangeColumn3d_horizontal="rangeColumn3d_horizontal",t.rangeColumn3d_vertical="rangeColumn3d_vertical"}(o2||(o2={}));const l2=t=>t.zField||t.series&&t.series.some((t=>t.zField));class h2 extends Gz{constructor(){super(h2.type),this.type="VChart3dPlugin"}onInit(t,e){var i;if(this._is3d=(t=>{return!!t&&("bar3d"===(e=t.type)||"funnel3d"===e||"histogram3d"===e||"pie3d"===e||"rangeColumn3d"===e||"wordCloud3d"===e||l2(t),!0);var e})(e),this._is3d){const{globalInstance:e}=t;e.getCompiler().getStage().set3dOptions(Object.assign({},null===(i=e._option)||void 0===i?void 0:i.options3d))}}onBeforeInitChart(t,e,i){this._is3d&&l2(e)&&(e.layout={type:"layout3d"})}}h2.pluginType="chart",h2.type="VChart3dPlugin";const c2=()=>{q0(h2),B_(),E_(),__.registerPlugin("ViewTransform3dPlugin",Vb)},d2={label:{name:"label",type:"text"},bar3d:{name:"bar3d",type:"rect3d"}};class u2 extends EN{_transformLabelSpec(t){this._addMarkLabelSpec(t,"bar3d")}}class p2 extends jF{_getDefaultStyle(){return Object.assign(Object.assign({},super._getDefaultStyle()),{width:void 0,height:void 0,length:3})}setDataLabelType(){return"rect"}constructor(t,e){super(t,e),this.type=p2.type,this._markConfig.support3d=!0}setMarkConfig(t){super.setMarkConfig(t),this._markConfig.support3d=!0}}p2.type="rect3d";const g2=()=>{iL.registerMark(p2.type,p2),nw(),tw(),ej(),iL.registerGraphicComponent("rect3d",gf)};class f2 extends ON{constructor(){super(...arguments),this.type=r2.bar3d,this._barMarkName="bar3d",this._barMarkType="rect3d",this.transformerConstructor=u2}}f2.type=r2.bar3d,f2.mark=d2,f2.builtInTheme={bar3d:{bar3d:{style:{length:3}},label:{visible:!1,style:{offset:12,position:"outside"}}}},f2.transformerConstructor=u2;const m2=()=>{iL.registerAnimation("bar3d",((t,e)=>({appear:MN(t,e),enter:xN(t,!1),exit:SN(t,!1),disappear:SN(t)}))),g2(),KH(),GH(),iL.registerSeries(f2.type,f2)};class v2 extends SF{layoutItems(t,e,i,s){this._layoutInit(t,e,i,s);const n={recomputeWidth:this.recomputeWidth,recomputeHeight:this.recomputeHeight};this._layoutNormalItems(e,n);const r={left:this.leftCurrent,top:this.topCurrent,right:this.rightCurrent,bottom:this.bottomCurrent},a=e.filter((t=>"absolute"===t.layoutType)),o=a.filter((t=>"z"===t.layoutOrient));let l={width:0,height:0};o.length&&(l=o[0].getLayoutRect()),this.leftCurrent+=l.width/8,this.rightCurrent-=l.width/8,this.topCurrent+=l.height/8,this.bottomCurrent-=l.height/8;const{regionItems:h,relativeItems:c,relativeOverlapItems:d,allRelatives:u,overlapItems:p}=this._groupItems(e);this.layoutRegionItems(h,c,d,p,n),this._processAutoIndent(h,c,d,p,u,r,n);const g=a.filter((t=>"z"!==t.layoutOrient));this.layoutAbsoluteItems(g);const f=c.filter((t=>"axes"===t.model.specKey&&dz(t.layoutOrient)))[0],m=c.filter((t=>"axes"===t.model.specKey&&uz(t.layoutOrient)))[0];if(f&&o.length){const t=f.getLayoutStartPoint(),e=f.getLayoutRect(),i={x:"left"===m.layoutOrient?t.x+e.width:t.x,y:t.y,width:this._chartLayoutRect.width,height:this._chartLayoutRect.height};o[0].model.directionStr="left"===m.layoutOrient?"r2l":"l2r";const s=f.getLayoutRect(),n=m.getLayoutRect(),r={length:o[0].getLayoutRect().width,width:s.width,height:n.height};f.model.setLayout3dBox&&f.model.setLayout3dBox(r),m.model.setLayout3dBox&&m.model.setLayout3dBox(r),o[0].model.setLayout3dBox&&o[0].model.setLayout3dBox(r),this.layoutZAxisItems(o,i)}}layoutZAxisItems(t,e){t.forEach((t=>{t.absoluteLayoutInRect(e)}))}getItemComputeLayoutRect(t,e){return e||(e={offsetLeft:0,offsetRight:0,offsetTop:0,offsetBottom:0}),{width:this.rightCurrent-this.leftCurrent-t.layoutPaddingLeft-t.layoutPaddingRight-(e.offsetLeft+e.offsetRight),height:this.bottomCurrent-this.topCurrent-t.layoutPaddingTop-t.layoutPaddingBottom-(e.offsetTop+e.offsetBottom)}}_checkAutoIndent(t){const e={top:0,left:0,bottom:0,right:0},i=this._chartViewBox.x2-this._chartViewBox.x1-this.rightCurrent,s=this._chartViewBox.y2-this._chartViewBox.y1-this.bottomCurrent;return t.forEach((t=>{if(!t.getModelVisible()||!t.autoIndent)return;const n="left"===t.layoutOrient||"right"===t.layoutOrient,r=t.getLastComputeOutBounds();n?(e.top=Math.max(e.top,r.y1-this.topCurrent),e.bottom=Math.max(e.bottom,r.y2-s)):(e.left=Math.max(e.left,r.x1-this.leftCurrent),e.right=Math.max(e.right,r.x2-i))})),e}}v2.type="layout3d";const y2=()=>{iL.registerLayout(v2.type,v2)};let _2=class extends LN{constructor(){super(...arguments),this.transformerConstructor=i2,this.type="bar3d",this.seriesType=r2.bar3d}};_2.type="bar3d",_2.seriesType=r2.bar3d,_2.transformerConstructor=i2;const b2=()=>{c2(),y2(),m2(),iL.registerChart(_2.type,_2)},x2=Object.assign(Object.assign({},Uj),{funnel3d:{name:"funnel3d",type:"pyramid3d"},transform3d:{name:"transform3d",type:"pyramid3d"},transformLabel:{name:"transformLabel",type:"text"},outerLabel:{name:"outerLabel",type:"text"},outerLabelLine:{name:"outerLabelLine",type:"rule"}});class S2 extends mX{_transformLabelSpec(t){this._addMarkLabelSpec(t,"funnel3d"),t.isTransform&&this._addMarkLabelSpec(t,"transform3d","transformLabel")}}class k2 extends uX{_getDefaultStyle(){const t=super._getDefaultStyle();return t.stroke=!1,t}constructor(t,e){super(t,e),this.type=k2.type,this._markConfig.support3d=!0}setMarkConfig(t){super.setMarkConfig(t),this._markConfig.support3d=!0}}k2.type="pyramid3d";const A2=rL(!0);class M2 extends vX{constructor(){super(...arguments),this.type=r2.funnel3d,this._funnelMarkName="funnel3d",this._funnelMarkType="pyramid3d",this._transformMarkName="transform3d",this._transformMarkType="pyramid3d",this.transformerConstructor=S2}initMark(){var t,e,i,s,n,r,a,o;if(this._funnelMark=this._createMark(Object.assign(Object.assign({},M2.mark.funnel3d),{name:this._funnelMarkName,type:this._funnelMarkType}),{themeSpec:null===(t=this._theme)||void 0===t?void 0:t.funnel3d,key:this._seriesField,isSeriesMark:!0},{support3d:!0}),this._spec.isTransform&&(this._funnelTransformMark=this._createMark(Object.assign(Object.assign({},M2.mark.transform3d),{name:this._transformMarkName,type:this._transformMarkType}),{themeSpec:null===(e=this._theme)||void 0===e?void 0:e.transform3d,key:this._seriesField,skipBeforeLayouted:!1,dataView:this._viewDataTransform.getDataView(),dataProductId:this._viewDataTransform.getProductId()})),null===(s=null===(i=this._spec)||void 0===i?void 0:i.outerLabel)||void 0===s?void 0:s.visible){const{line:t}=null!==(n=this._spec.outerLabel)&&void 0!==n?n:{},{line:e}=null!==(a=null===(r=this._theme)||void 0===r?void 0:r.outerLabel)&&void 0!==a?a:{};this._funnelOuterLabelMark.label=this._createMark(M2.mark.outerLabel,{themeSpec:null===(o=this._theme)||void 0===o?void 0:o.outerLabel,key:this._seriesField,markSpec:this._spec.outerLabel}),this._funnelOuterLabelMark.line=this._createMark(M2.mark.outerLabelLine,{themeSpec:e,key:this._seriesField,markSpec:t})}}initMarkStyle(){super.initMarkStyle();const t=this._funnelMark;t&&this.setMarkStyle(t,{z:t=>{if(this._isHorizontal())return 0;const e=this.getPoints(t),i=Math.max(Math.abs(e[0].x-e[1].x),Math.abs(e[2].x-e[3].x));return(this._computeMaxSize()-i)/2}},"normal",nF.Series)}initLabelMarkStyle(t){var e,i;super.initLabelMarkStyle(t),this.setMarkStyle(t,{z:t=>{if(this._isHorizontal())return 0;const e=this.getPoints(t),i=Math.max(Math.abs(e[0].x-e[1].x),Math.abs(e[2].x-e[3].x));return(this._computeMaxSize()-i)/2}},"normal",nF.Series),this._labelMark=t,null===(e=this._funnelOuterLabelMark)||void 0===e||e.label,null===(i=this._funnelOuterLabelMark)||void 0===i||i.line}}M2.type=r2.funnel3d,M2.mark=x2,M2.builtInTheme={funnel3d:A2},M2.transformerConstructor=S2;const w2=()=>{iL.registerMark(k2.type,k2),nw(),qM(),nj(),iL.registerGraphicComponent("pyramid3d",Uf),uU(),AW(),iL.registerSeries(M2.type,M2)};let C2=class extends xV{constructor(){super(...arguments),this.transformerConstructor=nZ,this.type="funnel3d",this.seriesType=r2.funnel3d}};C2.type="funnel3d",C2.seriesType=r2.funnel3d,C2.transformerConstructor=nZ;const T2=()=>{sN(),c2(),y2(),w2(),iL.registerChart(C2.type,C2)};let B2=class extends Wq{constructor(){super(...arguments),this.transformerConstructor=Uq,this.type="histogram3d",this.seriesType=r2.bar3d}_setModelOption(){this._modelOption.getDimensionInfo=jV,this._modelOption.getDimensionInfoByValue=HV,this._modelOption.getRectByDimensionData=YV}};B2.type="histogram3d",B2.seriesType=r2.bar3d,B2.transformerConstructor=Uq;const P2=()=>{rN(),eN(),sN(),OV(),EV(),c2(),y2(),m2(),iL.registerChart(B2.type,B2)};class E2 extends Aq{transformSpec(t){super.transformSpec(t),t.series.forEach((e=>{"pie3d"===e.type&&(e.angle3d=t.angle3d)}))}}class O2 extends FU{setDataLabelType(){return"arc"}constructor(t,e){super(t,e),this.type=O2.type,this._markConfig.support3d=!0}setMarkConfig(t){super.setMarkConfig(t),this._markConfig.support3d=!0}}O2.type="arc3d";const R2=Object.assign(Object.assign({},Uj),{pie3d:{name:"pie3d",type:"arc3d"},labelLine:{name:"labelLine",type:"path"}});class I2 extends VU{_transformLabelSpec(t){this._addMarkLabelSpec(t,"pie3d")}}class L2 extends WU{constructor(){super(...arguments),this.type=r2.pie3d,this._pieMarkName="pie3d",this._pieMarkType="arc3d",this.transformerConstructor=I2}setAttrFromSpec(){var t,e;super.setAttrFromSpec(),this._angle3d=null!==(e=null===(t=this._spec)||void 0===t?void 0:t.angle3d)&&void 0!==e?e:-Math.PI/3}initMarkStyle(){super.initMarkStyle();const t=this._pieMark;t&&this.setMarkStyle(t,{beta:()=>this._angle3d},"normal",nF.Series)}initLabelMarkStyle(t,e={}){t&&(super.initLabelMarkStyle(t),this.setMarkStyle(t,{support3d:!0},void 0,nF.Mark))}}L2.type=r2.pie3d,L2.mark=R2,L2.builtInTheme={pie3d:{outerRadius:.6,pie3d:{style:{height:10,fillOpacity:1}},label:{visible:!1,interactive:!0,position:"outside"}}},L2.transformerConstructor=I2;const D2=()=>{iL.registerAnimation("pie3d",((t,e)=>({appear:DU(t,e),enter:RU(t),exit:IU(t),disappear:LU(t)}))),ij(),nw(),OM(),iL.registerGraphicComponent("arc3d",zf),iL.registerMark("arc3d",O2),iL.registerSeries(L2.type,L2)};let F2=class extends Mq{constructor(){super(...arguments),this.transformerConstructor=E2,this.type="pie3d",this.seriesType=r2.pie3d}};F2.type="pie3d",F2.seriesType=r2.pie3d,F2.transformerConstructor=E2;const j2=()=>{sN(),c2(),y2(),D2(),iL.registerChart(F2.type,F2)},z2=t=>({custom:iB,customParameters:()=>t,easing:"linear",loop:1/0,duration:6e3});class H2 extends eY{constructor(){super(...arguments),this.type=r2.wordCloud3d}_wordCloudTransformOption(){var t;return Object.assign(Object.assign({},super._wordCloudTransformOption()),{postProjection:null!==(t=this._spec.postProjection)&&void 0!==t?t:"StereographicProjection",depth_3d:this._spec.depth_3d})}_wordCloudShapeTransformOption(){var t;return Object.assign(Object.assign({},super._wordCloudShapeTransformOption()),{postProjection:null!==(t=this._spec.postProjection)&&void 0!==t?t:"StereographicProjection",depth_3d:this._spec.depth_3d})}initMark(){this._wordMark=this._createMark(eY.mark.word,{groupKey:this._seriesField,isSeriesMark:!0},{support3d:!0})}initMarkStyle(){super.initMarkStyle();const t=this._wordMark;t&&this.setMarkStyle(t,{z:t=>{var e;return null!==(e=t.z)&&void 0!==e?e:0}},"normal",nF.Series)}initAnimation(){var t,e;const i=null!==(t=this._padding)&&void 0!==t?t:{};this._wordMark&&this._wordMark.setAnimationConfig(Jj(null===(e=iL.getAnimationInKey("wordCloud3d"))||void 0===e?void 0:e((()=>{var t;const e=this.getCompiler().getStage(),s=e.width-i.left||0-i.right||0,n=e.height-i.top||0-i.bottom||0,r=Math.max(s,n)/2;return{center:{x:r,y:r,z:null!==(t=this._spec.depth_3d)&&void 0!==t?t:r},r:r}})),Qj("word",this._spec,this._markAttributeContext)))}}H2.type=r2.wordCloud3d,H2.builtInTheme={wordCloud3d:{word:{padding:1,style:{textAlign:"center",textBaseline:"alphabetic"}}}};const V2=()=>{uU(),iL.registerAnimation("wordCloud3d",(t=>({appear:z2(t)}))),iL.registerSeries(H2.type,H2)};class N2 extends Qq{_getDefaultSeriesSpec(t){const e=super._getDefaultSeriesSpec(t);return e.depth_3d=t.depth_3d,e}}let W2=class extends tZ{constructor(){super(...arguments),this.transformerConstructor=N2,this.type="wordCloud3d",this.seriesType=r2.wordCloud3d}};W2.type="wordCloud3d",W2.seriesType=r2.wordCloud3d,W2.transformerConstructor=N2;const U2=()=>{c2(),V2(),iL.registerChart(W2.type,W2)},G2={label:{space:0}};class Y2{setLayout3dBox(t){this.layout3dBox=t}_afterUpdateAttribute(t,e){const i=pz(this._orient),s=dz(this._orient),n=uz(this._orient);let r=0,a=0;if(!e){const t=this.getRegions();let{x:e,y:i}=t[0].getLayoutStartPoint(),s=e+t[0].getLayoutRect().width,n=i+t[0].getLayoutRect().height;for(let r=1;r<t.length;r++){const a=t[r],{x:o,y:l}=a.getLayoutStartPoint(),{width:h,height:c}=a.getLayoutRect();e=Math.min(e,o),s=Math.max(s,h+o),i=Math.min(i,l),n=Math.max(n,c+l)}r=Math.abs(n-i),a=Math.abs(s-e)}let o=0,l=0;const{width:h,height:c}=this.getLayoutRect();let d={x:0,y:0};s?(d={x:h,y:0},o=r,l=h):n&&(d={x:0,y:c},o=a,l=c);const u=this.layout3dBox?this.layout3dBox.length:0;if(!i){const e=this.getLabelItems(l);return t.grid={length:o},t.start={x:0,y:0},t.text=this._spec.title.text||this._dataFieldText,t.maxWidth=this._getTitleLimit(s),t.items=e,t.grid={type:"line",start:{x:0,y:0},end:d,items:e[0],depth:u,length:o},t}return((t,e)=>{var i;const s=CH(t.getRegions()),{width:n}=t.getLayoutRect(),r=n,a=t.layout3dBox?t.layout3dBox.length:0,o=t.layout3dBox?t.layout3dBox.width:0,l={x:a,y:0},h=t.getLabelItems(r),c={start:{x:0,y:0},end:l,title:{text:t._spec.title.text||t._dataFieldText,maxWidth:t._getTitleLimit(!1)},items:h,scale:t._scale.clone()},d=null!==(i=t.directionStr)&&void 0!==i?i:"r2l";let u=[0,0],p=-Math.PI/2,g=0;return"l2r"===d&&(g=t.layout3dBox.length,u=[0,0,0],p=Math.PI/2),c.z=g,c.alpha=p,c.anchor3d=u,e||(c.grid={type:"line",start:{x:0,y:0},end:l,items:h[0],verticalFactor:t._axisStyle.verticalFactor,depth:o,length:e?0:s.height,alpha:p,z:g,anchor3d:u}),c})(this,e)}}const $2=Object.assign(Object.assign({},d2),{minLabel:{name:"minLabel",type:"text"},maxLabel:{name:"maxLabel",type:"text"}});class X2 extends bU{constructor(){super(...arguments),this.type=r2.rangeColumn3d,this._barMarkType="rect3d",this._barName=r2.bar3d}}X2.type=r2.rangeColumn3d,X2.mark=$2;const K2=()=>{g2(),KH(),GH(),iL.registerSeries(X2.type,X2)};class q2 extends AV{_getDefaultSeriesSpec(t){var e,i;const s=super._getDefaultSeriesSpec(t,["bar3d","barGapInGroup"]);return"horizontal"===t.direction?s.xField=null!==(e=t.xField)&&void 0!==e?e:[t.minField,t.maxField]:s.yField=null!==(i=t.yField)&&void 0!==i?i:[t.minField,t.maxField],s}}let Z2=class extends xV{constructor(){super(...arguments),this.transformerConstructor=q2,this.type="rangeColumn3d",this.seriesType=r2.rangeColumn3d}_setModelOption(){this._modelOption.getDimensionInfo=jV,this._modelOption.getDimensionInfoByValue=HV,this._modelOption.getRectByDimensionData=YV}};Z2.type="rangeColumn3d",Z2.seriesType=r2.rangeColumn3d,Z2.transformerConstructor=q2;const J2=()=>{eN(),sN(),OV(),EV(),c2(),y2(),K2(),iL.registerChart(Z2.type,Z2)},Q2="pictogram",t3="pictogram";var e3;!function(t){t.pictogram="pictogram"}(e3||(e3={}));const i3=Object.assign(Object.assign({},Uj),{pictogram:{name:"pictogram",type:"group"}});class s3 extends kV{_isValidSeries(t){return t===t3}_getDefaultSeriesSpec(t){return super._getDefaultSeriesSpec(t,["type","nameField","valueField","svg","pictogram","defaultFillColor"])}transformSpec(t){super.transformSpec(t),t.region.forEach((t=>{t.coordinate="geo"})),super.transformSeriesSpec(t)}}const n3=new Map;let r3;function a3(t,e){n3.has(t)&&Gb(`svg source key of '${t}' already exists, will be overwritten.`),r3||(r3=new io,CD(r3,"svg",$a));const i=new so(r3);i.parse(e,{type:"svg"}),n3.set(t,i)}function o3(t){n3.has(t)?n3.delete(t):Gb(`map type of '${t}' does not exists.`)}class l3 extends Oj{constructor(){super(...arguments),this.dimensionTooltipTitleCallback=t=>{var e;const i=this.series;return null!==(e=this._getDimensionData(t))&&void 0!==e?e:i.getDatumName(t)},this.markTooltipValueCallback=(t,e)=>{const{measureFields:i}=this._seriesCacheInfo;if(i[0]&&t.data)return t.data[i[0]]},this.markTooltipKeyCallback=t=>{var e;return null===(e=t.data)||void 0===e?void 0:e[this.series.getDimensionField()[0]]}}}const h3="element-highlight-by-graphic-name";class c3 extends dj{constructor(){super(...arguments),this.type=h3,this.handleStart=t=>{if(t&&t.item&&this.isGraphicInMark(t.item)&&(this.options.shouldStart?this.options.shouldStart(t):this._filterByName(t))){const e=this._parseTargetKey(t);this.start(e)}},this.handleReset=t=>{t&&t.item&&this.isGraphicInMark(t.item)&&this.reset()}}_filterByName(t){var e;return!!(null===(e=null==t?void 0:t.node)||void 0===e?void 0:e.name)}_parseTargetKey(t){return t.node.name}start(t){if(u(t))return;const{interaction:e,highlightState:i,blurState:s}=this.options,n=e.getStatedGraphics(this),r=[];this.getMarks().forEach((e=>{var i;null===(i=e.getGraphics())||void 0===i||i.forEach((e=>{e.name===t&&r.push(e)}))})),e.updateStates(this,r,n,i,s),e.setStatedGraphics(this,r)}reset(){const{highlightState:t,blurState:e,interaction:i}=this.options;i.clearAllStatesOfTrigger(this,t,e),i.setStatedGraphics(this,[])}}c3.type=h3;const d3="element-select-by-graphic-name";class u3 extends pj{constructor(){super(...arguments),this.type=d3}start(t){const e=null==t?void 0:t.name;e&&this.getMarks().forEach((t=>{var i;null===(i=t.getGraphics())||void 0===i||i.forEach((t=>{t.name===e&&super.start(t)}))}))}}u3.type=d3;function p3(t){var e;return p(t)&&"none"!==t&&!(null===(e=t.includes)||void 0===e?void 0:e.call(t,"url"))}const g3=t=>{const e=parseFloat(t.strokeWidth);if(!isNaN(e))return e;const i=t.stroke;return i&&p3(i)?1:0},f3=(t,e)=>{var i;const s=null!==(i=t.fill)&&void 0!==i?i:e;return s&&p3(s)?s:void 0},m3=(t,e)=>{var i;const s=null!==(i=t.stroke)&&void 0!==i?i:e;return!(!s||!p3(s))&&s},v3=t=>Object.assign(Object.assign({},t),{x:parseFloat(t.x)||void 0,y:parseFloat(t.y)||void 0,fillStrokeOrder:!1,fill:f3(t),lineWidth:g3(t),stroke:m3(t)}),y3={group:t=>{const e=v3(t);return Object.assign(Object.assign({},e),{visibleAll:!1!==e.visible})},rule:t=>Object.assign(Object.assign({},v3(t)),{x:parseFloat(t.x1),y:parseFloat(t.y1),x1:parseFloat(t.x2),y1:parseFloat(t.y2)}),rect:t=>Object.assign(Object.assign({},v3(t)),{fill:f3(t,"#000"),width:parseFloat(t.width),height:parseFloat(t.height)}),polygon:t=>Object.assign(Object.assign({},v3(t)),{fill:f3(t,"#000"),points:t.points.trim().split(/\s+/).map((t=>{const[e,i]=t.split(",").map(Number);return{x:e,y:i}}))}),line:t=>Object.assign(Object.assign({},v3(t)),{points:t.points.trim().split(/\s+/).map((t=>{const[e,i]=t.split(",").map(Number);return{x:e,y:i}}))}),path:t=>Object.assign(Object.assign({},v3(t)),{path:t.d,fillStrokeOrder:!1,fill:f3(t,"#000")}),arc:t=>{var e;return Object.assign(Object.assign({},v3(t)),{outerRadius:null!==(e=t.r)&&void 0!==e?e:t.ry,x:parseFloat(t.cx),y:parseFloat(t.cy),startAngle:0,endAngle:2*Math.PI,scaleX:parseFloat(t.rx)/parseFloat(t.ry)||1,fill:f3(t,"#000")})},text:(t,e)=>{var i,s;return Object.assign(Object.assign({},v3(t)),{text:e,textAlign:null!==(i=t.textAlign)&&void 0!==i?i:"left",textBaseLine:null!==(s=t.textAnchor)&&void 0!==s?s:"middle",anchor:[0,0],fill:f3(t,"#000")})}},_3=t=>{var e,i;if(!t||!t[0])return{};const{elements:s}=t[0].latestData;if(s&&s.length){s.forEach(((t,e)=>{var i;t[CL]=e,t._uniqueId=`${t.id}-${e}`,t.data=void 0;const{graphicType:s,transform:n}=t,r={visible:"hidden"!==t.attributes.visibility&&"collapse"!==t.attributes.visibility};"text"===t.graphicType?z(r,t._inheritStyle,null===(i=t.parent)||void 0===i?void 0:i._textGroupStyle,t.attributes):"group"!==t.graphicType&&z(r,t._inheritStyle,t.attributes),y3[s]?t._finalAttributes=y3[s](r,t.value):t._finalAttributes=r,n&&(t._finalAttributes.postMatrix=Object.assign({},n))}));const t=s.filter((t=>"text"===t.tagName));for(let n=0;n<t.length;n++){const r=t[n]._uniqueId,a=s.filter((t=>{let e=!1,i=t.parent;for(;i;){if(i._uniqueId===r){e=!0;break}i=i.parent}return e}));if(a&&a.length){const s=null!==(i=null===(e=t[n]._textGroupStyle)||void 0===e?void 0:e.x)&&void 0!==i?i:0;let r=s;for(let t=0;t<a.length;t++){const e=a[t];if("group"===e.graphicType)r=s;else if(e.value&&void 0===e.parent._textGroupStyle.x){const i=a.slice(0,t).reverse().find((t=>"text"===t.graphicType&&t.value));i&&(r+=kL(i.value,i._finalAttributes).width),e._finalAttributes.x=r}}}}}return s};class b3 extends qN{constructor(){super(...arguments),this.type=t3,this._idToMark=new Map}setAttrFromSpec(){var t,e,i;super.setAttrFromSpec(),this.svg=this._spec.svg,this._nameField=this._spec.nameField,this._valueField=this._spec.valueField,this.svg||null===(t=this._option)||void 0===t||t.onError("svg source is not specified !"),this._parsedSvgResult=null===(e=function(t){return n3.get(t)}(this.svg))||void 0===e?void 0:e.latestData,this._parsedSvgResult||null===(i=this._option)||void 0===i||i.onError(`'${this.svg}' is not registered !`)}getDatumCenter(t){return[Number.NaN,Number.NaN]}getDatumName(t){return t.name||t._nameFromParent}getMarksWithoutRoot(){return this.getMarks().filter((t=>t.name&&!t.name.includes("seriesGroup")&&!t.name.includes("root")&&t!==this._pictogramMark))}_buildMarkAttributeContext(){super._buildMarkAttributeContext(),this._markAttributeContext.getTransformMatrix=this.getRootMatrix.bind(this),this._markAttributeContext.coordToPosition=this.coordToPosition.bind(this),this._markAttributeContext.dataToPosition=this.dataToPosition.bind(this)}_defaultHoverConfig(t){return{type:"element-highlight-by-graphic-name",trigger:t.trigger,triggerOff:"pointerout",blurState:AF.STATE_HOVER_REVERSE,highlightState:AF.STATE_HOVER}}_defaultSelectConfig(t){const e="multiple"===t.mode,i=p(t.triggerOff)?t.triggerOff:e?["empty","self"]:["empty",t.trigger];return{type:"element-select-by-graphic-name",trigger:t.trigger,triggerOff:i,reverseState:AF.STATE_SELECTED_REVERSE,state:AF.STATE_SELECTED,isMultiple:e}}initMark(){var t;if(this._pictogramMark=this._createMark(b3.mark.pictogram,{groupKey:this.getDimensionField()[0],isSeriesMark:!0,skipBeforeLayouted:!0},{morph:iz(this._spec,b3.mark.pictogram.name)}),this._pictogramMark){this._pictogramMark.setData(this._mapViewData),this._pictogramMark.setUserId(b3.mark.pictogram.name);for(const e of this._mapViewData.getDataView().latestData){const{graphicType:i,name:s,parent:n,id:r,_nameFromParent:a,_uniqueId:o}=e,l=this._createMark({type:i,name:null!=s?s:a},{groupKey:o,isSeriesMark:!1,skipBeforeLayouted:!0,parent:null!==(t=this._idToMark.get(null==n?void 0:n._uniqueId))&&void 0!==t?t:this._pictogramMark},{morph:iz(this._spec,b3.mark.pictogram.name)});l&&(l.setData(this._mapViewData),l.setUserId(o),this._idToMark.set(o,l),"group"!==l.type&&l.setMarkConfig({graphicName:l.name}),l.setTransform([{type:"filter",callback:t=>t._uniqueId===o}]))}this._initLabelMark()}}_initLabelMark(){if(!0!==this._spec.label.visible)return;const t=this._createMark(b3.mark.label,{isSeriesMark:!1,parent:this._pictogramMark,groupKey:"_uniqueId",skipBeforeLayouted:!0});t&&(this._labelMark=t,this._labelMark.setData(this._mapViewData))}initLabelMarkStyle(){this._labelMark&&this.setMarkStyle(this._labelMark,{visible:t=>!!this._validElement(t),x:t=>{var e;return null===(e=this.dataToPosition(t,!0))||void 0===e?void 0:e.x},y:t=>{var e;return null===(e=this.dataToPosition(t,!0))||void 0===e?void 0:e.y},text:t=>t[this.nameField],textAlign:"center",textBaseline:"middle"},AF.STATE_NORMAL,nF.Series)}initMarkStyle(){const{root:t,viewBoxRect:e}=this._parsedSvgResult,i=this._mapViewData.getDataView().latestData;t&&(this.setMarkStyle(this._pictogramMark,y3.group(t.attributes),"normal",nF.Built_In),t.transform&&this.setMarkStyle(this._pictogramMark,{postMatrix:()=>t.transform},"normal",nF.Built_In),e&&this._pictogramMark.setMarkConfig({clip:!0,clipPath:[df(Object.assign(Object.assign({},e),{fill:!0}))]}));for(const t of i){const{_uniqueId:e,_finalAttributes:i}=t,s=this._idToMark.get(e),n=this._validElement(t);s&&(this.setMarkStyle(s,{keepStrokeScale:!0},"normal",nF.Built_In),n?(this.initMarkStyleWithSpec(s,z({},this._spec.pictogram,this._spec[s.name])),this.setMarkStyle(s,i,"normal",nF.Series),s.setPostProcess("fill",((t,e)=>p(t)?t:this._spec.defaultFillColor))):(s.setMarkConfig({interactive:!1}),this.setMarkStyle(s,i,"normal",nF.Built_In)))}this.initLabelMarkStyle()}_validElement(t){return t.name||t._nameFromParent}initTooltip(){this._tooltipHelper=new l3(this),this.getMarksWithoutRoot().forEach((t=>{t&&t.name&&this._tooltipHelper.activeTriggerSet.mark.add(t)}))}dataToPosition(t,e=!1){if(!t)return null;const i=t[this.nameField];if(!i)return null;const s=this.getMarksWithoutRoot().filter((t=>t.name===i));if(!s||0===s.length)return null;let n=new $e;e?s.forEach((t=>{n=n.union(t.getGraphics()[0].globalAABBBounds)})):s.forEach((t=>{n=n.union(t.getProduct().AABBBounds)}));const r={x:(n.x1+n.x2)/2,y:(n.y1+n.y2)/2};if(e){const{x:t,y:e}=this.getLayoutStartPoint();r.x-=t,r.y-=e}return r}coordToPosition(t){if(!t)return null;const{x:e,y:i}=t,s=this.getRootMatrix();if(!s)return null;const n={};return s.getInverse().transformPoint({x:e,y:i},n),n}getRootMatrix(){var t;return null===(t=this.getPictogramRootGraphic())||void 0===t?void 0:t.transMatrix}getPictogramRootGraphic(){return this._pictogramMark.getProduct()}initData(){var t,e;super.initData();const i=n3.get(this.svg);i||null===(t=this._option)||void 0===t||t.onError("no valid svg found!");const s=new so(this._dataSet,{name:`pictogram_${this.id}_data`});wD(this._dataSet,"pictogram",_3),wD(this._dataSet,"lookup",kj),s.parse([i],{type:"dataview"}).transform({type:"pictogram"}).transform({type:"lookup",options:{from:()=>this.getViewData().latestData,key:"name",fields:this._nameField,set:(t,e)=>{e&&(t.data=e)}}}).transform({type:"lookup",options:{from:()=>this.getViewData().latestData,key:"_nameFromParent",fields:this._nameField,set:(t,e)=>{e&&(t.data=e)}}}),null===(e=this._data)||void 0===e||e.getDataView().target.addListener("change",s.reRunAllTransform),this._mapViewData=new OF(this._option,s)}mapViewDataUpdate(){this._mapViewData.updateData()}onLayoutEnd(){var t;super.onLayoutEnd(),null===(t=this._mapViewData)||void 0===t||t.getDataView().reRunAllTransform()}updateSVGSize(){const{width:t,height:e}=this.getLayoutRect(),i=t/2,s=e/2,n=this.getPictogramRootGraphic();if(n){const r=n.AABBBounds,{x1:a,x2:o,y1:l,y2:h}=n.AABBBounds,c=(a+o)/2,d=(l+h)/2,u=t/r.width(),p=e/r.height(),g=Math.min(u,p);n.scale(g,g,{x:c,y:d}),n.translate(i-c,s-d)}}initEvent(){var t;super.initEvent(),null===(t=this._mapViewData.getDataView())||void 0===t||t.target.addListener("change",this.mapViewDataUpdate.bind(this)),this.event.on(_D.afterMarkLayoutEnd,this.updateSVGSize.bind(this))}handleZoom(t){const{scale:e,scaleCenter:i}=t;if(1===e)return;const s=this.getPictogramRootGraphic();s&&(s.attribute.postMatrix||s.setAttributes({postMatrix:new qe}),s.scale(e,e,i))}handlePan(t){const{delta:e}=t;if(0===e[0]&&0===e[1])return;const i=this.getPictogramRootGraphic();i&&(i.attribute.postMatrix||i.setAttributes({postMatrix:new qe}),i.translate(e[0],e[1]))}getMarkData(t){var e;return null!==(e=t.data)&&void 0!==e?e:{}}getMeasureField(){return[this.valueField]}getDimensionField(){return[this.nameField]}_getSeriesInfo(t,e){const i=this.getDefaultShapeType();return e.map((e=>({key:e,originalKey:e,style:this.getSeriesStyle({data:{[t]:e}}),shapeType:i})))}release(){this._parsedSvgResult=null,this._idToMark.clear(),this._idToMark=null}}b3.type=t3,b3.mark=i3,b3.transformerConstructor=class extends az{_getDefaultSpecFromChart(t){var e,i,s;const n=null!==(e=super._getDefaultSpecFromChart(t))&&void 0!==e?e:{},r=t.svg,a=null===(s=null===(i=n3.get(r))||void 0===i?void 0:i.latestData)||void 0===s?void 0:s.elements;return a&&a.length&&a.map((t=>t.name)).filter((t=>p(t))).forEach((e=>{t[e]&&(n[e]=t[e])})),n}};const x3=()=>{iL.registerSeries(b3.type,b3),iL.registerImplement("registerSVG",a3),iL.registerImplement("unregisterSVG",o3),iL.registerInteractionTrigger(c3.type,c3),iL.registerInteractionTrigger(u3.type,u3)};let S3=class extends xV{constructor(){super(...arguments),this.transformerConstructor=s3,this.type=Q2,this.seriesType=t3}};S3.type=t3,S3.seriesType=Q2,S3.transformerConstructor=s3;const k3=()=>{sN(),x3(),iL.registerChart(S3.type,S3)};function A3(t,e,i=0){return i>Math.max(e.x1-t.x2,t.x1-e.x2,e.y1-t.y2,t.y1-e.y2)}function M3(t){return{x1:t.x,x2:t.x+t.width,y1:t.y,y2:t.y+t.height}}function w3(t){var e;if(!t||0===t.length)return[];if(1===t.length)return[t[0].rect];const i=t.map((t=>{var e;return Object.assign(Object.assign({},t),{bound:M3(t.rect),anchorCandidates:O3(null!==(e=t.anchors)&&void 0!==e?e:[],t.point,t.rect,t.offset)})})),s=[];s.push(i[0].bound);for(let t=1;t<=i.length-1;t++){const n=i[t],r=n.bound;let a=s.some((t=>A3(t,r)));if(n.anchorCandidates)if(a&&(null===(e=n.anchorCandidates)||void 0===e?void 0:e.length)>0){for(let t=0;t<n.anchorCandidates.length;t++){const e=n.anchorCandidates[t],i={x1:e.x,y1:e.y,x2:e.x+r.x2-r.x1,y2:e.y+r.y2-r.y1,anchor:e};if(!s.some((t=>A3(t,i)))){s.push(i),a=!1;break}}a&&s.push(n.bound)}else s.push(n.bound)}return s.map((t=>function(t){return{x:t.x1,y:t.y1,width:t.x2-t.x1,height:t.y2-t.y1}}(t)))}function C3(t,e,i){const s=t.map((t=>t.pointCoord)),{x1:n,x2:r,y1:a,y2:o}=Ie(s),l=i([(n+r)/2,(a+o)/2]);return l?w3(t.map((t=>{const s=t.rect,n=P3(e,t.pointCoord)?i(function(t,e,i,s=200){const n=5621/s;let r=e;for(let e=1;e<=n;e++){const e=xi(r,s,i);if(!P3(t,e))return[e.x,e.y];r=[e.x,e.y]}return e}(e,[t.pointCoord.x,t.pointCoord.y],T3(B3(t.point,l)))):t.point;n&&(s.x=n.x,s.y=n.y);const r=T3(B3(t.point,l));let a;const o=[];return r>=-45&&r<45?(a="top",o.push("left","right")):r>=45&&r<135?a="right":r>=-135&&r<-45?(a="left",o.push("left")):(a="bottom",o.push("left","right")),t.anchors=o,t.offset=20,t.rect=E3(t.rect,a,0),t}))):[]}function T3(t){return t>180?t-360:t}function B3(t,e){return 180*Math.atan2(t.y-e.y,t.x-e.x)/Math.PI+90}function P3(t,e){for(let i=0;i<t.length;i++)if(bi(e,t[i]))return!0;return!1}function E3(t,e,i=0){const s=Object.assign({},t);return"top"===e?(s.x-=t.width/2,s.y-=i+t.height/2):"bottom"===e?(s.x-=t.width/2,s.y+=i-t.height/2):"left"===e?(s.x-=i+t.width,s.y-=t.height/2):"right"===e&&(s.x+=i,s.y-=t.height/2),s}function O3(t,e,i,s=0){const n=[];return t.forEach((t=>{const{x:r,y:a}=E3(Object.assign(Object.assign({},e),{width:i.width,height:i.height}),t,s);n.push({x:r,y:a})})),n}const R3={visible:!0,offset:12,position:"top",space:10,nameLabel:{visible:!0,style:{textBaseline:"middle",textAlign:"left",fill:"black",fontSize:10}},valueLabel:{visible:!0,style:{textBaseline:"middle",textAlign:"left",fill:"black",fontSize:10}},background:{visible:!0,padding:{top:4,bottom:4,left:6,right:6},style:{cornerRadius:2,lineWidth:1,fill:"white",stroke:"grey"}},leader:{visible:!1,style:{lineWidth:1,stroke:"black"}}};class I3 extends mH{_getDefaultSpecFromChart(){return R3}}class L3 extends bH{constructor(){super(...arguments),this.type="mapLabel",this.name=" mapLabel",this.specKey="mapLabel",this.transformerConstructor=I3,this.layoutType="none",this.layoutZIndex=iF.MarkPoint,this._activeDatum=[]}static getSpecInfo(t){return Sj(t,this.specKey,this.type,(t=>t.visible&&p(t.seriesId)))}setAttrFromSpec(){var t,e,i,s;this.nameField=null!==(t=this._spec.nameField)&&void 0!==t?t:null===(e=this._series)||void 0===e?void 0:e.getDimensionField()[0],this.valueField=null!==(i=this._spec.valueField)&&void 0!==i?i:null===(s=this._series)||void 0===s?void 0:s.getMeasureField()[0]}created(){super.created(),0!=!!this._spec.visible&&(this.initRelatedInfo(),this.initData(),this.initEvent())}initRelatedInfo(){var t,e,i,s,n,r,a,o;this._series=this._option.getSeriesInUserIdOrIndex([this._spec.seriesId])[0],"outer"===this._spec.position&&(this._map=null===(e=null===(t=this._regions[0].getSeriesInType("map")[0])||void 0===t?void 0:t.getMapViewData())||void 0===e?void 0:e.latestData,this._longitudeField=null===(n=null===(s=(i=this._regions[0]).getSpec)||void 0===s?void 0:s.call(i))||void 0===n?void 0:n.longitudeField,this._latitudeField=null===(o=null===(a=(r=this._regions[0]).getSpec)||void 0===a?void 0:a.call(r))||void 0===o?void 0:o.latitudeField)}initData(){const t=this._series;if(!t)return;const e=t.getViewData();if(e){const t=new so(this._option.dataSet,{name:`${this.name}_data`});t.parse([e],{type:"dataview"}),t.transform({type:"copyDataView",level:jD.copyDataView},!1),this._data=new OF(this._option,t),t.target.addListener("change",(()=>{"hover"!==this._spec.trigger&&"click"!==this._spec.trigger&&(this._activeDatum=this._data.getLatestData())}))}}initEvent(){this.event.on("zoom",{filter:t=>this._isRelativeModel(t.model)},(()=>(this.handleZoom(),!0))),this.event.on("panmove",{filter:t=>this._isRelativeModel(t.model)},(t=>(this.handlePan(t),!0)));const t=this._spec.trigger;"none"!==t&&("hover"===t?(this.event.on("element-highlight:start",(t=>{const e=t.graphics[0];this._isRelativeSeries(e)&&this._updateDatum(gD(e))})),this.event.on("element-highlight:reset",(t=>{this._activeDatum&&this._updateDatum(null)}))):"click"===t&&(this.event.on("element-select:start",(t=>{const e=t.graphics[0];this._isRelativeSeries(e)&&this._updateDatum(gD(e))})),this.event.on("elementSelectReset",(t=>{this._activeDatum&&this._updateDatum([])}))))}handlePan(t){const{delta:e}=t;this._markerComponents.forEach((t=>{t.translate(e[0],e[1])}))}handleZoom(){this._updateMarkerLayoutAttribute()}_updateDatum(t){this._activeDatum=t,this._markerComponents.forEach(((t,e)=>{var i;const s=null===(i=this._data)||void 0===i?void 0:i.getLatestData()[e];this._activeDatum.includes(s)?t.setAttribute("visible",!0):t.setAttribute("visible",!1)}))}dataToPosition(t){return this._series.dataToPosition(t)}updateLayoutAttribute(){var t;const e=null===(t=this._data)||void 0===t?void 0:t.getLatestData();e&&0!==e.length&&(super.updateLayoutAttribute(),this._updateMarkerLayoutAttribute())}_updateMarkerLayoutAttribute(){var t;const e=[],i=[];this._markerComponents||(this._markerComponents=null===(t=this._data)||void 0===t?void 0:t.getLatestData().map(((t,e)=>{var i;const s=new pR({position:void 0,animation:!1});return s&&(s.name=`${this.name}_marker_${e}`,s.id=null!==(i=this._spec.id)&&void 0!==i?i:`${this.name}_marker_${this.id}`,s.setAttribute("zIndex",this.layoutZIndex)),s}))),this._markerComponents.forEach(((t,s)=>{const{pairInfo:n,contentMarks:r}=this._evaluateMarker(this._data.getLatestData()[s],s);n&&e.push(n),r&&i.push(r)}));const s=this._layoutLabels(e);this._layoutMarkers(s,i),this._renderMarkers()}_evaluateMarker(t,e){var i,s,n,r,a,o,l,h,c,d,u,g,f,m;let v=0,y=0,_=0,b=0,x=0;const S=this._spec.position||"top",k=this._spec.offset,A=$I(null===(i=this._spec.background)||void 0===i?void 0:i.padding),M=this._spec.space||0;y+=((null==A?void 0:A.left)||0)+((null==A?void 0:A.right)||0),_+=((null==A?void 0:A.top)||0)+((null==A?void 0:A.bottom)||0);const w={},C=this.dataToPosition(t),T=$f.group({});if(T.name=`${this.name}_marker_itemContainer_${e}`,w.container=T,null===(s=this._spec.background)||void 0===s?void 0:s.visible){const t=$f.rect(pD(Object.assign({},this._spec.background.style)));t.setAttributes(C),w.labelBackground=t,T.appendChild(t)}if(null===(n=this._spec.icon)||void 0===n?void 0:n.visible){const t=$f.symbol(pD(Object.assign({},this._spec.icon.style)));t.setAttributes(C),t.setAttribute("symbolType",null!==(a=null===(r=this._spec.icon.style)||void 0===r?void 0:r.symbolType)&&void 0!==a?a:null===(o=this._spec.icon.style)||void 0===o?void 0:o.shape);const e=t.AABBBounds,i=null!==(l=(null==e?void 0:e.y2)-(null==e?void 0:e.y1))&&void 0!==l?l:0,s=null!==(h=(null==e?void 0:e.x2)-(null==e?void 0:e.x1))&&void 0!==h?h:0;w.icon=t,T.appendChild(t),x=i,b+=s,v++}if(null===(c=this._spec.nameLabel)||void 0===c?void 0:c.visible){const e=$f.text(pD(Object.assign({},this._spec.nameLabel.style)));e.setAttributes(C),e.setAttribute("text",t[this.nameField]);const i=e.AABBBounds,s=null!==(d=(null==i?void 0:i.y2)-(null==i?void 0:i.y1))&&void 0!==d?d:0,n=null!==(u=(null==i?void 0:i.x2)-(null==i?void 0:i.x1))&&void 0!==u?u:0;w.nameLabel=e,T.appendChild(e),x=Math.max(x,s),b+=n,v++}if((null===(g=this._spec.valueLabel)||void 0===g?void 0:g.visible)&&p(t[this.valueField])){const e=$f.text(pD(Object.assign({},this._spec.valueLabel.style)));e.setAttributes(C),e.setAttribute("text",t[this.valueField]);const i=e.AABBBounds,s=null!==(f=(null==i?void 0:i.y2)-(null==i?void 0:i.y1))&&void 0!==f?f:0,n=null!==(m=(null==i?void 0:i.x2)-(null==i?void 0:i.x1))&&void 0!==m?m:0;w.valueLabel=e,T.appendChild(e),x=Math.max(x,s),b+=n,v++}const B=Object.values(w).find((t=>!!t&&"group"!==t.type)),P={x:null==B?void 0:B.getComputedAttribute("x"),y:null==B?void 0:B.getComputedAttribute("y")},E={x:P.x,y:P.y,width:0,height:0};E.width=y+b+(v-1)*M,E.height=_+x;const O={rect:E,point:P,index:e};if("outer"!==S){const t=["top","right","left","bottom"].filter((t=>t!==S));O.rect=E3(E,S,k),O.anchors=t,O.offset=k}else O.pointCoord={x:+(null==t?void 0:t[this._longitudeField]),y:+(null==t?void 0:t[this._latitudeField])};return{pairInfo:O,contentMarks:w}}_layoutMarkers(t,e){var i,s,n;for(let r=0;r<e.length;r++){if(!t[r]||!e[r])return;const{icon:a,nameLabel:o,valueLabel:l,labelBackground:h,container:c}=e[r],d=t[r],u=$I(null===(i=this._spec.background)||void 0===i?void 0:i.padding),p=this._spec.space||0,g=d.height/2;let f=(null==u?void 0:u.left)||0;[a,o,l].forEach(((t,e)=>{var i,s;if(t){const n=t.AABBBounds;let r=0;"symbol"===t.type&&(r+=(null!==(i=n.x2-n.x1)&&void 0!==i?i:0)/2),t.setAttributes({x:f+r,y:g}),f+=null!==(s=n.x2-n.x1)&&void 0!==s?s:0,2!==e&&(f+=p)}})),null==h||h.setAttributes({x:0,y:0,width:d.width,height:d.height}),null==c||c.setAttributes({dx:-d.width/2,dy:-d.height/2});const m=this._data.getLatestData()[r],v=this.dataToPosition(m),y=this.getRegions()[0].getLayoutStartPoint(),_=!(!(null===(s=this._spec.leader)||void 0===s?void 0:s.visible)||!(a||o||l));this._markerComponents[r].setAttributes({x:y.x,y:y.y,position:v,visible:this._activeDatum.includes(m),itemContent:{refX:0,type:"custom",renderCustomCallback:()=>c,autoRotate:!1,offsetX:d.x+d.width/2-v.x,offsetY:d.y+d.height/2-v.y},itemLine:{visible:_,type:"type-po",lineStyle:pD(Object.assign({},null===(n=this._spec.leader)||void 0===n?void 0:n.style)),startSymbol:{visible:!1}}})}}_renderMarkers(){if(this._markerComponents&&this._markerComponents.length)for(let t=0;t<this._markerComponents.length;t++)this.getContainer().add(this._markerComponents[t])}_layoutLabels(t){return"outer"===this._spec.position&&this._map?C3(t,this._map,(t=>this._series.dataToPosition({[this._longitudeField]:t[0],[this._latitudeField]:t[1]}))):w3(t)}_isRelativeModel(t){var e,i,s;const n=null!==(i=null===(e=this._series.getXAxisHelper())||void 0===e?void 0:e.getAxisId())&&void 0!==i?i:null===(s=this._series.getCoordinateHelper())||void 0===s?void 0:s.getCoordinateId();return(null==t?void 0:t.id)===n}_isRelativeSeries(t){var e;return(null===(e=t.context)||void 0===e?void 0:e.modelId)===this._series.id}_getNeedClearVRenderComponents(){return this._markerComponents}getVRenderComponents(){return this._markerComponents}}L3.type="mapLabel",L3.specKey="mapLabel",L3.transformerConstructor=I3;const D3=J1("Bar3dChart",{type:"bar3d",vchartConstructor:vj},[b2,s0,a0,...Q1]),F3=J1("BoxPlotChart",{type:"boxPlot",vchartConstructor:vj},[CZ,s0,...Q1]),j3=[rj,Hb,gJ,W0,YZ,rJ,_0,v1,jQ],z3=J1("CirclePackingChart",{type:"circlePacking",vchartConstructor:vj},[yZ,s0,...j3]),H3=[rj,Hb,gJ,W0,aG,lG,kJ,v0,rJ,zJ,YZ,_0,v1,VJ,jQ],V3=J1("CircularProgressChart",{type:"circularProgress",vchartConstructor:vj},[Kq,s0,$J,...H3]),N3=J1("CommonChart",{type:"common",vchartConstructor:vj},[rj,Hb,gJ,W0,Fq,GH,KH,ZH,QH,xJ,s0,a0,mN,RN,mV,YN,GU]),W3=J1("CorrelationChart",{type:"correlation",vchartConstructor:vj},[zZ,...j3]),U3=J1("FunnelChart",{type:"funnel",vchartConstructor:vj},[aZ,s0,...j3]),G3=J1("Funnel3dChart",{type:"funnel3d",vchartConstructor:vj},[T2,s0,...j3]),Y3=J1("GaugeChart",{type:"gauge",vchartConstructor:vj},[Jq,...j3]),$3=J1("HeatmapChart",{type:"heatmap",vchartConstructor:vj},[DZ,s0,...Q1]),X3=J1("Histogram3dChart",{type:"histogram3d",vchartConstructor:vj},[P2,s0,...Q1]),K3=J1("HistogramChart",{type:"histogram",vchartConstructor:vj},[Yq,s0,...Q1]),q3=J1("LinearProgressChart",{type:"linearProgress",vchartConstructor:vj},[hZ,s0,...Q1]),Z3=J1("LineChart",{type:"line",vchartConstructor:vj},[oN,s0,...Q1]),J3=J1("LiquidChart",{type:"liquid",vchartConstructor:vj},[b1,$J,...j3]),Q3=J1("MapChart",{type:"map",vchartConstructor:vj},[bq,s0,...j3]),t5=J1("MosaicChart",{type:"mosaic",vchartConstructor:vj},[w1,s0,a0,...Q1]),e5=J1("PictogramChart",{type:"pictogram",vchartConstructor:vj},[k3,s0,...j3]),i5=J1("PieChart",{type:"pie",vchartConstructor:vj},[Cq,s0,$J,...j3]),s5=J1("Pie3dChart",{type:"pie3d",vchartConstructor:vj},[j2,s0,$J,...j3]),n5=J1("RadarChart",{type:"radar",vchartConstructor:vj},[Iq,s0,...H3]),r5=J1("RangeAreaChart",{type:"rangeArea",vchartConstructor:vj},[RZ,s0,...Q1]),a5=J1("RangeColumnChart",{type:"rangeColumn",vchartConstructor:vj},[uZ,s0,...Q1]),o5=J1("RangeColumn3dChart",{type:"rangeColumn3d",vchartConstructor:vj},[J2,s0,...Q1]),l5=J1("RoseChart",{type:"rose",vchartConstructor:vj},[Eq,s0,...H3]),h5=J1("SankeyChart",{type:"sankey",vchartConstructor:vj},[PZ,s0,...j3]),c5=J1("ScatterChart",{type:"scatter",vchartConstructor:vj},[KN,s0,...Q1]),d5=J1("SequenceChart",{type:"sequence",vchartConstructor:vj},[Vq,...Q1]),u5=J1("SunburstChart",{type:"sunburst",vchartConstructor:vj},[fZ,s0,...j3]),p5=J1("TreemapChart",{type:"treemap",vchartConstructor:vj},[xZ,s0,...j3]),g5=J1("WordCloudChart",{type:"wordCloud",vchartConstructor:vj},[iZ,...j3]),f5=J1("WordCloud3dChart",{type:"wordCloud3d",vchartConstructor:vj},[U2,...j3]),m5=J1("VennChart",{type:"venn",vchartConstructor:vj},[k1,s0,...j3]),v5=J1("WaterfallChart",{type:"waterfall",vchartConstructor:vj},[AZ,s0,a0,...Q1]),y5=(t,i,s,n)=>{n&&n.length&&vj.useRegisters(n);const r=W1.concat(["updateId","componentId"]),a=t=>{var s;const n=e.useContext(B1),r=null!==(s=t.id)&&void 0!==s?s:t.componentId,a=e.useRef({}),o=e=>{const s=i.map((t=>`${r}-${t}`));(null==e?void 0:e.mark)&&s.includes(e.mark.getUserId())&&t[U1[e.event.type]](e)},l=t=>{t&&n.chart&&(a.current&&Object.keys(a.current).forEach((t=>{n.chart.off(L1[t],a.current[t]),a.current[t]=null})),t&&Object.keys(t).forEach((t=>{var e;(null===(e=a.current)||void 0===e?void 0:e[t])||(n.chart.on(L1[t],o),a.current||(a.current={}),a.current[t]=o)})))};return l(G1(t)),e.useEffect((()=>()=>{l({}),a.current={}}),[]),null};return a.displayName=t,a.parseSpec=t=>{var e;const n=H(t,r);var a,o;return a=n,o=null!==(e=t.id)&&void 0!==e?e:t.componentId,i.forEach((t=>{const e=`${o}-${t}`;u(a[t])?a[t]={id:e}:u(a[t].id)&&(a[t].id=e)})),u(s)||(n.type=s),{spec:n,specName:"series"}},a},_5=y5("Series",["bar","line","area"]),b5=y5("Area",["area"],"area",[mN]),x5=y5("Bar",["bar"],"bar",[RN]),S5=y5("Bar3d",["bar"],"bar3d",[m2]),k5=y5("BoxPlot",["boxPlot"],"boxPlot",[cU]),A5=y5("CirclePacking",["circlePacking","label"],"circlePacking",[NX]),M5=y5("CircularProgress",["circularProgress"],"circularProgress",[zG]),w5=y5("Correlation",["centerPoint","ripplePoint","centerLabel","nodePoint","label"],"correlation",[zZ]),C5=y5("Dot",["dot"],"dot",[MG]),T5=y5("Funnel",["funnel"],"funnel",[yX]),B5=y5("Funnel3d",["funnel"],"funnel3d",[w2]),P5=y5("Gauge",["segment","track","label"],"gauge",[CK]),E5=y5("GaugePointer",["pinBackground","pin","pointer"],"gaugePointer",[AK]),O5=y5("Heatmap",["cell","cellBackground","label"],"heatmap",[IK]),R5=y5("Line",["line"],"line",[mV]),I5=y5("LinearProgress",["linearProgress"],"linearProgress",[YG]),L5=y5("Link",["link"],"link",[PG]),D5=y5("Liquid",["node","link"],"liquid",[rq]),F5=y5("Map",["map"],"map",[pW]),j5=y5("Mosaic",["mosaic"],"mosaic",[vq]),z5=y5("Pictogram",["pictogram"],"pictogram",[x3]),H5=y5("Pie",["pie"],"pie",[GU]),V5=y5("Pie3d",["pie"],"pie3d",[D2]),N5=y5("Radar",["radar"],"radar",[_G]),W5=y5("RangeArea",["rangeArea"],"rangeArea",[MU]),U5=y5("RangeColumn",["rangeColumn"],"rangeColumn",[xU]),G5=y5("RangeColumn3d",["rangeColumn"],"rangeColumn3d",[K2]),Y5=y5("Rose",["rose"],"rose",[cG]),$5=y5("Sankey",["node","link"],"sankey",[aK]),X5=y5("Scatter",["scatter"],"scatter",[YN]),K5=y5("Sunburst",["sunburst","label"],"sunburst",[DX]),q5=y5("Treemap",["leaf","nonLeaf","label","nonLeafLabel"],"treemap",[gK]),Z5=y5("Venn",["circle","overlap","overlapLabel"],"venn",[fq]),J5=y5("Waterfall",["leaderLine","stackLabel","label","bar"],"waterfall",[NW]),Q5=y5("WordCloud",["wordCloud"],"wordCloud",[J$]),t4=y5("WordCloud3d",["wordCloud"],"wordCloud3d",[V2]),e4=(t,i,s,n,r)=>{r&&r.length&&vj.useRegisters(r);const a=["updateId","componentId","children"],o=s?Object.keys(s).concat(a):a,l=t=>{const i=e.useContext(B1),n=e.useRef(null),r=e.useRef(t.updateId);if(t.updateId!==r.current){r.current=t.updateId;!!s&&Y1(i.chart,t,n.current,s)&&(n.current=t)}return e.useEffect((()=>()=>{s&&Y1(i.chart,null,n.current,s)}),[]),null};return l.displayName=t,l.parseSpec=t=>({spec:H(t,o),specName:i,isSingle:n}),l},i4=e4("Axis","axes"),s4=e4("Mark","customMark",null,!1,[_0,v1]),n4=e4("Region","region"),r4=e4("Legend","legends",D1,!1,[YZ]),a4=e4("Brush","brush",F1,!0,[v0]),o4=e4("Crosshair","crosshair"),l4=e4("DataZoom","dataZoom",j1,!1,[zJ]),h4=e4("MarkLine","markLine",null,!1,[IQ]),c4=e4("MarkArea","markArea",null,!1,[NQ]),d4=e4("MarkPoint","markPoint",null,!1,[d0]),u4=e4("ScrollBar","scrollBar",H1,!1,[VJ]),p4=(t,i,s)=>{s&&s.length&&vj.useRegisters(s);const n=["updateId","componentId","children"],r=t=>{const i=e.useRef(t.updateId);return t.updateId!==i.current&&(i.current=t.updateId),null};return r.displayName=t,r.parseSpec=t=>{const s=H(t,n);return!t.tooltipRender&&t.children&&(s.tooltipRender=(i,s,n)=>e.Children.map(t.children,(t=>g(t)?e.cloneElement(t,{tooltipElement:i,actualTooltip:s,params:n}):t))),{spec:s,specName:i,isSingle:!0}},r},g4=p4("Tooltip","tooltip",[gJ,W0]),f4=p4("CanvasTooltip","tooltip",[gJ,K0]),m4=e4("Player","player",z1,!0,[ZQ]),v4=e4("Indicator","indicator",null,!0,[$J]),y4=e4("Title","title",null,!0,[jQ]),_4=e4("ContinuousLegend","legends",D1,!1,[rJ]),b4=J1("VChart",{vchartConstructor:vj}),x4=J1("VChartSimple");t.Area=b5,t.AreaChart=t2,t.Axis=i4,t.Bar=x5,t.Bar3d=S5,t.Bar3dChart=D3,t.BarChart=e2,t.BoxPlot=k5,t.BoxPlotChart=F3,t.Brush=a4,t.CanvasTooltip=f4,t.CirclePacking=A5,t.CirclePackingChart=z3,t.CircularProgress=M5,t.CircularProgressChart=V3,t.CommonChart=N3,t.ContinuousLegend=_4,t.Correlation=w5,t.CorrelationChart=W3,t.Crosshair=o4,t.DataZoom=l4,t.Dot=C5,t.Funnel=T5,t.Funnel3d=B5,t.Funnel3dChart=G3,t.FunnelChart=U3,t.Gauge=P5,t.GaugeChart=Y3,t.GaugePointer=E5,t.Heatmap=O5,t.HeatmapChart=$3,t.Histogram3dChart=X3,t.HistogramChart=K3,t.Indicator=v4,t.Legend=r4,t.Line=R5,t.LineChart=Z3,t.LinearProgress=I5,t.LinearProgressChart=q3,t.Link=L5,t.Liquid=D5,t.LiquidChart=J3,t.Map=F5,t.MapChart=Q3,t.Mark=s4,t.MarkArea=c4,t.MarkLine=h4,t.MarkPoint=d4,t.Mosaic=j5,t.MosaicChart=t5,t.Pictogram=z5,t.PictogramChart=e5,t.Pie=H5,t.Pie3d=V5,t.Pie3dChart=s5,t.PieChart=i5,t.Player=m4,t.REACT_TOOLTIP_ClASS_NAME=$1,t.Radar=N5,t.RadarChart=n5,t.RangeArea=W5,t.RangeAreaChart=r5,t.RangeColumn=U5,t.RangeColumn3d=G5,t.RangeColumn3dChart=o5,t.RangeColumnChart=a5,t.Region=n4,t.Rose=Y5,t.RoseChart=l5,t.Sankey=$5,t.SankeyChart=h5,t.Scatter=X5,t.ScatterChart=c5,t.ScrollBar=u4,t.SequenceChart=d5,t.Series=_5,t.Sunburst=K5,t.SunburstChart=u5,t.Title=y4,t.Tooltip=g4,t.Treemap=q5,t.TreemapChart=p5,t.VChart=b4,t.VChartCore=vj,t.VChartSimple=x4,t.Venn=Z5,t.VennChart=m5,t.Waterfall=J5,t.WaterfallChart=v5,t.WordCloud=Q5,t.WordCloud3d=t4,t.WordCloud3dChart=f5,t.WordCloudChart=g5,t.registerAreaChart=_N,t.registerAxis3dPlugin=()=>{c2(),y2(),(()=>{KH();const t=iL.getComponentInKey(XH.type);t.builtInTheme=Object.assign(Object.assign({},t.builtInTheme),{axisZ:Object.assign(Object.assign({},XH.builtInTheme.axisX),G2)}),G(t,Y2)})(),(()=>{GH();const t=iL.getComponentInKey(UH.type);t.builtInTheme=Object.assign(Object.assign({},t.builtInTheme),{axisZ:Object.assign(Object.assign({},UH.builtInTheme.axisX),G2)}),G(t,Y2)})(),(()=>{ZH();const t=iL.getComponentInKey(qH.type);t.builtInTheme=Object.assign(Object.assign({},t.builtInTheme),{axisZ:Object.assign(Object.assign({},t.builtInTheme.axisX),G2)}),G(t,Y2)})(),(()=>{QH();const t=iL.getComponentInKey(tV.type);t.builtInTheme=Object.assign(Object.assign({},t.builtInTheme),{axisZ:Object.assign(Object.assign({},t.builtInTheme.axisX),G2)}),G(t,Y2)})(),(()=>{QH();const t=iL.getComponentInKey(JH.type);t.builtInTheme=Object.assign(Object.assign({},t.builtInTheme),{axisZ:Object.assign(Object.assign({},JH.builtInTheme.axisX),G2)}),G(t,Y2)})()},t.registerBar3dChart=b2,t.registerBarChart=DN,t.registerBoxplotChart=CZ,t.registerBrush=v0,t.registerCartesianBandAxis=KH,t.registerCartesianCrossHair=xJ,t.registerCartesianLinearAxis=GH,t.registerCartesianLogAxis=QH,t.registerCartesianSymlogAxis=eV,t.registerCartesianTimeAxis=ZH,t.registerChartResizeZoomPlugin=()=>{q0(C1)},t.registerCirclePackingChart=yZ,t.registerCircularProgressChart=Kq,t.registerCommonChart=Fq,t.registerContinuousLegend=rJ,t.registerCorrelationChart=zZ,t.registerCustomMark=_0,t.registerDataZoom=zJ,t.registerDiscreteLegend=YZ,t.registerFunnel3dChart=T2,t.registerFunnelChart=aZ,t.registerGaugeChart=Jq,t.registerGeoCoordinate=cW,t.registerGeoMarkPoint=f0,t.registerHeatmapChart=DZ,t.registerHistogram3dChart=P2,t.registerHistogramChart=Yq,t.registerIndicator=$J,t.registerLabel=s0,t.registerLineChart=oN,t.registerLinearProgressChart=hZ,t.registerLiquidChart=b1,t.registerMapChart=bq,t.registerMapLabel=t=>{const e=(null==t?void 0:t.VChart)||vj;e&&e.useComponent([L3])},t.registerMarkArea=NQ,t.registerMarkLine=IQ,t.registerMarkPoint=d0,t.registerMosaicChart=w1,t.registerPictogramChart=k3,t.registerPie3dChart=j2,t.registerPieChart=Cq,t.registerPlayer=ZQ,t.registerPolarBandAxis=lG,t.registerPolarCrossHair=kJ,t.registerPolarLinearAxis=aG,t.registerPolarMarkArea=UQ,t.registerPolarMarkLine=DQ,t.registerPolarMarkPoint=p0,t.registerPoptip=S0,t.registerRadarChart=Iq,t.registerRangeAreaChart=RZ,t.registerRangeColumn3dChart=J2,t.registerRangeColumnChart=uZ,t.registerRoseChart=Eq,t.registerSankeyChart=PZ,t.registerScatterChart=KN,t.registerScrollBar=VJ,t.registerSequenceChart=Vq,t.registerSunburstChart=fZ,t.registerTitle=jQ,t.registerTooltip=gJ,t.registerTotalLabel=a0,t.registerTreemapChart=xZ,t.registerVennChart=k1,t.registerWaterfallChart=AZ,t.registerWordCloud3dChart=U2,t.registerWordCloudChart=iZ,t.registerWordCloudShapeChart=sZ,t.version="2.0.18"}));
|
|
24
|
+
function(t,e){var i={};for(var s in t)Object.prototype.hasOwnProperty.call(t,s)&&e.indexOf(s)<0&&(i[s]=t[s]);if(null!=t&&"function"==typeof Object.getOwnPropertySymbols){var n=0;for(s=Object.getOwnPropertySymbols(t);n<s.length;n++)e.indexOf(s[n])<0&&Object.prototype.propertyIsEnumerable.call(t,s[n])&&(i[s[n]]=t[s[n]])}return i}(i,["className","style","width","height","id"]);return e.useLayoutEffect((()=>{o(!0)}),[]),e.createElement("div",{ref:r,id:null==u?void 0:u.toString(),className:l,style:Object.assign({position:"relative",height:d||"100%",width:c||"100%"},h)},a?e.createElement(t,Object.assign({ref:n,container:r.current},s?s(p):p)):e.createElement(e.Fragment,null))}));return n.displayName=i||t.name,n}const B1=e.createContext(null);B1.displayName="ChartContext";var P1,E1={exports:{}},O1={};E1.exports=function(){if(P1)return O1;P1=1;var t,e=Symbol.for("react.element"),i=Symbol.for("react.portal"),s=Symbol.for("react.fragment"),n=Symbol.for("react.strict_mode"),r=Symbol.for("react.profiler"),a=Symbol.for("react.provider"),o=Symbol.for("react.context"),l=Symbol.for("react.server_context"),h=Symbol.for("react.forward_ref"),c=Symbol.for("react.suspense"),d=Symbol.for("react.suspense_list"),u=Symbol.for("react.memo"),p=Symbol.for("react.lazy"),g=Symbol.for("react.offscreen");function f(t){if("object"==typeof t&&null!==t){var g=t.$$typeof;switch(g){case e:switch(t=t.type){case s:case r:case n:case c:case d:return t;default:switch(t=t&&t.$$typeof){case l:case o:case h:case p:case u:case a:return t;default:return g}}case i:return g}}}return t=Symbol.for("react.module.reference"),O1.ContextConsumer=o,O1.ContextProvider=a,O1.Element=e,O1.ForwardRef=h,O1.Fragment=s,O1.Lazy=p,O1.Memo=u,O1.Portal=i,O1.Profiler=r,O1.StrictMode=n,O1.Suspense=c,O1.SuspenseList=d,O1.isAsyncMode=function(){return!1},O1.isConcurrentMode=function(){return!1},O1.isContextConsumer=function(t){return f(t)===o},O1.isContextProvider=function(t){return f(t)===a},O1.isElement=function(t){return"object"==typeof t&&null!==t&&t.$$typeof===e},O1.isForwardRef=function(t){return f(t)===h},O1.isFragment=function(t){return f(t)===s},O1.isLazy=function(t){return f(t)===p},O1.isMemo=function(t){return f(t)===u},O1.isPortal=function(t){return f(t)===i},O1.isProfiler=function(t){return f(t)===r},O1.isStrictMode=function(t){return f(t)===n},O1.isSuspense=function(t){return f(t)===c},O1.isSuspenseList=function(t){return f(t)===d},O1.isValidElementType=function(e){return"string"==typeof e||"function"==typeof e||e===s||e===r||e===n||e===c||e===d||e===g||"object"==typeof e&&null!==e&&(e.$$typeof===p||e.$$typeof===u||e.$$typeof===a||e.$$typeof===o||e.$$typeof===h||e.$$typeof===t||void 0!==e.getModuleId)},O1.typeOf=f,O1}();var R1=E1.exports;const I1=t=>{let i=[];return e.Children.forEach(t,(t=>{u(t)||(R1.isFragment(t)?i=i.concat(I1(t.props.children)):i.push(t))})),i},L1={onPointerDown:"pointerdown",onPointerUp:"pointerup",onPointerUpOutside:"pointerupoutside",onPointerTap:"pointertap",onPointerOver:"pointerover",onPointerMove:"pointermove",onPointerEnter:"pointerenter",onPointerLeave:"pointerleave",onPointerOut:"pointerout",onMouseDown:"mousedown",onMouseUp:"mouseup",onMouseUpOutside:"mouseupoutside",onMouseMove:"mousemove",onMouseOver:"mouseover",onMouseOut:"mouseout",onMouseEnter:"mouseenter",onMouseLeave:"mouseleave",onPinch:"pinch",onPinchStart:"pinchstart",onPinchEnd:"pinchend",onPan:"pan",onPanStart:"panstart",onPanEnd:"panend",onDrag:"drag",onDragStart:"dragstart",onDragEnter:"dragenter",onDragLeave:"dragleave",onDragOver:"dragover",onDragEnd:"dragend",onRightDown:"rightdown",onRightUp:"rightup",onRightUpOutside:"rightupoutside",onTouchStart:"touchstart",onTouchEnd:"touchend",onTouchEndOutside:"touchendoutside",onTouchMove:"touchmove",onTouchCancel:"touchcancel",onPress:"press",onPressUp:"pressup",onPressEnd:"pressend",onSwipe:"swipe",onDrop:"drop",onWeel:"wheel",onClick:"click",onDblClick:"dblclick"},D1={onLegendItemHover:"legendItemHover",onLegendItemUnHover:"legendItemUnHover",onLegendItemClick:"legendItemClick",onLegendFilter:"legendFilter",onLegendSelectedDataChange:"legendSelectedDataChange"},F1={onBrushStart:"brushStart",onBrushChange:"brushChange",onBrushEnd:"brushEnd",onBrushClear:"brushClear"},j1={onDataZoomChange:"dataZoomChange"},z1={onPlayerPlay:"playerPlay",onPlayerPause:"playerPause",onPlayerEnd:"playerEnd",onPlayerChange:"playerChange",onPlayerForward:"playerForward",onPlayerBackward:"playerBackward"},H1={onScrollBarChange:"scrollBarChange"},V1=Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},D1),F1),z1),j1),H1),{onDimensionHover:"dimensionHover",onDimensionClick:"dimensionClick"}),{onInitialized:"initialized",onRendered:"rendered",onRenderFinished:"renderFinished",onAnimationFinished:"animationFinished",onLayoutStart:"layoutStart",onLayoutEnd:"layoutEnd"}),{onDrill:"drill"}),L1),N1=Object.keys(V1).concat(Object.keys(L1).map((t=>`${t}Filter`))),W1=Object.keys(L1),U1=Object.keys(L1).reduce(((t,e)=>(t[L1[e]]=e,t)),{}),G1=(t,e=L1)=>{const i={};return Object.keys(t).forEach((s=>{e[s]&&t[s]&&(i[s]=t[s])})),i},Y1=(t,e,i,s=L1)=>{if(!e&&!i||!t)return!1;const n=i?G1(i,s):null,r=e?G1(e,s):null;return n&&Object.keys(n).forEach((e=>{r&&r[e]&&r[e]===n[e]||t.off(s[e],n[e])})),r&&Object.keys(r).forEach((i=>{if(!n||!n[i]||n[i]!==r[i]){const n=e[`${i}Filter`];n?t.on(s[i],n,r[i]):t.on(s[i],r[i])}})),!0},$1=`${AL}_REACT_TOOLTIP`,X1=["children","hooks","ref",...N1,"vchartConstructor","vchartConstrouctor","useSyncRender","skipFunctionDiff","onError","onReady","spec","container","options","morphConfig"],K1={morph:!1,enableExitAnimation:!1},q1=(t,e)=>`${t&&t.type&&(t.type.displayName||t.type.name)}-${e}`,Z1=e.forwardRef(((t,s)=>{const[n,r]=e.useState(0),a=e.useRef({});e.useImperativeHandle(s,(()=>{var t;return null===(t=a.current)||void 0===t?void 0:t.chart}));const o=!!t.spec,l=e.useRef(!1),h=e.useRef(H(t,X1)),c=e.useRef(null),d=e.useRef(null),g=!!t.skipFunctionDiff,[f,m]=e.useState(null),v=t=>{let s;o&&t.spec?(s=t.spec,p(t.data)&&(s=Object.assign(Object.assign({},t.spec),{data:t.data}))):s=Object.assign(Object.assign({},h.current),c.current);const n=((t,s,n)=>{var r,a,o;const l=Object.assign({},null!=n?n:{});let h;if((null==n?void 0:n.tooltipRender)?(h=n.tooltipRender,delete l.tooltipRender):s.tooltipRender&&(h=s.tooltipRender),h){let c;if((null==n?void 0:n.reserveDefaultTooltip)?(c=n.reserveDefaultTooltip,delete l.reserveDefaultTooltip):c=s.reserveDefaultTooltip,!c){const t=Object.assign({},null!==(a=null===(r=l.style)||void 0===r?void 0:r.panel)&&void 0!==a?a:{});t.padding=0,t.border=Object.assign(Object.assign({},t.border),{radius:0}),t.backgroundColor="unset",l.style=Object.assign(Object.assign({},null!==(o=l.style)&&void 0!==o?o:{}),{panel:t})}return Object.assign(Object.assign({},l),{updateElement:(s,n,r)=>{const{changePositionOnly:a}=r;if(!a){if(!c){s.style.width="auto",s.style.height="auto",s.style.minHeight="auto";for(let t=0;t<s.children.length;t++){const e=s.children[t];e.className!==$1&&"none"!==e.style.display&&(e.style.display="none")}}t(i.createPortal(e.createElement("div",{className:$1},h(s,n,r)),s))}}})}return n})(m,t,s.tooltip);return n&&(s.tooltip=n),s},y=e=>{if(!l.current){if(!a.current||!a.current.chart)return;e&&Y1(a.current.chart,t,d.current,V1),r(n+1),t.onReady&&t.onReady(a.current.chart,0===n)}};return e.useEffect((()=>{var e,i,s;const n=o?null:(t=>{const e={};return I1(t.children).map(((t,i)=>{const s=t&&t.type&&t.type.parseSpec;if(s&&t.props){const n=s(u(t.props.componentId)?Object.assign(Object.assign({},t.props),{componentId:q1(t,i)}):t.props);n.isSingle?e[n.specName]=n.spec:(e[n.specName]||(e[n.specName]=[]),e[n.specName].push(n.spec))}})),e})(t);if(!(null===(e=a.current)||void 0===e?void 0:e.chart))return o||(c.current=n),(t=>{var e;const i=new(null!==(e=t.vchartConstructor)&&void 0!==e?e:t.vchartConstrouctor)(v(t),Object.assign(Object.assign({},t.options),{onError:t.onError,autoFit:!0,dom:t.container}));a.current=Object.assign(Object.assign({},a.current),{chart:i}),l.current=!1})(t),a.current.chart&&(Y1(a.current.chart,t,d.current,V1),a.current.chart.renderSync({reuse:!1}),y()),void(d.current=t);if(o)return void(W(d.current.spec,t.spec,{skipFunction:g})?d.current.data!==t.data&&(a.current.chart.updateFullDataSync(t.data),y(!0),d.current=t):(a.current.chart.updateSpecSync(v(t),void 0,null!==(i=t.morphConfig)&&void 0!==i?i:K1),y(!0),d.current=t));const r=H(t,X1);W(r,h.current,{skipFunction:g})&&W(n,c.current,{skipFunction:g})||(h.current=r,c.current=n,a.current.chart.updateSpecSync(v(t),void 0,null!==(s=t.morphConfig)&&void 0!==s?s:K1),y(!0),d.current=t)}),[t]),e.useEffect((()=>()=>{a&&a.current&&a.current.chart&&(a.current.chart.release(),a.current.chart=null),d.current=null,l.current=!0}),[]),e.createElement(B1.Provider,{value:a.current},I1(t.children).map(((t,i)=>{if("string"==typeof t)return null;const s=q1(t,i);return e.createElement(e.Fragment,{key:s},e.cloneElement(t,{updateId:n,componentId:s}))})),f)})),J1=(t,e,i)=>{i&&i.length&&e.vchartConstructor&&e.vchartConstructor.useRegisters(i);const s=T1(Z1,t,(t=>e?Object.assign(t,e):t));return s.displayName=t,s},Q1=[rj,Hb,gJ,W0,GH,KH,ZH,QH,xJ,v0,rJ,zJ,YZ,_0,v1,NQ,IQ,d0,VJ,jQ],t2=J1("AreaChart",{type:"area",vchartConstructor:vj},[_N,s0,a0,...Q1]),e2=J1("BarChart",{type:"bar",vchartConstructor:vj},[DN,s0,a0,...Q1]);class i2 extends IN{_getDefaultSeriesSpec(t){const e=super._getDefaultSeriesSpec(t);return e.barWidth=t.barWidth,e.barMaxWidth=t.barMaxWidth,e.barMinWidth=t.barMinWidth,e.barGapInGroup=t.barGapInGroup,e}}var s2,n2,r2,a2,o2;!function(t){t.bar3d="bar3d",t.histogram3d="histogram3d",t.rangeColumn3d="rangeColumn3d",t.pie3d="pie3d",t.wordCloud3d="wordCloud3d",t.funnel3d="funnel3d"}(s2||(s2={})),function(t){t.rect3d="rect3d",t.arc3d="arc3d",t.pyramid3d="pyramid3d"}(n2||(n2={})),function(t){t.bar3d="bar3d",t.rangeColumn3d="rangeColumn3d",t.pie3d="pie3d",t.wordCloud3d="wordCloud3d",t.funnel3d="funnel3d"}(r2||(r2={})),function(t){t.bar3d="bar3d",t.funnel3d="funnel3d",t.transform3d="transform3d",t.pie3d="pie3d"}(a2||(a2={})),function(t){t.bar3d_horizontal="bar3d_horizontal",t.bar3d_vertical="bar3d_vertical",t.bar3d_stack="bar3d_stack",t.rangeColumn3d_horizontal="rangeColumn3d_horizontal",t.rangeColumn3d_vertical="rangeColumn3d_vertical"}(o2||(o2={}));const l2=t=>t.zField||t.series&&t.series.some((t=>t.zField));class h2 extends Gz{constructor(){super(h2.type),this.type="VChart3dPlugin"}onInit(t,e){var i;if(this._is3d=(t=>{return!!t&&("bar3d"===(e=t.type)||"funnel3d"===e||"histogram3d"===e||"pie3d"===e||"rangeColumn3d"===e||"wordCloud3d"===e||l2(t),!0);var e})(e),this._is3d){const{globalInstance:e}=t;e.getCompiler().getStage().set3dOptions(Object.assign({},null===(i=e._option)||void 0===i?void 0:i.options3d))}}onBeforeInitChart(t,e,i){this._is3d&&l2(e)&&(e.layout={type:"layout3d"})}}h2.pluginType="chart",h2.type="VChart3dPlugin";const c2=()=>{q0(h2),B_(),E_(),__.registerPlugin("ViewTransform3dPlugin",Vb)},d2={label:{name:"label",type:"text"},bar3d:{name:"bar3d",type:"rect3d"}};class u2 extends EN{_transformLabelSpec(t){this._addMarkLabelSpec(t,"bar3d")}}class p2 extends jF{_getDefaultStyle(){return Object.assign(Object.assign({},super._getDefaultStyle()),{width:void 0,height:void 0,length:3})}setDataLabelType(){return"rect"}constructor(t,e){super(t,e),this.type=p2.type,this._markConfig.support3d=!0}setMarkConfig(t){super.setMarkConfig(t),this._markConfig.support3d=!0}}p2.type="rect3d";const g2=()=>{iL.registerMark(p2.type,p2),nw(),tw(),ej(),iL.registerGraphicComponent("rect3d",gf)};class f2 extends ON{constructor(){super(...arguments),this.type=r2.bar3d,this._barMarkName="bar3d",this._barMarkType="rect3d",this.transformerConstructor=u2}}f2.type=r2.bar3d,f2.mark=d2,f2.builtInTheme={bar3d:{bar3d:{style:{length:3}},label:{visible:!1,style:{offset:12,position:"outside"}}}},f2.transformerConstructor=u2;const m2=()=>{iL.registerAnimation("bar3d",((t,e)=>({appear:MN(t,e),enter:xN(t,!1),exit:SN(t,!1),disappear:SN(t)}))),g2(),KH(),GH(),iL.registerSeries(f2.type,f2)};class v2 extends SF{layoutItems(t,e,i,s){this._layoutInit(t,e,i,s);const n={recomputeWidth:this.recomputeWidth,recomputeHeight:this.recomputeHeight};this._layoutNormalItems(e,n);const r={left:this.leftCurrent,top:this.topCurrent,right:this.rightCurrent,bottom:this.bottomCurrent},a=e.filter((t=>"absolute"===t.layoutType)),o=a.filter((t=>"z"===t.layoutOrient));let l={width:0,height:0};o.length&&(l=o[0].getLayoutRect()),this.leftCurrent+=l.width/8,this.rightCurrent-=l.width/8,this.topCurrent+=l.height/8,this.bottomCurrent-=l.height/8;const{regionItems:h,relativeItems:c,relativeOverlapItems:d,allRelatives:u,overlapItems:p}=this._groupItems(e);this.layoutRegionItems(h,c,d,p,n),this._processAutoIndent(h,c,d,p,u,r,n);const g=a.filter((t=>"z"!==t.layoutOrient));this.layoutAbsoluteItems(g);const f=c.filter((t=>"axes"===t.model.specKey&&dz(t.layoutOrient)))[0],m=c.filter((t=>"axes"===t.model.specKey&&uz(t.layoutOrient)))[0];if(f&&o.length){const t=f.getLayoutStartPoint(),e=f.getLayoutRect(),i={x:"left"===m.layoutOrient?t.x+e.width:t.x,y:t.y,width:this._chartLayoutRect.width,height:this._chartLayoutRect.height};o[0].model.directionStr="left"===m.layoutOrient?"r2l":"l2r";const s=f.getLayoutRect(),n=m.getLayoutRect(),r={length:o[0].getLayoutRect().width,width:s.width,height:n.height};f.model.setLayout3dBox&&f.model.setLayout3dBox(r),m.model.setLayout3dBox&&m.model.setLayout3dBox(r),o[0].model.setLayout3dBox&&o[0].model.setLayout3dBox(r),this.layoutZAxisItems(o,i)}}layoutZAxisItems(t,e){t.forEach((t=>{t.absoluteLayoutInRect(e)}))}getItemComputeLayoutRect(t,e){return e||(e={offsetLeft:0,offsetRight:0,offsetTop:0,offsetBottom:0}),{width:this.rightCurrent-this.leftCurrent-t.layoutPaddingLeft-t.layoutPaddingRight-(e.offsetLeft+e.offsetRight),height:this.bottomCurrent-this.topCurrent-t.layoutPaddingTop-t.layoutPaddingBottom-(e.offsetTop+e.offsetBottom)}}_checkAutoIndent(t){const e={top:0,left:0,bottom:0,right:0},i=this._chartViewBox.x2-this._chartViewBox.x1-this.rightCurrent,s=this._chartViewBox.y2-this._chartViewBox.y1-this.bottomCurrent;return t.forEach((t=>{if(!t.getModelVisible()||!t.autoIndent)return;const n="left"===t.layoutOrient||"right"===t.layoutOrient,r=t.getLastComputeOutBounds();n?(e.top=Math.max(e.top,r.y1-this.topCurrent),e.bottom=Math.max(e.bottom,r.y2-s)):(e.left=Math.max(e.left,r.x1-this.leftCurrent),e.right=Math.max(e.right,r.x2-i))})),e}}v2.type="layout3d";const y2=()=>{iL.registerLayout(v2.type,v2)};let _2=class extends LN{constructor(){super(...arguments),this.transformerConstructor=i2,this.type="bar3d",this.seriesType=r2.bar3d}};_2.type="bar3d",_2.seriesType=r2.bar3d,_2.transformerConstructor=i2;const b2=()=>{c2(),y2(),m2(),iL.registerChart(_2.type,_2)},x2=Object.assign(Object.assign({},Uj),{funnel3d:{name:"funnel3d",type:"pyramid3d"},transform3d:{name:"transform3d",type:"pyramid3d"},transformLabel:{name:"transformLabel",type:"text"},outerLabel:{name:"outerLabel",type:"text"},outerLabelLine:{name:"outerLabelLine",type:"rule"}});class S2 extends mX{_transformLabelSpec(t){this._addMarkLabelSpec(t,"funnel3d"),t.isTransform&&this._addMarkLabelSpec(t,"transform3d","transformLabel")}}class k2 extends uX{_getDefaultStyle(){const t=super._getDefaultStyle();return t.stroke=!1,t}constructor(t,e){super(t,e),this.type=k2.type,this._markConfig.support3d=!0}setMarkConfig(t){super.setMarkConfig(t),this._markConfig.support3d=!0}}k2.type="pyramid3d";const A2=rL(!0);class M2 extends vX{constructor(){super(...arguments),this.type=r2.funnel3d,this._funnelMarkName="funnel3d",this._funnelMarkType="pyramid3d",this._transformMarkName="transform3d",this._transformMarkType="pyramid3d",this.transformerConstructor=S2}initMark(){var t,e,i,s,n,r,a,o;if(this._funnelMark=this._createMark(Object.assign(Object.assign({},M2.mark.funnel3d),{name:this._funnelMarkName,type:this._funnelMarkType}),{themeSpec:null===(t=this._theme)||void 0===t?void 0:t.funnel3d,key:this._seriesField,isSeriesMark:!0},{support3d:!0}),this._spec.isTransform&&(this._funnelTransformMark=this._createMark(Object.assign(Object.assign({},M2.mark.transform3d),{name:this._transformMarkName,type:this._transformMarkType}),{themeSpec:null===(e=this._theme)||void 0===e?void 0:e.transform3d,key:this._seriesField,skipBeforeLayouted:!1,dataView:this._viewDataTransform.getDataView(),dataProductId:this._viewDataTransform.getProductId()})),null===(s=null===(i=this._spec)||void 0===i?void 0:i.outerLabel)||void 0===s?void 0:s.visible){const{line:t}=null!==(n=this._spec.outerLabel)&&void 0!==n?n:{},{line:e}=null!==(a=null===(r=this._theme)||void 0===r?void 0:r.outerLabel)&&void 0!==a?a:{};this._funnelOuterLabelMark.label=this._createMark(M2.mark.outerLabel,{themeSpec:null===(o=this._theme)||void 0===o?void 0:o.outerLabel,key:this._seriesField,markSpec:this._spec.outerLabel}),this._funnelOuterLabelMark.line=this._createMark(M2.mark.outerLabelLine,{themeSpec:e,key:this._seriesField,markSpec:t})}}initMarkStyle(){super.initMarkStyle();const t=this._funnelMark;t&&this.setMarkStyle(t,{z:t=>{if(this._isHorizontal())return 0;const e=this.getPoints(t),i=Math.max(Math.abs(e[0].x-e[1].x),Math.abs(e[2].x-e[3].x));return(this._computeMaxSize()-i)/2}},"normal",nF.Series)}initLabelMarkStyle(t){var e,i;super.initLabelMarkStyle(t),this.setMarkStyle(t,{z:t=>{if(this._isHorizontal())return 0;const e=this.getPoints(t),i=Math.max(Math.abs(e[0].x-e[1].x),Math.abs(e[2].x-e[3].x));return(this._computeMaxSize()-i)/2}},"normal",nF.Series),this._labelMark=t,null===(e=this._funnelOuterLabelMark)||void 0===e||e.label,null===(i=this._funnelOuterLabelMark)||void 0===i||i.line}}M2.type=r2.funnel3d,M2.mark=x2,M2.builtInTheme={funnel3d:A2},M2.transformerConstructor=S2;const w2=()=>{iL.registerMark(k2.type,k2),nw(),qM(),nj(),iL.registerGraphicComponent("pyramid3d",Uf),uU(),AW(),iL.registerSeries(M2.type,M2)};let C2=class extends xV{constructor(){super(...arguments),this.transformerConstructor=nZ,this.type="funnel3d",this.seriesType=r2.funnel3d}};C2.type="funnel3d",C2.seriesType=r2.funnel3d,C2.transformerConstructor=nZ;const T2=()=>{sN(),c2(),y2(),w2(),iL.registerChart(C2.type,C2)};let B2=class extends Wq{constructor(){super(...arguments),this.transformerConstructor=Uq,this.type="histogram3d",this.seriesType=r2.bar3d}_setModelOption(){this._modelOption.getDimensionInfo=jV,this._modelOption.getDimensionInfoByValue=HV,this._modelOption.getRectByDimensionData=YV}};B2.type="histogram3d",B2.seriesType=r2.bar3d,B2.transformerConstructor=Uq;const P2=()=>{rN(),eN(),sN(),OV(),EV(),c2(),y2(),m2(),iL.registerChart(B2.type,B2)};class E2 extends Aq{transformSpec(t){super.transformSpec(t),t.series.forEach((e=>{"pie3d"===e.type&&(e.angle3d=t.angle3d)}))}}class O2 extends FU{setDataLabelType(){return"arc"}constructor(t,e){super(t,e),this.type=O2.type,this._markConfig.support3d=!0}setMarkConfig(t){super.setMarkConfig(t),this._markConfig.support3d=!0}}O2.type="arc3d";const R2=Object.assign(Object.assign({},Uj),{pie3d:{name:"pie3d",type:"arc3d"},labelLine:{name:"labelLine",type:"path"}});class I2 extends VU{_transformLabelSpec(t){this._addMarkLabelSpec(t,"pie3d")}}class L2 extends WU{constructor(){super(...arguments),this.type=r2.pie3d,this._pieMarkName="pie3d",this._pieMarkType="arc3d",this.transformerConstructor=I2}setAttrFromSpec(){var t,e;super.setAttrFromSpec(),this._angle3d=null!==(e=null===(t=this._spec)||void 0===t?void 0:t.angle3d)&&void 0!==e?e:-Math.PI/3}initMarkStyle(){super.initMarkStyle();const t=this._pieMark;t&&this.setMarkStyle(t,{beta:()=>this._angle3d},"normal",nF.Series)}initLabelMarkStyle(t,e={}){t&&(super.initLabelMarkStyle(t),this.setMarkStyle(t,{support3d:!0},void 0,nF.Mark))}}L2.type=r2.pie3d,L2.mark=R2,L2.builtInTheme={pie3d:{outerRadius:.6,pie3d:{style:{height:10,fillOpacity:1}},label:{visible:!1,interactive:!0,position:"outside"}}},L2.transformerConstructor=I2;const D2=()=>{iL.registerAnimation("pie3d",((t,e)=>({appear:DU(t,e),enter:RU(t),exit:IU(t),disappear:LU(t)}))),ij(),nw(),OM(),iL.registerGraphicComponent("arc3d",zf),iL.registerMark("arc3d",O2),iL.registerSeries(L2.type,L2)};let F2=class extends Mq{constructor(){super(...arguments),this.transformerConstructor=E2,this.type="pie3d",this.seriesType=r2.pie3d}};F2.type="pie3d",F2.seriesType=r2.pie3d,F2.transformerConstructor=E2;const j2=()=>{sN(),c2(),y2(),D2(),iL.registerChart(F2.type,F2)},z2=t=>({custom:iB,customParameters:()=>t,easing:"linear",loop:1/0,duration:6e3});class H2 extends eY{constructor(){super(...arguments),this.type=r2.wordCloud3d}_wordCloudTransformOption(){var t;return Object.assign(Object.assign({},super._wordCloudTransformOption()),{postProjection:null!==(t=this._spec.postProjection)&&void 0!==t?t:"StereographicProjection",depth_3d:this._spec.depth_3d})}_wordCloudShapeTransformOption(){var t;return Object.assign(Object.assign({},super._wordCloudShapeTransformOption()),{postProjection:null!==(t=this._spec.postProjection)&&void 0!==t?t:"StereographicProjection",depth_3d:this._spec.depth_3d})}initMark(){this._wordMark=this._createMark(eY.mark.word,{groupKey:this._seriesField,isSeriesMark:!0},{support3d:!0})}initMarkStyle(){super.initMarkStyle();const t=this._wordMark;t&&this.setMarkStyle(t,{z:t=>{var e;return null!==(e=t.z)&&void 0!==e?e:0}},"normal",nF.Series)}initAnimation(){var t,e;const i=null!==(t=this._padding)&&void 0!==t?t:{};this._wordMark&&this._wordMark.setAnimationConfig(Jj(null===(e=iL.getAnimationInKey("wordCloud3d"))||void 0===e?void 0:e((()=>{var t;const e=this.getCompiler().getStage(),s=e.width-i.left||0-i.right||0,n=e.height-i.top||0-i.bottom||0,r=Math.max(s,n)/2;return{center:{x:r,y:r,z:null!==(t=this._spec.depth_3d)&&void 0!==t?t:r},r:r}})),Qj("word",this._spec,this._markAttributeContext)))}}H2.type=r2.wordCloud3d,H2.builtInTheme={wordCloud3d:{word:{padding:1,style:{textAlign:"center",textBaseline:"alphabetic"}}}};const V2=()=>{uU(),iL.registerAnimation("wordCloud3d",(t=>({appear:z2(t)}))),iL.registerSeries(H2.type,H2)};class N2 extends Qq{_getDefaultSeriesSpec(t){const e=super._getDefaultSeriesSpec(t);return e.depth_3d=t.depth_3d,e}}let W2=class extends tZ{constructor(){super(...arguments),this.transformerConstructor=N2,this.type="wordCloud3d",this.seriesType=r2.wordCloud3d}};W2.type="wordCloud3d",W2.seriesType=r2.wordCloud3d,W2.transformerConstructor=N2;const U2=()=>{c2(),V2(),iL.registerChart(W2.type,W2)},G2={label:{space:0}};class Y2{setLayout3dBox(t){this.layout3dBox=t}_afterUpdateAttribute(t,e){const i=pz(this._orient),s=dz(this._orient),n=uz(this._orient);let r=0,a=0;if(!e){const t=this.getRegions();let{x:e,y:i}=t[0].getLayoutStartPoint(),s=e+t[0].getLayoutRect().width,n=i+t[0].getLayoutRect().height;for(let r=1;r<t.length;r++){const a=t[r],{x:o,y:l}=a.getLayoutStartPoint(),{width:h,height:c}=a.getLayoutRect();e=Math.min(e,o),s=Math.max(s,h+o),i=Math.min(i,l),n=Math.max(n,c+l)}r=Math.abs(n-i),a=Math.abs(s-e)}let o=0,l=0;const{width:h,height:c}=this.getLayoutRect();let d={x:0,y:0};s?(d={x:h,y:0},o=r,l=h):n&&(d={x:0,y:c},o=a,l=c);const u=this.layout3dBox?this.layout3dBox.length:0;if(!i){const e=this.getLabelItems(l);return t.grid={length:o},t.start={x:0,y:0},t.text=this._spec.title.text||this._dataFieldText,t.maxWidth=this._getTitleLimit(s),t.items=e,t.grid={type:"line",start:{x:0,y:0},end:d,items:e[0],depth:u,length:o},t}return((t,e)=>{var i;const s=CH(t.getRegions()),{width:n}=t.getLayoutRect(),r=n,a=t.layout3dBox?t.layout3dBox.length:0,o=t.layout3dBox?t.layout3dBox.width:0,l={x:a,y:0},h=t.getLabelItems(r),c={start:{x:0,y:0},end:l,title:{text:t._spec.title.text||t._dataFieldText,maxWidth:t._getTitleLimit(!1)},items:h,scale:t._scale.clone()},d=null!==(i=t.directionStr)&&void 0!==i?i:"r2l";let u=[0,0],p=-Math.PI/2,g=0;return"l2r"===d&&(g=t.layout3dBox.length,u=[0,0,0],p=Math.PI/2),c.z=g,c.alpha=p,c.anchor3d=u,e||(c.grid={type:"line",start:{x:0,y:0},end:l,items:h[0],verticalFactor:t._axisStyle.verticalFactor,depth:o,length:e?0:s.height,alpha:p,z:g,anchor3d:u}),c})(this,e)}}const $2=Object.assign(Object.assign({},d2),{minLabel:{name:"minLabel",type:"text"},maxLabel:{name:"maxLabel",type:"text"}});class X2 extends bU{constructor(){super(...arguments),this.type=r2.rangeColumn3d,this._barMarkType="rect3d",this._barName=r2.bar3d}}X2.type=r2.rangeColumn3d,X2.mark=$2;const K2=()=>{g2(),KH(),GH(),iL.registerSeries(X2.type,X2)};class q2 extends AV{_getDefaultSeriesSpec(t){var e,i;const s=super._getDefaultSeriesSpec(t,["bar3d","barGapInGroup"]);return"horizontal"===t.direction?s.xField=null!==(e=t.xField)&&void 0!==e?e:[t.minField,t.maxField]:s.yField=null!==(i=t.yField)&&void 0!==i?i:[t.minField,t.maxField],s}}let Z2=class extends xV{constructor(){super(...arguments),this.transformerConstructor=q2,this.type="rangeColumn3d",this.seriesType=r2.rangeColumn3d}_setModelOption(){this._modelOption.getDimensionInfo=jV,this._modelOption.getDimensionInfoByValue=HV,this._modelOption.getRectByDimensionData=YV}};Z2.type="rangeColumn3d",Z2.seriesType=r2.rangeColumn3d,Z2.transformerConstructor=q2;const J2=()=>{eN(),sN(),OV(),EV(),c2(),y2(),K2(),iL.registerChart(Z2.type,Z2)},Q2="pictogram",t3="pictogram";var e3;!function(t){t.pictogram="pictogram"}(e3||(e3={}));const i3=Object.assign(Object.assign({},Uj),{pictogram:{name:"pictogram",type:"group"}});class s3 extends kV{_isValidSeries(t){return t===t3}_getDefaultSeriesSpec(t){return super._getDefaultSeriesSpec(t,["type","nameField","valueField","svg","pictogram","defaultFillColor"])}transformSpec(t){super.transformSpec(t),t.region.forEach((t=>{t.coordinate="geo"})),super.transformSeriesSpec(t)}}const n3=new Map;let r3;function a3(t,e){n3.has(t)&&Gb(`svg source key of '${t}' already exists, will be overwritten.`),r3||(r3=new io,CD(r3,"svg",$a));const i=new so(r3);i.parse(e,{type:"svg"}),n3.set(t,i)}function o3(t){n3.has(t)?n3.delete(t):Gb(`map type of '${t}' does not exists.`)}class l3 extends Oj{constructor(){super(...arguments),this.dimensionTooltipTitleCallback=t=>{var e;const i=this.series;return null!==(e=this._getDimensionData(t))&&void 0!==e?e:i.getDatumName(t)},this.markTooltipValueCallback=(t,e)=>{const{measureFields:i}=this._seriesCacheInfo;if(i[0]&&t.data)return t.data[i[0]]},this.markTooltipKeyCallback=t=>{var e;return null===(e=t.data)||void 0===e?void 0:e[this.series.getDimensionField()[0]]}}}const h3="element-highlight-by-graphic-name";class c3 extends dj{constructor(){super(...arguments),this.type=h3,this.handleStart=t=>{if(t&&t.item&&this.isGraphicInMark(t.item)&&(this.options.shouldStart?this.options.shouldStart(t):this._filterByName(t))){const e=this._parseTargetKey(t);this.start(e)}},this.handleReset=t=>{t&&t.item&&this.isGraphicInMark(t.item)&&this.reset()}}_filterByName(t){var e;return!!(null===(e=null==t?void 0:t.node)||void 0===e?void 0:e.name)}_parseTargetKey(t){return t.node.name}start(t){if(u(t))return;const{interaction:e,highlightState:i,blurState:s}=this.options,n=e.getStatedGraphics(this),r=[];this.getMarks().forEach((e=>{var i;null===(i=e.getGraphics())||void 0===i||i.forEach((e=>{e.name===t&&r.push(e)}))})),e.updateStates(this,r,n,i,s),e.setStatedGraphics(this,r)}reset(){const{highlightState:t,blurState:e,interaction:i}=this.options;i.clearAllStatesOfTrigger(this,t,e),i.setStatedGraphics(this,[])}}c3.type=h3;const d3="element-select-by-graphic-name";class u3 extends pj{constructor(){super(...arguments),this.type=d3}start(t){const e=null==t?void 0:t.name;e&&this.getMarks().forEach((t=>{var i;null===(i=t.getGraphics())||void 0===i||i.forEach((t=>{t.name===e&&super.start(t)}))}))}}u3.type=d3;function p3(t){var e;return p(t)&&"none"!==t&&!(null===(e=t.includes)||void 0===e?void 0:e.call(t,"url"))}const g3=t=>{const e=parseFloat(t.strokeWidth);if(!isNaN(e))return e;const i=t.stroke;return i&&p3(i)?1:0},f3=(t,e)=>{var i;const s=null!==(i=t.fill)&&void 0!==i?i:e;return s&&p3(s)?s:void 0},m3=(t,e)=>{var i;const s=null!==(i=t.stroke)&&void 0!==i?i:e;return!(!s||!p3(s))&&s},v3=t=>Object.assign(Object.assign({},t),{x:parseFloat(t.x)||void 0,y:parseFloat(t.y)||void 0,fillStrokeOrder:!1,fill:f3(t),lineWidth:g3(t),stroke:m3(t)}),y3={group:t=>{const e=v3(t);return Object.assign(Object.assign({},e),{visibleAll:!1!==e.visible})},rule:t=>Object.assign(Object.assign({},v3(t)),{x:parseFloat(t.x1),y:parseFloat(t.y1),x1:parseFloat(t.x2),y1:parseFloat(t.y2)}),rect:t=>Object.assign(Object.assign({},v3(t)),{fill:f3(t,"#000"),width:parseFloat(t.width),height:parseFloat(t.height)}),polygon:t=>Object.assign(Object.assign({},v3(t)),{fill:f3(t,"#000"),points:t.points.trim().split(/\s+/).map((t=>{const[e,i]=t.split(",").map(Number);return{x:e,y:i}}))}),line:t=>Object.assign(Object.assign({},v3(t)),{points:t.points.trim().split(/\s+/).map((t=>{const[e,i]=t.split(",").map(Number);return{x:e,y:i}}))}),path:t=>Object.assign(Object.assign({},v3(t)),{path:t.d,fillStrokeOrder:!1,fill:f3(t,"#000")}),arc:t=>{var e;return Object.assign(Object.assign({},v3(t)),{outerRadius:null!==(e=t.r)&&void 0!==e?e:t.ry,x:parseFloat(t.cx),y:parseFloat(t.cy),startAngle:0,endAngle:2*Math.PI,scaleX:parseFloat(t.rx)/parseFloat(t.ry)||1,fill:f3(t,"#000")})},text:(t,e)=>{var i,s;return Object.assign(Object.assign({},v3(t)),{text:e,textAlign:null!==(i=t.textAlign)&&void 0!==i?i:"left",textBaseLine:null!==(s=t.textAnchor)&&void 0!==s?s:"middle",anchor:[0,0],fill:f3(t,"#000")})}},_3=t=>{var e,i;if(!t||!t[0])return{};const{elements:s}=t[0].latestData;if(s&&s.length){s.forEach(((t,e)=>{var i;t[CL]=e,t._uniqueId=`${t.id}-${e}`,t.data=void 0;const{graphicType:s,transform:n}=t,r={visible:"hidden"!==t.attributes.visibility&&"collapse"!==t.attributes.visibility};"text"===t.graphicType?z(r,t._inheritStyle,null===(i=t.parent)||void 0===i?void 0:i._textGroupStyle,t.attributes):"group"!==t.graphicType&&z(r,t._inheritStyle,t.attributes),y3[s]?t._finalAttributes=y3[s](r,t.value):t._finalAttributes=r,n&&(t._finalAttributes.postMatrix=Object.assign({},n))}));const t=s.filter((t=>"text"===t.tagName));for(let n=0;n<t.length;n++){const r=t[n]._uniqueId,a=s.filter((t=>{let e=!1,i=t.parent;for(;i;){if(i._uniqueId===r){e=!0;break}i=i.parent}return e}));if(a&&a.length){const s=null!==(i=null===(e=t[n]._textGroupStyle)||void 0===e?void 0:e.x)&&void 0!==i?i:0;let r=s;for(let t=0;t<a.length;t++){const e=a[t];if("group"===e.graphicType)r=s;else if(e.value&&void 0===e.parent._textGroupStyle.x){const i=a.slice(0,t).reverse().find((t=>"text"===t.graphicType&&t.value));i&&(r+=kL(i.value,i._finalAttributes).width),e._finalAttributes.x=r}}}}}return s};class b3 extends qN{constructor(){super(...arguments),this.type=t3,this._idToMark=new Map}setAttrFromSpec(){var t,e,i;super.setAttrFromSpec(),this.svg=this._spec.svg,this._nameField=this._spec.nameField,this._valueField=this._spec.valueField,this.svg||null===(t=this._option)||void 0===t||t.onError("svg source is not specified !"),this._parsedSvgResult=null===(e=function(t){return n3.get(t)}(this.svg))||void 0===e?void 0:e.latestData,this._parsedSvgResult||null===(i=this._option)||void 0===i||i.onError(`'${this.svg}' is not registered !`)}getDatumCenter(t){return[Number.NaN,Number.NaN]}getDatumName(t){return t.name||t._nameFromParent}getMarksWithoutRoot(){return this.getMarks().filter((t=>t.name&&!t.name.includes("seriesGroup")&&!t.name.includes("root")&&t!==this._pictogramMark))}_buildMarkAttributeContext(){super._buildMarkAttributeContext(),this._markAttributeContext.getTransformMatrix=this.getRootMatrix.bind(this),this._markAttributeContext.coordToPosition=this.coordToPosition.bind(this),this._markAttributeContext.dataToPosition=this.dataToPosition.bind(this)}_defaultHoverConfig(t){return{type:"element-highlight-by-graphic-name",trigger:t.trigger,triggerOff:"pointerout",blurState:AF.STATE_HOVER_REVERSE,highlightState:AF.STATE_HOVER}}_defaultSelectConfig(t){const e="multiple"===t.mode,i=p(t.triggerOff)?t.triggerOff:e?["empty","self"]:["empty",t.trigger];return{type:"element-select-by-graphic-name",trigger:t.trigger,triggerOff:i,reverseState:AF.STATE_SELECTED_REVERSE,state:AF.STATE_SELECTED,isMultiple:e}}initMark(){var t;if(this._pictogramMark=this._createMark(b3.mark.pictogram,{groupKey:this.getDimensionField()[0],isSeriesMark:!0,skipBeforeLayouted:!0},{morph:iz(this._spec,b3.mark.pictogram.name)}),this._pictogramMark){this._pictogramMark.setData(this._mapViewData),this._pictogramMark.setUserId(b3.mark.pictogram.name);for(const e of this._mapViewData.getDataView().latestData){const{graphicType:i,name:s,parent:n,id:r,_nameFromParent:a,_uniqueId:o}=e,l=this._createMark({type:i,name:null!=s?s:a},{groupKey:o,isSeriesMark:!1,skipBeforeLayouted:!0,parent:null!==(t=this._idToMark.get(null==n?void 0:n._uniqueId))&&void 0!==t?t:this._pictogramMark},{morph:iz(this._spec,b3.mark.pictogram.name)});l&&(l.setData(this._mapViewData),l.setUserId(o),this._idToMark.set(o,l),"group"!==l.type&&l.setMarkConfig({graphicName:l.name}),l.setTransform([{type:"filter",callback:t=>t._uniqueId===o}]))}this._initLabelMark()}}_initLabelMark(){if(!0!==this._spec.label.visible)return;const t=this._createMark(b3.mark.label,{isSeriesMark:!1,parent:this._pictogramMark,groupKey:"_uniqueId",skipBeforeLayouted:!0});t&&(this._labelMark=t,this._labelMark.setData(this._mapViewData))}initLabelMarkStyle(){this._labelMark&&this.setMarkStyle(this._labelMark,{visible:t=>!!this._validElement(t),x:t=>{var e;return null===(e=this.dataToPosition(t,!0))||void 0===e?void 0:e.x},y:t=>{var e;return null===(e=this.dataToPosition(t,!0))||void 0===e?void 0:e.y},text:t=>t[this.nameField],textAlign:"center",textBaseline:"middle"},AF.STATE_NORMAL,nF.Series)}initMarkStyle(){const{root:t,viewBoxRect:e}=this._parsedSvgResult,i=this._mapViewData.getDataView().latestData;t&&(this.setMarkStyle(this._pictogramMark,y3.group(t.attributes),"normal",nF.Built_In),t.transform&&this.setMarkStyle(this._pictogramMark,{postMatrix:()=>t.transform},"normal",nF.Built_In),e&&this._pictogramMark.setMarkConfig({clip:!0,clipPath:[df(Object.assign(Object.assign({},e),{fill:!0}))]}));for(const t of i){const{_uniqueId:e,_finalAttributes:i}=t,s=this._idToMark.get(e),n=this._validElement(t);s&&(this.setMarkStyle(s,{keepStrokeScale:!0},"normal",nF.Built_In),n?(this.initMarkStyleWithSpec(s,z({},this._spec.pictogram,this._spec[s.name])),this.setMarkStyle(s,i,"normal",nF.Series),s.setPostProcess("fill",((t,e)=>p(t)?t:this._spec.defaultFillColor))):(s.setMarkConfig({interactive:!1}),this.setMarkStyle(s,i,"normal",nF.Built_In)))}this.initLabelMarkStyle()}_validElement(t){return t.name||t._nameFromParent}initTooltip(){this._tooltipHelper=new l3(this),this.getMarksWithoutRoot().forEach((t=>{t&&t.name&&this._tooltipHelper.activeTriggerSet.mark.add(t)}))}dataToPosition(t,e=!1){if(!t)return null;const i=t[this.nameField];if(!i)return null;const s=this.getMarksWithoutRoot().filter((t=>t.name===i));if(!s||0===s.length)return null;let n=new $e;e?s.forEach((t=>{n=n.union(t.getGraphics()[0].globalAABBBounds)})):s.forEach((t=>{n=n.union(t.getProduct().AABBBounds)}));const r={x:(n.x1+n.x2)/2,y:(n.y1+n.y2)/2};if(e){const{x:t,y:e}=this.getLayoutStartPoint();r.x-=t,r.y-=e}return r}coordToPosition(t){if(!t)return null;const{x:e,y:i}=t,s=this.getRootMatrix();if(!s)return null;const n={};return s.getInverse().transformPoint({x:e,y:i},n),n}getRootMatrix(){var t;return null===(t=this.getPictogramRootGraphic())||void 0===t?void 0:t.transMatrix}getPictogramRootGraphic(){return this._pictogramMark.getProduct()}initData(){var t,e;super.initData();const i=n3.get(this.svg);i||null===(t=this._option)||void 0===t||t.onError("no valid svg found!");const s=new so(this._dataSet,{name:`pictogram_${this.id}_data`});wD(this._dataSet,"pictogram",_3),wD(this._dataSet,"lookup",kj),s.parse([i],{type:"dataview"}).transform({type:"pictogram"}).transform({type:"lookup",options:{from:()=>this.getViewData().latestData,key:"name",fields:this._nameField,set:(t,e)=>{e&&(t.data=e)}}}).transform({type:"lookup",options:{from:()=>this.getViewData().latestData,key:"_nameFromParent",fields:this._nameField,set:(t,e)=>{e&&(t.data=e)}}}),null===(e=this._data)||void 0===e||e.getDataView().target.addListener("change",s.reRunAllTransform),this._mapViewData=new OF(this._option,s)}mapViewDataUpdate(){this._mapViewData.updateData()}onLayoutEnd(){var t;super.onLayoutEnd(),null===(t=this._mapViewData)||void 0===t||t.getDataView().reRunAllTransform()}updateSVGSize(){const{width:t,height:e}=this.getLayoutRect(),i=t/2,s=e/2,n=this.getPictogramRootGraphic();if(n){const r=n.AABBBounds,{x1:a,x2:o,y1:l,y2:h}=n.AABBBounds,c=(a+o)/2,d=(l+h)/2,u=t/r.width(),p=e/r.height(),g=Math.min(u,p);n.scale(g,g,{x:c,y:d}),n.translate(i-c,s-d)}}initEvent(){var t;super.initEvent(),null===(t=this._mapViewData.getDataView())||void 0===t||t.target.addListener("change",this.mapViewDataUpdate.bind(this)),this.event.on(_D.afterMarkLayoutEnd,this.updateSVGSize.bind(this))}handleZoom(t){const{scale:e,scaleCenter:i}=t;if(1===e)return;const s=this.getPictogramRootGraphic();s&&(s.attribute.postMatrix||s.setAttributes({postMatrix:new qe}),s.scale(e,e,i))}handlePan(t){const{delta:e}=t;if(0===e[0]&&0===e[1])return;const i=this.getPictogramRootGraphic();i&&(i.attribute.postMatrix||i.setAttributes({postMatrix:new qe}),i.translate(e[0],e[1]))}getMarkData(t){var e;return null!==(e=t.data)&&void 0!==e?e:{}}getMeasureField(){return[this.valueField]}getDimensionField(){return[this.nameField]}_getSeriesInfo(t,e){const i=this.getDefaultShapeType();return e.map((e=>({key:e,originalKey:e,style:this.getSeriesStyle({data:{[t]:e}}),shapeType:i})))}release(){this._parsedSvgResult=null,this._idToMark.clear(),this._idToMark=null}}b3.type=t3,b3.mark=i3,b3.transformerConstructor=class extends az{_getDefaultSpecFromChart(t){var e,i,s;const n=null!==(e=super._getDefaultSpecFromChart(t))&&void 0!==e?e:{},r=t.svg,a=null===(s=null===(i=n3.get(r))||void 0===i?void 0:i.latestData)||void 0===s?void 0:s.elements;return a&&a.length&&a.map((t=>t.name)).filter((t=>p(t))).forEach((e=>{t[e]&&(n[e]=t[e])})),n}};const x3=()=>{iL.registerSeries(b3.type,b3),iL.registerImplement("registerSVG",a3),iL.registerImplement("unregisterSVG",o3),iL.registerInteractionTrigger(c3.type,c3),iL.registerInteractionTrigger(u3.type,u3)};let S3=class extends xV{constructor(){super(...arguments),this.transformerConstructor=s3,this.type=Q2,this.seriesType=t3}};S3.type=t3,S3.seriesType=Q2,S3.transformerConstructor=s3;const k3=()=>{sN(),x3(),iL.registerChart(S3.type,S3)};function A3(t,e,i=0){return i>Math.max(e.x1-t.x2,t.x1-e.x2,e.y1-t.y2,t.y1-e.y2)}function M3(t){return{x1:t.x,x2:t.x+t.width,y1:t.y,y2:t.y+t.height}}function w3(t){var e;if(!t||0===t.length)return[];if(1===t.length)return[t[0].rect];const i=t.map((t=>{var e;return Object.assign(Object.assign({},t),{bound:M3(t.rect),anchorCandidates:O3(null!==(e=t.anchors)&&void 0!==e?e:[],t.point,t.rect,t.offset)})})),s=[];s.push(i[0].bound);for(let t=1;t<=i.length-1;t++){const n=i[t],r=n.bound;let a=s.some((t=>A3(t,r)));if(n.anchorCandidates)if(a&&(null===(e=n.anchorCandidates)||void 0===e?void 0:e.length)>0){for(let t=0;t<n.anchorCandidates.length;t++){const e=n.anchorCandidates[t],i={x1:e.x,y1:e.y,x2:e.x+r.x2-r.x1,y2:e.y+r.y2-r.y1,anchor:e};if(!s.some((t=>A3(t,i)))){s.push(i),a=!1;break}}a&&s.push(n.bound)}else s.push(n.bound)}return s.map((t=>function(t){return{x:t.x1,y:t.y1,width:t.x2-t.x1,height:t.y2-t.y1}}(t)))}function C3(t,e,i){const s=t.map((t=>t.pointCoord)),{x1:n,x2:r,y1:a,y2:o}=Ie(s),l=i([(n+r)/2,(a+o)/2]);return l?w3(t.map((t=>{const s=t.rect,n=P3(e,t.pointCoord)?i(function(t,e,i,s=200){const n=5621/s;let r=e;for(let e=1;e<=n;e++){const e=xi(r,s,i);if(!P3(t,e))return[e.x,e.y];r=[e.x,e.y]}return e}(e,[t.pointCoord.x,t.pointCoord.y],T3(B3(t.point,l)))):t.point;n&&(s.x=n.x,s.y=n.y);const r=T3(B3(t.point,l));let a;const o=[];return r>=-45&&r<45?(a="top",o.push("left","right")):r>=45&&r<135?a="right":r>=-135&&r<-45?(a="left",o.push("left")):(a="bottom",o.push("left","right")),t.anchors=o,t.offset=20,t.rect=E3(t.rect,a,0),t}))):[]}function T3(t){return t>180?t-360:t}function B3(t,e){return 180*Math.atan2(t.y-e.y,t.x-e.x)/Math.PI+90}function P3(t,e){for(let i=0;i<t.length;i++)if(bi(e,t[i]))return!0;return!1}function E3(t,e,i=0){const s=Object.assign({},t);return"top"===e?(s.x-=t.width/2,s.y-=i+t.height/2):"bottom"===e?(s.x-=t.width/2,s.y+=i-t.height/2):"left"===e?(s.x-=i+t.width,s.y-=t.height/2):"right"===e&&(s.x+=i,s.y-=t.height/2),s}function O3(t,e,i,s=0){const n=[];return t.forEach((t=>{const{x:r,y:a}=E3(Object.assign(Object.assign({},e),{width:i.width,height:i.height}),t,s);n.push({x:r,y:a})})),n}const R3={visible:!0,offset:12,position:"top",space:10,nameLabel:{visible:!0,style:{textBaseline:"middle",textAlign:"left",fill:"black",fontSize:10}},valueLabel:{visible:!0,style:{textBaseline:"middle",textAlign:"left",fill:"black",fontSize:10}},background:{visible:!0,padding:{top:4,bottom:4,left:6,right:6},style:{cornerRadius:2,lineWidth:1,fill:"white",stroke:"grey"}},leader:{visible:!1,style:{lineWidth:1,stroke:"black"}}};class I3 extends mH{_getDefaultSpecFromChart(){return R3}}class L3 extends bH{constructor(){super(...arguments),this.type="mapLabel",this.name=" mapLabel",this.specKey="mapLabel",this.transformerConstructor=I3,this.layoutType="none",this.layoutZIndex=iF.MarkPoint,this._activeDatum=[]}static getSpecInfo(t){return Sj(t,this.specKey,this.type,(t=>t.visible&&p(t.seriesId)))}setAttrFromSpec(){var t,e,i,s;this.nameField=null!==(t=this._spec.nameField)&&void 0!==t?t:null===(e=this._series)||void 0===e?void 0:e.getDimensionField()[0],this.valueField=null!==(i=this._spec.valueField)&&void 0!==i?i:null===(s=this._series)||void 0===s?void 0:s.getMeasureField()[0]}created(){super.created(),0!=!!this._spec.visible&&(this.initRelatedInfo(),this.initData(),this.initEvent())}initRelatedInfo(){var t,e,i,s,n,r,a,o;this._series=this._option.getSeriesInUserIdOrIndex([this._spec.seriesId])[0],"outer"===this._spec.position&&(this._map=null===(e=null===(t=this._regions[0].getSeriesInType("map")[0])||void 0===t?void 0:t.getMapViewData())||void 0===e?void 0:e.latestData,this._longitudeField=null===(n=null===(s=(i=this._regions[0]).getSpec)||void 0===s?void 0:s.call(i))||void 0===n?void 0:n.longitudeField,this._latitudeField=null===(o=null===(a=(r=this._regions[0]).getSpec)||void 0===a?void 0:a.call(r))||void 0===o?void 0:o.latitudeField)}initData(){const t=this._series;if(!t)return;const e=t.getViewData();if(e){const t=new so(this._option.dataSet,{name:`${this.name}_data`});t.parse([e],{type:"dataview"}),t.transform({type:"copyDataView",level:jD.copyDataView},!1),this._data=new OF(this._option,t),t.target.addListener("change",(()=>{"hover"!==this._spec.trigger&&"click"!==this._spec.trigger&&(this._activeDatum=this._data.getLatestData())}))}}initEvent(){this.event.on("zoom",{filter:t=>this._isRelativeModel(t.model)},(()=>(this.handleZoom(),!0))),this.event.on("panmove",{filter:t=>this._isRelativeModel(t.model)},(t=>(this.handlePan(t),!0)));const t=this._spec.trigger;"none"!==t&&("hover"===t?(this.event.on("element-highlight:start",(t=>{const e=t.graphics[0];this._isRelativeSeries(e)&&this._updateDatum(gD(e))})),this.event.on("element-highlight:reset",(t=>{this._activeDatum&&this._updateDatum(null)}))):"click"===t&&(this.event.on("element-select:start",(t=>{const e=t.graphics[0];this._isRelativeSeries(e)&&this._updateDatum(gD(e))})),this.event.on("elementSelectReset",(t=>{this._activeDatum&&this._updateDatum([])}))))}handlePan(t){const{delta:e}=t;this._markerComponents.forEach((t=>{t.translate(e[0],e[1])}))}handleZoom(){this._updateMarkerLayoutAttribute()}_updateDatum(t){this._activeDatum=t,this._markerComponents.forEach(((t,e)=>{var i;const s=null===(i=this._data)||void 0===i?void 0:i.getLatestData()[e];this._activeDatum.includes(s)?t.setAttribute("visible",!0):t.setAttribute("visible",!1)}))}dataToPosition(t){return this._series.dataToPosition(t)}updateLayoutAttribute(){var t;const e=null===(t=this._data)||void 0===t?void 0:t.getLatestData();e&&0!==e.length&&(super.updateLayoutAttribute(),this._updateMarkerLayoutAttribute())}_updateMarkerLayoutAttribute(){var t;const e=[],i=[];this._markerComponents||(this._markerComponents=null===(t=this._data)||void 0===t?void 0:t.getLatestData().map(((t,e)=>{var i;const s=new pR({position:void 0,animation:!1});return s&&(s.name=`${this.name}_marker_${e}`,s.id=null!==(i=this._spec.id)&&void 0!==i?i:`${this.name}_marker_${this.id}`,s.setAttribute("zIndex",this.layoutZIndex)),s}))),this._markerComponents.forEach(((t,s)=>{const{pairInfo:n,contentMarks:r}=this._evaluateMarker(this._data.getLatestData()[s],s);n&&e.push(n),r&&i.push(r)}));const s=this._layoutLabels(e);this._layoutMarkers(s,i),this._renderMarkers()}_evaluateMarker(t,e){var i,s,n,r,a,o,l,h,c,d,u,g,f,m;let v=0,y=0,_=0,b=0,x=0;const S=this._spec.position||"top",k=this._spec.offset,A=$I(null===(i=this._spec.background)||void 0===i?void 0:i.padding),M=this._spec.space||0;y+=((null==A?void 0:A.left)||0)+((null==A?void 0:A.right)||0),_+=((null==A?void 0:A.top)||0)+((null==A?void 0:A.bottom)||0);const w={},C=this.dataToPosition(t),T=$f.group({});if(T.name=`${this.name}_marker_itemContainer_${e}`,w.container=T,null===(s=this._spec.background)||void 0===s?void 0:s.visible){const t=$f.rect(pD(Object.assign({},this._spec.background.style)));t.setAttributes(C),w.labelBackground=t,T.appendChild(t)}if(null===(n=this._spec.icon)||void 0===n?void 0:n.visible){const t=$f.symbol(pD(Object.assign({},this._spec.icon.style)));t.setAttributes(C),t.setAttribute("symbolType",null!==(a=null===(r=this._spec.icon.style)||void 0===r?void 0:r.symbolType)&&void 0!==a?a:null===(o=this._spec.icon.style)||void 0===o?void 0:o.shape);const e=t.AABBBounds,i=null!==(l=(null==e?void 0:e.y2)-(null==e?void 0:e.y1))&&void 0!==l?l:0,s=null!==(h=(null==e?void 0:e.x2)-(null==e?void 0:e.x1))&&void 0!==h?h:0;w.icon=t,T.appendChild(t),x=i,b+=s,v++}if(null===(c=this._spec.nameLabel)||void 0===c?void 0:c.visible){const e=$f.text(pD(Object.assign({},this._spec.nameLabel.style)));e.setAttributes(C),e.setAttribute("text",t[this.nameField]);const i=e.AABBBounds,s=null!==(d=(null==i?void 0:i.y2)-(null==i?void 0:i.y1))&&void 0!==d?d:0,n=null!==(u=(null==i?void 0:i.x2)-(null==i?void 0:i.x1))&&void 0!==u?u:0;w.nameLabel=e,T.appendChild(e),x=Math.max(x,s),b+=n,v++}if((null===(g=this._spec.valueLabel)||void 0===g?void 0:g.visible)&&p(t[this.valueField])){const e=$f.text(pD(Object.assign({},this._spec.valueLabel.style)));e.setAttributes(C),e.setAttribute("text",t[this.valueField]);const i=e.AABBBounds,s=null!==(f=(null==i?void 0:i.y2)-(null==i?void 0:i.y1))&&void 0!==f?f:0,n=null!==(m=(null==i?void 0:i.x2)-(null==i?void 0:i.x1))&&void 0!==m?m:0;w.valueLabel=e,T.appendChild(e),x=Math.max(x,s),b+=n,v++}const B=Object.values(w).find((t=>!!t&&"group"!==t.type)),P={x:null==B?void 0:B.getComputedAttribute("x"),y:null==B?void 0:B.getComputedAttribute("y")},E={x:P.x,y:P.y,width:0,height:0};E.width=y+b+(v-1)*M,E.height=_+x;const O={rect:E,point:P,index:e};if("outer"!==S){const t=["top","right","left","bottom"].filter((t=>t!==S));O.rect=E3(E,S,k),O.anchors=t,O.offset=k}else O.pointCoord={x:+(null==t?void 0:t[this._longitudeField]),y:+(null==t?void 0:t[this._latitudeField])};return{pairInfo:O,contentMarks:w}}_layoutMarkers(t,e){var i,s,n;for(let r=0;r<e.length;r++){if(!t[r]||!e[r])return;const{icon:a,nameLabel:o,valueLabel:l,labelBackground:h,container:c}=e[r],d=t[r],u=$I(null===(i=this._spec.background)||void 0===i?void 0:i.padding),p=this._spec.space||0,g=d.height/2;let f=(null==u?void 0:u.left)||0;[a,o,l].forEach(((t,e)=>{var i,s;if(t){const n=t.AABBBounds;let r=0;"symbol"===t.type&&(r+=(null!==(i=n.x2-n.x1)&&void 0!==i?i:0)/2),t.setAttributes({x:f+r,y:g}),f+=null!==(s=n.x2-n.x1)&&void 0!==s?s:0,2!==e&&(f+=p)}})),null==h||h.setAttributes({x:0,y:0,width:d.width,height:d.height}),null==c||c.setAttributes({dx:-d.width/2,dy:-d.height/2});const m=this._data.getLatestData()[r],v=this.dataToPosition(m),y=this.getRegions()[0].getLayoutStartPoint(),_=!(!(null===(s=this._spec.leader)||void 0===s?void 0:s.visible)||!(a||o||l));this._markerComponents[r].setAttributes({x:y.x,y:y.y,position:v,visible:this._activeDatum.includes(m),itemContent:{refX:0,type:"custom",renderCustomCallback:()=>c,autoRotate:!1,offsetX:d.x+d.width/2-v.x,offsetY:d.y+d.height/2-v.y},itemLine:{visible:_,type:"type-po",lineStyle:pD(Object.assign({},null===(n=this._spec.leader)||void 0===n?void 0:n.style)),startSymbol:{visible:!1}}})}}_renderMarkers(){if(this._markerComponents&&this._markerComponents.length)for(let t=0;t<this._markerComponents.length;t++)this.getContainer().add(this._markerComponents[t])}_layoutLabels(t){return"outer"===this._spec.position&&this._map?C3(t,this._map,(t=>this._series.dataToPosition({[this._longitudeField]:t[0],[this._latitudeField]:t[1]}))):w3(t)}_isRelativeModel(t){var e,i,s;const n=null!==(i=null===(e=this._series.getXAxisHelper())||void 0===e?void 0:e.getAxisId())&&void 0!==i?i:null===(s=this._series.getCoordinateHelper())||void 0===s?void 0:s.getCoordinateId();return(null==t?void 0:t.id)===n}_isRelativeSeries(t){var e;return(null===(e=t.context)||void 0===e?void 0:e.modelId)===this._series.id}_getNeedClearVRenderComponents(){return this._markerComponents}getVRenderComponents(){return this._markerComponents}}L3.type="mapLabel",L3.specKey="mapLabel",L3.transformerConstructor=I3;const D3=J1("Bar3dChart",{type:"bar3d",vchartConstructor:vj},[b2,s0,a0,...Q1]),F3=J1("BoxPlotChart",{type:"boxPlot",vchartConstructor:vj},[CZ,s0,...Q1]),j3=[rj,Hb,gJ,W0,YZ,rJ,_0,v1,jQ],z3=J1("CirclePackingChart",{type:"circlePacking",vchartConstructor:vj},[yZ,s0,...j3]),H3=[rj,Hb,gJ,W0,aG,lG,kJ,v0,rJ,zJ,YZ,_0,v1,VJ,jQ],V3=J1("CircularProgressChart",{type:"circularProgress",vchartConstructor:vj},[Kq,s0,$J,...H3]),N3=J1("CommonChart",{type:"common",vchartConstructor:vj},[rj,Hb,gJ,W0,Fq,GH,KH,ZH,QH,xJ,s0,a0,mN,RN,mV,YN,GU]),W3=J1("CorrelationChart",{type:"correlation",vchartConstructor:vj},[zZ,...j3]),U3=J1("FunnelChart",{type:"funnel",vchartConstructor:vj},[aZ,s0,...j3]),G3=J1("Funnel3dChart",{type:"funnel3d",vchartConstructor:vj},[T2,s0,...j3]),Y3=J1("GaugeChart",{type:"gauge",vchartConstructor:vj},[Jq,...j3]),$3=J1("HeatmapChart",{type:"heatmap",vchartConstructor:vj},[DZ,s0,...Q1]),X3=J1("Histogram3dChart",{type:"histogram3d",vchartConstructor:vj},[P2,s0,...Q1]),K3=J1("HistogramChart",{type:"histogram",vchartConstructor:vj},[Yq,s0,...Q1]),q3=J1("LinearProgressChart",{type:"linearProgress",vchartConstructor:vj},[hZ,s0,...Q1]),Z3=J1("LineChart",{type:"line",vchartConstructor:vj},[oN,s0,...Q1]),J3=J1("LiquidChart",{type:"liquid",vchartConstructor:vj},[b1,$J,...j3]),Q3=J1("MapChart",{type:"map",vchartConstructor:vj},[bq,s0,...j3]),t5=J1("MosaicChart",{type:"mosaic",vchartConstructor:vj},[w1,s0,a0,...Q1]),e5=J1("PictogramChart",{type:"pictogram",vchartConstructor:vj},[k3,s0,...j3]),i5=J1("PieChart",{type:"pie",vchartConstructor:vj},[Cq,s0,$J,...j3]),s5=J1("Pie3dChart",{type:"pie3d",vchartConstructor:vj},[j2,s0,$J,...j3]),n5=J1("RadarChart",{type:"radar",vchartConstructor:vj},[Iq,s0,...H3]),r5=J1("RangeAreaChart",{type:"rangeArea",vchartConstructor:vj},[RZ,s0,...Q1]),a5=J1("RangeColumnChart",{type:"rangeColumn",vchartConstructor:vj},[uZ,s0,...Q1]),o5=J1("RangeColumn3dChart",{type:"rangeColumn3d",vchartConstructor:vj},[J2,s0,...Q1]),l5=J1("RoseChart",{type:"rose",vchartConstructor:vj},[Eq,s0,...H3]),h5=J1("SankeyChart",{type:"sankey",vchartConstructor:vj},[PZ,s0,...j3]),c5=J1("ScatterChart",{type:"scatter",vchartConstructor:vj},[KN,s0,...Q1]),d5=J1("SequenceChart",{type:"sequence",vchartConstructor:vj},[Vq,...Q1]),u5=J1("SunburstChart",{type:"sunburst",vchartConstructor:vj},[fZ,s0,...j3]),p5=J1("TreemapChart",{type:"treemap",vchartConstructor:vj},[xZ,s0,...j3]),g5=J1("WordCloudChart",{type:"wordCloud",vchartConstructor:vj},[iZ,...j3]),f5=J1("WordCloud3dChart",{type:"wordCloud3d",vchartConstructor:vj},[U2,...j3]),m5=J1("VennChart",{type:"venn",vchartConstructor:vj},[k1,s0,...j3]),v5=J1("WaterfallChart",{type:"waterfall",vchartConstructor:vj},[AZ,s0,a0,...Q1]),y5=(t,i,s,n)=>{n&&n.length&&vj.useRegisters(n);const r=W1.concat(["updateId","componentId"]),a=t=>{var s;const n=e.useContext(B1),r=null!==(s=t.id)&&void 0!==s?s:t.componentId,a=e.useRef({}),o=e=>{const s=i.map((t=>`${r}-${t}`));(null==e?void 0:e.mark)&&s.includes(e.mark.getUserId())&&t[U1[e.event.type]](e)},l=t=>{t&&n.chart&&(a.current&&Object.keys(a.current).forEach((t=>{n.chart.off(L1[t],a.current[t]),a.current[t]=null})),t&&Object.keys(t).forEach((t=>{var e;(null===(e=a.current)||void 0===e?void 0:e[t])||(n.chart.on(L1[t],o),a.current||(a.current={}),a.current[t]=o)})))};return l(G1(t)),e.useEffect((()=>()=>{l({}),a.current={}}),[]),null};return a.displayName=t,a.parseSpec=t=>{var e;const n=H(t,r);var a,o;return a=n,o=null!==(e=t.id)&&void 0!==e?e:t.componentId,i.forEach((t=>{const e=`${o}-${t}`;u(a[t])?a[t]={id:e}:u(a[t].id)&&(a[t].id=e)})),u(s)||(n.type=s),{spec:n,specName:"series"}},a},_5=y5("Series",["bar","line","area"]),b5=y5("Area",["area"],"area",[mN]),x5=y5("Bar",["bar"],"bar",[RN]),S5=y5("Bar3d",["bar"],"bar3d",[m2]),k5=y5("BoxPlot",["boxPlot"],"boxPlot",[cU]),A5=y5("CirclePacking",["circlePacking","label"],"circlePacking",[NX]),M5=y5("CircularProgress",["circularProgress"],"circularProgress",[zG]),w5=y5("Correlation",["centerPoint","ripplePoint","centerLabel","nodePoint","label"],"correlation",[zZ]),C5=y5("Dot",["dot"],"dot",[MG]),T5=y5("Funnel",["funnel"],"funnel",[yX]),B5=y5("Funnel3d",["funnel"],"funnel3d",[w2]),P5=y5("Gauge",["segment","track","label"],"gauge",[CK]),E5=y5("GaugePointer",["pinBackground","pin","pointer"],"gaugePointer",[AK]),O5=y5("Heatmap",["cell","cellBackground","label"],"heatmap",[IK]),R5=y5("Line",["line"],"line",[mV]),I5=y5("LinearProgress",["linearProgress"],"linearProgress",[YG]),L5=y5("Link",["link"],"link",[PG]),D5=y5("Liquid",["node","link"],"liquid",[rq]),F5=y5("Map",["map"],"map",[pW]),j5=y5("Mosaic",["mosaic"],"mosaic",[vq]),z5=y5("Pictogram",["pictogram"],"pictogram",[x3]),H5=y5("Pie",["pie"],"pie",[GU]),V5=y5("Pie3d",["pie"],"pie3d",[D2]),N5=y5("Radar",["radar"],"radar",[_G]),W5=y5("RangeArea",["rangeArea"],"rangeArea",[MU]),U5=y5("RangeColumn",["rangeColumn"],"rangeColumn",[xU]),G5=y5("RangeColumn3d",["rangeColumn"],"rangeColumn3d",[K2]),Y5=y5("Rose",["rose"],"rose",[cG]),$5=y5("Sankey",["node","link"],"sankey",[aK]),X5=y5("Scatter",["scatter"],"scatter",[YN]),K5=y5("Sunburst",["sunburst","label"],"sunburst",[DX]),q5=y5("Treemap",["leaf","nonLeaf","label","nonLeafLabel"],"treemap",[gK]),Z5=y5("Venn",["circle","overlap","overlapLabel"],"venn",[fq]),J5=y5("Waterfall",["leaderLine","stackLabel","label","bar"],"waterfall",[NW]),Q5=y5("WordCloud",["wordCloud"],"wordCloud",[J$]),t4=y5("WordCloud3d",["wordCloud"],"wordCloud3d",[V2]),e4=(t,i,s,n,r)=>{r&&r.length&&vj.useRegisters(r);const a=["updateId","componentId","children"],o=s?Object.keys(s).concat(a):a,l=t=>{const i=e.useContext(B1),n=e.useRef(null),r=e.useRef(t.updateId);if(t.updateId!==r.current){r.current=t.updateId;!!s&&Y1(i.chart,t,n.current,s)&&(n.current=t)}return e.useEffect((()=>()=>{s&&Y1(i.chart,null,n.current,s)}),[]),null};return l.displayName=t,l.parseSpec=t=>({spec:H(t,o),specName:i,isSingle:n}),l},i4=e4("Axis","axes"),s4=e4("Mark","customMark",null,!1,[_0,v1]),n4=e4("Region","region"),r4=e4("Legend","legends",D1,!1,[YZ]),a4=e4("Brush","brush",F1,!0,[v0]),o4=e4("Crosshair","crosshair"),l4=e4("DataZoom","dataZoom",j1,!1,[zJ]),h4=e4("MarkLine","markLine",null,!1,[IQ]),c4=e4("MarkArea","markArea",null,!1,[NQ]),d4=e4("MarkPoint","markPoint",null,!1,[d0]),u4=e4("ScrollBar","scrollBar",H1,!1,[VJ]),p4=(t,i,s)=>{s&&s.length&&vj.useRegisters(s);const n=["updateId","componentId","children"],r=t=>{const i=e.useRef(t.updateId);return t.updateId!==i.current&&(i.current=t.updateId),null};return r.displayName=t,r.parseSpec=t=>{const s=H(t,n);return!t.tooltipRender&&t.children&&(s.tooltipRender=(i,s,n)=>e.Children.map(t.children,(t=>g(t)?e.cloneElement(t,{tooltipElement:i,actualTooltip:s,params:n}):t))),{spec:s,specName:i,isSingle:!0}},r},g4=p4("Tooltip","tooltip",[gJ,W0]),f4=p4("CanvasTooltip","tooltip",[gJ,K0]),m4=e4("Player","player",z1,!0,[ZQ]),v4=e4("Indicator","indicator",null,!0,[$J]),y4=e4("Title","title",null,!0,[jQ]),_4=e4("ContinuousLegend","legends",D1,!1,[rJ]),b4=J1("VChart",{vchartConstructor:vj}),x4=J1("VChartSimple");t.Area=b5,t.AreaChart=t2,t.Axis=i4,t.Bar=x5,t.Bar3d=S5,t.Bar3dChart=D3,t.BarChart=e2,t.BoxPlot=k5,t.BoxPlotChart=F3,t.Brush=a4,t.CanvasTooltip=f4,t.CirclePacking=A5,t.CirclePackingChart=z3,t.CircularProgress=M5,t.CircularProgressChart=V3,t.CommonChart=N3,t.ContinuousLegend=_4,t.Correlation=w5,t.CorrelationChart=W3,t.Crosshair=o4,t.DataZoom=l4,t.Dot=C5,t.Funnel=T5,t.Funnel3d=B5,t.Funnel3dChart=G3,t.FunnelChart=U3,t.Gauge=P5,t.GaugeChart=Y3,t.GaugePointer=E5,t.Heatmap=O5,t.HeatmapChart=$3,t.Histogram3dChart=X3,t.HistogramChart=K3,t.Indicator=v4,t.Legend=r4,t.Line=R5,t.LineChart=Z3,t.LinearProgress=I5,t.LinearProgressChart=q3,t.Link=L5,t.Liquid=D5,t.LiquidChart=J3,t.Map=F5,t.MapChart=Q3,t.Mark=s4,t.MarkArea=c4,t.MarkLine=h4,t.MarkPoint=d4,t.Mosaic=j5,t.MosaicChart=t5,t.Pictogram=z5,t.PictogramChart=e5,t.Pie=H5,t.Pie3d=V5,t.Pie3dChart=s5,t.PieChart=i5,t.Player=m4,t.REACT_TOOLTIP_ClASS_NAME=$1,t.Radar=N5,t.RadarChart=n5,t.RangeArea=W5,t.RangeAreaChart=r5,t.RangeColumn=U5,t.RangeColumn3d=G5,t.RangeColumn3dChart=o5,t.RangeColumnChart=a5,t.Region=n4,t.Rose=Y5,t.RoseChart=l5,t.Sankey=$5,t.SankeyChart=h5,t.Scatter=X5,t.ScatterChart=c5,t.ScrollBar=u4,t.SequenceChart=d5,t.Series=_5,t.Sunburst=K5,t.SunburstChart=u5,t.Title=y4,t.Tooltip=g4,t.Treemap=q5,t.TreemapChart=p5,t.VChart=b4,t.VChartCore=vj,t.VChartSimple=x4,t.Venn=Z5,t.VennChart=m5,t.Waterfall=J5,t.WaterfallChart=v5,t.WordCloud=Q5,t.WordCloud3d=t4,t.WordCloud3dChart=f5,t.WordCloudChart=g5,t.registerAreaChart=_N,t.registerAxis3dPlugin=()=>{c2(),y2(),(()=>{KH();const t=iL.getComponentInKey(XH.type);t.builtInTheme=Object.assign(Object.assign({},t.builtInTheme),{axisZ:Object.assign(Object.assign({},XH.builtInTheme.axisX),G2)}),G(t,Y2)})(),(()=>{GH();const t=iL.getComponentInKey(UH.type);t.builtInTheme=Object.assign(Object.assign({},t.builtInTheme),{axisZ:Object.assign(Object.assign({},UH.builtInTheme.axisX),G2)}),G(t,Y2)})(),(()=>{ZH();const t=iL.getComponentInKey(qH.type);t.builtInTheme=Object.assign(Object.assign({},t.builtInTheme),{axisZ:Object.assign(Object.assign({},t.builtInTheme.axisX),G2)}),G(t,Y2)})(),(()=>{QH();const t=iL.getComponentInKey(tV.type);t.builtInTheme=Object.assign(Object.assign({},t.builtInTheme),{axisZ:Object.assign(Object.assign({},t.builtInTheme.axisX),G2)}),G(t,Y2)})(),(()=>{QH();const t=iL.getComponentInKey(JH.type);t.builtInTheme=Object.assign(Object.assign({},t.builtInTheme),{axisZ:Object.assign(Object.assign({},JH.builtInTheme.axisX),G2)}),G(t,Y2)})()},t.registerBar3dChart=b2,t.registerBarChart=DN,t.registerBoxplotChart=CZ,t.registerBrush=v0,t.registerCartesianBandAxis=KH,t.registerCartesianCrossHair=xJ,t.registerCartesianLinearAxis=GH,t.registerCartesianLogAxis=QH,t.registerCartesianSymlogAxis=eV,t.registerCartesianTimeAxis=ZH,t.registerChartResizeZoomPlugin=()=>{q0(C1)},t.registerCirclePackingChart=yZ,t.registerCircularProgressChart=Kq,t.registerCommonChart=Fq,t.registerContinuousLegend=rJ,t.registerCorrelationChart=zZ,t.registerCustomMark=_0,t.registerDataZoom=zJ,t.registerDiscreteLegend=YZ,t.registerFunnel3dChart=T2,t.registerFunnelChart=aZ,t.registerGaugeChart=Jq,t.registerGeoCoordinate=cW,t.registerGeoMarkPoint=f0,t.registerHeatmapChart=DZ,t.registerHistogram3dChart=P2,t.registerHistogramChart=Yq,t.registerIndicator=$J,t.registerLabel=s0,t.registerLineChart=oN,t.registerLinearProgressChart=hZ,t.registerLiquidChart=b1,t.registerMapChart=bq,t.registerMapLabel=t=>{const e=(null==t?void 0:t.VChart)||vj;e&&e.useComponent([L3])},t.registerMarkArea=NQ,t.registerMarkLine=IQ,t.registerMarkPoint=d0,t.registerMosaicChart=w1,t.registerPictogramChart=k3,t.registerPie3dChart=j2,t.registerPieChart=Cq,t.registerPlayer=ZQ,t.registerPolarBandAxis=lG,t.registerPolarCrossHair=kJ,t.registerPolarLinearAxis=aG,t.registerPolarMarkArea=UQ,t.registerPolarMarkLine=DQ,t.registerPolarMarkPoint=p0,t.registerPoptip=S0,t.registerRadarChart=Iq,t.registerRangeAreaChart=RZ,t.registerRangeColumn3dChart=J2,t.registerRangeColumnChart=uZ,t.registerRoseChart=Eq,t.registerSankeyChart=PZ,t.registerScatterChart=KN,t.registerScrollBar=VJ,t.registerSequenceChart=Vq,t.registerSunburstChart=fZ,t.registerTitle=jQ,t.registerTooltip=gJ,t.registerTotalLabel=a0,t.registerTreemapChart=xZ,t.registerVennChart=k1,t.registerWaterfallChart=AZ,t.registerWordCloud3dChart=U2,t.registerWordCloudChart=iZ,t.registerWordCloudShapeChart=sZ,t.version="2.0.19"}));
|
package/cjs/index.d.ts
CHANGED
|
@@ -5,6 +5,6 @@ export * from './VChart';
|
|
|
5
5
|
export * from './VChartSimple';
|
|
6
6
|
export * from './register';
|
|
7
7
|
export { VChart as VChartCore } from '@visactor/vchart';
|
|
8
|
-
export declare const version = "2.0.
|
|
8
|
+
export declare const version = "2.0.19";
|
|
9
9
|
export type { IAreaChartSpec, IBarChartSpec, IBoxPlotChartSpec, ICirclePackingChartSpec, ICommonChartSpec, IFunnelChartSpec, IGaugeChartSpec, IHeatmapChartSpec, IHistogramChartSpec, ILineChartSpec, IMapChartSpec, IPieChartSpec, ICircularProgressChartSpec, ILinearProgressChartSpec, IRadarChartSpec, IRangeColumnChartSpec, IRangeAreaChartSpec, IRoseChartSpec, IScatterChartSpec, ISankeyChartSpec, ISequenceChartSpec, ISunburstChartSpec, ITreemapChartSpec, IWaterfallChartSpec, ICorrelationChartSpec, ILiquidChartSpec, IWordCloudChartSpec, IPolarChartSpec, ICartesianChartSpec, ITheme, IInitOption, ISpec, IVChart } from '@visactor/vchart';
|
|
10
10
|
export type { IBar3dChartSpec, IFunnel3dChartSpec, IHistogram3dChartSpec, IPie3dChartSpec, IRangeColumn3dChartSpec, IWordCloud3dChartSpec } from '@visactor/vchart-extension';
|
package/cjs/index.js
CHANGED
package/cjs/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../src/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;AAAA,2CAAyB;AACzB,2CAAyB;AACzB,+CAA6B;AAC7B,2CAAyB;AACzB,iDAA+B;AAC/B,6CAA2B;AAC3B,2CAAwD;AAA/C,oGAAA,MAAM,OAAc;AAGhB,QAAA,OAAO,GAAG,QAAQ,CAAC","file":"index.js","sourcesContent":["export * from './charts';\nexport * from './series';\nexport * from './components';\nexport * from './VChart';\nexport * from './VChartSimple';\nexport * from './register';\nexport { VChart as VChartCore } from '@visactor/vchart';\n\n// export the version, since @1.8.3\nexport const version = \"2.0.
|
|
1
|
+
{"version":3,"sources":["../src/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;AAAA,2CAAyB;AACzB,2CAAyB;AACzB,+CAA6B;AAC7B,2CAAyB;AACzB,iDAA+B;AAC/B,6CAA2B;AAC3B,2CAAwD;AAA/C,oGAAA,MAAM,OAAc;AAGhB,QAAA,OAAO,GAAG,QAAQ,CAAC","file":"index.js","sourcesContent":["export * from './charts';\nexport * from './series';\nexport * from './components';\nexport * from './VChart';\nexport * from './VChartSimple';\nexport * from './register';\nexport { VChart as VChartCore } from '@visactor/vchart';\n\n// export the version, since @1.8.3\nexport const version = \"2.0.19\";\n\nexport type {\n IAreaChartSpec,\n IBarChartSpec,\n IBoxPlotChartSpec,\n ICirclePackingChartSpec,\n ICommonChartSpec,\n IFunnelChartSpec,\n IGaugeChartSpec,\n IHeatmapChartSpec,\n IHistogramChartSpec,\n ILineChartSpec,\n IMapChartSpec,\n IPieChartSpec,\n ICircularProgressChartSpec,\n ILinearProgressChartSpec,\n IRadarChartSpec,\n IRangeColumnChartSpec,\n IRangeAreaChartSpec,\n IRoseChartSpec,\n IScatterChartSpec,\n ISankeyChartSpec,\n ISequenceChartSpec,\n ISunburstChartSpec,\n ITreemapChartSpec,\n IWaterfallChartSpec,\n ICorrelationChartSpec,\n ILiquidChartSpec,\n IWordCloudChartSpec,\n IPolarChartSpec,\n ICartesianChartSpec,\n ITheme,\n IInitOption,\n ISpec,\n IVChart\n} from '@visactor/vchart';\n\nexport type {\n IBar3dChartSpec,\n IFunnel3dChartSpec,\n IHistogram3dChartSpec,\n IPie3dChartSpec,\n IRangeColumn3dChartSpec,\n IWordCloud3dChartSpec\n} from '@visactor/vchart-extension';\n"]}
|
package/esm/index.d.ts
CHANGED
|
@@ -5,6 +5,6 @@ export * from './VChart';
|
|
|
5
5
|
export * from './VChartSimple';
|
|
6
6
|
export * from './register';
|
|
7
7
|
export { VChart as VChartCore } from '@visactor/vchart';
|
|
8
|
-
export declare const version = "2.0.
|
|
8
|
+
export declare const version = "2.0.19";
|
|
9
9
|
export type { IAreaChartSpec, IBarChartSpec, IBoxPlotChartSpec, ICirclePackingChartSpec, ICommonChartSpec, IFunnelChartSpec, IGaugeChartSpec, IHeatmapChartSpec, IHistogramChartSpec, ILineChartSpec, IMapChartSpec, IPieChartSpec, ICircularProgressChartSpec, ILinearProgressChartSpec, IRadarChartSpec, IRangeColumnChartSpec, IRangeAreaChartSpec, IRoseChartSpec, IScatterChartSpec, ISankeyChartSpec, ISequenceChartSpec, ISunburstChartSpec, ITreemapChartSpec, IWaterfallChartSpec, ICorrelationChartSpec, ILiquidChartSpec, IWordCloudChartSpec, IPolarChartSpec, ICartesianChartSpec, ITheme, IInitOption, ISpec, IVChart } from '@visactor/vchart';
|
|
10
10
|
export type { IBar3dChartSpec, IFunnel3dChartSpec, IHistogram3dChartSpec, IPie3dChartSpec, IRangeColumn3dChartSpec, IWordCloud3dChartSpec } from '@visactor/vchart-extension';
|
package/esm/index.js
CHANGED
package/esm/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../src/index.ts"],"names":[],"mappings":"AAAA,cAAc,UAAU,CAAC;AACzB,cAAc,UAAU,CAAC;AACzB,cAAc,cAAc,CAAC;AAC7B,cAAc,UAAU,CAAC;AACzB,cAAc,gBAAgB,CAAC;AAC/B,cAAc,YAAY,CAAC;AAC3B,OAAO,EAAE,MAAM,IAAI,UAAU,EAAE,MAAM,kBAAkB,CAAC;AAGxD,MAAM,CAAC,MAAM,OAAO,GAAG,QAAQ,CAAC","file":"index.js","sourcesContent":["export * from './charts';\nexport * from './series';\nexport * from './components';\nexport * from './VChart';\nexport * from './VChartSimple';\nexport * from './register';\nexport { VChart as VChartCore } from '@visactor/vchart';\n\n// export the version, since @1.8.3\nexport const version = \"2.0.
|
|
1
|
+
{"version":3,"sources":["../src/index.ts"],"names":[],"mappings":"AAAA,cAAc,UAAU,CAAC;AACzB,cAAc,UAAU,CAAC;AACzB,cAAc,cAAc,CAAC;AAC7B,cAAc,UAAU,CAAC;AACzB,cAAc,gBAAgB,CAAC;AAC/B,cAAc,YAAY,CAAC;AAC3B,OAAO,EAAE,MAAM,IAAI,UAAU,EAAE,MAAM,kBAAkB,CAAC;AAGxD,MAAM,CAAC,MAAM,OAAO,GAAG,QAAQ,CAAC","file":"index.js","sourcesContent":["export * from './charts';\nexport * from './series';\nexport * from './components';\nexport * from './VChart';\nexport * from './VChartSimple';\nexport * from './register';\nexport { VChart as VChartCore } from '@visactor/vchart';\n\n// export the version, since @1.8.3\nexport const version = \"2.0.19\";\n\nexport type {\n IAreaChartSpec,\n IBarChartSpec,\n IBoxPlotChartSpec,\n ICirclePackingChartSpec,\n ICommonChartSpec,\n IFunnelChartSpec,\n IGaugeChartSpec,\n IHeatmapChartSpec,\n IHistogramChartSpec,\n ILineChartSpec,\n IMapChartSpec,\n IPieChartSpec,\n ICircularProgressChartSpec,\n ILinearProgressChartSpec,\n IRadarChartSpec,\n IRangeColumnChartSpec,\n IRangeAreaChartSpec,\n IRoseChartSpec,\n IScatterChartSpec,\n ISankeyChartSpec,\n ISequenceChartSpec,\n ISunburstChartSpec,\n ITreemapChartSpec,\n IWaterfallChartSpec,\n ICorrelationChartSpec,\n ILiquidChartSpec,\n IWordCloudChartSpec,\n IPolarChartSpec,\n ICartesianChartSpec,\n ITheme,\n IInitOption,\n ISpec,\n IVChart\n} from '@visactor/vchart';\n\nexport type {\n IBar3dChartSpec,\n IFunnel3dChartSpec,\n IHistogram3dChartSpec,\n IPie3dChartSpec,\n IRangeColumn3dChartSpec,\n IWordCloud3dChartSpec\n} from '@visactor/vchart-extension';\n"]}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@visactor/react-vchart",
|
|
3
|
-
"version": "2.0.
|
|
3
|
+
"version": "2.0.19",
|
|
4
4
|
"sideEffects": false,
|
|
5
5
|
"description": "The react version of VChart 4.x",
|
|
6
6
|
"keywords": [
|
|
@@ -23,8 +23,8 @@
|
|
|
23
23
|
"build"
|
|
24
24
|
],
|
|
25
25
|
"dependencies": {
|
|
26
|
-
"@visactor/vchart": "2.0.
|
|
27
|
-
"@visactor/vchart-extension": "2.0.
|
|
26
|
+
"@visactor/vchart": "2.0.19",
|
|
27
|
+
"@visactor/vchart-extension": "2.0.19",
|
|
28
28
|
"@visactor/vutils": "~1.0.22",
|
|
29
29
|
"@visactor/vrender-core": "~1.0.41",
|
|
30
30
|
"@visactor/vrender-kits": "~1.0.41",
|
|
@@ -55,8 +55,8 @@
|
|
|
55
55
|
"@vitejs/plugin-react": "3.1.0",
|
|
56
56
|
"vite": "3.2.6",
|
|
57
57
|
"@internal/bundler": "0.0.1",
|
|
58
|
-
"@internal/
|
|
59
|
-
"@internal/
|
|
58
|
+
"@internal/ts-config": "0.0.1",
|
|
59
|
+
"@internal/eslint-config": "0.0.1"
|
|
60
60
|
},
|
|
61
61
|
"peerDependencies": {
|
|
62
62
|
"react": ">=16.0.0",
|