overgrid-vue 1.12.0 → 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 +201 -197
- package/dist/overgrid.umd.js +2 -2
- 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",
|
|
@@ -280,9 +280,13 @@ const kh = ["type", "disabled"], Ah = { key: 0 }, bh = "inline-flex items-center
|
|
|
280
280
|
const t = e, r = Je(() => !t.iconOnly), n = {
|
|
281
281
|
primary: "overgrid-btn-primary",
|
|
282
282
|
secondary: "overgrid-btn-secondary",
|
|
283
|
+
success: "overgrid-btn-success",
|
|
283
284
|
danger: "overgrid-btn-danger",
|
|
284
285
|
light: "overgrid-btn-light",
|
|
285
|
-
ghost: "overgrid-btn-ghost"
|
|
286
|
+
ghost: "overgrid-btn-ghost",
|
|
287
|
+
muted: "overgrid-btn-muted",
|
|
288
|
+
warning: "overgrid-btn-warning",
|
|
289
|
+
info: "overgrid-btn-info"
|
|
286
290
|
}, a = {
|
|
287
291
|
xs: "text-sm px-1 py-1",
|
|
288
292
|
sm: "text-sm px-1.5 py-1.5",
|
|
@@ -571,7 +575,7 @@ const kh = ["type", "disabled"], Ah = { key: 0 }, bh = "inline-flex items-center
|
|
|
571
575
|
customClass: "overgrid-btn-paginator overgrid-btn-paginator-first-page",
|
|
572
576
|
onClick: r.paginator.firstPage,
|
|
573
577
|
disabled: !r.paginator.hasPreviousPage(),
|
|
574
|
-
title:
|
|
578
|
+
title: Y(t).l("first_page")
|
|
575
579
|
}, {
|
|
576
580
|
iconLeft: Be(() => [
|
|
577
581
|
me(Ot, {
|
|
@@ -589,7 +593,7 @@ const kh = ["type", "disabled"], Ah = { key: 0 }, bh = "inline-flex items-center
|
|
|
589
593
|
customClass: "overgrid-btn-paginator overgrid-btn-paginator-previous",
|
|
590
594
|
onClick: r.paginator.previousPage,
|
|
591
595
|
disabled: !r.paginator.hasPreviousPage(),
|
|
592
|
-
title:
|
|
596
|
+
title: Y(t).l("previous")
|
|
593
597
|
}, {
|
|
594
598
|
iconLeft: Be(() => [
|
|
595
599
|
me(Ot, {
|
|
@@ -599,7 +603,7 @@ const kh = ["type", "disabled"], Ah = { key: 0 }, bh = "inline-flex items-center
|
|
|
599
603
|
]),
|
|
600
604
|
_: 1
|
|
601
605
|
}, 8, ["onClick", "disabled", "title"]),
|
|
602
|
-
X("span", Dh, Ae(
|
|
606
|
+
X("span", Dh, Ae(Y(t).l("page_n_of_m", {
|
|
603
607
|
currentPage: ((i = n.paginator.currentPageForUI) == null ? void 0 : i.value.toString()) || "0",
|
|
604
608
|
totalPages: (s = n.paginator.state.totalPages) == null ? void 0 : s.toString()
|
|
605
609
|
})), 1),
|
|
@@ -611,7 +615,7 @@ const kh = ["type", "disabled"], Ah = { key: 0 }, bh = "inline-flex items-center
|
|
|
611
615
|
customClass: "overgrid-btn-paginator overgrid-btn-paginator-next",
|
|
612
616
|
onClick: r.paginator.nextPage,
|
|
613
617
|
disabled: !r.paginator.hasNextPage(),
|
|
614
|
-
title:
|
|
618
|
+
title: Y(t).l("next")
|
|
615
619
|
}, {
|
|
616
620
|
iconLeft: Be(() => [
|
|
617
621
|
me(Ot, {
|
|
@@ -629,7 +633,7 @@ const kh = ["type", "disabled"], Ah = { key: 0 }, bh = "inline-flex items-center
|
|
|
629
633
|
customClass: "overgrid-btn-paginator overgrid-btn-paginator-last-page",
|
|
630
634
|
onClick: r.paginator.lastPage,
|
|
631
635
|
disabled: !r.paginator.hasNextPage(),
|
|
632
|
-
title:
|
|
636
|
+
title: Y(t).l("last")
|
|
633
637
|
}, {
|
|
634
638
|
iconLeft: Be(() => [
|
|
635
639
|
me(Ot, {
|
|
@@ -836,7 +840,7 @@ const kh = ["type", "disabled"], Ah = { key: 0 }, bh = "inline-flex items-center
|
|
|
836
840
|
type: "edit",
|
|
837
841
|
class: "w-5 h-5 opacity-50"
|
|
838
842
|
}),
|
|
839
|
-
X("span", null, Ae(
|
|
843
|
+
X("span", null, Ae(Y(t).l("column_filters_edit_filter")), 1)
|
|
840
844
|
])
|
|
841
845
|
]),
|
|
842
846
|
X("li", $h, [
|
|
@@ -852,7 +856,7 @@ const kh = ["type", "disabled"], Ah = { key: 0 }, bh = "inline-flex items-center
|
|
|
852
856
|
type: "trash",
|
|
853
857
|
class: "w-5 h-5 opacity-50"
|
|
854
858
|
}),
|
|
855
|
-
X("span", null, Ae(
|
|
859
|
+
X("span", null, Ae(Y(t).l("column_filters_remove_filter")), 1)
|
|
856
860
|
])
|
|
857
861
|
])
|
|
858
862
|
])
|
|
@@ -898,7 +902,7 @@ const kh = ["type", "disabled"], Ah = { key: 0 }, bh = "inline-flex items-center
|
|
|
898
902
|
const t = Pt(), r = e;
|
|
899
903
|
return (n, a) => (G(), Q("ul", Hh, [
|
|
900
904
|
X("li", null, [
|
|
901
|
-
X("h3", Yh, Ae(
|
|
905
|
+
X("h3", Yh, Ae(Y(t).l("base_operations")), 1)
|
|
902
906
|
]),
|
|
903
907
|
r.columnSelector.isToolbarOptionEnabled.value ? (G(), Q("li", zh, [
|
|
904
908
|
X("a", {
|
|
@@ -913,7 +917,7 @@ const kh = ["type", "disabled"], Ah = { key: 0 }, bh = "inline-flex items-center
|
|
|
913
917
|
type: "table",
|
|
914
918
|
class: "w-5 h-5 opacity-50"
|
|
915
919
|
}),
|
|
916
|
-
X("span", Gh, Ae(
|
|
920
|
+
X("span", Gh, Ae(Y(t).l("column_selector")), 1)
|
|
917
921
|
])
|
|
918
922
|
])) : we("", !0),
|
|
919
923
|
r.currentPageExporter.isToolbarOptionEnabled.value ? (G(), Q("li", jh, [
|
|
@@ -929,7 +933,7 @@ const kh = ["type", "disabled"], Ah = { key: 0 }, bh = "inline-flex items-center
|
|
|
929
933
|
type: "cloud-download",
|
|
930
934
|
class: "w-5 h-5 opacity-50"
|
|
931
935
|
}),
|
|
932
|
-
X("span", Xh, Ae(
|
|
936
|
+
X("span", Xh, Ae(Y(t).l("current_page_export")), 1)
|
|
933
937
|
])
|
|
934
938
|
])) : we("", !0),
|
|
935
939
|
r.aboutModal.isToolbarOptionEnabled.value ? (G(), Q("li", Kh, [
|
|
@@ -945,7 +949,7 @@ const kh = ["type", "disabled"], Ah = { key: 0 }, bh = "inline-flex items-center
|
|
|
945
949
|
type: "info",
|
|
946
950
|
class: "w-5 h-5 opacity-50"
|
|
947
951
|
}),
|
|
948
|
-
X("span", qh, Ae(
|
|
952
|
+
X("span", qh, Ae(Y(t).l("about")), 1)
|
|
949
953
|
])
|
|
950
954
|
])) : we("", !0)
|
|
951
955
|
]));
|
|
@@ -965,7 +969,7 @@ const kh = ["type", "disabled"], Ah = { key: 0 }, bh = "inline-flex items-center
|
|
|
965
969
|
var i, s;
|
|
966
970
|
return G(), Q("ul", Jh, [
|
|
967
971
|
X("li", null, [
|
|
968
|
-
X("h3", Qh, Ae(
|
|
972
|
+
X("h3", Qh, Ae(Y(t).l("auto_refresh_menu_title")), 1)
|
|
969
973
|
]),
|
|
970
974
|
(i = r.config) != null && i.autoCanBeDisabled ? (G(), Q("li", ed, [
|
|
971
975
|
X("a", {
|
|
@@ -977,7 +981,7 @@ const kh = ["type", "disabled"], Ah = { key: 0 }, bh = "inline-flex items-center
|
|
|
977
981
|
type: "check",
|
|
978
982
|
class: "w-5 h-5"
|
|
979
983
|
}),
|
|
980
|
-
X("span", td, Ae(
|
|
984
|
+
X("span", td, Ae(Y(t).l("automatic_list_update_disabled")), 1)
|
|
981
985
|
], 2)
|
|
982
986
|
])) : we("", !0),
|
|
983
987
|
(G(!0), Q(Wt, null, wr((s = r.config) == null ? void 0 : s.autoValues, (o) => (G(), Q("li", {
|
|
@@ -1011,7 +1015,7 @@ const kh = ["type", "disabled"], Ah = { key: 0 }, bh = "inline-flex items-center
|
|
|
1011
1015
|
var i;
|
|
1012
1016
|
return G(), Q("ul", id, [
|
|
1013
1017
|
X("li", null, [
|
|
1014
|
-
X("h3", sd, Ae(
|
|
1018
|
+
X("h3", sd, Ae(Y(t).l("page_size")), 1)
|
|
1015
1019
|
]),
|
|
1016
1020
|
(G(!0), Q(Wt, null, wr((i = r.config) == null ? void 0 : i.possiblePageSizes, (s, o) => (G(), Q("li", {
|
|
1017
1021
|
class: "overgrid-toolbar-dropdown-section-item p-3 py-1 hover:bg-black/5 rounded-sm",
|
|
@@ -1026,7 +1030,7 @@ const kh = ["type", "disabled"], Ah = { key: 0 }, bh = "inline-flex items-center
|
|
|
1026
1030
|
type: "check",
|
|
1027
1031
|
class: "w-5 h-5"
|
|
1028
1032
|
}),
|
|
1029
|
-
X("span", ld, Ae(
|
|
1033
|
+
X("span", ld, Ae(Y(t).l("rows_per_page", {
|
|
1030
1034
|
possiblePageSize: s.toString()
|
|
1031
1035
|
})), 1)
|
|
1032
1036
|
], 10, od)
|
|
@@ -1258,7 +1262,7 @@ const cd = { class: "flex items-center justify-center" }, hd = /* @__PURE__ */ U
|
|
|
1258
1262
|
onClick: r.close
|
|
1259
1263
|
}, {
|
|
1260
1264
|
default: Be(() => [
|
|
1261
|
-
cs(Ae(a.cancelButtonTitle ? a.cancelButtonTitle :
|
|
1265
|
+
cs(Ae(a.cancelButtonTitle ? a.cancelButtonTitle : Y(t).l("cancel")), 1)
|
|
1262
1266
|
]),
|
|
1263
1267
|
_: 1
|
|
1264
1268
|
}, 8, ["onClick"]),
|
|
@@ -1277,7 +1281,7 @@ const cd = { class: "flex items-center justify-center" }, hd = /* @__PURE__ */ U
|
|
|
1277
1281
|
a.okButtonLoading ? (G(), tt(hd, {
|
|
1278
1282
|
key: 1,
|
|
1279
1283
|
sizeClasses: "h-5.5 w-5.5"
|
|
1280
|
-
})) : (G(), Q("span", gd, Ae(a.okButtonTitle ? a.okButtonTitle :
|
|
1284
|
+
})) : (G(), Q("span", gd, Ae(a.okButtonTitle ? a.okButtonTitle : Y(t).l("ok")), 1))
|
|
1281
1285
|
]),
|
|
1282
1286
|
_: 1
|
|
1283
1287
|
}, 8, ["disabled"]))
|
|
@@ -1381,7 +1385,7 @@ const cd = { class: "flex items-center justify-center" }, hd = /* @__PURE__ */ U
|
|
|
1381
1385
|
i && (r.value = n.columnSelector.selectedFields.value ? n.columnSelector.selectedFields.value : n.mappingVisible.map((s) => s.key));
|
|
1382
1386
|
}, { immediate: !0 }), (i, s) => (G(), tt(kn, {
|
|
1383
1387
|
show: n.columnSelector.isModalShown.value,
|
|
1384
|
-
title:
|
|
1388
|
+
title: Y(t).l("column_selector"),
|
|
1385
1389
|
close: () => {
|
|
1386
1390
|
n.columnSelector.closeModal();
|
|
1387
1391
|
},
|
|
@@ -1507,8 +1511,8 @@ var Dd = lf(function(e, t) {
|
|
|
1507
1511
|
}
|
|
1508
1512
|
x = f instanceof d ? f : new d([f], { type: l });
|
|
1509
1513
|
function N(E) {
|
|
1510
|
-
var O = E.split(/[:;,]/), C = O[1], j = O[2] == "base64" ? atob : decodeURIComponent, P = j(O.pop()),
|
|
1511
|
-
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);
|
|
1512
1516
|
return new d([Ee], { type: C });
|
|
1513
1517
|
}
|
|
1514
1518
|
function V(E, O) {
|
|
@@ -2746,9 +2750,9 @@ var t0 = /* @__PURE__ */ function() {
|
|
|
2746
2750
|
for (j = 0; j != 256; ++j) P[j] = E[j];
|
|
2747
2751
|
for (j = 0; j != 256; ++j)
|
|
2748
2752
|
for (C = E[j], O = 256 + j; O < 4096; O += 256) C = P[O] = C >>> 8 ^ E[C & 255];
|
|
2749
|
-
var
|
|
2750
|
-
for (j = 1; j != 16; ++j)
|
|
2751
|
-
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;
|
|
2752
2756
|
}
|
|
2753
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];
|
|
2754
2758
|
function R(E, O) {
|
|
@@ -2761,8 +2765,8 @@ var t0 = /* @__PURE__ */ function() {
|
|
|
2761
2765
|
return ~C;
|
|
2762
2766
|
}
|
|
2763
2767
|
function V(E, O) {
|
|
2764
|
-
for (var C = O ^ -1, j = 0, P = E.length,
|
|
2765
|
-
|
|
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]);
|
|
2766
2770
|
return ~C;
|
|
2767
2771
|
}
|
|
2768
2772
|
return e.table = r, e.bstr = R, e.buf = N, e.str = V, e;
|
|
@@ -2924,7 +2928,7 @@ var t0 = /* @__PURE__ */ function() {
|
|
|
2924
2928
|
}
|
|
2925
2929
|
function x(_, F, g) {
|
|
2926
2930
|
for (var w = _.start, S = _.size, k = [], B = w; g && S > 0 && B >= 0; )
|
|
2927
|
-
k.push(F.slice(B *
|
|
2931
|
+
k.push(F.slice(B * H, B * H + H)), S -= H, B = Mn(g, B * 4);
|
|
2928
2932
|
return k.length === 0 ? L(0) : bt(k).slice(0, _.size);
|
|
2929
2933
|
}
|
|
2930
2934
|
function p(_, F, g, w, S) {
|
|
@@ -3173,7 +3177,7 @@ var t0 = /* @__PURE__ */ function() {
|
|
|
3173
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];
|
|
3174
3178
|
return null;
|
|
3175
3179
|
}
|
|
3176
|
-
var
|
|
3180
|
+
var H = 64, ue = -2, Ee = "d0cf11e0a1b11ae1", ye = [208, 207, 17, 224, 161, 177, 26, 225], Tt = "00000000000000000000000000000000", Te = {
|
|
3177
3181
|
/* 2.1 Compund File Sector Numbers and Types */
|
|
3178
3182
|
MAXREGSECT: -6,
|
|
3179
3183
|
DIFSECT: -4,
|
|
@@ -6162,14 +6166,14 @@ var Zm = /* @__PURE__ */ function() {
|
|
|
6162
6166
|
}
|
|
6163
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;
|
|
6164
6168
|
}
|
|
6165
|
-
var
|
|
6166
|
-
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);
|
|
6167
6171
|
var ue = +t[
|
|
6168
6172
|
/*::String(*/
|
|
6169
6173
|
nn
|
|
6170
6174
|
/*::)*/
|
|
6171
6175
|
] || 3;
|
|
6172
|
-
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)
|
|
6173
6177
|
if (d[p] != null) {
|
|
6174
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);
|
|
6175
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;
|
|
@@ -6327,7 +6331,7 @@ var Zm = /* @__PURE__ */ function() {
|
|
|
6327
6331
|
throw new Error("Unrecognized type " + m.type);
|
|
6328
6332
|
}
|
|
6329
6333
|
function s(d, m) {
|
|
6330
|
-
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: [] } };
|
|
6331
6335
|
for (+m.codepage >= 0 && Ga(+m.codepage); y !== x.length; ++y) {
|
|
6332
6336
|
P = 0;
|
|
6333
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) {
|
|
@@ -6390,7 +6394,7 @@ var Zm = /* @__PURE__ */ function() {
|
|
|
6390
6394
|
v = parseInt(ye[T].slice(1), 10) - 1, Yt = !0;
|
|
6391
6395
|
break;
|
|
6392
6396
|
case "Y":
|
|
6393
|
-
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] = [];
|
|
6394
6398
|
break;
|
|
6395
6399
|
case "K":
|
|
6396
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;
|
|
@@ -6430,7 +6434,7 @@ var Zm = /* @__PURE__ */ function() {
|
|
|
6430
6434
|
v = parseInt(ye[T].slice(1), 10) - 1, ++D;
|
|
6431
6435
|
break;
|
|
6432
6436
|
case "Y":
|
|
6433
|
-
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] = [];
|
|
6434
6438
|
break;
|
|
6435
6439
|
case "M":
|
|
6436
6440
|
P = parseInt(ye[T].slice(1), 10) / 20;
|
|
@@ -6454,8 +6458,8 @@ var Zm = /* @__PURE__ */ function() {
|
|
|
6454
6458
|
break;
|
|
6455
6459
|
/* font */
|
|
6456
6460
|
case "W":
|
|
6457
|
-
for (j = ye[T].slice(1).split(" "),
|
|
6458
|
-
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 };
|
|
6459
6463
|
break;
|
|
6460
6464
|
case "C":
|
|
6461
6465
|
v = parseInt(ye[T].slice(1), 10) - 1, C[v] || (C[v] = {});
|
|
@@ -6833,28 +6837,28 @@ EOD`;
|
|
|
6833
6837
|
function j() {
|
|
6834
6838
|
var P = u.slice(T, R);
|
|
6835
6839
|
P.slice(-1) == "\r" && (P = P.slice(0, -1));
|
|
6836
|
-
var
|
|
6837
|
-
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";
|
|
6838
6842
|
else if (h.raw)
|
|
6839
|
-
|
|
6843
|
+
H.t = "s", H.v = P;
|
|
6840
6844
|
else if (P.trim().length === 0)
|
|
6841
|
-
|
|
6845
|
+
H.t = "s", H.v = P;
|
|
6842
6846
|
else if (P.charCodeAt(0) == 61)
|
|
6843
|
-
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);
|
|
6844
6848
|
else if (P == "TRUE")
|
|
6845
|
-
|
|
6849
|
+
H.t = "b", H.v = !0;
|
|
6846
6850
|
else if (P == "FALSE")
|
|
6847
|
-
|
|
6851
|
+
H.t = "b", H.v = !1;
|
|
6848
6852
|
else if (!isNaN(y = ln(P)))
|
|
6849
|
-
|
|
6853
|
+
H.t = "n", H.v = y;
|
|
6850
6854
|
else if (!isNaN((y = Gi(P)).getDate()) || C && P.match(C)) {
|
|
6851
|
-
if (
|
|
6855
|
+
if (H.z = h.dateNF || lt[14], C && P.match(C)) {
|
|
6852
6856
|
var ue = i1(P, h.dateNF, P.match(C) || []);
|
|
6853
6857
|
y = dr(ue), h && h.UTC === !1 && (y = va(y));
|
|
6854
|
-
} else h && h.UTC === !1 ? y = va(y) : h.cellText !== !1 && h.dateNF && (
|
|
6855
|
-
h.cellDates ? (
|
|
6856
|
-
} else P.charCodeAt(0) == 35 && zr[P] != null ? (
|
|
6857
|
-
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;
|
|
6858
6862
|
else if (v = 0, ++p, h.sheetRows && h.sheetRows <= p) return !0;
|
|
6859
6863
|
}
|
|
6860
6864
|
e: for (; R < u.length; ++R) switch (E = u.charCodeAt(R)) {
|
|
@@ -7436,7 +7440,7 @@ EOD`;
|
|
|
7436
7440
|
}
|
|
7437
7441
|
return D[1].v = b, D;
|
|
7438
7442
|
}
|
|
7439
|
-
function
|
|
7443
|
+
function H(A, M) {
|
|
7440
7444
|
var D = O(A), b = A.read_shift(4), Z = A.read_shift(4), ce = A.read_shift(2);
|
|
7441
7445
|
if (ce == 65535)
|
|
7442
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;
|
|
@@ -7451,7 +7455,7 @@ EOD`;
|
|
|
7451
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;
|
|
7452
7456
|
}
|
|
7453
7457
|
function Ee(A, M) {
|
|
7454
|
-
var D =
|
|
7458
|
+
var D = H(A);
|
|
7455
7459
|
return A.l += M - 14, D;
|
|
7456
7460
|
}
|
|
7457
7461
|
function ye(A, M) {
|
|
@@ -7604,7 +7608,7 @@ EOD`;
|
|
|
7604
7608
|
20: { n: "ERRCELL" },
|
|
7605
7609
|
21: { n: "NACELL" },
|
|
7606
7610
|
22: { n: "LABEL16", f: C },
|
|
7607
|
-
23: { n: "NUMBER17", f:
|
|
7611
|
+
23: { n: "NUMBER17", f: H },
|
|
7608
7612
|
24: { n: "NUMBER18", f: P },
|
|
7609
7613
|
25: { n: "FORMULA19", f: Ee },
|
|
7610
7614
|
26: { n: "FORMULA1A" },
|
|
@@ -9197,8 +9201,8 @@ function _a(e, t, r, n, a) {
|
|
|
9197
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;
|
|
9198
9202
|
else if (n[0] && n[0][h]) P += n[0][h].Name;
|
|
9199
9203
|
else {
|
|
9200
|
-
var
|
|
9201
|
-
|
|
9204
|
+
var H = (mu(n, C, a) || "").split(";;");
|
|
9205
|
+
H[h - 1] ? P = H[h - 1] : P += "SH33TJSERRX";
|
|
9202
9206
|
}
|
|
9203
9207
|
o.push(P);
|
|
9204
9208
|
break;
|
|
@@ -15355,8 +15359,8 @@ function Su(e, t, r) {
|
|
|
15355
15359
|
j.s.c == y + o && j.s.r < p + s && p + s <= j.e.r && (y = j.e.c + 1 - o, d = -1);
|
|
15356
15360
|
}
|
|
15357
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 } });
|
|
15358
|
-
var P = { t: "s", v: O },
|
|
15359
|
-
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);
|
|
15360
15364
|
var ue = "", Ee = E.getElementsByTagName("A");
|
|
15361
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) ;
|
|
15362
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;
|
|
@@ -15652,8 +15656,8 @@ var P0 = /* @__PURE__ */ function() {
|
|
|
15652
15656
|
l[E.z] && (R["table:style-name"] = "ce" + l[E.z].slice(1));
|
|
15653
15657
|
var P = ne("text:p", C, {});
|
|
15654
15658
|
if (E.c) {
|
|
15655
|
-
for (var
|
|
15656
|
-
!
|
|
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>";
|
|
15657
15661
|
E.c.hidden || (Ee["office:display"] = !0), P = ne("office:annotation", ue, Ee) + P;
|
|
15658
15662
|
}
|
|
15659
15663
|
u.push(" " + ne("table:table-cell", P, R) + `
|
|
@@ -16445,8 +16449,8 @@ function y2(e, t, r) {
|
|
|
16445
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])));
|
|
16446
16450
|
var j = t[O].location.replace(/^Root Entry\//, "").replace(/^Index\//, "").replace(/\.iwa$/, "");
|
|
16447
16451
|
et(e, t, 2, function(P) {
|
|
16448
|
-
var
|
|
16449
|
-
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);
|
|
16450
16454
|
});
|
|
16451
16455
|
}
|
|
16452
16456
|
y[N][0].data = jt(O);
|
|
@@ -16595,9 +16599,9 @@ function E2(e, t, r, n, a, i) {
|
|
|
16595
16599
|
[{ type: 0, data: xe(5) }],
|
|
16596
16600
|
[{ type: 0, data: xe(1) }],
|
|
16597
16601
|
[{ type: 0, data: xe(1) }]
|
|
16598
|
-
],
|
|
16599
|
-
var ue = v2(l[
|
|
16600
|
-
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 });
|
|
16601
16605
|
}
|
|
16602
16606
|
R[1].push({ type: 2, data: ve([
|
|
16603
16607
|
[],
|
|
@@ -20540,7 +20544,7 @@ const jT = { class: "font-bold overgrid-modal-subtitle mb-2" }, XT = { class: "g
|
|
|
20540
20544
|
}
|
|
20541
20545
|
return (c, h) => (G(), tt(kn, {
|
|
20542
20546
|
show: n.currentPageExporter.isModalShown.value,
|
|
20543
|
-
title:
|
|
20547
|
+
title: Y(t).l("column_selector"),
|
|
20544
20548
|
close: () => {
|
|
20545
20549
|
n.currentPageExporter.closeModal();
|
|
20546
20550
|
},
|
|
@@ -20549,7 +20553,7 @@ const jT = { class: "font-bold overgrid-modal-subtitle mb-2" }, XT = { class: "g
|
|
|
20549
20553
|
content: Be(() => {
|
|
20550
20554
|
var d, m, x;
|
|
20551
20555
|
return [
|
|
20552
|
-
X("h4", jT, Ae(
|
|
20556
|
+
X("h4", jT, Ae(Y(t).l("export_fields")), 1),
|
|
20553
20557
|
X("div", XT, [
|
|
20554
20558
|
(G(!0), Q(Wt, null, wr((d = n.mappingVisible) == null ? void 0 : d.filter((p) => p.exportable !== !1), (p, v) => (G(), Q("label", {
|
|
20555
20559
|
class: "flex items-center overgrid-checkbox-label",
|
|
@@ -20570,7 +20574,7 @@ const jT = { class: "font-bold overgrid-modal-subtitle mb-2" }, XT = { class: "g
|
|
|
20570
20574
|
])) : we("", !0)
|
|
20571
20575
|
]))), 128))
|
|
20572
20576
|
]),
|
|
20573
|
-
X("h4", qT, Ae(
|
|
20577
|
+
X("h4", qT, Ae(Y(t).l("export_format")), 1),
|
|
20574
20578
|
X("div", ZT, [
|
|
20575
20579
|
(m = n.currentPageExporterConfig) != null && m.xlsxEnabled ? (G(), Q("label", JT, [
|
|
20576
20580
|
me(zl, {
|
|
@@ -20593,9 +20597,9 @@ const jT = { class: "font-bold overgrid-modal-subtitle mb-2" }, XT = { class: "g
|
|
|
20593
20597
|
h[4] || (h[4] = X("p", { class: "cursor-pointer text-sm" }, "CSV", -1))
|
|
20594
20598
|
])) : we("", !0)
|
|
20595
20599
|
]),
|
|
20596
|
-
me(
|
|
20600
|
+
me(Y(dl), {
|
|
20597
20601
|
data: f.value,
|
|
20598
|
-
name: "data-export-" +
|
|
20602
|
+
name: "data-export-" + Y(fe)().unix() + "." + i.value,
|
|
20599
20603
|
type: i.value,
|
|
20600
20604
|
fields: l.value,
|
|
20601
20605
|
onClick: u
|
|
@@ -20606,7 +20610,7 @@ const jT = { class: "font-bold overgrid-modal-subtitle mb-2" }, XT = { class: "g
|
|
|
20606
20610
|
ref_key: "downloadButton",
|
|
20607
20611
|
ref: r
|
|
20608
20612
|
}, [
|
|
20609
|
-
X("span", null, Ae(
|
|
20613
|
+
X("span", null, Ae(Y(t).l("ok")), 1)
|
|
20610
20614
|
], 512)
|
|
20611
20615
|
]),
|
|
20612
20616
|
_: 1
|
|
@@ -20657,7 +20661,7 @@ const jT = { class: "font-bold overgrid-modal-subtitle mb-2" }, XT = { class: "g
|
|
|
20657
20661
|
disabled: n.disabled,
|
|
20658
20662
|
"onUpdate:modelValue": f[0] || (f[0] = (u) => r.value = u)
|
|
20659
20663
|
}, l.$attrs), [
|
|
20660
|
-
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),
|
|
20661
20665
|
(G(!0), Q(Wt, null, wr(n.options, (u) => (G(), Q("option", {
|
|
20662
20666
|
class: "p-0 m-0",
|
|
20663
20667
|
key: u.key,
|
|
@@ -20745,16 +20749,16 @@ const jT = { class: "font-bold overgrid-modal-subtitle mb-2" }, XT = { class: "g
|
|
|
20745
20749
|
var u, c, h;
|
|
20746
20750
|
return G(), tt(kn, {
|
|
20747
20751
|
show: ((h = (c = (u = r.columnFilters.fieldUnderAdding) == null ? void 0 : u.value) == null ? void 0 : c.columnFilter) == null ? void 0 : h.type) == mo,
|
|
20748
|
-
title:
|
|
20752
|
+
title: Y(t).l("column_filter_text_modal_title"),
|
|
20749
20753
|
close: r.columnFilters.closeColumnFilterConfigModal,
|
|
20750
|
-
cancelButtonTitle:
|
|
20754
|
+
cancelButtonTitle: Y(t).l("close"),
|
|
20751
20755
|
disableOkButton: !i.value,
|
|
20752
20756
|
ok: o
|
|
20753
20757
|
}, {
|
|
20754
20758
|
content: Be(() => [
|
|
20755
20759
|
X("div", oE, [
|
|
20756
20760
|
X("div", lE, [
|
|
20757
|
-
X("label", fE, Ae(
|
|
20761
|
+
X("label", fE, Ae(Y(t).l("operation")), 1),
|
|
20758
20762
|
me(Ls, {
|
|
20759
20763
|
id: "overgrid-column-filter-operation-text",
|
|
20760
20764
|
rounded: "full",
|
|
@@ -20764,19 +20768,19 @@ const jT = { class: "font-bold overgrid-modal-subtitle mb-2" }, XT = { class: "g
|
|
|
20764
20768
|
modelValue: n.value,
|
|
20765
20769
|
"onUpdate:modelValue": f[0] || (f[0] = (d) => n.value = d),
|
|
20766
20770
|
options: [
|
|
20767
|
-
{ key: "cn", text:
|
|
20768
|
-
{ key: "ncn", text:
|
|
20769
|
-
{ key: "eq", text:
|
|
20770
|
-
{ key: "neq", text:
|
|
20771
|
-
{ key: "sw", text:
|
|
20772
|
-
{ key: "nsw", text:
|
|
20773
|
-
{ key: "ew", text:
|
|
20774
|
-
{ 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") }
|
|
20775
20779
|
]
|
|
20776
20780
|
}, null, 8, ["modelValue", "options"])
|
|
20777
20781
|
]),
|
|
20778
20782
|
X("div", uE, [
|
|
20779
|
-
X("label", cE, Ae(
|
|
20783
|
+
X("label", cE, Ae(Y(t).l("value")), 1),
|
|
20780
20784
|
me(za, {
|
|
20781
20785
|
id: "overgrid-column-filter-value-text",
|
|
20782
20786
|
rounded: "full",
|
|
@@ -20785,7 +20789,7 @@ const jT = { class: "font-bold overgrid-modal-subtitle mb-2" }, XT = { class: "g
|
|
|
20785
20789
|
type: "text",
|
|
20786
20790
|
modelValue: a.value,
|
|
20787
20791
|
"onUpdate:modelValue": f[1] || (f[1] = (d) => a.value = d),
|
|
20788
|
-
placeholder:
|
|
20792
|
+
placeholder: Y(t).l("please_enter_value"),
|
|
20789
20793
|
customClass: "overgrid-input overgrid-input-column-filter-value"
|
|
20790
20794
|
}, null, 8, ["modelValue", "placeholder"])
|
|
20791
20795
|
])
|
|
@@ -21005,12 +21009,12 @@ const xE = { class: "flex flex-col gap-3" }, vE = { class: "flex flex-col gap-1"
|
|
|
21005
21009
|
columnFilters: {}
|
|
21006
21010
|
},
|
|
21007
21011
|
setup(e) {
|
|
21008
|
-
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;
|
|
21009
21013
|
const t = Pt(), r = e, n = Oe({
|
|
21010
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 : ".",
|
|
21011
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 : ",",
|
|
21012
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,
|
|
21013
|
-
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,
|
|
21014
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,
|
|
21015
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
|
|
21016
21020
|
}), a = Oe("cn"), i = Oe(""), s = Je(() => i.value !== null && i.value !== "");
|
|
@@ -21042,16 +21046,16 @@ const xE = { class: "flex flex-col gap-3" }, vE = { class: "flex flex-col gap-1"
|
|
|
21042
21046
|
var b, Z, ce;
|
|
21043
21047
|
return G(), tt(kn, {
|
|
21044
21048
|
show: ((ce = (Z = (b = r.columnFilters.fieldUnderAdding) == null ? void 0 : b.value) == null ? void 0 : Z.columnFilter) == null ? void 0 : ce.type) == po,
|
|
21045
|
-
title:
|
|
21049
|
+
title: Y(t).l("column_filter_number_modal_title"),
|
|
21046
21050
|
close: r.columnFilters.closeColumnFilterConfigModal,
|
|
21047
|
-
cancelButtonTitle:
|
|
21051
|
+
cancelButtonTitle: Y(t).l("close"),
|
|
21048
21052
|
disableOkButton: !s.value,
|
|
21049
21053
|
ok: l
|
|
21050
21054
|
}, {
|
|
21051
21055
|
content: Be(() => [
|
|
21052
21056
|
X("div", xE, [
|
|
21053
21057
|
X("div", vE, [
|
|
21054
|
-
X("label", _E, Ae(
|
|
21058
|
+
X("label", _E, Ae(Y(t).l("operation")), 1),
|
|
21055
21059
|
me(Ls, {
|
|
21056
21060
|
id: "overgrid-column-filter-operation-number",
|
|
21057
21061
|
rounded: "full",
|
|
@@ -21061,21 +21065,21 @@ const xE = { class: "flex flex-col gap-3" }, vE = { class: "flex flex-col gap-1"
|
|
|
21061
21065
|
modelValue: a.value,
|
|
21062
21066
|
"onUpdate:modelValue": D[0] || (D[0] = (ie) => a.value = ie),
|
|
21063
21067
|
options: [
|
|
21064
|
-
{ key: "eq", text:
|
|
21065
|
-
{ key: "neq", text:
|
|
21066
|
-
{ key: "lt", text:
|
|
21067
|
-
{ key: "lte", text:
|
|
21068
|
-
{ key: "gt", text:
|
|
21069
|
-
{ 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") }
|
|
21070
21074
|
]
|
|
21071
21075
|
}, null, 8, ["modelValue", "options"])
|
|
21072
21076
|
]),
|
|
21073
21077
|
X("div", gE, [
|
|
21074
|
-
X("label", wE, Ae(
|
|
21075
|
-
me(
|
|
21078
|
+
X("label", wE, Ae(Y(t).l("value")), 1),
|
|
21079
|
+
me(Y(Lo), kt({
|
|
21076
21080
|
id: "overgrid-column-filter-label-value",
|
|
21077
21081
|
class: "overgrid-input overgrid-input-column-filter-number-value overgrid-input-primary text-sm px-3 py-2 rounded-full",
|
|
21078
|
-
placeholder:
|
|
21082
|
+
placeholder: Y(t).l("please_enter_value"),
|
|
21079
21083
|
modelValue: i.value,
|
|
21080
21084
|
"onUpdate:modelValue": D[1] || (D[1] = (ie) => i.value = ie)
|
|
21081
21085
|
}, n.value), null, 16, ["placeholder", "modelValue"])
|
|
@@ -21150,16 +21154,16 @@ const xE = { class: "flex flex-col gap-3" }, vE = { class: "flex flex-col gap-1"
|
|
|
21150
21154
|
var h, d, m;
|
|
21151
21155
|
return G(), tt(kn, {
|
|
21152
21156
|
show: ((m = (d = (h = r.columnFilters.fieldUnderAdding) == null ? void 0 : h.value) == null ? void 0 : d.columnFilter) == null ? void 0 : m.type) == xo,
|
|
21153
|
-
title:
|
|
21157
|
+
title: Y(t).l("column_filter_date_modal_title"),
|
|
21154
21158
|
close: r.columnFilters.closeColumnFilterConfigModal,
|
|
21155
|
-
cancelButtonTitle:
|
|
21159
|
+
cancelButtonTitle: Y(t).l("close"),
|
|
21156
21160
|
disableOkButton: !o.value,
|
|
21157
21161
|
ok: f
|
|
21158
21162
|
}, {
|
|
21159
21163
|
content: Be(() => [
|
|
21160
21164
|
X("div", TE, [
|
|
21161
21165
|
X("div", EE, [
|
|
21162
|
-
X("label", SE, Ae(
|
|
21166
|
+
X("label", SE, Ae(Y(t).l("operation")), 1),
|
|
21163
21167
|
me(Ls, {
|
|
21164
21168
|
id: "overgrid-column-filter-operation-date",
|
|
21165
21169
|
rounded: "full",
|
|
@@ -21169,17 +21173,17 @@ const xE = { class: "flex flex-col gap-3" }, vE = { class: "flex flex-col gap-1"
|
|
|
21169
21173
|
modelValue: n.value,
|
|
21170
21174
|
"onUpdate:modelValue": c[0] || (c[0] = (x) => n.value = x),
|
|
21171
21175
|
options: [
|
|
21172
|
-
{ key: "eq", text:
|
|
21173
|
-
{ key: "obd", text:
|
|
21174
|
-
{ key: "bd", text:
|
|
21175
|
-
{ key: "oad", text:
|
|
21176
|
-
{ key: "ad", text:
|
|
21177
|
-
{ 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") }
|
|
21178
21182
|
]
|
|
21179
21183
|
}, null, 8, ["modelValue", "options"])
|
|
21180
21184
|
]),
|
|
21181
21185
|
n.value !== "be" ? (G(), Q("div", FE, [
|
|
21182
|
-
X("label", kE, Ae(
|
|
21186
|
+
X("label", kE, Ae(Y(t).l("value")), 1),
|
|
21183
21187
|
me(za, {
|
|
21184
21188
|
rounded: "full",
|
|
21185
21189
|
size: "md",
|
|
@@ -21187,12 +21191,12 @@ const xE = { class: "flex flex-col gap-3" }, vE = { class: "flex flex-col gap-1"
|
|
|
21187
21191
|
type: "date",
|
|
21188
21192
|
modelValue: a.value,
|
|
21189
21193
|
"onUpdate:modelValue": c[1] || (c[1] = (x) => a.value = x),
|
|
21190
|
-
placeholder:
|
|
21194
|
+
placeholder: Y(t).l("please_enter_value"),
|
|
21191
21195
|
customClass: "overgrid-input overgrid-input-column-filter-value"
|
|
21192
21196
|
}, null, 8, ["modelValue", "placeholder"])
|
|
21193
21197
|
])) : (G(), Q("div", AE, [
|
|
21194
21198
|
X("div", bE, [
|
|
21195
|
-
X("label", OE, Ae(
|
|
21199
|
+
X("label", OE, Ae(Y(t).l("interval_start")), 1),
|
|
21196
21200
|
me(za, {
|
|
21197
21201
|
rounded: "full",
|
|
21198
21202
|
size: "md",
|
|
@@ -21200,12 +21204,12 @@ const xE = { class: "flex flex-col gap-3" }, vE = { class: "flex flex-col gap-1"
|
|
|
21200
21204
|
type: "date",
|
|
21201
21205
|
modelValue: i.value,
|
|
21202
21206
|
"onUpdate:modelValue": c[2] || (c[2] = (x) => i.value = x),
|
|
21203
|
-
placeholder:
|
|
21207
|
+
placeholder: Y(t).l("please_enter_value"),
|
|
21204
21208
|
customClass: "overgrid-input overgrid-input-column-filter-value"
|
|
21205
21209
|
}, null, 8, ["modelValue", "placeholder"])
|
|
21206
21210
|
]),
|
|
21207
21211
|
X("div", DE, [
|
|
21208
|
-
X("label", CE, Ae(
|
|
21212
|
+
X("label", CE, Ae(Y(t).l("interval_end")), 1),
|
|
21209
21213
|
me(za, {
|
|
21210
21214
|
rounded: "full",
|
|
21211
21215
|
size: "md",
|
|
@@ -21213,7 +21217,7 @@ const xE = { class: "flex flex-col gap-3" }, vE = { class: "flex flex-col gap-1"
|
|
|
21213
21217
|
type: "date",
|
|
21214
21218
|
modelValue: s.value,
|
|
21215
21219
|
"onUpdate:modelValue": c[3] || (c[3] = (x) => s.value = x),
|
|
21216
|
-
placeholder:
|
|
21220
|
+
placeholder: Y(t).l("please_enter_value"),
|
|
21217
21221
|
customClass: "overgrid-input overgrid-input-column-filter-value"
|
|
21218
21222
|
}, null, 8, ["modelValue", "placeholder"])
|
|
21219
21223
|
])
|
|
@@ -21313,9 +21317,9 @@ const xE = { class: "flex flex-col gap-3" }, vE = { class: "flex flex-col gap-1"
|
|
|
21313
21317
|
var f, u, c;
|
|
21314
21318
|
return G(), tt(kn, {
|
|
21315
21319
|
show: ((c = (u = (f = r.columnFilters.fieldUnderAdding) == null ? void 0 : f.value) == null ? void 0 : u.columnFilter) == null ? void 0 : c.type) == vo,
|
|
21316
|
-
title:
|
|
21320
|
+
title: Y(t).l("column_filter_boolean_modal_title"),
|
|
21317
21321
|
close: r.columnFilters.closeColumnFilterConfigModal,
|
|
21318
|
-
cancelButtonTitle:
|
|
21322
|
+
cancelButtonTitle: Y(t).l("close"),
|
|
21319
21323
|
disableOkButton: !a.value,
|
|
21320
21324
|
ok: s
|
|
21321
21325
|
}, {
|
|
@@ -21327,7 +21331,7 @@ const xE = { class: "flex flex-col gap-3" }, vE = { class: "flex flex-col gap-1"
|
|
|
21327
21331
|
"onUpdate:modelValue": l[0] || (l[0] = (h) => n.value = h),
|
|
21328
21332
|
customClass: "overgrid-checkbox-column-filter-boolean"
|
|
21329
21333
|
}, null, 8, ["modelValue"]),
|
|
21330
|
-
X("span", BE, Ae(
|
|
21334
|
+
X("span", BE, Ae(Y(t).l("check_if_you_want_to_filter_yes")), 1)
|
|
21331
21335
|
])
|
|
21332
21336
|
]),
|
|
21333
21337
|
_: 1
|
|
@@ -21367,9 +21371,9 @@ const xE = { class: "flex flex-col gap-3" }, vE = { class: "flex flex-col gap-1"
|
|
|
21367
21371
|
var f, u, c;
|
|
21368
21372
|
return G(), tt(kn, {
|
|
21369
21373
|
show: ((c = (u = (f = r.columnFilters.fieldUnderAdding) == null ? void 0 : f.value) == null ? void 0 : u.columnFilter) == null ? void 0 : c.type) == _o,
|
|
21370
|
-
title:
|
|
21374
|
+
title: Y(t).l("column_filter_enum_modal_title"),
|
|
21371
21375
|
close: r.columnFilters.closeColumnFilterConfigModal,
|
|
21372
|
-
cancelButtonTitle:
|
|
21376
|
+
cancelButtonTitle: Y(t).l("close"),
|
|
21373
21377
|
disableOkButton: !a.value,
|
|
21374
21378
|
ok: s
|
|
21375
21379
|
}, {
|
|
@@ -21415,7 +21419,7 @@ const xE = { class: "flex flex-col gap-3" }, vE = { class: "flex flex-col gap-1"
|
|
|
21415
21419
|
type: "text",
|
|
21416
21420
|
modelValue: r.searcher.query.value,
|
|
21417
21421
|
"onUpdate:modelValue": a[0] || (a[0] = (s) => r.searcher.query.value = s),
|
|
21418
|
-
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"),
|
|
21419
21423
|
customClass: "overgrid-input overgrid-input-search w-32 sm:w-60"
|
|
21420
21424
|
}, null, 8, ["modelValue", "placeholder"]),
|
|
21421
21425
|
r.searcher.query.value ? (G(), tt(sr, {
|
|
@@ -21449,9 +21453,9 @@ const xE = { class: "flex flex-col gap-3" }, vE = { class: "flex flex-col gap-1"
|
|
|
21449
21453
|
const t = Pt(), r = e;
|
|
21450
21454
|
return (n, a) => (G(), tt(kn, {
|
|
21451
21455
|
show: r.aboutModal.isModalShown.value,
|
|
21452
|
-
title:
|
|
21456
|
+
title: Y(t).l("about"),
|
|
21453
21457
|
close: r.aboutModal.closeModal,
|
|
21454
|
-
cancelButtonTitle:
|
|
21458
|
+
cancelButtonTitle: Y(t).l("close"),
|
|
21455
21459
|
noNeedOkButton: !0
|
|
21456
21460
|
}, {
|
|
21457
21461
|
content: Be(() => a[0] || (a[0] = [
|
|
@@ -23664,7 +23668,7 @@ const {
|
|
|
23664
23668
|
})) : [],
|
|
23665
23669
|
onChange: a,
|
|
23666
23670
|
enableNullOption: !0,
|
|
23667
|
-
nullOptionText:
|
|
23671
|
+
nullOptionText: Y(t).l("selected_rows", {
|
|
23668
23672
|
selectedCount: r.bulkOperator.checkedRows.value.length.toString()
|
|
23669
23673
|
})
|
|
23670
23674
|
}, null, 8, ["disabled", "modelValue", "options", "nullOptionText"]);
|
|
@@ -23717,11 +23721,11 @@ const {
|
|
|
23717
23721
|
var n, a, i, s, o, l, f, u, c, h, d, m;
|
|
23718
23722
|
return Array.isArray(t.data) ? (G(), Q("span", UF, [
|
|
23719
23723
|
(G(!0), Q(Wt, null, wr(t.data, (x, p) => {
|
|
23720
|
-
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;
|
|
23721
23725
|
return G(), Q("span", {
|
|
23722
23726
|
key: p,
|
|
23723
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) || "")
|
|
23724
|
-
}, 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);
|
|
23725
23729
|
}), 128))
|
|
23726
23730
|
])) : (G(), Q("span", {
|
|
23727
23731
|
key: 0,
|
|
@@ -23784,7 +23788,7 @@ const {
|
|
|
23784
23788
|
var n, a, i, s, o, l;
|
|
23785
23789
|
return G(), Q("span", {
|
|
23786
23790
|
class: wt(((a = (n = t.formatterConfig) == null ? void 0 : n.config) == null ? void 0 : a.class) || "")
|
|
23787
|
-
}, 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);
|
|
23788
23792
|
};
|
|
23789
23793
|
}
|
|
23790
23794
|
}), YF = /* @__PURE__ */ Ue({
|
|
@@ -24000,10 +24004,10 @@ const {
|
|
|
24000
24004
|
name: "HtmlFormatter",
|
|
24001
24005
|
component: QF
|
|
24002
24006
|
}].concat(r.customFormatters || []);
|
|
24003
|
-
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, [
|
|
24004
24008
|
a.type === s.name ? (G(), tt(gh(s.component), {
|
|
24005
24009
|
key: 0,
|
|
24006
|
-
l:
|
|
24010
|
+
l: Y(t).l,
|
|
24007
24011
|
data: r.data,
|
|
24008
24012
|
formatterConfig: a.formatterConfig,
|
|
24009
24013
|
rowid: a.rowid,
|
|
@@ -24082,34 +24086,34 @@ const {
|
|
|
24082
24086
|
"grid-unique-id": r.config.gridUniqueId
|
|
24083
24087
|
}, [
|
|
24084
24088
|
m.value ? (G(), Q("div", rk, [
|
|
24085
|
-
|
|
24089
|
+
Y(o).search.isToolbarOptionEnabled.value && v.$slots.search ? pr(v.$slots, "search", {
|
|
24086
24090
|
key: 0,
|
|
24087
24091
|
config: r.config.search,
|
|
24088
|
-
searchApi:
|
|
24092
|
+
searchApi: Y(o).search
|
|
24089
24093
|
}) : we("", !0),
|
|
24090
|
-
|
|
24094
|
+
Y(o).search.isToolbarOptionEnabled.value && !v.$slots.search ? (G(), tt(YE, {
|
|
24091
24095
|
key: 1,
|
|
24092
24096
|
searchConfig: r.config.search,
|
|
24093
|
-
searcher:
|
|
24097
|
+
searcher: Y(o).search
|
|
24094
24098
|
}, null, 8, ["searchConfig", "searcher"])) : we("", !0),
|
|
24095
24099
|
X("span", nk, [
|
|
24096
24100
|
pr(v.$slots, "toolbarSpacer", {
|
|
24097
24101
|
config: r.config,
|
|
24098
|
-
paginationApi:
|
|
24099
|
-
orderApi:
|
|
24100
|
-
columnFiltersApi:
|
|
24101
|
-
searchApi:
|
|
24102
|
+
paginationApi: Y(o).pagination,
|
|
24103
|
+
orderApi: Y(o).ordering,
|
|
24104
|
+
columnFiltersApi: Y(o).columnFilters,
|
|
24105
|
+
searchApi: Y(o).search
|
|
24102
24106
|
})
|
|
24103
24107
|
]),
|
|
24104
24108
|
X("div", ak, [
|
|
24105
|
-
|
|
24109
|
+
Y(c).isToolbarOptionEnabled.value ? (G(), tt(LF, {
|
|
24106
24110
|
key: 0,
|
|
24107
24111
|
config: r.config.bulkOperations,
|
|
24108
|
-
bulkOperator:
|
|
24112
|
+
bulkOperator: Y(c)
|
|
24109
24113
|
}, null, 8, ["config", "bulkOperator"])) : we("", !0),
|
|
24110
24114
|
(T = r.config.refreshable) != null && T.manualActive ? (G(), tt(sr, {
|
|
24111
24115
|
key: 1,
|
|
24112
|
-
onClick:
|
|
24116
|
+
onClick: Y(o).fetchRecords,
|
|
24113
24117
|
customClass: "overgrid-btn-manual-refresh",
|
|
24114
24118
|
variant: "primary",
|
|
24115
24119
|
size: "sm",
|
|
@@ -24124,7 +24128,7 @@ const {
|
|
|
24124
24128
|
]),
|
|
24125
24129
|
_: 1
|
|
24126
24130
|
}, 8, ["onClick"])) : we("", !0),
|
|
24127
|
-
|
|
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, {
|
|
24128
24132
|
key: 2,
|
|
24129
24133
|
orientation: "left",
|
|
24130
24134
|
ref_key: "operationsDropdown",
|
|
@@ -24149,28 +24153,28 @@ const {
|
|
|
24149
24153
|
})
|
|
24150
24154
|
]),
|
|
24151
24155
|
content: Be(() => {
|
|
24152
|
-
var O, C, j, P,
|
|
24156
|
+
var O, C, j, P, H;
|
|
24153
24157
|
return [
|
|
24154
|
-
|
|
24158
|
+
Y(l).isToolbarOptionEnabled.value || Y(f).isToolbarOptionEnabled.value || Y(u).isToolbarOptionEnabled.value ? (G(), tt(Zh, {
|
|
24155
24159
|
key: 0,
|
|
24156
24160
|
config: r.config,
|
|
24157
|
-
columnSelector:
|
|
24158
|
-
currentPageExporter:
|
|
24159
|
-
aboutModal:
|
|
24161
|
+
columnSelector: Y(l),
|
|
24162
|
+
currentPageExporter: Y(f),
|
|
24163
|
+
aboutModal: Y(u),
|
|
24160
24164
|
closeDropdown: (O = a.value) == null ? void 0 : O.close,
|
|
24161
24165
|
ref: "baseOperations"
|
|
24162
24166
|
}, null, 8, ["config", "columnSelector", "currentPageExporter", "aboutModal", "closeDropdown"])) : we("", !0),
|
|
24163
|
-
|
|
24167
|
+
Y(o).autoRefresh.isToolbarOptionEnabled.value ? (G(), tt(ad, {
|
|
24164
24168
|
key: 1,
|
|
24165
|
-
autoRefresher:
|
|
24169
|
+
autoRefresher: Y(o).autoRefresh,
|
|
24166
24170
|
config: (C = r.config) == null ? void 0 : C.refreshable,
|
|
24167
24171
|
closeDropdown: (j = a.value) == null ? void 0 : j.close
|
|
24168
24172
|
}, null, 8, ["autoRefresher", "config", "closeDropdown"])) : we("", !0),
|
|
24169
|
-
|
|
24173
|
+
Y(o).pagination.isToolbarOptionEnabled.value ? (G(), tt(fd, {
|
|
24170
24174
|
key: 2,
|
|
24171
|
-
paginator:
|
|
24175
|
+
paginator: Y(o).pagination,
|
|
24172
24176
|
config: (P = r.config) == null ? void 0 : P.pagination,
|
|
24173
|
-
closeDropdown: (
|
|
24177
|
+
closeDropdown: (H = a.value) == null ? void 0 : H.close
|
|
24174
24178
|
}, null, 8, ["paginator", "config", "closeDropdown"])) : we("", !0)
|
|
24175
24179
|
];
|
|
24176
24180
|
}),
|
|
@@ -24188,8 +24192,8 @@ const {
|
|
|
24188
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] = [
|
|
24189
24193
|
X("label", { class: "" }, null, -1)
|
|
24190
24194
|
]))) : we("", !0),
|
|
24191
|
-
(G(!0), Q(Wt, null, wr(
|
|
24192
|
-
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;
|
|
24193
24197
|
return G(), Q("th", {
|
|
24194
24198
|
style: Yo({ width: O.width || "auto" }),
|
|
24195
24199
|
class: "overgrid-cell text-sm h-12",
|
|
@@ -24200,30 +24204,30 @@ const {
|
|
|
24200
24204
|
titleField: O,
|
|
24201
24205
|
orderActive: (C = r.config.orderConfiguration) == null ? void 0 : C.active,
|
|
24202
24206
|
orderable: O.orderable,
|
|
24203
|
-
orderApi:
|
|
24207
|
+
orderApi: Y(o).ordering,
|
|
24204
24208
|
orderConfig: r.config.orderConfiguration,
|
|
24205
|
-
columnFiltersApi:
|
|
24209
|
+
columnFiltersApi: Y(o).columnFilters,
|
|
24206
24210
|
columnFiltersActive: (j = r.config.columnFilters) == null ? void 0 : j.active
|
|
24207
24211
|
}) : (G(), Q("div", {
|
|
24208
24212
|
key: 1,
|
|
24209
24213
|
class: wt(["flex flex-row items-center overgrid-column-title-container h-12 px-4", {
|
|
24210
24214
|
"overgrid-column-title-container-hoverable cursor-pointer": ((P = r.config.orderConfiguration) == null ? void 0 : P.active) && O.orderable
|
|
24211
24215
|
}]),
|
|
24212
|
-
onClick: () =>
|
|
24216
|
+
onClick: () => Y(o).ordering.toggleField(O)
|
|
24213
24217
|
}, [
|
|
24214
24218
|
X("span", ck, Ae(O.title), 1),
|
|
24215
24219
|
y[3] || (y[3] = X("span", { class: "grow min-w-3" }, null, -1)),
|
|
24216
24220
|
X("div", hk, [
|
|
24217
|
-
(
|
|
24221
|
+
(H = r.config.orderConfiguration) != null && H.active && O.orderable ? (G(), Q("div", dk, [
|
|
24218
24222
|
me(Ph, {
|
|
24219
|
-
orderer:
|
|
24223
|
+
orderer: Y(o).ordering,
|
|
24220
24224
|
field: O,
|
|
24221
24225
|
config: r.config.orderConfiguration
|
|
24222
24226
|
}, null, 8, ["orderer", "field", "config"])
|
|
24223
24227
|
])) : we("", !0),
|
|
24224
24228
|
(ue = r.config.columnFilters) != null && ue.active && ((Ee = O.columnFilter) != null && Ee.active) ? (G(), Q("div", mk, [
|
|
24225
24229
|
me(Vh, {
|
|
24226
|
-
columnFilter:
|
|
24230
|
+
columnFilter: Y(o).columnFilters,
|
|
24227
24231
|
field: O,
|
|
24228
24232
|
config: r.config.columnFilters
|
|
24229
24233
|
}, null, 8, ["columnFilter", "field", "config"])
|
|
@@ -24234,16 +24238,16 @@ const {
|
|
|
24234
24238
|
}), 128))
|
|
24235
24239
|
])
|
|
24236
24240
|
]),
|
|
24237
|
-
|
|
24238
|
-
(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) => {
|
|
24239
24243
|
var j, P;
|
|
24240
24244
|
return G(), Q(Wt, {
|
|
24241
|
-
key: "record_" + C
|
|
24245
|
+
key: "record_" + (r.config.idkey ? O[r.config.idkey] : C)
|
|
24242
24246
|
}, [
|
|
24243
24247
|
X("tr", {
|
|
24244
24248
|
rownum: C,
|
|
24245
24249
|
class: wt(
|
|
24246
|
-
|
|
24250
|
+
Y(d).getClassList(
|
|
24247
24251
|
O,
|
|
24248
24252
|
"overgrid-row h-12 " + (C % 2 === 0 ? "overgrid-row-odd" : "overgrid-row-even")
|
|
24249
24253
|
)
|
|
@@ -24251,9 +24255,9 @@ const {
|
|
|
24251
24255
|
}, [
|
|
24252
24256
|
r.config.extraRow && r.config.extraRow.active && r.config.idkey ? (G(), Q("td", vk, [
|
|
24253
24257
|
me(sr, {
|
|
24254
|
-
onClick: (
|
|
24258
|
+
onClick: (H) => {
|
|
24255
24259
|
var ue;
|
|
24256
|
-
return
|
|
24260
|
+
return Y(h).toggleRow((ue = O[r.config.idkey]) == null ? void 0 : ue.toString());
|
|
24257
24261
|
},
|
|
24258
24262
|
customClass: "overgrid-btn-manual-refresh",
|
|
24259
24263
|
variant: "light",
|
|
@@ -24262,9 +24266,9 @@ const {
|
|
|
24262
24266
|
rounded: ""
|
|
24263
24267
|
}, {
|
|
24264
24268
|
iconLeft: Be(() => {
|
|
24265
|
-
var
|
|
24269
|
+
var H;
|
|
24266
24270
|
return [
|
|
24267
|
-
|
|
24271
|
+
Y(h).isRowOpened((H = O[r.config.idkey]) == null ? void 0 : H.toString()) ? (G(), tt(Ot, {
|
|
24268
24272
|
key: 1,
|
|
24269
24273
|
type: "chevron-down",
|
|
24270
24274
|
class: "w-3 h-3"
|
|
@@ -24282,45 +24286,45 @@ const {
|
|
|
24282
24286
|
X("label", gk, [
|
|
24283
24287
|
me(ms, {
|
|
24284
24288
|
value: (P = O[r.config.idkey]) == null ? void 0 : P.toString(),
|
|
24285
|
-
modelValue:
|
|
24286
|
-
"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),
|
|
24287
24291
|
variant: "secondary"
|
|
24288
24292
|
}, null, 8, ["value", "modelValue"])
|
|
24289
24293
|
])
|
|
24290
24294
|
])) : we("", !0),
|
|
24291
|
-
(G(!0), Q(Wt, null, wr(
|
|
24295
|
+
(G(!0), Q(Wt, null, wr(Y(l).filter(Y(s).mappingVisible()), (H) => (G(), Q("td", {
|
|
24292
24296
|
class: "overgrid-cell px-4 text-sm",
|
|
24293
|
-
key: "body_" +
|
|
24297
|
+
key: "body_" + H.key
|
|
24294
24298
|
}, [
|
|
24295
|
-
|
|
24296
|
-
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),
|
|
24297
24301
|
theme: r.config.theme ? r.config.theme : "default",
|
|
24298
|
-
type:
|
|
24299
|
-
data:
|
|
24300
|
-
formatterConfig:
|
|
24302
|
+
type: H.formatter.type,
|
|
24303
|
+
data: H.middleware ? H.middleware(O[H.key], O) : O[H.key],
|
|
24304
|
+
formatterConfig: H.formatter,
|
|
24301
24305
|
rowid: r.config.idkey ? O[r.config.idkey] : null,
|
|
24302
|
-
fieldKey:
|
|
24306
|
+
fieldKey: H.key,
|
|
24303
24307
|
record: O,
|
|
24304
24308
|
refreshGrid: () => {
|
|
24305
|
-
|
|
24309
|
+
Y(o).fetchRecords();
|
|
24306
24310
|
},
|
|
24307
24311
|
customFormatters: r.customFormatters,
|
|
24308
24312
|
openExtraRow: (ue) => {
|
|
24309
|
-
r.config.idkey &&
|
|
24313
|
+
r.config.idkey && Y(h).toggleRow(ue);
|
|
24310
24314
|
}
|
|
24311
24315
|
}, null, 8, ["theme", "type", "data", "formatterConfig", "rowid", "fieldKey", "record", "refreshGrid", "customFormatters", "openExtraRow"])) : (G(), Q(Wt, { key: 1 }, [
|
|
24312
|
-
cs(Ae(
|
|
24316
|
+
cs(Ae(H.middleware ? H.middleware(O[H.key], O) : O[H.key]), 1)
|
|
24313
24317
|
], 64))
|
|
24314
24318
|
]))), 128))
|
|
24315
24319
|
], 10, xk),
|
|
24316
24320
|
me(Wn, { name: "overgrid-anim-extra-row" }, {
|
|
24317
24321
|
default: Be(() => {
|
|
24318
|
-
var
|
|
24322
|
+
var H, ue, Ee;
|
|
24319
24323
|
return [
|
|
24320
24324
|
r.config.extraRow && r.config.extraRow.active && r.config.idkey ? Gr((G(), Q("tr", wk, [
|
|
24321
24325
|
X("td", {
|
|
24322
24326
|
class: "overgrid-extra-row-cell",
|
|
24323
|
-
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
|
|
24324
24328
|
}, [
|
|
24325
24329
|
pr(v.$slots, "extraRow", {
|
|
24326
24330
|
record: O,
|
|
@@ -24328,7 +24332,7 @@ const {
|
|
|
24328
24332
|
})
|
|
24329
24333
|
], 8, yk)
|
|
24330
24334
|
], 512)), [
|
|
24331
|
-
[ii,
|
|
24335
|
+
[ii, Y(h).isRowOpened((Ee = O[r.config.idkey]) == null ? void 0 : Ee.toString())]
|
|
24332
24336
|
]) : we("", !0)
|
|
24333
24337
|
];
|
|
24334
24338
|
}),
|
|
@@ -24339,7 +24343,7 @@ const {
|
|
|
24339
24343
|
])) : (G(), Q("tbody", Tk, [
|
|
24340
24344
|
X("tr", null, [
|
|
24341
24345
|
X("td", {
|
|
24342
|
-
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
|
|
24343
24347
|
}, [
|
|
24344
24348
|
pr(v.$slots, "emptyResult")
|
|
24345
24349
|
], 8, Ek)
|
|
@@ -24349,40 +24353,40 @@ const {
|
|
|
24349
24353
|
]),
|
|
24350
24354
|
(V = r.config.pagination) != null && V.active && v.$slots.pagination ? pr(v.$slots, "pagination", {
|
|
24351
24355
|
key: 1,
|
|
24352
|
-
paginationApi:
|
|
24356
|
+
paginationApi: Y(o).pagination
|
|
24353
24357
|
}) : we("", !0),
|
|
24354
24358
|
(E = r.config.pagination) != null && E.active && !v.$slots.pagination ? (G(), tt(Ch, {
|
|
24355
24359
|
key: 2,
|
|
24356
|
-
paginator:
|
|
24360
|
+
paginator: Y(o).pagination
|
|
24357
24361
|
}, null, 8, ["paginator"])) : we("", !0),
|
|
24358
|
-
|
|
24359
|
-
X("span", Fk, Ae(
|
|
24362
|
+
Y(o).loading.value ? (G(), Q("div", Sk, [
|
|
24363
|
+
X("span", Fk, Ae(Y(i).l("loading_data")), 1)
|
|
24360
24364
|
])) : we("", !0),
|
|
24361
24365
|
me(kd, {
|
|
24362
|
-
mappingVisible:
|
|
24363
|
-
columnSelector:
|
|
24366
|
+
mappingVisible: Y(s).mappingVisible(),
|
|
24367
|
+
columnSelector: Y(l)
|
|
24364
24368
|
}, null, 8, ["mappingVisible", "columnSelector"]),
|
|
24365
24369
|
me(eE, {
|
|
24366
24370
|
currentPageExporterConfig: r.config.currentPageExport,
|
|
24367
|
-
mappingVisible:
|
|
24368
|
-
currentPageExporter:
|
|
24369
|
-
currentRecords:
|
|
24371
|
+
mappingVisible: Y(l).filter(Y(s).mappingVisible()),
|
|
24372
|
+
currentPageExporter: Y(f),
|
|
24373
|
+
currentRecords: Y(o).records
|
|
24370
24374
|
}, null, 8, ["currentPageExporterConfig", "mappingVisible", "currentPageExporter", "currentRecords"]),
|
|
24371
|
-
me(zE, { aboutModal:
|
|
24375
|
+
me(zE, { aboutModal: Y(u) }, null, 8, ["aboutModal"]),
|
|
24372
24376
|
me(hE, {
|
|
24373
|
-
columnFilters:
|
|
24377
|
+
columnFilters: Y(o).columnFilters
|
|
24374
24378
|
}, null, 8, ["columnFilters"]),
|
|
24375
24379
|
me(yE, {
|
|
24376
|
-
columnFilters:
|
|
24380
|
+
columnFilters: Y(o).columnFilters
|
|
24377
24381
|
}, null, 8, ["columnFilters"]),
|
|
24378
24382
|
me(RE, {
|
|
24379
|
-
columnFilters:
|
|
24383
|
+
columnFilters: Y(o).columnFilters
|
|
24380
24384
|
}, null, 8, ["columnFilters"]),
|
|
24381
24385
|
me(UE, {
|
|
24382
|
-
columnFilters:
|
|
24386
|
+
columnFilters: Y(o).columnFilters
|
|
24383
24387
|
}, null, 8, ["columnFilters"]),
|
|
24384
24388
|
me(VE, {
|
|
24385
|
-
columnFilters:
|
|
24389
|
+
columnFilters: Y(o).columnFilters
|
|
24386
24390
|
}, null, 8, ["columnFilters"])
|
|
24387
24391
|
], 8, tk);
|
|
24388
24392
|
};
|