@creatorsn/vfluent3 0.3.99 → 0.3.100

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/vfluent3.js CHANGED
@@ -14265,16 +14265,18 @@ const go = /* @__PURE__ */ Ce(Vg, [["render", Ig]]), xg = { class: "list-view-he
14265
14265
  sliderRefreshInit() {
14266
14266
  this.timer.slider = setInterval(() => {
14267
14267
  var e, i, t;
14268
- if (this.thisSliderTarget) {
14269
- let s = this.thisSliderTarget, n = ((i = (e = this.$el) == null ? void 0 : e.getBoundingClientRect()) == null ? void 0 : i.top) || 0, r = ((t = s == null ? void 0 : s.getBoundingClientRect()) == null ? void 0 : t.top) || 0;
14270
- this.currentTop = r - n;
14271
- } else
14272
- this.currentTop = 0;
14273
- if (this.thisSliderTarget) {
14274
- let s = this.thisSliderTarget;
14275
- this.currentHeight = (s == null ? void 0 : s.clientHeight) || 0;
14276
- } else
14277
- this.currentHeight = 0;
14268
+ if (!(!this.$el || !this.thisSliderTarget)) {
14269
+ if (this.thisSliderTarget) {
14270
+ let s = this.thisSliderTarget, n = ((i = (e = this.$el) == null ? void 0 : e.getBoundingClientRect()) == null ? void 0 : i.top) || 0, r = ((t = s == null ? void 0 : s.getBoundingClientRect()) == null ? void 0 : t.top) || 0;
14271
+ this.currentTop = r - n;
14272
+ } else
14273
+ this.currentTop = 0;
14274
+ if (this.thisSliderTarget) {
14275
+ let s = this.thisSliderTarget;
14276
+ this.currentHeight = (s == null ? void 0 : s.clientHeight) || 0;
14277
+ } else
14278
+ this.currentHeight = 0;
14279
+ }
14278
14280
  }, 30);
14279
14281
  },
14280
14282
  dragOver(e, i) {