@lingshugroup/web-plus 1.8.7 → 1.8.8
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/lib/index.css +1 -1
- package/lib/index.css.br +0 -0
- package/lib/index.css.gz +0 -0
- package/lib/node_modules/.pnpm/echarts@5.6.0/node_modules/echarts/lib/chart/heatmap/HeatmapLayer/index.cjs +1 -0
- package/lib/node_modules/.pnpm/echarts@5.6.0/node_modules/echarts/lib/chart/heatmap/HeatmapLayer/index.js +47 -0
- package/lib/node_modules/.pnpm/echarts@5.6.0/node_modules/echarts/lib/chart/heatmap/HeatmapLayer/index.js.br +0 -0
- package/lib/node_modules/.pnpm/echarts@5.6.0/node_modules/echarts/lib/chart/heatmap/HeatmapLayer/index.js.gz +0 -0
- package/lib/node_modules/.pnpm/echarts@5.6.0/node_modules/echarts/lib/chart/heatmap/HeatmapSeries/index.cjs +1 -0
- package/lib/node_modules/.pnpm/echarts@5.6.0/node_modules/echarts/lib/chart/heatmap/HeatmapSeries/index.js +46 -0
- package/lib/node_modules/.pnpm/echarts@5.6.0/node_modules/echarts/lib/chart/heatmap/HeatmapSeries/index.js.br +0 -0
- package/lib/node_modules/.pnpm/echarts@5.6.0/node_modules/echarts/lib/chart/heatmap/HeatmapSeries/index.js.gz +0 -0
- package/lib/node_modules/.pnpm/echarts@5.6.0/node_modules/echarts/lib/chart/heatmap/HeatmapView/index.cjs +1 -0
- package/lib/node_modules/.pnpm/echarts@5.6.0/node_modules/echarts/lib/chart/heatmap/HeatmapView/index.js +159 -0
- package/lib/node_modules/.pnpm/echarts@5.6.0/node_modules/echarts/lib/chart/heatmap/HeatmapView/index.js.br +0 -0
- package/lib/node_modules/.pnpm/echarts@5.6.0/node_modules/echarts/lib/chart/heatmap/HeatmapView/index.js.gz +0 -0
- package/lib/node_modules/.pnpm/echarts@5.6.0/node_modules/echarts/lib/chart/heatmap/install/index.cjs +1 -0
- package/lib/node_modules/.pnpm/echarts@5.6.0/node_modules/echarts/lib/chart/heatmap/install/index.js +11 -0
- package/lib/node_modules/.pnpm/echarts@5.6.0/node_modules/echarts/lib/component/visualMap/ContinuousModel/index.cjs +1 -0
- package/lib/node_modules/.pnpm/echarts@5.6.0/node_modules/echarts/lib/component/visualMap/ContinuousModel/index.js +113 -0
- package/lib/node_modules/.pnpm/echarts@5.6.0/node_modules/echarts/lib/component/visualMap/ContinuousModel/index.js.br +0 -0
- package/lib/node_modules/.pnpm/echarts@5.6.0/node_modules/echarts/lib/component/visualMap/ContinuousModel/index.js.gz +0 -0
- package/lib/node_modules/.pnpm/echarts@5.6.0/node_modules/echarts/lib/component/visualMap/ContinuousView/index.cjs +1 -0
- package/lib/node_modules/.pnpm/echarts@5.6.0/node_modules/echarts/lib/component/visualMap/ContinuousView/index.js +388 -0
- package/lib/node_modules/.pnpm/echarts@5.6.0/node_modules/echarts/lib/component/visualMap/ContinuousView/index.js.br +0 -0
- package/lib/node_modules/.pnpm/echarts@5.6.0/node_modules/echarts/lib/component/visualMap/ContinuousView/index.js.gz +0 -0
- package/lib/node_modules/.pnpm/echarts@5.6.0/node_modules/echarts/lib/component/visualMap/PiecewiseModel/index.cjs +1 -0
- package/lib/node_modules/.pnpm/echarts@5.6.0/node_modules/echarts/lib/component/visualMap/PiecewiseModel/index.js +220 -0
- package/lib/node_modules/.pnpm/echarts@5.6.0/node_modules/echarts/lib/component/visualMap/PiecewiseModel/index.js.br +0 -0
- package/lib/node_modules/.pnpm/echarts@5.6.0/node_modules/echarts/lib/component/visualMap/PiecewiseModel/index.js.gz +0 -0
- package/lib/node_modules/.pnpm/echarts@5.6.0/node_modules/echarts/lib/component/visualMap/PiecewiseView/index.cjs +1 -0
- package/lib/node_modules/.pnpm/echarts@5.6.0/node_modules/echarts/lib/component/visualMap/PiecewiseView/index.js +120 -0
- package/lib/node_modules/.pnpm/echarts@5.6.0/node_modules/echarts/lib/component/visualMap/PiecewiseView/index.js.br +0 -0
- package/lib/node_modules/.pnpm/echarts@5.6.0/node_modules/echarts/lib/component/visualMap/PiecewiseView/index.js.gz +0 -0
- package/lib/node_modules/.pnpm/echarts@5.6.0/node_modules/echarts/lib/component/visualMap/VisualMapModel/index.cjs +1 -0
- package/lib/node_modules/.pnpm/echarts@5.6.0/node_modules/echarts/lib/component/visualMap/VisualMapModel/index.js +166 -0
- package/lib/node_modules/.pnpm/echarts@5.6.0/node_modules/echarts/lib/component/visualMap/VisualMapModel/index.js.br +0 -0
- package/lib/node_modules/.pnpm/echarts@5.6.0/node_modules/echarts/lib/component/visualMap/VisualMapModel/index.js.gz +0 -0
- package/lib/node_modules/.pnpm/echarts@5.6.0/node_modules/echarts/lib/component/visualMap/VisualMapView/index.cjs +1 -0
- package/lib/node_modules/.pnpm/echarts@5.6.0/node_modules/echarts/lib/component/visualMap/VisualMapView/index.js +81 -0
- package/lib/node_modules/.pnpm/echarts@5.6.0/node_modules/echarts/lib/component/visualMap/VisualMapView/index.js.br +0 -0
- package/lib/node_modules/.pnpm/echarts@5.6.0/node_modules/echarts/lib/component/visualMap/VisualMapView/index.js.gz +0 -0
- package/lib/node_modules/.pnpm/echarts@5.6.0/node_modules/echarts/lib/component/visualMap/helper/index.cjs +1 -0
- package/lib/node_modules/.pnpm/echarts@5.6.0/node_modules/echarts/lib/component/visualMap/helper/index.js +28 -0
- package/lib/node_modules/.pnpm/echarts@5.6.0/node_modules/echarts/lib/component/visualMap/helper/index.js.br +0 -0
- package/lib/node_modules/.pnpm/echarts@5.6.0/node_modules/echarts/lib/component/visualMap/helper/index.js.gz +0 -0
- package/lib/node_modules/.pnpm/echarts@5.6.0/node_modules/echarts/lib/component/visualMap/install/index.cjs +1 -0
- package/lib/node_modules/.pnpm/echarts@5.6.0/node_modules/echarts/lib/component/visualMap/install/index.js +12 -0
- package/lib/node_modules/.pnpm/echarts@5.6.0/node_modules/echarts/lib/component/visualMap/installCommon/index.cjs +1 -0
- package/lib/node_modules/.pnpm/echarts@5.6.0/node_modules/echarts/lib/component/visualMap/installCommon/index.js +18 -0
- package/lib/node_modules/.pnpm/echarts@5.6.0/node_modules/echarts/lib/component/visualMap/installVisualMapContinuous/index.cjs +1 -0
- package/lib/node_modules/.pnpm/echarts@5.6.0/node_modules/echarts/lib/component/visualMap/installVisualMapContinuous/index.js +12 -0
- package/lib/node_modules/.pnpm/echarts@5.6.0/node_modules/echarts/lib/component/visualMap/installVisualMapPiecewise/index.cjs +1 -0
- package/lib/node_modules/.pnpm/echarts@5.6.0/node_modules/echarts/lib/component/visualMap/installVisualMapPiecewise/index.js +12 -0
- package/lib/node_modules/.pnpm/echarts@5.6.0/node_modules/echarts/lib/component/visualMap/preprocessor/index.cjs +1 -0
- package/lib/node_modules/.pnpm/echarts@5.6.0/node_modules/echarts/lib/component/visualMap/preprocessor/index.js +24 -0
- package/lib/node_modules/.pnpm/echarts@5.6.0/node_modules/echarts/lib/component/visualMap/visualEncoding/index.cjs +1 -0
- package/lib/node_modules/.pnpm/echarts@5.6.0/node_modules/echarts/lib/component/visualMap/visualEncoding/index.js +54 -0
- package/lib/node_modules/.pnpm/echarts@5.6.0/node_modules/echarts/lib/component/visualMap/visualEncoding/index.js.br +0 -0
- package/lib/node_modules/.pnpm/echarts@5.6.0/node_modules/echarts/lib/component/visualMap/visualEncoding/index.js.gz +0 -0
- package/lib/node_modules/.pnpm/echarts@5.6.0/node_modules/echarts/lib/component/visualMap/visualMapAction/index.cjs +1 -0
- package/lib/node_modules/.pnpm/echarts@5.6.0/node_modules/echarts/lib/component/visualMap/visualMapAction/index.js +19 -0
- package/lib/node_modules/.pnpm/echarts@5.6.0/node_modules/echarts/lib/util/model/index.cjs +1 -1
- package/lib/node_modules/.pnpm/echarts@5.6.0/node_modules/echarts/lib/util/model/index.js +199 -165
- package/lib/node_modules/.pnpm/echarts@5.6.0/node_modules/echarts/lib/util/model/index.js.br +0 -0
- package/lib/node_modules/.pnpm/echarts@5.6.0/node_modules/echarts/lib/util/model/index.js.gz +0 -0
- package/lib/node_modules/.pnpm/echarts@5.6.0/node_modules/echarts/lib/util/number/index.cjs +1 -1
- package/lib/node_modules/.pnpm/echarts@5.6.0/node_modules/echarts/lib/util/number/index.js +129 -113
- package/lib/node_modules/.pnpm/echarts@5.6.0/node_modules/echarts/lib/util/number/index.js.br +0 -0
- package/lib/node_modules/.pnpm/echarts@5.6.0/node_modules/echarts/lib/util/number/index.js.gz +0 -0
- package/lib/node_modules/.pnpm/echarts@5.6.0/node_modules/echarts/lib/visual/VisualMapping/index.cjs +1 -0
- package/lib/node_modules/.pnpm/echarts@5.6.0/node_modules/echarts/lib/visual/VisualMapping/index.js +278 -0
- package/lib/node_modules/.pnpm/echarts@5.6.0/node_modules/echarts/lib/visual/VisualMapping/index.js.br +0 -0
- package/lib/node_modules/.pnpm/echarts@5.6.0/node_modules/echarts/lib/visual/VisualMapping/index.js.gz +0 -0
- package/lib/node_modules/.pnpm/echarts@5.6.0/node_modules/echarts/lib/visual/helper/index.cjs +1 -1
- package/lib/node_modules/.pnpm/echarts@5.6.0/node_modules/echarts/lib/visual/helper/index.js +30 -10
- package/lib/node_modules/.pnpm/echarts@5.6.0/node_modules/echarts/lib/visual/helper/index.js.br +0 -0
- package/lib/node_modules/.pnpm/echarts@5.6.0/node_modules/echarts/lib/visual/helper/index.js.gz +0 -0
- package/lib/node_modules/.pnpm/echarts@5.6.0/node_modules/echarts/lib/visual/visualDefault/index.cjs +1 -0
- package/lib/node_modules/.pnpm/echarts@5.6.0/node_modules/echarts/lib/visual/visualDefault/index.js +48 -0
- package/lib/node_modules/.pnpm/echarts@5.6.0/node_modules/echarts/lib/visual/visualSolution/index.cjs +1 -0
- package/lib/node_modules/.pnpm/echarts@5.6.0/node_modules/echarts/lib/visual/visualSolution/index.js +81 -0
- package/lib/node_modules/.pnpm/echarts@5.6.0/node_modules/echarts/lib/visual/visualSolution/index.js.br +0 -0
- package/lib/node_modules/.pnpm/echarts@5.6.0/node_modules/echarts/lib/visual/visualSolution/index.js.gz +0 -0
- package/lib/node_modules/.pnpm/zrender@5.6.1/node_modules/zrender/lib/tool/color/index.cjs +1 -1
- package/lib/node_modules/.pnpm/zrender@5.6.1/node_modules/zrender/lib/tool/color/index.js +165 -123
- package/lib/node_modules/.pnpm/zrender@5.6.1/node_modules/zrender/lib/tool/color/index.js.br +0 -0
- package/lib/node_modules/.pnpm/zrender@5.6.1/node_modules/zrender/lib/tool/color/index.js.gz +0 -0
- package/lib/packages/ls-components/components/chart/Index.vue/index.cjs +1 -1
- package/lib/packages/ls-components/components/chart/Index.vue/index.js +2 -2
- package/lib/packages/ls-components/components/chart/Index.vue/index2.cjs +1 -1
- package/lib/packages/ls-components/components/chart/Index.vue/index2.js +17 -13
- package/lib/packages/ls-components/components/chart/Index.vue/index2.js.br +0 -0
- package/lib/packages/ls-components/components/chart/Index.vue/index2.js.gz +0 -0
- package/package.json +1 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";var
|
|
1
|
+
"use strict";var D=Object.defineProperty;var f=(e,n)=>D(e,"name",{value:n,configurable:!0});Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const s=require("../../../../../../zrender@5.6.1/node_modules/zrender/lib/core/util/index.cjs"),O=require("../../../../../../zrender@5.6.1/node_modules/zrender/lib/core/env/index.cjs"),h=require("../number/index.cjs"),F=require("../log/index.cjs");function M(e,n,r){return(n-e)*r+e}f(M,"interpolateNumber");var S="series\0",w="\0_ec_\0";function R(e){return e instanceof Array?e:e==null?[]:[e]}f(R,"normalizeToArray");function L(e,n,r){if(e){e[n]=e[n]||{},e.emphasis=e.emphasis||{},e.emphasis[n]=e.emphasis[n]||{};for(var i=0,a=r.length;i<a;i++){var u=r[i];!e.emphasis[n].hasOwnProperty(u)&&e[n].hasOwnProperty(u)&&(e.emphasis[n][u]=e[n][u])}}}f(L,"defaultEmphasis");var k=["fontStyle","fontWeight","fontSize","fontFamily","rich","tag","color","textBorderColor","textBorderWidth","width","height","lineHeight","align","verticalAlign","baseline","shadowColor","shadowBlur","shadowOffsetX","shadowOffsetY","textShadowColor","textShadowBlur","textShadowOffsetX","textShadowOffsetY","backgroundColor","borderColor","borderWidth","borderRadius","padding"];function B(e){return s.isObject(e)&&!s.isArray(e)&&!(e instanceof Date)?e.value:e}f(B,"getDataItemValue");function C(e){return s.isObject(e)&&!(e instanceof Array)}f(C,"isDataItemOption");function G(e,n,r){var i=r==="normalMerge",a=r==="replaceMerge",u=r==="replaceAll";e=e||[],n=(n||[]).slice();var t=s.createHashMap();s.each(n,function(l,d){if(!s.isObject(l)){n[d]=null;return}process.env.NODE_ENV!=="production"&&(l.id!=null&&!m(l.id)&&E(l.id),l.name!=null&&!m(l.name)&&E(l.name))});var o=X(e,t,r);return(i||a)&&Y(o,e,t,n),i&&H(o,n),i||a?K(o,n,a):u&&U(o,n),z(o),o}f(G,"mappingToExists");function X(e,n,r){var i=[];if(r==="replaceAll")return i;for(var a=0;a<e.length;a++){var u=e[a];u&&u.id!=null&&n.set(u.id,a),i.push({existing:r==="replaceMerge"||T(u)?null:u,newOption:null,keyInfo:null,brandNew:null})}return i}f(X,"prepareResult");function Y(e,n,r,i){s.each(i,function(a,u){if(!(!a||a.id==null)){var t=y(a.id),o=r.get(t);if(o!=null){var l=e[o];s.assert(!l.newOption,'Duplicated option on id "'+t+'".'),l.newOption=a,l.existing=n[o],i[u]=null}}})}f(Y,"mappingById");function H(e,n){s.each(n,function(r,i){if(!(!r||r.name==null))for(var a=0;a<e.length;a++){var u=e[a].existing;if(!e[a].newOption&&u&&(u.id==null||r.id==null)&&!T(r)&&!T(u)&&A("name",u,r)){e[a].newOption=r,n[i]=null;return}}})}f(H,"mappingByName");function K(e,n,r){s.each(n,function(i){if(i){for(var a,u=0;(a=e[u])&&(a.newOption||T(a.existing)||a.existing&&i.id!=null&&!A("id",i,a.existing));)u++;a?(a.newOption=i,a.brandNew=r):e.push({newOption:i,brandNew:r,existing:null,keyInfo:null}),u++}})}f(K,"mappingByIndex");function U(e,n){s.each(n,function(r){e.push({newOption:r,brandNew:!0,existing:null,keyInfo:null})})}f(U,"mappingInReplaceAllMode");function z(e){var n=s.createHashMap();s.each(e,function(r){var i=r.existing;i&&n.set(i.id,r)}),s.each(e,function(r){var i=r.newOption;s.assert(!i||i.id==null||!n.get(i.id)||n.get(i.id)===r,"id duplicates: "+(i&&i.id)),i&&i.id!=null&&n.set(i.id,r),!r.keyInfo&&(r.keyInfo={})}),s.each(e,function(r,i){var a=r.existing,u=r.newOption,t=r.keyInfo;if(s.isObject(u)){if(t.name=u.name!=null?y(u.name):a?a.name:S+i,a)t.id=y(a.id);else if(u.id!=null)t.id=y(u.id);else{var o=0;do t.id="\0"+t.name+"\0"+o++;while(n.get(t.id))}n.set(t.id,r)}})}f(z,"makeIdAndName");function A(e,n,r){var i=b(n[e],null),a=b(r[e],null);return i!=null&&a!=null&&i===a}f(A,"keyExistAndEqual");function y(e){if(process.env.NODE_ENV!=="production"&&e==null)throw new Error;return b(e,"")}f(y,"makeComparableKey");function b(e,n){return e==null?n:s.isString(e)?e:s.isNumber(e)||s.isStringSafe(e)?e+"":n}f(b,"convertOptionIdName");function E(e){process.env.NODE_ENV!=="production"&&F.warn("`"+e+"` is invalid id or name. Must be a string or number.")}f(E,"warnInvalidateIdOrName");function m(e){return s.isStringSafe(e)||h.isNumeric(e)}f(m,"isValidIdOrName");function W(e){var n=e.name;return!!(n&&n.indexOf(S))}f(W,"isNameSpecified");function T(e){return e&&e.id!=null&&y(e.id).indexOf(w)===0}f(T,"isComponentIdInternal");function j(e){return w+e}f(j,"makeInternalComponentId");function $(e,n,r){s.each(e,function(i){var a=i.newOption;s.isObject(a)&&(i.keyInfo.mainType=n,i.keyInfo.subType=J(n,a,i.existing,r))})}f($,"setComponentTypeToKeyInfo");function J(e,n,r,i){var a=n.type?n.type:r?r.subType:i.determineSubType(e,n);return a}f(J,"determineSubType");function Q(e,n){var r={},i={};return a(e||[],r),a(n||[],i,r),[u(r),u(i)];function a(t,o,l){for(var d=0,c=t.length;d<c;d++){var v=b(t[d].seriesId,null);if(v==null)return;for(var I=R(t[d].dataIndex),g=l&&l[v],x=0,q=I.length;x<q;x++){var N=I[x];g&&g[N]?g[N]=null:(o[v]||(o[v]={}))[N]=1}}}f(a,"makeMap");function u(t,o){var l=[];for(var d in t)if(t.hasOwnProperty(d)&&t[d]!=null)if(o)l.push(+d);else{var c=u(t[d],!0);c.length&&l.push({seriesId:d,dataIndex:c})}return l}f(u,"mapToArray")}f(Q,"compressBatches");function Z(e,n){if(n.dataIndexInside!=null)return n.dataIndexInside;if(n.dataIndex!=null)return s.isArray(n.dataIndex)?s.map(n.dataIndex,function(r){return e.indexOfRawIndex(r)}):e.indexOfRawIndex(n.dataIndex);if(n.name!=null)return s.isArray(n.name)?s.map(n.name,function(r){return e.indexOfName(r)}):e.indexOfName(n.name)}f(Z,"queryDataIndex");function V(){var e="__ec_inner_"+ee++;return function(n){return n[e]||(n[e]={})}}f(V,"makeInner");var ee=h.getRandomIdBase();function ne(e,n,r){var i=_(n,r),a=i.mainTypeSpecified,u=i.queryOptionMap,t=i.others,o=t,l=r?r.defaultMainType:null;return!a&&l&&u.set(l,{}),u.each(function(d,c){var v=P(e,c,d,{useDefault:l===c,enableAll:r&&r.enableAll!=null?r.enableAll:!0,enableNone:r&&r.enableNone!=null?r.enableNone:!0});o[c+"Models"]=v.models,o[c+"Model"]=v.models[0]}),o}f(ne,"parseFinder");function _(e,n){var r;if(s.isString(e)){var i={};i[e+"Index"]=0,r=i}else r=e;var a=s.createHashMap(),u={},t=!1;return s.each(r,function(o,l){if(l==="dataIndex"||l==="dataIndexInside"){u[l]=o;return}var d=l.match(/^(\w+)(Index|Id|Name)$/)||[],c=d[1],v=(d[2]||"").toLowerCase();if(!(!c||!v||n&&n.includeMainTypes&&s.indexOf(n.includeMainTypes,c)<0)){t=t||!!c;var I=a.get(c)||a.set(c,{});I[v]=o}}),{mainTypeSpecified:t,queryOptionMap:a,others:u}}f(_,"preParseFinder");var p={useDefault:!0,enableAll:!1,enableNone:!1},re={useDefault:!1,enableAll:!0,enableNone:!0};function P(e,n,r,i){i=i||p;var a=r.index,u=r.id,t=r.name,o={models:null,specified:a!=null||u!=null||t!=null};if(!o.specified){var l=void 0;return o.models=i.useDefault&&(l=e.getComponent(n))?[l]:[],o}return a==="none"||a===!1?(s.assert(i.enableNone,'`"none"` or `false` is not a valid value on index option.'),o.models=[],o):(a==="all"&&(s.assert(i.enableAll,'`"all"` is not a valid value on index option.'),a=u=t=null),o.models=e.queryComponents({mainType:n,index:a,id:u,name:t}),o)}f(P,"queryReferringComponents");function ie(e,n,r){e.setAttribute?e.setAttribute(n,r):e[n]=r}f(ie,"setAttribute");function ae(e,n){return e.getAttribute?e.getAttribute(n):e[n]}f(ae,"getAttribute");function ue(e){return e==="auto"?O.default.domSupported?"html":"richText":e||"html"}f(ue,"getTooltipRenderMode");function le(e,n,r,i,a){var u=n==null||n==="auto";if(i==null)return i;if(s.isNumber(i)){var t=M(r||0,i,a);return h.round(t,u?Math.max(h.getPrecision(r||0),h.getPrecision(i)):n)}else{if(s.isString(i))return a<1?r:i;for(var o=[],l=r,d=i,c=Math.max(l?l.length:0,d.length),v=0;v<c;++v){var I=e.getDimensionInfo(v);if(I&&I.type==="ordinal")o[v]=(a<1&&l?l:d)[v];else{var g=l&&l[v]?l[v]:0,x=d[v],t=M(g,x,a);o[v]=h.round(t,u?Math.max(h.getPrecision(g),h.getPrecision(x)):n)}}return o}}f(le,"interpolateRawValues");exports.MULTIPLE_REFERRING=re;exports.SINGLE_REFERRING=p;exports.TEXT_STYLE_OPTIONS=k;exports.compressBatches=Q;exports.convertOptionIdName=b;exports.defaultEmphasis=L;exports.getAttribute=ae;exports.getDataItemValue=B;exports.getTooltipRenderMode=ue;exports.interpolateRawValues=le;exports.isComponentIdInternal=T;exports.isDataItemOption=C;exports.isNameSpecified=W;exports.makeInner=V;exports.makeInternalComponentId=j;exports.mappingToExists=G;exports.normalizeToArray=R;exports.parseFinder=ne;exports.preParseFinder=_;exports.queryDataIndex=Z;exports.queryReferringComponents=P;exports.setAttribute=ie;exports.setComponentTypeToKeyInfo=$;
|
|
@@ -1,19 +1,19 @@
|
|
|
1
|
-
var
|
|
2
|
-
var
|
|
3
|
-
import { assert as
|
|
1
|
+
var X = Object.defineProperty;
|
|
2
|
+
var t = (n, e) => X(n, "name", { value: e, configurable: !0 });
|
|
3
|
+
import { assert as M, map as S, isArray as E, isObject as y, isNumber as P, isString as m, createHashMap as A, each as c, isStringSafe as B, indexOf as O } from "../../../../../../zrender@5.6.1/node_modules/zrender/lib/core/util/index.js";
|
|
4
4
|
import Y from "../../../../../../zrender@5.6.1/node_modules/zrender/lib/core/env/index.js";
|
|
5
|
-
import { getRandomIdBase as
|
|
6
|
-
import { warn as
|
|
5
|
+
import { getRandomIdBase as G, round as _, getPrecision as b, isNumeric as K } from "../number/index.js";
|
|
6
|
+
import { warn as U } from "../log/index.js";
|
|
7
7
|
function R(n, e, r) {
|
|
8
8
|
return (e - n) * r + n;
|
|
9
9
|
}
|
|
10
|
-
|
|
11
|
-
var
|
|
12
|
-
function
|
|
10
|
+
t(R, "interpolateNumber");
|
|
11
|
+
var k = "series\0", F = "\0_ec_\0";
|
|
12
|
+
function W(n) {
|
|
13
13
|
return n instanceof Array ? n : n == null ? [] : [n];
|
|
14
14
|
}
|
|
15
|
-
|
|
16
|
-
function
|
|
15
|
+
t(W, "normalizeToArray");
|
|
16
|
+
function on(n, e, r) {
|
|
17
17
|
if (n) {
|
|
18
18
|
n[e] = n[e] || {}, n.emphasis = n.emphasis || {}, n.emphasis[e] = n.emphasis[e] || {};
|
|
19
19
|
for (var i = 0, a = r.length; i < a; i++) {
|
|
@@ -22,39 +22,39 @@ function un(n, e, r) {
|
|
|
22
22
|
}
|
|
23
23
|
}
|
|
24
24
|
}
|
|
25
|
-
|
|
26
|
-
var
|
|
27
|
-
function
|
|
28
|
-
return
|
|
25
|
+
t(on, "defaultEmphasis");
|
|
26
|
+
var tn = ["fontStyle", "fontWeight", "fontSize", "fontFamily", "rich", "tag", "color", "textBorderColor", "textBorderWidth", "width", "height", "lineHeight", "align", "verticalAlign", "baseline", "shadowColor", "shadowBlur", "shadowOffsetX", "shadowOffsetY", "textShadowColor", "textShadowBlur", "textShadowOffsetX", "textShadowOffsetY", "backgroundColor", "borderColor", "borderWidth", "borderRadius", "padding"];
|
|
27
|
+
function dn(n) {
|
|
28
|
+
return y(n) && !E(n) && !(n instanceof Date) ? n.value : n;
|
|
29
29
|
}
|
|
30
|
-
|
|
31
|
-
function
|
|
32
|
-
return
|
|
30
|
+
t(dn, "getDataItemValue");
|
|
31
|
+
function sn(n) {
|
|
32
|
+
return y(n) && !(n instanceof Array);
|
|
33
33
|
}
|
|
34
|
-
|
|
35
|
-
function
|
|
34
|
+
t(sn, "isDataItemOption");
|
|
35
|
+
function vn(n, e, r) {
|
|
36
36
|
var i = r === "normalMerge", a = r === "replaceMerge", l = r === "replaceAll";
|
|
37
37
|
n = n || [], e = (e || []).slice();
|
|
38
|
-
var
|
|
39
|
-
c(e, function(
|
|
40
|
-
if (!
|
|
41
|
-
e[
|
|
38
|
+
var f = A();
|
|
39
|
+
c(e, function(u, d) {
|
|
40
|
+
if (!y(u)) {
|
|
41
|
+
e[d] = null;
|
|
42
42
|
return;
|
|
43
43
|
}
|
|
44
|
-
process.env.NODE_ENV !== "production" && (
|
|
44
|
+
process.env.NODE_ENV !== "production" && (u.id != null && !q(u.id) && D(u.id), u.name != null && !q(u.name) && D(u.name));
|
|
45
45
|
});
|
|
46
|
-
var
|
|
47
|
-
return (i || a) &&
|
|
46
|
+
var o = z(n, f, r);
|
|
47
|
+
return (i || a) && C(o, n, f, e), i && H(o, e), i || a ? $(o, e, a) : l && J(o, e), Q(o), o;
|
|
48
48
|
}
|
|
49
|
-
|
|
50
|
-
function
|
|
49
|
+
t(vn, "mappingToExists");
|
|
50
|
+
function z(n, e, r) {
|
|
51
51
|
var i = [];
|
|
52
52
|
if (r === "replaceAll")
|
|
53
53
|
return i;
|
|
54
54
|
for (var a = 0; a < n.length; a++) {
|
|
55
55
|
var l = n[a];
|
|
56
56
|
l && l.id != null && e.set(l.id, a), i.push({
|
|
57
|
-
existing: r === "replaceMerge" ||
|
|
57
|
+
existing: r === "replaceMerge" || w(l) ? null : l,
|
|
58
58
|
newOption: null,
|
|
59
59
|
keyInfo: null,
|
|
60
60
|
brandNew: null
|
|
@@ -62,40 +62,40 @@ function O(n, e, r) {
|
|
|
62
62
|
}
|
|
63
63
|
return i;
|
|
64
64
|
}
|
|
65
|
-
|
|
66
|
-
function
|
|
65
|
+
t(z, "prepareResult");
|
|
66
|
+
function C(n, e, r, i) {
|
|
67
67
|
c(i, function(a, l) {
|
|
68
68
|
if (!(!a || a.id == null)) {
|
|
69
|
-
var
|
|
70
|
-
if (
|
|
71
|
-
var
|
|
72
|
-
|
|
69
|
+
var f = g(a.id), o = r.get(f);
|
|
70
|
+
if (o != null) {
|
|
71
|
+
var u = n[o];
|
|
72
|
+
M(!u.newOption, 'Duplicated option on id "' + f + '".'), u.newOption = a, u.existing = e[o], i[l] = null;
|
|
73
73
|
}
|
|
74
74
|
}
|
|
75
75
|
});
|
|
76
76
|
}
|
|
77
|
-
|
|
78
|
-
function
|
|
77
|
+
t(C, "mappingById");
|
|
78
|
+
function H(n, e) {
|
|
79
79
|
c(e, function(r, i) {
|
|
80
80
|
if (!(!r || r.name == null))
|
|
81
81
|
for (var a = 0; a < n.length; a++) {
|
|
82
82
|
var l = n[a].existing;
|
|
83
|
-
if (!n[a].newOption && l && (l.id == null || r.id == null) && !
|
|
83
|
+
if (!n[a].newOption && l && (l.id == null || r.id == null) && !w(r) && !w(l) && p("name", l, r)) {
|
|
84
84
|
n[a].newOption = r, e[i] = null;
|
|
85
85
|
return;
|
|
86
86
|
}
|
|
87
87
|
}
|
|
88
88
|
});
|
|
89
89
|
}
|
|
90
|
-
|
|
91
|
-
function
|
|
90
|
+
t(H, "mappingByName");
|
|
91
|
+
function $(n, e, r) {
|
|
92
92
|
c(e, function(i) {
|
|
93
93
|
if (i) {
|
|
94
94
|
for (
|
|
95
95
|
var a, l = 0;
|
|
96
96
|
// Be `!resultItem` only when `nextIdx >= result.length`.
|
|
97
|
-
(a = n[l]) && (a.newOption ||
|
|
98
|
-
a.existing && i.id != null && !
|
|
97
|
+
(a = n[l]) && (a.newOption || w(a.existing) || // In mode "replaceMerge", here no not-mapped-non-internal-existing.
|
|
98
|
+
a.existing && i.id != null && !p("id", i, a.existing));
|
|
99
99
|
)
|
|
100
100
|
l++;
|
|
101
101
|
a ? (a.newOption = i, a.brandNew = r) : n.push({
|
|
@@ -107,8 +107,8 @@ function z(n, e, r) {
|
|
|
107
107
|
}
|
|
108
108
|
});
|
|
109
109
|
}
|
|
110
|
-
|
|
111
|
-
function
|
|
110
|
+
t($, "mappingByIndex");
|
|
111
|
+
function J(n, e) {
|
|
112
112
|
c(e, function(r) {
|
|
113
113
|
n.push({
|
|
114
114
|
newOption: r,
|
|
@@ -118,223 +118,257 @@ function C(n, e) {
|
|
|
118
118
|
});
|
|
119
119
|
});
|
|
120
120
|
}
|
|
121
|
-
|
|
122
|
-
function
|
|
123
|
-
var e =
|
|
121
|
+
t(J, "mappingInReplaceAllMode");
|
|
122
|
+
function Q(n) {
|
|
123
|
+
var e = A();
|
|
124
124
|
c(n, function(r) {
|
|
125
125
|
var i = r.existing;
|
|
126
126
|
i && e.set(i.id, r);
|
|
127
127
|
}), c(n, function(r) {
|
|
128
128
|
var i = r.newOption;
|
|
129
|
-
|
|
129
|
+
M(!i || i.id == null || !e.get(i.id) || e.get(i.id) === r, "id duplicates: " + (i && i.id)), i && i.id != null && e.set(i.id, r), !r.keyInfo && (r.keyInfo = {});
|
|
130
130
|
}), c(n, function(r, i) {
|
|
131
|
-
var a = r.existing, l = r.newOption,
|
|
132
|
-
if (
|
|
133
|
-
if (
|
|
134
|
-
|
|
131
|
+
var a = r.existing, l = r.newOption, f = r.keyInfo;
|
|
132
|
+
if (y(l)) {
|
|
133
|
+
if (f.name = l.name != null ? g(l.name) : a ? a.name : k + i, a)
|
|
134
|
+
f.id = g(a.id);
|
|
135
135
|
else if (l.id != null)
|
|
136
|
-
|
|
136
|
+
f.id = g(l.id);
|
|
137
137
|
else {
|
|
138
|
-
var
|
|
138
|
+
var o = 0;
|
|
139
139
|
do
|
|
140
|
-
|
|
141
|
-
while (e.get(
|
|
140
|
+
f.id = "\0" + f.name + "\0" + o++;
|
|
141
|
+
while (e.get(f.id));
|
|
142
142
|
}
|
|
143
|
-
e.set(
|
|
143
|
+
e.set(f.id, r);
|
|
144
144
|
}
|
|
145
145
|
});
|
|
146
146
|
}
|
|
147
|
-
|
|
148
|
-
function
|
|
147
|
+
t(Q, "makeIdAndName");
|
|
148
|
+
function p(n, e, r) {
|
|
149
149
|
var i = N(e[n], null), a = N(r[n], null);
|
|
150
150
|
return i != null && a != null && i === a;
|
|
151
151
|
}
|
|
152
|
-
|
|
153
|
-
function
|
|
152
|
+
t(p, "keyExistAndEqual");
|
|
153
|
+
function g(n) {
|
|
154
154
|
if (process.env.NODE_ENV !== "production" && n == null)
|
|
155
155
|
throw new Error();
|
|
156
156
|
return N(n, "");
|
|
157
157
|
}
|
|
158
|
-
|
|
158
|
+
t(g, "makeComparableKey");
|
|
159
159
|
function N(n, e) {
|
|
160
|
-
return n == null ? e :
|
|
160
|
+
return n == null ? e : m(n) ? n : P(n) || B(n) ? n + "" : e;
|
|
161
161
|
}
|
|
162
|
-
|
|
163
|
-
function A(n) {
|
|
164
|
-
process.env.NODE_ENV !== "production" && K("`" + n + "` is invalid id or name. Must be a string or number.");
|
|
165
|
-
}
|
|
166
|
-
u(A, "warnInvalidateIdOrName");
|
|
162
|
+
t(N, "convertOptionIdName");
|
|
167
163
|
function D(n) {
|
|
168
|
-
|
|
164
|
+
process.env.NODE_ENV !== "production" && U("`" + n + "` is invalid id or name. Must be a string or number.");
|
|
169
165
|
}
|
|
170
|
-
|
|
171
|
-
function
|
|
166
|
+
t(D, "warnInvalidateIdOrName");
|
|
167
|
+
function q(n) {
|
|
168
|
+
return B(n) || K(n);
|
|
169
|
+
}
|
|
170
|
+
t(q, "isValidIdOrName");
|
|
171
|
+
function cn(n) {
|
|
172
172
|
var e = n.name;
|
|
173
|
-
return !!(e && e.indexOf(
|
|
173
|
+
return !!(e && e.indexOf(k));
|
|
174
174
|
}
|
|
175
|
-
|
|
176
|
-
function
|
|
177
|
-
return n && n.id != null &&
|
|
175
|
+
t(cn, "isNameSpecified");
|
|
176
|
+
function w(n) {
|
|
177
|
+
return n && n.id != null && g(n.id).indexOf(F) === 0;
|
|
178
178
|
}
|
|
179
|
-
|
|
180
|
-
function
|
|
179
|
+
t(w, "isComponentIdInternal");
|
|
180
|
+
function hn(n) {
|
|
181
181
|
return F + n;
|
|
182
182
|
}
|
|
183
|
-
|
|
184
|
-
function
|
|
183
|
+
t(hn, "makeInternalComponentId");
|
|
184
|
+
function In(n, e, r) {
|
|
185
185
|
c(n, function(i) {
|
|
186
186
|
var a = i.newOption;
|
|
187
|
-
|
|
187
|
+
y(a) && (i.keyInfo.mainType = e, i.keyInfo.subType = Z(e, a, i.existing, r));
|
|
188
188
|
});
|
|
189
189
|
}
|
|
190
|
-
|
|
191
|
-
function
|
|
190
|
+
t(In, "setComponentTypeToKeyInfo");
|
|
191
|
+
function Z(n, e, r, i) {
|
|
192
192
|
var a = e.type ? e.type : r ? r.subType : i.determineSubType(n, e);
|
|
193
193
|
return a;
|
|
194
194
|
}
|
|
195
|
-
|
|
196
|
-
function
|
|
195
|
+
t(Z, "determineSubType");
|
|
196
|
+
function xn(n, e) {
|
|
197
|
+
var r = {}, i = {};
|
|
198
|
+
return a(n || [], r), a(e || [], i, r), [l(r), l(i)];
|
|
199
|
+
function a(f, o, u) {
|
|
200
|
+
for (var d = 0, v = f.length; d < v; d++) {
|
|
201
|
+
var s = N(f[d].seriesId, null);
|
|
202
|
+
if (s == null)
|
|
203
|
+
return;
|
|
204
|
+
for (var h = W(f[d].dataIndex), I = u && u[s], x = 0, L = h.length; x < L; x++) {
|
|
205
|
+
var T = h[x];
|
|
206
|
+
I && I[T] ? I[T] = null : (o[s] || (o[s] = {}))[T] = 1;
|
|
207
|
+
}
|
|
208
|
+
}
|
|
209
|
+
}
|
|
210
|
+
t(a, "makeMap");
|
|
211
|
+
function l(f, o) {
|
|
212
|
+
var u = [];
|
|
213
|
+
for (var d in f)
|
|
214
|
+
if (f.hasOwnProperty(d) && f[d] != null)
|
|
215
|
+
if (o)
|
|
216
|
+
u.push(+d);
|
|
217
|
+
else {
|
|
218
|
+
var v = l(f[d], !0);
|
|
219
|
+
v.length && u.push({
|
|
220
|
+
seriesId: d,
|
|
221
|
+
dataIndex: v
|
|
222
|
+
});
|
|
223
|
+
}
|
|
224
|
+
return u;
|
|
225
|
+
}
|
|
226
|
+
t(l, "mapToArray");
|
|
227
|
+
}
|
|
228
|
+
t(xn, "compressBatches");
|
|
229
|
+
function gn(n, e) {
|
|
197
230
|
if (e.dataIndexInside != null)
|
|
198
231
|
return e.dataIndexInside;
|
|
199
232
|
if (e.dataIndex != null)
|
|
200
|
-
return
|
|
233
|
+
return E(e.dataIndex) ? S(e.dataIndex, function(r) {
|
|
201
234
|
return n.indexOfRawIndex(r);
|
|
202
235
|
}) : n.indexOfRawIndex(e.dataIndex);
|
|
203
236
|
if (e.name != null)
|
|
204
|
-
return
|
|
237
|
+
return E(e.name) ? S(e.name, function(r) {
|
|
205
238
|
return n.indexOfName(r);
|
|
206
239
|
}) : n.indexOfName(e.name);
|
|
207
240
|
}
|
|
208
|
-
|
|
209
|
-
function
|
|
210
|
-
var n = "__ec_inner_" +
|
|
241
|
+
t(gn, "queryDataIndex");
|
|
242
|
+
function yn() {
|
|
243
|
+
var n = "__ec_inner_" + j++;
|
|
211
244
|
return function(e) {
|
|
212
245
|
return e[n] || (e[n] = {});
|
|
213
246
|
};
|
|
214
247
|
}
|
|
215
|
-
|
|
216
|
-
var
|
|
217
|
-
function
|
|
218
|
-
var i =
|
|
219
|
-
return !a &&
|
|
220
|
-
var
|
|
221
|
-
useDefault:
|
|
248
|
+
t(yn, "makeInner");
|
|
249
|
+
var j = G();
|
|
250
|
+
function bn(n, e, r) {
|
|
251
|
+
var i = V(e, r), a = i.mainTypeSpecified, l = i.queryOptionMap, f = i.others, o = f, u = r ? r.defaultMainType : null;
|
|
252
|
+
return !a && u && l.set(u, {}), l.each(function(d, v) {
|
|
253
|
+
var s = en(n, v, d, {
|
|
254
|
+
useDefault: u === v,
|
|
222
255
|
enableAll: r && r.enableAll != null ? r.enableAll : !0,
|
|
223
256
|
enableNone: r && r.enableNone != null ? r.enableNone : !0
|
|
224
257
|
});
|
|
225
|
-
|
|
226
|
-
}),
|
|
258
|
+
o[v + "Models"] = s.models, o[v + "Model"] = s.models[0];
|
|
259
|
+
}), o;
|
|
227
260
|
}
|
|
228
|
-
|
|
229
|
-
function
|
|
261
|
+
t(bn, "parseFinder");
|
|
262
|
+
function V(n, e) {
|
|
230
263
|
var r;
|
|
231
|
-
if (
|
|
264
|
+
if (m(n)) {
|
|
232
265
|
var i = {};
|
|
233
266
|
i[n + "Index"] = 0, r = i;
|
|
234
267
|
} else
|
|
235
268
|
r = n;
|
|
236
|
-
var a =
|
|
237
|
-
return c(r, function(
|
|
238
|
-
if (
|
|
239
|
-
l[
|
|
269
|
+
var a = A(), l = {}, f = !1;
|
|
270
|
+
return c(r, function(o, u) {
|
|
271
|
+
if (u === "dataIndex" || u === "dataIndexInside") {
|
|
272
|
+
l[u] = o;
|
|
240
273
|
return;
|
|
241
274
|
}
|
|
242
|
-
var
|
|
243
|
-
if (!(!
|
|
244
|
-
|
|
245
|
-
var
|
|
246
|
-
|
|
275
|
+
var d = u.match(/^(\w+)(Index|Id|Name)$/) || [], v = d[1], s = (d[2] || "").toLowerCase();
|
|
276
|
+
if (!(!v || !s || e && e.includeMainTypes && O(e.includeMainTypes, v) < 0)) {
|
|
277
|
+
f = f || !!v;
|
|
278
|
+
var h = a.get(v) || a.set(v, {});
|
|
279
|
+
h[s] = o;
|
|
247
280
|
}
|
|
248
281
|
}), {
|
|
249
|
-
mainTypeSpecified:
|
|
282
|
+
mainTypeSpecified: f,
|
|
250
283
|
queryOptionMap: a,
|
|
251
284
|
others: l
|
|
252
285
|
};
|
|
253
286
|
}
|
|
254
|
-
|
|
255
|
-
var
|
|
287
|
+
t(V, "preParseFinder");
|
|
288
|
+
var nn = {
|
|
256
289
|
useDefault: !0,
|
|
257
290
|
enableAll: !1,
|
|
258
291
|
enableNone: !1
|
|
259
|
-
},
|
|
292
|
+
}, Mn = {
|
|
260
293
|
useDefault: !1,
|
|
261
294
|
enableAll: !0,
|
|
262
295
|
enableNone: !0
|
|
263
296
|
};
|
|
264
|
-
function
|
|
265
|
-
i = i ||
|
|
266
|
-
var a = r.index, l = r.id,
|
|
297
|
+
function en(n, e, r, i) {
|
|
298
|
+
i = i || nn;
|
|
299
|
+
var a = r.index, l = r.id, f = r.name, o = {
|
|
267
300
|
models: null,
|
|
268
|
-
specified: a != null || l != null ||
|
|
301
|
+
specified: a != null || l != null || f != null
|
|
269
302
|
};
|
|
270
|
-
if (!
|
|
271
|
-
var
|
|
272
|
-
return
|
|
303
|
+
if (!o.specified) {
|
|
304
|
+
var u = void 0;
|
|
305
|
+
return o.models = i.useDefault && (u = n.getComponent(e)) ? [u] : [], o;
|
|
273
306
|
}
|
|
274
|
-
return a === "none" || a === !1 ? (
|
|
307
|
+
return a === "none" || a === !1 ? (M(i.enableNone, '`"none"` or `false` is not a valid value on index option.'), o.models = [], o) : (a === "all" && (M(i.enableAll, '`"all"` is not a valid value on index option.'), a = l = f = null), o.models = n.queryComponents({
|
|
275
308
|
mainType: e,
|
|
276
309
|
index: a,
|
|
277
310
|
id: l,
|
|
278
|
-
name:
|
|
279
|
-
}),
|
|
311
|
+
name: f
|
|
312
|
+
}), o);
|
|
280
313
|
}
|
|
281
|
-
|
|
282
|
-
function
|
|
314
|
+
t(en, "queryReferringComponents");
|
|
315
|
+
function Nn(n, e, r) {
|
|
283
316
|
n.setAttribute ? n.setAttribute(e, r) : n[e] = r;
|
|
284
317
|
}
|
|
285
|
-
|
|
286
|
-
function
|
|
318
|
+
t(Nn, "setAttribute");
|
|
319
|
+
function wn(n, e) {
|
|
287
320
|
return n.getAttribute ? n.getAttribute(e) : n[e];
|
|
288
321
|
}
|
|
289
|
-
|
|
290
|
-
function
|
|
322
|
+
t(wn, "getAttribute");
|
|
323
|
+
function Tn(n) {
|
|
291
324
|
return n === "auto" ? Y.domSupported ? "html" : "richText" : n || "html";
|
|
292
325
|
}
|
|
293
|
-
|
|
294
|
-
function
|
|
326
|
+
t(Tn, "getTooltipRenderMode");
|
|
327
|
+
function En(n, e, r, i, a) {
|
|
295
328
|
var l = e == null || e === "auto";
|
|
296
329
|
if (i == null)
|
|
297
330
|
return i;
|
|
298
|
-
if (
|
|
299
|
-
var
|
|
300
|
-
return _(
|
|
331
|
+
if (P(i)) {
|
|
332
|
+
var f = R(r || 0, i, a);
|
|
333
|
+
return _(f, l ? Math.max(b(r || 0), b(i)) : e);
|
|
301
334
|
} else {
|
|
302
|
-
if (
|
|
335
|
+
if (m(i))
|
|
303
336
|
return a < 1 ? r : i;
|
|
304
|
-
for (var
|
|
305
|
-
var
|
|
306
|
-
if (
|
|
307
|
-
|
|
337
|
+
for (var o = [], u = r, d = i, v = Math.max(u ? u.length : 0, d.length), s = 0; s < v; ++s) {
|
|
338
|
+
var h = n.getDimensionInfo(s);
|
|
339
|
+
if (h && h.type === "ordinal")
|
|
340
|
+
o[s] = (a < 1 && u ? u : d)[s];
|
|
308
341
|
else {
|
|
309
|
-
var
|
|
310
|
-
|
|
342
|
+
var I = u && u[s] ? u[s] : 0, x = d[s], f = R(I, x, a);
|
|
343
|
+
o[s] = _(f, l ? Math.max(b(I), b(x)) : e);
|
|
311
344
|
}
|
|
312
345
|
}
|
|
313
|
-
return
|
|
346
|
+
return o;
|
|
314
347
|
}
|
|
315
348
|
}
|
|
316
|
-
|
|
349
|
+
t(En, "interpolateRawValues");
|
|
317
350
|
export {
|
|
318
|
-
|
|
319
|
-
|
|
320
|
-
|
|
351
|
+
Mn as MULTIPLE_REFERRING,
|
|
352
|
+
nn as SINGLE_REFERRING,
|
|
353
|
+
tn as TEXT_STYLE_OPTIONS,
|
|
354
|
+
xn as compressBatches,
|
|
321
355
|
N as convertOptionIdName,
|
|
322
|
-
|
|
323
|
-
|
|
324
|
-
|
|
325
|
-
|
|
326
|
-
|
|
327
|
-
|
|
328
|
-
|
|
329
|
-
|
|
330
|
-
|
|
331
|
-
|
|
332
|
-
|
|
333
|
-
|
|
334
|
-
|
|
335
|
-
|
|
336
|
-
|
|
337
|
-
|
|
338
|
-
|
|
339
|
-
|
|
356
|
+
on as defaultEmphasis,
|
|
357
|
+
wn as getAttribute,
|
|
358
|
+
dn as getDataItemValue,
|
|
359
|
+
Tn as getTooltipRenderMode,
|
|
360
|
+
En as interpolateRawValues,
|
|
361
|
+
w as isComponentIdInternal,
|
|
362
|
+
sn as isDataItemOption,
|
|
363
|
+
cn as isNameSpecified,
|
|
364
|
+
yn as makeInner,
|
|
365
|
+
hn as makeInternalComponentId,
|
|
366
|
+
vn as mappingToExists,
|
|
367
|
+
W as normalizeToArray,
|
|
368
|
+
bn as parseFinder,
|
|
369
|
+
V as preParseFinder,
|
|
370
|
+
gn as queryDataIndex,
|
|
371
|
+
en as queryReferringComponents,
|
|
372
|
+
Nn as setAttribute,
|
|
373
|
+
In as setComponentTypeToKeyInfo
|
|
340
374
|
};
|
package/lib/node_modules/.pnpm/echarts@5.6.0/node_modules/echarts/lib/util/model/index.js.br
CHANGED
|
Binary file
|
package/lib/node_modules/.pnpm/echarts@5.6.0/node_modules/echarts/lib/util/model/index.js.gz
CHANGED
|
Binary file
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";var
|
|
1
|
+
"use strict";var l=Object.defineProperty;var i=(r,e)=>l(r,"name",{value:e,configurable:!0});Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const N=require("../../../../../../zrender@5.6.1/node_modules/zrender/lib/core/util/index.cjs");var w=1e-4,S=20;function R(r){return r.replace(/^\s+|\s+$/g,"")}i(R,"_trim");function T(r,e,n,o){var u=e[0],a=e[1],t=n[0],M=n[1],f=a-u,s=M-t;if(f===0)return s===0?t:(t+M)/2;if(o)if(f>0){if(r<=u)return t;if(r>=a)return M}else{if(r>=u)return t;if(r<=a)return M}else{if(r===u)return t;if(r===a)return M}return(r-u)/f*s+t}i(T,"linearMap");function y(r,e){switch(r){case"center":case"middle":r="50%";break;case"left":case"top":r="0%";break;case"right":case"bottom":r="100%";break}return N.isString(r)?R(r).match(/%$/)?parseFloat(r)/100*e:parseFloat(r):r==null?NaN:+r}i(y,"parsePercent");function D(r,e,n){return e==null&&(e=10),e=Math.min(Math.max(0,e),S),r=(+r).toFixed(e),n?r:+r}i(D,"round");function C(r){return r.sort(function(e,n){return e-n}),r}i(C,"asc");function m(r){if(r=+r,isNaN(r))return 0;if(r>1e-14){for(var e=1,n=0;n<15;n++,e*=10)if(Math.round(r*e)/e===r)return n}return I(r)}i(m,"getPrecision");function I(r){var e=r.toString().toLowerCase(),n=e.indexOf("e"),o=n>0?+e.slice(n+1):0,u=n>0?n:e.length,a=e.indexOf("."),t=a<0?0:u-1-a;return Math.max(0,t-o)}i(I,"getPrecisionSafe");function F(r,e){var n=Math.log,o=Math.LN10,u=Math.floor(n(r[1]-r[0])/o),a=Math.round(n(Math.abs(e[1]-e[0]))/o),t=Math.min(Math.max(-u+a,0),20);return isFinite(t)?t:20}i(F,"getPixelPrecision");function L(r,e){var n=N.reduce(r,function(c,v){return c+(isNaN(v)?0:v)},0);if(n===0)return[];for(var o=Math.pow(10,e),u=N.map(r,function(c){return(isNaN(c)?0:c)/n*o*100}),a=o*100,t=N.map(u,function(c){return Math.floor(c)}),M=N.reduce(t,function(c,v){return c+v},0),f=N.map(u,function(c,v){return c-t[v]});M<a;){for(var s=Number.NEGATIVE_INFINITY,d=null,P=0,h=f.length;P<h;++P)f[P]>s&&(s=f[P],d=P);++t[d],f[d]=0,++M}return N.map(t,function(c){return c/o})}i(L,"getPercentSeats");function O(r,e){var n=Math.max(m(r),m(e)),o=r+e;return n>S?o:D(o,n)}i(O,"addSafe");function E(r){var e=Math.PI*2;return(r%e+e)%e}i(E,"remRadian");function b(r){return r>-1e-4&&r<w}i(b,"isRadianAroundZero");var A=/^(?:(\d{4})(?:[-\/](\d{1,2})(?:[-\/](\d{1,2})(?:[T ](\d{1,2})(?::(\d{1,2})(?::(\d{1,2})(?:[.,](\d+))?)?)?(Z|[\+\-]\d\d:?\d\d)?)?)?)?)?$/;function q(r){if(r instanceof Date)return r;if(N.isString(r)){var e=A.exec(r);if(!e)return new Date(NaN);if(e[8]){var n=+e[4]||0;return e[8].toUpperCase()!=="Z"&&(n-=+e[8].slice(0,3)),new Date(Date.UTC(+e[1],+(e[2]||1)-1,+e[3]||1,n,+(e[5]||0),+e[6]||0,e[7]?+e[7].substring(0,3):0))}else return new Date(+e[1],+(e[2]||1)-1,+e[3]||1,+e[4]||0,+(e[5]||0),+e[6]||0,e[7]?+e[7].substring(0,3):0)}else if(r==null)return new Date(NaN);return new Date(Math.round(r))}i(q,"parseDate");function G(r){return Math.pow(10,g(r))}i(G,"quantity");function g(r){if(r===0)return 0;var e=Math.floor(Math.log(r)/Math.LN10);return r/Math.pow(10,e)>=10&&e++,e}i(g,"quantityExponent");function U(r,e){var n=g(r),o=Math.pow(10,n),u=r/o,a;return u<1.5?a=1:u<2.5?a=2:u<4?a=3:u<7?a=5:a=10,r=a*o,n>=-20?+r.toFixed(n<0?-n:0):r}i(U,"nice");function Z(r){r.sort(function(f,s){return M(f,s,0)?-1:1});for(var e=-1/0,n=1,o=0;o<r.length;){for(var u=r[o].interval,a=r[o].close,t=0;t<2;t++)u[t]<=e&&(u[t]=e,a[t]=t?1:1-n),e=u[t],n=a[t];u[0]===u[1]&&a[0]*a[1]!==1?r.splice(o,1):o++}return r;function M(f,s,d){return f.interval[d]<s.interval[d]||f.interval[d]===s.interval[d]&&(f.close[d]-s.close[d]===(d?-1:1)||!d&&M(f,s,1))}}i(Z,"reformIntervals");function x(r){var e=parseFloat(r);return e==r&&(e!==0||!N.isString(r)||r.indexOf("x")<=0)?e:NaN}i(x,"numericToNumber");function _(r){return!isNaN(x(r))}i(_,"isNumeric");function k(){return Math.round(Math.random()*9)}i(k,"getRandomIdBase");function p(r,e){return e===0?r:p(e,r%e)}i(p,"getGreatestCommonDividor");function Q(r,e){return r==null?e:e==null?r:r*e/p(r,e)}i(Q,"getLeastCommonMultiple");exports.addSafe=O;exports.asc=C;exports.getGreatestCommonDividor=p;exports.getLeastCommonMultiple=Q;exports.getPercentSeats=L;exports.getPixelPrecision=F;exports.getPrecision=m;exports.getPrecisionSafe=I;exports.getRandomIdBase=k;exports.isNumeric=_;exports.isRadianAroundZero=b;exports.linearMap=T;exports.nice=U;exports.numericToNumber=x;exports.parseDate=q;exports.parsePercent=y;exports.quantity=G;exports.quantityExponent=g;exports.reformIntervals=Z;exports.remRadian=E;exports.round=D;
|