@visactor/vchart 2.0.3-alpha.1 → 2.0.3
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/es5/index.js +1 -1
- package/build/index.es.js +462 -500
- package/build/index.js +461 -500
- package/build/index.min.js +2 -2
- package/build/tsconfig.tsbuildinfo +1 -1
- package/cjs/chart/index.d.ts +2 -2
- package/cjs/chart/index.js +2 -7
- package/cjs/chart/index.js.map +1 -1
- package/cjs/core/index.d.ts +1 -1
- package/cjs/core/index.js +1 -1
- package/cjs/core/index.js.map +1 -1
- package/cjs/mark/base/base-mark.js +2 -1
- package/cjs/mark/base/base-mark.js.map +1 -1
- package/cjs/series/sankey/sankey.d.ts +10 -10
- package/cjs/series/sankey/sankey.js +194 -199
- package/cjs/series/sankey/sankey.js.map +1 -1
- package/esm/chart/index.d.ts +2 -2
- package/esm/chart/index.js +2 -2
- package/esm/chart/index.js.map +1 -1
- package/esm/core/index.d.ts +1 -1
- package/esm/core/index.js +1 -1
- package/esm/core/index.js.map +1 -1
- package/esm/mark/base/base-mark.js +2 -1
- package/esm/mark/base/base-mark.js.map +1 -1
- package/esm/series/sankey/sankey.d.ts +10 -10
- package/esm/series/sankey/sankey.js +187 -192
- package/esm/series/sankey/sankey.js.map +1 -1
- package/package.json +11 -11
package/cjs/chart/index.d.ts
CHANGED
|
@@ -35,7 +35,7 @@ import { RangeColumnChart, registerRangeColumnChart } from './range-column';
|
|
|
35
35
|
import type { IRoseChartSpec } from './rose';
|
|
36
36
|
import { RoseChart, registerRoseChart } from './rose';
|
|
37
37
|
import type { ISankeyChartSpec } from './sankey';
|
|
38
|
-
import { SankeyChart, registerSankeyChart
|
|
38
|
+
import { SankeyChart, registerSankeyChart } from './sankey';
|
|
39
39
|
import type { IScatterChartSpec } from './scatter';
|
|
40
40
|
import { ScatterChart, registerScatterChart } from './scatter';
|
|
41
41
|
import type { ISequenceChartSpec } from './sequence';
|
|
@@ -63,6 +63,6 @@ import type { IChart } from './interface/chart';
|
|
|
63
63
|
import { BaseWordCloudChart } from './word-cloud/base/base';
|
|
64
64
|
import { BaseWordCloudChartSpecTransformer } from './word-cloud/base/word-cloud-base-transformer';
|
|
65
65
|
import { BaseHistogramChart } from './histogram/base/base';
|
|
66
|
-
export { AreaChart, BarChart, BarChartSpecTransformer, BoxPlotChart, CirclePackingChart, CommonChart, FunnelChartSpecTransformer, FunnelChart, GaugeChart, HeatmapChart, HistogramChartSpecTransformer, BaseHistogramChart, HistogramChart, LineChart, MapChart, BasePieChartSpecTransformer, BasePieChart, PieChart, CircularProgressChart, LinearProgressChart, RadarChart, RangeColumnChart, RangeAreaChart, RoseChart, SankeyChart,
|
|
66
|
+
export { AreaChart, BarChart, BarChartSpecTransformer, BoxPlotChart, CirclePackingChart, CommonChart, FunnelChartSpecTransformer, FunnelChart, GaugeChart, HeatmapChart, HistogramChartSpecTransformer, BaseHistogramChart, HistogramChart, LineChart, MapChart, BasePieChartSpecTransformer, BasePieChart, PieChart, CircularProgressChart, LinearProgressChart, RadarChart, RangeColumnChart, RangeAreaChart, RoseChart, SankeyChart, ScatterChart, SunburstChart, SequenceChart, WaterfallChart, CorrelationChart, LiquidChart, BaseWordCloudChartSpecTransformer, BaseWordCloudChart, WordCloudChart, TreemapChart, VennChart, BaseChart, MosaicChart };
|
|
67
67
|
export { registerLineChart, registerAreaChart, registerBarChart, registerBoxplotChart, registerCirclePackingChart, registerCircularProgressChart, registerCommonChart, registerFunnelChart, registerGaugeChart, registerHeatmapChart, registerHistogramChart, registerLinearProgressChart, registerMapChart, registerPieChart, registerRadarChart, registerRangeAreaChart, registerRangeColumnChart, registerRoseChart, registerSankeyChart, registerScatterChart, registerSequenceChart, registerSunburstChart, registerTreemapChart, registerWaterfallChart, registerWordCloudChart, registerCorrelationChart, registerLiquidChart, registerWordCloudShapeChart, registerVennChart, registerMosaicChart };
|
|
68
68
|
export type { IChart, 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, IVennChartSpec, IMosaicChartSpec };
|
package/cjs/chart/index.js
CHANGED
|
@@ -2,8 +2,8 @@
|
|
|
2
2
|
|
|
3
3
|
Object.defineProperty(exports, "__esModule", {
|
|
4
4
|
value: !0
|
|
5
|
-
}), exports.registerHistogramChart = exports.registerHeatmapChart = exports.registerGaugeChart = exports.registerFunnelChart = exports.registerCommonChart = exports.registerCircularProgressChart = exports.registerCirclePackingChart = exports.registerBoxplotChart = exports.registerBarChart = exports.registerAreaChart = exports.registerLineChart = exports.MosaicChart = exports.BaseChart = exports.VennChart = exports.TreemapChart = exports.WordCloudChart = exports.BaseWordCloudChart = exports.BaseWordCloudChartSpecTransformer = exports.LiquidChart = exports.CorrelationChart = exports.WaterfallChart = exports.SequenceChart = exports.SunburstChart = exports.ScatterChart = exports.
|
|
6
|
-
exports.registerMosaicChart = exports.registerVennChart = exports.registerWordCloudShapeChart = exports.registerLiquidChart = exports.registerCorrelationChart = exports.registerWordCloudChart = exports.registerWaterfallChart = exports.registerTreemapChart = exports.registerSunburstChart = exports.registerSequenceChart = exports.registerScatterChart = exports.registerSankeyChart = exports.registerRoseChart = exports.registerRangeColumnChart = exports.registerRangeAreaChart = exports.registerRadarChart = exports.registerPieChart = exports.registerMapChart =
|
|
5
|
+
}), exports.registerLinearProgressChart = exports.registerHistogramChart = exports.registerHeatmapChart = exports.registerGaugeChart = exports.registerFunnelChart = exports.registerCommonChart = exports.registerCircularProgressChart = exports.registerCirclePackingChart = exports.registerBoxplotChart = exports.registerBarChart = exports.registerAreaChart = exports.registerLineChart = exports.MosaicChart = exports.BaseChart = exports.VennChart = exports.TreemapChart = exports.WordCloudChart = exports.BaseWordCloudChart = exports.BaseWordCloudChartSpecTransformer = exports.LiquidChart = exports.CorrelationChart = exports.WaterfallChart = exports.SequenceChart = exports.SunburstChart = exports.ScatterChart = exports.SankeyChart = exports.RoseChart = exports.RangeAreaChart = exports.RangeColumnChart = exports.RadarChart = exports.LinearProgressChart = exports.CircularProgressChart = exports.PieChart = exports.BasePieChart = exports.BasePieChartSpecTransformer = exports.MapChart = exports.LineChart = exports.HistogramChart = exports.BaseHistogramChart = exports.HistogramChartSpecTransformer = exports.HeatmapChart = exports.GaugeChart = exports.FunnelChart = exports.FunnelChartSpecTransformer = exports.CommonChart = exports.CirclePackingChart = exports.BoxPlotChart = exports.BarChartSpecTransformer = exports.BarChart = exports.AreaChart = void 0,
|
|
6
|
+
exports.registerMosaicChart = exports.registerVennChart = exports.registerWordCloudShapeChart = exports.registerLiquidChart = exports.registerCorrelationChart = exports.registerWordCloudChart = exports.registerWaterfallChart = exports.registerTreemapChart = exports.registerSunburstChart = exports.registerSequenceChart = exports.registerScatterChart = exports.registerSankeyChart = exports.registerRoseChart = exports.registerRangeColumnChart = exports.registerRangeAreaChart = exports.registerRadarChart = exports.registerPieChart = exports.registerMapChart = void 0;
|
|
7
7
|
|
|
8
8
|
const area_1 = require("./area");
|
|
9
9
|
|
|
@@ -294,11 +294,6 @@ Object.defineProperty(exports, "SankeyChart", {
|
|
|
294
294
|
get: function() {
|
|
295
295
|
return sankey_1.registerSankeyChart;
|
|
296
296
|
}
|
|
297
|
-
}), Object.defineProperty(exports, "SankeyChartSpecTransformer", {
|
|
298
|
-
enumerable: !0,
|
|
299
|
-
get: function() {
|
|
300
|
-
return sankey_1.SankeyChartSpecTransformer;
|
|
301
|
-
}
|
|
302
297
|
});
|
|
303
298
|
|
|
304
299
|
const scatter_1 = require("./sc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OA8CP;AAqCX,oGAnFoB,4BAAmB,OAmFpB;AAjFrB,6CAAmG;AA+CjG,+FA/CO,2BAAc,OA+CP;AAgCd,uGA/EuB,mCAAsB,OA+EvB;AAGtB,4GAlF+C,wCAA2B,OAkF/C;AAjF7B,kDAA8C;AAiD5C,0FAjDO,sBAAS,OAiDP;AA7CX,iCAAsD;AA4CpD,0FA5CO,gBAAS,OA4CP;AAkCT,kGA9EkB,wBAAiB,OA8ElB;AA5EnB,qCAA4D;AA4C1D,4FA5CO,oBAAW,OA4CP;AAiCX,oGA7EoB,4BAAmB,OA6EpB;AA3ErB,iDAA4D;AAqC1D,mGArCO,yBAAkB,OAqCP;AApCpB,+FAAkG;AAmChG,kHAnCO,+DAAiC,OAmCP;AAlCnC,gDAA2D;AAczD,mGAdO,yBAAkB,OAcP","file":"index.js","sourcesContent":["/* eslint-disable no-duplicate-imports */\n/**\n * @description export all chart modules\n */\nimport type { IAreaChartSpec } from './area';\nimport { AreaChart, registerAreaChart } from './area';\nimport type { IBarChartSpec } from './bar';\nimport { BarChart, registerBarChart, BarChartSpecTransformer } from './bar';\nimport type { IBoxPlotChartSpec } from './box-plot';\nimport { BoxPlotChart, registerBoxplotChart } from './box-plot';\nimport type { ICirclePackingChartSpec } from './circle-packing';\nimport { CirclePackingChart, registerCirclePackingChart } from './circle-packing';\nimport type { ICommonChartSpec } from './common';\nimport { CommonChart, registerCommonChart } from './common';\nimport type { IFunnelChartSpec } from './funnel';\nimport { FunnelChart, registerFunnelChart, FunnelChartSpecTransformer } from './funnel';\nimport type { IGaugeChartSpec } from './gauge';\nimport { GaugeChart, registerGaugeChart } from './gauge';\nimport type { IHeatmapChartSpec } from './heatmap';\nimport { HeatmapChart, registerHeatmapChart } from './heatmap';\nimport type { IHistogramChartSpec } from './histogram';\nimport { HistogramChartSpecTransformer, HistogramChart, registerHistogramChart } from './histogram';\nimport type { ILineChartSpec } from './line';\nimport { LineChart, registerLineChart } from './line';\nimport type { IMapChartSpec } from './map';\nimport { MapChart, registerMapChart } from './map';\nimport type { IPieChartSpec } from './pie';\nimport { BasePieChart, BasePieChartSpecTransformer, PieChart, registerPieChart } from './pie';\nimport type { ICircularProgressChartSpec } from './progress/circular';\nimport { CircularProgressChart, registerCircularProgressChart } from './progress/circular';\nimport type { ILinearProgressChartSpec } from './progress/linear';\nimport { LinearProgressChart, registerLinearProgressChart } from './progress/linear';\nimport type { IRadarChartSpec } from './radar';\nimport { RadarChart, registerRadarChart } from './radar';\nimport type { IRangeAreaChartSpec } from './range-area';\nimport { RangeAreaChart, registerRangeAreaChart } from './range-area';\nimport type { IRangeColumnChartSpec } from './range-column';\nimport { RangeColumnChart, registerRangeColumnChart } from './range-column';\nimport type { IRoseChartSpec } from './rose';\nimport { RoseChart, registerRoseChart } from './rose';\nimport type { ISankeyChartSpec } from './sankey';\nimport { SankeyChart, registerSankeyChart } from './sankey';\nimport type { IScatterChartSpec } from './scatter';\nimport { ScatterChart, registerScatterChart } from './scatter';\nimport type { ISequenceChartSpec } from './sequence';\nimport { SequenceChart, registerSequenceChart } from './sequence';\nimport type { ISunburstChartSpec } from './sunburst';\nimport { SunburstChart, registerSunburstChart } from './sunburst';\nimport type { ITreemapChartSpec } from './treemap';\nimport { TreemapChart, registerTreemapChart } from './treemap';\nimport type { IWaterfallChartSpec } from './waterfall';\nimport { WaterfallChart, registerWaterfallChart } from './waterfall';\nimport type { ICorrelationChartSpec } from './correlation';\nimport { CorrelationChart, registerCorrelationChart } from './correlation';\nimport type { ILiquidChartSpec } from './liquid';\nimport { LiquidChart, registerLiquidChart } from './liquid';\nimport type { IWordCloudChartSpec } from './word-cloud';\nimport { WordCloudChart, registerWordCloudChart, registerWordCloudShapeChart } from './word-cloud';\nimport { BaseChart } from './base/base-chart';\nimport type { ICartesianChartSpec } from './cartesian';\nimport type { IPolarChartSpec } from './polar';\nimport type { IVennChartSpec } from './venn';\nimport { VennChart, registerVennChart } from './venn';\nimport type { IMosaicChartSpec } from './mosaic';\nimport { MosaicChart, registerMosaicChart } from './mosaic';\nimport type { IChart } from './interface/chart';\nimport { BaseWordCloudChart } from './word-cloud/base/base';\nimport { BaseWordCloudChartSpecTransformer } from './word-cloud/base/word-cloud-base-transformer';\nimport { BaseHistogramChart } from './histogram/base/base';\n\nexport {\n AreaChart,\n BarChart,\n BarChartSpecTransformer,\n BoxPlotChart,\n CirclePackingChart,\n CommonChart,\n FunnelChartSpecTransformer,\n FunnelChart,\n GaugeChart,\n HeatmapChart,\n HistogramChartSpecTransformer,\n BaseHistogramChart,\n HistogramChart,\n LineChart,\n MapChart,\n BasePieChartSpecTransformer,\n BasePieChart,\n PieChart,\n CircularProgressChart,\n LinearProgressChart,\n RadarChart,\n RangeColumnChart,\n RangeAreaChart,\n RoseChart,\n SankeyChart,\n ScatterChart,\n SunburstChart,\n SequenceChart,\n WaterfallChart,\n CorrelationChart,\n LiquidChart,\n BaseWordCloudChartSpecTransformer,\n BaseWordCloudChart,\n WordCloudChart,\n TreemapChart,\n VennChart,\n BaseChart,\n MosaicChart\n};\n\nexport {\n registerLineChart,\n registerAreaChart,\n registerBarChart,\n registerBoxplotChart,\n registerCirclePackingChart,\n registerCircularProgressChart,\n registerCommonChart,\n registerFunnelChart,\n registerGaugeChart,\n registerHeatmapChart,\n registerHistogramChart,\n registerLinearProgressChart,\n registerMapChart,\n registerPieChart,\n registerRadarChart,\n registerRangeAreaChart,\n registerRangeColumnChart,\n registerRoseChart,\n registerSankeyChart,\n registerScatterChart,\n registerSequenceChart,\n registerSunburstChart,\n registerTreemapChart,\n registerWaterfallChart,\n registerWordCloudChart,\n registerCorrelationChart,\n registerLiquidChart,\n registerWordCloudShapeChart,\n registerVennChart,\n registerMosaicChart\n};\n\nexport type {\n IChart,\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 IVennChartSpec,\n IMosaicChartSpec\n};\n"]}
|
package/cjs/core/index.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { VChart } from './vchart';
|
|
2
2
|
import { Factory } from './factory';
|
|
3
3
|
export { VChart, Factory };
|
|
4
|
-
export declare const version = "2.0.3
|
|
4
|
+
export declare const version = "2.0.3";
|
|
5
5
|
export type { IVChart } from './interface';
|
|
6
6
|
export type { IStateSpec, StateValueType } from '../compile/mark';
|
|
7
7
|
export type { IRegion } from '../region/interface';
|
package/cjs/core/index.js
CHANGED
|
@@ -35,7 +35,7 @@ Object.defineProperty(exports, "Factory", {
|
|
|
35
35
|
get: function() {
|
|
36
36
|
return factory_1.Factory;
|
|
37
37
|
}
|
|
38
|
-
}), exports.version = "2.0.3
|
|
38
|
+
}), exports.version = "2.0.3", __exportStar(require("../event/interface"), exports),
|
|
39
39
|
__exportStar(require("../theme/interface"), exports), __exportStar(require("../model/interface"), exports),
|
|
40
40
|
__exportStar(require("./interface"), exports), __exportStar(require("../typings"), exports),
|
|
41
41
|
__exportStar(require("../constant/base"), exports), __exportStar(require("../constant/data"), exports),
|
package/cjs/core/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../src/core/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;AAIA,qCAAkC;AAGzB,uFAHA,eAAM,OAGA;AAFf,uCAAoC;AAEnB,wFAFR,iBAAO,OAEQ;AAGX,QAAA,OAAO,GAAG,
|
|
1
|
+
{"version":3,"sources":["../src/core/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;AAIA,qCAAkC;AAGzB,uFAHA,eAAM,OAGA;AAFf,uCAAoC;AAEnB,wFAFR,iBAAO,OAEQ;AAGX,QAAA,OAAO,GAAG,OAAO,CAAC;AAO/B,qDAAmC;AACnC,qDAAmC;AACnC,qDAAmC;AAEnC,8CAA4B;AAC5B,6CAA2B;AAI3B,mDAAiC;AACjC,mDAAiC;AACjC,qDAAmC;AACnC,mDAAuD;AAA9C,2GAAA,cAAc,OAAA;AACvB,iDAAoD;AAA3C,4GAAA,cAAc,OAAA;AACvB,uDAA6D;AAApD,6GAAA,gBAAgB,OAAA;AACzB,2CAA+C;AAAtC,mGAAA,UAAU,OAAA;AAKnB,wDAAsC;AACtC,oDAAkC;AAGlC,qDAAmC;AAGnC,iDAA+B;AAG/B,uDAUgC;AAT9B,uGAAA,OAAO,OAAA;AACP,2GAAA,WAAW,OAAA;AACX,8GAAA,cAAc,OAAA;AACd,0GAAA,UAAU,OAAA;AACV,yGAAA,SAAS,OAAA;AACT,0GAAA,UAAU,OAAA;AACV,0GAAA,UAAU,OAAA;AACV,0GAAA,UAAU,OAAA;AACV,4GAAA,YAAY,OAAA;AAEd,6DAAsE;AAA7D,+GAAA,YAAY,OAAA;AAAE,8GAAA,WAAW,OAAA;AAGlC,gDAA8B;AAC9B,uCAAmD;AAA1C,2GAAA,kBAAkB,OAAA;AAC3B,0CAAgD;AAAvC,mGAAA,WAAW,OAAA;AACpB,6CAAmG;AAA1F,yHAAA,6BAA6B,OAAA;AAAE,4HAAA,gCAAgC,OAAA;AACxE,oDAAmD;AAA1C,gGAAA,MAAM,OAAA;AACf,uCAAqC;AAA5B,6FAAA,IAAI,OAAA;AACb,qCAA2C;AAAlC,mGAAA,WAAW,OAAA","file":"index.js","sourcesContent":["/**\n * @description The core module of VChart, containing the necessary interfaces for using VChart.\n */\n\nimport { VChart } from './vchart';\nimport { Factory } from './factory';\n\nexport { VChart, Factory };\n\n// export the version\nexport const version = \"2.0.3\";\n\n// export necessary types\nexport type { IVChart } from './interface';\nexport type { IStateSpec, StateValueType } from '../compile/mark';\nexport type { IRegion } from '../region/interface';\n\nexport * from '../event/interface';\nexport * from '../theme/interface';\nexport * from '../model/interface';\n\nexport * from './interface';\nexport * from '../typings';\nexport type { IMarkGraphic, IGraphicContext } from '../mark/interface/';\n\n// some constants\nexport * from '../constant/base';\nexport * from '../constant/data';\nexport * from '../constant/layout';\nexport { AttributeLevel } from '../constant/attribute';\nexport { TransformLevel } from '../data/initialize';\nexport { STATE_VALUE_ENUM } from '../compile/mark/interface';\nexport { ChartEvent } from '../constant/event';\n\n/**\n * spec\n */\nexport * from '../typings/spec/index';\nexport * from '../typings/visual';\n\n// tooltip\nexport * from '../typings/tooltip';\n\n// theme\nexport * from '../theme/index';\n\n// vrender\nexport {\n vglobal,\n createGroup,\n createRichText,\n createText,\n createArc,\n createArea,\n createRect,\n createLine,\n createSymbol\n} from '@visactor/vrender-core';\nexport { ManualTicker, StreamLight } from '@visactor/vrender-animate';\n\n// utils\nexport * from '../util/space';\nexport { transformToGraphic } from '../util/style';\nexport { getSpecInfo } from '../component/util';\nexport { registerDataSetInstanceParser, registerDataSetInstanceTransform } from '../data/register';\nexport { lookup } from '../data/transforms/lookup';\nexport { warn } from '../util/debug';\nexport { measureText } from '../util/text';\n"]}
|
|
@@ -548,8 +548,9 @@ class BaseMark extends grammar_item_1.GrammarItem {
|
|
|
548
548
|
item.animation.customParameters = g.context;
|
|
549
549
|
}));
|
|
550
550
|
const stateArray = [ state ];
|
|
551
|
-
|
|
551
|
+
g.applyAnimationState(stateArray, [ 1 === configList.length ? configList[0] : configList ]);
|
|
552
552
|
}
|
|
553
|
+
"enter" === state && animationConfig.normal && (shouldRunNormal = !0);
|
|
553
554
|
})), shouldRunNormal && this._product && (null === (_b = animationConfig.normal) || void 0 === _b ? void 0 : _b.length)) {
|
|
554
555
|
this._product.stopAnimationState("normal", "start");
|
|
555
556
|
const normalConfig = {
|