@turquoisehealth/pit-viper 2.199.2-dev.0 → 2.199.2-dev.2
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-menu-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-query-builder-input-stats.html +1 -1
- package/pv-components/dist/stats/web/pv-select-button-stats.html +1 -1
- package/pv-components/dist/vue/base/pv-components-base.mjs +251 -256
- package/pv-components/dist/vue/base/pv-components-base.mjs.map +1 -1
- package/pv-components/dist/vue/visualizations/pv-components-visualizations.mjs +720 -725
- package/pv-components/dist/vue/visualizations/pv-components-visualizations.mjs.map +1 -1
- package/pv-components/dist/web/components/pv-menu/pv-menu.js +13 -13
- package/pv-components/dist/web/components/pv-multi-select-button/pv-multi-select-button.js +15 -20
- package/pv-components/dist/web/components/pv-query-builder-input/pv-query-builder-input.js +460 -460
- package/pv-components/dist/web/components/pv-select-button/pv-select-button.js +822 -822
- package/pv-components/dist/web/pv-components.iife.js +1 -1
- package/pv-components/dist/web/pv-components.iife.js.map +1 -1
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
(function(){try{if(typeof document<`u`){var e=document.createElement(`style`);e.appendChild(document.createTextNode(`.pv-scatter-overlay[data-v-ad4913cb]{pointer-events:none;z-index:2;grid-template-rows:1fr 1fr;grid-template-columns:1fr 1fr;width:100%;height:100%;display:grid;position:absolute;top:0;left:0}.pv-scatter-quadrant[data-v-ad4913cb]{display:flex;overflow:hidden}.pv-scatter-quadrant-box[data-v-ad4913cb]{color:#666;pointer-events:all;background:#8080801a;border-radius:4px;max-width:calc(100% - 10px);max-height:calc(100% - 10px);padding:8px;font-size:12px;font-weight:600;overflow:auto}.pv-scatter-quadrant-top-left[data-v-ad4913cb]{grid-area:1/1;justify-content:flex-start;align-items:flex-start;padding:5px}.pv-scatter-quadrant-top-right[data-v-ad4913cb]{grid-area:1/2;justify-content:flex-end;align-items:flex-start;padding:5px}.pv-scatter-quadrant-bottom-left[data-v-ad4913cb]{grid-area:2/1;justify-content:flex-start;align-items:flex-end;padding:5px}.pv-scatter-quadrant-bottom-right[data-v-ad4913cb]{grid-area:2/2;justify-content:flex-end;align-items:flex-end;padding:5px}.pv-chart-loading[data-v-ad4913cb]{text-align:center;opacity:1;z-index:4;background-color:#fff;justify-content:center;align-items:center;width:100%;height:100%;position:absolute;top:0;left:0}.pv-chart-loading-icon[data-v-ad4913cb]{color:#16696d;animation:1.5s ease-in-out infinite pulse-ad4913cb}@keyframes pulse-ad4913cb{0%{opacity:1;transform:scale(1)}50%{opacity:.6;transform:scale(1.05)}to{opacity:1;transform:scale(1)}}.pv-chart-widget[data-v-d92b6ed9]{box-sizing:border-box;flex-direction:column;width:100%;min-width:0;height:100%;min-height:0;display:flex;position:relative}.pv-chart-widget--constrained[data-v-d92b6ed9]{overflow:hidden}.pv-chart-widget__chart-area[data-v-d92b6ed9]{flex:auto;width:100%;min-height:0;position:relative;overflow:hidden}.pv-chart-widget__chart-scroll[data-v-d92b6ed9]{width:100%;height:100%;min-height:0}.pv-chart-widget__chart-scroll--enabled[data-v-d92b6ed9]{overflow:auto}.pv-chart-widget__chart-content[data-v-d92b6ed9]{height:100%;min-height:100%}.pv-badge-md[data-v-743a2e13]{--inset-size:2px 2px;min-width:20px;min-height:20px;max-height:20px;font-weight:500}.pv-badge-sm[data-v-743a2e13]{--inset-size:0 2px;min-width:16px;min-height:16px;max-height:16px;font-weight:500}.pv-surface-lighten-5[data-v-743a2e13]{background-color:#e0e5e4}.pv-text-secondary[data-v-743a2e13]{color:#4b595c}.pv-select-button-trigger-avatar[data-v-5b922a5f]{font-size:.5rem;font-weight:700}.pv-select-button-trigger-content[data-v-5b922a5f]{min-width:0}.pv-select-button-trigger-label[data-v-5b922a5f]{flex:auto;min-width:0}.pv-switch-hide-check[data-v-73e6d2b2] input[type=checkbox]:checked:after,.pv-switch-hide-check[data-v-73e6d2b2] input[type=checkbox]:checked:not(:disabled):hover:after,.pv-switch-hide-check[data-v-73e6d2b2] input[type=checkbox]:checked:not(:disabled):focus-visible:after,.pv-switch-hide-check[data-v-73e6d2b2] input[type=checkbox]:checked:not(:disabled):active:after,.pv-switch-hide-check[data-v-73e6d2b2] input[type=checkbox]:checked:disabled:after{background-image:unset}.pv-action-button-reveal-on-hover{opacity:0;transition:opacity .2s}.pv-label:hover .pv-action-button-reveal-on-hover{opacity:1}.pv-menu-item-disabled[data-v-a93608b0]{pointer-events:none;color:#7d898d;border-radius:4px}.pv-menu-item{&[data-v-a93608b0]{cursor:pointer;border-radius:var(--popover-list-item-radius,4px);transition-property:background-color;transition-duration:.15s}&[data-v-a93608b0]:hover,&[data-v-a93608b0]:focus-visible{background-color:var(--popover-list-item-hover-background-color,#f5f5f5)}&[data-v-a93608b0]:active{background-color:var(--popover-list-item-pressed-background-color,#ebebeb)}}.pv-radio[data-v-a93608b0]:indeterminate{background-color:unset!important;border-color:var(--color-border,#e3e7ea)!important}.pv-menu-item-expand-chevron[data-v-a93608b0]{flex-shrink:0;margin-left:auto;padding:4px}.pv-menu-item-disabled .pv-menu-item-expand-chevron[data-v-a93608b0]{pointer-events:auto;color:inherit}.pv-data-widget[data-v-a56fcb64]{box-sizing:border-box;width:100%;min-width:0;min-height:0}.pv-data-widget--constrained[data-v-a56fcb64]{flex-direction:column;display:flex;overflow:hidden}.pv-data-widget--constrained .pv-data-widget__body[data-v-a56fcb64]{flex-direction:column;flex:auto;min-height:0;display:flex;overflow:hidden}.pv-data-widget__table-container[data-v-a56fcb64]{min-height:0}.pv-data-widget__below-table[data-v-a56fcb64]{margin-top:16px}.pv-data-widget--constrained .pv-data-widget__table-container[data-v-a56fcb64]{flex:auto}.pv-data-widget--constrained .pv-data-widget__below-table[data-v-a56fcb64]{flex:none}.pv-data-widget__chart-scroll[data-v-a56fcb64]{width:100%;min-height:0;overflow:hidden}.pv-data-widget--constrained .pv-data-widget__chart-scroll[data-v-a56fcb64]{flex:auto}.pv-data-widget__chart-scroll--enabled[data-v-a56fcb64]{overflow:auto}.pv-data-widget__chart-content[data-v-a56fcb64]{min-height:100%}.pv-popover-list[data-v-c6181252]{font-size:14px}.pv-icon-button[data-v-79a7def3]{background-color:#0000;border:none}.pv-icon-button[data-v-79a7def3]:hover{cursor:pointer;color:#176f6f}.pv-select[data-v-79a7def3]{padding-top:4px;padding-bottom:4px}.input-icon-position{pointer-events:none;position:absolute;top:8px;left:12px}.pv-text-tertiary[data-v-ff951d17]{color:#6e8081}.pv-query-builder-input-wrapper[data-v-4decbec2]{cursor:text;background:#f7f8f8;border:2px solid #0000;border-radius:.5rem;align-items:center;width:100%;min-height:2.25rem;padding:.25rem;font-size:.75rem;display:flex;position:relative}.pv-query-builder-input[data-v-4decbec2]{justify-content:start;overflow-x:hidden}.pv-query-builder-input-wrapper input[data-v-4decbec2]{background:0 0;border:none;outline:none;font-size:.75rem}.pv-query-builder-input-wrapper[data-v-4decbec2]:focus-within{border:2px solid #36c5ba}.pv-table-row-count{opacity:1;background-color:#f7f8f8;transition:opacity .3s;position:absolute;top:6px;right:12px}.pv-table-group-cell:hover .pv-table-row-count{opacity:0}.pv-table-row-number{text-align:center;color:#89989b;padding:8px 12px 8px 0}.suggested-label[data-v-9d73220c]:hover{color:#16696d}.suggested-title-label[data-v-9d73220c]:hover{color:#0d5256;text-decoration:underline}.ag-custom-header-cell[data-v-385ad98a]{align-items:center;height:100%}.ag-header-actions .ag-header-cell-menu-button[data-v-385ad98a]{opacity:0;transition:opacity .2s ease-in-out}.ag-header-cell-menu-button:hover .ag-header-actions .ag-header-cell-menu-button[data-v-385ad98a],.ag-header-cell-menu-button:focus .ag-header-actions .ag-header-cell-menu-button[data-v-385ad98a]{opacity:1}.pv-table-row-number[data-v-686928ce]{text-align:center;color:#89989b;padding:8px 12px 8px 0}.pv-table-overlay{z-index:2;pointer-events:none;background:#fff;width:100%;height:calc(100% - 40px);position:absolute;top:80px}.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{margin-left:0;padding-left:7px}.pv-data-table .ag-custom-loading-cell{background-color:#ccc;border-radius:4px;width:100%;height:40%;margin:15px}.pv-data-table .ag-group-value{width:100%;height:100%}.pv-data-table .ag-row:not(.ag-row-group) .ag-cell-wrapper{align-items:stretch;height: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;padding:3px 8px!important;font-size:12px!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}.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(#fff 5px,#f7f8f8 5px calc(100% - 5px),#fff calc(100% - 5px))!important}.pv-data-table-grouped-card .ag-row-group-expanded{background:linear-gradient(#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:"";pointer-events:none;border:1px solid #e0e0e0;border-radius:4px;position:absolute;inset:5px 0}.pv-data-table-grouped-card .ag-row-group-expanded:after{content:"";pointer-events:none;border:1px solid #e0e0e0;border-radius:4px 4px 0 0;position:absolute;inset:5px 0 0}.pv-data-table-grouped-card .ag-row-group-contracted:hover,.pv-data-table-grouped-card .ag-row-group-expanded:hover{background:linear-gradient(#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(#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-34615cd0]{color:#89989b}.pv-button-placeholder[data-v-34615cd0]{width:24px;height:24px}.pv-sort-option[data-v-34615cd0]{--flex-gap:4px;cursor:grab;min-height:24px}.pv-menu-item-disabled[data-v-34615cd0]{pointer-events:none;color:#7d898d}.placeholder-zone[data-v-34615cd0]{transition:background-color .2s}.pv-placeholder-dropzone[data-v-34615cd0]{justify-content:center;align-items:center;padding:8px 4px;transition:all .2s;border-style:dashed!important;border-color:#e3e7ea!important}.placeholder-zone.placeholder-drag-over .pv-placeholder-dropzone[data-v-34615cd0]{background:#f0f9f9;border-color:#16696d!important}.sort-divider-container[data-v-34615cd0]{display:flex}.sort-divider[data-v-34615cd0]{border-top:1px solid #e3e7ea;flex:1;margin:1rem 0;position:relative}.sort-divider[data-v-34615cd0]:after{content:attr(data-label);font-size:inherit;white-space:nowrap;background:#fff;padding:0 .5em;display:inline-block;position:absolute;top:50%;left:50%;transform:translate(-50%,-50%)}.pv-menu-nested[data-v-4a384de9]:after{content:"›"}[data-v-4a384de9] .pv-menu-nested-active{background-color:var(--popover-list-selected-item-background-color,#e4f8f6)}.pv-tooltip a[data-v-4a384de9]{color:inherit}.pv-chart-option[data-v-4a384de9]{min-width:150px;max-width:225px}.pv-chart-overlay{pointer-events:none;position:absolute;top:50%;left:50%;transform:translate(-50%,-50%)}.ag-charts-tooltip{background-color:#fffffff2}.ag-charts-floating-toolbar{display:none!important}
|
|
2
2
|
/*$vite$:1*/`)),document.head.appendChild(e)}}catch(e){console.error(`vite-plugin-css-injected-by-js`,e)}})();import * as e from "vue";
|
|
3
|
-
import { Fragment as t, Teleport as n, computed as r, createBlock as i, createCommentVNode as a, createElementBlock as o, createElementVNode as s, createSlots as c, createTextVNode as l, createVNode as u, defineComponent as d, getCurrentInstance as f, guardReactiveProps as p, inject as m, isRef as h, mergeModels as g, mergeProps as _, nextTick as v, normalizeClass as y, normalizeProps as b, normalizeStyle as x, onBeforeMount as S, onBeforeUnmount as C, onMounted as w, onUnmounted as T, openBlock as E, provide as D, ref as O, renderList as k, renderSlot as A, resolveComponent as j, resolveDynamicComponent as M, shallowRef as N, toDisplayString as P, toRef as F, unref as I, useId as ee, useModel as L, useSlots as R, useTemplateRef as z, vModelCheckbox as te, vModelText as ne, vShow as re, watch as B, withCtx as V, withDirectives as
|
|
4
|
-
import { AgCharts as
|
|
5
|
-
import { LicenseManager as
|
|
6
|
-
import { onClickOutside as
|
|
7
|
-
import { vOnClickOutside as
|
|
8
|
-
import { AgGridVue as
|
|
9
|
-
import { CellStyleModule as
|
|
10
|
-
import { AdvancedFilterModule as
|
|
3
|
+
import { Fragment as t, Teleport as n, computed as r, createBlock as i, createCommentVNode as a, createElementBlock as o, createElementVNode as s, createSlots as c, createTextVNode as l, createVNode as u, defineComponent as d, getCurrentInstance as f, guardReactiveProps as p, inject as m, isRef as h, mergeModels as g, mergeProps as _, nextTick as v, normalizeClass as y, normalizeProps as b, normalizeStyle as x, onBeforeMount as S, onBeforeUnmount as C, onMounted as w, onUnmounted as T, openBlock as E, provide as D, ref as O, renderList as k, renderSlot as A, resolveComponent as j, resolveDynamicComponent as M, shallowRef as N, toDisplayString as P, toRef as F, unref as I, useId as ee, useModel as L, useSlots as R, useTemplateRef as z, vModelCheckbox as te, vModelText as ne, vShow as re, watch as B, withCtx as V, withDirectives as ie, withModifiers as H } from "vue";
|
|
4
|
+
import { AgCharts as U } from "ag-charts-vue3";
|
|
5
|
+
import { LicenseManager as ae } from "ag-charts-enterprise";
|
|
6
|
+
import { onClickOutside as oe, onKeyStroke as se, toRef as W, useDebounceFn as G, useElementBounding as K, useElementHover as ce, useElementSize as q, useToggle as le, watchDebounced as ue } from "@vueuse/core";
|
|
7
|
+
import { vOnClickOutside as J } from "@vueuse/components";
|
|
8
|
+
import { AgGridVue as de } from "ag-grid-vue3";
|
|
9
|
+
import { CellStyleModule as fe, CheckboxEditorModule as pe, ClientSideRowModelModule as me, ColumnApiModule as he, ColumnAutoSizeModule as ge, CsvExportModule as _e, CustomEditorModule as ve, CustomFilterModule as ye, DateEditorModule as Y, EventApiModule as be, GridStateModule as xe, LargeTextEditorModule as Se, ModuleRegistry as X, NumberEditorModule as Ce, PaginationModule as Z, QuickFilterModule as we, RowApiModule as Te, RowStyleModule as Ee, ScrollApiModule as De, SelectEditorModule as Oe, TextEditorModule as ke, TextFilterModule as Ae, UndoRedoEditModule as je, themeQuartz as Me } from "ag-grid-community";
|
|
10
|
+
import { AdvancedFilterModule as Ne, CellSelectionModule as Pe, ClientSideRowModelApiModule as Fe, ClipboardModule as Ie, ColumnMenuModule as Le, ContextMenuModule as Re, LicenseManager as ze, MultiFilterModule as Be, RenderApiModule as Ve, RichSelectModule as He, RowGroupingModule as Q, RowSelectionModule as Ue, ServerSideRowModelApiModule as We, ServerSideRowModelModule as Ge, SetFilterModule as Ke, TooltipModule as qe, ValidationModule as Je } from "ag-grid-enterprise";
|
|
11
11
|
import Ye from "papaparse";
|
|
12
12
|
import { useSortable as Xe } from "@vueuse/integrations/useSortable.mjs";
|
|
13
13
|
import "primevue/datepicker";
|
|
@@ -250,7 +250,7 @@ var Rt = { style: { position: "relative" } }, zt = {
|
|
|
250
250
|
emits: ["series-visibility-change"],
|
|
251
251
|
setup(e, { expose: n, emit: c }) {
|
|
252
252
|
let l = e, d = c;
|
|
253
|
-
|
|
253
|
+
ae.setLicenseKey(Jt);
|
|
254
254
|
let f = O(null), p = O({}), m = () => {
|
|
255
255
|
if (!f.value || !l.customChartProps?.scatter?.quadrantRenderer) return;
|
|
256
256
|
let e = f.value.$el;
|
|
@@ -360,7 +360,7 @@ var Rt = { style: { position: "relative" } }, zt = {
|
|
|
360
360
|
width: e?.width,
|
|
361
361
|
height: e?.height
|
|
362
362
|
}) }), (n, r) => (E(), o("div", Rt, [
|
|
363
|
-
u(I(
|
|
363
|
+
u(I(U), {
|
|
364
364
|
ref_key: "chartRef",
|
|
365
365
|
ref: f,
|
|
366
366
|
style: x([{ height: "100%" }, _.value ? "" : `min-height: ${e.minHeight}px`]),
|
|
@@ -508,7 +508,7 @@ var Rt = { style: { position: "relative" } }, zt = {
|
|
|
508
508
|
},
|
|
509
509
|
emits: ["series-visibility-change"],
|
|
510
510
|
setup(e, { expose: t, emit: n }) {
|
|
511
|
-
let i = e, c = n, l = O(null), d = O(null), f = O(null), { width: p } =
|
|
511
|
+
let i = e, c = n, l = O(null), d = O(null), f = O(null), { width: p } = q(l), { height: m } = q(d), h = r(() => p.value > 0 ? p.value : typeof window < "u" && window.innerWidth > 0 ? window.innerWidth : 800), g = r(() => h.value < 250 || i.miniChart === "always" ? !0 : i.miniChart === "auto" && h.value < 400), _ = r(() => Math.max(m.value, 200)), v = r(() => hn(i.options, {
|
|
512
512
|
dataLimit: i.dataLimit,
|
|
513
513
|
showAxes: i.showAxes
|
|
514
514
|
})), b = r(() => dn(v.value)), S = r(() => fn(v.value)), C = r(() => nn({
|
|
@@ -1525,7 +1525,7 @@ var Si = { style: { width: "fit-content" } }, Ci = /* @__PURE__ */ d({
|
|
|
1525
1525
|
}),
|
|
1526
1526
|
emits: ["update:modelValue"],
|
|
1527
1527
|
setup(e) {
|
|
1528
|
-
let t = e, c = L(e, "modelValue"), l = O(null), u = O(null), d = O(null), f =
|
|
1528
|
+
let t = e, c = L(e, "modelValue"), l = O(null), u = O(null), d = O(null), f = ce(l), p = ce(d), m = {
|
|
1529
1529
|
"top-center": "top",
|
|
1530
1530
|
"bottom-center": "bottom",
|
|
1531
1531
|
"center-left": "left",
|
|
@@ -1548,7 +1548,7 @@ var Si = { style: { width: "fit-content" } }, Ci = /* @__PURE__ */ d({
|
|
|
1548
1548
|
B(c, (e) => {
|
|
1549
1549
|
e && u.value && d.value && _();
|
|
1550
1550
|
});
|
|
1551
|
-
let v =
|
|
1551
|
+
let v = K(u), y = G(() => {
|
|
1552
1552
|
c.value && _();
|
|
1553
1553
|
}, 5);
|
|
1554
1554
|
B([
|
|
@@ -1582,7 +1582,7 @@ var Si = { style: { width: "fit-content" } }, Ci = /* @__PURE__ */ d({
|
|
|
1582
1582
|
t.showOnHover && D(e);
|
|
1583
1583
|
}), T(() => {
|
|
1584
1584
|
C();
|
|
1585
|
-
}), (r, u) =>
|
|
1585
|
+
}), (r, u) => ie((E(), o("div", Si, [s("div", {
|
|
1586
1586
|
ref_key: "triggerWrapper",
|
|
1587
1587
|
ref: l,
|
|
1588
1588
|
onClick: M
|
|
@@ -1590,12 +1590,12 @@ var Si = { style: { width: "fit-content" } }, Ci = /* @__PURE__ */ d({
|
|
|
1590
1590
|
key: 0,
|
|
1591
1591
|
to: e.teleportLocation,
|
|
1592
1592
|
disabled: !t.useTeleport
|
|
1593
|
-
}, [
|
|
1593
|
+
}, [ie(s("div", {
|
|
1594
1594
|
class: "pv-floating",
|
|
1595
1595
|
ref_key: "floating",
|
|
1596
1596
|
ref: d,
|
|
1597
1597
|
style: x(b.value)
|
|
1598
|
-
}, [A(r.$slots, "content")], 4), [[re, c.value]])], 8, ["to", "disabled"])) : a("", !0)])), [[I(
|
|
1598
|
+
}, [A(r.$slots, "content")], 4), [[re, c.value]])], 8, ["to", "disabled"])) : a("", !0)])), [[I(J), [N, { ignore: k.value }]]]);
|
|
1599
1599
|
}
|
|
1600
1600
|
}), wi = ["data-variant"], Ti = /* @__PURE__ */ d({
|
|
1601
1601
|
__name: "PvTooltipV2",
|
|
@@ -4612,11 +4612,11 @@ var Si = { style: { width: "fit-content" } }, Ci = /* @__PURE__ */ d({
|
|
|
4612
4612
|
"pv-input-padded-end": !0
|
|
4613
4613
|
}));
|
|
4614
4614
|
return w(() => {
|
|
4615
|
-
n.displayShortcut &&
|
|
4615
|
+
n.displayShortcut && se(Ki, (e) => {
|
|
4616
4616
|
let t = e.target, n = t instanceof HTMLInputElement || t instanceof HTMLTextAreaElement || (t?.isContentEditable ?? !1), r = document.activeElement === i.value;
|
|
4617
4617
|
(!n || r) && (r || (e.preventDefault(), i.value?.focus()));
|
|
4618
4618
|
});
|
|
4619
|
-
}), t({ input: i }), (t, n) => (E(), o("div", Ui, [
|
|
4619
|
+
}), t({ input: i }), (t, n) => (E(), o("div", Ui, [ie(s("input", {
|
|
4620
4620
|
ref: "search-input",
|
|
4621
4621
|
"onUpdate:modelValue": n[0] ||= (e) => c.value = e,
|
|
4622
4622
|
"data-testid": "pv-search-input",
|
|
@@ -4923,7 +4923,7 @@ var ia = [
|
|
|
4923
4923
|
}, {
|
|
4924
4924
|
label: V(() => [u(En, {
|
|
4925
4925
|
name: "close",
|
|
4926
|
-
onClick: r[0] ||=
|
|
4926
|
+
onClick: r[0] ||= H((e) => n.$emit("handle-clear"), ["stop"])
|
|
4927
4927
|
})]),
|
|
4928
4928
|
"tooltip-content": V(() => [...r[1] ||= [l(" Clear Selections ", -1)]]),
|
|
4929
4929
|
_: 1
|
|
@@ -5117,7 +5117,7 @@ var Sa = {
|
|
|
5117
5117
|
"pv-input-xsmall": e.size === "sm",
|
|
5118
5118
|
"pv-switch-hide-check": e.hideCheckIcon
|
|
5119
5119
|
}])
|
|
5120
|
-
}, [e.label ? (E(), o("span", Oa, P(e.label), 1)) : a("", !0),
|
|
5120
|
+
}, [e.label ? (E(), o("span", Oa, P(e.label), 1)) : a("", !0), ie(s("input", {
|
|
5121
5121
|
"onUpdate:modelValue": i[0] ||= (e) => n.value = e,
|
|
5122
5122
|
disabled: e.disabled,
|
|
5123
5123
|
"aria-label": e.ariaLabel,
|
|
@@ -5163,7 +5163,7 @@ var Sa = {
|
|
|
5163
5163
|
style: { "--button-icon-only-padding": "0px" },
|
|
5164
5164
|
"aria-label": e.tooltipText,
|
|
5165
5165
|
disabled: e.disabled,
|
|
5166
|
-
onClick:
|
|
5166
|
+
onClick: H(o, ["stop"])
|
|
5167
5167
|
}, [u(En, {
|
|
5168
5168
|
name: e.icon,
|
|
5169
5169
|
size: a[e.size]
|
|
@@ -5336,7 +5336,7 @@ var Sa = {
|
|
|
5336
5336
|
class: "pv-button-ghost pv-menu-item-expand-chevron",
|
|
5337
5337
|
"aria-label": n.text ? `Toggle children for ${n.text}` : "Toggle children",
|
|
5338
5338
|
"aria-expanded": e.expanded,
|
|
5339
|
-
onClick: r[0] ||=
|
|
5339
|
+
onClick: r[0] ||= H((e) => P("toggle-expanded"), ["prevent", "stop"])
|
|
5340
5340
|
}, [u(En, {
|
|
5341
5341
|
name: e.chevronIcon ?? "chevron-right",
|
|
5342
5342
|
size: 12
|
|
@@ -5392,10 +5392,10 @@ var Sa = {
|
|
|
5392
5392
|
}), D = r(() => ga({
|
|
5393
5393
|
...i,
|
|
5394
5394
|
children: b.value
|
|
5395
|
-
}) && i.level < qa), A = r(() => D.value ? l.value ? h.value
|
|
5395
|
+
}) && i.level < qa), A = r(() => D.value ? l.value ? h.value : !0 : !1), M = r(() => h.value ? "chevron-down" : "chevron-right"), N = (e) => s && Array.isArray(s.value) ? s.value.some((t) => t.id === e.id) : c.value.includes(e.id), P = n, F = r(() => v.value || i.totalChildCount == null ? !1 : i.totalChildCount > b.value.length), ee = async () => {
|
|
5396
5396
|
if (g.value) return;
|
|
5397
5397
|
if (!i.handleSeeMore) {
|
|
5398
|
-
|
|
5398
|
+
P("see-more", {
|
|
5399
5399
|
parentId: i.id,
|
|
5400
5400
|
offset: b.value.length
|
|
5401
5401
|
});
|
|
@@ -5427,7 +5427,7 @@ var Sa = {
|
|
|
5427
5427
|
} finally {
|
|
5428
5428
|
g.value = !1;
|
|
5429
5429
|
}
|
|
5430
|
-
},
|
|
5430
|
+
}, R = (e) => {
|
|
5431
5431
|
if (l.value && D.value && e.option.id === i.id && !d.value) {
|
|
5432
5432
|
C();
|
|
5433
5433
|
return;
|
|
@@ -5436,9 +5436,9 @@ var Sa = {
|
|
|
5436
5436
|
let t = c.value.indexOf(e.option.id);
|
|
5437
5437
|
t > -1 ? c.value = [...c.value.slice(0, t), ...c.value.slice(t + 1)] : c.value = [...c.value, e.option.id];
|
|
5438
5438
|
}
|
|
5439
|
-
|
|
5440
|
-
},
|
|
5441
|
-
|
|
5439
|
+
P("handle-selected", e);
|
|
5440
|
+
}, z = (e) => {
|
|
5441
|
+
P("handle-selected", e);
|
|
5442
5442
|
};
|
|
5443
5443
|
return (n, r) => {
|
|
5444
5444
|
let s = j("PvMenuItem", !0);
|
|
@@ -5450,7 +5450,7 @@ var Sa = {
|
|
|
5450
5450
|
showChevron: I(l) && D.value,
|
|
5451
5451
|
chevronIcon: M.value,
|
|
5452
5452
|
expanded: h.value,
|
|
5453
|
-
onHandleSelected:
|
|
5453
|
+
onHandleSelected: R,
|
|
5454
5454
|
onToggleExpanded: C,
|
|
5455
5455
|
selected: N(i)
|
|
5456
5456
|
}), null, 16, [
|
|
@@ -5466,7 +5466,7 @@ var Sa = {
|
|
|
5466
5466
|
key: 0,
|
|
5467
5467
|
role: "list",
|
|
5468
5468
|
style: x(w.value)
|
|
5469
|
-
}, [(E(!0), o(t, null, k(b.value, (t) =>
|
|
5469
|
+
}, [(E(!0), o(t, null, k(b.value, (t) => (E(), o("li", {
|
|
5470
5470
|
key: t.id,
|
|
5471
5471
|
"data-active": N(t) ? "true" : null,
|
|
5472
5472
|
class: y(e.itemClass)
|
|
@@ -5478,8 +5478,8 @@ var Sa = {
|
|
|
5478
5478
|
queryText: e.queryText,
|
|
5479
5479
|
highlightSearchText: e.highlightSearchText,
|
|
5480
5480
|
level: e.level + 1,
|
|
5481
|
-
onHandleSelected:
|
|
5482
|
-
onSeeMore: r[1] ||= (e) =>
|
|
5481
|
+
onHandleSelected: z,
|
|
5482
|
+
onSeeMore: r[1] ||= (e) => P("see-more", e)
|
|
5483
5483
|
}), null, 16, [
|
|
5484
5484
|
"disabled",
|
|
5485
5485
|
"selectedIds",
|
|
@@ -5487,13 +5487,13 @@ var Sa = {
|
|
|
5487
5487
|
"queryText",
|
|
5488
5488
|
"highlightSearchText",
|
|
5489
5489
|
"level"
|
|
5490
|
-
])], 10, Ga))
|
|
5490
|
+
])], 10, Ga))), 128)), F.value ? (E(), o("li", Ka, [u(An, {
|
|
5491
5491
|
class: "pv-text-brand",
|
|
5492
5492
|
variant: "ghost",
|
|
5493
5493
|
label: "See more",
|
|
5494
5494
|
loading: g.value,
|
|
5495
5495
|
"data-testid": "pv-menu-item-see-more",
|
|
5496
|
-
onClick:
|
|
5496
|
+
onClick: ee
|
|
5497
5497
|
}, null, 8, ["loading"])])) : a("", !0)], 4)) : a("", !0)], 64);
|
|
5498
5498
|
};
|
|
5499
5499
|
}
|
|
@@ -5563,7 +5563,7 @@ var Sa = {
|
|
|
5563
5563
|
for (let t of e) if (b.value.has(t.id) || t.children?.length && x(t.children)) return !0;
|
|
5564
5564
|
return !1;
|
|
5565
5565
|
}, S = (e) => b.value.has(e.id) || i.enableCascadeSelection && p?.value?.has(e.id) || i.enableCascadeSelection && e.children?.length && x(e.children) ? !0 : null, C = (e, t) => !!(!t || b.value.has(e.id) || p?.value?.has(e.id) || e.children?.length && x(e.children));
|
|
5566
|
-
return (n, r) => (E(), o("ul", Ya, [(E(!0), o(t, null, k(e.options, (t) =>
|
|
5566
|
+
return (n, r) => (E(), o("ul", Ya, [(E(!0), o(t, null, k(e.options, (t) => ie((E(), o("li", {
|
|
5567
5567
|
key: t.id,
|
|
5568
5568
|
"data-active": S(t),
|
|
5569
5569
|
"data-testid": e.itemTestId,
|
|
@@ -5580,7 +5580,7 @@ var Sa = {
|
|
|
5580
5580
|
"config",
|
|
5581
5581
|
"itemClass",
|
|
5582
5582
|
"queryText"
|
|
5583
|
-
])], 10, Xa)), [[re, C(t, e.isLoading
|
|
5583
|
+
])], 10, Xa)), [[re, C(t, e.isLoading)]])), 128)), e.hasMoreOptions ? (E(), o("li", Za, [u(An, {
|
|
5584
5584
|
class: "pv-text-brand",
|
|
5585
5585
|
variant: "ghost",
|
|
5586
5586
|
label: "See more",
|
|
@@ -5641,7 +5641,7 @@ var Sa = {
|
|
|
5641
5641
|
action: n.optionsAction,
|
|
5642
5642
|
variant: n.optionsVariant,
|
|
5643
5643
|
counterBadgeVariant: n.counterBadgeVariant
|
|
5644
|
-
})), l = t, [d] =
|
|
5644
|
+
})), l = t, [d] = le(n.defaultOpen), f = L(e, "modelValue"), p = L(e, "searchInput");
|
|
5645
5645
|
B(d, (e) => {
|
|
5646
5646
|
l(e ? "dropdown-open" : "dropdown-closed");
|
|
5647
5647
|
});
|
|
@@ -5677,7 +5677,7 @@ var Sa = {
|
|
|
5677
5677
|
}, T = () => {
|
|
5678
5678
|
d.value = !1, p.value = "";
|
|
5679
5679
|
};
|
|
5680
|
-
return
|
|
5680
|
+
return se("Escape", () => {
|
|
5681
5681
|
d.value && T();
|
|
5682
5682
|
}), (t, n) => (E(), i(Ci, _({
|
|
5683
5683
|
modelValue: I(d),
|
|
@@ -6416,21 +6416,21 @@ var Sa = {
|
|
|
6416
6416
|
overflowY: "auto"
|
|
6417
6417
|
}, t = $t(n.tableMaxHeight);
|
|
6418
6418
|
return t && (e.maxHeight = t), e;
|
|
6419
|
-
}),
|
|
6419
|
+
}), ie = r(() => Lo({
|
|
6420
6420
|
dataRows: _.value,
|
|
6421
6421
|
categoryColumn: w.value,
|
|
6422
6422
|
seriesColumn: T.value,
|
|
6423
6423
|
stackColumn: j.value
|
|
6424
|
-
})),
|
|
6424
|
+
})), H = r(() => Ro({
|
|
6425
6425
|
dataRows: _.value,
|
|
6426
6426
|
categoryColumn: w.value,
|
|
6427
6427
|
seriesColumn: T.value
|
|
6428
|
-
})),
|
|
6428
|
+
})), U = r(() => zo({
|
|
6429
6429
|
dataRows: _.value,
|
|
6430
6430
|
mapColumn: M.value,
|
|
6431
6431
|
seriesColumn: T.value
|
|
6432
|
-
})),
|
|
6433
|
-
aggregatedCategoryChartData:
|
|
6432
|
+
})), ae = r(() => Bo(U.value, T.value?.field)), oe = r(() => Vo(T.value)), se = r(() => Ho({
|
|
6433
|
+
aggregatedCategoryChartData: H.value,
|
|
6434
6434
|
categoryColumn: w.value,
|
|
6435
6435
|
dataLimit: n.dataLimit,
|
|
6436
6436
|
displayDataRows: _.value,
|
|
@@ -6446,22 +6446,22 @@ var Sa = {
|
|
|
6446
6446
|
seriesColumn: T.value,
|
|
6447
6447
|
showSeriesLabels: n.showSeriesLabels,
|
|
6448
6448
|
stackColumn: j.value,
|
|
6449
|
-
stackedChartData:
|
|
6449
|
+
stackedChartData: ie.value,
|
|
6450
6450
|
useDisplayDataRows: n.chartData !== void 0,
|
|
6451
6451
|
xKey: n.xKey,
|
|
6452
6452
|
yKey: n.yKey
|
|
6453
|
-
})),
|
|
6453
|
+
})), W = r(() => dn(se.value)), G = r(() => fn(se.value)), K = r(() => nn({
|
|
6454
6454
|
baseMinHeight: n.minHeight,
|
|
6455
|
-
dataCount:
|
|
6455
|
+
dataCount: W.value,
|
|
6456
6456
|
enableChartScrolling: n.enableChartScrolling,
|
|
6457
|
-
isHorizontalScrollingChart:
|
|
6458
|
-
})),
|
|
6459
|
-
if (!(!n.enableChartScrolling || !
|
|
6460
|
-
}),
|
|
6461
|
-
chartMinHeight:
|
|
6462
|
-
dataCount:
|
|
6457
|
+
isHorizontalScrollingChart: G.value
|
|
6458
|
+
})), ce = r(() => {
|
|
6459
|
+
if (!(!n.enableChartScrolling || !G.value)) return { maxHeight: `${n.minHeight}px` };
|
|
6460
|
+
}), q = r(() => rn({
|
|
6461
|
+
chartMinHeight: K.value,
|
|
6462
|
+
dataCount: W.value,
|
|
6463
6463
|
enableChartScrolling: n.enableChartScrolling,
|
|
6464
|
-
isHorizontalScrollingChart:
|
|
6464
|
+
isHorizontalScrollingChart: G.value,
|
|
6465
6465
|
minContentWidth: 320
|
|
6466
6466
|
}));
|
|
6467
6467
|
return (n, r) => (E(), i(vn, {
|
|
@@ -6490,14 +6490,14 @@ var Sa = {
|
|
|
6490
6490
|
}, [u(ro, {
|
|
6491
6491
|
selectedRegion: ee.value,
|
|
6492
6492
|
"onUpdate:selectedRegion": r[1] ||= (e) => ee.value = e,
|
|
6493
|
-
chartData:
|
|
6493
|
+
chartData: U.value,
|
|
6494
6494
|
displayRegionSelector: !1,
|
|
6495
|
-
gradientLegendMin:
|
|
6496
|
-
gradientLegendMax:
|
|
6495
|
+
gradientLegendMin: ae.value.min,
|
|
6496
|
+
gradientLegendMax: ae.value.max,
|
|
6497
6497
|
isLoading: e.chartLoading,
|
|
6498
6498
|
noDataMessage: e.noDataOverlayText,
|
|
6499
6499
|
seriesKey: T.value?.field ?? "value",
|
|
6500
|
-
seriesValueFormatter:
|
|
6500
|
+
seriesValueFormatter: oe.value
|
|
6501
6501
|
}, null, 8, [
|
|
6502
6502
|
"selectedRegion",
|
|
6503
6503
|
"chartData",
|
|
@@ -6510,14 +6510,14 @@ var Sa = {
|
|
|
6510
6510
|
])], 4)) : (E(), o("div", {
|
|
6511
6511
|
key: 2,
|
|
6512
6512
|
class: y(["pv-data-widget__chart-scroll", { "pv-data-widget__chart-scroll--enabled pv-scroll": e.enableChartScrolling }]),
|
|
6513
|
-
style: x(
|
|
6513
|
+
style: x(ce.value)
|
|
6514
6514
|
}, [s("div", {
|
|
6515
6515
|
class: "pv-data-widget__chart-content",
|
|
6516
|
-
style: x(
|
|
6516
|
+
style: x(q.value)
|
|
6517
6517
|
}, [u(Zt, {
|
|
6518
|
-
options:
|
|
6518
|
+
options: se.value,
|
|
6519
6519
|
isLoading: e.chartLoading,
|
|
6520
|
-
minHeight:
|
|
6520
|
+
minHeight: K.value
|
|
6521
6521
|
}, null, 8, [
|
|
6522
6522
|
"options",
|
|
6523
6523
|
"isLoading",
|
|
@@ -6630,7 +6630,7 @@ var Sa = {
|
|
|
6630
6630
|
zIndex: 10,
|
|
6631
6631
|
...d.popoverCssProperties
|
|
6632
6632
|
} : d.popoverCssProperties);
|
|
6633
|
-
return (t, r) =>
|
|
6633
|
+
return (t, r) => ie((E(), o("div", Xo, [s("button", {
|
|
6634
6634
|
ref_key: "triggerRef",
|
|
6635
6635
|
ref: m,
|
|
6636
6636
|
class: y({
|
|
@@ -6661,7 +6661,7 @@ var Sa = {
|
|
|
6661
6661
|
"alignment",
|
|
6662
6662
|
"isList",
|
|
6663
6663
|
"isSortable"
|
|
6664
|
-
])], 8, ["to", "disabled"]))])), [[I(
|
|
6664
|
+
])], 8, ["to", "disabled"]))])), [[I(J), C]]);
|
|
6665
6665
|
}
|
|
6666
6666
|
}), [["__scopeId", "data-v-79a7def3"]]), es = ["data-style"], ts = /* @__PURE__ */ d({
|
|
6667
6667
|
__name: "PvTag",
|
|
@@ -6721,7 +6721,7 @@ var Sa = {
|
|
|
6721
6721
|
"data-testid": "pv-tag-close-icon",
|
|
6722
6722
|
size: 12,
|
|
6723
6723
|
name: "close",
|
|
6724
|
-
onClick: r[0] ||=
|
|
6724
|
+
onClick: r[0] ||= H((n) => t.$emit("handle-close", e.label), ["stop"])
|
|
6725
6725
|
})) : a("", !0)
|
|
6726
6726
|
], 14, es));
|
|
6727
6727
|
}
|
|
@@ -6880,7 +6880,7 @@ var fs = {
|
|
|
6880
6880
|
d.value && c?.value?.setAttribute("open", "true"), r.closeOnClickOutside && f();
|
|
6881
6881
|
});
|
|
6882
6882
|
let f = () => {
|
|
6883
|
-
c.value &&
|
|
6883
|
+
c.value && oe(c.value, () => {
|
|
6884
6884
|
d.value && (i("click-outside"), p());
|
|
6885
6885
|
}, { ignore: [".pv-click-outside-ignore"] });
|
|
6886
6886
|
}, p = () => {
|
|
@@ -6888,7 +6888,7 @@ var fs = {
|
|
|
6888
6888
|
};
|
|
6889
6889
|
return B(() => d.value, () => {
|
|
6890
6890
|
d.value ? c?.value?.setAttribute("open", "true") : c?.value?.removeAttribute("open");
|
|
6891
|
-
}),
|
|
6891
|
+
}), se("Escape", () => {
|
|
6892
6892
|
c.value && d.value && p();
|
|
6893
6893
|
}), (n, i) => (E(), o("div", {
|
|
6894
6894
|
class: "pv-drawer pv-surface",
|
|
@@ -7101,7 +7101,7 @@ var fs = {
|
|
|
7101
7101
|
state: "deselected"
|
|
7102
7102
|
}))), t.push(r);
|
|
7103
7103
|
}
|
|
7104
|
-
for (let n of
|
|
7104
|
+
for (let n of U.value) e.has(n.id) || t.push({
|
|
7105
7105
|
id: n.id,
|
|
7106
7106
|
state: "selected"
|
|
7107
7107
|
});
|
|
@@ -7109,18 +7109,18 @@ var fs = {
|
|
|
7109
7109
|
}, C = r(() => c.hasMoreOptions == null ? c.totalOptionCount == null ? !1 : c.totalOptionCount > c.options.length : c.hasMoreOptions), w = r(() => {
|
|
7110
7110
|
let e = c.additionalCounter ?? 0;
|
|
7111
7111
|
if (c.enableCascadeSelection && c.countSelectedParents && R.value?.length) return ba(R.value) + e;
|
|
7112
|
-
if (!c.countSelectedParents || !c.enableCascadeSelection) return
|
|
7113
|
-
let t = new Set(
|
|
7112
|
+
if (!c.countSelectedParents || !c.enableCascadeSelection) return U.value.length + e;
|
|
7113
|
+
let t = new Set(U.value.map((e) => e.id));
|
|
7114
7114
|
return ya(c.options, t) + e;
|
|
7115
|
-
}), T = r(() =>
|
|
7115
|
+
}), T = r(() => U.value.length > 0 ? !0 : c.enableCascadeSelection && R.value?.length ? R.value.some((e) => e.state === "selected") : !1), O = (e) => {
|
|
7116
7116
|
g("see-more", e ?? {});
|
|
7117
|
-
}, j = z("searchInputRef"), [M, F] =
|
|
7118
|
-
|
|
7117
|
+
}, j = z("searchInputRef"), [M, F] = le(c.defaultOpen), ee = L(e, "modelValue"), R = L(e, "selectionState"), te = L(e, "searchInput"), ne = r(() => c.menuActionsVariant === "cancel-confirm"), re = (e) => {
|
|
7118
|
+
U.value = e, ne.value || (ee.value = e, R.value = S());
|
|
7119
|
+
}, ie = () => {
|
|
7120
|
+
ne.value && (ee.value = U.value, R.value = S());
|
|
7119
7121
|
}, H = () => {
|
|
7120
|
-
ne.value && (
|
|
7121
|
-
}, U = () => {
|
|
7122
|
-
ne.value && (W.value = ee.value);
|
|
7123
|
-
}, W = N(ee.value), ie = (e) => d.value.get(e), ae = (e) => {
|
|
7122
|
+
ne.value && (U.value = ee.value);
|
|
7123
|
+
}, U = N(ee.value), ae = (e) => d.value.get(e), oe = (e) => {
|
|
7124
7124
|
if (!c.enableCascadeSelection || !e) return;
|
|
7125
7125
|
let t = /* @__PURE__ */ new Set(), n = /* @__PURE__ */ new Map(), r = [], i = /* @__PURE__ */ new Set(), a = (e, t) => {
|
|
7126
7126
|
i.has(t) || (i.add(t), r.push(e ?? {
|
|
@@ -7136,55 +7136,55 @@ var fs = {
|
|
|
7136
7136
|
for (let t of i) e.has(t.id) || a(t, t.id);
|
|
7137
7137
|
continue;
|
|
7138
7138
|
}
|
|
7139
|
-
a(
|
|
7139
|
+
a(ae(r.id), r.id);
|
|
7140
7140
|
}
|
|
7141
|
-
f.value = t, m.value = n,
|
|
7142
|
-
},
|
|
7143
|
-
get: () =>
|
|
7141
|
+
f.value = t, m.value = n, U.value = r;
|
|
7142
|
+
}, W = r({
|
|
7143
|
+
get: () => U.value,
|
|
7144
7144
|
set: (e) => {
|
|
7145
7145
|
c.readOnly || re(e);
|
|
7146
7146
|
}
|
|
7147
|
-
}),
|
|
7147
|
+
}), G = () => {
|
|
7148
7148
|
te.value = "", M.value = !1;
|
|
7149
|
-
},
|
|
7149
|
+
}, K = r(() => {
|
|
7150
7150
|
let e = c.size === "lg" ? 24 : 30;
|
|
7151
7151
|
return c.overlayTrigger ? -e : void 0;
|
|
7152
7152
|
});
|
|
7153
7153
|
B(() => ee.value, (e) => {
|
|
7154
7154
|
if (c.enableCascadeSelection && R.value?.length && e.length === 0) {
|
|
7155
|
-
|
|
7155
|
+
oe(R.value);
|
|
7156
7156
|
return;
|
|
7157
7157
|
}
|
|
7158
|
-
|
|
7158
|
+
U.value = e;
|
|
7159
7159
|
}), B(() => [R.value, c.options], () => {
|
|
7160
|
-
|
|
7160
|
+
oe(R.value);
|
|
7161
7161
|
}, {
|
|
7162
7162
|
deep: !0,
|
|
7163
7163
|
immediate: !0
|
|
7164
7164
|
}), B(M, (e) => {
|
|
7165
|
-
e ? (
|
|
7165
|
+
e ? (H(), v(() => {
|
|
7166
7166
|
c.overlayTrigger && !c.disableSearchInput && j.value?.input?.focus(), g("dropdown-open");
|
|
7167
|
-
})) : (
|
|
7167
|
+
})) : (H(), g("dropdown-closed"));
|
|
7168
7168
|
});
|
|
7169
|
-
let
|
|
7169
|
+
let ce = r(() => {
|
|
7170
7170
|
if (te.value === "") return c.options;
|
|
7171
7171
|
let e = te.value.toLocaleLowerCase();
|
|
7172
7172
|
return c.enableCascadeSelection ? xa(c.options, e, !c.hideParentOnChildQueryMatch) : c.options.filter((t) => t.text.toLocaleLowerCase().includes(e) || t.searchText?.toLocaleLowerCase().includes(e));
|
|
7173
|
-
}),
|
|
7173
|
+
}), q = () => {
|
|
7174
7174
|
if (c.enableCascadeSelection) {
|
|
7175
7175
|
let e = /* @__PURE__ */ new Set(), t = (n) => {
|
|
7176
7176
|
for (let r of n) ga(r) && (e.add(r.id), r.children?.length && t(r.children));
|
|
7177
7177
|
};
|
|
7178
|
-
t(
|
|
7178
|
+
t(ce.value), f.value = e, m.value = /* @__PURE__ */ new Map();
|
|
7179
7179
|
}
|
|
7180
|
-
re(c.enableCascadeSelection ? _a(
|
|
7181
|
-
}, le = () => {
|
|
7182
|
-
f.value = /* @__PURE__ */ new Set(), m.value = /* @__PURE__ */ new Map(), re([]);
|
|
7183
|
-
}, Y = () => {
|
|
7184
|
-
U(), K();
|
|
7180
|
+
re(c.enableCascadeSelection ? _a(ce.value) : ce.value);
|
|
7185
7181
|
}, ue = () => {
|
|
7186
|
-
|
|
7187
|
-
},
|
|
7182
|
+
f.value = /* @__PURE__ */ new Set(), m.value = /* @__PURE__ */ new Map(), re([]);
|
|
7183
|
+
}, J = () => {
|
|
7184
|
+
H(), G();
|
|
7185
|
+
}, de = () => {
|
|
7186
|
+
ie(), G();
|
|
7187
|
+
}, fe = r(() => {
|
|
7188
7188
|
if (!c.groupings) return;
|
|
7189
7189
|
let e = /* @__PURE__ */ new Map();
|
|
7190
7190
|
c.groupings.forEach((t) => {
|
|
@@ -7196,23 +7196,23 @@ var fs = {
|
|
|
7196
7196
|
}
|
|
7197
7197
|
for (let [t, n] of e) n.length === 0 && e.delete(t);
|
|
7198
7198
|
return Array.from(e.entries());
|
|
7199
|
-
}),
|
|
7199
|
+
}), pe = r(() => c.groupings && te.value === ""), me = r(() => ({
|
|
7200
7200
|
...c,
|
|
7201
7201
|
selectedItems: ee.value,
|
|
7202
7202
|
searchInput: te.value,
|
|
7203
7203
|
slotContext: c.slotContext,
|
|
7204
7204
|
isOpen: M.value,
|
|
7205
7205
|
isLoading: c.isLoading
|
|
7206
|
-
})),
|
|
7207
|
-
let e =
|
|
7206
|
+
})), he = z("popoverContentRef"), ge = r(() => {
|
|
7207
|
+
let e = he.value?.getRootNode();
|
|
7208
7208
|
return e instanceof ShadowRoot ? e.host : null;
|
|
7209
|
-
}), { present:
|
|
7210
|
-
return
|
|
7211
|
-
M.value &&
|
|
7209
|
+
}), { present: _e } = ra("header", { host: ge }), { present: ve } = ra("no-results", { host: ge }), { present: ye } = ra("footer", { host: ge });
|
|
7210
|
+
return se("Escape", () => {
|
|
7211
|
+
M.value && G();
|
|
7212
7212
|
}), (n, r) => (E(), i(Ci, _({
|
|
7213
7213
|
modelValue: I(M),
|
|
7214
7214
|
"onUpdate:modelValue": r[4] ||= (e) => h(M) ? M.value = e : null
|
|
7215
|
-
}, e.popoverProperties, { offset:
|
|
7215
|
+
}, e.popoverProperties, { offset: K.value }), {
|
|
7216
7216
|
trigger: V(() => [u(da, {
|
|
7217
7217
|
ref: "select-button-trigger-ref",
|
|
7218
7218
|
variant: e.variant,
|
|
@@ -7228,8 +7228,8 @@ var fs = {
|
|
|
7228
7228
|
open: I(M),
|
|
7229
7229
|
"counter-value": w.value,
|
|
7230
7230
|
"counter-style": e.counterStyle,
|
|
7231
|
-
"selected-items":
|
|
7232
|
-
onHandleClear:
|
|
7231
|
+
"selected-items": U.value,
|
|
7232
|
+
onHandleClear: ue,
|
|
7233
7233
|
onHandleToggleDropdown: r[0] ||= (e) => I(F)()
|
|
7234
7234
|
}, null, 8, [
|
|
7235
7235
|
"variant",
|
|
@@ -7249,7 +7249,7 @@ var fs = {
|
|
|
7249
7249
|
])]),
|
|
7250
7250
|
content: V(() => [s("div", {
|
|
7251
7251
|
ref_key: "popoverContentRef",
|
|
7252
|
-
ref:
|
|
7252
|
+
ref: he,
|
|
7253
7253
|
class: "pv-popover",
|
|
7254
7254
|
"data-test-id": "pv-popover",
|
|
7255
7255
|
style: x({
|
|
@@ -7262,19 +7262,14 @@ var fs = {
|
|
|
7262
7262
|
"model-value": te.value,
|
|
7263
7263
|
"onUpdate:modelValue": r[1] ||= (e) => te.value = e,
|
|
7264
7264
|
class: "pv-stack-4",
|
|
7265
|
-
placeholder: e.searchPlaceholder
|
|
7266
|
-
|
|
7267
|
-
|
|
7268
|
-
|
|
7269
|
-
"placeholder",
|
|
7270
|
-
"disabled"
|
|
7271
|
-
])])),
|
|
7272
|
-
n.$slots.header || I(ge) ? (E(), o("div", ws, [A(n.$slots, "header", b(p(pe.value)))])) : a("", !0),
|
|
7273
|
-
se.value.length > 0 ? (E(), o(t, { key: 2 }, [fe.value ? (E(!0), o(t, { key: 0 }, k(de.value, ([t, i], s) => (E(), o("div", { key: t }, [
|
|
7265
|
+
placeholder: e.searchPlaceholder
|
|
7266
|
+
}, null, 8, ["model-value", "placeholder"])])),
|
|
7267
|
+
n.$slots.header || I(_e) ? (E(), o("div", ws, [A(n.$slots, "header", b(p(me.value)))])) : a("", !0),
|
|
7268
|
+
ce.value.length > 0 ? (E(), o(t, { key: 2 }, [pe.value ? (E(!0), o(t, { key: 0 }, k(fe.value, ([t, i], s) => (E(), o("div", { key: t }, [
|
|
7274
7269
|
n.$slots[t] ? A(n.$slots, t, { key: 0 }) : t === "other" ? a("", !0) : (E(), o("span", Ts, P(t), 1)),
|
|
7275
7270
|
u(Qa, {
|
|
7276
|
-
selectedItems:
|
|
7277
|
-
"onUpdate:selectedItems": r[2] ||= (e) =>
|
|
7271
|
+
selectedItems: W.value,
|
|
7272
|
+
"onUpdate:selectedItems": r[2] ||= (e) => W.value = e,
|
|
7278
7273
|
options: i,
|
|
7279
7274
|
config: l.value,
|
|
7280
7275
|
queryText: e.highlightSearchText ? te.value : null,
|
|
@@ -7283,7 +7278,7 @@ var fs = {
|
|
|
7283
7278
|
isLoading: e.isLoading,
|
|
7284
7279
|
isSeeMoreLoading: e.isSeeMoreLoading,
|
|
7285
7280
|
enableCascadeSelection: e.enableCascadeSelection,
|
|
7286
|
-
hasMoreOptions: s ===
|
|
7281
|
+
hasMoreOptions: s === fe.value.length - 1 && C.value && !e.isLoading,
|
|
7287
7282
|
readOnly: e.readOnly,
|
|
7288
7283
|
onSeeMore: O
|
|
7289
7284
|
}, null, 8, [
|
|
@@ -7298,12 +7293,12 @@ var fs = {
|
|
|
7298
7293
|
"hasMoreOptions",
|
|
7299
7294
|
"readOnly"
|
|
7300
7295
|
]),
|
|
7301
|
-
|
|
7296
|
+
fe.value && s !== fe.value.length - 1 ? (E(), o("div", Es)) : a("", !0)
|
|
7302
7297
|
]))), 128)) : (E(), i(Qa, {
|
|
7303
7298
|
key: 1,
|
|
7304
|
-
selectedItems:
|
|
7305
|
-
"onUpdate:selectedItems": r[3] ||= (e) =>
|
|
7306
|
-
options:
|
|
7299
|
+
selectedItems: W.value,
|
|
7300
|
+
"onUpdate:selectedItems": r[3] ||= (e) => W.value = e,
|
|
7301
|
+
options: ce.value,
|
|
7307
7302
|
config: l.value,
|
|
7308
7303
|
queryText: e.highlightSearchText ? te.value : null,
|
|
7309
7304
|
itemTestId: `pv-multiselect-${e.label}-item`,
|
|
@@ -7324,15 +7319,15 @@ var fs = {
|
|
|
7324
7319
|
"hasMoreOptions",
|
|
7325
7320
|
"readOnly"
|
|
7326
7321
|
]))], 64)) : a("", !0),
|
|
7327
|
-
e.isLoading ? (E(), o("div", Ds, [u(St, { variant: "dark" })])) :
|
|
7328
|
-
s("div", Os, [I(
|
|
7322
|
+
e.isLoading ? (E(), o("div", Ds, [u(St, { variant: "dark" })])) : ce.value.length === 0 ? (E(), o(t, { key: 4 }, [I(ve) ? A(n.$slots, "no-results", b(_({ key: 0 }, me.value))) : (E(), i(ha, { key: 1 }))], 64)) : a("", !0),
|
|
7323
|
+
s("div", Os, [I(ye) ? A(n.$slots, "footer", b(_({ key: 0 }, me.value))) : a("", !0), e.menuActionsVariant && !e.readOnly ? (E(), i(Ss, {
|
|
7329
7324
|
key: 1,
|
|
7330
7325
|
variant: e.menuActionsVariant,
|
|
7331
7326
|
disabled: e.isLoading,
|
|
7332
|
-
onHandleClearAll:
|
|
7333
|
-
onHandleSelectAll:
|
|
7334
|
-
onHandleCancel:
|
|
7335
|
-
onHandleConfirm:
|
|
7327
|
+
onHandleClearAll: ue,
|
|
7328
|
+
onHandleSelectAll: q,
|
|
7329
|
+
onHandleCancel: J,
|
|
7330
|
+
onHandleConfirm: de
|
|
7336
7331
|
}, null, 8, ["variant", "disabled"])) : a("", !0)])
|
|
7337
7332
|
], 4)]),
|
|
7338
7333
|
_: 3
|
|
@@ -7855,7 +7850,7 @@ var As = "__pv_filter_panel_scoped_value__", js = (e) => typeof e == "object" &&
|
|
|
7855
7850
|
let n = e, c = { renderer: vc }, l = z("search-input"), d = L(e, "searchText"), f = L(e, "query"), p = L(e, "options"), { addQueryOption: m, containsQueryOption: h } = dc(), g = O(!1), v = O(!1), b = O(!1), S = r(() => f.value === null ? n.placeholder : ""), C = O(null), w = r(() => C.value !== null && C.value !== "" && !v.value), T = () => {
|
|
7856
7851
|
f.value = null, d.value = "", C.value = null, b.value = !1;
|
|
7857
7852
|
};
|
|
7858
|
-
n.enableCustomOptionsInput &&
|
|
7853
|
+
n.enableCustomOptionsInput && se("Enter", () => {
|
|
7859
7854
|
d.value.trim() && D();
|
|
7860
7855
|
}, { target: l });
|
|
7861
7856
|
let D = () => {
|
|
@@ -7910,7 +7905,7 @@ var As = "__pv_filter_panel_scoped_value__", js = (e) => typeof e == "object" &&
|
|
|
7910
7905
|
let ee = () => {
|
|
7911
7906
|
d.value = "";
|
|
7912
7907
|
};
|
|
7913
|
-
return (n, r) =>
|
|
7908
|
+
return (n, r) => ie((E(), o("div", {
|
|
7914
7909
|
ref: "query-builder-input",
|
|
7915
7910
|
class: "pv-relative pv-query-builder-input-wrapper",
|
|
7916
7911
|
onFocus: F,
|
|
@@ -7936,7 +7931,7 @@ var As = "__pv_filter_panel_scoped_value__", js = (e) => typeof e == "object" &&
|
|
|
7936
7931
|
"modelValue",
|
|
7937
7932
|
"wrap-content",
|
|
7938
7933
|
"query-term-display-limit"
|
|
7939
|
-
]),
|
|
7934
|
+
]), ie(s("input", {
|
|
7940
7935
|
"onUpdate:modelValue": r[2] ||= (e) => d.value = e,
|
|
7941
7936
|
ref: "search-input",
|
|
7942
7937
|
"data-testid": "pv-search-input",
|
|
@@ -7973,7 +7968,7 @@ var As = "__pv_filter_panel_scoped_value__", js = (e) => typeof e == "object" &&
|
|
|
7973
7968
|
}), null, 16, ["onHandleSelected"]))), 128))]),
|
|
7974
7969
|
_: 1
|
|
7975
7970
|
}, 8, ["class"])) : a("", !0)
|
|
7976
|
-
], 32)), [[I(
|
|
7971
|
+
], 32)), [[I(J), j]]);
|
|
7977
7972
|
}
|
|
7978
7973
|
}), [["__scopeId", "data-v-4decbec2"]]), wc = Symbol("FilterStoreKey"), Tc = Symbol("FocusStoreKey"), Ec = Symbol("SortStateKey"), Dc = Symbol("GridApiKey"), Oc = Symbol("ColumnDisplayOrderKey"), kc = Symbol("currentlyActiveFilterKey"), Ac = Symbol("AvailableFilterColumnsKey"), jc = Symbol("AvailableRowGroupColumnsKey"), Mc = Symbol("RowGroupColumnFieldsKey"), Nc = Symbol("GroupColumnCellValueColumnKey"), Pc = Symbol("ExpandedRowsKey"), Fc = Symbol("FirstDataRenderedKey"), Ic = Symbol("RowsLoadingKey"), Lc = Symbol("CurrentPageKey"), Rc = Symbol("TotalPageKey"), zc = Symbol("ActiveChartFilterOptionKey"), Bc = Symbol("RowGroupColumnsKey"), Vc = Symbol("ChartTypeKey"), Hc = Symbol("SortTypesKey"), Uc = Symbol("ActiveChartKey"), Wc = Symbol("ActiveSortKey"), Gc = Symbol("ActiveSeriesKey"), Kc = Symbol("AvailableSeriesKey"), qc = Symbol("ActiveSecondarySeriesKey"), Jc = Symbol("AvailableSecondarySeriesKey"), Yc = Symbol("EnableAdvancedFilterKey"), Xc = Symbol("ActiveCrosslineOverlayGroupsKey"), Zc = Symbol("AvailableCrosslineOverlayGroupsKey"), Qc = {
|
|
7979
7974
|
class: "pv-flex",
|
|
@@ -8112,7 +8107,7 @@ var ll = /* @__PURE__ */ Xt(ol, [["render", cl]]), ul = ["innerHTML"], dl = { ke
|
|
|
8112
8107
|
__name: "GroupedCellRenderer",
|
|
8113
8108
|
props: { params: {} },
|
|
8114
8109
|
setup(e) {
|
|
8115
|
-
let n = e, i = m(Mc, O([])), c = m(Nc, O(null)), d = m(Pc, O({})), f =
|
|
8110
|
+
let n = e, i = m(Mc, O([])), c = m(Nc, O(null)), d = m(Pc, O({})), f = W(n.params, "rowNode"), p = r(() => !n.params.displayBaseAggregationsOnly || f.value.level === i.value.length - 1), h = r(() => n.params.rowNode.group), g = r(() => {
|
|
8116
8111
|
let e = f.value.data;
|
|
8117
8112
|
if (e?.bucketMin !== void 0 && e?.bucketMax !== void 0) {
|
|
8118
8113
|
let t = f.value.rowGroupColumn?.getColDef()?.valueFormatter;
|
|
@@ -8818,42 +8813,42 @@ var Tl = /* @__PURE__ */ function(e) {
|
|
|
8818
8813
|
useStaged: !1
|
|
8819
8814
|
}), re(n, i);
|
|
8820
8815
|
return x.value;
|
|
8821
|
-
},
|
|
8816
|
+
}, ie = (e, t) => {
|
|
8822
8817
|
S.value[e] = t;
|
|
8823
|
-
},
|
|
8818
|
+
}, H = (e) => C.value[e] || [], U = (e, t) => {
|
|
8824
8819
|
C.value[e] = t;
|
|
8825
|
-
},
|
|
8820
|
+
}, ae = (e, t) => {
|
|
8826
8821
|
A.value[e] = t;
|
|
8827
|
-
},
|
|
8822
|
+
}, oe = (e) => {
|
|
8828
8823
|
let t = M.value[e] ?? 0;
|
|
8829
8824
|
M.value[e] = t + 1, j.value.add(e);
|
|
8830
|
-
},
|
|
8825
|
+
}, se = (e) => {
|
|
8831
8826
|
let t = M.value[e] ?? 0;
|
|
8832
8827
|
if (t <= 1) {
|
|
8833
8828
|
delete M.value[e], j.value.delete(e);
|
|
8834
8829
|
return;
|
|
8835
8830
|
}
|
|
8836
8831
|
M.value[e] = t - 1;
|
|
8837
|
-
},
|
|
8832
|
+
}, W = (e) => {
|
|
8838
8833
|
let t = new Set(e);
|
|
8839
8834
|
for (let n of e) {
|
|
8840
8835
|
let e = A.value[n] || [];
|
|
8841
8836
|
for (let n of e) t.add(n);
|
|
8842
8837
|
}
|
|
8843
8838
|
for (let e of j.value) t.has(e) || (w.value[e] = !0);
|
|
8844
|
-
},
|
|
8839
|
+
}, G = e.initStagedFilterSelections, K = e.clearStagedFilterSelections, ce = (e) => P.value[e] || [], q = (e, t) => {
|
|
8845
8840
|
P.value[e] = t;
|
|
8846
|
-
},
|
|
8841
|
+
}, le = (e) => {
|
|
8847
8842
|
t.value = e;
|
|
8848
|
-
},
|
|
8843
|
+
}, J = (e) => {
|
|
8849
8844
|
(!e || t.value === e) && (t.value = null);
|
|
8850
|
-
},
|
|
8845
|
+
}, de = () => t.value?.getFilterModel() ?? n.value, fe = (e) => {
|
|
8851
8846
|
let r = t.value?.setFilterModel(e);
|
|
8852
8847
|
(!t.value || r === !1) && (n.value = e);
|
|
8853
|
-
},
|
|
8848
|
+
}, pe = (e) => {
|
|
8854
8849
|
let n = t.value?.setTableSearchFilterModel(e);
|
|
8855
8850
|
(!t.value || n === !1) && (a.value = e);
|
|
8856
|
-
},
|
|
8851
|
+
}, me = (e) => t.value?.refreshData(e), he = (e, t) => {
|
|
8857
8852
|
let n = /* @__PURE__ */ new Set(), r = e ? Object.keys(e) : [], i = t ? Object.keys(t) : [], a = r.filter((e) => i.includes(e));
|
|
8858
8853
|
[...r, ...i].filter((e) => !a.includes(e)).forEach((e) => n.add(e));
|
|
8859
8854
|
for (let r of a) JSON.stringify(e?.[r]) !== JSON.stringify(t?.[r]) && n.add(r);
|
|
@@ -8861,9 +8856,9 @@ var Tl = /* @__PURE__ */ function(e) {
|
|
|
8861
8856
|
for (let e of Array.from(n)) o.value[e] = s;
|
|
8862
8857
|
return n;
|
|
8863
8858
|
};
|
|
8864
|
-
return
|
|
8859
|
+
return ue([n, i], ([e, t], [r, i]) => {
|
|
8865
8860
|
let a = /* @__PURE__ */ new Set();
|
|
8866
|
-
JSON.stringify(e) !== JSON.stringify(r) &&
|
|
8861
|
+
JSON.stringify(e) !== JSON.stringify(r) && he(e || {}, r || {}).forEach((e) => a.add(e)), JSON.stringify(t) !== JSON.stringify(i) && he(t || {}, n.value || {}).forEach((e) => a.add(e)), a.size > 0 && W(a);
|
|
8867
8862
|
}, {
|
|
8868
8863
|
deep: !0,
|
|
8869
8864
|
debounce: 200,
|
|
@@ -8891,34 +8886,34 @@ var Tl = /* @__PURE__ */ function(e) {
|
|
|
8891
8886
|
stagedFilterModel: i,
|
|
8892
8887
|
setFilterSelectedValues: re,
|
|
8893
8888
|
hydrateSelectedFilterMetadata: V,
|
|
8894
|
-
setFilterValueSearchText:
|
|
8889
|
+
setFilterValueSearchText: ie,
|
|
8895
8890
|
tableSearchFilterModel: a,
|
|
8896
8891
|
tableSearchFilterModelEmpty: v,
|
|
8897
8892
|
tableSearchHandler: m,
|
|
8898
8893
|
filterValuesMap: C,
|
|
8899
|
-
getFilterValues:
|
|
8900
|
-
setFilterValues:
|
|
8894
|
+
getFilterValues: H,
|
|
8895
|
+
setFilterValues: U,
|
|
8901
8896
|
filterStaleMap: w,
|
|
8902
8897
|
refreshFiltersInBackground: E,
|
|
8903
8898
|
stageFilterChangesUntilDropdownCloses: D,
|
|
8904
8899
|
filterSearchMinLength: k,
|
|
8905
|
-
markOtherFieldsStale:
|
|
8900
|
+
markOtherFieldsStale: W,
|
|
8906
8901
|
aggregateFieldMap: A,
|
|
8907
|
-
registerAggregateField:
|
|
8902
|
+
registerAggregateField: ae,
|
|
8908
8903
|
registeredFilterFields: j,
|
|
8909
|
-
registerFilterField:
|
|
8910
|
-
unregisterFilterField:
|
|
8904
|
+
registerFilterField: oe,
|
|
8905
|
+
unregisterFilterField: se,
|
|
8911
8906
|
stagedSelectedValuesMap: P,
|
|
8912
|
-
initStagedSelectedValues:
|
|
8913
|
-
clearStagedSelectedValues:
|
|
8914
|
-
getStagedSelectedValues:
|
|
8915
|
-
setStagedSelectedValues:
|
|
8916
|
-
registerFilterController:
|
|
8917
|
-
unregisterFilterController:
|
|
8918
|
-
getFilterModel:
|
|
8919
|
-
applyFilterModel:
|
|
8920
|
-
applyTableSearchFilterModel:
|
|
8921
|
-
refreshData:
|
|
8907
|
+
initStagedSelectedValues: G,
|
|
8908
|
+
clearStagedSelectedValues: K,
|
|
8909
|
+
getStagedSelectedValues: ce,
|
|
8910
|
+
setStagedSelectedValues: q,
|
|
8911
|
+
registerFilterController: le,
|
|
8912
|
+
unregisterFilterController: J,
|
|
8913
|
+
getFilterModel: de,
|
|
8914
|
+
applyFilterModel: fe,
|
|
8915
|
+
applyTableSearchFilterModel: pe,
|
|
8916
|
+
refreshData: me,
|
|
8922
8917
|
filterValueSearchTextMap: S,
|
|
8923
8918
|
filterValuesHasMoreMap: f,
|
|
8924
8919
|
filterValuesTotalCountMap: p
|
|
@@ -8930,98 +8925,98 @@ var Tl = /* @__PURE__ */ function(e) {
|
|
|
8930
8925
|
if (!e) throw Error("No PvDataTable filter store was provided. Create one with createPvDataTableFilterStore() and pass it to PvDataTable/PvDataTableWithChart or provide it with providePvDataTableFilterStore().");
|
|
8931
8926
|
return e;
|
|
8932
8927
|
}, ju = (e) => {
|
|
8933
|
-
let { filterColDef: t, filterStyle: n, onSelectionChanged: i, filterGroupStagedFields: a, readOnly: o } = e, s = m(Dc, O(null)), c = ku(), { fetchFilterValues: l, invalidateFilterRequest: u, filterModel: d, stagedFilterModel: f, filterModelCleared: p, filterValuesLoadingStatus: h, filterValueContext: g, getFilterSelectedValues: _, isServerSideFilter: y, setFilterValueSearchText: b, setFilterSelectedValues: x, getFilterValues: S, setFilterValues: C, filterStaleMap: E, refreshFiltersInBackground: D, stageFilterChangesUntilDropdownCloses: k, filterSearchMinLength: A, markOtherFieldsStale: j, registerAggregateField: M, registerFilterField: N, unregisterFilterField: P, getStagedSelectedValues: F, setStagedSelectedValues: I, filterValueSearchTextMap: ee, filterValuesHasMoreMap: L, filterValuesTotalCountMap: R } = c, { computedFocuses: z, removeFocus: te, computedFocusType: ne } = ml(), re = m(Ic, O(!1)), V = m(Fc, O(!1)),
|
|
8934
|
-
get: () =>
|
|
8928
|
+
let { filterColDef: t, filterStyle: n, onSelectionChanged: i, filterGroupStagedFields: a, readOnly: o } = e, s = m(Dc, O(null)), c = ku(), { fetchFilterValues: l, invalidateFilterRequest: u, filterModel: d, stagedFilterModel: f, filterModelCleared: p, filterValuesLoadingStatus: h, filterValueContext: g, getFilterSelectedValues: _, isServerSideFilter: y, setFilterValueSearchText: b, setFilterSelectedValues: x, getFilterValues: S, setFilterValues: C, filterStaleMap: E, refreshFiltersInBackground: D, stageFilterChangesUntilDropdownCloses: k, filterSearchMinLength: A, markOtherFieldsStale: j, registerAggregateField: M, registerFilterField: N, unregisterFilterField: P, getStagedSelectedValues: F, setStagedSelectedValues: I, filterValueSearchTextMap: ee, filterValuesHasMoreMap: L, filterValuesTotalCountMap: R } = c, { computedFocuses: z, removeFocus: te, computedFocusType: ne } = ml(), re = m(Ic, O(!1)), V = m(Fc, O(!1)), ie = m(Yc, O(!1)), H = r({
|
|
8929
|
+
get: () => q.value ? F(G.value) : _(G.value),
|
|
8935
8930
|
set: (e) => {
|
|
8936
|
-
|
|
8931
|
+
q.value ? I(G.value, e) : x(G.value, e);
|
|
8937
8932
|
}
|
|
8938
|
-
}),
|
|
8939
|
-
let e = S(
|
|
8940
|
-
if (
|
|
8941
|
-
let t = new Set(e), n =
|
|
8933
|
+
}), U = r(() => {
|
|
8934
|
+
let e = S(G.value);
|
|
8935
|
+
if (le.value && de.value.length > 0) {
|
|
8936
|
+
let t = new Set(e), n = de.value.filter((e) => t.has(e)), r = new Set(de.value), i = e.filter((e) => !r.has(e));
|
|
8942
8937
|
return [...n, ...i];
|
|
8943
8938
|
}
|
|
8944
|
-
return
|
|
8945
|
-
}),
|
|
8946
|
-
get: () => ee.value[
|
|
8947
|
-
set: (e) => b(
|
|
8948
|
-
}),
|
|
8949
|
-
let e = A.value ?? 0, t =
|
|
8939
|
+
return je(e);
|
|
8940
|
+
}), ae = r(() => h.value[G.value] ?? !1), oe = r(() => D.value || $(t.value).prefetchFilterValues === !0), se = r({
|
|
8941
|
+
get: () => ee.value[G.value] ?? "",
|
|
8942
|
+
set: (e) => b(G.value, e)
|
|
8943
|
+
}), W = r(() => {
|
|
8944
|
+
let e = A.value ?? 0, t = se.value?.length ?? 0;
|
|
8950
8945
|
return e > 0 && t > 0 && t < e;
|
|
8951
|
-
}),
|
|
8946
|
+
}), G = r(() => t.value.field || ""), K = r(() => t.value.filter || ""), ce = r(() => t.value.headerName || ""), q = r(() => n?.value === "vertical"), le = O(!1), J = O(!1), de = O([]), fe = r(() => jl(t.value)), pe = r(() => Ml(t.value)), me = r(() => Nl(t.value)), he = r(() => $(t.value).filterOptionsSortDescription), ge = r(() => $(t.value).filterOptionsSortTooltip), _e = r(() => !$(t.value).filterSearch), ve = r(() => $(t.value).emptyFilterResultsRenderer), ye = r(() => $(t.value).filterOptionsRenderer), Y = r(() => $(t.value).filterHeaderRenderer), be = r(() => $(t.value).filterFooterRenderer), xe = r(() => pe.value ? H.value.length >= pe.value : !1), Se = r(() => U.value.filter((e) => e != null && !H.value.includes(e))), X = r(() => R.value[G.value]), Ce = r(() => L.value[G.value]), Z = r(() => Rl(t.value)), we = () => new Set([G.value, ...Il(t.value)]), Te = (e, t) => {
|
|
8952
8947
|
let n = new Set(e), r = new Set(t);
|
|
8953
8948
|
return n.size === r.size ? [...n].every((e) => r.has(e)) : !1;
|
|
8954
|
-
},
|
|
8955
|
-
if (
|
|
8949
|
+
}, Ee = O([]), De = O("[]"), Oe = r(() => U.value.length === 1 && U.value[0] === null && H.value.length === 0), ke = (e = !1) => {
|
|
8950
|
+
if (Z.value) return;
|
|
8956
8951
|
let n = [];
|
|
8957
|
-
if (
|
|
8952
|
+
if (ie.value && s.value) {
|
|
8958
8953
|
let e = s.value.getAdvancedFilterModel();
|
|
8959
|
-
n = gu(
|
|
8954
|
+
n = gu(G.value, e);
|
|
8960
8955
|
} else n = su(t.value, d.value);
|
|
8961
|
-
e ?
|
|
8962
|
-
},
|
|
8956
|
+
e ? H.value = n : H.value = Array.from(new Set([..._(G.value), ...n]));
|
|
8957
|
+
}, Ae = (e) => {
|
|
8963
8958
|
let t = (n) => {
|
|
8964
8959
|
for (let r of n) if (r.id === String(e) && r.state === "selected" || r.children && t(r.children)) return !0;
|
|
8965
8960
|
return !1;
|
|
8966
8961
|
};
|
|
8967
|
-
return t(
|
|
8968
|
-
},
|
|
8969
|
-
let n =
|
|
8962
|
+
return t(Ee.value);
|
|
8963
|
+
}, je = (e) => [...e].sort((e, t) => {
|
|
8964
|
+
let n = H.value.includes(e) || Ae(e), r = H.value.includes(t) || Ae(t);
|
|
8970
8965
|
return n && !r ? -1 : !n && r ? 1 : 0;
|
|
8971
|
-
}),
|
|
8972
|
-
if (!s.value
|
|
8973
|
-
let r = E.value[
|
|
8974
|
-
if (
|
|
8975
|
-
if (y.value &&
|
|
8966
|
+
}), Me = async (e = !1, n = !1) => {
|
|
8967
|
+
if (!s.value) return;
|
|
8968
|
+
let r = E.value[G.value] ?? !1, i = h.value[G.value] !== !0, a = (S(G.value) || []).length === 0, o = e && i && (r || n || a);
|
|
8969
|
+
if (ie.value) {
|
|
8970
|
+
if (y.value && o) {
|
|
8976
8971
|
let e = await l(t.value, {
|
|
8977
8972
|
api: s.value,
|
|
8978
8973
|
filterModel: d.value ?? void 0,
|
|
8979
|
-
useStaged:
|
|
8974
|
+
useStaged: q.value
|
|
8980
8975
|
});
|
|
8981
|
-
C(
|
|
8976
|
+
C(G.value, e), E.value[G.value] = !1, _t();
|
|
8982
8977
|
}
|
|
8983
8978
|
return;
|
|
8984
8979
|
}
|
|
8985
|
-
let
|
|
8986
|
-
if (
|
|
8987
|
-
if (y.value &&
|
|
8988
|
-
|
|
8980
|
+
let c = await au(s.value, t.value);
|
|
8981
|
+
if (c) {
|
|
8982
|
+
if (y.value && o) {
|
|
8983
|
+
c.refreshFilterValues();
|
|
8989
8984
|
return;
|
|
8990
8985
|
}
|
|
8991
|
-
C(
|
|
8986
|
+
C(G.value, c.getFilterValues()), E.value[G.value] = !1;
|
|
8992
8987
|
}
|
|
8993
|
-
},
|
|
8994
|
-
let t = g(
|
|
8995
|
-
return !t &&
|
|
8996
|
-
},
|
|
8988
|
+
}, Ne = (e) => {
|
|
8989
|
+
let t = g(G.value, e);
|
|
8990
|
+
return !t && Z.value && e && (t = Qe(e)), t;
|
|
8991
|
+
}, Pe = (e) => e?.field ?? e?.colField, Fe = (e) => e?.rawValue == null ? e?.metadata?.rawValue == null ? e ? We(e.value).value : null : e.metadata.rawValue : e.rawValue, Ie = (e, t) => t?.rawValue == null ? t?.metadata?.rawValue == null ? e : t.metadata.rawValue : t.rawValue, Le = (e, t) => {
|
|
8997
8992
|
if (!e || !t || e.label && e.rawValue == null && e.metadata?.rawValue == null) return e;
|
|
8998
8993
|
let n = ($(t).metadataDisplayFields || []).find((t) => e.metadata?.[t] != null);
|
|
8999
8994
|
return n ? {
|
|
9000
8995
|
...e,
|
|
9001
8996
|
label: String(e.metadata?.[n])
|
|
9002
8997
|
} : e;
|
|
9003
|
-
},
|
|
9004
|
-
let n =
|
|
9005
|
-
if (i &&
|
|
8998
|
+
}, Re = (e, t) => {
|
|
8999
|
+
let n = fe.value, r = t, i = Pe(t);
|
|
9000
|
+
if (i && Z.value) {
|
|
9006
9001
|
let e = s.value?.getColumnDef(i);
|
|
9007
|
-
n = e ? jl(e) ?? n : n, r =
|
|
9002
|
+
n = e ? jl(e) ?? n : n, r = Le(t, e ?? void 0);
|
|
9008
9003
|
}
|
|
9009
9004
|
return n ? n({
|
|
9010
|
-
value:
|
|
9005
|
+
value: Ie(e, r),
|
|
9011
9006
|
context: r
|
|
9012
9007
|
}) : r?.label || e;
|
|
9013
|
-
},
|
|
9008
|
+
}, ze = (e) => Re(e, Ne(e)), Be = (e) => {
|
|
9014
9009
|
if (!$(t.value).metadataDisplayFields?.length || e == null) return !1;
|
|
9015
|
-
let n = g(
|
|
9010
|
+
let n = g(G.value, e);
|
|
9016
9011
|
return n == null || n.label == null;
|
|
9017
|
-
},
|
|
9012
|
+
}, Ve = (e) => Oe.value || g(G.value, e)?.isSelectable === !1 ? !0 : me.value ? !1 : xe.value && !H.value.includes(e), He = (e) => e ? s.value && s.value.getColumnDef(e)?.headerName || e : "", Q = (e, n, r) => tc({
|
|
9018
9013
|
fallbackSubText: n,
|
|
9019
|
-
getDisplayName:
|
|
9014
|
+
getDisplayName: He,
|
|
9020
9015
|
matchedField: e?.matchedField,
|
|
9021
9016
|
matchedValue: e?.matchedValue ?? e?.menuOption?.searchText,
|
|
9022
9017
|
primaryText: r,
|
|
9023
9018
|
showPrefix: $(t.value).showSearchMatchSubTextPrefix !== !1
|
|
9024
|
-
}), Ue = r(() => $s(
|
|
9019
|
+
}), Ue = r(() => $s(G.value, $(t.value).queryColIds, (e) => e === G.value && ce.value || He(e))), We = (e) => {
|
|
9025
9020
|
if (!e.startsWith("__")) return { value: e };
|
|
9026
9021
|
let t = e.slice(2).split("__");
|
|
9027
9022
|
return t.length < 2 ? { value: e } : {
|
|
@@ -9031,7 +9026,7 @@ var Tl = /* @__PURE__ */ function(e) {
|
|
|
9031
9026
|
}, Ge = (e) => Ks(e, Je()), Ke = (e) => {
|
|
9032
9027
|
let t = We(e.value), n = { ...e };
|
|
9033
9028
|
return !n.field && !n.colField && t.field && (n.field = t.field), n.rawValue == null && n.metadata?.rawValue == null && t.field && (n.rawValue = t.value), e.children?.length && (n.children = e.children.map(Ke)), n;
|
|
9034
|
-
}, qe = r(() => [...c.filterValueMap.value[
|
|
9029
|
+
}, qe = r(() => [...c.filterValueMap.value[G.value] || [], ...c.filterValueSelectedMetadataMap.value[G.value] || []].map((e) => e && Ke(e))), Je = () => qe.value, Ye = (e, t) => {
|
|
9035
9030
|
for (let n of e) {
|
|
9036
9031
|
if (!n) continue;
|
|
9037
9032
|
if (t(n)) return n;
|
|
@@ -9048,7 +9043,7 @@ var Tl = /* @__PURE__ */ function(e) {
|
|
|
9048
9043
|
}, Ze = (e, t) => qs(Je(), e, t), Qe = (e) => {
|
|
9049
9044
|
let t = (n) => {
|
|
9050
9045
|
if (n) {
|
|
9051
|
-
if (String(
|
|
9046
|
+
if (String(Fe(n) ?? We(n.value).value) === e) return n;
|
|
9052
9047
|
for (let e of n.children || []) {
|
|
9053
9048
|
let n = t(e);
|
|
9054
9049
|
if (n) return n;
|
|
@@ -9080,41 +9075,41 @@ var Tl = /* @__PURE__ */ function(e) {
|
|
|
9080
9075
|
};
|
|
9081
9076
|
}, et = (e) => {
|
|
9082
9077
|
let n = Je(), r = Ye(n, (t) => t.value === e.id);
|
|
9083
|
-
return r?.children?.length ? r : Xe(n, e.id) || (r &&
|
|
9078
|
+
return r?.children?.length ? r : Xe(n, e.id) || (r && Pe(r) === Ll(t.value) ? r : $e(e.id) || r);
|
|
9084
9079
|
}, tt = (e) => {
|
|
9085
|
-
if (!
|
|
9086
|
-
let t = c.filterValueSelectedMetadataMap.value[
|
|
9080
|
+
if (!Z.value) return;
|
|
9081
|
+
let t = c.filterValueSelectedMetadataMap.value[G.value] || [], n = /* @__PURE__ */ new Map();
|
|
9087
9082
|
for (let e of t) e && n.set(e.value, e);
|
|
9088
9083
|
for (let t of e) {
|
|
9089
9084
|
if (t.state !== "selected") continue;
|
|
9090
9085
|
let e = et(t);
|
|
9091
9086
|
e && n.set(e.value, e);
|
|
9092
9087
|
}
|
|
9093
|
-
c.filterValueSelectedMetadataMap.value[
|
|
9088
|
+
c.filterValueSelectedMetadataMap.value[G.value] = [...n.values()];
|
|
9094
9089
|
}, nt = () => {
|
|
9095
9090
|
let e = /* @__PURE__ */ new Set();
|
|
9096
|
-
for (let t of
|
|
9091
|
+
for (let t of Ee.value) {
|
|
9097
9092
|
if (t.state !== "selected") continue;
|
|
9098
9093
|
let n = et(t);
|
|
9099
9094
|
n && e.add(n.value);
|
|
9100
9095
|
}
|
|
9101
|
-
return [...e].filter((e) => !
|
|
9096
|
+
return [...e].filter((e) => !U.value.includes(e));
|
|
9102
9097
|
}, rt = (e) => {
|
|
9103
|
-
let n = g(
|
|
9098
|
+
let n = g(G.value, e), r = (n?.children?.length ?? 0) > 0 || (n?.totalChildCount ?? 0) > 0, i = he.value ? "suggestions" : null;
|
|
9104
9099
|
n?.isPreference && (i = "preferences");
|
|
9105
|
-
let a = null, o =
|
|
9106
|
-
l ? a =
|
|
9100
|
+
let a = null, o = ze(e) || "", l = n?.matchedValue;
|
|
9101
|
+
l ? a = Q(n, n?.subText, o) : n?.subText ? a = n.subText : Pe(n) && Z.value && !r && (a = He(Pe(n)));
|
|
9107
9102
|
let u, f, p;
|
|
9108
9103
|
if (r && (u = (n.children ?? []).map((e) => {
|
|
9109
|
-
let t = e.matchedValue ?? e.menuOption?.searchText, n =
|
|
9104
|
+
let t = e.matchedValue ?? e.menuOption?.searchText, n = Re(e.value, e) || "";
|
|
9110
9105
|
return {
|
|
9111
9106
|
...e.menuOption,
|
|
9112
9107
|
id: e.value,
|
|
9113
9108
|
text: n,
|
|
9114
9109
|
searchText: t,
|
|
9115
|
-
subText:
|
|
9110
|
+
subText: Q(e, e.subText, n),
|
|
9116
9111
|
subduedText: e.subduedText,
|
|
9117
|
-
disabled: e.menuOption?.disabled ??
|
|
9112
|
+
disabled: e.menuOption?.disabled ?? Ve(e.value),
|
|
9118
9113
|
context: e,
|
|
9119
9114
|
classList: e.menuOption?.classList ?? ["option-label"]
|
|
9120
9115
|
};
|
|
@@ -9125,23 +9120,23 @@ var Tl = /* @__PURE__ */ function(e) {
|
|
|
9125
9120
|
let r = n?.offset ?? u.length, i = await c.filterStoreHandler.value({
|
|
9126
9121
|
api: s.value,
|
|
9127
9122
|
colDef: t.value,
|
|
9128
|
-
field:
|
|
9123
|
+
field: G.value,
|
|
9129
9124
|
filterModel: d.value ?? void 0,
|
|
9130
|
-
query:
|
|
9125
|
+
query: se.value || void 0,
|
|
9131
9126
|
offset: r,
|
|
9132
9127
|
parentId: e,
|
|
9133
9128
|
reason: "child-load-more"
|
|
9134
9129
|
});
|
|
9135
9130
|
return (((i && !Array.isArray(i) ? i.values : i) || []).find((t) => t?.value === e)?.children || []).map((e) => {
|
|
9136
|
-
let t = e.matchedValue ?? e.menuOption?.searchText, n =
|
|
9131
|
+
let t = e.matchedValue ?? e.menuOption?.searchText, n = Re(e.value, e) || "";
|
|
9137
9132
|
return {
|
|
9138
9133
|
...e.menuOption,
|
|
9139
9134
|
id: e.value,
|
|
9140
9135
|
text: n,
|
|
9141
9136
|
searchText: t,
|
|
9142
|
-
subText:
|
|
9137
|
+
subText: Q(e, e.subText, n),
|
|
9143
9138
|
subduedText: e.subduedText,
|
|
9144
|
-
disabled: e.menuOption?.disabled ??
|
|
9139
|
+
disabled: e.menuOption?.disabled ?? Ve(e.value),
|
|
9145
9140
|
context: e,
|
|
9146
9141
|
classList: e.menuOption?.classList ?? ["option-label"]
|
|
9147
9142
|
};
|
|
@@ -9156,7 +9151,7 @@ var Tl = /* @__PURE__ */ function(e) {
|
|
|
9156
9151
|
subduedText: n?.subduedText,
|
|
9157
9152
|
subText: a || void 0,
|
|
9158
9153
|
groupingLabel: i || "",
|
|
9159
|
-
disabled: n?.menuOption?.disabled ?? (r ? !1 :
|
|
9154
|
+
disabled: n?.menuOption?.disabled ?? (r ? !1 : Ve(e)),
|
|
9160
9155
|
context: n || { value: e || "" },
|
|
9161
9156
|
classList: n?.menuOption?.classList ?? ["option-label"],
|
|
9162
9157
|
children: u,
|
|
@@ -9164,46 +9159,46 @@ var Tl = /* @__PURE__ */ function(e) {
|
|
|
9164
9159
|
handleSeeMore: p
|
|
9165
9160
|
};
|
|
9166
9161
|
}, it = r(() => {
|
|
9167
|
-
let e = [...
|
|
9168
|
-
return e.filter((t, n) => e.indexOf(t) === n).filter((e) => e != null && e !== "").filter((e) => !
|
|
9162
|
+
let e = [...Z.value ? nt() : H.value.filter((e) => e != null && e !== "" && !U.value.includes(e)), ...U.value];
|
|
9163
|
+
return e.filter((t, n) => e.indexOf(t) === n).filter((e) => e != null && e !== "").filter((e) => !Be(e)).map(rt);
|
|
9169
9164
|
}), at = r({
|
|
9170
|
-
get: () =>
|
|
9171
|
-
let t = g(
|
|
9165
|
+
get: () => Z.value ? [] : H.value.map((e) => {
|
|
9166
|
+
let t = g(G.value, e), n = Pe(t), r = n ? He(n) : void 0;
|
|
9172
9167
|
return {
|
|
9173
9168
|
id: e,
|
|
9174
|
-
text:
|
|
9169
|
+
text: ze(e),
|
|
9175
9170
|
subText: r,
|
|
9176
9171
|
context: t || { value: e || "" }
|
|
9177
9172
|
};
|
|
9178
9173
|
}),
|
|
9179
9174
|
set: (e) => {
|
|
9180
|
-
if (
|
|
9181
|
-
if (e.length === 0 && !
|
|
9175
|
+
if (Z.value) {
|
|
9176
|
+
if (e.length === 0 && !le.value && k.value && !q.value) {
|
|
9182
9177
|
mt([]);
|
|
9183
9178
|
return;
|
|
9184
9179
|
}
|
|
9185
9180
|
i?.();
|
|
9186
9181
|
return;
|
|
9187
9182
|
}
|
|
9188
|
-
|
|
9189
|
-
!
|
|
9183
|
+
H.value = e.map((e) => e.id), (e.length === 0 && !le.value || !k.value || q.value) && (st(), z.value.forEach((e) => {
|
|
9184
|
+
!H.value.includes(e) && ne.value === G.value && te(e);
|
|
9190
9185
|
})), i?.();
|
|
9191
9186
|
}
|
|
9192
9187
|
}), ot = (e) => {
|
|
9193
9188
|
let t = {};
|
|
9194
9189
|
for (let n of e) {
|
|
9195
9190
|
if (n === null) continue;
|
|
9196
|
-
let e =
|
|
9191
|
+
let e = Pe(g(G.value, n)) || G.value;
|
|
9197
9192
|
t[e] || (t[e] = []), t[e].push(n);
|
|
9198
9193
|
}
|
|
9199
9194
|
return t;
|
|
9200
9195
|
}, st = async (e, n, r) => {
|
|
9201
9196
|
if (!s.value) return;
|
|
9202
9197
|
if (e !== void 0 && n !== void 0) {
|
|
9203
|
-
let r = e ||
|
|
9204
|
-
if (
|
|
9198
|
+
let r = e || G.value, i = n;
|
|
9199
|
+
if (ie.value) {
|
|
9205
9200
|
let e = Jl(r, i || []);
|
|
9206
|
-
if (
|
|
9201
|
+
if (q.value) {
|
|
9207
9202
|
let t = f.value;
|
|
9208
9203
|
f.value = mu(t, e, r), j(new Set([r]));
|
|
9209
9204
|
return;
|
|
@@ -9214,7 +9209,7 @@ var Tl = /* @__PURE__ */ function(e) {
|
|
|
9214
9209
|
}), j(new Set([r]));
|
|
9215
9210
|
return;
|
|
9216
9211
|
}
|
|
9217
|
-
if (
|
|
9212
|
+
if (q.value) {
|
|
9218
9213
|
let e = await ou(s.value, t.value, i);
|
|
9219
9214
|
f.value = {
|
|
9220
9215
|
...f.value,
|
|
@@ -9228,10 +9223,10 @@ var Tl = /* @__PURE__ */ function(e) {
|
|
|
9228
9223
|
});
|
|
9229
9224
|
return;
|
|
9230
9225
|
}
|
|
9231
|
-
let i = ot(
|
|
9232
|
-
if (
|
|
9233
|
-
let e =
|
|
9234
|
-
if (
|
|
9226
|
+
let i = ot(H.value), o = $(t.value);
|
|
9227
|
+
if (ie.value) {
|
|
9228
|
+
let e = q.value ? f.value : s.value.getAdvancedFilterModel(), n = e;
|
|
9229
|
+
if (Z.value) {
|
|
9235
9230
|
let e = Il(t.value), r = [];
|
|
9236
9231
|
for (let t of e) {
|
|
9237
9232
|
let e = i[t] || [];
|
|
@@ -9254,8 +9249,8 @@ var Tl = /* @__PURE__ */ function(e) {
|
|
|
9254
9249
|
} : e;
|
|
9255
9250
|
}
|
|
9256
9251
|
} else {
|
|
9257
|
-
let t =
|
|
9258
|
-
n = mu(n, r,
|
|
9252
|
+
let t = H.value.length > 0 ? H.value : null, r = Jl(G.value, t || []);
|
|
9253
|
+
n = mu(n, r, G.value);
|
|
9259
9254
|
let i = !1;
|
|
9260
9255
|
if (a?.value) {
|
|
9261
9256
|
let e = o.filterGroup?.fields ?? [];
|
|
@@ -9267,12 +9262,12 @@ var Tl = /* @__PURE__ */ function(e) {
|
|
|
9267
9262
|
n = mu(n, r, t);
|
|
9268
9263
|
}
|
|
9269
9264
|
}
|
|
9270
|
-
let s =
|
|
9265
|
+
let s = H.value.filter((e) => e !== null), c = gu(G.value, e), l = new Set(c), u = new Set(s);
|
|
9271
9266
|
if (!(l.size !== u.size || s.some((e) => !l.has(e))) && !i) return;
|
|
9272
9267
|
}
|
|
9273
9268
|
if (r?.skipIfUnchanged && pu(e, n)) return;
|
|
9274
|
-
let c =
|
|
9275
|
-
if (
|
|
9269
|
+
let c = Z.value ? we() : new Set([G.value]);
|
|
9270
|
+
if (q.value) f.value = n, j(c);
|
|
9276
9271
|
else {
|
|
9277
9272
|
let e = n;
|
|
9278
9273
|
v(() => {
|
|
@@ -9281,56 +9276,56 @@ var Tl = /* @__PURE__ */ function(e) {
|
|
|
9281
9276
|
}
|
|
9282
9277
|
return;
|
|
9283
9278
|
}
|
|
9284
|
-
let c =
|
|
9279
|
+
let c = H.value.length > 0 ? H.value : null;
|
|
9285
9280
|
if (r?.skipIfUnchanged) {
|
|
9286
9281
|
let e = su(t.value, s.value.getFilterModel());
|
|
9287
|
-
if (
|
|
9282
|
+
if (Te(H.value, e)) return;
|
|
9288
9283
|
}
|
|
9289
|
-
if (
|
|
9284
|
+
if (q.value) {
|
|
9290
9285
|
let e = await ou(s.value, t.value, c);
|
|
9291
9286
|
f.value = {
|
|
9292
9287
|
...f.value,
|
|
9293
|
-
[
|
|
9288
|
+
[G.value]: e
|
|
9294
9289
|
};
|
|
9295
9290
|
return;
|
|
9296
9291
|
}
|
|
9297
9292
|
let l = await ou(s.value, t.value, c);
|
|
9298
|
-
s.value.setColumnFilterModel(
|
|
9293
|
+
s.value.setColumnFilterModel(G.value, l).then(() => {
|
|
9299
9294
|
s.value && s.value.onFilterChanged();
|
|
9300
9295
|
});
|
|
9301
9296
|
}, ct = (e, n) => {
|
|
9302
|
-
if (e &&
|
|
9303
|
-
let r = n || Il(t.value)[0] ||
|
|
9304
|
-
|
|
9297
|
+
if (e && me.value ? H.value = [e] : e && !H.value.includes(e) && (H.value = [...H.value, e]), Z.value && e) {
|
|
9298
|
+
let r = n || Il(t.value)[0] || G.value, i = e.startsWith("__") ? e : Ze(r, e) || e;
|
|
9299
|
+
Ee.value.find((e) => e.id === i) || (Ee.value = [...Ee.value, {
|
|
9305
9300
|
id: i,
|
|
9306
9301
|
state: "selected"
|
|
9307
9302
|
}]);
|
|
9308
9303
|
}
|
|
9309
|
-
(!k.value ||
|
|
9304
|
+
(!k.value || q.value) && (Z.value && e ? mt(Ee.value) : n && n !== G.value ? st(n, [e]) : st()), i?.();
|
|
9310
9305
|
}, lt = (e, n) => {
|
|
9311
|
-
if (
|
|
9312
|
-
let r = n || Il(t.value)[0] ||
|
|
9313
|
-
|
|
9306
|
+
if (H.value = H.value.filter((t) => t !== e), Z.value && e) {
|
|
9307
|
+
let r = n || Il(t.value)[0] || G.value, i = e.startsWith("__") ? e : Ze(r, e) || e;
|
|
9308
|
+
Ee.value = Ee.value.filter((e) => e.id !== i);
|
|
9314
9309
|
}
|
|
9315
|
-
(!k.value ||
|
|
9310
|
+
(!k.value || q.value) && (Z.value && e ? mt(Ee.value) : n && n !== G.value ? st(n, null) : st()), i?.();
|
|
9316
9311
|
}, ut = () => {
|
|
9317
|
-
|
|
9312
|
+
de.value = je(S(G.value)), le.value = !0;
|
|
9318
9313
|
}, dt = () => {
|
|
9319
|
-
|
|
9314
|
+
le.value = !1, de.value = [], se.value = "", !o?.value && k.value && !q.value && (Z.value ? mt(Ee.value, { skipIfUnchanged: !0 }) : st(void 0, void 0, { skipIfUnchanged: !0 }));
|
|
9320
9315
|
}, ft = async (e) => {
|
|
9321
9316
|
if (!s.value) return;
|
|
9322
|
-
let n =
|
|
9323
|
-
r && (
|
|
9317
|
+
let n = U.value.length, r = !e.parentId;
|
|
9318
|
+
r && (J.value = !0);
|
|
9324
9319
|
try {
|
|
9325
9320
|
await l(t.value, {
|
|
9326
9321
|
api: s.value,
|
|
9327
9322
|
filterModel: d.value ?? void 0,
|
|
9328
9323
|
offset: e.offset ?? n,
|
|
9329
9324
|
parentId: e.parentId,
|
|
9330
|
-
useStaged:
|
|
9325
|
+
useStaged: q.value
|
|
9331
9326
|
});
|
|
9332
9327
|
} finally {
|
|
9333
|
-
r && (
|
|
9328
|
+
r && (J.value = !1);
|
|
9334
9329
|
}
|
|
9335
9330
|
}, pt = (e, n) => Xs({
|
|
9336
9331
|
baseModel: n,
|
|
@@ -9338,139 +9333,139 @@ var Tl = /* @__PURE__ */ function(e) {
|
|
|
9338
9333
|
options: Je(),
|
|
9339
9334
|
state: e
|
|
9340
9335
|
}), mt = (e, n) => {
|
|
9341
|
-
if (!s.value || !
|
|
9336
|
+
if (!s.value || !Z.value) return !1;
|
|
9342
9337
|
let r = JSON.stringify(e);
|
|
9343
|
-
if (n?.skipIfUnchanged && r ===
|
|
9344
|
-
if (
|
|
9345
|
-
let a =
|
|
9346
|
-
if (n?.skipIfUnchanged && pu(a, o)) return
|
|
9347
|
-
if (
|
|
9338
|
+
if (n?.skipIfUnchanged && r === De.value) return Ee.value = e, !1;
|
|
9339
|
+
if (Ee.value = e, tt(e), Il(t.value).length === 0) return !1;
|
|
9340
|
+
let a = q.value ? f.value : s.value.getAdvancedFilterModel(), o = pt(e, a);
|
|
9341
|
+
if (n?.skipIfUnchanged && pu(a, o)) return De.value = r, !1;
|
|
9342
|
+
if (q.value) f.value = o;
|
|
9348
9343
|
else {
|
|
9349
9344
|
let e = o;
|
|
9350
9345
|
v(() => {
|
|
9351
9346
|
s.value?.setAdvancedFilterModel(e);
|
|
9352
9347
|
});
|
|
9353
9348
|
}
|
|
9354
|
-
return
|
|
9349
|
+
return De.value = r, j(we()), i?.(), !0;
|
|
9355
9350
|
}, ht = (e) => {
|
|
9356
|
-
if (!
|
|
9351
|
+
if (!Z.value || !Il(t.value).length) return;
|
|
9357
9352
|
let n = Qs({
|
|
9358
9353
|
colDef: t.value,
|
|
9359
9354
|
model: e,
|
|
9360
9355
|
options: Je()
|
|
9361
9356
|
}), r = JSON.stringify(n);
|
|
9362
|
-
JSON.stringify(
|
|
9363
|
-
}, gt = () =>
|
|
9357
|
+
JSON.stringify(Ee.value) !== r && (Ee.value = n), De.value = r, tt(n);
|
|
9358
|
+
}, gt = () => Z.value ? Ee.value.some((e) => {
|
|
9364
9359
|
let { field: t, value: n } = Ge(e.id);
|
|
9365
9360
|
return t ? Ze(t, n) !== e.id : !1;
|
|
9366
9361
|
}) : !1, _t = () => {
|
|
9367
|
-
!
|
|
9362
|
+
!Z.value || !ie.value || gt() && ht(d.value);
|
|
9368
9363
|
};
|
|
9369
|
-
return B(
|
|
9370
|
-
|
|
9371
|
-
}, { deep: !0 }), B(() => E.value[
|
|
9372
|
-
e &&
|
|
9364
|
+
return B(Ee, (e) => {
|
|
9365
|
+
Z.value && (tt(e), !(k.value && !q.value) && mt(e));
|
|
9366
|
+
}, { deep: !0 }), B(() => E.value[G.value], (e) => {
|
|
9367
|
+
e && oe.value && Me(!0);
|
|
9373
9368
|
}), B(() => f.value, () => {
|
|
9374
|
-
if (
|
|
9375
|
-
if (
|
|
9369
|
+
if (q.value) {
|
|
9370
|
+
if (ie.value) {
|
|
9376
9371
|
let e = [], n = f.value;
|
|
9377
|
-
if (
|
|
9372
|
+
if (Z.value) {
|
|
9378
9373
|
let r = Il(t.value);
|
|
9379
9374
|
for (let t of r) {
|
|
9380
9375
|
let r = gu(t, n);
|
|
9381
9376
|
e.push(...r);
|
|
9382
9377
|
}
|
|
9383
|
-
} else e = gu(
|
|
9384
|
-
|
|
9378
|
+
} else e = gu(G.value, n);
|
|
9379
|
+
H.value = e;
|
|
9385
9380
|
return;
|
|
9386
9381
|
}
|
|
9387
|
-
|
|
9382
|
+
K.value === "agSetColumnFilter" ? H.value = f.value?.[G.value]?.values || [] : K.value === "agMultiColumnFilter" ? H.value = f.value?.[G.value]?.filterModels?.find((e) => e && e.filterType === "set")?.values || [] : console.error(`Staged filter model update for filter type ${K.value} is not yet supported.`);
|
|
9388
9383
|
}
|
|
9389
9384
|
}), B(() => d.value, () => {
|
|
9390
|
-
if (
|
|
9391
|
-
if (
|
|
9392
|
-
|
|
9385
|
+
if (q.value) return;
|
|
9386
|
+
if (Z.value) {
|
|
9387
|
+
ie.value && ht(d.value);
|
|
9393
9388
|
return;
|
|
9394
9389
|
}
|
|
9395
|
-
if (
|
|
9396
|
-
let e = d.value, t = gu(
|
|
9397
|
-
|
|
9390
|
+
if (ie.value) {
|
|
9391
|
+
let e = d.value, t = gu(G.value, e);
|
|
9392
|
+
ke(H.value.some((e) => e !== null && !t.includes(e)));
|
|
9398
9393
|
return;
|
|
9399
9394
|
}
|
|
9400
9395
|
let e = su(t.value, d.value);
|
|
9401
|
-
|
|
9396
|
+
ke(H.value.some((t) => !e.includes(t)));
|
|
9402
9397
|
}, { deep: !0 }), B(() => p.value, () => {
|
|
9403
|
-
|
|
9398
|
+
H.value = [], Ee.value = [], De.value = "[]";
|
|
9404
9399
|
}), B(() => s.value, (e) => {
|
|
9405
|
-
e && y.value && (E.value[
|
|
9400
|
+
e && y.value && (E.value[G.value] = !0);
|
|
9406
9401
|
}, { immediate: !0 }), B(() => V.value, async () => {
|
|
9407
|
-
|
|
9408
|
-
await
|
|
9409
|
-
}, 2e3) : await
|
|
9410
|
-
}),
|
|
9411
|
-
if (
|
|
9412
|
-
u(
|
|
9402
|
+
oe.value && (q.value ? setTimeout(async () => {
|
|
9403
|
+
await Me(!0);
|
|
9404
|
+
}, 2e3) : await Me(!0)), ke();
|
|
9405
|
+
}), ue(() => se.value, async () => {
|
|
9406
|
+
if (W.value) {
|
|
9407
|
+
u(G.value);
|
|
9413
9408
|
return;
|
|
9414
9409
|
}
|
|
9415
|
-
await
|
|
9410
|
+
await Me(!0, !0);
|
|
9416
9411
|
}, { debounce: 300 }), w(() => {
|
|
9417
|
-
N(
|
|
9412
|
+
N(G.value);
|
|
9418
9413
|
let e = Il(t.value);
|
|
9419
|
-
if (e.length && M(
|
|
9420
|
-
let e =
|
|
9414
|
+
if (e.length && M(G.value, e), ke(), Z.value && ie.value && ht(d.value), o?.value && y.value && s.value) {
|
|
9415
|
+
let e = Z.value || ($(t.value).metadataDisplayFields?.length ?? 0) > 0, n = Z.value && ie.value ? Il(t.value).some((e) => gu(e, d.value).length > 0) : H.value.length > 0;
|
|
9421
9416
|
e && n && l(t.value, {
|
|
9422
9417
|
api: s.value,
|
|
9423
9418
|
filterModel: d.value ?? void 0
|
|
9424
9419
|
});
|
|
9425
9420
|
}
|
|
9426
|
-
|
|
9421
|
+
Z.value || $(t.value).metadataDisplayFields?.length && H.value.some((e) => Be(e)) && Me(!0, !0);
|
|
9427
9422
|
}), T(() => {
|
|
9428
|
-
P(
|
|
9423
|
+
P(G.value), k.value && !q.value && (Z.value ? mt(Ee.value, { skipIfUnchanged: !0 }) : st(void 0, void 0, { skipIfUnchanged: !0 }));
|
|
9429
9424
|
}), {
|
|
9430
|
-
selectedValues:
|
|
9431
|
-
filterValues:
|
|
9432
|
-
isLoading:
|
|
9433
|
-
isSeeMoreLoading:
|
|
9434
|
-
filterSearchText:
|
|
9425
|
+
selectedValues: H,
|
|
9426
|
+
filterValues: U,
|
|
9427
|
+
isLoading: ae,
|
|
9428
|
+
isSeeMoreLoading: J,
|
|
9429
|
+
filterSearchText: se,
|
|
9435
9430
|
filterSearchMinLength: A,
|
|
9436
|
-
belowFilterSearchMinLength:
|
|
9431
|
+
belowFilterSearchMinLength: W,
|
|
9437
9432
|
rowsLoading: re,
|
|
9438
9433
|
gridApi: s,
|
|
9439
|
-
filterField:
|
|
9440
|
-
filterType:
|
|
9441
|
-
filterDisplayName:
|
|
9442
|
-
isInFilterPanel:
|
|
9443
|
-
maxSelectableValues:
|
|
9444
|
-
isSingleSelect:
|
|
9445
|
-
selectionLimitReached:
|
|
9446
|
-
suggestedValues:
|
|
9434
|
+
filterField: G,
|
|
9435
|
+
filterType: K,
|
|
9436
|
+
filterDisplayName: ce,
|
|
9437
|
+
isInFilterPanel: q,
|
|
9438
|
+
maxSelectableValues: pe,
|
|
9439
|
+
isSingleSelect: me,
|
|
9440
|
+
selectionLimitReached: xe,
|
|
9441
|
+
suggestedValues: Se,
|
|
9447
9442
|
displayedFilterValues: it,
|
|
9448
9443
|
selectedFilterValues: at,
|
|
9449
|
-
showSearchBar:
|
|
9444
|
+
showSearchBar: _e,
|
|
9450
9445
|
filterSearchPlaceholder: Ue,
|
|
9451
|
-
emptyFilterResultsRenderer:
|
|
9452
|
-
filterOptionsRenderer:
|
|
9453
|
-
filterHeaderRenderer:
|
|
9454
|
-
filterFooterRenderer:
|
|
9455
|
-
filterOptionsSortDescription:
|
|
9456
|
-
filterOptionsSortTooltip:
|
|
9457
|
-
totalOptionCount:
|
|
9458
|
-
hasMoreOptions:
|
|
9459
|
-
isAggregate:
|
|
9460
|
-
cascadeSelectionState:
|
|
9446
|
+
emptyFilterResultsRenderer: ve,
|
|
9447
|
+
filterOptionsRenderer: ye,
|
|
9448
|
+
filterHeaderRenderer: Y,
|
|
9449
|
+
filterFooterRenderer: be,
|
|
9450
|
+
filterOptionsSortDescription: he,
|
|
9451
|
+
filterOptionsSortTooltip: ge,
|
|
9452
|
+
totalOptionCount: X,
|
|
9453
|
+
hasMoreOptions: Ce,
|
|
9454
|
+
isAggregate: Z,
|
|
9455
|
+
cascadeSelectionState: Ee,
|
|
9461
9456
|
filterValueContext: g,
|
|
9462
|
-
formatDisplayValue:
|
|
9463
|
-
resolvedFilterValueContext:
|
|
9464
|
-
isUnresolvedMetadataValue:
|
|
9465
|
-
getLatestFilterValues:
|
|
9457
|
+
formatDisplayValue: ze,
|
|
9458
|
+
resolvedFilterValueContext: Ne,
|
|
9459
|
+
isUnresolvedMetadataValue: Be,
|
|
9460
|
+
getLatestFilterValues: Me,
|
|
9466
9461
|
addSelectedValue: ct,
|
|
9467
9462
|
removeSelectedValue: lt,
|
|
9468
9463
|
handleDropdownOpen: ut,
|
|
9469
9464
|
handleDropdownClosed: dt,
|
|
9470
9465
|
handleSeeMore: ft,
|
|
9471
9466
|
handleCascadeSelectionState: mt,
|
|
9472
|
-
getColDisplayNameForField:
|
|
9473
|
-
disableFilterValue:
|
|
9467
|
+
getColDisplayNameForField: He,
|
|
9468
|
+
disableFilterValue: Ve,
|
|
9474
9469
|
updateFilterModelWithSelectedValues: st
|
|
9475
9470
|
};
|
|
9476
9471
|
}, Mu = ({ alignment: e, useTeleport: t = !0, popoverCssProperties: n } = {}) => {
|
|
@@ -9609,13 +9604,13 @@ var Tl = /* @__PURE__ */ function(e) {
|
|
|
9609
9604
|
T(() => {
|
|
9610
9605
|
x.value = !1, _.value.clear(), b.value.clear();
|
|
9611
9606
|
});
|
|
9612
|
-
let
|
|
9607
|
+
let H = r(() => _.value.size);
|
|
9613
9608
|
return n({
|
|
9614
9609
|
openForTest: () => {
|
|
9615
9610
|
P(), x.value = !0;
|
|
9616
9611
|
},
|
|
9617
9612
|
selectedValues: _
|
|
9618
|
-
}), (e, n) =>
|
|
9613
|
+
}), (e, n) => ie((E(), o("div", {
|
|
9619
9614
|
ref_key: "triggerWrapper",
|
|
9620
9615
|
ref: S,
|
|
9621
9616
|
style: { "padding-bottom": "4px" },
|
|
@@ -9630,7 +9625,7 @@ var Tl = /* @__PURE__ */ function(e) {
|
|
|
9630
9625
|
id: C.value.label,
|
|
9631
9626
|
text: C.value.label,
|
|
9632
9627
|
"class-list": ["pv-menu-nested"],
|
|
9633
|
-
"secondary-text":
|
|
9628
|
+
"secondary-text": H.value || void 0
|
|
9634
9629
|
}, null, 8, [
|
|
9635
9630
|
"id",
|
|
9636
9631
|
"text",
|
|
@@ -9689,7 +9684,7 @@ var Tl = /* @__PURE__ */ function(e) {
|
|
|
9689
9684
|
}, null, 8, ["disabled"])) : a("", !0)
|
|
9690
9685
|
]),
|
|
9691
9686
|
_: 1
|
|
9692
|
-
}, 8, ["class", "css-custom-properties"])], 32)), [[I(
|
|
9687
|
+
}, 8, ["class", "css-custom-properties"])], 32)), [[I(J), [R, { ignore: [".pv-popover"] }]]]);
|
|
9693
9688
|
}
|
|
9694
9689
|
}), Ru = {
|
|
9695
9690
|
key: 0,
|
|
@@ -9754,68 +9749,68 @@ var Tl = /* @__PURE__ */ function(e) {
|
|
|
9754
9749
|
"handle-settings-icon"
|
|
9755
9750
|
],
|
|
9756
9751
|
setup(e, { emit: n }) {
|
|
9757
|
-
let d = e, f = n, g = O(null), x = r(() => g.value?.selectedValues ?? /* @__PURE__ */ new Set()), S = r(() => g.value?.selectedValues.size ?? 0), { selectedValues: C, isLoading: w, isSeeMoreLoading: T, filterSearchText: D, filterSearchMinLength: A, belowFilterSearchMinLength: j, rowsLoading: N, gridApi: ee, filterField: L, filterDisplayName: R, isInFilterPanel: z, suggestedValues: te, displayedFilterValues: ne, selectedFilterValues: re, showSearchBar: B, filterSearchPlaceholder:
|
|
9752
|
+
let d = e, f = n, g = O(null), x = r(() => g.value?.selectedValues ?? /* @__PURE__ */ new Set()), S = r(() => g.value?.selectedValues.size ?? 0), { selectedValues: C, isLoading: w, isSeeMoreLoading: T, filterSearchText: D, filterSearchMinLength: A, belowFilterSearchMinLength: j, rowsLoading: N, gridApi: ee, filterField: L, filterDisplayName: R, isInFilterPanel: z, suggestedValues: te, displayedFilterValues: ne, selectedFilterValues: re, showSearchBar: B, filterSearchPlaceholder: ie, emptyFilterResultsRenderer: H, filterOptionsRenderer: U, filterHeaderRenderer: ae, filterFooterRenderer: oe, filterOptionsSortDescription: se, filterOptionsSortTooltip: W, filterValueContext: G, formatDisplayValue: K, resolvedFilterValueContext: ce, isUnresolvedMetadataValue: q, getLatestFilterValues: le, addSelectedValue: ue, removeSelectedValue: J, handleDropdownOpen: de, handleDropdownClosed: fe, handleSeeMore: pe, getColDisplayNameForField: me, hasMoreOptions: he, totalOptionCount: ge, isAggregate: _e, cascadeSelectionState: ve } = ju({
|
|
9758
9753
|
filterColDef: F(d, "filterColDef"),
|
|
9759
9754
|
filterStyle: F(d, "filterStyle"),
|
|
9760
9755
|
onSelectionChanged: () => f("filter-selection-changed"),
|
|
9761
9756
|
filterGroupStagedFields: x,
|
|
9762
9757
|
readOnly: F(d, "readOnly")
|
|
9763
|
-
}), { handleFocusUpdate:
|
|
9758
|
+
}), { handleFocusUpdate: ye, isFocused: Y, removeFocus: be, isFocusable: xe, canRemoveFocus: Se } = ml(), X = (e) => {
|
|
9764
9759
|
if (e.context?.metadata?.rawValue != null) return String(e.context.metadata.rawValue);
|
|
9765
9760
|
if (e.id.startsWith("__")) {
|
|
9766
9761
|
let t = e.id.slice(2).split("__");
|
|
9767
9762
|
if (t.length >= 2) return t[1];
|
|
9768
9763
|
}
|
|
9769
9764
|
return e.id;
|
|
9770
|
-
},
|
|
9771
|
-
if (
|
|
9765
|
+
}, Ce = r(() => {
|
|
9766
|
+
if (xe(Rl(d.filterColDef) ? Il(d.filterColDef) : [L.value])) return {
|
|
9772
9767
|
icon: "focus",
|
|
9773
|
-
isDisabled: (e) => !
|
|
9768
|
+
isDisabled: (e) => !xe([e.context?.colField || L.value]),
|
|
9774
9769
|
tooltipText: (e) => {
|
|
9775
9770
|
let t = e.context?.colField || L.value;
|
|
9776
|
-
if (!
|
|
9777
|
-
let n =
|
|
9778
|
-
return n && !
|
|
9771
|
+
if (!xe([t])) return `Group by ${me(t)} to enable ${d.focusText}`;
|
|
9772
|
+
let n = Y(_e.value ? X(e) : e.id, t);
|
|
9773
|
+
return n && !Se() ? `${d.focusText} (required)` : n ? `Remove ${d.focusText}` : `Select as ${d.focusText}`;
|
|
9779
9774
|
},
|
|
9780
9775
|
action: (e) => {
|
|
9781
|
-
e && !C.value.includes(e.id) &&
|
|
9776
|
+
e && !C.value.includes(e.id) && ue(e.id, e.context?.colField);
|
|
9782
9777
|
let t = e.context?.colField || L.value;
|
|
9783
|
-
|
|
9778
|
+
ye(_e.value ? X(e) : e.id, t);
|
|
9784
9779
|
},
|
|
9785
9780
|
alwaysShow: (e) => {
|
|
9786
9781
|
let t = e.context?.colField || L.value;
|
|
9787
|
-
return
|
|
9782
|
+
return Y(_e.value ? X(e) : e.id, t);
|
|
9788
9783
|
}
|
|
9789
9784
|
};
|
|
9790
|
-
}),
|
|
9785
|
+
}), Z = (e) => {
|
|
9791
9786
|
if (!e) return null;
|
|
9792
|
-
if (!
|
|
9793
|
-
let t =
|
|
9787
|
+
if (!_e.value) return e;
|
|
9788
|
+
let t = ce(e);
|
|
9794
9789
|
if (t?.metadata?.rawValue != null) return String(t.metadata.rawValue);
|
|
9795
9790
|
if (e.startsWith("__")) {
|
|
9796
9791
|
let t = e.slice(2).split("__");
|
|
9797
9792
|
if (t.length >= 2) return t[1];
|
|
9798
9793
|
}
|
|
9799
9794
|
return e;
|
|
9800
|
-
},
|
|
9801
|
-
|
|
9802
|
-
let t =
|
|
9803
|
-
|
|
9804
|
-
},
|
|
9805
|
-
|
|
9806
|
-
},
|
|
9795
|
+
}, we = (e) => {
|
|
9796
|
+
J(e);
|
|
9797
|
+
let t = ce(e)?.colField || L.value, n = Z(e);
|
|
9798
|
+
Y(n, t) && Se() && be(n);
|
|
9799
|
+
}, Te = m(Yc, O(!1)), Ee = r(() => !!$(d.filterColDef).filterGroup && Te.value), De = () => {
|
|
9800
|
+
de(), le(!0);
|
|
9801
|
+
}, Oe = () => {
|
|
9807
9802
|
v(() => {
|
|
9808
|
-
|
|
9803
|
+
fe(), f("filter-closed");
|
|
9809
9804
|
});
|
|
9810
|
-
},
|
|
9811
|
-
let t =
|
|
9812
|
-
return
|
|
9813
|
-
},
|
|
9814
|
-
return (n, r) => (E(), o(t, null, [s("div", null, [I(z) && I(C).length > 0 ? (E(), o("ul", Ru, [(E(!0), o(t, null, k(I(C), (n) => (E(), o(t, { key: `${I(R)}-${n}` }, [I(
|
|
9815
|
-
label: I(
|
|
9816
|
-
showClear: !e.readOnly && (!
|
|
9805
|
+
}, ke = (e) => {
|
|
9806
|
+
let t = ce(e)?.colField || L.value;
|
|
9807
|
+
return Y(Z(e), t);
|
|
9808
|
+
}, Ae = r(() => S.value > 0 ? !0 : _e.value ? ve.value.length > 0 : C.value.length > 0);
|
|
9809
|
+
return (n, r) => (E(), o(t, null, [s("div", null, [I(z) && I(C).length > 0 ? (E(), o("ul", Ru, [(E(!0), o(t, null, k(I(C), (n) => (E(), o(t, { key: `${I(R)}-${n}` }, [I(q)(n) ? a("", !0) : (E(), o("li", zu, [u(ts, {
|
|
9810
|
+
label: I(K)(n) || "",
|
|
9811
|
+
showClear: !e.readOnly && (!ke(n) || I(Se)()),
|
|
9817
9812
|
disabled: e.readOnly,
|
|
9818
|
-
onHandleClose: (e) =>
|
|
9813
|
+
onHandleClose: (e) => we(n)
|
|
9819
9814
|
}, null, 8, [
|
|
9820
9815
|
"label",
|
|
9821
9816
|
"showClear",
|
|
@@ -9827,22 +9822,22 @@ var Tl = /* @__PURE__ */ function(e) {
|
|
|
9827
9822
|
readOnly: e.readOnly,
|
|
9828
9823
|
searchInput: I(D),
|
|
9829
9824
|
"onUpdate:searchInput": r[2] ||= (e) => h(D) ? D.value = e : null,
|
|
9830
|
-
selectionState: I(
|
|
9831
|
-
"onUpdate:selectionState": r[3] ||= (e) => h(
|
|
9825
|
+
selectionState: I(ve),
|
|
9826
|
+
"onUpdate:selectionState": r[3] ||= (e) => h(ve) ? ve.value = e : null,
|
|
9832
9827
|
"data-horizontal-filter-field": I(z) ? void 0 : I(L),
|
|
9833
9828
|
label: I(z) ? "" : I(R),
|
|
9834
9829
|
highlightSearchText: !0,
|
|
9835
9830
|
icon: I(z) && !e.readOnly ? "add-circle" : void 0,
|
|
9836
9831
|
variant: I(z) ? "ghost" : "secondary",
|
|
9837
|
-
counterPosition: !I(z) &&
|
|
9832
|
+
counterPosition: !I(z) && Ae.value ? void 0 : "none",
|
|
9838
9833
|
showClear: !I(z),
|
|
9839
9834
|
showSearchInput: I(B),
|
|
9840
|
-
searchPlaceholder: I(
|
|
9835
|
+
searchPlaceholder: I(ie),
|
|
9841
9836
|
showDropdown: !I(z),
|
|
9842
9837
|
overlayTrigger: I(z),
|
|
9843
9838
|
options: I(ne),
|
|
9844
|
-
optionsRenderer: I(
|
|
9845
|
-
optionsAction:
|
|
9839
|
+
optionsRenderer: I(U),
|
|
9840
|
+
optionsAction: Ce.value,
|
|
9846
9841
|
popoverCssProperties: {
|
|
9847
9842
|
maxHeight: "400px",
|
|
9848
9843
|
maxWidth: I(z) ? "300px" : "400px",
|
|
@@ -9854,21 +9849,21 @@ var Tl = /* @__PURE__ */ function(e) {
|
|
|
9854
9849
|
groupings: ["preferences", "suggestions"],
|
|
9855
9850
|
isLoading: I(w),
|
|
9856
9851
|
isSeeMoreLoading: I(T),
|
|
9857
|
-
hasMoreOptions: I(
|
|
9858
|
-
totalOptionCount: I(
|
|
9859
|
-
enableCascadeSelection: I(
|
|
9860
|
-
enableChildExpansion: I(
|
|
9861
|
-
parentSelectsAllChildren: I(
|
|
9862
|
-
countSelectedParents: I(
|
|
9852
|
+
hasMoreOptions: I(he),
|
|
9853
|
+
totalOptionCount: I(ge),
|
|
9854
|
+
enableCascadeSelection: I(_e),
|
|
9855
|
+
enableChildExpansion: I(_e),
|
|
9856
|
+
parentSelectsAllChildren: I(_e),
|
|
9857
|
+
countSelectedParents: I(_e),
|
|
9863
9858
|
additionalCounter: S.value,
|
|
9864
9859
|
slotContext: {
|
|
9865
9860
|
gridApi: I(ee),
|
|
9866
9861
|
filterColDef: e.filterColDef,
|
|
9867
9862
|
rowsLoading: I(N)
|
|
9868
9863
|
},
|
|
9869
|
-
onDropdownOpen:
|
|
9870
|
-
onDropdownClosed:
|
|
9871
|
-
onSeeMore: I(
|
|
9864
|
+
onDropdownOpen: De,
|
|
9865
|
+
onDropdownClosed: Oe,
|
|
9866
|
+
onSeeMore: I(pe)
|
|
9872
9867
|
}, c({
|
|
9873
9868
|
preferences: V(() => [s("div", Vu, [r[5] ||= s("p", { class: "pv-text-subdued pv-text-body-xxs" }, "Your Preferences", -1), u(I(Ti), {
|
|
9874
9869
|
variant: "dark",
|
|
@@ -9892,38 +9887,38 @@ var Tl = /* @__PURE__ */ function(e) {
|
|
|
9892
9887
|
"use-teleport": !0,
|
|
9893
9888
|
style: { "--max-width": "200px" }
|
|
9894
9889
|
}, c({
|
|
9895
|
-
trigger: V(() => [s("p", { class: y(["pv-text-subdued pv-text-body-xxs", I(
|
|
9890
|
+
trigger: V(() => [s("p", { class: y(["pv-text-subdued pv-text-body-xxs", I(W) ? "suggested-title-label" : ""]) }, P(I(se)), 3)]),
|
|
9896
9891
|
_: 2
|
|
9897
|
-
}, [I(
|
|
9892
|
+
}, [I(W) ? {
|
|
9898
9893
|
name: "content",
|
|
9899
|
-
fn: V(() => [l(P(I(
|
|
9894
|
+
fn: V(() => [l(P(I(W)), 1)]),
|
|
9900
9895
|
key: "0"
|
|
9901
9896
|
} : void 0]), 1024)])]),
|
|
9902
9897
|
_: 2
|
|
9903
9898
|
}, [
|
|
9904
|
-
I(
|
|
9899
|
+
I(ae) || Ee.value || I(j) ? {
|
|
9905
9900
|
name: "header",
|
|
9906
9901
|
fn: V((t) => [
|
|
9907
9902
|
I(j) ? (E(), o("p", Bu, " Type " + P(I(A)) + " or more characters to search ", 1)) : a("", !0),
|
|
9908
|
-
|
|
9903
|
+
Ee.value ? (E(), i(Lu, {
|
|
9909
9904
|
key: 1,
|
|
9910
9905
|
ref_key: "filterGroupMenuRef",
|
|
9911
9906
|
ref: g,
|
|
9912
9907
|
class: "pv-stack-8",
|
|
9913
9908
|
"filter-col-def": e.filterColDef
|
|
9914
9909
|
}, null, 8, ["filter-col-def"])) : a("", !0),
|
|
9915
|
-
I(
|
|
9910
|
+
I(ae) ? (E(), i(M(I(ae)), b(_({ key: 2 }, t)), null, 16)) : a("", !0)
|
|
9916
9911
|
]),
|
|
9917
9912
|
key: "0"
|
|
9918
9913
|
} : void 0,
|
|
9919
|
-
I(
|
|
9914
|
+
I(H) ? {
|
|
9920
9915
|
name: "no-results",
|
|
9921
|
-
fn: V((e) => [(E(), i(M(I(
|
|
9916
|
+
fn: V((e) => [(E(), i(M(I(H)), b(p(e)), null, 16))]),
|
|
9922
9917
|
key: "1"
|
|
9923
9918
|
} : void 0,
|
|
9924
|
-
I(
|
|
9919
|
+
I(oe) ? {
|
|
9925
9920
|
name: "footer",
|
|
9926
|
-
fn: V((e) => [(E(), i(M(I(
|
|
9921
|
+
fn: V((e) => [(E(), i(M(I(oe)), b(p(e)), null, 16))]),
|
|
9927
9922
|
key: "2"
|
|
9928
9923
|
} : void 0
|
|
9929
9924
|
]), 1032, /* @__PURE__ */ "modelValue.readOnly.searchInput.selectionState.data-horizontal-filter-field.label.icon.variant.counterPosition.showClear.showSearchInput.searchPlaceholder.showDropdown.overlayTrigger.options.optionsRenderer.optionsAction.popoverCssProperties.disableClearIcon.disableDropdownIcon.isLoading.isSeeMoreLoading.hasMoreOptions.totalOptionCount.enableCascadeSelection.enableChildExpansion.parentSelectsAllChildren.countSelectedParents.additionalCounter.slotContext.onSeeMore".split("."))]), I(z) && !e.readOnly ? (E(), o("div", Uu, [I(te).length > 0 ? (E(), o("div", Wu, [s("ul", Gu, [u(I(Ti), {
|
|
@@ -9934,11 +9929,11 @@ var Tl = /* @__PURE__ */ function(e) {
|
|
|
9934
9929
|
"use-teleport": !0,
|
|
9935
9930
|
style: { "--max-width": "200px" }
|
|
9936
9931
|
}, c({
|
|
9937
|
-
trigger: V(() => [s("li", Ku, [s("p", { class: y(["pv-text-subdued pv-text-body-md", I(
|
|
9932
|
+
trigger: V(() => [s("li", Ku, [s("p", { class: y(["pv-text-subdued pv-text-body-md", I(W) ? "suggested-title-label" : ""]) }, " Suggested: ", 2)])]),
|
|
9938
9933
|
_: 2
|
|
9939
|
-
}, [I(
|
|
9934
|
+
}, [I(W) ? {
|
|
9940
9935
|
name: "content",
|
|
9941
|
-
fn: V(() => [l(P(I(
|
|
9936
|
+
fn: V(() => [l(P(I(W)), 1)]),
|
|
9942
9937
|
key: "0"
|
|
9943
9938
|
} : void 0]), 1024), (E(!0), o(t, null, k(I(te).filter((e) => e !== "" && e != null).slice(0, qu), (e) => (E(), o("li", {
|
|
9944
9939
|
key: `${I(R)}-${e}-suggest`,
|
|
@@ -9949,8 +9944,8 @@ var Tl = /* @__PURE__ */ function(e) {
|
|
|
9949
9944
|
}
|
|
9950
9945
|
}, [u(I(ds), {
|
|
9951
9946
|
disabled: I(w),
|
|
9952
|
-
label: I(
|
|
9953
|
-
onHandleClick: (t) => I(
|
|
9947
|
+
label: I(K)(e) || "",
|
|
9948
|
+
onHandleClick: (t) => I(ue)(e, I(G)(I(L), e)?.colField)
|
|
9954
9949
|
}, null, 8, [
|
|
9955
9950
|
"disabled",
|
|
9956
9951
|
"label",
|
|
@@ -10042,12 +10037,12 @@ var Tl = /* @__PURE__ */ function(e) {
|
|
|
10042
10037
|
}
|
|
10043
10038
|
}, { clearAllFocuses: re } = ml(), B = () => {
|
|
10044
10039
|
n.value && (g.value = null, f.value ? n.value.setAdvancedFilterModel(null) : (n.value.setFilterModel(null), n.value.onFilterChanged()), h.value += 1, re(), T.value = !1);
|
|
10045
|
-
},
|
|
10040
|
+
}, ie = () => {
|
|
10046
10041
|
w.value = !1, D.value = "";
|
|
10042
|
+
}, H = () => {
|
|
10043
|
+
b(), g.value = null, ie();
|
|
10047
10044
|
}, U = () => {
|
|
10048
|
-
b(), g.value = null,
|
|
10049
|
-
}, W = () => {
|
|
10050
|
-
b(), z.value && n.value && (f.value ? n.value.setAdvancedFilterModel(g.value) : (n.value.setFilterModel(g.value), n.value.onFilterChanged())), g.value = null, H();
|
|
10045
|
+
b(), z.value && n.value && (f.value ? n.value.setAdvancedFilterModel(g.value) : (n.value.setFilterModel(g.value), n.value.onFilterChanged())), g.value = null, ie();
|
|
10051
10046
|
};
|
|
10052
10047
|
return (e, r) => (E(), o(t, null, [s("div", Yu, [
|
|
10053
10048
|
(E(!0), o(t, null, k(ee.value, (s) => (E(), o(t, { key: s.field }, [I(n) ? (E(), i(Ju, {
|
|
@@ -10090,7 +10085,7 @@ var Tl = /* @__PURE__ */ function(e) {
|
|
|
10090
10085
|
"onUpdate:modelValue": r[9] ||= (e) => w.value = e,
|
|
10091
10086
|
class: "pv-drawer pv-surface",
|
|
10092
10087
|
"close-on-click-outside": !0,
|
|
10093
|
-
onClickOutside: r[10] ||= (e) =>
|
|
10088
|
+
onClickOutside: r[10] ||= (e) => U(),
|
|
10094
10089
|
style: {
|
|
10095
10090
|
"max-width": "450px",
|
|
10096
10091
|
"z-index": "10"
|
|
@@ -10099,7 +10094,7 @@ var Tl = /* @__PURE__ */ function(e) {
|
|
|
10099
10094
|
header: V(() => [s("div", Zu, [s("p", Qu, "All Filters (" + P(N.value.length) + ")", 1), s("button", {
|
|
10100
10095
|
class: "pv-button-ghost",
|
|
10101
10096
|
"aria-label": "Close",
|
|
10102
|
-
onClick: r[2] ||= (e) =>
|
|
10097
|
+
onClick: r[2] ||= (e) => H()
|
|
10103
10098
|
}, [u(I(En), { name: "close" })])]), u(I(qi), {
|
|
10104
10099
|
modelValue: D.value,
|
|
10105
10100
|
"onUpdate:modelValue": r[3] ||= (e) => D.value = e,
|
|
@@ -10109,19 +10104,19 @@ var Tl = /* @__PURE__ */ function(e) {
|
|
|
10109
10104
|
key: 1,
|
|
10110
10105
|
variant: "ghost",
|
|
10111
10106
|
label: "Close",
|
|
10112
|
-
onClick: r[8] ||= (e) =>
|
|
10107
|
+
onClick: r[8] ||= (e) => H()
|
|
10113
10108
|
})) : (E(), o(t, { key: 0 }, [s("button", {
|
|
10114
10109
|
class: "pv-button-ghost",
|
|
10115
10110
|
onClick: r[5] ||= (e) => B()
|
|
10116
10111
|
}, "Clear All"), s("div", ad, [u(I(An), {
|
|
10117
10112
|
variant: "ghost",
|
|
10118
10113
|
label: "Cancel",
|
|
10119
|
-
onClick: r[6] ||= (e) =>
|
|
10114
|
+
onClick: r[6] ||= (e) => H()
|
|
10120
10115
|
}), z.value ? (E(), i(I(An), {
|
|
10121
10116
|
key: 0,
|
|
10122
10117
|
variant: "primary",
|
|
10123
10118
|
label: "Apply",
|
|
10124
|
-
onClick: r[7] ||= (e) =>
|
|
10119
|
+
onClick: r[7] ||= (e) => U()
|
|
10125
10120
|
})) : (E(), i(I(An), {
|
|
10126
10121
|
key: 1,
|
|
10127
10122
|
variant: "primary",
|
|
@@ -10249,7 +10244,7 @@ var Tl = /* @__PURE__ */ function(e) {
|
|
|
10249
10244
|
variant: "ghost",
|
|
10250
10245
|
size: "lg",
|
|
10251
10246
|
label: p.value || "",
|
|
10252
|
-
onClick: t[1] ||=
|
|
10247
|
+
onClick: t[1] ||= H(() => {}, ["stop"])
|
|
10253
10248
|
}, null, 8, [
|
|
10254
10249
|
"modelValue",
|
|
10255
10250
|
"options",
|
|
@@ -10269,7 +10264,7 @@ var Tl = /* @__PURE__ */ function(e) {
|
|
|
10269
10264
|
variant: "ghost",
|
|
10270
10265
|
"left-icon": "menu",
|
|
10271
10266
|
ariaLabel: "Column menu",
|
|
10272
|
-
onClick:
|
|
10267
|
+
onClick: H(N, ["stop", "prevent"])
|
|
10273
10268
|
})], 4)])) : a("", !0)], 4));
|
|
10274
10269
|
}
|
|
10275
10270
|
}), [["__scopeId", "data-v-385ad98a"]]), dd = {
|
|
@@ -10287,13 +10282,13 @@ var Tl = /* @__PURE__ */ function(e) {
|
|
|
10287
10282
|
rangeSelectionBorderStyle: "solid",
|
|
10288
10283
|
menuBackgroundColor: "white",
|
|
10289
10284
|
accentColor: "#36C5BA"
|
|
10290
|
-
}, fd =
|
|
10285
|
+
}, fd = Me.withParams({
|
|
10291
10286
|
...dd,
|
|
10292
10287
|
headerRowBorder: !0,
|
|
10293
10288
|
rowHoverColor: "#F7F8F8",
|
|
10294
10289
|
wrapperBorder: !0,
|
|
10295
10290
|
wrapperBorderRadius: "8px"
|
|
10296
|
-
}), pd =
|
|
10291
|
+
}), pd = Me.withParams({
|
|
10297
10292
|
...dd,
|
|
10298
10293
|
headerRowBorder: !1,
|
|
10299
10294
|
rowHoverColor: "transparent",
|
|
@@ -10304,7 +10299,7 @@ var Tl = /* @__PURE__ */ function(e) {
|
|
|
10304
10299
|
rowHeight: "50px"
|
|
10305
10300
|
}), md = {
|
|
10306
10301
|
"pv-data-table-base": fd,
|
|
10307
|
-
"pv-data-table-grouped":
|
|
10302
|
+
"pv-data-table-grouped": Me.withParams({
|
|
10308
10303
|
...dd,
|
|
10309
10304
|
headerRowBorder: !0,
|
|
10310
10305
|
rowHoverColor: "#F7F8F8",
|
|
@@ -10338,7 +10333,7 @@ var Tl = /* @__PURE__ */ function(e) {
|
|
|
10338
10333
|
class: "pv-icon-24"
|
|
10339
10334
|
}, [s("title", null, "ellipsis"), s("use", { "xlink:href": "#ellipsis" })])], -1), s("div", gd, [s("button", {
|
|
10340
10335
|
class: "pv-button pv-text-body-sm pv-inset-square-8",
|
|
10341
|
-
onClick:
|
|
10336
|
+
onClick: H(i, ["prevent"]),
|
|
10342
10337
|
disabled: r.value
|
|
10343
10338
|
}, [r.value ? (E(), o(t, { key: 0 }, [l("Exporting...")], 64)) : (E(), o(t, { key: 1 }, [l("Download CSV")], 64))], 8, _d)])]));
|
|
10344
10339
|
}
|
|
@@ -10349,7 +10344,7 @@ var Tl = /* @__PURE__ */ function(e) {
|
|
|
10349
10344
|
__name: "PaginationPanel",
|
|
10350
10345
|
props: { panelSize: { default: "xl" } },
|
|
10351
10346
|
setup(e) {
|
|
10352
|
-
|
|
10347
|
+
X.registerModules([be]);
|
|
10353
10348
|
let n = m(Dc, O(null)), a = m(Lc, O(1)), s = m(Rc, O(0)), c = e, l = r(() => {
|
|
10354
10349
|
let e = s.value, t = a.value;
|
|
10355
10350
|
if (e <= 7) return Array.from({ length: e }, (e, t) => t + 1);
|
|
@@ -10457,12 +10452,12 @@ var Tl = /* @__PURE__ */ function(e) {
|
|
|
10457
10452
|
};
|
|
10458
10453
|
}), o.value = !1;
|
|
10459
10454
|
};
|
|
10460
|
-
return
|
|
10455
|
+
return ue(r, (e) => {
|
|
10461
10456
|
t.searchStyle === "query-builder" ? g(e) : t.searchStyle === "text" && p(e);
|
|
10462
10457
|
}, {
|
|
10463
10458
|
debounce: 300,
|
|
10464
10459
|
immediate: !0
|
|
10465
|
-
}),
|
|
10460
|
+
}), ue(n, (e) => {
|
|
10466
10461
|
t.searchStyle === "query-builder" && h(e);
|
|
10467
10462
|
}, {
|
|
10468
10463
|
debounce: 300,
|
|
@@ -10694,66 +10689,66 @@ var Tl = /* @__PURE__ */ function(e) {
|
|
|
10694
10689
|
],
|
|
10695
10690
|
setup(e, { expose: t, emit: c }) {
|
|
10696
10691
|
let d = [
|
|
10697
|
-
Me,
|
|
10698
10692
|
Ne,
|
|
10699
|
-
de,
|
|
10700
10693
|
Pe,
|
|
10701
|
-
|
|
10694
|
+
fe,
|
|
10702
10695
|
Fe,
|
|
10703
10696
|
me,
|
|
10704
|
-
he,
|
|
10705
10697
|
Ie,
|
|
10706
|
-
|
|
10698
|
+
he,
|
|
10707
10699
|
ge,
|
|
10708
|
-
|
|
10709
|
-
|
|
10710
|
-
|
|
10711
|
-
|
|
10700
|
+
Le,
|
|
10701
|
+
Re,
|
|
10702
|
+
_e,
|
|
10703
|
+
ye,
|
|
10704
|
+
xe,
|
|
10705
|
+
Be,
|
|
10706
|
+
De,
|
|
10712
10707
|
Ge,
|
|
10713
10708
|
We,
|
|
10714
10709
|
Ke,
|
|
10715
|
-
|
|
10716
|
-
|
|
10717
|
-
we,
|
|
10718
|
-
He,
|
|
10719
|
-
Ue,
|
|
10710
|
+
Ae,
|
|
10711
|
+
Ve,
|
|
10720
10712
|
Te,
|
|
10721
10713
|
Q,
|
|
10722
|
-
|
|
10714
|
+
Ue,
|
|
10715
|
+
Ee,
|
|
10716
|
+
Z,
|
|
10717
|
+
we,
|
|
10723
10718
|
qe,
|
|
10719
|
+
ke,
|
|
10720
|
+
je,
|
|
10721
|
+
pe,
|
|
10724
10722
|
Oe,
|
|
10725
|
-
Ae,
|
|
10726
|
-
fe,
|
|
10727
|
-
De,
|
|
10728
|
-
xe,
|
|
10729
10723
|
Se,
|
|
10730
|
-
|
|
10731
|
-
|
|
10732
|
-
|
|
10724
|
+
Ce,
|
|
10725
|
+
Y,
|
|
10726
|
+
ve,
|
|
10727
|
+
He
|
|
10733
10728
|
];
|
|
10734
|
-
|
|
10729
|
+
ze.setLicenseKey("Using_this_{AG_Grid}_Enterprise_key_{AG-084011}_in_excess_of_the_licence_granted_is_not_permitted___Please_report_misuse_to_legal@ag-grid.com___For_help_with_changing_this_key_please_contact_info@ag-grid.com___{Turquoise_Health}_is_granted_a_{Multiple_Applications}_Developer_License_for_{3}_Front-End_JavaScript_developers___All_Front-End_JavaScript_developers_need_to_be_licensed_in_addition_to_the_ones_working_with_{AG_Grid}_Enterprise___This_key_has_been_granted_a_Deployment_License_Add-on_for_{2}_Production_Environments___This_key_works_with_{AG_Grid}_Enterprise_versions_released_before_{16_August_2026}____[v3]_[01]_MTc4NjgzNDgwMDAwMA==3bfdb2557ede1aa3533ccbd05785addb");
|
|
10735
10730
|
let f = e;
|
|
10736
10731
|
f.debugMode && d.push(Je);
|
|
10737
10732
|
let p = r(() => f.layout ? {} : {
|
|
10738
10733
|
height: f.containerHeight,
|
|
10739
10734
|
minHeight: f.containerMinHeight
|
|
10740
|
-
}), h = r(() => f.theme != null && typeof f.theme != "string"), g = r(() => f.theme && typeof f.theme == "string" ? f.theme :
|
|
10735
|
+
}), h = r(() => f.theme != null && typeof f.theme != "string"), g = r(() => f.theme && typeof f.theme == "string" ? f.theme : W.value.length > 0 ? "pv-data-table-grouped" : "pv-data-table-base"), b = f.theme && typeof f.theme == "string" ? f.theme : "pv-data-table-base", w = r(() => h.value ? f.theme : md[g.value]), T = c, k = O(!1), j = (e) => {
|
|
10741
10736
|
let t = Il(e), n = e.context;
|
|
10742
10737
|
return Array.from(new Set([
|
|
10743
10738
|
...t,
|
|
10744
10739
|
...n?.queryColIds || [],
|
|
10745
|
-
...t.flatMap((e) =>
|
|
10740
|
+
...t.flatMap((e) => U.find((t) => t.field === e || t.colId === e)?.context?.queryColIds || [])
|
|
10746
10741
|
]));
|
|
10747
10742
|
}, M = (e, t) => {
|
|
10748
10743
|
if (tu(e, t)) return !0;
|
|
10749
|
-
let n =
|
|
10744
|
+
let n = U.find((e) => Ll(e) === t);
|
|
10750
10745
|
return !!n && j(n).some((t) => tu(e, t));
|
|
10751
10746
|
}, F = "serverSideRowHandler" in f && f.serverSideRowHandler ? { getRows: (e) => {
|
|
10752
|
-
if (!
|
|
10753
|
-
e.success({ rowData: [] }),
|
|
10747
|
+
if (!q.value) {
|
|
10748
|
+
e.success({ rowData: [] }), G.value = !0;
|
|
10754
10749
|
return;
|
|
10755
10750
|
}
|
|
10756
|
-
|
|
10751
|
+
K.value = !0;
|
|
10757
10752
|
let t = e.success, n = e.fail, r = e.request.groupKeys?.length || 0, i = e.request.rowGroupCols?.length || 0, a = r === i, o = !1, s = Qe.value;
|
|
10758
10753
|
if (i > 0 && r === 0) {
|
|
10759
10754
|
let t = e.request.rowGroupCols[0].id;
|
|
@@ -10808,7 +10803,7 @@ var Tl = /* @__PURE__ */ function(e) {
|
|
|
10808
10803
|
e.request.groupKeys = e.request.groupKeys.filter((t, n) => e.request.rowGroupCols?.[n]?.aggFunc !== fo), e.request.rowGroupCols = e.request.rowGroupCols.filter((e) => e.aggFunc !== fo);
|
|
10809
10804
|
}
|
|
10810
10805
|
}
|
|
10811
|
-
if (e.request.rowGroupCols?.length === 0 ? e.request.valueCols = [] : e.request.valueCols = e.request.valueCols?.filter((t) => !e.request.rowGroupCols?.some((e) => e.id === t.id)), (a || o) && !
|
|
10806
|
+
if (e.request.rowGroupCols?.length === 0 ? e.request.valueCols = [] : e.request.valueCols = e.request.valueCols?.filter((t) => !e.request.rowGroupCols?.some((e) => e.id === t.id)), (a || o) && !X.tableSearchFilterModelEmpty.value) if (f.enableAdvancedFilter) {
|
|
10812
10807
|
let t = e.request.filterModel;
|
|
10813
10808
|
t ? e.request.filterModel = {
|
|
10814
10809
|
filterType: "join",
|
|
@@ -10817,10 +10812,10 @@ var Tl = /* @__PURE__ */ function(e) {
|
|
|
10817
10812
|
} : e.request.filterModel = s;
|
|
10818
10813
|
} else {
|
|
10819
10814
|
let t = e.request.filterModel;
|
|
10820
|
-
e.request.filterModel = nu(
|
|
10815
|
+
e.request.filterModel = nu(U, t, s);
|
|
10821
10816
|
}
|
|
10822
10817
|
e.success = (e) => {
|
|
10823
|
-
if (
|
|
10818
|
+
if (K.value = !1, f.enableFocusView && ct.value.length > 0 && st.value && e.rowData) {
|
|
10824
10819
|
let n = Al(e.rowData, st.value, ct.value);
|
|
10825
10820
|
if (n) {
|
|
10826
10821
|
e.rowData = n, t(e);
|
|
@@ -10829,11 +10824,11 @@ var Tl = /* @__PURE__ */ function(e) {
|
|
|
10829
10824
|
}
|
|
10830
10825
|
t(e);
|
|
10831
10826
|
}, e.fail = () => {
|
|
10832
|
-
|
|
10827
|
+
K.value = !1, n();
|
|
10833
10828
|
}, f.serverSideRowHandler?.(e);
|
|
10834
10829
|
} } : null, ee = "filterValuesSetHandler" in f && f.filterValuesSetHandler ? async (e) => {
|
|
10835
10830
|
let t = [], n = { ...Ze.value };
|
|
10836
|
-
t = !
|
|
10831
|
+
t = !G.value && oe ? vu(n, e.colDef.field ?? e.colDef.colId ?? "") || [] : await rt(e.colDef, {
|
|
10837
10832
|
api: e.api,
|
|
10838
10833
|
filterModel: n,
|
|
10839
10834
|
useStaged: !1
|
|
@@ -10861,7 +10856,7 @@ var Tl = /* @__PURE__ */ function(e) {
|
|
|
10861
10856
|
component: Ul,
|
|
10862
10857
|
params: e
|
|
10863
10858
|
};
|
|
10864
|
-
if (!e.column?.getColDef().cellRenderer && f.displayRowNumber &&
|
|
10859
|
+
if (!e.column?.getColDef().cellRenderer && f.displayRowNumber && W.value.length === 0) {
|
|
10865
10860
|
let t = e.api.getAllDisplayedColumns() || [], n = e.column;
|
|
10866
10861
|
if (t.findIndex((e) => e === n) === 0) return {
|
|
10867
10862
|
component: wd,
|
|
@@ -10882,12 +10877,12 @@ var Tl = /* @__PURE__ */ function(e) {
|
|
|
10882
10877
|
let t = e.column?.getColId();
|
|
10883
10878
|
if (e.column && bt(e.column) && (t = ft.value?.getColId() || ""), !zt(t)) {
|
|
10884
10879
|
let n = e.api.getColumn(t)?.getColDef();
|
|
10885
|
-
n && (
|
|
10880
|
+
n && (se.value = n, v(() => {
|
|
10886
10881
|
zt(t);
|
|
10887
10882
|
}));
|
|
10888
10883
|
}
|
|
10889
10884
|
}
|
|
10890
|
-
},
|
|
10885
|
+
}, H = (e, t) => {
|
|
10891
10886
|
if (!e) return null;
|
|
10892
10887
|
let n = { ...e }, r = t, i = Il(e);
|
|
10893
10888
|
if (r.devOnly) if (f.devMode) n.hide = !0;
|
|
@@ -10901,39 +10896,39 @@ var Tl = /* @__PURE__ */ function(e) {
|
|
|
10901
10896
|
n.headerValueGetter = (e) => e.location === "advancedFilter" ? n.colId || n.field || "" : t && typeof t == "function" ? t(e) : t && typeof t == "string" ? t : n.headerName || n.field || "";
|
|
10902
10897
|
}
|
|
10903
10898
|
return r.isArrayField && !e.valueFormatter ? n.valueFormatter = (e) => kt(e, r.dataType) : r.dataType === Tl.Percent && !e.valueFormatter ? n.valueFormatter = (e) => Dt(e, r.valueDecimals || 0) : r.dataType === Tl.Currency && !e.valueFormatter ? n.valueFormatter = (e) => Et(e, r.valueDecimals || 0) : r.dataType === Tl.Integer && !e.valueFormatter ? n.valueFormatter = Ot : r.dataType === Tl.Tag && !e.cellRenderer && (n.cellRenderer = Sd), n;
|
|
10904
|
-
},
|
|
10899
|
+
}, U = f.colDefs?.map((e) => {
|
|
10905
10900
|
let t = { ...e };
|
|
10906
10901
|
F && ee && ru(e) && (t = iu(e, ee));
|
|
10907
10902
|
let n = e.context;
|
|
10908
|
-
return n && (t =
|
|
10909
|
-
}).filter((e) => e != null) || [],
|
|
10910
|
-
for (let e of
|
|
10911
|
-
let
|
|
10912
|
-
if (
|
|
10913
|
-
let e =
|
|
10903
|
+
return n && (t = H(t, n)), t;
|
|
10904
|
+
}).filter((e) => e != null) || [], ae = new Set(f.colDefs?.map((e) => e.field || e.colId).filter(Boolean) || []);
|
|
10905
|
+
for (let e of U) for (let t of Il(e)) ae.has(t) || console.warn(`aggregate field hierarchy references "${t}" on column "${e.field || e.colId}", but no colDef with that field exists.`);
|
|
10906
|
+
let oe = Xl(f.initialGridState, U, f.enableAdvancedFilter), se = O(null), W = O([]), G = m(Fc, O(!1)), K = O(!1), ce = r(() => {
|
|
10907
|
+
if (W.value.length > 0) {
|
|
10908
|
+
let e = W.value[0], t = U.find((t) => t.field === e), n = Ze.value, r = !n;
|
|
10914
10909
|
if (!r && wu(n) && (r = !n[e]), r && t?.context?.filterRequiredToGroup) return t.headerName;
|
|
10915
10910
|
}
|
|
10916
10911
|
return null;
|
|
10917
|
-
}),
|
|
10912
|
+
}), q = r(() => X.filterModelEmpty.value && f.requireFiltersToShowData ? !1 : ce.value === null), le = r(() => ce.value ? `Select at least one value for "${ce.value}" to view data.` : "Select a filter to view data."), J = N(null), be = O([]), X = f.filterStore || ku(), Me = m(Tc, null), Xe = Me || pl(null, f.allFieldsAreFocusable), Ze = X.filterModel, Qe = X.tableSearchFilterModel, $e = X.filterValueMap, et = X.filterValuesMap, nt = X.filterValueSelectedMetadataMap, rt = X.fetchFilterValues, it = X.filterStoreHandler, at = X.tableSearchHandler;
|
|
10918
10913
|
if (it.value = f.filterValuesSetHandler, it.value) {
|
|
10919
10914
|
let e = (e) => ({
|
|
10920
|
-
hasMore:
|
|
10921
|
-
totalCount:
|
|
10922
|
-
values:
|
|
10915
|
+
hasMore: X.filterHasMoreMap.value[e],
|
|
10916
|
+
totalCount: X.filterTotalCountMap.value[e],
|
|
10917
|
+
values: X.filterOptionsMap.value[e] ?? []
|
|
10923
10918
|
});
|
|
10924
|
-
|
|
10919
|
+
X.setFilterOptionsHandler(async (t) => {
|
|
10925
10920
|
let n = it.value;
|
|
10926
10921
|
return n ? await n({
|
|
10927
10922
|
...t,
|
|
10928
|
-
api:
|
|
10923
|
+
api: J.value ?? void 0,
|
|
10929
10924
|
colDef: t.colDef,
|
|
10930
10925
|
filterModel: t.filterModel
|
|
10931
10926
|
}) ?? e(t.field) : e(t.field);
|
|
10932
10927
|
});
|
|
10933
10928
|
}
|
|
10934
|
-
at.value = f.tableSearchHandler, $e.value = f.initialFilterValueMap || {}, et.value = Object.fromEntries(Object.entries(f.initialFilterValueMap || {}).map(([e, t]) => [e, t.filter((e) => e != null).map((e) => e.value)])), nt.value = f.initialFilterValueSelectedMetadataMap || {},
|
|
10935
|
-
|
|
10936
|
-
}),
|
|
10929
|
+
at.value = f.tableSearchHandler, $e.value = f.initialFilterValueMap || {}, et.value = Object.fromEntries(Object.entries(f.initialFilterValueMap || {}).map(([e, t]) => [e, t.filter((e) => e != null).map((e) => e.value)])), nt.value = f.initialFilterValueSelectedMetadataMap || {}, X.refreshFiltersInBackground.value = f.refreshFiltersInBackground ?? !1, X.stageFilterChangesUntilDropdownCloses.value = f.stageFilterChangesUntilDropdownCloses ?? !1, X.filterSearchMinLength.value = f.filterSearchMinLength, X.filterModelType.value = f.enableAdvancedFilter ? "advanced" : "regular", B(() => f.enableAdvancedFilter, (e) => {
|
|
10930
|
+
X.filterModelType.value = e ? "advanced" : "regular";
|
|
10931
|
+
}), ue([$e, nt], () => {
|
|
10937
10932
|
T("filter-metadata-changed", {
|
|
10938
10933
|
filterValueMap: $e.value,
|
|
10939
10934
|
filterValueSelectedMetadataMap: nt.value
|
|
@@ -10942,8 +10937,8 @@ var Tl = /* @__PURE__ */ function(e) {
|
|
|
10942
10937
|
deep: !0,
|
|
10943
10938
|
debounce: 250
|
|
10944
10939
|
});
|
|
10945
|
-
let ot = O(null), st = r(() => Xe?.computedFocusType.value || null), ct = r(() => Xe?.computedFocuses.value || []), lt = r(() =>
|
|
10946
|
-
D(wc,
|
|
10940
|
+
let ot = O(null), st = r(() => Xe?.computedFocusType.value || null), ct = r(() => Xe?.computedFocuses.value || []), lt = r(() => U.filter((e) => e.filter)), ut = r(() => U.filter((e) => e.enableRowGroup)), dt = r(() => U.filter((e) => e.aggFunc)), ft = O(null), pt = O({}), mt = O(1), ht = O(0);
|
|
10941
|
+
D(wc, X), D(Tc, Xe), D(Ec, be), D(Dc, J), D(Oc, ot), D(kc, se), D(Ac, lt), D(jc, ut), D(Mc, W), D(Nc, ft), D(Pc, pt), D(Fc, G), D(Ic, K), D(Lc, mt), D(Rc, ht), D(Yc, r(() => f.enableAdvancedFilter));
|
|
10947
10942
|
let gt = r(() => !f.enableFocusView && !f.rowData || f.enableFocusView && !ct.value.length && !st.value ? f.rowData : Al(f.rowData, st.value, ct.value));
|
|
10948
10943
|
B(() => ct.value, (e) => {
|
|
10949
10944
|
T("focus-update", {
|
|
@@ -10951,27 +10946,27 @@ var Tl = /* @__PURE__ */ function(e) {
|
|
|
10951
10946
|
focuses: e
|
|
10952
10947
|
});
|
|
10953
10948
|
}), B(k, (e) => {
|
|
10954
|
-
if (!
|
|
10955
|
-
let t =
|
|
10956
|
-
t.length > 0 &&
|
|
10949
|
+
if (!J.value) return;
|
|
10950
|
+
let t = U.filter((e) => e.context?.devOnly).map((e) => e.field).filter(Boolean);
|
|
10951
|
+
t.length > 0 && J.value.setColumnsVisible(t, e);
|
|
10957
10952
|
});
|
|
10958
10953
|
let _t = (e) => {
|
|
10959
|
-
|
|
10960
|
-
let t =
|
|
10961
|
-
if (f.hideAllRowGroupedColumns &&
|
|
10954
|
+
J.value = e.api;
|
|
10955
|
+
let t = W.value.find((e) => !U.find((t) => t.field === e)?.hide), n = !t && W.value.length > 0 ? U.find((e) => !e.hide && !e.rowGroup)?.field ?? null : null, r = f.leftPinnedColumnName ?? t ?? n, i = [];
|
|
10956
|
+
if (f.hideAllRowGroupedColumns && W.value.forEach((e) => i.push(e)), r) {
|
|
10962
10957
|
let t = e.api.getColumn(r);
|
|
10963
10958
|
ft.value = t, i.push(r), Ut(t?.getColDef());
|
|
10964
10959
|
}
|
|
10965
|
-
|
|
10960
|
+
oe ? Kt(oe) : Ze.value && At(Ze.value), Qe.value && jt(Qe.value), e.api.setColumnsVisible([...i], !1), ot.value = e.api.getAllGridColumns(), mt.value = e.api.paginationGetCurrentPage() + 1, ht.value = e.api.paginationGetTotalPages(), T("grid-ready", e);
|
|
10966
10961
|
}, vt = (e) => {
|
|
10967
|
-
if (
|
|
10962
|
+
if (J.value) {
|
|
10968
10963
|
let t = Tt();
|
|
10969
10964
|
pu(Ze.value, t) || (Ze.value = t, T("filter-changed", e));
|
|
10970
10965
|
}
|
|
10971
10966
|
}, yt = (e) => {
|
|
10972
|
-
|
|
10967
|
+
be.value = e.api?.getState()?.sort?.sortModel || [], G.value && T("sort-changed", e);
|
|
10973
10968
|
}, bt = (e) => e.getColId() && e.getColId().includes("ag-Grid-AutoColumn"), xt = O(!1), St = async (e) => {
|
|
10974
|
-
if (!
|
|
10969
|
+
if (!J.value) {
|
|
10975
10970
|
console.error("Grid API not available");
|
|
10976
10971
|
return;
|
|
10977
10972
|
}
|
|
@@ -10980,17 +10975,17 @@ var Tl = /* @__PURE__ */ function(e) {
|
|
|
10980
10975
|
route: [],
|
|
10981
10976
|
purge: !0
|
|
10982
10977
|
};
|
|
10983
|
-
|
|
10978
|
+
J.value.refreshServerSide(t);
|
|
10984
10979
|
};
|
|
10985
10980
|
function Ct(e) {
|
|
10986
|
-
return e?.hydrate ?
|
|
10981
|
+
return e?.hydrate ? X.hydrateSelectedFilterMetadata(U) : nt.value;
|
|
10987
10982
|
}
|
|
10988
10983
|
let wt = async () => {
|
|
10989
|
-
if (xt.value = !0, !
|
|
10984
|
+
if (xt.value = !0, !J.value) return console.error("Grid API not available"), xt.value = !1, null;
|
|
10990
10985
|
try {
|
|
10991
|
-
let e = f.serverSideCsvHandler, t =
|
|
10986
|
+
let e = f.serverSideCsvHandler, t = J.value?.getState(), n = {
|
|
10992
10987
|
rowGroupCols: [],
|
|
10993
|
-
valueCols:
|
|
10988
|
+
valueCols: J.value?.getValueColumns().map((e) => ({
|
|
10994
10989
|
id: e.getId(),
|
|
10995
10990
|
field: e.getColDef().field,
|
|
10996
10991
|
aggFunc: typeof e.getColDef().aggFunc == "string" ? e.getColDef().aggFunc : void 0,
|
|
@@ -11008,7 +11003,7 @@ var Tl = /* @__PURE__ */ function(e) {
|
|
|
11008
11003
|
let e = {
|
|
11009
11004
|
request: n,
|
|
11010
11005
|
parentNode: {},
|
|
11011
|
-
api:
|
|
11006
|
+
api: J.value,
|
|
11012
11007
|
context: void 0,
|
|
11013
11008
|
success: () => {},
|
|
11014
11009
|
fail: () => {}
|
|
@@ -11017,13 +11012,13 @@ var Tl = /* @__PURE__ */ function(e) {
|
|
|
11017
11012
|
}
|
|
11018
11013
|
let r = f.serverSideRowHandler;
|
|
11019
11014
|
return r ? await new Promise((e, t) => {
|
|
11020
|
-
|
|
11015
|
+
J.value?.getState(), r({
|
|
11021
11016
|
request: n,
|
|
11022
11017
|
parentNode: {},
|
|
11023
|
-
api:
|
|
11018
|
+
api: J.value,
|
|
11024
11019
|
context: void 0,
|
|
11025
11020
|
success: (t) => {
|
|
11026
|
-
let n =
|
|
11021
|
+
let n = J.value?.getRowGroupColumns().map((e) => e.getColDef().field).filter((e) => !!e) || [], r = J.value?.getAllDisplayedColumns().map((e) => e.getColDef().field).filter((e) => !!e) || [], i = J.value?.getValueColumns().map((e) => e.getColDef().field).filter((e) => !!e) || [], a = Array.from(new Set([
|
|
11027
11022
|
...n,
|
|
11028
11023
|
...r,
|
|
11029
11024
|
...i
|
|
@@ -11040,35 +11035,35 @@ var Tl = /* @__PURE__ */ function(e) {
|
|
|
11040
11035
|
xt.value = !1, t("CSV export failed.");
|
|
11041
11036
|
}
|
|
11042
11037
|
}, !0);
|
|
11043
|
-
}) : (console.warn("Client-side export does not return CSV string"), xt.value = !1,
|
|
11038
|
+
}) : (console.warn("Client-side export does not return CSV string"), xt.value = !1, J.value.exportDataAsCsv(), null);
|
|
11044
11039
|
} catch (e) {
|
|
11045
11040
|
return console.error("CSV export failed", e), xt.value = !1, null;
|
|
11046
11041
|
}
|
|
11047
|
-
}, Tt = () =>
|
|
11048
|
-
if (!
|
|
11042
|
+
}, Tt = () => J.value ? f.enableAdvancedFilter ? J.value.getAdvancedFilterModel() : J.value.getFilterModel() : Ze.value, At = (e) => {
|
|
11043
|
+
if (!J.value) return !1;
|
|
11049
11044
|
if (f.enableAdvancedFilter) {
|
|
11050
11045
|
let t = e && wu(e) ? Yl(e) : e;
|
|
11051
|
-
|
|
11046
|
+
J.value.setAdvancedFilterModel(t);
|
|
11052
11047
|
} else {
|
|
11053
11048
|
if (e && !wu(e)) return console.warn("Attempting to set a non-regular filter model while advanced filtering is disabled. The filter model was not applied. Consider enabling advanced filtering for full functionality."), !1;
|
|
11054
|
-
|
|
11049
|
+
J.value.setFilterModel(e);
|
|
11055
11050
|
}
|
|
11056
11051
|
return !0;
|
|
11057
|
-
}, jt = (e) => (Qe.value = e,
|
|
11052
|
+
}, jt = (e) => (Qe.value = e, J.value ? (J.value.onFilterChanged(), F && J.value.refreshServerSide({ purge: !0 }), !0) : !1), Mt = {
|
|
11058
11053
|
getFilterModel: Tt,
|
|
11059
11054
|
refreshData: St,
|
|
11060
11055
|
setFilterModel: At,
|
|
11061
11056
|
setTableSearchFilterModel: jt
|
|
11062
11057
|
};
|
|
11063
|
-
|
|
11064
|
-
|
|
11058
|
+
X.registerFilterController(Mt), C(() => {
|
|
11059
|
+
X.unregisterFilterController(Mt);
|
|
11065
11060
|
}), t({
|
|
11066
11061
|
getCsvData: wt,
|
|
11067
11062
|
refreshData: St,
|
|
11068
11063
|
getFilterValueSelectedMetadataMap: Ct,
|
|
11069
11064
|
availableRowGroupColumns: ut,
|
|
11070
11065
|
availableAggFuncColumns: dt,
|
|
11071
|
-
rowGroupColumnFields:
|
|
11066
|
+
rowGroupColumnFields: W,
|
|
11072
11067
|
getPvFilterModel: Tt,
|
|
11073
11068
|
setPvFilterModel: At
|
|
11074
11069
|
});
|
|
@@ -11076,16 +11071,16 @@ var Tl = /* @__PURE__ */ function(e) {
|
|
|
11076
11071
|
v(() => {
|
|
11077
11072
|
let t = ft.value, n = e.api.getRowGroupColumns(), r = n.length > 0, i;
|
|
11078
11073
|
if (r && f.leftPinnedColumnName && (i = e.api.getColumn(f.leftPinnedColumnName || "")), r && !f.leftPinnedColumnName && (i = n.find((e) => !e.getColDef().hide), !i)) {
|
|
11079
|
-
let t =
|
|
11074
|
+
let t = U.find((e) => !e.hide && !e.rowGroup)?.field;
|
|
11080
11075
|
t && (i = e.api.getColumn(t));
|
|
11081
11076
|
}
|
|
11082
11077
|
i ? (ft.value = i, Ut(i.getColDef()), e.api.setColumnsVisible([i.getColId()], !1)) : (ft.value = null, Ut(null));
|
|
11083
11078
|
let a = t?.getColId();
|
|
11084
|
-
if ((!i || a !== i.getColId()) && (t?.getColDef()?.hide || e.api.setColumnsVisible([a || ""], !0)),
|
|
11085
|
-
let e =
|
|
11079
|
+
if ((!i || a !== i.getColId()) && (t?.getColDef()?.hide || e.api.setColumnsVisible([a || ""], !0)), W.value = [...n].map((e) => e.getColId()), f.enableFocusView && !Me) {
|
|
11080
|
+
let e = W.value.length > 0 ? W.value[0] : null;
|
|
11086
11081
|
Xe.setFocusType(e);
|
|
11087
11082
|
}
|
|
11088
|
-
|
|
11083
|
+
G.value && T("column-row-group-changed", e);
|
|
11089
11084
|
});
|
|
11090
11085
|
}, Pt = (e) => {
|
|
11091
11086
|
let t = e.column?.getColId() || "";
|
|
@@ -11096,7 +11091,7 @@ var Tl = /* @__PURE__ */ function(e) {
|
|
|
11096
11091
|
}, Ft = (e) => {
|
|
11097
11092
|
f.enableExpandOnRowClick && e.node.group && e.node.setExpanded(!e.node.expanded), T("row-clicked", e);
|
|
11098
11093
|
}, It = (e) => {
|
|
11099
|
-
e.finished && (ot.value = e.api.getAllGridColumns()),
|
|
11094
|
+
e.finished && (ot.value = e.api.getAllGridColumns()), G.value && T("column-moved", e);
|
|
11100
11095
|
}, Lt = (e) => {
|
|
11101
11096
|
e.api && (mt.value = e.api.paginationGetCurrentPage() + 1, ht.value = e.api.paginationGetTotalPages());
|
|
11102
11097
|
}, Rt = (e) => "allChildrenRowCount" in e && e.allChildrenRowCount || 0, zt = (e) => {
|
|
@@ -11123,7 +11118,7 @@ var Tl = /* @__PURE__ */ function(e) {
|
|
|
11123
11118
|
displayCount: f.displayGroupCount,
|
|
11124
11119
|
formattedValue: e.valueFormatted,
|
|
11125
11120
|
rowNode: e.node,
|
|
11126
|
-
api:
|
|
11121
|
+
api: J.value,
|
|
11127
11122
|
focusText: f.focusText,
|
|
11128
11123
|
cellParams: e
|
|
11129
11124
|
})
|
|
@@ -11164,23 +11159,23 @@ var Tl = /* @__PURE__ */ function(e) {
|
|
|
11164
11159
|
"rowUnGroup"
|
|
11165
11160
|
], n = e.column && bt(e.column) ? ft.value : e.column;
|
|
11166
11161
|
return !f.enableInlineFilters && n && n.getColDef().filter && t.splice(2, 0, ne), t.filter((t) => typeof t == "string" ? e.defaultItems.includes(t) : !0);
|
|
11167
|
-
},
|
|
11162
|
+
}, oe && (Ze.value = (f.enableAdvancedFilter ? oe.filter?.advancedFilterModel : oe.filter?.filterModel) || null, W.value = oe.rowGroup?.groupColIds || []);
|
|
11168
11163
|
});
|
|
11169
11164
|
let Kt = (e) => {
|
|
11170
|
-
let t =
|
|
11165
|
+
let t = J.value;
|
|
11171
11166
|
if (!t) return;
|
|
11172
11167
|
let n = e.filter?.filterModel || null, r = e.rowGroup?.groupColIds || null, i = e.columnVisibility || null;
|
|
11173
|
-
n && !pu(n, t.getFilterModel()) && t.setFilterModel(n), f.isTableGrouped && r && !tt(r,
|
|
11168
|
+
n && !pu(n, t.getFilterModel()) && t.setFilterModel(n), f.isTableGrouped && r && !tt(r, W.value) && t.setRowGroupColumns(r), i?.hiddenColIds && t.setColumnsVisible(i.hiddenColIds, !1);
|
|
11174
11169
|
};
|
|
11175
11170
|
B(() => f.initialGridState, () => {
|
|
11176
11171
|
if (f.initialGridState) {
|
|
11177
|
-
let e = Xl(f.initialGridState,
|
|
11172
|
+
let e = Xl(f.initialGridState, U, f.enableAdvancedFilter);
|
|
11178
11173
|
e && Kt(e);
|
|
11179
11174
|
}
|
|
11180
11175
|
}, { deep: !0 });
|
|
11181
11176
|
let qt = (e) => {
|
|
11182
|
-
|
|
11183
|
-
}, Jt = (e) => F ? f.isServerSideGroupOpenByDefault ? f.isServerSideGroupOpenByDefault(e) : e.rowNode.level ===
|
|
11177
|
+
G.value = !0, T("first-data-rendered", e);
|
|
11178
|
+
}, Jt = (e) => F ? f.isServerSideGroupOpenByDefault ? f.isServerSideGroupOpenByDefault(e) : e.rowNode.level === W.value.length - 2 : !1, Yt = r(() => {
|
|
11184
11179
|
if (!F) return f.groupDefaultExpanded;
|
|
11185
11180
|
}), Xt = O(null), Zt = O(null);
|
|
11186
11181
|
return (t, r) => (E(), o("div", {
|
|
@@ -11207,7 +11202,7 @@ var Tl = /* @__PURE__ */ function(e) {
|
|
|
11207
11202
|
content: V(() => [...r[11] ||= [l(" Dev Mode ", -1)]]),
|
|
11208
11203
|
_: 1
|
|
11209
11204
|
})) : a("", !0),
|
|
11210
|
-
|
|
11205
|
+
ie(s("div", kd, [s("div", Ad, [(E(), i(n, {
|
|
11211
11206
|
to: e.filterTeleportLocation,
|
|
11212
11207
|
disabled: !e.filterTeleportLocation
|
|
11213
11208
|
}, [lt.value.length > 0 && !f.enableInlineFilters ? (E(), i(sd, {
|
|
@@ -11236,7 +11231,7 @@ var Tl = /* @__PURE__ */ function(e) {
|
|
|
11236
11231
|
key: 1,
|
|
11237
11232
|
getCsvData: wt
|
|
11238
11233
|
})) : a("", !0)])])], 512), [[re, e.enableGroupBySelector || !e.filterTeleportLocation]]),
|
|
11239
|
-
|
|
11234
|
+
ie(s("div", {
|
|
11240
11235
|
ref_key: "advancedFilterParentElement",
|
|
11241
11236
|
ref: Zt,
|
|
11242
11237
|
class: y(["pv-stack-8 pv-text-body-sm", e.hideTable ? "pv-hide" : ""])
|
|
@@ -11247,7 +11242,7 @@ var Tl = /* @__PURE__ */ function(e) {
|
|
|
11247
11242
|
}, [s("div", Md, [e.enableTableSearch ? (E(), i(Td, {
|
|
11248
11243
|
key: 0,
|
|
11249
11244
|
placeholder: e.tableSearchPlaceholder,
|
|
11250
|
-
disabled: !
|
|
11245
|
+
disabled: !q.value,
|
|
11251
11246
|
"search-style": e.tableSearchStyle
|
|
11252
11247
|
}, null, 8, [
|
|
11253
11248
|
"placeholder",
|
|
@@ -11262,7 +11257,7 @@ var Tl = /* @__PURE__ */ function(e) {
|
|
|
11262
11257
|
"min-height": "0",
|
|
11263
11258
|
"overflow-x": "hidden"
|
|
11264
11259
|
}
|
|
11265
|
-
}, [u(I(
|
|
11260
|
+
}, [u(I(de), _({
|
|
11266
11261
|
ref: "gridRef",
|
|
11267
11262
|
class: ["pv-data-table", I(b)],
|
|
11268
11263
|
style: [{
|
|
@@ -11291,7 +11286,7 @@ var Tl = /* @__PURE__ */ function(e) {
|
|
|
11291
11286
|
onUndoStarted: r[10] ||= (e) => T("undo-started", e),
|
|
11292
11287
|
aggFuncs: Gt,
|
|
11293
11288
|
autoGroupColumnDef: Ht.value,
|
|
11294
|
-
columnDefs: I(
|
|
11289
|
+
columnDefs: I(U),
|
|
11295
11290
|
debug: e.debugMode,
|
|
11296
11291
|
defaultColDef: I(R),
|
|
11297
11292
|
getChildCount: Rt,
|
|
@@ -11300,7 +11295,7 @@ var Tl = /* @__PURE__ */ function(e) {
|
|
|
11300
11295
|
getRowStyle: Wt,
|
|
11301
11296
|
groupDefaultExpanded: Yt.value,
|
|
11302
11297
|
groupDisplayType: "singleColumn",
|
|
11303
|
-
initialState: I(
|
|
11298
|
+
initialState: I(oe) || void 0,
|
|
11304
11299
|
isGroupOpenByDefault: I(F) ? void 0 : f.isClientSideGroupOpenByDefault,
|
|
11305
11300
|
isServerSideGroupOpenByDefault: Jt,
|
|
11306
11301
|
includeHiddenColumnsInAdvancedFilter: !0,
|
|
@@ -11340,7 +11335,7 @@ var Tl = /* @__PURE__ */ function(e) {
|
|
|
11340
11335
|
undoRedoCellEditingLimit: e.undoRedoCellEditingLimit,
|
|
11341
11336
|
enableAdvancedFilter: e.enableAdvancedFilter,
|
|
11342
11337
|
advancedFilterParent: Zt.value
|
|
11343
|
-
}), null, 16, /* @__PURE__ */ "class.style.domLayout.autoGroupColumnDef.columnDefs.debug.defaultColDef.getContextMenuItems.getMainMenuItems.groupDefaultExpanded.initialState.isGroupOpenByDefault.loading.loadingCellRenderer.loadingCellRendererParams.maxConcurrentDatasourceRequests.maintainColumnOrder.popupParent.processCellForClipboard.processCellFromClipboard.processDataFromClipboard.rowData.rowHeight.rowModelType.rowSelection.serverSideInitialRowCount.theme.pagination.paginationPageSize.tooltip-show-delay.tooltip-hide-delay.cellSelection.copyHeadersToClipboard.suppressClipboardPaste.suppressCutToClipboard.undoRedoCellEditing.undoRedoCellEditingLimit.enableAdvancedFilter.advancedFilterParent".split(".")), !e.isLoading && !
|
|
11338
|
+
}), null, 16, /* @__PURE__ */ "class.style.domLayout.autoGroupColumnDef.columnDefs.debug.defaultColDef.getContextMenuItems.getMainMenuItems.groupDefaultExpanded.initialState.isGroupOpenByDefault.loading.loadingCellRenderer.loadingCellRendererParams.maxConcurrentDatasourceRequests.maintainColumnOrder.popupParent.processCellForClipboard.processCellFromClipboard.processDataFromClipboard.rowData.rowHeight.rowModelType.rowSelection.serverSideInitialRowCount.theme.pagination.paginationPageSize.tooltip-show-delay.tooltip-hide-delay.cellSelection.copyHeadersToClipboard.suppressClipboardPaste.suppressCutToClipboard.undoRedoCellEditing.undoRedoCellEditingLimit.enableAdvancedFilter.advancedFilterParent".split(".")), !e.isLoading && !q.value ? (E(), o("div", Nd, [s("p", Pd, P(le.value), 1)])) : a("", !0)], 2),
|
|
11344
11339
|
e.pagination ? (E(), i(bd, { key: 2 })) : a("", !0)
|
|
11345
11340
|
], 4));
|
|
11346
11341
|
}
|
|
@@ -11400,7 +11395,7 @@ var Tl = /* @__PURE__ */ function(e) {
|
|
|
11400
11395
|
}, C = () => {
|
|
11401
11396
|
v.value && (h.value = !0, f.value = document.getElementById("table-config-overlay"), d());
|
|
11402
11397
|
};
|
|
11403
|
-
return (n, r) => (E(), o(t, null, [
|
|
11398
|
+
return (n, r) => (E(), o(t, null, [ie((E(), o("div", zd, [u(da, {
|
|
11404
11399
|
open: m.value,
|
|
11405
11400
|
label: "Table Configuration",
|
|
11406
11401
|
icon: "settings",
|
|
@@ -11443,7 +11438,7 @@ var Tl = /* @__PURE__ */ function(e) {
|
|
|
11443
11438
|
onHandleSelected: S
|
|
11444
11439
|
}, null, 8, ["text", "icon"])])])]),
|
|
11445
11440
|
_: 1
|
|
11446
|
-
}, 8, ["class"])])), [[I(
|
|
11441
|
+
}, 8, ["class"])])), [[I(J), [x, { ignore: [".pv-popover"] }]]]), u(Yo, {
|
|
11447
11442
|
ref_key: "nestedMenuPopoverRef",
|
|
11448
11443
|
ref: g,
|
|
11449
11444
|
class: y({ "pv-hide": !(m.value && h.value) }),
|
|
@@ -11792,7 +11787,7 @@ var df = {
|
|
|
11792
11787
|
let ne = m(zc, O("")), re = r(() => n.chartFilter && n.chartFilter.options ? n.chartFilter.options.map((e) => ({
|
|
11793
11788
|
label: e.label,
|
|
11794
11789
|
value: e.value
|
|
11795
|
-
})) : []),
|
|
11790
|
+
})) : []), H = r(() => {
|
|
11796
11791
|
if (b.value) return (T.value.length > 1 ? [
|
|
11797
11792
|
"bar_stacked",
|
|
11798
11793
|
"line",
|
|
@@ -11821,34 +11816,34 @@ var df = {
|
|
|
11821
11816
|
}
|
|
11822
11817
|
b.value = e[0];
|
|
11823
11818
|
});
|
|
11824
|
-
function
|
|
11819
|
+
function U(e) {
|
|
11825
11820
|
return !!(e.context && typeof e.context == "object" && "description" in e.context);
|
|
11826
11821
|
}
|
|
11827
|
-
let
|
|
11822
|
+
let ae = r(() => N.value.map((e) => ({
|
|
11828
11823
|
id: e.value,
|
|
11829
11824
|
text: e.label,
|
|
11830
11825
|
context: e.description ? { description: e.description } : void 0
|
|
11831
|
-
}))),
|
|
11826
|
+
}))), oe = r(() => ee.value.map((e) => ({
|
|
11832
11827
|
id: e.value,
|
|
11833
11828
|
text: e.label
|
|
11834
|
-
}))),
|
|
11829
|
+
}))), se = r(() => D.value.map((e) => ({
|
|
11835
11830
|
id: e.field || "",
|
|
11836
11831
|
text: e.headerName || e.field || "",
|
|
11837
11832
|
icon: El(e.context?.dataType || null) || "circle-chevron-down"
|
|
11838
|
-
}))),
|
|
11839
|
-
get: () => T.value.map((e) =>
|
|
11833
|
+
}))), W = r({
|
|
11834
|
+
get: () => T.value.map((e) => se.value.find((t) => t.id === e)).filter(Boolean),
|
|
11840
11835
|
set: (e) => {
|
|
11841
11836
|
T.value = e.map((e) => e.id);
|
|
11842
11837
|
}
|
|
11843
|
-
}),
|
|
11838
|
+
}), G = r(() => {
|
|
11844
11839
|
let e = [], t = {
|
|
11845
11840
|
value: "y-axis",
|
|
11846
11841
|
label: "Y Axis",
|
|
11847
11842
|
prefixLabel: "Y Axis",
|
|
11848
11843
|
icon: "chart-bar-decreasing",
|
|
11849
11844
|
allowDeselect: !1,
|
|
11850
|
-
availableOptions:
|
|
11851
|
-
currentOption:
|
|
11845
|
+
availableOptions: ae.value,
|
|
11846
|
+
currentOption: ae.value.find((e) => e.id === M.value),
|
|
11852
11847
|
updateSelectedOption: (e) => {
|
|
11853
11848
|
M && e !== M.value && (M.value = e);
|
|
11854
11849
|
}
|
|
@@ -11858,12 +11853,12 @@ var df = {
|
|
|
11858
11853
|
label: "X Axis",
|
|
11859
11854
|
icon: "align-end-horizontal",
|
|
11860
11855
|
allowDeselect: !1,
|
|
11861
|
-
availableOptions:
|
|
11856
|
+
availableOptions: se.value,
|
|
11862
11857
|
...i ? {
|
|
11863
|
-
activeOptions:
|
|
11858
|
+
activeOptions: W,
|
|
11864
11859
|
activeOptionLimit: n.rowGroupLimit
|
|
11865
11860
|
} : {
|
|
11866
|
-
currentOption:
|
|
11861
|
+
currentOption: se.value.find((e) => e.id === T.value[0]),
|
|
11867
11862
|
updateSelectedOption: (e) => {
|
|
11868
11863
|
T.value = e ? [e] : [];
|
|
11869
11864
|
}
|
|
@@ -11875,7 +11870,7 @@ var df = {
|
|
|
11875
11870
|
allowDeselect: !0,
|
|
11876
11871
|
availableOptions: w.value,
|
|
11877
11872
|
currentOption: w.value.find((e) => e.id === C.value?.id),
|
|
11878
|
-
disabled: !
|
|
11873
|
+
disabled: !H.value,
|
|
11879
11874
|
disabledReason: "Sorting is not available for this chart type",
|
|
11880
11875
|
updateSelectedOption: (e) => {
|
|
11881
11876
|
let t = w.value.find((t) => t.id === e);
|
|
@@ -11897,7 +11892,7 @@ var df = {
|
|
|
11897
11892
|
t && b && (b.value = t);
|
|
11898
11893
|
}
|
|
11899
11894
|
};
|
|
11900
|
-
if (
|
|
11895
|
+
if (ae.value.length > 1 && e.push(t), !r.secondaryYAxis?.hidden && oe.value.length > 0) {
|
|
11901
11896
|
let t = {
|
|
11902
11897
|
value: "secondary-y-axis",
|
|
11903
11898
|
label: "Metric Overlay",
|
|
@@ -11906,8 +11901,8 @@ var df = {
|
|
|
11906
11901
|
allowDeselect: !0,
|
|
11907
11902
|
disabled: j.value,
|
|
11908
11903
|
disabledReason: "Metric overlay is not available for this chart type.",
|
|
11909
|
-
availableOptions:
|
|
11910
|
-
currentOption:
|
|
11904
|
+
availableOptions: oe.value,
|
|
11905
|
+
currentOption: oe.value.find((e) => e.id === F?.value),
|
|
11911
11906
|
updateSelectedOption: (e) => {
|
|
11912
11907
|
F && (!e || F.value === e ? F.value = void 0 : F.value = e);
|
|
11913
11908
|
}
|
|
@@ -11935,31 +11930,31 @@ var df = {
|
|
|
11935
11930
|
n && e.push(n);
|
|
11936
11931
|
}
|
|
11937
11932
|
let c = i ? 2 : 1;
|
|
11938
|
-
return
|
|
11933
|
+
return se.value.length >= c && e.push(a), S.value.length > 1 && e.push(s), w.value.length > 0 && e.push(o), e.filter((e) => n.chartConfigOptions ? n.chartConfigOptions.includes(e.value) : !0);
|
|
11939
11934
|
});
|
|
11940
11935
|
B(v, (e) => {
|
|
11941
11936
|
e && (p.value = e);
|
|
11942
11937
|
});
|
|
11943
|
-
let
|
|
11944
|
-
let t =
|
|
11938
|
+
let K = r(() => _.value && G.value.find((e) => e.value === _.value) || null), ce = (e) => {
|
|
11939
|
+
let t = K.value;
|
|
11945
11940
|
return t ? t.activeOptionIds ? t.activeOptionIds.has(e.id) ? !0 : null : t.currentOption?.id === e.id ? !0 : null : null;
|
|
11946
|
-
},
|
|
11941
|
+
}, q = (e) => K.value?.isMultiSelect ? null : ce(e), le = (e) => K.value?.isMultiSelect ? {
|
|
11947
11942
|
variant: "checkbox",
|
|
11948
11943
|
renderer: mf
|
|
11949
|
-
} :
|
|
11944
|
+
} : U(e) ? { renderer: mf } : { variant: "icon" }, ue = (e) => {
|
|
11950
11945
|
_.value = e, f.value = document.getElementById(`pv-chart-config-${e}`), d();
|
|
11951
|
-
}, ue = () => {
|
|
11952
|
-
g.value = !1, _.value = void 0;
|
|
11953
11946
|
}, de = () => {
|
|
11947
|
+
g.value = !1, _.value = void 0;
|
|
11948
|
+
}, fe = () => {
|
|
11954
11949
|
_.value = void 0;
|
|
11955
11950
|
};
|
|
11956
|
-
return (n, r) => (E(), o(t, null, [s("div", hf, [s("div", null, [
|
|
11951
|
+
return (n, r) => (E(), o(t, null, [s("div", hf, [s("div", null, [ie((E(), o("div", { class: y(["pv-flex pv-space-between", e.useCombinedButton ? "pv-stack-8" : ""]) }, [s("div", gf, [e.useCombinedButton ? (E(), o(t, { key: 0 }, [u(da, {
|
|
11957
11952
|
open: g.value,
|
|
11958
11953
|
label: "Chart Configuration",
|
|
11959
11954
|
icon: "chart-area",
|
|
11960
11955
|
disabled: e.readOnly,
|
|
11961
11956
|
onClick: r[0] ||= (t) => e.readOnly ? null : g.value = !g.value,
|
|
11962
|
-
onHandleToggleDropdown:
|
|
11957
|
+
onHandleToggleDropdown: fe
|
|
11963
11958
|
}, null, 8, ["open", "disabled"]), u(Yo, {
|
|
11964
11959
|
class: y({ "pv-hide": !g.value }),
|
|
11965
11960
|
"css-custom-properties": {
|
|
@@ -11975,12 +11970,12 @@ var df = {
|
|
|
11975
11970
|
"padding-top": "4px",
|
|
11976
11971
|
"padding-bottom": "12px"
|
|
11977
11972
|
}
|
|
11978
|
-
}, " Chart Configuration ")], -1), s("ul", _f, [(E(!0), o(t, null, k(
|
|
11973
|
+
}, " Chart Configuration ")], -1), s("ul", _f, [(E(!0), o(t, null, k(G.value, (e) => (E(), o("li", {
|
|
11979
11974
|
id: `pv-chart-config-${e.value}`,
|
|
11980
11975
|
key: e.value,
|
|
11981
11976
|
"data-active": _.value === e.value ? !0 : null,
|
|
11982
|
-
onMouseenter: (t) => e.disabled ? null :
|
|
11983
|
-
onClick: (t) => e.disabled ? null :
|
|
11977
|
+
onMouseenter: (t) => e.disabled ? null : ue(e.value),
|
|
11978
|
+
onClick: (t) => e.disabled ? null : ue(e.value)
|
|
11984
11979
|
}, [u(I(Ti), {
|
|
11985
11980
|
disableInteractive: !0,
|
|
11986
11981
|
useTeleport: !0,
|
|
@@ -12009,7 +12004,7 @@ var df = {
|
|
|
12009
12004
|
key: "0"
|
|
12010
12005
|
} : void 0]), 1024)], 40, vf))), 128))])]),
|
|
12011
12006
|
_: 1
|
|
12012
|
-
}, 8, ["class"])], 64)) : a("", !0)])], 2)), [[I(
|
|
12007
|
+
}, 8, ["class"])], 64)) : a("", !0)])], 2)), [[I(J), [de, { ignore: [".pv-popover"] }]]]), s("div", {
|
|
12013
12008
|
class: "pv-flex pv-space-between",
|
|
12014
12009
|
style: x(e.chartFilter ? {} : { justifyContent: "flex-end" })
|
|
12015
12010
|
}, [e.chartFilter ? (E(), i(Ei, {
|
|
@@ -12017,7 +12012,7 @@ var df = {
|
|
|
12017
12012
|
options: re.value,
|
|
12018
12013
|
modelValue: I(ne),
|
|
12019
12014
|
"onUpdate:modelValue": r[1] ||= (e) => h(ne) ? ne.value = e : null
|
|
12020
|
-
}, null, 8, ["options", "modelValue"])) : a("", !0), e.useCombinedButton ? a("", !0) : (E(), o("div", bf, [(E(!0), o(t, null, k(
|
|
12015
|
+
}, null, 8, ["options", "modelValue"])) : a("", !0), e.useCombinedButton ? a("", !0) : (E(), o("div", bf, [(E(!0), o(t, null, k(G.value, (n) => (E(), o(t, { key: n.value }, [n.isMultiSelect && n.activeOptions && n.activeOptionIds ? (E(), i(ks, {
|
|
12021
12016
|
key: 0,
|
|
12022
12017
|
label: n.label,
|
|
12023
12018
|
prefixLabel: n.prefixLabel,
|
|
@@ -12065,37 +12060,37 @@ var df = {
|
|
|
12065
12060
|
},
|
|
12066
12061
|
isList: !0
|
|
12067
12062
|
}, {
|
|
12068
|
-
default: V(() => [
|
|
12063
|
+
default: V(() => [K.value ? (E(), o(t, { key: 0 }, [K.value.isSortableList ? (E(), o(t, { key: 0 }, [r[5] ||= s("p", {
|
|
12069
12064
|
class: "pv-text-tertiary pv-text-body-sm pv-stack-4",
|
|
12070
12065
|
style: {
|
|
12071
12066
|
"padding-left": "2px",
|
|
12072
12067
|
"padding-bottom": "6px"
|
|
12073
12068
|
}
|
|
12074
12069
|
}, " Viewing ", -1), u(nf, {
|
|
12075
|
-
modelValue:
|
|
12076
|
-
"onUpdate:modelValue": r[2] ||= (e) =>
|
|
12077
|
-
options:
|
|
12078
|
-
activeOptionLimit:
|
|
12070
|
+
modelValue: K.value.activeOptions.value,
|
|
12071
|
+
"onUpdate:modelValue": r[2] ||= (e) => K.value.activeOptions.value = e,
|
|
12072
|
+
options: K.value.availableOptions || [],
|
|
12073
|
+
activeOptionLimit: K.value.activeOptionLimit,
|
|
12079
12074
|
placeholderText: "Add to X Axis"
|
|
12080
12075
|
}, null, 8, [
|
|
12081
12076
|
"modelValue",
|
|
12082
12077
|
"options",
|
|
12083
12078
|
"activeOptionLimit"
|
|
12084
|
-
])], 64)) : (E(), o("ul", xf, [(E(!0), o(t, null, k(
|
|
12079
|
+
])], 64)) : (E(), o("ul", xf, [(E(!0), o(t, null, k(K.value.availableOptions, (e) => (E(), o("li", {
|
|
12085
12080
|
key: e.id,
|
|
12086
|
-
"data-active":
|
|
12081
|
+
"data-active": q(e)
|
|
12087
12082
|
}, [u(Ja, {
|
|
12088
12083
|
id: e.id,
|
|
12089
|
-
config:
|
|
12084
|
+
config: le(e),
|
|
12090
12085
|
text: e.text,
|
|
12091
12086
|
icon: e.icon,
|
|
12092
12087
|
context: e.context,
|
|
12093
12088
|
disabled: e.disabled,
|
|
12094
|
-
selectedIds:
|
|
12089
|
+
selectedIds: K.value.isMultiSelect ? [...I(L)] : [],
|
|
12095
12090
|
"onUpdate:selectedIds": r[3] ||= (e) => {
|
|
12096
|
-
|
|
12091
|
+
K.value?.updateSelectedOptions?.([...K.value?.availableOptions.filter((t) => e.includes(t.id))]);
|
|
12097
12092
|
},
|
|
12098
|
-
onHandleSelected: (t) =>
|
|
12093
|
+
onHandleSelected: (t) => K.value.updateSelectedOption?.(e.id),
|
|
12099
12094
|
"class-list": ["pv-chart-option pv-flex"]
|
|
12100
12095
|
}, null, 8, [
|
|
12101
12096
|
"id",
|
|
@@ -12331,7 +12326,7 @@ var Tf = { style: {
|
|
|
12331
12326
|
],
|
|
12332
12327
|
setup(e, { expose: n, emit: c }) {
|
|
12333
12328
|
let l = e, d = c, p = O(null), m = O(null), h = O(null), g = O(l.initialChartCollapsed ?? !1), b = "filter-panel-" + f()?.uid, x = O(!1), C = O(!1), T = O(0), k = r(() => m.value?.availableRowGroupColumns || []), j = O([]), N = r(() => j.value.length > 0 ? j.value[0] : ""), F = (e) => $(e).chartSeriesDisplayName || e.headerName || e.field || "", I = r(() => {
|
|
12334
|
-
let e =
|
|
12329
|
+
let e = me.value;
|
|
12335
12330
|
return e.yAxis.hidden && e.yAxis.defaultValue ? [{
|
|
12336
12331
|
label: "Count",
|
|
12337
12332
|
value: e.yAxis.defaultValue
|
|
@@ -12382,25 +12377,25 @@ var Tf = { style: {
|
|
|
12382
12377
|
D(Tc, z);
|
|
12383
12378
|
let { setFilterSelectedValues: te } = R, ne = O(!1);
|
|
12384
12379
|
D(Fc, ne);
|
|
12385
|
-
let re = O(l.isTableGrouped),
|
|
12380
|
+
let re = O(l.isTableGrouped), ie = (e) => {
|
|
12386
12381
|
d("table-overlay-change", e);
|
|
12387
|
-
},
|
|
12388
|
-
p.value = e.api, re.value || p.value?.setRowGroupColumns([]),
|
|
12389
|
-
},
|
|
12382
|
+
}, H = r(() => nt.value ? !1 : !!(l.emptyChartFilterRenderer && l.requireFiltersToShowData && R.filterModelEmpty.value)), U = r(() => z?.computedFocusType.value || null), ae = r(() => z?.computedFocuses.value || []), oe = (e) => {
|
|
12383
|
+
p.value = e.api, re.value || p.value?.setRowGroupColumns([]), ze(e.api), d("grid-ready", e);
|
|
12384
|
+
}, se = (e) => {
|
|
12390
12385
|
d("first-data-rendered", e);
|
|
12391
|
-
},
|
|
12386
|
+
}, W = (e) => {
|
|
12392
12387
|
let t = j.value, n = e.api.getRowGroupColumns().map((e) => e.getColId());
|
|
12393
12388
|
if (re.value && JSON.stringify(t) !== JSON.stringify(n)) {
|
|
12394
|
-
let t =
|
|
12395
|
-
if (n.length >
|
|
12396
|
-
let t = n.slice(0,
|
|
12389
|
+
let t = me.value;
|
|
12390
|
+
if (n.length > he.value) {
|
|
12391
|
+
let t = n.slice(0, he.value);
|
|
12397
12392
|
j.value = t, e.api.setRowGroupColumns(t);
|
|
12398
12393
|
} else j.value = n;
|
|
12399
|
-
t.yAxis.defaultValue && (
|
|
12394
|
+
t.yAxis.defaultValue && (Y.value = t.yAxis.defaultValue);
|
|
12400
12395
|
}
|
|
12401
12396
|
d("column-row-group-changed", e);
|
|
12402
|
-
},
|
|
12403
|
-
|
|
12397
|
+
}, G = async (e) => {
|
|
12398
|
+
ze(e.api), ne.value && d("filter-changed", e);
|
|
12404
12399
|
};
|
|
12405
12400
|
B(() => j.value, () => {
|
|
12406
12401
|
if (re.value) {
|
|
@@ -12413,18 +12408,18 @@ var Tf = { style: {
|
|
|
12413
12408
|
p?.value?.setRowGroupColumns([]);
|
|
12414
12409
|
});
|
|
12415
12410
|
if (!l.allFieldsAreFocusable) {
|
|
12416
|
-
let e =
|
|
12411
|
+
let e = me.value.supportsFocusView && N.value || null;
|
|
12417
12412
|
z.setFocusType(e);
|
|
12418
12413
|
}
|
|
12419
|
-
p.value &&
|
|
12414
|
+
p.value && ze(p.value);
|
|
12420
12415
|
});
|
|
12421
|
-
function
|
|
12416
|
+
function K(e, t, n = !0) {
|
|
12422
12417
|
return (r) => {
|
|
12423
|
-
if (r.data =
|
|
12424
|
-
let i = "", a =
|
|
12418
|
+
if (r.data = ve.value?.find((t) => t[e] === r.value), r.value === 123e-6) return "";
|
|
12419
|
+
let i = "", a = q(e);
|
|
12425
12420
|
if (l.truncateLabelValues && n && a && Pl(a) && !isNaN(Number(r.value))) {
|
|
12426
|
-
if (
|
|
12427
|
-
let e = r.datum?.[N.value], t =
|
|
12421
|
+
if (Ne.value) {
|
|
12422
|
+
let e = r.datum?.[N.value], t = ye.value?.find((t) => t[N.value] === e)?.[`${Y.value}_sort_total`] || Infinity;
|
|
12428
12423
|
if (r.value / t < .05) return "";
|
|
12429
12424
|
}
|
|
12430
12425
|
let { newValue: e, newSuffix: t } = kl(r.value, Tl.Percent === $(a).dataType, Ke.value);
|
|
@@ -12434,17 +12429,17 @@ var Tf = { style: {
|
|
|
12434
12429
|
return t && (o = t(r)), o + i;
|
|
12435
12430
|
};
|
|
12436
12431
|
}
|
|
12437
|
-
let
|
|
12432
|
+
let ce = (e, t = !1) => {
|
|
12438
12433
|
if (!e) return;
|
|
12439
|
-
let n =
|
|
12440
|
-
return n && typeof n.valueFormatter == "function" ?
|
|
12441
|
-
},
|
|
12442
|
-
let n =
|
|
12434
|
+
let n = q(e);
|
|
12435
|
+
return n && typeof n.valueFormatter == "function" ? K(e, n.valueFormatter, t) : K(e, null, t);
|
|
12436
|
+
}, q = (e) => !e || !p.value ? null : p.value?.getColumnDef(e), le = (e, t) => {
|
|
12437
|
+
let n = q(N.value);
|
|
12443
12438
|
return n && typeof n.valueFormatter == "function" ? `${n.valueFormatter({ value: e })} - ${n.valueFormatter({ value: t })}` : `${e} - ${t}`;
|
|
12444
|
-
},
|
|
12445
|
-
let e =
|
|
12439
|
+
}, ue = r(() => [...j.value.length > 1 ? mo : po, ho].filter((e) => l.enabledChartTypes?.includes(e.id))), J = O(void 0), de = O(void 0), fe = O(void 0), pe = !1, me = r(() => uf(J.value?.id || "")), he = r(() => Math.min(me.value.rowGroupLimit, l.rowGroupLimit)), ge = r(() => {
|
|
12440
|
+
let e = me.value.xAxis.filterColumns;
|
|
12446
12441
|
return e ? e(k.value) : k.value;
|
|
12447
|
-
}),
|
|
12442
|
+
}), _e = O([{
|
|
12448
12443
|
text: "Ascending",
|
|
12449
12444
|
id: "asc",
|
|
12450
12445
|
icon: "arrow-up-wide-narrow"
|
|
@@ -12452,46 +12447,46 @@ var Tf = { style: {
|
|
|
12452
12447
|
text: "Descending",
|
|
12453
12448
|
id: "desc",
|
|
12454
12449
|
icon: "arrow-down-narrow-wide"
|
|
12455
|
-
}]),
|
|
12456
|
-
D(Dc, p), D(zc,
|
|
12457
|
-
let
|
|
12458
|
-
|
|
12450
|
+
}]), ve = O([]), ye = O([]), Y = O(l.yKey), be = O(ee.value[0]?.value), xe = r(() => l.crosslineOverlayGroups ?? []), Se = O(new Set(xe.value.filter((e) => e.visible && !e.disabled).map((e) => e.id))), X = r(() => xe.value.filter((e) => Se.value.has(e.id)).flatMap((e) => e.overlays)), Ce = O(null), Z = O(_e.value.find((e) => e.id === l.initialSort || "")), we = O("");
|
|
12451
|
+
D(Dc, p), D(zc, we), D(jc, ge), D(Bc, j), D(Vc, ue), D(Hc, _e), D(Uc, J), D(Wc, Z), D(Gc, Y), D(Kc, I), D(qc, be), D(Jc, ee), D(Xc, Se), D(Zc, xe);
|
|
12452
|
+
let Te = (e) => {
|
|
12453
|
+
J.value = ue.value.find((t) => t.id === e) ?? ue.value[0];
|
|
12459
12454
|
};
|
|
12460
|
-
B(() =>
|
|
12461
|
-
let e =
|
|
12462
|
-
|
|
12463
|
-
}), B(() => l.chartType, (e) =>
|
|
12464
|
-
e !==
|
|
12465
|
-
}), B(
|
|
12455
|
+
B(() => ue.value, () => {
|
|
12456
|
+
let e = Pe.value, t = e !== pe, n = uf(J.value?.id || ""), r = ue.value.some((e) => e.id === J.value?.id);
|
|
12457
|
+
pe = e, !(r && (!t || !n.storeBeforeChange)) && Te((e ? fe?.value : de?.value) ?? l.chartType);
|
|
12458
|
+
}), B(() => l.chartType, (e) => Te(e)), B(() => l.yKey, (e) => {
|
|
12459
|
+
e !== Y.value && (Y.value = e);
|
|
12460
|
+
}), B(we, (e) => {
|
|
12466
12461
|
if (l.chartFilter && p.value) {
|
|
12467
12462
|
let t = l.chartFilter.colId, n = l.chartFilter.options.find((t) => t.value === e)?.filterValues || null;
|
|
12468
12463
|
n && n.length === 0 && (n = null), te(t, n || []);
|
|
12469
12464
|
let r = ql({
|
|
12470
12465
|
filterType: "set",
|
|
12471
12466
|
values: n
|
|
12472
|
-
},
|
|
12467
|
+
}, q(t));
|
|
12473
12468
|
p.value.setColumnFilterModel(t, r).then(() => {
|
|
12474
12469
|
p.value?.onFilterChanged();
|
|
12475
12470
|
});
|
|
12476
12471
|
}
|
|
12477
12472
|
});
|
|
12478
|
-
let
|
|
12479
|
-
let e = I.value.find((e) => e.value ===
|
|
12473
|
+
let Ee = r(() => {
|
|
12474
|
+
let e = I.value.find((e) => e.value === Y.value);
|
|
12480
12475
|
return e ? e.label : "";
|
|
12481
|
-
}),
|
|
12482
|
-
let e = ee.value.find((e) => e.value ===
|
|
12476
|
+
}), De = r(() => ee.value.find((e) => e.value === be.value)), Oe = r(() => {
|
|
12477
|
+
let e = ee.value.find((e) => e.value === be.value);
|
|
12483
12478
|
return e ? e.label : "";
|
|
12484
|
-
}),
|
|
12485
|
-
let e =
|
|
12486
|
-
if (
|
|
12479
|
+
}), ke = r(() => me.value.isHorizontal === !0), Ae = r(() => j.value.length > 1), je = r(() => !J.value || I.value.length === 0 ? [] : me.value.seriesFamily === "pie" ? Ie.value : Fe.value), Me = r(() => l.showSeriesLabels), Ne = r(() => J.value?.id.includes("stacked")), Pe = r(() => j.value.length > 1), Fe = r(() => {
|
|
12480
|
+
let e = Ne.value, t = me.value.agChartType, n = [], r = ce(Y.value, !0), i = ce(Ce.value?.fieldName, !0);
|
|
12481
|
+
if (Ae.value) Ce.value?.fieldValues.forEach((a) => {
|
|
12487
12482
|
let o = {
|
|
12488
12483
|
type: t,
|
|
12489
12484
|
xKey: N.value,
|
|
12490
|
-
yKey: bo(
|
|
12485
|
+
yKey: bo(Y.value, a),
|
|
12491
12486
|
yName: typeof i == "function" ? i({ value: a }) : a,
|
|
12492
12487
|
stacked: e,
|
|
12493
12488
|
label: {
|
|
12494
|
-
enabled:
|
|
12489
|
+
enabled: Me.value,
|
|
12495
12490
|
color: e ? "white" : "black",
|
|
12496
12491
|
fontFamily: "Inter",
|
|
12497
12492
|
padding: 5,
|
|
@@ -12506,10 +12501,10 @@ var Tf = { style: {
|
|
|
12506
12501
|
let e = {
|
|
12507
12502
|
type: t,
|
|
12508
12503
|
xKey: N.value,
|
|
12509
|
-
yKey:
|
|
12510
|
-
yName:
|
|
12504
|
+
yKey: Y.value,
|
|
12505
|
+
yName: Ee.value,
|
|
12511
12506
|
label: {
|
|
12512
|
-
enabled:
|
|
12507
|
+
enabled: Me.value,
|
|
12513
12508
|
color: "black",
|
|
12514
12509
|
fontFamily: "Inter",
|
|
12515
12510
|
padding: 5,
|
|
@@ -12523,7 +12518,7 @@ var Tf = { style: {
|
|
|
12523
12518
|
let a = {};
|
|
12524
12519
|
if (t === "bar") {
|
|
12525
12520
|
let e = a;
|
|
12526
|
-
e.direction =
|
|
12521
|
+
e.direction = ke.value ? "horizontal" : "vertical", a = e;
|
|
12527
12522
|
} else if (t === "line" || t === "area") {
|
|
12528
12523
|
let e = a;
|
|
12529
12524
|
e.connectMissingData = !0, a = e;
|
|
@@ -12531,39 +12526,39 @@ var Tf = { style: {
|
|
|
12531
12526
|
if (n = n.map((e) => ({
|
|
12532
12527
|
...e,
|
|
12533
12528
|
...a
|
|
12534
|
-
})),
|
|
12529
|
+
})), me.value.yAxis.defaultValue === "groupedRecordCount" && (n = n.map((e) => ({
|
|
12535
12530
|
...e,
|
|
12536
12531
|
tooltip: { renderer: (e) => {
|
|
12537
12532
|
let t = String(e.datum[e.xKey] ?? ""), n = e.datum.bucketMin, r = e.datum.bucketMax;
|
|
12538
|
-
return typeof n == "number" && typeof r == "number" && (t =
|
|
12533
|
+
return typeof n == "number" && typeof r == "number" && (t = le(n, r)), {
|
|
12539
12534
|
title: t,
|
|
12540
12535
|
content: `Count: ${e.datum[e.yKey]}`
|
|
12541
12536
|
};
|
|
12542
12537
|
} }
|
|
12543
|
-
}))),
|
|
12538
|
+
}))), be.value) {
|
|
12544
12539
|
let t;
|
|
12545
|
-
t = e ? `${
|
|
12546
|
-
let r =
|
|
12540
|
+
t = e ? `${be.value}_sort_total` : be.value;
|
|
12541
|
+
let r = q(N.value)?.context?.metadataDisplayFields?.[0] || N.value, i = wf(N.value, r, t, Oe.value, ke.value), a = {
|
|
12547
12542
|
type: "scatter",
|
|
12548
12543
|
id: "metric-overlay",
|
|
12549
12544
|
data: We.value,
|
|
12550
12545
|
...i,
|
|
12551
12546
|
label: { enabled: !1 }
|
|
12552
12547
|
};
|
|
12553
|
-
if (
|
|
12554
|
-
let e =
|
|
12555
|
-
a.tooltip = { renderer:
|
|
12548
|
+
if (De.value?.tooltipRenderer) {
|
|
12549
|
+
let e = De.value.tooltipRenderer;
|
|
12550
|
+
a.tooltip = { renderer: ke.value ? (n) => e({
|
|
12556
12551
|
...n,
|
|
12557
12552
|
xKey: N.value,
|
|
12558
12553
|
xName: r,
|
|
12559
12554
|
yKey: t,
|
|
12560
|
-
yName:
|
|
12555
|
+
yName: Oe.value
|
|
12561
12556
|
}) : e };
|
|
12562
12557
|
}
|
|
12563
12558
|
n = [...n, a];
|
|
12564
12559
|
}
|
|
12565
|
-
if (
|
|
12566
|
-
let e =
|
|
12560
|
+
if (J.value?.id === "histogram" && Q.value && Q.value.length > 0 && typeof Q.value[0]?.bucketMin == "number" && typeof Q.value[0]?.bucketMax == "number" && X.value.length > 0 && Q.value) {
|
|
12561
|
+
let e = Q.value.length, t = Number.isFinite(Ke.value) ? Ke.value : 0, r = {
|
|
12567
12562
|
type: "scatter",
|
|
12568
12563
|
xKey: "__dummy_x__",
|
|
12569
12564
|
yKey: "__dummy_y__",
|
|
@@ -12581,16 +12576,16 @@ var Tf = { style: {
|
|
|
12581
12576
|
type: "scatter",
|
|
12582
12577
|
xKey: "__dummy_x__",
|
|
12583
12578
|
yKey: "__dummy_y__",
|
|
12584
|
-
data:
|
|
12585
|
-
let t = it(e.value,
|
|
12579
|
+
data: X.value.flatMap((e) => {
|
|
12580
|
+
let t = it(e.value, Q.value || []);
|
|
12586
12581
|
if (t === null) return [];
|
|
12587
|
-
let n = Number.isFinite(Ke.value) ? Ke.value : 0, r =
|
|
12582
|
+
let n = Number.isFinite(Ke.value) ? Ke.value : 0, r = ce(j.value?.[0]), i = typeof r == "function" ? r({ value: e.value }) : e.value;
|
|
12588
12583
|
return Array.from({ length: 30 }, (r, a) => ({
|
|
12589
12584
|
value: i,
|
|
12590
12585
|
__dummy_x__: t,
|
|
12591
12586
|
__dummy_y__: n / 29 * a,
|
|
12592
12587
|
__dummy_overlay_label__: e.label,
|
|
12593
|
-
[
|
|
12588
|
+
[Y.value]: n
|
|
12594
12589
|
}));
|
|
12595
12590
|
}),
|
|
12596
12591
|
size: 15,
|
|
@@ -12617,41 +12612,41 @@ var Tf = { style: {
|
|
|
12617
12612
|
];
|
|
12618
12613
|
}
|
|
12619
12614
|
return n;
|
|
12620
|
-
}),
|
|
12615
|
+
}), Ie = r(() => I.value.length === 0 ? [] : [{
|
|
12621
12616
|
type: "pie",
|
|
12622
12617
|
legendItemKey: N.value,
|
|
12623
|
-
angleKey:
|
|
12618
|
+
angleKey: Y.value
|
|
12624
12619
|
}]);
|
|
12625
|
-
B(
|
|
12620
|
+
B(Y, (e, t) => {
|
|
12626
12621
|
d("chart-state-changed", {
|
|
12627
12622
|
api: p.value,
|
|
12628
12623
|
newState: { seriesField: e },
|
|
12629
12624
|
oldState: { seriesField: t }
|
|
12630
12625
|
});
|
|
12631
|
-
}), B(
|
|
12626
|
+
}), B(be, (e, t) => {
|
|
12632
12627
|
d("chart-state-changed", {
|
|
12633
12628
|
api: p.value,
|
|
12634
12629
|
newState: { secondarySeriesField: e },
|
|
12635
12630
|
oldState: { secondarySeriesField: t }
|
|
12636
12631
|
});
|
|
12637
|
-
}), B(
|
|
12638
|
-
e?.id && uf(e.id).storeBeforeChange && (
|
|
12632
|
+
}), B(J, (e, t) => {
|
|
12633
|
+
e?.id && uf(e.id).storeBeforeChange && (Pe.value ? fe.value = e.id : de.value = e.id);
|
|
12639
12634
|
let n = uf(e?.id || ""), r = uf(t?.id || "");
|
|
12640
|
-
n.xAxis.filterColumns !== r.xAxis.filterColumns && (j.value = []), n.yAxis.defaultValue ?
|
|
12641
|
-
l.yKey ?
|
|
12635
|
+
n.xAxis.filterColumns !== r.xAxis.filterColumns && (j.value = []), n.yAxis.defaultValue ? Y.value = n.yAxis.defaultValue : r.yAxis.defaultValue && !n.yAxis.defaultValue && v(() => {
|
|
12636
|
+
l.yKey ? Y.value = l.yKey : I.value.length > 0 && (Y.value = I.value[0].value);
|
|
12642
12637
|
}), d("chart-state-changed", {
|
|
12643
12638
|
api: p.value,
|
|
12644
12639
|
newState: { chartType: e?.id },
|
|
12645
12640
|
oldState: { chartType: t?.id }
|
|
12646
12641
|
});
|
|
12647
|
-
}), B(
|
|
12642
|
+
}), B(ge, (e) => {
|
|
12648
12643
|
if (e.length === 1 && j.value.length === 0) {
|
|
12649
12644
|
let t = e[0].field;
|
|
12650
12645
|
t && (j.value = [t]);
|
|
12651
12646
|
}
|
|
12652
12647
|
}), B(I, (e) => {
|
|
12653
|
-
e.length === 1 && !
|
|
12654
|
-
}), B(
|
|
12648
|
+
e.length === 1 && !Y.value && (Y.value = e[0].value);
|
|
12649
|
+
}), B(Z, (e, t) => {
|
|
12655
12650
|
d("chart-state-changed", {
|
|
12656
12651
|
api: p.value,
|
|
12657
12652
|
newState: { chartSort: e?.id },
|
|
@@ -12680,24 +12675,24 @@ var Tf = { style: {
|
|
|
12680
12675
|
z.setFocusType(e?.focusType), z.setFocuses(e?.focuses ?? []);
|
|
12681
12676
|
}
|
|
12682
12677
|
}, { deep: !0 });
|
|
12683
|
-
let
|
|
12684
|
-
|
|
12685
|
-
},
|
|
12678
|
+
let Le = () => {
|
|
12679
|
+
ve.value = [], ye.value = [], Ce.value = null;
|
|
12680
|
+
}, Re = (e, t) => {
|
|
12686
12681
|
if (!e || e.length === 0) {
|
|
12687
|
-
|
|
12682
|
+
Le();
|
|
12688
12683
|
return;
|
|
12689
12684
|
}
|
|
12690
12685
|
if (t) {
|
|
12691
|
-
let { stackedData: n, uniqueFieldValues: r } = So(e, N.value, t,
|
|
12692
|
-
|
|
12686
|
+
let { stackedData: n, uniqueFieldValues: r } = So(e, N.value, t, Be.value, L.value);
|
|
12687
|
+
ye.value = n, Ce.value = {
|
|
12693
12688
|
fieldName: t,
|
|
12694
12689
|
fieldValues: r
|
|
12695
12690
|
};
|
|
12696
|
-
} else
|
|
12697
|
-
|
|
12698
|
-
},
|
|
12691
|
+
} else ye.value = [], Ce.value = null;
|
|
12692
|
+
ve.value = e;
|
|
12693
|
+
}, ze = (e) => {
|
|
12699
12694
|
let t = ++T.value, n = j.value.length;
|
|
12700
|
-
if (
|
|
12695
|
+
if (Le(), C.value = !1, n === 0 || I.value.length === 0 || l.requireFiltersToShowData && R.filterModelEmpty.value) return;
|
|
12701
12696
|
if (l.serverSideChartHandler) {
|
|
12702
12697
|
let e = R.filterModel.value, n = p.value?.getColumnDefs() || [];
|
|
12703
12698
|
if (e === null && l.initialGridState) {
|
|
@@ -12705,13 +12700,13 @@ var Tf = { style: {
|
|
|
12705
12700
|
e = (l.enableAdvancedFilter ? t?.filter?.advancedFilterModel : t?.filter?.filterModel) || {};
|
|
12706
12701
|
}
|
|
12707
12702
|
e ||= {};
|
|
12708
|
-
let r = zl(Bl(j.value.map((e) => p.value?.getColumn(e)).filter((e) => e !== void 0)), n), i = new Set(n.filter((e) => $(e).chartOnSecondaryAxes === !0).map((e) => e.field).filter(Boolean)), a = p.value?.getValueColumns().filter((e) => e.getColId() ===
|
|
12703
|
+
let r = zl(Bl(j.value.map((e) => p.value?.getColumn(e)).filter((e) => e !== void 0)), n), i = new Set(n.filter((e) => $(e).chartOnSecondaryAxes === !0).map((e) => e.field).filter(Boolean)), a = p.value?.getValueColumns().filter((e) => e.getColId() === Y.value || i.has(e.getColId())), o = {
|
|
12709
12704
|
rowGroupCols: r || [],
|
|
12710
12705
|
valueCols: Bl(a || []),
|
|
12711
12706
|
filterModel: e
|
|
12712
12707
|
};
|
|
12713
12708
|
C.value = !0, l.serverSideChartHandler(o).then((e) => {
|
|
12714
|
-
t === T.value && (
|
|
12709
|
+
t === T.value && (Re(e.data, e.stackField), C.value = !1);
|
|
12715
12710
|
}).catch((e) => {
|
|
12716
12711
|
t === T.value && (console.error("Chart handler error:", e), C.value = !1);
|
|
12717
12712
|
});
|
|
@@ -12722,27 +12717,27 @@ var Tf = { style: {
|
|
|
12722
12717
|
if (e.forEachNodeAfterFilterAndSort((e) => {
|
|
12723
12718
|
if (e.group && e.level === 0) {
|
|
12724
12719
|
if (j.value.length > 1) {
|
|
12725
|
-
let { rowData: t, fieldValues: n } =
|
|
12720
|
+
let { rowData: t, fieldValues: n } = He(e, e.childrenAfterFilter?.filter((e) => e.level === 1 && e.aggData) || []);
|
|
12726
12721
|
a = a.union(n), i?.push(t);
|
|
12727
12722
|
}
|
|
12728
|
-
let t =
|
|
12723
|
+
let t = Ve(e);
|
|
12729
12724
|
r?.push(t);
|
|
12730
12725
|
}
|
|
12731
|
-
}),
|
|
12726
|
+
}), ve.value = r, j.value.length > 1 && i && i.length > 0) {
|
|
12732
12727
|
let e = j.value[1] || "";
|
|
12733
|
-
|
|
12728
|
+
ye.value = i, Ce.value = {
|
|
12734
12729
|
fieldName: e,
|
|
12735
12730
|
fieldValues: Array.from(a)
|
|
12736
12731
|
};
|
|
12737
|
-
} else
|
|
12738
|
-
},
|
|
12732
|
+
} else ye.value = [], Ce.value = null;
|
|
12733
|
+
}, Be = r(() => {
|
|
12739
12734
|
let e = I.value, t = ee.value;
|
|
12740
12735
|
return [...new Map([...t, ...e].map((e) => [e.value, e])).values()];
|
|
12741
|
-
}),
|
|
12736
|
+
}), Ve = (e) => {
|
|
12742
12737
|
let t = { [e.field]: e.key };
|
|
12743
|
-
for (let n of
|
|
12738
|
+
for (let n of Be.value) !e.aggData || !e.aggData[n.value] || (t[n.value] = e.aggData[n.value]?.value ?? e.aggData[n.value]);
|
|
12744
12739
|
return t;
|
|
12745
|
-
},
|
|
12740
|
+
}, He = (e, t) => {
|
|
12746
12741
|
let n = /* @__PURE__ */ new Set(), r = { [e.field]: e.key }, i = 0;
|
|
12747
12742
|
for (let a of I.value) t.forEach((t) => {
|
|
12748
12743
|
let o = t.key;
|
|
@@ -12759,18 +12754,18 @@ var Tf = { style: {
|
|
|
12759
12754
|
rowData: r,
|
|
12760
12755
|
fieldValues: n
|
|
12761
12756
|
};
|
|
12762
|
-
},
|
|
12763
|
-
let e =
|
|
12764
|
-
if (
|
|
12765
|
-
let n =
|
|
12757
|
+
}, Q = r(() => {
|
|
12758
|
+
let e = Ae.value ? ye.value : ve.value, t = null;
|
|
12759
|
+
if (Z.value && (t = Ae.value ? `${Y.value}${_o}` : Y.value), t && e && Z.value) {
|
|
12760
|
+
let n = Z.value?.id.includes("desc") ? -1 : 1;
|
|
12766
12761
|
e = [...e].sort((e, r) => ((e[t] || 0) - (r[t] || 0)) * n);
|
|
12767
12762
|
}
|
|
12768
12763
|
if (e && e.length === 1 && (e = [
|
|
12769
12764
|
{ [N.value]: "" },
|
|
12770
12765
|
e[0],
|
|
12771
12766
|
{ [N.value]: " " }
|
|
12772
|
-
]), l.enableFocusView && e &&
|
|
12773
|
-
let t = e?.filter((e) =>
|
|
12767
|
+
]), l.enableFocusView && e && ae.value.length > 0 && U.value) {
|
|
12768
|
+
let t = e?.filter((e) => ae.value.includes(e[N.value])), n = e?.filter((e) => !ae.value.includes(e[N.value]));
|
|
12774
12769
|
e = [
|
|
12775
12770
|
...t || [],
|
|
12776
12771
|
{ [N.value]: go },
|
|
@@ -12779,14 +12774,14 @@ var Tf = { style: {
|
|
|
12779
12774
|
}
|
|
12780
12775
|
return e;
|
|
12781
12776
|
}), Ue = new Set(["", " "]), We = r(() => {
|
|
12782
|
-
let e = (
|
|
12777
|
+
let e = (Q.value ?? []).filter((e) => {
|
|
12783
12778
|
let t = e?.[N.value];
|
|
12784
12779
|
return !Ue.has(String(t));
|
|
12785
|
-
}), t =
|
|
12786
|
-
if (!
|
|
12787
|
-
let n =
|
|
12780
|
+
}), t = be.value;
|
|
12781
|
+
if (!Ae.value || !t || !Ce.value) return e;
|
|
12782
|
+
let n = q(t);
|
|
12788
12783
|
if ((typeof n?.aggFunc == "string" ? n.aggFunc : "") === "sum") return e;
|
|
12789
|
-
let r = `${t}${_o}`, i =
|
|
12784
|
+
let r = `${t}${_o}`, i = Ce.value.fieldValues;
|
|
12790
12785
|
return e.map((e) => {
|
|
12791
12786
|
let n = e[r];
|
|
12792
12787
|
if (typeof n != "number") return e;
|
|
@@ -12797,18 +12792,18 @@ var Tf = { style: {
|
|
|
12797
12792
|
[r]: a > 0 ? n / a : null
|
|
12798
12793
|
};
|
|
12799
12794
|
});
|
|
12800
|
-
}), Ge = r(() =>
|
|
12795
|
+
}), Ge = r(() => Q.value?.length || 0), Ke = r(() => Co(Ae.value ? ye.value : Q.value, Y.value, Ae.value)), qe = r(() => be.value ? Co(Ae.value ? ye.value : Q.value, be.value, Ae.value) : -Infinity), Je = r(() => wo(Ae.value ? ye.value : Q.value, Y.value, Ae.value)), Ye = r(() => be.value ? wo(Ae.value ? ye.value : Q.value, be.value, Ae.value) : Infinity), Xe = r(() => Ce.value?.fieldValues?.length || 0), Ze = r(() => {
|
|
12801
12796
|
let e = .25 * Math.exp(-.12 * Ge.value);
|
|
12802
12797
|
return Math.min(Math.max(e, .05), .75);
|
|
12803
|
-
}), Qe = r(() => Xe.value > 5 ? .5 : 1), $e = r(() => Xe.value > 5 ? .25 : .1), et = r(() => !
|
|
12804
|
-
let e =
|
|
12798
|
+
}), Qe = r(() => Xe.value > 5 ? .5 : 1), $e = r(() => Xe.value > 5 ? .25 : .1), et = r(() => !Q.value || Q.value?.length === 0 ? !0 : Ke.value === -Infinity || Ae.value === !0 && Ke.value === 0), nt = r(() => !!(l.enableFocusView && U.value && ae.value.length === 0 && l.percentOfFocusViewYKey && Y.value && Y.value === l.percentOfFocusViewYKey)), rt = r(() => {
|
|
12799
|
+
let e = q(U.value || ""), t = e?.headerName || e?.field || "Compare Field";
|
|
12805
12800
|
return yo({
|
|
12806
12801
|
currentRowGroupColumnsLength: j.value.length,
|
|
12807
|
-
shouldShowFocusOverlayText: nt.value || l.focusRequired &&
|
|
12802
|
+
shouldShowFocusOverlayText: nt.value || l.focusRequired && ae.value.length === 0,
|
|
12808
12803
|
chartDataEmpty: et.value,
|
|
12809
12804
|
missingFocusText: l.missingFocusText,
|
|
12810
12805
|
displayGroupByName: t,
|
|
12811
|
-
yAxisName:
|
|
12806
|
+
yAxisName: Ee.value,
|
|
12812
12807
|
yAxisOptionCount: I.value.length
|
|
12813
12808
|
});
|
|
12814
12809
|
}), it = (e, t) => {
|
|
@@ -12821,22 +12816,22 @@ var Tf = { style: {
|
|
|
12821
12816
|
}
|
|
12822
12817
|
}
|
|
12823
12818
|
return null;
|
|
12824
|
-
}, at = r(() => nt.value ||
|
|
12819
|
+
}, at = r(() => nt.value || H.value || !l.isLoading && rt.value !== ""), ot = r(() => {
|
|
12825
12820
|
let e = {};
|
|
12826
|
-
e.overlays = { noData: { text: "" } }, e.data = at.value ? [] :
|
|
12821
|
+
e.overlays = { noData: { text: "" } }, e.data = at.value ? [] : Q.value, e.legend = {
|
|
12827
12822
|
toggleSeries: !1,
|
|
12828
12823
|
preventHidingAll: !0,
|
|
12829
12824
|
enabled: j.value.length > 1
|
|
12830
12825
|
};
|
|
12831
|
-
let t =
|
|
12832
|
-
if (!
|
|
12833
|
-
let e =
|
|
12834
|
-
return
|
|
12835
|
-
})(), r =
|
|
12826
|
+
let t = Ae.value ? Ce.value?.fieldValues.map((e) => bo(Y.value, e)) || [] : Y.value ? [Y.value] : [], n = (() => {
|
|
12827
|
+
if (!be.value) return [];
|
|
12828
|
+
let e = be.value;
|
|
12829
|
+
return Ne.value ? [`${e}${_o}`] : Ae.value ? Ce.value?.fieldValues.map((t) => bo(e, String(t))) || [] : [e];
|
|
12830
|
+
})(), r = me.value.xAxis.hideLabel === !0, i = J.value?.id === "histogram" && Q.value && Q.value.length > 0 && typeof Q.value[0]?.bucketMin == "number" && typeof Q.value[0]?.bucketMax == "number", a = [];
|
|
12836
12831
|
if (a.push({
|
|
12837
12832
|
type: "category",
|
|
12838
12833
|
keys: [N.value],
|
|
12839
|
-
position:
|
|
12834
|
+
position: ke.value ? "left" : "bottom",
|
|
12840
12835
|
crossLines: [{
|
|
12841
12836
|
type: "line",
|
|
12842
12837
|
value: go,
|
|
@@ -12853,9 +12848,9 @@ var Tf = { style: {
|
|
|
12853
12848
|
wrapping: "never",
|
|
12854
12849
|
formatter: r ? () => "" : (e) => {
|
|
12855
12850
|
if (e.value === "--SEPARATOR--") return "";
|
|
12856
|
-
let t = e.value, n =
|
|
12851
|
+
let t = e.value, n = ce(N.value);
|
|
12857
12852
|
typeof n == "function" && (t = n(e));
|
|
12858
|
-
let r = l.enableFocusView &&
|
|
12853
|
+
let r = l.enableFocusView && ae.value.includes(e.value) ? ` (${l.focusText})` : "";
|
|
12859
12854
|
if (typeof t == "string" && t.length + r.length > 50 && !e.context?.tooltip) {
|
|
12860
12855
|
let e = 50 - r.length - 3;
|
|
12861
12856
|
return t.substring(0, e) + "..." + r;
|
|
@@ -12866,12 +12861,12 @@ var Tf = { style: {
|
|
|
12866
12861
|
paddingInner: Ze.value,
|
|
12867
12862
|
paddingOuter: Qe.value,
|
|
12868
12863
|
groupPaddingInner: $e.value
|
|
12869
|
-
}), i &&
|
|
12870
|
-
let e =
|
|
12864
|
+
}), i && X.value.length > 0) {
|
|
12865
|
+
let e = Q.value?.length || 1;
|
|
12871
12866
|
a.push({
|
|
12872
12867
|
type: "number",
|
|
12873
12868
|
keys: ["__dummy_x__"],
|
|
12874
|
-
position:
|
|
12869
|
+
position: ke.value ? "left" : "bottom",
|
|
12875
12870
|
crosshair: { enabled: !1 },
|
|
12876
12871
|
min: -1,
|
|
12877
12872
|
max: e + 1,
|
|
@@ -12880,9 +12875,9 @@ var Tf = { style: {
|
|
|
12880
12875
|
tick: { enabled: !1 },
|
|
12881
12876
|
line: { enabled: !1 },
|
|
12882
12877
|
gridLine: { enabled: !1 },
|
|
12883
|
-
crossLines:
|
|
12884
|
-
if (!
|
|
12885
|
-
let t = it(e.value,
|
|
12878
|
+
crossLines: X.value.map((e) => {
|
|
12879
|
+
if (!Q.value) return null;
|
|
12880
|
+
let t = it(e.value, Q.value);
|
|
12886
12881
|
return t == null ? null : {
|
|
12887
12882
|
type: "line",
|
|
12888
12883
|
value: t,
|
|
@@ -12894,26 +12889,26 @@ var Tf = { style: {
|
|
|
12894
12889
|
}).filter((e) => e !== null)
|
|
12895
12890
|
});
|
|
12896
12891
|
}
|
|
12897
|
-
let o = !!
|
|
12892
|
+
let o = !!be.value, s = o ? De.value?.secondaryAxisMax : void 0, c = o && Number.isFinite(Je.value) && Je.value < 0, u = o && Number.isFinite(Ye.value) && Ye.value < 0, d = c || u, f = o ? vo(Ke.value, 5) : 0, p = o ? s ?? vo(qe.value, 5) : 0, m = o && !d && f > 0 && p > 0;
|
|
12898
12893
|
if (a.push({
|
|
12899
12894
|
type: "number",
|
|
12900
12895
|
keys: t,
|
|
12901
|
-
position:
|
|
12896
|
+
position: ke.value ? "bottom" : "left",
|
|
12902
12897
|
...m ? {
|
|
12903
12898
|
min: 0,
|
|
12904
12899
|
max: f,
|
|
12905
12900
|
nice: !1,
|
|
12906
12901
|
interval: { step: f / 5 }
|
|
12907
12902
|
} : {},
|
|
12908
|
-
label: { formatter:
|
|
12903
|
+
label: { formatter: ce(Y.value) },
|
|
12909
12904
|
title: {
|
|
12910
12905
|
enabled: !0,
|
|
12911
|
-
text:
|
|
12906
|
+
text: Ee.value
|
|
12912
12907
|
}
|
|
12913
12908
|
}), o && a.push({
|
|
12914
12909
|
type: "number",
|
|
12915
12910
|
keys: n,
|
|
12916
|
-
position:
|
|
12911
|
+
position: ke.value ? "top" : "right",
|
|
12917
12912
|
crosshair: { enabled: !1 },
|
|
12918
12913
|
...m ? {
|
|
12919
12914
|
min: 0,
|
|
@@ -12931,10 +12926,10 @@ var Tf = { style: {
|
|
|
12931
12926
|
label: { color: ft },
|
|
12932
12927
|
title: {
|
|
12933
12928
|
enabled: !0,
|
|
12934
|
-
text:
|
|
12929
|
+
text: Oe.value,
|
|
12935
12930
|
color: ft
|
|
12936
12931
|
}
|
|
12937
|
-
}), i &&
|
|
12932
|
+
}), i && X.value.length > 0) {
|
|
12938
12933
|
let e = Number.isFinite(Ke.value) ? Ke.value : 0;
|
|
12939
12934
|
a.push({
|
|
12940
12935
|
type: "number",
|
|
@@ -12950,8 +12945,8 @@ var Tf = { style: {
|
|
|
12950
12945
|
gridLine: { enabled: !1 }
|
|
12951
12946
|
});
|
|
12952
12947
|
}
|
|
12953
|
-
return e.axes = a, e.series =
|
|
12954
|
-
}), st = r(() => C.value || l.isLoading && (!
|
|
12948
|
+
return e.axes = a, e.series = je.value, e;
|
|
12949
|
+
}), st = r(() => C.value || l.isLoading && (!Q.value || Q.value.length === 0)), ct = r(() => nt.value || !H.value && !l.isLoading && rt.value !== ""), lt = (e) => {
|
|
12955
12950
|
g.value = e, d("chart-collapsed", e);
|
|
12956
12951
|
}, ut = (e) => {
|
|
12957
12952
|
p.value && (p.value.setRowGroupColumns(e ? j.value : []), re.value = e);
|
|
@@ -12962,7 +12957,7 @@ var Tf = { style: {
|
|
|
12962
12957
|
return n({
|
|
12963
12958
|
getChartImageDataURL: (e) => h.value?.getChartImageDataURL(e),
|
|
12964
12959
|
getCsvData: () => m.value?.getCsvData(),
|
|
12965
|
-
refreshData: (e) => (p.value &&
|
|
12960
|
+
refreshData: (e) => (p.value && ze(p.value), m.value?.refreshData(e)),
|
|
12966
12961
|
getFilterValueSelectedMetadataMap: dt,
|
|
12967
12962
|
getPvFilterModel: () => m.value?.getPvFilterModel(),
|
|
12968
12963
|
setPvFilterModel: (e) => m.value?.setPvFilterModel(e)
|
|
@@ -13004,9 +12999,9 @@ var Tf = { style: {
|
|
|
13004
12999
|
onClick: r[1] ||= (e) => lt(!g.value)
|
|
13005
13000
|
})], 2),
|
|
13006
13001
|
s("div", { class: y(e.hideChart || g.value ? "pv-hide" : "") }, [u(Cf, {
|
|
13007
|
-
enablePanel:
|
|
13002
|
+
enablePanel: Q.value != null && Q.value.length > 0,
|
|
13008
13003
|
chartFilter: e.chartFilter,
|
|
13009
|
-
rowGroupLimit:
|
|
13004
|
+
rowGroupLimit: he.value,
|
|
13010
13005
|
"use-combined-button": l.enableCombinedChartConfigPanel,
|
|
13011
13006
|
"chart-config-options": l.chartConfigPanelOptions,
|
|
13012
13007
|
"read-only": l.chartConfigPanelReadOnly
|
|
@@ -13027,7 +13022,7 @@ var Tf = { style: {
|
|
|
13027
13022
|
"isLoading",
|
|
13028
13023
|
"options",
|
|
13029
13024
|
"enableFocusView"
|
|
13030
|
-
]), s("div", kf, [
|
|
13025
|
+
]), s("div", kf, [H.value ? (E(), o("div", Af, [(E(), i(M(e.emptyChartFilterRenderer)))])) : ct.value ? (E(), o("p", jf, P(rt.value), 1)) : a("", !0)])])], 2)
|
|
13031
13026
|
])),
|
|
13032
13027
|
u(Fd, _({
|
|
13033
13028
|
ref_key: "pvDataTableRef",
|
|
@@ -13035,12 +13030,12 @@ var Tf = { style: {
|
|
|
13035
13030
|
}, n.$props, {
|
|
13036
13031
|
filterTeleportLocation: x.value ? `#${b}` : void 0,
|
|
13037
13032
|
pagination: e.pagination || !re.value,
|
|
13038
|
-
onColumnRowGroupChanged:
|
|
13039
|
-
onGridReady:
|
|
13040
|
-
onFilterChanged:
|
|
13033
|
+
onColumnRowGroupChanged: W,
|
|
13034
|
+
onGridReady: oe,
|
|
13035
|
+
onFilterChanged: G,
|
|
13041
13036
|
onSortChanged: r[3] ||= (e) => d("sort-changed", e),
|
|
13042
13037
|
onFilterOpened: r[4] ||= (e) => d("filter-opened", e),
|
|
13043
|
-
onFirstDataRendered:
|
|
13038
|
+
onFirstDataRendered: se,
|
|
13044
13039
|
onColumnMoved: r[5] ||= (e) => d("column-moved", e),
|
|
13045
13040
|
onColumnResized: r[6] ||= (e) => d("column-resized", e),
|
|
13046
13041
|
onHandleSettingsIcon: r[7] ||= (e) => d("handle-settings-icon", e),
|
|
@@ -13051,7 +13046,7 @@ var Tf = { style: {
|
|
|
13051
13046
|
groupedModeEnabled: re.value,
|
|
13052
13047
|
tableConfigOptions: l.tableConfigOptions,
|
|
13053
13048
|
onToggleGroup: ut,
|
|
13054
|
-
onTableOverlayChange:
|
|
13049
|
+
onTableOverlayChange: ie
|
|
13055
13050
|
}, null, 8, ["groupedModeEnabled", "tableConfigOptions"])) : (E(), i(An, {
|
|
13056
13051
|
key: 1,
|
|
13057
13052
|
leftIcon: re.value ? "ungroup" : "group",
|