@turquoisehealth/pit-viper 2.86.0 → 2.87.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/_src/assets/sprite-v2.svg +1 -1
- package/_src/assets/sprite.svg +1 -1
- package/package.json +1 -1
- package/pv-components/dist/vue/charts/pv-components-charts.d.ts +491 -0
- package/pv-components/dist/vue/charts/pv-components-charts.js +259 -0
- package/pv-components/dist/vue/charts/pv-components-charts.mjs +121834 -0
- package/pv-components/dist/vue/charts/pv-components-charts.umd.js +259 -0
- package/pv-components/dist/vue/tables/pv-components-tables.d.ts +299 -0
- package/pv-components/dist/vue/tables/pv-components-tables.js +223 -0
- package/pv-components/dist/vue/tables/pv-components-tables.mjs +47028 -0
- package/pv-components/dist/vue/tables/pv-components-tables.umd.js +223 -0
- package/pv-components/dist/vue/visualizations/pv-components-visualizations.js +1 -1
- package/pv-components/dist/vue/visualizations/pv-components-visualizations.mjs +58 -47
- package/pv-components/dist/vue/visualizations/pv-components-visualizations.umd.js +1 -1
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
(function(){"use strict";try{if(typeof document<"u"){var e=document.createElement("style");e.appendChild(document.createTextNode('.pv-scatter-overlay[data-v-c83f4e6e]{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-c83f4e6e]{display:flex;overflow:hidden}.pv-scatter-quadrant-box[data-v-c83f4e6e]{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-c83f4e6e]{grid-column:1;grid-row:1;align-items:flex-start;justify-content:flex-start;padding:5px}.pv-scatter-quadrant-top-right[data-v-c83f4e6e]{grid-column:2;grid-row:1;align-items:flex-start;justify-content:flex-end;padding:5px}.pv-scatter-quadrant-bottom-left[data-v-c83f4e6e]{grid-column:1;grid-row:2;align-items:flex-end;justify-content:flex-start;padding:5px}.pv-scatter-quadrant-bottom-right[data-v-c83f4e6e]{grid-column:2;grid-row:2;align-items:flex-end;justify-content:flex-end;padding:5px}.pv-chart-loading[data-v-c83f4e6e]{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-c83f4e6e]{color:#16696d;animation:pulse-c83f4e6e 1.5s infinite ease-in-out}@keyframes pulse-c83f4e6e{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-item-disabled[data-v-f0f5eb5f]{pointer-events:none;background:#ececec}.pv-menu-item[data-v-f0f5eb5f]{cursor:pointer}.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}.focus-button{opacity:0;transition:opacity .2s ease;position:absolute;right:0;top:50%;transform:translateY(-50%)}.option-label:hover .focus-button{opacity:1;background-color:#e8f2f4}.suggested-label[data-v-9db78eda]:hover{color:#16696d}.ag-custom-header-cell[data-v-58d16af9]{height:100%;align-items:center}.ag-header-actions .ag-header-cell-menu-button[data-v-58d16af9]{opacity:0;transition:opacity .2s ease-in-out}.ag-header-cell-menu-button:hover .ag-header-actions .ag-header-cell-menu-button[data-v-58d16af9]{opacity:1}.ag-header-cell-menu-button:focus .ag-header-actions .ag-header-cell-menu-button[data-v-58d16af9]{opacity:1}.pv-table-row-number[data-v-706ed5a9]{padding:8px 12px 8px 0;text-align:center;color:#89989b}.pv-text-tertiary[data-v-a5c1e2d6]{color:#6e8081}.pv-query-builder-input-wrapper[data-v-f23d0721]{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-f23d0721]{justify-content:start;overflow-x:hidden}.pv-query-builder-input-wrapper input[data-v-f23d0721]{border:none;background:transparent;outline:none;font-size:.75rem}.pv-query-builder-input-wrapper[data-v-f23d0721]:focus-within{border:2px solid #36c5ba}.pv-table-overlay{position:absolute;z-index:2;background:#fff;width:100%;height:calc(100% - 40px);top:80px;pointer-events:none}.ag-header-cell-resize{border:none!important}.ag-row-group-leaf-indent{padding-left:7px;margin-left:0}.ag-custom-loading-cell{width:100%;height:40%;margin:15px;background-color:#ccc;border-radius:4px}.ag-group-value{width:100%}.ag-menu-option:hover{background-color:#f7f8f8}.ag-menu-option:active{background-color:#e8f2f4}.ag-menu-option-text{font-family:Inter,sans-serif}.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-3502bb6d]:after{content:"›"}.pv-tooltip a[data-v-3502bb6d]{color:inherit}.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 se, createElementBlock as S, openBlock as v, normalizeStyle as io, normalizeClass as ke, ref as G, onMounted as wo, onUnmounted as ya, computed as $, createVNode as re, createCommentVNode as U, unref as Z, Fragment as ge, createElementVNode as V, createBlock as ee, resolveDynamicComponent as Oo, isRef as tn, shallowRef as ht, toRef as Dl, readonly as ka, customRef as Tl, nextTick as Ao, getCurrentScope as Ol, onScopeDispose as Pl, toValue as We, watch as
|
|
2
|
+
import { defineComponent as se, createElementBlock as S, openBlock as v, normalizeStyle as io, normalizeClass as ke, ref as G, onMounted as wo, onUnmounted as ya, computed as $, createVNode as re, createCommentVNode as U, unref as Z, Fragment as ge, createElementVNode as V, createBlock as ee, resolveDynamicComponent as Oo, isRef as tn, shallowRef as ht, toRef as Dl, readonly as ka, customRef as Tl, nextTick as Ao, getCurrentScope as Ol, onScopeDispose as Pl, toValue as We, watch as Se, getCurrentInstance as Fr, useTemplateRef as Ro, renderSlot as Qe, withDirectives as ko, createTextVNode as po, Teleport as nn, withCtx as Me, onBeforeMount as mt, toDisplayString as ae, withModifiers as Er, mergeModels as so, useModel as Xe, renderList as Ze, vModelText as an, normalizeProps as ur, mergeProps as Zo, vShow as wa, vModelDynamic as Ml, vModelCheckbox as El, inject as Oe, onBeforeUnmount as Il, createSlots as jt, guardReactiveProps as _n, provide as Ee } from "vue";
|
|
3
3
|
import { AgCharts as Ll } from "ag-charts-vue3";
|
|
4
4
|
import { LicenseManager as Al } from "ag-charts-enterprise";
|
|
5
5
|
import { AgGridVue as zl } from "ag-grid-vue3";
|
|
@@ -771,7 +771,7 @@ function Ii(o, e, r = {}) {
|
|
|
771
771
|
eventFilter: t = Pi,
|
|
772
772
|
...n
|
|
773
773
|
} = r;
|
|
774
|
-
return
|
|
774
|
+
return Se(
|
|
775
775
|
o,
|
|
776
776
|
Oi(
|
|
777
777
|
t,
|
|
@@ -814,7 +814,7 @@ function Dr(o, e, r = {}) {
|
|
|
814
814
|
);
|
|
815
815
|
}
|
|
816
816
|
function Fa(o, e, r) {
|
|
817
|
-
return
|
|
817
|
+
return Se(
|
|
818
818
|
o,
|
|
819
819
|
e,
|
|
820
820
|
{
|
|
@@ -962,7 +962,7 @@ var Vo = Lo(/(?:Trident.*rv[ :]?11\.|msie|iemobile|Windows Phone)/i), Lr = Lo(/E
|
|
|
962
962
|
function _e(o, e, r) {
|
|
963
963
|
o.addEventListener(e, r, !Vo && Pa);
|
|
964
964
|
}
|
|
965
|
-
function
|
|
965
|
+
function $e(o, e, r) {
|
|
966
966
|
o.removeEventListener(e, r, !Vo && Pa);
|
|
967
967
|
}
|
|
968
968
|
function at(o, e) {
|
|
@@ -1570,7 +1570,7 @@ ce.prototype = /** @lends Sortable.prototype */
|
|
|
1570
1570
|
},
|
|
1571
1571
|
_disableDelayedDragEvents: function() {
|
|
1572
1572
|
var e = this.el.ownerDocument;
|
|
1573
|
-
|
|
1573
|
+
$e(e, "mouseup", this._disableDelayedDrag), $e(e, "touchend", this._disableDelayedDrag), $e(e, "touchcancel", this._disableDelayedDrag), $e(e, "pointerup", this._disableDelayedDrag), $e(e, "pointercancel", this._disableDelayedDrag), $e(e, "mousemove", this._delayedDragTouchMoveHandler), $e(e, "touchmove", this._delayedDragTouchMoveHandler), $e(e, "pointermove", this._delayedDragTouchMoveHandler);
|
|
1574
1574
|
},
|
|
1575
1575
|
_triggerDragStart: function(e, r) {
|
|
1576
1576
|
r = r || e.pointerType == "touch" && e, !this.nativeDraggable || r ? this.options.supportPointer ? _e(document, "pointermove", this._onTouchMove) : r ? _e(document, "touchmove", this._onTouchMove) : _e(document, "mousemove", this._onTouchMove) : (_e(X, "dragend", this), _e(Ae, "dragstart", this._onDragStart));
|
|
@@ -1664,7 +1664,7 @@ ce.prototype = /** @lends Sortable.prototype */
|
|
|
1664
1664
|
sortable: t,
|
|
1665
1665
|
name: "clone"
|
|
1666
1666
|
}));
|
|
1667
|
-
}), !r && vo(X, a.dragClass, !0), r ? (lt = !0, t._loopId = setInterval(t._emulateDragOver, 50)) : (
|
|
1667
|
+
}), !r && vo(X, a.dragClass, !0), r ? (lt = !0, t._loopId = setInterval(t._emulateDragOver, 50)) : ($e(document, "mouseup", t._onDrop), $e(document, "touchend", t._onDrop), $e(document, "touchcancel", t._onDrop), n && (n.effectAllowed = "move", a.setData && a.setData.call(t, n, X)), _e(document, "drop", t), fe(X, "transform", "translateZ(0)")), nr = !0, t._dragStartId = Qr(t._dragStarted.bind(t, r, e)), _e(document, "selectstart", t), vr = !0, window.getSelection().removeAllRanges(), wr && fe(document.body, "user-select", "none");
|
|
1668
1668
|
},
|
|
1669
1669
|
// Returns true - if no further action is needed (either inserted or another condition)
|
|
1670
1670
|
_onDragOver: function(e) {
|
|
@@ -1754,11 +1754,11 @@ ce.prototype = /** @lends Sortable.prototype */
|
|
|
1754
1754
|
},
|
|
1755
1755
|
_ignoreWhileAnimating: null,
|
|
1756
1756
|
_offMoveEvents: function() {
|
|
1757
|
-
|
|
1757
|
+
$e(document, "mousemove", this._onTouchMove), $e(document, "touchmove", this._onTouchMove), $e(document, "pointermove", this._onTouchMove), $e(document, "dragover", Yo), $e(document, "mousemove", Yo), $e(document, "touchmove", Yo);
|
|
1758
1758
|
},
|
|
1759
1759
|
_offUpEvents: function() {
|
|
1760
1760
|
var e = this.el.ownerDocument;
|
|
1761
|
-
|
|
1761
|
+
$e(e, "mouseup", this._onDrop), $e(e, "touchend", this._onDrop), $e(e, "pointerup", this._onDrop), $e(e, "pointercancel", this._onDrop), $e(e, "touchcancel", this._onDrop), $e(document, "selectstart", this);
|
|
1762
1762
|
},
|
|
1763
1763
|
_onDrop: function(e) {
|
|
1764
1764
|
var r = this.el, t = this.options;
|
|
@@ -1768,7 +1768,7 @@ ce.prototype = /** @lends Sortable.prototype */
|
|
|
1768
1768
|
this._nulling();
|
|
1769
1769
|
return;
|
|
1770
1770
|
}
|
|
1771
|
-
nr = !1, Nr = !1, $r = !1, clearInterval(this._loopId), clearTimeout(this._dragStartTimer), Wt(this.cloneId), Wt(this._dragStartId), this.nativeDraggable && (
|
|
1771
|
+
nr = !1, Nr = !1, $r = !1, clearInterval(this._loopId), clearTimeout(this._dragStartTimer), Wt(this.cloneId), Wt(this._dragStartId), this.nativeDraggable && ($e(document, "drop", this), $e(r, "dragstart", this._onDragStart)), this._offMoveEvents(), this._offUpEvents(), wr && fe(document.body, "user-select", ""), fe(X, "transform", ""), e && (vr && (e.cancelable && e.preventDefault(), !t.dropBubble && e.stopPropagation()), he && he.parentNode && he.parentNode.removeChild(he), (Ae === je || Je && Je.lastPutMode !== "clone") && Ne && Ne.parentNode && Ne.parentNode.removeChild(Ne), X && (this.nativeDraggable && $e(X, "dragend", this), Ot(X), X.style["will-change"] = "", vr && !nr && vo(X, Je ? Je.options.ghostClass : this.options.ghostClass, !1), vo(X, this.options.chosenClass, !1), lo({
|
|
1772
1772
|
sortable: this,
|
|
1773
1773
|
name: "unchoose",
|
|
1774
1774
|
toEl: je,
|
|
@@ -1891,7 +1891,7 @@ ce.prototype = /** @lends Sortable.prototype */
|
|
|
1891
1891
|
destroy: function() {
|
|
1892
1892
|
co("destroy", this);
|
|
1893
1893
|
var e = this.el;
|
|
1894
|
-
e[fo] = null,
|
|
1894
|
+
e[fo] = null, $e(e, "mousedown", this._onTapStart), $e(e, "touchstart", this._onTapStart), $e(e, "pointerdown", this._onTapStart), this.nativeDraggable && ($e(e, "dragover", this), $e(e, "dragenter", this)), Array.prototype.forEach.call(e.querySelectorAll("[draggable]"), function(r) {
|
|
1895
1895
|
r.removeAttribute("draggable");
|
|
1896
1896
|
}), this._onDrop(), this._disableDelayedDragEvents(), it.splice(it.indexOf(this.el), 1), this.el = e = null;
|
|
1897
1897
|
},
|
|
@@ -1975,7 +1975,7 @@ wt && _e(document, "touchmove", function(o) {
|
|
|
1975
1975
|
});
|
|
1976
1976
|
ce.utils = {
|
|
1977
1977
|
on: _e,
|
|
1978
|
-
off:
|
|
1978
|
+
off: $e,
|
|
1979
1979
|
css: fe,
|
|
1980
1980
|
find: Ea,
|
|
1981
1981
|
is: function(e, r) {
|
|
@@ -2032,7 +2032,7 @@ function cs() {
|
|
|
2032
2032
|
!this.options.dragOverBubble && !t.rootEl && this._handleAutoScroll(t);
|
|
2033
2033
|
},
|
|
2034
2034
|
drop: function() {
|
|
2035
|
-
this.sortable.nativeDraggable ?
|
|
2035
|
+
this.sortable.nativeDraggable ? $e(document, "dragover", this._handleAutoScroll) : ($e(document, "pointermove", this._handleFallbackAutoScroll), $e(document, "touchmove", this._handleFallbackAutoScroll), $e(document, "mousemove", this._handleFallbackAutoScroll)), In(), Jr(), Ui();
|
|
2036
2036
|
},
|
|
2037
2037
|
nulling: function() {
|
|
2038
2038
|
dt = Ut = hr = Kt = mr = Pt = Mt = null, Ue.length = 0;
|
|
@@ -2360,7 +2360,7 @@ const At = /* @__PURE__ */ new WeakMap();
|
|
|
2360
2360
|
function ys(o, e = !1) {
|
|
2361
2361
|
const r = ht(e);
|
|
2362
2362
|
let t = null, n = "";
|
|
2363
|
-
|
|
2363
|
+
Se(Ba(o), (i) => {
|
|
2364
2364
|
const s = Lt(We(i));
|
|
2365
2365
|
if (s) {
|
|
2366
2366
|
const d = s;
|
|
@@ -2403,7 +2403,7 @@ function ks() {
|
|
|
2403
2403
|
return;
|
|
2404
2404
|
o = !0;
|
|
2405
2405
|
const n = ys(r, t.value);
|
|
2406
|
-
|
|
2406
|
+
Se(e, (a) => n.value = a);
|
|
2407
2407
|
};
|
|
2408
2408
|
}
|
|
2409
2409
|
ks();
|
|
@@ -2440,7 +2440,7 @@ const ws = {
|
|
|
2440
2440
|
};
|
|
2441
2441
|
e({
|
|
2442
2442
|
closeDropdown: y
|
|
2443
|
-
}),
|
|
2443
|
+
}), Se(a, (k) => {
|
|
2444
2444
|
k ? Ao(() => {
|
|
2445
2445
|
f(), n("dropdown-open");
|
|
2446
2446
|
}) : n("dropdown-closed");
|
|
@@ -2726,7 +2726,7 @@ const Vs = {
|
|
|
2726
2726
|
})), a = $(() => ({
|
|
2727
2727
|
width: t.value
|
|
2728
2728
|
})), l = $(() => e.toCamelCase ? zs(e.name) + ".svg" : e.name + ".svg"), i = $(() => e.srcPathOverride ? e.srcPathOverride : `${e.basePath}/${l.value}`);
|
|
2729
|
-
return
|
|
2729
|
+
return Se(i, () => {
|
|
2730
2730
|
r.value = !0;
|
|
2731
2731
|
}), (s, d) => (v(), S("div", Vs, [
|
|
2732
2732
|
r.value ? (v(), S("div", {
|
|
@@ -2767,7 +2767,7 @@ const Vs = {
|
|
|
2767
2767
|
emits: ["update:modelValue"],
|
|
2768
2768
|
setup(o) {
|
|
2769
2769
|
const e = o, r = Ro("dialog"), t = Xe(o, "modelValue");
|
|
2770
|
-
|
|
2770
|
+
Se(
|
|
2771
2771
|
() => t.value,
|
|
2772
2772
|
() => {
|
|
2773
2773
|
t.value ? r.value?.showModal() : r.value?.close();
|
|
@@ -3581,7 +3581,7 @@ function Rd(o) {
|
|
|
3581
3581
|
return D?.(le, {
|
|
3582
3582
|
name: H
|
|
3583
3583
|
});
|
|
3584
|
-
}, x?.(H)), !r.value && (M =
|
|
3584
|
+
}, x?.(H)), !r.value && (M = Se(t, function(le) {
|
|
3585
3585
|
n.value.textContent = le, c?.(H);
|
|
3586
3586
|
}, {
|
|
3587
3587
|
immediate: !0
|
|
@@ -4777,7 +4777,7 @@ const al = /* @__PURE__ */ go(su, [["render", uu]]), cu = ["src"], fu = /* @__PU
|
|
|
4777
4777
|
), [g, y] = Ra(r.defaultOpen), h = Xe(o, "modelValue"), w = Xe(o, "searchInput"), _ = () => {
|
|
4778
4778
|
w.value = "", g.value = !1;
|
|
4779
4779
|
};
|
|
4780
|
-
|
|
4780
|
+
Se(g, (u) => {
|
|
4781
4781
|
u ? Ao(() => {
|
|
4782
4782
|
r.overlayTrigger && r.showSearchInput && p.value?.input?.focus(), l(), t("dropdown-open");
|
|
4783
4783
|
}) : t("dropdown-closed");
|
|
@@ -5001,7 +5001,7 @@ const al = /* @__PURE__ */ go(su, [["render", uu]]), cu = ["src"], fu = /* @__PU
|
|
|
5001
5001
|
}), d = Ro("select-menu-ref"), f = Ro(
|
|
5002
5002
|
"select-button-trigger-ref"
|
|
5003
5003
|
), [p, g] = Ra(r.defaultOpen), y = Xe(o, "modelValue"), h = Xe(o, "searchInput");
|
|
5004
|
-
|
|
5004
|
+
Se(p, (C) => {
|
|
5005
5005
|
C ? Ao(() => {
|
|
5006
5006
|
l(), t("dropdown-open");
|
|
5007
5007
|
}) : t("dropdown-closed");
|
|
@@ -5131,7 +5131,7 @@ const mn = Symbol("FilterStoreKey"), pt = Symbol("FocusStoreKey"), il = Symbol("
|
|
|
5131
5131
|
},
|
|
5132
5132
|
setup(o) {
|
|
5133
5133
|
const e = Oe(or, G(null)), r = Oe(xt, G([])), t = Oe(bn, G([])), n = o;
|
|
5134
|
-
|
|
5134
|
+
Se(
|
|
5135
5135
|
t,
|
|
5136
5136
|
// Directly watch the ref
|
|
5137
5137
|
() => {
|
|
@@ -6024,7 +6024,7 @@ const ua = {
|
|
|
6024
6024
|
}), t("filter-selection-changed");
|
|
6025
6025
|
}
|
|
6026
6026
|
});
|
|
6027
|
-
|
|
6027
|
+
Se(
|
|
6028
6028
|
() => s.value,
|
|
6029
6029
|
() => {
|
|
6030
6030
|
N() > (d.value[c.value] || 0) && E(!0);
|
|
@@ -6037,7 +6037,7 @@ const ua = {
|
|
|
6037
6037
|
j.value && !J ? (E(), j.value = !1) : J && (j.value = !0);
|
|
6038
6038
|
},
|
|
6039
6039
|
{ deep: !0 }
|
|
6040
|
-
),
|
|
6040
|
+
), Se(
|
|
6041
6041
|
() => l.value,
|
|
6042
6042
|
() => {
|
|
6043
6043
|
if (I.value)
|
|
@@ -6051,24 +6051,24 @@ const ua = {
|
|
|
6051
6051
|
} else
|
|
6052
6052
|
console.error(`Staged filter model update for filter type ${b.value} is not yet supported.`);
|
|
6053
6053
|
}
|
|
6054
|
-
),
|
|
6054
|
+
), Se(
|
|
6055
6055
|
() => a.value,
|
|
6056
6056
|
() => {
|
|
6057
6057
|
A();
|
|
6058
6058
|
}
|
|
6059
|
-
),
|
|
6059
|
+
), Se(
|
|
6060
6060
|
() => i.value,
|
|
6061
6061
|
() => {
|
|
6062
6062
|
x.value = [];
|
|
6063
6063
|
}
|
|
6064
|
-
),
|
|
6064
|
+
), Se(
|
|
6065
6065
|
() => C.value,
|
|
6066
6066
|
async () => {
|
|
6067
6067
|
I.value ? setTimeout(async () => {
|
|
6068
6068
|
await E(!0);
|
|
6069
6069
|
}, 2e3) : await E(!0), A();
|
|
6070
6070
|
}
|
|
6071
|
-
),
|
|
6071
|
+
), Se(
|
|
6072
6072
|
() => x.value,
|
|
6073
6073
|
(J) => {
|
|
6074
6074
|
w(c.value, J);
|
|
@@ -7164,7 +7164,7 @@ const ua = {
|
|
|
7164
7164
|
const W = G(null), H = $(() => j?.computedFocusType.value || null), Y = $(() => j?.computedFocuses.value || []), K = $(() => _.filter((R) => R.filter)), le = $(() => _.filter((R) => R.enableRowGroup)), ve = $(() => _.filter((R) => R.aggFunc)), me = G(null), Te = G({}), ne = G(1), de = G(0);
|
|
7165
7165
|
Ee(mn, b), Ee(pt, j), Ee(il, c), Ee(or, u), Ee(g2, W), Ee(sl, F), Ee(dl, K), Ee(xt, le), Ee(bn, O), Ee(ul, me), Ee(yn, Te), Ee(cl, L), Ee(fl, ne), Ee(pl, de);
|
|
7166
7166
|
const pe = $(() => !a.enableFocusView && !a.rowData || a.enableFocusView && !Y.value.length && !H.value ? a.rowData : ca(a.rowData, H.value, Y.value));
|
|
7167
|
-
|
|
7167
|
+
Se(
|
|
7168
7168
|
() => Y.value,
|
|
7169
7169
|
(R) => {
|
|
7170
7170
|
s("focus-update", { filterField: H.value, focuses: R });
|
|
@@ -7353,7 +7353,7 @@ const ua = {
|
|
|
7353
7353
|
const P = R.filter?.filterModel || null, q = R.rowGroup?.groupColIds || null, Q = R.columnVisibility || null;
|
|
7354
7354
|
P && !ga(P, m.getFilterModel()) && m.setFilterModel(P), q && !Cl(q, O.value) && m.setRowGroupColumns(q), Q?.hiddenColIds && m.setColumnsVisible(Q.hiddenColIds, !1);
|
|
7355
7355
|
};
|
|
7356
|
-
|
|
7356
|
+
Se(
|
|
7357
7357
|
() => a.initialGridState,
|
|
7358
7358
|
() => {
|
|
7359
7359
|
if (a.initialGridState) {
|
|
@@ -7668,7 +7668,7 @@ const ua = {
|
|
|
7668
7668
|
value: M.value
|
|
7669
7669
|
})) : I;
|
|
7670
7670
|
}), O = $(() => d.value ? (y.value.length > 1 ? ["bar_stacked", "line", "column_stacked", "area"] : ["bar", "line", "column", "area"]).includes(d.value?.id) : void 0);
|
|
7671
|
-
|
|
7671
|
+
Se(f, (I) => {
|
|
7672
7672
|
if (!d.value) return;
|
|
7673
7673
|
const M = d.value, T = M?.id.endsWith("_stacked"), N = I.find((A) => A.id === M.id);
|
|
7674
7674
|
if (N) {
|
|
@@ -7695,15 +7695,15 @@ const ua = {
|
|
|
7695
7695
|
const M = C.value.map((T) => T.id);
|
|
7696
7696
|
(I.length !== M.length || !I.every((T) => M.includes(T))) && (C.value = I.map((T) => B.value.find((N) => N.id === T)).filter(Boolean));
|
|
7697
7697
|
};
|
|
7698
|
-
|
|
7698
|
+
Se(
|
|
7699
7699
|
y,
|
|
7700
7700
|
(I) => {
|
|
7701
7701
|
x(I);
|
|
7702
7702
|
},
|
|
7703
7703
|
{ immediate: !0 }
|
|
7704
|
-
),
|
|
7704
|
+
), Se(B, () => {
|
|
7705
7705
|
x(y.value);
|
|
7706
|
-
}),
|
|
7706
|
+
}), Se(
|
|
7707
7707
|
C,
|
|
7708
7708
|
(I) => {
|
|
7709
7709
|
y.value = I.map((M) => M.id);
|
|
@@ -7762,7 +7762,7 @@ const ua = {
|
|
|
7762
7762
|
};
|
|
7763
7763
|
return L.value.length > 1 && I.push(M), B.value.length > 1 && I.push(T), f.value.length > 1 && I.push(A), g.value.length > 0 && I.push(N), I.filter((E) => e.chartConfigOptions ? e.chartConfigOptions.includes(E.value) : !0);
|
|
7764
7764
|
});
|
|
7765
|
-
|
|
7765
|
+
Se(s, (I) => {
|
|
7766
7766
|
I?.popoverRef && (a.value = I?.popoverRef);
|
|
7767
7767
|
});
|
|
7768
7768
|
const c = $(() => i.value && u.value.find((I) => I.value === i.value) || null), b = (I) => {
|
|
@@ -8039,6 +8039,7 @@ const ua = {
|
|
|
8039
8039
|
percentOfFocusViewYKey: { default: "" },
|
|
8040
8040
|
focusableColumns: {},
|
|
8041
8041
|
enableGroupingToggle: { type: Boolean },
|
|
8042
|
+
isTableGrouped: { type: Boolean, default: !1 },
|
|
8042
8043
|
customCssProperties: {},
|
|
8043
8044
|
colDefs: {},
|
|
8044
8045
|
rowData: {},
|
|
@@ -8101,7 +8102,7 @@ const ua = {
|
|
|
8101
8102
|
focuses: t.initialFocusData?.focuses || []
|
|
8102
8103
|
});
|
|
8103
8104
|
Ee(pt, O);
|
|
8104
|
-
const { setFilterSelectedValues: L } = F, B = G(!1), C = G(
|
|
8105
|
+
const { setFilterSelectedValues: L } = F, B = G(!1), C = G(t.enableGroupingToggle ? t.isTableGrouped : !0), x = $(() => O?.computedFocusType.value || null), u = $(() => O?.computedFocuses.value || []), c = (m) => {
|
|
8105
8106
|
a.value = m.api, C.value || a.value?.setRowGroupColumns([]), Ie(m.api), n("grid-ready", m);
|
|
8106
8107
|
}, b = (m) => {
|
|
8107
8108
|
B.value = !0, n("first-data-rendered", m);
|
|
@@ -8117,7 +8118,7 @@ const ua = {
|
|
|
8117
8118
|
}
|
|
8118
8119
|
Ie(m.api), n("filter-changed", m);
|
|
8119
8120
|
};
|
|
8120
|
-
|
|
8121
|
+
Se(
|
|
8121
8122
|
() => h.value,
|
|
8122
8123
|
() => {
|
|
8123
8124
|
if (C.value) {
|
|
@@ -8174,18 +8175,18 @@ const ua = {
|
|
|
8174
8175
|
const P = N.value.find((q) => q.id === m);
|
|
8175
8176
|
P ? A.value = P : A.value = N.value[0];
|
|
8176
8177
|
};
|
|
8177
|
-
|
|
8178
|
+
Se(
|
|
8178
8179
|
() => N.value,
|
|
8179
8180
|
() => ve(A.value?.id || t.chartType)
|
|
8180
|
-
),
|
|
8181
|
+
), Se(
|
|
8181
8182
|
() => t.chartType,
|
|
8182
8183
|
(m) => ve(m)
|
|
8183
|
-
),
|
|
8184
|
+
), Se(
|
|
8184
8185
|
() => t.yKey,
|
|
8185
8186
|
(m) => {
|
|
8186
8187
|
m !== H.value && (H.value = m);
|
|
8187
8188
|
}
|
|
8188
|
-
),
|
|
8189
|
+
), Se(le, (m) => {
|
|
8189
8190
|
if (t.chartFilter && a.value) {
|
|
8190
8191
|
const P = t.chartFilter.colId;
|
|
8191
8192
|
let q = t.chartFilter.options.find((Re) => Re.value === m)?.filterValues || null;
|
|
@@ -8268,7 +8269,7 @@ const ua = {
|
|
|
8268
8269
|
legendItemKey: w.value,
|
|
8269
8270
|
angleKey: H.value
|
|
8270
8271
|
}]);
|
|
8271
|
-
|
|
8272
|
+
Se(H, (m, P) => {
|
|
8272
8273
|
n("chart-state-changed", {
|
|
8273
8274
|
api: a.value,
|
|
8274
8275
|
newState: {
|
|
@@ -8278,7 +8279,7 @@ const ua = {
|
|
|
8278
8279
|
seriesField: P
|
|
8279
8280
|
}
|
|
8280
8281
|
});
|
|
8281
|
-
}),
|
|
8282
|
+
}), Se(A, (m, P) => {
|
|
8282
8283
|
n("chart-state-changed", {
|
|
8283
8284
|
api: a.value,
|
|
8284
8285
|
newState: {
|
|
@@ -8288,7 +8289,7 @@ const ua = {
|
|
|
8288
8289
|
chartType: P?.id
|
|
8289
8290
|
}
|
|
8290
8291
|
});
|
|
8291
|
-
}),
|
|
8292
|
+
}), Se(K, (m, P) => {
|
|
8292
8293
|
n("chart-state-changed", {
|
|
8293
8294
|
api: a.value,
|
|
8294
8295
|
newState: {
|
|
@@ -8298,7 +8299,7 @@ const ua = {
|
|
|
8298
8299
|
chartSort: P?.id
|
|
8299
8300
|
}
|
|
8300
8301
|
});
|
|
8301
|
-
}),
|
|
8302
|
+
}), Se(h, (m, P) => {
|
|
8302
8303
|
n("chart-state-changed", {
|
|
8303
8304
|
api: a.value,
|
|
8304
8305
|
newState: {
|
|
@@ -8308,6 +8309,16 @@ const ua = {
|
|
|
8308
8309
|
chartCategoryFields: P
|
|
8309
8310
|
}
|
|
8310
8311
|
});
|
|
8312
|
+
}), Se(C, (m, P) => {
|
|
8313
|
+
n("chart-state-changed", {
|
|
8314
|
+
api: a.value,
|
|
8315
|
+
newState: {
|
|
8316
|
+
tableGrouped: m
|
|
8317
|
+
},
|
|
8318
|
+
oldState: {
|
|
8319
|
+
tableGrouped: P
|
|
8320
|
+
}
|
|
8321
|
+
});
|
|
8311
8322
|
});
|
|
8312
8323
|
const ye = () => {
|
|
8313
8324
|
z.value = [], W.value = [], Y.value = null;
|
|
@@ -11791,9 +11802,9 @@ const ua = {
|
|
|
11791
11802
|
id: l
|
|
11792
11803
|
}));
|
|
11793
11804
|
});
|
|
11794
|
-
return
|
|
11805
|
+
return Se(r, (a) => {
|
|
11795
11806
|
a === e.value || a?.id === e.value || (e.value = a?.id);
|
|
11796
|
-
}),
|
|
11807
|
+
}), Se(e, (a) => {
|
|
11797
11808
|
a === r.value || a === r.value?.id || (r.value = n.value.find(
|
|
11798
11809
|
(l) => l.id === a
|
|
11799
11810
|
));
|
|
@@ -11846,7 +11857,7 @@ const ua = {
|
|
|
11846
11857
|
r.gradientLegendMin,
|
|
11847
11858
|
r.gradientLegendMax
|
|
11848
11859
|
)), f = $(() => d.value.filter((g) => g[r.mapType] !== gt && g[r.mapType] !== vt).map((g) => g[r.mapType]));
|
|
11849
|
-
|
|
11860
|
+
Se(n, (g) => {
|
|
11850
11861
|
a("region-selection-changed", {
|
|
11851
11862
|
region: g
|
|
11852
11863
|
});
|