@visactor/vstory 0.0.23-alpha.5 → 0.0.23-alpha.7

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/dist/index.js CHANGED
@@ -117603,7 +117603,10 @@
117603
117603
  }, {
117604
117604
  key: "setAttribute",
117605
117605
  value: function setAttribute(key, value) {
117606
- "viewBox" === key && (_superPropGet(VChartGraphic, "setAttribute", this, 3)(["x", value.x1]), _superPropGet(VChartGraphic, "setAttribute", this, 3)(["y", value.y1]), this.updateVChartGraphicViewBox(value)), "spec" === key ? this._vchart.updateSpecSync(value, !1, {}, {
117606
+ "viewBox" === key && (_superPropGet(VChartGraphic, "setAttribute", this, 3)(["x", value.x1]), _superPropGet(VChartGraphic, "setAttribute", this, 3)(["y", value.y1]), this.updateVChartGraphicViewBox(value)), "spec" === key ? this._vchart.updateSpecSync(value, !1, {
117607
+ reuse: !1,
117608
+ morph: !1
117609
+ }, {
117607
117610
  reMake: !0,
117608
117611
  change: !0
117609
117612
  }) : _superPropGet(VChartGraphic, "setAttribute", this, 3)([key, value]);
@@ -117612,7 +117615,10 @@
117612
117615
  key: "setAttributes",
117613
117616
  value: function setAttributes(attrs) {
117614
117617
  var lastedViewBox = this.attribute.viewBox;
117615
- _superPropGet(VChartGraphic, "setAttributes", this, 3)([attrs]), attrs.viewBox && (this.attribute.viewBox = lastedViewBox, this.updateVChartGraphicViewBox(attrs.viewBox)), attrs.spec && this._vchart.updateSpecSync(attrs.spec, !1, {}, {
117618
+ _superPropGet(VChartGraphic, "setAttributes", this, 3)([attrs]), attrs.viewBox && (this.attribute.viewBox = lastedViewBox, this.updateVChartGraphicViewBox(attrs.viewBox)), attrs.spec && this._vchart.updateSpecSync(attrs.spec, !1, {
117619
+ reuse: !1,
117620
+ morph: !1
117621
+ }, {
117616
117622
  reMake: !0,
117617
117623
  change: !0
117618
117624
  });
@@ -188524,6 +188530,8 @@
188524
188530
  label: CommonLabelStyleMap
188525
188531
  }
188526
188532
  };
188533
+ var FieldLink = "_filedLink_";
188534
+ var ValueLink = "_valueLink_";
188527
188535
 
188528
188536
  function GetVChartSeriesWithMatch(vchart, seriesMatch) {
188529
188537
  return !isValid$3(seriesMatch.specIndex) && seriesMatch.type ? vchart.getAllSeries().filter(function (s) {
@@ -188564,6 +188572,11 @@
188564
188572
  return isSingleMarkMatch(v, series, scaleMap, datum);
188565
188573
  }) : null;
188566
188574
  }
188575
+ function getMarkStyleId(markName, itemKeys, itemKeyMap) {
188576
+ return itemKeys.reduce(function (pre, cur) {
188577
+ return pre + "".concat(FieldLink).concat(cur).concat(ValueLink).concat(itemKeyMap[cur]);
188578
+ }, markName);
188579
+ }
188567
188580
 
188568
188581
  var StroyAllDataGroup = "_STORY_ALL_DATA_GROUP";
188569
188582
 
@@ -196625,6 +196638,7 @@
196625
196638
  exports.DefaultTheme = DefaultTheme;
196626
196639
  exports.Easing = Easing$1;
196627
196640
  exports.Edit = Edit;
196641
+ exports.GetVChartSeriesWithMatch = GetVChartSeriesWithMatch;
196628
196642
  exports.GlobalTickerStore = GlobalTickerStore;
196629
196643
  exports.PieLeap = PieLeap;
196630
196644
  exports.Player = Player$1;
@@ -196638,6 +196652,7 @@
196638
196652
  exports.SymbolThrow = SymbolThrow;
196639
196653
  exports.ThemeManager = ThemeManager;
196640
196654
  exports.TypeWriter = TypeWriter;
196655
+ exports.UnitMap = UnitMap;
196641
196656
  exports.VChart = VChart;
196642
196657
  exports.VChartBaseActionProcessor = VChartBaseActionProcessor;
196643
196658
  exports.VChartGraphic = VChartGraphic;
@@ -196658,19 +196673,32 @@
196658
196673
  exports.decompressData = decompressData;
196659
196674
  exports.discreteLegendMarkPick = discreteLegendMarkPick;
196660
196675
  exports.discretePlayerMarkPick = discretePlayerMarkPick;
196676
+ exports.findSingleConfig = findSingleConfig;
196677
+ exports.formatDate = formatDate;
196678
+ exports.formatNumber = formatNumber;
196679
+ exports.formatValue = formatValue;
196661
196680
  exports.generatorPathEasingFunc = generatorPathEasingFunc;
196662
196681
  exports.getCharacterByEffect = getCharacterByEffect;
196663
196682
  exports.getCharacterGraphic = getCharacterGraphic;
196664
196683
  exports.getCharacterParentGraphic = getCharacterParentGraphic;
196665
196684
  exports.getChartModelWithEvent = getChartModelWithEvent;
196666
196685
  exports.getGraphicModelMark = getGraphicModelMark;
196686
+ exports.getLabelContent = getLabelContent;
196687
+ exports.getLabelContentWithUnion = getLabelContentWithUnion;
196688
+ exports.getMarkStyleId = getMarkStyleId;
196689
+ exports.getSeriesKeyScalesMap = getSeriesKeyScalesMap;
196690
+ exports.getTextWithFormat = getTextWithFormat;
196667
196691
  exports.globalProcessorRegistry = globalProcessorRegistry;
196668
196692
  exports.globalTickerStore = globalTickerStore;
196669
196693
  exports.initVR = initVR;
196694
+ exports.isSeriesMatch = isSeriesMatch;
196695
+ exports.isSingleMarkMatch = isSingleMarkMatch;
196670
196696
  exports.labelMarkPick = labelMarkPick;
196671
196697
  exports.loadExampleData = loadExampleData;
196672
196698
  exports.markerMarkPick = markerMarkPick;
196699
+ exports.matchDatumWithScaleMap = matchDatumWithScaleMap;
196673
196700
  exports.moveTo = moveTo;
196701
+ exports.normalizeFormatResult = normalizeFormatResult;
196674
196702
  exports.pieLeap1Str = pieLeap1Str;
196675
196703
  exports.pieLeap2Str = pieLeap2Str;
196676
196704
  exports.registerAll = registerAll;
@@ -196711,6 +196739,7 @@
196711
196739
  exports.scrollBarMarkPick = scrollBarMarkPick;
196712
196740
  exports.seriesMarkPick = seriesMarkPick;
196713
196741
  exports.sizeLegendMarkPick = sizeLegendMarkPick;
196742
+ exports.textFormatWithFix = textFormatWithFix;
196714
196743
  exports.titleBarMarkPick = titleBarMarkPick;
196715
196744
 
196716
196745
  }));