@turquoisehealth/pit-viper 2.135.0 → 2.136.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/base/stats.html +1 -1
- package/pv-components/dist/stats/vue/visualizations/stats.html +1 -1
- package/pv-components/dist/stats/web/pv-input-stats.html +1 -1
- package/pv-components/dist/stats/web/pv-multi-select-button-stats.html +1 -1
- package/pv-components/dist/stats/web/pv-select-button-stats.html +1 -1
- package/pv-components/dist/stats/web/pv-toggle-group-stats.html +1 -1
- package/pv-components/dist/stats/web/pv-tooltip-v2-stats.html +1 -1
- package/pv-components/dist/stats/web/pv-tree-stats.html +1 -1
- package/pv-components/dist/vue/base/components/base/PvInput/PvInput.vue.d.ts +1 -0
- package/pv-components/dist/vue/base/components/base/PvTree/PvSimpleNestedTreeItem.vue.d.ts +24 -0
- package/pv-components/dist/vue/base/components/base/PvTree/PvTree.vue.d.ts +3 -0
- package/pv-components/dist/vue/base/components/base/PvTree/PvTreeItem.vue.d.ts +1 -0
- package/pv-components/dist/vue/base/components/base/PvTree/symbols.d.ts +5 -0
- package/pv-components/dist/vue/base/components/base/PvTree/useDragAndDrop.d.ts +1 -0
- package/pv-components/dist/vue/base/components/base/PvTree/useDraggingState.d.ts +21 -0
- package/pv-components/dist/vue/base/pv-components-base.mjs +2687 -2516
- package/pv-components/dist/vue/visualizations/components/base/PvInput/PvInput.vue.d.ts +1 -0
- package/pv-components/dist/vue/visualizations/components/base/PvTree/PvSimpleNestedTreeItem.vue.d.ts +24 -0
- package/pv-components/dist/vue/visualizations/components/base/PvTree/PvTree.vue.d.ts +3 -0
- package/pv-components/dist/vue/visualizations/components/base/PvTree/PvTreeItem.vue.d.ts +1 -0
- package/pv-components/dist/vue/visualizations/components/base/PvTree/symbols.d.ts +5 -0
- package/pv-components/dist/vue/visualizations/components/base/PvTree/useDragAndDrop.d.ts +1 -0
- package/pv-components/dist/vue/visualizations/components/base/PvTree/useDraggingState.d.ts +21 -0
- package/pv-components/dist/vue/visualizations/pv-components-visualizations.mjs +100 -92
- package/pv-components/dist/web/components/pv-input/pv-input.js +15 -13
- package/pv-components/dist/web/components/pv-multi-select-button/pv-multi-select-button.js +1 -1
- package/pv-components/dist/web/components/pv-select-button/pv-select-button.js +1 -1
- package/pv-components/dist/web/components/pv-toggle-group/pv-toggle-group.js +1 -1
- package/pv-components/dist/web/components/pv-tooltip-v2/pv-tooltip-v2.js +1 -1
- package/pv-components/dist/web/components/pv-tree/pv-tree.js +1898 -1724
- package/pv-components/dist/web/pv-components.iife.js +50 -50
|
@@ -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-223abe26]{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-223abe26]{display:flex;overflow:hidden}.pv-scatter-quadrant-box[data-v-223abe26]{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-223abe26]{grid-column:1;grid-row:1;align-items:flex-start;justify-content:flex-start;padding:5px}.pv-scatter-quadrant-top-right[data-v-223abe26]{grid-column:2;grid-row:1;align-items:flex-start;justify-content:flex-end;padding:5px}.pv-scatter-quadrant-bottom-left[data-v-223abe26]{grid-column:1;grid-row:2;align-items:flex-end;justify-content:flex-start;padding:5px}.pv-scatter-quadrant-bottom-right[data-v-223abe26]{grid-column:2;grid-row:2;align-items:flex-end;justify-content:flex-end;padding:5px}.pv-chart-loading[data-v-223abe26]{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-223abe26]{color:#16696d;animation:pulse-223abe26 1.5s infinite ease-in-out}@keyframes pulse-223abe26{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-a5579c11]{opacity:0;transition:opacity .2s ease}.pv-label:hover .pv-menu-action-button[data-v-a5579c11]{opacity:1}.pv-menu-item-disabled[data-v-468640d9]{pointer-events:none;background:#ececec}.pv-menu-item[data-v-468640d9]{cursor:pointer}.pv-menu-item-disabled[data-v-9c8b69cd]{pointer-events:none;background:#ececec}.pv-menu-item[data-v-9c8b69cd]{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}.suggested-label[data-v-a6ef6c71]: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-686928ce]{padding:8px 12px 8px 0;text-align:center;color:#89989b}.pv-text-tertiary[data-v-4e159eee]{color:#6e8081}.pv-query-builder-input-wrapper[data-v-
|
|
2
|
-
import { defineComponent as te, createElementBlock as C, openBlock as d, normalizeStyle as Ve, normalizeClass as re, ref as $, onMounted as Ue, onUnmounted as ua, computed as v, createVNode as U, createCommentVNode as I, unref as H, Fragment as
|
|
1
|
+
(function(){"use strict";try{if(typeof document<"u"){var e=document.createElement("style");e.appendChild(document.createTextNode('.pv-scatter-overlay[data-v-223abe26]{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-223abe26]{display:flex;overflow:hidden}.pv-scatter-quadrant-box[data-v-223abe26]{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-223abe26]{grid-column:1;grid-row:1;align-items:flex-start;justify-content:flex-start;padding:5px}.pv-scatter-quadrant-top-right[data-v-223abe26]{grid-column:2;grid-row:1;align-items:flex-start;justify-content:flex-end;padding:5px}.pv-scatter-quadrant-bottom-left[data-v-223abe26]{grid-column:1;grid-row:2;align-items:flex-end;justify-content:flex-start;padding:5px}.pv-scatter-quadrant-bottom-right[data-v-223abe26]{grid-column:2;grid-row:2;align-items:flex-end;justify-content:flex-end;padding:5px}.pv-chart-loading[data-v-223abe26]{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-223abe26]{color:#16696d;animation:pulse-223abe26 1.5s infinite ease-in-out}@keyframes pulse-223abe26{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-a5579c11]{opacity:0;transition:opacity .2s ease}.pv-label:hover .pv-menu-action-button[data-v-a5579c11]{opacity:1}.pv-menu-item-disabled[data-v-468640d9]{pointer-events:none;background:#ececec}.pv-menu-item[data-v-468640d9]{cursor:pointer}.pv-menu-item-disabled[data-v-9c8b69cd]{pointer-events:none;background:#ececec}.pv-menu-item[data-v-9c8b69cd]{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}.suggested-label[data-v-a6ef6c71]: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-686928ce]{padding:8px 12px 8px 0;text-align:center;color:#89989b}.pv-text-tertiary[data-v-4e159eee]{color:#6e8081}.pv-query-builder-input-wrapper[data-v-0473d61e]{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-0473d61e]{justify-content:start;overflow-x:hidden}.pv-query-builder-input-wrapper input[data-v-0473d61e]{border:none;background:transparent;outline:none;font-size:.75rem}.pv-query-builder-input-wrapper[data-v-0473d61e]: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-shortcut{color:#89989b}.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-8c82d8de]:after{content:"›"}.pv-tooltip a[data-v-8c82d8de]{color:inherit}.pv-chart-option[data-v-8c82d8de]{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 C, openBlock as d, normalizeStyle as Ve, normalizeClass as re, ref as $, onMounted as Ue, onUnmounted as ua, computed as v, createVNode as U, createCommentVNode as I, unref as H, Fragment as ae, createElementVNode as O, createBlock as z, resolveDynamicComponent as vt, isRef as On, toValue as Sl, nextTick as Ot, useTemplateRef as bt, renderSlot as Se, watch as le, withDirectives as je, createTextVNode as _e, Teleport as Pn, withCtx as me, getCurrentInstance as Jt, toDisplayString as ee, withModifiers as rn, shallowRef as tl, getCurrentScope as So, onScopeDispose as wo, shallowReadonly as Lt, mergeModels as De, useModel as Te, vShow as nl, renderList as Le, vModelText as ll, readonly as Fo, mergeProps as Ie, createSlots as Cn, normalizeProps as kt, inject as ve, resolveComponent as ko, provide as he, vModelDynamic as To, vModelCheckbox as $o, onBeforeUnmount as Oo, guardReactiveProps as qn, onBeforeMount as al } from "vue";
|
|
3
3
|
import { AgCharts as Po } from "ag-charts-vue3";
|
|
4
4
|
import { LicenseManager as Mo } from "ag-charts-enterprise";
|
|
5
5
|
import { AgGridVue as Do } from "ag-grid-vue3";
|
|
@@ -346,7 +346,7 @@ const Ar = { style: { position: "relative" } }, Ir = {
|
|
|
346
346
|
e.isLoading ? (d(), C("div", Ir, [
|
|
347
347
|
U(Dn, { size: "xl" })
|
|
348
348
|
])) : I("", !0),
|
|
349
|
-
f.value && e.customChartProps?.scatter ? (d(), C(
|
|
349
|
+
f.value && e.customChartProps?.scatter ? (d(), C(ae, { key: 1 }, [
|
|
350
350
|
e.customChartProps?.scatter?.quadrantRenderer ? (d(), C("div", {
|
|
351
351
|
key: 0,
|
|
352
352
|
class: "pv-scatter-overlay",
|
|
@@ -494,7 +494,7 @@ const Zr = ["data-align"], Xr = /* @__PURE__ */ te({
|
|
|
494
494
|
};
|
|
495
495
|
t({
|
|
496
496
|
closeDropdown: m
|
|
497
|
-
}),
|
|
497
|
+
}), le(a, (g) => {
|
|
498
498
|
g ? Ot(() => {
|
|
499
499
|
c(), o("dropdown-open");
|
|
500
500
|
}) : o("dropdown-closed");
|
|
@@ -613,7 +613,7 @@ const os = {
|
|
|
613
613
|
e.loading ? (d(), z(Dn, {
|
|
614
614
|
key: 0,
|
|
615
615
|
size: "sm"
|
|
616
|
-
})) : (d(), C(
|
|
616
|
+
})) : (d(), C(ae, { key: 1 }, [
|
|
617
617
|
e.leftIcon ? (d(), z(Ce, {
|
|
618
618
|
key: 0,
|
|
619
619
|
name: e.leftIcon,
|
|
@@ -1627,11 +1627,11 @@ function ii(e, t, n) {
|
|
|
1627
1627
|
function B() {
|
|
1628
1628
|
o.value || (w.value = !1);
|
|
1629
1629
|
}
|
|
1630
|
-
return
|
|
1630
|
+
return le([a, r, s, o], D, {
|
|
1631
1631
|
flush: "sync"
|
|
1632
|
-
}),
|
|
1632
|
+
}), le([u, c], F, {
|
|
1633
1633
|
flush: "sync"
|
|
1634
|
-
}),
|
|
1634
|
+
}), le(o, B, {
|
|
1635
1635
|
flush: "sync"
|
|
1636
1636
|
}), So() && wo(k), {
|
|
1637
1637
|
x: Lt(f),
|
|
@@ -1689,13 +1689,13 @@ const ui = { style: { width: "fit-content" } }, La = /* @__PURE__ */ te({
|
|
|
1689
1689
|
strategy: t.positioningStrategy,
|
|
1690
1690
|
middleware: u
|
|
1691
1691
|
});
|
|
1692
|
-
|
|
1692
|
+
le(n, (k) => {
|
|
1693
1693
|
k && o.value && a.value && f();
|
|
1694
1694
|
});
|
|
1695
1695
|
const p = br(o), m = Fl(() => {
|
|
1696
1696
|
n.value && f();
|
|
1697
1697
|
}, 5);
|
|
1698
|
-
|
|
1698
|
+
le([p.top, p.left, p.width, p.height], m);
|
|
1699
1699
|
const h = v(() => ({
|
|
1700
1700
|
...c.value,
|
|
1701
1701
|
zIndex: t.zIndex ?? 10
|
|
@@ -1712,7 +1712,7 @@ const ui = { style: { width: "fit-content" } }, La = /* @__PURE__ */ te({
|
|
|
1712
1712
|
}, D = () => {
|
|
1713
1713
|
t.disableClickOutsideToClose || y(!1);
|
|
1714
1714
|
};
|
|
1715
|
-
return
|
|
1715
|
+
return le(g, (k) => {
|
|
1716
1716
|
t.showOnHover && y(k);
|
|
1717
1717
|
}), (k, F) => je((d(), C("div", ui, [
|
|
1718
1718
|
O("div", {
|
|
@@ -1764,7 +1764,7 @@ const ui = { style: { width: "fit-content" } }, La = /* @__PURE__ */ te({
|
|
|
1764
1764
|
}
|
|
1765
1765
|
])
|
|
1766
1766
|
}, [
|
|
1767
|
-
(d(!0), C(
|
|
1767
|
+
(d(!0), C(ae, null, Le(e.options, (a) => (d(), C("button", {
|
|
1768
1768
|
key: a.value,
|
|
1769
1769
|
class: "pv-full-width",
|
|
1770
1770
|
onClick: (r) => n(a.value),
|
|
@@ -1774,7 +1774,7 @@ const ui = { style: { width: "fit-content" } }, La = /* @__PURE__ */ te({
|
|
|
1774
1774
|
key: 0,
|
|
1775
1775
|
name: a.icon
|
|
1776
1776
|
}, null, 8, ["name"])) : I("", !0),
|
|
1777
|
-
a.label ? (d(), C(
|
|
1777
|
+
a.label ? (d(), C(ae, { key: 1 }, [
|
|
1778
1778
|
_e(ee(a.label), 1)
|
|
1779
1779
|
], 64)) : I("", !0),
|
|
1780
1780
|
a.iconPosition == "right" && a.icon ? (d(), z(Ce, {
|
|
@@ -1818,7 +1818,7 @@ const hi = {
|
|
|
1818
1818
|
})), a = v(() => ({
|
|
1819
1819
|
width: l.value
|
|
1820
1820
|
})), r = v(() => t.toCamelCase ? mi(t.name) + ".svg" : t.name + ".svg"), s = v(() => t.srcPathOverride ? t.srcPathOverride : `${t.basePath}/${r.value}`);
|
|
1821
|
-
return
|
|
1821
|
+
return le(s, () => {
|
|
1822
1822
|
n.value = !0;
|
|
1823
1823
|
}), (i, u) => (d(), C("div", hi, [
|
|
1824
1824
|
n.value ? (d(), C("div", {
|
|
@@ -1861,7 +1861,7 @@ const hi = {
|
|
|
1861
1861
|
emits: ["update:modelValue"],
|
|
1862
1862
|
setup(e) {
|
|
1863
1863
|
const t = e, n = bt("dialog"), l = Te(e, "modelValue");
|
|
1864
|
-
|
|
1864
|
+
le(
|
|
1865
1865
|
() => l.value,
|
|
1866
1866
|
() => {
|
|
1867
1867
|
l.value ? n.value?.showModal() : n.value?.close();
|
|
@@ -2564,7 +2564,7 @@ function lu(e) {
|
|
|
2564
2564
|
return V?.(ie, {
|
|
2565
2565
|
name: se
|
|
2566
2566
|
});
|
|
2567
|
-
}, R?.(se)), !n.value && (X =
|
|
2567
|
+
}, R?.(se)), !n.value && (X = le(l, function(ie) {
|
|
2568
2568
|
o.value.textContent = ie, L?.(se);
|
|
2569
2569
|
}, {
|
|
2570
2570
|
immediate: !0
|
|
@@ -3027,7 +3027,7 @@ const Tu = {
|
|
|
3027
3027
|
}, i = () => {
|
|
3028
3028
|
o?.value?.removeAttribute("open"), r.value = !1;
|
|
3029
3029
|
};
|
|
3030
|
-
return
|
|
3030
|
+
return le(
|
|
3031
3031
|
() => r.value,
|
|
3032
3032
|
() => {
|
|
3033
3033
|
r.value ? o?.value?.setAttribute("open", "true") : o?.value?.removeAttribute("open");
|
|
@@ -3042,7 +3042,7 @@ const Tu = {
|
|
|
3042
3042
|
style: { display: "flex", "flex-direction": "column", height: "100%" }
|
|
3043
3043
|
}, [
|
|
3044
3044
|
O("div", Tu, [
|
|
3045
|
-
u.$slots.header ? Se(u.$slots, "header", { key: 0 }) : (d(), C(
|
|
3045
|
+
u.$slots.header ? Se(u.$slots, "header", { key: 0 }) : (d(), C(ae, { key: 1 }, [
|
|
3046
3046
|
O("div", $u, [
|
|
3047
3047
|
O("div", Ou, [
|
|
3048
3048
|
O("span", Pu, ee(e.header), 1),
|
|
@@ -3085,7 +3085,7 @@ const Tu = {
|
|
|
3085
3085
|
emits: ["handle-select-all", "handle-clear-all", "handle-cancel", "handle-confirm"],
|
|
3086
3086
|
setup(e) {
|
|
3087
3087
|
return (t, n) => (d(), C("div", Au, [
|
|
3088
|
-
e.variant === "select-clear" ? (d(), C(
|
|
3088
|
+
e.variant === "select-clear" ? (d(), C(ae, { key: 0 }, [
|
|
3089
3089
|
U(xe, {
|
|
3090
3090
|
variant: "ghost",
|
|
3091
3091
|
"data-testid": "pv-select-menu-item-select-all",
|
|
@@ -3100,7 +3100,7 @@ const Tu = {
|
|
|
3100
3100
|
onClick: n[1] || (n[1] = (l) => t.$emit("handle-clear-all")),
|
|
3101
3101
|
disabled: e.disabled
|
|
3102
3102
|
}, null, 8, ["disabled"])
|
|
3103
|
-
], 64)) : e.variant === "cancel-confirm" ? (d(), C(
|
|
3103
|
+
], 64)) : e.variant === "cancel-confirm" ? (d(), C(ae, { key: 1 }, [
|
|
3104
3104
|
U(xe, {
|
|
3105
3105
|
label: "Cancel",
|
|
3106
3106
|
variant: "ghost",
|
|
@@ -3242,7 +3242,7 @@ const Ka = /* @__PURE__ */ Ee(Gu, [["render", zu]]), Hu = ["data-style"], Ku = [
|
|
|
3242
3242
|
key: 0,
|
|
3243
3243
|
name: e.icon,
|
|
3244
3244
|
size: n[e.size]
|
|
3245
|
-
}, null, 8, ["name", "size"])) : e.initials ? (d(), C(
|
|
3245
|
+
}, null, 8, ["name", "size"])) : e.initials ? (d(), C(ae, { key: 1 }, [
|
|
3246
3246
|
_e(ee(e.initials), 1)
|
|
3247
3247
|
], 64)) : e.image ? (d(), C("img", {
|
|
3248
3248
|
key: 2,
|
|
@@ -3292,12 +3292,12 @@ const Ka = /* @__PURE__ */ Ee(Gu, [["render", zu]]), Hu = ["data-style"], Ku = [
|
|
|
3292
3292
|
};
|
|
3293
3293
|
return Ue(() => {
|
|
3294
3294
|
s();
|
|
3295
|
-
}),
|
|
3295
|
+
}), le(
|
|
3296
3296
|
() => t.queryText,
|
|
3297
3297
|
() => {
|
|
3298
3298
|
s();
|
|
3299
3299
|
}
|
|
3300
|
-
), (i, u) => (d(), C(
|
|
3300
|
+
), (i, u) => (d(), C(ae, null, [
|
|
3301
3301
|
e.avatar ? (d(), z(ju, {
|
|
3302
3302
|
key: 0,
|
|
3303
3303
|
initials: e.avatar.initials,
|
|
@@ -3467,7 +3467,7 @@ const Ka = /* @__PURE__ */ Ee(Gu, [["render", zu]]), Hu = ["data-style"], Ku = [
|
|
|
3467
3467
|
const t = e, n = ve("selectedItems", null), l = ve("selectedItem", null), o = v(() => ({ paddingLeft: `${t.level * 12 + 12}px` })), a = v(() => t.children && t.children.length > 0 && t.level < rc), r = (s) => n && Array.isArray(n.value) ? n.value.some((i) => i.id === s.id) : l && l.value ? l.value.id === s.id : !1;
|
|
3468
3468
|
return (s, i) => {
|
|
3469
3469
|
const u = ko("PvMenuItem", !0);
|
|
3470
|
-
return d(), C(
|
|
3470
|
+
return d(), C(ae, null, [
|
|
3471
3471
|
U(ac, Ie(t, {
|
|
3472
3472
|
menuOptionConfig: e.config,
|
|
3473
3473
|
queryText: e.queryText,
|
|
@@ -3480,7 +3480,7 @@ const Ka = /* @__PURE__ */ Ee(Gu, [["render", zu]]), Hu = ["data-style"], Ku = [
|
|
|
3480
3480
|
role: "list",
|
|
3481
3481
|
style: Ve(o.value)
|
|
3482
3482
|
}, [
|
|
3483
|
-
(d(!0), C(
|
|
3483
|
+
(d(!0), C(ae, null, Le(e.children, (c) => (d(), C("li", {
|
|
3484
3484
|
key: c.id,
|
|
3485
3485
|
"data-active": r(c) ? "true" : null
|
|
3486
3486
|
}, [
|
|
@@ -3584,12 +3584,12 @@ const Ka = /* @__PURE__ */ Ee(Gu, [["render", zu]]), Hu = ["data-style"], Ku = [
|
|
|
3584
3584
|
const V = n.size === "lg" ? 24 : 30;
|
|
3585
3585
|
return n.overlayTrigger ? -V : void 0;
|
|
3586
3586
|
});
|
|
3587
|
-
|
|
3587
|
+
le(
|
|
3588
3588
|
() => i.value,
|
|
3589
3589
|
(V) => {
|
|
3590
3590
|
h.value = V;
|
|
3591
3591
|
}
|
|
3592
|
-
),
|
|
3592
|
+
), le(r, (V) => {
|
|
3593
3593
|
V ? (m(), Ot(() => {
|
|
3594
3594
|
n.overlayTrigger && !n.disableSearchInput && a.value?.input?.focus(), o("dropdown-open");
|
|
3595
3595
|
})) : (m(), o("dropdown-closed"));
|
|
@@ -3676,11 +3676,11 @@ const Ka = /* @__PURE__ */ Ee(Gu, [["render", zu]]), Hu = ["data-style"], Ku = [
|
|
|
3676
3676
|
O("div", uc, [
|
|
3677
3677
|
V.$slots.header ? Se(V.$slots, "header", kt(Ie({ key: 0 }, T.value))) : I("", !0)
|
|
3678
3678
|
]),
|
|
3679
|
-
g.value.length > 0 ? (d(), C(
|
|
3680
|
-
b.value ? (d(!0), C(
|
|
3679
|
+
g.value.length > 0 ? (d(), C(ae, { key: 1 }, [
|
|
3680
|
+
b.value ? (d(!0), C(ae, { key: 0 }, Le(R.value, ([G, X], pe) => (d(), C("div", { key: G }, [
|
|
3681
3681
|
V.$slots[G] ? Se(V.$slots, G, { key: 0 }) : G !== "other" ? (d(), C("span", cc, ee(G), 1)) : I("", !0),
|
|
3682
3682
|
O("ul", dc, [
|
|
3683
|
-
(d(!0), C(
|
|
3683
|
+
(d(!0), C(ae, null, Le(X, (ne) => je((d(), C("li", {
|
|
3684
3684
|
key: ne.id,
|
|
3685
3685
|
"data-active": L(ne),
|
|
3686
3686
|
"data-testid": `pv-multiselect-${G}-item`,
|
|
@@ -3697,7 +3697,7 @@ const Ka = /* @__PURE__ */ Ee(Gu, [["render", zu]]), Hu = ["data-style"], Ku = [
|
|
|
3697
3697
|
]),
|
|
3698
3698
|
R.value && pe !== R.value.length - 1 ? (d(), C("div", fc)) : I("", !0)
|
|
3699
3699
|
]))), 128)) : (d(), C("ul", vc, [
|
|
3700
|
-
(d(!0), C(
|
|
3700
|
+
(d(!0), C(ae, null, Le(g.value, (G) => (d(), C("li", {
|
|
3701
3701
|
key: G.id,
|
|
3702
3702
|
"data-active": h.value.some((X) => X.id === G.id) ? !0 : null,
|
|
3703
3703
|
"data-testid": `pv-multiselect-${e.label}-item`,
|
|
@@ -3713,7 +3713,7 @@ const Ka = /* @__PURE__ */ Ee(Gu, [["render", zu]]), Hu = ["data-style"], Ku = [
|
|
|
3713
3713
|
], 64)) : I("", !0),
|
|
3714
3714
|
e.isLoading ? (d(), C("div", hc, [
|
|
3715
3715
|
U(Dn, { variant: "dark" })
|
|
3716
|
-
])) : g.value.length === 0 ? (d(), C(
|
|
3716
|
+
])) : g.value.length === 0 ? (d(), C(ae, { key: 3 }, [
|
|
3717
3717
|
V.$slots["no-results"] ? Se(V.$slots, "no-results", kt(Ie({ key: 0 }, T.value))) : (d(), z(Ka, { key: 1 }))
|
|
3718
3718
|
], 64)) : I("", !0),
|
|
3719
3719
|
O("div", yc, [
|
|
@@ -3782,7 +3782,7 @@ const Ka = /* @__PURE__ */ Ee(Gu, [["render", zu]]), Hu = ["data-style"], Ku = [
|
|
|
3782
3782
|
})), o = t, [a] = da(n.defaultOpen), r = Te(e, "modelValue");
|
|
3783
3783
|
he("selectedItem", r);
|
|
3784
3784
|
const s = Te(e, "searchInput");
|
|
3785
|
-
|
|
3785
|
+
le(a, (y) => {
|
|
3786
3786
|
o(y ? "dropdown-open" : "dropdown-closed");
|
|
3787
3787
|
});
|
|
3788
3788
|
const i = v(() => r.value && r.value.text ? r.value.text : n.label), u = v(() => {
|
|
@@ -3862,7 +3862,7 @@ const Ka = /* @__PURE__ */ Ee(Gu, [["render", zu]]), Hu = ["data-style"], Ku = [
|
|
|
3862
3862
|
}, null, 8, ["model-value", "placeholder"])
|
|
3863
3863
|
])),
|
|
3864
3864
|
f.value.length > 0 ? (d(), C("ul", Cc, [
|
|
3865
|
-
(d(!0), C(
|
|
3865
|
+
(d(!0), C(ae, null, Le(f.value, (g) => (d(), C("li", {
|
|
3866
3866
|
key: g.id,
|
|
3867
3867
|
"data-active": r.value?.id === g.id ? !0 : null
|
|
3868
3868
|
}, [
|
|
@@ -3880,7 +3880,7 @@ const Ka = /* @__PURE__ */ Ee(Gu, [["render", zu]]), Hu = ["data-style"], Ku = [
|
|
|
3880
3880
|
_: 1
|
|
3881
3881
|
}, 16, ["modelValue"]));
|
|
3882
3882
|
}
|
|
3883
|
-
}), Sc = ["for"], wc = ["disabled", "type", "placeholder", "id", "data-invalid"];
|
|
3883
|
+
}), Sc = ["for"], wc = ["disabled", "type", "placeholder", "id", "data-invalid", "step"];
|
|
3884
3884
|
Math.random().toString();
|
|
3885
3885
|
const Fc = ["for"], kc = { key: 0 }, Tc = ["disabled", "id"];
|
|
3886
3886
|
Math.random().toString();
|
|
@@ -3908,7 +3908,7 @@ const hl = Symbol("FilterStoreKey"), kn = Symbol("FocusStoreKey"), Ua = Symbol("
|
|
|
3908
3908
|
},
|
|
3909
3909
|
setup(e) {
|
|
3910
3910
|
const t = ve(Dt, $(null)), n = ve(Bn, $([])), l = ve(yl, $([])), o = e;
|
|
3911
|
-
|
|
3911
|
+
le(
|
|
3912
3912
|
l,
|
|
3913
3913
|
// Directly watch the ref
|
|
3914
3914
|
() => {
|
|
@@ -3965,7 +3965,7 @@ const hl = Symbol("FilterStoreKey"), kn = Symbol("FocusStoreKey"), Ua = Symbol("
|
|
|
3965
3965
|
])
|
|
3966
3966
|
]),
|
|
3967
3967
|
default: me(() => [
|
|
3968
|
-
(d(!0), C(
|
|
3968
|
+
(d(!0), C(ae, null, Le(f.value, (w, g) => (d(), C(ae, {
|
|
3969
3969
|
key: w.value
|
|
3970
3970
|
}, [
|
|
3971
3971
|
w.value !== "divider" ? (d(), C("li", {
|
|
@@ -4072,7 +4072,7 @@ const Gc = /* @__PURE__ */ Ee(_c, [["render", Nc]]), bl = (e = null) => {
|
|
|
4072
4072
|
a.value.removeEventListener("expandedChanged", p);
|
|
4073
4073
|
const D = x.rowIndex;
|
|
4074
4074
|
D != null && (o.value[D] = !1);
|
|
4075
|
-
}), (x, D) => (d(), C(
|
|
4075
|
+
}), (x, D) => (d(), C(ae, null, [
|
|
4076
4076
|
s.value ? (d(), C("div", {
|
|
4077
4077
|
key: 0,
|
|
4078
4078
|
class: re(w.value)
|
|
@@ -4661,7 +4661,7 @@ const xl = (e) => {
|
|
|
4661
4661
|
}), l("filter-selection-changed");
|
|
4662
4662
|
}
|
|
4663
4663
|
});
|
|
4664
|
-
|
|
4664
|
+
le(
|
|
4665
4665
|
() => i.value,
|
|
4666
4666
|
() => {
|
|
4667
4667
|
q() > (u.value[T.value] || 0) && E(!0);
|
|
@@ -4674,7 +4674,7 @@ const xl = (e) => {
|
|
|
4674
4674
|
G.value && !j ? (E(), G.value = !1) : j && (G.value = !0);
|
|
4675
4675
|
},
|
|
4676
4676
|
{ deep: !0 }
|
|
4677
|
-
),
|
|
4677
|
+
), le(
|
|
4678
4678
|
() => r.value,
|
|
4679
4679
|
() => {
|
|
4680
4680
|
if (X.value)
|
|
@@ -4688,25 +4688,25 @@ const xl = (e) => {
|
|
|
4688
4688
|
} else
|
|
4689
4689
|
console.error(`Staged filter model update for filter type ${V.value} is not yet supported.`);
|
|
4690
4690
|
}
|
|
4691
|
-
),
|
|
4691
|
+
), le(
|
|
4692
4692
|
() => a.value,
|
|
4693
4693
|
() => {
|
|
4694
4694
|
const j = Jn(n.filterColDef, a.value), W = b.value.some((Y) => !j.includes(Y));
|
|
4695
4695
|
Z(W);
|
|
4696
4696
|
}
|
|
4697
|
-
),
|
|
4697
|
+
), le(
|
|
4698
4698
|
() => s.value,
|
|
4699
4699
|
() => {
|
|
4700
4700
|
b.value = [];
|
|
4701
4701
|
}
|
|
4702
|
-
),
|
|
4702
|
+
), le(
|
|
4703
4703
|
() => R.value,
|
|
4704
4704
|
async () => {
|
|
4705
4705
|
X.value ? setTimeout(async () => {
|
|
4706
4706
|
await E(!0);
|
|
4707
4707
|
}, 2e3) : await E(!0), Z();
|
|
4708
4708
|
}
|
|
4709
|
-
),
|
|
4709
|
+
), le(
|
|
4710
4710
|
() => b.value,
|
|
4711
4711
|
(j) => {
|
|
4712
4712
|
y(T.value, j);
|
|
@@ -4742,10 +4742,10 @@ const xl = (e) => {
|
|
|
4742
4742
|
};
|
|
4743
4743
|
return Ue(() => {
|
|
4744
4744
|
Z();
|
|
4745
|
-
}), (j, W) => (d(), C(
|
|
4745
|
+
}), (j, W) => (d(), C(ae, null, [
|
|
4746
4746
|
O("div", null, [
|
|
4747
4747
|
X.value ? (d(), C("ul", ud, [
|
|
4748
|
-
(d(!0), C(
|
|
4748
|
+
(d(!0), C(ae, null, Le(b.value, (Y) => (d(), C("li", {
|
|
4749
4749
|
key: `${N.value}-${Y}`,
|
|
4750
4750
|
style: { "max-width": "100%", "line-height": "1rem" }
|
|
4751
4751
|
}, [
|
|
@@ -4870,7 +4870,7 @@ const xl = (e) => {
|
|
|
4870
4870
|
W[6] || (W[6] = O("li", null, [
|
|
4871
4871
|
O("p", { class: "pv-text-subdued pv-text-body-md" }, "Suggested:")
|
|
4872
4872
|
], -1)),
|
|
4873
|
-
(d(!0), C(
|
|
4873
|
+
(d(!0), C(ae, null, Le(dt.value.filter((Y) => Y !== "" && Y != null).slice(0, yd), (Y) => (d(), C("li", {
|
|
4874
4874
|
key: `${N.value}-${Y}-suggest`,
|
|
4875
4875
|
class: re(G.value ? "pv-shimmer" : ""),
|
|
4876
4876
|
style: { "max-width": "100%", "line-height": "1rem" }
|
|
@@ -4932,9 +4932,9 @@ const xl = (e) => {
|
|
|
4932
4932
|
}, b = () => {
|
|
4933
4933
|
g.value && t.value && (t.value.setFilterModel(r.value), t.value.onFilterChanged()), B();
|
|
4934
4934
|
};
|
|
4935
|
-
return (L, T) => (d(), C(
|
|
4935
|
+
return (L, T) => (d(), C(ae, null, [
|
|
4936
4936
|
O("div", bd, [
|
|
4937
|
-
(d(!0), C(
|
|
4937
|
+
(d(!0), C(ae, null, Le(y.value, (V) => (d(), C(ae, {
|
|
4938
4938
|
key: V.field
|
|
4939
4939
|
}, [
|
|
4940
4940
|
H(t) ? (d(), z(ra, {
|
|
@@ -5022,7 +5022,7 @@ const xl = (e) => {
|
|
|
5022
5022
|
default: me(() => [
|
|
5023
5023
|
O("div", wd, [
|
|
5024
5024
|
O("div", Fd, [
|
|
5025
|
-
(d(!0), C(
|
|
5025
|
+
(d(!0), C(ae, null, Le(h.value, (V, N) => (d(), C("div", {
|
|
5026
5026
|
key: V.field,
|
|
5027
5027
|
class: re([{
|
|
5028
5028
|
"pv-border-bottom": N < h.value.length - 1
|
|
@@ -5229,9 +5229,9 @@ const xl = (e) => {
|
|
|
5229
5229
|
onClick: rn(l, ["prevent"]),
|
|
5230
5230
|
disabled: n.value
|
|
5231
5231
|
}, [
|
|
5232
|
-
n.value ? (d(), C(
|
|
5232
|
+
n.value ? (d(), C(ae, { key: 0 }, [
|
|
5233
5233
|
_e("Exporting...")
|
|
5234
|
-
], 64)) : (d(), C(
|
|
5234
|
+
], 64)) : (d(), C(ae, { key: 1 }, [
|
|
5235
5235
|
_e("Download CSV")
|
|
5236
5236
|
], 64))
|
|
5237
5237
|
], 8, _d)
|
|
@@ -5271,7 +5271,7 @@ const xl = (e) => {
|
|
|
5271
5271
|
size: o.panelSize === "l" ? "md" : "lg",
|
|
5272
5272
|
"right-icon": "chevron-left"
|
|
5273
5273
|
}, null, 8, ["disabled", "size"]),
|
|
5274
|
-
(d(!0), C(
|
|
5274
|
+
(d(!0), C(ae, null, Le(a.value, (f) => (d(), C(ae, { key: f }, [
|
|
5275
5275
|
typeof f == "number" ? (d(), z(xe, {
|
|
5276
5276
|
key: 0,
|
|
5277
5277
|
variant: f === H(n) ? "primary" : "ghost",
|
|
@@ -5458,8 +5458,8 @@ const xl = (e) => {
|
|
|
5458
5458
|
};
|
|
5459
5459
|
o(n.value, f);
|
|
5460
5460
|
};
|
|
5461
|
-
return (c, f) => (d(), C(
|
|
5462
|
-
(d(!0), C(
|
|
5461
|
+
return (c, f) => (d(), C(ae, null, [
|
|
5462
|
+
(d(!0), C(ae, null, Le(a.value, (p, m) => (d(), z(H(Un), {
|
|
5463
5463
|
key: `${m}-${p.queryText}`,
|
|
5464
5464
|
variant: i(p),
|
|
5465
5465
|
label: s(p),
|
|
@@ -5536,7 +5536,15 @@ const xl = (e) => {
|
|
|
5536
5536
|
searchText: o.value,
|
|
5537
5537
|
context: b.queryTerm
|
|
5538
5538
|
}));
|
|
5539
|
-
})
|
|
5539
|
+
});
|
|
5540
|
+
le(
|
|
5541
|
+
[g, o, () => t.optionsLoading],
|
|
5542
|
+
([R, b, L]) => {
|
|
5543
|
+
b && b.length > 0 && (R.length > 0 || L) ? u.value = !0 : (!b || b.length === 0) && (u.value = !1);
|
|
5544
|
+
},
|
|
5545
|
+
{ immediate: !0 }
|
|
5546
|
+
);
|
|
5547
|
+
const x = () => {
|
|
5540
5548
|
t.enableCustomOptionsInput && w(), u.value = !1, c.value = !1, f.value = !1;
|
|
5541
5549
|
}, D = (R) => {
|
|
5542
5550
|
try {
|
|
@@ -5614,7 +5622,7 @@ const xl = (e) => {
|
|
|
5614
5622
|
default: me(() => [
|
|
5615
5623
|
e.optionsLoading ? (d(), C("div", n1, [
|
|
5616
5624
|
U(H(Dn), { variant: "dark" })
|
|
5617
|
-
])) : (d(!0), C(
|
|
5625
|
+
])) : (d(!0), C(ae, { key: 0 }, Le(g.value, (L, T) => (d(), z(qt, Ie({
|
|
5618
5626
|
key: `${T}-${L.searchText}`,
|
|
5619
5627
|
ref_for: !0
|
|
5620
5628
|
}, L, {
|
|
@@ -5628,7 +5636,7 @@ const xl = (e) => {
|
|
|
5628
5636
|
[H(Mn), x]
|
|
5629
5637
|
]);
|
|
5630
5638
|
}
|
|
5631
|
-
}), a1 = /* @__PURE__ */ Ee(l1, [["__scopeId", "data-v-
|
|
5639
|
+
}), a1 = /* @__PURE__ */ Ee(l1, [["__scopeId", "data-v-0473d61e"]]), o1 = /* @__PURE__ */ te({
|
|
5632
5640
|
__name: "TableSearch",
|
|
5633
5641
|
props: {
|
|
5634
5642
|
placeholder: {},
|
|
@@ -5930,7 +5938,7 @@ const xl = (e) => {
|
|
|
5930
5938
|
const ye = $(null), oe = v(() => X?.computedFocusType.value || null), ie = v(() => X?.computedFocuses.value || []), we = v(() => g.filter((P) => P.filter)), Re = v(() => g.filter((P) => P.enableRowGroup)), ze = v(() => g.filter((P) => P.aggFunc)), Ae = $(null), ct = $({}), We = $(1), tt = $(0);
|
|
5931
5939
|
he(hl, N), he(kn, X), he(Ua, V), he(Dt, T), he(Pc, ye), he(Wa, D), he(Ya, we), he(Bn, Re), he(yl, k), he(Qa, Ae), he(gl, ct), he(Za, F), he(Xa, B), he(Ja, We), he(eo, tt);
|
|
5932
5940
|
const dt = v(() => !a.enableFocusView && !a.rowData || a.enableFocusView && !ie.value.length && !oe.value ? a.rowData : ta(a.rowData, oe.value, ie.value));
|
|
5933
|
-
|
|
5941
|
+
le(
|
|
5934
5942
|
() => ie.value,
|
|
5935
5943
|
(P) => {
|
|
5936
5944
|
i("focus-update", { filterField: oe.value, focuses: P });
|
|
@@ -6123,7 +6131,7 @@ const xl = (e) => {
|
|
|
6123
6131
|
const K = P.filter?.filterModel || null, de = P.rowGroup?.groupColIds || null, fe = P.columnVisibility || null;
|
|
6124
6132
|
K && !aa(K, A.getFilterModel()) && A.setFilterModel(K), a.isTableGrouped && de && !rl(de, k.value) && A.setRowGroupColumns(de), fe?.hiddenColIds && A.setColumnsVisible(fe.hiddenColIds, !1);
|
|
6125
6133
|
};
|
|
6126
|
-
|
|
6134
|
+
le(
|
|
6127
6135
|
() => a.initialGridState,
|
|
6128
6136
|
() => {
|
|
6129
6137
|
if (a.initialGridState) {
|
|
@@ -6436,7 +6444,7 @@ const xl = (e) => {
|
|
|
6436
6444
|
ref: s,
|
|
6437
6445
|
role: "list"
|
|
6438
6446
|
}, [
|
|
6439
|
-
(d(!0), C(
|
|
6447
|
+
(d(!0), C(ae, null, Le(r.value, (R) => (d(), C("li", {
|
|
6440
6448
|
key: R.id,
|
|
6441
6449
|
id: R.id,
|
|
6442
6450
|
class: "pv-stack-4"
|
|
@@ -6515,7 +6523,7 @@ const xl = (e) => {
|
|
|
6515
6523
|
const q = u.value?.id ?? "";
|
|
6516
6524
|
return m.value.length > 1 && !q.endsWith("_stacked");
|
|
6517
6525
|
}), w = ve(so, $("")), g = ve(io, $([])), x = ve(uo, $(void 0)), D = ve(co, $([]));
|
|
6518
|
-
|
|
6526
|
+
le(
|
|
6519
6527
|
y,
|
|
6520
6528
|
(q) => {
|
|
6521
6529
|
q && x.value && (x.value = void 0);
|
|
@@ -6529,7 +6537,7 @@ const xl = (e) => {
|
|
|
6529
6537
|
value: Z.value
|
|
6530
6538
|
})) : q;
|
|
6531
6539
|
}), B = v(() => u.value ? (m.value.length > 1 ? ["bar_stacked", "line", "column_stacked", "area"] : ["bar", "line", "column", "area"]).includes(u.value?.id) : void 0);
|
|
6532
|
-
|
|
6540
|
+
le(c, (q) => {
|
|
6533
6541
|
if (!u.value) return;
|
|
6534
6542
|
const Z = u.value, E = Z?.id.endsWith("_stacked"), J = q.find((se) => se.id === Z.id);
|
|
6535
6543
|
if (J) {
|
|
@@ -6559,15 +6567,15 @@ const xl = (e) => {
|
|
|
6559
6567
|
const Z = T.value.map((E) => E.id);
|
|
6560
6568
|
(q.length !== Z.length || !q.every((E) => Z.includes(E))) && (T.value = q.map((E) => L.value.find((J) => J.id === E)).filter(Boolean));
|
|
6561
6569
|
};
|
|
6562
|
-
|
|
6570
|
+
le(
|
|
6563
6571
|
m,
|
|
6564
6572
|
(q) => {
|
|
6565
6573
|
V(q);
|
|
6566
6574
|
},
|
|
6567
6575
|
{ immediate: !0 }
|
|
6568
|
-
),
|
|
6576
|
+
), le(L, () => {
|
|
6569
6577
|
V(m.value);
|
|
6570
|
-
}),
|
|
6578
|
+
}), le(
|
|
6571
6579
|
T,
|
|
6572
6580
|
(q) => {
|
|
6573
6581
|
m.value = q.map((Z) => Z.id);
|
|
@@ -6641,7 +6649,7 @@ const xl = (e) => {
|
|
|
6641
6649
|
};
|
|
6642
6650
|
return R.value.length > 1 && q.push(Z), b.value.length > 0 && q.push(E), L.value.length > 1 && q.push(J), c.value.length > 1 && q.push(ye), p.value.length > 0 && q.push(se), q.filter((oe) => t.chartConfigOptions ? t.chartConfigOptions.includes(oe.value) : !0);
|
|
6643
6651
|
});
|
|
6644
|
-
|
|
6652
|
+
le(i, (q) => {
|
|
6645
6653
|
q?.popoverRef && (a.value = q?.popoverRef);
|
|
6646
6654
|
});
|
|
6647
6655
|
const G = v(() => s.value && N.value.find((q) => q.value === s.value) || null), X = (q) => {
|
|
@@ -6651,14 +6659,14 @@ const xl = (e) => {
|
|
|
6651
6659
|
}, ne = () => {
|
|
6652
6660
|
s.value = void 0;
|
|
6653
6661
|
};
|
|
6654
|
-
return (q, Z) => (d(), C(
|
|
6662
|
+
return (q, Z) => (d(), C(ae, null, [
|
|
6655
6663
|
O("div", O1, [
|
|
6656
6664
|
O("div", null, [
|
|
6657
6665
|
je((d(), C("div", {
|
|
6658
6666
|
class: re(["pv-flex pv-space-between", e.useCombinedButton ? "pv-stack-8" : ""])
|
|
6659
6667
|
}, [
|
|
6660
6668
|
O("div", P1, [
|
|
6661
|
-
e.useCombinedButton ? (d(), C(
|
|
6669
|
+
e.useCombinedButton ? (d(), C(ae, { key: 0 }, [
|
|
6662
6670
|
U(ml, {
|
|
6663
6671
|
open: r.value,
|
|
6664
6672
|
label: "Chart Configuration",
|
|
@@ -6678,7 +6686,7 @@ const xl = (e) => {
|
|
|
6678
6686
|
}, " Chart Configuration ")
|
|
6679
6687
|
], -1)),
|
|
6680
6688
|
O("ul", M1, [
|
|
6681
|
-
(d(!0), C(
|
|
6689
|
+
(d(!0), C(ae, null, Le(N.value, (E) => (d(), C("li", {
|
|
6682
6690
|
id: `pv-chart-config-${E.value}`,
|
|
6683
6691
|
key: E.value,
|
|
6684
6692
|
"data-active": s.value === E.value ? !0 : null,
|
|
@@ -6735,7 +6743,7 @@ const xl = (e) => {
|
|
|
6735
6743
|
"onUpdate:modelValue": Z[1] || (Z[1] = (E) => On(k) ? k.value = E : null)
|
|
6736
6744
|
}, null, 8, ["options", "modelValue"])) : I("", !0),
|
|
6737
6745
|
e.useCombinedButton ? I("", !0) : (d(), C("div", L1, [
|
|
6738
|
-
(d(!0), C(
|
|
6746
|
+
(d(!0), C(ae, null, Le(N.value, (E) => (d(), C(ae, {
|
|
6739
6747
|
key: E.value
|
|
6740
6748
|
}, [
|
|
6741
6749
|
E.isSortableList ? I("", !0) : (d(), z(ja, {
|
|
@@ -6764,8 +6772,8 @@ const xl = (e) => {
|
|
|
6764
6772
|
"use-teleport": !1
|
|
6765
6773
|
}, {
|
|
6766
6774
|
default: me(() => [
|
|
6767
|
-
G.value ? (d(), C(
|
|
6768
|
-
G.value.isSortableList ? (d(), C(
|
|
6775
|
+
G.value ? (d(), C(ae, { key: 0 }, [
|
|
6776
|
+
G.value.isSortableList ? (d(), C(ae, { key: 0 }, [
|
|
6769
6777
|
Z[4] || (Z[4] = O("p", {
|
|
6770
6778
|
class: "pv-text-tertiary pv-text-body-sm pv-stack-4",
|
|
6771
6779
|
style: { "padding-left": "2px", "padding-bottom": "6px" }
|
|
@@ -6778,7 +6786,7 @@ const xl = (e) => {
|
|
|
6778
6786
|
placeholderText: "Add to X Axis"
|
|
6779
6787
|
}, null, 8, ["modelValue", "options", "activeOptionLimit"])
|
|
6780
6788
|
], 64)) : (d(), C("ul", V1, [
|
|
6781
|
-
(d(!0), C(
|
|
6789
|
+
(d(!0), C(ae, null, Le(G.value.availableOptions, (E) => (d(), C("li", {
|
|
6782
6790
|
key: E.id,
|
|
6783
6791
|
"data-active": G.value.currentOption?.id === E.id ? !0 : null
|
|
6784
6792
|
}, [
|
|
@@ -7043,7 +7051,7 @@ const xl = (e) => {
|
|
|
7043
7051
|
}
|
|
7044
7052
|
j(S.api), o("filter-changed", S);
|
|
7045
7053
|
};
|
|
7046
|
-
|
|
7054
|
+
le(
|
|
7047
7055
|
() => h.value,
|
|
7048
7056
|
() => {
|
|
7049
7057
|
if (b.value) {
|
|
@@ -7100,18 +7108,18 @@ const xl = (e) => {
|
|
|
7100
7108
|
const M = E.value.find((_) => _.id === S);
|
|
7101
7109
|
M ? J.value = M : J.value = E.value[0];
|
|
7102
7110
|
};
|
|
7103
|
-
|
|
7111
|
+
le(
|
|
7104
7112
|
() => E.value,
|
|
7105
7113
|
() => ct(J.value?.id || l.chartType)
|
|
7106
|
-
),
|
|
7114
|
+
), le(
|
|
7107
7115
|
() => l.chartType,
|
|
7108
7116
|
(S) => ct(S)
|
|
7109
|
-
),
|
|
7117
|
+
), le(
|
|
7110
7118
|
() => l.yKey,
|
|
7111
7119
|
(S) => {
|
|
7112
7120
|
S !== ie.value && (ie.value = S);
|
|
7113
7121
|
}
|
|
7114
|
-
),
|
|
7122
|
+
), le(Ae, (S) => {
|
|
7115
7123
|
if (l.chartFilter && a.value) {
|
|
7116
7124
|
const M = l.chartFilter.colId;
|
|
7117
7125
|
let _ = l.chartFilter.options.find((ge) => ge.value === S)?.filterValues || null;
|
|
@@ -7215,7 +7223,7 @@ const xl = (e) => {
|
|
|
7215
7223
|
legendItemKey: y.value,
|
|
7216
7224
|
angleKey: ie.value
|
|
7217
7225
|
}]);
|
|
7218
|
-
|
|
7226
|
+
le(ie, (S, M) => {
|
|
7219
7227
|
o("chart-state-changed", {
|
|
7220
7228
|
api: a.value,
|
|
7221
7229
|
newState: {
|
|
@@ -7225,7 +7233,7 @@ const xl = (e) => {
|
|
|
7225
7233
|
seriesField: M
|
|
7226
7234
|
}
|
|
7227
7235
|
});
|
|
7228
|
-
}),
|
|
7236
|
+
}), le(we, (S, M) => {
|
|
7229
7237
|
o("chart-state-changed", {
|
|
7230
7238
|
api: a.value,
|
|
7231
7239
|
newState: {
|
|
@@ -7235,7 +7243,7 @@ const xl = (e) => {
|
|
|
7235
7243
|
secondarySeriesField: M
|
|
7236
7244
|
}
|
|
7237
7245
|
});
|
|
7238
|
-
}),
|
|
7246
|
+
}), le(J, (S, M) => {
|
|
7239
7247
|
o("chart-state-changed", {
|
|
7240
7248
|
api: a.value,
|
|
7241
7249
|
newState: {
|
|
@@ -7245,7 +7253,7 @@ const xl = (e) => {
|
|
|
7245
7253
|
chartType: M?.id
|
|
7246
7254
|
}
|
|
7247
7255
|
});
|
|
7248
|
-
}),
|
|
7256
|
+
}), le(ze, (S, M) => {
|
|
7249
7257
|
o("chart-state-changed", {
|
|
7250
7258
|
api: a.value,
|
|
7251
7259
|
newState: {
|
|
@@ -7255,7 +7263,7 @@ const xl = (e) => {
|
|
|
7255
7263
|
chartSort: M?.id
|
|
7256
7264
|
}
|
|
7257
7265
|
});
|
|
7258
|
-
}),
|
|
7266
|
+
}), le(h, (S, M) => {
|
|
7259
7267
|
o("chart-state-changed", {
|
|
7260
7268
|
api: a.value,
|
|
7261
7269
|
newState: {
|
|
@@ -7265,7 +7273,7 @@ const xl = (e) => {
|
|
|
7265
7273
|
chartCategoryFields: M
|
|
7266
7274
|
}
|
|
7267
7275
|
});
|
|
7268
|
-
}),
|
|
7276
|
+
}), le(b, (S, M) => {
|
|
7269
7277
|
o("chart-state-changed", {
|
|
7270
7278
|
api: a.value,
|
|
7271
7279
|
newState: {
|
|
@@ -7275,12 +7283,12 @@ const xl = (e) => {
|
|
|
7275
7283
|
tableGrouped: M
|
|
7276
7284
|
}
|
|
7277
7285
|
});
|
|
7278
|
-
}),
|
|
7286
|
+
}), le(
|
|
7279
7287
|
() => l.isTableGrouped,
|
|
7280
7288
|
(S, M) => {
|
|
7281
7289
|
!a.value || S === M || !l.enableGroupingToggle || Be(S);
|
|
7282
7290
|
}
|
|
7283
|
-
),
|
|
7291
|
+
), le(
|
|
7284
7292
|
() => l.initialFocusData,
|
|
7285
7293
|
(S, M) => {
|
|
7286
7294
|
if (!(rl(S?.focuses, M?.focuses) && S?.focusType == M?.focusType)) {
|
|
@@ -7577,7 +7585,7 @@ const xl = (e) => {
|
|
|
7577
7585
|
L.value ? (d(), C("div", U1, [
|
|
7578
7586
|
(d(), z(vt(e.emptyChartFilterRenderer)))
|
|
7579
7587
|
])) : de.value ? (d(), C("p", W1, [
|
|
7580
|
-
yt.value ? (d(), C(
|
|
7588
|
+
yt.value ? (d(), C(ae, { key: 0 }, [
|
|
7581
7589
|
M[10] || (M[10] = _e(" Select ", -1)),
|
|
7582
7590
|
U(Ce, { name: "focus" })
|
|
7583
7591
|
], 64)) : I("", !0),
|
|
@@ -10802,9 +10810,9 @@ const xl = (e) => {
|
|
|
10802
10810
|
id: r
|
|
10803
10811
|
}));
|
|
10804
10812
|
});
|
|
10805
|
-
return
|
|
10813
|
+
return le(n, (a) => {
|
|
10806
10814
|
a === t.value || a?.id === t.value || (t.value = a?.id);
|
|
10807
|
-
}),
|
|
10815
|
+
}), le(t, (a) => {
|
|
10808
10816
|
a === n.value || a === n.value?.id || (n.value = o.value.find((r) => r.id === a));
|
|
10809
10817
|
}), (a, r) => (d(), z(ja, {
|
|
10810
10818
|
style: { width: "125px" },
|
|
@@ -10855,7 +10863,7 @@ const xl = (e) => {
|
|
|
10855
10863
|
n.gradientLegendMin,
|
|
10856
10864
|
n.gradientLegendMax
|
|
10857
10865
|
)), c = v(() => u.value.filter((p) => p[n.mapType] !== Tn && p[n.mapType] !== $n).map((p) => p[n.mapType]));
|
|
10858
|
-
|
|
10866
|
+
le(o, (p) => {
|
|
10859
10867
|
a("region-selection-changed", {
|
|
10860
10868
|
region: p
|
|
10861
10869
|
});
|
|
@@ -10900,7 +10908,7 @@ const xl = (e) => {
|
|
|
10900
10908
|
enabled: !1
|
|
10901
10909
|
}
|
|
10902
10910
|
}));
|
|
10903
|
-
return (p, m) => (d(), C(
|
|
10911
|
+
return (p, m) => (d(), C(ae, null, [
|
|
10904
10912
|
O("div", u4, [
|
|
10905
10913
|
U(i4, {
|
|
10906
10914
|
modelValue: o.value,
|