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

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.
@@ -47182,7 +47182,17 @@
47182
47182
  const styles = [];
47183
47183
  return customStyleIds.forEach(customStyleId => {
47184
47184
  const styleOption = this.getCustomCellStyleOption(customStyleId);
47185
- (null == styleOption ? void 0 : styleOption.style) && styles.push(styleOption.style);
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
47196
  }), merge$1({}, ...styles);
47187
47197
  }
47188
47198
  }
@@ -47418,7 +47428,7 @@
47418
47428
  constructor(container) {
47419
47429
  let options = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {};
47420
47430
  var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p;
47421
- if (super(), this.showFrozenIcon = !0, this.version = "1.17.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");
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
47432
  !1 === (null === (_a = options.customConfig) || void 0 === _a ? void 0 : _a.imageAnonymous) && (vglobal.isImageAnonymous = !1);
47423
47433
  const {
47424
47434
  frozenColCount = 0,