r3ui-lib 1.2.2 → 1.2.3-1
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/r3ui-lib.css +1 -1
- package/dist/r3ui-lib.es.js +657 -641
- package/dist/r3ui-lib.umd.js +13 -13
- package/dist/types/components/modals/EditTableColumnsModalComponent.vue.d.ts.map +1 -1
- package/dist/types/components/sidebar/CollapsedSidebarLink.vue.d.ts.map +1 -1
- package/dist/types/components/sidebar/SidebarLink.vue.d.ts.map +1 -1
- package/dist/types/composables/sidebar/useSidebar.d.ts +1 -0
- package/dist/types/composables/sidebar/useSidebar.d.ts.map +1 -1
- package/package.json +1 -1
package/dist/r3ui-lib.es.js
CHANGED
|
@@ -194,7 +194,7 @@ const Kl = {
|
|
|
194
194
|
], 12, nh))
|
|
195
195
|
]));
|
|
196
196
|
}
|
|
197
|
-
}),
|
|
197
|
+
}), IM = /* @__PURE__ */ Ye(rh, [["__scopeId", "data-v-a0502514"]]), sh = /* @__PURE__ */ We({
|
|
198
198
|
__name: "ExportButton",
|
|
199
199
|
props: {
|
|
200
200
|
label: { default: "" },
|
|
@@ -217,7 +217,7 @@ const Kl = {
|
|
|
217
217
|
a[0] || (a[0] = N("i", { class: "ps-2 bi bi-file-earmark-arrow-down-fill" }, null, -1))
|
|
218
218
|
], 2));
|
|
219
219
|
}
|
|
220
|
-
}),
|
|
220
|
+
}), VM = /* @__PURE__ */ Ye(sh, [["__scopeId", "data-v-20f08c06"]]), ah = /* @__PURE__ */ We({
|
|
221
221
|
__name: "PrintButton",
|
|
222
222
|
props: {
|
|
223
223
|
label: { default: "" },
|
|
@@ -239,7 +239,7 @@ const Kl = {
|
|
|
239
239
|
a[0] || (a[0] = N("i", { class: "ps-2 bi bi-printer-fill" }, null, -1))
|
|
240
240
|
], 2));
|
|
241
241
|
}
|
|
242
|
-
}),
|
|
242
|
+
}), BM = /* @__PURE__ */ Ye(ah, [["__scopeId", "data-v-52020521"]]), oh = ["disabled"], lh = { class: "clear-form-button__label" }, uh = /* @__PURE__ */ We({
|
|
243
243
|
__name: "ClearFormButton",
|
|
244
244
|
props: {
|
|
245
245
|
label: { default: "Очистить" },
|
|
@@ -262,7 +262,7 @@ const Kl = {
|
|
|
262
262
|
N("div", lh, Ce(s.label), 1)
|
|
263
263
|
], 10, oh));
|
|
264
264
|
}
|
|
265
|
-
}),
|
|
265
|
+
}), NM = /* @__PURE__ */ Ye(uh, [["__scopeId", "data-v-ed163ff4"]]), ch = {
|
|
266
266
|
class: "toggle-buttons",
|
|
267
267
|
"data-test": "ToggleButtons"
|
|
268
268
|
}, dh = ["onClick"], hh = /* @__PURE__ */ We({
|
|
@@ -287,7 +287,7 @@ const Kl = {
|
|
|
287
287
|
}, Ce(a.title), 11, dh))), 128))
|
|
288
288
|
]));
|
|
289
289
|
}
|
|
290
|
-
}),
|
|
290
|
+
}), zM = /* @__PURE__ */ Ye(hh, [["__scopeId", "data-v-4eae7f5d"]]);
|
|
291
291
|
var bo = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {};
|
|
292
292
|
function Xl(n) {
|
|
293
293
|
return n && n.__esModule && Object.prototype.hasOwnProperty.call(n, "default") ? n.default : n;
|
|
@@ -1952,7 +1952,7 @@ const cl = /* @__PURE__ */ Xl($h), qh = ["action"], Kh = ["value"], Jh = ["name"
|
|
|
1952
1952
|
], 10, Qh)
|
|
1953
1953
|
], 8, qh));
|
|
1954
1954
|
}
|
|
1955
|
-
}),
|
|
1955
|
+
}), jM = /* @__PURE__ */ Ye(Zh, [["__scopeId", "data-v-db74d2e3"]]);
|
|
1956
1956
|
var lr = { exports: {} };
|
|
1957
1957
|
/*!
|
|
1958
1958
|
* dist/inputmask
|
|
@@ -8717,7 +8717,7 @@ const Sv = {
|
|
|
8717
8717
|
lerp: od,
|
|
8718
8718
|
random: ld,
|
|
8719
8719
|
roundToDecimals: ud
|
|
8720
|
-
},
|
|
8720
|
+
}, WM = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
8721
8721
|
__proto__: null,
|
|
8722
8722
|
addDays: Sc,
|
|
8723
8723
|
addMonths: xc,
|
|
@@ -8952,7 +8952,7 @@ const Sv = {
|
|
|
8952
8952
|
et(Sn, { errors: i.value }, null, 8, ["errors"])
|
|
8953
8953
|
]));
|
|
8954
8954
|
}
|
|
8955
|
-
},
|
|
8955
|
+
}, YM = /* @__PURE__ */ Ye(Av, [["__scopeId", "data-v-7b5f1918"]]), Ov = { class: "form-check d-flex align-items-center" }, Lv = ["id", "name", "checked"], Pv = ["for"], UM = {
|
|
8956
8956
|
__name: "Checkbox",
|
|
8957
8957
|
props: {
|
|
8958
8958
|
modelValue: {
|
|
@@ -10963,7 +10963,7 @@ const Ry = { class: "text-muted" }, Ty = {
|
|
|
10963
10963
|
et(Sn, { errors: c.value }, null, 8, ["errors"])
|
|
10964
10964
|
]));
|
|
10965
10965
|
}
|
|
10966
|
-
}),
|
|
10966
|
+
}), GM = /* @__PURE__ */ Ye(Gy, [["__scopeId", "data-v-e23ac74b"]]), $y = { class: "multi-input" }, qy = { class: "col" }, Ky = { class: "col-auto" }, Jy = ["onClick"], Xy = /* @__PURE__ */ We({
|
|
10967
10967
|
__name: "MultiInput",
|
|
10968
10968
|
props: {
|
|
10969
10969
|
modelValue: { default: () => [] },
|
|
@@ -11070,7 +11070,7 @@ const Ry = { class: "text-muted" }, Ty = {
|
|
|
11070
11070
|
et(eh, { onClick: h })
|
|
11071
11071
|
]));
|
|
11072
11072
|
}
|
|
11073
|
-
}),
|
|
11073
|
+
}), $M = /* @__PURE__ */ Ye(Xy, [["__scopeId", "data-v-9337052b"]]);
|
|
11074
11074
|
var Ks = [
|
|
11075
11075
|
"onChange",
|
|
11076
11076
|
"onClose",
|
|
@@ -12688,7 +12688,7 @@ const ow = ["value", "id", "name", "disabled", "required", "placeholder"], lw =
|
|
|
12688
12688
|
et(Sn, { errors: u.value }, null, 8, ["errors"])
|
|
12689
12689
|
], 512));
|
|
12690
12690
|
}
|
|
12691
|
-
}),
|
|
12691
|
+
}), qM = /* @__PURE__ */ Ye(cw, [["__scopeId", "data-v-805e83fd"]]);
|
|
12692
12692
|
function dw(n = {}) {
|
|
12693
12693
|
const {
|
|
12694
12694
|
placeholder: e = "Поиск...",
|
|
@@ -12870,7 +12870,7 @@ const hw = ["disabled"], fw = {
|
|
|
12870
12870
|
])) : xe("", !0)
|
|
12871
12871
|
], 512));
|
|
12872
12872
|
}
|
|
12873
|
-
}),
|
|
12873
|
+
}), KM = /* @__PURE__ */ Ye(pw, [["__scopeId", "data-v-060eb2dc"]]);
|
|
12874
12874
|
function mw(n = {}) {
|
|
12875
12875
|
const {
|
|
12876
12876
|
loadRegions: e,
|
|
@@ -13404,7 +13404,7 @@ const gw = { class: "address-form" }, vw = { class: "row" }, bw = { class: "form
|
|
|
13404
13404
|
])) : xe("", !0)
|
|
13405
13405
|
]));
|
|
13406
13406
|
}
|
|
13407
|
-
}),
|
|
13407
|
+
}), JM = /* @__PURE__ */ Ye(_w, [["__scopeId", "data-v-35914e44"]]), Aw = { class: "age-from-to-form" }, Ow = { class: "form-group" }, Lw = {
|
|
13408
13408
|
key: 0,
|
|
13409
13409
|
class: "form-label mb-2"
|
|
13410
13410
|
}, Pw = { class: "row align-items-center mb-2" }, Fw = { class: "col-auto" }, Hw = { class: "form-label mb-0" }, Iw = { class: "col" }, Vw = { class: "col" }, Bw = { class: "row align-items-center mb-2" }, Nw = { class: "col-auto" }, zw = { class: "form-label mb-0" }, jw = { class: "col" }, Ww = { class: "col" }, Yw = /* @__PURE__ */ We({
|
|
@@ -13563,7 +13563,7 @@ const gw = { class: "address-form" }, vw = { class: "row" }, bw = { class: "form
|
|
|
13563
13563
|
])
|
|
13564
13564
|
]));
|
|
13565
13565
|
}
|
|
13566
|
-
}),
|
|
13566
|
+
}), XM = /* @__PURE__ */ Ye(Yw, [["__scopeId", "data-v-4b5f9814"]]), Uw = {
|
|
13567
13567
|
key: 0,
|
|
13568
13568
|
class: "modal-wrapper"
|
|
13569
13569
|
}, Gw = { class: "modal-header pb-4 border-bottom-0" }, $w = {
|
|
@@ -13808,7 +13808,7 @@ const gw = { class: "address-form" }, vw = { class: "row" }, bw = { class: "form
|
|
|
13808
13808
|
_: 3
|
|
13809
13809
|
}, 8, ["model-value", "size", "title"]));
|
|
13810
13810
|
}
|
|
13811
|
-
}),
|
|
13811
|
+
}), QM = /* @__PURE__ */ Ye(wC, [["__scopeId", "data-v-5b40270e"]]), CC = {
|
|
13812
13812
|
key: 0,
|
|
13813
13813
|
class: "filter-modal-wrapper"
|
|
13814
13814
|
}, EC = { class: "filter-modal-dialog" }, kC = { class: "filter-modal-content" }, SC = { class: "filter-modal-header" }, xC = {
|
|
@@ -13862,7 +13862,7 @@ const gw = { class: "address-form" }, vw = { class: "row" }, bw = { class: "form
|
|
|
13862
13862
|
])) : xe("", !0)
|
|
13863
13863
|
]));
|
|
13864
13864
|
}
|
|
13865
|
-
}),
|
|
13865
|
+
}), ZM = /* @__PURE__ */ Ye(TC, [["__scopeId", "data-v-fc16a7b7"]]), DC = {
|
|
13866
13866
|
key: 0,
|
|
13867
13867
|
class: "px-0"
|
|
13868
13868
|
}, _C = { class: "modal-dialog modal-dialog-centered modal-xl" }, AC = { class: "modal-content py-2 px-4" }, OC = { class: "modal-header mb-3" }, LC = { class: "modal-title" }, PC = { class: "modal-body row" }, FC = { class: "modal-footer border-0 row justify-content-start pt-0 pb-3" }, HC = /* @__PURE__ */ We({
|
|
@@ -13898,7 +13898,7 @@ const gw = { class: "address-form" }, vw = { class: "row" }, bw = { class: "form
|
|
|
13898
13898
|
])
|
|
13899
13899
|
])) : xe("", !0);
|
|
13900
13900
|
}
|
|
13901
|
-
}), IC = /* @__PURE__ */ Ye(HC, [["__scopeId", "data-v-
|
|
13901
|
+
}), IC = /* @__PURE__ */ Ye(HC, [["__scopeId", "data-v-420e2861"]]), VC = {
|
|
13902
13902
|
class: "row mb-4 mx-0",
|
|
13903
13903
|
"data-test": "PageTitle"
|
|
13904
13904
|
}, BC = { class: "col-12" }, NC = { class: "row align-items-center" }, zC = { class: "col-auto" }, jC = { class: "col d-flex justify-content-end" }, WC = /* @__PURE__ */ We({
|
|
@@ -13933,7 +13933,7 @@ const gw = { class: "address-form" }, vw = { class: "row" }, bw = { class: "form
|
|
|
13933
13933
|
])
|
|
13934
13934
|
]));
|
|
13935
13935
|
}
|
|
13936
|
-
}),
|
|
13936
|
+
}), eR = /* @__PURE__ */ Ye(WC, [["__scopeId", "data-v-fd1eb9a3"]]), YC = { class: "card-body" }, UC = { class: "card-text" }, GC = {
|
|
13937
13937
|
__name: "Card",
|
|
13938
13938
|
props: {
|
|
13939
13939
|
title: {
|
|
@@ -13957,7 +13957,7 @@ const gw = { class: "address-form" }, vw = { class: "row" }, bw = { class: "form
|
|
|
13957
13957
|
])
|
|
13958
13958
|
], 2));
|
|
13959
13959
|
}
|
|
13960
|
-
},
|
|
13960
|
+
}, tR = /* @__PURE__ */ Ye(GC, [["__scopeId", "data-v-5fa81802"]]), $C = { class: "d-flex align-items-center justify-content-center bg-white shadow-sm py-3" }, iR = /* @__PURE__ */ We({
|
|
13961
13961
|
__name: "Footer",
|
|
13962
13962
|
props: {
|
|
13963
13963
|
copyrightText: { type: String, required: !0 }
|
|
@@ -14137,7 +14137,7 @@ const gw = { class: "address-form" }, vw = { class: "row" }, bw = { class: "form
|
|
|
14137
14137
|
], 2)
|
|
14138
14138
|
]));
|
|
14139
14139
|
}
|
|
14140
|
-
}),
|
|
14140
|
+
}), nR = /* @__PURE__ */ Ye(h0, [["__scopeId", "data-v-9b51d3e7"]]), f0 = {
|
|
14141
14141
|
class: "col-12 divider divider__wrapper",
|
|
14142
14142
|
"data-test": "Divider"
|
|
14143
14143
|
}, Ed = {
|
|
@@ -14200,7 +14200,7 @@ const gw = { class: "address-form" }, vw = { class: "row" }, bw = { class: "form
|
|
|
14200
14200
|
toggleSidebar: t,
|
|
14201
14201
|
sidebarContentVisibility: e
|
|
14202
14202
|
};
|
|
14203
|
-
}, m0 = { key: 0 }, g0 = ["href"], v0 = ["innerHTML"], b0 = { key: 1 }, y0 = ["id"], w0 = ["innerHTML"], C0 = ["id"], E0 = { class: "accordion-body" }, k0 = /* @__PURE__ */ We({
|
|
14203
|
+
}, m0 = { key: 0 }, g0 = ["href", "target", "rel"], v0 = ["innerHTML"], b0 = { key: 1 }, y0 = ["id"], w0 = ["innerHTML"], C0 = ["id"], E0 = { class: "accordion-body" }, k0 = /* @__PURE__ */ We({
|
|
14204
14204
|
name: "SidebarLink",
|
|
14205
14205
|
__name: "SidebarLink",
|
|
14206
14206
|
props: {
|
|
@@ -14208,14 +14208,18 @@ const gw = { class: "address-form" }, vw = { class: "row" }, bw = { class: "form
|
|
|
14208
14208
|
},
|
|
14209
14209
|
emits: ["navigate"],
|
|
14210
14210
|
setup(n, { emit: e }) {
|
|
14211
|
-
const t = e, i = zi("expandAccordion"), r = zi("expandedAccordion")
|
|
14212
|
-
|
|
14213
|
-
|
|
14211
|
+
const t = e, i = zi("expandAccordion"), r = zi("expandedAccordion"), s = (a) => {
|
|
14212
|
+
a.isExternal && a.href ? window.open(a.href, "_blank", "noopener,noreferrer") : t("navigate", a.href);
|
|
14213
|
+
};
|
|
14214
|
+
return (a, o) => {
|
|
14215
|
+
const l = ql("SidebarLink", !0);
|
|
14214
14216
|
return W(), G("div", null, [
|
|
14215
14217
|
n.sidebarLink.childrens?.length ? xe("", !0) : (W(), G("div", m0, [
|
|
14216
14218
|
N("a", {
|
|
14217
14219
|
href: n.sidebarLink.href,
|
|
14218
|
-
|
|
14220
|
+
target: n.sidebarLink.isExternal ? "_blank" : void 0,
|
|
14221
|
+
rel: n.sidebarLink.isExternal ? "noopener noreferrer" : void 0,
|
|
14222
|
+
onClick: o[0] || (o[0] = Ri(() => s(n.sidebarLink), ["prevent"])),
|
|
14219
14223
|
class: "sidebar-link-item"
|
|
14220
14224
|
}, [
|
|
14221
14225
|
n.sidebarLink.isVisible ? (W(), G("span", {
|
|
@@ -14249,7 +14253,7 @@ const gw = { class: "address-form" }, vw = { class: "row" }, bw = { class: "form
|
|
|
14249
14253
|
collapsed: ke(r) && ke(r)[n.sidebarLink.level] !== n.sidebarLink.uniqueKey
|
|
14250
14254
|
}]),
|
|
14251
14255
|
type: "button",
|
|
14252
|
-
onClick:
|
|
14256
|
+
onClick: o[1] || (o[1] = (u) => ke(i) && ke(i)(n.sidebarLink.uniqueKey, n.sidebarLink.level))
|
|
14253
14257
|
}, [
|
|
14254
14258
|
N("span", {
|
|
14255
14259
|
innerHTML: n.sidebarLink.icon,
|
|
@@ -14267,12 +14271,12 @@ const gw = { class: "address-form" }, vw = { class: "row" }, bw = { class: "form
|
|
|
14267
14271
|
}, [
|
|
14268
14272
|
N("div", E0, [
|
|
14269
14273
|
N("ul", null, [
|
|
14270
|
-
(W(!0), G(nt, null, ht(n.sidebarLink.childrens, (
|
|
14271
|
-
key:
|
|
14274
|
+
(W(!0), G(nt, null, ht(n.sidebarLink.childrens, (u) => (W(), G("li", {
|
|
14275
|
+
key: u.uniqueKey
|
|
14272
14276
|
}, [
|
|
14273
|
-
et(
|
|
14274
|
-
sidebarLink:
|
|
14275
|
-
onNavigate:
|
|
14277
|
+
et(l, {
|
|
14278
|
+
sidebarLink: u,
|
|
14279
|
+
onNavigate: o[2] || (o[2] = (c) => t("navigate", c))
|
|
14276
14280
|
}, null, 8, ["sidebarLink"])
|
|
14277
14281
|
]))), 128))
|
|
14278
14282
|
])
|
|
@@ -14283,15 +14287,21 @@ const gw = { class: "address-form" }, vw = { class: "row" }, bw = { class: "form
|
|
|
14283
14287
|
]);
|
|
14284
14288
|
};
|
|
14285
14289
|
}
|
|
14286
|
-
}), S0 = /* @__PURE__ */ Ye(k0, [["__scopeId", "data-v-
|
|
14290
|
+
}), S0 = /* @__PURE__ */ Ye(k0, [["__scopeId", "data-v-e09a8337"]]), x0 = { key: 0 }, M0 = { key: 0 }, R0 = ["title"], T0 = ["innerHTML"], D0 = { key: 1 }, _0 = {
|
|
14287
14291
|
key: 0,
|
|
14288
14292
|
class: "d-flex position-relative",
|
|
14289
14293
|
style: { "z-index": "999", top: "-50px" }
|
|
14290
|
-
}, A0 = { class: "hidden-div" }, O0 = { key: 1 }, L0 = ["href"], P0 = ["title"], F0 = ["innerHTML"], H0 = {
|
|
14294
|
+
}, A0 = { class: "hidden-div" }, O0 = { key: 1 }, L0 = ["href", "target", "rel"], P0 = ["title"], F0 = ["innerHTML"], H0 = {
|
|
14295
|
+
key: 0,
|
|
14296
|
+
class: "ms-2"
|
|
14297
|
+
}, I0 = {
|
|
14291
14298
|
key: 1,
|
|
14292
14299
|
class: "btn btn-light w-100 text-align-left border-0 py-3 bg-white",
|
|
14293
14300
|
type: "button"
|
|
14294
|
-
},
|
|
14301
|
+
}, V0 = {
|
|
14302
|
+
key: 0,
|
|
14303
|
+
class: "ms-2"
|
|
14304
|
+
}, B0 = /* @__PURE__ */ We({
|
|
14295
14305
|
name: "CollapsedSidebarLink",
|
|
14296
14306
|
__name: "CollapsedSidebarLink",
|
|
14297
14307
|
props: {
|
|
@@ -14299,16 +14309,18 @@ const gw = { class: "address-form" }, vw = { class: "row" }, bw = { class: "form
|
|
|
14299
14309
|
},
|
|
14300
14310
|
emits: ["navigate"],
|
|
14301
14311
|
setup(n, { emit: e }) {
|
|
14302
|
-
const t = e, i = zi("expandAccordion"), r = zi("expandedAccordion")
|
|
14303
|
-
|
|
14304
|
-
|
|
14312
|
+
const t = e, i = zi("expandAccordion"), r = zi("expandedAccordion"), s = (a) => {
|
|
14313
|
+
a.isExternal && a.href ? window.open(a.href, "_blank", "noopener,noreferrer") : t("navigate", a.href);
|
|
14314
|
+
};
|
|
14315
|
+
return (a, o) => {
|
|
14316
|
+
const l = ql("CollapsedSidebarLink", !0);
|
|
14305
14317
|
return n.link.isVisible ? (W(), G("div", x0, [
|
|
14306
14318
|
n.link.childrens?.length ? (W(), G("div", M0, [
|
|
14307
14319
|
N("button", {
|
|
14308
14320
|
title: n.link.label,
|
|
14309
14321
|
class: Te(["btn btn-light w-100 text-start border-0", [n.link.icon ? "icon" : "text-align-left bg-white"]]),
|
|
14310
14322
|
type: "button",
|
|
14311
|
-
onClick:
|
|
14323
|
+
onClick: o[0] || (o[0] = (u) => ke(i)?.(n.link.uniqueKey, n.link.level))
|
|
14312
14324
|
}, [
|
|
14313
14325
|
n.link.icon ? (W(), G("span", {
|
|
14314
14326
|
key: 0,
|
|
@@ -14318,15 +14330,15 @@ const gw = { class: "address-form" }, vw = { class: "row" }, bw = { class: "form
|
|
|
14318
14330
|
ke(r) && ke(r)[n.link.level] === n.link.uniqueKey ? (W(), G("div", _0, [
|
|
14319
14331
|
N("div", A0, [
|
|
14320
14332
|
N("h5", null, Ce(n.link.label), 1),
|
|
14321
|
-
|
|
14333
|
+
o[3] || (o[3] = N("hr", { size: "1" }, null, -1)),
|
|
14322
14334
|
N("ul", null, [
|
|
14323
|
-
(W(!0), G(nt, null, ht(n.link.childrens, (
|
|
14335
|
+
(W(!0), G(nt, null, ht(n.link.childrens, (u) => (W(), G("li", {
|
|
14324
14336
|
class: "mb-0",
|
|
14325
|
-
key:
|
|
14337
|
+
key: u.uniqueKey
|
|
14326
14338
|
}, [
|
|
14327
|
-
et(
|
|
14328
|
-
link:
|
|
14329
|
-
onNavigate:
|
|
14339
|
+
et(l, {
|
|
14340
|
+
link: u,
|
|
14341
|
+
onNavigate: o[1] || (o[1] = (c) => t("navigate", c))
|
|
14330
14342
|
}, null, 8, ["link"])
|
|
14331
14343
|
]))), 128))
|
|
14332
14344
|
])
|
|
@@ -14335,7 +14347,9 @@ const gw = { class: "address-form" }, vw = { class: "row" }, bw = { class: "form
|
|
|
14335
14347
|
])) : (W(), G("div", O0, [
|
|
14336
14348
|
N("a", {
|
|
14337
14349
|
href: n.link.href,
|
|
14338
|
-
|
|
14350
|
+
target: n.link.isExternal ? "_blank" : void 0,
|
|
14351
|
+
rel: n.link.isExternal ? "noopener noreferrer" : void 0,
|
|
14352
|
+
onClick: o[2] || (o[2] = Ri(() => s(n.link), ["prevent"]))
|
|
14339
14353
|
}, [
|
|
14340
14354
|
n.link.level < 1 ? (W(), G("button", {
|
|
14341
14355
|
key: 0,
|
|
@@ -14346,19 +14360,21 @@ const gw = { class: "address-form" }, vw = { class: "row" }, bw = { class: "form
|
|
|
14346
14360
|
}, [
|
|
14347
14361
|
N("span", {
|
|
14348
14362
|
innerHTML: n.link.icon
|
|
14349
|
-
}, null, 8, F0)
|
|
14350
|
-
|
|
14351
|
-
|
|
14363
|
+
}, null, 8, F0),
|
|
14364
|
+
n.link.isExternal ? (W(), G("span", H0, "↗")) : xe("", !0)
|
|
14365
|
+
], 8, P0)) : (W(), G("button", I0, [
|
|
14366
|
+
N("span", null, Ce(n.link.label), 1),
|
|
14367
|
+
n.link.isExternal ? (W(), G("span", V0, "↗")) : xe("", !0)
|
|
14352
14368
|
]))
|
|
14353
14369
|
], 8, L0)
|
|
14354
14370
|
]))
|
|
14355
14371
|
])) : xe("", !0);
|
|
14356
14372
|
};
|
|
14357
14373
|
}
|
|
14358
|
-
}),
|
|
14374
|
+
}), N0 = /* @__PURE__ */ Ye(B0, [["__scopeId", "data-v-1ba91f9e"]]), z0 = { key: 0 }, j0 = {
|
|
14359
14375
|
class: "accordion accordion-flush",
|
|
14360
14376
|
id: "accordionMenu"
|
|
14361
|
-
},
|
|
14377
|
+
}, W0 = { key: 1 }, Y0 = { class: "row" }, U0 = { class: "col-12" }, G0 = { class: "sidebar-footer p-3" }, $0 = /* @__PURE__ */ We({
|
|
14362
14378
|
__name: "Sidebar",
|
|
14363
14379
|
props: {
|
|
14364
14380
|
links: { type: Array, required: !0 },
|
|
@@ -14373,8 +14389,8 @@ const gw = { class: "address-form" }, vw = { class: "row" }, bw = { class: "form
|
|
|
14373
14389
|
id: "sidebarContent",
|
|
14374
14390
|
class: Te(["sidebar sidebarContent", { "collapse-width": !r.value }])
|
|
14375
14391
|
}, [
|
|
14376
|
-
r.value ? (W(), G("div",
|
|
14377
|
-
N("div",
|
|
14392
|
+
r.value ? (W(), G("div", z0, [
|
|
14393
|
+
N("div", j0, [
|
|
14378
14394
|
(W(!0), G(nt, null, ht(ke(s), (u) => (W(), G("div", {
|
|
14379
14395
|
key: u.uniqueKey
|
|
14380
14396
|
}, [
|
|
@@ -14385,27 +14401,27 @@ const gw = { class: "address-form" }, vw = { class: "row" }, bw = { class: "form
|
|
|
14385
14401
|
]))), 128))
|
|
14386
14402
|
])
|
|
14387
14403
|
])) : xe("", !0),
|
|
14388
|
-
r.value ? xe("", !0) : (W(), G("div",
|
|
14404
|
+
r.value ? xe("", !0) : (W(), G("div", W0, [
|
|
14389
14405
|
(W(!0), G(nt, null, ht(ke(a), (u) => (W(), G("div", {
|
|
14390
14406
|
key: u.uniqueKey
|
|
14391
14407
|
}, [
|
|
14392
|
-
et(
|
|
14408
|
+
et(N0, {
|
|
14393
14409
|
link: u,
|
|
14394
14410
|
onNavigate: l[1] || (l[1] = (c) => i("navigate", c))
|
|
14395
14411
|
}, null, 8, ["link"])
|
|
14396
14412
|
]))), 128))
|
|
14397
14413
|
])),
|
|
14398
|
-
N("div",
|
|
14399
|
-
N("div",
|
|
14414
|
+
N("div", Y0, [
|
|
14415
|
+
N("div", U0, [
|
|
14400
14416
|
et(Ed)
|
|
14401
14417
|
])
|
|
14402
14418
|
]),
|
|
14403
|
-
N("div",
|
|
14419
|
+
N("div", G0, [
|
|
14404
14420
|
tt(o.$slots, "footer")
|
|
14405
14421
|
])
|
|
14406
14422
|
], 2));
|
|
14407
14423
|
}
|
|
14408
|
-
}),
|
|
14424
|
+
}), q0 = (n) => {
|
|
14409
14425
|
const e = we(!0), t = we(null), i = we(null), r = we(320), s = () => {
|
|
14410
14426
|
e.value = !1, r.value = 60, localStorage.setItem("sideBarVisibility", "0");
|
|
14411
14427
|
}, a = () => {
|
|
@@ -14434,10 +14450,10 @@ const gw = { class: "address-form" }, vw = { class: "row" }, bw = { class: "form
|
|
|
14434
14450
|
toggleSidebar: o,
|
|
14435
14451
|
sidebarContentVisibility: e
|
|
14436
14452
|
};
|
|
14437
|
-
},
|
|
14453
|
+
}, K0 = { class: "container-fluid p-0" }, J0 = {
|
|
14438
14454
|
class: "py-4",
|
|
14439
14455
|
style: { "min-height": "90vh" }
|
|
14440
|
-
},
|
|
14456
|
+
}, rR = /* @__PURE__ */ We({
|
|
14441
14457
|
__name: "MainComponent",
|
|
14442
14458
|
props: {
|
|
14443
14459
|
sidebarLinks: { type: Array, required: !0 },
|
|
@@ -14445,8 +14461,8 @@ const gw = { class: "address-form" }, vw = { class: "row" }, bw = { class: "form
|
|
|
14445
14461
|
},
|
|
14446
14462
|
emits: ["navigate"],
|
|
14447
14463
|
setup(n, { emit: e }) {
|
|
14448
|
-
const t = n, i = e, { contentWidth: r, clientWidth: s, sidebarWidth: a, sidebarContentVisibility: o } =
|
|
14449
|
-
return (l, u) => (W(), G("div",
|
|
14464
|
+
const t = n, i = e, { contentWidth: r, clientWidth: s, sidebarWidth: a, sidebarContentVisibility: o } = q0(Me(() => t.isAuthenticated));
|
|
14465
|
+
return (l, u) => (W(), G("div", K0, [
|
|
14450
14466
|
N("div", {
|
|
14451
14467
|
class: Te(["d-flex", { "justify-content-center": !t.isAuthenticated }]),
|
|
14452
14468
|
ref_key: "clientWidth",
|
|
@@ -14458,7 +14474,7 @@ const gw = { class: "address-form" }, vw = { class: "row" }, bw = { class: "form
|
|
|
14458
14474
|
class: "pt-3 sidebar px-0 hide-to-print",
|
|
14459
14475
|
style: St(`background: #efefef; transition: .2s; width:${ke(a)}px;`)
|
|
14460
14476
|
}, [
|
|
14461
|
-
et(
|
|
14477
|
+
et($0, {
|
|
14462
14478
|
links: t.sidebarLinks,
|
|
14463
14479
|
"is-collapsed": !ke(o),
|
|
14464
14480
|
onNavigate: u[0] || (u[0] = (c) => i("navigate", c))
|
|
@@ -14468,7 +14484,7 @@ const gw = { class: "address-form" }, vw = { class: "row" }, bw = { class: "form
|
|
|
14468
14484
|
id: "content-div",
|
|
14469
14485
|
style: St(`transition: .2s; width:${ke(r)}px;`)
|
|
14470
14486
|
}, [
|
|
14471
|
-
N("div",
|
|
14487
|
+
N("div", J0, [
|
|
14472
14488
|
tt(l.$slots, "breadcrumbs"),
|
|
14473
14489
|
tt(l.$slots, "default")
|
|
14474
14490
|
])
|
|
@@ -14476,13 +14492,13 @@ const gw = { class: "address-form" }, vw = { class: "row" }, bw = { class: "form
|
|
|
14476
14492
|
], 2)
|
|
14477
14493
|
]));
|
|
14478
14494
|
}
|
|
14479
|
-
}),
|
|
14495
|
+
}), X0 = {
|
|
14480
14496
|
class: "row hide-to-print m-0",
|
|
14481
14497
|
"data-test": "Breadcrumbs"
|
|
14482
|
-
},
|
|
14498
|
+
}, Q0 = { class: "col" }, Z0 = { "aria-label": "breadcrumb" }, eE = { class: "breadcrumb row" }, tE = ["aria-current"], iE = ["href", "onClick"], nE = {
|
|
14483
14499
|
key: 1,
|
|
14484
14500
|
class: "text-nowrap"
|
|
14485
|
-
},
|
|
14501
|
+
}, rE = /* @__PURE__ */ We({
|
|
14486
14502
|
__name: "Breadcrumbs",
|
|
14487
14503
|
props: {
|
|
14488
14504
|
crumbs: { type: Array, required: !0 }
|
|
@@ -14490,34 +14506,34 @@ const gw = { class: "address-form" }, vw = { class: "row" }, bw = { class: "form
|
|
|
14490
14506
|
emits: ["navigate"],
|
|
14491
14507
|
setup(n, { emit: e }) {
|
|
14492
14508
|
const t = n, i = e;
|
|
14493
|
-
return (r, s) => (W(), G("div",
|
|
14494
|
-
N("div",
|
|
14495
|
-
N("nav",
|
|
14496
|
-
N("ol",
|
|
14509
|
+
return (r, s) => (W(), G("div", X0, [
|
|
14510
|
+
N("div", Q0, [
|
|
14511
|
+
N("nav", Z0, [
|
|
14512
|
+
N("ol", eE, [
|
|
14497
14513
|
(W(!0), G(nt, null, ht(t.crumbs, (a, o) => (W(), G("li", {
|
|
14498
14514
|
key: o,
|
|
14499
14515
|
class: Te(["breadcrumb-item text-nowrap col-auto", { active: a.isActive }]),
|
|
14500
14516
|
"aria-current": a.isActive ? "page" : void 0
|
|
14501
14517
|
}, [
|
|
14502
|
-
a.isActive ? (W(), G("span",
|
|
14518
|
+
a.isActive ? (W(), G("span", nE, Ce(a.text), 1)) : (W(), G("a", {
|
|
14503
14519
|
key: 0,
|
|
14504
14520
|
href: a.href,
|
|
14505
14521
|
class: "text-decoration-none text-black-40 cursor-pointer text-nowrap",
|
|
14506
14522
|
onClick: Ri(() => i("navigate", a.href), ["prevent"])
|
|
14507
|
-
}, Ce(a.text), 9,
|
|
14508
|
-
], 10,
|
|
14523
|
+
}, Ce(a.text), 9, iE))
|
|
14524
|
+
], 10, tE))), 128))
|
|
14509
14525
|
])
|
|
14510
14526
|
])
|
|
14511
14527
|
])
|
|
14512
14528
|
]));
|
|
14513
14529
|
}
|
|
14514
|
-
}),
|
|
14530
|
+
}), sR = /* @__PURE__ */ Ye(rE, [["__scopeId", "data-v-cff07bcc"]]), sE = {
|
|
14515
14531
|
key: 0,
|
|
14516
14532
|
class: "card-header"
|
|
14517
|
-
},
|
|
14533
|
+
}, aE = { class: "card-title mb-0" }, oE = { class: "card-body" }, lE = { class: "row" }, uE = { class: "row align-items-center" }, cE = { class: "col-auto label pe-0" }, dE = { class: "col-auto" }, hE = {
|
|
14518
14534
|
key: 0,
|
|
14519
14535
|
class: "mt-3"
|
|
14520
|
-
},
|
|
14536
|
+
}, fE = /* @__PURE__ */ We({
|
|
14521
14537
|
__name: "CardInfo",
|
|
14522
14538
|
props: {
|
|
14523
14539
|
title: { default: "" },
|
|
@@ -14536,18 +14552,18 @@ const gw = { class: "address-form" }, vw = { class: "row" }, bw = { class: "form
|
|
|
14536
14552
|
return (i, r) => (W(), G("div", {
|
|
14537
14553
|
class: Te(["card", t.value])
|
|
14538
14554
|
}, [
|
|
14539
|
-
i.title ? (W(), G("div",
|
|
14540
|
-
N("h5",
|
|
14555
|
+
i.title ? (W(), G("div", sE, [
|
|
14556
|
+
N("h5", aE, Ce(i.title), 1)
|
|
14541
14557
|
])) : xe("", !0),
|
|
14542
|
-
N("div",
|
|
14543
|
-
N("div",
|
|
14558
|
+
N("div", oE, [
|
|
14559
|
+
N("div", lE, [
|
|
14544
14560
|
(W(!0), G(nt, null, ht(i.fields, (s, a) => (W(), G("div", {
|
|
14545
14561
|
class: "col-12 mb-2",
|
|
14546
14562
|
key: a
|
|
14547
14563
|
}, [
|
|
14548
|
-
N("div",
|
|
14549
|
-
N("div",
|
|
14550
|
-
N("div",
|
|
14564
|
+
N("div", uE, [
|
|
14565
|
+
N("div", cE, Ce(s.label) + ":", 1),
|
|
14566
|
+
N("div", dE, [
|
|
14551
14567
|
N("span", {
|
|
14552
14568
|
class: Te(["value", s.valueClass]),
|
|
14553
14569
|
style: St(s.valueStyle)
|
|
@@ -14556,30 +14572,30 @@ const gw = { class: "address-form" }, vw = { class: "row" }, bw = { class: "form
|
|
|
14556
14572
|
])
|
|
14557
14573
|
]))), 128))
|
|
14558
14574
|
]),
|
|
14559
|
-
i.$slots.default ? (W(), G("div",
|
|
14575
|
+
i.$slots.default ? (W(), G("div", hE, [
|
|
14560
14576
|
tt(i.$slots, "default", {}, void 0, !0)
|
|
14561
14577
|
])) : xe("", !0)
|
|
14562
14578
|
])
|
|
14563
14579
|
], 2));
|
|
14564
14580
|
}
|
|
14565
|
-
}),
|
|
14581
|
+
}), aR = /* @__PURE__ */ Ye(fE, [["__scopeId", "data-v-cdf01ae2"]]), pE = { class: "page-card" }, mE = { class: "row hide-to-print card-header mx-0 w-100" }, gE = { class: "col" }, vE = { class: "row flex-nowrap align-items-center" }, bE = { class: "col-auto" }, yE = {
|
|
14566
14582
|
key: 0,
|
|
14567
14583
|
class: "col-auto"
|
|
14568
|
-
},
|
|
14584
|
+
}, wE = {
|
|
14569
14585
|
class: "row",
|
|
14570
14586
|
style: { padding: "20px" }
|
|
14571
|
-
},
|
|
14587
|
+
}, CE = { class: "d-flex align-items-start" }, EE = {
|
|
14572
14588
|
class: "nav flex-column nav-pills",
|
|
14573
14589
|
id: "v-pills-tab",
|
|
14574
14590
|
role: "tablist",
|
|
14575
14591
|
"aria-orientation": "vertical"
|
|
14576
|
-
},
|
|
14592
|
+
}, kE = ["onClick"], SE = {
|
|
14577
14593
|
class: "tab-content",
|
|
14578
14594
|
id: "v-pills-tabContent"
|
|
14579
|
-
},
|
|
14595
|
+
}, xE = {
|
|
14580
14596
|
key: 0,
|
|
14581
14597
|
class: "title"
|
|
14582
|
-
},
|
|
14598
|
+
}, ME = { key: 1 }, RE = { key: 0 }, TE = ["title"], DE = { class: "row" }, _E = { class: "col-12" }, AE = /* @__PURE__ */ We({
|
|
14583
14599
|
__name: "PageCard",
|
|
14584
14600
|
props: {
|
|
14585
14601
|
actionLinks: { default: () => [] },
|
|
@@ -14600,16 +14616,16 @@ const gw = { class: "address-form" }, vw = { class: "row" }, bw = { class: "form
|
|
|
14600
14616
|
};
|
|
14601
14617
|
return xt(() => {
|
|
14602
14618
|
u(), c();
|
|
14603
|
-
}), (f, d) => (W(), G("div",
|
|
14604
|
-
N("div",
|
|
14605
|
-
N("div",
|
|
14606
|
-
N("div",
|
|
14607
|
-
N("div",
|
|
14619
|
+
}), (f, d) => (W(), G("div", pE, [
|
|
14620
|
+
N("div", mE, [
|
|
14621
|
+
N("div", gE, [
|
|
14622
|
+
N("div", vE, [
|
|
14623
|
+
N("div", bE, [
|
|
14608
14624
|
a.value ? tt(f.$slots, "header", { key: 0 }, void 0, !0) : xe("", !0)
|
|
14609
14625
|
])
|
|
14610
14626
|
])
|
|
14611
14627
|
]),
|
|
14612
|
-
f.actionLinks.length > 0 ? (W(), G("div",
|
|
14628
|
+
f.actionLinks.length > 0 ? (W(), G("div", yE, [
|
|
14613
14629
|
et(Cd, {
|
|
14614
14630
|
title: f.actionsTitle,
|
|
14615
14631
|
links: f.actionLinks,
|
|
@@ -14617,18 +14633,18 @@ const gw = { class: "address-form" }, vw = { class: "row" }, bw = { class: "form
|
|
|
14617
14633
|
}, null, 8, ["title", "links"])
|
|
14618
14634
|
])) : xe("", !0)
|
|
14619
14635
|
]),
|
|
14620
|
-
N("div",
|
|
14621
|
-
N("div",
|
|
14622
|
-
N("div",
|
|
14636
|
+
N("div", wE, [
|
|
14637
|
+
N("div", CE, [
|
|
14638
|
+
N("div", EE, [
|
|
14623
14639
|
(W(!0), G(nt, null, ht(f.tabs, (k, p) => Bi((W(), G("button", {
|
|
14624
14640
|
key: p,
|
|
14625
14641
|
class: Te(["nav-link me-5", [p === r.value ? "active" : ""]]),
|
|
14626
14642
|
onClick: (C) => h(p)
|
|
14627
|
-
}, Ce(k.navLink), 11,
|
|
14643
|
+
}, Ce(k.navLink), 11, kE)), [
|
|
14628
14644
|
[Vn, k.navLink]
|
|
14629
14645
|
])), 128))
|
|
14630
14646
|
]),
|
|
14631
|
-
N("div",
|
|
14647
|
+
N("div", SE, [
|
|
14632
14648
|
(W(!0), G(nt, null, ht(f.tabs, (k, p) => (W(), G("div", {
|
|
14633
14649
|
key: p,
|
|
14634
14650
|
class: Te(["tab-pane fade row", [p === r.value ? "show active d-flex" : ""]])
|
|
@@ -14637,13 +14653,13 @@ const gw = { class: "address-form" }, vw = { class: "row" }, bw = { class: "form
|
|
|
14637
14653
|
key: g,
|
|
14638
14654
|
class: Te(`col-${f.col} mb-3`)
|
|
14639
14655
|
}, [
|
|
14640
|
-
C.subtitle ? (W(), G("div",
|
|
14641
|
-
typeof C.text == "string" ? (W(), G("div",
|
|
14642
|
-
typeof m == "string" ? (W(), G("div",
|
|
14656
|
+
C.subtitle ? (W(), G("div", xE, Ce(C.subtitle) + ": ", 1)) : xe("", !0),
|
|
14657
|
+
typeof C.text == "string" ? (W(), G("div", ME, Ce(C.text), 1)) : (W(!0), G(nt, { key: 2 }, ht(C.text, (m, R) => (W(), G("div", { key: R }, [
|
|
14658
|
+
typeof m == "string" ? (W(), G("div", RE, Ce(m), 1)) : xe("", !0),
|
|
14643
14659
|
typeof m == "object" ? (W(), G("div", {
|
|
14644
14660
|
key: 1,
|
|
14645
14661
|
title: m?.description || ""
|
|
14646
|
-
}, Ce(m.name), 9,
|
|
14662
|
+
}, Ce(m.name), 9, TE)) : xe("", !0)
|
|
14647
14663
|
]))), 128))
|
|
14648
14664
|
], 2))), 128))
|
|
14649
14665
|
], 2))), 128))
|
|
@@ -14651,8 +14667,8 @@ const gw = { class: "address-form" }, vw = { class: "row" }, bw = { class: "form
|
|
|
14651
14667
|
]),
|
|
14652
14668
|
s.value ? (W(), G(nt, { key: 0 }, [
|
|
14653
14669
|
et(Ed, { class: "mt-3" }),
|
|
14654
|
-
N("div",
|
|
14655
|
-
N("div",
|
|
14670
|
+
N("div", DE, [
|
|
14671
|
+
N("div", _E, [
|
|
14656
14672
|
tt(f.$slots, "footer", {}, void 0, !0)
|
|
14657
14673
|
])
|
|
14658
14674
|
])
|
|
@@ -14660,10 +14676,10 @@ const gw = { class: "address-form" }, vw = { class: "row" }, bw = { class: "form
|
|
|
14660
14676
|
])
|
|
14661
14677
|
]));
|
|
14662
14678
|
}
|
|
14663
|
-
}),
|
|
14679
|
+
}), oR = /* @__PURE__ */ Ye(AE, [["__scopeId", "data-v-89706e0a"]]), OE = {
|
|
14664
14680
|
key: 0,
|
|
14665
14681
|
class: "row w-100 parent"
|
|
14666
|
-
},
|
|
14682
|
+
}, LE = { class: "col-12 wrapper w-100" }, PE = ["innerHTML"], FE = {
|
|
14667
14683
|
__name: "Toast",
|
|
14668
14684
|
props: {
|
|
14669
14685
|
message: {
|
|
@@ -14683,12 +14699,12 @@ const gw = { class: "address-form" }, vw = { class: "row" }, bw = { class: "form
|
|
|
14683
14699
|
const i = () => {
|
|
14684
14700
|
t.value = "";
|
|
14685
14701
|
};
|
|
14686
|
-
return (r, s) => t.value && t.value.length > 0 ? (W(), G("div",
|
|
14687
|
-
N("div",
|
|
14702
|
+
return (r, s) => t.value && t.value.length > 0 ? (W(), G("div", OE, [
|
|
14703
|
+
N("div", LE, [
|
|
14688
14704
|
N("div", {
|
|
14689
14705
|
class: Te(["alert align-items-center message", [e.isError ? "alert-danger" : "alert-success"]]),
|
|
14690
14706
|
innerHTML: t.value
|
|
14691
|
-
}, null, 10,
|
|
14707
|
+
}, null, 10, PE),
|
|
14692
14708
|
N("i", {
|
|
14693
14709
|
class: "bi bi-x-lg",
|
|
14694
14710
|
onClick: i
|
|
@@ -14696,18 +14712,18 @@ const gw = { class: "address-form" }, vw = { class: "row" }, bw = { class: "form
|
|
|
14696
14712
|
])
|
|
14697
14713
|
])) : xe("", !0);
|
|
14698
14714
|
}
|
|
14699
|
-
},
|
|
14715
|
+
}, HE = {
|
|
14700
14716
|
key: 0,
|
|
14701
14717
|
class: "row",
|
|
14702
14718
|
"data-test": "ErrorMessageComponent"
|
|
14703
|
-
},
|
|
14719
|
+
}, IE = {
|
|
14704
14720
|
class: "col-12",
|
|
14705
14721
|
id: "alert"
|
|
14706
|
-
},
|
|
14722
|
+
}, VE = {
|
|
14707
14723
|
key: 0,
|
|
14708
14724
|
class: "bi bi-exclamation-triangle pe-2",
|
|
14709
14725
|
"aria-hidden": "true"
|
|
14710
|
-
},
|
|
14726
|
+
}, BE = ["innerHTML"], NE = /* @__PURE__ */ We({
|
|
14711
14727
|
__name: "ErrorMessageComponent",
|
|
14712
14728
|
props: {
|
|
14713
14729
|
message: { default: "" },
|
|
@@ -14717,29 +14733,29 @@ const gw = { class: "address-form" }, vw = { class: "row" }, bw = { class: "form
|
|
|
14717
14733
|
},
|
|
14718
14734
|
setup(n) {
|
|
14719
14735
|
const e = n, t = Me(() => e.message === null || e.message === void 0 ? !1 : Array.isArray(e.message) ? e.message.length > 0 : !!(e.message && typeof e.message == "string" && e.message.length > 0 && e.message.trim() !== "")), i = Me(() => Array.isArray(e.message) ? e.message.join(", ") : e.message || "");
|
|
14720
|
-
return (r, s) => t.value ? (W(), G("div",
|
|
14721
|
-
N("div",
|
|
14736
|
+
return (r, s) => t.value ? (W(), G("div", HE, [
|
|
14737
|
+
N("div", IE, [
|
|
14722
14738
|
N("div", {
|
|
14723
14739
|
class: Te([
|
|
14724
14740
|
i.value ? `alert alert-${r.type}` : "",
|
|
14725
14741
|
{ "d-flex align-items-center": r.warningIcon }
|
|
14726
14742
|
])
|
|
14727
14743
|
}, [
|
|
14728
|
-
i.value && r.warningIcon ? (W(), G("i",
|
|
14744
|
+
i.value && r.warningIcon ? (W(), G("i", VE)) : xe("", !0),
|
|
14729
14745
|
r.asHtml ? (W(), G("div", {
|
|
14730
14746
|
key: 1,
|
|
14731
14747
|
innerHTML: i.value
|
|
14732
|
-
}, null, 8,
|
|
14748
|
+
}, null, 8, BE)) : (W(), G(nt, { key: 2 }, [
|
|
14733
14749
|
Ot(Ce(i.value), 1)
|
|
14734
14750
|
], 64))
|
|
14735
14751
|
], 2)
|
|
14736
14752
|
])
|
|
14737
14753
|
])) : xe("", !0);
|
|
14738
14754
|
}
|
|
14739
|
-
}),
|
|
14755
|
+
}), lR = /* @__PURE__ */ Ye(NE, [["__scopeId", "data-v-8fc0656d"]]), zE = {
|
|
14740
14756
|
class: "accordion-header",
|
|
14741
14757
|
style: { background: "transparent" }
|
|
14742
|
-
},
|
|
14758
|
+
}, jE = ["aria-expanded", "aria-controls"], WE = { key: 0 }, YE = ["id"], UE = { class: "accordion-body px-0" }, GE = /* @__PURE__ */ We({
|
|
14743
14759
|
__name: "DefaultAccordion",
|
|
14744
14760
|
props: {
|
|
14745
14761
|
title: {},
|
|
@@ -14770,7 +14786,7 @@ const gw = { class: "address-form" }, vw = { class: "row" }, bw = { class: "form
|
|
|
14770
14786
|
class: Te(["accordion-item", { "border-bottom": l.isVisibleBorderBottom }]),
|
|
14771
14787
|
style: { background: "transparent" }
|
|
14772
14788
|
}, [
|
|
14773
|
-
N("h2",
|
|
14789
|
+
N("h2", zE, [
|
|
14774
14790
|
N("button", {
|
|
14775
14791
|
onClick: o,
|
|
14776
14792
|
class: Te(["accordion-button collapsed ps-0", {
|
|
@@ -14781,19 +14797,19 @@ const gw = { class: "address-form" }, vw = { class: "row" }, bw = { class: "form
|
|
|
14781
14797
|
type: "button",
|
|
14782
14798
|
"aria-expanded": !l.isCollapsed,
|
|
14783
14799
|
"aria-controls": `accordion-${s.value}`
|
|
14784
|
-
}, Ce(l.title), 15,
|
|
14800
|
+
}, Ce(l.title), 15, jE)
|
|
14785
14801
|
]),
|
|
14786
14802
|
et(Gl, { name: "fade" }, {
|
|
14787
14803
|
default: fi(() => [
|
|
14788
|
-
a("accordion-body") ? (W(), G("div",
|
|
14804
|
+
a("accordion-body") ? (W(), G("div", WE, [
|
|
14789
14805
|
Bi(N("div", {
|
|
14790
14806
|
class: "accordion-collapse collapse show",
|
|
14791
14807
|
id: `accordion-${s.value}`
|
|
14792
14808
|
}, [
|
|
14793
|
-
N("div",
|
|
14809
|
+
N("div", UE, [
|
|
14794
14810
|
tt(l.$slots, "accordion-body", {}, void 0, !0)
|
|
14795
14811
|
])
|
|
14796
|
-
], 8,
|
|
14812
|
+
], 8, YE), [
|
|
14797
14813
|
[Vn, !l.isCollapsed]
|
|
14798
14814
|
])
|
|
14799
14815
|
])) : xe("", !0)
|
|
@@ -14803,14 +14819,14 @@ const gw = { class: "address-form" }, vw = { class: "row" }, bw = { class: "form
|
|
|
14803
14819
|
], 2)
|
|
14804
14820
|
], 2));
|
|
14805
14821
|
}
|
|
14806
|
-
}),
|
|
14822
|
+
}), uR = /* @__PURE__ */ Ye(GE, [["__scopeId", "data-v-99bfaf08"]]), $E = {
|
|
14807
14823
|
class: "accordion-header",
|
|
14808
14824
|
style: { background: "transparent" }
|
|
14809
|
-
},
|
|
14825
|
+
}, qE = ["onClick"], KE = { class: "d-flex align-items-center w-100" }, JE = { class: "d-flex align-items-center flex-grow-1" }, XE = ["value", "id", "onChange"], QE = { class: "form-check-label ps-2 text-body flex-grow-1" }, ZE = {
|
|
14810
14826
|
class: "accordion-collapse collapse show",
|
|
14811
14827
|
"aria-labelledby": "flush-animal-type",
|
|
14812
14828
|
"data-bs-parent": ""
|
|
14813
|
-
},
|
|
14829
|
+
}, ek = { class: "col d-flex flex-wrap px-4" }, tk = { class: "form-check" }, ik = ["value", "id"], nk = ["for"], rk = /* @__PURE__ */ We({
|
|
14814
14830
|
__name: "KindCheckboxesAccordion",
|
|
14815
14831
|
props: {
|
|
14816
14832
|
checkboxName: { default: "kinds" },
|
|
@@ -14884,15 +14900,15 @@ const gw = { class: "address-form" }, vw = { class: "row" }, bw = { class: "form
|
|
|
14884
14900
|
key: C.id
|
|
14885
14901
|
}, [
|
|
14886
14902
|
k.kindGroups[g].kinds.length > 0 ? (W(), G(nt, { key: 0 }, [
|
|
14887
|
-
N("div",
|
|
14903
|
+
N("div", $E, [
|
|
14888
14904
|
N("button", {
|
|
14889
14905
|
class: Te(["accordion-button ps-0", { collapsed: o.value === Number(g) }]),
|
|
14890
14906
|
type: "button",
|
|
14891
14907
|
style: { background: "transparent" },
|
|
14892
14908
|
onClick: (m) => d.value(m, g)
|
|
14893
14909
|
}, [
|
|
14894
|
-
N("div",
|
|
14895
|
-
N("div",
|
|
14910
|
+
N("div", KE, [
|
|
14911
|
+
N("div", JE, [
|
|
14896
14912
|
Bi(N("input", {
|
|
14897
14913
|
class: "form-check-input m-0",
|
|
14898
14914
|
type: "checkbox",
|
|
@@ -14906,24 +14922,24 @@ const gw = { class: "address-form" }, vw = { class: "row" }, bw = { class: "form
|
|
|
14906
14922
|
onClick: p[1] || (p[1] = Ri(() => {
|
|
14907
14923
|
}, ["stop"])),
|
|
14908
14924
|
onChange: (m) => c(C.id)
|
|
14909
|
-
}, null, 40,
|
|
14925
|
+
}, null, 40, XE), [
|
|
14910
14926
|
[go, s.value]
|
|
14911
14927
|
]),
|
|
14912
|
-
N("span",
|
|
14928
|
+
N("span", QE, Ce(C.name), 1)
|
|
14913
14929
|
]),
|
|
14914
14930
|
N("i", {
|
|
14915
14931
|
class: Te(["bi bi-chevron-down accordion-icon", { rotated: o.value === Number(g) }])
|
|
14916
14932
|
}, null, 2)
|
|
14917
14933
|
])
|
|
14918
|
-
], 10,
|
|
14934
|
+
], 10, qE)
|
|
14919
14935
|
]),
|
|
14920
|
-
Bi(N("div",
|
|
14921
|
-
N("div",
|
|
14936
|
+
Bi(N("div", ZE, [
|
|
14937
|
+
N("div", ek, [
|
|
14922
14938
|
(W(!0), G(nt, null, ht(k.kindGroups[g].kinds, (m, R) => (W(), G("div", {
|
|
14923
14939
|
class: "col-6 mb-2",
|
|
14924
14940
|
key: R
|
|
14925
14941
|
}, [
|
|
14926
|
-
N("div",
|
|
14942
|
+
N("div", tk, [
|
|
14927
14943
|
Bi(N("input", {
|
|
14928
14944
|
class: "form-check-input",
|
|
14929
14945
|
type: "checkbox",
|
|
@@ -14932,7 +14948,7 @@ const gw = { class: "address-form" }, vw = { class: "row" }, bw = { class: "form
|
|
|
14932
14948
|
name: "kinds",
|
|
14933
14949
|
"onUpdate:modelValue": p[2] || (p[2] = (v) => a.value = v),
|
|
14934
14950
|
onChange: h
|
|
14935
|
-
}, null, 40,
|
|
14951
|
+
}, null, 40, ik), [
|
|
14936
14952
|
[go, a.value]
|
|
14937
14953
|
]),
|
|
14938
14954
|
N("label", {
|
|
@@ -14940,7 +14956,7 @@ const gw = { class: "address-form" }, vw = { class: "row" }, bw = { class: "form
|
|
|
14940
14956
|
for: `${k.checkboxName}_${m.id}`
|
|
14941
14957
|
}, [
|
|
14942
14958
|
N("small", null, Ce(m.name), 1)
|
|
14943
|
-
], 8,
|
|
14959
|
+
], 8, nk)
|
|
14944
14960
|
])
|
|
14945
14961
|
]))), 128))
|
|
14946
14962
|
])
|
|
@@ -14950,7 +14966,7 @@ const gw = { class: "address-form" }, vw = { class: "row" }, bw = { class: "form
|
|
|
14950
14966
|
], 64)) : xe("", !0)
|
|
14951
14967
|
]))), 128));
|
|
14952
14968
|
}
|
|
14953
|
-
}),
|
|
14969
|
+
}), cR = /* @__PURE__ */ Ye(rk, [["__scopeId", "data-v-c0a701d5"]]);
|
|
14954
14970
|
class Mt {
|
|
14955
14971
|
constructor(e) {
|
|
14956
14972
|
this.table = e;
|
|
@@ -15079,7 +15095,7 @@ class dt {
|
|
|
15079
15095
|
return t;
|
|
15080
15096
|
}
|
|
15081
15097
|
}
|
|
15082
|
-
let
|
|
15098
|
+
let sk = class kd extends Mt {
|
|
15083
15099
|
constructor(e, t, i) {
|
|
15084
15100
|
super(e), this.element = t, this.container = this._lookupContainer(), this.parent = i, this.reversedX = !1, this.childPopup = null, this.blurable = !1, this.blurCallback = null, this.blurEventsBound = !1, this.renderedCallback = null, this.visible = !1, this.hideable = !0, this.element.classList.add("tabulator-popup-container"), this.blurEvent = this.hide.bind(this, !1), this.escEvent = this._escapeCheck.bind(this), this.destroyBinding = this.tableDestroyed.bind(this), this.destroyed = !1;
|
|
15085
15101
|
}
|
|
@@ -15231,7 +15247,7 @@ class Ke extends Mt {
|
|
|
15231
15247
|
//////// Popups Management ////////
|
|
15232
15248
|
///////////////////////////////////
|
|
15233
15249
|
popup(e, t) {
|
|
15234
|
-
return new
|
|
15250
|
+
return new sk(this.table, e, t);
|
|
15235
15251
|
}
|
|
15236
15252
|
///////////////////////////////////
|
|
15237
15253
|
//////// Alert Management ////////
|
|
@@ -15243,7 +15259,7 @@ class Ke extends Mt {
|
|
|
15243
15259
|
return this.table.alertManager.clear();
|
|
15244
15260
|
}
|
|
15245
15261
|
}
|
|
15246
|
-
var
|
|
15262
|
+
var ak = {
|
|
15247
15263
|
rownum: function(n, e, t, i, r, s) {
|
|
15248
15264
|
return s.getPosition();
|
|
15249
15265
|
}
|
|
@@ -15251,7 +15267,7 @@ var rk = {
|
|
|
15251
15267
|
class Sr extends Ke {
|
|
15252
15268
|
static moduleName = "accessor";
|
|
15253
15269
|
//load defaults
|
|
15254
|
-
static accessors =
|
|
15270
|
+
static accessors = ak;
|
|
15255
15271
|
constructor(e) {
|
|
15256
15272
|
super(e), this.allowedTypes = ["", "data", "download", "clipboard", "print", "htmlOutput"], this.registerColumnOption("accessor"), this.registerColumnOption("accessorParams"), this.registerColumnOption("accessorData"), this.registerColumnOption("accessorDataParams"), this.registerColumnOption("accessorDownload"), this.registerColumnOption("accessorDownloadParams"), this.registerColumnOption("accessorClipboard"), this.registerColumnOption("accessorClipboardParams"), this.registerColumnOption("accessorPrint"), this.registerColumnOption("accessorPrintParams"), this.registerColumnOption("accessorHtmlOutput"), this.registerColumnOption("accessorHtmlOutputParams");
|
|
15257
15273
|
}
|
|
@@ -15290,7 +15306,7 @@ class Sr extends Ke {
|
|
|
15290
15306
|
}), s;
|
|
15291
15307
|
}
|
|
15292
15308
|
}
|
|
15293
|
-
var
|
|
15309
|
+
var ok = {
|
|
15294
15310
|
method: "GET"
|
|
15295
15311
|
};
|
|
15296
15312
|
function pa(n, e) {
|
|
@@ -15306,16 +15322,16 @@ function pa(n, e) {
|
|
|
15306
15322
|
t.push({ key: e, value: n });
|
|
15307
15323
|
return t;
|
|
15308
15324
|
}
|
|
15309
|
-
function
|
|
15325
|
+
function lk(n) {
|
|
15310
15326
|
var e = pa(n), t = [];
|
|
15311
15327
|
return e.forEach(function(i) {
|
|
15312
15328
|
t.push(encodeURIComponent(i.key) + "=" + encodeURIComponent(i.value));
|
|
15313
15329
|
}), t.join("&");
|
|
15314
15330
|
}
|
|
15315
15331
|
function Sd(n, e, t) {
|
|
15316
|
-
return n && t && Object.keys(t).length && (!e.method || e.method.toLowerCase() == "get") && (e.method = "get", n += (n.includes("?") ? "&" : "?") +
|
|
15332
|
+
return n && t && Object.keys(t).length && (!e.method || e.method.toLowerCase() == "get") && (e.method = "get", n += (n.includes("?") ? "&" : "?") + lk(t)), n;
|
|
15317
15333
|
}
|
|
15318
|
-
function
|
|
15334
|
+
function uk(n, e, t) {
|
|
15319
15335
|
var i;
|
|
15320
15336
|
return new Promise((r, s) => {
|
|
15321
15337
|
if (n = this.urlGenerator.call(this.table, n, e, t), e.method.toUpperCase() != "GET")
|
|
@@ -15349,7 +15365,7 @@ function ma(n, e) {
|
|
|
15349
15365
|
t.push({ key: e, value: n });
|
|
15350
15366
|
return t;
|
|
15351
15367
|
}
|
|
15352
|
-
var
|
|
15368
|
+
var ck = {
|
|
15353
15369
|
json: {
|
|
15354
15370
|
headers: {
|
|
15355
15371
|
"Content-Type": "application/json"
|
|
@@ -15371,10 +15387,10 @@ var lk = {
|
|
|
15371
15387
|
class on extends Ke {
|
|
15372
15388
|
static moduleName = "ajax";
|
|
15373
15389
|
//load defaults
|
|
15374
|
-
static defaultConfig =
|
|
15390
|
+
static defaultConfig = ok;
|
|
15375
15391
|
static defaultURLGenerator = Sd;
|
|
15376
|
-
static defaultLoaderPromise =
|
|
15377
|
-
static contentTypeFormatters =
|
|
15392
|
+
static defaultLoaderPromise = uk;
|
|
15393
|
+
static contentTypeFormatters = ck;
|
|
15378
15394
|
constructor(e) {
|
|
15379
15395
|
super(e), this.config = {}, this.url = "", this.urlGenerator = !1, this.params = !1, this.loaderPromise = !1, this.registerTableOption("ajaxURL", !1), this.registerTableOption("ajaxURLGenerator", !1), this.registerTableOption("ajaxParams", {}), this.registerTableOption("ajaxConfig", "get"), this.registerTableOption("ajaxContentType", "form"), this.registerTableOption("ajaxRequestFunc", !1), this.registerTableOption("ajaxRequesting", function() {
|
|
15380
15396
|
}), this.registerTableOption("ajaxResponse", !1), this.contentTypeFormatters = on.contentTypeFormatters;
|
|
@@ -15415,7 +15431,7 @@ class on extends Ke {
|
|
|
15415
15431
|
return this.table.options.ajaxRequesting.call(this.table, e, t) !== !1 ? this.loaderPromise(e, i, t).then((r) => (this.table.options.ajaxResponse && (r = this.table.options.ajaxResponse.call(this.table, e, t, r)), r)) : Promise.reject();
|
|
15416
15432
|
}
|
|
15417
15433
|
}
|
|
15418
|
-
var
|
|
15434
|
+
var dk = {
|
|
15419
15435
|
replace: function(n) {
|
|
15420
15436
|
return this.table.setData(n);
|
|
15421
15437
|
},
|
|
@@ -15425,7 +15441,7 @@ var uk = {
|
|
|
15425
15441
|
insert: function(n) {
|
|
15426
15442
|
return this.table.addData(n);
|
|
15427
15443
|
}
|
|
15428
|
-
},
|
|
15444
|
+
}, hk = {
|
|
15429
15445
|
table: function(n) {
|
|
15430
15446
|
var e = [], t = !0, i = this.table.columnManager.columns, r = [], s = [];
|
|
15431
15447
|
return n = n.split(`
|
|
@@ -15448,24 +15464,24 @@ var uk = {
|
|
|
15448
15464
|
}), s.push(o);
|
|
15449
15465
|
}), s) : !1;
|
|
15450
15466
|
}
|
|
15451
|
-
},
|
|
15467
|
+
}, fk = {
|
|
15452
15468
|
copyToClipboard: ["ctrl + 67", "meta + 67"]
|
|
15453
|
-
},
|
|
15469
|
+
}, pk = {
|
|
15454
15470
|
copyToClipboard: function(n) {
|
|
15455
15471
|
this.table.modules.edit.currentCell || this.table.modExists("clipboard", !0) && this.table.modules.clipboard.copy(!1, !0);
|
|
15456
15472
|
}
|
|
15457
|
-
},
|
|
15473
|
+
}, mk = {
|
|
15458
15474
|
keybindings: {
|
|
15459
|
-
bindings:
|
|
15460
|
-
actions:
|
|
15475
|
+
bindings: fk,
|
|
15476
|
+
actions: pk
|
|
15461
15477
|
}
|
|
15462
15478
|
};
|
|
15463
15479
|
class xr extends Ke {
|
|
15464
15480
|
static moduleName = "clipboard";
|
|
15465
|
-
static moduleExtensions =
|
|
15481
|
+
static moduleExtensions = mk;
|
|
15466
15482
|
//load defaults
|
|
15467
|
-
static pasteActions =
|
|
15468
|
-
static pasteParsers =
|
|
15483
|
+
static pasteActions = dk;
|
|
15484
|
+
static pasteParsers = hk;
|
|
15469
15485
|
constructor(e) {
|
|
15470
15486
|
super(e), this.mode = !0, this.pasteParser = function() {
|
|
15471
15487
|
}, this.pasteAction = function() {
|
|
@@ -15551,7 +15567,7 @@ class xr extends Ke {
|
|
|
15551
15567
|
return window.clipboardData && window.clipboardData.getData ? t = window.clipboardData.getData("Text") : e.clipboardData && e.clipboardData.getData ? t = e.clipboardData.getData("text/plain") : e.originalEvent && e.originalEvent.clipboardData.getData && (t = e.originalEvent.clipboardData.getData("text/plain")), t;
|
|
15552
15568
|
}
|
|
15553
15569
|
}
|
|
15554
|
-
class
|
|
15570
|
+
class gk {
|
|
15555
15571
|
constructor(e) {
|
|
15556
15572
|
return this._row = e, new Proxy(this, {
|
|
15557
15573
|
get: function(t, i, r) {
|
|
@@ -16473,7 +16489,7 @@ class _t extends Mt {
|
|
|
16473
16489
|
return this.component || (this.component = new qr(this)), this.component;
|
|
16474
16490
|
}
|
|
16475
16491
|
}
|
|
16476
|
-
var
|
|
16492
|
+
var vk = {
|
|
16477
16493
|
avg: function(n, e, t) {
|
|
16478
16494
|
var i = 0, r = typeof t.precision < "u" ? t.precision : 2;
|
|
16479
16495
|
return n.length && (i = n.reduce(function(s, a) {
|
|
@@ -16518,7 +16534,7 @@ var mk = {
|
|
|
16518
16534
|
class ln extends Ke {
|
|
16519
16535
|
static moduleName = "columnCalcs";
|
|
16520
16536
|
//load defaults
|
|
16521
|
-
static calculations =
|
|
16537
|
+
static calculations = vk;
|
|
16522
16538
|
constructor(e) {
|
|
16523
16539
|
super(e), this.topCalcs = [], this.botCalcs = [], this.genColumn = !1, this.topElement = this.createElement(), this.botElement = this.createElement(), this.topRow = !1, this.botRow = !1, this.topInitialized = !1, this.botInitialized = !1, this.blocked = !1, this.recalcAfterBlock = !1, this.registerTableOption("columnCalcs", !0), this.registerColumnOption("topCalc"), this.registerColumnOption("topCalcParams"), this.registerColumnOption("topCalcFormatter"), this.registerColumnOption("topCalcFormatterParams"), this.registerColumnOption("bottomCalc"), this.registerColumnOption("bottomCalcParams"), this.registerColumnOption("bottomCalcFormatter"), this.registerColumnOption("bottomCalcFormatterParams");
|
|
16524
16540
|
}
|
|
@@ -16668,7 +16684,7 @@ class ln extends Ke {
|
|
|
16668
16684
|
//generate stats row
|
|
16669
16685
|
generateRow(e, t) {
|
|
16670
16686
|
var i = this.generateRowData(e, t), r;
|
|
16671
|
-
return this.table.modExists("mutator") && this.table.modules.mutator.disable(), r = new _t(i, this, "calc"), this.table.modExists("mutator") && this.table.modules.mutator.enable(), r.getElement().classList.add("tabulator-calcs", "tabulator-calcs-" + e), r.component = !1, r.getComponent = () => (r.component || (r.component = new
|
|
16687
|
+
return this.table.modExists("mutator") && this.table.modules.mutator.disable(), r = new _t(i, this, "calc"), this.table.modExists("mutator") && this.table.modules.mutator.enable(), r.getElement().classList.add("tabulator-calcs", "tabulator-calcs-" + e), r.component = !1, r.getComponent = () => (r.component || (r.component = new gk(r)), r.component), r.generateCells = () => {
|
|
16672
16688
|
var s = [];
|
|
16673
16689
|
this.table.columnManager.columnsByIndex.forEach((a) => {
|
|
16674
16690
|
this.genColumn.setField(a.getField()), this.genColumn.hozAlign = a.hozAlign, a.definition[e + "CalcFormatter"] && this.table.modExists("format") ? this.genColumn.modules.format = {
|
|
@@ -16728,7 +16744,7 @@ class ln extends Ke {
|
|
|
16728
16744
|
this.botRow && (this.table.rtl ? this.botElement.style.paddingLeft = e + "px" : this.botElement.style.paddingRight = e + "px");
|
|
16729
16745
|
}
|
|
16730
16746
|
}
|
|
16731
|
-
class
|
|
16747
|
+
class bk extends Ke {
|
|
16732
16748
|
static moduleName = "dataTree";
|
|
16733
16749
|
constructor(e) {
|
|
16734
16750
|
super(e), this.indent = 10, this.field = "", this.collapseEl = null, this.expandEl = null, this.branchEl = null, this.elementField = !1, this.startOpen = function() {
|
|
@@ -16898,7 +16914,7 @@ class gk extends Ke {
|
|
|
16898
16914
|
return (this.field ? typeof e[this.field] < "u" : !1) || (this.elementField ? typeof e[this.elementField] < "u" : !1);
|
|
16899
16915
|
}
|
|
16900
16916
|
}
|
|
16901
|
-
function
|
|
16917
|
+
function yk(n, e = {}, t) {
|
|
16902
16918
|
var i = e.delimiter ? e.delimiter : ",", r = [], s = [];
|
|
16903
16919
|
n.forEach((a) => {
|
|
16904
16920
|
var o = [];
|
|
@@ -16933,7 +16949,7 @@ function vk(n, e = {}, t) {
|
|
|
16933
16949
|
}), s.length && r.unshift(s.join(i)), r = r.join(`
|
|
16934
16950
|
`), e.bom && (r = "\uFEFF" + r), t(r, "text/csv");
|
|
16935
16951
|
}
|
|
16936
|
-
function
|
|
16952
|
+
function wk(n, e, t) {
|
|
16937
16953
|
var i = [];
|
|
16938
16954
|
n.forEach((r) => {
|
|
16939
16955
|
var s = {};
|
|
@@ -16954,7 +16970,7 @@ function bk(n, e, t) {
|
|
|
16954
16970
|
}
|
|
16955
16971
|
}), i = JSON.stringify(i, null, " "), t(i, "application/json");
|
|
16956
16972
|
}
|
|
16957
|
-
function
|
|
16973
|
+
function Ck(n, e = {}, t) {
|
|
16958
16974
|
var i = [], r = [], s = {}, a = e.rowGroupStyles || {
|
|
16959
16975
|
fontStyle: "bold",
|
|
16960
16976
|
fontSize: 12,
|
|
@@ -17007,7 +17023,7 @@ function yk(n, e = {}, t) {
|
|
|
17007
17023
|
h.text(u, 40, 30);
|
|
17008
17024
|
}), s.head = i, s.body = r, h.autoTable(s), e.documentProcessing && e.documentProcessing(h), t(h.output("arraybuffer"), "application/pdf");
|
|
17009
17025
|
}
|
|
17010
|
-
function
|
|
17026
|
+
function Ek(n, e, t) {
|
|
17011
17027
|
var i = this, r = e.sheetName || "Sheet1", s = this.dependencyRegistry.lookup("XLSX"), a = s.utils.book_new(), o = new Mt(this), l = "compress" in e ? e.compress : !0, u = e.writeOptions || { bookType: "xlsx", bookSST: !0, compression: l }, c;
|
|
17012
17028
|
u.type = "binary", a.SheetNames = [], a.Sheets = {};
|
|
17013
17029
|
function h() {
|
|
@@ -17042,10 +17058,10 @@ function wk(n, e, t) {
|
|
|
17042
17058
|
}
|
|
17043
17059
|
c = s.write(a, u), t(d(c), "application/octet-stream");
|
|
17044
17060
|
}
|
|
17045
|
-
function
|
|
17061
|
+
function kk(n, e, t) {
|
|
17046
17062
|
this.modExists("export", !0) && t(this.modules.export.generateHTMLTable(n), "text/html");
|
|
17047
17063
|
}
|
|
17048
|
-
function
|
|
17064
|
+
function Sk(n, e, t) {
|
|
17049
17065
|
const i = [];
|
|
17050
17066
|
n.forEach((r) => {
|
|
17051
17067
|
const s = {};
|
|
@@ -17067,18 +17083,18 @@ function Ek(n, e, t) {
|
|
|
17067
17083
|
}), t(i.join(`
|
|
17068
17084
|
`), "application/x-ndjson");
|
|
17069
17085
|
}
|
|
17070
|
-
var
|
|
17071
|
-
csv:
|
|
17072
|
-
json:
|
|
17073
|
-
jsonLines:
|
|
17074
|
-
pdf:
|
|
17075
|
-
xlsx:
|
|
17076
|
-
html:
|
|
17086
|
+
var xk = {
|
|
17087
|
+
csv: yk,
|
|
17088
|
+
json: wk,
|
|
17089
|
+
jsonLines: Sk,
|
|
17090
|
+
pdf: Ck,
|
|
17091
|
+
xlsx: Ek,
|
|
17092
|
+
html: kk
|
|
17077
17093
|
};
|
|
17078
17094
|
class Mr extends Ke {
|
|
17079
17095
|
static moduleName = "download";
|
|
17080
17096
|
//load defaults
|
|
17081
|
-
static downloaders =
|
|
17097
|
+
static downloaders = xk;
|
|
17082
17098
|
constructor(e) {
|
|
17083
17099
|
super(e), this.registerTableOption("downloadEncoder", function(t, i) {
|
|
17084
17100
|
return new Blob([t], { type: i });
|
|
@@ -17159,7 +17175,7 @@ function Kr(n, e) {
|
|
|
17159
17175
|
o.keyCode > 46 && e.maskAutoFill && a(n.value.length);
|
|
17160
17176
|
}), n.placeholder || (n.placeholder = t), e.maskAutoFill && a(n.value.length);
|
|
17161
17177
|
}
|
|
17162
|
-
function
|
|
17178
|
+
function Mk(n, e, t, i, r) {
|
|
17163
17179
|
var s = n.getValue(), a = document.createElement("input");
|
|
17164
17180
|
if (a.setAttribute("type", r.search ? "search" : "text"), a.style.padding = "4px", a.style.width = "100%", a.style.boxSizing = "border-box", r.elementAttributes && typeof r.elementAttributes == "object")
|
|
17165
17181
|
for (let l in r.elementAttributes)
|
|
@@ -17186,7 +17202,7 @@ function Sk(n, e, t, i, r) {
|
|
|
17186
17202
|
}
|
|
17187
17203
|
}), r.mask && Kr(a, r), a;
|
|
17188
17204
|
}
|
|
17189
|
-
function
|
|
17205
|
+
function Rk(n, e, t, i, r) {
|
|
17190
17206
|
var s = n.getValue(), a = r.verticalNavigation || "hybrid", o = String(s !== null && typeof s < "u" ? s : ""), l = document.createElement("textarea"), u = 0;
|
|
17191
17207
|
if (l.style.display = "block", l.style.padding = "2px", l.style.height = "100%", l.style.width = "100%", l.style.boxSizing = "border-box", l.style.whiteSpace = "pre-wrap", l.style.resize = "none", r.elementAttributes && typeof r.elementAttributes == "object")
|
|
17192
17208
|
for (let h in r.elementAttributes)
|
|
@@ -17224,7 +17240,7 @@ function xk(n, e, t, i, r) {
|
|
|
17224
17240
|
}
|
|
17225
17241
|
}), r.mask && Kr(l, r), l;
|
|
17226
17242
|
}
|
|
17227
|
-
function
|
|
17243
|
+
function Tk(n, e, t, i, r) {
|
|
17228
17244
|
var s = n.getValue(), a = r.verticalNavigation || "editor", o = document.createElement("input");
|
|
17229
17245
|
if (o.setAttribute("type", "number"), typeof r.max < "u" && o.setAttribute("max", r.max), typeof r.min < "u" && o.setAttribute("min", r.min), typeof r.step < "u" && o.setAttribute("step", r.step), o.style.padding = "4px", o.style.width = "100%", o.style.boxSizing = "border-box", r.elementAttributes && typeof r.elementAttributes == "object")
|
|
17230
17246
|
for (let c in r.elementAttributes)
|
|
@@ -17260,7 +17276,7 @@ function Mk(n, e, t, i, r) {
|
|
|
17260
17276
|
}
|
|
17261
17277
|
}), r.mask && Kr(o, r), o;
|
|
17262
17278
|
}
|
|
17263
|
-
function
|
|
17279
|
+
function Dk(n, e, t, i, r) {
|
|
17264
17280
|
var s = n.getValue(), a = document.createElement("input");
|
|
17265
17281
|
if (a.setAttribute("type", "range"), typeof r.max < "u" && a.setAttribute("max", r.max), typeof r.min < "u" && a.setAttribute("min", r.min), typeof r.step < "u" && a.setAttribute("step", r.step), a.style.padding = "4px", a.style.width = "100%", a.style.boxSizing = "border-box", r.elementAttributes && typeof r.elementAttributes == "object")
|
|
17266
17282
|
for (let l in r.elementAttributes)
|
|
@@ -17285,7 +17301,7 @@ function Rk(n, e, t, i, r) {
|
|
|
17285
17301
|
}
|
|
17286
17302
|
}), a;
|
|
17287
17303
|
}
|
|
17288
|
-
function
|
|
17304
|
+
function _k(n, e, t, i, r) {
|
|
17289
17305
|
var s = r.format, a = r.verticalNavigation || "editor", o = s ? window.DateTime || luxon.DateTime : null, l = n.getValue(), u = document.createElement("input");
|
|
17290
17306
|
function c(f) {
|
|
17291
17307
|
var d;
|
|
@@ -17338,7 +17354,7 @@ function Tk(n, e, t, i, r) {
|
|
|
17338
17354
|
}
|
|
17339
17355
|
}), u;
|
|
17340
17356
|
}
|
|
17341
|
-
function
|
|
17357
|
+
function Ak(n, e, t, i, r) {
|
|
17342
17358
|
var s = r.format, a = r.verticalNavigation || "editor", o = s ? window.DateTime || luxon.DateTime : null, l, u = n.getValue(), c = document.createElement("input");
|
|
17343
17359
|
if (c.type = "time", c.style.padding = "4px", c.style.width = "100%", c.style.boxSizing = "border-box", r.elementAttributes && typeof r.elementAttributes == "object")
|
|
17344
17360
|
for (let f in r.elementAttributes)
|
|
@@ -17387,7 +17403,7 @@ function Dk(n, e, t, i, r) {
|
|
|
17387
17403
|
}
|
|
17388
17404
|
}), c;
|
|
17389
17405
|
}
|
|
17390
|
-
function
|
|
17406
|
+
function Ok(n, e, t, i, r) {
|
|
17391
17407
|
var s = r.format, a = r.verticalNavigation || "editor", o = s ? this.table.dependencyRegistry.lookup(["luxon", "DateTime"], "DateTime") : null, l, u = n.getValue(), c = document.createElement("input");
|
|
17392
17408
|
if (c.type = "datetime-local", c.style.padding = "4px", c.style.width = "100%", c.style.boxSizing = "border-box", r.elementAttributes && typeof r.elementAttributes == "object")
|
|
17393
17409
|
for (let f in r.elementAttributes)
|
|
@@ -17436,7 +17452,7 @@ function _k(n, e, t, i, r) {
|
|
|
17436
17452
|
}
|
|
17437
17453
|
}), c;
|
|
17438
17454
|
}
|
|
17439
|
-
let
|
|
17455
|
+
let Lk = class {
|
|
17440
17456
|
constructor(e, t, i, r, s, a) {
|
|
17441
17457
|
this.edit = e, this.table = e.table, this.cell = t, this.params = this._initializeParams(a), this.data = [], this.displayItems = [], this.currentItems = [], this.focusedItem = null, this.input = this._createInputElement(), this.listEl = this._createListElement(), this.initialValues = null, this.isFilter = t.getType() === "header", this.filterTimeout = null, this.filtered = !1, this.typing = !1, this.values = [], this.popup = null, this.listIteration = 0, this.lastAction = "", this.filterTerm = "", this.blurable = !0, this.actions = {
|
|
17442
17458
|
success: r,
|
|
@@ -17805,11 +17821,11 @@ let Ak = class {
|
|
|
17805
17821
|
t === "" && (t = this.params.emptyValue), this.actions.success(t), this.isFilter && (this.initialValues = t && !Array.isArray(t) ? [t] : t, this.currentItems = []);
|
|
17806
17822
|
}
|
|
17807
17823
|
};
|
|
17808
|
-
function
|
|
17809
|
-
var s = new
|
|
17824
|
+
function Pk(n, e, t, i, r) {
|
|
17825
|
+
var s = new Lk(this, n, e, t, i, r);
|
|
17810
17826
|
return s.input;
|
|
17811
17827
|
}
|
|
17812
|
-
function
|
|
17828
|
+
function Fk(n, e, t, i, r) {
|
|
17813
17829
|
var s = this, a = n.getElement(), o = n.getValue(), l = a.getElementsByTagName("svg").length || 5, u = a.getElementsByTagName("svg")[0] ? a.getElementsByTagName("svg")[0].getAttribute("width") : 14, c = [], h = document.createElement("div"), f = document.createElementNS("http://www.w3.org/2000/svg", "svg");
|
|
17814
17830
|
function d(g) {
|
|
17815
17831
|
c.forEach(function(m, R) {
|
|
@@ -17857,7 +17873,7 @@ function Lk(n, e, t, i, r) {
|
|
|
17857
17873
|
}
|
|
17858
17874
|
}), h;
|
|
17859
17875
|
}
|
|
17860
|
-
function
|
|
17876
|
+
function Hk(n, e, t, i, r) {
|
|
17861
17877
|
var s = n.getElement(), a = typeof r.max > "u" ? s.getElementsByTagName("div")[0] && s.getElementsByTagName("div")[0].getAttribute("max") || 100 : r.max, o = typeof r.min > "u" ? s.getElementsByTagName("div")[0] && s.getElementsByTagName("div")[0].getAttribute("min") || 0 : r.min, l = (a - o) / 100, u = n.getValue() || 0, c = document.createElement("div"), h = document.createElement("div"), f, d;
|
|
17862
17878
|
function k() {
|
|
17863
17879
|
var p = window.getComputedStyle(s, null), C = l * Math.round(h.offsetWidth / ((s.clientWidth - parseInt(p.getPropertyValue("padding-left")) - parseInt(p.getPropertyValue("padding-right"))) / 100)) + o;
|
|
@@ -17895,7 +17911,7 @@ function Pk(n, e, t, i, r) {
|
|
|
17895
17911
|
i();
|
|
17896
17912
|
}), h;
|
|
17897
17913
|
}
|
|
17898
|
-
function
|
|
17914
|
+
function Ik(n, e, t, i, r) {
|
|
17899
17915
|
var s = n.getValue(), a = document.createElement("input"), o = r.tristate, l = typeof r.indeterminateValue > "u" ? null : r.indeterminateValue, u = !1, c = Object.keys(r).includes("trueValue"), h = Object.keys(r).includes("falseValue");
|
|
17900
17916
|
if (a.setAttribute("type", "checkbox"), a.style.marginTop = "5px", a.style.boxSizing = "border-box", r.elementAttributes && typeof r.elementAttributes == "object")
|
|
17901
17917
|
for (let d in r.elementAttributes)
|
|
@@ -17915,7 +17931,7 @@ function Fk(n, e, t, i, r) {
|
|
|
17915
17931
|
d.keyCode == 13 && t(f()), d.keyCode == 27 && i();
|
|
17916
17932
|
}), a;
|
|
17917
17933
|
}
|
|
17918
|
-
function
|
|
17934
|
+
function Vk(n, e, t, i, r) {
|
|
17919
17935
|
var s = n._getSelf().column, a, o, l;
|
|
17920
17936
|
function u(c) {
|
|
17921
17937
|
var h = c.getValue(), f = "input";
|
|
@@ -17935,24 +17951,24 @@ function Hk(n, e, t, i, r) {
|
|
|
17935
17951
|
}
|
|
17936
17952
|
return a = r.editorLookup ? r.editorLookup(n) : u(n), r.paramsLookup && (l = typeof r.paramsLookup == "function" ? r.paramsLookup(a, n) : r.paramsLookup[a]), o = this.table.modules.edit.lookupEditor(a, s), o.call(this, n, e, t, i, l || {});
|
|
17937
17953
|
}
|
|
17938
|
-
var
|
|
17939
|
-
input:
|
|
17940
|
-
textarea:
|
|
17941
|
-
number:
|
|
17942
|
-
range:
|
|
17943
|
-
date:
|
|
17944
|
-
time:
|
|
17945
|
-
datetime:
|
|
17946
|
-
list:
|
|
17947
|
-
star:
|
|
17948
|
-
progress:
|
|
17949
|
-
tickCross:
|
|
17950
|
-
adaptable:
|
|
17954
|
+
var Bk = {
|
|
17955
|
+
input: Mk,
|
|
17956
|
+
textarea: Rk,
|
|
17957
|
+
number: Tk,
|
|
17958
|
+
range: Dk,
|
|
17959
|
+
date: _k,
|
|
17960
|
+
time: Ak,
|
|
17961
|
+
datetime: Ok,
|
|
17962
|
+
list: Pk,
|
|
17963
|
+
star: Fk,
|
|
17964
|
+
progress: Hk,
|
|
17965
|
+
tickCross: Ik,
|
|
17966
|
+
adaptable: Vk
|
|
17951
17967
|
};
|
|
17952
17968
|
class ao extends Ke {
|
|
17953
17969
|
static moduleName = "edit";
|
|
17954
17970
|
//load defaults
|
|
17955
|
-
static editors =
|
|
17971
|
+
static editors = Bk;
|
|
17956
17972
|
constructor(e) {
|
|
17957
17973
|
super(e), this.currentCell = !1, this.mouseClick = !1, this.recursionBlock = !1, this.invalidEdit = !1, this.editedCells = [], this.convertEmptyValues = !1, this.editors = ao.editors, this.registerTableOption("editTriggerEvent", "focus"), this.registerTableOption("editorEmptyValue"), this.registerTableOption("editorEmptyValueFunc", this.emptyValueCheck.bind(this)), this.registerColumnOption("editable"), this.registerColumnOption("editor"), this.registerColumnOption("editorParams"), this.registerColumnOption("editorEmptyValue"), this.registerColumnOption("editorEmptyValueFunc"), this.registerColumnOption("cellEditing"), this.registerColumnOption("cellEdited"), this.registerColumnOption("cellEditCancelled"), this.registerTableFunction("getEditedCells", this.getEditedCells.bind(this)), this.registerTableFunction("clearCellEdited", this.clearCellEdited.bind(this)), this.registerTableFunction("navigatePrev", this.navigatePrev.bind(this)), this.registerTableFunction("navigateNext", this.navigateNext.bind(this)), this.registerTableFunction("navigateLeft", this.navigateLeft.bind(this)), this.registerTableFunction("navigateRight", this.navigateRight.bind(this)), this.registerTableFunction("navigateUp", this.navigateUp.bind(this)), this.registerTableFunction("navigateDown", this.navigateDown.bind(this)), this.registerComponentFunction("cell", "isEdited", this.cellIsEdited.bind(this)), this.registerComponentFunction("cell", "clearEdited", this.clearEdited.bind(this)), this.registerComponentFunction("cell", "edit", this.editCell.bind(this)), this.registerComponentFunction("cell", "cancelEdit", this.cellCancelEdit.bind(this)), this.registerComponentFunction("cell", "navigatePrev", this.navigatePrev.bind(this)), this.registerComponentFunction("cell", "navigateNext", this.navigateNext.bind(this)), this.registerComponentFunction("cell", "navigateLeft", this.navigateLeft.bind(this)), this.registerComponentFunction("cell", "navigateRight", this.navigateRight.bind(this)), this.registerComponentFunction("cell", "navigateUp", this.navigateUp.bind(this)), this.registerComponentFunction("cell", "navigateDown", this.navigateDown.bind(this));
|
|
17958
17974
|
}
|
|
@@ -18234,7 +18250,7 @@ class ea {
|
|
|
18234
18250
|
this.value = e, this.component = t || !1, this.width = i, this.height = r, this.depth = s;
|
|
18235
18251
|
}
|
|
18236
18252
|
}
|
|
18237
|
-
var
|
|
18253
|
+
var Nk = {}, zk = {
|
|
18238
18254
|
visible: function() {
|
|
18239
18255
|
return this.rowManager.getVisibleRows(!1, !0);
|
|
18240
18256
|
},
|
|
@@ -18250,8 +18266,8 @@ var Vk = {}, Bk = {
|
|
|
18250
18266
|
};
|
|
18251
18267
|
class Fn extends Ke {
|
|
18252
18268
|
static moduleName = "export";
|
|
18253
|
-
static columnLookups =
|
|
18254
|
-
static rowLookups =
|
|
18269
|
+
static columnLookups = Nk;
|
|
18270
|
+
static rowLookups = zk;
|
|
18255
18271
|
constructor(e) {
|
|
18256
18272
|
super(e), this.config = {}, this.cloneTableStyle = !0, this.colVisProp = "", this.colVisPropAttach = "", this.registerTableOption("htmlOutputConfig", !1), this.registerColumnOption("htmlOutput"), this.registerColumnOption("titleHtmlOutput");
|
|
18257
18273
|
}
|
|
@@ -18500,7 +18516,7 @@ class Fn extends Ke {
|
|
|
18500
18516
|
}
|
|
18501
18517
|
}
|
|
18502
18518
|
}
|
|
18503
|
-
var
|
|
18519
|
+
var jk = {
|
|
18504
18520
|
//equal to
|
|
18505
18521
|
"=": function(n, e, t, i) {
|
|
18506
18522
|
return e == n;
|
|
@@ -18555,7 +18571,7 @@ var Nk = {
|
|
|
18555
18571
|
class qi extends Ke {
|
|
18556
18572
|
static moduleName = "filter";
|
|
18557
18573
|
//load defaults
|
|
18558
|
-
static filters =
|
|
18574
|
+
static filters = jk;
|
|
18559
18575
|
constructor(e) {
|
|
18560
18576
|
super(e), this.filterList = [], this.headerFilters = {}, this.headerFilterColumns = [], this.prevHeaderFilterChangeCheck = "", this.prevHeaderFilterChangeCheck = "{}", this.changed = !1, this.tableInitialized = !1, this.registerTableOption("filterMode", "local"), this.registerTableOption("initialFilter", !1), this.registerTableOption("initialHeaderFilter", !1), this.registerTableOption("headerFilterLiveFilterDelay", 300), this.registerTableOption("placeholderHeaderFilter", !1), this.registerColumnOption("headerFilter"), this.registerColumnOption("headerFilterPlaceholder"), this.registerColumnOption("headerFilterParams"), this.registerColumnOption("headerFilterEmptyCheck"), this.registerColumnOption("headerFilterFunc"), this.registerColumnOption("headerFilterFuncParams"), this.registerColumnOption("headerFilterLiveFilter"), this.registerTableFunction("searchRows", this.searchRows.bind(this)), this.registerTableFunction("searchData", this.searchData.bind(this)), this.registerTableFunction("setFilter", this.userSetFilter.bind(this)), this.registerTableFunction("refreshFilter", this.userRefreshFilter.bind(this)), this.registerTableFunction("addFilter", this.userAddFilter.bind(this)), this.registerTableFunction("getFilters", this.getFilters.bind(this)), this.registerTableFunction("setHeaderFilterFocus", this.userSetHeaderFilterFocus.bind(this)), this.registerTableFunction("getHeaderFilterValue", this.userGetHeaderFilterValue.bind(this)), this.registerTableFunction("setHeaderFilterValue", this.userSetHeaderFilterValue.bind(this)), this.registerTableFunction("getHeaderFilters", this.getHeaderFilters.bind(this)), this.registerTableFunction("removeFilter", this.userRemoveFilter.bind(this)), this.registerTableFunction("clearFilter", this.userClearFilter.bind(this)), this.registerTableFunction("clearHeaderFilter", this.userClearHeaderFilter.bind(this)), this.registerComponentFunction("column", "headerFilterFocus", this.setHeaderFilterFocus.bind(this)), this.registerComponentFunction("column", "reloadHeaderFilter", this.reloadHeaderFilter.bind(this)), this.registerComponentFunction("column", "getHeaderFilterValue", this.getHeaderFilterValue.bind(this)), this.registerComponentFunction("column", "setHeaderFilterValue", this.setHeaderFilterValue.bind(this));
|
|
18561
18577
|
}
|
|
@@ -18913,16 +18929,16 @@ class qi extends Ke {
|
|
|
18913
18929
|
}) : i = e.func(t), i;
|
|
18914
18930
|
}
|
|
18915
18931
|
}
|
|
18916
|
-
function
|
|
18932
|
+
function Wk(n, e, t) {
|
|
18917
18933
|
return this.emptyToSpace(this.sanitizeHTML(n.getValue()));
|
|
18918
18934
|
}
|
|
18919
|
-
function
|
|
18935
|
+
function Yk(n, e, t) {
|
|
18920
18936
|
return n.getValue();
|
|
18921
18937
|
}
|
|
18922
|
-
function
|
|
18938
|
+
function Uk(n, e, t) {
|
|
18923
18939
|
return n.getElement().style.whiteSpace = "pre-wrap", this.emptyToSpace(this.sanitizeHTML(n.getValue()));
|
|
18924
18940
|
}
|
|
18925
|
-
function
|
|
18941
|
+
function Gk(n, e, t) {
|
|
18926
18942
|
var i = parseFloat(n.getValue()), r = "", s, a, o, l, u, c = e.decimal || ".", h = e.thousand || ",", f = e.negativeSign || "-", d = e.symbol || "", k = !!e.symbolAfter, p = typeof e.precision < "u" ? e.precision : 2;
|
|
18927
18943
|
if (isNaN(i))
|
|
18928
18944
|
return this.emptyToSpace(this.sanitizeHTML(n.getValue()));
|
|
@@ -18931,7 +18947,7 @@ function Yk(n, e, t) {
|
|
|
18931
18947
|
a = a.replace(l, "$1" + h + "$2");
|
|
18932
18948
|
return u = a + o, r === !0 ? (u = "(" + u + ")", k ? u + d : d + u) : k ? r + u + d : r + d + u;
|
|
18933
18949
|
}
|
|
18934
|
-
function
|
|
18950
|
+
function $k(n, e, t) {
|
|
18935
18951
|
var i = n.getValue(), r = e.urlPrefix || "", s = e.download, a = i, o = document.createElement("a"), l;
|
|
18936
18952
|
function u(c, h) {
|
|
18937
18953
|
var f = c.shift(), d = h[f];
|
|
@@ -18960,7 +18976,7 @@ function Uk(n, e, t) {
|
|
|
18960
18976
|
} else
|
|
18961
18977
|
return " ";
|
|
18962
18978
|
}
|
|
18963
|
-
function
|
|
18979
|
+
function qk(n, e, t) {
|
|
18964
18980
|
var i = document.createElement("img"), r = n.getValue();
|
|
18965
18981
|
switch (e.urlPrefix && (r = e.urlPrefix + n.getValue()), e.urlSuffix && (r = r + e.urlSuffix), i.setAttribute("src", r), typeof e.height) {
|
|
18966
18982
|
case "number":
|
|
@@ -18982,11 +18998,11 @@ function Gk(n, e, t) {
|
|
|
18982
18998
|
n.getRow().normalizeHeight();
|
|
18983
18999
|
}), i;
|
|
18984
19000
|
}
|
|
18985
|
-
function
|
|
19001
|
+
function Kk(n, e, t) {
|
|
18986
19002
|
var i = n.getValue(), r = n.getElement(), s = e.allowEmpty, a = e.allowTruthy, o = Object.keys(e).includes("trueValue"), l = typeof e.tickElement < "u" ? e.tickElement : '<svg enable-background="new 0 0 24 24" height="14" width="14" viewBox="0 0 24 24" xml:space="preserve" ><path fill="#2DC214" clip-rule="evenodd" d="M21.652,3.211c-0.293-0.295-0.77-0.295-1.061,0L9.41,14.34 c-0.293,0.297-0.771,0.297-1.062,0L3.449,9.351C3.304,9.203,3.114,9.13,2.923,9.129C2.73,9.128,2.534,9.201,2.387,9.351 l-2.165,1.946C0.078,11.445,0,11.63,0,11.823c0,0.194,0.078,0.397,0.223,0.544l4.94,5.184c0.292,0.296,0.771,0.776,1.062,1.07 l2.124,2.141c0.292,0.293,0.769,0.293,1.062,0l14.366-14.34c0.293-0.294,0.293-0.777,0-1.071L21.652,3.211z" fill-rule="evenodd"/></svg>', u = typeof e.crossElement < "u" ? e.crossElement : '<svg enable-background="new 0 0 24 24" height="14" width="14" viewBox="0 0 24 24" xml:space="preserve" ><path fill="#CE1515" d="M22.245,4.015c0.313,0.313,0.313,0.826,0,1.139l-6.276,6.27c-0.313,0.312-0.313,0.826,0,1.14l6.273,6.272 c0.313,0.313,0.313,0.826,0,1.14l-2.285,2.277c-0.314,0.312-0.828,0.312-1.142,0l-6.271-6.271c-0.313-0.313-0.828-0.313-1.141,0 l-6.276,6.267c-0.313,0.313-0.828,0.313-1.141,0l-2.282-2.28c-0.313-0.313-0.313-0.826,0-1.14l6.278-6.269 c0.313-0.312,0.313-0.826,0-1.14L1.709,5.147c-0.314-0.313-0.314-0.827,0-1.14l2.284-2.278C4.308,1.417,4.821,1.417,5.135,1.73 L11.405,8c0.314,0.314,0.828,0.314,1.141,0.001l6.276-6.267c0.312-0.312,0.826-0.312,1.141,0L22.245,4.015z"/></svg>';
|
|
18987
19003
|
return o && i === e.trueValue || !o && (a && i || i === !0 || i === "true" || i === "True" || i === 1 || i === "1") ? (r.setAttribute("aria-checked", !0), l || "") : s && (i === "null" || i === "" || i === null || typeof i > "u") ? (r.setAttribute("aria-checked", "mixed"), "") : (r.setAttribute("aria-checked", !1), u || "");
|
|
18988
19004
|
}
|
|
18989
|
-
function
|
|
19005
|
+
function Jk(n, e, t) {
|
|
18990
19006
|
var i = this.table.dependencyRegistry.lookup(["luxon", "DateTime"], "DateTime"), r = e.inputFormat || "yyyy-MM-dd HH:mm:ss", s = e.outputFormat || "dd/MM/yyyy HH:mm:ss", a = typeof e.invalidPlaceholder < "u" ? e.invalidPlaceholder : "", o = n.getValue();
|
|
18991
19007
|
if (typeof i < "u") {
|
|
18992
19008
|
var l;
|
|
@@ -18994,7 +19010,7 @@ function qk(n, e, t) {
|
|
|
18994
19010
|
} else
|
|
18995
19011
|
console.error("Format Error - 'datetime' formatter is dependant on luxon.js");
|
|
18996
19012
|
}
|
|
18997
|
-
function
|
|
19013
|
+
function Xk(n, e, t) {
|
|
18998
19014
|
var i = this.table.dependencyRegistry.lookup(["luxon", "DateTime"], "DateTime"), r = e.inputFormat || "yyyy-MM-dd HH:mm:ss", s = typeof e.invalidPlaceholder < "u" ? e.invalidPlaceholder : "", a = typeof e.suffix < "u" ? e.suffix : !1, o = typeof e.unit < "u" ? e.unit : "days", l = typeof e.humanize < "u" ? e.humanize : !1, u = typeof e.date < "u" ? e.date : i.now(), c = n.getValue();
|
|
18999
19015
|
if (typeof i < "u") {
|
|
19000
19016
|
var h;
|
|
@@ -19002,11 +19018,11 @@ function Kk(n, e, t) {
|
|
|
19002
19018
|
} else
|
|
19003
19019
|
console.error("Format Error - 'datetimediff' formatter is dependant on luxon.js");
|
|
19004
19020
|
}
|
|
19005
|
-
function
|
|
19021
|
+
function Qk(n, e, t) {
|
|
19006
19022
|
var i = n.getValue();
|
|
19007
19023
|
return typeof e[i] > "u" ? (console.warn("Missing display value for " + i), i) : e[i];
|
|
19008
19024
|
}
|
|
19009
|
-
function
|
|
19025
|
+
function Zk(n, e, t) {
|
|
19010
19026
|
var i = n.getValue(), r = n.getElement(), s = e && e.stars ? e.stars : 5, a = document.createElement("span"), o = document.createElementNS("http://www.w3.org/2000/svg", "svg"), l = '<polygon fill="#FFEA00" stroke="#C1AB60" stroke-width="37.6152" stroke-linecap="round" stroke-linejoin="round" stroke-miterlimit="10" points="259.216,29.942 330.27,173.919 489.16,197.007 374.185,309.08 401.33,467.31 259.216,392.612 117.104,467.31 144.25,309.08 29.274,197.007 188.165,173.919 "/>', u = '<polygon fill="#D2D2D2" stroke="#686868" stroke-width="37.6152" stroke-linecap="round" stroke-linejoin="round" stroke-miterlimit="10" points="259.216,29.942 330.27,173.919 489.16,197.007 374.185,309.08 401.33,467.31 259.216,392.612 117.104,467.31 144.25,309.08 29.274,197.007 188.165,173.919 "/>';
|
|
19011
19027
|
a.style.verticalAlign = "middle", o.setAttribute("width", "14"), o.setAttribute("height", "14"), o.setAttribute("viewBox", "0 0 512 512"), o.setAttribute("xml:space", "preserve"), o.style.padding = "0 1px", i = i && !isNaN(i) ? parseInt(i) : 0, i = Math.max(0, Math.min(i, s));
|
|
19012
19028
|
for (var c = 1; c <= s; c++) {
|
|
@@ -19015,7 +19031,7 @@ function Xk(n, e, t) {
|
|
|
19015
19031
|
}
|
|
19016
19032
|
return r.style.whiteSpace = "nowrap", r.style.overflow = "hidden", r.style.textOverflow = "ellipsis", r.setAttribute("aria-label", i), a;
|
|
19017
19033
|
}
|
|
19018
|
-
function
|
|
19034
|
+
function e1(n, e, t) {
|
|
19019
19035
|
var i = this.sanitizeHTML(n.getValue()) || 0, r = document.createElement("span"), s = e && e.max ? e.max : 100, a = e && e.min ? e.min : 0, o = e && typeof e.color < "u" ? e.color : ["red", "orange", "green"], l = "#666666", u, c;
|
|
19020
19036
|
if (!(isNaN(i) || typeof n.getValue() > "u")) {
|
|
19021
19037
|
switch (r.classList.add("tabulator-traffic-light"), c = parseFloat(i) <= s ? parseFloat(i) : s, c = parseFloat(c) >= a ? parseFloat(c) : a, u = (s - a) / 100, c = Math.round((c - a) / u), typeof o) {
|
|
@@ -19035,7 +19051,7 @@ function Qk(n, e, t) {
|
|
|
19035
19051
|
return r.style.backgroundColor = l, r;
|
|
19036
19052
|
}
|
|
19037
19053
|
}
|
|
19038
|
-
function
|
|
19054
|
+
function t1(n, e = {}, t) {
|
|
19039
19055
|
var i = this.sanitizeHTML(n.getValue()) || 0, r = n.getElement(), s = e.max ? e.max : 100, a = e.min ? e.min : 0, o = e.legendAlign ? e.legendAlign : "center", l, u, c, h, f;
|
|
19040
19056
|
switch (u = parseFloat(i) <= s ? parseFloat(i) : s, u = parseFloat(u) >= a ? parseFloat(u) : a, l = (s - a) / 100, u = Math.round((u - a) / l), typeof e.color) {
|
|
19041
19057
|
case "string":
|
|
@@ -19098,31 +19114,31 @@ function Zk(n, e = {}, t) {
|
|
|
19098
19114
|
r.appendChild(k), k.appendChild(d), h && k.appendChild(p);
|
|
19099
19115
|
}), "";
|
|
19100
19116
|
}
|
|
19101
|
-
function
|
|
19117
|
+
function i1(n, e, t) {
|
|
19102
19118
|
return n.getElement().style.backgroundColor = this.sanitizeHTML(n.getValue()), "";
|
|
19103
19119
|
}
|
|
19104
|
-
function
|
|
19120
|
+
function n1(n, e, t) {
|
|
19105
19121
|
return '<svg enable-background="new 0 0 24 24" height="14" width="14" viewBox="0 0 24 24" xml:space="preserve" ><path fill="#2DC214" clip-rule="evenodd" d="M21.652,3.211c-0.293-0.295-0.77-0.295-1.061,0L9.41,14.34 c-0.293,0.297-0.771,0.297-1.062,0L3.449,9.351C3.304,9.203,3.114,9.13,2.923,9.129C2.73,9.128,2.534,9.201,2.387,9.351 l-2.165,1.946C0.078,11.445,0,11.63,0,11.823c0,0.194,0.078,0.397,0.223,0.544l4.94,5.184c0.292,0.296,0.771,0.776,1.062,1.07 l2.124,2.141c0.292,0.293,0.769,0.293,1.062,0l14.366-14.34c0.293-0.294,0.293-0.777,0-1.071L21.652,3.211z" fill-rule="evenodd"/></svg>';
|
|
19106
19122
|
}
|
|
19107
|
-
function
|
|
19123
|
+
function r1(n, e, t) {
|
|
19108
19124
|
return '<svg enable-background="new 0 0 24 24" height="14" width="14" viewBox="0 0 24 24" xml:space="preserve" ><path fill="#CE1515" d="M22.245,4.015c0.313,0.313,0.313,0.826,0,1.139l-6.276,6.27c-0.313,0.312-0.313,0.826,0,1.14l6.273,6.272 c0.313,0.313,0.313,0.826,0,1.14l-2.285,2.277c-0.314,0.312-0.828,0.312-1.142,0l-6.271-6.271c-0.313-0.313-0.828-0.313-1.141,0 l-6.276,6.267c-0.313,0.313-0.828,0.313-1.141,0l-2.282-2.28c-0.313-0.313-0.313-0.826,0-1.14l6.278-6.269 c0.313-0.312,0.313-0.826,0-1.14L1.709,5.147c-0.314-0.313-0.314-0.827,0-1.14l2.284-2.278C4.308,1.417,4.821,1.417,5.135,1.73 L11.405,8c0.314,0.314,0.828,0.314,1.141,0.001l6.276-6.267c0.312-0.312,0.826-0.312,1.141,0L22.245,4.015z"/></svg>';
|
|
19109
19125
|
}
|
|
19110
|
-
function
|
|
19126
|
+
function s1(n, e, t) {
|
|
19111
19127
|
var i = n.getValue(), r = e.size || 15, s = r + "px", a, o, l = e.hasOwnProperty("onValue") ? e.onValue : !0, u = e.hasOwnProperty("offValue") ? e.offValue : !1, c = e.onTruthy ? i : i === l;
|
|
19112
19128
|
return a = document.createElement("div"), a.classList.add("tabulator-toggle"), c ? (a.classList.add("tabulator-toggle-on"), a.style.flexDirection = "row-reverse", e.onColor && (a.style.background = e.onColor)) : e.offColor && (a.style.background = e.offColor), a.style.width = 2.5 * r + "px", a.style.borderRadius = s, e.clickable && a.addEventListener("click", (h) => {
|
|
19113
19129
|
n.setValue(c ? u : l);
|
|
19114
19130
|
}), o = document.createElement("div"), o.classList.add("tabulator-toggle-switch"), o.style.height = s, o.style.width = s, o.style.borderRadius = s, a.appendChild(o), a;
|
|
19115
19131
|
}
|
|
19116
|
-
function
|
|
19132
|
+
function a1(n, e, t) {
|
|
19117
19133
|
var i = document.createElement("span"), r = n.getRow(), s = n.getTable();
|
|
19118
19134
|
return r.watchPosition((a) => {
|
|
19119
19135
|
e.relativeToPage && (a += s.modules.page.getPageSize() * (s.modules.page.getPage() - 1)), i.innerText = a;
|
|
19120
19136
|
}), i;
|
|
19121
19137
|
}
|
|
19122
|
-
function
|
|
19138
|
+
function o1(n, e, t) {
|
|
19123
19139
|
return n.getElement().classList.add("tabulator-row-handle"), "<div class='tabulator-row-handle-box'><div class='tabulator-row-handle-bar'></div><div class='tabulator-row-handle-bar'></div><div class='tabulator-row-handle-bar'></div></div>";
|
|
19124
19140
|
}
|
|
19125
|
-
function
|
|
19141
|
+
function l1(n, e, t) {
|
|
19126
19142
|
var i, r, s;
|
|
19127
19143
|
function a(o) {
|
|
19128
19144
|
var l = o.getValue(), u = "plaintext";
|
|
@@ -19139,44 +19155,44 @@ function a1(n, e, t) {
|
|
|
19139
19155
|
}
|
|
19140
19156
|
return i = e.formatterLookup ? e.formatterLookup(n) : a(n), e.paramsLookup && (s = typeof e.paramsLookup == "function" ? e.paramsLookup(i, n) : e.paramsLookup[i]), r = this.table.modules.format.lookupFormatter(i), r.call(this, n, s || {}, t);
|
|
19141
19157
|
}
|
|
19142
|
-
function
|
|
19158
|
+
function u1(n, e, t) {
|
|
19143
19159
|
var i = e.delimiter || ",", r = n.getValue(), s = this.table, a;
|
|
19144
19160
|
return e.valueMap && (typeof e.valueMap == "string" ? a = function(o) {
|
|
19145
19161
|
return o.map((l) => dt.retrieveNestedData(s.options.nestedFieldSeparator, e.valueMap, l));
|
|
19146
19162
|
} : a = e.valueMap), Array.isArray(r) ? (a && (r = a(r)), r.join(i)) : r;
|
|
19147
19163
|
}
|
|
19148
|
-
function
|
|
19164
|
+
function c1(n, e, t) {
|
|
19149
19165
|
var i = e.indent || " ", r = typeof e.multiline > "u" ? !0 : e.multiline, s = e.replacer || null, a = n.getValue();
|
|
19150
19166
|
return r && (n.getElement().style.whiteSpace = "pre-wrap"), JSON.stringify(a, s, i);
|
|
19151
19167
|
}
|
|
19152
|
-
var
|
|
19153
|
-
plaintext:
|
|
19154
|
-
html:
|
|
19155
|
-
textarea:
|
|
19156
|
-
money:
|
|
19157
|
-
link:
|
|
19158
|
-
image:
|
|
19159
|
-
tickCross:
|
|
19160
|
-
datetime:
|
|
19161
|
-
datetimediff:
|
|
19162
|
-
lookup:
|
|
19163
|
-
star:
|
|
19164
|
-
traffic:
|
|
19165
|
-
progress:
|
|
19166
|
-
color:
|
|
19167
|
-
buttonTick:
|
|
19168
|
-
buttonCross:
|
|
19169
|
-
toggle:
|
|
19170
|
-
rownum:
|
|
19171
|
-
handle:
|
|
19172
|
-
adaptable:
|
|
19173
|
-
array:
|
|
19174
|
-
json:
|
|
19168
|
+
var d1 = {
|
|
19169
|
+
plaintext: Wk,
|
|
19170
|
+
html: Yk,
|
|
19171
|
+
textarea: Uk,
|
|
19172
|
+
money: Gk,
|
|
19173
|
+
link: $k,
|
|
19174
|
+
image: qk,
|
|
19175
|
+
tickCross: Kk,
|
|
19176
|
+
datetime: Jk,
|
|
19177
|
+
datetimediff: Xk,
|
|
19178
|
+
lookup: Qk,
|
|
19179
|
+
star: Zk,
|
|
19180
|
+
traffic: e1,
|
|
19181
|
+
progress: t1,
|
|
19182
|
+
color: i1,
|
|
19183
|
+
buttonTick: n1,
|
|
19184
|
+
buttonCross: r1,
|
|
19185
|
+
toggle: s1,
|
|
19186
|
+
rownum: a1,
|
|
19187
|
+
handle: o1,
|
|
19188
|
+
adaptable: l1,
|
|
19189
|
+
array: u1,
|
|
19190
|
+
json: c1
|
|
19175
19191
|
};
|
|
19176
19192
|
class un extends Ke {
|
|
19177
19193
|
static moduleName = "format";
|
|
19178
19194
|
//load defaults
|
|
19179
|
-
static formatters =
|
|
19195
|
+
static formatters = d1;
|
|
19180
19196
|
constructor(e) {
|
|
19181
19197
|
super(e), this.registerColumnOption("formatter"), this.registerColumnOption("formatterParams"), this.registerColumnOption("formatterPrint"), this.registerColumnOption("formatterPrintParams"), this.registerColumnOption("formatterClipboard"), this.registerColumnOption("formatterClipboardParams"), this.registerColumnOption("formatterHtmlOutput"), this.registerColumnOption("formatterHtmlOutputParams"), this.registerColumnOption("titleFormatter"), this.registerColumnOption("titleFormatterParams");
|
|
19182
19198
|
}
|
|
@@ -19270,7 +19286,7 @@ class un extends Ke {
|
|
|
19270
19286
|
return e === null || typeof e > "u" || e === "" ? " " : e;
|
|
19271
19287
|
}
|
|
19272
19288
|
}
|
|
19273
|
-
class
|
|
19289
|
+
class h1 extends Ke {
|
|
19274
19290
|
static moduleName = "frozenColumns";
|
|
19275
19291
|
constructor(e) {
|
|
19276
19292
|
super(e), this.leftColumns = [], this.rightColumns = [], this.initializationMode = "left", this.active = !1, this.blocked = !0, this.registerColumnOption("frozen");
|
|
@@ -19372,7 +19388,7 @@ class c1 extends Ke {
|
|
|
19372
19388
|
return i;
|
|
19373
19389
|
}
|
|
19374
19390
|
}
|
|
19375
|
-
class
|
|
19391
|
+
class f1 extends Ke {
|
|
19376
19392
|
static moduleName = "frozenRows";
|
|
19377
19393
|
constructor(e) {
|
|
19378
19394
|
super(e), this.topElement = document.createElement("div"), this.rows = [], this.registerComponentFunction("row", "freeze", this.freezeRow.bind(this)), this.registerComponentFunction("row", "unfreeze", this.unfreezeRow.bind(this)), this.registerComponentFunction("row", "isFrozen", this.isRowFrozen.bind(this)), this.registerTableOption("frozenRowsField", "id"), this.registerTableOption("frozenRows", !1);
|
|
@@ -19432,7 +19448,7 @@ class d1 extends Ke {
|
|
|
19432
19448
|
});
|
|
19433
19449
|
}
|
|
19434
19450
|
}
|
|
19435
|
-
class
|
|
19451
|
+
class p1 {
|
|
19436
19452
|
constructor(e) {
|
|
19437
19453
|
return this._group = e, this.type = "GroupComponent", new Proxy(this, {
|
|
19438
19454
|
get: function(t, i, r) {
|
|
@@ -19684,10 +19700,10 @@ class cn {
|
|
|
19684
19700
|
}
|
|
19685
19701
|
//////////////// Object Generation /////////////////
|
|
19686
19702
|
getComponent() {
|
|
19687
|
-
return this.component || (this.component = new
|
|
19703
|
+
return this.component || (this.component = new p1(this)), this.component;
|
|
19688
19704
|
}
|
|
19689
19705
|
}
|
|
19690
|
-
class
|
|
19706
|
+
class m1 extends Ke {
|
|
19691
19707
|
static moduleName = "groupRows";
|
|
19692
19708
|
constructor(e) {
|
|
19693
19709
|
super(e), this.groupIDLookups = !1, this.startOpen = [function() {
|
|
@@ -19913,7 +19929,7 @@ class f1 extends Ke {
|
|
|
19913
19929
|
}), t ? e.style.minWidth = this.table.columnManager.getWidth() + "px" : e.style.minWidth = "";
|
|
19914
19930
|
}
|
|
19915
19931
|
}
|
|
19916
|
-
var
|
|
19932
|
+
var g1 = {
|
|
19917
19933
|
cellEdit: function(n) {
|
|
19918
19934
|
n.component.setValueProcessData(n.data.oldValue), n.component.cellRendered();
|
|
19919
19935
|
},
|
|
@@ -19928,7 +19944,7 @@ var p1 = {
|
|
|
19928
19944
|
var e = n.data.posFrom - n.data.posTo > 0;
|
|
19929
19945
|
this.table.rowManager.moveRowActual(n.component, this.table.rowManager.getRowFromPosition(n.data.posFrom), e), this.table.rowManager.regenerateRowPositions(), this.table.rowManager.reRenderInPosition();
|
|
19930
19946
|
}
|
|
19931
|
-
},
|
|
19947
|
+
}, v1 = {
|
|
19932
19948
|
cellEdit: function(n) {
|
|
19933
19949
|
n.component.setValueProcessData(n.data.newValue), n.component.cellRendered();
|
|
19934
19950
|
},
|
|
@@ -19942,10 +19958,10 @@ var p1 = {
|
|
|
19942
19958
|
rowMove: function(n) {
|
|
19943
19959
|
this.table.rowManager.moveRowActual(n.component, this.table.rowManager.getRowFromPosition(n.data.posTo), n.data.after), this.table.rowManager.regenerateRowPositions(), this.table.rowManager.reRenderInPosition();
|
|
19944
19960
|
}
|
|
19945
|
-
},
|
|
19961
|
+
}, b1 = {
|
|
19946
19962
|
undo: ["ctrl + 90", "meta + 90"],
|
|
19947
19963
|
redo: ["ctrl + 89", "meta + 89"]
|
|
19948
|
-
},
|
|
19964
|
+
}, y1 = {
|
|
19949
19965
|
undo: function(n) {
|
|
19950
19966
|
var e = !1;
|
|
19951
19967
|
this.table.options.history && this.table.modExists("history") && this.table.modExists("edit") && (e = this.table.modules.edit.currentCell, e || (n.preventDefault(), this.table.modules.history.undo()));
|
|
@@ -19954,18 +19970,18 @@ var p1 = {
|
|
|
19954
19970
|
var e = !1;
|
|
19955
19971
|
this.table.options.history && this.table.modExists("history") && this.table.modExists("edit") && (e = this.table.modules.edit.currentCell, e || (n.preventDefault(), this.table.modules.history.redo()));
|
|
19956
19972
|
}
|
|
19957
|
-
},
|
|
19973
|
+
}, w1 = {
|
|
19958
19974
|
keybindings: {
|
|
19959
|
-
bindings:
|
|
19960
|
-
actions:
|
|
19975
|
+
bindings: b1,
|
|
19976
|
+
actions: y1
|
|
19961
19977
|
}
|
|
19962
19978
|
};
|
|
19963
19979
|
class Rr extends Ke {
|
|
19964
19980
|
static moduleName = "history";
|
|
19965
|
-
static moduleExtensions =
|
|
19981
|
+
static moduleExtensions = w1;
|
|
19966
19982
|
//load defaults
|
|
19967
|
-
static undoers =
|
|
19968
|
-
static redoers =
|
|
19983
|
+
static undoers = g1;
|
|
19984
|
+
static redoers = v1;
|
|
19969
19985
|
constructor(e) {
|
|
19970
19986
|
super(e), this.history = [], this.index = -1, this.registerTableOption("history", !1);
|
|
19971
19987
|
}
|
|
@@ -20034,7 +20050,7 @@ class Rr extends Ke {
|
|
|
20034
20050
|
});
|
|
20035
20051
|
}
|
|
20036
20052
|
}
|
|
20037
|
-
class
|
|
20053
|
+
class C1 extends Ke {
|
|
20038
20054
|
static moduleName = "htmlTableImport";
|
|
20039
20055
|
constructor(e) {
|
|
20040
20056
|
super(e), this.fieldIndex = [], this.hasIndex = !1;
|
|
@@ -20096,7 +20112,7 @@ class y1 extends Ke {
|
|
|
20096
20112
|
}
|
|
20097
20113
|
}
|
|
20098
20114
|
}
|
|
20099
|
-
function
|
|
20115
|
+
function E1(n) {
|
|
20100
20116
|
var e = [], t = 0, i = 0, r = !1;
|
|
20101
20117
|
for (let s = 0; s < n.length; s++) {
|
|
20102
20118
|
let a = n[s], o = n[s + 1];
|
|
@@ -20126,30 +20142,30 @@ function w1(n) {
|
|
|
20126
20142
|
}
|
|
20127
20143
|
return e;
|
|
20128
20144
|
}
|
|
20129
|
-
function
|
|
20145
|
+
function k1(n) {
|
|
20130
20146
|
try {
|
|
20131
20147
|
return JSON.parse(n);
|
|
20132
20148
|
} catch (e) {
|
|
20133
20149
|
return console.warn("JSON Import Error - File contents is invalid JSON", e), Promise.reject();
|
|
20134
20150
|
}
|
|
20135
20151
|
}
|
|
20136
|
-
function
|
|
20152
|
+
function S1(n) {
|
|
20137
20153
|
return n;
|
|
20138
20154
|
}
|
|
20139
|
-
function
|
|
20155
|
+
function x1(n) {
|
|
20140
20156
|
var e = this.dependencyRegistry.lookup("XLSX"), t = e.read(n), i = t.Sheets[t.SheetNames[0]];
|
|
20141
20157
|
return e.utils.sheet_to_json(i, { header: 1 });
|
|
20142
20158
|
}
|
|
20143
|
-
var
|
|
20144
|
-
csv:
|
|
20145
|
-
json:
|
|
20146
|
-
array:
|
|
20147
|
-
xlsx:
|
|
20159
|
+
var M1 = {
|
|
20160
|
+
csv: E1,
|
|
20161
|
+
json: k1,
|
|
20162
|
+
array: S1,
|
|
20163
|
+
xlsx: x1
|
|
20148
20164
|
};
|
|
20149
20165
|
class oo extends Ke {
|
|
20150
20166
|
static moduleName = "import";
|
|
20151
20167
|
//load defaults
|
|
20152
|
-
static importers =
|
|
20168
|
+
static importers = M1;
|
|
20153
20169
|
constructor(e) {
|
|
20154
20170
|
super(e), this.registerTableOption("importFormat"), this.registerTableOption("importReader", "text"), this.registerTableOption("importHeaderTransform"), this.registerTableOption("importValueTransform"), this.registerTableOption("importDataValidator"), this.registerTableOption("importFileValidator");
|
|
20155
20171
|
}
|
|
@@ -20271,7 +20287,7 @@ class oo extends Ke {
|
|
|
20271
20287
|
return this.dispatch("import-imported", e), this.dispatchExternal("importImported", e), this.table.dataLoader.clearAlert(), this.table.setData(e);
|
|
20272
20288
|
}
|
|
20273
20289
|
}
|
|
20274
|
-
class
|
|
20290
|
+
class R1 extends Ke {
|
|
20275
20291
|
static moduleName = "interaction";
|
|
20276
20292
|
constructor(e) {
|
|
20277
20293
|
super(e), this.eventMap = {
|
|
@@ -20422,7 +20438,7 @@ class x1 extends Ke {
|
|
|
20422
20438
|
this.columnSubscribers[e] && (i instanceof tr ? s = i.column.definition[e] : i instanceof pi && (s = i.definition[e]), s && s(t, r)), this.dispatchExternal(e, t, r);
|
|
20423
20439
|
}
|
|
20424
20440
|
}
|
|
20425
|
-
var
|
|
20441
|
+
var T1 = {
|
|
20426
20442
|
navPrev: "shift + 9",
|
|
20427
20443
|
navNext: 9,
|
|
20428
20444
|
navUp: 38,
|
|
@@ -20433,7 +20449,7 @@ var M1 = {
|
|
|
20433
20449
|
scrollPageDown: 34,
|
|
20434
20450
|
scrollToStart: 36,
|
|
20435
20451
|
scrollToEnd: 35
|
|
20436
|
-
},
|
|
20452
|
+
}, D1 = {
|
|
20437
20453
|
keyBlock: function(n) {
|
|
20438
20454
|
n.stopPropagation(), n.preventDefault();
|
|
20439
20455
|
},
|
|
@@ -20475,8 +20491,8 @@ var M1 = {
|
|
|
20475
20491
|
class Hn extends Ke {
|
|
20476
20492
|
static moduleName = "keybindings";
|
|
20477
20493
|
//load defaults
|
|
20478
|
-
static bindings =
|
|
20479
|
-
static actions =
|
|
20494
|
+
static bindings = T1;
|
|
20495
|
+
static actions = D1;
|
|
20480
20496
|
constructor(e) {
|
|
20481
20497
|
super(e), this.watchKeys = null, this.pressedKeys = null, this.keyupBinding = !1, this.keydownBinding = !1, this.registerTableOption("keybindings", {}), this.registerTableOption("tabEndNewRow", !1);
|
|
20482
20498
|
}
|
|
@@ -20543,7 +20559,7 @@ class Hn extends Ke {
|
|
|
20543
20559
|
}), i && t.action.call(this, e), !0) : !1;
|
|
20544
20560
|
}
|
|
20545
20561
|
}
|
|
20546
|
-
class
|
|
20562
|
+
class _1 extends Ke {
|
|
20547
20563
|
static moduleName = "menu";
|
|
20548
20564
|
constructor(e) {
|
|
20549
20565
|
super(e), this.menuContainer = null, this.nestedMenuBlock = !1, this.currentComponent = null, this.rootPopup = null, this.columnSubscribers = {}, this.registerTableOption("rowContextMenu", !1), this.registerTableOption("rowClickMenu", !1), this.registerTableOption("rowDblClickMenu", !1), this.registerTableOption("groupContextMenu", !1), this.registerTableOption("groupClickMenu", !1), this.registerTableOption("groupDblClickMenu", !1), this.registerColumnOption("headerContextMenu"), this.registerColumnOption("headerClickMenu"), this.registerColumnOption("headerDblClickMenu"), this.registerColumnOption("headerMenu"), this.registerColumnOption("headerMenuIcon"), this.registerColumnOption("contextMenu"), this.registerColumnOption("clickMenu"), this.registerColumnOption("dblClickMenu");
|
|
@@ -20610,7 +20626,7 @@ class T1 extends Ke {
|
|
|
20610
20626
|
}
|
|
20611
20627
|
}
|
|
20612
20628
|
}
|
|
20613
|
-
class
|
|
20629
|
+
class A1 extends Ke {
|
|
20614
20630
|
static moduleName = "moveColumn";
|
|
20615
20631
|
constructor(e) {
|
|
20616
20632
|
super(e), this.placeholderElement = this.createPlaceholderElement(), this.hoverElement = !1, this.checkTimeout = !1, this.checkPeriod = 250, this.moving = !1, this.toCol = !1, this.toColAfter = !1, this.startX = 0, this.autoScrollMargin = 40, this.autoScrollStep = 5, this.autoScrollTimeout = !1, this.touchMove = !1, this.moveHover = this.moveHover.bind(this), this.endMove = this.endMove.bind(this), this.registerTableOption("movableColumns", !1);
|
|
@@ -20686,11 +20702,11 @@ class D1 extends Ke {
|
|
|
20686
20702
|
}, 1)));
|
|
20687
20703
|
}
|
|
20688
20704
|
}
|
|
20689
|
-
var
|
|
20705
|
+
var O1 = {
|
|
20690
20706
|
delete: function(n, e, t) {
|
|
20691
20707
|
n.delete();
|
|
20692
20708
|
}
|
|
20693
|
-
},
|
|
20709
|
+
}, L1 = {
|
|
20694
20710
|
insert: function(n, e, t) {
|
|
20695
20711
|
return this.table.addRow(n.getData(), void 0, e), !0;
|
|
20696
20712
|
},
|
|
@@ -20707,8 +20723,8 @@ var _1 = {
|
|
|
20707
20723
|
class Tr extends Ke {
|
|
20708
20724
|
static moduleName = "moveRow";
|
|
20709
20725
|
//load defaults
|
|
20710
|
-
static senders =
|
|
20711
|
-
static receivers =
|
|
20726
|
+
static senders = O1;
|
|
20727
|
+
static receivers = L1;
|
|
20712
20728
|
constructor(e) {
|
|
20713
20729
|
super(e), this.placeholderElement = this.createPlaceholderElement(), this.hoverElement = !1, this.checkTimeout = !1, this.checkPeriod = 150, this.moving = !1, this.toRow = !1, this.toRowAfter = !1, this.hasHandle = !1, this.startY = 0, this.startX = 0, this.moveHover = this.moveHover.bind(this), this.endMove = this.endMove.bind(this), this.tableRowDropEvent = !1, this.touchMove = !1, this.connection = !1, this.connectionSelectorsTables = !1, this.connectionSelectorsElements = !1, this.connectionElements = [], this.connections = [], this.connectedTable = !1, this.connectedRow = !1, this.registerTableOption("movableRows", !1), this.registerTableOption("movableRowsConnectedTables", !1), this.registerTableOption("movableRowsConnectedElements", !1), this.registerTableOption("movableRowsSender", !1), this.registerTableOption("movableRowsReceiver", "insert"), this.registerColumnOption("rowHandle");
|
|
20714
20730
|
}
|
|
@@ -20883,11 +20899,11 @@ class Tr extends Ke {
|
|
|
20883
20899
|
}
|
|
20884
20900
|
}
|
|
20885
20901
|
}
|
|
20886
|
-
var
|
|
20902
|
+
var P1 = {};
|
|
20887
20903
|
class Dr extends Ke {
|
|
20888
20904
|
static moduleName = "mutator";
|
|
20889
20905
|
//load defaults
|
|
20890
|
-
static mutators =
|
|
20906
|
+
static mutators = P1;
|
|
20891
20907
|
constructor(e) {
|
|
20892
20908
|
super(e), this.allowedTypes = ["", "data", "edit", "clipboard", "import"], this.enabled = !0, this.registerColumnOption("mutator"), this.registerColumnOption("mutatorParams"), this.registerColumnOption("mutatorData"), this.registerColumnOption("mutatorDataParams"), this.registerColumnOption("mutatorEdit"), this.registerColumnOption("mutatorEditParams"), this.registerColumnOption("mutatorClipboard"), this.registerColumnOption("mutatorClipboardParams"), this.registerColumnOption("mutatorImport"), this.registerColumnOption("mutatorImportParams"), this.registerColumnOption("mutateLink");
|
|
20893
20909
|
}
|
|
@@ -20951,7 +20967,7 @@ class Dr extends Ke {
|
|
|
20951
20967
|
this.enabled = !1;
|
|
20952
20968
|
}
|
|
20953
20969
|
}
|
|
20954
|
-
function
|
|
20970
|
+
function F1(n, e, t, i, r) {
|
|
20955
20971
|
var s = document.createElement("span"), a = document.createElement("span"), o = document.createElement("span"), l = document.createElement("span"), u = document.createElement("span"), c = document.createElement("span");
|
|
20956
20972
|
return this.table.modules.localize.langBind("pagination|counter|showing", (h) => {
|
|
20957
20973
|
a.innerHTML = h;
|
|
@@ -20961,7 +20977,7 @@ function L1(n, e, t, i, r) {
|
|
|
20961
20977
|
c.innerHTML = h;
|
|
20962
20978
|
}), i ? (o.innerHTML = " " + e + "-" + Math.min(e + n - 1, i) + " ", u.innerHTML = " " + i + " ", s.appendChild(a), s.appendChild(o), s.appendChild(l), s.appendChild(u), s.appendChild(c)) : (o.innerHTML = " 0 ", s.appendChild(a), s.appendChild(o), s.appendChild(c)), s;
|
|
20963
20979
|
}
|
|
20964
|
-
function
|
|
20980
|
+
function H1(n, e, t, i, r) {
|
|
20965
20981
|
var s = document.createElement("span"), a = document.createElement("span"), o = document.createElement("span"), l = document.createElement("span"), u = document.createElement("span"), c = document.createElement("span");
|
|
20966
20982
|
return this.table.modules.localize.langBind("pagination|counter|showing", (h) => {
|
|
20967
20983
|
a.innerHTML = h;
|
|
@@ -20971,14 +20987,14 @@ function P1(n, e, t, i, r) {
|
|
|
20971
20987
|
c.innerHTML = h;
|
|
20972
20988
|
}), s.appendChild(a), s.appendChild(o), s.appendChild(l), s.appendChild(u), s.appendChild(c), s;
|
|
20973
20989
|
}
|
|
20974
|
-
var
|
|
20975
|
-
rows:
|
|
20976
|
-
pages:
|
|
20990
|
+
var I1 = {
|
|
20991
|
+
rows: F1,
|
|
20992
|
+
pages: H1
|
|
20977
20993
|
};
|
|
20978
20994
|
class lo extends Ke {
|
|
20979
20995
|
static moduleName = "page";
|
|
20980
20996
|
//load defaults
|
|
20981
|
-
static pageCounters =
|
|
20997
|
+
static pageCounters = I1;
|
|
20982
20998
|
constructor(e) {
|
|
20983
20999
|
super(e), this.mode = "local", this.progressiveLoad = !1, this.element = null, this.pageCounterElement = null, this.pageCounter = null, this.size = 0, this.page = 1, this.count = 5, this.max = 1, this.remoteRowCountEstimate = null, this.initialLoad = !0, this.dataChanging = !1, this.pageSizes = [], this.registerTableOption("pagination", !1), this.registerTableOption("paginationMode", "local"), this.registerTableOption("paginationSize", !1), this.registerTableOption("paginationInitialPage", 1), this.registerTableOption("paginationCounter", !1), this.registerTableOption("paginationCounterElement", !1), this.registerTableOption("paginationButtonCount", 5), this.registerTableOption("paginationSizeSelector", !1), this.registerTableOption("paginationElement", !1), this.registerTableOption("paginationAddRow", "page"), this.registerTableOption("paginationOutOfRange", !1), this.registerTableOption("progressiveLoad", !1), this.registerTableOption("progressiveLoadDelay", 0), this.registerTableOption("progressiveLoadScrollMargin", 0), this.registerTableFunction("setMaxPage", this.setMaxPage.bind(this)), this.registerTableFunction("setPage", this.setPage.bind(this)), this.registerTableFunction("setPageToRow", this.userSetPageToRow.bind(this)), this.registerTableFunction("setPageSize", this.userSetPageSize.bind(this)), this.registerTableFunction("getPageSize", this.getPageSize.bind(this)), this.registerTableFunction("previousPage", this.previousPage.bind(this)), this.registerTableFunction("nextPage", this.nextPage.bind(this)), this.registerTableFunction("getPage", this.getPage.bind(this)), this.registerTableFunction("getPageMax", this.getPageMax.bind(this)), this.registerComponentFunction("row", "pageTo", this.setPageToRow.bind(this));
|
|
20984
21000
|
}
|
|
@@ -21245,7 +21261,7 @@ class lo extends Ke {
|
|
|
21245
21261
|
Math.ceil(e.clientWidth) - e.scrollWidth < 0 ? this.pagesElement.style.display = "none" : (this.pagesElement.style.display = "", Math.ceil(e.clientWidth) - e.scrollWidth < 0 && (this.pagesElement.style.display = "none"));
|
|
21246
21262
|
}
|
|
21247
21263
|
}
|
|
21248
|
-
var
|
|
21264
|
+
var V1 = {
|
|
21249
21265
|
local: function(n, e) {
|
|
21250
21266
|
var t = localStorage.getItem(n + "-" + e);
|
|
21251
21267
|
return t ? JSON.parse(t) : !1;
|
|
@@ -21254,7 +21270,7 @@ var H1 = {
|
|
|
21254
21270
|
var t = document.cookie, i = n + "-" + e, r = t.indexOf(i + "="), s, a;
|
|
21255
21271
|
return r > -1 && (t = t.slice(r), s = t.indexOf(";"), s > -1 && (t = t.slice(0, s)), a = t.replace(i + "=", "")), a ? JSON.parse(a) : !1;
|
|
21256
21272
|
}
|
|
21257
|
-
},
|
|
21273
|
+
}, B1 = {
|
|
21258
21274
|
local: function(n, e, t) {
|
|
21259
21275
|
localStorage.setItem(n + "-" + e, JSON.stringify(t));
|
|
21260
21276
|
},
|
|
@@ -21267,8 +21283,8 @@ class ci extends Ke {
|
|
|
21267
21283
|
static moduleName = "persistence";
|
|
21268
21284
|
static moduleInitOrder = -10;
|
|
21269
21285
|
//load defaults
|
|
21270
|
-
static readers =
|
|
21271
|
-
static writers =
|
|
21286
|
+
static readers = V1;
|
|
21287
|
+
static writers = B1;
|
|
21272
21288
|
constructor(e) {
|
|
21273
21289
|
super(e), this.mode = "", this.id = "", this.defWatcherBlock = !1, this.config = {}, this.readFunc = !1, this.writeFunc = !1, this.registerTableOption("persistence", !1), this.registerTableOption("persistenceID", ""), this.registerTableOption("persistenceMode", !0), this.registerTableOption("persistenceReaderFunc", !1), this.registerTableOption("persistenceWriterFunc", !1);
|
|
21274
21290
|
}
|
|
@@ -21425,7 +21441,7 @@ class ci extends Ke {
|
|
|
21425
21441
|
}), t;
|
|
21426
21442
|
}
|
|
21427
21443
|
}
|
|
21428
|
-
class
|
|
21444
|
+
class N1 extends Ke {
|
|
21429
21445
|
static moduleName = "popup";
|
|
21430
21446
|
constructor(e) {
|
|
21431
21447
|
super(e), this.columnSubscribers = {}, this.registerTableOption("rowContextPopup", !1), this.registerTableOption("rowClickPopup", !1), this.registerTableOption("rowDblClickPopup", !1), this.registerTableOption("groupContextPopup", !1), this.registerTableOption("groupClickPopup", !1), this.registerTableOption("groupDblClickPopup", !1), this.registerColumnOption("headerContextPopup"), this.registerColumnOption("headerClickPopup"), this.registerColumnOption("headerDblClickPopup"), this.registerColumnOption("headerPopup"), this.registerColumnOption("headerPopupIcon"), this.registerColumnOption("contextPopup"), this.registerColumnOption("clickPopup"), this.registerColumnOption("dblClickPopup"), this.registerComponentFunction("cell", "popup", this._componentPopupCall.bind(this)), this.registerComponentFunction("column", "popup", this._componentPopupCall.bind(this)), this.registerComponentFunction("row", "popup", this._componentPopupCall.bind(this)), this.registerComponentFunction("group", "popup", this._componentPopupCall.bind(this));
|
|
@@ -21474,7 +21490,7 @@ class V1 extends Ke {
|
|
|
21474
21490
|
}), this.dispatchExternal("popupOpened", t.getComponent());
|
|
21475
21491
|
}
|
|
21476
21492
|
}
|
|
21477
|
-
class
|
|
21493
|
+
class z1 extends Ke {
|
|
21478
21494
|
static moduleName = "print";
|
|
21479
21495
|
constructor(e) {
|
|
21480
21496
|
super(e), this.element = !1, this.manualBlock = !1, this.beforeprintEventHandler = null, this.afterprintEventHandler = null, this.registerTableOption("printAsHtml", !1), this.registerTableOption("printFormatter", !1), this.registerTableOption("printHeader", !1), this.registerTableOption("printFooter", !1), this.registerTableOption("printStyled", !0), this.registerTableOption("printRowRange", "visible"), this.registerTableOption("printConfig", {}), this.registerColumnOption("print"), this.registerColumnOption("titlePrint");
|
|
@@ -21502,7 +21518,7 @@ class B1 extends Ke {
|
|
|
21502
21518
|
this.manualBlock = !0, this.element = document.createElement("div"), this.element.classList.add("tabulator-print-fullscreen"), this.table.options.printHeader && (a.classList.add("tabulator-print-header"), u = typeof this.table.options.printHeader == "function" ? this.table.options.printHeader.call(this.table) : this.table.options.printHeader, typeof u == "string" ? a.innerHTML = u : a.appendChild(u), this.element.appendChild(a)), this.element.appendChild(l), this.table.options.printFooter && (o.classList.add("tabulator-print-footer"), c = typeof this.table.options.printFooter == "function" ? this.table.options.printFooter.call(this.table) : this.table.options.printFooter, typeof c == "string" ? o.innerHTML = c : o.appendChild(c), this.element.appendChild(o)), document.body.classList.add("tabulator-print-fullscreen-hide"), document.body.appendChild(this.element), this.table.options.printFormatter && this.table.options.printFormatter(this.element, l), window.print(), this.cleanup(), window.scrollTo(r, s), this.manualBlock = !1;
|
|
21503
21519
|
}
|
|
21504
21520
|
}
|
|
21505
|
-
class
|
|
21521
|
+
class j1 extends Ke {
|
|
21506
21522
|
static moduleName = "reactiveData";
|
|
21507
21523
|
constructor(e) {
|
|
21508
21524
|
super(e), this.data = !1, this.blocked = !1, this.origFuncs = {}, this.currentVersion = 0, this.registerTableOption("reactiveData", !1);
|
|
@@ -21673,7 +21689,7 @@ class N1 extends Ke {
|
|
|
21673
21689
|
this.blocked === e && (this.blocked = !1);
|
|
21674
21690
|
}
|
|
21675
21691
|
}
|
|
21676
|
-
class
|
|
21692
|
+
class W1 extends Ke {
|
|
21677
21693
|
static moduleName = "resizeColumns";
|
|
21678
21694
|
constructor(e) {
|
|
21679
21695
|
super(e), this.startColumn = !1, this.startX = !1, this.startWidth = !1, this.latestX = !1, this.handle = null, this.initialNextColumn = null, this.nextColumn = null, this.initialized = !1, this.registerColumnOption("resizable", !0), this.registerTableOption("resizableColumnFit", !1), this.registerTableOption("resizableColumnGuide", !1);
|
|
@@ -21769,7 +21785,7 @@ class z1 extends Ke {
|
|
|
21769
21785
|
e.stopPropagation(), r.startColumn.modules.edit && (r.startColumn.modules.edit.blocked = !0), r.startX = typeof e.clientX > "u" ? e.touches[0].clientX : e.clientX, r.latestX = r.startX, r.startWidth = t.getWidth(), document.body.addEventListener("mousemove", a), document.body.addEventListener("mouseup", o), i.addEventListener("touchmove", a, { passive: !0 }), i.addEventListener("touchend", o);
|
|
21770
21786
|
}
|
|
21771
21787
|
}
|
|
21772
|
-
class
|
|
21788
|
+
class Y1 extends Ke {
|
|
21773
21789
|
static moduleName = "resizeRows";
|
|
21774
21790
|
constructor(e) {
|
|
21775
21791
|
super(e), this.startColumn = !1, this.startY = !1, this.startHeight = !1, this.handle = null, this.prevHandle = null, this.registerTableOption("resizableRows", !1), this.registerTableOption("resizableRowGuide", !1);
|
|
@@ -21817,7 +21833,7 @@ class j1 extends Ke {
|
|
|
21817
21833
|
e.stopPropagation(), r.startY = typeof e.screenY > "u" ? e.touches[0].screenY : e.screenY, r.startHeight = t.getHeight(), document.body.addEventListener("mousemove", a), document.body.addEventListener("mouseup", o), i.addEventListener("touchmove", a, { passive: !0 }), i.addEventListener("touchend", o);
|
|
21818
21834
|
}
|
|
21819
21835
|
}
|
|
21820
|
-
class
|
|
21836
|
+
class U1 extends Ke {
|
|
21821
21837
|
static moduleName = "resizeTable";
|
|
21822
21838
|
constructor(e) {
|
|
21823
21839
|
super(e), this.binding = !1, this.visibilityObserver = !1, this.resizeObserver = !1, this.containerObserver = !1, this.tableHeight = 0, this.tableWidth = 0, this.containerHeight = 0, this.containerWidth = 0, this.autoResize = !1, this.visible = !1, this.initialized = !1, this.initialRedraw = !1, this.registerTableOption("autoResize", !0);
|
|
@@ -21855,7 +21871,7 @@ class W1 extends Ke {
|
|
|
21855
21871
|
this.binding && window.removeEventListener("resize", this.binding), this.resizeObserver && this.resizeObserver.unobserve(this.table.element), this.visibilityObserver && this.visibilityObserver.unobserve(this.table.element), this.containerObserver && this.containerObserver.unobserve(this.table.element.parentNode);
|
|
21856
21872
|
}
|
|
21857
21873
|
}
|
|
21858
|
-
function
|
|
21874
|
+
function G1(n, e, t) {
|
|
21859
21875
|
var i = document.createElement("div"), r = n.getRow()._row.modules.responsiveLayout;
|
|
21860
21876
|
i.classList.add("tabulator-responsive-collapse-toggle"), i.innerHTML = `<svg class='tabulator-responsive-collapse-toggle-open' viewbox="0 0 24 24">
|
|
21861
21877
|
<line x1="7" y1="12" x2="17" y2="12" fill="none" stroke-width="3" stroke-linecap="round" />
|
|
@@ -21873,16 +21889,16 @@ function Y1(n, e, t) {
|
|
|
21873
21889
|
a.stopImmediatePropagation(), s(!r.open), n.getTable().rowManager.adjustTableSize();
|
|
21874
21890
|
}), s(r.open), i;
|
|
21875
21891
|
}
|
|
21876
|
-
var
|
|
21892
|
+
var $1 = {
|
|
21877
21893
|
format: {
|
|
21878
21894
|
formatters: {
|
|
21879
|
-
responsiveCollapse:
|
|
21895
|
+
responsiveCollapse: G1
|
|
21880
21896
|
}
|
|
21881
21897
|
}
|
|
21882
21898
|
};
|
|
21883
|
-
class
|
|
21899
|
+
class q1 extends Ke {
|
|
21884
21900
|
static moduleName = "responsiveLayout";
|
|
21885
|
-
static moduleExtensions =
|
|
21901
|
+
static moduleExtensions = $1;
|
|
21886
21902
|
constructor(e) {
|
|
21887
21903
|
super(e), this.columns = [], this.hiddenColumns = [], this.mode = "", this.index = 0, this.collapseFormatter = [], this.collapseStartOpen = !0, this.collapseHandleColumn = !1, this.registerTableOption("responsiveLayout", !1), this.registerTableOption("responsiveLayoutCollapseStartOpen", !0), this.registerTableOption("responsiveLayoutCollapseUseFormatters", !0), this.registerTableOption("responsiveLayoutCollapseFormatter", !1), this.registerColumnOption("responsive");
|
|
21888
21904
|
}
|
|
@@ -22017,7 +22033,7 @@ class G1 extends Ke {
|
|
|
22017
22033
|
}), Object.keys(e).length ? t : "";
|
|
22018
22034
|
}
|
|
22019
22035
|
}
|
|
22020
|
-
function
|
|
22036
|
+
function K1(n, e, t) {
|
|
22021
22037
|
var i = document.createElement("input"), r = !1;
|
|
22022
22038
|
if (i.type = "checkbox", i.setAttribute("aria-label", "Select Row"), this.table.modExists("selectRow", !0))
|
|
22023
22039
|
if (i.addEventListener("click", (a) => {
|
|
@@ -22035,16 +22051,16 @@ function $1(n, e, t) {
|
|
|
22035
22051
|
}), this.table.modules.selectRow.registerHeaderSelectCheckbox(i);
|
|
22036
22052
|
return i;
|
|
22037
22053
|
}
|
|
22038
|
-
var
|
|
22054
|
+
var J1 = {
|
|
22039
22055
|
format: {
|
|
22040
22056
|
formatters: {
|
|
22041
|
-
rowSelection:
|
|
22057
|
+
rowSelection: K1
|
|
22042
22058
|
}
|
|
22043
22059
|
}
|
|
22044
22060
|
};
|
|
22045
|
-
class
|
|
22061
|
+
class X1 extends Ke {
|
|
22046
22062
|
static moduleName = "selectRow";
|
|
22047
|
-
static moduleExtensions =
|
|
22063
|
+
static moduleExtensions = J1;
|
|
22048
22064
|
constructor(e) {
|
|
22049
22065
|
super(e), this.selecting = !1, this.lastClickedRow = !1, this.selectPrev = [], this.selectedRows = [], this.headerCheckboxElement = null, this.registerTableOption("selectableRows", "highlight"), this.registerTableOption("selectableRowsRangeMode", "drag"), this.registerTableOption("selectableRowsRollingSelection", !0), this.registerTableOption("selectableRowsPersistence", !0), this.registerTableOption("selectableRowsCheck", function(t, i) {
|
|
22050
22066
|
return !0;
|
|
@@ -22199,7 +22215,7 @@ class K1 extends Ke {
|
|
|
22199
22215
|
this._deselectRow(r, !0);
|
|
22200
22216
|
}
|
|
22201
22217
|
}
|
|
22202
|
-
class
|
|
22218
|
+
class Q1 {
|
|
22203
22219
|
constructor(e) {
|
|
22204
22220
|
return this._range = e, new Proxy(this, {
|
|
22205
22221
|
get: function(t, i, r) {
|
|
@@ -22256,7 +22272,7 @@ class J1 {
|
|
|
22256
22272
|
this._range.destroyedGuard("remove") && this._range.destroy(!0);
|
|
22257
22273
|
}
|
|
22258
22274
|
}
|
|
22259
|
-
class
|
|
22275
|
+
class Z1 extends Mt {
|
|
22260
22276
|
constructor(e, t, i, r) {
|
|
22261
22277
|
super(e), this.rangeManager = t, this.element = null, this.initialized = !1, this.initializing = {
|
|
22262
22278
|
start: !1,
|
|
@@ -22370,7 +22386,7 @@ class X1 extends Mt {
|
|
|
22370
22386
|
return t.length ? (i.start = t[0], i.end = t[t.length - 1]) : console.warn("No bounds defined on range"), i;
|
|
22371
22387
|
}
|
|
22372
22388
|
getComponent() {
|
|
22373
|
-
return this.component || (this.component = new
|
|
22389
|
+
return this.component || (this.component = new Q1(this)), this.component;
|
|
22374
22390
|
}
|
|
22375
22391
|
destroy(e) {
|
|
22376
22392
|
this.destroyed = !0, this.element.remove(), e && this.rangeManager.rangeRemoved(this), this.initialized && this.dispatchExternal("rangeRemoved", this.getComponent());
|
|
@@ -22379,7 +22395,7 @@ class X1 extends Mt {
|
|
|
22379
22395
|
return this.destroyed && console.warn("You cannot call the " + e + " function on a destroyed range"), !this.destroyed;
|
|
22380
22396
|
}
|
|
22381
22397
|
}
|
|
22382
|
-
var
|
|
22398
|
+
var eS = {
|
|
22383
22399
|
rangeJumpUp: ["ctrl + 38", "meta + 38"],
|
|
22384
22400
|
rangeJumpDown: ["ctrl + 40", "meta + 40"],
|
|
22385
22401
|
rangeJumpLeft: ["ctrl + 37", "meta + 37"],
|
|
@@ -22392,7 +22408,7 @@ var Q1 = {
|
|
|
22392
22408
|
rangeExpandJumpDown: ["ctrl + shift + 40", "meta + shift + 40"],
|
|
22393
22409
|
rangeExpandJumpLeft: ["ctrl + shift + 37", "meta + shift + 37"],
|
|
22394
22410
|
rangeExpandJumpRight: ["ctrl + shift + 39", "meta + shift + 39"]
|
|
22395
|
-
},
|
|
22411
|
+
}, tS = {
|
|
22396
22412
|
rangeJumpLeft: function(n) {
|
|
22397
22413
|
this.dispatch("keybinding-nav-range", n, "left", !0, !1);
|
|
22398
22414
|
},
|
|
@@ -22429,14 +22445,14 @@ var Q1 = {
|
|
|
22429
22445
|
rangeExpandJumpDown: function(n) {
|
|
22430
22446
|
this.dispatch("keybinding-nav-range", n, "down", !0, !0);
|
|
22431
22447
|
}
|
|
22432
|
-
},
|
|
22448
|
+
}, iS = {
|
|
22433
22449
|
range: function(n) {
|
|
22434
22450
|
var e = [], t = this.table.modules.selectRange.activeRange, i = !1, r, s, a, o, l;
|
|
22435
22451
|
return l = n.length, t && (r = t.getBounds(), s = r.start, r.start === r.end && (i = !0), s && (e = this.table.rowManager.activeRows.slice(), a = e.indexOf(s.row), i ? o = n.length : o = e.indexOf(r.end.row) - a + 1, a > -1 && (this.table.blockRedraw(), e = e.slice(a, a + o), e.forEach((u, c) => {
|
|
22436
22452
|
u.updateData(n[c % l]);
|
|
22437
22453
|
}), this.table.restoreRedraw()))), e;
|
|
22438
22454
|
}
|
|
22439
|
-
},
|
|
22455
|
+
}, nS = {
|
|
22440
22456
|
range: function(n) {
|
|
22441
22457
|
var e = [], t = [], i = this.table.modules.selectRange.activeRange, r = !1, s, a, o, l, u;
|
|
22442
22458
|
return i && (s = i.getBounds(), a = s.start, s.start === s.end && (r = !0), a && (n = n.split(`
|
|
@@ -22449,33 +22465,33 @@ var Q1 = {
|
|
|
22449
22465
|
}), t.push(h);
|
|
22450
22466
|
}), t) : !1;
|
|
22451
22467
|
}
|
|
22452
|
-
},
|
|
22468
|
+
}, rS = {
|
|
22453
22469
|
range: function() {
|
|
22454
22470
|
var n = this.modules.selectRange.selectedColumns();
|
|
22455
22471
|
return this.columnManager.rowHeader && n.unshift(this.columnManager.rowHeader), n;
|
|
22456
22472
|
}
|
|
22457
|
-
},
|
|
22473
|
+
}, sS = {
|
|
22458
22474
|
range: function() {
|
|
22459
22475
|
return this.modules.selectRange.selectedRows();
|
|
22460
22476
|
}
|
|
22461
|
-
},
|
|
22477
|
+
}, aS = {
|
|
22462
22478
|
keybindings: {
|
|
22463
|
-
bindings:
|
|
22464
|
-
actions:
|
|
22479
|
+
bindings: eS,
|
|
22480
|
+
actions: tS
|
|
22465
22481
|
},
|
|
22466
22482
|
clipboard: {
|
|
22467
|
-
pasteActions:
|
|
22468
|
-
pasteParsers:
|
|
22483
|
+
pasteActions: iS,
|
|
22484
|
+
pasteParsers: nS
|
|
22469
22485
|
},
|
|
22470
22486
|
export: {
|
|
22471
|
-
columnLookups:
|
|
22472
|
-
rowLookups:
|
|
22487
|
+
columnLookups: rS,
|
|
22488
|
+
rowLookups: sS
|
|
22473
22489
|
}
|
|
22474
22490
|
};
|
|
22475
|
-
class
|
|
22491
|
+
class oS extends Ke {
|
|
22476
22492
|
static moduleName = "selectRange";
|
|
22477
22493
|
static moduleInitOrder = 1;
|
|
22478
|
-
static moduleExtensions =
|
|
22494
|
+
static moduleExtensions = aS;
|
|
22479
22495
|
constructor(e) {
|
|
22480
22496
|
super(e), this.selecting = "cell", this.mousedown = !1, this.ranges = [], this.overlay = null, this.rowHeader = null, this.layoutChangeTimeout = null, this.columnSelection = !1, this.rowSelection = !1, this.maxRanges = 0, this.activeRange = !1, this.blockKeydown = !1, this.keyDownEvent = this._handleKeyDown.bind(this), this.mouseUpEvent = this._handleMouseUp.bind(this), this.registerTableOption("selectableRange", !1), this.registerTableOption("selectableRangeColumns", !1), this.registerTableOption("selectableRangeRows", !1), this.registerTableOption("selectableRangeClearCells", !1), this.registerTableOption("selectableRangeClearCellsValue", void 0), this.registerTableOption("selectableRangeAutoFocus", !0), this.registerTableFunction("getRangesData", this.getRangesData.bind(this)), this.registerTableFunction("getRanges", this.getRanges.bind(this)), this.registerTableFunction("addRange", this.addRangeFromComponent.bind(this)), this.registerComponentFunction("cell", "getRanges", this.cellGetRanges.bind(this)), this.registerComponentFunction("row", "getRanges", this.rowGetRanges.bind(this)), this.registerComponentFunction("column", "getRanges", this.colGetRanges.bind(this));
|
|
22481
22497
|
}
|
|
@@ -22785,7 +22801,7 @@ class sS extends Ke {
|
|
|
22785
22801
|
}
|
|
22786
22802
|
addRange(e, t) {
|
|
22787
22803
|
var i;
|
|
22788
|
-
return this.maxRanges !== !0 && this.ranges.length >= this.maxRanges && this.ranges.shift().destroy(), i = new
|
|
22804
|
+
return this.maxRanges !== !0 && this.ranges.length >= this.maxRanges && this.ranges.shift().destroy(), i = new Z1(this.table, this, e, t), this.activeRange = i, this.ranges.push(i), this.rangeContainer.appendChild(i.element), i;
|
|
22789
22805
|
}
|
|
22790
22806
|
resetRanges() {
|
|
22791
22807
|
var e, t, i;
|
|
@@ -22807,7 +22823,7 @@ class sS extends Ke {
|
|
|
22807
22823
|
return e == null || e === "";
|
|
22808
22824
|
}
|
|
22809
22825
|
}
|
|
22810
|
-
function
|
|
22826
|
+
function lS(n, e, t, i, r, s, a) {
|
|
22811
22827
|
var o = a.alignEmptyValues, l = a.decimalSeparator, u = a.thousandSeparator, c = 0;
|
|
22812
22828
|
if (n = String(n), e = String(e), u && (n = n.split(u).join(""), e = e.split(u).join("")), l && (n = n.split(l).join("."), e = e.split(l).join(".")), n = parseFloat(n), e = parseFloat(e), isNaN(n))
|
|
22813
22829
|
c = isNaN(e) ? 0 : -1;
|
|
@@ -22817,7 +22833,7 @@ function aS(n, e, t, i, r, s, a) {
|
|
|
22817
22833
|
return n - e;
|
|
22818
22834
|
return (o === "top" && s === "desc" || o === "bottom" && s === "asc") && (c *= -1), c;
|
|
22819
22835
|
}
|
|
22820
|
-
function
|
|
22836
|
+
function uS(n, e, t, i, r, s, a) {
|
|
22821
22837
|
var o = a.alignEmptyValues, l = 0, u;
|
|
22822
22838
|
if (!n)
|
|
22823
22839
|
l = e ? -1 : 0;
|
|
@@ -22849,17 +22865,17 @@ function uo(n, e, t, i, r, s, a) {
|
|
|
22849
22865
|
} else
|
|
22850
22866
|
console.error("Sort Error - 'datetime' sorter is dependant on luxon.js");
|
|
22851
22867
|
}
|
|
22852
|
-
function
|
|
22868
|
+
function cS(n, e, t, i, r, s, a) {
|
|
22853
22869
|
return a.format || (a.format = "dd/MM/yyyy"), uo.call(this, n, e, t, i, r, s, a);
|
|
22854
22870
|
}
|
|
22855
|
-
function
|
|
22871
|
+
function dS(n, e, t, i, r, s, a) {
|
|
22856
22872
|
return a.format || (a.format = "HH:mm"), uo.call(this, n, e, t, i, r, s, a);
|
|
22857
22873
|
}
|
|
22858
|
-
function
|
|
22874
|
+
function hS(n, e, t, i, r, s, a) {
|
|
22859
22875
|
var o = n === !0 || n === "true" || n === "True" || n === 1 ? 1 : 0, l = e === !0 || e === "true" || e === "True" || e === 1 ? 1 : 0;
|
|
22860
22876
|
return o - l;
|
|
22861
22877
|
}
|
|
22862
|
-
function
|
|
22878
|
+
function fS(n, e, t, i, r, s, a) {
|
|
22863
22879
|
var o = a.type || "length", l = a.alignEmptyValues, u = 0, c = this.table, h;
|
|
22864
22880
|
a.valueMap && (typeof a.valueMap == "string" ? h = function(d) {
|
|
22865
22881
|
return d.map((k) => dt.retrieveNestedData(c.options.nestedFieldSeparator, a.valueMap, k));
|
|
@@ -22900,11 +22916,11 @@ function dS(n, e, t, i, r, s, a) {
|
|
|
22900
22916
|
return o === "string" ? String(f(n)).toLowerCase().localeCompare(String(f(e)).toLowerCase()) : f(e) - f(n);
|
|
22901
22917
|
return (l === "top" && s === "desc" || l === "bottom" && s === "asc") && (u *= -1), u;
|
|
22902
22918
|
}
|
|
22903
|
-
function
|
|
22919
|
+
function pS(n, e, t, i, r, s, a) {
|
|
22904
22920
|
var o = typeof n > "u" ? 0 : 1, l = typeof e > "u" ? 0 : 1;
|
|
22905
22921
|
return o - l;
|
|
22906
22922
|
}
|
|
22907
|
-
function
|
|
22923
|
+
function mS(n, e, t, i, r, s, a) {
|
|
22908
22924
|
var o, l, u, c, h = 0, f, d = /(\d+)|(\D+)/g, k = /\d/, p = a.alignEmptyValues, C = 0;
|
|
22909
22925
|
if (!n && n !== 0)
|
|
22910
22926
|
C = !e && e !== 0 ? 0 : -1;
|
|
@@ -22921,21 +22937,21 @@ function fS(n, e, t, i, r, s, a) {
|
|
|
22921
22937
|
}
|
|
22922
22938
|
return (p === "top" && s === "desc" || p === "bottom" && s === "asc") && (C *= -1), C;
|
|
22923
22939
|
}
|
|
22924
|
-
var
|
|
22925
|
-
number:
|
|
22926
|
-
string:
|
|
22927
|
-
date:
|
|
22928
|
-
time:
|
|
22940
|
+
var gS = {
|
|
22941
|
+
number: lS,
|
|
22942
|
+
string: uS,
|
|
22943
|
+
date: cS,
|
|
22944
|
+
time: dS,
|
|
22929
22945
|
datetime: uo,
|
|
22930
|
-
boolean:
|
|
22931
|
-
array:
|
|
22932
|
-
exists:
|
|
22933
|
-
alphanum:
|
|
22946
|
+
boolean: hS,
|
|
22947
|
+
array: fS,
|
|
22948
|
+
exists: pS,
|
|
22949
|
+
alphanum: mS
|
|
22934
22950
|
};
|
|
22935
22951
|
class In extends Ke {
|
|
22936
22952
|
static moduleName = "sort";
|
|
22937
22953
|
//load defaults
|
|
22938
|
-
static sorters =
|
|
22954
|
+
static sorters = gS;
|
|
22939
22955
|
constructor(e) {
|
|
22940
22956
|
super(e), this.sortList = [], this.changed = !1, this.registerTableOption("sortMode", "local"), this.registerTableOption("initialSort", !1), this.registerTableOption("columnHeaderSortMulti", !0), this.registerTableOption("sortOrderReverse", !1), this.registerTableOption("headerSortElement", "<div class='tabulator-arrow'></div>"), this.registerTableOption("headerSortClickElement", "header"), this.registerColumnOption("sorter"), this.registerColumnOption("sorterParams"), this.registerColumnOption("headerSort", !0), this.registerColumnOption("headerSortStartingDir"), this.registerColumnOption("headerSortTristate");
|
|
22941
22957
|
}
|
|
@@ -23115,7 +23131,7 @@ class In extends Ke {
|
|
|
23115
23131
|
return e = i.getFieldValue(l.getData()), t = i.getFieldValue(u.getData()), e = typeof e < "u" ? e : "", t = typeof t < "u" ? t : "", a = l.getComponent(), o = u.getComponent(), i.modules.sort.sorter.call(this, e, t, a, o, i.getComponent(), r, s);
|
|
23116
23132
|
}
|
|
23117
23133
|
}
|
|
23118
|
-
class
|
|
23134
|
+
class vS {
|
|
23119
23135
|
constructor(e, t) {
|
|
23120
23136
|
this.columnCount = e, this.rowCount = t, this.columnString = [], this.columns = [], this.rows = [];
|
|
23121
23137
|
}
|
|
@@ -23188,7 +23204,7 @@ class Td {
|
|
|
23188
23204
|
}
|
|
23189
23205
|
class Bl extends Mt {
|
|
23190
23206
|
constructor(e, t) {
|
|
23191
|
-
super(e.table), this.spreadsheetManager = e, this.definition = t, this.title = this.definition.title || "", this.key = this.definition.key || this.definition.title, this.rowCount = this.definition.rows, this.columnCount = this.definition.columns, this.data = this.definition.data || [], this.element = null, this.isActive = !1, this.grid = new
|
|
23207
|
+
super(e.table), this.spreadsheetManager = e, this.definition = t, this.title = this.definition.title || "", this.key = this.definition.key || this.definition.title, this.rowCount = this.definition.rows, this.columnCount = this.definition.columns, this.data = this.definition.data || [], this.element = null, this.isActive = !1, this.grid = new vS(this.columnCount, this.rowCount), this.defaultColumnDefinition = { width: 100, headerHozAlign: "center", headerSort: !1 }, this.columnDefinition = Object.assign(this.defaultColumnDefinition, this.options("spreadsheetColumnDefinition")), this.columnDefs = [], this.rowDefs = [], this.columnFields = [], this.columns = [], this.rows = [], this.scrollTop = null, this.scrollLeft = null, this.initialize(), this.dispatchExternal("sheetAdded", this.getComponent());
|
|
23192
23208
|
}
|
|
23193
23209
|
///////////////////////////////////
|
|
23194
23210
|
///////// Initialization //////////
|
|
@@ -23276,7 +23292,7 @@ class Bl extends Mt {
|
|
|
23276
23292
|
this.spreadsheetManager.loadSheet(this);
|
|
23277
23293
|
}
|
|
23278
23294
|
}
|
|
23279
|
-
class
|
|
23295
|
+
class bS extends Ke {
|
|
23280
23296
|
static moduleName = "spreadsheet";
|
|
23281
23297
|
constructor(e) {
|
|
23282
23298
|
super(e), this.sheets = [], this.element = null, this.registerTableOption("spreadsheet", !1), this.registerTableOption("spreadsheetRows", 50), this.registerTableOption("spreadsheetColumns", 50), this.registerTableOption("spreadsheetColumnDefinition", {}), this.registerTableOption("spreadsheetOutputFull", !1), this.registerTableOption("spreadsheetData", !1), this.registerTableOption("spreadsheetSheets", !1), this.registerTableOption("spreadsheetSheetTabs", !1), this.registerTableOption("spreadsheetSheetTabsElement", !1), this.registerTableFunction("setSheets", this.setSheets.bind(this)), this.registerTableFunction("addSheet", this.addSheet.bind(this)), this.registerTableFunction("getSheets", this.getSheets.bind(this)), this.registerTableFunction("getSheetDefinitions", this.getSheetDefinitions.bind(this)), this.registerTableFunction("setSheetData", this.setSheetData.bind(this)), this.registerTableFunction("getSheet", this.getSheet.bind(this)), this.registerTableFunction("getSheetData", this.getSheetData.bind(this)), this.registerTableFunction("clearSheet", this.clearSheet.bind(this)), this.registerTableFunction("removeSheet", this.removeSheetFunc.bind(this)), this.registerTableFunction("activeSheet", this.activeSheetFunc.bind(this));
|
|
@@ -23381,7 +23397,7 @@ Data: `, e), !1;
|
|
|
23381
23397
|
return t ? this.loadSheet(t) : !1;
|
|
23382
23398
|
}
|
|
23383
23399
|
}
|
|
23384
|
-
class
|
|
23400
|
+
class yS extends Ke {
|
|
23385
23401
|
static moduleName = "tooltip";
|
|
23386
23402
|
constructor(e) {
|
|
23387
23403
|
super(e), this.tooltipSubscriber = null, this.headerSubscriber = null, this.timeout = null, this.popupInstance = null, this.registerTableOption("tooltipDelay", 300), this.registerColumnOption("tooltip"), this.registerColumnOption("headerTooltip");
|
|
@@ -23416,7 +23432,7 @@ class vS extends Ke {
|
|
|
23416
23432
|
}), this.dispatchExternal("TooltipOpened", t.getComponent()));
|
|
23417
23433
|
}
|
|
23418
23434
|
}
|
|
23419
|
-
var
|
|
23435
|
+
var wS = {
|
|
23420
23436
|
//is integer
|
|
23421
23437
|
integer: function(n, e, t) {
|
|
23422
23438
|
return e === "" || e === null || typeof e > "u" ? !0 : (e = Number(e), !isNaN(e) && isFinite(e) && Math.floor(e) === e);
|
|
@@ -23493,7 +23509,7 @@ var bS = {
|
|
|
23493
23509
|
class co extends Ke {
|
|
23494
23510
|
static moduleName = "validate";
|
|
23495
23511
|
//load defaults
|
|
23496
|
-
static validators =
|
|
23512
|
+
static validators = wS;
|
|
23497
23513
|
constructor(e) {
|
|
23498
23514
|
super(e), this.invalidCells = [], this.registerTableOption("validationMode", "blocking"), this.registerColumnOption("validator"), this.registerTableFunction("getInvalidCells", this.getInvalidCells.bind(this)), this.registerTableFunction("clearCellValidation", this.userClearCellValidation.bind(this)), this.registerTableFunction("validate", this.userValidate.bind(this)), this.registerComponentFunction("cell", "isValid", this.cellIsValid.bind(this)), this.registerComponentFunction("cell", "clearValidation", this.clearValidation.bind(this)), this.registerComponentFunction("cell", "validate", this.cellValidate.bind(this)), this.registerComponentFunction("column", "validate", this.columnValidate.bind(this)), this.registerComponentFunction("row", "validate", this.rowValidate.bind(this));
|
|
23499
23515
|
}
|
|
@@ -23616,40 +23632,40 @@ var ta = /* @__PURE__ */ Object.freeze({
|
|
|
23616
23632
|
AjaxModule: on,
|
|
23617
23633
|
ClipboardModule: xr,
|
|
23618
23634
|
ColumnCalcsModule: ln,
|
|
23619
|
-
DataTreeModule:
|
|
23635
|
+
DataTreeModule: bk,
|
|
23620
23636
|
DownloadModule: Mr,
|
|
23621
23637
|
EditModule: ao,
|
|
23622
23638
|
ExportModule: Fn,
|
|
23623
23639
|
FilterModule: qi,
|
|
23624
23640
|
FormatModule: un,
|
|
23625
|
-
FrozenColumnsModule:
|
|
23626
|
-
FrozenRowsModule:
|
|
23627
|
-
GroupRowsModule:
|
|
23641
|
+
FrozenColumnsModule: h1,
|
|
23642
|
+
FrozenRowsModule: f1,
|
|
23643
|
+
GroupRowsModule: m1,
|
|
23628
23644
|
HistoryModule: Rr,
|
|
23629
|
-
HtmlTableImportModule:
|
|
23645
|
+
HtmlTableImportModule: C1,
|
|
23630
23646
|
ImportModule: oo,
|
|
23631
|
-
InteractionModule:
|
|
23647
|
+
InteractionModule: R1,
|
|
23632
23648
|
KeybindingsModule: Hn,
|
|
23633
|
-
MenuModule:
|
|
23634
|
-
MoveColumnsModule:
|
|
23649
|
+
MenuModule: _1,
|
|
23650
|
+
MoveColumnsModule: A1,
|
|
23635
23651
|
MoveRowsModule: Tr,
|
|
23636
23652
|
MutatorModule: Dr,
|
|
23637
23653
|
PageModule: lo,
|
|
23638
23654
|
PersistenceModule: ci,
|
|
23639
|
-
PopupModule:
|
|
23640
|
-
PrintModule:
|
|
23641
|
-
ReactiveDataModule:
|
|
23642
|
-
ResizeColumnsModule:
|
|
23643
|
-
ResizeRowsModule:
|
|
23644
|
-
ResizeTableModule:
|
|
23645
|
-
ResponsiveLayoutModule:
|
|
23646
|
-
SelectRangeModule:
|
|
23647
|
-
SelectRowModule:
|
|
23655
|
+
PopupModule: N1,
|
|
23656
|
+
PrintModule: z1,
|
|
23657
|
+
ReactiveDataModule: j1,
|
|
23658
|
+
ResizeColumnsModule: W1,
|
|
23659
|
+
ResizeRowsModule: Y1,
|
|
23660
|
+
ResizeTableModule: U1,
|
|
23661
|
+
ResponsiveLayoutModule: q1,
|
|
23662
|
+
SelectRangeModule: oS,
|
|
23663
|
+
SelectRowModule: X1,
|
|
23648
23664
|
SortModule: In,
|
|
23649
|
-
SpreadsheetModule:
|
|
23650
|
-
TooltipModule:
|
|
23665
|
+
SpreadsheetModule: bS,
|
|
23666
|
+
TooltipModule: yS,
|
|
23651
23667
|
ValidateModule: co
|
|
23652
|
-
}),
|
|
23668
|
+
}), CS = {
|
|
23653
23669
|
debugEventsExternal: !1,
|
|
23654
23670
|
//flag to console log events
|
|
23655
23671
|
debugEventsInternal: !1,
|
|
@@ -23819,7 +23835,7 @@ class Jr extends Mt {
|
|
|
23819
23835
|
});
|
|
23820
23836
|
}
|
|
23821
23837
|
}
|
|
23822
|
-
class
|
|
23838
|
+
class ES extends Jr {
|
|
23823
23839
|
constructor(e) {
|
|
23824
23840
|
super(e);
|
|
23825
23841
|
}
|
|
@@ -23837,7 +23853,7 @@ class wS extends Jr {
|
|
|
23837
23853
|
});
|
|
23838
23854
|
}
|
|
23839
23855
|
}
|
|
23840
|
-
class
|
|
23856
|
+
class kS extends Jr {
|
|
23841
23857
|
constructor(e) {
|
|
23842
23858
|
super(e), this.leftCol = 0, this.rightCol = 0, this.scrollLeft = 0, this.vDomScrollPosLeft = 0, this.vDomScrollPosRight = 0, this.vDomPadLeft = 0, this.vDomPadRight = 0, this.fitDataColAvg = 0, this.windowBuffer = 200, this.visibleRows = null, this.initialized = !1, this.isFitData = !1, this.columns = [];
|
|
23843
23859
|
}
|
|
@@ -24061,7 +24077,7 @@ class CS extends Jr {
|
|
|
24061
24077
|
}
|
|
24062
24078
|
}
|
|
24063
24079
|
}
|
|
24064
|
-
class
|
|
24080
|
+
class SS extends Mt {
|
|
24065
24081
|
constructor(e) {
|
|
24066
24082
|
super(e), this.blockHozScrollEvent = !1, this.headersElement = null, this.contentsElement = null, this.rowHeader = null, this.element = null, this.columns = [], this.columnsByIndex = [], this.columnsByField = {}, this.scrollLeft = 0, this.optionsList = new Dd(this.table, "column definition", Rd), this.redrawBlock = !1, this.redrawBlockUpdate = null, this.renderer = null;
|
|
24067
24083
|
}
|
|
@@ -24074,8 +24090,8 @@ class ES extends Mt {
|
|
|
24074
24090
|
}
|
|
24075
24091
|
initializeRenderer() {
|
|
24076
24092
|
var e, t = {
|
|
24077
|
-
virtual:
|
|
24078
|
-
basic:
|
|
24093
|
+
virtual: kS,
|
|
24094
|
+
basic: ES
|
|
24079
24095
|
};
|
|
24080
24096
|
typeof this.table.options.renderHorizontal == "string" ? e = t[this.table.options.renderHorizontal] : e = this.table.options.renderHorizontal, e ? (this.renderer = new e(this.table, this.element, this.tableElement), this.renderer.initialize()) : console.error("Unable to find matching renderer:", this.table.options.renderHorizontal);
|
|
24081
24097
|
}
|
|
@@ -24357,7 +24373,7 @@ class ES extends Mt {
|
|
|
24357
24373
|
dt.elVisible(this.element) && this.verticalAlignHeaders(), e && (this.table.rowManager.resetScroll(), this.table.rowManager.reinitialize()), this.confirm("table-redrawing", e) || this.layoutRefresh(e), this.dispatch("table-redraw", e), this.table.footerManager.redraw();
|
|
24358
24374
|
}
|
|
24359
24375
|
}
|
|
24360
|
-
class
|
|
24376
|
+
class xS extends Jr {
|
|
24361
24377
|
constructor(e) {
|
|
24362
24378
|
super(e), this.verticalFillMode = "fill", this.scrollTop = 0, this.scrollLeft = 0, this.scrollTop = 0, this.scrollLeft = 0;
|
|
24363
24379
|
}
|
|
@@ -24390,7 +24406,7 @@ class kS extends Jr {
|
|
|
24390
24406
|
return this.rows();
|
|
24391
24407
|
}
|
|
24392
24408
|
}
|
|
24393
|
-
class
|
|
24409
|
+
class MS extends Jr {
|
|
24394
24410
|
constructor(e) {
|
|
24395
24411
|
super(e), this.verticalFillMode = "fill", this.scrollTop = 0, this.scrollLeft = 0, this.vDomRowHeight = 20, this.vDomTop = 0, this.vDomBottom = 0, this.vDomScrollPosTop = 0, this.vDomScrollPosBottom = 0, this.vDomTopPad = 0, this.vDomBottomPad = 0, this.vDomMaxRenderChain = 90, this.vDomWindowBuffer = 0, this.vDomWindowMinTotalRows = 20, this.vDomWindowMinMarginRows = 5, this.vDomTopNewRows = [], this.vDomBottomNewRows = [];
|
|
24396
24412
|
}
|
|
@@ -24537,7 +24553,7 @@ class SS extends Jr {
|
|
|
24537
24553
|
t.setCellHeight();
|
|
24538
24554
|
}
|
|
24539
24555
|
}
|
|
24540
|
-
class
|
|
24556
|
+
class RS extends Mt {
|
|
24541
24557
|
constructor(e) {
|
|
24542
24558
|
super(e), this.element = this.createHolderElement(), this.tableElement = this.createTableElement(), this.heightFixer = this.createTableElement(), this.placeholder = null, this.placeholderContents = null, this.firstRender = !1, this.renderMode = "virtual", this.fixedHeight = !1, this.rows = [], this.activeRowsPipeline = [], this.activeRows = [], this.activeRowsCount = 0, this.displayRows = [], this.displayRowsCount = 0, this.scrollTop = 0, this.scrollLeft = 0, this.redrawBlock = !1, this.redrawBlockRestoreConfig = !1, this.redrawBlockRenderInPosition = !1, this.dataPipeline = [], this.displayPipeline = [], this.scrollbarWidth = 0, this.renderer = null;
|
|
24543
24559
|
}
|
|
@@ -24833,8 +24849,8 @@ Data: `, e);
|
|
|
24833
24849
|
}
|
|
24834
24850
|
initializeRenderer() {
|
|
24835
24851
|
var e, t = {
|
|
24836
|
-
virtual:
|
|
24837
|
-
basic:
|
|
24852
|
+
virtual: MS,
|
|
24853
|
+
basic: xS
|
|
24838
24854
|
};
|
|
24839
24855
|
typeof this.table.options.renderVertical == "string" ? e = t[this.table.options.renderVertical] : e = this.table.options.renderVertical, e ? (this.renderMode = this.table.options.renderVertical, this.renderer = new e(this.table, this.element, this.tableElement), this.renderer.initialize(), (this.table.element.clientHeight || this.table.options.height) && !(this.table.options.minHeight && this.table.options.maxHeight) ? this.fixedHeight = !0 : this.fixedHeight = !1) : console.error("Unable to find matching renderer:", this.table.options.renderVertical);
|
|
24840
24856
|
}
|
|
@@ -24917,7 +24933,7 @@ Data: `, e);
|
|
|
24917
24933
|
this.element.dispatchEvent(new Event("scroll"));
|
|
24918
24934
|
}
|
|
24919
24935
|
}
|
|
24920
|
-
class
|
|
24936
|
+
class TS extends Mt {
|
|
24921
24937
|
constructor(e) {
|
|
24922
24938
|
super(e), this.active = !1, this.element = this.createElement(), this.containerElement = this.createContainerElement(), this.external = !1;
|
|
24923
24939
|
}
|
|
@@ -24965,7 +24981,7 @@ class MS extends Mt {
|
|
|
24965
24981
|
this.dispatch("footer-redraw");
|
|
24966
24982
|
}
|
|
24967
24983
|
}
|
|
24968
|
-
class
|
|
24984
|
+
class DS extends Mt {
|
|
24969
24985
|
constructor(e) {
|
|
24970
24986
|
super(e), this.el = null, this.abortClasses = ["tabulator-headers", "tabulator-table"], this.previousTargets = {}, this.listeners = [
|
|
24971
24987
|
"click",
|
|
@@ -25114,7 +25130,7 @@ class RS extends Mt {
|
|
|
25114
25130
|
}
|
|
25115
25131
|
}
|
|
25116
25132
|
}
|
|
25117
|
-
class
|
|
25133
|
+
class _S {
|
|
25118
25134
|
constructor(e) {
|
|
25119
25135
|
this.table = e, this.bindings = {};
|
|
25120
25136
|
}
|
|
@@ -25127,7 +25143,7 @@ class TS {
|
|
|
25127
25143
|
i !== "then" && typeof i == "string" && !i.startsWith("_") && this.table.options.debugInvalidComponentFuncs && console.error("The " + e + " component does not have a " + i + " function, have you checked that you have the correct Tabulator module installed?");
|
|
25128
25144
|
}
|
|
25129
25145
|
}
|
|
25130
|
-
class
|
|
25146
|
+
class AS extends Mt {
|
|
25131
25147
|
constructor(e) {
|
|
25132
25148
|
super(e), this.requestOrder = 0, this.loading = !1;
|
|
25133
25149
|
}
|
|
@@ -25184,7 +25200,7 @@ class DS extends Mt {
|
|
|
25184
25200
|
this.table.alertManager.clear();
|
|
25185
25201
|
}
|
|
25186
25202
|
}
|
|
25187
|
-
class
|
|
25203
|
+
class OS {
|
|
25188
25204
|
constructor(e, t, i) {
|
|
25189
25205
|
this.table = e, this.events = {}, this.optionsList = t || {}, this.subscriptionNotifiers = {}, this.dispatch = i ? this._debugDispatch.bind(this) : this._dispatch.bind(this), this.debug = i;
|
|
25190
25206
|
}
|
|
@@ -25233,7 +25249,7 @@ class _S {
|
|
|
25233
25249
|
return e[0] = "ExternalEvent:" + e[0], (this.debug === !0 || this.debug.includes(t)) && console.log(...e), this._dispatch(...arguments);
|
|
25234
25250
|
}
|
|
25235
25251
|
}
|
|
25236
|
-
class
|
|
25252
|
+
class LS {
|
|
25237
25253
|
constructor(e) {
|
|
25238
25254
|
this.events = {}, this.subscriptionNotifiers = {}, this.dispatch = e ? this._debugDispatch.bind(this) : this._dispatch.bind(this), this.chain = e ? this._debugChain.bind(this) : this._chain.bind(this), this.confirm = e ? this._debugConfirm.bind(this) : this._confirm.bind(this), this.debug = e;
|
|
25239
25255
|
}
|
|
@@ -25299,7 +25315,7 @@ class AS {
|
|
|
25299
25315
|
return e[0] = "InternalEvent:" + t, (this.debug === !0 || this.debug.includes(t)) && console.log(...e), this._confirm(...arguments);
|
|
25300
25316
|
}
|
|
25301
25317
|
}
|
|
25302
|
-
class
|
|
25318
|
+
class PS extends Mt {
|
|
25303
25319
|
constructor(e) {
|
|
25304
25320
|
super(e);
|
|
25305
25321
|
}
|
|
@@ -25317,7 +25333,7 @@ class OS extends Mt {
|
|
|
25317
25333
|
this._warnUser(e);
|
|
25318
25334
|
}
|
|
25319
25335
|
}
|
|
25320
|
-
class
|
|
25336
|
+
class FS extends Mt {
|
|
25321
25337
|
constructor(e) {
|
|
25322
25338
|
super(e), this.deps = {}, this.props = {};
|
|
25323
25339
|
}
|
|
@@ -25352,7 +25368,7 @@ class LS extends Mt {
|
|
|
25352
25368
|
console.error("Unable to find dependency", e, "Please check documentation and ensure you have imported the required library into your project");
|
|
25353
25369
|
}
|
|
25354
25370
|
}
|
|
25355
|
-
function
|
|
25371
|
+
function HS(n, e) {
|
|
25356
25372
|
e && this.table.columnManager.renderer.reinitializeColumnWidths(n), this.table.options.responsiveLayout && this.table.modExists("responsiveLayout", !0) && this.table.modules.responsiveLayout.update();
|
|
25357
25373
|
}
|
|
25358
25374
|
function Nl(n, e) {
|
|
@@ -25360,13 +25376,13 @@ function Nl(n, e) {
|
|
|
25360
25376
|
t.reinitializeWidth();
|
|
25361
25377
|
}), this.table.options.responsiveLayout && this.table.modExists("responsiveLayout", !0) && this.table.modules.responsiveLayout.update();
|
|
25362
25378
|
}
|
|
25363
|
-
function
|
|
25379
|
+
function IS(n, e) {
|
|
25364
25380
|
var t = 0, i = this.table.rowManager.element.clientWidth, r = 0, s = !1;
|
|
25365
25381
|
n.forEach((a, o) => {
|
|
25366
25382
|
a.widthFixed || a.reinitializeWidth(), (this.table.options.responsiveLayout ? a.modules.responsive.visible : a.visible) && (s = a), a.visible && (t += a.getWidth());
|
|
25367
25383
|
}), s ? (r = i - t + s.getWidth(), this.table.options.responsiveLayout && this.table.modExists("responsiveLayout", !0) && (s.setWidth(0), this.table.modules.responsiveLayout.update()), r > 0 ? s.setWidth(r) : s.reinitializeWidth()) : this.table.options.responsiveLayout && this.table.modExists("responsiveLayout", !0) && this.table.modules.responsiveLayout.update();
|
|
25368
25384
|
}
|
|
25369
|
-
function
|
|
25385
|
+
function VS(n, e) {
|
|
25370
25386
|
var t = this.table.rowManager.element.getBoundingClientRect().width, i = 0, r = 0, s = 0, a = 0, o = [], l = [], u = 0, c = 0, h = 0;
|
|
25371
25387
|
function f(k) {
|
|
25372
25388
|
var p;
|
|
@@ -25406,17 +25422,17 @@ function HS(n, e) {
|
|
|
25406
25422
|
k.column.setWidth(k.width);
|
|
25407
25423
|
});
|
|
25408
25424
|
}
|
|
25409
|
-
var
|
|
25410
|
-
fitData:
|
|
25425
|
+
var BS = {
|
|
25426
|
+
fitData: HS,
|
|
25411
25427
|
fitDataFill: Nl,
|
|
25412
25428
|
fitDataTable: Nl,
|
|
25413
|
-
fitDataStretch:
|
|
25414
|
-
fitColumns:
|
|
25429
|
+
fitDataStretch: IS,
|
|
25430
|
+
fitColumns: VS
|
|
25415
25431
|
};
|
|
25416
25432
|
class _r extends Ke {
|
|
25417
25433
|
static moduleName = "layout";
|
|
25418
25434
|
//load defaults
|
|
25419
|
-
static modes =
|
|
25435
|
+
static modes = BS;
|
|
25420
25436
|
constructor(e) {
|
|
25421
25437
|
super(e, "layout"), this.mode = null, this.registerTableOption("layout", "fitData"), this.registerTableOption("layoutColumnsOnNewData", !1), this.registerColumnOption("widthGrow"), this.registerColumnOption("widthShrink");
|
|
25422
25438
|
}
|
|
@@ -25437,7 +25453,7 @@ class _r extends Ke {
|
|
|
25437
25453
|
this.dispatch("layout-refreshing"), _r.modes[this.mode].call(this, this.table.columnManager.columnsByIndex, e), t && this.table.rowManager.normalizeHeight(!0), this.dispatch("layout-refreshed");
|
|
25438
25454
|
}
|
|
25439
25455
|
}
|
|
25440
|
-
var
|
|
25456
|
+
var NS = {
|
|
25441
25457
|
default: {
|
|
25442
25458
|
//hold default locale text
|
|
25443
25459
|
groups: {
|
|
@@ -25477,7 +25493,7 @@ var VS = {
|
|
|
25477
25493
|
class ho extends Ke {
|
|
25478
25494
|
static moduleName = "localize";
|
|
25479
25495
|
//load defaults
|
|
25480
|
-
static langs =
|
|
25496
|
+
static langs = NS;
|
|
25481
25497
|
constructor(e) {
|
|
25482
25498
|
super(e), this.locale = "default", this.lang = !1, this.bindings = {}, this.langList = {}, this.registerTableOption("locale", !1), this.registerTableOption("langs", {});
|
|
25483
25499
|
}
|
|
@@ -25545,7 +25561,7 @@ class ho extends Ke {
|
|
|
25545
25561
|
});
|
|
25546
25562
|
}
|
|
25547
25563
|
}
|
|
25548
|
-
class
|
|
25564
|
+
class zS extends Ke {
|
|
25549
25565
|
static moduleName = "comms";
|
|
25550
25566
|
constructor(e) {
|
|
25551
25567
|
super(e);
|
|
@@ -25571,9 +25587,9 @@ class BS extends Ke {
|
|
|
25571
25587
|
console.warn("Inter-table Comms Error - no such module:", t);
|
|
25572
25588
|
}
|
|
25573
25589
|
}
|
|
25574
|
-
var
|
|
25590
|
+
var jS = /* @__PURE__ */ Object.freeze({
|
|
25575
25591
|
__proto__: null,
|
|
25576
|
-
CommsModule:
|
|
25592
|
+
CommsModule: zS,
|
|
25577
25593
|
LayoutModule: _r,
|
|
25578
25594
|
LocalizeModule: ho
|
|
25579
25595
|
});
|
|
@@ -25618,7 +25634,7 @@ class vt extends Gt {
|
|
|
25618
25634
|
super();
|
|
25619
25635
|
}
|
|
25620
25636
|
static initializeModuleBinder(e) {
|
|
25621
|
-
vt.modulesRegistered || (vt.modulesRegistered = !0, vt._registerModules(
|
|
25637
|
+
vt.modulesRegistered || (vt.modulesRegistered = !0, vt._registerModules(jS, !0), e && vt._registerModules(e));
|
|
25622
25638
|
}
|
|
25623
25639
|
static _extendModule(e, t, i) {
|
|
25624
25640
|
if (vt.moduleBindings[e]) {
|
|
@@ -25681,7 +25697,7 @@ class vt extends Gt {
|
|
|
25681
25697
|
e.sort((s, a) => s.moduleInitOrder > a.moduleInitOrder ? 1 : -1), t.sort((s, a) => s.moduleInitOrder > a.moduleInitOrder ? 1 : -1), this.modulesRegular = e.concat(i.concat(t));
|
|
25682
25698
|
}
|
|
25683
25699
|
}
|
|
25684
|
-
class
|
|
25700
|
+
class WS extends Mt {
|
|
25685
25701
|
constructor(e) {
|
|
25686
25702
|
super(e), this.element = this._createAlertElement(), this.msgElement = this._createMsgElement(), this.type = null, this.element.appendChild(this.msgElement);
|
|
25687
25703
|
}
|
|
@@ -25708,7 +25724,7 @@ class zS extends Mt {
|
|
|
25708
25724
|
}
|
|
25709
25725
|
class Pi extends vt {
|
|
25710
25726
|
//default setup options
|
|
25711
|
-
static defaultOptions =
|
|
25727
|
+
static defaultOptions = CS;
|
|
25712
25728
|
static extendModule() {
|
|
25713
25729
|
Pi.initializeModuleBinder(), Pi._extendModule(...arguments);
|
|
25714
25730
|
}
|
|
@@ -25716,7 +25732,7 @@ class Pi extends vt {
|
|
|
25716
25732
|
Pi.initializeModuleBinder(), Pi._registerModule(...arguments);
|
|
25717
25733
|
}
|
|
25718
25734
|
constructor(e, t, i) {
|
|
25719
|
-
super(), Pi.initializeModuleBinder(i), this.options = {}, this.columnManager = null, this.rowManager = null, this.footerManager = null, this.alertManager = null, this.vdomHoz = null, this.externalEvents = null, this.eventBus = null, this.interactionMonitor = !1, this.browser = "", this.browserSlow = !1, this.browserMobile = !1, this.rtl = !1, this.originalElement = null, this.componentFunctionBinder = new
|
|
25735
|
+
super(), Pi.initializeModuleBinder(i), this.options = {}, this.columnManager = null, this.rowManager = null, this.footerManager = null, this.alertManager = null, this.vdomHoz = null, this.externalEvents = null, this.eventBus = null, this.interactionMonitor = !1, this.browser = "", this.browserSlow = !1, this.browserMobile = !1, this.rtl = !1, this.originalElement = null, this.componentFunctionBinder = new _S(this), this.dataLoader = !1, this.modules = {}, this.modulesCore = [], this.modulesRegular = [], this.deprecationAdvisor = new PS(this), this.optionsList = new Dd(this, "table constructor"), this.dependencyRegistry = new FS(this), this.initialized = !1, this.destroyed = !1, this.initializeElement(e) && (this.initializeCoreSystems(t), setTimeout(() => {
|
|
25720
25736
|
this._create();
|
|
25721
25737
|
})), this.constructor.registry.register(this);
|
|
25722
25738
|
}
|
|
@@ -25724,7 +25740,7 @@ class Pi extends vt {
|
|
|
25724
25740
|
return typeof HTMLElement < "u" && e instanceof HTMLElement ? (this.element = e, !0) : typeof e == "string" ? (this.element = document.querySelector(e), this.element ? !0 : (console.error("Tabulator Creation Error - no element found matching selector: ", e), !1)) : (console.error("Tabulator Creation Error - Invalid element provided:", e), !1);
|
|
25725
25741
|
}
|
|
25726
25742
|
initializeCoreSystems(e) {
|
|
25727
|
-
this.columnManager = new
|
|
25743
|
+
this.columnManager = new SS(this), this.rowManager = new RS(this), this.footerManager = new TS(this), this.dataLoader = new AS(this), this.alertManager = new WS(this), this._bindModules(), this.options = this.optionsList.generate(Pi.defaultOptions, e), this._clearObjectPointers(), this._mapDeprecatedFunctionality(), this.externalEvents = new OS(this, this.options, this.options.debugEventsExternal), this.eventBus = new LS(this.options.debugEventsInternal), this.interactionMonitor = new DS(this), this.dataLoader.initialize(), this.footerManager.initialize(), this.dependencyRegistry.initialize();
|
|
25728
25744
|
}
|
|
25729
25745
|
//convert deprecated functionality to new functions
|
|
25730
25746
|
_mapDeprecatedFunctionality() {
|
|
@@ -26016,7 +26032,7 @@ class Pi extends vt {
|
|
|
26016
26032
|
}
|
|
26017
26033
|
}
|
|
26018
26034
|
var Tn = Pi;
|
|
26019
|
-
class
|
|
26035
|
+
class YS extends Tn {
|
|
26020
26036
|
static extendModule() {
|
|
26021
26037
|
Tn.initializeModuleBinder(ta), Tn._extendModule(...arguments);
|
|
26022
26038
|
}
|
|
@@ -26027,14 +26043,14 @@ class jS extends Tn {
|
|
|
26027
26043
|
super(e, t, ta);
|
|
26028
26044
|
}
|
|
26029
26045
|
}
|
|
26030
|
-
var
|
|
26031
|
-
const
|
|
26046
|
+
var US = YS;
|
|
26047
|
+
const GS = {
|
|
26032
26048
|
key: 0,
|
|
26033
26049
|
class: "bi bi-chevron-up"
|
|
26034
|
-
},
|
|
26050
|
+
}, $S = {
|
|
26035
26051
|
key: 1,
|
|
26036
26052
|
class: "bi bi-chevron-down"
|
|
26037
|
-
},
|
|
26053
|
+
}, qS = {
|
|
26038
26054
|
__name: "SubFilterToggleBtn",
|
|
26039
26055
|
props: ["modelValue"],
|
|
26040
26056
|
emits: ["update:modelValue"],
|
|
@@ -26046,10 +26062,10 @@ const YS = {
|
|
|
26046
26062
|
class: "icon",
|
|
26047
26063
|
onClick: r
|
|
26048
26064
|
}, [
|
|
26049
|
-
n.modelValue ? (W(), G("i",
|
|
26065
|
+
n.modelValue ? (W(), G("i", GS)) : (W(), G("i", $S))
|
|
26050
26066
|
]));
|
|
26051
26067
|
}
|
|
26052
|
-
},
|
|
26068
|
+
}, KS = /* @__PURE__ */ Ye(qS, [["__scopeId", "data-v-4810f2ed"]]), _d = {
|
|
26053
26069
|
gender: {
|
|
26054
26070
|
MALE: 1,
|
|
26055
26071
|
FEMALE: 2,
|
|
@@ -26174,7 +26190,7 @@ const YS = {
|
|
|
26174
26190
|
}
|
|
26175
26191
|
};
|
|
26176
26192
|
Object.preventExtensions(_d);
|
|
26177
|
-
const
|
|
26193
|
+
const JS = () => ({
|
|
26178
26194
|
"en-en": {
|
|
26179
26195
|
pagination: {
|
|
26180
26196
|
first: "First11",
|
|
@@ -26221,24 +26237,24 @@ const qS = () => ({
|
|
|
26221
26237
|
error: "Ошибка загрузки данных."
|
|
26222
26238
|
}
|
|
26223
26239
|
}
|
|
26224
|
-
}),
|
|
26240
|
+
}), XS = {
|
|
26225
26241
|
class: "position-relative",
|
|
26226
26242
|
style: { "min-height": "300px" }
|
|
26227
|
-
},
|
|
26243
|
+
}, QS = {
|
|
26228
26244
|
key: 0,
|
|
26229
26245
|
class: "tabulator hide-to-print sticky-bottom bg-white"
|
|
26230
|
-
},
|
|
26246
|
+
}, ZS = { class: "row" }, ex = {
|
|
26231
26247
|
key: 0,
|
|
26232
26248
|
class: "col-auto"
|
|
26233
|
-
},
|
|
26249
|
+
}, tx = { class: "col" }, ix = {
|
|
26234
26250
|
class: "tabulator-footer",
|
|
26235
26251
|
ref: "footer"
|
|
26236
|
-
},
|
|
26252
|
+
}, nx = ["id"], rx = ["disabled"], sx = {
|
|
26237
26253
|
key: 0,
|
|
26238
26254
|
class: "spinner-border spinner-border-sm",
|
|
26239
26255
|
role: "status",
|
|
26240
26256
|
"aria-hidden": "true"
|
|
26241
|
-
},
|
|
26257
|
+
}, ax = "", hR = /* @__PURE__ */ We({
|
|
26242
26258
|
__name: "Table",
|
|
26243
26259
|
props: {
|
|
26244
26260
|
langs: { type: Object, default: () => ({}) },
|
|
@@ -26288,7 +26304,7 @@ const qS = () => ({
|
|
|
26288
26304
|
}, M = (V) => !V || !V.length ? [] : V.map((re) => re), b = () => {
|
|
26289
26305
|
if (!f.value) return;
|
|
26290
26306
|
const V = f.value.querySelector(".tabulator-header");
|
|
26291
|
-
!V || t.isVisibleColumnSubFilter === null || Wn(V,
|
|
26307
|
+
!V || t.isVisibleColumnSubFilter === null || Wn(V, KS, {
|
|
26292
26308
|
modelValue: t.isVisibleColumnSubFilter,
|
|
26293
26309
|
"onUpdate:modelValue": (re) => i("updateIsVisibleColumnSubFilter", re)
|
|
26294
26310
|
});
|
|
@@ -26366,15 +26382,15 @@ const qS = () => ({
|
|
|
26366
26382
|
...t.options,
|
|
26367
26383
|
// В remote режиме не передаем data, данные загружаются через ajaxURL
|
|
26368
26384
|
...C.value ? {} : { data: t.tableData },
|
|
26369
|
-
langs:
|
|
26385
|
+
langs: JS(),
|
|
26370
26386
|
locale: t.locale,
|
|
26371
26387
|
columns: M(t.options.columns),
|
|
26372
|
-
dataLoaderLoading: `<img alt="" src="${
|
|
26388
|
+
dataLoaderLoading: `<img alt="" src="${ax}">`,
|
|
26373
26389
|
placeholder: t.noDataText,
|
|
26374
26390
|
// ajaxResponse должен быть функцией для Tabulator
|
|
26375
26391
|
...t.options.ajaxResponse ? { ajaxResponse: t.options.ajaxResponse } : {}
|
|
26376
26392
|
};
|
|
26377
|
-
C.value && (V.footerElement = `#tabulator-footer${h.value}`), d.value = new
|
|
26393
|
+
C.value && (V.footerElement = `#tabulator-footer${h.value}`), d.value = new US(f.value, V), d.value.on("dataLoading", S), d.value.on("dataLoaded", y), d.value.on("dataLoadError", D), d.value.on("tableBuilt", T), d.value.on("pageLoaded", A), d.value.on("rowSelected", H), d.value.on("rowDeselected", j), d.value.on("dataProcessed", Y), d.value.on("cellClick", I), d.value.on("columnMoved", B), d.value.on("renderStarted", J), d.value.on("renderComplete", O), d.value.on("tableDestroyed", F);
|
|
26378
26394
|
}, z = (V) => {
|
|
26379
26395
|
if (p.value || !c.value || !V || !d.value) return;
|
|
26380
26396
|
const re = d.value.options.ajaxParams;
|
|
@@ -26470,18 +26486,18 @@ const qS = () => ({
|
|
|
26470
26486
|
p.value || !V || (t.showAllColumnsIfAllHidden && oe(t.options.columns || []), t.tableData.length > 0 && !C.value && d.value && d.value.setData(t.tableData));
|
|
26471
26487
|
},
|
|
26472
26488
|
{ deep: !0 }
|
|
26473
|
-
), (V, re) => (W(), G("div",
|
|
26489
|
+
), (V, re) => (W(), G("div", XS, [
|
|
26474
26490
|
N("div", {
|
|
26475
26491
|
ref_key: "tableRef",
|
|
26476
26492
|
ref: f
|
|
26477
26493
|
}, null, 512),
|
|
26478
|
-
C.value ? (W(), G("div",
|
|
26479
|
-
N("div",
|
|
26480
|
-
R("table-footer-left") ? (W(), G("div",
|
|
26494
|
+
C.value ? (W(), G("div", QS, [
|
|
26495
|
+
N("div", ZS, [
|
|
26496
|
+
R("table-footer-left") ? (W(), G("div", ex, [
|
|
26481
26497
|
tt(V.$slots, "table-footer-left")
|
|
26482
26498
|
])) : xe("", !0),
|
|
26483
|
-
N("div",
|
|
26484
|
-
N("div",
|
|
26499
|
+
N("div", tx, [
|
|
26500
|
+
N("div", ix, [
|
|
26485
26501
|
N("div", {
|
|
26486
26502
|
class: "tabulator-footer-contents d-flex",
|
|
26487
26503
|
id: `tabulator-footer${h.value}`
|
|
@@ -26494,8 +26510,8 @@ const qS = () => ({
|
|
|
26494
26510
|
}, [
|
|
26495
26511
|
Ot(Ce(n.loadMoreText) + " ", 1),
|
|
26496
26512
|
re[2] || (re[2] = N("i", { class: "bi bi-plus-lg" }, null, -1)),
|
|
26497
|
-
k.value ? (W(), G("div",
|
|
26498
|
-
], 8,
|
|
26513
|
+
k.value ? (W(), G("div", sx)) : xe("", !0)
|
|
26514
|
+
], 8, rx),
|
|
26499
26515
|
et(Vi, {
|
|
26500
26516
|
class: "me-3",
|
|
26501
26517
|
style: { "min-width": "150px" },
|
|
@@ -26508,18 +26524,18 @@ const qS = () => ({
|
|
|
26508
26524
|
options: g.value,
|
|
26509
26525
|
dropDownPlacement: "top"
|
|
26510
26526
|
}, null, 8, ["modelValue", "options"])
|
|
26511
|
-
], 8,
|
|
26527
|
+
], 8, nx)
|
|
26512
26528
|
], 512)
|
|
26513
26529
|
])
|
|
26514
26530
|
])
|
|
26515
26531
|
])) : xe("", !0),
|
|
26516
|
-
et(
|
|
26532
|
+
et(FE, {
|
|
26517
26533
|
message: a.value,
|
|
26518
26534
|
onClearMessage: v
|
|
26519
26535
|
}, null, 8, ["message"])
|
|
26520
26536
|
]));
|
|
26521
26537
|
}
|
|
26522
|
-
}),
|
|
26538
|
+
}), ox = { class: "r3-table-count__wrapper px-3" }, lx = { class: "r3-table-count__label pe-2" }, ux = { class: "r3-table-count__value" }, cx = /* @__PURE__ */ We({
|
|
26523
26539
|
__name: "TableCount",
|
|
26524
26540
|
props: {
|
|
26525
26541
|
label: { default: "" },
|
|
@@ -26534,13 +26550,13 @@ const qS = () => ({
|
|
|
26534
26550
|
return (r, s) => (W(), G("div", {
|
|
26535
26551
|
class: Te(["r3-table-count", [`r3-table-count--${r.size}`]])
|
|
26536
26552
|
}, [
|
|
26537
|
-
N("div",
|
|
26538
|
-
N("span",
|
|
26539
|
-
N("span",
|
|
26553
|
+
N("div", ox, [
|
|
26554
|
+
N("span", lx, Ce(t.value) + ":", 1),
|
|
26555
|
+
N("span", ux, Ce(i.value), 1)
|
|
26540
26556
|
])
|
|
26541
26557
|
], 2));
|
|
26542
26558
|
}
|
|
26543
|
-
}),
|
|
26559
|
+
}), fR = /* @__PURE__ */ Ye(cx, [["__scopeId", "data-v-87be8b13"]]), dx = /* @__PURE__ */ We({
|
|
26544
26560
|
__name: "ColumnSubFilter",
|
|
26545
26561
|
props: {
|
|
26546
26562
|
tableRefEl: { default: void 0 },
|
|
@@ -26570,7 +26586,7 @@ const qS = () => ({
|
|
|
26570
26586
|
t();
|
|
26571
26587
|
}), (i, r) => null;
|
|
26572
26588
|
}
|
|
26573
|
-
}),
|
|
26589
|
+
}), pR = /* @__PURE__ */ Ye(dx, [["__scopeId", "data-v-0ddbb5a3"]]), hx = /* @__PURE__ */ We({
|
|
26574
26590
|
__name: "TableAppliedFiltersStorage",
|
|
26575
26591
|
props: {
|
|
26576
26592
|
tableName: {},
|
|
@@ -26620,7 +26636,7 @@ const qS = () => ({
|
|
|
26620
26636
|
saveFilters: o
|
|
26621
26637
|
}), (f, d) => xe("", !0);
|
|
26622
26638
|
}
|
|
26623
|
-
}),
|
|
26639
|
+
}), mR = /* @__PURE__ */ Ye(hx, [["__scopeId", "data-v-08a5ac04"]]), fx = { class: "row pt-3" }, px = { class: "col-12" }, mx = ["onClick"], gx = /* @__PURE__ */ We({
|
|
26624
26640
|
__name: "TableQuickFilterComponent",
|
|
26625
26641
|
props: {
|
|
26626
26642
|
filterList: {},
|
|
@@ -26631,8 +26647,8 @@ const qS = () => ({
|
|
|
26631
26647
|
const t = e, i = (r) => {
|
|
26632
26648
|
t("emitSelected", r);
|
|
26633
26649
|
};
|
|
26634
|
-
return (r, s) => (W(), G("div",
|
|
26635
|
-
N("div",
|
|
26650
|
+
return (r, s) => (W(), G("div", fx, [
|
|
26651
|
+
N("div", px, [
|
|
26636
26652
|
(W(!0), G(nt, null, ht(r.filterList, (a, o) => (W(), G("button", {
|
|
26637
26653
|
onClick: (l) => i(a.name),
|
|
26638
26654
|
class: Te(["btn filter-item", {
|
|
@@ -26640,14 +26656,14 @@ const qS = () => ({
|
|
|
26640
26656
|
disabled: a.disabled
|
|
26641
26657
|
}]),
|
|
26642
26658
|
key: o
|
|
26643
|
-
}, Ce(a.title), 11,
|
|
26659
|
+
}, Ce(a.title), 11, mx))), 128))
|
|
26644
26660
|
])
|
|
26645
26661
|
]));
|
|
26646
26662
|
}
|
|
26647
|
-
}),
|
|
26663
|
+
}), gR = /* @__PURE__ */ Ye(gx, [["__scopeId", "data-v-cdf25b7c"]]), vx = {
|
|
26648
26664
|
key: 0,
|
|
26649
26665
|
class: "col-4 mb-2"
|
|
26650
|
-
},
|
|
26666
|
+
}, bx = { class: "form-check" }, yx = ["checked", "id", "onChange"], wx = ["for"], Cx = ["innerHTML"], Ex = { class: "col-auto" }, kx = { class: "col-auto ps-0" }, Sx = { class: "col-auto ps-0" }, xx = /* @__PURE__ */ We({
|
|
26651
26667
|
__name: "EditTableColumns",
|
|
26652
26668
|
props: {
|
|
26653
26669
|
title: { default: "Table Data" },
|
|
@@ -26696,8 +26712,8 @@ const qS = () => ({
|
|
|
26696
26712
|
}, {
|
|
26697
26713
|
"modal-body": fi(() => [
|
|
26698
26714
|
(W(!0), G(nt, null, ht(r.value, (p, C) => (W(), G(nt, { key: C }, [
|
|
26699
|
-
p.title ? (W(), G("div",
|
|
26700
|
-
N("div",
|
|
26715
|
+
p.title ? (W(), G("div", vx, [
|
|
26716
|
+
N("div", bx, [
|
|
26701
26717
|
N("input", {
|
|
26702
26718
|
checked: p.visible,
|
|
26703
26719
|
class: "form-check-input",
|
|
@@ -26706,7 +26722,7 @@ const qS = () => ({
|
|
|
26706
26722
|
ref_for: !0,
|
|
26707
26723
|
ref: "editColumns",
|
|
26708
26724
|
onChange: (g) => u(g, p.field)
|
|
26709
|
-
}, null, 40,
|
|
26725
|
+
}, null, 40, yx),
|
|
26710
26726
|
N("label", {
|
|
26711
26727
|
class: "form-check-label",
|
|
26712
26728
|
for: p.field
|
|
@@ -26714,22 +26730,22 @@ const qS = () => ({
|
|
|
26714
26730
|
N("span", {
|
|
26715
26731
|
class: "lh-sm",
|
|
26716
26732
|
innerHTML: p.title
|
|
26717
|
-
}, null, 8,
|
|
26718
|
-
], 8,
|
|
26733
|
+
}, null, 8, Cx)
|
|
26734
|
+
], 8, wx)
|
|
26719
26735
|
])
|
|
26720
26736
|
])) : xe("", !0)
|
|
26721
26737
|
], 64))), 128))
|
|
26722
26738
|
]),
|
|
26723
26739
|
"modal-footer": fi(() => [
|
|
26724
|
-
N("div",
|
|
26740
|
+
N("div", Ex, [
|
|
26725
26741
|
N("button", {
|
|
26726
26742
|
type: "button",
|
|
26727
26743
|
class: "btn btn-primary px-4",
|
|
26728
26744
|
onClick: c
|
|
26729
26745
|
}, Ce(d.applyText), 1)
|
|
26730
26746
|
]),
|
|
26731
|
-
N("div",
|
|
26732
|
-
N("div",
|
|
26747
|
+
N("div", kx, [
|
|
26748
|
+
N("div", Sx, [
|
|
26733
26749
|
a.value ? (W(), G("button", {
|
|
26734
26750
|
key: "select-all",
|
|
26735
26751
|
type: "button",
|
|
@@ -26748,7 +26764,7 @@ const qS = () => ({
|
|
|
26748
26764
|
_: 1
|
|
26749
26765
|
}, 8, ["title", "modal-visibility"]));
|
|
26750
26766
|
}
|
|
26751
|
-
}), Ad = /* @__PURE__ */ Ye(
|
|
26767
|
+
}), Ad = /* @__PURE__ */ Ye(xx, [["__scopeId", "data-v-7c63c539"]]);
|
|
26752
26768
|
function Od(n, e) {
|
|
26753
26769
|
const t = we(!1), i = we([...n]);
|
|
26754
26770
|
Oe(() => n, (k) => {
|
|
@@ -26815,7 +26831,7 @@ function Od(n, e) {
|
|
|
26815
26831
|
resetColumns: d
|
|
26816
26832
|
};
|
|
26817
26833
|
}
|
|
26818
|
-
const
|
|
26834
|
+
const vR = /* @__PURE__ */ We({
|
|
26819
26835
|
__name: "TableColumnsButton",
|
|
26820
26836
|
props: {
|
|
26821
26837
|
columns: {},
|
|
@@ -26866,7 +26882,7 @@ const mR = /* @__PURE__ */ We({
|
|
|
26866
26882
|
}, null, 8, ["title", "modal-visibility", "columns", "apply-text", "select-all-text", "unselect-all-text", "onEmitModalVisibility", "onColumnVisibilityChange", "onSelectAll", "onUnselectAll"])
|
|
26867
26883
|
]));
|
|
26868
26884
|
}
|
|
26869
|
-
}),
|
|
26885
|
+
}), bR = /* @__PURE__ */ We({
|
|
26870
26886
|
__name: "TableColumnsModal",
|
|
26871
26887
|
props: {
|
|
26872
26888
|
columns: {},
|
|
@@ -26917,13 +26933,13 @@ const mR = /* @__PURE__ */ We({
|
|
|
26917
26933
|
}, null, 8, ["title", "modal-visibility", "columns", "apply-text", "select-all-text", "unselect-all-text", "onEmitModalVisibility", "onColumnVisibilityChange", "onSelectAll", "onUnselectAll"])
|
|
26918
26934
|
]));
|
|
26919
26935
|
}
|
|
26920
|
-
}),
|
|
26936
|
+
}), Mx = {
|
|
26921
26937
|
"data-test": "ToggleAllTableRowButtons",
|
|
26922
26938
|
class: "toggle-all-rows-controls"
|
|
26923
|
-
},
|
|
26939
|
+
}, Rx = {
|
|
26924
26940
|
key: 2,
|
|
26925
26941
|
class: "selected-count"
|
|
26926
|
-
},
|
|
26942
|
+
}, Tx = /* @__PURE__ */ We({
|
|
26927
26943
|
__name: "ToggleAllTableRowButtons",
|
|
26928
26944
|
props: {
|
|
26929
26945
|
selectedRows: { default: () => [] },
|
|
@@ -26939,7 +26955,7 @@ const mR = /* @__PURE__ */ We({
|
|
|
26939
26955
|
}, r = () => {
|
|
26940
26956
|
t("unselectAll");
|
|
26941
26957
|
};
|
|
26942
|
-
return (s, a) => (W(), G("div",
|
|
26958
|
+
return (s, a) => (W(), G("div", Mx, [
|
|
26943
26959
|
s.selectedRows.length > 0 ? (W(), G("button", {
|
|
26944
26960
|
key: 0,
|
|
26945
26961
|
class: "btn btn-light me-3",
|
|
@@ -26950,10 +26966,10 @@ const mR = /* @__PURE__ */ We({
|
|
|
26950
26966
|
class: "btn btn-primary me-3",
|
|
26951
26967
|
onClick: i
|
|
26952
26968
|
}, Ce(s.selectAllText), 1)) : xe("", !0),
|
|
26953
|
-
s.showCount ? (W(), G("div",
|
|
26969
|
+
s.showCount ? (W(), G("div", Rx, Ce(s.selectedText) + ": " + Ce(s.selectedRows.length), 1)) : xe("", !0)
|
|
26954
26970
|
]));
|
|
26955
26971
|
}
|
|
26956
|
-
}),
|
|
26972
|
+
}), yR = /* @__PURE__ */ Ye(Tx, [["__scopeId", "data-v-010ff090"]]), Dx = { class: "row pt-3" }, _x = { class: "col-12" }, Ax = ["onClick"], Ox = /* @__PURE__ */ We({
|
|
26957
26973
|
__name: "MultipleQuickFilterComponent",
|
|
26958
26974
|
props: {
|
|
26959
26975
|
filterList: {},
|
|
@@ -26969,8 +26985,8 @@ const mR = /* @__PURE__ */ We({
|
|
|
26969
26985
|
const l = Object.keys(s)[o];
|
|
26970
26986
|
l && s[l] !== void 0 && (a.value = s[l]);
|
|
26971
26987
|
});
|
|
26972
|
-
}, { immediate: !0 }), (s, a) => (W(), G("div",
|
|
26973
|
-
N("div",
|
|
26988
|
+
}, { immediate: !0 }), (s, a) => (W(), G("div", Dx, [
|
|
26989
|
+
N("div", _x, [
|
|
26974
26990
|
(W(!0), G(nt, null, ht(s.filterList, (o, l) => (W(), G("button", {
|
|
26975
26991
|
onClick: (u) => r(l),
|
|
26976
26992
|
class: Te(["btn filter-item", {
|
|
@@ -26978,11 +26994,11 @@ const mR = /* @__PURE__ */ We({
|
|
|
26978
26994
|
disabled: s.filterList[l].disabled
|
|
26979
26995
|
}]),
|
|
26980
26996
|
key: l
|
|
26981
|
-
}, Ce(o.title), 11,
|
|
26997
|
+
}, Ce(o.title), 11, Ax))), 128))
|
|
26982
26998
|
])
|
|
26983
26999
|
]));
|
|
26984
27000
|
}
|
|
26985
|
-
}),
|
|
27001
|
+
}), wR = /* @__PURE__ */ Ye(Ox, [["__scopeId", "data-v-1a1bfba2"]]);
|
|
26986
27002
|
var Fi;
|
|
26987
27003
|
(function(n) {
|
|
26988
27004
|
n.Range = "range", n.Steps = "steps", n.Positions = "positions", n.Count = "count", n.Values = "values";
|
|
@@ -26991,7 +27007,7 @@ var Pt;
|
|
|
26991
27007
|
(function(n) {
|
|
26992
27008
|
n[n.None = -1] = "None", n[n.NoValue = 0] = "NoValue", n[n.LargeValue = 1] = "LargeValue", n[n.SmallValue = 2] = "SmallValue";
|
|
26993
27009
|
})(Pt || (Pt = {}));
|
|
26994
|
-
function
|
|
27010
|
+
function Lx(n) {
|
|
26995
27011
|
return Ar(n) && typeof n.from == "function";
|
|
26996
27012
|
}
|
|
26997
27013
|
function Ar(n) {
|
|
@@ -27006,15 +27022,15 @@ function ga(n) {
|
|
|
27006
27022
|
function jl(n) {
|
|
27007
27023
|
n.preventDefault();
|
|
27008
27024
|
}
|
|
27009
|
-
function
|
|
27025
|
+
function Px(n) {
|
|
27010
27026
|
return n.filter(function(e) {
|
|
27011
27027
|
return this[e] ? !1 : this[e] = !0;
|
|
27012
27028
|
}, {});
|
|
27013
27029
|
}
|
|
27014
|
-
function
|
|
27030
|
+
function Fx(n, e) {
|
|
27015
27031
|
return Math.round(n / e) * e;
|
|
27016
27032
|
}
|
|
27017
|
-
function
|
|
27033
|
+
function Hx(n, e) {
|
|
27018
27034
|
var t = n.getBoundingClientRect(), i = n.ownerDocument, r = i.documentElement, s = Ld(i);
|
|
27019
27035
|
return /webkit.*Chrome.*Mobile/i.test(navigator.userAgent) && (s.x = 0), e ? t.top + s.y - r.clientTop : t.left + s.x - r.clientLeft;
|
|
27020
27036
|
}
|
|
@@ -27032,7 +27048,7 @@ function Yl(n) {
|
|
|
27032
27048
|
function Xr(n) {
|
|
27033
27049
|
return Array.isArray(n) ? n : [n];
|
|
27034
27050
|
}
|
|
27035
|
-
function
|
|
27051
|
+
function Ix(n) {
|
|
27036
27052
|
n = String(n);
|
|
27037
27053
|
var e = n.split(".");
|
|
27038
27054
|
return e.length > 1 ? e[1].length : 0;
|
|
@@ -27043,7 +27059,7 @@ function Tt(n, e) {
|
|
|
27043
27059
|
function fr(n, e) {
|
|
27044
27060
|
n.classList && !/\s/.test(e) ? n.classList.remove(e) : n.className = n.className.replace(new RegExp("(^|\\b)" + e.split(" ").join("|") + "(\\b|$)", "gi"), " ");
|
|
27045
27061
|
}
|
|
27046
|
-
function
|
|
27062
|
+
function Vx(n, e) {
|
|
27047
27063
|
return n.classList ? n.classList.contains(e) : new RegExp("\\b" + e + "\\b").test(n.className);
|
|
27048
27064
|
}
|
|
27049
27065
|
function Ld(n) {
|
|
@@ -27053,7 +27069,7 @@ function Ld(n) {
|
|
|
27053
27069
|
y: r
|
|
27054
27070
|
};
|
|
27055
27071
|
}
|
|
27056
|
-
function
|
|
27072
|
+
function Bx() {
|
|
27057
27073
|
return window.navigator.pointerEnabled ? {
|
|
27058
27074
|
start: "pointerdown",
|
|
27059
27075
|
move: "pointermove",
|
|
@@ -27068,7 +27084,7 @@ function Ix() {
|
|
|
27068
27084
|
end: "mouseup touchend"
|
|
27069
27085
|
};
|
|
27070
27086
|
}
|
|
27071
|
-
function
|
|
27087
|
+
function Nx() {
|
|
27072
27088
|
var n = !1;
|
|
27073
27089
|
try {
|
|
27074
27090
|
var e = Object.defineProperty({}, "passive", {
|
|
@@ -27081,7 +27097,7 @@ function Vx() {
|
|
|
27081
27097
|
}
|
|
27082
27098
|
return n;
|
|
27083
27099
|
}
|
|
27084
|
-
function
|
|
27100
|
+
function zx() {
|
|
27085
27101
|
return window.CSS && CSS.supports && CSS.supports("touch-action", "none");
|
|
27086
27102
|
}
|
|
27087
27103
|
function fo(n, e) {
|
|
@@ -27090,10 +27106,10 @@ function fo(n, e) {
|
|
|
27090
27106
|
function va(n, e, t) {
|
|
27091
27107
|
return e * 100 / (n[t + 1] - n[t]);
|
|
27092
27108
|
}
|
|
27093
|
-
function
|
|
27109
|
+
function jx(n, e) {
|
|
27094
27110
|
return va(n, n[0] < 0 ? e + Math.abs(n[0]) : e - n[0], 0);
|
|
27095
27111
|
}
|
|
27096
|
-
function
|
|
27112
|
+
function Wx(n, e) {
|
|
27097
27113
|
return e * (n[1] - n[0]) / 100 + n[0];
|
|
27098
27114
|
}
|
|
27099
27115
|
function $n(n, e) {
|
|
@@ -27101,23 +27117,23 @@ function $n(n, e) {
|
|
|
27101
27117
|
t += 1;
|
|
27102
27118
|
return t;
|
|
27103
27119
|
}
|
|
27104
|
-
function
|
|
27120
|
+
function Yx(n, e, t) {
|
|
27105
27121
|
if (t >= n.slice(-1)[0])
|
|
27106
27122
|
return 100;
|
|
27107
27123
|
var i = $n(t, n), r = n[i - 1], s = n[i], a = e[i - 1], o = e[i];
|
|
27108
|
-
return a +
|
|
27124
|
+
return a + jx([r, s], t) / fo(a, o);
|
|
27109
27125
|
}
|
|
27110
|
-
function
|
|
27126
|
+
function Ux(n, e, t) {
|
|
27111
27127
|
if (t >= 100)
|
|
27112
27128
|
return n.slice(-1)[0];
|
|
27113
27129
|
var i = $n(t, e), r = n[i - 1], s = n[i], a = e[i - 1], o = e[i];
|
|
27114
|
-
return
|
|
27130
|
+
return Wx([r, s], (t - a) * fo(a, o));
|
|
27115
27131
|
}
|
|
27116
|
-
function
|
|
27132
|
+
function Gx(n, e, t, i) {
|
|
27117
27133
|
if (i === 100)
|
|
27118
27134
|
return i;
|
|
27119
27135
|
var r = $n(i, n), s = n[r - 1], a = n[r];
|
|
27120
|
-
return t ? i - s > (a - s) / 2 ? a : s : e[r - 1] ? n[r - 1] +
|
|
27136
|
+
return t ? i - s > (a - s) / 2 ? a : s : e[r - 1] ? n[r - 1] + Fx(i - n[r - 1], e[r - 1]) : i;
|
|
27121
27137
|
}
|
|
27122
27138
|
var Pd = (
|
|
27123
27139
|
/** @class */
|
|
@@ -27150,11 +27166,11 @@ var Pd = (
|
|
|
27150
27166
|
l = this.xPct[r + 1 + h] - this.xPct[r + h], t[r + h] * a + 100 - s * 100 > 100 ? (u = l * s, a = (o - 100 * s) / t[r + h], s = 1) : (u = t[r + h] * l / 100 * a, a = 0), i ? (c = c - u, this.xPct.length + h >= 1 && h--) : (c = c + u, this.xPct.length - h >= 1 && h++), o = t[r + h] * a;
|
|
27151
27167
|
return e + c;
|
|
27152
27168
|
}, n.prototype.toStepping = function(e) {
|
|
27153
|
-
return e =
|
|
27169
|
+
return e = Yx(this.xVal, this.xPct, e), e;
|
|
27154
27170
|
}, n.prototype.fromStepping = function(e) {
|
|
27155
|
-
return
|
|
27171
|
+
return Ux(this.xVal, this.xPct, e);
|
|
27156
27172
|
}, n.prototype.getStep = function(e) {
|
|
27157
|
-
return e =
|
|
27173
|
+
return e = Gx(this.xPct, this.xSteps, this.snap, e), e;
|
|
27158
27174
|
}, n.prototype.getDefaultStep = function(e, t, i) {
|
|
27159
27175
|
var r = $n(e, this.xPct);
|
|
27160
27176
|
return (e === 100 || t && e === this.xPct[r - 1]) && (r = Math.max(r - 1, 1)), (this.xVal[r] - this.xVal[r - 1]) / i;
|
|
@@ -27178,7 +27194,7 @@ var Pd = (
|
|
|
27178
27194
|
}
|
|
27179
27195
|
};
|
|
27180
27196
|
}, n.prototype.countStepDecimals = function() {
|
|
27181
|
-
var e = this.xNumSteps.map(
|
|
27197
|
+
var e = this.xNumSteps.map(Ix);
|
|
27182
27198
|
return Math.max.apply(null, e);
|
|
27183
27199
|
}, n.prototype.hasNoSize = function() {
|
|
27184
27200
|
return this.xVal[0] === this.xVal[this.xVal.length - 1];
|
|
@@ -27249,49 +27265,49 @@ var Pd = (
|
|
|
27249
27265
|
tooltips: ".__tooltips",
|
|
27250
27266
|
aria: ".__aria"
|
|
27251
27267
|
};
|
|
27252
|
-
function
|
|
27268
|
+
function $x(n, e) {
|
|
27253
27269
|
if (!ni(e))
|
|
27254
27270
|
throw new Error("noUiSlider: 'step' is not numeric.");
|
|
27255
27271
|
n.singleStep = e;
|
|
27256
27272
|
}
|
|
27257
|
-
function
|
|
27273
|
+
function qx(n, e) {
|
|
27258
27274
|
if (!ni(e))
|
|
27259
27275
|
throw new Error("noUiSlider: 'keyboardPageMultiplier' is not numeric.");
|
|
27260
27276
|
n.keyboardPageMultiplier = e;
|
|
27261
27277
|
}
|
|
27262
|
-
function
|
|
27278
|
+
function Kx(n, e) {
|
|
27263
27279
|
if (!ni(e))
|
|
27264
27280
|
throw new Error("noUiSlider: 'keyboardMultiplier' is not numeric.");
|
|
27265
27281
|
n.keyboardMultiplier = e;
|
|
27266
27282
|
}
|
|
27267
|
-
function
|
|
27283
|
+
function Jx(n, e) {
|
|
27268
27284
|
if (!ni(e))
|
|
27269
27285
|
throw new Error("noUiSlider: 'keyboardDefaultStep' is not numeric.");
|
|
27270
27286
|
n.keyboardDefaultStep = e;
|
|
27271
27287
|
}
|
|
27272
|
-
function
|
|
27288
|
+
function Xx(n, e) {
|
|
27273
27289
|
if (typeof e != "object" || Array.isArray(e))
|
|
27274
27290
|
throw new Error("noUiSlider: 'range' is not an object.");
|
|
27275
27291
|
if (e.min === void 0 || e.max === void 0)
|
|
27276
27292
|
throw new Error("noUiSlider: Missing 'min' or 'max' in 'range'.");
|
|
27277
27293
|
n.spectrum = new Pd(e, n.snap || !1, n.singleStep);
|
|
27278
27294
|
}
|
|
27279
|
-
function
|
|
27295
|
+
function Qx(n, e) {
|
|
27280
27296
|
if (e = Xr(e), !Array.isArray(e) || !e.length)
|
|
27281
27297
|
throw new Error("noUiSlider: 'start' option is incorrect.");
|
|
27282
27298
|
n.handles = e.length, n.start = e;
|
|
27283
27299
|
}
|
|
27284
|
-
function
|
|
27300
|
+
function Zx(n, e) {
|
|
27285
27301
|
if (typeof e != "boolean")
|
|
27286
27302
|
throw new Error("noUiSlider: 'snap' option must be a boolean.");
|
|
27287
27303
|
n.snap = e;
|
|
27288
27304
|
}
|
|
27289
|
-
function
|
|
27305
|
+
function eM(n, e) {
|
|
27290
27306
|
if (typeof e != "boolean")
|
|
27291
27307
|
throw new Error("noUiSlider: 'animate' option must be a boolean.");
|
|
27292
27308
|
n.animate = e;
|
|
27293
27309
|
}
|
|
27294
|
-
function
|
|
27310
|
+
function tM(n, e) {
|
|
27295
27311
|
if (typeof e != "number")
|
|
27296
27312
|
throw new Error("noUiSlider: 'animationDuration' option must be a number.");
|
|
27297
27313
|
n.animationDuration = e;
|
|
@@ -27309,7 +27325,7 @@ function Hd(n, e) {
|
|
|
27309
27325
|
}
|
|
27310
27326
|
n.connect = t;
|
|
27311
27327
|
}
|
|
27312
|
-
function
|
|
27328
|
+
function iM(n, e) {
|
|
27313
27329
|
switch (e) {
|
|
27314
27330
|
case "horizontal":
|
|
27315
27331
|
n.ort = 0;
|
|
@@ -27326,13 +27342,13 @@ function Id(n, e) {
|
|
|
27326
27342
|
throw new Error("noUiSlider: 'margin' option must be numeric.");
|
|
27327
27343
|
e !== 0 && (n.margin = n.spectrum.getDistance(e));
|
|
27328
27344
|
}
|
|
27329
|
-
function
|
|
27345
|
+
function nM(n, e) {
|
|
27330
27346
|
if (!ni(e))
|
|
27331
27347
|
throw new Error("noUiSlider: 'limit' option must be numeric.");
|
|
27332
27348
|
if (n.limit = n.spectrum.getDistance(e), !n.limit || n.handles < 2)
|
|
27333
27349
|
throw new Error("noUiSlider: 'limit' option is only supported on linear sliders with 2 or more handles.");
|
|
27334
27350
|
}
|
|
27335
|
-
function
|
|
27351
|
+
function rM(n, e) {
|
|
27336
27352
|
var t;
|
|
27337
27353
|
if (!ni(e) && !Array.isArray(e))
|
|
27338
27354
|
throw new Error("noUiSlider: 'padding' option must be numeric or array of exactly 2 numbers.");
|
|
@@ -27347,7 +27363,7 @@ function iM(n, e) {
|
|
|
27347
27363
|
throw new Error("noUiSlider: 'padding' option must not exceed 100% of the range.");
|
|
27348
27364
|
}
|
|
27349
27365
|
}
|
|
27350
|
-
function
|
|
27366
|
+
function sM(n, e) {
|
|
27351
27367
|
switch (e) {
|
|
27352
27368
|
case "ltr":
|
|
27353
27369
|
n.dir = 0;
|
|
@@ -27359,7 +27375,7 @@ function nM(n, e) {
|
|
|
27359
27375
|
throw new Error("noUiSlider: 'direction' option was not recognized.");
|
|
27360
27376
|
}
|
|
27361
27377
|
}
|
|
27362
|
-
function
|
|
27378
|
+
function aM(n, e) {
|
|
27363
27379
|
if (typeof e != "string")
|
|
27364
27380
|
throw new Error("noUiSlider: 'behaviour' must be a string containing options.");
|
|
27365
27381
|
var t = e.indexOf("tap") >= 0, i = e.indexOf("drag") >= 0, r = e.indexOf("fixed") >= 0, s = e.indexOf("snap") >= 0, a = e.indexOf("hover") >= 0, o = e.indexOf("unconstrained") >= 0, l = e.indexOf("invert-connects") >= 0, u = e.indexOf("drag-all") >= 0, c = e.indexOf("smooth-steps") >= 0;
|
|
@@ -27384,7 +27400,7 @@ function rM(n, e) {
|
|
|
27384
27400
|
invertConnects: l
|
|
27385
27401
|
};
|
|
27386
27402
|
}
|
|
27387
|
-
function
|
|
27403
|
+
function oM(n, e) {
|
|
27388
27404
|
if (e !== !1)
|
|
27389
27405
|
if (e === !0 || Ar(e)) {
|
|
27390
27406
|
n.tooltips = [];
|
|
@@ -27399,35 +27415,35 @@ function sM(n, e) {
|
|
|
27399
27415
|
}), n.tooltips = e;
|
|
27400
27416
|
}
|
|
27401
27417
|
}
|
|
27402
|
-
function
|
|
27418
|
+
function lM(n, e) {
|
|
27403
27419
|
if (e.length !== n.handles)
|
|
27404
27420
|
throw new Error("noUiSlider: must pass a attributes for all handles.");
|
|
27405
27421
|
n.handleAttributes = e;
|
|
27406
27422
|
}
|
|
27407
|
-
function
|
|
27423
|
+
function uM(n, e) {
|
|
27408
27424
|
if (!Ar(e))
|
|
27409
27425
|
throw new Error("noUiSlider: 'ariaFormat' requires 'to' method.");
|
|
27410
27426
|
n.ariaFormat = e;
|
|
27411
27427
|
}
|
|
27412
|
-
function
|
|
27413
|
-
if (!
|
|
27428
|
+
function cM(n, e) {
|
|
27429
|
+
if (!Lx(e))
|
|
27414
27430
|
throw new Error("noUiSlider: 'format' requires 'to' and 'from' methods.");
|
|
27415
27431
|
n.format = e;
|
|
27416
27432
|
}
|
|
27417
|
-
function
|
|
27433
|
+
function dM(n, e) {
|
|
27418
27434
|
if (typeof e != "boolean")
|
|
27419
27435
|
throw new Error("noUiSlider: 'keyboardSupport' option must be a boolean.");
|
|
27420
27436
|
n.keyboardSupport = e;
|
|
27421
27437
|
}
|
|
27422
|
-
function
|
|
27438
|
+
function hM(n, e) {
|
|
27423
27439
|
n.documentElement = e;
|
|
27424
27440
|
}
|
|
27425
|
-
function
|
|
27441
|
+
function fM(n, e) {
|
|
27426
27442
|
if (typeof e != "string" && e !== !1)
|
|
27427
27443
|
throw new Error("noUiSlider: 'cssPrefix' must be a string or `false`.");
|
|
27428
27444
|
n.cssPrefix = e;
|
|
27429
27445
|
}
|
|
27430
|
-
function
|
|
27446
|
+
function pM(n, e) {
|
|
27431
27447
|
if (typeof e != "object")
|
|
27432
27448
|
throw new Error("noUiSlider: 'cssClasses' must be an object.");
|
|
27433
27449
|
typeof n.cssPrefix == "string" ? (n.cssClasses = {}, Object.keys(e).forEach(function(t) {
|
|
@@ -27444,30 +27460,30 @@ function Vd(n) {
|
|
|
27444
27460
|
ariaFormat: Ul,
|
|
27445
27461
|
format: Ul
|
|
27446
27462
|
}, t = {
|
|
27447
|
-
step: { r: !1, t:
|
|
27448
|
-
keyboardPageMultiplier: { r: !1, t:
|
|
27449
|
-
keyboardMultiplier: { r: !1, t:
|
|
27450
|
-
keyboardDefaultStep: { r: !1, t:
|
|
27451
|
-
start: { r: !0, t:
|
|
27463
|
+
step: { r: !1, t: $x },
|
|
27464
|
+
keyboardPageMultiplier: { r: !1, t: qx },
|
|
27465
|
+
keyboardMultiplier: { r: !1, t: Kx },
|
|
27466
|
+
keyboardDefaultStep: { r: !1, t: Jx },
|
|
27467
|
+
start: { r: !0, t: Qx },
|
|
27452
27468
|
connect: { r: !0, t: Hd },
|
|
27453
|
-
direction: { r: !0, t:
|
|
27454
|
-
snap: { r: !1, t:
|
|
27455
|
-
animate: { r: !1, t:
|
|
27456
|
-
animationDuration: { r: !1, t:
|
|
27457
|
-
range: { r: !0, t:
|
|
27458
|
-
orientation: { r: !1, t:
|
|
27469
|
+
direction: { r: !0, t: sM },
|
|
27470
|
+
snap: { r: !1, t: Zx },
|
|
27471
|
+
animate: { r: !1, t: eM },
|
|
27472
|
+
animationDuration: { r: !1, t: tM },
|
|
27473
|
+
range: { r: !0, t: Xx },
|
|
27474
|
+
orientation: { r: !1, t: iM },
|
|
27459
27475
|
margin: { r: !1, t: Id },
|
|
27460
|
-
limit: { r: !1, t:
|
|
27461
|
-
padding: { r: !1, t:
|
|
27462
|
-
behaviour: { r: !0, t:
|
|
27463
|
-
ariaFormat: { r: !1, t:
|
|
27464
|
-
format: { r: !1, t:
|
|
27465
|
-
tooltips: { r: !1, t:
|
|
27466
|
-
keyboardSupport: { r: !0, t:
|
|
27467
|
-
documentElement: { r: !1, t:
|
|
27468
|
-
cssPrefix: { r: !0, t:
|
|
27469
|
-
cssClasses: { r: !0, t:
|
|
27470
|
-
handleAttributes: { r: !1, t:
|
|
27476
|
+
limit: { r: !1, t: nM },
|
|
27477
|
+
padding: { r: !1, t: rM },
|
|
27478
|
+
behaviour: { r: !0, t: aM },
|
|
27479
|
+
ariaFormat: { r: !1, t: uM },
|
|
27480
|
+
format: { r: !1, t: cM },
|
|
27481
|
+
tooltips: { r: !1, t: oM },
|
|
27482
|
+
keyboardSupport: { r: !0, t: dM },
|
|
27483
|
+
documentElement: { r: !1, t: hM },
|
|
27484
|
+
cssPrefix: { r: !0, t: fM },
|
|
27485
|
+
cssClasses: { r: !0, t: pM },
|
|
27486
|
+
handleAttributes: { r: !1, t: lM }
|
|
27471
27487
|
}, i = {
|
|
27472
27488
|
connect: !1,
|
|
27473
27489
|
direction: "ltr",
|
|
@@ -27496,8 +27512,8 @@ function Vd(n) {
|
|
|
27496
27512
|
];
|
|
27497
27513
|
return e.style = o[e.dir][e.ort], e;
|
|
27498
27514
|
}
|
|
27499
|
-
function
|
|
27500
|
-
var i =
|
|
27515
|
+
function mM(n, e, t) {
|
|
27516
|
+
var i = Bx(), r = zx(), s = r && Nx(), a = n, o, l, u, c, h, f, d = e.spectrum, k = [], p = [], C = [], g = 0, m = {}, R = !1, v = n.ownerDocument, M = e.documentElement || v.documentElement, b = v.body, x = v.dir === "rtl" || e.ort === 1 ? 0 : 100;
|
|
27501
27517
|
function w(E, _) {
|
|
27502
27518
|
var P = v.createElement("div");
|
|
27503
27519
|
return _ && Tt(P, _), E.appendChild(P), P;
|
|
@@ -27592,7 +27608,7 @@ function fM(n, e, t) {
|
|
|
27592
27608
|
return Number((Se + He).toFixed(7));
|
|
27593
27609
|
}
|
|
27594
27610
|
var P = F(E), $ = {}, se = d.xVal[0], ue = d.xVal[d.xVal.length - 1], he = !1, pe = !1, be = 0;
|
|
27595
|
-
return P =
|
|
27611
|
+
return P = Px(P.slice().sort(function(Se, He) {
|
|
27596
27612
|
return Se - He;
|
|
27597
27613
|
})), P[0] !== se && (P.unshift(se), he = !0), P[P.length - 1] !== ue && (P.push(ue), pe = !0), P.forEach(function(Se, He) {
|
|
27598
27614
|
var Xe, ze, lt, ct = Se, yt = P[He + 1], pt, Oi, Yi, wi, ei, li, tn, Ui = E.mode === Fi.Steps;
|
|
@@ -27639,7 +27655,7 @@ function fM(n, e, t) {
|
|
|
27639
27655
|
function U(E, _, P, $) {
|
|
27640
27656
|
var se = function(he) {
|
|
27641
27657
|
var pe = V(he, $.pageOffset, $.target || _);
|
|
27642
|
-
if (!pe || H() && !$.doNotReject ||
|
|
27658
|
+
if (!pe || H() && !$.doNotReject || Vx(a, e.cssClasses.tap) && !$.doNotReject || E === i.start && pe.buttons !== void 0 && pe.buttons > 1 || $.hover && pe.buttons)
|
|
27643
27659
|
return !1;
|
|
27644
27660
|
s || pe.preventDefault(), pe.calcPoint = pe.points[e.ort], P(pe, $);
|
|
27645
27661
|
}, ue = [];
|
|
@@ -27671,7 +27687,7 @@ function fM(n, e, t) {
|
|
|
27671
27687
|
return _ = _ || Ld(v), (se || ue) && (he = E.clientX + _.x, pe = E.clientY + _.y), E.pageOffset = _, E.points = [he, pe], E.cursor = se || ue, E;
|
|
27672
27688
|
}
|
|
27673
27689
|
function re(E) {
|
|
27674
|
-
var _ = E -
|
|
27690
|
+
var _ = E - Hx(o, e.ort), P = _ * 100 / oe();
|
|
27675
27691
|
return P = Yl(P), e.dir ? 100 - P : P;
|
|
27676
27692
|
}
|
|
27677
27693
|
function ie(E) {
|
|
@@ -28024,25 +28040,25 @@ function fM(n, e, t) {
|
|
|
28024
28040
|
};
|
|
28025
28041
|
return L;
|
|
28026
28042
|
}
|
|
28027
|
-
function
|
|
28043
|
+
function gM(n, e) {
|
|
28028
28044
|
if (!n || !n.nodeName)
|
|
28029
28045
|
throw new Error("noUiSlider: create requires a single element, got: " + n);
|
|
28030
28046
|
if (n.noUiSlider)
|
|
28031
28047
|
throw new Error("noUiSlider: Slider was already initialized.");
|
|
28032
|
-
var t = Vd(e), i =
|
|
28048
|
+
var t = Vd(e), i = mM(n, t, e);
|
|
28033
28049
|
return n.noUiSlider = i, i;
|
|
28034
28050
|
}
|
|
28035
|
-
const
|
|
28051
|
+
const vM = {
|
|
28036
28052
|
// Exposed for unit testing, don't use this in your application.
|
|
28037
28053
|
__spectrum: Pd,
|
|
28038
28054
|
// A reference to the default classes, allows global changes.
|
|
28039
28055
|
// Use the cssClasses option for changes to one slider.
|
|
28040
28056
|
cssClasses: Fd,
|
|
28041
|
-
create:
|
|
28042
|
-
},
|
|
28057
|
+
create: gM
|
|
28058
|
+
}, bM = { class: "slider-container" }, yM = {
|
|
28043
28059
|
class: "slider-wrapper",
|
|
28044
28060
|
style: { position: "relative" }
|
|
28045
|
-
},
|
|
28061
|
+
}, wM = ["id"], CM = ["value"], EM = ["value"], kM = /* @__PURE__ */ We({
|
|
28046
28062
|
__name: "Slider",
|
|
28047
28063
|
props: {
|
|
28048
28064
|
minCount: { default: 0 },
|
|
@@ -28073,7 +28089,7 @@ const mM = {
|
|
|
28073
28089
|
}
|
|
28074
28090
|
};
|
|
28075
28091
|
try {
|
|
28076
|
-
l =
|
|
28092
|
+
l = vM.create(s.value, {
|
|
28077
28093
|
start: [u.value, c.value],
|
|
28078
28094
|
connect: i.connect,
|
|
28079
28095
|
step: i.step,
|
|
@@ -28137,29 +28153,29 @@ const mM = {
|
|
|
28137
28153
|
destroy: () => {
|
|
28138
28154
|
l && (l.destroy(), l = null);
|
|
28139
28155
|
}
|
|
28140
|
-
}), (p, C) => (W(), G("div",
|
|
28141
|
-
N("div",
|
|
28156
|
+
}), (p, C) => (W(), G("div", bM, [
|
|
28157
|
+
N("div", yM, [
|
|
28142
28158
|
N("div", {
|
|
28143
28159
|
ref_key: "sliderElement",
|
|
28144
28160
|
ref: s,
|
|
28145
28161
|
id: p.sliderId
|
|
28146
|
-
}, null, 8,
|
|
28162
|
+
}, null, 8, wM)
|
|
28147
28163
|
]),
|
|
28148
28164
|
N("input", {
|
|
28149
28165
|
type: "hidden",
|
|
28150
28166
|
ref_key: "minValueRef",
|
|
28151
28167
|
ref: a,
|
|
28152
28168
|
value: p.minValue
|
|
28153
|
-
}, null, 8,
|
|
28169
|
+
}, null, 8, CM),
|
|
28154
28170
|
N("input", {
|
|
28155
28171
|
type: "hidden",
|
|
28156
28172
|
ref_key: "maxValueRef",
|
|
28157
28173
|
ref: o,
|
|
28158
28174
|
value: p.maxValue
|
|
28159
|
-
}, null, 8,
|
|
28175
|
+
}, null, 8, EM)
|
|
28160
28176
|
]));
|
|
28161
28177
|
}
|
|
28162
|
-
}),
|
|
28178
|
+
}), CR = /* @__PURE__ */ Ye(kM, [["__scopeId", "data-v-892dca90"]]), SM = ["title"], xM = /* @__PURE__ */ We({
|
|
28163
28179
|
__name: "QuestionIcon",
|
|
28164
28180
|
props: {
|
|
28165
28181
|
title: { default: "" },
|
|
@@ -28200,7 +28216,7 @@ const mM = {
|
|
|
28200
28216
|
title: u.title,
|
|
28201
28217
|
style: St(r.value),
|
|
28202
28218
|
onClick: o
|
|
28203
|
-
}, null, 14,
|
|
28219
|
+
}, null, 14, SM),
|
|
28204
28220
|
i.value && u.title ? (W(), G("div", {
|
|
28205
28221
|
key: 0,
|
|
28206
28222
|
class: Te(["question-tooltip", a.value])
|
|
@@ -28210,7 +28226,7 @@ const mM = {
|
|
|
28210
28226
|
], 2)) : xe("", !0)
|
|
28211
28227
|
], 512));
|
|
28212
28228
|
}
|
|
28213
|
-
}),
|
|
28229
|
+
}), ER = /* @__PURE__ */ Ye(xM, [["__scopeId", "data-v-2c102103"]]), MM = { class: "container-fluid rounded overflow-hidden bg-light" }, RM = { class: "row w-100" }, TM = { class: "text-secondary" }, DM = { class: "d-flex py-3 px-2 onlyPrint" }, _M = { class: "row w-100" }, AM = { class: "text-secondary" }, OM = { class: "row" }, LM = /* @__PURE__ */ We({
|
|
28214
28230
|
__name: "FilterValuesPanel",
|
|
28215
28231
|
props: {
|
|
28216
28232
|
filterValues: { default: null },
|
|
@@ -28237,17 +28253,17 @@ const mM = {
|
|
|
28237
28253
|
}));
|
|
28238
28254
|
},
|
|
28239
28255
|
{ deep: !0, immediate: !0 }
|
|
28240
|
-
), (s, a) => (W(), G("div",
|
|
28256
|
+
), (s, a) => (W(), G("div", MM, [
|
|
28241
28257
|
N("div", {
|
|
28242
28258
|
style: St({ overflow: "hidden", maxHeight: i.value ? "initial" : "83px" }),
|
|
28243
28259
|
class: "d-flex py-3 px-2 noPrint"
|
|
28244
28260
|
}, [
|
|
28245
|
-
N("div",
|
|
28261
|
+
N("div", RM, [
|
|
28246
28262
|
(W(!0), G(nt, null, ht(r.value, (o, l) => (W(), G("div", {
|
|
28247
28263
|
class: Te(["mb-2", l === r.value.length - 1 ? "col" : "col-auto"]),
|
|
28248
28264
|
key: o.key
|
|
28249
28265
|
}, [
|
|
28250
|
-
N("div",
|
|
28266
|
+
N("div", TM, Ce(o.name) + ":", 1),
|
|
28251
28267
|
N("div", null, [
|
|
28252
28268
|
N("strong", null, Ce(o.value), 1)
|
|
28253
28269
|
])
|
|
@@ -28263,20 +28279,20 @@ const mM = {
|
|
|
28263
28279
|
])])
|
|
28264
28280
|
])
|
|
28265
28281
|
], 4),
|
|
28266
|
-
N("div",
|
|
28267
|
-
N("div",
|
|
28282
|
+
N("div", DM, [
|
|
28283
|
+
N("div", _M, [
|
|
28268
28284
|
(W(!0), G(nt, null, ht(r.value, (o, l) => (W(), G("div", {
|
|
28269
28285
|
class: Te(["mb-2", l === r.value.length - 1 ? "col" : "col-auto"]),
|
|
28270
28286
|
key: o.key
|
|
28271
28287
|
}, [
|
|
28272
|
-
N("div",
|
|
28288
|
+
N("div", AM, Ce(o.name) + ":", 1),
|
|
28273
28289
|
N("div", null, [
|
|
28274
28290
|
N("strong", null, Ce(o.value), 1)
|
|
28275
28291
|
])
|
|
28276
28292
|
], 2))), 128))
|
|
28277
28293
|
])
|
|
28278
28294
|
]),
|
|
28279
|
-
N("div",
|
|
28295
|
+
N("div", OM, [
|
|
28280
28296
|
N("div", {
|
|
28281
28297
|
role: "button",
|
|
28282
28298
|
class: "expand-btn expand-btn-bottom hide-to-print",
|
|
@@ -28293,7 +28309,7 @@ const mM = {
|
|
|
28293
28309
|
])
|
|
28294
28310
|
]));
|
|
28295
28311
|
}
|
|
28296
|
-
}),
|
|
28312
|
+
}), kR = /* @__PURE__ */ Ye(LM, [["__scopeId", "data-v-9dc91069"]]), PM = (n = {}) => {
|
|
28297
28313
|
n.hasOwnProperty("KEY") || (n.KEY = "tables");
|
|
28298
28314
|
const { KEY: e } = n;
|
|
28299
28315
|
function t(a, o) {
|
|
@@ -28313,7 +28329,7 @@ const mM = {
|
|
|
28313
28329
|
return (JSON.parse(o) || {})[a] || null;
|
|
28314
28330
|
}
|
|
28315
28331
|
return { setItemStorage: t, removeItemStorage: r, getItemStorage: s };
|
|
28316
|
-
},
|
|
28332
|
+
}, SR = ({
|
|
28317
28333
|
localStorageKey: n = null,
|
|
28318
28334
|
getAjaxUrl: e,
|
|
28319
28335
|
getAjaxResponse: t,
|
|
@@ -28327,7 +28343,7 @@ const mM = {
|
|
|
28327
28343
|
}),
|
|
28328
28344
|
selectedQuickFilter: o = null
|
|
28329
28345
|
}) => {
|
|
28330
|
-
const l = we({}), u = we(0), c = we(""), h = we(""), f = we({}), d = we(!1), k = we(!1), p = we(!1), C = we(s()), g = we(!1), { setItemStorage: m, removeItemStorage: R, getItemStorage: v } =
|
|
28346
|
+
const l = we({}), u = we(0), c = we(""), h = we(""), f = we({}), d = we(!1), k = we(!1), p = we(!1), C = we(s()), g = we(!1), { setItemStorage: m, removeItemStorage: R, getItemStorage: v } = PM();
|
|
28331
28347
|
async function M() {
|
|
28332
28348
|
C.value = s(), f.value = {};
|
|
28333
28349
|
}
|
|
@@ -28532,7 +28548,7 @@ function mr(n, e, t) {
|
|
|
28532
28548
|
(i) => i.field === e ? { ...i, ...t } : i
|
|
28533
28549
|
);
|
|
28534
28550
|
}
|
|
28535
|
-
const
|
|
28551
|
+
const xR = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
28536
28552
|
__proto__: null,
|
|
28537
28553
|
getColumnByField: Wd,
|
|
28538
28554
|
getVisibleColumns: Nd,
|
|
@@ -28544,7 +28560,7 @@ const kR = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
28544
28560
|
updateColumn: mr,
|
|
28545
28561
|
validateColumns: _n
|
|
28546
28562
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
28547
|
-
function
|
|
28563
|
+
function FM(n) {
|
|
28548
28564
|
const {
|
|
28549
28565
|
initialColumns: e,
|
|
28550
28566
|
localStorageKey: t,
|
|
@@ -28694,7 +28710,7 @@ function LM(n) {
|
|
|
28694
28710
|
syncWithTableOptions: Y
|
|
28695
28711
|
};
|
|
28696
28712
|
}
|
|
28697
|
-
function
|
|
28713
|
+
function MR(n) {
|
|
28698
28714
|
const {
|
|
28699
28715
|
localStorageKey: e,
|
|
28700
28716
|
getColumns: t,
|
|
@@ -28702,7 +28718,7 @@ function SR(n) {
|
|
|
28702
28718
|
tableDefault: r,
|
|
28703
28719
|
onColumnsChange: s,
|
|
28704
28720
|
onApply: a
|
|
28705
|
-
} = n, o =
|
|
28721
|
+
} = n, o = FM({
|
|
28706
28722
|
initialColumns: t(),
|
|
28707
28723
|
localStorageKey: e,
|
|
28708
28724
|
tableOptions: i,
|
|
@@ -28757,7 +28773,7 @@ function SR(n) {
|
|
|
28757
28773
|
setupTableDefaultIntegration: c
|
|
28758
28774
|
};
|
|
28759
28775
|
}
|
|
28760
|
-
function
|
|
28776
|
+
function RR(n) {
|
|
28761
28777
|
const { tableColumns: e, tableOptions: t, tableDefault: i, onApply: r } = n;
|
|
28762
28778
|
function s(o) {
|
|
28763
28779
|
console.log("createColumnHandlers handleColumnsChanged called, received columns:", o), e.value = o, t.value.columns = o, i?.tableOptions && (i.tableOptions.columns = o);
|
|
@@ -28770,7 +28786,7 @@ function xR(n) {
|
|
|
28770
28786
|
handleColumnsApply: a
|
|
28771
28787
|
};
|
|
28772
28788
|
}
|
|
28773
|
-
const
|
|
28789
|
+
const TR = (n = {}) => {
|
|
28774
28790
|
const {
|
|
28775
28791
|
navigate: e = (p) => console.warn("useBreadcrumbs: navigate function not provided"),
|
|
28776
28792
|
translate: t = (p) => p,
|
|
@@ -28826,70 +28842,70 @@ const MR = (n = {}) => {
|
|
|
28826
28842
|
};
|
|
28827
28843
|
export {
|
|
28828
28844
|
eh as AddButton,
|
|
28829
|
-
|
|
28830
|
-
|
|
28845
|
+
JM as AddressForm,
|
|
28846
|
+
XM as AgeFromAgeTo,
|
|
28831
28847
|
jy as BooleanCheckbox,
|
|
28832
|
-
|
|
28833
|
-
|
|
28834
|
-
|
|
28835
|
-
|
|
28836
|
-
|
|
28837
|
-
|
|
28838
|
-
|
|
28839
|
-
|
|
28840
|
-
|
|
28848
|
+
sR as Breadcrumbs,
|
|
28849
|
+
tR as Card,
|
|
28850
|
+
aR as CardInfo,
|
|
28851
|
+
UM as Checkbox,
|
|
28852
|
+
NM as ClearFormButton,
|
|
28853
|
+
IM as CollapseButton,
|
|
28854
|
+
N0 as CollapsedSidebarLink,
|
|
28855
|
+
pR as ColumnSubFilter,
|
|
28856
|
+
QM as ConfirmationModal,
|
|
28841
28857
|
ca as CustomInput,
|
|
28842
|
-
|
|
28858
|
+
uR as DefaultAccordion,
|
|
28843
28859
|
Jl as DefaultButton,
|
|
28844
28860
|
Cd as DefaultDropDown,
|
|
28845
28861
|
Xw as DefaultModal,
|
|
28846
28862
|
Ed as Divider,
|
|
28847
28863
|
Ad as EditTableColumns,
|
|
28848
28864
|
IC as EditTableColumnsModalComponent,
|
|
28849
|
-
|
|
28850
|
-
|
|
28851
|
-
|
|
28852
|
-
|
|
28853
|
-
|
|
28854
|
-
|
|
28865
|
+
lR as ErrorMessageComponent,
|
|
28866
|
+
VM as ExportButton,
|
|
28867
|
+
jM as ExportComponent,
|
|
28868
|
+
kR as FilterValuesPanel,
|
|
28869
|
+
qM as Flatpickr,
|
|
28870
|
+
iR as Footer,
|
|
28855
28871
|
Sn as FormError,
|
|
28856
|
-
|
|
28857
|
-
|
|
28872
|
+
nR as Header,
|
|
28873
|
+
KM as HeaderSearchForm,
|
|
28858
28874
|
vo as Icon,
|
|
28859
|
-
|
|
28875
|
+
cR as KindCheckboxesAccordion,
|
|
28860
28876
|
n0 as Logo,
|
|
28861
|
-
|
|
28862
|
-
|
|
28863
|
-
|
|
28864
|
-
|
|
28865
|
-
|
|
28866
|
-
|
|
28867
|
-
|
|
28868
|
-
|
|
28869
|
-
|
|
28870
|
-
|
|
28877
|
+
rR as MainComponent,
|
|
28878
|
+
GM as MultiCheckbox,
|
|
28879
|
+
$M as MultiInput,
|
|
28880
|
+
wR as MultipleQuickFilterComponent,
|
|
28881
|
+
oR as PageCard,
|
|
28882
|
+
eR as PageTitle,
|
|
28883
|
+
YM as PasswordInput,
|
|
28884
|
+
BM as PrintButton,
|
|
28885
|
+
ER as QuestionIcon,
|
|
28886
|
+
$0 as Sidebar,
|
|
28871
28887
|
S0 as SidebarLink,
|
|
28872
|
-
|
|
28888
|
+
CR as Slider,
|
|
28873
28889
|
Kl as Spinner,
|
|
28874
|
-
|
|
28875
|
-
|
|
28876
|
-
|
|
28877
|
-
|
|
28878
|
-
|
|
28879
|
-
|
|
28880
|
-
|
|
28881
|
-
|
|
28882
|
-
|
|
28883
|
-
|
|
28884
|
-
|
|
28890
|
+
KS as SubFilterToggleBtn,
|
|
28891
|
+
hR as Table,
|
|
28892
|
+
mR as TableAppliedFiltersStorage,
|
|
28893
|
+
vR as TableColumnsButton,
|
|
28894
|
+
bR as TableColumnsModal,
|
|
28895
|
+
fR as TableCount,
|
|
28896
|
+
ZM as TableFilterModalComponent,
|
|
28897
|
+
gR as TableQuickFilterComponent,
|
|
28898
|
+
FE as Toast,
|
|
28899
|
+
yR as ToggleAllTableRowButtons,
|
|
28900
|
+
zM as ToggleButtons,
|
|
28885
28901
|
Vi as VSelect,
|
|
28886
|
-
|
|
28887
|
-
|
|
28888
|
-
|
|
28889
|
-
|
|
28902
|
+
RR as createColumnHandlers,
|
|
28903
|
+
WM as helpers,
|
|
28904
|
+
xR as tableColumnsUtils,
|
|
28905
|
+
TR as useBreadcrumbs,
|
|
28890
28906
|
Od as useTableColumns,
|
|
28891
|
-
|
|
28892
|
-
|
|
28893
|
-
|
|
28894
|
-
|
|
28907
|
+
FM as useTableColumnsEnhanced,
|
|
28908
|
+
MR as useTableColumnsIntegration,
|
|
28909
|
+
SR as useTableDefault,
|
|
28910
|
+
PM as useTableStorage
|
|
28895
28911
|
};
|