overgrid-vue 1.12.1 → 1.13.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/overgrid.es.js +196 -196
- package/dist/overgrid.umd.js +1 -1
- package/package.json +1 -1
package/dist/overgrid.es.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
var fh = Object.defineProperty;
|
|
2
2
|
var uh = (e, t, r) => t in e ? fh(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r;
|
|
3
3
|
var Ke = (e, t, r) => uh(e, typeof t != "symbol" ? t + "" : t, r);
|
|
4
|
-
import { ref as Oe, defineComponent as Ue, computed as Je, createElementBlock as Q, openBlock as G, normalizeClass as wt, renderSlot as pr, createCommentVNode as we, Fragment as Wt, mergeProps as kt, createElementVNode as X, createVNode as me, unref as
|
|
4
|
+
import { ref as Oe, defineComponent as Ue, computed as Je, createElementBlock as Q, openBlock as G, normalizeClass as wt, renderSlot as pr, createCommentVNode as we, Fragment as Wt, mergeProps as kt, createElementVNode as X, createVNode as me, unref as Y, withCtx as Be, toDisplayString as Ae, reactive as Bi, watch as ir, onMounted as af, onBeforeUnmount as ch, createBlock as tt, withModifiers as sa, Teleport as hh, Transition as Wn, normalizeStyle as Yo, nextTick as sf, renderList as wr, withDirectives as Gr, createTextVNode as cs, vShow as ii, mergeModels as hs, useModel as ds, vModelRadio as dh, vModelSelect as mh, vModelDynamic as ph, resolveDirective as xh, vModelCheckbox as vh, createSlots as _h, resolveDynamicComponent as gh, useSlots as wh } from "vue";
|
|
5
5
|
const yh = {
|
|
6
6
|
current_page_export: "Aktuális oldal exportálása",
|
|
7
7
|
ok: "OK",
|
|
@@ -575,7 +575,7 @@ const kh = ["type", "disabled"], Ah = { key: 0 }, bh = "inline-flex items-center
|
|
|
575
575
|
customClass: "overgrid-btn-paginator overgrid-btn-paginator-first-page",
|
|
576
576
|
onClick: r.paginator.firstPage,
|
|
577
577
|
disabled: !r.paginator.hasPreviousPage(),
|
|
578
|
-
title:
|
|
578
|
+
title: Y(t).l("first_page")
|
|
579
579
|
}, {
|
|
580
580
|
iconLeft: Be(() => [
|
|
581
581
|
me(Ot, {
|
|
@@ -593,7 +593,7 @@ const kh = ["type", "disabled"], Ah = { key: 0 }, bh = "inline-flex items-center
|
|
|
593
593
|
customClass: "overgrid-btn-paginator overgrid-btn-paginator-previous",
|
|
594
594
|
onClick: r.paginator.previousPage,
|
|
595
595
|
disabled: !r.paginator.hasPreviousPage(),
|
|
596
|
-
title:
|
|
596
|
+
title: Y(t).l("previous")
|
|
597
597
|
}, {
|
|
598
598
|
iconLeft: Be(() => [
|
|
599
599
|
me(Ot, {
|
|
@@ -603,7 +603,7 @@ const kh = ["type", "disabled"], Ah = { key: 0 }, bh = "inline-flex items-center
|
|
|
603
603
|
]),
|
|
604
604
|
_: 1
|
|
605
605
|
}, 8, ["onClick", "disabled", "title"]),
|
|
606
|
-
X("span", Dh, Ae(
|
|
606
|
+
X("span", Dh, Ae(Y(t).l("page_n_of_m", {
|
|
607
607
|
currentPage: ((i = n.paginator.currentPageForUI) == null ? void 0 : i.value.toString()) || "0",
|
|
608
608
|
totalPages: (s = n.paginator.state.totalPages) == null ? void 0 : s.toString()
|
|
609
609
|
})), 1),
|
|
@@ -615,7 +615,7 @@ const kh = ["type", "disabled"], Ah = { key: 0 }, bh = "inline-flex items-center
|
|
|
615
615
|
customClass: "overgrid-btn-paginator overgrid-btn-paginator-next",
|
|
616
616
|
onClick: r.paginator.nextPage,
|
|
617
617
|
disabled: !r.paginator.hasNextPage(),
|
|
618
|
-
title:
|
|
618
|
+
title: Y(t).l("next")
|
|
619
619
|
}, {
|
|
620
620
|
iconLeft: Be(() => [
|
|
621
621
|
me(Ot, {
|
|
@@ -633,7 +633,7 @@ const kh = ["type", "disabled"], Ah = { key: 0 }, bh = "inline-flex items-center
|
|
|
633
633
|
customClass: "overgrid-btn-paginator overgrid-btn-paginator-last-page",
|
|
634
634
|
onClick: r.paginator.lastPage,
|
|
635
635
|
disabled: !r.paginator.hasNextPage(),
|
|
636
|
-
title:
|
|
636
|
+
title: Y(t).l("last")
|
|
637
637
|
}, {
|
|
638
638
|
iconLeft: Be(() => [
|
|
639
639
|
me(Ot, {
|
|
@@ -840,7 +840,7 @@ const kh = ["type", "disabled"], Ah = { key: 0 }, bh = "inline-flex items-center
|
|
|
840
840
|
type: "edit",
|
|
841
841
|
class: "w-5 h-5 opacity-50"
|
|
842
842
|
}),
|
|
843
|
-
X("span", null, Ae(
|
|
843
|
+
X("span", null, Ae(Y(t).l("column_filters_edit_filter")), 1)
|
|
844
844
|
])
|
|
845
845
|
]),
|
|
846
846
|
X("li", $h, [
|
|
@@ -856,7 +856,7 @@ const kh = ["type", "disabled"], Ah = { key: 0 }, bh = "inline-flex items-center
|
|
|
856
856
|
type: "trash",
|
|
857
857
|
class: "w-5 h-5 opacity-50"
|
|
858
858
|
}),
|
|
859
|
-
X("span", null, Ae(
|
|
859
|
+
X("span", null, Ae(Y(t).l("column_filters_remove_filter")), 1)
|
|
860
860
|
])
|
|
861
861
|
])
|
|
862
862
|
])
|
|
@@ -902,7 +902,7 @@ const kh = ["type", "disabled"], Ah = { key: 0 }, bh = "inline-flex items-center
|
|
|
902
902
|
const t = Pt(), r = e;
|
|
903
903
|
return (n, a) => (G(), Q("ul", Hh, [
|
|
904
904
|
X("li", null, [
|
|
905
|
-
X("h3", Yh, Ae(
|
|
905
|
+
X("h3", Yh, Ae(Y(t).l("base_operations")), 1)
|
|
906
906
|
]),
|
|
907
907
|
r.columnSelector.isToolbarOptionEnabled.value ? (G(), Q("li", zh, [
|
|
908
908
|
X("a", {
|
|
@@ -917,7 +917,7 @@ const kh = ["type", "disabled"], Ah = { key: 0 }, bh = "inline-flex items-center
|
|
|
917
917
|
type: "table",
|
|
918
918
|
class: "w-5 h-5 opacity-50"
|
|
919
919
|
}),
|
|
920
|
-
X("span", Gh, Ae(
|
|
920
|
+
X("span", Gh, Ae(Y(t).l("column_selector")), 1)
|
|
921
921
|
])
|
|
922
922
|
])) : we("", !0),
|
|
923
923
|
r.currentPageExporter.isToolbarOptionEnabled.value ? (G(), Q("li", jh, [
|
|
@@ -933,7 +933,7 @@ const kh = ["type", "disabled"], Ah = { key: 0 }, bh = "inline-flex items-center
|
|
|
933
933
|
type: "cloud-download",
|
|
934
934
|
class: "w-5 h-5 opacity-50"
|
|
935
935
|
}),
|
|
936
|
-
X("span", Xh, Ae(
|
|
936
|
+
X("span", Xh, Ae(Y(t).l("current_page_export")), 1)
|
|
937
937
|
])
|
|
938
938
|
])) : we("", !0),
|
|
939
939
|
r.aboutModal.isToolbarOptionEnabled.value ? (G(), Q("li", Kh, [
|
|
@@ -949,7 +949,7 @@ const kh = ["type", "disabled"], Ah = { key: 0 }, bh = "inline-flex items-center
|
|
|
949
949
|
type: "info",
|
|
950
950
|
class: "w-5 h-5 opacity-50"
|
|
951
951
|
}),
|
|
952
|
-
X("span", qh, Ae(
|
|
952
|
+
X("span", qh, Ae(Y(t).l("about")), 1)
|
|
953
953
|
])
|
|
954
954
|
])) : we("", !0)
|
|
955
955
|
]));
|
|
@@ -969,7 +969,7 @@ const kh = ["type", "disabled"], Ah = { key: 0 }, bh = "inline-flex items-center
|
|
|
969
969
|
var i, s;
|
|
970
970
|
return G(), Q("ul", Jh, [
|
|
971
971
|
X("li", null, [
|
|
972
|
-
X("h3", Qh, Ae(
|
|
972
|
+
X("h3", Qh, Ae(Y(t).l("auto_refresh_menu_title")), 1)
|
|
973
973
|
]),
|
|
974
974
|
(i = r.config) != null && i.autoCanBeDisabled ? (G(), Q("li", ed, [
|
|
975
975
|
X("a", {
|
|
@@ -981,7 +981,7 @@ const kh = ["type", "disabled"], Ah = { key: 0 }, bh = "inline-flex items-center
|
|
|
981
981
|
type: "check",
|
|
982
982
|
class: "w-5 h-5"
|
|
983
983
|
}),
|
|
984
|
-
X("span", td, Ae(
|
|
984
|
+
X("span", td, Ae(Y(t).l("automatic_list_update_disabled")), 1)
|
|
985
985
|
], 2)
|
|
986
986
|
])) : we("", !0),
|
|
987
987
|
(G(!0), Q(Wt, null, wr((s = r.config) == null ? void 0 : s.autoValues, (o) => (G(), Q("li", {
|
|
@@ -1015,7 +1015,7 @@ const kh = ["type", "disabled"], Ah = { key: 0 }, bh = "inline-flex items-center
|
|
|
1015
1015
|
var i;
|
|
1016
1016
|
return G(), Q("ul", id, [
|
|
1017
1017
|
X("li", null, [
|
|
1018
|
-
X("h3", sd, Ae(
|
|
1018
|
+
X("h3", sd, Ae(Y(t).l("page_size")), 1)
|
|
1019
1019
|
]),
|
|
1020
1020
|
(G(!0), Q(Wt, null, wr((i = r.config) == null ? void 0 : i.possiblePageSizes, (s, o) => (G(), Q("li", {
|
|
1021
1021
|
class: "overgrid-toolbar-dropdown-section-item p-3 py-1 hover:bg-black/5 rounded-sm",
|
|
@@ -1030,7 +1030,7 @@ const kh = ["type", "disabled"], Ah = { key: 0 }, bh = "inline-flex items-center
|
|
|
1030
1030
|
type: "check",
|
|
1031
1031
|
class: "w-5 h-5"
|
|
1032
1032
|
}),
|
|
1033
|
-
X("span", ld, Ae(
|
|
1033
|
+
X("span", ld, Ae(Y(t).l("rows_per_page", {
|
|
1034
1034
|
possiblePageSize: s.toString()
|
|
1035
1035
|
})), 1)
|
|
1036
1036
|
], 10, od)
|
|
@@ -1262,7 +1262,7 @@ const cd = { class: "flex items-center justify-center" }, hd = /* @__PURE__ */ U
|
|
|
1262
1262
|
onClick: r.close
|
|
1263
1263
|
}, {
|
|
1264
1264
|
default: Be(() => [
|
|
1265
|
-
cs(Ae(a.cancelButtonTitle ? a.cancelButtonTitle :
|
|
1265
|
+
cs(Ae(a.cancelButtonTitle ? a.cancelButtonTitle : Y(t).l("cancel")), 1)
|
|
1266
1266
|
]),
|
|
1267
1267
|
_: 1
|
|
1268
1268
|
}, 8, ["onClick"]),
|
|
@@ -1281,7 +1281,7 @@ const cd = { class: "flex items-center justify-center" }, hd = /* @__PURE__ */ U
|
|
|
1281
1281
|
a.okButtonLoading ? (G(), tt(hd, {
|
|
1282
1282
|
key: 1,
|
|
1283
1283
|
sizeClasses: "h-5.5 w-5.5"
|
|
1284
|
-
})) : (G(), Q("span", gd, Ae(a.okButtonTitle ? a.okButtonTitle :
|
|
1284
|
+
})) : (G(), Q("span", gd, Ae(a.okButtonTitle ? a.okButtonTitle : Y(t).l("ok")), 1))
|
|
1285
1285
|
]),
|
|
1286
1286
|
_: 1
|
|
1287
1287
|
}, 8, ["disabled"]))
|
|
@@ -1385,7 +1385,7 @@ const cd = { class: "flex items-center justify-center" }, hd = /* @__PURE__ */ U
|
|
|
1385
1385
|
i && (r.value = n.columnSelector.selectedFields.value ? n.columnSelector.selectedFields.value : n.mappingVisible.map((s) => s.key));
|
|
1386
1386
|
}, { immediate: !0 }), (i, s) => (G(), tt(kn, {
|
|
1387
1387
|
show: n.columnSelector.isModalShown.value,
|
|
1388
|
-
title:
|
|
1388
|
+
title: Y(t).l("column_selector"),
|
|
1389
1389
|
close: () => {
|
|
1390
1390
|
n.columnSelector.closeModal();
|
|
1391
1391
|
},
|
|
@@ -1511,8 +1511,8 @@ var Dd = lf(function(e, t) {
|
|
|
1511
1511
|
}
|
|
1512
1512
|
x = f instanceof d ? f : new d([f], { type: l });
|
|
1513
1513
|
function N(E) {
|
|
1514
|
-
var O = E.split(/[:;,]/), C = O[1], j = O[2] == "base64" ? atob : decodeURIComponent, P = j(O.pop()),
|
|
1515
|
-
for (ue; ue <
|
|
1514
|
+
var O = E.split(/[:;,]/), C = O[1], j = O[2] == "base64" ? atob : decodeURIComponent, P = j(O.pop()), H = P.length, ue = 0, Ee = new Uint8Array(H);
|
|
1515
|
+
for (ue; ue < H; ++ue) Ee[ue] = P.charCodeAt(ue);
|
|
1516
1516
|
return new d([Ee], { type: C });
|
|
1517
1517
|
}
|
|
1518
1518
|
function V(E, O) {
|
|
@@ -2750,9 +2750,9 @@ var t0 = /* @__PURE__ */ function() {
|
|
|
2750
2750
|
for (j = 0; j != 256; ++j) P[j] = E[j];
|
|
2751
2751
|
for (j = 0; j != 256; ++j)
|
|
2752
2752
|
for (C = E[j], O = 256 + j; O < 4096; O += 256) C = P[O] = C >>> 8 ^ E[C & 255];
|
|
2753
|
-
var
|
|
2754
|
-
for (j = 1; j != 16; ++j)
|
|
2755
|
-
return
|
|
2753
|
+
var H = [];
|
|
2754
|
+
for (j = 1; j != 16; ++j) H[j - 1] = typeof Int32Array < "u" && typeof P.subarray == "function" ? P.subarray(j * 256, j * 256 + 256) : P.slice(j * 256, j * 256 + 256);
|
|
2755
|
+
return H;
|
|
2756
2756
|
}
|
|
2757
2757
|
var a = n(r), i = a[0], s = a[1], o = a[2], l = a[3], f = a[4], u = a[5], c = a[6], h = a[7], d = a[8], m = a[9], x = a[10], p = a[11], v = a[12], y = a[13], T = a[14];
|
|
2758
2758
|
function R(E, O) {
|
|
@@ -2765,8 +2765,8 @@ var t0 = /* @__PURE__ */ function() {
|
|
|
2765
2765
|
return ~C;
|
|
2766
2766
|
}
|
|
2767
2767
|
function V(E, O) {
|
|
2768
|
-
for (var C = O ^ -1, j = 0, P = E.length,
|
|
2769
|
-
|
|
2768
|
+
for (var C = O ^ -1, j = 0, P = E.length, H = 0, ue = 0; j < P; )
|
|
2769
|
+
H = E.charCodeAt(j++), H < 128 ? C = C >>> 8 ^ r[(C ^ H) & 255] : H < 2048 ? (C = C >>> 8 ^ r[(C ^ (192 | H >> 6 & 31)) & 255], C = C >>> 8 ^ r[(C ^ (128 | H & 63)) & 255]) : H >= 55296 && H < 57344 ? (H = (H & 1023) + 64, ue = E.charCodeAt(j++) & 1023, C = C >>> 8 ^ r[(C ^ (240 | H >> 8 & 7)) & 255], C = C >>> 8 ^ r[(C ^ (128 | H >> 2 & 63)) & 255], C = C >>> 8 ^ r[(C ^ (128 | ue >> 6 & 15 | (H & 3) << 4)) & 255], C = C >>> 8 ^ r[(C ^ (128 | ue & 63)) & 255]) : (C = C >>> 8 ^ r[(C ^ (224 | H >> 12 & 15)) & 255], C = C >>> 8 ^ r[(C ^ (128 | H >> 6 & 63)) & 255], C = C >>> 8 ^ r[(C ^ (128 | H & 63)) & 255]);
|
|
2770
2770
|
return ~C;
|
|
2771
2771
|
}
|
|
2772
2772
|
return e.table = r, e.bstr = R, e.buf = N, e.str = V, e;
|
|
@@ -2928,7 +2928,7 @@ var t0 = /* @__PURE__ */ function() {
|
|
|
2928
2928
|
}
|
|
2929
2929
|
function x(_, F, g) {
|
|
2930
2930
|
for (var w = _.start, S = _.size, k = [], B = w; g && S > 0 && B >= 0; )
|
|
2931
|
-
k.push(F.slice(B *
|
|
2931
|
+
k.push(F.slice(B * H, B * H + H)), S -= H, B = Mn(g, B * 4);
|
|
2932
2932
|
return k.length === 0 ? L(0) : bt(k).slice(0, _.size);
|
|
2933
2933
|
}
|
|
2934
2934
|
function p(_, F, g, w, S) {
|
|
@@ -3177,7 +3177,7 @@ var t0 = /* @__PURE__ */ function() {
|
|
|
3177
3177
|
if ((K ? g[B].replace(yi, "!") : g[B]).replace(Ua, "") == k || (K ? w[B].replace(yi, "!") : w[B]).replace(Ua, "") == k) return _.FileIndex[B];
|
|
3178
3178
|
return null;
|
|
3179
3179
|
}
|
|
3180
|
-
var
|
|
3180
|
+
var H = 64, ue = -2, Ee = "d0cf11e0a1b11ae1", ye = [208, 207, 17, 224, 161, 177, 26, 225], Tt = "00000000000000000000000000000000", Te = {
|
|
3181
3181
|
/* 2.1 Compund File Sector Numbers and Types */
|
|
3182
3182
|
MAXREGSECT: -6,
|
|
3183
3183
|
DIFSECT: -4,
|
|
@@ -6166,14 +6166,14 @@ var Zm = /* @__PURE__ */ function() {
|
|
|
6166
6166
|
}
|
|
6167
6167
|
j > 250 && (j = 250), C = ((x[p] || {}).DBF || {}).type, C == "C" && x[p].DBF.len > j && (j = x[p].DBF.len), O == "B" && C == "N" && (O = "N", E[p] = x[p].DBF.dec, j = x[p].DBF.len), V[p] = O == "C" || C == "N" ? j : i[O] || 0, T += V[p], N[p] = O;
|
|
6168
6168
|
}
|
|
6169
|
-
var
|
|
6170
|
-
for (
|
|
6169
|
+
var H = c.next(32);
|
|
6170
|
+
for (H.write_shift(4, 318902576), H.write_shift(4, m.length), H.write_shift(2, 296 + 32 * y), H.write_shift(2, T), p = 0; p < 4; ++p) H.write_shift(4, 0);
|
|
6171
6171
|
var ue = +t[
|
|
6172
6172
|
/*::String(*/
|
|
6173
6173
|
nn
|
|
6174
6174
|
/*::)*/
|
|
6175
6175
|
] || 3;
|
|
6176
|
-
for (
|
|
6176
|
+
for (H.write_shift(4, 0 | ue << 8), e[ue] != +f.codepage && (f.codepage && console.error("DBF Unsupported codepage " + nn + ", using 1252"), nn = 1252), p = 0, v = 0; p < d.length; ++p)
|
|
6177
6177
|
if (d[p] != null) {
|
|
6178
6178
|
var Ee = c.next(32), ye = (d[p].slice(-10) + "\0\0\0\0\0\0\0\0\0\0\0").slice(0, 11);
|
|
6179
6179
|
Ee.write_shift(1, ye, "sbcs"), Ee.write_shift(1, N[p] == "?" ? "C" : N[p], "sbcs"), Ee.write_shift(4, v), Ee.write_shift(1, V[p] || i[N[p]] || 0), Ee.write_shift(1, E[p] || 0), Ee.write_shift(1, 2), Ee.write_shift(4, 0), Ee.write_shift(1, 0), Ee.write_shift(4, 0), Ee.write_shift(4, 0), v += V[p] || i[N[p]] || 0;
|
|
@@ -6331,7 +6331,7 @@ var Zm = /* @__PURE__ */ function() {
|
|
|
6331
6331
|
throw new Error("Unrecognized type " + m.type);
|
|
6332
6332
|
}
|
|
6333
6333
|
function s(d, m) {
|
|
6334
|
-
var x = d.split(/[\n\r]+/), p = -1, v = -1, y = 0, T = 0, R = [], N = [], V = null, E = {}, O = [], C = [], j = [], P = 0,
|
|
6334
|
+
var x = d.split(/[\n\r]+/), p = -1, v = -1, y = 0, T = 0, R = [], N = [], V = null, E = {}, O = [], C = [], j = [], P = 0, H, ue = { Workbook: { WBProps: {}, Names: [] } };
|
|
6335
6335
|
for (+m.codepage >= 0 && Ga(+m.codepage); y !== x.length; ++y) {
|
|
6336
6336
|
P = 0;
|
|
6337
6337
|
var Ee = x[y].trim().replace(/\x1B([\x20-\x2F])([\x30-\x3F])/g, n).replace(t, r), ye = Ee.replace(/;;/g, "\0").split(";").map(function(b) {
|
|
@@ -6394,7 +6394,7 @@ var Zm = /* @__PURE__ */ function() {
|
|
|
6394
6394
|
v = parseInt(ye[T].slice(1), 10) - 1, Yt = !0;
|
|
6395
6395
|
break;
|
|
6396
6396
|
case "Y":
|
|
6397
|
-
for (p = parseInt(ye[T].slice(1), 10) - 1, Yt || (v = 0),
|
|
6397
|
+
for (p = parseInt(ye[T].slice(1), 10) - 1, Yt || (v = 0), H = R.length; H <= p; ++H) R[H] = [];
|
|
6398
6398
|
break;
|
|
6399
6399
|
case "K":
|
|
6400
6400
|
Te = ye[T].slice(1), Te.charAt(0) === '"' ? (Te = Te.slice(1, Te.length - 1), Ie = "s") : Te === "TRUE" || Te === "FALSE" ? (Te = Te === "TRUE", Ie = "b") : Te.charAt(0) == "#" && zr[Te] != null ? (Ie = "e", Te = zr[Te]) : isNaN(ln(Te)) || (Te = ln(Te), Ie = "n", V !== null && Hn(V) && m.cellDates && (Te = la(ue.Workbook.WBProps.date1904 ? Te + 1462 : Te), Ie = typeof Te == "number" ? "n" : "d")), It = !0;
|
|
@@ -6434,7 +6434,7 @@ var Zm = /* @__PURE__ */ function() {
|
|
|
6434
6434
|
v = parseInt(ye[T].slice(1), 10) - 1, ++D;
|
|
6435
6435
|
break;
|
|
6436
6436
|
case "Y":
|
|
6437
|
-
for (p = parseInt(ye[T].slice(1), 10) - 1,
|
|
6437
|
+
for (p = parseInt(ye[T].slice(1), 10) - 1, H = R.length; H <= p; ++H) R[H] = [];
|
|
6438
6438
|
break;
|
|
6439
6439
|
case "M":
|
|
6440
6440
|
P = parseInt(ye[T].slice(1), 10) / 20;
|
|
@@ -6458,8 +6458,8 @@ var Zm = /* @__PURE__ */ function() {
|
|
|
6458
6458
|
break;
|
|
6459
6459
|
/* font */
|
|
6460
6460
|
case "W":
|
|
6461
|
-
for (j = ye[T].slice(1).split(" "),
|
|
6462
|
-
P = parseInt(j[2], 10), C[
|
|
6461
|
+
for (j = ye[T].slice(1).split(" "), H = parseInt(j[0], 10); H <= parseInt(j[1], 10); ++H)
|
|
6462
|
+
P = parseInt(j[2], 10), C[H - 1] = P === 0 ? { hidden: !0 } : { wch: P };
|
|
6463
6463
|
break;
|
|
6464
6464
|
case "C":
|
|
6465
6465
|
v = parseInt(ye[T].slice(1), 10) - 1, C[v] || (C[v] = {});
|
|
@@ -6837,28 +6837,28 @@ EOD`;
|
|
|
6837
6837
|
function j() {
|
|
6838
6838
|
var P = u.slice(T, R);
|
|
6839
6839
|
P.slice(-1) == "\r" && (P = P.slice(0, -1));
|
|
6840
|
-
var
|
|
6841
|
-
if (P.charAt(0) == '"' && P.charAt(P.length - 1) == '"' && (P = P.slice(1, -1).replace(/""/g, '"')), h.cellText !== !1 && (
|
|
6840
|
+
var H = {};
|
|
6841
|
+
if (P.charAt(0) == '"' && P.charAt(P.length - 1) == '"' && (P = P.slice(1, -1).replace(/""/g, '"')), h.cellText !== !1 && (H.w = P), P.length === 0) H.t = "z";
|
|
6842
6842
|
else if (h.raw)
|
|
6843
|
-
|
|
6843
|
+
H.t = "s", H.v = P;
|
|
6844
6844
|
else if (P.trim().length === 0)
|
|
6845
|
-
|
|
6845
|
+
H.t = "s", H.v = P;
|
|
6846
6846
|
else if (P.charCodeAt(0) == 61)
|
|
6847
|
-
P.charCodeAt(1) == 34 && P.charCodeAt(P.length - 1) == 34 ? (
|
|
6847
|
+
P.charCodeAt(1) == 34 && P.charCodeAt(P.length - 1) == 34 ? (H.t = "s", H.v = P.slice(2, -1).replace(/""/g, '"')) : ex(P) ? (H.t = "s", H.f = P.slice(1), H.v = P) : (H.t = "s", H.v = P);
|
|
6848
6848
|
else if (P == "TRUE")
|
|
6849
|
-
|
|
6849
|
+
H.t = "b", H.v = !0;
|
|
6850
6850
|
else if (P == "FALSE")
|
|
6851
|
-
|
|
6851
|
+
H.t = "b", H.v = !1;
|
|
6852
6852
|
else if (!isNaN(y = ln(P)))
|
|
6853
|
-
|
|
6853
|
+
H.t = "n", H.v = y;
|
|
6854
6854
|
else if (!isNaN((y = Gi(P)).getDate()) || C && P.match(C)) {
|
|
6855
|
-
if (
|
|
6855
|
+
if (H.z = h.dateNF || lt[14], C && P.match(C)) {
|
|
6856
6856
|
var ue = i1(P, h.dateNF, P.match(C) || []);
|
|
6857
6857
|
y = dr(ue), h && h.UTC === !1 && (y = va(y));
|
|
6858
|
-
} else h && h.UTC === !1 ? y = va(y) : h.cellText !== !1 && h.dateNF && (
|
|
6859
|
-
h.cellDates ? (
|
|
6860
|
-
} else P.charCodeAt(0) == 35 && zr[P] != null ? (
|
|
6861
|
-
if (
|
|
6858
|
+
} else h && h.UTC === !1 ? y = va(y) : h.cellText !== !1 && h.dateNF && (H.w = hn(H.z, y));
|
|
6859
|
+
h.cellDates ? (H.t = "d", H.v = y) : (H.t = "n", H.v = Ht(y)), h.cellNF || delete H.z;
|
|
6860
|
+
} else P.charCodeAt(0) == 35 && zr[P] != null ? (H.t = "e", H.w = P, H.v = zr[P]) : (H.t = "s", H.v = P);
|
|
6861
|
+
if (H.t == "z" || (h.dense ? (m["!data"][p] || (m["!data"][p] = []), m["!data"][p][v] = H) : m[vt({ c: v, r: p })] = H), T = R + 1, O = u.charCodeAt(T), x.e.c < v && (x.e.c = v), x.e.r < p && (x.e.r = p), E == N) ++v;
|
|
6862
6862
|
else if (v = 0, ++p, h.sheetRows && h.sheetRows <= p) return !0;
|
|
6863
6863
|
}
|
|
6864
6864
|
e: for (; R < u.length; ++R) switch (E = u.charCodeAt(R)) {
|
|
@@ -7440,7 +7440,7 @@ EOD`;
|
|
|
7440
7440
|
}
|
|
7441
7441
|
return D[1].v = b, D;
|
|
7442
7442
|
}
|
|
7443
|
-
function
|
|
7443
|
+
function H(A, M) {
|
|
7444
7444
|
var D = O(A), b = A.read_shift(4), Z = A.read_shift(4), ce = A.read_shift(2);
|
|
7445
7445
|
if (ce == 65535)
|
|
7446
7446
|
return b === 0 && Z === 3221225472 ? (D[1].t = "e", D[1].v = 15) : b === 0 && Z === 3489660928 ? (D[1].t = "e", D[1].v = 42) : D[1].v = 0, D;
|
|
@@ -7455,7 +7455,7 @@ EOD`;
|
|
|
7455
7455
|
return b < 0 && (ce = 1, b = -b), ie = Math.log2(b) | 0, b /= Math.pow(2, ie - 31), le = b >>> 0, (le & 2147483648) == 0 && (b /= 2, ++ie, le = b >>> 0), b -= le, le |= 2147483648, le >>>= 0, b *= Math.pow(2, 32), ke = b >>> 0, Z.write_shift(4, ke), Z.write_shift(4, le), ie += 16383 + (ce ? 32768 : 0), Z.write_shift(2, ie), Z;
|
|
7456
7456
|
}
|
|
7457
7457
|
function Ee(A, M) {
|
|
7458
|
-
var D =
|
|
7458
|
+
var D = H(A);
|
|
7459
7459
|
return A.l += M - 14, D;
|
|
7460
7460
|
}
|
|
7461
7461
|
function ye(A, M) {
|
|
@@ -7608,7 +7608,7 @@ EOD`;
|
|
|
7608
7608
|
20: { n: "ERRCELL" },
|
|
7609
7609
|
21: { n: "NACELL" },
|
|
7610
7610
|
22: { n: "LABEL16", f: C },
|
|
7611
|
-
23: { n: "NUMBER17", f:
|
|
7611
|
+
23: { n: "NUMBER17", f: H },
|
|
7612
7612
|
24: { n: "NUMBER18", f: P },
|
|
7613
7613
|
25: { n: "FORMULA19", f: Ee },
|
|
7614
7614
|
26: { n: "FORMULA1A" },
|
|
@@ -9201,8 +9201,8 @@ function _a(e, t, r, n, a) {
|
|
|
9201
9201
|
if (((n[C] || [])[0] || [])[0] == 14849 || (((n[C] || [])[0] || [])[0] == 1025 ? n[C][h] && n[C][h].itab > 0 && (P = n.SheetNames[n[C][h].itab - 1] + "!") : P = n.SheetNames[h - 1] + "!"), n[C] && n[C][h]) P += n[C][h].Name;
|
|
9202
9202
|
else if (n[0] && n[0][h]) P += n[0][h].Name;
|
|
9203
9203
|
else {
|
|
9204
|
-
var
|
|
9205
|
-
|
|
9204
|
+
var H = (mu(n, C, a) || "").split(";;");
|
|
9205
|
+
H[h - 1] ? P = H[h - 1] : P += "SH33TJSERRX";
|
|
9206
9206
|
}
|
|
9207
9207
|
o.push(P);
|
|
9208
9208
|
break;
|
|
@@ -15359,8 +15359,8 @@ function Su(e, t, r) {
|
|
|
15359
15359
|
j.s.c == y + o && j.s.r < p + s && p + s <= j.e.r && (y = j.e.c + 1 - o, d = -1);
|
|
15360
15360
|
}
|
|
15361
15361
|
R = +E.getAttribute("colspan") || 1, ((T = +E.getAttribute("rowspan") || 1) > 1 || R > 1) && h.push({ s: { r: p + s, c: y + o }, e: { r: p + s + (T || 1) - 1, c: y + o + (R || 1) - 1 } });
|
|
15362
|
-
var P = { t: "s", v: O },
|
|
15363
|
-
O != null && (O.length == 0 ? P.t =
|
|
15362
|
+
var P = { t: "s", v: O }, H = E.getAttribute("data-t") || E.getAttribute("t") || "";
|
|
15363
|
+
O != null && (O.length == 0 ? P.t = H || "z" : a.raw || O.trim().length == 0 || H == "s" || (H == "e" && lr[+O] ? P = { t: "e", v: +O, w: lr[+O] } : O === "TRUE" ? P = { t: "b", v: !0 } : O === "FALSE" ? P = { t: "b", v: !1 } : isNaN(ln(O)) ? isNaN(Gi(O).getDate()) ? O.charCodeAt(0) == 35 && zr[O] != null && (P = { t: "e", v: zr[O], w: O }) : (P = { t: "d", v: dr(O) }, a.UTC && (P.v = gs(P.v)), a.cellDates || (P = { t: "n", v: Ht(P.v) }), P.z = a.dateNF || lt[14]) : P = { t: "n", v: ln(O) })), P.z === void 0 && C != null && (P.z = C);
|
|
15364
15364
|
var ue = "", Ee = E.getElementsByTagName("A");
|
|
15365
15365
|
if (Ee && Ee.length) for (var ye = 0; ye < Ee.length && !(Ee[ye].hasAttribute("href") && (ue = Ee[ye].getAttribute("href"), ue.charAt(0) != "#")); ++ye) ;
|
|
15366
15366
|
ue && ue.charAt(0) != "#" && ue.slice(0, 11).toLowerCase() != "javascript:" && (P.l = { Target: ue }), i ? (e["!data"][p + s] || (e["!data"][p + s] = []), e["!data"][p + s][y + o] = P) : e[vt({ c: y + o, r: p + s })] = P, u.e.c < y + o && (u.e.c = y + o), y += R;
|
|
@@ -15656,8 +15656,8 @@ var P0 = /* @__PURE__ */ function() {
|
|
|
15656
15656
|
l[E.z] && (R["table:style-name"] = "ce" + l[E.z].slice(1));
|
|
15657
15657
|
var P = ne("text:p", C, {});
|
|
15658
15658
|
if (E.c) {
|
|
15659
|
-
for (var
|
|
15660
|
-
!
|
|
15659
|
+
for (var H = "", ue = "", Ee = {}, ye = 0; ye < E.c.length; ++ye)
|
|
15660
|
+
!H && E.c[ye].a && (H = E.c[ye].a), ue += "<text:p>" + e(E.c[ye].t) + "</text:p>";
|
|
15661
15661
|
E.c.hidden || (Ee["office:display"] = !0), P = ne("office:annotation", ue, Ee) + P;
|
|
15662
15662
|
}
|
|
15663
15663
|
u.push(" " + ne("table:table-cell", P, R) + `
|
|
@@ -16449,8 +16449,8 @@ function y2(e, t, r) {
|
|
|
16449
16449
|
t[O].location = t[E].location.replace(E.toString(), O.toString()), t[O].location == t[E].location && (t[O].location = t[O].location.replace(/\.iwa/, "-".concat(O, ".iwa"))), it.utils.cfb_add(e, t[O].location, da(ha([C])));
|
|
16450
16450
|
var j = t[O].location.replace(/^Root Entry\//, "").replace(/^Index\//, "").replace(/\.iwa$/, "");
|
|
16451
16451
|
et(e, t, 2, function(P) {
|
|
16452
|
-
var
|
|
16453
|
-
Ao(
|
|
16452
|
+
var H = ge(P.messages[0].data);
|
|
16453
|
+
Ao(H, O, j), ur(H, t, o, O), P.messages[0].data = ve(H);
|
|
16454
16454
|
});
|
|
16455
16455
|
}
|
|
16456
16456
|
y[N][0].data = jt(O);
|
|
@@ -16599,9 +16599,9 @@ function E2(e, t, r, n, a, i) {
|
|
|
16599
16599
|
[{ type: 0, data: xe(5) }],
|
|
16600
16600
|
[{ type: 0, data: xe(1) }],
|
|
16601
16601
|
[{ type: 0, data: xe(1) }]
|
|
16602
|
-
],
|
|
16603
|
-
var ue = v2(l[
|
|
16604
|
-
ue[1][0].data = xe(
|
|
16602
|
+
], H = C * N; H <= Math.min(s.e.r, (C + 1) * N - 1); ++H) {
|
|
16603
|
+
var ue = v2(l[H], m);
|
|
16604
|
+
ue[1][0].data = xe(H - C * N), P[5].push({ data: ve(ue), type: 2 });
|
|
16605
16605
|
}
|
|
16606
16606
|
R[1].push({ type: 2, data: ve([
|
|
16607
16607
|
[],
|
|
@@ -20544,7 +20544,7 @@ const jT = { class: "font-bold overgrid-modal-subtitle mb-2" }, XT = { class: "g
|
|
|
20544
20544
|
}
|
|
20545
20545
|
return (c, h) => (G(), tt(kn, {
|
|
20546
20546
|
show: n.currentPageExporter.isModalShown.value,
|
|
20547
|
-
title:
|
|
20547
|
+
title: Y(t).l("column_selector"),
|
|
20548
20548
|
close: () => {
|
|
20549
20549
|
n.currentPageExporter.closeModal();
|
|
20550
20550
|
},
|
|
@@ -20553,7 +20553,7 @@ const jT = { class: "font-bold overgrid-modal-subtitle mb-2" }, XT = { class: "g
|
|
|
20553
20553
|
content: Be(() => {
|
|
20554
20554
|
var d, m, x;
|
|
20555
20555
|
return [
|
|
20556
|
-
X("h4", jT, Ae(
|
|
20556
|
+
X("h4", jT, Ae(Y(t).l("export_fields")), 1),
|
|
20557
20557
|
X("div", XT, [
|
|
20558
20558
|
(G(!0), Q(Wt, null, wr((d = n.mappingVisible) == null ? void 0 : d.filter((p) => p.exportable !== !1), (p, v) => (G(), Q("label", {
|
|
20559
20559
|
class: "flex items-center overgrid-checkbox-label",
|
|
@@ -20574,7 +20574,7 @@ const jT = { class: "font-bold overgrid-modal-subtitle mb-2" }, XT = { class: "g
|
|
|
20574
20574
|
])) : we("", !0)
|
|
20575
20575
|
]))), 128))
|
|
20576
20576
|
]),
|
|
20577
|
-
X("h4", qT, Ae(
|
|
20577
|
+
X("h4", qT, Ae(Y(t).l("export_format")), 1),
|
|
20578
20578
|
X("div", ZT, [
|
|
20579
20579
|
(m = n.currentPageExporterConfig) != null && m.xlsxEnabled ? (G(), Q("label", JT, [
|
|
20580
20580
|
me(zl, {
|
|
@@ -20597,9 +20597,9 @@ const jT = { class: "font-bold overgrid-modal-subtitle mb-2" }, XT = { class: "g
|
|
|
20597
20597
|
h[4] || (h[4] = X("p", { class: "cursor-pointer text-sm" }, "CSV", -1))
|
|
20598
20598
|
])) : we("", !0)
|
|
20599
20599
|
]),
|
|
20600
|
-
me(
|
|
20600
|
+
me(Y(dl), {
|
|
20601
20601
|
data: f.value,
|
|
20602
|
-
name: "data-export-" +
|
|
20602
|
+
name: "data-export-" + Y(fe)().unix() + "." + i.value,
|
|
20603
20603
|
type: i.value,
|
|
20604
20604
|
fields: l.value,
|
|
20605
20605
|
onClick: u
|
|
@@ -20610,7 +20610,7 @@ const jT = { class: "font-bold overgrid-modal-subtitle mb-2" }, XT = { class: "g
|
|
|
20610
20610
|
ref_key: "downloadButton",
|
|
20611
20611
|
ref: r
|
|
20612
20612
|
}, [
|
|
20613
|
-
X("span", null, Ae(
|
|
20613
|
+
X("span", null, Ae(Y(t).l("ok")), 1)
|
|
20614
20614
|
], 512)
|
|
20615
20615
|
]),
|
|
20616
20616
|
_: 1
|
|
@@ -20661,7 +20661,7 @@ const jT = { class: "font-bold overgrid-modal-subtitle mb-2" }, XT = { class: "g
|
|
|
20661
20661
|
disabled: n.disabled,
|
|
20662
20662
|
"onUpdate:modelValue": f[0] || (f[0] = (u) => r.value = u)
|
|
20663
20663
|
}, l.$attrs), [
|
|
20664
|
-
l.enableNullOption ? (G(), Q("option", rE, Ae(n.nullOptionText ? n.nullOptionText :
|
|
20664
|
+
l.enableNullOption ? (G(), Q("option", rE, Ae(n.nullOptionText ? n.nullOptionText : Y(t).l("please_select")), 1)) : we("", !0),
|
|
20665
20665
|
(G(!0), Q(Wt, null, wr(n.options, (u) => (G(), Q("option", {
|
|
20666
20666
|
class: "p-0 m-0",
|
|
20667
20667
|
key: u.key,
|
|
@@ -20749,16 +20749,16 @@ const jT = { class: "font-bold overgrid-modal-subtitle mb-2" }, XT = { class: "g
|
|
|
20749
20749
|
var u, c, h;
|
|
20750
20750
|
return G(), tt(kn, {
|
|
20751
20751
|
show: ((h = (c = (u = r.columnFilters.fieldUnderAdding) == null ? void 0 : u.value) == null ? void 0 : c.columnFilter) == null ? void 0 : h.type) == mo,
|
|
20752
|
-
title:
|
|
20752
|
+
title: Y(t).l("column_filter_text_modal_title"),
|
|
20753
20753
|
close: r.columnFilters.closeColumnFilterConfigModal,
|
|
20754
|
-
cancelButtonTitle:
|
|
20754
|
+
cancelButtonTitle: Y(t).l("close"),
|
|
20755
20755
|
disableOkButton: !i.value,
|
|
20756
20756
|
ok: o
|
|
20757
20757
|
}, {
|
|
20758
20758
|
content: Be(() => [
|
|
20759
20759
|
X("div", oE, [
|
|
20760
20760
|
X("div", lE, [
|
|
20761
|
-
X("label", fE, Ae(
|
|
20761
|
+
X("label", fE, Ae(Y(t).l("operation")), 1),
|
|
20762
20762
|
me(Ls, {
|
|
20763
20763
|
id: "overgrid-column-filter-operation-text",
|
|
20764
20764
|
rounded: "full",
|
|
@@ -20768,19 +20768,19 @@ const jT = { class: "font-bold overgrid-modal-subtitle mb-2" }, XT = { class: "g
|
|
|
20768
20768
|
modelValue: n.value,
|
|
20769
20769
|
"onUpdate:modelValue": f[0] || (f[0] = (d) => n.value = d),
|
|
20770
20770
|
options: [
|
|
20771
|
-
{ key: "cn", text:
|
|
20772
|
-
{ key: "ncn", text:
|
|
20773
|
-
{ key: "eq", text:
|
|
20774
|
-
{ key: "neq", text:
|
|
20775
|
-
{ key: "sw", text:
|
|
20776
|
-
{ key: "nsw", text:
|
|
20777
|
-
{ key: "ew", text:
|
|
20778
|
-
{ key: "new", text:
|
|
20771
|
+
{ key: "cn", text: Y(t).l("contains") },
|
|
20772
|
+
{ key: "ncn", text: Y(t).l("not_contains") },
|
|
20773
|
+
{ key: "eq", text: Y(t).l("equals") },
|
|
20774
|
+
{ key: "neq", text: Y(t).l("not_equals") },
|
|
20775
|
+
{ key: "sw", text: Y(t).l("starts_with") },
|
|
20776
|
+
{ key: "nsw", text: Y(t).l("not_starts_with") },
|
|
20777
|
+
{ key: "ew", text: Y(t).l("ends_with") },
|
|
20778
|
+
{ key: "new", text: Y(t).l("not_ends_with") }
|
|
20779
20779
|
]
|
|
20780
20780
|
}, null, 8, ["modelValue", "options"])
|
|
20781
20781
|
]),
|
|
20782
20782
|
X("div", uE, [
|
|
20783
|
-
X("label", cE, Ae(
|
|
20783
|
+
X("label", cE, Ae(Y(t).l("value")), 1),
|
|
20784
20784
|
me(za, {
|
|
20785
20785
|
id: "overgrid-column-filter-value-text",
|
|
20786
20786
|
rounded: "full",
|
|
@@ -20789,7 +20789,7 @@ const jT = { class: "font-bold overgrid-modal-subtitle mb-2" }, XT = { class: "g
|
|
|
20789
20789
|
type: "text",
|
|
20790
20790
|
modelValue: a.value,
|
|
20791
20791
|
"onUpdate:modelValue": f[1] || (f[1] = (d) => a.value = d),
|
|
20792
|
-
placeholder:
|
|
20792
|
+
placeholder: Y(t).l("please_enter_value"),
|
|
20793
20793
|
customClass: "overgrid-input overgrid-input-column-filter-value"
|
|
20794
20794
|
}, null, 8, ["modelValue", "placeholder"])
|
|
20795
20795
|
])
|
|
@@ -21009,12 +21009,12 @@ const xE = { class: "flex flex-col gap-3" }, vE = { class: "flex flex-col gap-1"
|
|
|
21009
21009
|
columnFilters: {}
|
|
21010
21010
|
},
|
|
21011
21011
|
setup(e) {
|
|
21012
|
-
var f, u, c, h, d, m, x, p, v, y, T, R, N, V, E, O, C, j, P,
|
|
21012
|
+
var f, u, c, h, d, m, x, p, v, y, T, R, N, V, E, O, C, j, P, H, ue, Ee, ye, Tt, Te, _t, st, It, Yt, Fe, Ne, Pe, We, He, Ie, A;
|
|
21013
21013
|
const t = Pt(), r = e, n = Oe({
|
|
21014
21014
|
decimal: (c = (u = (f = r.columnFilters.fieldUnderAdding.value) == null ? void 0 : f.columnFilter) == null ? void 0 : u.config) != null && c.decimal ? (m = (d = (h = r.columnFilters.fieldUnderAdding.value) == null ? void 0 : h.columnFilter) == null ? void 0 : d.config) == null ? void 0 : m.decimal : ".",
|
|
21015
21015
|
thousands: (v = (p = (x = r.columnFilters.fieldUnderAdding.value) == null ? void 0 : x.columnFilter) == null ? void 0 : p.config) != null && v.thousands ? (R = (T = (y = r.columnFilters.fieldUnderAdding.value) == null ? void 0 : y.columnFilter) == null ? void 0 : T.config) == null ? void 0 : R.thousands : ",",
|
|
21016
21016
|
precision: (E = (V = (N = r.columnFilters.fieldUnderAdding.value) == null ? void 0 : N.columnFilter) == null ? void 0 : V.config) != null && E.precision ? (j = (C = (O = r.columnFilters.fieldUnderAdding.value) == null ? void 0 : O.columnFilter) == null ? void 0 : C.config) == null ? void 0 : j.precision : 2,
|
|
21017
|
-
min: (ue = (
|
|
21017
|
+
min: (ue = (H = (P = r.columnFilters.fieldUnderAdding.value) == null ? void 0 : P.columnFilter) == null ? void 0 : H.config) != null && ue.min ? (Tt = (ye = (Ee = r.columnFilters.fieldUnderAdding.value) == null ? void 0 : Ee.columnFilter) == null ? void 0 : ye.config) == null ? void 0 : Tt.min : void 0,
|
|
21018
21018
|
max: (st = (_t = (Te = r.columnFilters.fieldUnderAdding.value) == null ? void 0 : Te.columnFilter) == null ? void 0 : _t.config) != null && st.max ? (Fe = (Yt = (It = r.columnFilters.fieldUnderAdding.value) == null ? void 0 : It.columnFilter) == null ? void 0 : Yt.config) == null ? void 0 : Fe.max : void 0,
|
|
21019
21019
|
maxlength: (We = (Pe = (Ne = r.columnFilters.fieldUnderAdding.value) == null ? void 0 : Ne.columnFilter) == null ? void 0 : Pe.config) != null && We.maxlength ? (A = (Ie = (He = r.columnFilters.fieldUnderAdding.value) == null ? void 0 : He.columnFilter) == null ? void 0 : Ie.config) == null ? void 0 : A.maxlength : void 0
|
|
21020
21020
|
}), a = Oe("cn"), i = Oe(""), s = Je(() => i.value !== null && i.value !== "");
|
|
@@ -21046,16 +21046,16 @@ const xE = { class: "flex flex-col gap-3" }, vE = { class: "flex flex-col gap-1"
|
|
|
21046
21046
|
var b, Z, ce;
|
|
21047
21047
|
return G(), tt(kn, {
|
|
21048
21048
|
show: ((ce = (Z = (b = r.columnFilters.fieldUnderAdding) == null ? void 0 : b.value) == null ? void 0 : Z.columnFilter) == null ? void 0 : ce.type) == po,
|
|
21049
|
-
title:
|
|
21049
|
+
title: Y(t).l("column_filter_number_modal_title"),
|
|
21050
21050
|
close: r.columnFilters.closeColumnFilterConfigModal,
|
|
21051
|
-
cancelButtonTitle:
|
|
21051
|
+
cancelButtonTitle: Y(t).l("close"),
|
|
21052
21052
|
disableOkButton: !s.value,
|
|
21053
21053
|
ok: l
|
|
21054
21054
|
}, {
|
|
21055
21055
|
content: Be(() => [
|
|
21056
21056
|
X("div", xE, [
|
|
21057
21057
|
X("div", vE, [
|
|
21058
|
-
X("label", _E, Ae(
|
|
21058
|
+
X("label", _E, Ae(Y(t).l("operation")), 1),
|
|
21059
21059
|
me(Ls, {
|
|
21060
21060
|
id: "overgrid-column-filter-operation-number",
|
|
21061
21061
|
rounded: "full",
|
|
@@ -21065,21 +21065,21 @@ const xE = { class: "flex flex-col gap-3" }, vE = { class: "flex flex-col gap-1"
|
|
|
21065
21065
|
modelValue: a.value,
|
|
21066
21066
|
"onUpdate:modelValue": D[0] || (D[0] = (ie) => a.value = ie),
|
|
21067
21067
|
options: [
|
|
21068
|
-
{ key: "eq", text:
|
|
21069
|
-
{ key: "neq", text:
|
|
21070
|
-
{ key: "lt", text:
|
|
21071
|
-
{ key: "lte", text:
|
|
21072
|
-
{ key: "gt", text:
|
|
21073
|
-
{ key: "gte", text:
|
|
21068
|
+
{ key: "eq", text: Y(t).l("equals") },
|
|
21069
|
+
{ key: "neq", text: Y(t).l("not_equals") },
|
|
21070
|
+
{ key: "lt", text: Y(t).l("less_than") },
|
|
21071
|
+
{ key: "lte", text: Y(t).l("less_than_equals") },
|
|
21072
|
+
{ key: "gt", text: Y(t).l("greater_than") },
|
|
21073
|
+
{ key: "gte", text: Y(t).l("greater_than_equals") }
|
|
21074
21074
|
]
|
|
21075
21075
|
}, null, 8, ["modelValue", "options"])
|
|
21076
21076
|
]),
|
|
21077
21077
|
X("div", gE, [
|
|
21078
|
-
X("label", wE, Ae(
|
|
21079
|
-
me(
|
|
21078
|
+
X("label", wE, Ae(Y(t).l("value")), 1),
|
|
21079
|
+
me(Y(Lo), kt({
|
|
21080
21080
|
id: "overgrid-column-filter-label-value",
|
|
21081
21081
|
class: "overgrid-input overgrid-input-column-filter-number-value overgrid-input-primary text-sm px-3 py-2 rounded-full",
|
|
21082
|
-
placeholder:
|
|
21082
|
+
placeholder: Y(t).l("please_enter_value"),
|
|
21083
21083
|
modelValue: i.value,
|
|
21084
21084
|
"onUpdate:modelValue": D[1] || (D[1] = (ie) => i.value = ie)
|
|
21085
21085
|
}, n.value), null, 16, ["placeholder", "modelValue"])
|
|
@@ -21154,16 +21154,16 @@ const xE = { class: "flex flex-col gap-3" }, vE = { class: "flex flex-col gap-1"
|
|
|
21154
21154
|
var h, d, m;
|
|
21155
21155
|
return G(), tt(kn, {
|
|
21156
21156
|
show: ((m = (d = (h = r.columnFilters.fieldUnderAdding) == null ? void 0 : h.value) == null ? void 0 : d.columnFilter) == null ? void 0 : m.type) == xo,
|
|
21157
|
-
title:
|
|
21157
|
+
title: Y(t).l("column_filter_date_modal_title"),
|
|
21158
21158
|
close: r.columnFilters.closeColumnFilterConfigModal,
|
|
21159
|
-
cancelButtonTitle:
|
|
21159
|
+
cancelButtonTitle: Y(t).l("close"),
|
|
21160
21160
|
disableOkButton: !o.value,
|
|
21161
21161
|
ok: f
|
|
21162
21162
|
}, {
|
|
21163
21163
|
content: Be(() => [
|
|
21164
21164
|
X("div", TE, [
|
|
21165
21165
|
X("div", EE, [
|
|
21166
|
-
X("label", SE, Ae(
|
|
21166
|
+
X("label", SE, Ae(Y(t).l("operation")), 1),
|
|
21167
21167
|
me(Ls, {
|
|
21168
21168
|
id: "overgrid-column-filter-operation-date",
|
|
21169
21169
|
rounded: "full",
|
|
@@ -21173,17 +21173,17 @@ const xE = { class: "flex flex-col gap-3" }, vE = { class: "flex flex-col gap-1"
|
|
|
21173
21173
|
modelValue: n.value,
|
|
21174
21174
|
"onUpdate:modelValue": c[0] || (c[0] = (x) => n.value = x),
|
|
21175
21175
|
options: [
|
|
21176
|
-
{ key: "eq", text:
|
|
21177
|
-
{ key: "obd", text:
|
|
21178
|
-
{ key: "bd", text:
|
|
21179
|
-
{ key: "oad", text:
|
|
21180
|
-
{ key: "ad", text:
|
|
21181
|
-
{ key: "be", text:
|
|
21176
|
+
{ key: "eq", text: Y(t).l("on_this_day") },
|
|
21177
|
+
{ key: "obd", text: Y(t).l("on_or_before_this_day") },
|
|
21178
|
+
{ key: "bd", text: Y(t).l("before_this_day") },
|
|
21179
|
+
{ key: "oad", text: Y(t).l("on_or_after_this_day") },
|
|
21180
|
+
{ key: "ad", text: Y(t).l("after_this_day") },
|
|
21181
|
+
{ key: "be", text: Y(t).l("in_this_interval") }
|
|
21182
21182
|
]
|
|
21183
21183
|
}, null, 8, ["modelValue", "options"])
|
|
21184
21184
|
]),
|
|
21185
21185
|
n.value !== "be" ? (G(), Q("div", FE, [
|
|
21186
|
-
X("label", kE, Ae(
|
|
21186
|
+
X("label", kE, Ae(Y(t).l("value")), 1),
|
|
21187
21187
|
me(za, {
|
|
21188
21188
|
rounded: "full",
|
|
21189
21189
|
size: "md",
|
|
@@ -21191,12 +21191,12 @@ const xE = { class: "flex flex-col gap-3" }, vE = { class: "flex flex-col gap-1"
|
|
|
21191
21191
|
type: "date",
|
|
21192
21192
|
modelValue: a.value,
|
|
21193
21193
|
"onUpdate:modelValue": c[1] || (c[1] = (x) => a.value = x),
|
|
21194
|
-
placeholder:
|
|
21194
|
+
placeholder: Y(t).l("please_enter_value"),
|
|
21195
21195
|
customClass: "overgrid-input overgrid-input-column-filter-value"
|
|
21196
21196
|
}, null, 8, ["modelValue", "placeholder"])
|
|
21197
21197
|
])) : (G(), Q("div", AE, [
|
|
21198
21198
|
X("div", bE, [
|
|
21199
|
-
X("label", OE, Ae(
|
|
21199
|
+
X("label", OE, Ae(Y(t).l("interval_start")), 1),
|
|
21200
21200
|
me(za, {
|
|
21201
21201
|
rounded: "full",
|
|
21202
21202
|
size: "md",
|
|
@@ -21204,12 +21204,12 @@ const xE = { class: "flex flex-col gap-3" }, vE = { class: "flex flex-col gap-1"
|
|
|
21204
21204
|
type: "date",
|
|
21205
21205
|
modelValue: i.value,
|
|
21206
21206
|
"onUpdate:modelValue": c[2] || (c[2] = (x) => i.value = x),
|
|
21207
|
-
placeholder:
|
|
21207
|
+
placeholder: Y(t).l("please_enter_value"),
|
|
21208
21208
|
customClass: "overgrid-input overgrid-input-column-filter-value"
|
|
21209
21209
|
}, null, 8, ["modelValue", "placeholder"])
|
|
21210
21210
|
]),
|
|
21211
21211
|
X("div", DE, [
|
|
21212
|
-
X("label", CE, Ae(
|
|
21212
|
+
X("label", CE, Ae(Y(t).l("interval_end")), 1),
|
|
21213
21213
|
me(za, {
|
|
21214
21214
|
rounded: "full",
|
|
21215
21215
|
size: "md",
|
|
@@ -21217,7 +21217,7 @@ const xE = { class: "flex flex-col gap-3" }, vE = { class: "flex flex-col gap-1"
|
|
|
21217
21217
|
type: "date",
|
|
21218
21218
|
modelValue: s.value,
|
|
21219
21219
|
"onUpdate:modelValue": c[3] || (c[3] = (x) => s.value = x),
|
|
21220
|
-
placeholder:
|
|
21220
|
+
placeholder: Y(t).l("please_enter_value"),
|
|
21221
21221
|
customClass: "overgrid-input overgrid-input-column-filter-value"
|
|
21222
21222
|
}, null, 8, ["modelValue", "placeholder"])
|
|
21223
21223
|
])
|
|
@@ -21317,9 +21317,9 @@ const xE = { class: "flex flex-col gap-3" }, vE = { class: "flex flex-col gap-1"
|
|
|
21317
21317
|
var f, u, c;
|
|
21318
21318
|
return G(), tt(kn, {
|
|
21319
21319
|
show: ((c = (u = (f = r.columnFilters.fieldUnderAdding) == null ? void 0 : f.value) == null ? void 0 : u.columnFilter) == null ? void 0 : c.type) == vo,
|
|
21320
|
-
title:
|
|
21320
|
+
title: Y(t).l("column_filter_boolean_modal_title"),
|
|
21321
21321
|
close: r.columnFilters.closeColumnFilterConfigModal,
|
|
21322
|
-
cancelButtonTitle:
|
|
21322
|
+
cancelButtonTitle: Y(t).l("close"),
|
|
21323
21323
|
disableOkButton: !a.value,
|
|
21324
21324
|
ok: s
|
|
21325
21325
|
}, {
|
|
@@ -21331,7 +21331,7 @@ const xE = { class: "flex flex-col gap-3" }, vE = { class: "flex flex-col gap-1"
|
|
|
21331
21331
|
"onUpdate:modelValue": l[0] || (l[0] = (h) => n.value = h),
|
|
21332
21332
|
customClass: "overgrid-checkbox-column-filter-boolean"
|
|
21333
21333
|
}, null, 8, ["modelValue"]),
|
|
21334
|
-
X("span", BE, Ae(
|
|
21334
|
+
X("span", BE, Ae(Y(t).l("check_if_you_want_to_filter_yes")), 1)
|
|
21335
21335
|
])
|
|
21336
21336
|
]),
|
|
21337
21337
|
_: 1
|
|
@@ -21371,9 +21371,9 @@ const xE = { class: "flex flex-col gap-3" }, vE = { class: "flex flex-col gap-1"
|
|
|
21371
21371
|
var f, u, c;
|
|
21372
21372
|
return G(), tt(kn, {
|
|
21373
21373
|
show: ((c = (u = (f = r.columnFilters.fieldUnderAdding) == null ? void 0 : f.value) == null ? void 0 : u.columnFilter) == null ? void 0 : c.type) == _o,
|
|
21374
|
-
title:
|
|
21374
|
+
title: Y(t).l("column_filter_enum_modal_title"),
|
|
21375
21375
|
close: r.columnFilters.closeColumnFilterConfigModal,
|
|
21376
|
-
cancelButtonTitle:
|
|
21376
|
+
cancelButtonTitle: Y(t).l("close"),
|
|
21377
21377
|
disableOkButton: !a.value,
|
|
21378
21378
|
ok: s
|
|
21379
21379
|
}, {
|
|
@@ -21419,7 +21419,7 @@ const xE = { class: "flex flex-col gap-3" }, vE = { class: "flex flex-col gap-1"
|
|
|
21419
21419
|
type: "text",
|
|
21420
21420
|
modelValue: r.searcher.query.value,
|
|
21421
21421
|
"onUpdate:modelValue": a[0] || (a[0] = (s) => r.searcher.query.value = s),
|
|
21422
|
-
placeholder: (i = r.searchConfig) != null && i.inputPlaceholder ? r.searchConfig.inputPlaceholder :
|
|
21422
|
+
placeholder: (i = r.searchConfig) != null && i.inputPlaceholder ? r.searchConfig.inputPlaceholder : Y(t).l("search"),
|
|
21423
21423
|
customClass: "overgrid-input overgrid-input-search w-32 sm:w-60"
|
|
21424
21424
|
}, null, 8, ["modelValue", "placeholder"]),
|
|
21425
21425
|
r.searcher.query.value ? (G(), tt(sr, {
|
|
@@ -21453,9 +21453,9 @@ const xE = { class: "flex flex-col gap-3" }, vE = { class: "flex flex-col gap-1"
|
|
|
21453
21453
|
const t = Pt(), r = e;
|
|
21454
21454
|
return (n, a) => (G(), tt(kn, {
|
|
21455
21455
|
show: r.aboutModal.isModalShown.value,
|
|
21456
|
-
title:
|
|
21456
|
+
title: Y(t).l("about"),
|
|
21457
21457
|
close: r.aboutModal.closeModal,
|
|
21458
|
-
cancelButtonTitle:
|
|
21458
|
+
cancelButtonTitle: Y(t).l("close"),
|
|
21459
21459
|
noNeedOkButton: !0
|
|
21460
21460
|
}, {
|
|
21461
21461
|
content: Be(() => a[0] || (a[0] = [
|
|
@@ -23668,7 +23668,7 @@ const {
|
|
|
23668
23668
|
})) : [],
|
|
23669
23669
|
onChange: a,
|
|
23670
23670
|
enableNullOption: !0,
|
|
23671
|
-
nullOptionText:
|
|
23671
|
+
nullOptionText: Y(t).l("selected_rows", {
|
|
23672
23672
|
selectedCount: r.bulkOperator.checkedRows.value.length.toString()
|
|
23673
23673
|
})
|
|
23674
23674
|
}, null, 8, ["disabled", "modelValue", "options", "nullOptionText"]);
|
|
@@ -23721,11 +23721,11 @@ const {
|
|
|
23721
23721
|
var n, a, i, s, o, l, f, u, c, h, d, m;
|
|
23722
23722
|
return Array.isArray(t.data) ? (G(), Q("span", UF, [
|
|
23723
23723
|
(G(!0), Q(Wt, null, wr(t.data, (x, p) => {
|
|
23724
|
-
var v, y, T, R, N, V, E, O, C, j, P,
|
|
23724
|
+
var v, y, T, R, N, V, E, O, C, j, P, H;
|
|
23725
23725
|
return G(), Q("span", {
|
|
23726
23726
|
key: p,
|
|
23727
23727
|
class: wt(((R = (T = (y = (v = t.formatterConfig) == null ? void 0 : v.config) == null ? void 0 : y.mapping) == null ? void 0 : T[x]) == null ? void 0 : R.class) || "")
|
|
23728
|
-
}, Ae((O = (E = (V = (N = t.formatterConfig) == null ? void 0 : N.config) == null ? void 0 : V.mapping) == null ? void 0 : E[x]) != null && O.title ? (
|
|
23728
|
+
}, Ae((O = (E = (V = (N = t.formatterConfig) == null ? void 0 : N.config) == null ? void 0 : V.mapping) == null ? void 0 : E[x]) != null && O.title ? (H = (P = (j = (C = t.formatterConfig) == null ? void 0 : C.config) == null ? void 0 : j.mapping) == null ? void 0 : P[x]) == null ? void 0 : H.title : x), 3);
|
|
23729
23729
|
}), 128))
|
|
23730
23730
|
])) : (G(), Q("span", {
|
|
23731
23731
|
key: 0,
|
|
@@ -23788,7 +23788,7 @@ const {
|
|
|
23788
23788
|
var n, a, i, s, o, l;
|
|
23789
23789
|
return G(), Q("span", {
|
|
23790
23790
|
class: wt(((a = (n = t.formatterConfig) == null ? void 0 : n.config) == null ? void 0 : a.class) || "")
|
|
23791
|
-
}, Ae(
|
|
23791
|
+
}, Ae(Y(fe)(t.data, ((s = (i = t.formatterConfig) == null ? void 0 : i.config) == null ? void 0 : s.inputFormat) || "YYYY-MM-DD").format(((l = (o = t.formatterConfig) == null ? void 0 : o.config) == null ? void 0 : l.outputFormat) || "YYYY-MM-DD")), 3);
|
|
23792
23792
|
};
|
|
23793
23793
|
}
|
|
23794
23794
|
}), YF = /* @__PURE__ */ Ue({
|
|
@@ -24004,10 +24004,10 @@ const {
|
|
|
24004
24004
|
name: "HtmlFormatter",
|
|
24005
24005
|
component: QF
|
|
24006
24006
|
}].concat(r.customFormatters || []);
|
|
24007
|
-
return (a, i) => (G(!0), Q(Wt, null, wr(
|
|
24007
|
+
return (a, i) => (G(!0), Q(Wt, null, wr(Y(n), (s) => (G(), Q(Wt, null, [
|
|
24008
24008
|
a.type === s.name ? (G(), tt(gh(s.component), {
|
|
24009
24009
|
key: 0,
|
|
24010
|
-
l:
|
|
24010
|
+
l: Y(t).l,
|
|
24011
24011
|
data: r.data,
|
|
24012
24012
|
formatterConfig: a.formatterConfig,
|
|
24013
24013
|
rowid: a.rowid,
|
|
@@ -24086,34 +24086,34 @@ const {
|
|
|
24086
24086
|
"grid-unique-id": r.config.gridUniqueId
|
|
24087
24087
|
}, [
|
|
24088
24088
|
m.value ? (G(), Q("div", rk, [
|
|
24089
|
-
|
|
24089
|
+
Y(o).search.isToolbarOptionEnabled.value && v.$slots.search ? pr(v.$slots, "search", {
|
|
24090
24090
|
key: 0,
|
|
24091
24091
|
config: r.config.search,
|
|
24092
|
-
searchApi:
|
|
24092
|
+
searchApi: Y(o).search
|
|
24093
24093
|
}) : we("", !0),
|
|
24094
|
-
|
|
24094
|
+
Y(o).search.isToolbarOptionEnabled.value && !v.$slots.search ? (G(), tt(YE, {
|
|
24095
24095
|
key: 1,
|
|
24096
24096
|
searchConfig: r.config.search,
|
|
24097
|
-
searcher:
|
|
24097
|
+
searcher: Y(o).search
|
|
24098
24098
|
}, null, 8, ["searchConfig", "searcher"])) : we("", !0),
|
|
24099
24099
|
X("span", nk, [
|
|
24100
24100
|
pr(v.$slots, "toolbarSpacer", {
|
|
24101
24101
|
config: r.config,
|
|
24102
|
-
paginationApi:
|
|
24103
|
-
orderApi:
|
|
24104
|
-
columnFiltersApi:
|
|
24105
|
-
searchApi:
|
|
24102
|
+
paginationApi: Y(o).pagination,
|
|
24103
|
+
orderApi: Y(o).ordering,
|
|
24104
|
+
columnFiltersApi: Y(o).columnFilters,
|
|
24105
|
+
searchApi: Y(o).search
|
|
24106
24106
|
})
|
|
24107
24107
|
]),
|
|
24108
24108
|
X("div", ak, [
|
|
24109
|
-
|
|
24109
|
+
Y(c).isToolbarOptionEnabled.value ? (G(), tt(LF, {
|
|
24110
24110
|
key: 0,
|
|
24111
24111
|
config: r.config.bulkOperations,
|
|
24112
|
-
bulkOperator:
|
|
24112
|
+
bulkOperator: Y(c)
|
|
24113
24113
|
}, null, 8, ["config", "bulkOperator"])) : we("", !0),
|
|
24114
24114
|
(T = r.config.refreshable) != null && T.manualActive ? (G(), tt(sr, {
|
|
24115
24115
|
key: 1,
|
|
24116
|
-
onClick:
|
|
24116
|
+
onClick: Y(o).fetchRecords,
|
|
24117
24117
|
customClass: "overgrid-btn-manual-refresh",
|
|
24118
24118
|
variant: "primary",
|
|
24119
24119
|
size: "sm",
|
|
@@ -24128,7 +24128,7 @@ const {
|
|
|
24128
24128
|
]),
|
|
24129
24129
|
_: 1
|
|
24130
24130
|
}, 8, ["onClick"])) : we("", !0),
|
|
24131
|
-
|
|
24131
|
+
Y(l).isToolbarOptionEnabled.value || Y(f).isToolbarOptionEnabled.value || Y(u).isToolbarOptionEnabled.value || Y(o).autoRefresh.isToolbarOptionEnabled.value || Y(o).pagination.isToolbarOptionEnabled.value ? (G(), tt(zo, {
|
|
24132
24132
|
key: 2,
|
|
24133
24133
|
orientation: "left",
|
|
24134
24134
|
ref_key: "operationsDropdown",
|
|
@@ -24153,28 +24153,28 @@ const {
|
|
|
24153
24153
|
})
|
|
24154
24154
|
]),
|
|
24155
24155
|
content: Be(() => {
|
|
24156
|
-
var O, C, j, P,
|
|
24156
|
+
var O, C, j, P, H;
|
|
24157
24157
|
return [
|
|
24158
|
-
|
|
24158
|
+
Y(l).isToolbarOptionEnabled.value || Y(f).isToolbarOptionEnabled.value || Y(u).isToolbarOptionEnabled.value ? (G(), tt(Zh, {
|
|
24159
24159
|
key: 0,
|
|
24160
24160
|
config: r.config,
|
|
24161
|
-
columnSelector:
|
|
24162
|
-
currentPageExporter:
|
|
24163
|
-
aboutModal:
|
|
24161
|
+
columnSelector: Y(l),
|
|
24162
|
+
currentPageExporter: Y(f),
|
|
24163
|
+
aboutModal: Y(u),
|
|
24164
24164
|
closeDropdown: (O = a.value) == null ? void 0 : O.close,
|
|
24165
24165
|
ref: "baseOperations"
|
|
24166
24166
|
}, null, 8, ["config", "columnSelector", "currentPageExporter", "aboutModal", "closeDropdown"])) : we("", !0),
|
|
24167
|
-
|
|
24167
|
+
Y(o).autoRefresh.isToolbarOptionEnabled.value ? (G(), tt(ad, {
|
|
24168
24168
|
key: 1,
|
|
24169
|
-
autoRefresher:
|
|
24169
|
+
autoRefresher: Y(o).autoRefresh,
|
|
24170
24170
|
config: (C = r.config) == null ? void 0 : C.refreshable,
|
|
24171
24171
|
closeDropdown: (j = a.value) == null ? void 0 : j.close
|
|
24172
24172
|
}, null, 8, ["autoRefresher", "config", "closeDropdown"])) : we("", !0),
|
|
24173
|
-
|
|
24173
|
+
Y(o).pagination.isToolbarOptionEnabled.value ? (G(), tt(fd, {
|
|
24174
24174
|
key: 2,
|
|
24175
|
-
paginator:
|
|
24175
|
+
paginator: Y(o).pagination,
|
|
24176
24176
|
config: (P = r.config) == null ? void 0 : P.pagination,
|
|
24177
|
-
closeDropdown: (
|
|
24177
|
+
closeDropdown: (H = a.value) == null ? void 0 : H.close
|
|
24178
24178
|
}, null, 8, ["paginator", "config", "closeDropdown"])) : we("", !0)
|
|
24179
24179
|
];
|
|
24180
24180
|
}),
|
|
@@ -24192,8 +24192,8 @@ const {
|
|
|
24192
24192
|
r.config.bulkOperations && r.config.bulkOperations.active && ((R = r.config.bulkOperations.methods) == null ? void 0 : R.length) > 0 && r.config.idkey ? (G(), Q("th", fk, y[2] || (y[2] = [
|
|
24193
24193
|
X("label", { class: "" }, null, -1)
|
|
24194
24194
|
]))) : we("", !0),
|
|
24195
|
-
(G(!0), Q(Wt, null, wr(
|
|
24196
|
-
var C, j, P,
|
|
24195
|
+
(G(!0), Q(Wt, null, wr(Y(l).filter(Y(s).mappingVisible()), (O) => {
|
|
24196
|
+
var C, j, P, H, ue, Ee;
|
|
24197
24197
|
return G(), Q("th", {
|
|
24198
24198
|
style: Yo({ width: O.width || "auto" }),
|
|
24199
24199
|
class: "overgrid-cell text-sm h-12",
|
|
@@ -24204,30 +24204,30 @@ const {
|
|
|
24204
24204
|
titleField: O,
|
|
24205
24205
|
orderActive: (C = r.config.orderConfiguration) == null ? void 0 : C.active,
|
|
24206
24206
|
orderable: O.orderable,
|
|
24207
|
-
orderApi:
|
|
24207
|
+
orderApi: Y(o).ordering,
|
|
24208
24208
|
orderConfig: r.config.orderConfiguration,
|
|
24209
|
-
columnFiltersApi:
|
|
24209
|
+
columnFiltersApi: Y(o).columnFilters,
|
|
24210
24210
|
columnFiltersActive: (j = r.config.columnFilters) == null ? void 0 : j.active
|
|
24211
24211
|
}) : (G(), Q("div", {
|
|
24212
24212
|
key: 1,
|
|
24213
24213
|
class: wt(["flex flex-row items-center overgrid-column-title-container h-12 px-4", {
|
|
24214
24214
|
"overgrid-column-title-container-hoverable cursor-pointer": ((P = r.config.orderConfiguration) == null ? void 0 : P.active) && O.orderable
|
|
24215
24215
|
}]),
|
|
24216
|
-
onClick: () =>
|
|
24216
|
+
onClick: () => Y(o).ordering.toggleField(O)
|
|
24217
24217
|
}, [
|
|
24218
24218
|
X("span", ck, Ae(O.title), 1),
|
|
24219
24219
|
y[3] || (y[3] = X("span", { class: "grow min-w-3" }, null, -1)),
|
|
24220
24220
|
X("div", hk, [
|
|
24221
|
-
(
|
|
24221
|
+
(H = r.config.orderConfiguration) != null && H.active && O.orderable ? (G(), Q("div", dk, [
|
|
24222
24222
|
me(Ph, {
|
|
24223
|
-
orderer:
|
|
24223
|
+
orderer: Y(o).ordering,
|
|
24224
24224
|
field: O,
|
|
24225
24225
|
config: r.config.orderConfiguration
|
|
24226
24226
|
}, null, 8, ["orderer", "field", "config"])
|
|
24227
24227
|
])) : we("", !0),
|
|
24228
24228
|
(ue = r.config.columnFilters) != null && ue.active && ((Ee = O.columnFilter) != null && Ee.active) ? (G(), Q("div", mk, [
|
|
24229
24229
|
me(Vh, {
|
|
24230
|
-
columnFilter:
|
|
24230
|
+
columnFilter: Y(o).columnFilters,
|
|
24231
24231
|
field: O,
|
|
24232
24232
|
config: r.config.columnFilters
|
|
24233
24233
|
}, null, 8, ["columnFilter", "field", "config"])
|
|
@@ -24238,16 +24238,16 @@ const {
|
|
|
24238
24238
|
}), 128))
|
|
24239
24239
|
])
|
|
24240
24240
|
]),
|
|
24241
|
-
|
|
24242
|
-
(G(!0), Q(Wt, null, wr(
|
|
24241
|
+
Y(o).records.value && Y(o).records.value.length > 0 ? (G(), Q("tbody", pk, [
|
|
24242
|
+
(G(!0), Q(Wt, null, wr(Y(o).records.value, (O, C) => {
|
|
24243
24243
|
var j, P;
|
|
24244
24244
|
return G(), Q(Wt, {
|
|
24245
|
-
key: "record_" + C
|
|
24245
|
+
key: "record_" + (r.config.idkey ? O[r.config.idkey] : C)
|
|
24246
24246
|
}, [
|
|
24247
24247
|
X("tr", {
|
|
24248
24248
|
rownum: C,
|
|
24249
24249
|
class: wt(
|
|
24250
|
-
|
|
24250
|
+
Y(d).getClassList(
|
|
24251
24251
|
O,
|
|
24252
24252
|
"overgrid-row h-12 " + (C % 2 === 0 ? "overgrid-row-odd" : "overgrid-row-even")
|
|
24253
24253
|
)
|
|
@@ -24255,9 +24255,9 @@ const {
|
|
|
24255
24255
|
}, [
|
|
24256
24256
|
r.config.extraRow && r.config.extraRow.active && r.config.idkey ? (G(), Q("td", vk, [
|
|
24257
24257
|
me(sr, {
|
|
24258
|
-
onClick: (
|
|
24258
|
+
onClick: (H) => {
|
|
24259
24259
|
var ue;
|
|
24260
|
-
return
|
|
24260
|
+
return Y(h).toggleRow((ue = O[r.config.idkey]) == null ? void 0 : ue.toString());
|
|
24261
24261
|
},
|
|
24262
24262
|
customClass: "overgrid-btn-manual-refresh",
|
|
24263
24263
|
variant: "light",
|
|
@@ -24266,9 +24266,9 @@ const {
|
|
|
24266
24266
|
rounded: ""
|
|
24267
24267
|
}, {
|
|
24268
24268
|
iconLeft: Be(() => {
|
|
24269
|
-
var
|
|
24269
|
+
var H;
|
|
24270
24270
|
return [
|
|
24271
|
-
|
|
24271
|
+
Y(h).isRowOpened((H = O[r.config.idkey]) == null ? void 0 : H.toString()) ? (G(), tt(Ot, {
|
|
24272
24272
|
key: 1,
|
|
24273
24273
|
type: "chevron-down",
|
|
24274
24274
|
class: "w-3 h-3"
|
|
@@ -24286,45 +24286,45 @@ const {
|
|
|
24286
24286
|
X("label", gk, [
|
|
24287
24287
|
me(ms, {
|
|
24288
24288
|
value: (P = O[r.config.idkey]) == null ? void 0 : P.toString(),
|
|
24289
|
-
modelValue:
|
|
24290
|
-
"onUpdate:modelValue": y[0] || (y[0] = (
|
|
24289
|
+
modelValue: Y(c).checkedRows.value,
|
|
24290
|
+
"onUpdate:modelValue": y[0] || (y[0] = (H) => Y(c).checkedRows.value = H),
|
|
24291
24291
|
variant: "secondary"
|
|
24292
24292
|
}, null, 8, ["value", "modelValue"])
|
|
24293
24293
|
])
|
|
24294
24294
|
])) : we("", !0),
|
|
24295
|
-
(G(!0), Q(Wt, null, wr(
|
|
24295
|
+
(G(!0), Q(Wt, null, wr(Y(l).filter(Y(s).mappingVisible()), (H) => (G(), Q("td", {
|
|
24296
24296
|
class: "overgrid-cell px-4 text-sm",
|
|
24297
|
-
key: "body_" +
|
|
24297
|
+
key: "body_" + H.key
|
|
24298
24298
|
}, [
|
|
24299
|
-
|
|
24300
|
-
key:
|
|
24299
|
+
H.formatter && typeof H.formatter == "object" && H.formatter.type ? (G(), tt(ek, {
|
|
24300
|
+
key: "formatter_" + H.key + "_" + (r.config.idkey ? O[r.config.idkey] : C),
|
|
24301
24301
|
theme: r.config.theme ? r.config.theme : "default",
|
|
24302
|
-
type:
|
|
24303
|
-
data:
|
|
24304
|
-
formatterConfig:
|
|
24302
|
+
type: H.formatter.type,
|
|
24303
|
+
data: H.middleware ? H.middleware(O[H.key], O) : O[H.key],
|
|
24304
|
+
formatterConfig: H.formatter,
|
|
24305
24305
|
rowid: r.config.idkey ? O[r.config.idkey] : null,
|
|
24306
|
-
fieldKey:
|
|
24306
|
+
fieldKey: H.key,
|
|
24307
24307
|
record: O,
|
|
24308
24308
|
refreshGrid: () => {
|
|
24309
|
-
|
|
24309
|
+
Y(o).fetchRecords();
|
|
24310
24310
|
},
|
|
24311
24311
|
customFormatters: r.customFormatters,
|
|
24312
24312
|
openExtraRow: (ue) => {
|
|
24313
|
-
r.config.idkey &&
|
|
24313
|
+
r.config.idkey && Y(h).toggleRow(ue);
|
|
24314
24314
|
}
|
|
24315
24315
|
}, null, 8, ["theme", "type", "data", "formatterConfig", "rowid", "fieldKey", "record", "refreshGrid", "customFormatters", "openExtraRow"])) : (G(), Q(Wt, { key: 1 }, [
|
|
24316
|
-
cs(Ae(
|
|
24316
|
+
cs(Ae(H.middleware ? H.middleware(O[H.key], O) : O[H.key]), 1)
|
|
24317
24317
|
], 64))
|
|
24318
24318
|
]))), 128))
|
|
24319
24319
|
], 10, xk),
|
|
24320
24320
|
me(Wn, { name: "overgrid-anim-extra-row" }, {
|
|
24321
24321
|
default: Be(() => {
|
|
24322
|
-
var
|
|
24322
|
+
var H, ue, Ee;
|
|
24323
24323
|
return [
|
|
24324
24324
|
r.config.extraRow && r.config.extraRow.active && r.config.idkey ? Gr((G(), Q("tr", wk, [
|
|
24325
24325
|
X("td", {
|
|
24326
24326
|
class: "overgrid-extra-row-cell",
|
|
24327
|
-
colspan:
|
|
24327
|
+
colspan: Y(l).filter(Y(s).mappingVisible()).length + (r.config.bulkOperations && r.config.bulkOperations.active && ((H = r.config.bulkOperations.methods) == null ? void 0 : H.length) > 0 && r.config.idkey ? 1 : 0) + 1
|
|
24328
24328
|
}, [
|
|
24329
24329
|
pr(v.$slots, "extraRow", {
|
|
24330
24330
|
record: O,
|
|
@@ -24332,7 +24332,7 @@ const {
|
|
|
24332
24332
|
})
|
|
24333
24333
|
], 8, yk)
|
|
24334
24334
|
], 512)), [
|
|
24335
|
-
[ii,
|
|
24335
|
+
[ii, Y(h).isRowOpened((Ee = O[r.config.idkey]) == null ? void 0 : Ee.toString())]
|
|
24336
24336
|
]) : we("", !0)
|
|
24337
24337
|
];
|
|
24338
24338
|
}),
|
|
@@ -24343,7 +24343,7 @@ const {
|
|
|
24343
24343
|
])) : (G(), Q("tbody", Tk, [
|
|
24344
24344
|
X("tr", null, [
|
|
24345
24345
|
X("td", {
|
|
24346
|
-
colspan:
|
|
24346
|
+
colspan: Y(l).filter(Y(s).mappingVisible()).length + (r.config.bulkOperations && r.config.bulkOperations.active && ((N = r.config.bulkOperations.methods) == null ? void 0 : N.length) > 0 && r.config.idkey ? 1 : 0) + 1
|
|
24347
24347
|
}, [
|
|
24348
24348
|
pr(v.$slots, "emptyResult")
|
|
24349
24349
|
], 8, Ek)
|
|
@@ -24353,40 +24353,40 @@ const {
|
|
|
24353
24353
|
]),
|
|
24354
24354
|
(V = r.config.pagination) != null && V.active && v.$slots.pagination ? pr(v.$slots, "pagination", {
|
|
24355
24355
|
key: 1,
|
|
24356
|
-
paginationApi:
|
|
24356
|
+
paginationApi: Y(o).pagination
|
|
24357
24357
|
}) : we("", !0),
|
|
24358
24358
|
(E = r.config.pagination) != null && E.active && !v.$slots.pagination ? (G(), tt(Ch, {
|
|
24359
24359
|
key: 2,
|
|
24360
|
-
paginator:
|
|
24360
|
+
paginator: Y(o).pagination
|
|
24361
24361
|
}, null, 8, ["paginator"])) : we("", !0),
|
|
24362
|
-
|
|
24363
|
-
X("span", Fk, Ae(
|
|
24362
|
+
Y(o).loading.value ? (G(), Q("div", Sk, [
|
|
24363
|
+
X("span", Fk, Ae(Y(i).l("loading_data")), 1)
|
|
24364
24364
|
])) : we("", !0),
|
|
24365
24365
|
me(kd, {
|
|
24366
|
-
mappingVisible:
|
|
24367
|
-
columnSelector:
|
|
24366
|
+
mappingVisible: Y(s).mappingVisible(),
|
|
24367
|
+
columnSelector: Y(l)
|
|
24368
24368
|
}, null, 8, ["mappingVisible", "columnSelector"]),
|
|
24369
24369
|
me(eE, {
|
|
24370
24370
|
currentPageExporterConfig: r.config.currentPageExport,
|
|
24371
|
-
mappingVisible:
|
|
24372
|
-
currentPageExporter:
|
|
24373
|
-
currentRecords:
|
|
24371
|
+
mappingVisible: Y(l).filter(Y(s).mappingVisible()),
|
|
24372
|
+
currentPageExporter: Y(f),
|
|
24373
|
+
currentRecords: Y(o).records
|
|
24374
24374
|
}, null, 8, ["currentPageExporterConfig", "mappingVisible", "currentPageExporter", "currentRecords"]),
|
|
24375
|
-
me(zE, { aboutModal:
|
|
24375
|
+
me(zE, { aboutModal: Y(u) }, null, 8, ["aboutModal"]),
|
|
24376
24376
|
me(hE, {
|
|
24377
|
-
columnFilters:
|
|
24377
|
+
columnFilters: Y(o).columnFilters
|
|
24378
24378
|
}, null, 8, ["columnFilters"]),
|
|
24379
24379
|
me(yE, {
|
|
24380
|
-
columnFilters:
|
|
24380
|
+
columnFilters: Y(o).columnFilters
|
|
24381
24381
|
}, null, 8, ["columnFilters"]),
|
|
24382
24382
|
me(RE, {
|
|
24383
|
-
columnFilters:
|
|
24383
|
+
columnFilters: Y(o).columnFilters
|
|
24384
24384
|
}, null, 8, ["columnFilters"]),
|
|
24385
24385
|
me(UE, {
|
|
24386
|
-
columnFilters:
|
|
24386
|
+
columnFilters: Y(o).columnFilters
|
|
24387
24387
|
}, null, 8, ["columnFilters"]),
|
|
24388
24388
|
me(VE, {
|
|
24389
|
-
columnFilters:
|
|
24389
|
+
columnFilters: Y(o).columnFilters
|
|
24390
24390
|
}, null, 8, ["columnFilters"])
|
|
24391
24391
|
], 8, tk);
|
|
24392
24392
|
};
|