@everchron/ec-shards 14.8.1 → 14.8.3

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/ec-shards.js CHANGED
@@ -8110,13 +8110,15 @@ const ni = /* @__PURE__ */ k(Tu, [["render", Ou], ["__scopeId", "data-v-ca96e231
8110
8110
  setCellsFixedLeftOffset() {
8111
8111
  let e = document.querySelectorAll(".ecs-data-grid-head-cell-inner"), s;
8112
8112
  for (let t = 0; t < e.length; t++)
8113
- if (e[t].attributes["data-column"].value == this.computedId)
8114
- s = t;
8115
- else if (!_.isNil(__vueParentComponent) && !isNaN(s) && t > s && e[t].__vueParentComponent.ctx.fixedLeft && e[t].__vueParentComponent.ctx.cellFixedLeftOffset) {
8116
- let a = e[t - 1].offsetWidth;
8117
- e[t - 1].__vueParentComponent.ctx.cellFixedLeftOffset && (a += e[t - 1].__vueParentComponent.ctx.cellFixedLeftOffset), e[t].__vueParentComponent.ctx.setFixedLeftOffset(a), document.querySelectorAll('[data-column="' + e[t].__vueParentComponent.ctx.normalizedId.toLowerCase() + '-column-cell"]').forEach((i) => {
8118
- i.__vueParentComponent.ctx.setFixedLeftOffset(a);
8119
- });
8113
+ if (e[t]) {
8114
+ if (e[t].attributes["data-column"].value == this.computedId)
8115
+ s = t;
8116
+ else if (!_.isNil(__vueParentComponent) && !isNaN(s) && t > s && e[t].__vueParentComponent.ctx.fixedLeft && e[t].__vueParentComponent.ctx.cellFixedLeftOffset) {
8117
+ let a = e[t - 1].offsetWidth;
8118
+ e[t - 1].__vueParentComponent.ctx.cellFixedLeftOffset && (a += e[t - 1].__vueParentComponent.ctx.cellFixedLeftOffset), e[t].__vueParentComponent.ctx.setFixedLeftOffset(a), document.querySelectorAll('[data-column="' + e[t].__vueParentComponent.ctx.normalizedId.toLowerCase() + '-column-cell"]').forEach((i) => {
8119
+ i.__vueParentComponent.ctx.setFixedLeftOffset(a);
8120
+ });
8121
+ }
8120
8122
  }
8121
8123
  },
8122
8124
  setFixedLeftOffset(e) {
@@ -8270,7 +8272,7 @@ function Xu(e, s, t, a, n, i) {
8270
8272
  t.fixedLeftLast ? (o(), r("div", Yu)) : u("", !0)
8271
8273
  ], 14, Vu);
8272
8274
  }
8273
- const $k = /* @__PURE__ */ k(Au, [["render", Xu], ["__scopeId", "data-v-66de6074"]]), Ju = {
8275
+ const $k = /* @__PURE__ */ k(Au, [["render", Xu], ["__scopeId", "data-v-4e0fe51e"]]), Ju = {
8274
8276
  name: "ecs-data-grid-group",
8275
8277
  props: {
8276
8278
  /** Determines if this cell group should be shown. Avoid showing more than 1 group at the same time. */