@vc-shell/framework 1.0.226 → 1.0.227
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/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,12 @@
|
|
|
1
|
+
## [1.0.227](https://github.com/VirtoCommerce/vc-shell/compare/v1.0.226...v1.0.227) (2024-06-04)
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
### Bug Fixes
|
|
5
|
+
|
|
6
|
+
* **ui:** vc-table add last column resizer ([f63a7a0](https://github.com/VirtoCommerce/vc-shell/commit/f63a7a010366fd55fc0add08701d0d983fe4280a))
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
|
|
1
10
|
## [1.0.226](https://github.com/VirtoCommerce/vc-shell/compare/v1.0.225...v1.0.226) (2024-06-04)
|
|
2
11
|
|
|
3
12
|
|
package/dist/framework.js
CHANGED
|
@@ -11775,7 +11775,7 @@ nh.exports;
|
|
|
11775
11775
|
return R ? "Symbol(src)_1." + R : "";
|
|
11776
11776
|
}(), ke = Ae.toString, Re = z.hasOwnProperty, Ue = z.toString, et = RegExp(
|
|
11777
11777
|
"^" + ke.call(Re).replace(B, "\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g, "$1.*?") + "$"
|
|
11778
|
-
), Oe = V ? D.Buffer : void 0, Pe = D.Symbol, yt = D.Uint8Array, ft = Ve(Object.getPrototypeOf, Object), Gt = Object.create, $n = z.propertyIsEnumerable, gn = ue.splice, hn = Object.getOwnPropertySymbols, vr = Oe ? Oe.isBuffer : void 0, Te = Ve(Object.keys, Object), ze = ji(D, "DataView"), Ie = ji(D, "Map"), qe = ji(D, "Promise"), tt = ji(D, "Set"), It = ji(D, "WeakMap"), on = ji(Object, "create"), pe = Fr(ze), Me = Fr(Ie), ot = Fr(qe), vt = Fr(tt), Qe = Fr(It),
|
|
11778
|
+
), Oe = V ? D.Buffer : void 0, Pe = D.Symbol, yt = D.Uint8Array, ft = Ve(Object.getPrototypeOf, Object), Gt = Object.create, $n = z.propertyIsEnumerable, gn = ue.splice, hn = Object.getOwnPropertySymbols, vr = Oe ? Oe.isBuffer : void 0, Te = Ve(Object.keys, Object), ze = ji(D, "DataView"), Ie = ji(D, "Map"), qe = ji(D, "Promise"), tt = ji(D, "Set"), It = ji(D, "WeakMap"), on = ji(Object, "create"), pe = Fr(ze), Me = Fr(Ie), ot = Fr(qe), vt = Fr(tt), Qe = Fr(It), $t = Pe ? Pe.prototype : void 0, Pt = $t ? $t.valueOf : void 0;
|
|
11779
11779
|
function In(R) {
|
|
11780
11780
|
var X = -1, me = R ? R.length : 0;
|
|
11781
11781
|
for (this.clear(); ++X < me; ) {
|
|
@@ -12221,7 +12221,7 @@ rh.exports;
|
|
|
12221
12221
|
return R ? "Symbol(src)_1." + R : "";
|
|
12222
12222
|
}(), $n = Oe.toString, gn = RegExp(
|
|
12223
12223
|
"^" + yt.call(ft).replace(F, "\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g, "$1.*?") + "$"
|
|
12224
|
-
), hn = we ? le.Buffer : void 0, vr = le.Symbol, Te = le.Uint8Array, ze = Oe.propertyIsEnumerable, Ie = Ue.splice, qe = vr ? vr.toStringTag : void 0, tt = Object.getOwnPropertySymbols, It = hn ? hn.isBuffer : void 0, on = ke(Object.keys, Object), pe = ja(le, "DataView"), Me = ja(le, "Map"), ot = ja(le, "Promise"), vt = ja(le, "Set"), Qe = ja(le, "WeakMap"),
|
|
12224
|
+
), hn = we ? le.Buffer : void 0, vr = le.Symbol, Te = le.Uint8Array, ze = Oe.propertyIsEnumerable, Ie = Ue.splice, qe = vr ? vr.toStringTag : void 0, tt = Object.getOwnPropertySymbols, It = hn ? hn.isBuffer : void 0, on = ke(Object.keys, Object), pe = ja(le, "DataView"), Me = ja(le, "Map"), ot = ja(le, "Promise"), vt = ja(le, "Set"), Qe = ja(le, "WeakMap"), $t = ja(Object, "create"), Pt = Fr(pe), In = Fr(Me), ao = Fr(ot), Du = Fr(vt), Ir = Fr(Qe), Ua = vr ? vr.prototype : void 0, bs = Ua ? Ua.valueOf : void 0;
|
|
12225
12225
|
function Xn(R) {
|
|
12226
12226
|
var X = -1, me = R == null ? 0 : R.length;
|
|
12227
12227
|
for (this.clear(); ++X < me; ) {
|
|
@@ -12230,7 +12230,7 @@ rh.exports;
|
|
|
12230
12230
|
}
|
|
12231
12231
|
}
|
|
12232
12232
|
function ll() {
|
|
12233
|
-
this.__data__ =
|
|
12233
|
+
this.__data__ = $t ? $t(null) : {}, this.size = 0;
|
|
12234
12234
|
}
|
|
12235
12235
|
function ul(R) {
|
|
12236
12236
|
var X = this.has(R) && delete this.__data__[R];
|
|
@@ -12238,7 +12238,7 @@ rh.exports;
|
|
|
12238
12238
|
}
|
|
12239
12239
|
function fi(R) {
|
|
12240
12240
|
var X = this.__data__;
|
|
12241
|
-
if (
|
|
12241
|
+
if ($t) {
|
|
12242
12242
|
var me = X[R];
|
|
12243
12243
|
return me === r ? void 0 : me;
|
|
12244
12244
|
}
|
|
@@ -12246,11 +12246,11 @@ rh.exports;
|
|
|
12246
12246
|
}
|
|
12247
12247
|
function cl(R) {
|
|
12248
12248
|
var X = this.__data__;
|
|
12249
|
-
return
|
|
12249
|
+
return $t ? X[R] !== void 0 : ft.call(X, R);
|
|
12250
12250
|
}
|
|
12251
12251
|
function fl(R, X) {
|
|
12252
12252
|
var me = this.__data__;
|
|
12253
|
-
return this.size += this.has(R) ? 0 : 1, me[R] =
|
|
12253
|
+
return this.size += this.has(R) ? 0 : 1, me[R] = $t && X === void 0 ? r : X, this;
|
|
12254
12254
|
}
|
|
12255
12255
|
Xn.prototype.clear = ll, Xn.prototype.delete = ul, Xn.prototype.get = fi, Xn.prototype.has = cl, Xn.prototype.set = fl;
|
|
12256
12256
|
function rr(R) {
|
|
@@ -23399,8 +23399,8 @@ const R5 = (t, e) => t?.querySelector(`[data-dp-element="${e}"]`), OO = (t, e) =
|
|
|
23399
23399
|
const vt = Te[0].days[0], Qe = be(zi(vt.value, -7), Bt(ze));
|
|
23400
23400
|
Te.unshift({ days: Qe });
|
|
23401
23401
|
} else {
|
|
23402
|
-
const vt = Te[Te.length - 1], Qe = vt.days[vt.days.length - 1],
|
|
23403
|
-
Te.push({ days:
|
|
23402
|
+
const vt = Te[Te.length - 1], Qe = vt.days[vt.days.length - 1], $t = be(zi(Qe.value, 1), Bt(ze));
|
|
23403
|
+
Te.push({ days: $t });
|
|
23404
23404
|
}
|
|
23405
23405
|
}
|
|
23406
23406
|
return Te;
|
|
@@ -51974,7 +51974,7 @@ var Uh = {
|
|
|
51974
51974
|
return !1;
|
|
51975
51975
|
}
|
|
51976
51976
|
};
|
|
51977
|
-
const
|
|
51977
|
+
const Mt = /* @__PURE__ */ dp(Uh), DI = /* @__PURE__ */ new Map([
|
|
51978
51978
|
[_t.Universal, 50],
|
|
51979
51979
|
[_t.Tag, 30],
|
|
51980
51980
|
[_t.Attribute, 1],
|
|
@@ -52086,7 +52086,7 @@ const Uoe = {
|
|
|
52086
52086
|
element(t, e, n) {
|
|
52087
52087
|
const { adapter: r } = n, { name: i, value: a } = e;
|
|
52088
52088
|
if (/\s/.test(a))
|
|
52089
|
-
return
|
|
52089
|
+
return Mt.falseFunc;
|
|
52090
52090
|
const s = new RegExp(`(?:^|\\s)${eT(a)}(?:$|\\s)`, po(e, n) ? "i" : "");
|
|
52091
52091
|
return function(l) {
|
|
52092
52092
|
const c = r.getAttributeValue(l, i);
|
|
@@ -52100,7 +52100,7 @@ const Uoe = {
|
|
|
52100
52100
|
const { adapter: r } = n, { name: i } = e;
|
|
52101
52101
|
let { value: a } = e;
|
|
52102
52102
|
const s = a.length;
|
|
52103
|
-
return s === 0 ?
|
|
52103
|
+
return s === 0 ? Mt.falseFunc : po(e, n) ? (a = a.toLowerCase(), (o) => {
|
|
52104
52104
|
const l = r.getAttributeValue(o, i);
|
|
52105
52105
|
return l != null && l.length >= s && l.substr(0, s).toLowerCase() === a && t(o);
|
|
52106
52106
|
}) : (o) => {
|
|
@@ -52112,7 +52112,7 @@ const Uoe = {
|
|
|
52112
52112
|
const { adapter: r } = n, { name: i } = e;
|
|
52113
52113
|
let { value: a } = e;
|
|
52114
52114
|
const s = -a.length;
|
|
52115
|
-
return s === 0 ?
|
|
52115
|
+
return s === 0 ? Mt.falseFunc : po(e, n) ? (a = a.toLowerCase(), (o) => {
|
|
52116
52116
|
var l;
|
|
52117
52117
|
return ((l = r.getAttributeValue(o, i)) === null || l === void 0 ? void 0 : l.substr(s).toLowerCase()) === a && t(o);
|
|
52118
52118
|
}) : (o) => {
|
|
@@ -52123,7 +52123,7 @@ const Uoe = {
|
|
|
52123
52123
|
any(t, e, n) {
|
|
52124
52124
|
const { adapter: r } = n, { name: i, value: a } = e;
|
|
52125
52125
|
if (a === "")
|
|
52126
|
-
return
|
|
52126
|
+
return Mt.falseFunc;
|
|
52127
52127
|
if (po(e, n)) {
|
|
52128
52128
|
const s = new RegExp(eT(a), "i");
|
|
52129
52129
|
return function(l) {
|
|
@@ -52172,13 +52172,13 @@ function Voe(t) {
|
|
|
52172
52172
|
function Yoe(t) {
|
|
52173
52173
|
const e = t[0], n = t[1] - 1;
|
|
52174
52174
|
if (n < 0 && e <= 0)
|
|
52175
|
-
return
|
|
52175
|
+
return Mt.falseFunc;
|
|
52176
52176
|
if (e === -1)
|
|
52177
52177
|
return (a) => a <= n;
|
|
52178
52178
|
if (e === 0)
|
|
52179
52179
|
return (a) => a === n;
|
|
52180
52180
|
if (e === 1)
|
|
52181
|
-
return n < 0 ?
|
|
52181
|
+
return n < 0 ? Mt.trueFunc : (a) => a >= n;
|
|
52182
52182
|
const r = Math.abs(e), i = (n % r + r) % r;
|
|
52183
52183
|
return e > 1 ? (a) => a >= n && a % r === i : (a) => a <= n && a % r === i;
|
|
52184
52184
|
}
|
|
@@ -52206,7 +52206,7 @@ const dg = {
|
|
|
52206
52206
|
// Location specific methods
|
|
52207
52207
|
"nth-child"(t, e, { adapter: n, equals: r }) {
|
|
52208
52208
|
const i = Ad(e);
|
|
52209
|
-
return i ===
|
|
52209
|
+
return i === Mt.falseFunc ? Mt.falseFunc : i === Mt.trueFunc ? Sd(t, n) : function(s) {
|
|
52210
52210
|
const o = n.getSiblings(s);
|
|
52211
52211
|
let l = 0;
|
|
52212
52212
|
for (let c = 0; c < o.length && !r(s, o[c]); c++)
|
|
@@ -52216,7 +52216,7 @@ const dg = {
|
|
|
52216
52216
|
},
|
|
52217
52217
|
"nth-last-child"(t, e, { adapter: n, equals: r }) {
|
|
52218
52218
|
const i = Ad(e);
|
|
52219
|
-
return i ===
|
|
52219
|
+
return i === Mt.falseFunc ? Mt.falseFunc : i === Mt.trueFunc ? Sd(t, n) : function(s) {
|
|
52220
52220
|
const o = n.getSiblings(s);
|
|
52221
52221
|
let l = 0;
|
|
52222
52222
|
for (let c = o.length - 1; c >= 0 && !r(s, o[c]); c--)
|
|
@@ -52226,7 +52226,7 @@ const dg = {
|
|
|
52226
52226
|
},
|
|
52227
52227
|
"nth-of-type"(t, e, { adapter: n, equals: r }) {
|
|
52228
52228
|
const i = Ad(e);
|
|
52229
|
-
return i ===
|
|
52229
|
+
return i === Mt.falseFunc ? Mt.falseFunc : i === Mt.trueFunc ? Sd(t, n) : function(s) {
|
|
52230
52230
|
const o = n.getSiblings(s);
|
|
52231
52231
|
let l = 0;
|
|
52232
52232
|
for (let c = 0; c < o.length; c++) {
|
|
@@ -52240,7 +52240,7 @@ const dg = {
|
|
|
52240
52240
|
},
|
|
52241
52241
|
"nth-last-of-type"(t, e, { adapter: n, equals: r }) {
|
|
52242
52242
|
const i = Ad(e);
|
|
52243
|
-
return i ===
|
|
52243
|
+
return i === Mt.falseFunc ? Mt.falseFunc : i === Mt.trueFunc ? Sd(t, n) : function(s) {
|
|
52244
52244
|
const o = n.getSiblings(s);
|
|
52245
52245
|
let l = 0;
|
|
52246
52246
|
for (let c = o.length - 1; c >= 0; c--) {
|
|
@@ -52270,7 +52270,7 @@ const dg = {
|
|
|
52270
52270
|
function Fv(t) {
|
|
52271
52271
|
return function(n, r, { adapter: i }) {
|
|
52272
52272
|
const a = i[t];
|
|
52273
|
-
return typeof a != "function" ?
|
|
52273
|
+
return typeof a != "function" ? Mt.falseFunc : function(o) {
|
|
52274
52274
|
return a(o) && n(o);
|
|
52275
52275
|
};
|
|
52276
52276
|
};
|
|
@@ -52367,7 +52367,7 @@ const qoe = {
|
|
|
52367
52367
|
text: "input:is(:not([type!='']), [type=text])"
|
|
52368
52368
|
}, RI = {};
|
|
52369
52369
|
function Woe(t, e) {
|
|
52370
|
-
return t ===
|
|
52370
|
+
return t === Mt.falseFunc ? Mt.falseFunc : (n) => e.isTag(n) && t(n);
|
|
52371
52371
|
}
|
|
52372
52372
|
function MI(t, e) {
|
|
52373
52373
|
const n = e.getSiblings(t);
|
|
@@ -52390,7 +52390,7 @@ function hg(t) {
|
|
|
52390
52390
|
}
|
|
52391
52391
|
const Bv = (t, e, n, r, i) => {
|
|
52392
52392
|
const a = i(e, hg(n), r);
|
|
52393
|
-
return a ===
|
|
52393
|
+
return a === Mt.trueFunc ? t : a === Mt.falseFunc ? Mt.falseFunc : (s) => a(s) && t(s);
|
|
52394
52394
|
}, Uv = {
|
|
52395
52395
|
is: Bv,
|
|
52396
52396
|
/**
|
|
@@ -52400,7 +52400,7 @@ const Bv = (t, e, n, r, i) => {
|
|
|
52400
52400
|
where: Bv,
|
|
52401
52401
|
not(t, e, n, r, i) {
|
|
52402
52402
|
const a = i(e, hg(n), r);
|
|
52403
|
-
return a ===
|
|
52403
|
+
return a === Mt.falseFunc ? t : a === Mt.trueFunc ? Mt.falseFunc : (s) => !a(s) && t(s);
|
|
52404
52404
|
},
|
|
52405
52405
|
has(t, e, n, r, i) {
|
|
52406
52406
|
const { adapter: a } = n, s = hg(n);
|
|
@@ -52409,10 +52409,10 @@ const Bv = (t, e, n, r, i) => {
|
|
|
52409
52409
|
// Used as a placeholder. Will be replaced with the actual element.
|
|
52410
52410
|
[RI]
|
|
52411
52411
|
) : void 0, l = i(e, s, o);
|
|
52412
|
-
if (l ===
|
|
52413
|
-
return
|
|
52412
|
+
if (l === Mt.falseFunc)
|
|
52413
|
+
return Mt.falseFunc;
|
|
52414
52414
|
const c = Woe(l, a);
|
|
52415
|
-
if (o && l !==
|
|
52415
|
+
if (o && l !== Mt.trueFunc) {
|
|
52416
52416
|
const { shouldTestNextSiblings: u = !1 } = l;
|
|
52417
52417
|
return (f) => {
|
|
52418
52418
|
if (!t(f))
|
|
@@ -52588,15 +52588,15 @@ function FI(t, e, n) {
|
|
|
52588
52588
|
c.type !== _t.Pseudo || c.name !== "scope" || (i && u.type === _t.Descendant ? l[1] = Joe : (u.type === _t.Adjacent || u.type === _t.Sibling) && (s = !0));
|
|
52589
52589
|
}
|
|
52590
52590
|
return Zoe(l, e, a);
|
|
52591
|
-
}).reduce(ele,
|
|
52591
|
+
}).reduce(ele, Mt.falseFunc);
|
|
52592
52592
|
return o.shouldTestNextSiblings = s, o;
|
|
52593
52593
|
}
|
|
52594
52594
|
function Zoe(t, e, n) {
|
|
52595
52595
|
var r;
|
|
52596
|
-
return t.reduce((i, a) => i ===
|
|
52596
|
+
return t.reduce((i, a) => i === Mt.falseFunc ? Mt.falseFunc : zoe(i, a, e, n, FI), (r = e.rootFunc) !== null && r !== void 0 ? r : Mt.trueFunc);
|
|
52597
52597
|
}
|
|
52598
52598
|
function ele(t, e) {
|
|
52599
|
-
return e ===
|
|
52599
|
+
return e === Mt.falseFunc || t === Mt.trueFunc ? t : t === Mt.falseFunc || e === Mt.trueFunc ? e : function(r) {
|
|
52600
52600
|
return t(r) || e(r);
|
|
52601
52601
|
};
|
|
52602
52602
|
}
|
|
@@ -60234,14 +60234,14 @@ function Mk() {
|
|
|
60234
60234
|
_ === void 0 && (_ = Mde(h, i)), _ !== null && typeof g == "string" && (g = _.createHTML(""));
|
|
60235
60235
|
Kr && Kr(ye), on = ye;
|
|
60236
60236
|
}
|
|
60237
|
-
}, Qe = Ft({}, ["mi", "mo", "mn", "ms", "mtext"]),
|
|
60237
|
+
}, Qe = Ft({}, ["mi", "mo", "mn", "ms", "mtext"]), $t = Ft({}, ["foreignobject", "annotation-xml"]), Pt = Ft({}, ["title", "style", "font", "a", "script"]), In = Ft({}, [...qv, ...Wv, ...Sde]), ao = Ft({}, [...Gv, ...Ode]), Du = function(ye) {
|
|
60238
60238
|
let We = y(ye);
|
|
60239
60239
|
(!We || !We.tagName) && (We = {
|
|
60240
60240
|
namespaceURI: hn,
|
|
60241
60241
|
tagName: "template"
|
|
60242
60242
|
});
|
|
60243
60243
|
const st = Wd(ye.tagName), Ot = Wd(We.tagName);
|
|
60244
|
-
return Te[ye.namespaceURI] ? ye.namespaceURI === $n ? We.namespaceURI === gn ? st === "svg" : We.namespaceURI === Gt ? st === "svg" && (Ot === "annotation-xml" || Qe[Ot]) : !!In[st] : ye.namespaceURI === Gt ? We.namespaceURI === gn ? st === "math" : We.namespaceURI === $n ? st === "math" &&
|
|
60244
|
+
return Te[ye.namespaceURI] ? ye.namespaceURI === $n ? We.namespaceURI === gn ? st === "svg" : We.namespaceURI === Gt ? st === "svg" && (Ot === "annotation-xml" || Qe[Ot]) : !!In[st] : ye.namespaceURI === Gt ? We.namespaceURI === gn ? st === "math" : We.namespaceURI === $n ? st === "math" && $t[Ot] : !!ao[st] : ye.namespaceURI === gn ? We.namespaceURI === $n && !$t[Ot] || We.namespaceURI === Gt && !Qe[Ot] ? !1 : !ao[st] && (Pt[st] || !In[st]) : !!(Ie === "application/xhtml+xml" && Te[ye.namespaceURI]) : !1;
|
|
60245
60245
|
}, Ir = function(ye) {
|
|
60246
60246
|
nc(e.removed, {
|
|
60247
60247
|
element: ye
|
|
@@ -61567,8 +61567,8 @@ const Tpe = { key: 0 }, Ape = { class: "tw-p-3" }, Spe = { class: "tw-flex tw-fl
|
|
|
61567
61567
|
pe.preventDefault();
|
|
61568
61568
|
const ot = Re(w.value), vt = Re(Me);
|
|
61569
61569
|
if (I.value !== Me && o.value && l.value) {
|
|
61570
|
-
const Qe = vt.left - ot.left,
|
|
61571
|
-
o.value.style.top = vt.top - Re(l.value).top + "px", pe.pageX >
|
|
61570
|
+
const Qe = vt.left - ot.left, $t = vt.left + Me.offsetWidth / 2;
|
|
61571
|
+
o.value.style.top = vt.top - Re(l.value).top + "px", pe.pageX > $t ? (o.value.style.left = Qe + Me.offsetWidth + "px", x.value = 1) : (o.value.style.left = Qe + "px", x.value = -1), o.value.style.display = "block";
|
|
61572
61572
|
}
|
|
61573
61573
|
}
|
|
61574
61574
|
}
|
|
@@ -61617,8 +61617,8 @@ const Tpe = { key: 0 }, Ape = { class: "tw-p-3" }, Spe = { class: "tw-flex tw-fl
|
|
|
61617
61617
|
return;
|
|
61618
61618
|
const ot = n.items.indexOf(Me);
|
|
61619
61619
|
if (B.value && P.value !== Me) {
|
|
61620
|
-
const vt = pe.currentTarget, Qe = Re(vt).top,
|
|
61621
|
-
|
|
61620
|
+
const vt = pe.currentTarget, Qe = Re(vt).top, $t = pe.pageY, Pt = Qe + vt.offsetHeight / 2, In = vt.previousElementSibling;
|
|
61621
|
+
$t < Pt ? (vt.classList.remove("vc-table__drag-row-bottom"), Y.value = ot, In ? In.classList.add("vc-table__drag-row-bottom") : vt.classList.add("vc-table__drag-row-top")) : (In ? In.classList.remove("vc-table__drag-row-bottom") : vt.classList.add("vc-table__drag-row-top"), Y.value = ot + 1, vt.classList.add("vc-table__drag-row-bottom")), pe.preventDefault();
|
|
61622
61622
|
}
|
|
61623
61623
|
}
|
|
61624
61624
|
function tt(pe) {
|
|
@@ -61687,9 +61687,9 @@ const Tpe = { key: 0 }, Ape = { class: "tw-p-3" }, Spe = { class: "tw-flex tw-fl
|
|
|
61687
61687
|
default: he(() => [
|
|
61688
61688
|
pe.$isMobile.value ? (L(), j(Ye, { key: 0 }, [
|
|
61689
61689
|
pe.items && pe.items.length && !$.value ? (L(), j("div", Fpe, [
|
|
61690
|
-
(L(!0), j(Ye, null, pt(pe.items, (Qe,
|
|
61691
|
-
key:
|
|
61692
|
-
index:
|
|
61690
|
+
(L(!0), j(Ye, null, pt(pe.items, (Qe, $t) => (L(), Ne(whe, {
|
|
61691
|
+
key: $t,
|
|
61692
|
+
index: $t,
|
|
61693
61693
|
items: pe.items,
|
|
61694
61694
|
"action-builder": pe.itemActionBuilder,
|
|
61695
61695
|
"swiping-item": v.value,
|
|
@@ -61702,7 +61702,7 @@ const Tpe = { key: 0 }, Ape = { class: "tw-p-3" }, Spe = { class: "tw-flex tw-fl
|
|
|
61702
61702
|
Ce(pe.$slots, "mobile-item", { item: Qe }, () => [
|
|
61703
61703
|
ge(G, {
|
|
61704
61704
|
item: Qe,
|
|
61705
|
-
index:
|
|
61705
|
+
index: $t
|
|
61706
61706
|
}, null, 8, ["item", "index"])
|
|
61707
61707
|
])
|
|
61708
61708
|
]),
|
|
@@ -61753,13 +61753,13 @@ const Tpe = { key: 0 }, Ape = { class: "tw-p-3" }, Spe = { class: "tw-flex tw-fl
|
|
|
61753
61753
|
]),
|
|
61754
61754
|
Vpe
|
|
61755
61755
|
])) : re("", !0),
|
|
61756
|
-
(L(!0), j(Ye, null, pt(le.value, (Qe,
|
|
61756
|
+
(L(!0), j(Ye, null, pt(le.value, (Qe, $t) => (L(), j("div", {
|
|
61757
61757
|
id: Qe.id,
|
|
61758
61758
|
key: Qe.id,
|
|
61759
|
-
class: Be(["tw-flex-1 tw-flex tw-items-center tw-h-[42px] tw-bg-[#f9f9f9] !tw-border-0 tw-shadow-[inset_0px_1px_0px_#eaedf3,_inset_0px_-1px_0px_#eaedf3] tw-box-border tw-sticky tw-top-0 tw-select-none tw-overflow-hidden tw-z-[1]", [
|
|
61759
|
+
class: Be(["vc-table__header tw-flex-1 tw-flex tw-items-center tw-h-[42px] tw-bg-[#f9f9f9] !tw-border-0 tw-shadow-[inset_0px_1px_0px_#eaedf3,_inset_0px_-1px_0px_#eaedf3] tw-box-border tw-sticky tw-top-0 tw-select-none tw-overflow-hidden tw-z-[1]", [
|
|
61760
61760
|
{
|
|
61761
61761
|
"tw-cursor-pointer tw-group": Qe.sortable,
|
|
61762
|
-
"tw-p-r-[35px]":
|
|
61762
|
+
"tw-p-r-[35px]": $t === le.value.length - 1
|
|
61763
61763
|
},
|
|
61764
61764
|
Qe.align ? V[Qe.align] : ""
|
|
61765
61765
|
]]),
|
|
@@ -61794,13 +61794,12 @@ const Tpe = { key: 0 }, Ape = { class: "tw-p-3" }, Spe = { class: "tw-flex tw-fl
|
|
|
61794
61794
|
})
|
|
61795
61795
|
]))
|
|
61796
61796
|
]),
|
|
61797
|
-
|
|
61798
|
-
key: 0,
|
|
61797
|
+
ie("div", {
|
|
61799
61798
|
class: Be(["tw-w-[5px] tw-mr-[3px] tw-border-r tw-border-r-[#e5e7eb] tw-border-solid tw-h-full tw-top-0 tw-bottom-0 tw-absolute tw-right-0 tw-flex tw-justify-end", {
|
|
61800
61799
|
"tw-cursor-col-resize": n.resizableColumns
|
|
61801
61800
|
}]),
|
|
61802
61801
|
onMousedown: (Pt) => z(Pt, Qe)
|
|
61803
|
-
}, null, 42, Jpe)
|
|
61802
|
+
}, null, 42, Jpe)
|
|
61804
61803
|
], 46, Ype))), 128)),
|
|
61805
61804
|
S.value && n.expanded ? (L(), j("div", Xpe, [
|
|
61806
61805
|
ge(the, {
|
|
@@ -61840,11 +61839,11 @@ const Tpe = { key: 0 }, Ape = { class: "tw-p-3" }, Spe = { class: "tw-flex tw-fl
|
|
|
61840
61839
|
])
|
|
61841
61840
|
])) : re("", !0),
|
|
61842
61841
|
pe.items && pe.items.length && !$.value ? (L(), j("div", eme, [
|
|
61843
|
-
(L(!0), j(Ye, null, pt(pe.items, (Qe,
|
|
61844
|
-
key: typeof Qe == "object" && "id" in Qe && Qe.id ||
|
|
61842
|
+
(L(!0), j(Ye, null, pt(pe.items, (Qe, $t) => (L(), j("div", {
|
|
61843
|
+
key: typeof Qe == "object" && "id" in Qe && Qe.id || $t,
|
|
61845
61844
|
class: Be(["vc-table__body-row tw-flex tw-w-full tw-h-[60px] tw-min-h-[60px] tw-bg-white tw-relative tw-group", {
|
|
61846
61845
|
"hover:!tw-bg-[#dfeef9] tw-cursor-pointer": M,
|
|
61847
|
-
"!tw-bg-[#F9F9F9]":
|
|
61846
|
+
"!tw-bg-[#F9F9F9]": $t % 2 === 1,
|
|
61848
61847
|
"!tw-bg-[#dfeef9] hover:!tw-bg-[#dfeef9]": typeof Qe == "object" && "id" in Qe && Qe.id ? pe.selectedItemId === Qe.id : !1
|
|
61849
61848
|
}]),
|
|
61850
61849
|
onClick: (Pt) => pe.$emit("itemClick", Qe),
|
|
@@ -61855,7 +61854,7 @@ const Tpe = { key: 0 }, Ape = { class: "tw-p-3" }, Spe = { class: "tw-flex tw-fl
|
|
|
61855
61854
|
onDragleave: tt,
|
|
61856
61855
|
onDragend: It,
|
|
61857
61856
|
onDrop: on,
|
|
61858
|
-
onMouseover: (Pt) => oe(
|
|
61857
|
+
onMouseover: (Pt) => oe($t)
|
|
61859
61858
|
}, [
|
|
61860
61859
|
pe.multiselect && typeof Qe == "object" ? (L(), j("div", {
|
|
61861
61860
|
key: 0,
|
|
@@ -61872,8 +61871,8 @@ const Tpe = { key: 0 }, Ape = { class: "tw-p-3" }, Spe = { class: "tw-flex tw-fl
|
|
|
61872
61871
|
rme
|
|
61873
61872
|
])) : re("", !0),
|
|
61874
61873
|
(L(!0), j(Ye, null, pt(le.value, (Pt) => (L(), j("div", {
|
|
61875
|
-
id: `${typeof Qe == "object" && "id" in Qe && Qe.id ||
|
|
61876
|
-
key: `${typeof Qe == "object" && "id" in Qe && Qe.id ||
|
|
61874
|
+
id: `${typeof Qe == "object" && "id" in Qe && Qe.id || $t}_${Pt.id}`,
|
|
61875
|
+
key: `${typeof Qe == "object" && "id" in Qe && Qe.id || $t}_${Pt.id}`,
|
|
61877
61876
|
class: Be(["tw-box-border tw-overflow-hidden tw-px-3 tw-flex-1 tw-flex tw-items-center", [Pt.class]]),
|
|
61878
61877
|
style: jt({ maxWidth: Pt.width, width: Pt.width })
|
|
61879
61878
|
}, [
|
|
@@ -61881,7 +61880,7 @@ const Tpe = { key: 0 }, Ape = { class: "tw-p-3" }, Spe = { class: "tw-flex tw-fl
|
|
|
61881
61880
|
Ce(pe.$slots, `item_${Pt.id}`, {
|
|
61882
61881
|
item: Qe,
|
|
61883
61882
|
cell: Pt,
|
|
61884
|
-
index:
|
|
61883
|
+
index: $t
|
|
61885
61884
|
}, () => [
|
|
61886
61885
|
typeof Qe == "object" ? (L(), Ne(PT, {
|
|
61887
61886
|
key: 0,
|
|
@@ -61889,17 +61888,17 @@ const Tpe = { key: 0 }, Ape = { class: "tw-p-3" }, Spe = { class: "tw-flex tw-fl
|
|
|
61889
61888
|
cell: Pt,
|
|
61890
61889
|
item: Qe,
|
|
61891
61890
|
editing: pe.editing,
|
|
61892
|
-
index:
|
|
61891
|
+
index: $t,
|
|
61893
61892
|
width: F(
|
|
61894
|
-
`${typeof Qe == "object" && "id" in Qe && Qe.id ||
|
|
61893
|
+
`${typeof Qe == "object" && "id" in Qe && Qe.id || $t}_${Pt.id}`
|
|
61895
61894
|
),
|
|
61896
|
-
onUpdate: (In) => pe.$emit("onEditComplete", { event: In, index:
|
|
61895
|
+
onUpdate: (In) => pe.$emit("onEditComplete", { event: In, index: $t }),
|
|
61897
61896
|
onBlur: Me[6] || (Me[6] = (In) => pe.$emit("onCellBlur", In))
|
|
61898
61897
|
}, null, 8, ["cell", "item", "editing", "index", "width", "onUpdate"])) : re("", !0)
|
|
61899
61898
|
])
|
|
61900
61899
|
])
|
|
61901
61900
|
], 14, ime))), 128)),
|
|
61902
|
-
pe.enableItemActions && pe.itemActionBuilder && typeof Qe == "object" && h.value ===
|
|
61901
|
+
pe.enableItemActions && pe.itemActionBuilder && typeof Qe == "object" && h.value === $t ? (L(), j("div", {
|
|
61903
61902
|
key: 1,
|
|
61904
61903
|
class: Be(["tw-absolute tw-flex tw-right-[10px] actions tw-h-full tw-bg-[#f4f8fb]", {
|
|
61905
61904
|
"group-hover:!tw-bg-[#dfeef9]": M
|
|
@@ -61908,12 +61907,12 @@ const Tpe = { key: 0 }, Ape = { class: "tw-p-3" }, Spe = { class: "tw-flex tw-fl
|
|
|
61908
61907
|
}, ["stop"]))
|
|
61909
61908
|
}, [
|
|
61910
61909
|
ie("div", sme, [
|
|
61911
|
-
(L(!0), j(Ye, null, pt(p.value[
|
|
61910
|
+
(L(!0), j(Ye, null, pt(p.value[$t], (Pt, In) => (L(), j("div", {
|
|
61912
61911
|
key: In,
|
|
61913
61912
|
class: Be([
|
|
61914
61913
|
"tw-text-[#319ed4] tw-cursor-pointer tw-w-[22px] tw-h-[22px] tw-flex tw-items-center tw-justify-center hover:tw-text-[#257fad]"
|
|
61915
61914
|
]),
|
|
61916
|
-
onClick: Ct((ao) => Pt.clickHandler(Qe,
|
|
61915
|
+
onClick: Ct((ao) => Pt.clickHandler(Qe, $t), ["stop"])
|
|
61917
61916
|
}, [
|
|
61918
61917
|
ge(ot, {
|
|
61919
61918
|
placement: "bottom",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"vc-table.vue.d.ts","sourceRoot":"","sources":["../../../../../ui/components/organisms/vc-table/vc-table.vue.ts"],"names":[],"mappings":"AAGA,OAAO,EACL,QAAQ,EACR,GAAG,EAWJ,MAAM,KAAK,CAAC;AAGb,OAAO,EAAE,oBAAoB,EAAE,aAAa,EAAE,MAAM,0BAA0B,CAAC;AAO/E,OAAO,iCAAiC,CAAC;AACzC,OAAO,gCAAgC,CAAC;AAIxC,MAAM,WAAW,WAAW;IAC1B,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,IAAI,EAAE,MAAM,GAAG,GAAG,CAAC,MAAM,CAAC,CAAC;IAC3B,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,YAAY,CAAC,EAAE,MAAM,IAAI,CAAC;CAC3B;AAED,MAAM,WAAW,SAAS;IACxB,CAAC,CAAC,EAAE,MAAM,GAAG,GAAG,CAAC;IACjB,OAAO,CAAC,EAAE,oB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;gBAAE,UAAU,EAAE,MAAM,IAAI,CAAA;aAAE,KAAK,GAAG;2BACnC,CAAC,IAAI,EAAE;gBAAE,IAAI,EAAE,CAAC,CAAA;aAAE,KAAK,GAAG;sBAG/B,CAAC,KAAK,EAAE,GAAG,KAAK,GAAG;mBACtB,CAAC,KAAK,EAAE,GAAG,KAAK,GAAG;oBAClB,CAAC,KAAK,EAAE,GAAG,KAAK,GAAG;;;uBA0DQ,MAAM;uBAAa,MAAM;mBAAS,CAAC,EAAE;;mBAExC;gBAAE,KAAK,EAAE,MAAM,CAAC;gBAAC,KAAK,EAAE,MAAM,GAAG,MAAM,CAAA;aAAE;mBAAS,MAAM;;iBAE9D,MAAM,GAAG,SAAS;mBAAS,MAAM;;;;AA5E7D,wBAu+D2E;AAQ3E,KAAK,cAAc,CAAC,CAAC,IAAI;KAAG,CAAC,IAAI,MAAM,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;CAAG,GAAG,EAAE,CAAC"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@vc-shell/framework",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.227",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"main": "./dist/framework.js",
|
|
6
6
|
"types": "./dist/index.d.ts",
|
|
@@ -60,9 +60,9 @@
|
|
|
60
60
|
"devDependencies": {
|
|
61
61
|
"@types/dompurify": "^3.0.5",
|
|
62
62
|
"@types/quill": "^2.0.14",
|
|
63
|
-
"@vc-shell/api-client-generator": "^1.0.
|
|
64
|
-
"@vc-shell/config-generator": "^1.0.
|
|
65
|
-
"@vc-shell/ts-config": "^1.0.
|
|
63
|
+
"@vc-shell/api-client-generator": "^1.0.227",
|
|
64
|
+
"@vc-shell/config-generator": "^1.0.227",
|
|
65
|
+
"@vc-shell/ts-config": "^1.0.227",
|
|
66
66
|
"@vitejs/plugin-vue": "^5.0.3",
|
|
67
67
|
"sass": "^1.69.6",
|
|
68
68
|
"shx": "^0.3.4",
|
|
@@ -148,7 +148,7 @@
|
|
|
148
148
|
v-for="(item, index) in filteredCols"
|
|
149
149
|
:id="item.id"
|
|
150
150
|
:key="item.id"
|
|
151
|
-
class="tw-flex-1 tw-flex tw-items-center tw-h-[42px] tw-bg-[#f9f9f9] !tw-border-0 tw-shadow-[inset_0px_1px_0px_#eaedf3,_inset_0px_-1px_0px_#eaedf3] tw-box-border tw-sticky tw-top-0 tw-select-none tw-overflow-hidden tw-z-[1]"
|
|
151
|
+
class="vc-table__header tw-flex-1 tw-flex tw-items-center tw-h-[42px] tw-bg-[#f9f9f9] !tw-border-0 tw-shadow-[inset_0px_1px_0px_#eaedf3,_inset_0px_-1px_0px_#eaedf3] tw-box-border tw-sticky tw-top-0 tw-select-none tw-overflow-hidden tw-z-[1]"
|
|
152
152
|
:class="[
|
|
153
153
|
{
|
|
154
154
|
'tw-cursor-pointer tw-group': item.sortable,
|
|
@@ -197,7 +197,6 @@
|
|
|
197
197
|
</div>
|
|
198
198
|
</div>
|
|
199
199
|
<div
|
|
200
|
-
v-if="index !== filteredCols.length - 1"
|
|
201
200
|
class="tw-w-[5px] tw-mr-[3px] tw-border-r tw-border-r-[#e5e7eb] tw-border-solid tw-h-full tw-top-0 tw-bottom-0 tw-absolute tw-right-0 tw-flex tw-justify-end"
|
|
202
201
|
:class="{
|
|
203
202
|
'tw-cursor-col-resize': props.resizableColumns,
|
|
@@ -896,6 +895,7 @@ function onColumnResizeEnd() {
|
|
|
896
895
|
const nextColElement = (table.value as HTMLDivElement).querySelector(`#${nextColumn.value.id}`);
|
|
897
896
|
|
|
898
897
|
const nextColumnWidth = (nextColElement as HTMLElement).offsetWidth - delta;
|
|
898
|
+
|
|
899
899
|
if (newColumnWidth > 15 && nextColumnWidth > 15) {
|
|
900
900
|
resizeTableCells(newColumnWidth, nextColumnWidth);
|
|
901
901
|
}
|