@endge/ui-vue 0.25.1 → 0.25.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.
@@ -1,15 +1,15 @@
1
- import { a7 as W, a8 as B, a9 as U, h as a, aa as V, ab as E, ac as z, ad as F, ae as N, af as X, ag as K, ah as Y, r as x, c as v, N as Z, p as q, ai as J, aj as T, H, f as R, o as L, ak as D, al as Q, am as m, an as ee, ao as I, a0 as te, ap as re, aq as P, ar as M } from "./main-BP5C1P4E.js";
2
- import { L as ie, a as oe, g as k, t as le } from "./throttle-CaUDyxyU-CoHkeYqM.js";
3
- import { H as se, C as ne, F as ae } from "./viewport.helpers-CoCAvmZs-f555rwPU.js";
1
+ import { a8 as U, a9 as V, aa as F, h as d, ab as N, ac as k, u as P, ad as X, ae as K, af as Y, ag as $, ah as Z, ai as H, aj as q, ak as J, al as Q, am as ee, an as te, r as L, c as p, O as re, ao as ie, H as E, f as _, q as O, ap as T, aq as oe, ar as x, as as le, at as M, a1 as se, au as ne, av as G, aw as j } from "./main-DaAnRozo.js";
2
+ import { L as ae, a as de, g as I, t as ce } from "./throttle-3rhqdcLy-E1CC2r0m.js";
3
+ import { H as he, C as ge, F as ve } from "./viewport.helpers-CoCAvmZs-f555rwPU.js";
4
4
  /*!
5
5
  * Built by Revolist OU ❤️
6
6
  */
7
- const de = ({ column: e }) => {
7
+ const ue = ({ column: e }) => {
8
8
  var t;
9
9
  const r = { class: "sort-indicator" }, i = { class: (t = e == null ? void 0 : e.order) !== null && t !== void 0 ? t : "sort-off" }, o = { class: "sort-order-index" };
10
- return a("span", Object.assign({}, r), a("i", Object.assign({}, i)), e != null && e.sortIndex ? a("sup", Object.assign({}, o), e.sortIndex) : null);
10
+ return d("span", Object.assign({}, r), d("i", Object.assign({}, i)), e != null && e.sortIndex ? d("sup", Object.assign({}, o), e.sortIndex) : null);
11
11
  };
12
- var ce = function(e, t) {
12
+ var pe = function(e, t) {
13
13
  var r = {};
14
14
  for (var i in e)
15
15
  Object.prototype.hasOwnProperty.call(e, i) && t.indexOf(i) < 0 && (r[i] = e[i]);
@@ -18,18 +18,18 @@ var ce = function(e, t) {
18
18
  t.indexOf(i[o]) < 0 && Object.prototype.propertyIsEnumerable.call(e, i[o]) && (r[i[o]] = e[i[o]]);
19
19
  return r;
20
20
  };
21
- const j = 10, _ = (e, t) => {
22
- var { rowClass: r, index: i, size: o, start: l, depth: s, groupingLevel: d } = e, h = ce(e, ["rowClass", "index", "size", "start", "depth", "groupingLevel"]);
23
- const n = Object.assign(Object.assign(Object.assign({}, h), { [E]: i }), typeof d == "number" ? { "data-level": d } : {});
24
- return a("div", Object.assign({}, n, { class: `rgRow ${r || ""}`, style: {
21
+ const A = 10, y = (e, t) => {
22
+ var { rowClass: r, index: i, size: o, start: l, depth: s, groupingLevel: a } = e, h = pe(e, ["rowClass", "index", "size", "start", "depth", "groupingLevel"]);
23
+ const c = Object.assign(Object.assign(Object.assign({}, h), { [k]: i }), typeof a == "number" ? { "data-level": a } : {});
24
+ return d("div", Object.assign({}, c, { class: `rgRow ${r || ""}`, style: {
25
25
  height: `${o}px`,
26
26
  transform: `translateY(${l}px)`,
27
- paddingLeft: s ? `${j * s}px` : void 0
27
+ paddingLeft: s ? `${A * s}px` : void 0
28
28
  } }), t);
29
29
  };
30
- function $(e, t, r) {
30
+ function D(e, t, r) {
31
31
  var i;
32
- const o = new CustomEvent(Y, {
32
+ const o = new CustomEvent(te, {
33
33
  detail: {
34
34
  model: t,
35
35
  virtualIndex: r
@@ -39,61 +39,110 @@ function $(e, t, r) {
39
39
  });
40
40
  (i = e.target) === null || i === void 0 || i.dispatchEvent(o);
41
41
  }
42
- const he = (e) => {
43
- const { model: t, itemIndex: r, hasExpand: i, groupingCustomRenderer: o } = e, l = t[W], s = t[B], d = parseInt(t[U], 10) || 0, h = {
42
+ function fe(e, { name: t, expanded: r, depth: i }) {
43
+ const { additionalData: o, columnItems: l, groupingCellRenderer: s, hasExpand: a, itemIndex: h, model: c, providers: n, size: g, start: m, end: u } = e;
44
+ if (!s)
45
+ return [];
46
+ const v = n.viewport.get("renderOffset") || 0, w = n.data.get("source"), b = { itemIndex: h, size: g, start: m, end: u }, z = (f) => D(f, c, h);
47
+ return l.map((f) => {
48
+ const C = P(n.columns, f.itemIndex);
49
+ if (!C)
50
+ return null;
51
+ const S = X(C), R = {
52
+ prop: C.prop,
53
+ model: c,
54
+ data: w,
55
+ column: C,
56
+ rowIndex: h,
57
+ colIndex: f.itemIndex,
58
+ colType: n.colType,
59
+ type: n.type,
60
+ value: Y(c, C),
61
+ providers: n,
62
+ columnItem: f,
63
+ rowItem: b,
64
+ group: {
65
+ name: t,
66
+ depth: i,
67
+ expanded: r,
68
+ prop: c[K],
69
+ isLabelColumn: S,
70
+ canExpand: a,
71
+ onExpand: z
72
+ }
73
+ };
74
+ return d("div", {
75
+ key: f.itemIndex,
76
+ class: {
77
+ [Z]: !0,
78
+ groupingCell: !0,
79
+ groupingLabelCell: S
80
+ },
81
+ [$]: f.itemIndex,
82
+ [k]: h,
83
+ style: {
84
+ width: `${f.size}px`,
85
+ transform: `translateX(${f.start - v}px)`,
86
+ height: g ? `${g}px` : void 0
87
+ }
88
+ }, s(d, R, o));
89
+ });
90
+ }
91
+ const me = (e) => {
92
+ const { model: t, itemIndex: r, hasExpand: i, groupingCustomRenderer: o, groupingCellRenderer: l } = e, s = t[U], a = t[V], h = parseInt(t[F], 10) || 0, c = {
44
93
  rowClass: "groupingRow",
45
- depth: d,
46
- expanded: s
94
+ depth: h,
95
+ expanded: a
47
96
  };
48
- return o ? a(_, Object.assign({}, e, h), a("div", { onClick: (n) => $(n, t, r) }, o(a, Object.assign(Object.assign({}, e), {
97
+ return l ? d(y, Object.assign({ index: e.index, size: e.size, start: e.start }, c), fe(e, { name: s, expanded: a, depth: h })) : o ? d(y, Object.assign({}, e, c), d("div", { onClick: (n) => D(n, t, r) }, o(d, Object.assign(Object.assign({}, e), {
49
98
  colType: e.providers.colType,
50
- name: l,
51
- expanded: s,
52
- depth: d
53
- })))) : a(_, Object.assign({}, e, h), i && [
54
- a("button", { class: { [V]: !0 }, onClick: (n) => $(n, t, r) }, ge(s)),
55
- l
99
+ name: s,
100
+ expanded: a,
101
+ depth: h
102
+ })))) : d(y, Object.assign({}, e, c), i && [
103
+ d("button", { type: "button", class: { [N]: !0 }, onClick: (n) => D(n, t, r) }, we(a)),
104
+ String(s)
56
105
  ]);
57
- }, ge = (e = !1) => a("svg", { "aria-hidden": "true", style: { transform: `rotate(${e ? 0 : -90}deg)` }, focusable: "false", viewBox: "0 0 448 512" }, a("path", { fill: "currentColor", d: "M207.029 381.476L12.686 187.132c-9.373-9.373-9.373-24.569 0-33.941l22.667-22.667c9.357-9.357 24.522-9.375 33.901-.04L224 284.505l154.745-154.021c9.379-9.335 24.544-9.317 33.901.04l22.667 22.667c9.373 9.373 9.373 24.569 0 33.941L240.971 381.476c-9.373 9.372-24.569 9.372-33.942 0z" }));
58
- function ve(e) {
106
+ }, we = (e = !1) => d("svg", { "aria-hidden": "true", style: { transform: `rotate(${e ? 0 : -90}deg)` }, focusable: "false", viewBox: "0 0 448 512" }, d("path", { fill: "currentColor", d: "M207.029 381.476L12.686 187.132c-9.373-9.373-9.373-24.569 0-33.941l22.667-22.667c9.357-9.357 24.522-9.375 33.901-.04L224 284.505l154.745-154.021c9.379-9.335 24.544-9.317 33.901.04l22.667 22.667c9.373 9.373 9.373 24.569 0 33.941L240.971 381.476c-9.373 9.372-24.569 9.372-33.942 0z" }));
107
+ function Ce(e) {
59
108
  var t;
60
109
  const r = [], i = (t = e.schemaModel.column) === null || t === void 0 ? void 0 : t.cellTemplate;
61
110
  if (i)
62
- r.push(i(a, e.schemaModel, e.additionalData));
111
+ r.push(i(d, e.schemaModel, e.additionalData));
63
112
  else {
64
113
  if (!e.schemaModel.column)
65
- return !(z === null || z === void 0) && z.isDev && console.error("Investigate column problem.", e.schemaModel), "";
66
- e.schemaModel.column.rowDrag && F(e.schemaModel.column.rowDrag, e.schemaModel) && r.push(a("span", { class: X, onMouseDown: (o) => {
114
+ return !(H === null || H === void 0) && H.isDev && console.error("Investigate column problem.", e.schemaModel), "";
115
+ e.schemaModel.column.rowDrag && q(e.schemaModel.column.rowDrag, e.schemaModel) && r.push(d("span", { class: Q, onMouseDown: (o) => {
67
116
  var l;
68
117
  return (l = e.dragStartCell) === null || l === void 0 ? void 0 : l.emit({
69
118
  originalEvent: o,
70
119
  model: e.schemaModel
71
120
  });
72
- } }, a("span", { class: N }))), r.push(`${K(e.schemaModel.model, e.schemaModel.column)}`);
121
+ } }, d("span", { class: J }))), r.push(`${ee(e.schemaModel.model, e.schemaModel.column)}`);
73
122
  }
74
123
  return r;
75
124
  }
76
- const ue = ({ renderProps: e, cellProps: t }) => {
77
- const r = ve.bind(null, e);
78
- return a("div", Object.assign({}, t, { redraw: r }), r());
125
+ const be = ({ renderProps: e, cellProps: t }) => {
126
+ const r = Ce.bind(null, e);
127
+ return d("div", Object.assign({}, t, { redraw: r }), r());
79
128
  };
80
129
  /*!
81
130
  * Built by Revolist OU ❤️
82
131
  */
83
- class pe {
132
+ class xe {
84
133
  constructor() {
85
134
  this.currentRange = null;
86
135
  }
87
136
  selectionChange(t, r) {
88
137
  if (this.currentRange && r.forEach((i, o) => {
89
138
  var l;
90
- t && o >= t.y && o <= t.y1 || i && i.$elm$ instanceof HTMLElement && i.$elm$.classList.contains(m) && (i.$elm$.classList.remove(m), !((l = i.$attrs$) === null || l === void 0) && l.class.includes(m) && (i.$attrs$.class = i.$attrs$.class.replace(m, "")));
139
+ t && o >= t.y && o <= t.y1 || i && i.$elm$ instanceof HTMLElement && i.$elm$.classList.contains(x) && (i.$elm$.classList.remove(x), !((l = i.$attrs$) === null || l === void 0) && l.class.includes(x) && (i.$attrs$.class = i.$attrs$.class.replace(x, "")));
91
140
  }), t)
92
141
  for (let i = t.y; i <= t.y1; i++) {
93
142
  const o = r.get(i);
94
- if (o && o.$elm$ instanceof HTMLElement && !o.$elm$.classList.contains(m)) {
143
+ if (o && o.$elm$ instanceof HTMLElement && !o.$elm$.classList.contains(x)) {
95
144
  const l = o.$attrs$ = o.$attrs$ || {};
96
- l.class = (l.class || "") + " " + m, o.$elm$.classList.add(m);
145
+ l.class = (l.class || "") + " " + x, o.$elm$.classList.add(x);
97
146
  }
98
147
  }
99
148
  this.currentRange = t;
@@ -102,7 +151,7 @@ class pe {
102
151
  return this.currentRange && t >= this.currentRange.y && t <= this.currentRange.y1;
103
152
  }
104
153
  }
105
- function fe(e, t) {
154
+ function Se(e, t) {
106
155
  return new Promise((r) => {
107
156
  const i = document.createElement("vnode-html");
108
157
  e.appendChild(i), i.redraw = t, i.addEventListener("html", (o) => {
@@ -110,9 +159,9 @@ function fe(e, t) {
110
159
  });
111
160
  });
112
161
  }
113
- const me = () => `.revo-drag-icon{width:11px;opacity:0.8}.revo-drag-icon::before{content:"::";display:inline-block}.revo-alt-icon{-webkit-mask-image:url("data:image/svg+xml,%3C%3Fxml version='1.0' encoding='UTF-8'%3F%3E%3Csvg viewBox='0 0 384 383' xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink'%3E%3Cg%3E%3Cpath d='M192.4375,383 C197.424479,383 201.663411,381.254557 205.154297,377.763672 L205.154297,377.763672 L264.25,318.667969 C270.234375,312.683594 271.605794,306.075846 268.364258,298.844727 C265.122721,291.613607 259.51237,287.998047 251.533203,287.998047 L251.533203,287.998047 L213.382812,287.998047 L213.382812,212.445312 L288.935547,212.445312 L288.935547,250.595703 C288.935547,258.57487 292.551107,264.185221 299.782227,267.426758 C307.013346,270.668294 313.621094,269.296875 319.605469,263.3125 L319.605469,263.3125 L378.701172,204.216797 C382.192057,200.725911 383.9375,196.486979 383.9375,191.5 C383.9375,186.513021 382.192057,182.274089 378.701172,178.783203 L378.701172,178.783203 L319.605469,119.6875 C313.621094,114.201823 307.013346,112.955078 299.782227,115.947266 C292.551107,118.939453 288.935547,124.42513 288.935547,132.404297 L288.935547,132.404297 L288.935547,170.554688 L213.382812,170.554688 L213.382812,95.0019531 L251.533203,95.0019531 C259.51237,95.0019531 264.998047,91.3863932 267.990234,84.1552734 C270.982422,76.9241536 269.735677,70.3164062 264.25,64.3320312 L264.25,64.3320312 L205.154297,5.23632812 C201.663411,1.74544271 197.424479,0 192.4375,0 C187.450521,0 183.211589,1.74544271 179.720703,5.23632812 L179.720703,5.23632812 L120.625,64.3320312 C114.640625,70.3164062 113.269206,76.9241536 116.510742,84.1552734 C119.752279,91.3863932 125.36263,95.0019531 133.341797,95.0019531 L133.341797,95.0019531 L171.492188,95.0019531 L171.492188,170.554688 L95.9394531,170.554688 L95.9394531,132.404297 C95.9394531,124.42513 92.3238932,118.814779 85.0927734,115.573242 C77.8616536,112.331706 71.2539062,113.703125 65.2695312,119.6875 L65.2695312,119.6875 L6.17382812,178.783203 C2.68294271,182.274089 0.9375,186.513021 0.9375,191.5 C0.9375,196.486979 2.68294271,200.725911 6.17382812,204.216797 L6.17382812,204.216797 L65.2695312,263.3125 C71.2539062,268.798177 77.8616536,270.044922 85.0927734,267.052734 C92.3238932,264.060547 95.9394531,258.57487 95.9394531,250.595703 L95.9394531,250.595703 L95.9394531,212.445312 L171.492188,212.445312 L171.492188,287.998047 L133.341797,287.998047 C125.36263,287.998047 119.876953,291.613607 116.884766,298.844727 C113.892578,306.075846 115.139323,312.683594 120.625,318.667969 L120.625,318.667969 L179.720703,377.763672 C183.211589,381.254557 187.450521,383 192.4375,383 Z'%3E%3C/path%3E%3C/g%3E%3C/svg%3E");mask-image:url("data:image/svg+xml,%3C%3Fxml version='1.0' encoding='UTF-8'%3F%3E%3Csvg viewBox='0 0 384 383' xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink'%3E%3Cg%3E%3Cpath d='M192.4375,383 C197.424479,383 201.663411,381.254557 205.154297,377.763672 L205.154297,377.763672 L264.25,318.667969 C270.234375,312.683594 271.605794,306.075846 268.364258,298.844727 C265.122721,291.613607 259.51237,287.998047 251.533203,287.998047 L251.533203,287.998047 L213.382812,287.998047 L213.382812,212.445312 L288.935547,212.445312 L288.935547,250.595703 C288.935547,258.57487 292.551107,264.185221 299.782227,267.426758 C307.013346,270.668294 313.621094,269.296875 319.605469,263.3125 L319.605469,263.3125 L378.701172,204.216797 C382.192057,200.725911 383.9375,196.486979 383.9375,191.5 C383.9375,186.513021 382.192057,182.274089 378.701172,178.783203 L378.701172,178.783203 L319.605469,119.6875 C313.621094,114.201823 307.013346,112.955078 299.782227,115.947266 C292.551107,118.939453 288.935547,124.42513 288.935547,132.404297 L288.935547,132.404297 L288.935547,170.554688 L213.382812,170.554688 L213.382812,95.0019531 L251.533203,95.0019531 C259.51237,95.0019531 264.998047,91.3863932 267.990234,84.1552734 C270.982422,76.9241536 269.735677,70.3164062 264.25,64.3320312 L264.25,64.3320312 L205.154297,5.23632812 C201.663411,1.74544271 197.424479,0 192.4375,0 C187.450521,0 183.211589,1.74544271 179.720703,5.23632812 L179.720703,5.23632812 L120.625,64.3320312 C114.640625,70.3164062 113.269206,76.9241536 116.510742,84.1552734 C119.752279,91.3863932 125.36263,95.0019531 133.341797,95.0019531 L133.341797,95.0019531 L171.492188,95.0019531 L171.492188,170.554688 L95.9394531,170.554688 L95.9394531,132.404297 C95.9394531,124.42513 92.3238932,118.814779 85.0927734,115.573242 C77.8616536,112.331706 71.2539062,113.703125 65.2695312,119.6875 L65.2695312,119.6875 L6.17382812,178.783203 C2.68294271,182.274089 0.9375,186.513021 0.9375,191.5 C0.9375,196.486979 2.68294271,200.725911 6.17382812,204.216797 L6.17382812,204.216797 L65.2695312,263.3125 C71.2539062,268.798177 77.8616536,270.044922 85.0927734,267.052734 C92.3238932,264.060547 95.9394531,258.57487 95.9394531,250.595703 L95.9394531,250.595703 L95.9394531,212.445312 L171.492188,212.445312 L171.492188,287.998047 L133.341797,287.998047 C125.36263,287.998047 119.876953,291.613607 116.884766,298.844727 C113.892578,306.075846 115.139323,312.683594 120.625,318.667969 L120.625,318.667969 L179.720703,377.763672 C183.211589,381.254557 187.450521,383 192.4375,383 Z'%3E%3C/path%3E%3C/g%3E%3C/svg%3E");width:11px;height:11px;background-size:cover;background-repeat:no-repeat}.arrow-down{position:absolute;right:5px;top:0}.arrow-down svg{width:8px;margin-top:5px;margin-left:5px;opacity:0.4}.cell-value-wrapper{margin-right:10px;overflow:hidden;text-overflow:ellipsis}revogr-data{display:block;width:100%;position:relative}revogr-data .rgRow{position:absolute;width:100%;left:0}revogr-data .rgRow.groupingRow{font-weight:600;text-align:left}revogr-data .rgRow.groupingRow .group-expand{width:25px;height:100%;max-height:25px;margin-right:2px;background-color:transparent;border-color:transparent;vertical-align:middle;padding-left:5px;display:inline-flex}revogr-data .rgRow.groupingRow .group-expand svg{width:7px}revogr-data .revo-draggable{border:none;height:32px;display:inline-flex;outline:0;padding:0;font-size:0.8125rem;box-sizing:border-box;align-items:center;white-space:nowrap;vertical-align:middle;justify-content:center;text-decoration:none;width:24px;height:100%;cursor:pointer;display:inline-flex}revogr-data .revo-draggable:hover>.revo-drag-icon{opacity:1;zoom:1.2;font-weight:600}revogr-data .revo-draggable>.revo-drag-icon{pointer-events:none;transition:opacity 300ms cubic-bezier(0.4, 0, 0.2, 1) 0ms, zoom 300ms cubic-bezier(0.4, 0, 0.2, 1) 0ms}revogr-data .rgCell{top:0;left:0;position:absolute;box-sizing:border-box;height:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;outline:none}revogr-data .rgCell.align-center{text-align:center}revogr-data .rgCell.align-left{text-align:left}revogr-data .rgCell.align-right{text-align:right}`, we = class {
162
+ const Re = () => `.revo-drag-icon{width:11px;opacity:0.8}.revo-drag-icon::before{content:"::";display:inline-block}.revo-alt-icon{-webkit-mask-image:url("data:image/svg+xml,%3C%3Fxml version='1.0' encoding='UTF-8'%3F%3E%3Csvg viewBox='0 0 384 383' xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink'%3E%3Cg%3E%3Cpath d='M192.4375,383 C197.424479,383 201.663411,381.254557 205.154297,377.763672 L205.154297,377.763672 L264.25,318.667969 C270.234375,312.683594 271.605794,306.075846 268.364258,298.844727 C265.122721,291.613607 259.51237,287.998047 251.533203,287.998047 L251.533203,287.998047 L213.382812,287.998047 L213.382812,212.445312 L288.935547,212.445312 L288.935547,250.595703 C288.935547,258.57487 292.551107,264.185221 299.782227,267.426758 C307.013346,270.668294 313.621094,269.296875 319.605469,263.3125 L319.605469,263.3125 L378.701172,204.216797 C382.192057,200.725911 383.9375,196.486979 383.9375,191.5 C383.9375,186.513021 382.192057,182.274089 378.701172,178.783203 L378.701172,178.783203 L319.605469,119.6875 C313.621094,114.201823 307.013346,112.955078 299.782227,115.947266 C292.551107,118.939453 288.935547,124.42513 288.935547,132.404297 L288.935547,132.404297 L288.935547,170.554688 L213.382812,170.554688 L213.382812,95.0019531 L251.533203,95.0019531 C259.51237,95.0019531 264.998047,91.3863932 267.990234,84.1552734 C270.982422,76.9241536 269.735677,70.3164062 264.25,64.3320312 L264.25,64.3320312 L205.154297,5.23632812 C201.663411,1.74544271 197.424479,0 192.4375,0 C187.450521,0 183.211589,1.74544271 179.720703,5.23632812 L179.720703,5.23632812 L120.625,64.3320312 C114.640625,70.3164062 113.269206,76.9241536 116.510742,84.1552734 C119.752279,91.3863932 125.36263,95.0019531 133.341797,95.0019531 L133.341797,95.0019531 L171.492188,95.0019531 L171.492188,170.554688 L95.9394531,170.554688 L95.9394531,132.404297 C95.9394531,124.42513 92.3238932,118.814779 85.0927734,115.573242 C77.8616536,112.331706 71.2539062,113.703125 65.2695312,119.6875 L65.2695312,119.6875 L6.17382812,178.783203 C2.68294271,182.274089 0.9375,186.513021 0.9375,191.5 C0.9375,196.486979 2.68294271,200.725911 6.17382812,204.216797 L6.17382812,204.216797 L65.2695312,263.3125 C71.2539062,268.798177 77.8616536,270.044922 85.0927734,267.052734 C92.3238932,264.060547 95.9394531,258.57487 95.9394531,250.595703 L95.9394531,250.595703 L95.9394531,212.445312 L171.492188,212.445312 L171.492188,287.998047 L133.341797,287.998047 C125.36263,287.998047 119.876953,291.613607 116.884766,298.844727 C113.892578,306.075846 115.139323,312.683594 120.625,318.667969 L120.625,318.667969 L179.720703,377.763672 C183.211589,381.254557 187.450521,383 192.4375,383 Z'%3E%3C/path%3E%3C/g%3E%3C/svg%3E");mask-image:url("data:image/svg+xml,%3C%3Fxml version='1.0' encoding='UTF-8'%3F%3E%3Csvg viewBox='0 0 384 383' xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink'%3E%3Cg%3E%3Cpath d='M192.4375,383 C197.424479,383 201.663411,381.254557 205.154297,377.763672 L205.154297,377.763672 L264.25,318.667969 C270.234375,312.683594 271.605794,306.075846 268.364258,298.844727 C265.122721,291.613607 259.51237,287.998047 251.533203,287.998047 L251.533203,287.998047 L213.382812,287.998047 L213.382812,212.445312 L288.935547,212.445312 L288.935547,250.595703 C288.935547,258.57487 292.551107,264.185221 299.782227,267.426758 C307.013346,270.668294 313.621094,269.296875 319.605469,263.3125 L319.605469,263.3125 L378.701172,204.216797 C382.192057,200.725911 383.9375,196.486979 383.9375,191.5 C383.9375,186.513021 382.192057,182.274089 378.701172,178.783203 L378.701172,178.783203 L319.605469,119.6875 C313.621094,114.201823 307.013346,112.955078 299.782227,115.947266 C292.551107,118.939453 288.935547,124.42513 288.935547,132.404297 L288.935547,132.404297 L288.935547,170.554688 L213.382812,170.554688 L213.382812,95.0019531 L251.533203,95.0019531 C259.51237,95.0019531 264.998047,91.3863932 267.990234,84.1552734 C270.982422,76.9241536 269.735677,70.3164062 264.25,64.3320312 L264.25,64.3320312 L205.154297,5.23632812 C201.663411,1.74544271 197.424479,0 192.4375,0 C187.450521,0 183.211589,1.74544271 179.720703,5.23632812 L179.720703,5.23632812 L120.625,64.3320312 C114.640625,70.3164062 113.269206,76.9241536 116.510742,84.1552734 C119.752279,91.3863932 125.36263,95.0019531 133.341797,95.0019531 L133.341797,95.0019531 L171.492188,95.0019531 L171.492188,170.554688 L95.9394531,170.554688 L95.9394531,132.404297 C95.9394531,124.42513 92.3238932,118.814779 85.0927734,115.573242 C77.8616536,112.331706 71.2539062,113.703125 65.2695312,119.6875 L65.2695312,119.6875 L6.17382812,178.783203 C2.68294271,182.274089 0.9375,186.513021 0.9375,191.5 C0.9375,196.486979 2.68294271,200.725911 6.17382812,204.216797 L6.17382812,204.216797 L65.2695312,263.3125 C71.2539062,268.798177 77.8616536,270.044922 85.0927734,267.052734 C92.3238932,264.060547 95.9394531,258.57487 95.9394531,250.595703 L95.9394531,250.595703 L95.9394531,212.445312 L171.492188,212.445312 L171.492188,287.998047 L133.341797,287.998047 C125.36263,287.998047 119.876953,291.613607 116.884766,298.844727 C113.892578,306.075846 115.139323,312.683594 120.625,318.667969 L120.625,318.667969 L179.720703,377.763672 C183.211589,381.254557 187.450521,383 192.4375,383 Z'%3E%3C/path%3E%3C/g%3E%3C/svg%3E");width:11px;height:11px;background-size:cover;background-repeat:no-repeat}.arrow-down{position:absolute;right:5px;top:0}.arrow-down svg{width:8px;margin-top:5px;margin-left:5px;opacity:0.4}.cell-value-wrapper{margin-right:10px;overflow:hidden;text-overflow:ellipsis}revogr-data{display:block;width:100%;position:relative}revogr-data .rgRow{position:absolute;width:100%;left:0}revogr-data .rgRow>.row-resize-handle{position:absolute;z-index:2;right:0;bottom:-3px;left:0;height:7px;cursor:row-resize;touch-action:none;user-select:none}revogr-data .rgRow.groupingRow{font-weight:600;text-align:left}revogr-data .rgRow.groupingRow .group-expand{width:25px;height:100%;max-height:25px;margin-right:2px;background-color:transparent;border-color:transparent;vertical-align:middle;padding-left:5px;display:inline-flex}revogr-data .rgRow.groupingRow .group-expand svg{width:7px}revogr-data .revo-draggable{border:none;height:32px;display:inline-flex;outline:0;padding:0;font-size:0.8125rem;box-sizing:border-box;align-items:center;white-space:nowrap;vertical-align:middle;justify-content:center;text-decoration:none;width:24px;height:100%;cursor:pointer;display:inline-flex}revogr-data .revo-draggable:hover>.revo-drag-icon{opacity:1;zoom:1.2;font-weight:600}revogr-data .revo-draggable>.revo-drag-icon{pointer-events:none;transition:opacity 300ms cubic-bezier(0.4, 0, 0.2, 1) 0ms, zoom 300ms cubic-bezier(0.4, 0, 0.2, 1) 0ms}revogr-data .rgCell{top:0;left:0;position:absolute;box-sizing:border-box;height:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;outline:none}revogr-data .rgCell.align-center{text-align:center}revogr-data .rgCell.align-left{text-align:left}revogr-data .rgCell.align-right{text-align:right}`, ze = class {
114
163
  constructor(e) {
115
- x(this, e), this.beforerowrender = v(this, "beforerowrender", 7), this.afterrender = v(this, "afterrender", 7), this.beforeCellRender = v(this, "beforecellrender", 7), this.beforeDataRender = v(this, "beforedatarender", 7), this.dragStartCell = v(this, "dragstartcell", 7), this.jobsBeforeRender = [], this.renderedRows = /* @__PURE__ */ new Map();
164
+ L(this, e), this.beforerowrender = p(this, "beforerowrender", 7), this.afterrender = p(this, "afterrender", 7), this.beforeCellRender = p(this, "beforecellrender", 7), this.beforeDataRender = p(this, "beforedatarender", 7), this.dragStartCell = p(this, "dragstartcell", 7), this.jobsBeforeRender = [], this.renderedRows = /* @__PURE__ */ new Map();
116
165
  }
117
166
  /**
118
167
  * Pointed cell update.
@@ -121,7 +170,7 @@ const me = () => `.revo-drag-icon{width:11px;opacity:0.8}.revo-drag-icon::before
121
170
  var t, r, i;
122
171
  const o = (r = (t = this.renderedRows.get(e.row)) === null || t === void 0 ? void 0 : t.$children$) === null || r === void 0 ? void 0 : r[e.col];
123
172
  if (!((i = o == null ? void 0 : o.$attrs$) === null || i === void 0) && i.redraw) {
124
- const l = await fe(this.element, o.$attrs$.redraw);
173
+ const l = await Se(this.element, o.$attrs$.redraw);
125
174
  o.$elm$.innerHTML = l.html, o.$key$ = Math.random();
126
175
  }
127
176
  }
@@ -133,7 +182,7 @@ const me = () => `.revo-drag-icon{width:11px;opacity:0.8}.revo-drag-icon::before
133
182
  }
134
183
  onStoreChange() {
135
184
  var e, t;
136
- (e = this.columnService) === null || e === void 0 || e.destroy(), this.columnService = new Z(this.dataStore, this.colData), this.providers = {
185
+ (e = this.columnService) === null || e === void 0 || e.destroy(), this.columnService = new re(this.dataStore, this.colData), this.providers = {
137
186
  type: this.type,
138
187
  colType: this.colType,
139
188
  readonly: this.readonly,
@@ -145,7 +194,7 @@ const me = () => `.revo-drag-icon{width:11px;opacity:0.8}.revo-drag-icon::before
145
194
  }, (t = this.rangeUnsubscribe) === null || t === void 0 || t.call(this), this.rangeUnsubscribe = this.rowSelectionStore.onChange("range", (r) => this.rowHighlightPlugin.selectionChange(r, this.renderedRows));
146
195
  }
147
196
  connectedCallback() {
148
- this.rowHighlightPlugin = new pe(), this.onStoreChange();
197
+ this.rowHighlightPlugin = new xe(), this.onStoreChange();
149
198
  }
150
199
  disconnectedCallback() {
151
200
  var e, t;
@@ -169,57 +218,62 @@ const me = () => `.revo-drag-icon{width:11px;opacity:0.8}.revo-drag-icon::before
169
218
  const r = this.viewportCol.get("items");
170
219
  if (!r.length)
171
220
  return;
172
- const i = [], o = this.dataStore.get("groupingDepth"), l = this.dataStore.get("groupingCustomRenderer"), s = this.columnService.hasGrouping ? o : 0, d = this.viewportRow.get("renderOffset") || 0, h = this.viewportCol.get("renderOffset") || 0;
221
+ const i = [], o = this.dataStore.get("groupingDepth"), l = this.dataStore.get("groupingCustomRenderer"), s = this.dataStore.get("groupingCellRenderer"), a = this.columnService.hasGrouping ? o : 0, h = this.viewportRow.get("renderOffset") || 0, c = this.viewportCol.get("renderOffset") || 0;
173
222
  for (let n of t) {
174
- const c = q(this.dataStore, n.itemIndex);
175
- if (J(c)) {
176
- const g = Object.assign(Object.assign({}, n), {
177
- start: n.start - d,
223
+ const g = P(this.dataStore, n.itemIndex);
224
+ if (ie(g)) {
225
+ const w = Object.assign(Object.assign({}, n), {
226
+ start: n.start - h,
178
227
  index: n.itemIndex,
179
- model: c,
228
+ model: g,
180
229
  groupingCustomRenderer: l,
230
+ groupingCellRenderer: s,
231
+ additionalData: this.additionalData,
181
232
  // Only show expand button if grouping is enabled and not in row headers
182
233
  hasExpand: this.columnService.hasGrouping && this.colType !== "rowHeaders",
183
234
  columnItems: r,
184
235
  providers: this.providers
185
- });
186
- i.push(a(he, Object.assign({}, g)));
236
+ }), b = d(me, Object.assign({}, w));
237
+ this.triggerBeforeRowRender(b, n, g), i.push(b), this.renderedRows.set(n.itemIndex, b);
187
238
  continue;
188
239
  }
189
- const p = [];
190
- for (let g of r) {
191
- const w = Object.assign(Object.assign({}, this.columnService.rowDataModel(n.itemIndex, g.itemIndex)), { providers: this.providers }), b = this.triggerBeforeCellRender(w, n, g);
192
- if (b.defaultPrevented)
240
+ const m = [];
241
+ for (let w of r) {
242
+ const b = Object.assign(Object.assign({}, this.columnService.rowDataModel(n.itemIndex, w.itemIndex)), { providers: this.providers }), z = this.triggerBeforeCellRender(b, n, w);
243
+ if (z.defaultPrevented)
193
244
  continue;
194
- const { detail: { column: C, row: S, model: O } } = b, y = {
195
- [T]: C.itemIndex,
196
- [E]: S.itemIndex,
245
+ const { detail: { column: f, row: C, model: S } } = z, R = {
246
+ [$]: f.itemIndex,
247
+ [k]: C.itemIndex,
197
248
  style: {
198
- width: `${C.size}px`,
199
- transform: `translateX(${C.start - h}px)`,
200
- height: S.size ? `${S.size}px` : void 0
249
+ width: `${f.size}px`,
250
+ transform: `translateX(${f.start - c}px)`,
251
+ height: C.size ? `${C.size}px` : void 0
201
252
  }
202
253
  };
203
- s && !C.itemIndex && y.style && (y.style.paddingLeft = `${j * s}px`);
204
- const G = this.columnService.mergeProperties(S.itemIndex, C.itemIndex, y, O), A = a(ue, { renderProps: {
205
- schemaModel: O,
254
+ a && !f.itemIndex && R.style && (R.style.paddingLeft = `${A * a}px`);
255
+ const W = this.columnService.mergeProperties(C.itemIndex, f.itemIndex, R, S), B = d(be, { renderProps: {
256
+ schemaModel: S,
206
257
  additionalData: this.additionalData,
207
258
  dragStartCell: this.dragStartCell
208
- }, cellProps: G });
209
- p.push(A);
259
+ }, cellProps: W });
260
+ m.push(B);
210
261
  }
211
- let f = this.rowClass ? this.columnService.getRowClass(n.itemIndex, this.rowClass) : "";
212
- this.rowHighlightPlugin.isRowFocused(n.itemIndex) && (f += ` ${m}`);
213
- const u = a(_, { index: n.itemIndex, rowClass: f, size: n.size, start: n.start - d, groupingLevel: s || void 0 }, p);
214
- this.beforerowrender.emit({
215
- node: u,
216
- item: n,
217
- model: c,
218
- colType: this.columnService.type,
219
- rowType: this.type
220
- }), i.push(u), this.renderedRows.set(n.itemIndex, u);
262
+ let u = this.rowClass ? this.columnService.getRowClass(n.itemIndex, this.rowClass) : "";
263
+ this.rowHighlightPlugin.isRowFocused(n.itemIndex) && (u += ` ${x}`);
264
+ const v = d(y, { index: n.itemIndex, rowClass: u, size: n.size, start: n.start - h, groupingLevel: a || void 0 }, m);
265
+ this.triggerBeforeRowRender(v, n, g), i.push(v), this.renderedRows.set(n.itemIndex, v);
221
266
  }
222
- return a(H, null, a("slot", null), i);
267
+ return d(E, null, d("slot", null), i);
268
+ }
269
+ triggerBeforeRowRender(e, t, r) {
270
+ this.beforerowrender.emit({
271
+ node: e,
272
+ item: t,
273
+ model: r,
274
+ colType: this.colType,
275
+ rowType: this.type
276
+ });
223
277
  }
224
278
  triggerBeforeCellRender(e, t, r) {
225
279
  const i = {
@@ -232,7 +286,7 @@ const me = () => `.revo-drag-icon{width:11px;opacity:0.8}.revo-drag-icon::before
232
286
  return this.beforeCellRender.emit(i);
233
287
  }
234
288
  get element() {
235
- return R(this);
289
+ return _(this);
236
290
  }
237
291
  static get watchers() {
238
292
  return {
@@ -245,55 +299,55 @@ const me = () => `.revo-drag-icon{width:11px;opacity:0.8}.revo-drag-icon::before
245
299
  };
246
300
  }
247
301
  };
248
- we.style = me();
249
- const Ce = (e) => {
250
- var t, r, i, o, l, s, d, h, n, c;
251
- const p = !!(!((t = e.data) === null || t === void 0) && t.sortable || !((r = e.data) === null || r === void 0) && r.order || !((i = e.data) === null || i === void 0) && i.sortIndex), f = {
252
- [M]: !0,
253
- [ee]: !!(!((o = e.data) === null || o === void 0) && o.sortable)
302
+ ze.style = Re();
303
+ const ye = (e) => {
304
+ var t, r, i, o, l, s, a, h, c, n;
305
+ const g = !!(!((t = e.data) === null || t === void 0) && t.sortable || !((r = e.data) === null || r === void 0) && r.order || !((i = e.data) === null || i === void 0) && i.sortIndex), m = {
306
+ [j]: !0,
307
+ [le]: !!(!((o = e.data) === null || o === void 0) && o.sortable)
254
308
  };
255
- !((l = e.data) === null || l === void 0) && l.order && (f[e.data.order] = !0);
309
+ !((l = e.data) === null || l === void 0) && l.order && (m[e.data.order] = !0);
256
310
  const u = {
257
- key: String((d = (s = e.data) === null || s === void 0 ? void 0 : s.prop) !== null && d !== void 0 ? d : e.column.itemIndex),
258
- [T]: e.column.itemIndex,
311
+ key: String((a = (s = e.data) === null || s === void 0 ? void 0 : s.prop) !== null && a !== void 0 ? a : e.column.itemIndex),
312
+ [$]: e.column.itemIndex,
259
313
  canResize: e.canResize,
260
- minWidth: ((h = e.data) === null || h === void 0 ? void 0 : h.minSize) || I,
261
- maxWidth: (n = e.data) === null || n === void 0 ? void 0 : n.maxSize,
314
+ minWidth: ((h = e.data) === null || h === void 0 ? void 0 : h.minSize) || M,
315
+ maxWidth: (c = e.data) === null || c === void 0 ? void 0 : c.maxSize,
262
316
  active: e.active || ["r"],
263
- class: f,
317
+ class: m,
264
318
  style: {
265
319
  width: `${e.column.size}px`,
266
320
  transform: `translateX(${e.column.start - (e.renderOffset || 0)}px)`
267
321
  },
268
322
  onResize: e.onResize,
269
- onDblClick(g) {
323
+ onDblClick(v) {
270
324
  var w;
271
325
  (w = e.onDblClick) === null || w === void 0 || w.call(e, {
272
326
  column: e.data,
273
327
  index: e.column.itemIndex,
274
- originalEvent: g,
328
+ originalEvent: v,
275
329
  providers: e.data.providers
276
330
  });
277
331
  },
278
- onClick(g) {
279
- g.defaultPrevented || !e.onClick || e.onClick({
332
+ onClick(v) {
333
+ v.defaultPrevented || !e.onClick || e.onClick({
280
334
  column: e.data,
281
335
  index: e.column.itemIndex,
282
- originalEvent: g,
336
+ originalEvent: v,
283
337
  providers: e.data.providers
284
338
  });
285
339
  }
286
340
  };
287
- return e.range && e.column.itemIndex >= e.range.x && e.column.itemIndex <= e.range.x1 && typeof u.class == "object" && (u.class[te] = !0), a(P, { data: e.data, props: u, additionalData: e.additionalData }, p ? a(de, { column: e.data }) : null, e.canFilter && ((c = e.data) === null || c === void 0 ? void 0 : c.filter) !== !1 ? a(re, { column: e.data }) : "");
288
- }, be = (e) => {
341
+ return e.range && e.column.itemIndex >= e.range.x && e.column.itemIndex <= e.range.x1 && typeof u.class == "object" && (u.class[se] = !0), d(G, { data: e.data, props: u, additionalData: e.additionalData }, g ? d(ue, { column: e.data }) : null, e.canFilter && ((n = e.data) === null || n === void 0 ? void 0 : n.filter) !== !1 ? d(ne, { column: e.data }) : "");
342
+ }, Le = (e) => {
289
343
  const t = {
290
344
  key: `${e.group.name}-${e.group.indexes.join("-")}`,
291
345
  canResize: e.canResize,
292
- minWidth: e.group.indexes.length * I,
346
+ minWidth: e.group.indexes.length * M,
293
347
  maxWidth: 0,
294
348
  active: e.active || ["r"],
295
349
  class: {
296
- [M]: !0
350
+ [j]: !0
297
351
  },
298
352
  style: {
299
353
  transform: `translateX(${e.start - (e.renderOffset || 0)}px)`,
@@ -301,10 +355,10 @@ const Ce = (e) => {
301
355
  },
302
356
  onResize: e.onResize
303
357
  };
304
- return a(P, { data: Object.assign(Object.assign({}, e.group), { prop: "", providers: e.providers, index: e.start }), props: t, additionalData: e.additionalData });
305
- }, Se = () => '@charset "UTF-8";revogr-header{position:relative;z-index:5;display:block}revogr-header .header-rgRow{display:block;position:relative}revogr-header .header-rgRow.group{z-index:0}revogr-header .group-rgRow{position:relative;overflow:hidden}revogr-header .rgHeaderCell{position:absolute;box-sizing:border-box;height:100%;z-index:1;display:flex}revogr-header .rgHeaderCell.align-center{text-align:center}revogr-header .rgHeaderCell.align-left{text-align:left}revogr-header .rgHeaderCell.align-right{text-align:right}revogr-header .rgHeaderCell.sortable{cursor:pointer}revogr-header .rgHeaderCell .sort-indicator{display:inline-flex;align-items:flex-start;gap:1px}revogr-header .rgHeaderCell .sort-indicator i.asc:after,revogr-header .rgHeaderCell .sort-indicator i.desc:after{font-size:13px}revogr-header .rgHeaderCell .sort-indicator i.asc:after{content:"↑"}revogr-header .rgHeaderCell .sort-indicator i.desc:after{content:"↓"}revogr-header .rgHeaderCell .sort-indicator .sort-order-index{font-size:10px;line-height:1;top:0}revogr-header .rgHeaderCell.active{z-index:10}revogr-header .rgHeaderCell.active .resizable{background-color:deepskyblue}revogr-header .rgHeaderCell .header-content{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;flex-grow:1}revogr-header .rgHeaderCell .resizable{display:block;position:absolute;z-index:90;touch-action:none;user-select:none}revogr-header .rgHeaderCell .resizable:hover{background-color:deepskyblue}revogr-header .rgHeaderCell>.resizable-r{cursor:ew-resize;width:6px;right:0;top:0;height:100%}revogr-header .rgHeaderCell>.resizable-rb{cursor:se-resize;width:6px;height:6px;right:0;bottom:0}revogr-header .rgHeaderCell>.resizable-b{cursor:s-resize;height:6px;bottom:0;width:100%;left:0}revogr-header .rgHeaderCell>.resizable-lb{cursor:sw-resize;width:6px;height:6px;left:0;bottom:0}revogr-header .rgHeaderCell>.resizable-l{cursor:w-resize;width:6px;left:0;height:100%;top:0}revogr-header .rgHeaderCell>.resizable-lt{cursor:nw-resize;width:6px;height:6px;left:0;top:0}revogr-header .rgHeaderCell>.resizable-t{cursor:n-resize;height:6px;top:0;width:100%;left:0}revogr-header .rgHeaderCell>.resizable-rt{cursor:ne-resize;width:6px;height:6px;right:0;top:0}revogr-header .rv-filter{visibility:hidden}', xe = class {
358
+ return d(G, { data: Object.assign(Object.assign({}, e.group), { prop: "", providers: e.providers, index: e.start }), props: t, additionalData: e.additionalData });
359
+ }, _e = () => '@charset "UTF-8";revogr-header{position:relative;z-index:5;display:block}revogr-header .header-rgRow{display:block;position:relative}revogr-header .header-rgRow.group{z-index:0}revogr-header .group-rgRow{position:relative;overflow:hidden}revogr-header .rgHeaderCell{position:absolute;box-sizing:border-box;height:100%;z-index:1;display:flex;text-align:var(--rg-theme-header-text-align, center)}revogr-header .rgHeaderCell.align-center{text-align:center}revogr-header .rgHeaderCell.align-left{text-align:left}revogr-header .rgHeaderCell.align-right{text-align:right}revogr-header .rgHeaderCell.sortable{cursor:pointer}revogr-header .rgHeaderCell .sort-indicator{display:inline-flex;align-items:flex-start;gap:1px}revogr-header .rgHeaderCell .sort-indicator i.asc:after,revogr-header .rgHeaderCell .sort-indicator i.desc:after{font-size:13px}revogr-header .rgHeaderCell .sort-indicator i.asc:after{content:"↑"}revogr-header .rgHeaderCell .sort-indicator i.desc:after{content:"↓"}revogr-header .rgHeaderCell .sort-indicator .sort-order-index{font-size:10px;line-height:1;top:0}revogr-header .rgHeaderCell.active{z-index:10}revogr-header .rgHeaderCell.active .resizable{background-color:var(--rg-theme-header-resize-hover)}revogr-header .rgHeaderCell .header-content{position:absolute;z-index:0;inset:0;box-sizing:border-box;padding:inherit;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;flex-grow:1}revogr-header .rgHeaderCell>span:first-of-type{position:relative;z-index:1;margin-left:auto}revogr-header .rgHeaderCell .resizable{display:block;position:absolute;z-index:90;touch-action:none;user-select:none}revogr-header .rgHeaderCell .resizable:hover{background-color:var(--rg-theme-header-resize-hover)}revogr-header .rgHeaderCell>.resizable-r{cursor:ew-resize;width:6px;right:0;top:0;height:100%}revogr-header .rgHeaderCell>.resizable-rb{cursor:se-resize;width:6px;height:6px;right:0;bottom:0}revogr-header .rgHeaderCell>.resizable-b{cursor:s-resize;height:6px;bottom:0;width:100%;left:0}revogr-header .rgHeaderCell>.resizable-lb{cursor:sw-resize;width:6px;height:6px;left:0;bottom:0}revogr-header .rgHeaderCell>.resizable-l{cursor:w-resize;width:6px;left:0;height:100%;top:0}revogr-header .rgHeaderCell>.resizable-lt{cursor:nw-resize;width:6px;height:6px;left:0;top:0}revogr-header .rgHeaderCell>.resizable-t{cursor:n-resize;height:6px;top:0;width:100%;left:0}revogr-header .rgHeaderCell>.resizable-rt{cursor:ne-resize;width:6px;height:6px;right:0;top:0}revogr-header .rv-filter{visibility:hidden}', He = class {
306
360
  constructor(e) {
307
- x(this, e), this.initialHeaderClick = v(this, "beforeheaderclick", 7), this.headerresize = v(this, "headerresize", 7), this.beforeResize = v(this, "beforeheaderresize", 7), this.headerdblClick = v(this, "headerdblclick", 7), this.beforeHeaderRender = v(this, "beforeheaderrender", 7), this.beforeGroupHeaderRender = v(this, "beforegroupheaderrender", 7), this.afterHeaderRender = v(this, "afterheaderrender", 7), this.groupingDepth = 0, this.additionalData = {};
361
+ L(this, e), this.initialHeaderClick = p(this, "beforeheaderclick", 7), this.headerresize = p(this, "headerresize", 7), this.beforeResize = p(this, "beforeheaderresize", 7), this.headerdblClick = p(this, "headerdblclick", 7), this.beforeHeaderRender = p(this, "beforeheaderrender", 7), this.beforeGroupHeaderRender = p(this, "beforegroupheaderrender", 7), this.afterHeaderRender = p(this, "afterheaderrender", 7), this.groupingDepth = 0, this.additionalData = {};
308
362
  }
309
363
  onResize({ width: e }, t) {
310
364
  const r = this.colData[t];
@@ -315,7 +369,7 @@ const Ce = (e) => {
315
369
  onResizeGroup(e, t, r) {
316
370
  const i = {}, o = e / (r - t + 1);
317
371
  for (let l = t; l <= r; l++) {
318
- const s = L(this.dimensionCol.state, l);
372
+ const s = O(this.dimensionCol.state, l);
319
373
  i[l] = s.end - s.start + o;
320
374
  }
321
375
  this.headerresize.emit(i);
@@ -327,30 +381,30 @@ const Ce = (e) => {
327
381
  var e;
328
382
  const t = this.viewportCol.get("items"), r = (e = this.selectionStore) === null || e === void 0 ? void 0 : e.get("range"), { cells: i } = this.renderHeaderColumns(t, r), o = this.renderGroupingColumns();
329
383
  return [
330
- a("div", { key: "3cc466db6bc4df0cd61c47a22c3a0473318e5dd8", class: "group-rgRow" }, o),
331
- a("div", { key: "9742a3fa4d4b75073aef5544806f42386ebffdea", class: `${D} ${Q}` }, i)
384
+ d("div", { key: "3cc466db6bc4df0cd61c47a22c3a0473318e5dd8", class: "group-rgRow" }, o),
385
+ d("div", { key: "9742a3fa4d4b75073aef5544806f42386ebffdea", class: `${T} ${oe}` }, i)
332
386
  ];
333
387
  }
334
388
  renderHeaderColumns(e, t) {
335
389
  const r = [], i = this.viewportCol.get("renderOffset") || 0;
336
390
  for (let s of e) {
337
- const d = this.colData[s.itemIndex], h = {
391
+ const a = this.colData[s.itemIndex], h = {
338
392
  range: t,
339
393
  column: s,
340
- data: Object.assign(Object.assign({}, d), { index: s.itemIndex, providers: this.providers }),
394
+ data: Object.assign(Object.assign({}, a), { index: s.itemIndex, providers: this.providers }),
341
395
  canFilter: !!this.columnFilter,
342
396
  canResize: this.canResize,
343
397
  renderOffset: i,
344
398
  active: this.resizeHandler,
345
399
  additionalData: this.additionalData,
346
- onResize: (c) => this.onResize(c, s.itemIndex),
347
- onDblClick: (c) => this.headerdblClick.emit(c),
348
- onClick: (c) => this.initialHeaderClick.emit(c)
349
- }, n = this.beforeHeaderRender.emit(h);
350
- n.defaultPrevented || r.push(n.detail);
400
+ onResize: (n) => this.onResize(n, s.itemIndex),
401
+ onDblClick: (n) => this.headerdblClick.emit(n),
402
+ onClick: (n) => this.initialHeaderClick.emit(n)
403
+ }, c = this.beforeHeaderRender.emit(h);
404
+ c.defaultPrevented || r.push(c.detail);
351
405
  }
352
406
  const o = this.getDuplicateHeaderProps(r);
353
- return { cells: r.map((s) => a(Ce, Object.assign({ key: this.getHeaderCellKey(s.data, this.type, o) }, s))) };
407
+ return { cells: r.map((s) => d(ye, Object.assign({ key: this.getHeaderCellKey(s.data, this.type, o) }, s))) };
354
408
  }
355
409
  renderGroupingColumns() {
356
410
  const e = this.getVisibleGroupRange();
@@ -359,10 +413,10 @@ const Ce = (e) => {
359
413
  renderGroupRow(e, t) {
360
414
  return [
361
415
  ...(this.groups[e] || []).map((i) => this.renderGroupColumn(i, e, t)).filter((i) => !!i),
362
- a("div", {
416
+ d("div", {
363
417
  key: `group-row-${e}`,
364
418
  class: {
365
- [D]: !0,
419
+ [T]: !0,
366
420
  group: !0
367
421
  }
368
422
  })
@@ -379,22 +433,22 @@ const Ce = (e) => {
379
433
  active: this.resizeHandler,
380
434
  canResize: this.canResize,
381
435
  additionalData: this.additionalData,
382
- onResize: (n) => {
383
- var c;
384
- return i ? this.onResizeGroup((c = n.changedX) !== null && c !== void 0 ? c : 0, i.startIndex, i.endIndex) : void 0;
436
+ onResize: (c) => {
437
+ var n;
438
+ return i ? this.onResizeGroup((n = c.changedX) !== null && n !== void 0 ? n : 0, i.startIndex, i.endIndex) : void 0;
385
439
  }
386
440
  }, s = this.beforeGroupHeaderRender.emit(l);
387
441
  if (s.defaultPrevented)
388
442
  return;
389
- const d = this.getGroupIndexRange(s.detail.group);
390
- if (!d || !r || !Re(d.startIndex, d.endIndex, r))
443
+ const a = this.getGroupIndexRange(s.detail.group);
444
+ if (!a || !r || !Oe(a.startIndex, a.endIndex, r))
391
445
  return;
392
- s.detail.onResize === l.onResize && (s.detail.onResize = (n) => {
393
- var c;
394
- return this.onResizeGroup((c = n.changedX) !== null && c !== void 0 ? c : 0, d.startIndex, d.endIndex);
446
+ s.detail.onResize === l.onResize && (s.detail.onResize = (c) => {
447
+ var n;
448
+ return this.onResizeGroup((n = c.changedX) !== null && n !== void 0 ? n : 0, a.startIndex, a.endIndex);
395
449
  });
396
- const h = this.getGroupBounds(d);
397
- return s.detail.start === l.start && (s.detail.start = h.start), s.detail.end === l.end && (s.detail.end = h.end), a(be, Object.assign({ key: this.getGroupHeaderCellKey(s.detail.group, t) }, s.detail));
450
+ const h = this.getGroupBounds(a);
451
+ return s.detail.start === l.start && (s.detail.start = h.start), s.detail.end === l.end && (s.detail.end = h.end), d(Le, Object.assign({ key: this.getGroupHeaderCellKey(s.detail.group, t) }, s.detail));
398
452
  }
399
453
  getGroupIndexRange(e) {
400
454
  var t;
@@ -409,8 +463,8 @@ const Ce = (e) => {
409
463
  }
410
464
  getGroupBounds(e) {
411
465
  return e ? {
412
- start: L(this.dimensionCol.state, e.startIndex).start,
413
- end: L(this.dimensionCol.state, e.endIndex).end
466
+ start: O(this.dimensionCol.state, e.startIndex).start,
467
+ end: O(this.dimensionCol.state, e.endIndex).end
414
468
  } : { start: 0, end: 0 };
415
469
  }
416
470
  getVisibleGroupRange() {
@@ -453,25 +507,25 @@ const Ce = (e) => {
453
507
  };
454
508
  }
455
509
  get element() {
456
- return R(this);
510
+ return _(this);
457
511
  }
458
512
  };
459
- function Re(e, t, r) {
513
+ function Oe(e, t, r) {
460
514
  return e <= r.end && t >= r.start;
461
515
  }
462
- xe.style = Se();
463
- class ye {
516
+ He.style = _e();
517
+ class De {
464
518
  constructor(t, r, i) {
465
519
  this.resize = r, this.resizeObserver = null, this.previousSize = {
466
520
  width: 0,
467
521
  height: 0
468
- }, this.apply = le((l) => {
522
+ }, this.apply = ce((l) => {
469
523
  var s;
470
- const d = {
524
+ const a = {
471
525
  width: l.width,
472
526
  height: l.height
473
527
  };
474
- (s = this.resize) === null || s === void 0 || s.call(this, d, this.previousSize), this.previousSize = d;
528
+ (s = this.resize) === null || s === void 0 || s.call(this, a, this.previousSize), this.previousSize = a;
475
529
  }, 40, {
476
530
  leading: !1,
477
531
  trailing: !0
@@ -494,9 +548,9 @@ class ye {
494
548
  this.apply.cancel(), (t = this.resizeObserver) === null || t === void 0 || t.disconnect(), this.resizeObserver = null;
495
549
  }
496
550
  }
497
- const ze = () => ".rowHeaders{z-index:2;font-size:10px;display:flex;height:100%}.rowHeaders revogr-data .rgCell{text-align:center}.rowHeaders .rgCell{padding:0 1em !important;min-width:100%}revogr-viewport-scroll{-ms-overflow-style:none;scrollbar-width:none;overflow-x:auto;overflow-y:hidden;position:relative;z-index:1;height:100%}revogr-viewport-scroll::-webkit-scrollbar{display:none;-webkit-appearance:none}revogr-viewport-scroll.colPinStart,revogr-viewport-scroll.colPinEnd{z-index:2}revogr-viewport-scroll.colPinEnd:has(.active){overflow:visible}revogr-viewport-scroll.rgCol{flex-grow:1}revogr-viewport-scroll .content-wrapper{overflow:hidden}revogr-viewport-scroll .inner-content-table{display:flex;flex-direction:column;max-height:100%;width:100%;min-width:100%;position:relative;z-index:0}revogr-viewport-scroll .vertical-inner{overflow-y:auto;position:relative;width:100%;flex-grow:1;outline:none;-ms-overflow-style:none;scrollbar-width:none;}revogr-viewport-scroll .vertical-inner::-webkit-scrollbar{display:none;-webkit-appearance:none}revogr-viewport-scroll .vertical-inner revogr-data,revogr-viewport-scroll .vertical-inner revogr-overlay-selection{height:100%}", Le = class {
551
+ const ke = () => ".rowHeaders{z-index:2;font-size:10px;display:flex;height:100%}.rowHeaders revogr-data .rgCell{text-align:center}.rowHeaders .rgCell{padding:0 1em !important;min-width:100%}revogr-viewport-scroll{-ms-overflow-style:none;scrollbar-width:none;}revogr-viewport-scroll::-webkit-scrollbar{display:none;-webkit-appearance:none}revogr-viewport-scroll{overflow-x:auto;overflow-y:hidden;overscroll-behavior-x:contain;position:relative;z-index:1;height:100%}revogr-viewport-scroll.colPinStart,revogr-viewport-scroll.colPinEnd{z-index:2}revogr-viewport-scroll.colPinEnd:has(.active){overflow:visible}revogr-viewport-scroll.rgCol{flex-grow:1}revogr-viewport-scroll .content-wrapper{overflow:hidden}revogr-viewport-scroll .inner-content-table{display:flex;flex-direction:column;max-height:100%;width:100%;min-width:100%;position:relative;z-index:0}revogr-viewport-scroll .vertical-inner{overflow-y:auto;position:relative;width:100%;flex-grow:1;outline:none;-ms-overflow-style:none;scrollbar-width:none;}revogr-viewport-scroll .vertical-inner::-webkit-scrollbar{display:none;-webkit-appearance:none}revogr-viewport-scroll .vertical-inner revogr-data,revogr-viewport-scroll .vertical-inner revogr-overlay-selection{height:100%}", $e = class {
498
552
  constructor(e) {
499
- x(this, e), this.scrollViewport = v(this, "scrollviewport", 7), this.resizeViewport = v(this, "resizeviewport", 7), this.scrollchange = v(this, "scrollchange", 7), this.silentScroll = v(this, "scrollviewportsilent", 7), this.contentWidth = 0, this.contentHeight = 0, this.noHorizontalScrollTransfer = !1;
553
+ L(this, e), this.scrollViewport = p(this, "scrollviewport", 7), this.resizeViewport = p(this, "resizeviewport", 7), this.scrollchange = p(this, "scrollchange", 7), this.silentScroll = p(this, "scrollviewportsilent", 7), this.contentWidth = 0, this.contentHeight = 0, this.noHorizontalScrollTransfer = !1;
500
554
  }
501
555
  async setScroll(e) {
502
556
  var t;
@@ -551,7 +605,7 @@ const ze = () => ".rowHeaders{z-index:2;font-size:10px;display:flex;height:100%}
551
605
  this.applyOnScroll(e, t, !0);
552
606
  }
553
607
  connectedCallback() {
554
- this.verticalMouseWheel = this.onVerticalMouseWheel.bind(this, "rgRow", "deltaY"), this.horizontalMouseWheel = this.onHorizontalMouseWheel.bind(this, "rgCol", "deltaX"), this.localScrollTimer = new ie("ontouchstart" in document.documentElement ? 0 : 10), this.localScrollService = new oe({
608
+ this.verticalMouseWheel = this.onVerticalMouseWheel.bind(this, "rgRow", "deltaY"), this.horizontalMouseWheel = this.onHorizontalMouseWheel.bind(this, "rgCol", "deltaX"), this.localScrollTimer = new ae("ontouchstart" in document.documentElement ? 0 : 10), this.localScrollService = new de({
555
609
  // to improve safari smoothnes on scroll
556
610
  // skipAnimationFrame: isSafariDesktop(),
557
611
  runScroll: (e) => this.scrollViewport.emit(e),
@@ -568,34 +622,34 @@ const ze = () => ".rowHeaders{z-index:2;font-size:10px;display:flex;height:100%}
568
622
  });
569
623
  }
570
624
  componentDidLoad() {
571
- this.resizeService = new ye(this.horizontalScroll, (e) => {
572
- var t, r, i, o, l, s, d, h;
573
- const n = {};
574
- let c = e.height || 0;
575
- c && (c -= ((r = (t = this.header) === null || t === void 0 ? void 0 : t.clientHeight) !== null && r !== void 0 ? r : 0) + ((o = (i = this.footer) === null || i === void 0 ? void 0 : i.clientHeight) !== null && o !== void 0 ? o : 0)), n.rgRow = {
576
- size: c,
625
+ this.resizeService = new De(this.horizontalScroll, (e) => {
626
+ var t, r, i, o, l, s, a, h;
627
+ const c = {};
628
+ let n = e.height || 0;
629
+ n && (n -= ((r = (t = this.header) === null || t === void 0 ? void 0 : t.clientHeight) !== null && r !== void 0 ? r : 0) + ((o = (i = this.footer) === null || i === void 0 ? void 0 : i.clientHeight) !== null && o !== void 0 ? o : 0)), c.rgRow = {
630
+ size: n,
577
631
  contentSize: this.contentHeight,
578
632
  scroll: (s = (l = this.verticalScroll) === null || l === void 0 ? void 0 : l.scrollTop) !== null && s !== void 0 ? s : 0,
579
633
  noScroll: !1
580
634
  };
581
- const p = e.width || 0;
582
- n.rgCol = {
583
- size: p,
635
+ const g = e.width || 0;
636
+ c.rgCol = {
637
+ size: g,
584
638
  contentSize: this.contentWidth,
585
639
  scroll: this.horizontalScroll.scrollLeft,
586
640
  noScroll: this.colType !== "rgCol"
587
641
  }, this.setScrollParams({
588
- rgRow: c,
589
- rgCol: p
642
+ rgRow: n,
643
+ rgCol: g
590
644
  });
591
- const f = ["rgCol", "rgRow"];
592
- for (const u of f) {
593
- const g = n[u];
594
- g && (this.resizeViewport.emit({
645
+ const m = ["rgCol", "rgRow"];
646
+ for (const u of m) {
647
+ const v = c[u];
648
+ v && (this.resizeViewport.emit({
595
649
  dimension: u,
596
- size: g.size,
650
+ size: v.size,
597
651
  rowHeader: this.rowHeader
598
- }), !g.noScroll && ((d = this.localScrollService) === null || d === void 0 || d.scroll((h = g.scroll) !== null && h !== void 0 ? h : 0, u, !0), this.setScrollVisibility(u, g.size, g.contentSize)));
652
+ }), !v.noScroll && ((a = this.localScrollService) === null || a === void 0 || a.scroll((h = v.scroll) !== null && h !== void 0 ? h : 0, u, !0), this.setScrollVisibility(u, v.size, v.contentSize)));
599
653
  }
600
654
  }, [this.footer, this.header]);
601
655
  }
@@ -644,8 +698,8 @@ const ze = () => ".rowHeaders{z-index:2;font-size:10px;display:flex;height:100%}
644
698
  }
645
699
  render() {
646
700
  var e, t;
647
- const r = (t = (e = this.verticalScroll) === null || e === void 0 ? void 0 : e.clientHeight) !== null && t !== void 0 ? t : 0, i = this.contentHeight < r ? Math.max(this.contentHeight, 0) : k(this.contentHeight, r), o = k(this.contentWidth, 0);
648
- return a(H, { key: "3dd9d29cf26743d7aa4995f51180d56008526e54", onWheel: this.horizontalMouseWheel, onScroll: (l) => this.applyScroll("rgCol", l) }, a("div", { key: "af75428e845044c33eba2fecd1ec04a9177b9b5c", class: "inner-content-table", style: { width: `${o}px` } }, a("div", { key: "a0149f597588371e1fafe69efc3bd4411379a017", class: "header-wrapper", ref: (l) => this.header = l }, a("slot", { key: "e5d2570bf93897cd97ef702141c83bb8c0e13ee2", name: se })), a("div", { key: "d1388ff0d721dd8ce925b934bb2128fddc1ac17b", class: "vertical-inner", ref: (l) => this.verticalScroll = l, onWheel: this.verticalMouseWheel, onScroll: (l) => this.applyScroll("rgRow", l) }, a("div", { key: "a306ff56f62279402e2a881a081e3224341d5bdf", class: "content-wrapper", style: { height: `${i}px` } }, a("slot", { key: "898bda8e9429da06c9ff2bd41626ac27f3cde3cc", name: ne }))), a("div", { key: "5e9eba1edd5fca07a964971054a7900e4dd84099", class: "footer-wrapper", ref: (l) => this.footer = l }, a("slot", { key: "f233ad1c23b3f692c45e1db235cfef4704a80726", name: ae }))));
701
+ const r = (t = (e = this.verticalScroll) === null || e === void 0 ? void 0 : e.clientHeight) !== null && t !== void 0 ? t : 0, i = this.contentHeight < r ? Math.max(this.contentHeight, 0) : I(this.contentHeight, r), o = I(this.contentWidth, 0);
702
+ return d(E, { key: "3dd9d29cf26743d7aa4995f51180d56008526e54", onWheel: this.horizontalMouseWheel, onScroll: (l) => this.applyScroll("rgCol", l) }, d("div", { key: "af75428e845044c33eba2fecd1ec04a9177b9b5c", class: "inner-content-table", style: { width: `${o}px` } }, d("div", { key: "a0149f597588371e1fafe69efc3bd4411379a017", class: "header-wrapper", ref: (l) => this.header = l }, d("slot", { key: "e5d2570bf93897cd97ef702141c83bb8c0e13ee2", name: he })), d("div", { key: "d1388ff0d721dd8ce925b934bb2128fddc1ac17b", class: "vertical-inner", ref: (l) => this.verticalScroll = l, onWheel: this.verticalMouseWheel, onScroll: (l) => this.applyScroll("rgRow", l) }, d("div", { key: "a306ff56f62279402e2a881a081e3224341d5bdf", class: "content-wrapper", style: { height: `${i}px` } }, d("slot", { key: "898bda8e9429da06c9ff2bd41626ac27f3cde3cc", name: ge }))), d("div", { key: "5e9eba1edd5fca07a964971054a7900e4dd84099", class: "footer-wrapper", ref: (l) => this.footer = l }, d("slot", { key: "f233ad1c23b3f692c45e1db235cfef4704a80726", name: ve }))));
649
703
  }
650
704
  /**
651
705
  * Extra layer for scroll event monitoring, where MouseWheel event is not passing
@@ -675,7 +729,7 @@ const ze = () => ".rowHeaders{z-index:2;font-size:10px;display:flex;height:100%}
675
729
  applyOnScroll(e, t, r = !1) {
676
730
  const i = () => {
677
731
  var o;
678
- (o = this.localScrollService) === null || o === void 0 || o.scroll(t, e, void 0, void 0, r);
732
+ (o = this.localScrollService) === null || o === void 0 || o.scroll(t, e, void 0, void 0, r), this.localScrollTimer.setCoordinateFromScroll({ dimension: e, coordinate: t });
679
733
  };
680
734
  this.localScrollTimer.isReady(e, t) ? i() : this.localScrollTimer.throttleLastScrollUpdate(e, t, () => i());
681
735
  }
@@ -686,11 +740,11 @@ const ze = () => ".rowHeaders{z-index:2;font-size:10px;display:flex;height:100%}
686
740
  * @param e
687
741
  */
688
742
  onVerticalMouseWheel(e, t, r) {
689
- var i, o, l, s, d, h, n, c;
690
- const p = (o = (i = this.verticalScroll) === null || i === void 0 ? void 0 : i.scrollTop) !== null && o !== void 0 ? o : 0, f = (s = (l = this.verticalScroll) === null || l === void 0 ? void 0 : l.clientHeight) !== null && s !== void 0 ? s : 0, u = (h = (d = this.verticalScroll) === null || d === void 0 ? void 0 : d.scrollHeight) !== null && h !== void 0 ? h : 0, g = p + f >= u && r.deltaY > 0, w = p === 0 && r.deltaY < 0;
691
- !g && !w && ((n = r.preventDefault) === null || n === void 0 || n.call(r));
692
- const b = p + r[t];
693
- (c = this.localScrollService) === null || c === void 0 || c.scroll(b, e, void 0, r[t]), this.localScrollTimer.latestScrollUpdate(e);
743
+ var i, o, l, s, a, h, c, n;
744
+ const g = (o = (i = this.verticalScroll) === null || i === void 0 ? void 0 : i.scrollTop) !== null && o !== void 0 ? o : 0, m = (s = (l = this.verticalScroll) === null || l === void 0 ? void 0 : l.clientHeight) !== null && s !== void 0 ? s : 0, u = (h = (a = this.verticalScroll) === null || a === void 0 ? void 0 : a.scrollHeight) !== null && h !== void 0 ? h : 0, v = g + m >= u && r.deltaY > 0, w = g === 0 && r.deltaY < 0;
745
+ !v && !w && ((c = r.preventDefault) === null || c === void 0 || c.call(r));
746
+ const b = g + r[t];
747
+ (n = this.localScrollService) === null || n === void 0 || n.scroll(b, e, void 0, r[t]), this.localScrollTimer.latestScrollUpdate(e);
694
748
  }
695
749
  /**
696
750
  * On horizontal mousewheel event
@@ -702,26 +756,26 @@ const ze = () => ".rowHeaders{z-index:2;font-size:10px;display:flex;height:100%}
702
756
  var i, o, l, s;
703
757
  if (!r.deltaX)
704
758
  return;
705
- const { scrollLeft: d, scrollWidth: h, clientWidth: n } = this.horizontalScroll, c = d + n >= h && r.deltaX > 0, p = d === 0 && r.deltaX < 0;
759
+ const { scrollLeft: a, scrollWidth: h, clientWidth: c } = this.horizontalScroll, n = a + c >= h && r.deltaX > 0, g = a === 0 && r.deltaX < 0;
706
760
  if (this.noHorizontalScrollTransfer) {
707
- if (!c && !p) {
708
- const u = d + r[t];
761
+ if (!n && !g) {
762
+ const u = a + r[t];
709
763
  (i = r.preventDefault) === null || i === void 0 || i.call(r), this.horizontalScroll.scrollLeft = u, (o = this.localScrollService) === null || o === void 0 || o.scroll(this.horizontalScroll.scrollLeft, e, void 0, r[t]), this.localScrollTimer.latestScrollUpdate(e);
710
764
  }
711
765
  return;
712
766
  }
713
- !c && !p && ((l = r.preventDefault) === null || l === void 0 || l.call(r));
714
- const f = d + r[t];
715
- (s = this.localScrollService) === null || s === void 0 || s.scroll(f, e, void 0, r[t]), this.localScrollTimer.latestScrollUpdate(e);
767
+ !n && !g && ((l = r.preventDefault) === null || l === void 0 || l.call(r));
768
+ const m = a + r[t];
769
+ (s = this.localScrollService) === null || s === void 0 || s.scroll(m, e, void 0, r[t]), this.localScrollTimer.latestScrollUpdate(e);
716
770
  }
717
771
  get horizontalScroll() {
718
- return R(this);
772
+ return _(this);
719
773
  }
720
774
  };
721
- Le.style = ze();
722
- const De = class {
775
+ $e.style = ke();
776
+ const Pe = class {
723
777
  constructor(e) {
724
- x(this, e), this.html = v(this, "html", 7), this.redraw = null, this.vnodes = [];
778
+ L(this, e), this.html = p(this, "html", 7), this.redraw = null, this.vnodes = [];
725
779
  }
726
780
  componentDidRender() {
727
781
  this.html.emit({
@@ -731,15 +785,15 @@ const De = class {
731
785
  }
732
786
  render() {
733
787
  var e, t;
734
- return this.vnodes = (t = (e = this.redraw) === null || e === void 0 ? void 0 : e.call(this)) !== null && t !== void 0 ? t : null, a(H, { key: "11b76ca8a86ebf279add88bbd86ef9eb5149605a", style: { visibility: "hidden", position: "absolute" } }, this.vnodes);
788
+ return this.vnodes = (t = (e = this.redraw) === null || e === void 0 ? void 0 : e.call(this)) !== null && t !== void 0 ? t : null, d(E, { key: "11b76ca8a86ebf279add88bbd86ef9eb5149605a", style: { visibility: "hidden", position: "absolute" } }, this.vnodes);
735
789
  }
736
790
  get el() {
737
- return R(this);
791
+ return _(this);
738
792
  }
739
793
  };
740
794
  export {
741
- we as revogr_data,
742
- xe as revogr_header,
743
- Le as revogr_viewport_scroll,
744
- De as vnode_html
795
+ ze as revogr_data,
796
+ He as revogr_header,
797
+ $e as revogr_viewport_scroll,
798
+ Pe as vnode_html
745
799
  };