@turquoisehealth/pit-viper 2.171.0 → 2.171.1-dev.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +1 -1
- package/pv-components/dist/stats/vue/visualizations/stats.html +1 -1
- package/pv-components/dist/vue/visualizations/pv-components-visualizations.mjs +94 -94
- package/pv-components/dist/vue/visualizations/pv-components-visualizations.mjs.map +1 -1
- package/pv-components/dist/web/pv-components.iife.js +1 -1
- package/pv-components/dist/web/pv-components.iife.js.map +1 -1
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
(function(){"use strict";try{if(typeof document<"u"){var e=document.createElement("style");e.appendChild(document.createTextNode('.pv-scatter-overlay[data-v-
|
|
2
|
-
import { defineComponent as te, createElementBlock as F, openBlock as p, normalizeStyle as De, normalizeClass as le, ref as k, onMounted as tt, onUnmounted as Ha, computed as m, createVNode as W, createCommentVNode as N, unref as R, Fragment as se, createElementVNode as D, createBlock as z, resolveDynamicComponent as st, isRef as Zt, toValue as ea, nextTick as ut, useTemplateRef as yt, renderSlot as Oe, watch as
|
|
1
|
+
(function(){"use strict";try{if(typeof document<"u"){var e=document.createElement("style");e.appendChild(document.createTextNode('.pv-scatter-overlay[data-v-c8314511]{position:absolute;top:0;left:0;width:100%;height:100%;pointer-events:none;z-index:2;display:grid;grid-template-columns:1fr 1fr;grid-template-rows:1fr 1fr}.pv-scatter-quadrant[data-v-c8314511]{display:flex;overflow:hidden}.pv-scatter-quadrant-box[data-v-c8314511]{background:#8080801a;padding:8px;border-radius:4px;font-size:12px;font-weight:600;color:#666;pointer-events:all;max-width:calc(100% - 10px);max-height:calc(100% - 10px);overflow:auto}.pv-scatter-quadrant-top-left[data-v-c8314511]{grid-column:1;grid-row:1;align-items:flex-start;justify-content:flex-start;padding:5px}.pv-scatter-quadrant-top-right[data-v-c8314511]{grid-column:2;grid-row:1;align-items:flex-start;justify-content:flex-end;padding:5px}.pv-scatter-quadrant-bottom-left[data-v-c8314511]{grid-column:1;grid-row:2;align-items:flex-end;justify-content:flex-start;padding:5px}.pv-scatter-quadrant-bottom-right[data-v-c8314511]{grid-column:2;grid-row:2;align-items:flex-end;justify-content:flex-end;padding:5px}.pv-chart-loading[data-v-c8314511]{position:absolute;text-align:center;justify-content:center;align-items:center;top:0;left:0;width:100%;height:100%;opacity:1;background-color:#fff;z-index:4}.pv-chart-loading-icon[data-v-c8314511]{color:#16696d;animation:pulse-c8314511 1.5s infinite ease-in-out}@keyframes pulse-c8314511{0%{opacity:1;transform:scale(1)}50%{opacity:.6;transform:scale(1.05)}to{opacity:1;transform:scale(1)}}.pv-popover-list[data-v-cda1af8c]{font-size:14px}.pv-icon-button[data-v-79a7def3]{background-color:transparent;border:none}.pv-icon-button[data-v-79a7def3]:hover{cursor:pointer;color:#176f6f}.pv-select[data-v-79a7def3]{padding-top:4px;padding-bottom:4px}.pv-badge-md[data-v-fc3c1104]{--inset-size: 2px 2px;min-height:20px;max-height:20px;min-width:20px;font-weight:500}.pv-badge-sm[data-v-fc3c1104]{--inset-size: 0 2px;min-height:16px;max-height:16px;min-width:16px;font-weight:500}.pv-surface-lighten-5[data-v-fc3c1104]{background-color:#e0e5e4}.pv-text-secondary[data-v-fc3c1104]{color:#4b595c}.pv-menu-action-button[data-v-6a2265bf]{opacity:0;transition:opacity .2s ease}.pv-label:hover .pv-menu-action-button[data-v-6a2265bf]{opacity:1}.pv-menu-item-disabled[data-v-b732541e]{pointer-events:none;background:#ececec}.pv-menu-item[data-v-b732541e]{cursor:pointer}.pv-menu-item-disabled[data-v-d9ecf7c1]{pointer-events:none;background:#ececec}.pv-menu-item[data-v-d9ecf7c1]{cursor:pointer}.pv-text-tertiary[data-v-4e159eee]{color:#6e8081}.pv-query-builder-input-wrapper[data-v-45a7f6e6]{display:flex;align-items:center;position:relative;width:100%;background:#f7f8f8;padding:.25rem;border-radius:.5rem;border:2px solid transparent;font-size:.75rem;min-height:2.25rem;cursor:text}.pv-query-builder-input[data-v-45a7f6e6]{justify-content:start;overflow-x:hidden}.pv-query-builder-input-wrapper input[data-v-45a7f6e6]{border:none;background:transparent;outline:none;font-size:.75rem}.pv-query-builder-input-wrapper[data-v-45a7f6e6]:focus-within{border:2px solid #36c5ba}.pv-table-row-count{position:absolute;right:12px;top:6px;opacity:1;background-color:#f7f8f8;transition:opacity .3s ease}.pv-table-group-cell:hover .pv-table-row-count{opacity:0}.pv-table-row-number{padding:8px 12px 8px 0;text-align:center;color:#89989b}.suggested-label[data-v-c2c888fb]:hover{color:#16696d}.suggested-title-label[data-v-c2c888fb]:hover{text-decoration:underline;color:#0d5256}.ag-custom-header-cell[data-v-9a0f71b4]{height:100%;align-items:center}.ag-header-actions .ag-header-cell-menu-button[data-v-9a0f71b4]{opacity:0;transition:opacity .2s ease-in-out}.ag-header-cell-menu-button:hover .ag-header-actions .ag-header-cell-menu-button[data-v-9a0f71b4]{opacity:1}.ag-header-cell-menu-button:focus .ag-header-actions .ag-header-cell-menu-button[data-v-9a0f71b4]{opacity:1}.pv-table-row-number[data-v-686928ce]{padding:8px 12px 8px 0;text-align:center;color:#89989b}.pv-table-overlay{position:absolute;z-index:2;background:#fff;width:100%;height:calc(100% - 40px);top:80px;pointer-events:none}.pv-data-table .ag-header-cell-resize{border:none!important}.pv-data-table .ag-cell-inline-editing .ag-cell-editor{height:100%!important}.pv-data-table .ag-rich-select-value{min-height:100%!important}.pv-data-table .ag-row-group-leaf-indent{padding-left:7px;margin-left:0}.pv-data-table .ag-custom-loading-cell{width:100%;height:40%;margin:15px;background-color:#ccc;border-radius:4px}.pv-data-table .ag-group-value{width:100%}.pv-data-table .ag-menu-option:hover{background-color:#f7f8f8}.pv-data-table .ag-menu-option-shortcut{color:#89989b}.pv-data-table .ag-menu-option:active{background-color:#e8f2f4}.pv-data-table .ag-menu-option-text{font-family:Inter,sans-serif}.pv-data-table .ag-header-cell-menu-button:hover{box-shadow:unset!important}.pv-data-table .ag-button{border-radius:4px!important;font-size:12px!important;padding:3px 8px!important}.pv-data-table-grouped-card .ag-body-horizontal-scroll{display:none!important}.pv-data-table-grouped-card .ag-header-cell-resize{opacity:0;transition:opacity .2s ease}.pv-data-table-grouped-card .ag-header-cell:hover .ag-header-cell-resize{opacity:1}.pv-data-table-grouped-card .ag-row-group-contracted{background:linear-gradient(to bottom,#fff 5px,#f7f8f8 5px calc(100% - 5px),#fff calc(100% - 5px))!important}.pv-data-table-grouped-card .ag-row-group-expanded{background:linear-gradient(to bottom,#fff 5px,#f7f8f8 5px)!important}.pv-data-table-grouped-card .ag-row-group-contracted .ag-cell{border:none!important;align-items:center!important;padding-top:5px!important;padding-bottom:5px!important}.pv-data-table-grouped-card .ag-row-group-expanded .ag-cell{border:none!important;align-items:center!important;padding-top:5px!important;padding-bottom:0!important}.pv-data-table-grouped-card .ag-row-group-contracted .ag-cell-wrapper,.pv-data-table-grouped-card .ag-row-group-expanded .ag-cell-wrapper{align-items:center!important;height:100%!important}.pv-data-table-grouped-card .ag-row-group-contracted .ag-cell-value,.pv-data-table-grouped-card .ag-row-group-expanded .ag-cell-value{height:100%!important}.pv-data-table-grouped-card .ag-row:not(.ag-row-group-contracted):not(.ag-row-group-expanded){border-bottom:1px solid #e0e0e0!important;border-left:1px solid #e0e0e0!important;border-right:1px solid #e0e0e0!important}.pv-data-table-grouped-card .ag-row-group-contracted:after{content:"";position:absolute;inset:5px 0;border:1px solid #e0e0e0;border-radius:4px;pointer-events:none}.pv-data-table-grouped-card .ag-row-group-expanded:after{content:"";position:absolute;inset:5px 0 0;border:1px solid #e0e0e0;border-radius:4px 4px 0 0;pointer-events:none}.pv-data-table-grouped-card .ag-row-group-contracted:hover,.pv-data-table-grouped-card .ag-row-group-expanded:hover{background:linear-gradient(to bottom,#fff 5px,#eef0f0 5px calc(100% - 5px),#fff calc(100% - 5px))!important}.pv-data-table-grouped-card .ag-row-group-expanded:hover{background:linear-gradient(to bottom,#fff 5px,#eef0f0 5px)!important}.pv-data-table-grouped-card .ag-row:not(.ag-row-group-contracted):not(.ag-row-group-expanded):hover{background-color:#f7f8f8!important}.pv-data-table-grouped-card .ag-group-value{height:100%}.pv-text-tertiary[data-v-08e3ce8f]{color:#89989b}.pv-button-placeholder[data-v-08e3ce8f]{height:24px;width:24px}.pv-sort-option[data-v-08e3ce8f]{--flex-gap: 4px;cursor:grab;min-height:24px}.pv-menu-item-disabled[data-v-08e3ce8f]{pointer-events:none;color:#7d898d}.placeholder-zone[data-v-08e3ce8f]{transition:background-color .2s ease}.pv-placeholder-dropzone[data-v-08e3ce8f]{padding:8px 4px;border-style:dashed!important;border-color:#e3e7ea!important;justify-content:center;align-items:center;transition:all .2s ease}.placeholder-zone.placeholder-drag-over .pv-placeholder-dropzone[data-v-08e3ce8f]{border-color:#16696d!important;background:#f0f9f9}.sort-divider-container[data-v-08e3ce8f]{display:flex}.sort-divider[data-v-08e3ce8f]{position:relative;border-top:1px solid #e3e7ea;margin:1rem 0;flex:1}.sort-divider[data-v-08e3ce8f]:after{content:attr(data-label);display:inline-block;position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);background:#fff;padding:0 .5em;font-size:inherit;white-space:nowrap}.pv-menu-nested[data-v-1c39bed1]:after{content:"›"}.pv-tooltip a[data-v-1c39bed1]{color:inherit}.pv-chart-option[data-v-1c39bed1]{min-width:150px;max-width:225px}.pv-chart-overlay{position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);pointer-events:none}.ag-charts-tooltip{background-color:#fffffff2}.ag-charts-floating-toolbar{display:none!important}')),document.head.appendChild(e)}}catch(t){console.error("vite-plugin-css-injected-by-js",t)}})();
|
|
2
|
+
import { defineComponent as te, createElementBlock as F, openBlock as p, normalizeStyle as De, normalizeClass as le, ref as k, onMounted as tt, onUnmounted as Ha, computed as m, createVNode as W, createCommentVNode as N, unref as R, Fragment as se, createElementVNode as D, createBlock as z, resolveDynamicComponent as st, isRef as Zt, toValue as ea, nextTick as ut, useTemplateRef as yt, renderSlot as Oe, watch as re, withDirectives as et, createTextVNode as qe, Teleport as Ml, withCtx as fe, getCurrentInstance as hn, toDisplayString as X, useSlots as nr, onBeforeUnmount as ja, withModifiers as Jt, shallowRef as Xn, getCurrentScope as lr, onScopeDispose as ar, shallowReadonly as Ht, mergeModels as Ve, useModel as Pe, vShow as En, renderList as Ke, createSlots as Lt, vModelText as $l, readonly as or, mergeProps as Ye, normalizeProps as kt, guardReactiveProps as fn, inject as ge, resolveComponent as rr, provide as we, vModelDynamic as ir, vModelCheckbox as sr, toRef as ta, onBeforeMount as Ol } from "vue";
|
|
3
3
|
import { AgCharts as ur } from "ag-charts-vue3";
|
|
4
4
|
import { LicenseManager as cr } from "ag-charts-enterprise";
|
|
5
5
|
import { AgGridVue as dr } from "ag-grid-vue3";
|
|
@@ -250,7 +250,7 @@ const yi = { style: { position: "relative" } }, bi = {
|
|
|
250
250
|
const M = b.xKey || "", I = b.xName || b.datum[M], P = b.yKey, S = b.datum[P];
|
|
251
251
|
let V = String(I) || "";
|
|
252
252
|
const O = (w.value?.axes || []).find((B) => B.type === "category");
|
|
253
|
-
if (O && O.label && O.label.formatter && (V = O.label.formatter({ value: I, datum: b.datum }) || V), S == null || S === jt)
|
|
253
|
+
if (O && O.label && O.label.formatter && (V = O.label.formatter({ value: I, datum: b.datum, context: "tooltip" }) || V), S == null || S === jt)
|
|
254
254
|
return {
|
|
255
255
|
heading: V,
|
|
256
256
|
data: []
|
|
@@ -381,7 +381,7 @@ const yi = { style: { position: "relative" } }, bi = {
|
|
|
381
381
|
for (const [l, o] of t)
|
|
382
382
|
n[l] = o;
|
|
383
383
|
return n;
|
|
384
|
-
}, Ja = /* @__PURE__ */ Ue(Oi, [["__scopeId", "data-v-
|
|
384
|
+
}, Ja = /* @__PURE__ */ Ue(Oi, [["__scopeId", "data-v-c8314511"]]);
|
|
385
385
|
function Pi(e, t, n = {}) {
|
|
386
386
|
let l;
|
|
387
387
|
const { document: o = Zr, ...a } = n, r = {
|
|
@@ -494,7 +494,7 @@ const Li = ["data-align"], Vi = /* @__PURE__ */ te({
|
|
|
494
494
|
};
|
|
495
495
|
t({
|
|
496
496
|
closeDropdown: y
|
|
497
|
-
}),
|
|
497
|
+
}), re(a, (b) => {
|
|
498
498
|
b ? ut(() => {
|
|
499
499
|
d(), o("dropdown-open");
|
|
500
500
|
}) : o("dropdown-closed");
|
|
@@ -731,7 +731,7 @@ function Yi(e, t = {}) {
|
|
|
731
731
|
characterData: !0
|
|
732
732
|
}));
|
|
733
733
|
};
|
|
734
|
-
return tt(g), ja(y),
|
|
734
|
+
return tt(g), ja(y), re(
|
|
735
735
|
() => R(n),
|
|
736
736
|
() => {
|
|
737
737
|
i.value && g();
|
|
@@ -1734,11 +1734,11 @@ function js(e, t, n) {
|
|
|
1734
1734
|
function V() {
|
|
1735
1735
|
o.value || (w.value = !1);
|
|
1736
1736
|
}
|
|
1737
|
-
return
|
|
1737
|
+
return re([a, r, i, o], I, {
|
|
1738
1738
|
flush: "sync"
|
|
1739
|
-
}),
|
|
1739
|
+
}), re([c, d], S, {
|
|
1740
1740
|
flush: "sync"
|
|
1741
|
-
}),
|
|
1741
|
+
}), re(o, V, {
|
|
1742
1742
|
flush: "sync"
|
|
1743
1743
|
}), lr() && ar(P), {
|
|
1744
1744
|
x: Ht(f),
|
|
@@ -1796,13 +1796,13 @@ const Ks = { style: { width: "fit-content" } }, El = /* @__PURE__ */ te({
|
|
|
1796
1796
|
strategy: t.positioningStrategy,
|
|
1797
1797
|
middleware: c
|
|
1798
1798
|
});
|
|
1799
|
-
|
|
1799
|
+
re(n, (P) => {
|
|
1800
1800
|
P && o.value && a.value && f();
|
|
1801
1801
|
});
|
|
1802
1802
|
const h = ni(o), y = la(() => {
|
|
1803
1803
|
n.value && f();
|
|
1804
1804
|
}, 5);
|
|
1805
|
-
|
|
1805
|
+
re([h.top, h.left, h.width, h.height], y);
|
|
1806
1806
|
const x = m(() => ({
|
|
1807
1807
|
...d.value,
|
|
1808
1808
|
zIndex: t.zIndex ?? 10
|
|
@@ -1819,7 +1819,7 @@ const Ks = { style: { width: "fit-content" } }, El = /* @__PURE__ */ te({
|
|
|
1819
1819
|
}, I = () => {
|
|
1820
1820
|
t.disableClickOutsideToClose || g(!1);
|
|
1821
1821
|
};
|
|
1822
|
-
return
|
|
1822
|
+
return re(b, (P) => {
|
|
1823
1823
|
t.showOnHover && g(P);
|
|
1824
1824
|
}), (P, S) => et((p(), F("div", Ks, [
|
|
1825
1825
|
D("div", {
|
|
@@ -1935,7 +1935,7 @@ const Zs = {
|
|
|
1935
1935
|
})), a = m(() => ({
|
|
1936
1936
|
width: l.value
|
|
1937
1937
|
})), r = m(() => t.toCamelCase ? Xs(t.name) + ".svg" : t.name + ".svg"), i = m(() => t.srcPathOverride ? t.srcPathOverride : `${t.basePath}/${r.value}`);
|
|
1938
|
-
return
|
|
1938
|
+
return re(i, () => {
|
|
1939
1939
|
n.value = !0;
|
|
1940
1940
|
}), (u, c) => (p(), F("div", Zs, [
|
|
1941
1941
|
n.value ? (p(), F("div", {
|
|
@@ -1978,7 +1978,7 @@ const Zs = {
|
|
|
1978
1978
|
emits: ["update:modelValue"],
|
|
1979
1979
|
setup(e) {
|
|
1980
1980
|
const t = e, n = yt("dialog"), l = Pe(e, "modelValue");
|
|
1981
|
-
|
|
1981
|
+
re(
|
|
1982
1982
|
() => l.value,
|
|
1983
1983
|
() => {
|
|
1984
1984
|
l.value ? n.value?.showModal() : n.value?.close();
|
|
@@ -2683,7 +2683,7 @@ function Nu(e) {
|
|
|
2683
2683
|
return A?.(Y, {
|
|
2684
2684
|
name: ee
|
|
2685
2685
|
});
|
|
2686
|
-
}, T?.(ee)), !n.value && (_ =
|
|
2686
|
+
}, T?.(ee)), !n.value && (_ = re(l, function(Y) {
|
|
2687
2687
|
o.value.textContent = Y, $?.(ee);
|
|
2688
2688
|
}, {
|
|
2689
2689
|
immediate: !0
|
|
@@ -3146,7 +3146,7 @@ const sc = {
|
|
|
3146
3146
|
}, u = () => {
|
|
3147
3147
|
o?.value?.removeAttribute("open"), r.value = !1;
|
|
3148
3148
|
};
|
|
3149
|
-
return
|
|
3149
|
+
return re(
|
|
3150
3150
|
() => r.value,
|
|
3151
3151
|
() => {
|
|
3152
3152
|
r.value ? o?.value?.setAttribute("open", "true") : o?.value?.removeAttribute("open");
|
|
@@ -3462,7 +3462,7 @@ const ko = /* @__PURE__ */ Ue(Fc, [["render", kc]]), Mc = ["data-style"], $c = [
|
|
|
3462
3462
|
};
|
|
3463
3463
|
return tt(() => {
|
|
3464
3464
|
i();
|
|
3465
|
-
}),
|
|
3465
|
+
}), re(
|
|
3466
3466
|
() => t.queryText,
|
|
3467
3467
|
() => {
|
|
3468
3468
|
i();
|
|
@@ -3720,7 +3720,7 @@ const Ec = ["data-testid"], Nc = ["hidden", "type", "checked", "indeterminate",
|
|
|
3720
3720
|
emits: /* @__PURE__ */ Ve(["handle-selected"], ["update:selectedItems"]),
|
|
3721
3721
|
setup(e, { emit: t }) {
|
|
3722
3722
|
const n = e, l = t, o = Pe(e, "selectedItems"), a = Xn(o.value);
|
|
3723
|
-
|
|
3723
|
+
re(o, (d) => {
|
|
3724
3724
|
a.value = d;
|
|
3725
3725
|
}), we("selectedItems", a), we(
|
|
3726
3726
|
"enableCascadeSelection",
|
|
@@ -3845,12 +3845,12 @@ const Ec = ["data-testid"], Nc = ["hidden", "type", "checked", "indeterminate",
|
|
|
3845
3845
|
const L = n.size === "lg" ? 24 : 30;
|
|
3846
3846
|
return n.overlayTrigger ? -L : void 0;
|
|
3847
3847
|
});
|
|
3848
|
-
|
|
3848
|
+
re(
|
|
3849
3849
|
() => u.value,
|
|
3850
3850
|
(L) => {
|
|
3851
3851
|
x.value = L;
|
|
3852
3852
|
}
|
|
3853
|
-
),
|
|
3853
|
+
), re(r, (L) => {
|
|
3854
3854
|
L ? (y(), ut(() => {
|
|
3855
3855
|
n.overlayTrigger && !n.disableSearchInput && a.value?.input?.focus(), o("dropdown-open");
|
|
3856
3856
|
})) : (y(), o("dropdown-closed"));
|
|
@@ -4026,7 +4026,7 @@ const Ec = ["data-testid"], Nc = ["hidden", "type", "checked", "indeterminate",
|
|
|
4026
4026
|
variant: n.optionsVariant,
|
|
4027
4027
|
counterBadgeVariant: n.counterBadgeVariant
|
|
4028
4028
|
})), o = t, [a] = Ka(n.defaultOpen), r = Pe(e, "modelValue"), i = Pe(e, "searchInput");
|
|
4029
|
-
|
|
4029
|
+
re(a, (w) => {
|
|
4030
4030
|
o(w ? "dropdown-open" : "dropdown-closed");
|
|
4031
4031
|
});
|
|
4032
4032
|
const u = m(() => r.value && r.value.text ? r.value.text : n.label), c = m(() => {
|
|
@@ -4301,7 +4301,7 @@ const $o = () => {
|
|
|
4301
4301
|
context: O.queryTerm
|
|
4302
4302
|
}));
|
|
4303
4303
|
});
|
|
4304
|
-
|
|
4304
|
+
re(
|
|
4305
4305
|
[b, o, () => t.optionsLoading],
|
|
4306
4306
|
([T, O, $]) => {
|
|
4307
4307
|
O && O.length > 0 && (T.length > 0 || $) ? c.value = !0 : (!O || O.length === 0) && (c.value = !1);
|
|
@@ -4424,7 +4424,7 @@ const Hl = Symbol("FilterStoreKey"), Kn = Symbol("FocusStoreKey"), Oo = Symbol("
|
|
|
4424
4424
|
},
|
|
4425
4425
|
setup(e) {
|
|
4426
4426
|
const t = ge(Gt, k(null)), n = ge(ol, k([])), l = ge(rl, k([])), o = e;
|
|
4427
|
-
|
|
4427
|
+
re(
|
|
4428
4428
|
l,
|
|
4429
4429
|
// Directly watch the ref
|
|
4430
4430
|
() => {
|
|
@@ -5543,7 +5543,7 @@ const Wl = (e) => {
|
|
|
5543
5543
|
}, lt = () => {
|
|
5544
5544
|
L.value = "";
|
|
5545
5545
|
};
|
|
5546
|
-
return
|
|
5546
|
+
return re(
|
|
5547
5547
|
() => c.value,
|
|
5548
5548
|
() => {
|
|
5549
5549
|
ce() > (d.value[A.value] || 0) && Ge(!0);
|
|
@@ -5556,7 +5556,7 @@ const Wl = (e) => {
|
|
|
5556
5556
|
$.value && !K ? (Ge(), $.value = !1) : K && ($.value = !0);
|
|
5557
5557
|
},
|
|
5558
5558
|
{ deep: !0 }
|
|
5559
|
-
),
|
|
5559
|
+
), re(
|
|
5560
5560
|
() => i.value,
|
|
5561
5561
|
() => {
|
|
5562
5562
|
if (_.value) {
|
|
@@ -5586,7 +5586,7 @@ const Wl = (e) => {
|
|
|
5586
5586
|
console.error(`Staged filter model update for filter type ${B.value} is not yet supported.`);
|
|
5587
5587
|
}
|
|
5588
5588
|
}
|
|
5589
|
-
),
|
|
5589
|
+
), re(
|
|
5590
5590
|
() => r.value,
|
|
5591
5591
|
() => {
|
|
5592
5592
|
if (_.value) return;
|
|
@@ -5609,19 +5609,19 @@ const Wl = (e) => {
|
|
|
5609
5609
|
ke(J);
|
|
5610
5610
|
},
|
|
5611
5611
|
{ deep: !0 }
|
|
5612
|
-
),
|
|
5612
|
+
), re(
|
|
5613
5613
|
() => u.value,
|
|
5614
5614
|
() => {
|
|
5615
5615
|
T.value = [];
|
|
5616
5616
|
}
|
|
5617
|
-
),
|
|
5617
|
+
), re(
|
|
5618
5618
|
() => S.value,
|
|
5619
5619
|
async () => {
|
|
5620
5620
|
_.value ? setTimeout(async () => {
|
|
5621
5621
|
await Ge(!0);
|
|
5622
5622
|
}, 2e3) : await Ge(!0), ke();
|
|
5623
5623
|
}
|
|
5624
|
-
),
|
|
5624
|
+
), re(
|
|
5625
5625
|
() => T.value,
|
|
5626
5626
|
(K) => {
|
|
5627
5627
|
w(A.value, K);
|
|
@@ -6183,7 +6183,7 @@ const Wl = (e) => {
|
|
|
6183
6183
|
}, T = () => {
|
|
6184
6184
|
r.value && o.params.progressSort(!1);
|
|
6185
6185
|
};
|
|
6186
|
-
|
|
6186
|
+
re(w, ($) => {
|
|
6187
6187
|
if (!$) return;
|
|
6188
6188
|
const L = o.params.column.getAggFunc();
|
|
6189
6189
|
if ($.id === L) return;
|
|
@@ -6648,11 +6648,11 @@ const Wl = (e) => {
|
|
|
6648
6648
|
}
|
|
6649
6649
|
L.value = !0;
|
|
6650
6650
|
const v = s.success, C = s.fail, E = s.request.groupKeys?.length || 0, q = s.request.rowGroupCols?.length || 0, U = E === q;
|
|
6651
|
-
let
|
|
6651
|
+
let oe = !1;
|
|
6652
6652
|
const Q = j.value;
|
|
6653
6653
|
if (q > 0 && E === 0) {
|
|
6654
6654
|
const ie = s.request.rowGroupCols[0].id;
|
|
6655
|
-
|
|
6655
|
+
oe = Yo(Q, ie);
|
|
6656
6656
|
}
|
|
6657
6657
|
if (s.request.rowGroupCols = Ko(s.request.rowGroupCols, s.api.getColumnDefs?.()), (s.request.groupKeys?.length || 0) > 0) {
|
|
6658
6658
|
const ie = s.parentNode?.data;
|
|
@@ -6715,7 +6715,7 @@ const Wl = (e) => {
|
|
|
6715
6715
|
}
|
|
6716
6716
|
if (s.request.rowGroupCols?.length === 0 ? s.request.valueCols = [] : s.request.valueCols = s.request.valueCols?.filter(
|
|
6717
6717
|
(ie) => !s.request.rowGroupCols?.some((be) => be.id === ie.id)
|
|
6718
|
-
), (U ||
|
|
6718
|
+
), (U || oe) && !ve.tableSearchFilterModelEmpty.value)
|
|
6719
6719
|
if (a.enableAdvancedFilter) {
|
|
6720
6720
|
const ie = s.request.filterModel;
|
|
6721
6721
|
ie ? s.request.filterModel = {
|
|
@@ -6841,12 +6841,12 @@ const Wl = (e) => {
|
|
|
6841
6841
|
const Ct = m(() => a.enableAdvancedFilter);
|
|
6842
6842
|
we(il, Ct);
|
|
6843
6843
|
const nt = m(() => !a.enableFocusView && !a.rowData || a.enableFocusView && !ce.value.length && !ue.value ? a.rowData : Va(a.rowData, ue.value, ce.value));
|
|
6844
|
-
|
|
6844
|
+
re(
|
|
6845
6845
|
() => ce.value,
|
|
6846
6846
|
(s) => {
|
|
6847
6847
|
f("focus-update", { filterField: ue.value, focuses: s });
|
|
6848
6848
|
}
|
|
6849
|
-
),
|
|
6849
|
+
), re(h, (s) => {
|
|
6850
6850
|
if (!_.value) return;
|
|
6851
6851
|
const v = S.filter((C) => C.context?.devOnly).map((C) => C.field).filter(Boolean);
|
|
6852
6852
|
v.length > 0 && _.value.setColumnsVisible(v, s);
|
|
@@ -6910,7 +6910,7 @@ const Wl = (e) => {
|
|
|
6910
6910
|
}
|
|
6911
6911
|
const E = a.serverSideRowHandler;
|
|
6912
6912
|
return E ? await new Promise((q, U) => {
|
|
6913
|
-
const
|
|
6913
|
+
const oe = _.value?.getState(), Q = {
|
|
6914
6914
|
request: C,
|
|
6915
6915
|
parentNode: {},
|
|
6916
6916
|
api: _.value,
|
|
@@ -6965,15 +6965,15 @@ const Wl = (e) => {
|
|
|
6965
6965
|
ut(() => {
|
|
6966
6966
|
const v = ze.value, C = s.api.getRowGroupColumns(), E = C.length > 0;
|
|
6967
6967
|
let q;
|
|
6968
|
-
if (E && a.leftPinnedColumnName && (q = s.api.getColumn(a.leftPinnedColumnName || "")), E && !a.leftPinnedColumnName && (q = C.find((
|
|
6969
|
-
const
|
|
6970
|
-
|
|
6968
|
+
if (E && a.leftPinnedColumnName && (q = s.api.getColumn(a.leftPinnedColumnName || "")), E && !a.leftPinnedColumnName && (q = C.find((oe) => !oe.getColDef().hide), !q)) {
|
|
6969
|
+
const oe = S.find((Q) => !Q.hide && !Q.rowGroup)?.field;
|
|
6970
|
+
oe && (q = s.api.getColumn(oe));
|
|
6971
6971
|
}
|
|
6972
6972
|
q ? (ze.value = q, an(q.getColDef()), s.api.setColumnsVisible([q.getColId()], !1)) : (ze.value = null, an(null));
|
|
6973
6973
|
const U = v?.getColId();
|
|
6974
|
-
if ((!q || U !== q.getColId()) && (v?.getColDef()?.hide || s.api.setColumnsVisible([U || ""], !0)), O.value = [...C].map((
|
|
6975
|
-
const
|
|
6976
|
-
G.setFocusType(
|
|
6974
|
+
if ((!q || U !== q.getColId()) && (v?.getColDef()?.hide || s.api.setColumnsVisible([U || ""], !0)), O.value = [...C].map((oe) => oe.getColId()), a.enableFocusView && !ne) {
|
|
6975
|
+
const oe = O.value.length > 0 ? O.value[0] : null;
|
|
6976
|
+
G.setFocusType(oe);
|
|
6977
6977
|
}
|
|
6978
6978
|
$.value && f("column-row-group-changed", s);
|
|
6979
6979
|
});
|
|
@@ -7068,7 +7068,7 @@ const Wl = (e) => {
|
|
|
7068
7068
|
"rowUnGroup"
|
|
7069
7069
|
// "valueAggSubMenu", - disabling this since we have our own header selector
|
|
7070
7070
|
], U = E.column && lt(E.column) ? ze.value : E.column;
|
|
7071
|
-
return !a.enableInlineFilters && U && U.getColDef().filter && q.splice(2, 0, I), q.filter((
|
|
7071
|
+
return !a.enableInlineFilters && U && U.getColDef().filter && q.splice(2, 0, I), q.filter((oe) => typeof oe == "string" ? E.defaultItems.includes(oe) : !0);
|
|
7072
7072
|
}, V && (ae.value = (a.enableAdvancedFilter ? V.filter?.advancedFilterModel : V.filter?.filterModel) || null, O.value = V.rowGroup?.groupColIds || []);
|
|
7073
7073
|
});
|
|
7074
7074
|
const On = (s) => {
|
|
@@ -7077,7 +7077,7 @@ const Wl = (e) => {
|
|
|
7077
7077
|
const C = s.filter?.filterModel || null, E = s.rowGroup?.groupColIds || null, q = s.columnVisibility || null;
|
|
7078
7078
|
C && !_a(C, v.getFilterModel()) && v.setFilterModel(C), a.isTableGrouped && E && !Nn(E, O.value) && v.setRowGroupColumns(E), q?.hiddenColIds && v.setColumnsVisible(q.hiddenColIds, !1);
|
|
7079
7079
|
};
|
|
7080
|
-
|
|
7080
|
+
re(
|
|
7081
7081
|
() => a.initialGridState,
|
|
7082
7082
|
() => {
|
|
7083
7083
|
if (a.initialGridState) {
|
|
@@ -7632,7 +7632,7 @@ const Tf = {
|
|
|
7632
7632
|
const G = c.value?.id ?? "";
|
|
7633
7633
|
return y.value.length > 1 && !G.endsWith("_stacked");
|
|
7634
7634
|
}), b = ge(qo, k("")), M = ge(Go, k([])), I = ge(zo, k(void 0)), P = ge(Ho, k([]));
|
|
7635
|
-
|
|
7635
|
+
re(
|
|
7636
7636
|
w,
|
|
7637
7637
|
(G) => {
|
|
7638
7638
|
G && I.value && (I.value = void 0);
|
|
@@ -7646,7 +7646,7 @@ const Tf = {
|
|
|
7646
7646
|
value: ae.value
|
|
7647
7647
|
})) : G;
|
|
7648
7648
|
}), T = m(() => c.value ? (y.value.length > 1 ? ["bar_stacked", "line", "column_stacked", "area"] : ["bar", "line", "column", "area"]).includes(c.value?.id) : void 0);
|
|
7649
|
-
|
|
7649
|
+
re(d, (G) => {
|
|
7650
7650
|
if (!c.value) return;
|
|
7651
7651
|
const ae = c.value, j = ae?.id.endsWith("_stacked"), ee = G.find((Z) => Z.id === ae.id);
|
|
7652
7652
|
if (ee) {
|
|
@@ -7757,7 +7757,7 @@ const Tf = {
|
|
|
7757
7757
|
const Ee = Z ? 2 : 1;
|
|
7758
7758
|
return A.value.length >= Ee && G.push(xe), d.value.length > 1 && G.push($e), h.value.length > 0 && G.push(Y), G.filter((ue) => t.chartConfigOptions ? t.chartConfigOptions.includes(ue.value) : !0);
|
|
7759
7759
|
});
|
|
7760
|
-
|
|
7760
|
+
re(u, (G) => {
|
|
7761
7761
|
G && (a.value = G);
|
|
7762
7762
|
});
|
|
7763
7763
|
const _ = m(() => i.value && H.value.find((G) => G.value === i.value) || null), pe = (G) => {
|
|
@@ -8136,7 +8136,7 @@ const Tf = {
|
|
|
8136
8136
|
}, pe = async (s) => {
|
|
8137
8137
|
he(s.api), T.value && o("filter-changed", s);
|
|
8138
8138
|
};
|
|
8139
|
-
|
|
8139
|
+
re(
|
|
8140
8140
|
() => x.value,
|
|
8141
8141
|
() => {
|
|
8142
8142
|
if (O.value) {
|
|
@@ -8210,18 +8210,18 @@ const Tf = {
|
|
|
8210
8210
|
const v = j.value.find((C) => C.id === s);
|
|
8211
8211
|
v ? ee.value = v : ee.value = j.value[0];
|
|
8212
8212
|
};
|
|
8213
|
-
|
|
8213
|
+
re(
|
|
8214
8214
|
() => j.value,
|
|
8215
8215
|
() => gt(ee.value?.id || l.chartType)
|
|
8216
|
-
),
|
|
8216
|
+
), re(
|
|
8217
8217
|
() => l.chartType,
|
|
8218
8218
|
(s) => gt(s)
|
|
8219
|
-
),
|
|
8219
|
+
), re(
|
|
8220
8220
|
() => l.yKey,
|
|
8221
8221
|
(s) => {
|
|
8222
8222
|
s !== ce.value && (ce.value = s);
|
|
8223
8223
|
}
|
|
8224
|
-
),
|
|
8224
|
+
), re(ze, (s) => {
|
|
8225
8225
|
if (l.chartFilter && a.value) {
|
|
8226
8226
|
const v = l.chartFilter.colId;
|
|
8227
8227
|
let C = l.chartFilter.options.find((U) => U.value === s)?.filterValues || null;
|
|
@@ -8349,7 +8349,7 @@ const Tf = {
|
|
|
8349
8349
|
legendItemKey: g.value,
|
|
8350
8350
|
angleKey: ce.value
|
|
8351
8351
|
}]);
|
|
8352
|
-
|
|
8352
|
+
re(ce, (s, v) => {
|
|
8353
8353
|
o("chart-state-changed", {
|
|
8354
8354
|
api: a.value,
|
|
8355
8355
|
newState: {
|
|
@@ -8359,7 +8359,7 @@ const Tf = {
|
|
|
8359
8359
|
seriesField: v
|
|
8360
8360
|
}
|
|
8361
8361
|
});
|
|
8362
|
-
}),
|
|
8362
|
+
}), re(ke, (s, v) => {
|
|
8363
8363
|
o("chart-state-changed", {
|
|
8364
8364
|
api: a.value,
|
|
8365
8365
|
newState: {
|
|
@@ -8369,7 +8369,7 @@ const Tf = {
|
|
|
8369
8369
|
secondarySeriesField: v
|
|
8370
8370
|
}
|
|
8371
8371
|
});
|
|
8372
|
-
}),
|
|
8372
|
+
}), re(ee, (s, v) => {
|
|
8373
8373
|
const C = Bn(s?.id || ""), E = Bn(v?.id || "");
|
|
8374
8374
|
C.xAxis.filterColumns !== E.xAxis.filterColumns && (x.value = []), C.yAxis.defaultValue ? ce.value = C.yAxis.defaultValue : E.yAxis.defaultValue && !C.yAxis.defaultValue && ut(() => {
|
|
8375
8375
|
l.yKey ? ce.value = l.yKey : b.value.length > 0 && (ce.value = b.value[0].value);
|
|
@@ -8382,14 +8382,14 @@ const Tf = {
|
|
|
8382
8382
|
chartType: v?.id
|
|
8383
8383
|
}
|
|
8384
8384
|
});
|
|
8385
|
-
}),
|
|
8385
|
+
}), re(Y, (s) => {
|
|
8386
8386
|
if (s.length === 1 && x.value.length === 0) {
|
|
8387
8387
|
const v = s[0].field;
|
|
8388
8388
|
v && (x.value = [v]);
|
|
8389
8389
|
}
|
|
8390
|
-
}),
|
|
8390
|
+
}), re(b, (s) => {
|
|
8391
8391
|
s.length === 1 && !ce.value && (ce.value = s[0].value);
|
|
8392
|
-
}),
|
|
8392
|
+
}), re(Ge, (s, v) => {
|
|
8393
8393
|
o("chart-state-changed", {
|
|
8394
8394
|
api: a.value,
|
|
8395
8395
|
newState: {
|
|
@@ -8399,7 +8399,7 @@ const Tf = {
|
|
|
8399
8399
|
chartSort: v?.id
|
|
8400
8400
|
}
|
|
8401
8401
|
});
|
|
8402
|
-
}),
|
|
8402
|
+
}), re(x, (s, v) => {
|
|
8403
8403
|
o("chart-state-changed", {
|
|
8404
8404
|
api: a.value,
|
|
8405
8405
|
newState: {
|
|
@@ -8409,7 +8409,7 @@ const Tf = {
|
|
|
8409
8409
|
chartCategoryFields: v
|
|
8410
8410
|
}
|
|
8411
8411
|
});
|
|
8412
|
-
}),
|
|
8412
|
+
}), re(O, (s, v) => {
|
|
8413
8413
|
o("chart-state-changed", {
|
|
8414
8414
|
api: a.value,
|
|
8415
8415
|
newState: {
|
|
@@ -8419,12 +8419,12 @@ const Tf = {
|
|
|
8419
8419
|
tableGrouped: v
|
|
8420
8420
|
}
|
|
8421
8421
|
});
|
|
8422
|
-
}),
|
|
8422
|
+
}), re(
|
|
8423
8423
|
() => l.isTableGrouped,
|
|
8424
8424
|
(s, v) => {
|
|
8425
8425
|
!a.value || s === v || !l.enableGroupingToggle || rn(s);
|
|
8426
8426
|
}
|
|
8427
|
-
),
|
|
8427
|
+
), re(
|
|
8428
8428
|
() => l.initialFocusData,
|
|
8429
8429
|
(s, v) => {
|
|
8430
8430
|
if (!(Nn(s?.focuses, v?.focuses) && s?.focusType == v?.focusType)) {
|
|
@@ -8465,16 +8465,16 @@ const Tf = {
|
|
|
8465
8465
|
return;
|
|
8466
8466
|
if (l.serverSideChartHandler) {
|
|
8467
8467
|
let U = P.filterModel.value;
|
|
8468
|
-
const
|
|
8468
|
+
const oe = a.value?.getColumnDefs() || [];
|
|
8469
8469
|
if (U === null && l.initialGridState) {
|
|
8470
|
-
const Te = Fl(l.initialGridState,
|
|
8470
|
+
const Te = Fl(l.initialGridState, oe, l.enableAdvancedFilter);
|
|
8471
8471
|
U = (l.enableAdvancedFilter ? Te?.filter?.advancedFilterModel : Te?.filter?.filterModel) || {};
|
|
8472
8472
|
}
|
|
8473
8473
|
U = U || {};
|
|
8474
8474
|
const Q = Ba(
|
|
8475
8475
|
x.value.map((Te) => a.value?.getColumn(Te)).filter((Te) => Te !== void 0)
|
|
8476
|
-
), Ce = Ko(Q,
|
|
8477
|
-
|
|
8476
|
+
), Ce = Ko(Q, oe), ie = new Set(
|
|
8477
|
+
oe.filter((Te) => Fe(Te).chartOnSecondaryAxes === !0).map((Te) => Te.field).filter(Boolean)
|
|
8478
8478
|
), be = a.value?.getValueColumns().filter((Te) => Te.getColId() === ce.value || ie.has(Te.getColId())), Re = {
|
|
8479
8479
|
rowGroupCols: Ce || [],
|
|
8480
8480
|
valueCols: Ba(be || []),
|
|
@@ -8498,8 +8498,8 @@ const Tf = {
|
|
|
8498
8498
|
const Q = U.childrenAfterFilter?.filter((be) => be.level === 1 && be.aggData) || [], { rowData: Ce, fieldValues: ie } = Se(U, Q);
|
|
8499
8499
|
q = q.union(ie), E?.push(Ce);
|
|
8500
8500
|
}
|
|
8501
|
-
const
|
|
8502
|
-
C?.push(
|
|
8501
|
+
const oe = je(U);
|
|
8502
|
+
C?.push(oe);
|
|
8503
8503
|
}
|
|
8504
8504
|
}), Ee.value = C, x.value.length > 1 && E && E.length > 0) {
|
|
8505
8505
|
const U = x.value[1] || "";
|
|
@@ -8525,14 +8525,14 @@ const Tf = {
|
|
|
8525
8525
|
};
|
|
8526
8526
|
let q = 0;
|
|
8527
8527
|
for (const U of b.value)
|
|
8528
|
-
v.forEach((
|
|
8529
|
-
const Q =
|
|
8528
|
+
v.forEach((oe) => {
|
|
8529
|
+
const Q = oe.key;
|
|
8530
8530
|
C.add(Q);
|
|
8531
|
-
const Ce =
|
|
8531
|
+
const Ce = oe.aggData;
|
|
8532
8532
|
if (Q && Ce) {
|
|
8533
8533
|
const ie = String(Q), be = Jo(ie);
|
|
8534
8534
|
E[be] = `${s.key}-${ie}`;
|
|
8535
|
-
const Re =
|
|
8535
|
+
const Re = oe.aggData[U.value]?.value ?? oe.aggData[U.value];
|
|
8536
8536
|
E[Ut(U.value, ie)] = Re, q = q + Re;
|
|
8537
8537
|
}
|
|
8538
8538
|
}), E[`${U.value}${Rt}`] = q;
|
|
@@ -8545,8 +8545,8 @@ const Tf = {
|
|
|
8545
8545
|
if (Ge.value && (v = Be.value ? `${ce.value}${Rt}` : ce.value), v && s && Ge.value) {
|
|
8546
8546
|
const C = Ge.value?.id.includes("desc") ? -1 : 1;
|
|
8547
8547
|
s = [...s].sort((E, q) => {
|
|
8548
|
-
const U = E[v] || 0,
|
|
8549
|
-
return (U -
|
|
8548
|
+
const U = E[v] || 0, oe = q[v] || 0;
|
|
8549
|
+
return (U - oe) * C;
|
|
8550
8550
|
});
|
|
8551
8551
|
}
|
|
8552
8552
|
if (s && s.length === 1 && (s = [
|
|
@@ -8568,12 +8568,12 @@ const Tf = {
|
|
|
8568
8568
|
const E = G(C);
|
|
8569
8569
|
if ((typeof E?.aggFunc == "string" ? E.aggFunc : "") === "sum")
|
|
8570
8570
|
return v;
|
|
8571
|
-
const U = `${C}${Rt}`,
|
|
8571
|
+
const U = `${C}${Rt}`, oe = Ie.value.fieldValues;
|
|
8572
8572
|
return v.map((Q) => {
|
|
8573
8573
|
const Ce = Q[U];
|
|
8574
8574
|
if (typeof Ce != "number") return Q;
|
|
8575
8575
|
let ie = 0;
|
|
8576
|
-
for (const be of
|
|
8576
|
+
for (const be of oe)
|
|
8577
8577
|
typeof Q[Ut(C, String(be))] == "number" && ie++;
|
|
8578
8578
|
return {
|
|
8579
8579
|
...Q,
|
|
@@ -8604,8 +8604,8 @@ const Tf = {
|
|
|
8604
8604
|
for (let E = 0; E < v.length; E++) {
|
|
8605
8605
|
const q = v[E];
|
|
8606
8606
|
if (s <= q.bucketMax) {
|
|
8607
|
-
const U = q.bucketMax - q.bucketMin,
|
|
8608
|
-
return E +
|
|
8607
|
+
const U = q.bucketMax - q.bucketMin, oe = U > 0 ? (s - q.bucketMin) / U : 0;
|
|
8608
|
+
return E + oe;
|
|
8609
8609
|
}
|
|
8610
8610
|
}
|
|
8611
8611
|
return null;
|
|
@@ -8620,13 +8620,13 @@ const Tf = {
|
|
|
8620
8620
|
preventHidingAll: !0,
|
|
8621
8621
|
enabled: x.value.length > 1
|
|
8622
8622
|
};
|
|
8623
|
-
const v = Be.value ? Ie.value?.fieldValues.map((
|
|
8623
|
+
const v = Be.value ? Ie.value?.fieldValues.map((oe) => Ut(ce.value, oe)) || [] : ce.value ? [ce.value] : [], C = (() => {
|
|
8624
8624
|
if (!ke.value)
|
|
8625
8625
|
return [];
|
|
8626
|
-
const
|
|
8627
|
-
return lt.value ? [`${
|
|
8628
|
-
(Q) => Ut(
|
|
8629
|
-
) || [] : [
|
|
8626
|
+
const oe = ke.value;
|
|
8627
|
+
return lt.value ? [`${oe}${Rt}`] : Be.value ? Ie.value?.fieldValues.map(
|
|
8628
|
+
(Q) => Ut(oe, String(Q))
|
|
8629
|
+
) || [] : [oe];
|
|
8630
8630
|
})(), E = Z.value.xAxis.hideLabel === !0, q = ee.value?.id === "histogram" && me.value && me.value.length > 0 && typeof me.value[0]?.bucketMin == "number" && typeof me.value[0]?.bucketMax == "number", U = [];
|
|
8631
8631
|
if (U.push({
|
|
8632
8632
|
type: "category",
|
|
@@ -8647,15 +8647,15 @@ const Tf = {
|
|
|
8647
8647
|
autoRotate: !0,
|
|
8648
8648
|
truncate: !1,
|
|
8649
8649
|
wrapping: "never",
|
|
8650
|
-
formatter: E ? () => "" : (
|
|
8651
|
-
if (
|
|
8650
|
+
formatter: E ? () => "" : (oe) => {
|
|
8651
|
+
if (oe.value === hl)
|
|
8652
8652
|
return "";
|
|
8653
8653
|
const Q = 35;
|
|
8654
|
-
let Ce =
|
|
8654
|
+
let Ce = oe.value;
|
|
8655
8655
|
const ie = ne(g.value);
|
|
8656
|
-
typeof ie == "function" && (Ce = ie(
|
|
8657
|
-
const be = l.enableFocusView && A.value.includes(
|
|
8658
|
-
if (typeof Ce == "string" && Ce.length + be.length > Q) {
|
|
8656
|
+
typeof ie == "function" && (Ce = ie(oe));
|
|
8657
|
+
const be = l.enableFocusView && A.value.includes(oe.value) ? ` (${l.focusText})` : "";
|
|
8658
|
+
if (typeof Ce == "string" && Ce.length + be.length > Q && oe.context != "tooltip") {
|
|
8659
8659
|
const Re = Q - be.length - 3;
|
|
8660
8660
|
return Ce.substring(0, Re) + "..." + be;
|
|
8661
8661
|
}
|
|
@@ -8666,13 +8666,13 @@ const Tf = {
|
|
|
8666
8666
|
paddingOuter: cl.value,
|
|
8667
8667
|
groupPaddingInner: We.value
|
|
8668
8668
|
}), q && l.verticalLineOverlays && l.verticalLineOverlays.length > 0) {
|
|
8669
|
-
const
|
|
8669
|
+
const oe = me.value?.length || 1;
|
|
8670
8670
|
U.push({
|
|
8671
8671
|
type: "number",
|
|
8672
8672
|
keys: ["__dummy_x__"],
|
|
8673
8673
|
position: nt.value ? "left" : "bottom",
|
|
8674
8674
|
min: -1,
|
|
8675
|
-
max:
|
|
8675
|
+
max: oe + 1,
|
|
8676
8676
|
nice: !1,
|
|
8677
8677
|
label: { enabled: !1 },
|
|
8678
8678
|
tick: { enabled: !1 },
|
|
@@ -12028,9 +12028,9 @@ const Tf = {
|
|
|
12028
12028
|
id: r
|
|
12029
12029
|
}));
|
|
12030
12030
|
});
|
|
12031
|
-
return
|
|
12031
|
+
return re(n, (a) => {
|
|
12032
12032
|
a === t.value || a?.id === t.value || (t.value = a?.id);
|
|
12033
|
-
}),
|
|
12033
|
+
}), re(t, (a) => {
|
|
12034
12034
|
a === n.value || a === n.value?.id || (n.value = o.value.find((r) => r.id === a));
|
|
12035
12035
|
}), (a, r) => (p(), z(zl, {
|
|
12036
12036
|
style: { width: "125px" },
|
|
@@ -12081,7 +12081,7 @@ const Tf = {
|
|
|
12081
12081
|
n.gradientLegendMin,
|
|
12082
12082
|
n.gradientLegendMax
|
|
12083
12083
|
)), d = m(() => c.value.filter((h) => h[n.mapType] !== Yn && h[n.mapType] !== Qn).map((h) => h[n.mapType]));
|
|
12084
|
-
|
|
12084
|
+
re(o, (h) => {
|
|
12085
12085
|
a("region-selection-changed", {
|
|
12086
12086
|
region: h
|
|
12087
12087
|
});
|