@visactor/vtable-calendar 1.17.1-alpha.0 → 1.17.1-alpha.2

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.
@@ -41410,7 +41410,8 @@
41410
41410
  updateReactContainer(this.table);
41411
41411
  }
41412
41412
  setLoadingHierarchyState(col, row) {
41413
- const iconGraphic = this.getCell(col, row).getChildByName("collapse", !0);
41413
+ const cellGroup = this.getCell(col, row),
41414
+ iconGraphic = cellGroup.getChildByName("collapse", !0) || cellGroup.getChildByName("expand", !0);
41414
41415
  if (iconGraphic) {
41415
41416
  const loadingIcon = get$2()[InternalIconName.loadingIconName];
41416
41417
  loadingIcon && dealWithIcon(loadingIcon, iconGraphic, col, row);
@@ -47182,17 +47183,7 @@
47182
47183
  const styles = [];
47183
47184
  return customStyleIds.forEach(customStyleId => {
47184
47185
  const styleOption = this.getCustomCellStyleOption(customStyleId);
47185
- if (isFunction$5(null == styleOption ? void 0 : styleOption.style)) {
47186
- const style = styleOption.style({
47187
- col: col,
47188
- row: row,
47189
- table: this.table,
47190
- value: this.table.getCellValue(col, row),
47191
- dataValue: this.table.getCellOriginValue(col, row),
47192
- cellHeaderPaths: this.table.getCellHeaderPaths(col, row)
47193
- });
47194
- styles.push(style);
47195
- } else (null == styleOption ? void 0 : styleOption.style) && styles.push(styleOption.style);
47186
+ (null == styleOption ? void 0 : styleOption.style) && styles.push(styleOption.style);
47196
47187
  }), merge$1({}, ...styles);
47197
47188
  }
47198
47189
  }
@@ -47428,7 +47419,7 @@
47428
47419
  constructor(container) {
47429
47420
  let options = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {};
47430
47421
  var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p;
47431
- if (super(), this.showFrozenIcon = !0, this.version = "1.17.1-alpha.0", this.id = `VTable${Date.now()}`, this.isReleased = !1, this._chartEventMap = {}, this.throttleInvalidate = throttle2(this.render.bind(this), 200), !container && "node" !== options.mode && !options.canvas) throw new Error("vtable's container is undefined");
47422
+ if (super(), this.showFrozenIcon = !0, this.version = "1.17.1-alpha.2", this.id = `VTable${Date.now()}`, this.isReleased = !1, this._chartEventMap = {}, this.throttleInvalidate = throttle2(this.render.bind(this), 200), !container && "node" !== options.mode && !options.canvas) throw new Error("vtable's container is undefined");
47432
47423
  !1 === (null === (_a = options.customConfig) || void 0 === _a ? void 0 : _a.imageAnonymous) && (vglobal.isImageAnonymous = !1);
47433
47424
  const {
47434
47425
  frozenColCount = 0,