@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,5 +1,5 @@
1
- import { t as f, r as c, c as n, h as v, a4 as g, H as m, f as y, l as w, a5 as C, p as b, a3 as h } from "./main-BP5C1P4E.js";
2
- import { d as E, c as D, j as S } from "./edit.utils-Dnnbd0xG-DNaocRiD.js";
1
+ import { t as f, r as c, c as n, h as v, a5 as g, H as m, f as y, m as w, a6 as b, u as C, a4 as h } from "./main-DaAnRozo.js";
2
+ import { d as E, c as D, j as S } from "./edit.utils-3ZbhQCv_-CBOvR_lX.js";
3
3
  /*!
4
4
  * Built by Revolist OU ❤️
5
5
  */
@@ -142,7 +142,7 @@ const A = class {
142
142
  getData(t) {
143
143
  return t.clipboardData || (globalThis == null ? void 0 : globalThis.clipboardData);
144
144
  }
145
- }, R = () => "revogr-edit{display:block;position:absolute;background-color:#fff}revogr-edit input{height:100%;width:100%;box-sizing:border-box}revogr-edit revo-dropdown{height:100%}revogr-edit revo-dropdown.shrink fieldset legend>span{display:none}", x = class {
145
+ }, R = () => "revogr-edit{display:block;position:absolute;background-color:var(--rg-theme-background)}revogr-edit input{height:100%;width:100%;box-sizing:border-box;padding:var(--rg-theme-cell-padding);background-color:var(--rg-theme-background)}revogr-edit revo-dropdown{height:100%}revogr-edit revo-dropdown.shrink fieldset legend>span{display:none}", x = class {
146
146
  constructor(t) {
147
147
  c(this, t), this.cellEdit = n(this, "celleditinit", 7), this.closeEdit = n(this, "closeedit", 7), this.saveOnClose = !1, this.currentEditor = null, this.preventSaveOnClose = !1;
148
148
  }
@@ -235,7 +235,7 @@ class P {
235
235
  if (this.currentCell === null)
236
236
  return;
237
237
  const r = this.getCell(e, i);
238
- r.y !== this.currentCell.y && (r.y < 0 ? r.y = 0 : r.y < this.currentCell.y && r.y++, this.config.positionChanged(this.currentCell.y, r.y)), this.clear();
238
+ r.y < 0 ? r.y = 0 : r.y < this.currentCell.y && r.y++, r.y !== this.currentCell.y && this.config.positionChanged(this.currentCell.y, r.y), this.clear();
239
239
  }
240
240
  /** Drag started, reserve initial cell for farther use */
241
241
  startOrder(e, i) {
@@ -278,11 +278,11 @@ const k = class {
278
278
  const e = this.getData(), i = this.rowOrderService.startOrder(t.originalEvent, e), r = this.rowOrderService.getRow(t.originalEvent.y, e);
279
279
  if (this.rowDragStart.emit({
280
280
  cell: i,
281
- text: C,
281
+ text: b,
282
282
  pos: r,
283
283
  event: t.originalEvent,
284
284
  rowType: this.rowType,
285
- model: b(this.dataStore, r.itemIndex)
285
+ model: C(this.dataStore, r.itemIndex)
286
286
  }).defaultPrevented)
287
287
  return;
288
288
  const o = (d) => this.move(d), a = (d) => this.endOrder(d), l = () => this.clearOrder();