@visactor/vtable-calendar 1.19.1-alpha.1 → 1.19.1

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.
@@ -9290,9 +9290,9 @@
9290
9290
  setWidthHeightWithoutTransform(aabbBounds) {
9291
9291
  this.widthWithoutTransform = aabbBounds.x2 - aabbBounds.x1, this.heightWithoutTransform = aabbBounds.y2 - aabbBounds.y1;
9292
9292
  }
9293
- setAttributesAndPreventAnimate(params, forceUpdateTag = !1, context) {
9293
+ setAttributesAndPreventAnimate(params, forceUpdateTag = !1, context, ignorePriority) {
9294
9294
  this.setAttributes(params, forceUpdateTag, context), this.animates && this.animates.forEach(animate => {
9295
- Object.keys(params).forEach(key => {
9295
+ (animate.priority !== 1 / 0 || ignorePriority) && Object.keys(params).forEach(key => {
9296
9296
  animate.preventAttr(key);
9297
9297
  });
9298
9298
  });
@@ -9463,7 +9463,7 @@
9463
9463
  });
9464
9464
  } else this.stopStateAnimates(), this.setAttributesAndPreventAnimate(attrs, !1, {
9465
9465
  type: AttributeUpdateType.STATE
9466
- });
9466
+ }), this.finalAttribute && Object.assign(this.finalAttribute, attrs);
9467
9467
  this._emitCustomEvent("afterStateUpdate", {
9468
9468
  type: AttributeUpdateType.STATE
9469
9469
  });
@@ -23598,7 +23598,7 @@
23598
23598
  return this._animateCount;
23599
23599
  }
23600
23600
  constructor() {
23601
- super(), this.head = null, this.tail = null, this.animateMap = new Map(), this._animateCount = 0, this._playSpeed = 1, this._totalDuration = 0, this._startTime = 0, this._currentTime = 0, this.id = Generator.GenAutoIncrementId(), this.paused = !1;
23601
+ super(), this.head = null, this.tail = null, this.animateMap = new Map(), this._animateCount = 0, this._playSpeed = 1, this._totalDuration = 0, this._startTime = 0, this._currentTime = 0, this._animationEndFlag = !0, this.id = Generator.GenAutoIncrementId(), this.paused = !1;
23602
23602
  }
23603
23603
  isRunning() {
23604
23604
  return !this.paused && this._animateCount > 0;
@@ -23627,10 +23627,11 @@
23627
23627
  }
23628
23628
  tick(delta) {
23629
23629
  if (this.paused) return;
23630
+ this._animationEndFlag && (this._animationEndFlag = !1, this.emit("animationStart"));
23630
23631
  const scaledDelta = delta * this._playSpeed;
23631
23632
  this._currentTime += scaledDelta, this.forEachAccessAnimate((animate, i) => {
23632
23633
  animate.status === AnimateStatus.END ? this.removeAnimate(animate, !0) : animate.status !== AnimateStatus.RUNNING && animate.status !== AnimateStatus.INITIAL || animate.advance(scaledDelta);
23633
- }), 0 === this._animateCount && this.emit("animationEnd");
23634
+ }), 0 === this._animateCount && (this._animationEndFlag = !0, this.emit("animationEnd"));
23634
23635
  }
23635
23636
  clear() {
23636
23637
  this.forEachAccessAnimate(animate => {
@@ -23694,7 +23695,9 @@
23694
23695
  return this._timeline;
23695
23696
  }
23696
23697
  bind(target) {
23697
- return this.target = target, this.target.onAnimateBind && !this.slience && this.target.onAnimateBind(this), this.target.animationAttribute || (this.target.animationAttribute = {}), this;
23698
+ return this.target = target, this.target.animates || (this.target.animates = new Map()), this.target.animates.set(this.id, this), this.onRemove(() => {
23699
+ this.stop(), this.target.animates.delete(this.id);
23700
+ }), this.target.onAnimateBind && !this.slience && this.target.onAnimateBind(this), this.target.animationAttribute || (this.target.animationAttribute = {}), this;
23698
23701
  }
23699
23702
  to(props, duration = 300, easing = "linear") {
23700
23703
  const step = new Step(AnimateStepType.to, props, duration, easing);
@@ -23908,8 +23911,8 @@
23908
23911
  }
23909
23912
  init() {
23910
23913
  this.interval = 16, this.status = STATUS$1.INITIAL, application.global.hooks.onSetEnv.tap("graph-ticker", () => {
23911
- this.initHandler();
23912
- }), application.global.env && this.initHandler();
23914
+ this.initHandler(!1);
23915
+ }), application.global.env && this.initHandler(!1);
23913
23916
  }
23914
23917
  addTimeline(timeline) {
23915
23918
  this.timelines.push(timeline);
@@ -23920,10 +23923,11 @@
23920
23923
  getTimelines() {
23921
23924
  return this.timelines;
23922
23925
  }
23923
- initHandler() {
23924
- this.setupTickHandler();
23926
+ initHandler(force = !1) {
23927
+ this.setupTickHandler(force);
23925
23928
  }
23926
- setupTickHandler() {
23929
+ setupTickHandler(force = !1) {
23930
+ if (!force && this.tickerHandler) return !0;
23927
23931
  const handler = new RAFTickHandler();
23928
23932
  return this.tickerHandler && this.tickerHandler.release(), this.tickerHandler = handler, !0;
23929
23933
  }
@@ -23974,7 +23978,7 @@
23974
23978
  return this.status = STATUS$1.RUNNING, this.tickerHandler.tick(0, this.handleTick), !0;
23975
23979
  }
23976
23980
  stop() {
23977
- this.status = STATUS$1.INITIAL, this.setupTickHandler(), this.lastFrameTime = -1;
23981
+ this.status = STATUS$1.INITIAL, this.setupTickHandler(!0), this.lastFrameTime = -1;
23978
23982
  }
23979
23983
  trySyncTickStatus() {
23980
23984
  this.status === STATUS$1.INITIAL && this.timelines.some(timeline => timeline.isRunning()) ? this.start() : this.status === STATUS$1.RUNNING && this.timelines.every(timeline => !timeline.isRunning()) && this.stop();
@@ -23984,7 +23988,8 @@
23984
23988
  this.stop(), this.timelines = [], null === (_a = this.tickerHandler) || void 0 === _a || _a.release(), this.tickerHandler = null, this.lastFrameTime = -1;
23985
23989
  }
23986
23990
  checkSkip(delta) {
23987
- if ("performance" === this.stage.params.optimize.tickRenderMode) return !1;
23991
+ var _a, _b, _c;
23992
+ if ("performance" === (null === (_c = null === (_b = null === (_a = this.stage) || void 0 === _a ? void 0 : _a.params) || void 0 === _b ? void 0 : _b.optimize) || void 0 === _c ? void 0 : _c.tickRenderMode)) return !1;
23988
23993
  return delta < this.interval + 2 * (Math.random() - .5) * this._jitter;
23989
23994
  }
23990
23995
  }
@@ -24138,10 +24143,11 @@
24138
24143
  _handleRunAnimate(animate, custom, customType, from, props, duration, easing, customParameters, controlOptions, options, type, graphic) {
24139
24144
  var _a, _b, _c, _d;
24140
24145
  if (custom && customType) {
24141
- const customParams = this.resolveValue(customParameters, graphic, {
24146
+ const customParams = Object.assign({
24142
24147
  width: graphic.stage.width,
24143
- height: graphic.stage.height
24144
- }),
24148
+ height: graphic.stage.height,
24149
+ group: this._target.parent
24150
+ }, this.resolveValue(customParameters, graphic)),
24145
24151
  objOptions = isFunction$7(options) ? options.call(null, null !== (_b = customParams && (null === (_a = customParams.data) || void 0 === _a ? void 0 : _a[0])) && void 0 !== _b ? _b : null === (_d = null === (_c = graphic.context) || void 0 === _c ? void 0 : _c.data) || void 0 === _d ? void 0 : _d[0], graphic, customParams) : options;
24146
24152
  customParams.options = objOptions, customParams.controlOptions = controlOptions, 1 === customType ? this.createCustomAnimation(animate, custom, from, props, duration, easing, customParams) : 2 === customType && this.createCustomInterpolatorAnimation(animate, custom, props, duration, easing, customParams);
24147
24153
  } else "to" === type ? animate.to(props, duration, easing) : "from" === type && animate.from(props, duration, easing);
@@ -24252,7 +24258,7 @@
24252
24258
 
24253
24259
  class ACustomAnimate extends Step {
24254
24260
  constructor(customFrom, customTo, duration, easing, params) {
24255
- super("customAnimate", customTo, duration, easing), this.type = "customAnimate", this.customFrom = customFrom, this.params = params;
24261
+ super("customAnimate", customTo, duration, easing), this.type = "customAnimate", this.customFrom = customFrom, this.params = params, this.from = customFrom, this.to = customTo;
24256
24262
  }
24257
24263
  update(end, ratio, out) {
24258
24264
  if (this.onStart(), !this.props || !this.propKeys) return;
@@ -29797,6 +29803,16 @@
29797
29803
  return mode;
29798
29804
  }
29799
29805
  Env.dpr = 0;
29806
+ function clearPageSelection() {
29807
+ try {
29808
+ const selection = window.getSelection();
29809
+ if (selection) {
29810
+ if ("function" == typeof selection.removeAllRanges) return void selection.removeAllRanges();
29811
+ if ("function" == typeof selection.empty) return void selection.empty();
29812
+ if ("function" == typeof selection.collapse) return void selection.collapse(document.body, 0);
29813
+ }
29814
+ } catch (error) {}
29815
+ }
29800
29816
 
29801
29817
  function importStyle$2() {
29802
29818
  if ("node" === Env.mode) return;
@@ -34690,9 +34706,279 @@
34690
34706
  return !1;
34691
34707
  }
34692
34708
 
34709
+ let sort_color, sort_color_opacity, sort_color_2, sort_color_opacity_2, sort_size, sort_size_2, frozen_color, frozen_color_opacity, freeze_color_opacity, frozen_color_2, frozen_color_opacity_2, frozen_size, frozen_size_2, collapse_color, collapse_color_opacity, collapse_size, collapse_size_2, expand_color, expand_color_opacity, expand_size, expand_size_2, dragReorder_color, dragReorder_color_opacity, dragReorder_size;
34710
+ function setIconColor(themeIconsColor) {
34711
+ var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q, _r, _s, _t, _u, _v, _w, _x, _y, _z;
34712
+ sort_color = null !== (_a = null == themeIconsColor ? void 0 : themeIconsColor.sort_color) && void 0 !== _a ? _a : "#282F38", sort_color_opacity = null !== (_b = null == themeIconsColor ? void 0 : themeIconsColor.sort_color_opacity) && void 0 !== _b ? _b : "0.35", sort_color_2 = null !== (_c = null == themeIconsColor ? void 0 : themeIconsColor.sort_color_2) && void 0 !== _c ? _c : "#416EFF", sort_color_opacity_2 = null !== (_d = null == themeIconsColor ? void 0 : themeIconsColor.sort_color_opacity_2) && void 0 !== _d ? _d : "1", sort_size = null !== (_e = null == themeIconsColor ? void 0 : themeIconsColor.sort_size) && void 0 !== _e ? _e : 16, sort_size_2 = null !== (_f = null == themeIconsColor ? void 0 : themeIconsColor.sort_size_2) && void 0 !== _f ? _f : 22, frozen_color = null !== (_g = null == themeIconsColor ? void 0 : themeIconsColor.frozen_color) && void 0 !== _g ? _g : "#282F38", frozen_color_opacity = null !== (_h = null == themeIconsColor ? void 0 : themeIconsColor.frozen_color_opacity) && void 0 !== _h ? _h : "0.35", freeze_color_opacity = null !== (_j = null == themeIconsColor ? void 0 : themeIconsColor.frozen_color_opacity) && void 0 !== _j ? _j : "0.2", frozen_color_2 = null !== (_k = null == themeIconsColor ? void 0 : themeIconsColor.frozen_color_2) && void 0 !== _k ? _k : "#416EFF", frozen_color_opacity_2 = null !== (_l = null == themeIconsColor ? void 0 : themeIconsColor.frozen_color_opacity_2) && void 0 !== _l ? _l : "1", frozen_size = null !== (_m = null == themeIconsColor ? void 0 : themeIconsColor.frozen_size) && void 0 !== _m ? _m : 22, frozen_size_2 = null !== (_o = null == themeIconsColor ? void 0 : themeIconsColor.frozen_size_2) && void 0 !== _o ? _o : 22, collapse_color = null !== (_p = null == themeIconsColor ? void 0 : themeIconsColor.collapse_color) && void 0 !== _p ? _p : "#141414", collapse_color_opacity = null !== (_q = null == themeIconsColor ? void 0 : themeIconsColor.collapse_color_opacity) && void 0 !== _q ? _q : "0.65", collapse_size = null !== (_r = null == themeIconsColor ? void 0 : themeIconsColor.collapse_size) && void 0 !== _r ? _r : 16, collapse_size_2 = null !== (_s = null == themeIconsColor ? void 0 : themeIconsColor.frozen_size_2) && void 0 !== _s ? _s : 22, expand_color = null !== (_t = null == themeIconsColor ? void 0 : themeIconsColor.expand_color) && void 0 !== _t ? _t : "#141414", expand_color_opacity = null !== (_u = null == themeIconsColor ? void 0 : themeIconsColor.expand_color_opacity) && void 0 !== _u ? _u : "0.65", expand_size = null !== (_v = null == themeIconsColor ? void 0 : themeIconsColor.expand_size) && void 0 !== _v ? _v : 16, expand_size_2 = null !== (_w = null == themeIconsColor ? void 0 : themeIconsColor.expand_size_2) && void 0 !== _w ? _w : 22, dragReorder_color = null !== (_x = null == themeIconsColor ? void 0 : themeIconsColor.dragReorder_color) && void 0 !== _x ? _x : "#666666", dragReorder_color_opacity = null !== (_y = null == themeIconsColor ? void 0 : themeIconsColor.dragReorder_color_opacity) && void 0 !== _y ? _y : "1", dragReorder_size = null !== (_z = null == themeIconsColor ? void 0 : themeIconsColor.dragReorder_size) && void 0 !== _z ? _z : 20;
34713
+ }
34714
+ const builtins = {
34715
+ get sort_downward() {
34716
+ return {
34717
+ type: "svg",
34718
+ svg: `<svg width="16" height="16" viewBox="0 0 16 16" fill="none" xmlns="http://www.w3.org/2000/svg"> <path d="M4.6665 9H11.3332L7.99984 13.1667L4.6665 9Z" fill="${sort_color_2}" fill-opacity="${sort_color_opacity_2}"/><path d="M11.3335 7L4.66683 7L8.00016 2.83333L11.3335 7Z" fill="${sort_color}" fill-opacity="${sort_color_opacity}"/></svg> `,
34719
+ width: sort_size,
34720
+ height: sort_size,
34721
+ funcType: IconFuncTypeEnum.sort,
34722
+ name: "sort_downward",
34723
+ positionType: IconPosition.contentRight,
34724
+ marginLeft: 3,
34725
+ hover: {
34726
+ width: sort_size_2,
34727
+ height: sort_size_2,
34728
+ bgColor: "rgba(101, 117, 168, 0.1)"
34729
+ },
34730
+ cursor: "pointer"
34731
+ };
34732
+ },
34733
+ get sort_upward() {
34734
+ return {
34735
+ type: "svg",
34736
+ svg: `<svg width="16" height="16" viewBox="0 0 16 16" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M4.6665 9H11.3332L7.99984 13.1667L4.6665 9Z" fill="${sort_color}" fill-opacity="${sort_color_opacity}"/><path d="M11.3335 7L4.66683 7L8.00016 2.83333L11.3335 7Z" fill="${sort_color_2}" fill-opacity="${sort_color_opacity_2}"/> </svg>`,
34737
+ width: sort_size,
34738
+ height: sort_size,
34739
+ funcType: IconFuncTypeEnum.sort,
34740
+ positionType: IconPosition.contentRight,
34741
+ name: "sort_upward",
34742
+ marginLeft: 3,
34743
+ hover: {
34744
+ width: sort_size_2,
34745
+ height: sort_size_2,
34746
+ bgColor: "rgba(101, 117, 168, 0.1)"
34747
+ },
34748
+ cursor: "pointer"
34749
+ };
34750
+ },
34751
+ get sort_normal() {
34752
+ return {
34753
+ type: "svg",
34754
+ svg: `<svg width="16" height="16" viewBox="0 0 16 16" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M4.6665 9H11.3332L7.99984 13.1667L4.6665 9Z" fill="${sort_color}" fill-opacity="${sort_color_opacity}"/><path d="M11.3335 7L4.66683 7L8.00016 2.83333L11.3335 7Z" fill="${sort_color}" fill-opacity="${sort_color_opacity}"/></svg> `,
34755
+ width: sort_size,
34756
+ height: sort_size,
34757
+ funcType: IconFuncTypeEnum.sort,
34758
+ positionType: IconPosition.contentRight,
34759
+ name: "sort_normal",
34760
+ marginLeft: 3,
34761
+ hover: {
34762
+ width: sort_size_2,
34763
+ height: sort_size_2,
34764
+ bgColor: "rgba(101, 117, 168, 0.1)"
34765
+ },
34766
+ cursor: "pointer"
34767
+ };
34768
+ },
34769
+ get freeze() {
34770
+ return {
34771
+ type: "svg",
34772
+ svg: `<svg width="22" height="22" viewBox="0 0 22 22" fill="none" xmlns="http://www.w3.org/2000/svg"><g clip-path="url(#clip0)"><path d="M17.1313 8.42047C17.1932 8.48238 17.2423 8.55587 17.2759 8.63676C17.3094 8.71764 17.3266 8.80434 17.3266 8.89189C17.3266 8.97944 17.3094 9.06613 17.2759 9.14702C17.2423 9.2279 17.1932 9.3014 17.1313 9.3633L13.3843 13.1103C13.7007 14.3048 13.5305 15.4443 12.8388 16.2395C12.8104 16.2781 12.7778 16.3136 12.7417 16.3451L12.712 16.3755C12.6501 16.4374 12.5766 16.4865 12.4957 16.52C12.4148 16.5535 12.3281 16.5707 12.2406 16.5707C12.153 16.5707 12.0663 16.5535 11.9854 16.52C11.9046 16.4865 11.8311 16.4374 11.7692 16.3755L9.17633 13.7826L6.05316 16.9058L5.11983 17.0925C5.09291 17.0979 5.06508 17.0965 5.03881 17.0886C5.01254 17.0806 4.98863 17.0663 4.96923 17.0469C4.94982 17.0275 4.9355 17.0036 4.92755 16.9773C4.9196 16.951 4.91827 16.9232 4.92366 16.8963L5.11033 15.963L8.23333 12.8396L5.64066 10.2471C5.57875 10.1852 5.52964 10.1117 5.49614 10.0309C5.46263 9.94997 5.44539 9.86327 5.44539 9.77572C5.44539 9.68817 5.46263 9.60148 5.49614 9.52059C5.52964 9.43971 5.57875 9.36621 5.64066 9.3043C5.65066 9.2943 5.66066 9.2843 5.67099 9.27464C5.70266 9.2383 5.73833 9.20547 5.77766 9.17664C6.57283 8.48564 7.71199 8.31564 8.90599 8.63197L12.6528 4.88497C12.7147 4.82306 12.7882 4.77395 12.8691 4.74045C12.95 4.70694 13.0367 4.6897 13.1242 4.6897C13.2118 4.6897 13.2985 4.70694 13.3794 4.74045C13.4603 4.77395 13.5338 4.82306 13.5957 4.88497L17.1312 8.42047H17.1313ZM15.7172 8.8918L13.1243 6.29914L9.56483 9.8588C9.47574 9.94788 9.36323 10.0099 9.24034 10.0376C9.11746 10.0654 8.98922 10.0578 8.87049 10.0156C8.22783 9.78764 7.63899 9.7553 7.17749 9.89814L12.1182 14.8388C12.261 14.3771 12.2287 13.7885 12.0007 13.146C11.9585 13.0272 11.9509 12.899 11.9787 12.7761C12.0064 12.6532 12.0684 12.5407 12.1575 12.4516L15.7172 8.89164V8.8918Z" fill="${frozen_color}" fill-opacity="${freeze_color_opacity}"/></g><defs><clipPath id="clip0"><rect width="22" height="22" fill="white"/></clipPath></defs></svg>`,
34773
+ width: frozen_size,
34774
+ height: frozen_size,
34775
+ name: "freeze",
34776
+ funcType: IconFuncTypeEnum.frozen,
34777
+ positionType: IconPosition.right,
34778
+ marginRight: 0,
34779
+ hover: {
34780
+ width: frozen_size_2,
34781
+ height: frozen_size_2,
34782
+ bgColor: "rgba(101, 117, 168, 0.1)"
34783
+ },
34784
+ cursor: "pointer"
34785
+ };
34786
+ },
34787
+ get frozen() {
34788
+ return {
34789
+ type: "svg",
34790
+ svg: `<svg width="22" height="22" viewBox="0 0 22 22" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M8.49975 3.66663C8.32294 3.66663 8.15337 3.73686 8.02835 3.86189C7.90332 3.98691 7.83309 4.15648 7.83309 4.33329V9.63246C6.76475 10.2533 6.07942 11.1795 6.00625 12.2308C5.99892 12.2786 5.99692 12.3268 6.00009 12.3741L5.99975 12.4166C5.99975 12.5934 6.06999 12.763 6.19501 12.888C6.32004 13.0131 6.48961 13.0833 6.66642 13.0833H10.3333L10.3331 17.5L10.8611 18.292C10.8763 18.3148 10.8969 18.3335 10.9211 18.3464C10.9453 18.3594 10.9723 18.3662 10.9998 18.3662C11.0272 18.3662 11.0542 18.3594 11.0784 18.3464C11.1026 18.3335 11.1232 18.3148 11.1384 18.292L11.6664 17.5L11.6666 13.0833H15.3331C15.5099 13.0833 15.6795 13.0131 15.8045 12.888C15.9295 12.763 15.9998 12.5934 15.9998 12.4166C15.9998 12.4025 15.9998 12.3883 15.9994 12.3741C16.0028 12.3263 16.0008 12.2776 15.9933 12.2295C15.9196 11.1786 15.2343 10.2528 14.1664 9.63229V4.33329C14.1664 4.15648 14.0962 3.98691 13.9712 3.86189C13.8461 3.73686 13.6766 3.66663 13.4998 3.66663H8.49975Z" fill="${frozen_color}" fill-opacity="${frozen_color_opacity}"/></svg>`,
34791
+ width: frozen_size,
34792
+ height: frozen_size,
34793
+ name: "frozen",
34794
+ funcType: IconFuncTypeEnum.frozen,
34795
+ positionType: IconPosition.right,
34796
+ marginRight: 0,
34797
+ hover: {
34798
+ width: frozen_size_2,
34799
+ height: frozen_size_2,
34800
+ bgColor: "rgba(101, 117, 168, 0.1)"
34801
+ },
34802
+ cursor: "pointer"
34803
+ };
34804
+ },
34805
+ get frozenCurrent() {
34806
+ return {
34807
+ type: "svg",
34808
+ svg: `<svg width="22" height="22" viewBox="0 0 22 22" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M8.49975 3.66663C8.32294 3.66663 8.15337 3.73686 8.02835 3.86189C7.90332 3.98691 7.83309 4.15648 7.83309 4.33329V9.63246C6.76475 10.2533 6.07942 11.1795 6.00625 12.2308C5.99892 12.2786 5.99692 12.3268 6.00009 12.3741L5.99975 12.4166C5.99975 12.5934 6.06999 12.763 6.19501 12.888C6.32004 13.0131 6.48961 13.0833 6.66642 13.0833H10.3333L10.3331 17.5L10.8611 18.292C10.8763 18.3148 10.8969 18.3335 10.9211 18.3464C10.9453 18.3594 10.9723 18.3662 10.9998 18.3662C11.0272 18.3662 11.0542 18.3594 11.0784 18.3464C11.1026 18.3335 11.1232 18.3148 11.1384 18.292L11.6664 17.5L11.6666 13.0833H15.3331C15.5099 13.0833 15.6795 13.0131 15.8045 12.888C15.9295 12.763 15.9998 12.5934 15.9998 12.4166C15.9998 12.4025 15.9998 12.3883 15.9994 12.3741C16.0028 12.3263 16.0008 12.2776 15.9933 12.2295C15.9196 11.1786 15.2343 10.2528 14.1664 9.63229V4.33329C14.1664 4.15648 14.0962 3.98691 13.9712 3.86189C13.8461 3.73686 13.6766 3.66663 13.4998 3.66663H8.49975Z" fill="${frozen_color_2}" fill-opacity="${frozen_color_opacity_2}"/></svg>`,
34809
+ width: frozen_size,
34810
+ height: frozen_size,
34811
+ funcType: IconFuncTypeEnum.frozen,
34812
+ positionType: IconPosition.right,
34813
+ name: "frozenCurrent",
34814
+ marginRight: 0,
34815
+ hover: {
34816
+ width: frozen_size_2,
34817
+ height: frozen_size_2,
34818
+ bgColor: "rgba(101, 117, 168, 0.1)"
34819
+ },
34820
+ cursor: "pointer"
34821
+ };
34822
+ },
34823
+ get dropdownIcon() {
34824
+ return {
34825
+ type: "svg",
34826
+ svg: '<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg"><g><rect x="2" y="1" width="20" height="20" rx="10" fill="white"/><rect x="2.5" y="1.5" width="19" height="19" rx="9.5" stroke="#959DA5"/></g><path d="M14.9492 9.39531C15.0086 9.31911 15.0165 9.21887 14.9698 9.1356C14.923 9.05234 14.8294 9 14.7273 9L9.27273 9C9.17057 9 9.07697 9.05234 9.03023 9.1356C8.98348 9.21887 8.99142 9.31911 9.0508 9.39531L11.7781 12.8953C11.8293 12.961 11.9119 13 12 13C12.0881 13 12.1707 12.961 12.2219 12.8953L14.9492 9.39531Z" fill="#4F5965"/></svg>',
34827
+ width: 24,
34828
+ height: 24,
34829
+ funcType: IconFuncTypeEnum.dropDown,
34830
+ positionType: IconPosition.absoluteRight,
34831
+ name: "dropdownIcon",
34832
+ marginRight: 0,
34833
+ hover: {
34834
+ width: 24,
34835
+ height: 24,
34836
+ bgColor: "rgba(101, 117, 168, 0.1)",
34837
+ image: '<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg"><g><rect x="2" y="1" width="20" height="20" rx="10" fill="#1E54C9"/><rect x="2.5" y="1.5" width="19" height="19" rx="9.5" stroke="#141414" stroke-opacity="0.2"/></g><path d="M14.9492 9.39531C15.0086 9.31911 15.0165 9.21887 14.9698 9.1356C14.923 9.05234 14.8294 9 14.7273 9L9.27273 9C9.17057 9 9.07697 9.05234 9.03023 9.1356C8.98348 9.21887 8.99142 9.31911 9.0508 9.39531L11.7781 12.8953C11.8293 12.961 11.9119 13 12 13C12.0881 13 12.1707 12.961 12.2219 12.8953L14.9492 9.39531Z" fill="white"/></svg>'
34838
+ },
34839
+ cursor: "pointer",
34840
+ visibleTime: "mouseenter_cell"
34841
+ };
34842
+ },
34843
+ get play() {
34844
+ return {
34845
+ type: "svg",
34846
+ svg: '<svg width="24" height="24" viewBox="0 0 48 48" fill="none" xmlns="http://www.w3.org/2000/svg"><rect width="48" height="48" fill="white" fill-opacity="0.01" /><path d="M24 44C35.0457 44 44 35.0457 44 24C44 12.9543 35.0457 4 24 4C12.9543 4 4 12.9543 4 24C4 35.0457 12.9543 44 24 44Z" fill="none" stroke="#686a6e" stroke-width="4" stroke-linejoin="round" stroke-opacity="0.7" /><path d="M20 24V17.0718L26 20.5359L32 24L26 27.4641L20 30.9282V24Z" fill="none" stroke="#686a6e" stroke-width="4" stroke-linejoin="round" stroke-opacity="0.7" /></svg>',
34847
+ width: 24,
34848
+ height: 24,
34849
+ funcType: IconFuncTypeEnum.play,
34850
+ positionType: IconPosition.right,
34851
+ name: "play",
34852
+ marginRight: 0,
34853
+ hover: {
34854
+ width: 24,
34855
+ height: 24,
34856
+ bgColor: "rgba(101, 117, 168, 0.1)"
34857
+ },
34858
+ cursor: "pointer"
34859
+ };
34860
+ },
34861
+ get damage_pic() {
34862
+ return {
34863
+ type: "svg",
34864
+ svg: '<svg width="24" height="24" viewBox="0 0 48 48" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M5 10V38C5 39.1046 5.89543 40 7 40H14H18L15 29L22 27L21 20L29 16L27 13L30 8H7C5.89543 8 5 8.89543 5 10Z" fill="none" stroke="#333" stroke-width="4" stroke-linecap="round" stroke-linejoin="round"/><path d="M43 38V10C43 8.89543 42.1046 8 41 8H38L34 14L37 19L28 23L29 31L22 33L24 40H41C42.1046 40 43 39.1046 43 38Z" fill="none" stroke="#333" stroke-width="4" stroke-linecap="round" stroke-linejoin="round"/><path fill-rule="evenodd" clip-rule="evenodd" d="M14.5 18C15.3284 18 16 17.3284 16 16.5C16 15.6716 15.3284 15 14.5 15C13.6716 15 13 15.6716 13 16.5C13 17.3284 13.6716 18 14.5 18Z" fill="none" stroke="#333" stroke-width="4" stroke-linecap="round" stroke-linejoin="round"/></svg>',
34865
+ width: 24,
34866
+ height: 24,
34867
+ funcType: IconFuncTypeEnum.damagePic,
34868
+ positionType: IconPosition.left,
34869
+ name: "damage_pic",
34870
+ marginRight: 0,
34871
+ hover: {
34872
+ width: 24,
34873
+ height: 24,
34874
+ bgColor: "rgba(101, 117, 168, 0.1)"
34875
+ },
34876
+ cursor: "pointer"
34877
+ };
34878
+ },
34879
+ get loading_pic() {
34880
+ return {
34881
+ type: "svg",
34882
+ svg: '<svg viewBox="0 0 400 300" fill="none" xmlns="http://www.w3.org/2000/svg"><mask id="a" style="mask-type:alpha" maskUnits="userSpaceOnUse" x="50" y="65" width="301" height="170"><path d="M350.3 65H50v169.8h300.3V65Z" fill="#fff"/></mask><g mask="url(#a)"><path fill-rule="evenodd" clip-rule="evenodd" d="M58.3 233.2h32.8v-36.8H58.3v36.8Z" fill="#C7DEFF"/><path d="M91.1 224.5v8.8H58.3M82.4 196.2H58.3" stroke="#071F4D"/><path fill-rule="evenodd" clip-rule="evenodd" d="M305.4 182.5s-2.7 12.6 0 17.4c2.7 4.8 8.3 6.7 12.4 4.4 4.2-2.4 5.3-8.1 2.6-12.9-2.7-4.8-15-8.9-15-8.9ZM336 204.7c4.3 2 9.7-.4 12-5.4 2.3-5-1.5-17.3-1.5-17.3s-11.8 5.1-14.1 10.1c-2.3 5-.7 10.6 3.6 12.6Z" fill="#00E4E5"/><path fill-rule="evenodd" clip-rule="evenodd" d="M326.7 174s-10 11.8-10 18.6c0 6.7 4.5 12.2 10 12.2s10-5.5 10-12.3c0-6.8-10-18.5-10-18.5Z" fill="#00E4E5"/><path d="M332.3 181.5c2.3 3.6 4.4 7.8 4.4 10.9M316.7 192.5c0-3.1 2.1-7.2 4.3-10.8" stroke="#071F4D"/><path fill-rule="evenodd" clip-rule="evenodd" d="M343.1 227.3v-9.7h-34v9.7c0 3.7 3 6.6 6.6 6.6h20.9c3.6 0 6.5-2.9 6.5-6.6Z" fill="#071F4D"/><path fill-rule="evenodd" clip-rule="evenodd" d="M350.4 220.8V198H302v22.8c0 5.9 4.8 10.7 10.7 10.7h26.9c5.9 0 10.7-4.8 10.8-10.7Z" fill="#C7DEFF"/><path fill-rule="evenodd" clip-rule="evenodd" d="M331.7 74.2H117.8L87.4 203h213.8l30.5-128.8Z" fill="#fff"/><path fill-rule="evenodd" clip-rule="evenodd" d="M337 74.2h-6.2l-30.6 129.2h6.2L337 74.2Z" fill="#fff"/><path fill-rule="evenodd" clip-rule="evenodd" d="M303.8 203.5h2.4l30.7-129.3h-1.8l-31.3 129.3Z" fill="#C7DEFF"/><path d="m337 74.2-30.6 129.2h-5.9" stroke="#071F4D"/><path fill-rule="evenodd" clip-rule="evenodd" d="M229.9 202.1h-47.6l2 9.6h47.3l-1.7-9.6Z" fill="#C7DEFF"/><path fill-rule="evenodd" clip-rule="evenodd" d="M94.7 172.6 87.4 203h213.1l7.8-30.4H94.7Z" fill="#006EFF"/><path fill-rule="evenodd" clip-rule="evenodd" d="M94.7 172.6 87.4 203h213.1l7.8-30.4H94.7Z" fill="#006EFF"/><path d="M138.5 74.2h193.2l-23.4 98.6M94.5 172.7l11-46.3M104.8 155.4l-2.3 11.5h6.7M316 112.1l1.1-4.5" stroke="#071F4D"/><path fill-rule="evenodd" clip-rule="evenodd" d="M148.3 138.1h97V119h-97v19.1Z" fill="#00E4E5"/><path d="M303.1 80.6h20.3l-4.6 19.6M228.3 234.3c3.6 0 6.3-3.2 5.7-6.8l-4.1-24.1" stroke="#071F4D"/><path fill-rule="evenodd" clip-rule="evenodd" d="M226.2 229.5h-68.9v1.2c0 2 1.6 3.7 3.7 3.7h60.1c2.8 0 5-2.2 5.1-4.9Z" fill="#C7DEFF"/><path d="M180.699 226.8h-19.9c-2.8 0-4.6 3-3.3 5.5m0 0c.6 1.2 1.9 2 3.3 2h57.8M175.9 203.4l3.6 17.6M241.2 234.3h65.1M104.6 234.3h41.3" stroke="#071F4D"/><path d="M206.2 234.3h14.9c3.1 0 5.5-2.8 5-5.9l-4.3-24.9M160.7 226.8h46M62.2 226.1h-9.5c-1.2 0-2.2-1-2.2-2.2v-18.3c0-1.2 1-2.2 2.2-2.2h9.5" stroke="#071F4D"/><path d="M53.4 171.7H68c2.1 0 3.7 1.7 3.7 3.7v16.1M79.1 192v-21.8c0-2.5 2-4.6 4.6-4.6h2.2c2.5 0 4.5-2 4.5-4.5m0 0c0-2.5-2-4.5-4.5-4.5H56.1c-2.4 0-4.3-1.9-4.3-4.3V148M71.2 165.2h-18M64 181.7v10.1" stroke="#C7DEFF"/><path fill-rule="evenodd" clip-rule="evenodd" d="M85.7 120H124c4.3 0 7.7-3.5 7.7-7.7V65.5H94.2c-4.7 0-8.5 4.9-8.5 11V120Z" fill="#C7DEFF"/><path d="M85.7 110.7V73c0-4.1 3.4-7.5 7.5-7.5h38.5M146.2 73.8v-2.5c0-3.2-2-5.8-5.8-5.8-2.8 0-6 1.1-6 5.8v42.4c0 4.7-3.8 8.5-8.5 8.5h-15.6" stroke="#071F4D"/><path d="M119.7 122.3H87c-6.1 0-11.1-5-11.1-11.1m0 0h39M126.1 122.3c-6.1 0-11.1-5-11.1-11.1" stroke="#071F4D"/><path fill-rule="evenodd" clip-rule="evenodd" d="M85.4 122.1h37.2c-6.5-1.8-8-10.5-8-10.5H76.2c.6 8.8 9.2 10.5 9.2 10.5Z" fill="#071F4D"/><path fill-rule="evenodd" clip-rule="evenodd" d="M95.8 102.9h4.8V83.6h-4.8v19.3ZM106.6 102.9h4.8V77.6h-4.8v25.3ZM117.3 102.9h4.8V89.1h-4.8v13.8Z" fill="#fff"/><path d="M273.2 195.9h16.9M261.2 195.9h5" stroke="#fff"/><path d="M62.4 201.9v2.9M62.4 224.5v2.9" stroke="#071F4D"/><path d="m153.6 138.1 9.7-19.1M168.8 138.1l9.7-19.1M184.1 138.1l9.7-19.1M199.4 138.1l9.7-19.1M214.6 138.1l9.8-19.1M229.9 138.1l9.7-19.1" stroke="#fff"/><path d="M148.3 138.1h121.6V119H148.3v19.1Z" stroke="#071F4D"/></g></svg>',
34883
+ width: 400,
34884
+ height: 300,
34885
+ name: "loading_pic",
34886
+ positionType: IconPosition.left
34887
+ };
34888
+ },
34889
+ get expand() {
34890
+ return {
34891
+ type: "svg",
34892
+ svg: `<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 16 16" fill="none">\n <path d="M4.64988 6.81235C4.38797 6.48497 4.62106 6 5.04031 6L10.9597 6C11.3789 6 11.612 6.48497 11.3501 6.81235L8.39043 10.512C8.19027 10.7622 7.80973 10.7622 7.60957 10.512L4.64988 6.81235Z" fill="${expand_color}" fill-opacity="${expand_color_opacity}"/>\n </svg>`,
34893
+ width: expand_size,
34894
+ height: expand_size,
34895
+ funcType: IconFuncTypeEnum.expand,
34896
+ name: "expand",
34897
+ positionType: IconPosition.contentLeft,
34898
+ marginLeft: 0,
34899
+ marginRight: 4,
34900
+ hover: {
34901
+ width: expand_size_2,
34902
+ height: expand_size_2,
34903
+ bgColor: "rgba(101, 117, 168, 0.1)"
34904
+ },
34905
+ cursor: "pointer"
34906
+ };
34907
+ },
34908
+ get collapse() {
34909
+ return {
34910
+ type: "svg",
34911
+ svg: `<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 16 16" fill="none">\n <path d="M5.81235 11.3501C5.48497 11.612 5 11.3789 5 10.9597L5 5.04031C5 4.62106 5.48497 4.38797 5.81235 4.64988L9.51196 7.60957C9.76216 7.80973 9.76216 8.19027 9.51196 8.39044L5.81235 11.3501Z" fill="${collapse_color}" fill-opacity="${collapse_color_opacity}"/>\n </svg>`,
34912
+ width: collapse_size,
34913
+ height: collapse_size,
34914
+ funcType: IconFuncTypeEnum.collapse,
34915
+ name: "collapse",
34916
+ positionType: IconPosition.contentLeft,
34917
+ marginLeft: 0,
34918
+ marginRight: 4,
34919
+ hover: {
34920
+ width: collapse_size_2,
34921
+ height: collapse_size_2,
34922
+ bgColor: "rgba(101, 117, 168, 0.1)"
34923
+ },
34924
+ cursor: "pointer"
34925
+ };
34926
+ },
34927
+ get drillDown() {
34928
+ return {
34929
+ name: "drillDown",
34930
+ type: "svg",
34931
+ positionType: IconPosition.absolute,
34932
+ funcType: IconFuncTypeEnum.drillDown,
34933
+ svg: DrillDown,
34934
+ width: 13,
34935
+ height: 13,
34936
+ cursor: "pointer"
34937
+ };
34938
+ },
34939
+ get drillUp() {
34940
+ return {
34941
+ name: "drillUp",
34942
+ type: "svg",
34943
+ positionType: IconPosition.absolute,
34944
+ funcType: IconFuncTypeEnum.drillUp,
34945
+ svg: DrillUp,
34946
+ width: 13,
34947
+ height: 13,
34948
+ cursor: "pointer"
34949
+ };
34950
+ },
34951
+ get dragReorder() {
34952
+ return {
34953
+ type: "svg",
34954
+ svg: `<svg t="1710129136961" class="icon" viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="5166" width="200" height="200"><path d="M362.666667 192m-64 0a64 64 0 1 0 128 0 64 64 0 1 0-128 0Z" fill="${dragReorder_color}" fill-opacity="${dragReorder_color_opacity}" p-id="5167"></path><path d="M661.333333 192m-64 0a64 64 0 1 0 128 0 64 64 0 1 0-128 0Z" fill="${dragReorder_color}" fill-opacity="${dragReorder_color_opacity}" p-id="5168"></path><path d="M362.666667 512m-64 0a64 64 0 1 0 128 0 64 64 0 1 0-128 0Z" fill="${dragReorder_color}" fill-opacity="${dragReorder_color_opacity}" p-id="5169"></path><path d="M661.333333 512m-64 0a64 64 0 1 0 128 0 64 64 0 1 0-128 0Z" fill="${dragReorder_color}" fill-opacity="${dragReorder_color_opacity}" p-id="5170"></path><path d="M362.666667 832m-64 0a64 64 0 1 0 128 0 64 64 0 1 0-128 0Z" fill="${dragReorder_color}" fill-opacity="${dragReorder_color_opacity}" p-id="5171"></path><path d="M661.333333 832m-64 0a64 64 0 1 0 128 0 64 64 0 1 0-128 0Z" fill="${dragReorder_color}" fill-opacity="${dragReorder_color_opacity}" p-id="5172"></path></svg>`,
34955
+ width: dragReorder_size,
34956
+ height: dragReorder_size,
34957
+ funcType: IconFuncTypeEnum.dragReorder,
34958
+ positionType: IconPosition.left,
34959
+ name: "dragReorder",
34960
+ marginLeft: -10,
34961
+ marginRight: 10,
34962
+ cursor: "grab"
34963
+ };
34964
+ }
34965
+ };
34966
+ const icons = {};
34967
+ function get$2() {
34968
+ return extend(builtins, icons);
34969
+ }
34970
+
34693
34971
  class Icon extends Image$1 {
34694
34972
  constructor(params) {
34695
- super(params), "mouseenter_cell" !== this.attribute.visibleTime && "click_cell" !== this.attribute.visibleTime || (this.attribute.opacity = 0), this.attribute.hoverImage && (this.attribute.originImage = this.attribute.image), this.attribute.isGif && this.attribute.gif && this.loadGif();
34973
+ super(params), this.failCallback = () => {
34974
+ const registeredIcons = get$2(),
34975
+ {
34976
+ svg: svg,
34977
+ src: src
34978
+ } = registeredIcons.damage_pic || {},
34979
+ image = svg || src;
34980
+ image && (super.image = image);
34981
+ }, "mouseenter_cell" !== this.attribute.visibleTime && "click_cell" !== this.attribute.visibleTime || (this.attribute.opacity = 0), this.attribute.hoverImage && (this.attribute.originImage = this.attribute.image), this.attribute.isGif && this.attribute.gif && this.loadGif();
34696
34982
  }
34697
34983
  loadGif() {
34698
34984
  this.playing = !1, ResourceLoader.GetFile(this.attribute.gif + "?role=gif" + `&radom=${Math.random()}`, "arrayBuffer").then(res => {
@@ -35244,268 +35530,6 @@
35244
35530
  }
35245
35531
  }
35246
35532
 
35247
- let sort_color, sort_color_opacity, sort_color_2, sort_color_opacity_2, sort_size, sort_size_2, frozen_color, frozen_color_opacity, freeze_color_opacity, frozen_color_2, frozen_color_opacity_2, frozen_size, frozen_size_2, collapse_color, collapse_color_opacity, collapse_size, collapse_size_2, expand_color, expand_color_opacity, expand_size, expand_size_2, dragReorder_color, dragReorder_color_opacity, dragReorder_size;
35248
- function setIconColor(themeIconsColor) {
35249
- var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q, _r, _s, _t, _u, _v, _w, _x, _y, _z;
35250
- sort_color = null !== (_a = null == themeIconsColor ? void 0 : themeIconsColor.sort_color) && void 0 !== _a ? _a : "#282F38", sort_color_opacity = null !== (_b = null == themeIconsColor ? void 0 : themeIconsColor.sort_color_opacity) && void 0 !== _b ? _b : "0.35", sort_color_2 = null !== (_c = null == themeIconsColor ? void 0 : themeIconsColor.sort_color_2) && void 0 !== _c ? _c : "#416EFF", sort_color_opacity_2 = null !== (_d = null == themeIconsColor ? void 0 : themeIconsColor.sort_color_opacity_2) && void 0 !== _d ? _d : "1", sort_size = null !== (_e = null == themeIconsColor ? void 0 : themeIconsColor.sort_size) && void 0 !== _e ? _e : 16, sort_size_2 = null !== (_f = null == themeIconsColor ? void 0 : themeIconsColor.sort_size_2) && void 0 !== _f ? _f : 22, frozen_color = null !== (_g = null == themeIconsColor ? void 0 : themeIconsColor.frozen_color) && void 0 !== _g ? _g : "#282F38", frozen_color_opacity = null !== (_h = null == themeIconsColor ? void 0 : themeIconsColor.frozen_color_opacity) && void 0 !== _h ? _h : "0.35", freeze_color_opacity = null !== (_j = null == themeIconsColor ? void 0 : themeIconsColor.frozen_color_opacity) && void 0 !== _j ? _j : "0.2", frozen_color_2 = null !== (_k = null == themeIconsColor ? void 0 : themeIconsColor.frozen_color_2) && void 0 !== _k ? _k : "#416EFF", frozen_color_opacity_2 = null !== (_l = null == themeIconsColor ? void 0 : themeIconsColor.frozen_color_opacity_2) && void 0 !== _l ? _l : "1", frozen_size = null !== (_m = null == themeIconsColor ? void 0 : themeIconsColor.frozen_size) && void 0 !== _m ? _m : 22, frozen_size_2 = null !== (_o = null == themeIconsColor ? void 0 : themeIconsColor.frozen_size_2) && void 0 !== _o ? _o : 22, collapse_color = null !== (_p = null == themeIconsColor ? void 0 : themeIconsColor.collapse_color) && void 0 !== _p ? _p : "#141414", collapse_color_opacity = null !== (_q = null == themeIconsColor ? void 0 : themeIconsColor.collapse_color_opacity) && void 0 !== _q ? _q : "0.65", collapse_size = null !== (_r = null == themeIconsColor ? void 0 : themeIconsColor.collapse_size) && void 0 !== _r ? _r : 16, collapse_size_2 = null !== (_s = null == themeIconsColor ? void 0 : themeIconsColor.frozen_size_2) && void 0 !== _s ? _s : 22, expand_color = null !== (_t = null == themeIconsColor ? void 0 : themeIconsColor.expand_color) && void 0 !== _t ? _t : "#141414", expand_color_opacity = null !== (_u = null == themeIconsColor ? void 0 : themeIconsColor.expand_color_opacity) && void 0 !== _u ? _u : "0.65", expand_size = null !== (_v = null == themeIconsColor ? void 0 : themeIconsColor.expand_size) && void 0 !== _v ? _v : 16, expand_size_2 = null !== (_w = null == themeIconsColor ? void 0 : themeIconsColor.expand_size_2) && void 0 !== _w ? _w : 22, dragReorder_color = null !== (_x = null == themeIconsColor ? void 0 : themeIconsColor.dragReorder_color) && void 0 !== _x ? _x : "#666666", dragReorder_color_opacity = null !== (_y = null == themeIconsColor ? void 0 : themeIconsColor.dragReorder_color_opacity) && void 0 !== _y ? _y : "1", dragReorder_size = null !== (_z = null == themeIconsColor ? void 0 : themeIconsColor.dragReorder_size) && void 0 !== _z ? _z : 20;
35251
- }
35252
- const builtins = {
35253
- get sort_downward() {
35254
- return {
35255
- type: "svg",
35256
- svg: `<svg width="16" height="16" viewBox="0 0 16 16" fill="none" xmlns="http://www.w3.org/2000/svg"> <path d="M4.6665 9H11.3332L7.99984 13.1667L4.6665 9Z" fill="${sort_color_2}" fill-opacity="${sort_color_opacity_2}"/><path d="M11.3335 7L4.66683 7L8.00016 2.83333L11.3335 7Z" fill="${sort_color}" fill-opacity="${sort_color_opacity}"/></svg> `,
35257
- width: sort_size,
35258
- height: sort_size,
35259
- funcType: IconFuncTypeEnum.sort,
35260
- name: "sort_downward",
35261
- positionType: IconPosition.contentRight,
35262
- marginLeft: 3,
35263
- hover: {
35264
- width: sort_size_2,
35265
- height: sort_size_2,
35266
- bgColor: "rgba(101, 117, 168, 0.1)"
35267
- },
35268
- cursor: "pointer"
35269
- };
35270
- },
35271
- get sort_upward() {
35272
- return {
35273
- type: "svg",
35274
- svg: `<svg width="16" height="16" viewBox="0 0 16 16" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M4.6665 9H11.3332L7.99984 13.1667L4.6665 9Z" fill="${sort_color}" fill-opacity="${sort_color_opacity}"/><path d="M11.3335 7L4.66683 7L8.00016 2.83333L11.3335 7Z" fill="${sort_color_2}" fill-opacity="${sort_color_opacity_2}"/> </svg>`,
35275
- width: sort_size,
35276
- height: sort_size,
35277
- funcType: IconFuncTypeEnum.sort,
35278
- positionType: IconPosition.contentRight,
35279
- name: "sort_upward",
35280
- marginLeft: 3,
35281
- hover: {
35282
- width: sort_size_2,
35283
- height: sort_size_2,
35284
- bgColor: "rgba(101, 117, 168, 0.1)"
35285
- },
35286
- cursor: "pointer"
35287
- };
35288
- },
35289
- get sort_normal() {
35290
- return {
35291
- type: "svg",
35292
- svg: `<svg width="16" height="16" viewBox="0 0 16 16" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M4.6665 9H11.3332L7.99984 13.1667L4.6665 9Z" fill="${sort_color}" fill-opacity="${sort_color_opacity}"/><path d="M11.3335 7L4.66683 7L8.00016 2.83333L11.3335 7Z" fill="${sort_color}" fill-opacity="${sort_color_opacity}"/></svg> `,
35293
- width: sort_size,
35294
- height: sort_size,
35295
- funcType: IconFuncTypeEnum.sort,
35296
- positionType: IconPosition.contentRight,
35297
- name: "sort_normal",
35298
- marginLeft: 3,
35299
- hover: {
35300
- width: sort_size_2,
35301
- height: sort_size_2,
35302
- bgColor: "rgba(101, 117, 168, 0.1)"
35303
- },
35304
- cursor: "pointer"
35305
- };
35306
- },
35307
- get freeze() {
35308
- return {
35309
- type: "svg",
35310
- svg: `<svg width="22" height="22" viewBox="0 0 22 22" fill="none" xmlns="http://www.w3.org/2000/svg"><g clip-path="url(#clip0)"><path d="M17.1313 8.42047C17.1932 8.48238 17.2423 8.55587 17.2759 8.63676C17.3094 8.71764 17.3266 8.80434 17.3266 8.89189C17.3266 8.97944 17.3094 9.06613 17.2759 9.14702C17.2423 9.2279 17.1932 9.3014 17.1313 9.3633L13.3843 13.1103C13.7007 14.3048 13.5305 15.4443 12.8388 16.2395C12.8104 16.2781 12.7778 16.3136 12.7417 16.3451L12.712 16.3755C12.6501 16.4374 12.5766 16.4865 12.4957 16.52C12.4148 16.5535 12.3281 16.5707 12.2406 16.5707C12.153 16.5707 12.0663 16.5535 11.9854 16.52C11.9046 16.4865 11.8311 16.4374 11.7692 16.3755L9.17633 13.7826L6.05316 16.9058L5.11983 17.0925C5.09291 17.0979 5.06508 17.0965 5.03881 17.0886C5.01254 17.0806 4.98863 17.0663 4.96923 17.0469C4.94982 17.0275 4.9355 17.0036 4.92755 16.9773C4.9196 16.951 4.91827 16.9232 4.92366 16.8963L5.11033 15.963L8.23333 12.8396L5.64066 10.2471C5.57875 10.1852 5.52964 10.1117 5.49614 10.0309C5.46263 9.94997 5.44539 9.86327 5.44539 9.77572C5.44539 9.68817 5.46263 9.60148 5.49614 9.52059C5.52964 9.43971 5.57875 9.36621 5.64066 9.3043C5.65066 9.2943 5.66066 9.2843 5.67099 9.27464C5.70266 9.2383 5.73833 9.20547 5.77766 9.17664C6.57283 8.48564 7.71199 8.31564 8.90599 8.63197L12.6528 4.88497C12.7147 4.82306 12.7882 4.77395 12.8691 4.74045C12.95 4.70694 13.0367 4.6897 13.1242 4.6897C13.2118 4.6897 13.2985 4.70694 13.3794 4.74045C13.4603 4.77395 13.5338 4.82306 13.5957 4.88497L17.1312 8.42047H17.1313ZM15.7172 8.8918L13.1243 6.29914L9.56483 9.8588C9.47574 9.94788 9.36323 10.0099 9.24034 10.0376C9.11746 10.0654 8.98922 10.0578 8.87049 10.0156C8.22783 9.78764 7.63899 9.7553 7.17749 9.89814L12.1182 14.8388C12.261 14.3771 12.2287 13.7885 12.0007 13.146C11.9585 13.0272 11.9509 12.899 11.9787 12.7761C12.0064 12.6532 12.0684 12.5407 12.1575 12.4516L15.7172 8.89164V8.8918Z" fill="${frozen_color}" fill-opacity="${freeze_color_opacity}"/></g><defs><clipPath id="clip0"><rect width="22" height="22" fill="white"/></clipPath></defs></svg>`,
35311
- width: frozen_size,
35312
- height: frozen_size,
35313
- name: "freeze",
35314
- funcType: IconFuncTypeEnum.frozen,
35315
- positionType: IconPosition.right,
35316
- marginRight: 0,
35317
- hover: {
35318
- width: frozen_size_2,
35319
- height: frozen_size_2,
35320
- bgColor: "rgba(101, 117, 168, 0.1)"
35321
- },
35322
- cursor: "pointer"
35323
- };
35324
- },
35325
- get frozen() {
35326
- return {
35327
- type: "svg",
35328
- svg: `<svg width="22" height="22" viewBox="0 0 22 22" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M8.49975 3.66663C8.32294 3.66663 8.15337 3.73686 8.02835 3.86189C7.90332 3.98691 7.83309 4.15648 7.83309 4.33329V9.63246C6.76475 10.2533 6.07942 11.1795 6.00625 12.2308C5.99892 12.2786 5.99692 12.3268 6.00009 12.3741L5.99975 12.4166C5.99975 12.5934 6.06999 12.763 6.19501 12.888C6.32004 13.0131 6.48961 13.0833 6.66642 13.0833H10.3333L10.3331 17.5L10.8611 18.292C10.8763 18.3148 10.8969 18.3335 10.9211 18.3464C10.9453 18.3594 10.9723 18.3662 10.9998 18.3662C11.0272 18.3662 11.0542 18.3594 11.0784 18.3464C11.1026 18.3335 11.1232 18.3148 11.1384 18.292L11.6664 17.5L11.6666 13.0833H15.3331C15.5099 13.0833 15.6795 13.0131 15.8045 12.888C15.9295 12.763 15.9998 12.5934 15.9998 12.4166C15.9998 12.4025 15.9998 12.3883 15.9994 12.3741C16.0028 12.3263 16.0008 12.2776 15.9933 12.2295C15.9196 11.1786 15.2343 10.2528 14.1664 9.63229V4.33329C14.1664 4.15648 14.0962 3.98691 13.9712 3.86189C13.8461 3.73686 13.6766 3.66663 13.4998 3.66663H8.49975Z" fill="${frozen_color}" fill-opacity="${frozen_color_opacity}"/></svg>`,
35329
- width: frozen_size,
35330
- height: frozen_size,
35331
- name: "frozen",
35332
- funcType: IconFuncTypeEnum.frozen,
35333
- positionType: IconPosition.right,
35334
- marginRight: 0,
35335
- hover: {
35336
- width: frozen_size_2,
35337
- height: frozen_size_2,
35338
- bgColor: "rgba(101, 117, 168, 0.1)"
35339
- },
35340
- cursor: "pointer"
35341
- };
35342
- },
35343
- get frozenCurrent() {
35344
- return {
35345
- type: "svg",
35346
- svg: `<svg width="22" height="22" viewBox="0 0 22 22" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M8.49975 3.66663C8.32294 3.66663 8.15337 3.73686 8.02835 3.86189C7.90332 3.98691 7.83309 4.15648 7.83309 4.33329V9.63246C6.76475 10.2533 6.07942 11.1795 6.00625 12.2308C5.99892 12.2786 5.99692 12.3268 6.00009 12.3741L5.99975 12.4166C5.99975 12.5934 6.06999 12.763 6.19501 12.888C6.32004 13.0131 6.48961 13.0833 6.66642 13.0833H10.3333L10.3331 17.5L10.8611 18.292C10.8763 18.3148 10.8969 18.3335 10.9211 18.3464C10.9453 18.3594 10.9723 18.3662 10.9998 18.3662C11.0272 18.3662 11.0542 18.3594 11.0784 18.3464C11.1026 18.3335 11.1232 18.3148 11.1384 18.292L11.6664 17.5L11.6666 13.0833H15.3331C15.5099 13.0833 15.6795 13.0131 15.8045 12.888C15.9295 12.763 15.9998 12.5934 15.9998 12.4166C15.9998 12.4025 15.9998 12.3883 15.9994 12.3741C16.0028 12.3263 16.0008 12.2776 15.9933 12.2295C15.9196 11.1786 15.2343 10.2528 14.1664 9.63229V4.33329C14.1664 4.15648 14.0962 3.98691 13.9712 3.86189C13.8461 3.73686 13.6766 3.66663 13.4998 3.66663H8.49975Z" fill="${frozen_color_2}" fill-opacity="${frozen_color_opacity_2}"/></svg>`,
35347
- width: frozen_size,
35348
- height: frozen_size,
35349
- funcType: IconFuncTypeEnum.frozen,
35350
- positionType: IconPosition.right,
35351
- name: "frozenCurrent",
35352
- marginRight: 0,
35353
- hover: {
35354
- width: frozen_size_2,
35355
- height: frozen_size_2,
35356
- bgColor: "rgba(101, 117, 168, 0.1)"
35357
- },
35358
- cursor: "pointer"
35359
- };
35360
- },
35361
- get dropdownIcon() {
35362
- return {
35363
- type: "svg",
35364
- svg: '<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg"><g><rect x="2" y="1" width="20" height="20" rx="10" fill="white"/><rect x="2.5" y="1.5" width="19" height="19" rx="9.5" stroke="#959DA5"/></g><path d="M14.9492 9.39531C15.0086 9.31911 15.0165 9.21887 14.9698 9.1356C14.923 9.05234 14.8294 9 14.7273 9L9.27273 9C9.17057 9 9.07697 9.05234 9.03023 9.1356C8.98348 9.21887 8.99142 9.31911 9.0508 9.39531L11.7781 12.8953C11.8293 12.961 11.9119 13 12 13C12.0881 13 12.1707 12.961 12.2219 12.8953L14.9492 9.39531Z" fill="#4F5965"/></svg>',
35365
- width: 24,
35366
- height: 24,
35367
- funcType: IconFuncTypeEnum.dropDown,
35368
- positionType: IconPosition.absoluteRight,
35369
- name: "dropdownIcon",
35370
- marginRight: 0,
35371
- hover: {
35372
- width: 24,
35373
- height: 24,
35374
- bgColor: "rgba(101, 117, 168, 0.1)",
35375
- image: '<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg"><g><rect x="2" y="1" width="20" height="20" rx="10" fill="#1E54C9"/><rect x="2.5" y="1.5" width="19" height="19" rx="9.5" stroke="#141414" stroke-opacity="0.2"/></g><path d="M14.9492 9.39531C15.0086 9.31911 15.0165 9.21887 14.9698 9.1356C14.923 9.05234 14.8294 9 14.7273 9L9.27273 9C9.17057 9 9.07697 9.05234 9.03023 9.1356C8.98348 9.21887 8.99142 9.31911 9.0508 9.39531L11.7781 12.8953C11.8293 12.961 11.9119 13 12 13C12.0881 13 12.1707 12.961 12.2219 12.8953L14.9492 9.39531Z" fill="white"/></svg>'
35376
- },
35377
- cursor: "pointer",
35378
- visibleTime: "mouseenter_cell"
35379
- };
35380
- },
35381
- get play() {
35382
- return {
35383
- type: "svg",
35384
- svg: '<svg width="24" height="24" viewBox="0 0 48 48" fill="none" xmlns="http://www.w3.org/2000/svg"><rect width="48" height="48" fill="white" fill-opacity="0.01" /><path d="M24 44C35.0457 44 44 35.0457 44 24C44 12.9543 35.0457 4 24 4C12.9543 4 4 12.9543 4 24C4 35.0457 12.9543 44 24 44Z" fill="none" stroke="#686a6e" stroke-width="4" stroke-linejoin="round" stroke-opacity="0.7" /><path d="M20 24V17.0718L26 20.5359L32 24L26 27.4641L20 30.9282V24Z" fill="none" stroke="#686a6e" stroke-width="4" stroke-linejoin="round" stroke-opacity="0.7" /></svg>',
35385
- width: 24,
35386
- height: 24,
35387
- funcType: IconFuncTypeEnum.play,
35388
- positionType: IconPosition.right,
35389
- name: "play",
35390
- marginRight: 0,
35391
- hover: {
35392
- width: 24,
35393
- height: 24,
35394
- bgColor: "rgba(101, 117, 168, 0.1)"
35395
- },
35396
- cursor: "pointer"
35397
- };
35398
- },
35399
- get damage_pic() {
35400
- return {
35401
- type: "svg",
35402
- svg: '<svg width="24" height="24" viewBox="0 0 48 48" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M5 10V38C5 39.1046 5.89543 40 7 40H14H18L15 29L22 27L21 20L29 16L27 13L30 8H7C5.89543 8 5 8.89543 5 10Z" fill="none" stroke="#333" stroke-width="4" stroke-linecap="round" stroke-linejoin="round"/><path d="M43 38V10C43 8.89543 42.1046 8 41 8H38L34 14L37 19L28 23L29 31L22 33L24 40H41C42.1046 40 43 39.1046 43 38Z" fill="none" stroke="#333" stroke-width="4" stroke-linecap="round" stroke-linejoin="round"/><path fill-rule="evenodd" clip-rule="evenodd" d="M14.5 18C15.3284 18 16 17.3284 16 16.5C16 15.6716 15.3284 15 14.5 15C13.6716 15 13 15.6716 13 16.5C13 17.3284 13.6716 18 14.5 18Z" fill="none" stroke="#333" stroke-width="4" stroke-linecap="round" stroke-linejoin="round"/></svg>',
35403
- width: 24,
35404
- height: 24,
35405
- funcType: IconFuncTypeEnum.damagePic,
35406
- positionType: IconPosition.left,
35407
- name: "damage_pic",
35408
- marginRight: 0,
35409
- hover: {
35410
- width: 24,
35411
- height: 24,
35412
- bgColor: "rgba(101, 117, 168, 0.1)"
35413
- },
35414
- cursor: "pointer"
35415
- };
35416
- },
35417
- get loading_pic() {
35418
- return {
35419
- type: "svg",
35420
- svg: '<svg viewBox="0 0 400 300" fill="none" xmlns="http://www.w3.org/2000/svg"><mask id="a" style="mask-type:alpha" maskUnits="userSpaceOnUse" x="50" y="65" width="301" height="170"><path d="M350.3 65H50v169.8h300.3V65Z" fill="#fff"/></mask><g mask="url(#a)"><path fill-rule="evenodd" clip-rule="evenodd" d="M58.3 233.2h32.8v-36.8H58.3v36.8Z" fill="#C7DEFF"/><path d="M91.1 224.5v8.8H58.3M82.4 196.2H58.3" stroke="#071F4D"/><path fill-rule="evenodd" clip-rule="evenodd" d="M305.4 182.5s-2.7 12.6 0 17.4c2.7 4.8 8.3 6.7 12.4 4.4 4.2-2.4 5.3-8.1 2.6-12.9-2.7-4.8-15-8.9-15-8.9ZM336 204.7c4.3 2 9.7-.4 12-5.4 2.3-5-1.5-17.3-1.5-17.3s-11.8 5.1-14.1 10.1c-2.3 5-.7 10.6 3.6 12.6Z" fill="#00E4E5"/><path fill-rule="evenodd" clip-rule="evenodd" d="M326.7 174s-10 11.8-10 18.6c0 6.7 4.5 12.2 10 12.2s10-5.5 10-12.3c0-6.8-10-18.5-10-18.5Z" fill="#00E4E5"/><path d="M332.3 181.5c2.3 3.6 4.4 7.8 4.4 10.9M316.7 192.5c0-3.1 2.1-7.2 4.3-10.8" stroke="#071F4D"/><path fill-rule="evenodd" clip-rule="evenodd" d="M343.1 227.3v-9.7h-34v9.7c0 3.7 3 6.6 6.6 6.6h20.9c3.6 0 6.5-2.9 6.5-6.6Z" fill="#071F4D"/><path fill-rule="evenodd" clip-rule="evenodd" d="M350.4 220.8V198H302v22.8c0 5.9 4.8 10.7 10.7 10.7h26.9c5.9 0 10.7-4.8 10.8-10.7Z" fill="#C7DEFF"/><path fill-rule="evenodd" clip-rule="evenodd" d="M331.7 74.2H117.8L87.4 203h213.8l30.5-128.8Z" fill="#fff"/><path fill-rule="evenodd" clip-rule="evenodd" d="M337 74.2h-6.2l-30.6 129.2h6.2L337 74.2Z" fill="#fff"/><path fill-rule="evenodd" clip-rule="evenodd" d="M303.8 203.5h2.4l30.7-129.3h-1.8l-31.3 129.3Z" fill="#C7DEFF"/><path d="m337 74.2-30.6 129.2h-5.9" stroke="#071F4D"/><path fill-rule="evenodd" clip-rule="evenodd" d="M229.9 202.1h-47.6l2 9.6h47.3l-1.7-9.6Z" fill="#C7DEFF"/><path fill-rule="evenodd" clip-rule="evenodd" d="M94.7 172.6 87.4 203h213.1l7.8-30.4H94.7Z" fill="#006EFF"/><path fill-rule="evenodd" clip-rule="evenodd" d="M94.7 172.6 87.4 203h213.1l7.8-30.4H94.7Z" fill="#006EFF"/><path d="M138.5 74.2h193.2l-23.4 98.6M94.5 172.7l11-46.3M104.8 155.4l-2.3 11.5h6.7M316 112.1l1.1-4.5" stroke="#071F4D"/><path fill-rule="evenodd" clip-rule="evenodd" d="M148.3 138.1h97V119h-97v19.1Z" fill="#00E4E5"/><path d="M303.1 80.6h20.3l-4.6 19.6M228.3 234.3c3.6 0 6.3-3.2 5.7-6.8l-4.1-24.1" stroke="#071F4D"/><path fill-rule="evenodd" clip-rule="evenodd" d="M226.2 229.5h-68.9v1.2c0 2 1.6 3.7 3.7 3.7h60.1c2.8 0 5-2.2 5.1-4.9Z" fill="#C7DEFF"/><path d="M180.699 226.8h-19.9c-2.8 0-4.6 3-3.3 5.5m0 0c.6 1.2 1.9 2 3.3 2h57.8M175.9 203.4l3.6 17.6M241.2 234.3h65.1M104.6 234.3h41.3" stroke="#071F4D"/><path d="M206.2 234.3h14.9c3.1 0 5.5-2.8 5-5.9l-4.3-24.9M160.7 226.8h46M62.2 226.1h-9.5c-1.2 0-2.2-1-2.2-2.2v-18.3c0-1.2 1-2.2 2.2-2.2h9.5" stroke="#071F4D"/><path d="M53.4 171.7H68c2.1 0 3.7 1.7 3.7 3.7v16.1M79.1 192v-21.8c0-2.5 2-4.6 4.6-4.6h2.2c2.5 0 4.5-2 4.5-4.5m0 0c0-2.5-2-4.5-4.5-4.5H56.1c-2.4 0-4.3-1.9-4.3-4.3V148M71.2 165.2h-18M64 181.7v10.1" stroke="#C7DEFF"/><path fill-rule="evenodd" clip-rule="evenodd" d="M85.7 120H124c4.3 0 7.7-3.5 7.7-7.7V65.5H94.2c-4.7 0-8.5 4.9-8.5 11V120Z" fill="#C7DEFF"/><path d="M85.7 110.7V73c0-4.1 3.4-7.5 7.5-7.5h38.5M146.2 73.8v-2.5c0-3.2-2-5.8-5.8-5.8-2.8 0-6 1.1-6 5.8v42.4c0 4.7-3.8 8.5-8.5 8.5h-15.6" stroke="#071F4D"/><path d="M119.7 122.3H87c-6.1 0-11.1-5-11.1-11.1m0 0h39M126.1 122.3c-6.1 0-11.1-5-11.1-11.1" stroke="#071F4D"/><path fill-rule="evenodd" clip-rule="evenodd" d="M85.4 122.1h37.2c-6.5-1.8-8-10.5-8-10.5H76.2c.6 8.8 9.2 10.5 9.2 10.5Z" fill="#071F4D"/><path fill-rule="evenodd" clip-rule="evenodd" d="M95.8 102.9h4.8V83.6h-4.8v19.3ZM106.6 102.9h4.8V77.6h-4.8v25.3ZM117.3 102.9h4.8V89.1h-4.8v13.8Z" fill="#fff"/><path d="M273.2 195.9h16.9M261.2 195.9h5" stroke="#fff"/><path d="M62.4 201.9v2.9M62.4 224.5v2.9" stroke="#071F4D"/><path d="m153.6 138.1 9.7-19.1M168.8 138.1l9.7-19.1M184.1 138.1l9.7-19.1M199.4 138.1l9.7-19.1M214.6 138.1l9.8-19.1M229.9 138.1l9.7-19.1" stroke="#fff"/><path d="M148.3 138.1h121.6V119H148.3v19.1Z" stroke="#071F4D"/></g></svg>',
35421
- width: 400,
35422
- height: 300,
35423
- name: "loading_pic",
35424
- positionType: IconPosition.left
35425
- };
35426
- },
35427
- get expand() {
35428
- return {
35429
- type: "svg",
35430
- svg: `<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 16 16" fill="none">\n <path d="M4.64988 6.81235C4.38797 6.48497 4.62106 6 5.04031 6L10.9597 6C11.3789 6 11.612 6.48497 11.3501 6.81235L8.39043 10.512C8.19027 10.7622 7.80973 10.7622 7.60957 10.512L4.64988 6.81235Z" fill="${expand_color}" fill-opacity="${expand_color_opacity}"/>\n </svg>`,
35431
- width: expand_size,
35432
- height: expand_size,
35433
- funcType: IconFuncTypeEnum.expand,
35434
- name: "expand",
35435
- positionType: IconPosition.contentLeft,
35436
- marginLeft: 0,
35437
- marginRight: 4,
35438
- hover: {
35439
- width: expand_size_2,
35440
- height: expand_size_2,
35441
- bgColor: "rgba(101, 117, 168, 0.1)"
35442
- },
35443
- cursor: "pointer"
35444
- };
35445
- },
35446
- get collapse() {
35447
- return {
35448
- type: "svg",
35449
- svg: `<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 16 16" fill="none">\n <path d="M5.81235 11.3501C5.48497 11.612 5 11.3789 5 10.9597L5 5.04031C5 4.62106 5.48497 4.38797 5.81235 4.64988L9.51196 7.60957C9.76216 7.80973 9.76216 8.19027 9.51196 8.39044L5.81235 11.3501Z" fill="${collapse_color}" fill-opacity="${collapse_color_opacity}"/>\n </svg>`,
35450
- width: collapse_size,
35451
- height: collapse_size,
35452
- funcType: IconFuncTypeEnum.collapse,
35453
- name: "collapse",
35454
- positionType: IconPosition.contentLeft,
35455
- marginLeft: 0,
35456
- marginRight: 4,
35457
- hover: {
35458
- width: collapse_size_2,
35459
- height: collapse_size_2,
35460
- bgColor: "rgba(101, 117, 168, 0.1)"
35461
- },
35462
- cursor: "pointer"
35463
- };
35464
- },
35465
- get drillDown() {
35466
- return {
35467
- name: "drillDown",
35468
- type: "svg",
35469
- positionType: IconPosition.absolute,
35470
- funcType: IconFuncTypeEnum.drillDown,
35471
- svg: DrillDown,
35472
- width: 13,
35473
- height: 13,
35474
- cursor: "pointer"
35475
- };
35476
- },
35477
- get drillUp() {
35478
- return {
35479
- name: "drillUp",
35480
- type: "svg",
35481
- positionType: IconPosition.absolute,
35482
- funcType: IconFuncTypeEnum.drillUp,
35483
- svg: DrillUp,
35484
- width: 13,
35485
- height: 13,
35486
- cursor: "pointer"
35487
- };
35488
- },
35489
- get dragReorder() {
35490
- return {
35491
- type: "svg",
35492
- svg: `<svg t="1710129136961" class="icon" viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="5166" width="200" height="200"><path d="M362.666667 192m-64 0a64 64 0 1 0 128 0 64 64 0 1 0-128 0Z" fill="${dragReorder_color}" fill-opacity="${dragReorder_color_opacity}" p-id="5167"></path><path d="M661.333333 192m-64 0a64 64 0 1 0 128 0 64 64 0 1 0-128 0Z" fill="${dragReorder_color}" fill-opacity="${dragReorder_color_opacity}" p-id="5168"></path><path d="M362.666667 512m-64 0a64 64 0 1 0 128 0 64 64 0 1 0-128 0Z" fill="${dragReorder_color}" fill-opacity="${dragReorder_color_opacity}" p-id="5169"></path><path d="M661.333333 512m-64 0a64 64 0 1 0 128 0 64 64 0 1 0-128 0Z" fill="${dragReorder_color}" fill-opacity="${dragReorder_color_opacity}" p-id="5170"></path><path d="M362.666667 832m-64 0a64 64 0 1 0 128 0 64 64 0 1 0-128 0Z" fill="${dragReorder_color}" fill-opacity="${dragReorder_color_opacity}" p-id="5171"></path><path d="M661.333333 832m-64 0a64 64 0 1 0 128 0 64 64 0 1 0-128 0Z" fill="${dragReorder_color}" fill-opacity="${dragReorder_color_opacity}" p-id="5172"></path></svg>`,
35493
- width: dragReorder_size,
35494
- height: dragReorder_size,
35495
- funcType: IconFuncTypeEnum.dragReorder,
35496
- positionType: IconPosition.left,
35497
- name: "dragReorder",
35498
- marginLeft: -10,
35499
- marginRight: 10,
35500
- cursor: "grab"
35501
- };
35502
- }
35503
- };
35504
- const icons = {};
35505
- function get$2() {
35506
- return extend(builtins, icons);
35507
- }
35508
-
35509
35533
  class Group extends Group$1 {
35510
35534
  clear() {
35511
35535
  this.removeAllChild();
@@ -36405,7 +36429,7 @@
36405
36429
  } = _generateCustomElementsGroup(table, define, col, row, cellWidth, cellHeight, padding, range, customResult),
36406
36430
  style = table._getCellStyle(col, row),
36407
36431
  dataValue = table.getCellOriginValue(col, row);
36408
- cellGroup = Factory.getFunction("createTextCellGroup")(table, value, columnGroup, 0, y, col, row, colWidth, cellWidth, cellHeight, padding, textAlign, textBaseline, !1, customElementsGroup, renderDefault, cellTheme, range, isAsync);
36432
+ cellGroup = Factory.getFunction("createTextCellGroup")(table, value, columnGroup, 0, y, col, row, colWidth, cellWidth, cellHeight, padding, textAlign, textBaseline, mayHaveIcon, customElementsGroup, renderDefault, cellTheme, range, isAsync);
36409
36433
  const progressBarGroup = Factory.getFunction("createProgressBarCell")(define, style, colWidth, value, dataValue, col, row, padding, table, range);
36410
36434
  cellGroup.firstChild ? cellGroup.insertBefore(progressBarGroup, cellGroup.firstChild) : cellGroup.appendChild(progressBarGroup);
36411
36435
  } else if ("sparkline" === type) {
@@ -39727,6 +39751,7 @@
39727
39751
  Math.abs(matrix.f) > precision || Math.abs(matrix.g) > precision ? context.rect(x - precision, y - precision, width + 2 * precision, height + 2 * precision) : context.rect(x, y, width, height);
39728
39752
  }
39729
39753
  function getCellSizeForDraw(group, width, height, bottomRight) {
39754
+ var _a, _b;
39730
39755
  const table = group.stage.table;
39731
39756
  if (!table) return {
39732
39757
  width: width,
@@ -39736,7 +39761,7 @@
39736
39761
  let col = group.col,
39737
39762
  row = group.row;
39738
39763
  const mergeInfo = getCellMergeInfo(table, col, row);
39739
- mergeInfo && (col = mergeInfo.end.col, row = mergeInfo.end.row), col !== table.colCount - 1 || bottomRight ? (col === table.frozenColCount - 1 && table.scrollLeft && !bottomRight || 0 === col && bottomRight) && (width -= 1) : width -= 1, row !== table.rowCount - 1 || bottomRight ? (row === table.frozenRowCount - 1 && table.scrollTop && !bottomRight || 0 === row && bottomRight) && (height -= 1) : height -= 1;
39764
+ mergeInfo && (col = mergeInfo.end.col, row = mergeInfo.end.row), bottomRight ? (0 === col && (width -= 1), 0 === row && (height -= 1)) : ((col === table.colCount - 1 || col === table.frozenColCount - 1 && table.scrollLeft || (null === (_a = table.containerFit) || void 0 === _a ? void 0 : _a.width) && table.rightFrozenColCount && col === table.colCount - table.rightFrozenColCount - 1) && (width -= 1), (row === table.rowCount - 1 || row === table.frozenRowCount - 1 && table.scrollTop || (null === (_b = table.containerFit) || void 0 === _b ? void 0 : _b.height) && table.bottomFrozenRowCount && row === table.rowCount - table.bottomFrozenRowCount - 1) && (height -= 1));
39740
39765
  } else "corner-frozen" === group.role && (table.scrollLeft && !bottomRight && (width -= 1), table.scrollTop && !bottomRight && (height -= 1));
39741
39766
  return {
39742
39767
  width: width,
@@ -46254,7 +46279,7 @@
46254
46279
  var _a, _b, _c, _d, _e;
46255
46280
  if (table.hasListeners(TABLE_EVENT_TYPE.MOUSEDOWN_TABLE) && table.fireListeners(TABLE_EVENT_TYPE.MOUSEDOWN_TABLE, {
46256
46281
  event: e.nativeEvent
46257
- }), table.eventManager.isDown = !0, table.eventManager.LastBodyPointerXY = {
46282
+ }), clearPageSelection(), table.eventManager.isDown = !0, table.eventManager.LastBodyPointerXY = {
46258
46283
  x: e.x,
46259
46284
  y: e.y
46260
46285
  }, table.eventManager.LastPointerXY = {
@@ -48934,14 +48959,21 @@
48934
48959
  return this.dealDiffenence(), this.getCumulativeSum(position);
48935
48960
  }
48936
48961
  getCumulativeSum(position) {
48937
- var _a;
48938
- let sum = 0;
48962
+ var _a, _b;
48963
+ let sum = 0,
48964
+ currentBottomFrozenRowsHeight = 0,
48965
+ isBottomFrozenRowNoCache = !1;
48966
+ const bottomFrozenStartRow = this.table.rowCount > 0 && this.table.bottomFrozenRowCount > 0 ? this.table.rowCount - this.table.bottomFrozenRowCount : -1;
48939
48967
  for (let i = position; i >= 0; i--) {
48940
48968
  if (this.cumulativeSum.has(i)) {
48941
48969
  sum += this.cumulativeSum.get(i);
48942
48970
  break;
48943
48971
  }
48944
- sum += null !== (_a = this.data.get(i)) && void 0 !== _a ? _a : this.table.getRowHeight(i);
48972
+ sum += null !== (_a = this.data.get(i)) && void 0 !== _a ? _a : this.table.getRowHeight(i), i >= bottomFrozenStartRow && -1 !== bottomFrozenStartRow && (currentBottomFrozenRowsHeight = sum, isBottomFrozenRowNoCache = i === bottomFrozenStartRow);
48973
+ }
48974
+ if (isBottomFrozenRowNoCache && (null === (_b = this.table.containerFit) || void 0 === _b ? void 0 : _b.height) && this.table.bottomFrozenRowCount) {
48975
+ const tableHeight = this.table.tableNoFrameHeight || 0;
48976
+ sum < tableHeight && (sum = tableHeight - this.table.getBottomFrozenRowsHeight() + currentBottomFrozenRowsHeight);
48945
48977
  }
48946
48978
  return this.cumulativeSum.set(position, sum), sum;
48947
48979
  }
@@ -50217,7 +50249,7 @@
50217
50249
  }
50218
50250
  class TableAnimationManager {
50219
50251
  constructor(table) {
50220
- this.table = table, this.timeline = new DefaultTimeline(), this.ticker = new DefaultTicker(), this.ticker.addTimeline(this.timeline);
50252
+ this.table = table, this.timeline = new DefaultTimeline(), this.ticker = new DefaultTicker(this.table.scenegraph.stage), this.ticker.addTimeline(this.timeline);
50221
50253
  this.ticker.setFPS(60), this.tempGraphic = createRect({});
50222
50254
  }
50223
50255
  scrollTo(position, animationOption) {
@@ -50323,7 +50355,7 @@
50323
50355
  }
50324
50356
  constructor(container, options = {}) {
50325
50357
  var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q, _r, _s, _t;
50326
- if (super(), this.showFrozenIcon = !0, this.version = "1.19.1-alpha.1", this.id = `VTable${Date.now()}`, this.isReleased = !1, this._chartEventMap = {}, this.throttleInvalidate = throttle2(this.render.bind(this), 200), "node" === Env.mode ? (options = container, container = null) : container instanceof HTMLElement || (options = container, container = container.container ? container.container : null), !container && "node" !== options.mode && !options.canvas) throw new Error("vtable's container is undefined");
50358
+ if (super(), this.showFrozenIcon = !0, this.version = "1.19.1", this.id = `VTable${Date.now()}`, this.isReleased = !1, this._chartEventMap = {}, this.throttleInvalidate = throttle2(this.render.bind(this), 200), "node" === Env.mode ? (options = container, container = null) : container instanceof HTMLElement || (options = container, container = container.container ? container.container : null), !container && "node" !== options.mode && !options.canvas) throw new Error("vtable's container is undefined");
50327
50359
  this.pluginManager = new PluginManager(this, options), this.fireListeners(TABLE_EVENT_TYPE.BEFORE_INIT, {
50328
50360
  options: options,
50329
50361
  container: container
@@ -50749,12 +50781,12 @@
50749
50781
  if (null != cachedColWidth) return cachedColWidth;
50750
50782
  const cachedLowerColWidth = this._colRangeWidthsMap.get(`$${startCol}$${endCol - 1}`);
50751
50783
  if (null != cachedLowerColWidth) {
50752
- const addWidth = cachedLowerColWidth + this.getColWidth(endCol);
50753
- return startCol >= 0 && endCol >= 0 && !Number.isNaN(addWidth) && this._colRangeWidthsMap.set(`$${startCol}$${endCol}`, Math.round(addWidth)), Math.round(addWidth);
50784
+ let addWidth = cachedLowerColWidth + this.getColWidth(endCol);
50785
+ return this.rightFrozenColCount > 0 && endCol === this.colCount - this.rightFrozenColCount && (addWidth = this._getRangeSizeForContainerFit(startCol, endCol, addWidth, "col")), startCol >= 0 && endCol >= 0 && !Number.isNaN(addWidth) && this._colRangeWidthsMap.set(`$${startCol}$${endCol}`, Math.round(addWidth)), Math.round(addWidth);
50754
50786
  }
50755
50787
  let w = 0;
50756
50788
  for (let col = startCol; col <= endCol; col++) w += this.getColWidth(col);
50757
- return startCol >= 0 && endCol >= 0 && this._colRangeWidthsMap.set(`$${startCol}$${endCol}`, Math.round(w)), Math.round(w);
50789
+ return w = this._getRangeSizeForContainerFit(startCol, endCol, w, "col"), startCol >= 0 && endCol >= 0 && this._colRangeWidthsMap.set(`$${startCol}$${endCol}`, Math.round(w)), Math.round(w);
50758
50790
  }
50759
50791
  getRowHeight(row) {
50760
50792
  var _a;
@@ -50798,12 +50830,42 @@
50798
50830
  }
50799
50831
  h = this.rowHeightsMap.getSumInRange(startRow, endRow);
50800
50832
  } else {
50833
+ const bottomFrozenStartRow = this.rowCount - this.bottomFrozenRowCount;
50801
50834
  for (let i = startRow; i < Math.min(endRow + 1, this.columnHeaderLevelCount); i++) h += this.getRowHeight(i);
50802
- endRow >= this.columnHeaderLevelCount && (h += this.defaultRowHeight * (Math.min(endRow, this.rowCount - this.bottomFrozenRowCount - 1) - Math.max(this.columnHeaderLevelCount, startRow) + 1));
50803
- for (let i = this.rowCount - this.bottomFrozenRowCount; i < endRow + 1; i++) h += this.getRowHeight(i);
50835
+ endRow >= this.columnHeaderLevelCount && (h += this.defaultRowHeight * (Math.min(endRow, bottomFrozenStartRow - 1) - Math.max(this.columnHeaderLevelCount, startRow) + 1));
50836
+ let currentBottomFrozenRowsHeight = 0;
50837
+ for (let i = bottomFrozenStartRow; i < endRow + 1; i++) currentBottomFrozenRowsHeight += this.getRowHeight(i);
50838
+ h = this._getRangeSizeForContainerFit(startRow, endRow, h + currentBottomFrozenRowsHeight, "row");
50804
50839
  }
50805
50840
  return Math.round(h);
50806
50841
  }
50842
+ _getRangeSizeForContainerFit(start, end, totalSize, type = "col") {
50843
+ var _a;
50844
+ if (!isFinite(start) || !isFinite(end)) return totalSize;
50845
+ const keyMap = "col" === type ? {
50846
+ totalCount: "colCount",
50847
+ frozenCount: "rightFrozenColCount",
50848
+ fitType: "width",
50849
+ tableSize: "tableNoFrameWidth",
50850
+ getSize: "getColWidth"
50851
+ } : {
50852
+ totalCount: "rowCount",
50853
+ frozenCount: "bottomFrozenRowCount",
50854
+ fitType: "height",
50855
+ tableSize: "tableNoFrameHeight",
50856
+ getSize: "getRowHeight"
50857
+ },
50858
+ tableSize = this[keyMap.tableSize];
50859
+ if (totalSize >= tableSize) return totalSize;
50860
+ const frozenStart = this[keyMap.totalCount] - this[keyMap.frozenCount];
50861
+ if (!isFinite(this[keyMap.totalCount]) || this[keyMap.frozenCount] <= 0 || frozenStart < 0) return totalSize;
50862
+ if (start > frozenStart || end < frozenStart || start === end || !(null === (_a = this.containerFit) || void 0 === _a ? void 0 : _a[keyMap.fitType])) return totalSize;
50863
+ const last = this[keyMap.totalCount] - 1;
50864
+ let size = tableSize;
50865
+ if (start > 0) for (let i = 0; i < start; i++) if (size -= this[keyMap.getSize](i), size <= 0) return totalSize;
50866
+ if (end !== last) for (let i = end + 1; i <= last; i++) if (size -= this[keyMap.getSize](i), size <= 0) return totalSize;
50867
+ return size;
50868
+ }
50807
50869
  getColWidthDefined(col) {
50808
50870
  var _a;
50809
50871
  const {
@@ -51296,8 +51358,9 @@
51296
51358
  return 0;
51297
51359
  }
51298
51360
  getDrawRange() {
51299
- const width = Math.min(this.tableNoFrameWidth, this.getAllColsWidth()),
51300
- height = Math.min(this.tableNoFrameHeight, this.getAllRowsHeight());
51361
+ var _a, _b;
51362
+ const width = (null === (_a = this.containerFit) || void 0 === _a ? void 0 : _a.width) ? this.tableNoFrameWidth : Math.min(this.tableNoFrameWidth, this.getAllColsWidth()),
51363
+ height = (null === (_b = this.containerFit) || void 0 === _b ? void 0 : _b.height) ? this.tableNoFrameHeight : Math.min(this.tableNoFrameHeight, this.getAllRowsHeight());
51301
51364
  return new Rect(this.tableX, this.tableY, width, height);
51302
51365
  }
51303
51366
  _getMouseAbstractPoint(evt) {