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

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
@@ -36207,10 +36207,10 @@
36207
36207
 
36208
36208
  function getLayoutFromWidget(w, character) {
36209
36209
  var _a, _b, _c;
36210
- var x = "x" in w ? w.x : w.left,
36211
- y = "y" in w ? w.y : w.top;
36212
- var width = w.width,
36213
- height = w.height;
36210
+ var x = "x" in w ? w.x : "left" in w ? w.left : "x1" in w ? w.x1 : 0,
36211
+ y = "y" in w ? w.y : "top" in w ? w.top : "y1" in w ? w.y1 : 0;
36212
+ var width = "width" in w ? w.width : "x2" in w ? w.x2 - w.x1 : 0,
36213
+ height = "height" in w ? w.height : "y2" in w ? w.y2 - w.y1 : 0;
36214
36214
  var stage = character.canvas.getStage();
36215
36215
  return Number.isFinite(width) || (width = stage.width - x - (null !== (_a = w.right) && void 0 !== _a ? _a : 0)), Number.isFinite(height) || (height = stage.height - y - (null !== (_b = w.bottom) && void 0 !== _b ? _b : 0)), {
36216
36216
  x: x,
@@ -36538,6 +36538,11 @@
36538
36538
  return _this3._characters[k].toDSL();
36539
36539
  });
36540
36540
  }
36541
+ }, {
36542
+ key: "release",
36543
+ value: function release() {
36544
+ this.releaseCurrentCharacters(), this._characters = {}, this._story = null;
36545
+ }
36541
36546
  }]);
36542
36547
  }();
36543
36548
 
@@ -36663,7 +36668,7 @@
36663
36668
  }, {
36664
36669
  key: "release",
36665
36670
  value: function release() {
36666
- this._player.release(), this._canvas.release();
36671
+ this._characterTree.release(), this._player.release(), this._canvas.release();
36667
36672
  }
36668
36673
  }]);
36669
36674
  }();
@@ -185693,6 +185698,12 @@
185693
185698
  _constructor && fn(_constructor, currentProto), currentProto = Object.getPrototypeOf(currentProto);
185694
185699
  }
185695
185700
  }
185701
+ function getAllStaticAttrs(instance, key) {
185702
+ var allAttrs = {};
185703
+ return foreachAllConstructor(instance, function (constructor, _currentProto) {
185704
+ constructor && constructor[key] && Object.assign(allAttrs, constructor[key]);
185705
+ }), allAttrs;
185706
+ }
185696
185707
 
185697
185708
  var FormatType;
185698
185709
  !function (FormatType) {
@@ -188035,7 +188046,7 @@
188035
188046
  }, {
188036
188047
  key: "getDefaultAttribute",
188037
188048
  value: function getDefaultAttribute() {
188038
- var _a;
188049
+ var _a, _b;
188039
188050
  return {
188040
188051
  spec: this._config.options.spec,
188041
188052
  dpr: this._canvas.getDpr(),
@@ -188046,11 +188057,11 @@
188046
188057
  panel: {},
188047
188058
  ticker: this._ticker,
188048
188059
  zIndex: null !== (_a = this._config.zIndex) && void 0 !== _a ? _a : 0,
188049
- chartOption: {
188060
+ chartOption: mergeChartOption({
188050
188061
  disableTriggerEvent: !0,
188051
188062
  disableDirtyBounds: !0,
188052
188063
  mode: "desktop-browser"
188053
- }
188064
+ }, null !== (_b = this._config.options.chartOption) && void 0 !== _b ? _b : {})
188054
188065
  };
188055
188066
  }
188056
188067
  }, {
@@ -188455,7 +188466,6 @@
188455
188466
  });
188456
188467
  var SeriesSpecRuntimeInstance = new SeriesSpecRuntime();
188457
188468
 
188458
- var VCHART_DATA_INDEX = "__VCHART_DEFAULT_DATA_INDEX";
188459
188469
  var EDITOR_SERIES_MARK_STYLE_LEVEL = 90;
188460
188470
  var EDITOR_SERIES_MARK_SINGLE_LEVEL = 100;
188461
188471
  var CommonMarkAttribute = ["visible", "stroke", "strokeOpacity", "lineWidth", "lineDash", "curveType", "zIndex"];
@@ -188533,6 +188543,8 @@
188533
188543
  var FieldLink = "_filedLink_";
188534
188544
  var ValueLink = "_valueLink_";
188535
188545
 
188546
+ var StroyAllDataGroup = "*";
188547
+
188536
188548
  function GetVChartSeriesWithMatch(vchart, seriesMatch) {
188537
188549
  return !isValid$3(seriesMatch.specIndex) && seriesMatch.type ? vchart.getAllSeries().filter(function (s) {
188538
188550
  return s.type === seriesMatch.type;
@@ -188556,8 +188568,13 @@
188556
188568
  var scaleMap = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : {};
188557
188569
  var datum = arguments.length > 3 ? arguments[3] : undefined;
188558
188570
  return isArray$3(datum) && (datum = datum[0]), keys.every(function (key) {
188571
+ if (!keyValueMap[key]) return !0;
188572
+ var _keyValueMap$key = keyValueMap[key],
188573
+ value = _keyValueMap$key.value,
188574
+ scaleIndex = _keyValueMap$key.scaleIndex;
188575
+ if (isValid$3(value) && datum[key] === value) return !0;
188559
188576
  var scale = scaleMap[key];
188560
- return scale ? isContinuous(scale.type) ? keyValueMap[VCHART_DATA_INDEX] === datum[VCHART_DATA_INDEX] : keyValueMap[key] === scale._index.get("".concat(datum[key])) : keyValueMap[key] === datum[key];
188577
+ return !scale || isContinuous(scale.type) ? datum[key] === value : scale._index.get("".concat(datum[key])) === scaleIndex;
188561
188578
  });
188562
188579
  }
188563
188580
  function isSingleMarkMatch(config, series) {
@@ -188577,8 +188594,30 @@
188577
188594
  return pre + "".concat(FieldLink).concat(cur).concat(ValueLink).concat(itemKeyMap[cur]);
188578
188595
  }, markName);
188579
188596
  }
188580
-
188581
- var StroyAllDataGroup = "_STORY_ALL_DATA_GROUP";
188597
+ function getGroupWithDatum(dataGroupStyle, datum, seriesField, scaleMap) {
188598
+ var includeAllDataGroup = arguments.length > 4 && arguments[4] !== undefined ? arguments[4] : !0;
188599
+ var groupStyleKey = Object.keys(dataGroupStyle).find(function (key) {
188600
+ var groupStyle = dataGroupStyle[key];
188601
+ if (!groupStyle.seriesFieldMatch) return datum[seriesField] === key;
188602
+ var _groupStyle$seriesFie = groupStyle.seriesFieldMatch,
188603
+ value = _groupStyle$seriesFie.value,
188604
+ scaleIndex = _groupStyle$seriesFie.scaleIndex;
188605
+ if (isValid$3(value) && value === datum[seriesField]) return !0;
188606
+ var scale = scaleMap[seriesField];
188607
+ return !(!scale || scale._index.get("".concat(datum[seriesField])) !== scaleIndex);
188608
+ });
188609
+ return groupStyleKey ? dataGroupStyle[groupStyleKey] : includeAllDataGroup ? dataGroupStyle[StroyAllDataGroup] : null;
188610
+ }
188611
+ function getGroupStyleWithDatum(dataGroupStyle, datum, seriesField, scaleMap, markName, key) {
188612
+ var includeAllDataGroup = arguments.length > 6 && arguments[6] !== undefined ? arguments[6] : !0;
188613
+ var _a, _b;
188614
+ return null === (_b = null === (_a = getGroupConfigWithDatum(dataGroupStyle, datum, seriesField, scaleMap, markName, includeAllDataGroup)) || void 0 === _a ? void 0 : _a.style) || void 0 === _b ? void 0 : _b[key];
188615
+ }
188616
+ function getGroupConfigWithDatum(dataGroupStyle, datum, seriesField, scaleMap, markName) {
188617
+ var includeAllDataGroup = arguments.length > 5 && arguments[5] !== undefined ? arguments[5] : !0;
188618
+ var _a;
188619
+ return null === (_a = getGroupWithDatum(dataGroupStyle, datum, seriesField, scaleMap, includeAllDataGroup)) || void 0 === _a ? void 0 : _a[markName];
188620
+ }
188582
188621
 
188583
188622
  var MarkStyleRuntime = /*#__PURE__*/function () {
188584
188623
  function MarkStyleRuntime() {
@@ -188627,21 +188666,23 @@
188627
188666
  var _a;
188628
188667
  var seriesField = s.getSeriesField(),
188629
188668
  groupValueList = null === (_a = s.getRawDataStatisticsByField(seriesField)) || void 0 === _a ? void 0 : _a.values,
188630
- groupValue = null == groupValueList ? void 0 : groupValueList[0];
188669
+ groupValue = null == groupValueList ? void 0 : groupValueList[0],
188670
+ keyScaleMap = getSeriesKeyScalesMap(s);
188631
188671
  s.getMarks().forEach(function (m) {
188632
- var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q, _r, _s, _t, _u;
188633
- var visible = null !== (_c = null === (_b = null === (_a = dataGroupStyle[groupValue]) || void 0 === _a ? void 0 : _a[m.name]) || void 0 === _b ? void 0 : _b.visible) && void 0 !== _c ? _c : null === (_e = null === (_d = dataGroupStyle[StroyAllDataGroup]) || void 0 === _d ? void 0 : _d[m.name]) || void 0 === _e ? void 0 : _e.visible;
188672
+ var _a, _b, _c, _d, _e, _f, _g, _h, _j;
188673
+ var groupConfig = getGroupConfigWithDatum(dataGroupStyle, _defineProperty({}, seriesField, groupValue), seriesField, keyScaleMap, m.name),
188674
+ visible = null == groupConfig ? void 0 : groupConfig.visible;
188634
188675
  if (isValid$3(visible) && m.setVisible(visible), groupValueList && 1 === groupValueList.length) {
188635
- if (!(null === (_g = null === (_f = dataGroupStyle[groupValue]) || void 0 === _f ? void 0 : _f[m.name]) || void 0 === _g ? void 0 : _g.style) && !(null === (_j = null === (_h = dataGroupStyle[StroyAllDataGroup]) || void 0 === _h ? void 0 : _h[m.name]) || void 0 === _j ? void 0 : _j.style)) return;
188636
- var markStyle = merge$2({}, null !== (_m = null === (_l = null === (_k = dataGroupStyle[StroyAllDataGroup]) || void 0 === _k ? void 0 : _k[m.name]) || void 0 === _l ? void 0 : _l.style) && void 0 !== _m ? _m : {}, null !== (_q = null === (_p = null === (_o = dataGroupStyle[groupValue]) || void 0 === _o ? void 0 : _o[m.name]) || void 0 === _p ? void 0 : _p.style) && void 0 !== _q ? _q : {});
188676
+ if (!(null == groupConfig ? void 0 : groupConfig.style)) return;
188677
+ var markStyle = merge$2({}, null !== (_c = null === (_b = null === (_a = dataGroupStyle[StroyAllDataGroup]) || void 0 === _a ? void 0 : _a[m.name]) || void 0 === _b ? void 0 : _b.style) && void 0 !== _c ? _c : {}, null !== (_e = null === (_d = getGroupConfigWithDatum(dataGroupStyle, _defineProperty({}, seriesField, groupValue), seriesField, keyScaleMap, m.name, !1)) || void 0 === _d ? void 0 : _d.style) && void 0 !== _e ? _e : {});
188637
188678
  if (0 === Object.keys(markStyle).length) return;
188638
188679
  m.setStyle(Object.assign({}, markStyle), "normal", EDITOR_SERIES_MARK_STYLE_LEVEL);
188639
188680
  } else {
188640
- (null !== (_u = null !== (_t = null === (_s = null === (_r = SeriesMarkStyleMap[s.type]) || void 0 === _r ? void 0 : _r[m.name]) || void 0 === _s ? void 0 : _s.style) && void 0 !== _t ? _t : CommonMarkAttributeMap[m.type]) && void 0 !== _u ? _u : fillMarkAttribute).forEach(function (key) {
188681
+ (null !== (_j = null !== (_h = null === (_g = null === (_f = SeriesMarkStyleMap[s.type]) || void 0 === _f ? void 0 : _f[m.name]) || void 0 === _g ? void 0 : _g.style) && void 0 !== _h ? _h : CommonMarkAttributeMap[m.type]) && void 0 !== _j ? _j : fillMarkAttribute).forEach(function (key) {
188641
188682
  var _a;
188642
188683
  (null === (_a = m.stateStyle.normal) || void 0 === _a ? void 0 : _a[key]) || m.setAttribute(key, function () {}), m.setPostProcess(key, function (result, datum) {
188643
188684
  var _a;
188644
- var temp = null !== (_a = MarkStyleRuntime.getMarkStyle(m, dataGroupStyle, key, datum, seriesField)) && void 0 !== _a ? _a : result;
188685
+ var temp = null !== (_a = MarkStyleRuntime.getMarkStyle(m, dataGroupStyle, key, datum, seriesField, m.name, keyScaleMap)) && void 0 !== _a ? _a : result;
188645
188686
  return "area" !== s.type || "stroke" !== key || "area" !== m.name || isArray$3(temp) ? temp : [temp, !1, !1, !1];
188646
188687
  });
188647
188688
  });
@@ -188674,10 +188715,9 @@
188674
188715
  }
188675
188716
  }], [{
188676
188717
  key: "getMarkStyle",
188677
- value: function getMarkStyle(mark, dataGroupStyle, key, datum, seriesField, markName) {
188678
- var _a, _b, _c, _d, _e, _f, _g;
188718
+ value: function getMarkStyle(mark, dataGroupStyle, key, datum, seriesField, markName, keyScaleMap) {
188679
188719
  if (!dataGroupStyle) return null;
188680
- var value = null !== (_d = null === (_c = null === (_b = null === (_a = dataGroupStyle[datum[seriesField]]) || void 0 === _a ? void 0 : _a[null != markName ? markName : mark.name]) || void 0 === _b ? void 0 : _b.style) || void 0 === _c ? void 0 : _c[key]) && void 0 !== _d ? _d : null === (_g = null === (_f = null === (_e = dataGroupStyle[StroyAllDataGroup]) || void 0 === _e ? void 0 : _e[null != markName ? markName : mark.name]) || void 0 === _f ? void 0 : _f.style) || void 0 === _g ? void 0 : _g[key];
188720
+ var value = getGroupStyleWithDatum(dataGroupStyle, datum, seriesField, keyScaleMap, null != markName ? markName : mark.name, key);
188681
188721
  return value === UseDefaultSeriesStyle ? null : value;
188682
188722
  }
188683
188723
  }]);
@@ -188745,23 +188785,24 @@
188745
188785
  var _a;
188746
188786
  "fill" !== key && "stroke" !== key && ((null === (_a = labelMark.stateStyle.normal) || void 0 === _a ? void 0 : _a[key]) || labelMark.setAttribute(key, function () {}), singleLabelStyleKeys[key] && hasSingleStyle ? labelMark.setPostProcess(key, function (result, datum) {
188747
188787
  var _a, _b, _c, _d;
188748
- return null !== (_d = null !== (_c = null === (_b = null === (_a = findSingleConfig(config.options.labelStyle, series, keyScaleMap, datum)) || void 0 === _a ? void 0 : _a.style) || void 0 === _b ? void 0 : _b[key]) && void 0 !== _c ? _c : MarkStyleRuntime.getMarkStyle(labelMark, dataGroupStyle, key, datum, seriesField, "label")) && void 0 !== _d ? _d : result;
188788
+ return null !== (_d = null !== (_c = null === (_b = null === (_a = findSingleConfig(config.options.labelStyle, series, keyScaleMap, datum)) || void 0 === _a ? void 0 : _a.style) || void 0 === _b ? void 0 : _b[key]) && void 0 !== _c ? _c : MarkStyleRuntime.getMarkStyle(labelMark, dataGroupStyle, key, datum, seriesField, "label", keyScaleMap)) && void 0 !== _d ? _d : result;
188749
188789
  }) : labelMark.setPostProcess(key, function (result, datum) {
188750
188790
  var _a;
188751
- return null !== (_a = MarkStyleRuntime.getMarkStyle(labelMark, dataGroupStyle, key, datum, seriesField, "label")) && void 0 !== _a ? _a : result;
188791
+ return null !== (_a = MarkStyleRuntime.getMarkStyle(labelMark, dataGroupStyle, key, datum, seriesField, "label", keyScaleMap)) && void 0 !== _a ? _a : result;
188752
188792
  }));
188753
188793
  }), hasSingleStyle ? labelMark.setPostProcess("text", function (result, datum) {
188754
188794
  var _a, _b, _c;
188755
188795
  var formatConfig = null === (_a = findSingleConfig(config.options.labelStyle, series, keyScaleMap, datum)) || void 0 === _a ? void 0 : _a[formatConfigKey];
188756
- return isValid$3(formatConfig) ? null !== (_b = getLabelTextWithFormat$1(datum, seriesField, series, vchart, character, formatConfig, formatValue)) && void 0 !== _b ? _b : result : null !== (_c = getTextWithGroupFormat(datum, seriesField, series, vchart, character, dataGroupStyle, formatValue)) && void 0 !== _c ? _c : result;
188796
+ return isValid$3(formatConfig) ? null !== (_b = getLabelTextWithFormat$1(datum, seriesField, series, vchart, character, formatConfig, formatValue)) && void 0 !== _b ? _b : result : null !== (_c = getTextWithGroupFormat(datum, seriesField, series, vchart, character, dataGroupStyle, keyScaleMap, formatValue)) && void 0 !== _c ? _c : result;
188757
188797
  }) : labelMark.setPostProcess("text", function (result, datum) {
188758
188798
  var _a;
188759
- return null !== (_a = getTextWithGroupFormat(datum, seriesField, series, vchart, character, dataGroupStyle, formatValue)) && void 0 !== _a ? _a : result;
188799
+ return null !== (_a = getTextWithGroupFormat(datum, seriesField, series, vchart, character, dataGroupStyle, keyScaleMap, formatValue)) && void 0 !== _a ? _a : result;
188760
188800
  }), (null === (_e = labelMark.stateStyle.normal) || void 0 === _e ? void 0 : _e.visible) || labelMark.setAttribute("visible", function () {});
188761
188801
  var spec = config.options.spec;
188762
188802
  labelMark.setPostProcess("visible", function (result, datum) {
188763
- var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q;
188764
- return null !== (_q = null !== (_o = null !== (_j = null !== (_f = null !== (_c = null === (_b = null === (_a = findSingleConfig(config.options.labelStyle, series, keyScaleMap, datum)) || void 0 === _a ? void 0 : _a.style) || void 0 === _b ? void 0 : _b.visible) && void 0 !== _c ? _c : null === (_e = null === (_d = dataGroupStyle[datum[seriesField]]) || void 0 === _d ? void 0 : _d.label) || void 0 === _e ? void 0 : _e.visible) && void 0 !== _f ? _f : null === (_h = null === (_g = dataGroupStyle[StroyAllDataGroup]) || void 0 === _g ? void 0 : _g.label) || void 0 === _h ? void 0 : _h.visible) && void 0 !== _j ? _j : null === (_m = null === (_l = null === (_k = null == spec ? void 0 : spec.series) || void 0 === _k ? void 0 : _k[series.getSpecIndex()]) || void 0 === _l ? void 0 : _l.label) || void 0 === _m ? void 0 : _m.visible) && void 0 !== _o ? _o : null === (_p = null == spec ? void 0 : spec.label) || void 0 === _p ? void 0 : _p.visible) && void 0 !== _q ? _q : result;
188803
+ var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k;
188804
+ var groupConfig = getGroupConfigWithDatum(dataGroupStyle, datum, seriesField, keyScaleMap, "label", !1);
188805
+ return null !== (_k = null !== (_h = null !== (_d = null !== (_c = null === (_b = null === (_a = findSingleConfig(config.options.labelStyle, series, keyScaleMap, datum)) || void 0 === _a ? void 0 : _a.style) || void 0 === _b ? void 0 : _b.visible) && void 0 !== _c ? _c : null == groupConfig ? void 0 : groupConfig.visible) && void 0 !== _d ? _d : null === (_g = null === (_f = null === (_e = null == spec ? void 0 : spec.series) || void 0 === _e ? void 0 : _e[series.getSpecIndex()]) || void 0 === _f ? void 0 : _f.label) || void 0 === _g ? void 0 : _g.visible) && void 0 !== _h ? _h : null === (_j = null == spec ? void 0 : spec.label) || void 0 === _j ? void 0 : _j.visible) && void 0 !== _k ? _k : result;
188765
188806
  });
188766
188807
  });
188767
188808
  });
@@ -188785,9 +188826,10 @@
188785
188826
  if (findLabelGraphicWithInfo(componentMark.getProduct().graphicItem, info, labelGraphics), dataGroupStyle) {
188786
188827
  var seriesField = series.getSeriesField();
188787
188828
  (null === (_a = series.getRawDataStatisticsByField(seriesField)) || void 0 === _a ? void 0 : _a.values).forEach(function (groupValue) {
188788
- var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k;
188789
- if (!(null === (_b = null === (_a = dataGroupStyle[groupValue]) || void 0 === _a ? void 0 : _a.label) || void 0 === _b ? void 0 : _b.style) && !(null === (_d = null === (_c = dataGroupStyle[StroyAllDataGroup]) || void 0 === _c ? void 0 : _c.label) || void 0 === _d ? void 0 : _d.style)) return;
188790
- var style = merge$2({}, null !== (_g = null === (_f = null === (_e = dataGroupStyle[StroyAllDataGroup]) || void 0 === _e ? void 0 : _e.label) || void 0 === _f ? void 0 : _f.style) && void 0 !== _g ? _g : {}, null !== (_k = null === (_j = null === (_h = dataGroupStyle[groupValue]) || void 0 === _h ? void 0 : _h.label) || void 0 === _j ? void 0 : _j.style) && void 0 !== _k ? _k : {});
188829
+ var _a, _b, _c, _d, _e;
188830
+ var groupConfig = getGroupConfigWithDatum(dataGroupStyle, _defineProperty({}, seriesField, groupValue), seriesField, keyScaleMap, "label");
188831
+ if (!(null == groupConfig ? void 0 : groupConfig.style)) return;
188832
+ var style = merge$2({}, null !== (_c = null === (_b = null === (_a = dataGroupStyle[StroyAllDataGroup]) || void 0 === _a ? void 0 : _a.label) || void 0 === _b ? void 0 : _b.style) && void 0 !== _c ? _c : {}, null !== (_e = null === (_d = getGroupConfigWithDatum(dataGroupStyle, _defineProperty({}, seriesField, groupValue), seriesField, keyScaleMap, "label", !1)) || void 0 === _d ? void 0 : _d.style) && void 0 !== _e ? _e : {});
188791
188833
  if (!isValid$3(style.fill) && !isValid$3(style.stroke)) return;
188792
188834
  labelGraphics.filter(function (l) {
188793
188835
  return l.attribute.data[seriesField] === groupValue;
@@ -188824,10 +188866,10 @@
188824
188866
  });
188825
188867
  matchLabel && _collectAllLabelGraphic(matchLabel, list);
188826
188868
  }
188827
- function getTextWithGroupFormat(datum, seriesField, series, vchart, character, dataGroupStyle, formatValue) {
188828
- var _a, _b, _c, _d, _e;
188869
+ function getTextWithGroupFormat(datum, seriesField, series, vchart, character, dataGroupStyle, keyScaleMap, formatValue) {
188870
+ var _a;
188829
188871
  if (!dataGroupStyle) return null;
188830
- var formatConfig = null !== (_c = null === (_b = null === (_a = dataGroupStyle[datum[seriesField]]) || void 0 === _a ? void 0 : _a.label) || void 0 === _b ? void 0 : _b.formatConfig) && void 0 !== _c ? _c : null === (_e = null === (_d = dataGroupStyle[StroyAllDataGroup]) || void 0 === _d ? void 0 : _d.label) || void 0 === _e ? void 0 : _e.formatConfig;
188872
+ var formatConfig = null === (_a = getGroupConfigWithDatum(dataGroupStyle, datum, seriesField, keyScaleMap, "label", !1)) || void 0 === _a ? void 0 : _a.formatConfig;
188831
188873
  return formatConfig ? getLabelTextWithFormat$1(datum, seriesField, series, vchart, character, formatConfig, formatValue) : null;
188832
188874
  }
188833
188875
  function getLabelTextWithFormat$1(datum, seriesField, series, vchart, character, formatConfig, formatValue) {
@@ -196661,6 +196703,7 @@
196661
196703
  exports.VTableBaseActionProcessor = VTableBaseActionProcessor;
196662
196704
  exports.VTableVisibilityActionProcessor = VTableVisibilityActionProcessor;
196663
196705
  exports.VUtils = index$3;
196706
+ exports.allParamsEqualTo = allParamsEqualTo;
196664
196707
  exports.axisMarkPick = axisMarkPick;
196665
196708
  exports.barBounce1Str = barBounce1Str;
196666
196709
  exports.barBounce2Str = barBounce2Str;
@@ -196671,32 +196714,47 @@
196671
196714
  exports.createStory = createStory;
196672
196715
  exports.createUnitTemplate = createUnitTemplate;
196673
196716
  exports.decompressData = decompressData;
196717
+ exports.deepMergeWithDeletedAttr = deepMergeWithDeletedAttr;
196674
196718
  exports.discreteLegendMarkPick = discreteLegendMarkPick;
196675
196719
  exports.discretePlayerMarkPick = discretePlayerMarkPick;
196676
196720
  exports.findSingleConfig = findSingleConfig;
196721
+ exports.foreachAllConstructor = foreachAllConstructor;
196677
196722
  exports.formatDate = formatDate;
196678
196723
  exports.formatNumber = formatNumber;
196679
196724
  exports.formatValue = formatValue;
196680
196725
  exports.generatorPathEasingFunc = generatorPathEasingFunc;
196726
+ exports.getAllStaticAttrs = getAllStaticAttrs;
196681
196727
  exports.getCharacterByEffect = getCharacterByEffect;
196682
196728
  exports.getCharacterGraphic = getCharacterGraphic;
196683
196729
  exports.getCharacterParentGraphic = getCharacterParentGraphic;
196684
196730
  exports.getChartModelWithEvent = getChartModelWithEvent;
196731
+ exports.getDiffedParams = getDiffedParams;
196685
196732
  exports.getGraphicModelMark = getGraphicModelMark;
196733
+ exports.getGroupConfigWithDatum = getGroupConfigWithDatum;
196734
+ exports.getGroupStyleWithDatum = getGroupStyleWithDatum;
196735
+ exports.getGroupWithDatum = getGroupWithDatum;
196686
196736
  exports.getLabelContent = getLabelContent;
196687
196737
  exports.getLabelContentWithUnion = getLabelContentWithUnion;
196738
+ exports.getLayoutFromWidget = getLayoutFromWidget;
196739
+ exports.getLayoutLine = getLayoutLine;
196688
196740
  exports.getMarkStyleId = getMarkStyleId;
196689
196741
  exports.getSeriesKeyScalesMap = getSeriesKeyScalesMap;
196742
+ exports.getTableTypeFromSpec = getTableTypeFromSpec;
196690
196743
  exports.getTextWithFormat = getTextWithFormat;
196744
+ exports.getThemeAttribute = getThemeAttribute;
196691
196745
  exports.globalProcessorRegistry = globalProcessorRegistry;
196692
196746
  exports.globalTickerStore = globalTickerStore;
196693
196747
  exports.initVR = initVR;
196748
+ exports.isBoundsLikeEqual = isBoundsLikeEqual;
196749
+ exports.isIDSelector = isIDSelector;
196694
196750
  exports.isSeriesMatch = isSeriesMatch;
196695
196751
  exports.isSingleMarkMatch = isSingleMarkMatch;
196752
+ exports.isSpecIndexSelector = isSpecIndexSelector;
196696
196753
  exports.labelMarkPick = labelMarkPick;
196697
196754
  exports.loadExampleData = loadExampleData;
196698
196755
  exports.markerMarkPick = markerMarkPick;
196699
196756
  exports.matchDatumWithScaleMap = matchDatumWithScaleMap;
196757
+ exports.mergeChartOption = mergeChartOption;
196700
196758
  exports.moveTo = moveTo;
196701
196759
  exports.normalizeFormatResult = normalizeFormatResult;
196702
196760
  exports.pieLeap1Str = pieLeap1Str;
@@ -196741,5 +196799,6 @@
196741
196799
  exports.sizeLegendMarkPick = sizeLegendMarkPick;
196742
196800
  exports.textFormatWithFix = textFormatWithFix;
196743
196801
  exports.titleBarMarkPick = titleBarMarkPick;
196802
+ exports.validNumber = validNumber;
196744
196803
 
196745
196804
  }));