@turquoisehealth/pit-viper 2.199.2-dev.0 → 2.199.2-dev.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/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 +249 -249
- package/pv-components/dist/vue/base/pv-components-base.mjs.map +1 -1
- package/pv-components/dist/vue/visualizations/pv-components-visualizations.mjs +718 -718
- 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 +13 -13
- 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({
|
|
@@ -7269,12 +7269,12 @@ var fs = {
|
|
|
7269
7269
|
"placeholder",
|
|
7270
7270
|
"disabled"
|
|
7271
7271
|
])])),
|
|
7272
|
-
n.$slots.header || I(
|
|
7273
|
-
|
|
7272
|
+
n.$slots.header || I(_e) ? (E(), o("div", ws, [A(n.$slots, "header", b(p(me.value)))])) : a("", !0),
|
|
7273
|
+
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
7274
|
n.$slots[t] ? A(n.$slots, t, { key: 0 }) : t === "other" ? a("", !0) : (E(), o("span", Ts, P(t), 1)),
|
|
7275
7275
|
u(Qa, {
|
|
7276
|
-
selectedItems:
|
|
7277
|
-
"onUpdate:selectedItems": r[2] ||= (e) =>
|
|
7276
|
+
selectedItems: W.value,
|
|
7277
|
+
"onUpdate:selectedItems": r[2] ||= (e) => W.value = e,
|
|
7278
7278
|
options: i,
|
|
7279
7279
|
config: l.value,
|
|
7280
7280
|
queryText: e.highlightSearchText ? te.value : null,
|
|
@@ -7283,7 +7283,7 @@ var fs = {
|
|
|
7283
7283
|
isLoading: e.isLoading,
|
|
7284
7284
|
isSeeMoreLoading: e.isSeeMoreLoading,
|
|
7285
7285
|
enableCascadeSelection: e.enableCascadeSelection,
|
|
7286
|
-
hasMoreOptions: s ===
|
|
7286
|
+
hasMoreOptions: s === fe.value.length - 1 && C.value && !e.isLoading,
|
|
7287
7287
|
readOnly: e.readOnly,
|
|
7288
7288
|
onSeeMore: O
|
|
7289
7289
|
}, null, 8, [
|
|
@@ -7298,12 +7298,12 @@ var fs = {
|
|
|
7298
7298
|
"hasMoreOptions",
|
|
7299
7299
|
"readOnly"
|
|
7300
7300
|
]),
|
|
7301
|
-
|
|
7301
|
+
fe.value && s !== fe.value.length - 1 ? (E(), o("div", Es)) : a("", !0)
|
|
7302
7302
|
]))), 128)) : (E(), i(Qa, {
|
|
7303
7303
|
key: 1,
|
|
7304
|
-
selectedItems:
|
|
7305
|
-
"onUpdate:selectedItems": r[3] ||= (e) =>
|
|
7306
|
-
options:
|
|
7304
|
+
selectedItems: W.value,
|
|
7305
|
+
"onUpdate:selectedItems": r[3] ||= (e) => W.value = e,
|
|
7306
|
+
options: ce.value,
|
|
7307
7307
|
config: l.value,
|
|
7308
7308
|
queryText: e.highlightSearchText ? te.value : null,
|
|
7309
7309
|
itemTestId: `pv-multiselect-${e.label}-item`,
|
|
@@ -7324,15 +7324,15 @@ var fs = {
|
|
|
7324
7324
|
"hasMoreOptions",
|
|
7325
7325
|
"readOnly"
|
|
7326
7326
|
]))], 64)) : a("", !0),
|
|
7327
|
-
e.isLoading ? (E(), o("div", Ds, [u(St, { variant: "dark" })])) :
|
|
7328
|
-
s("div", Os, [I(
|
|
7327
|
+
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),
|
|
7328
|
+
s("div", Os, [I(ye) ? A(n.$slots, "footer", b(_({ key: 0 }, me.value))) : a("", !0), e.menuActionsVariant && !e.readOnly ? (E(), i(Ss, {
|
|
7329
7329
|
key: 1,
|
|
7330
7330
|
variant: e.menuActionsVariant,
|
|
7331
7331
|
disabled: e.isLoading,
|
|
7332
|
-
onHandleClearAll:
|
|
7333
|
-
onHandleSelectAll:
|
|
7334
|
-
onHandleCancel:
|
|
7335
|
-
onHandleConfirm:
|
|
7332
|
+
onHandleClearAll: ue,
|
|
7333
|
+
onHandleSelectAll: q,
|
|
7334
|
+
onHandleCancel: J,
|
|
7335
|
+
onHandleConfirm: de
|
|
7336
7336
|
}, null, 8, ["variant", "disabled"])) : a("", !0)])
|
|
7337
7337
|
], 4)]),
|
|
7338
7338
|
_: 3
|
|
@@ -7855,7 +7855,7 @@ var As = "__pv_filter_panel_scoped_value__", js = (e) => typeof e == "object" &&
|
|
|
7855
7855
|
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
7856
|
f.value = null, d.value = "", C.value = null, b.value = !1;
|
|
7857
7857
|
};
|
|
7858
|
-
n.enableCustomOptionsInput &&
|
|
7858
|
+
n.enableCustomOptionsInput && se("Enter", () => {
|
|
7859
7859
|
d.value.trim() && D();
|
|
7860
7860
|
}, { target: l });
|
|
7861
7861
|
let D = () => {
|
|
@@ -7910,7 +7910,7 @@ var As = "__pv_filter_panel_scoped_value__", js = (e) => typeof e == "object" &&
|
|
|
7910
7910
|
let ee = () => {
|
|
7911
7911
|
d.value = "";
|
|
7912
7912
|
};
|
|
7913
|
-
return (n, r) =>
|
|
7913
|
+
return (n, r) => ie((E(), o("div", {
|
|
7914
7914
|
ref: "query-builder-input",
|
|
7915
7915
|
class: "pv-relative pv-query-builder-input-wrapper",
|
|
7916
7916
|
onFocus: F,
|
|
@@ -7936,7 +7936,7 @@ var As = "__pv_filter_panel_scoped_value__", js = (e) => typeof e == "object" &&
|
|
|
7936
7936
|
"modelValue",
|
|
7937
7937
|
"wrap-content",
|
|
7938
7938
|
"query-term-display-limit"
|
|
7939
|
-
]),
|
|
7939
|
+
]), ie(s("input", {
|
|
7940
7940
|
"onUpdate:modelValue": r[2] ||= (e) => d.value = e,
|
|
7941
7941
|
ref: "search-input",
|
|
7942
7942
|
"data-testid": "pv-search-input",
|
|
@@ -7973,7 +7973,7 @@ var As = "__pv_filter_panel_scoped_value__", js = (e) => typeof e == "object" &&
|
|
|
7973
7973
|
}), null, 16, ["onHandleSelected"]))), 128))]),
|
|
7974
7974
|
_: 1
|
|
7975
7975
|
}, 8, ["class"])) : a("", !0)
|
|
7976
|
-
], 32)), [[I(
|
|
7976
|
+
], 32)), [[I(J), j]]);
|
|
7977
7977
|
}
|
|
7978
7978
|
}), [["__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
7979
|
class: "pv-flex",
|
|
@@ -8112,7 +8112,7 @@ var ll = /* @__PURE__ */ Xt(ol, [["render", cl]]), ul = ["innerHTML"], dl = { ke
|
|
|
8112
8112
|
__name: "GroupedCellRenderer",
|
|
8113
8113
|
props: { params: {} },
|
|
8114
8114
|
setup(e) {
|
|
8115
|
-
let n = e, i = m(Mc, O([])), c = m(Nc, O(null)), d = m(Pc, O({})), f =
|
|
8115
|
+
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
8116
|
let e = f.value.data;
|
|
8117
8117
|
if (e?.bucketMin !== void 0 && e?.bucketMax !== void 0) {
|
|
8118
8118
|
let t = f.value.rowGroupColumn?.getColDef()?.valueFormatter;
|
|
@@ -8818,42 +8818,42 @@ var Tl = /* @__PURE__ */ function(e) {
|
|
|
8818
8818
|
useStaged: !1
|
|
8819
8819
|
}), re(n, i);
|
|
8820
8820
|
return x.value;
|
|
8821
|
-
},
|
|
8821
|
+
}, ie = (e, t) => {
|
|
8822
8822
|
S.value[e] = t;
|
|
8823
|
-
},
|
|
8823
|
+
}, H = (e) => C.value[e] || [], U = (e, t) => {
|
|
8824
8824
|
C.value[e] = t;
|
|
8825
|
-
},
|
|
8825
|
+
}, ae = (e, t) => {
|
|
8826
8826
|
A.value[e] = t;
|
|
8827
|
-
},
|
|
8827
|
+
}, oe = (e) => {
|
|
8828
8828
|
let t = M.value[e] ?? 0;
|
|
8829
8829
|
M.value[e] = t + 1, j.value.add(e);
|
|
8830
|
-
},
|
|
8830
|
+
}, se = (e) => {
|
|
8831
8831
|
let t = M.value[e] ?? 0;
|
|
8832
8832
|
if (t <= 1) {
|
|
8833
8833
|
delete M.value[e], j.value.delete(e);
|
|
8834
8834
|
return;
|
|
8835
8835
|
}
|
|
8836
8836
|
M.value[e] = t - 1;
|
|
8837
|
-
},
|
|
8837
|
+
}, W = (e) => {
|
|
8838
8838
|
let t = new Set(e);
|
|
8839
8839
|
for (let n of e) {
|
|
8840
8840
|
let e = A.value[n] || [];
|
|
8841
8841
|
for (let n of e) t.add(n);
|
|
8842
8842
|
}
|
|
8843
8843
|
for (let e of j.value) t.has(e) || (w.value[e] = !0);
|
|
8844
|
-
},
|
|
8844
|
+
}, G = e.initStagedFilterSelections, K = e.clearStagedFilterSelections, ce = (e) => P.value[e] || [], q = (e, t) => {
|
|
8845
8845
|
P.value[e] = t;
|
|
8846
|
-
},
|
|
8846
|
+
}, le = (e) => {
|
|
8847
8847
|
t.value = e;
|
|
8848
|
-
},
|
|
8848
|
+
}, J = (e) => {
|
|
8849
8849
|
(!e || t.value === e) && (t.value = null);
|
|
8850
|
-
},
|
|
8850
|
+
}, de = () => t.value?.getFilterModel() ?? n.value, fe = (e) => {
|
|
8851
8851
|
let r = t.value?.setFilterModel(e);
|
|
8852
8852
|
(!t.value || r === !1) && (n.value = e);
|
|
8853
|
-
},
|
|
8853
|
+
}, pe = (e) => {
|
|
8854
8854
|
let n = t.value?.setTableSearchFilterModel(e);
|
|
8855
8855
|
(!t.value || n === !1) && (a.value = e);
|
|
8856
|
-
},
|
|
8856
|
+
}, me = (e) => t.value?.refreshData(e), he = (e, t) => {
|
|
8857
8857
|
let n = /* @__PURE__ */ new Set(), r = e ? Object.keys(e) : [], i = t ? Object.keys(t) : [], a = r.filter((e) => i.includes(e));
|
|
8858
8858
|
[...r, ...i].filter((e) => !a.includes(e)).forEach((e) => n.add(e));
|
|
8859
8859
|
for (let r of a) JSON.stringify(e?.[r]) !== JSON.stringify(t?.[r]) && n.add(r);
|
|
@@ -8861,9 +8861,9 @@ var Tl = /* @__PURE__ */ function(e) {
|
|
|
8861
8861
|
for (let e of Array.from(n)) o.value[e] = s;
|
|
8862
8862
|
return n;
|
|
8863
8863
|
};
|
|
8864
|
-
return
|
|
8864
|
+
return ue([n, i], ([e, t], [r, i]) => {
|
|
8865
8865
|
let a = /* @__PURE__ */ new Set();
|
|
8866
|
-
JSON.stringify(e) !== JSON.stringify(r) &&
|
|
8866
|
+
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
8867
|
}, {
|
|
8868
8868
|
deep: !0,
|
|
8869
8869
|
debounce: 200,
|
|
@@ -8891,34 +8891,34 @@ var Tl = /* @__PURE__ */ function(e) {
|
|
|
8891
8891
|
stagedFilterModel: i,
|
|
8892
8892
|
setFilterSelectedValues: re,
|
|
8893
8893
|
hydrateSelectedFilterMetadata: V,
|
|
8894
|
-
setFilterValueSearchText:
|
|
8894
|
+
setFilterValueSearchText: ie,
|
|
8895
8895
|
tableSearchFilterModel: a,
|
|
8896
8896
|
tableSearchFilterModelEmpty: v,
|
|
8897
8897
|
tableSearchHandler: m,
|
|
8898
8898
|
filterValuesMap: C,
|
|
8899
|
-
getFilterValues:
|
|
8900
|
-
setFilterValues:
|
|
8899
|
+
getFilterValues: H,
|
|
8900
|
+
setFilterValues: U,
|
|
8901
8901
|
filterStaleMap: w,
|
|
8902
8902
|
refreshFiltersInBackground: E,
|
|
8903
8903
|
stageFilterChangesUntilDropdownCloses: D,
|
|
8904
8904
|
filterSearchMinLength: k,
|
|
8905
|
-
markOtherFieldsStale:
|
|
8905
|
+
markOtherFieldsStale: W,
|
|
8906
8906
|
aggregateFieldMap: A,
|
|
8907
|
-
registerAggregateField:
|
|
8907
|
+
registerAggregateField: ae,
|
|
8908
8908
|
registeredFilterFields: j,
|
|
8909
|
-
registerFilterField:
|
|
8910
|
-
unregisterFilterField:
|
|
8909
|
+
registerFilterField: oe,
|
|
8910
|
+
unregisterFilterField: se,
|
|
8911
8911
|
stagedSelectedValuesMap: P,
|
|
8912
|
-
initStagedSelectedValues:
|
|
8913
|
-
clearStagedSelectedValues:
|
|
8914
|
-
getStagedSelectedValues:
|
|
8915
|
-
setStagedSelectedValues:
|
|
8916
|
-
registerFilterController:
|
|
8917
|
-
unregisterFilterController:
|
|
8918
|
-
getFilterModel:
|
|
8919
|
-
applyFilterModel:
|
|
8920
|
-
applyTableSearchFilterModel:
|
|
8921
|
-
refreshData:
|
|
8912
|
+
initStagedSelectedValues: G,
|
|
8913
|
+
clearStagedSelectedValues: K,
|
|
8914
|
+
getStagedSelectedValues: ce,
|
|
8915
|
+
setStagedSelectedValues: q,
|
|
8916
|
+
registerFilterController: le,
|
|
8917
|
+
unregisterFilterController: J,
|
|
8918
|
+
getFilterModel: de,
|
|
8919
|
+
applyFilterModel: fe,
|
|
8920
|
+
applyTableSearchFilterModel: pe,
|
|
8921
|
+
refreshData: me,
|
|
8922
8922
|
filterValueSearchTextMap: S,
|
|
8923
8923
|
filterValuesHasMoreMap: f,
|
|
8924
8924
|
filterValuesTotalCountMap: p
|
|
@@ -8930,98 +8930,98 @@ var Tl = /* @__PURE__ */ function(e) {
|
|
|
8930
8930
|
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
8931
|
return e;
|
|
8932
8932
|
}, 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: () =>
|
|
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)), ie = m(Yc, O(!1)), H = r({
|
|
8934
|
+
get: () => q.value ? F(G.value) : _(G.value),
|
|
8935
8935
|
set: (e) => {
|
|
8936
|
-
|
|
8936
|
+
q.value ? I(G.value, e) : x(G.value, e);
|
|
8937
8937
|
}
|
|
8938
|
-
}),
|
|
8939
|
-
let e = S(
|
|
8940
|
-
if (
|
|
8941
|
-
let t = new Set(e), n =
|
|
8938
|
+
}), U = r(() => {
|
|
8939
|
+
let e = S(G.value);
|
|
8940
|
+
if (le.value && de.value.length > 0) {
|
|
8941
|
+
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
8942
|
return [...n, ...i];
|
|
8943
8943
|
}
|
|
8944
|
-
return
|
|
8945
|
-
}),
|
|
8946
|
-
get: () => ee.value[
|
|
8947
|
-
set: (e) => b(
|
|
8948
|
-
}),
|
|
8949
|
-
let e = A.value ?? 0, t =
|
|
8944
|
+
return je(e);
|
|
8945
|
+
}), ae = r(() => h.value[G.value] ?? !1), oe = r(() => D.value || $(t.value).prefetchFilterValues === !0), se = r({
|
|
8946
|
+
get: () => ee.value[G.value] ?? "",
|
|
8947
|
+
set: (e) => b(G.value, e)
|
|
8948
|
+
}), W = r(() => {
|
|
8949
|
+
let e = A.value ?? 0, t = se.value?.length ?? 0;
|
|
8950
8950
|
return e > 0 && t > 0 && t < e;
|
|
8951
|
-
}),
|
|
8951
|
+
}), 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
8952
|
let n = new Set(e), r = new Set(t);
|
|
8953
8953
|
return n.size === r.size ? [...n].every((e) => r.has(e)) : !1;
|
|
8954
|
-
},
|
|
8955
|
-
if (
|
|
8954
|
+
}, Ee = O([]), De = O("[]"), Oe = r(() => U.value.length === 1 && U.value[0] === null && H.value.length === 0), ke = (e = !1) => {
|
|
8955
|
+
if (Z.value) return;
|
|
8956
8956
|
let n = [];
|
|
8957
|
-
if (
|
|
8957
|
+
if (ie.value && s.value) {
|
|
8958
8958
|
let e = s.value.getAdvancedFilterModel();
|
|
8959
|
-
n = gu(
|
|
8959
|
+
n = gu(G.value, e);
|
|
8960
8960
|
} else n = su(t.value, d.value);
|
|
8961
|
-
e ?
|
|
8962
|
-
},
|
|
8961
|
+
e ? H.value = n : H.value = Array.from(new Set([..._(G.value), ...n]));
|
|
8962
|
+
}, Ae = (e) => {
|
|
8963
8963
|
let t = (n) => {
|
|
8964
8964
|
for (let r of n) if (r.id === String(e) && r.state === "selected" || r.children && t(r.children)) return !0;
|
|
8965
8965
|
return !1;
|
|
8966
8966
|
};
|
|
8967
|
-
return t(
|
|
8968
|
-
},
|
|
8969
|
-
let n =
|
|
8967
|
+
return t(Ee.value);
|
|
8968
|
+
}, je = (e) => [...e].sort((e, t) => {
|
|
8969
|
+
let n = H.value.includes(e) || Ae(e), r = H.value.includes(t) || Ae(t);
|
|
8970
8970
|
return n && !r ? -1 : !n && r ? 1 : 0;
|
|
8971
|
-
}),
|
|
8972
|
-
if (!s.value
|
|
8973
|
-
let r = E.value[
|
|
8974
|
-
if (
|
|
8975
|
-
if (y.value &&
|
|
8971
|
+
}), Me = async (e = !1, n = !1) => {
|
|
8972
|
+
if (!s.value) return;
|
|
8973
|
+
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);
|
|
8974
|
+
if (ie.value) {
|
|
8975
|
+
if (y.value && o) {
|
|
8976
8976
|
let e = await l(t.value, {
|
|
8977
8977
|
api: s.value,
|
|
8978
8978
|
filterModel: d.value ?? void 0,
|
|
8979
|
-
useStaged:
|
|
8979
|
+
useStaged: q.value
|
|
8980
8980
|
});
|
|
8981
|
-
C(
|
|
8981
|
+
C(G.value, e), E.value[G.value] = !1, _t();
|
|
8982
8982
|
}
|
|
8983
8983
|
return;
|
|
8984
8984
|
}
|
|
8985
|
-
let
|
|
8986
|
-
if (
|
|
8987
|
-
if (y.value &&
|
|
8988
|
-
|
|
8985
|
+
let c = await au(s.value, t.value);
|
|
8986
|
+
if (c) {
|
|
8987
|
+
if (y.value && o) {
|
|
8988
|
+
c.refreshFilterValues();
|
|
8989
8989
|
return;
|
|
8990
8990
|
}
|
|
8991
|
-
C(
|
|
8991
|
+
C(G.value, c.getFilterValues()), E.value[G.value] = !1;
|
|
8992
8992
|
}
|
|
8993
|
-
},
|
|
8994
|
-
let t = g(
|
|
8995
|
-
return !t &&
|
|
8996
|
-
},
|
|
8993
|
+
}, Ne = (e) => {
|
|
8994
|
+
let t = g(G.value, e);
|
|
8995
|
+
return !t && Z.value && e && (t = Qe(e)), t;
|
|
8996
|
+
}, 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
8997
|
if (!e || !t || e.label && e.rawValue == null && e.metadata?.rawValue == null) return e;
|
|
8998
8998
|
let n = ($(t).metadataDisplayFields || []).find((t) => e.metadata?.[t] != null);
|
|
8999
8999
|
return n ? {
|
|
9000
9000
|
...e,
|
|
9001
9001
|
label: String(e.metadata?.[n])
|
|
9002
9002
|
} : e;
|
|
9003
|
-
},
|
|
9004
|
-
let n =
|
|
9005
|
-
if (i &&
|
|
9003
|
+
}, Re = (e, t) => {
|
|
9004
|
+
let n = fe.value, r = t, i = Pe(t);
|
|
9005
|
+
if (i && Z.value) {
|
|
9006
9006
|
let e = s.value?.getColumnDef(i);
|
|
9007
|
-
n = e ? jl(e) ?? n : n, r =
|
|
9007
|
+
n = e ? jl(e) ?? n : n, r = Le(t, e ?? void 0);
|
|
9008
9008
|
}
|
|
9009
9009
|
return n ? n({
|
|
9010
|
-
value:
|
|
9010
|
+
value: Ie(e, r),
|
|
9011
9011
|
context: r
|
|
9012
9012
|
}) : r?.label || e;
|
|
9013
|
-
},
|
|
9013
|
+
}, ze = (e) => Re(e, Ne(e)), Be = (e) => {
|
|
9014
9014
|
if (!$(t.value).metadataDisplayFields?.length || e == null) return !1;
|
|
9015
|
-
let n = g(
|
|
9015
|
+
let n = g(G.value, e);
|
|
9016
9016
|
return n == null || n.label == null;
|
|
9017
|
-
},
|
|
9017
|
+
}, 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
9018
|
fallbackSubText: n,
|
|
9019
|
-
getDisplayName:
|
|
9019
|
+
getDisplayName: He,
|
|
9020
9020
|
matchedField: e?.matchedField,
|
|
9021
9021
|
matchedValue: e?.matchedValue ?? e?.menuOption?.searchText,
|
|
9022
9022
|
primaryText: r,
|
|
9023
9023
|
showPrefix: $(t.value).showSearchMatchSubTextPrefix !== !1
|
|
9024
|
-
}), Ue = r(() => $s(
|
|
9024
|
+
}), Ue = r(() => $s(G.value, $(t.value).queryColIds, (e) => e === G.value && ce.value || He(e))), We = (e) => {
|
|
9025
9025
|
if (!e.startsWith("__")) return { value: e };
|
|
9026
9026
|
let t = e.slice(2).split("__");
|
|
9027
9027
|
return t.length < 2 ? { value: e } : {
|
|
@@ -9031,7 +9031,7 @@ var Tl = /* @__PURE__ */ function(e) {
|
|
|
9031
9031
|
}, Ge = (e) => Ks(e, Je()), Ke = (e) => {
|
|
9032
9032
|
let t = We(e.value), n = { ...e };
|
|
9033
9033
|
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[
|
|
9034
|
+
}, qe = r(() => [...c.filterValueMap.value[G.value] || [], ...c.filterValueSelectedMetadataMap.value[G.value] || []].map((e) => e && Ke(e))), Je = () => qe.value, Ye = (e, t) => {
|
|
9035
9035
|
for (let n of e) {
|
|
9036
9036
|
if (!n) continue;
|
|
9037
9037
|
if (t(n)) return n;
|
|
@@ -9048,7 +9048,7 @@ var Tl = /* @__PURE__ */ function(e) {
|
|
|
9048
9048
|
}, Ze = (e, t) => qs(Je(), e, t), Qe = (e) => {
|
|
9049
9049
|
let t = (n) => {
|
|
9050
9050
|
if (n) {
|
|
9051
|
-
if (String(
|
|
9051
|
+
if (String(Fe(n) ?? We(n.value).value) === e) return n;
|
|
9052
9052
|
for (let e of n.children || []) {
|
|
9053
9053
|
let n = t(e);
|
|
9054
9054
|
if (n) return n;
|
|
@@ -9080,41 +9080,41 @@ var Tl = /* @__PURE__ */ function(e) {
|
|
|
9080
9080
|
};
|
|
9081
9081
|
}, et = (e) => {
|
|
9082
9082
|
let n = Je(), r = Ye(n, (t) => t.value === e.id);
|
|
9083
|
-
return r?.children?.length ? r : Xe(n, e.id) || (r &&
|
|
9083
|
+
return r?.children?.length ? r : Xe(n, e.id) || (r && Pe(r) === Ll(t.value) ? r : $e(e.id) || r);
|
|
9084
9084
|
}, tt = (e) => {
|
|
9085
|
-
if (!
|
|
9086
|
-
let t = c.filterValueSelectedMetadataMap.value[
|
|
9085
|
+
if (!Z.value) return;
|
|
9086
|
+
let t = c.filterValueSelectedMetadataMap.value[G.value] || [], n = /* @__PURE__ */ new Map();
|
|
9087
9087
|
for (let e of t) e && n.set(e.value, e);
|
|
9088
9088
|
for (let t of e) {
|
|
9089
9089
|
if (t.state !== "selected") continue;
|
|
9090
9090
|
let e = et(t);
|
|
9091
9091
|
e && n.set(e.value, e);
|
|
9092
9092
|
}
|
|
9093
|
-
c.filterValueSelectedMetadataMap.value[
|
|
9093
|
+
c.filterValueSelectedMetadataMap.value[G.value] = [...n.values()];
|
|
9094
9094
|
}, nt = () => {
|
|
9095
9095
|
let e = /* @__PURE__ */ new Set();
|
|
9096
|
-
for (let t of
|
|
9096
|
+
for (let t of Ee.value) {
|
|
9097
9097
|
if (t.state !== "selected") continue;
|
|
9098
9098
|
let n = et(t);
|
|
9099
9099
|
n && e.add(n.value);
|
|
9100
9100
|
}
|
|
9101
|
-
return [...e].filter((e) => !
|
|
9101
|
+
return [...e].filter((e) => !U.value.includes(e));
|
|
9102
9102
|
}, rt = (e) => {
|
|
9103
|
-
let n = g(
|
|
9103
|
+
let n = g(G.value, e), r = (n?.children?.length ?? 0) > 0 || (n?.totalChildCount ?? 0) > 0, i = he.value ? "suggestions" : null;
|
|
9104
9104
|
n?.isPreference && (i = "preferences");
|
|
9105
|
-
let a = null, o =
|
|
9106
|
-
l ? a =
|
|
9105
|
+
let a = null, o = ze(e) || "", l = n?.matchedValue;
|
|
9106
|
+
l ? a = Q(n, n?.subText, o) : n?.subText ? a = n.subText : Pe(n) && Z.value && !r && (a = He(Pe(n)));
|
|
9107
9107
|
let u, f, p;
|
|
9108
9108
|
if (r && (u = (n.children ?? []).map((e) => {
|
|
9109
|
-
let t = e.matchedValue ?? e.menuOption?.searchText, n =
|
|
9109
|
+
let t = e.matchedValue ?? e.menuOption?.searchText, n = Re(e.value, e) || "";
|
|
9110
9110
|
return {
|
|
9111
9111
|
...e.menuOption,
|
|
9112
9112
|
id: e.value,
|
|
9113
9113
|
text: n,
|
|
9114
9114
|
searchText: t,
|
|
9115
|
-
subText:
|
|
9115
|
+
subText: Q(e, e.subText, n),
|
|
9116
9116
|
subduedText: e.subduedText,
|
|
9117
|
-
disabled: e.menuOption?.disabled ??
|
|
9117
|
+
disabled: e.menuOption?.disabled ?? Ve(e.value),
|
|
9118
9118
|
context: e,
|
|
9119
9119
|
classList: e.menuOption?.classList ?? ["option-label"]
|
|
9120
9120
|
};
|
|
@@ -9125,23 +9125,23 @@ var Tl = /* @__PURE__ */ function(e) {
|
|
|
9125
9125
|
let r = n?.offset ?? u.length, i = await c.filterStoreHandler.value({
|
|
9126
9126
|
api: s.value,
|
|
9127
9127
|
colDef: t.value,
|
|
9128
|
-
field:
|
|
9128
|
+
field: G.value,
|
|
9129
9129
|
filterModel: d.value ?? void 0,
|
|
9130
|
-
query:
|
|
9130
|
+
query: se.value || void 0,
|
|
9131
9131
|
offset: r,
|
|
9132
9132
|
parentId: e,
|
|
9133
9133
|
reason: "child-load-more"
|
|
9134
9134
|
});
|
|
9135
9135
|
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 =
|
|
9136
|
+
let t = e.matchedValue ?? e.menuOption?.searchText, n = Re(e.value, e) || "";
|
|
9137
9137
|
return {
|
|
9138
9138
|
...e.menuOption,
|
|
9139
9139
|
id: e.value,
|
|
9140
9140
|
text: n,
|
|
9141
9141
|
searchText: t,
|
|
9142
|
-
subText:
|
|
9142
|
+
subText: Q(e, e.subText, n),
|
|
9143
9143
|
subduedText: e.subduedText,
|
|
9144
|
-
disabled: e.menuOption?.disabled ??
|
|
9144
|
+
disabled: e.menuOption?.disabled ?? Ve(e.value),
|
|
9145
9145
|
context: e,
|
|
9146
9146
|
classList: e.menuOption?.classList ?? ["option-label"]
|
|
9147
9147
|
};
|
|
@@ -9156,7 +9156,7 @@ var Tl = /* @__PURE__ */ function(e) {
|
|
|
9156
9156
|
subduedText: n?.subduedText,
|
|
9157
9157
|
subText: a || void 0,
|
|
9158
9158
|
groupingLabel: i || "",
|
|
9159
|
-
disabled: n?.menuOption?.disabled ?? (r ? !1 :
|
|
9159
|
+
disabled: n?.menuOption?.disabled ?? (r ? !1 : Ve(e)),
|
|
9160
9160
|
context: n || { value: e || "" },
|
|
9161
9161
|
classList: n?.menuOption?.classList ?? ["option-label"],
|
|
9162
9162
|
children: u,
|
|
@@ -9164,46 +9164,46 @@ var Tl = /* @__PURE__ */ function(e) {
|
|
|
9164
9164
|
handleSeeMore: p
|
|
9165
9165
|
};
|
|
9166
9166
|
}, it = r(() => {
|
|
9167
|
-
let e = [...
|
|
9168
|
-
return e.filter((t, n) => e.indexOf(t) === n).filter((e) => e != null && e !== "").filter((e) => !
|
|
9167
|
+
let e = [...Z.value ? nt() : H.value.filter((e) => e != null && e !== "" && !U.value.includes(e)), ...U.value];
|
|
9168
|
+
return e.filter((t, n) => e.indexOf(t) === n).filter((e) => e != null && e !== "").filter((e) => !Be(e)).map(rt);
|
|
9169
9169
|
}), at = r({
|
|
9170
|
-
get: () =>
|
|
9171
|
-
let t = g(
|
|
9170
|
+
get: () => Z.value ? [] : H.value.map((e) => {
|
|
9171
|
+
let t = g(G.value, e), n = Pe(t), r = n ? He(n) : void 0;
|
|
9172
9172
|
return {
|
|
9173
9173
|
id: e,
|
|
9174
|
-
text:
|
|
9174
|
+
text: ze(e),
|
|
9175
9175
|
subText: r,
|
|
9176
9176
|
context: t || { value: e || "" }
|
|
9177
9177
|
};
|
|
9178
9178
|
}),
|
|
9179
9179
|
set: (e) => {
|
|
9180
|
-
if (
|
|
9181
|
-
if (e.length === 0 && !
|
|
9180
|
+
if (Z.value) {
|
|
9181
|
+
if (e.length === 0 && !le.value && k.value && !q.value) {
|
|
9182
9182
|
mt([]);
|
|
9183
9183
|
return;
|
|
9184
9184
|
}
|
|
9185
9185
|
i?.();
|
|
9186
9186
|
return;
|
|
9187
9187
|
}
|
|
9188
|
-
|
|
9189
|
-
!
|
|
9188
|
+
H.value = e.map((e) => e.id), (e.length === 0 && !le.value || !k.value || q.value) && (st(), z.value.forEach((e) => {
|
|
9189
|
+
!H.value.includes(e) && ne.value === G.value && te(e);
|
|
9190
9190
|
})), i?.();
|
|
9191
9191
|
}
|
|
9192
9192
|
}), ot = (e) => {
|
|
9193
9193
|
let t = {};
|
|
9194
9194
|
for (let n of e) {
|
|
9195
9195
|
if (n === null) continue;
|
|
9196
|
-
let e =
|
|
9196
|
+
let e = Pe(g(G.value, n)) || G.value;
|
|
9197
9197
|
t[e] || (t[e] = []), t[e].push(n);
|
|
9198
9198
|
}
|
|
9199
9199
|
return t;
|
|
9200
9200
|
}, st = async (e, n, r) => {
|
|
9201
9201
|
if (!s.value) return;
|
|
9202
9202
|
if (e !== void 0 && n !== void 0) {
|
|
9203
|
-
let r = e ||
|
|
9204
|
-
if (
|
|
9203
|
+
let r = e || G.value, i = n;
|
|
9204
|
+
if (ie.value) {
|
|
9205
9205
|
let e = Jl(r, i || []);
|
|
9206
|
-
if (
|
|
9206
|
+
if (q.value) {
|
|
9207
9207
|
let t = f.value;
|
|
9208
9208
|
f.value = mu(t, e, r), j(new Set([r]));
|
|
9209
9209
|
return;
|
|
@@ -9214,7 +9214,7 @@ var Tl = /* @__PURE__ */ function(e) {
|
|
|
9214
9214
|
}), j(new Set([r]));
|
|
9215
9215
|
return;
|
|
9216
9216
|
}
|
|
9217
|
-
if (
|
|
9217
|
+
if (q.value) {
|
|
9218
9218
|
let e = await ou(s.value, t.value, i);
|
|
9219
9219
|
f.value = {
|
|
9220
9220
|
...f.value,
|
|
@@ -9228,10 +9228,10 @@ var Tl = /* @__PURE__ */ function(e) {
|
|
|
9228
9228
|
});
|
|
9229
9229
|
return;
|
|
9230
9230
|
}
|
|
9231
|
-
let i = ot(
|
|
9232
|
-
if (
|
|
9233
|
-
let e =
|
|
9234
|
-
if (
|
|
9231
|
+
let i = ot(H.value), o = $(t.value);
|
|
9232
|
+
if (ie.value) {
|
|
9233
|
+
let e = q.value ? f.value : s.value.getAdvancedFilterModel(), n = e;
|
|
9234
|
+
if (Z.value) {
|
|
9235
9235
|
let e = Il(t.value), r = [];
|
|
9236
9236
|
for (let t of e) {
|
|
9237
9237
|
let e = i[t] || [];
|
|
@@ -9254,8 +9254,8 @@ var Tl = /* @__PURE__ */ function(e) {
|
|
|
9254
9254
|
} : e;
|
|
9255
9255
|
}
|
|
9256
9256
|
} else {
|
|
9257
|
-
let t =
|
|
9258
|
-
n = mu(n, r,
|
|
9257
|
+
let t = H.value.length > 0 ? H.value : null, r = Jl(G.value, t || []);
|
|
9258
|
+
n = mu(n, r, G.value);
|
|
9259
9259
|
let i = !1;
|
|
9260
9260
|
if (a?.value) {
|
|
9261
9261
|
let e = o.filterGroup?.fields ?? [];
|
|
@@ -9267,12 +9267,12 @@ var Tl = /* @__PURE__ */ function(e) {
|
|
|
9267
9267
|
n = mu(n, r, t);
|
|
9268
9268
|
}
|
|
9269
9269
|
}
|
|
9270
|
-
let s =
|
|
9270
|
+
let s = H.value.filter((e) => e !== null), c = gu(G.value, e), l = new Set(c), u = new Set(s);
|
|
9271
9271
|
if (!(l.size !== u.size || s.some((e) => !l.has(e))) && !i) return;
|
|
9272
9272
|
}
|
|
9273
9273
|
if (r?.skipIfUnchanged && pu(e, n)) return;
|
|
9274
|
-
let c =
|
|
9275
|
-
if (
|
|
9274
|
+
let c = Z.value ? we() : new Set([G.value]);
|
|
9275
|
+
if (q.value) f.value = n, j(c);
|
|
9276
9276
|
else {
|
|
9277
9277
|
let e = n;
|
|
9278
9278
|
v(() => {
|
|
@@ -9281,56 +9281,56 @@ var Tl = /* @__PURE__ */ function(e) {
|
|
|
9281
9281
|
}
|
|
9282
9282
|
return;
|
|
9283
9283
|
}
|
|
9284
|
-
let c =
|
|
9284
|
+
let c = H.value.length > 0 ? H.value : null;
|
|
9285
9285
|
if (r?.skipIfUnchanged) {
|
|
9286
9286
|
let e = su(t.value, s.value.getFilterModel());
|
|
9287
|
-
if (
|
|
9287
|
+
if (Te(H.value, e)) return;
|
|
9288
9288
|
}
|
|
9289
|
-
if (
|
|
9289
|
+
if (q.value) {
|
|
9290
9290
|
let e = await ou(s.value, t.value, c);
|
|
9291
9291
|
f.value = {
|
|
9292
9292
|
...f.value,
|
|
9293
|
-
[
|
|
9293
|
+
[G.value]: e
|
|
9294
9294
|
};
|
|
9295
9295
|
return;
|
|
9296
9296
|
}
|
|
9297
9297
|
let l = await ou(s.value, t.value, c);
|
|
9298
|
-
s.value.setColumnFilterModel(
|
|
9298
|
+
s.value.setColumnFilterModel(G.value, l).then(() => {
|
|
9299
9299
|
s.value && s.value.onFilterChanged();
|
|
9300
9300
|
});
|
|
9301
9301
|
}, ct = (e, n) => {
|
|
9302
|
-
if (e &&
|
|
9303
|
-
let r = n || Il(t.value)[0] ||
|
|
9304
|
-
|
|
9302
|
+
if (e && me.value ? H.value = [e] : e && !H.value.includes(e) && (H.value = [...H.value, e]), Z.value && e) {
|
|
9303
|
+
let r = n || Il(t.value)[0] || G.value, i = e.startsWith("__") ? e : Ze(r, e) || e;
|
|
9304
|
+
Ee.value.find((e) => e.id === i) || (Ee.value = [...Ee.value, {
|
|
9305
9305
|
id: i,
|
|
9306
9306
|
state: "selected"
|
|
9307
9307
|
}]);
|
|
9308
9308
|
}
|
|
9309
|
-
(!k.value ||
|
|
9309
|
+
(!k.value || q.value) && (Z.value && e ? mt(Ee.value) : n && n !== G.value ? st(n, [e]) : st()), i?.();
|
|
9310
9310
|
}, lt = (e, n) => {
|
|
9311
|
-
if (
|
|
9312
|
-
let r = n || Il(t.value)[0] ||
|
|
9313
|
-
|
|
9311
|
+
if (H.value = H.value.filter((t) => t !== e), Z.value && e) {
|
|
9312
|
+
let r = n || Il(t.value)[0] || G.value, i = e.startsWith("__") ? e : Ze(r, e) || e;
|
|
9313
|
+
Ee.value = Ee.value.filter((e) => e.id !== i);
|
|
9314
9314
|
}
|
|
9315
|
-
(!k.value ||
|
|
9315
|
+
(!k.value || q.value) && (Z.value && e ? mt(Ee.value) : n && n !== G.value ? st(n, null) : st()), i?.();
|
|
9316
9316
|
}, ut = () => {
|
|
9317
|
-
|
|
9317
|
+
de.value = je(S(G.value)), le.value = !0;
|
|
9318
9318
|
}, dt = () => {
|
|
9319
|
-
|
|
9319
|
+
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
9320
|
}, ft = async (e) => {
|
|
9321
9321
|
if (!s.value) return;
|
|
9322
|
-
let n =
|
|
9323
|
-
r && (
|
|
9322
|
+
let n = U.value.length, r = !e.parentId;
|
|
9323
|
+
r && (J.value = !0);
|
|
9324
9324
|
try {
|
|
9325
9325
|
await l(t.value, {
|
|
9326
9326
|
api: s.value,
|
|
9327
9327
|
filterModel: d.value ?? void 0,
|
|
9328
9328
|
offset: e.offset ?? n,
|
|
9329
9329
|
parentId: e.parentId,
|
|
9330
|
-
useStaged:
|
|
9330
|
+
useStaged: q.value
|
|
9331
9331
|
});
|
|
9332
9332
|
} finally {
|
|
9333
|
-
r && (
|
|
9333
|
+
r && (J.value = !1);
|
|
9334
9334
|
}
|
|
9335
9335
|
}, pt = (e, n) => Xs({
|
|
9336
9336
|
baseModel: n,
|
|
@@ -9338,139 +9338,139 @@ var Tl = /* @__PURE__ */ function(e) {
|
|
|
9338
9338
|
options: Je(),
|
|
9339
9339
|
state: e
|
|
9340
9340
|
}), mt = (e, n) => {
|
|
9341
|
-
if (!s.value || !
|
|
9341
|
+
if (!s.value || !Z.value) return !1;
|
|
9342
9342
|
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 (
|
|
9343
|
+
if (n?.skipIfUnchanged && r === De.value) return Ee.value = e, !1;
|
|
9344
|
+
if (Ee.value = e, tt(e), Il(t.value).length === 0) return !1;
|
|
9345
|
+
let a = q.value ? f.value : s.value.getAdvancedFilterModel(), o = pt(e, a);
|
|
9346
|
+
if (n?.skipIfUnchanged && pu(a, o)) return De.value = r, !1;
|
|
9347
|
+
if (q.value) f.value = o;
|
|
9348
9348
|
else {
|
|
9349
9349
|
let e = o;
|
|
9350
9350
|
v(() => {
|
|
9351
9351
|
s.value?.setAdvancedFilterModel(e);
|
|
9352
9352
|
});
|
|
9353
9353
|
}
|
|
9354
|
-
return
|
|
9354
|
+
return De.value = r, j(we()), i?.(), !0;
|
|
9355
9355
|
}, ht = (e) => {
|
|
9356
|
-
if (!
|
|
9356
|
+
if (!Z.value || !Il(t.value).length) return;
|
|
9357
9357
|
let n = Qs({
|
|
9358
9358
|
colDef: t.value,
|
|
9359
9359
|
model: e,
|
|
9360
9360
|
options: Je()
|
|
9361
9361
|
}), r = JSON.stringify(n);
|
|
9362
|
-
JSON.stringify(
|
|
9363
|
-
}, gt = () =>
|
|
9362
|
+
JSON.stringify(Ee.value) !== r && (Ee.value = n), De.value = r, tt(n);
|
|
9363
|
+
}, gt = () => Z.value ? Ee.value.some((e) => {
|
|
9364
9364
|
let { field: t, value: n } = Ge(e.id);
|
|
9365
9365
|
return t ? Ze(t, n) !== e.id : !1;
|
|
9366
9366
|
}) : !1, _t = () => {
|
|
9367
|
-
!
|
|
9367
|
+
!Z.value || !ie.value || gt() && ht(d.value);
|
|
9368
9368
|
};
|
|
9369
|
-
return B(
|
|
9370
|
-
|
|
9371
|
-
}, { deep: !0 }), B(() => E.value[
|
|
9372
|
-
e &&
|
|
9369
|
+
return B(Ee, (e) => {
|
|
9370
|
+
Z.value && (tt(e), !(k.value && !q.value) && mt(e));
|
|
9371
|
+
}, { deep: !0 }), B(() => E.value[G.value], (e) => {
|
|
9372
|
+
e && oe.value && Me(!0);
|
|
9373
9373
|
}), B(() => f.value, () => {
|
|
9374
|
-
if (
|
|
9375
|
-
if (
|
|
9374
|
+
if (q.value) {
|
|
9375
|
+
if (ie.value) {
|
|
9376
9376
|
let e = [], n = f.value;
|
|
9377
|
-
if (
|
|
9377
|
+
if (Z.value) {
|
|
9378
9378
|
let r = Il(t.value);
|
|
9379
9379
|
for (let t of r) {
|
|
9380
9380
|
let r = gu(t, n);
|
|
9381
9381
|
e.push(...r);
|
|
9382
9382
|
}
|
|
9383
|
-
} else e = gu(
|
|
9384
|
-
|
|
9383
|
+
} else e = gu(G.value, n);
|
|
9384
|
+
H.value = e;
|
|
9385
9385
|
return;
|
|
9386
9386
|
}
|
|
9387
|
-
|
|
9387
|
+
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
9388
|
}
|
|
9389
9389
|
}), B(() => d.value, () => {
|
|
9390
|
-
if (
|
|
9391
|
-
if (
|
|
9392
|
-
|
|
9390
|
+
if (q.value) return;
|
|
9391
|
+
if (Z.value) {
|
|
9392
|
+
ie.value && ht(d.value);
|
|
9393
9393
|
return;
|
|
9394
9394
|
}
|
|
9395
|
-
if (
|
|
9396
|
-
let e = d.value, t = gu(
|
|
9397
|
-
|
|
9395
|
+
if (ie.value) {
|
|
9396
|
+
let e = d.value, t = gu(G.value, e);
|
|
9397
|
+
ke(H.value.some((e) => e !== null && !t.includes(e)));
|
|
9398
9398
|
return;
|
|
9399
9399
|
}
|
|
9400
9400
|
let e = su(t.value, d.value);
|
|
9401
|
-
|
|
9401
|
+
ke(H.value.some((t) => !e.includes(t)));
|
|
9402
9402
|
}, { deep: !0 }), B(() => p.value, () => {
|
|
9403
|
-
|
|
9403
|
+
H.value = [], Ee.value = [], De.value = "[]";
|
|
9404
9404
|
}), B(() => s.value, (e) => {
|
|
9405
|
-
e && y.value && (E.value[
|
|
9405
|
+
e && y.value && (E.value[G.value] = !0);
|
|
9406
9406
|
}, { immediate: !0 }), B(() => V.value, async () => {
|
|
9407
|
-
|
|
9408
|
-
await
|
|
9409
|
-
}, 2e3) : await
|
|
9410
|
-
}),
|
|
9411
|
-
if (
|
|
9412
|
-
u(
|
|
9407
|
+
oe.value && (q.value ? setTimeout(async () => {
|
|
9408
|
+
await Me(!0);
|
|
9409
|
+
}, 2e3) : await Me(!0)), ke();
|
|
9410
|
+
}), ue(() => se.value, async () => {
|
|
9411
|
+
if (W.value) {
|
|
9412
|
+
u(G.value);
|
|
9413
9413
|
return;
|
|
9414
9414
|
}
|
|
9415
|
-
await
|
|
9415
|
+
await Me(!0, !0);
|
|
9416
9416
|
}, { debounce: 300 }), w(() => {
|
|
9417
|
-
N(
|
|
9417
|
+
N(G.value);
|
|
9418
9418
|
let e = Il(t.value);
|
|
9419
|
-
if (e.length && M(
|
|
9420
|
-
let e =
|
|
9419
|
+
if (e.length && M(G.value, e), ke(), Z.value && ie.value && ht(d.value), o?.value && y.value && s.value) {
|
|
9420
|
+
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
9421
|
e && n && l(t.value, {
|
|
9422
9422
|
api: s.value,
|
|
9423
9423
|
filterModel: d.value ?? void 0
|
|
9424
9424
|
});
|
|
9425
9425
|
}
|
|
9426
|
-
|
|
9426
|
+
Z.value || $(t.value).metadataDisplayFields?.length && H.value.some((e) => Be(e)) && Me(!0, !0);
|
|
9427
9427
|
}), T(() => {
|
|
9428
|
-
P(
|
|
9428
|
+
P(G.value), k.value && !q.value && (Z.value ? mt(Ee.value, { skipIfUnchanged: !0 }) : st(void 0, void 0, { skipIfUnchanged: !0 }));
|
|
9429
9429
|
}), {
|
|
9430
|
-
selectedValues:
|
|
9431
|
-
filterValues:
|
|
9432
|
-
isLoading:
|
|
9433
|
-
isSeeMoreLoading:
|
|
9434
|
-
filterSearchText:
|
|
9430
|
+
selectedValues: H,
|
|
9431
|
+
filterValues: U,
|
|
9432
|
+
isLoading: ae,
|
|
9433
|
+
isSeeMoreLoading: J,
|
|
9434
|
+
filterSearchText: se,
|
|
9435
9435
|
filterSearchMinLength: A,
|
|
9436
|
-
belowFilterSearchMinLength:
|
|
9436
|
+
belowFilterSearchMinLength: W,
|
|
9437
9437
|
rowsLoading: re,
|
|
9438
9438
|
gridApi: s,
|
|
9439
|
-
filterField:
|
|
9440
|
-
filterType:
|
|
9441
|
-
filterDisplayName:
|
|
9442
|
-
isInFilterPanel:
|
|
9443
|
-
maxSelectableValues:
|
|
9444
|
-
isSingleSelect:
|
|
9445
|
-
selectionLimitReached:
|
|
9446
|
-
suggestedValues:
|
|
9439
|
+
filterField: G,
|
|
9440
|
+
filterType: K,
|
|
9441
|
+
filterDisplayName: ce,
|
|
9442
|
+
isInFilterPanel: q,
|
|
9443
|
+
maxSelectableValues: pe,
|
|
9444
|
+
isSingleSelect: me,
|
|
9445
|
+
selectionLimitReached: xe,
|
|
9446
|
+
suggestedValues: Se,
|
|
9447
9447
|
displayedFilterValues: it,
|
|
9448
9448
|
selectedFilterValues: at,
|
|
9449
|
-
showSearchBar:
|
|
9449
|
+
showSearchBar: _e,
|
|
9450
9450
|
filterSearchPlaceholder: Ue,
|
|
9451
|
-
emptyFilterResultsRenderer:
|
|
9452
|
-
filterOptionsRenderer:
|
|
9453
|
-
filterHeaderRenderer:
|
|
9454
|
-
filterFooterRenderer:
|
|
9455
|
-
filterOptionsSortDescription:
|
|
9456
|
-
filterOptionsSortTooltip:
|
|
9457
|
-
totalOptionCount:
|
|
9458
|
-
hasMoreOptions:
|
|
9459
|
-
isAggregate:
|
|
9460
|
-
cascadeSelectionState:
|
|
9451
|
+
emptyFilterResultsRenderer: ve,
|
|
9452
|
+
filterOptionsRenderer: ye,
|
|
9453
|
+
filterHeaderRenderer: Y,
|
|
9454
|
+
filterFooterRenderer: be,
|
|
9455
|
+
filterOptionsSortDescription: he,
|
|
9456
|
+
filterOptionsSortTooltip: ge,
|
|
9457
|
+
totalOptionCount: X,
|
|
9458
|
+
hasMoreOptions: Ce,
|
|
9459
|
+
isAggregate: Z,
|
|
9460
|
+
cascadeSelectionState: Ee,
|
|
9461
9461
|
filterValueContext: g,
|
|
9462
|
-
formatDisplayValue:
|
|
9463
|
-
resolvedFilterValueContext:
|
|
9464
|
-
isUnresolvedMetadataValue:
|
|
9465
|
-
getLatestFilterValues:
|
|
9462
|
+
formatDisplayValue: ze,
|
|
9463
|
+
resolvedFilterValueContext: Ne,
|
|
9464
|
+
isUnresolvedMetadataValue: Be,
|
|
9465
|
+
getLatestFilterValues: Me,
|
|
9466
9466
|
addSelectedValue: ct,
|
|
9467
9467
|
removeSelectedValue: lt,
|
|
9468
9468
|
handleDropdownOpen: ut,
|
|
9469
9469
|
handleDropdownClosed: dt,
|
|
9470
9470
|
handleSeeMore: ft,
|
|
9471
9471
|
handleCascadeSelectionState: mt,
|
|
9472
|
-
getColDisplayNameForField:
|
|
9473
|
-
disableFilterValue:
|
|
9472
|
+
getColDisplayNameForField: He,
|
|
9473
|
+
disableFilterValue: Ve,
|
|
9474
9474
|
updateFilterModelWithSelectedValues: st
|
|
9475
9475
|
};
|
|
9476
9476
|
}, Mu = ({ alignment: e, useTeleport: t = !0, popoverCssProperties: n } = {}) => {
|
|
@@ -9609,13 +9609,13 @@ var Tl = /* @__PURE__ */ function(e) {
|
|
|
9609
9609
|
T(() => {
|
|
9610
9610
|
x.value = !1, _.value.clear(), b.value.clear();
|
|
9611
9611
|
});
|
|
9612
|
-
let
|
|
9612
|
+
let H = r(() => _.value.size);
|
|
9613
9613
|
return n({
|
|
9614
9614
|
openForTest: () => {
|
|
9615
9615
|
P(), x.value = !0;
|
|
9616
9616
|
},
|
|
9617
9617
|
selectedValues: _
|
|
9618
|
-
}), (e, n) =>
|
|
9618
|
+
}), (e, n) => ie((E(), o("div", {
|
|
9619
9619
|
ref_key: "triggerWrapper",
|
|
9620
9620
|
ref: S,
|
|
9621
9621
|
style: { "padding-bottom": "4px" },
|
|
@@ -9630,7 +9630,7 @@ var Tl = /* @__PURE__ */ function(e) {
|
|
|
9630
9630
|
id: C.value.label,
|
|
9631
9631
|
text: C.value.label,
|
|
9632
9632
|
"class-list": ["pv-menu-nested"],
|
|
9633
|
-
"secondary-text":
|
|
9633
|
+
"secondary-text": H.value || void 0
|
|
9634
9634
|
}, null, 8, [
|
|
9635
9635
|
"id",
|
|
9636
9636
|
"text",
|
|
@@ -9689,7 +9689,7 @@ var Tl = /* @__PURE__ */ function(e) {
|
|
|
9689
9689
|
}, null, 8, ["disabled"])) : a("", !0)
|
|
9690
9690
|
]),
|
|
9691
9691
|
_: 1
|
|
9692
|
-
}, 8, ["class", "css-custom-properties"])], 32)), [[I(
|
|
9692
|
+
}, 8, ["class", "css-custom-properties"])], 32)), [[I(J), [R, { ignore: [".pv-popover"] }]]]);
|
|
9693
9693
|
}
|
|
9694
9694
|
}), Ru = {
|
|
9695
9695
|
key: 0,
|
|
@@ -9754,68 +9754,68 @@ var Tl = /* @__PURE__ */ function(e) {
|
|
|
9754
9754
|
"handle-settings-icon"
|
|
9755
9755
|
],
|
|
9756
9756
|
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:
|
|
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: 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
9758
|
filterColDef: F(d, "filterColDef"),
|
|
9759
9759
|
filterStyle: F(d, "filterStyle"),
|
|
9760
9760
|
onSelectionChanged: () => f("filter-selection-changed"),
|
|
9761
9761
|
filterGroupStagedFields: x,
|
|
9762
9762
|
readOnly: F(d, "readOnly")
|
|
9763
|
-
}), { handleFocusUpdate:
|
|
9763
|
+
}), { handleFocusUpdate: ye, isFocused: Y, removeFocus: be, isFocusable: xe, canRemoveFocus: Se } = ml(), X = (e) => {
|
|
9764
9764
|
if (e.context?.metadata?.rawValue != null) return String(e.context.metadata.rawValue);
|
|
9765
9765
|
if (e.id.startsWith("__")) {
|
|
9766
9766
|
let t = e.id.slice(2).split("__");
|
|
9767
9767
|
if (t.length >= 2) return t[1];
|
|
9768
9768
|
}
|
|
9769
9769
|
return e.id;
|
|
9770
|
-
},
|
|
9771
|
-
if (
|
|
9770
|
+
}, Ce = r(() => {
|
|
9771
|
+
if (xe(Rl(d.filterColDef) ? Il(d.filterColDef) : [L.value])) return {
|
|
9772
9772
|
icon: "focus",
|
|
9773
|
-
isDisabled: (e) => !
|
|
9773
|
+
isDisabled: (e) => !xe([e.context?.colField || L.value]),
|
|
9774
9774
|
tooltipText: (e) => {
|
|
9775
9775
|
let t = e.context?.colField || L.value;
|
|
9776
|
-
if (!
|
|
9777
|
-
let n =
|
|
9778
|
-
return n && !
|
|
9776
|
+
if (!xe([t])) return `Group by ${me(t)} to enable ${d.focusText}`;
|
|
9777
|
+
let n = Y(_e.value ? X(e) : e.id, t);
|
|
9778
|
+
return n && !Se() ? `${d.focusText} (required)` : n ? `Remove ${d.focusText}` : `Select as ${d.focusText}`;
|
|
9779
9779
|
},
|
|
9780
9780
|
action: (e) => {
|
|
9781
|
-
e && !C.value.includes(e.id) &&
|
|
9781
|
+
e && !C.value.includes(e.id) && ue(e.id, e.context?.colField);
|
|
9782
9782
|
let t = e.context?.colField || L.value;
|
|
9783
|
-
|
|
9783
|
+
ye(_e.value ? X(e) : e.id, t);
|
|
9784
9784
|
},
|
|
9785
9785
|
alwaysShow: (e) => {
|
|
9786
9786
|
let t = e.context?.colField || L.value;
|
|
9787
|
-
return
|
|
9787
|
+
return Y(_e.value ? X(e) : e.id, t);
|
|
9788
9788
|
}
|
|
9789
9789
|
};
|
|
9790
|
-
}),
|
|
9790
|
+
}), Z = (e) => {
|
|
9791
9791
|
if (!e) return null;
|
|
9792
|
-
if (!
|
|
9793
|
-
let t =
|
|
9792
|
+
if (!_e.value) return e;
|
|
9793
|
+
let t = ce(e);
|
|
9794
9794
|
if (t?.metadata?.rawValue != null) return String(t.metadata.rawValue);
|
|
9795
9795
|
if (e.startsWith("__")) {
|
|
9796
9796
|
let t = e.slice(2).split("__");
|
|
9797
9797
|
if (t.length >= 2) return t[1];
|
|
9798
9798
|
}
|
|
9799
9799
|
return e;
|
|
9800
|
-
},
|
|
9801
|
-
|
|
9802
|
-
let t =
|
|
9803
|
-
|
|
9804
|
-
},
|
|
9805
|
-
|
|
9806
|
-
},
|
|
9800
|
+
}, we = (e) => {
|
|
9801
|
+
J(e);
|
|
9802
|
+
let t = ce(e)?.colField || L.value, n = Z(e);
|
|
9803
|
+
Y(n, t) && Se() && be(n);
|
|
9804
|
+
}, Te = m(Yc, O(!1)), Ee = r(() => !!$(d.filterColDef).filterGroup && Te.value), De = () => {
|
|
9805
|
+
de(), le(!0);
|
|
9806
|
+
}, Oe = () => {
|
|
9807
9807
|
v(() => {
|
|
9808
|
-
|
|
9808
|
+
fe(), f("filter-closed");
|
|
9809
9809
|
});
|
|
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 && (!
|
|
9810
|
+
}, ke = (e) => {
|
|
9811
|
+
let t = ce(e)?.colField || L.value;
|
|
9812
|
+
return Y(Z(e), t);
|
|
9813
|
+
}, Ae = r(() => S.value > 0 ? !0 : _e.value ? ve.value.length > 0 : C.value.length > 0);
|
|
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(q)(n) ? a("", !0) : (E(), o("li", zu, [u(ts, {
|
|
9815
|
+
label: I(K)(n) || "",
|
|
9816
|
+
showClear: !e.readOnly && (!ke(n) || I(Se)()),
|
|
9817
9817
|
disabled: e.readOnly,
|
|
9818
|
-
onHandleClose: (e) =>
|
|
9818
|
+
onHandleClose: (e) => we(n)
|
|
9819
9819
|
}, null, 8, [
|
|
9820
9820
|
"label",
|
|
9821
9821
|
"showClear",
|
|
@@ -9827,22 +9827,22 @@ var Tl = /* @__PURE__ */ function(e) {
|
|
|
9827
9827
|
readOnly: e.readOnly,
|
|
9828
9828
|
searchInput: I(D),
|
|
9829
9829
|
"onUpdate:searchInput": r[2] ||= (e) => h(D) ? D.value = e : null,
|
|
9830
|
-
selectionState: I(
|
|
9831
|
-
"onUpdate:selectionState": r[3] ||= (e) => h(
|
|
9830
|
+
selectionState: I(ve),
|
|
9831
|
+
"onUpdate:selectionState": r[3] ||= (e) => h(ve) ? ve.value = e : null,
|
|
9832
9832
|
"data-horizontal-filter-field": I(z) ? void 0 : I(L),
|
|
9833
9833
|
label: I(z) ? "" : I(R),
|
|
9834
9834
|
highlightSearchText: !0,
|
|
9835
9835
|
icon: I(z) && !e.readOnly ? "add-circle" : void 0,
|
|
9836
9836
|
variant: I(z) ? "ghost" : "secondary",
|
|
9837
|
-
counterPosition: !I(z) &&
|
|
9837
|
+
counterPosition: !I(z) && Ae.value ? void 0 : "none",
|
|
9838
9838
|
showClear: !I(z),
|
|
9839
9839
|
showSearchInput: I(B),
|
|
9840
|
-
searchPlaceholder: I(
|
|
9840
|
+
searchPlaceholder: I(ie),
|
|
9841
9841
|
showDropdown: !I(z),
|
|
9842
9842
|
overlayTrigger: I(z),
|
|
9843
9843
|
options: I(ne),
|
|
9844
|
-
optionsRenderer: I(
|
|
9845
|
-
optionsAction:
|
|
9844
|
+
optionsRenderer: I(U),
|
|
9845
|
+
optionsAction: Ce.value,
|
|
9846
9846
|
popoverCssProperties: {
|
|
9847
9847
|
maxHeight: "400px",
|
|
9848
9848
|
maxWidth: I(z) ? "300px" : "400px",
|
|
@@ -9854,21 +9854,21 @@ var Tl = /* @__PURE__ */ function(e) {
|
|
|
9854
9854
|
groupings: ["preferences", "suggestions"],
|
|
9855
9855
|
isLoading: I(w),
|
|
9856
9856
|
isSeeMoreLoading: I(T),
|
|
9857
|
-
hasMoreOptions: I(
|
|
9858
|
-
totalOptionCount: I(
|
|
9859
|
-
enableCascadeSelection: I(
|
|
9860
|
-
enableChildExpansion: I(
|
|
9861
|
-
parentSelectsAllChildren: I(
|
|
9862
|
-
countSelectedParents: I(
|
|
9857
|
+
hasMoreOptions: I(he),
|
|
9858
|
+
totalOptionCount: I(ge),
|
|
9859
|
+
enableCascadeSelection: I(_e),
|
|
9860
|
+
enableChildExpansion: I(_e),
|
|
9861
|
+
parentSelectsAllChildren: I(_e),
|
|
9862
|
+
countSelectedParents: I(_e),
|
|
9863
9863
|
additionalCounter: S.value,
|
|
9864
9864
|
slotContext: {
|
|
9865
9865
|
gridApi: I(ee),
|
|
9866
9866
|
filterColDef: e.filterColDef,
|
|
9867
9867
|
rowsLoading: I(N)
|
|
9868
9868
|
},
|
|
9869
|
-
onDropdownOpen:
|
|
9870
|
-
onDropdownClosed:
|
|
9871
|
-
onSeeMore: I(
|
|
9869
|
+
onDropdownOpen: De,
|
|
9870
|
+
onDropdownClosed: Oe,
|
|
9871
|
+
onSeeMore: I(pe)
|
|
9872
9872
|
}, c({
|
|
9873
9873
|
preferences: V(() => [s("div", Vu, [r[5] ||= s("p", { class: "pv-text-subdued pv-text-body-xxs" }, "Your Preferences", -1), u(I(Ti), {
|
|
9874
9874
|
variant: "dark",
|
|
@@ -9892,38 +9892,38 @@ var Tl = /* @__PURE__ */ function(e) {
|
|
|
9892
9892
|
"use-teleport": !0,
|
|
9893
9893
|
style: { "--max-width": "200px" }
|
|
9894
9894
|
}, c({
|
|
9895
|
-
trigger: V(() => [s("p", { class: y(["pv-text-subdued pv-text-body-xxs", I(
|
|
9895
|
+
trigger: V(() => [s("p", { class: y(["pv-text-subdued pv-text-body-xxs", I(W) ? "suggested-title-label" : ""]) }, P(I(se)), 3)]),
|
|
9896
9896
|
_: 2
|
|
9897
|
-
}, [I(
|
|
9897
|
+
}, [I(W) ? {
|
|
9898
9898
|
name: "content",
|
|
9899
|
-
fn: V(() => [l(P(I(
|
|
9899
|
+
fn: V(() => [l(P(I(W)), 1)]),
|
|
9900
9900
|
key: "0"
|
|
9901
9901
|
} : void 0]), 1024)])]),
|
|
9902
9902
|
_: 2
|
|
9903
9903
|
}, [
|
|
9904
|
-
I(
|
|
9904
|
+
I(ae) || Ee.value || I(j) ? {
|
|
9905
9905
|
name: "header",
|
|
9906
9906
|
fn: V((t) => [
|
|
9907
9907
|
I(j) ? (E(), o("p", Bu, " Type " + P(I(A)) + " or more characters to search ", 1)) : a("", !0),
|
|
9908
|
-
|
|
9908
|
+
Ee.value ? (E(), i(Lu, {
|
|
9909
9909
|
key: 1,
|
|
9910
9910
|
ref_key: "filterGroupMenuRef",
|
|
9911
9911
|
ref: g,
|
|
9912
9912
|
class: "pv-stack-8",
|
|
9913
9913
|
"filter-col-def": e.filterColDef
|
|
9914
9914
|
}, null, 8, ["filter-col-def"])) : a("", !0),
|
|
9915
|
-
I(
|
|
9915
|
+
I(ae) ? (E(), i(M(I(ae)), b(_({ key: 2 }, t)), null, 16)) : a("", !0)
|
|
9916
9916
|
]),
|
|
9917
9917
|
key: "0"
|
|
9918
9918
|
} : void 0,
|
|
9919
|
-
I(
|
|
9919
|
+
I(H) ? {
|
|
9920
9920
|
name: "no-results",
|
|
9921
|
-
fn: V((e) => [(E(), i(M(I(
|
|
9921
|
+
fn: V((e) => [(E(), i(M(I(H)), b(p(e)), null, 16))]),
|
|
9922
9922
|
key: "1"
|
|
9923
9923
|
} : void 0,
|
|
9924
|
-
I(
|
|
9924
|
+
I(oe) ? {
|
|
9925
9925
|
name: "footer",
|
|
9926
|
-
fn: V((e) => [(E(), i(M(I(
|
|
9926
|
+
fn: V((e) => [(E(), i(M(I(oe)), b(p(e)), null, 16))]),
|
|
9927
9927
|
key: "2"
|
|
9928
9928
|
} : void 0
|
|
9929
9929
|
]), 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 +9934,11 @@ var Tl = /* @__PURE__ */ function(e) {
|
|
|
9934
9934
|
"use-teleport": !0,
|
|
9935
9935
|
style: { "--max-width": "200px" }
|
|
9936
9936
|
}, c({
|
|
9937
|
-
trigger: V(() => [s("li", Ku, [s("p", { class: y(["pv-text-subdued pv-text-body-md", I(
|
|
9937
|
+
trigger: V(() => [s("li", Ku, [s("p", { class: y(["pv-text-subdued pv-text-body-md", I(W) ? "suggested-title-label" : ""]) }, " Suggested: ", 2)])]),
|
|
9938
9938
|
_: 2
|
|
9939
|
-
}, [I(
|
|
9939
|
+
}, [I(W) ? {
|
|
9940
9940
|
name: "content",
|
|
9941
|
-
fn: V(() => [l(P(I(
|
|
9941
|
+
fn: V(() => [l(P(I(W)), 1)]),
|
|
9942
9942
|
key: "0"
|
|
9943
9943
|
} : void 0]), 1024), (E(!0), o(t, null, k(I(te).filter((e) => e !== "" && e != null).slice(0, qu), (e) => (E(), o("li", {
|
|
9944
9944
|
key: `${I(R)}-${e}-suggest`,
|
|
@@ -9949,8 +9949,8 @@ var Tl = /* @__PURE__ */ function(e) {
|
|
|
9949
9949
|
}
|
|
9950
9950
|
}, [u(I(ds), {
|
|
9951
9951
|
disabled: I(w),
|
|
9952
|
-
label: I(
|
|
9953
|
-
onHandleClick: (t) => I(
|
|
9952
|
+
label: I(K)(e) || "",
|
|
9953
|
+
onHandleClick: (t) => I(ue)(e, I(G)(I(L), e)?.colField)
|
|
9954
9954
|
}, null, 8, [
|
|
9955
9955
|
"disabled",
|
|
9956
9956
|
"label",
|
|
@@ -10042,12 +10042,12 @@ var Tl = /* @__PURE__ */ function(e) {
|
|
|
10042
10042
|
}
|
|
10043
10043
|
}, { clearAllFocuses: re } = ml(), B = () => {
|
|
10044
10044
|
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
|
-
},
|
|
10045
|
+
}, ie = () => {
|
|
10046
10046
|
w.value = !1, D.value = "";
|
|
10047
|
+
}, H = () => {
|
|
10048
|
+
b(), g.value = null, ie();
|
|
10047
10049
|
}, 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();
|
|
10050
|
+
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
10051
|
};
|
|
10052
10052
|
return (e, r) => (E(), o(t, null, [s("div", Yu, [
|
|
10053
10053
|
(E(!0), o(t, null, k(ee.value, (s) => (E(), o(t, { key: s.field }, [I(n) ? (E(), i(Ju, {
|
|
@@ -10090,7 +10090,7 @@ var Tl = /* @__PURE__ */ function(e) {
|
|
|
10090
10090
|
"onUpdate:modelValue": r[9] ||= (e) => w.value = e,
|
|
10091
10091
|
class: "pv-drawer pv-surface",
|
|
10092
10092
|
"close-on-click-outside": !0,
|
|
10093
|
-
onClickOutside: r[10] ||= (e) =>
|
|
10093
|
+
onClickOutside: r[10] ||= (e) => U(),
|
|
10094
10094
|
style: {
|
|
10095
10095
|
"max-width": "450px",
|
|
10096
10096
|
"z-index": "10"
|
|
@@ -10099,7 +10099,7 @@ var Tl = /* @__PURE__ */ function(e) {
|
|
|
10099
10099
|
header: V(() => [s("div", Zu, [s("p", Qu, "All Filters (" + P(N.value.length) + ")", 1), s("button", {
|
|
10100
10100
|
class: "pv-button-ghost",
|
|
10101
10101
|
"aria-label": "Close",
|
|
10102
|
-
onClick: r[2] ||= (e) =>
|
|
10102
|
+
onClick: r[2] ||= (e) => H()
|
|
10103
10103
|
}, [u(I(En), { name: "close" })])]), u(I(qi), {
|
|
10104
10104
|
modelValue: D.value,
|
|
10105
10105
|
"onUpdate:modelValue": r[3] ||= (e) => D.value = e,
|
|
@@ -10109,19 +10109,19 @@ var Tl = /* @__PURE__ */ function(e) {
|
|
|
10109
10109
|
key: 1,
|
|
10110
10110
|
variant: "ghost",
|
|
10111
10111
|
label: "Close",
|
|
10112
|
-
onClick: r[8] ||= (e) =>
|
|
10112
|
+
onClick: r[8] ||= (e) => H()
|
|
10113
10113
|
})) : (E(), o(t, { key: 0 }, [s("button", {
|
|
10114
10114
|
class: "pv-button-ghost",
|
|
10115
10115
|
onClick: r[5] ||= (e) => B()
|
|
10116
10116
|
}, "Clear All"), s("div", ad, [u(I(An), {
|
|
10117
10117
|
variant: "ghost",
|
|
10118
10118
|
label: "Cancel",
|
|
10119
|
-
onClick: r[6] ||= (e) =>
|
|
10119
|
+
onClick: r[6] ||= (e) => H()
|
|
10120
10120
|
}), z.value ? (E(), i(I(An), {
|
|
10121
10121
|
key: 0,
|
|
10122
10122
|
variant: "primary",
|
|
10123
10123
|
label: "Apply",
|
|
10124
|
-
onClick: r[7] ||= (e) =>
|
|
10124
|
+
onClick: r[7] ||= (e) => U()
|
|
10125
10125
|
})) : (E(), i(I(An), {
|
|
10126
10126
|
key: 1,
|
|
10127
10127
|
variant: "primary",
|
|
@@ -10249,7 +10249,7 @@ var Tl = /* @__PURE__ */ function(e) {
|
|
|
10249
10249
|
variant: "ghost",
|
|
10250
10250
|
size: "lg",
|
|
10251
10251
|
label: p.value || "",
|
|
10252
|
-
onClick: t[1] ||=
|
|
10252
|
+
onClick: t[1] ||= H(() => {}, ["stop"])
|
|
10253
10253
|
}, null, 8, [
|
|
10254
10254
|
"modelValue",
|
|
10255
10255
|
"options",
|
|
@@ -10269,7 +10269,7 @@ var Tl = /* @__PURE__ */ function(e) {
|
|
|
10269
10269
|
variant: "ghost",
|
|
10270
10270
|
"left-icon": "menu",
|
|
10271
10271
|
ariaLabel: "Column menu",
|
|
10272
|
-
onClick:
|
|
10272
|
+
onClick: H(N, ["stop", "prevent"])
|
|
10273
10273
|
})], 4)])) : a("", !0)], 4));
|
|
10274
10274
|
}
|
|
10275
10275
|
}), [["__scopeId", "data-v-385ad98a"]]), dd = {
|
|
@@ -10287,13 +10287,13 @@ var Tl = /* @__PURE__ */ function(e) {
|
|
|
10287
10287
|
rangeSelectionBorderStyle: "solid",
|
|
10288
10288
|
menuBackgroundColor: "white",
|
|
10289
10289
|
accentColor: "#36C5BA"
|
|
10290
|
-
}, fd =
|
|
10290
|
+
}, fd = Me.withParams({
|
|
10291
10291
|
...dd,
|
|
10292
10292
|
headerRowBorder: !0,
|
|
10293
10293
|
rowHoverColor: "#F7F8F8",
|
|
10294
10294
|
wrapperBorder: !0,
|
|
10295
10295
|
wrapperBorderRadius: "8px"
|
|
10296
|
-
}), pd =
|
|
10296
|
+
}), pd = Me.withParams({
|
|
10297
10297
|
...dd,
|
|
10298
10298
|
headerRowBorder: !1,
|
|
10299
10299
|
rowHoverColor: "transparent",
|
|
@@ -10304,7 +10304,7 @@ var Tl = /* @__PURE__ */ function(e) {
|
|
|
10304
10304
|
rowHeight: "50px"
|
|
10305
10305
|
}), md = {
|
|
10306
10306
|
"pv-data-table-base": fd,
|
|
10307
|
-
"pv-data-table-grouped":
|
|
10307
|
+
"pv-data-table-grouped": Me.withParams({
|
|
10308
10308
|
...dd,
|
|
10309
10309
|
headerRowBorder: !0,
|
|
10310
10310
|
rowHoverColor: "#F7F8F8",
|
|
@@ -10338,7 +10338,7 @@ var Tl = /* @__PURE__ */ function(e) {
|
|
|
10338
10338
|
class: "pv-icon-24"
|
|
10339
10339
|
}, [s("title", null, "ellipsis"), s("use", { "xlink:href": "#ellipsis" })])], -1), s("div", gd, [s("button", {
|
|
10340
10340
|
class: "pv-button pv-text-body-sm pv-inset-square-8",
|
|
10341
|
-
onClick:
|
|
10341
|
+
onClick: H(i, ["prevent"]),
|
|
10342
10342
|
disabled: r.value
|
|
10343
10343
|
}, [r.value ? (E(), o(t, { key: 0 }, [l("Exporting...")], 64)) : (E(), o(t, { key: 1 }, [l("Download CSV")], 64))], 8, _d)])]));
|
|
10344
10344
|
}
|
|
@@ -10349,7 +10349,7 @@ var Tl = /* @__PURE__ */ function(e) {
|
|
|
10349
10349
|
__name: "PaginationPanel",
|
|
10350
10350
|
props: { panelSize: { default: "xl" } },
|
|
10351
10351
|
setup(e) {
|
|
10352
|
-
|
|
10352
|
+
X.registerModules([be]);
|
|
10353
10353
|
let n = m(Dc, O(null)), a = m(Lc, O(1)), s = m(Rc, O(0)), c = e, l = r(() => {
|
|
10354
10354
|
let e = s.value, t = a.value;
|
|
10355
10355
|
if (e <= 7) return Array.from({ length: e }, (e, t) => t + 1);
|
|
@@ -10457,12 +10457,12 @@ var Tl = /* @__PURE__ */ function(e) {
|
|
|
10457
10457
|
};
|
|
10458
10458
|
}), o.value = !1;
|
|
10459
10459
|
};
|
|
10460
|
-
return
|
|
10460
|
+
return ue(r, (e) => {
|
|
10461
10461
|
t.searchStyle === "query-builder" ? g(e) : t.searchStyle === "text" && p(e);
|
|
10462
10462
|
}, {
|
|
10463
10463
|
debounce: 300,
|
|
10464
10464
|
immediate: !0
|
|
10465
|
-
}),
|
|
10465
|
+
}), ue(n, (e) => {
|
|
10466
10466
|
t.searchStyle === "query-builder" && h(e);
|
|
10467
10467
|
}, {
|
|
10468
10468
|
debounce: 300,
|
|
@@ -10694,66 +10694,66 @@ var Tl = /* @__PURE__ */ function(e) {
|
|
|
10694
10694
|
],
|
|
10695
10695
|
setup(e, { expose: t, emit: c }) {
|
|
10696
10696
|
let d = [
|
|
10697
|
-
Me,
|
|
10698
10697
|
Ne,
|
|
10699
|
-
de,
|
|
10700
10698
|
Pe,
|
|
10701
|
-
|
|
10699
|
+
fe,
|
|
10702
10700
|
Fe,
|
|
10703
10701
|
me,
|
|
10704
|
-
he,
|
|
10705
10702
|
Ie,
|
|
10706
|
-
|
|
10703
|
+
he,
|
|
10707
10704
|
ge,
|
|
10708
|
-
|
|
10709
|
-
|
|
10710
|
-
|
|
10711
|
-
|
|
10705
|
+
Le,
|
|
10706
|
+
Re,
|
|
10707
|
+
_e,
|
|
10708
|
+
ye,
|
|
10709
|
+
xe,
|
|
10710
|
+
Be,
|
|
10711
|
+
De,
|
|
10712
10712
|
Ge,
|
|
10713
10713
|
We,
|
|
10714
10714
|
Ke,
|
|
10715
|
-
|
|
10716
|
-
|
|
10717
|
-
we,
|
|
10718
|
-
He,
|
|
10719
|
-
Ue,
|
|
10715
|
+
Ae,
|
|
10716
|
+
Ve,
|
|
10720
10717
|
Te,
|
|
10721
10718
|
Q,
|
|
10722
|
-
|
|
10719
|
+
Ue,
|
|
10720
|
+
Ee,
|
|
10721
|
+
Z,
|
|
10722
|
+
we,
|
|
10723
10723
|
qe,
|
|
10724
|
+
ke,
|
|
10725
|
+
je,
|
|
10726
|
+
pe,
|
|
10724
10727
|
Oe,
|
|
10725
|
-
Ae,
|
|
10726
|
-
fe,
|
|
10727
|
-
De,
|
|
10728
|
-
xe,
|
|
10729
10728
|
Se,
|
|
10730
|
-
|
|
10731
|
-
|
|
10732
|
-
|
|
10729
|
+
Ce,
|
|
10730
|
+
Y,
|
|
10731
|
+
ve,
|
|
10732
|
+
He
|
|
10733
10733
|
];
|
|
10734
|
-
|
|
10734
|
+
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
10735
|
let f = e;
|
|
10736
10736
|
f.debugMode && d.push(Je);
|
|
10737
10737
|
let p = r(() => f.layout ? {} : {
|
|
10738
10738
|
height: f.containerHeight,
|
|
10739
10739
|
minHeight: f.containerMinHeight
|
|
10740
|
-
}), h = r(() => f.theme != null && typeof f.theme != "string"), g = r(() => f.theme && typeof f.theme == "string" ? f.theme :
|
|
10740
|
+
}), 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
10741
|
let t = Il(e), n = e.context;
|
|
10742
10742
|
return Array.from(new Set([
|
|
10743
10743
|
...t,
|
|
10744
10744
|
...n?.queryColIds || [],
|
|
10745
|
-
...t.flatMap((e) =>
|
|
10745
|
+
...t.flatMap((e) => U.find((t) => t.field === e || t.colId === e)?.context?.queryColIds || [])
|
|
10746
10746
|
]));
|
|
10747
10747
|
}, M = (e, t) => {
|
|
10748
10748
|
if (tu(e, t)) return !0;
|
|
10749
|
-
let n =
|
|
10749
|
+
let n = U.find((e) => Ll(e) === t);
|
|
10750
10750
|
return !!n && j(n).some((t) => tu(e, t));
|
|
10751
10751
|
}, F = "serverSideRowHandler" in f && f.serverSideRowHandler ? { getRows: (e) => {
|
|
10752
|
-
if (!
|
|
10753
|
-
e.success({ rowData: [] }),
|
|
10752
|
+
if (!q.value) {
|
|
10753
|
+
e.success({ rowData: [] }), G.value = !0;
|
|
10754
10754
|
return;
|
|
10755
10755
|
}
|
|
10756
|
-
|
|
10756
|
+
K.value = !0;
|
|
10757
10757
|
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
10758
|
if (i > 0 && r === 0) {
|
|
10759
10759
|
let t = e.request.rowGroupCols[0].id;
|
|
@@ -10808,7 +10808,7 @@ var Tl = /* @__PURE__ */ function(e) {
|
|
|
10808
10808
|
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
10809
|
}
|
|
10810
10810
|
}
|
|
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) && !
|
|
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) && !X.tableSearchFilterModelEmpty.value) if (f.enableAdvancedFilter) {
|
|
10812
10812
|
let t = e.request.filterModel;
|
|
10813
10813
|
t ? e.request.filterModel = {
|
|
10814
10814
|
filterType: "join",
|
|
@@ -10817,10 +10817,10 @@ var Tl = /* @__PURE__ */ function(e) {
|
|
|
10817
10817
|
} : e.request.filterModel = s;
|
|
10818
10818
|
} else {
|
|
10819
10819
|
let t = e.request.filterModel;
|
|
10820
|
-
e.request.filterModel = nu(
|
|
10820
|
+
e.request.filterModel = nu(U, t, s);
|
|
10821
10821
|
}
|
|
10822
10822
|
e.success = (e) => {
|
|
10823
|
-
if (
|
|
10823
|
+
if (K.value = !1, f.enableFocusView && ct.value.length > 0 && st.value && e.rowData) {
|
|
10824
10824
|
let n = Al(e.rowData, st.value, ct.value);
|
|
10825
10825
|
if (n) {
|
|
10826
10826
|
e.rowData = n, t(e);
|
|
@@ -10829,11 +10829,11 @@ var Tl = /* @__PURE__ */ function(e) {
|
|
|
10829
10829
|
}
|
|
10830
10830
|
t(e);
|
|
10831
10831
|
}, e.fail = () => {
|
|
10832
|
-
|
|
10832
|
+
K.value = !1, n();
|
|
10833
10833
|
}, f.serverSideRowHandler?.(e);
|
|
10834
10834
|
} } : null, ee = "filterValuesSetHandler" in f && f.filterValuesSetHandler ? async (e) => {
|
|
10835
10835
|
let t = [], n = { ...Ze.value };
|
|
10836
|
-
t = !
|
|
10836
|
+
t = !G.value && oe ? vu(n, e.colDef.field ?? e.colDef.colId ?? "") || [] : await rt(e.colDef, {
|
|
10837
10837
|
api: e.api,
|
|
10838
10838
|
filterModel: n,
|
|
10839
10839
|
useStaged: !1
|
|
@@ -10861,7 +10861,7 @@ var Tl = /* @__PURE__ */ function(e) {
|
|
|
10861
10861
|
component: Ul,
|
|
10862
10862
|
params: e
|
|
10863
10863
|
};
|
|
10864
|
-
if (!e.column?.getColDef().cellRenderer && f.displayRowNumber &&
|
|
10864
|
+
if (!e.column?.getColDef().cellRenderer && f.displayRowNumber && W.value.length === 0) {
|
|
10865
10865
|
let t = e.api.getAllDisplayedColumns() || [], n = e.column;
|
|
10866
10866
|
if (t.findIndex((e) => e === n) === 0) return {
|
|
10867
10867
|
component: wd,
|
|
@@ -10882,12 +10882,12 @@ var Tl = /* @__PURE__ */ function(e) {
|
|
|
10882
10882
|
let t = e.column?.getColId();
|
|
10883
10883
|
if (e.column && bt(e.column) && (t = ft.value?.getColId() || ""), !zt(t)) {
|
|
10884
10884
|
let n = e.api.getColumn(t)?.getColDef();
|
|
10885
|
-
n && (
|
|
10885
|
+
n && (se.value = n, v(() => {
|
|
10886
10886
|
zt(t);
|
|
10887
10887
|
}));
|
|
10888
10888
|
}
|
|
10889
10889
|
}
|
|
10890
|
-
},
|
|
10890
|
+
}, H = (e, t) => {
|
|
10891
10891
|
if (!e) return null;
|
|
10892
10892
|
let n = { ...e }, r = t, i = Il(e);
|
|
10893
10893
|
if (r.devOnly) if (f.devMode) n.hide = !0;
|
|
@@ -10901,39 +10901,39 @@ var Tl = /* @__PURE__ */ function(e) {
|
|
|
10901
10901
|
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
10902
|
}
|
|
10903
10903
|
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
|
-
},
|
|
10904
|
+
}, U = f.colDefs?.map((e) => {
|
|
10905
10905
|
let t = { ...e };
|
|
10906
10906
|
F && ee && ru(e) && (t = iu(e, ee));
|
|
10907
10907
|
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 =
|
|
10908
|
+
return n && (t = H(t, n)), t;
|
|
10909
|
+
}).filter((e) => e != null) || [], ae = new Set(f.colDefs?.map((e) => e.field || e.colId).filter(Boolean) || []);
|
|
10910
|
+
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.`);
|
|
10911
|
+
let oe = Xl(f.initialGridState, U, f.enableAdvancedFilter), se = O(null), W = O([]), G = m(Fc, O(!1)), K = O(!1), ce = r(() => {
|
|
10912
|
+
if (W.value.length > 0) {
|
|
10913
|
+
let e = W.value[0], t = U.find((t) => t.field === e), n = Ze.value, r = !n;
|
|
10914
10914
|
if (!r && wu(n) && (r = !n[e]), r && t?.context?.filterRequiredToGroup) return t.headerName;
|
|
10915
10915
|
}
|
|
10916
10916
|
return null;
|
|
10917
|
-
}),
|
|
10917
|
+
}), 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
10918
|
if (it.value = f.filterValuesSetHandler, it.value) {
|
|
10919
10919
|
let e = (e) => ({
|
|
10920
|
-
hasMore:
|
|
10921
|
-
totalCount:
|
|
10922
|
-
values:
|
|
10920
|
+
hasMore: X.filterHasMoreMap.value[e],
|
|
10921
|
+
totalCount: X.filterTotalCountMap.value[e],
|
|
10922
|
+
values: X.filterOptionsMap.value[e] ?? []
|
|
10923
10923
|
});
|
|
10924
|
-
|
|
10924
|
+
X.setFilterOptionsHandler(async (t) => {
|
|
10925
10925
|
let n = it.value;
|
|
10926
10926
|
return n ? await n({
|
|
10927
10927
|
...t,
|
|
10928
|
-
api:
|
|
10928
|
+
api: J.value ?? void 0,
|
|
10929
10929
|
colDef: t.colDef,
|
|
10930
10930
|
filterModel: t.filterModel
|
|
10931
10931
|
}) ?? e(t.field) : e(t.field);
|
|
10932
10932
|
});
|
|
10933
10933
|
}
|
|
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
|
-
}),
|
|
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 || {}, 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) => {
|
|
10935
|
+
X.filterModelType.value = e ? "advanced" : "regular";
|
|
10936
|
+
}), ue([$e, nt], () => {
|
|
10937
10937
|
T("filter-metadata-changed", {
|
|
10938
10938
|
filterValueMap: $e.value,
|
|
10939
10939
|
filterValueSelectedMetadataMap: nt.value
|
|
@@ -10942,8 +10942,8 @@ var Tl = /* @__PURE__ */ function(e) {
|
|
|
10942
10942
|
deep: !0,
|
|
10943
10943
|
debounce: 250
|
|
10944
10944
|
});
|
|
10945
|
-
let ot = O(null), st = r(() => Xe?.computedFocusType.value || null), ct = r(() => Xe?.computedFocuses.value || []), lt = r(() =>
|
|
10946
|
-
D(wc,
|
|
10945
|
+
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);
|
|
10946
|
+
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
10947
|
let gt = r(() => !f.enableFocusView && !f.rowData || f.enableFocusView && !ct.value.length && !st.value ? f.rowData : Al(f.rowData, st.value, ct.value));
|
|
10948
10948
|
B(() => ct.value, (e) => {
|
|
10949
10949
|
T("focus-update", {
|
|
@@ -10951,27 +10951,27 @@ var Tl = /* @__PURE__ */ function(e) {
|
|
|
10951
10951
|
focuses: e
|
|
10952
10952
|
});
|
|
10953
10953
|
}), B(k, (e) => {
|
|
10954
|
-
if (!
|
|
10955
|
-
let t =
|
|
10956
|
-
t.length > 0 &&
|
|
10954
|
+
if (!J.value) return;
|
|
10955
|
+
let t = U.filter((e) => e.context?.devOnly).map((e) => e.field).filter(Boolean);
|
|
10956
|
+
t.length > 0 && J.value.setColumnsVisible(t, e);
|
|
10957
10957
|
});
|
|
10958
10958
|
let _t = (e) => {
|
|
10959
|
-
|
|
10960
|
-
let t =
|
|
10961
|
-
if (f.hideAllRowGroupedColumns &&
|
|
10959
|
+
J.value = e.api;
|
|
10960
|
+
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 = [];
|
|
10961
|
+
if (f.hideAllRowGroupedColumns && W.value.forEach((e) => i.push(e)), r) {
|
|
10962
10962
|
let t = e.api.getColumn(r);
|
|
10963
10963
|
ft.value = t, i.push(r), Ut(t?.getColDef());
|
|
10964
10964
|
}
|
|
10965
|
-
|
|
10965
|
+
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
10966
|
}, vt = (e) => {
|
|
10967
|
-
if (
|
|
10967
|
+
if (J.value) {
|
|
10968
10968
|
let t = Tt();
|
|
10969
10969
|
pu(Ze.value, t) || (Ze.value = t, T("filter-changed", e));
|
|
10970
10970
|
}
|
|
10971
10971
|
}, yt = (e) => {
|
|
10972
|
-
|
|
10972
|
+
be.value = e.api?.getState()?.sort?.sortModel || [], G.value && T("sort-changed", e);
|
|
10973
10973
|
}, bt = (e) => e.getColId() && e.getColId().includes("ag-Grid-AutoColumn"), xt = O(!1), St = async (e) => {
|
|
10974
|
-
if (!
|
|
10974
|
+
if (!J.value) {
|
|
10975
10975
|
console.error("Grid API not available");
|
|
10976
10976
|
return;
|
|
10977
10977
|
}
|
|
@@ -10980,17 +10980,17 @@ var Tl = /* @__PURE__ */ function(e) {
|
|
|
10980
10980
|
route: [],
|
|
10981
10981
|
purge: !0
|
|
10982
10982
|
};
|
|
10983
|
-
|
|
10983
|
+
J.value.refreshServerSide(t);
|
|
10984
10984
|
};
|
|
10985
10985
|
function Ct(e) {
|
|
10986
|
-
return e?.hydrate ?
|
|
10986
|
+
return e?.hydrate ? X.hydrateSelectedFilterMetadata(U) : nt.value;
|
|
10987
10987
|
}
|
|
10988
10988
|
let wt = async () => {
|
|
10989
|
-
if (xt.value = !0, !
|
|
10989
|
+
if (xt.value = !0, !J.value) return console.error("Grid API not available"), xt.value = !1, null;
|
|
10990
10990
|
try {
|
|
10991
|
-
let e = f.serverSideCsvHandler, t =
|
|
10991
|
+
let e = f.serverSideCsvHandler, t = J.value?.getState(), n = {
|
|
10992
10992
|
rowGroupCols: [],
|
|
10993
|
-
valueCols:
|
|
10993
|
+
valueCols: J.value?.getValueColumns().map((e) => ({
|
|
10994
10994
|
id: e.getId(),
|
|
10995
10995
|
field: e.getColDef().field,
|
|
10996
10996
|
aggFunc: typeof e.getColDef().aggFunc == "string" ? e.getColDef().aggFunc : void 0,
|
|
@@ -11008,7 +11008,7 @@ var Tl = /* @__PURE__ */ function(e) {
|
|
|
11008
11008
|
let e = {
|
|
11009
11009
|
request: n,
|
|
11010
11010
|
parentNode: {},
|
|
11011
|
-
api:
|
|
11011
|
+
api: J.value,
|
|
11012
11012
|
context: void 0,
|
|
11013
11013
|
success: () => {},
|
|
11014
11014
|
fail: () => {}
|
|
@@ -11017,13 +11017,13 @@ var Tl = /* @__PURE__ */ function(e) {
|
|
|
11017
11017
|
}
|
|
11018
11018
|
let r = f.serverSideRowHandler;
|
|
11019
11019
|
return r ? await new Promise((e, t) => {
|
|
11020
|
-
|
|
11020
|
+
J.value?.getState(), r({
|
|
11021
11021
|
request: n,
|
|
11022
11022
|
parentNode: {},
|
|
11023
|
-
api:
|
|
11023
|
+
api: J.value,
|
|
11024
11024
|
context: void 0,
|
|
11025
11025
|
success: (t) => {
|
|
11026
|
-
let n =
|
|
11026
|
+
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
11027
|
...n,
|
|
11028
11028
|
...r,
|
|
11029
11029
|
...i
|
|
@@ -11040,35 +11040,35 @@ var Tl = /* @__PURE__ */ function(e) {
|
|
|
11040
11040
|
xt.value = !1, t("CSV export failed.");
|
|
11041
11041
|
}
|
|
11042
11042
|
}, !0);
|
|
11043
|
-
}) : (console.warn("Client-side export does not return CSV string"), xt.value = !1,
|
|
11043
|
+
}) : (console.warn("Client-side export does not return CSV string"), xt.value = !1, J.value.exportDataAsCsv(), null);
|
|
11044
11044
|
} catch (e) {
|
|
11045
11045
|
return console.error("CSV export failed", e), xt.value = !1, null;
|
|
11046
11046
|
}
|
|
11047
|
-
}, Tt = () =>
|
|
11048
|
-
if (!
|
|
11047
|
+
}, Tt = () => J.value ? f.enableAdvancedFilter ? J.value.getAdvancedFilterModel() : J.value.getFilterModel() : Ze.value, At = (e) => {
|
|
11048
|
+
if (!J.value) return !1;
|
|
11049
11049
|
if (f.enableAdvancedFilter) {
|
|
11050
11050
|
let t = e && wu(e) ? Yl(e) : e;
|
|
11051
|
-
|
|
11051
|
+
J.value.setAdvancedFilterModel(t);
|
|
11052
11052
|
} else {
|
|
11053
11053
|
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
|
-
|
|
11054
|
+
J.value.setFilterModel(e);
|
|
11055
11055
|
}
|
|
11056
11056
|
return !0;
|
|
11057
|
-
}, jt = (e) => (Qe.value = e,
|
|
11057
|
+
}, jt = (e) => (Qe.value = e, J.value ? (J.value.onFilterChanged(), F && J.value.refreshServerSide({ purge: !0 }), !0) : !1), Mt = {
|
|
11058
11058
|
getFilterModel: Tt,
|
|
11059
11059
|
refreshData: St,
|
|
11060
11060
|
setFilterModel: At,
|
|
11061
11061
|
setTableSearchFilterModel: jt
|
|
11062
11062
|
};
|
|
11063
|
-
|
|
11064
|
-
|
|
11063
|
+
X.registerFilterController(Mt), C(() => {
|
|
11064
|
+
X.unregisterFilterController(Mt);
|
|
11065
11065
|
}), t({
|
|
11066
11066
|
getCsvData: wt,
|
|
11067
11067
|
refreshData: St,
|
|
11068
11068
|
getFilterValueSelectedMetadataMap: Ct,
|
|
11069
11069
|
availableRowGroupColumns: ut,
|
|
11070
11070
|
availableAggFuncColumns: dt,
|
|
11071
|
-
rowGroupColumnFields:
|
|
11071
|
+
rowGroupColumnFields: W,
|
|
11072
11072
|
getPvFilterModel: Tt,
|
|
11073
11073
|
setPvFilterModel: At
|
|
11074
11074
|
});
|
|
@@ -11076,16 +11076,16 @@ var Tl = /* @__PURE__ */ function(e) {
|
|
|
11076
11076
|
v(() => {
|
|
11077
11077
|
let t = ft.value, n = e.api.getRowGroupColumns(), r = n.length > 0, i;
|
|
11078
11078
|
if (r && f.leftPinnedColumnName && (i = e.api.getColumn(f.leftPinnedColumnName || "")), r && !f.leftPinnedColumnName && (i = n.find((e) => !e.getColDef().hide), !i)) {
|
|
11079
|
-
let t =
|
|
11079
|
+
let t = U.find((e) => !e.hide && !e.rowGroup)?.field;
|
|
11080
11080
|
t && (i = e.api.getColumn(t));
|
|
11081
11081
|
}
|
|
11082
11082
|
i ? (ft.value = i, Ut(i.getColDef()), e.api.setColumnsVisible([i.getColId()], !1)) : (ft.value = null, Ut(null));
|
|
11083
11083
|
let a = t?.getColId();
|
|
11084
|
-
if ((!i || a !== i.getColId()) && (t?.getColDef()?.hide || e.api.setColumnsVisible([a || ""], !0)),
|
|
11085
|
-
let e =
|
|
11084
|
+
if ((!i || a !== i.getColId()) && (t?.getColDef()?.hide || e.api.setColumnsVisible([a || ""], !0)), W.value = [...n].map((e) => e.getColId()), f.enableFocusView && !Me) {
|
|
11085
|
+
let e = W.value.length > 0 ? W.value[0] : null;
|
|
11086
11086
|
Xe.setFocusType(e);
|
|
11087
11087
|
}
|
|
11088
|
-
|
|
11088
|
+
G.value && T("column-row-group-changed", e);
|
|
11089
11089
|
});
|
|
11090
11090
|
}, Pt = (e) => {
|
|
11091
11091
|
let t = e.column?.getColId() || "";
|
|
@@ -11096,7 +11096,7 @@ var Tl = /* @__PURE__ */ function(e) {
|
|
|
11096
11096
|
}, Ft = (e) => {
|
|
11097
11097
|
f.enableExpandOnRowClick && e.node.group && e.node.setExpanded(!e.node.expanded), T("row-clicked", e);
|
|
11098
11098
|
}, It = (e) => {
|
|
11099
|
-
e.finished && (ot.value = e.api.getAllGridColumns()),
|
|
11099
|
+
e.finished && (ot.value = e.api.getAllGridColumns()), G.value && T("column-moved", e);
|
|
11100
11100
|
}, Lt = (e) => {
|
|
11101
11101
|
e.api && (mt.value = e.api.paginationGetCurrentPage() + 1, ht.value = e.api.paginationGetTotalPages());
|
|
11102
11102
|
}, Rt = (e) => "allChildrenRowCount" in e && e.allChildrenRowCount || 0, zt = (e) => {
|
|
@@ -11123,7 +11123,7 @@ var Tl = /* @__PURE__ */ function(e) {
|
|
|
11123
11123
|
displayCount: f.displayGroupCount,
|
|
11124
11124
|
formattedValue: e.valueFormatted,
|
|
11125
11125
|
rowNode: e.node,
|
|
11126
|
-
api:
|
|
11126
|
+
api: J.value,
|
|
11127
11127
|
focusText: f.focusText,
|
|
11128
11128
|
cellParams: e
|
|
11129
11129
|
})
|
|
@@ -11164,23 +11164,23 @@ var Tl = /* @__PURE__ */ function(e) {
|
|
|
11164
11164
|
"rowUnGroup"
|
|
11165
11165
|
], n = e.column && bt(e.column) ? ft.value : e.column;
|
|
11166
11166
|
return !f.enableInlineFilters && n && n.getColDef().filter && t.splice(2, 0, ne), t.filter((t) => typeof t == "string" ? e.defaultItems.includes(t) : !0);
|
|
11167
|
-
},
|
|
11167
|
+
}, oe && (Ze.value = (f.enableAdvancedFilter ? oe.filter?.advancedFilterModel : oe.filter?.filterModel) || null, W.value = oe.rowGroup?.groupColIds || []);
|
|
11168
11168
|
});
|
|
11169
11169
|
let Kt = (e) => {
|
|
11170
|
-
let t =
|
|
11170
|
+
let t = J.value;
|
|
11171
11171
|
if (!t) return;
|
|
11172
11172
|
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,
|
|
11173
|
+
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
11174
|
};
|
|
11175
11175
|
B(() => f.initialGridState, () => {
|
|
11176
11176
|
if (f.initialGridState) {
|
|
11177
|
-
let e = Xl(f.initialGridState,
|
|
11177
|
+
let e = Xl(f.initialGridState, U, f.enableAdvancedFilter);
|
|
11178
11178
|
e && Kt(e);
|
|
11179
11179
|
}
|
|
11180
11180
|
}, { deep: !0 });
|
|
11181
11181
|
let qt = (e) => {
|
|
11182
|
-
|
|
11183
|
-
}, Jt = (e) => F ? f.isServerSideGroupOpenByDefault ? f.isServerSideGroupOpenByDefault(e) : e.rowNode.level ===
|
|
11182
|
+
G.value = !0, T("first-data-rendered", e);
|
|
11183
|
+
}, Jt = (e) => F ? f.isServerSideGroupOpenByDefault ? f.isServerSideGroupOpenByDefault(e) : e.rowNode.level === W.value.length - 2 : !1, Yt = r(() => {
|
|
11184
11184
|
if (!F) return f.groupDefaultExpanded;
|
|
11185
11185
|
}), Xt = O(null), Zt = O(null);
|
|
11186
11186
|
return (t, r) => (E(), o("div", {
|
|
@@ -11207,7 +11207,7 @@ var Tl = /* @__PURE__ */ function(e) {
|
|
|
11207
11207
|
content: V(() => [...r[11] ||= [l(" Dev Mode ", -1)]]),
|
|
11208
11208
|
_: 1
|
|
11209
11209
|
})) : a("", !0),
|
|
11210
|
-
|
|
11210
|
+
ie(s("div", kd, [s("div", Ad, [(E(), i(n, {
|
|
11211
11211
|
to: e.filterTeleportLocation,
|
|
11212
11212
|
disabled: !e.filterTeleportLocation
|
|
11213
11213
|
}, [lt.value.length > 0 && !f.enableInlineFilters ? (E(), i(sd, {
|
|
@@ -11236,7 +11236,7 @@ var Tl = /* @__PURE__ */ function(e) {
|
|
|
11236
11236
|
key: 1,
|
|
11237
11237
|
getCsvData: wt
|
|
11238
11238
|
})) : a("", !0)])])], 512), [[re, e.enableGroupBySelector || !e.filterTeleportLocation]]),
|
|
11239
|
-
|
|
11239
|
+
ie(s("div", {
|
|
11240
11240
|
ref_key: "advancedFilterParentElement",
|
|
11241
11241
|
ref: Zt,
|
|
11242
11242
|
class: y(["pv-stack-8 pv-text-body-sm", e.hideTable ? "pv-hide" : ""])
|
|
@@ -11247,7 +11247,7 @@ var Tl = /* @__PURE__ */ function(e) {
|
|
|
11247
11247
|
}, [s("div", Md, [e.enableTableSearch ? (E(), i(Td, {
|
|
11248
11248
|
key: 0,
|
|
11249
11249
|
placeholder: e.tableSearchPlaceholder,
|
|
11250
|
-
disabled: !
|
|
11250
|
+
disabled: !q.value,
|
|
11251
11251
|
"search-style": e.tableSearchStyle
|
|
11252
11252
|
}, null, 8, [
|
|
11253
11253
|
"placeholder",
|
|
@@ -11262,7 +11262,7 @@ var Tl = /* @__PURE__ */ function(e) {
|
|
|
11262
11262
|
"min-height": "0",
|
|
11263
11263
|
"overflow-x": "hidden"
|
|
11264
11264
|
}
|
|
11265
|
-
}, [u(I(
|
|
11265
|
+
}, [u(I(de), _({
|
|
11266
11266
|
ref: "gridRef",
|
|
11267
11267
|
class: ["pv-data-table", I(b)],
|
|
11268
11268
|
style: [{
|
|
@@ -11291,7 +11291,7 @@ var Tl = /* @__PURE__ */ function(e) {
|
|
|
11291
11291
|
onUndoStarted: r[10] ||= (e) => T("undo-started", e),
|
|
11292
11292
|
aggFuncs: Gt,
|
|
11293
11293
|
autoGroupColumnDef: Ht.value,
|
|
11294
|
-
columnDefs: I(
|
|
11294
|
+
columnDefs: I(U),
|
|
11295
11295
|
debug: e.debugMode,
|
|
11296
11296
|
defaultColDef: I(R),
|
|
11297
11297
|
getChildCount: Rt,
|
|
@@ -11300,7 +11300,7 @@ var Tl = /* @__PURE__ */ function(e) {
|
|
|
11300
11300
|
getRowStyle: Wt,
|
|
11301
11301
|
groupDefaultExpanded: Yt.value,
|
|
11302
11302
|
groupDisplayType: "singleColumn",
|
|
11303
|
-
initialState: I(
|
|
11303
|
+
initialState: I(oe) || void 0,
|
|
11304
11304
|
isGroupOpenByDefault: I(F) ? void 0 : f.isClientSideGroupOpenByDefault,
|
|
11305
11305
|
isServerSideGroupOpenByDefault: Jt,
|
|
11306
11306
|
includeHiddenColumnsInAdvancedFilter: !0,
|
|
@@ -11340,7 +11340,7 @@ var Tl = /* @__PURE__ */ function(e) {
|
|
|
11340
11340
|
undoRedoCellEditingLimit: e.undoRedoCellEditingLimit,
|
|
11341
11341
|
enableAdvancedFilter: e.enableAdvancedFilter,
|
|
11342
11342
|
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 && !
|
|
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 && !q.value ? (E(), o("div", Nd, [s("p", Pd, P(le.value), 1)])) : a("", !0)], 2),
|
|
11344
11344
|
e.pagination ? (E(), i(bd, { key: 2 })) : a("", !0)
|
|
11345
11345
|
], 4));
|
|
11346
11346
|
}
|
|
@@ -11400,7 +11400,7 @@ var Tl = /* @__PURE__ */ function(e) {
|
|
|
11400
11400
|
}, C = () => {
|
|
11401
11401
|
v.value && (h.value = !0, f.value = document.getElementById("table-config-overlay"), d());
|
|
11402
11402
|
};
|
|
11403
|
-
return (n, r) => (E(), o(t, null, [
|
|
11403
|
+
return (n, r) => (E(), o(t, null, [ie((E(), o("div", zd, [u(da, {
|
|
11404
11404
|
open: m.value,
|
|
11405
11405
|
label: "Table Configuration",
|
|
11406
11406
|
icon: "settings",
|
|
@@ -11443,7 +11443,7 @@ var Tl = /* @__PURE__ */ function(e) {
|
|
|
11443
11443
|
onHandleSelected: S
|
|
11444
11444
|
}, null, 8, ["text", "icon"])])])]),
|
|
11445
11445
|
_: 1
|
|
11446
|
-
}, 8, ["class"])])), [[I(
|
|
11446
|
+
}, 8, ["class"])])), [[I(J), [x, { ignore: [".pv-popover"] }]]]), u(Yo, {
|
|
11447
11447
|
ref_key: "nestedMenuPopoverRef",
|
|
11448
11448
|
ref: g,
|
|
11449
11449
|
class: y({ "pv-hide": !(m.value && h.value) }),
|
|
@@ -11792,7 +11792,7 @@ var df = {
|
|
|
11792
11792
|
let ne = m(zc, O("")), re = r(() => n.chartFilter && n.chartFilter.options ? n.chartFilter.options.map((e) => ({
|
|
11793
11793
|
label: e.label,
|
|
11794
11794
|
value: e.value
|
|
11795
|
-
})) : []),
|
|
11795
|
+
})) : []), H = r(() => {
|
|
11796
11796
|
if (b.value) return (T.value.length > 1 ? [
|
|
11797
11797
|
"bar_stacked",
|
|
11798
11798
|
"line",
|
|
@@ -11821,34 +11821,34 @@ var df = {
|
|
|
11821
11821
|
}
|
|
11822
11822
|
b.value = e[0];
|
|
11823
11823
|
});
|
|
11824
|
-
function
|
|
11824
|
+
function U(e) {
|
|
11825
11825
|
return !!(e.context && typeof e.context == "object" && "description" in e.context);
|
|
11826
11826
|
}
|
|
11827
|
-
let
|
|
11827
|
+
let ae = r(() => N.value.map((e) => ({
|
|
11828
11828
|
id: e.value,
|
|
11829
11829
|
text: e.label,
|
|
11830
11830
|
context: e.description ? { description: e.description } : void 0
|
|
11831
|
-
}))),
|
|
11831
|
+
}))), oe = r(() => ee.value.map((e) => ({
|
|
11832
11832
|
id: e.value,
|
|
11833
11833
|
text: e.label
|
|
11834
|
-
}))),
|
|
11834
|
+
}))), se = r(() => D.value.map((e) => ({
|
|
11835
11835
|
id: e.field || "",
|
|
11836
11836
|
text: e.headerName || e.field || "",
|
|
11837
11837
|
icon: El(e.context?.dataType || null) || "circle-chevron-down"
|
|
11838
|
-
}))),
|
|
11839
|
-
get: () => T.value.map((e) =>
|
|
11838
|
+
}))), W = r({
|
|
11839
|
+
get: () => T.value.map((e) => se.value.find((t) => t.id === e)).filter(Boolean),
|
|
11840
11840
|
set: (e) => {
|
|
11841
11841
|
T.value = e.map((e) => e.id);
|
|
11842
11842
|
}
|
|
11843
|
-
}),
|
|
11843
|
+
}), G = r(() => {
|
|
11844
11844
|
let e = [], t = {
|
|
11845
11845
|
value: "y-axis",
|
|
11846
11846
|
label: "Y Axis",
|
|
11847
11847
|
prefixLabel: "Y Axis",
|
|
11848
11848
|
icon: "chart-bar-decreasing",
|
|
11849
11849
|
allowDeselect: !1,
|
|
11850
|
-
availableOptions:
|
|
11851
|
-
currentOption:
|
|
11850
|
+
availableOptions: ae.value,
|
|
11851
|
+
currentOption: ae.value.find((e) => e.id === M.value),
|
|
11852
11852
|
updateSelectedOption: (e) => {
|
|
11853
11853
|
M && e !== M.value && (M.value = e);
|
|
11854
11854
|
}
|
|
@@ -11858,12 +11858,12 @@ var df = {
|
|
|
11858
11858
|
label: "X Axis",
|
|
11859
11859
|
icon: "align-end-horizontal",
|
|
11860
11860
|
allowDeselect: !1,
|
|
11861
|
-
availableOptions:
|
|
11861
|
+
availableOptions: se.value,
|
|
11862
11862
|
...i ? {
|
|
11863
|
-
activeOptions:
|
|
11863
|
+
activeOptions: W,
|
|
11864
11864
|
activeOptionLimit: n.rowGroupLimit
|
|
11865
11865
|
} : {
|
|
11866
|
-
currentOption:
|
|
11866
|
+
currentOption: se.value.find((e) => e.id === T.value[0]),
|
|
11867
11867
|
updateSelectedOption: (e) => {
|
|
11868
11868
|
T.value = e ? [e] : [];
|
|
11869
11869
|
}
|
|
@@ -11875,7 +11875,7 @@ var df = {
|
|
|
11875
11875
|
allowDeselect: !0,
|
|
11876
11876
|
availableOptions: w.value,
|
|
11877
11877
|
currentOption: w.value.find((e) => e.id === C.value?.id),
|
|
11878
|
-
disabled: !
|
|
11878
|
+
disabled: !H.value,
|
|
11879
11879
|
disabledReason: "Sorting is not available for this chart type",
|
|
11880
11880
|
updateSelectedOption: (e) => {
|
|
11881
11881
|
let t = w.value.find((t) => t.id === e);
|
|
@@ -11897,7 +11897,7 @@ var df = {
|
|
|
11897
11897
|
t && b && (b.value = t);
|
|
11898
11898
|
}
|
|
11899
11899
|
};
|
|
11900
|
-
if (
|
|
11900
|
+
if (ae.value.length > 1 && e.push(t), !r.secondaryYAxis?.hidden && oe.value.length > 0) {
|
|
11901
11901
|
let t = {
|
|
11902
11902
|
value: "secondary-y-axis",
|
|
11903
11903
|
label: "Metric Overlay",
|
|
@@ -11906,8 +11906,8 @@ var df = {
|
|
|
11906
11906
|
allowDeselect: !0,
|
|
11907
11907
|
disabled: j.value,
|
|
11908
11908
|
disabledReason: "Metric overlay is not available for this chart type.",
|
|
11909
|
-
availableOptions:
|
|
11910
|
-
currentOption:
|
|
11909
|
+
availableOptions: oe.value,
|
|
11910
|
+
currentOption: oe.value.find((e) => e.id === F?.value),
|
|
11911
11911
|
updateSelectedOption: (e) => {
|
|
11912
11912
|
F && (!e || F.value === e ? F.value = void 0 : F.value = e);
|
|
11913
11913
|
}
|
|
@@ -11935,31 +11935,31 @@ var df = {
|
|
|
11935
11935
|
n && e.push(n);
|
|
11936
11936
|
}
|
|
11937
11937
|
let c = i ? 2 : 1;
|
|
11938
|
-
return
|
|
11938
|
+
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
11939
|
});
|
|
11940
11940
|
B(v, (e) => {
|
|
11941
11941
|
e && (p.value = e);
|
|
11942
11942
|
});
|
|
11943
|
-
let
|
|
11944
|
-
let t =
|
|
11943
|
+
let K = r(() => _.value && G.value.find((e) => e.value === _.value) || null), ce = (e) => {
|
|
11944
|
+
let t = K.value;
|
|
11945
11945
|
return t ? t.activeOptionIds ? t.activeOptionIds.has(e.id) ? !0 : null : t.currentOption?.id === e.id ? !0 : null : null;
|
|
11946
|
-
},
|
|
11946
|
+
}, q = (e) => K.value?.isMultiSelect ? null : ce(e), le = (e) => K.value?.isMultiSelect ? {
|
|
11947
11947
|
variant: "checkbox",
|
|
11948
11948
|
renderer: mf
|
|
11949
|
-
} :
|
|
11949
|
+
} : U(e) ? { renderer: mf } : { variant: "icon" }, ue = (e) => {
|
|
11950
11950
|
_.value = e, f.value = document.getElementById(`pv-chart-config-${e}`), d();
|
|
11951
|
-
}, ue = () => {
|
|
11952
|
-
g.value = !1, _.value = void 0;
|
|
11953
11951
|
}, de = () => {
|
|
11952
|
+
g.value = !1, _.value = void 0;
|
|
11953
|
+
}, fe = () => {
|
|
11954
11954
|
_.value = void 0;
|
|
11955
11955
|
};
|
|
11956
|
-
return (n, r) => (E(), o(t, null, [s("div", hf, [s("div", null, [
|
|
11956
|
+
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
11957
|
open: g.value,
|
|
11958
11958
|
label: "Chart Configuration",
|
|
11959
11959
|
icon: "chart-area",
|
|
11960
11960
|
disabled: e.readOnly,
|
|
11961
11961
|
onClick: r[0] ||= (t) => e.readOnly ? null : g.value = !g.value,
|
|
11962
|
-
onHandleToggleDropdown:
|
|
11962
|
+
onHandleToggleDropdown: fe
|
|
11963
11963
|
}, null, 8, ["open", "disabled"]), u(Yo, {
|
|
11964
11964
|
class: y({ "pv-hide": !g.value }),
|
|
11965
11965
|
"css-custom-properties": {
|
|
@@ -11975,12 +11975,12 @@ var df = {
|
|
|
11975
11975
|
"padding-top": "4px",
|
|
11976
11976
|
"padding-bottom": "12px"
|
|
11977
11977
|
}
|
|
11978
|
-
}, " Chart Configuration ")], -1), s("ul", _f, [(E(!0), o(t, null, k(
|
|
11978
|
+
}, " Chart Configuration ")], -1), s("ul", _f, [(E(!0), o(t, null, k(G.value, (e) => (E(), o("li", {
|
|
11979
11979
|
id: `pv-chart-config-${e.value}`,
|
|
11980
11980
|
key: e.value,
|
|
11981
11981
|
"data-active": _.value === e.value ? !0 : null,
|
|
11982
|
-
onMouseenter: (t) => e.disabled ? null :
|
|
11983
|
-
onClick: (t) => e.disabled ? null :
|
|
11982
|
+
onMouseenter: (t) => e.disabled ? null : ue(e.value),
|
|
11983
|
+
onClick: (t) => e.disabled ? null : ue(e.value)
|
|
11984
11984
|
}, [u(I(Ti), {
|
|
11985
11985
|
disableInteractive: !0,
|
|
11986
11986
|
useTeleport: !0,
|
|
@@ -12009,7 +12009,7 @@ var df = {
|
|
|
12009
12009
|
key: "0"
|
|
12010
12010
|
} : void 0]), 1024)], 40, vf))), 128))])]),
|
|
12011
12011
|
_: 1
|
|
12012
|
-
}, 8, ["class"])], 64)) : a("", !0)])], 2)), [[I(
|
|
12012
|
+
}, 8, ["class"])], 64)) : a("", !0)])], 2)), [[I(J), [de, { ignore: [".pv-popover"] }]]]), s("div", {
|
|
12013
12013
|
class: "pv-flex pv-space-between",
|
|
12014
12014
|
style: x(e.chartFilter ? {} : { justifyContent: "flex-end" })
|
|
12015
12015
|
}, [e.chartFilter ? (E(), i(Ei, {
|
|
@@ -12017,7 +12017,7 @@ var df = {
|
|
|
12017
12017
|
options: re.value,
|
|
12018
12018
|
modelValue: I(ne),
|
|
12019
12019
|
"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(
|
|
12020
|
+
}, 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
12021
|
key: 0,
|
|
12022
12022
|
label: n.label,
|
|
12023
12023
|
prefixLabel: n.prefixLabel,
|
|
@@ -12065,37 +12065,37 @@ var df = {
|
|
|
12065
12065
|
},
|
|
12066
12066
|
isList: !0
|
|
12067
12067
|
}, {
|
|
12068
|
-
default: V(() => [
|
|
12068
|
+
default: V(() => [K.value ? (E(), o(t, { key: 0 }, [K.value.isSortableList ? (E(), o(t, { key: 0 }, [r[5] ||= s("p", {
|
|
12069
12069
|
class: "pv-text-tertiary pv-text-body-sm pv-stack-4",
|
|
12070
12070
|
style: {
|
|
12071
12071
|
"padding-left": "2px",
|
|
12072
12072
|
"padding-bottom": "6px"
|
|
12073
12073
|
}
|
|
12074
12074
|
}, " Viewing ", -1), u(nf, {
|
|
12075
|
-
modelValue:
|
|
12076
|
-
"onUpdate:modelValue": r[2] ||= (e) =>
|
|
12077
|
-
options:
|
|
12078
|
-
activeOptionLimit:
|
|
12075
|
+
modelValue: K.value.activeOptions.value,
|
|
12076
|
+
"onUpdate:modelValue": r[2] ||= (e) => K.value.activeOptions.value = e,
|
|
12077
|
+
options: K.value.availableOptions || [],
|
|
12078
|
+
activeOptionLimit: K.value.activeOptionLimit,
|
|
12079
12079
|
placeholderText: "Add to X Axis"
|
|
12080
12080
|
}, null, 8, [
|
|
12081
12081
|
"modelValue",
|
|
12082
12082
|
"options",
|
|
12083
12083
|
"activeOptionLimit"
|
|
12084
|
-
])], 64)) : (E(), o("ul", xf, [(E(!0), o(t, null, k(
|
|
12084
|
+
])], 64)) : (E(), o("ul", xf, [(E(!0), o(t, null, k(K.value.availableOptions, (e) => (E(), o("li", {
|
|
12085
12085
|
key: e.id,
|
|
12086
|
-
"data-active":
|
|
12086
|
+
"data-active": q(e)
|
|
12087
12087
|
}, [u(Ja, {
|
|
12088
12088
|
id: e.id,
|
|
12089
|
-
config:
|
|
12089
|
+
config: le(e),
|
|
12090
12090
|
text: e.text,
|
|
12091
12091
|
icon: e.icon,
|
|
12092
12092
|
context: e.context,
|
|
12093
12093
|
disabled: e.disabled,
|
|
12094
|
-
selectedIds:
|
|
12094
|
+
selectedIds: K.value.isMultiSelect ? [...I(L)] : [],
|
|
12095
12095
|
"onUpdate:selectedIds": r[3] ||= (e) => {
|
|
12096
|
-
|
|
12096
|
+
K.value?.updateSelectedOptions?.([...K.value?.availableOptions.filter((t) => e.includes(t.id))]);
|
|
12097
12097
|
},
|
|
12098
|
-
onHandleSelected: (t) =>
|
|
12098
|
+
onHandleSelected: (t) => K.value.updateSelectedOption?.(e.id),
|
|
12099
12099
|
"class-list": ["pv-chart-option pv-flex"]
|
|
12100
12100
|
}, null, 8, [
|
|
12101
12101
|
"id",
|
|
@@ -12331,7 +12331,7 @@ var Tf = { style: {
|
|
|
12331
12331
|
],
|
|
12332
12332
|
setup(e, { expose: n, emit: c }) {
|
|
12333
12333
|
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 =
|
|
12334
|
+
let e = me.value;
|
|
12335
12335
|
return e.yAxis.hidden && e.yAxis.defaultValue ? [{
|
|
12336
12336
|
label: "Count",
|
|
12337
12337
|
value: e.yAxis.defaultValue
|
|
@@ -12382,25 +12382,25 @@ var Tf = { style: {
|
|
|
12382
12382
|
D(Tc, z);
|
|
12383
12383
|
let { setFilterSelectedValues: te } = R, ne = O(!1);
|
|
12384
12384
|
D(Fc, ne);
|
|
12385
|
-
let re = O(l.isTableGrouped),
|
|
12385
|
+
let re = O(l.isTableGrouped), ie = (e) => {
|
|
12386
12386
|
d("table-overlay-change", e);
|
|
12387
|
-
},
|
|
12388
|
-
p.value = e.api, re.value || p.value?.setRowGroupColumns([]),
|
|
12389
|
-
},
|
|
12387
|
+
}, 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) => {
|
|
12388
|
+
p.value = e.api, re.value || p.value?.setRowGroupColumns([]), ze(e.api), d("grid-ready", e);
|
|
12389
|
+
}, se = (e) => {
|
|
12390
12390
|
d("first-data-rendered", e);
|
|
12391
|
-
},
|
|
12391
|
+
}, W = (e) => {
|
|
12392
12392
|
let t = j.value, n = e.api.getRowGroupColumns().map((e) => e.getColId());
|
|
12393
12393
|
if (re.value && JSON.stringify(t) !== JSON.stringify(n)) {
|
|
12394
|
-
let t =
|
|
12395
|
-
if (n.length >
|
|
12396
|
-
let t = n.slice(0,
|
|
12394
|
+
let t = me.value;
|
|
12395
|
+
if (n.length > he.value) {
|
|
12396
|
+
let t = n.slice(0, he.value);
|
|
12397
12397
|
j.value = t, e.api.setRowGroupColumns(t);
|
|
12398
12398
|
} else j.value = n;
|
|
12399
|
-
t.yAxis.defaultValue && (
|
|
12399
|
+
t.yAxis.defaultValue && (Y.value = t.yAxis.defaultValue);
|
|
12400
12400
|
}
|
|
12401
12401
|
d("column-row-group-changed", e);
|
|
12402
|
-
},
|
|
12403
|
-
|
|
12402
|
+
}, G = async (e) => {
|
|
12403
|
+
ze(e.api), ne.value && d("filter-changed", e);
|
|
12404
12404
|
};
|
|
12405
12405
|
B(() => j.value, () => {
|
|
12406
12406
|
if (re.value) {
|
|
@@ -12413,18 +12413,18 @@ var Tf = { style: {
|
|
|
12413
12413
|
p?.value?.setRowGroupColumns([]);
|
|
12414
12414
|
});
|
|
12415
12415
|
if (!l.allFieldsAreFocusable) {
|
|
12416
|
-
let e =
|
|
12416
|
+
let e = me.value.supportsFocusView && N.value || null;
|
|
12417
12417
|
z.setFocusType(e);
|
|
12418
12418
|
}
|
|
12419
|
-
p.value &&
|
|
12419
|
+
p.value && ze(p.value);
|
|
12420
12420
|
});
|
|
12421
|
-
function
|
|
12421
|
+
function K(e, t, n = !0) {
|
|
12422
12422
|
return (r) => {
|
|
12423
|
-
if (r.data =
|
|
12424
|
-
let i = "", a =
|
|
12423
|
+
if (r.data = ve.value?.find((t) => t[e] === r.value), r.value === 123e-6) return "";
|
|
12424
|
+
let i = "", a = q(e);
|
|
12425
12425
|
if (l.truncateLabelValues && n && a && Pl(a) && !isNaN(Number(r.value))) {
|
|
12426
|
-
if (
|
|
12427
|
-
let e = r.datum?.[N.value], t =
|
|
12426
|
+
if (Ne.value) {
|
|
12427
|
+
let e = r.datum?.[N.value], t = ye.value?.find((t) => t[N.value] === e)?.[`${Y.value}_sort_total`] || Infinity;
|
|
12428
12428
|
if (r.value / t < .05) return "";
|
|
12429
12429
|
}
|
|
12430
12430
|
let { newValue: e, newSuffix: t } = kl(r.value, Tl.Percent === $(a).dataType, Ke.value);
|
|
@@ -12434,17 +12434,17 @@ var Tf = { style: {
|
|
|
12434
12434
|
return t && (o = t(r)), o + i;
|
|
12435
12435
|
};
|
|
12436
12436
|
}
|
|
12437
|
-
let
|
|
12437
|
+
let ce = (e, t = !1) => {
|
|
12438
12438
|
if (!e) return;
|
|
12439
|
-
let n =
|
|
12440
|
-
return n && typeof n.valueFormatter == "function" ?
|
|
12441
|
-
},
|
|
12442
|
-
let n =
|
|
12439
|
+
let n = q(e);
|
|
12440
|
+
return n && typeof n.valueFormatter == "function" ? K(e, n.valueFormatter, t) : K(e, null, t);
|
|
12441
|
+
}, q = (e) => !e || !p.value ? null : p.value?.getColumnDef(e), le = (e, t) => {
|
|
12442
|
+
let n = q(N.value);
|
|
12443
12443
|
return n && typeof n.valueFormatter == "function" ? `${n.valueFormatter({ value: e })} - ${n.valueFormatter({ value: t })}` : `${e} - ${t}`;
|
|
12444
|
-
},
|
|
12445
|
-
let e =
|
|
12444
|
+
}, 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(() => {
|
|
12445
|
+
let e = me.value.xAxis.filterColumns;
|
|
12446
12446
|
return e ? e(k.value) : k.value;
|
|
12447
|
-
}),
|
|
12447
|
+
}), _e = O([{
|
|
12448
12448
|
text: "Ascending",
|
|
12449
12449
|
id: "asc",
|
|
12450
12450
|
icon: "arrow-up-wide-narrow"
|
|
@@ -12452,46 +12452,46 @@ var Tf = { style: {
|
|
|
12452
12452
|
text: "Descending",
|
|
12453
12453
|
id: "desc",
|
|
12454
12454
|
icon: "arrow-down-narrow-wide"
|
|
12455
|
-
}]),
|
|
12456
|
-
D(Dc, p), D(zc,
|
|
12457
|
-
let
|
|
12458
|
-
|
|
12455
|
+
}]), 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("");
|
|
12456
|
+
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);
|
|
12457
|
+
let Te = (e) => {
|
|
12458
|
+
J.value = ue.value.find((t) => t.id === e) ?? ue.value[0];
|
|
12459
12459
|
};
|
|
12460
|
-
B(() =>
|
|
12461
|
-
let e =
|
|
12462
|
-
|
|
12463
|
-
}), B(() => l.chartType, (e) =>
|
|
12464
|
-
e !==
|
|
12465
|
-
}), B(
|
|
12460
|
+
B(() => ue.value, () => {
|
|
12461
|
+
let e = Pe.value, t = e !== pe, n = uf(J.value?.id || ""), r = ue.value.some((e) => e.id === J.value?.id);
|
|
12462
|
+
pe = e, !(r && (!t || !n.storeBeforeChange)) && Te((e ? fe?.value : de?.value) ?? l.chartType);
|
|
12463
|
+
}), B(() => l.chartType, (e) => Te(e)), B(() => l.yKey, (e) => {
|
|
12464
|
+
e !== Y.value && (Y.value = e);
|
|
12465
|
+
}), B(we, (e) => {
|
|
12466
12466
|
if (l.chartFilter && p.value) {
|
|
12467
12467
|
let t = l.chartFilter.colId, n = l.chartFilter.options.find((t) => t.value === e)?.filterValues || null;
|
|
12468
12468
|
n && n.length === 0 && (n = null), te(t, n || []);
|
|
12469
12469
|
let r = ql({
|
|
12470
12470
|
filterType: "set",
|
|
12471
12471
|
values: n
|
|
12472
|
-
},
|
|
12472
|
+
}, q(t));
|
|
12473
12473
|
p.value.setColumnFilterModel(t, r).then(() => {
|
|
12474
12474
|
p.value?.onFilterChanged();
|
|
12475
12475
|
});
|
|
12476
12476
|
}
|
|
12477
12477
|
});
|
|
12478
|
-
let
|
|
12479
|
-
let e = I.value.find((e) => e.value ===
|
|
12478
|
+
let Ee = r(() => {
|
|
12479
|
+
let e = I.value.find((e) => e.value === Y.value);
|
|
12480
12480
|
return e ? e.label : "";
|
|
12481
|
-
}),
|
|
12482
|
-
let e = ee.value.find((e) => e.value ===
|
|
12481
|
+
}), De = r(() => ee.value.find((e) => e.value === be.value)), Oe = r(() => {
|
|
12482
|
+
let e = ee.value.find((e) => e.value === be.value);
|
|
12483
12483
|
return e ? e.label : "";
|
|
12484
|
-
}),
|
|
12485
|
-
let e =
|
|
12486
|
-
if (
|
|
12484
|
+
}), 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(() => {
|
|
12485
|
+
let e = Ne.value, t = me.value.agChartType, n = [], r = ce(Y.value, !0), i = ce(Ce.value?.fieldName, !0);
|
|
12486
|
+
if (Ae.value) Ce.value?.fieldValues.forEach((a) => {
|
|
12487
12487
|
let o = {
|
|
12488
12488
|
type: t,
|
|
12489
12489
|
xKey: N.value,
|
|
12490
|
-
yKey: bo(
|
|
12490
|
+
yKey: bo(Y.value, a),
|
|
12491
12491
|
yName: typeof i == "function" ? i({ value: a }) : a,
|
|
12492
12492
|
stacked: e,
|
|
12493
12493
|
label: {
|
|
12494
|
-
enabled:
|
|
12494
|
+
enabled: Me.value,
|
|
12495
12495
|
color: e ? "white" : "black",
|
|
12496
12496
|
fontFamily: "Inter",
|
|
12497
12497
|
padding: 5,
|
|
@@ -12506,10 +12506,10 @@ var Tf = { style: {
|
|
|
12506
12506
|
let e = {
|
|
12507
12507
|
type: t,
|
|
12508
12508
|
xKey: N.value,
|
|
12509
|
-
yKey:
|
|
12510
|
-
yName:
|
|
12509
|
+
yKey: Y.value,
|
|
12510
|
+
yName: Ee.value,
|
|
12511
12511
|
label: {
|
|
12512
|
-
enabled:
|
|
12512
|
+
enabled: Me.value,
|
|
12513
12513
|
color: "black",
|
|
12514
12514
|
fontFamily: "Inter",
|
|
12515
12515
|
padding: 5,
|
|
@@ -12523,7 +12523,7 @@ var Tf = { style: {
|
|
|
12523
12523
|
let a = {};
|
|
12524
12524
|
if (t === "bar") {
|
|
12525
12525
|
let e = a;
|
|
12526
|
-
e.direction =
|
|
12526
|
+
e.direction = ke.value ? "horizontal" : "vertical", a = e;
|
|
12527
12527
|
} else if (t === "line" || t === "area") {
|
|
12528
12528
|
let e = a;
|
|
12529
12529
|
e.connectMissingData = !0, a = e;
|
|
@@ -12531,39 +12531,39 @@ var Tf = { style: {
|
|
|
12531
12531
|
if (n = n.map((e) => ({
|
|
12532
12532
|
...e,
|
|
12533
12533
|
...a
|
|
12534
|
-
})),
|
|
12534
|
+
})), me.value.yAxis.defaultValue === "groupedRecordCount" && (n = n.map((e) => ({
|
|
12535
12535
|
...e,
|
|
12536
12536
|
tooltip: { renderer: (e) => {
|
|
12537
12537
|
let t = String(e.datum[e.xKey] ?? ""), n = e.datum.bucketMin, r = e.datum.bucketMax;
|
|
12538
|
-
return typeof n == "number" && typeof r == "number" && (t =
|
|
12538
|
+
return typeof n == "number" && typeof r == "number" && (t = le(n, r)), {
|
|
12539
12539
|
title: t,
|
|
12540
12540
|
content: `Count: ${e.datum[e.yKey]}`
|
|
12541
12541
|
};
|
|
12542
12542
|
} }
|
|
12543
|
-
}))),
|
|
12543
|
+
}))), be.value) {
|
|
12544
12544
|
let t;
|
|
12545
|
-
t = e ? `${
|
|
12546
|
-
let r =
|
|
12545
|
+
t = e ? `${be.value}_sort_total` : be.value;
|
|
12546
|
+
let r = q(N.value)?.context?.metadataDisplayFields?.[0] || N.value, i = wf(N.value, r, t, Oe.value, ke.value), a = {
|
|
12547
12547
|
type: "scatter",
|
|
12548
12548
|
id: "metric-overlay",
|
|
12549
12549
|
data: We.value,
|
|
12550
12550
|
...i,
|
|
12551
12551
|
label: { enabled: !1 }
|
|
12552
12552
|
};
|
|
12553
|
-
if (
|
|
12554
|
-
let e =
|
|
12555
|
-
a.tooltip = { renderer:
|
|
12553
|
+
if (De.value?.tooltipRenderer) {
|
|
12554
|
+
let e = De.value.tooltipRenderer;
|
|
12555
|
+
a.tooltip = { renderer: ke.value ? (n) => e({
|
|
12556
12556
|
...n,
|
|
12557
12557
|
xKey: N.value,
|
|
12558
12558
|
xName: r,
|
|
12559
12559
|
yKey: t,
|
|
12560
|
-
yName:
|
|
12560
|
+
yName: Oe.value
|
|
12561
12561
|
}) : e };
|
|
12562
12562
|
}
|
|
12563
12563
|
n = [...n, a];
|
|
12564
12564
|
}
|
|
12565
|
-
if (
|
|
12566
|
-
let e =
|
|
12565
|
+
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) {
|
|
12566
|
+
let e = Q.value.length, t = Number.isFinite(Ke.value) ? Ke.value : 0, r = {
|
|
12567
12567
|
type: "scatter",
|
|
12568
12568
|
xKey: "__dummy_x__",
|
|
12569
12569
|
yKey: "__dummy_y__",
|
|
@@ -12581,16 +12581,16 @@ var Tf = { style: {
|
|
|
12581
12581
|
type: "scatter",
|
|
12582
12582
|
xKey: "__dummy_x__",
|
|
12583
12583
|
yKey: "__dummy_y__",
|
|
12584
|
-
data:
|
|
12585
|
-
let t = it(e.value,
|
|
12584
|
+
data: X.value.flatMap((e) => {
|
|
12585
|
+
let t = it(e.value, Q.value || []);
|
|
12586
12586
|
if (t === null) return [];
|
|
12587
|
-
let n = Number.isFinite(Ke.value) ? Ke.value : 0, r =
|
|
12587
|
+
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
12588
|
return Array.from({ length: 30 }, (r, a) => ({
|
|
12589
12589
|
value: i,
|
|
12590
12590
|
__dummy_x__: t,
|
|
12591
12591
|
__dummy_y__: n / 29 * a,
|
|
12592
12592
|
__dummy_overlay_label__: e.label,
|
|
12593
|
-
[
|
|
12593
|
+
[Y.value]: n
|
|
12594
12594
|
}));
|
|
12595
12595
|
}),
|
|
12596
12596
|
size: 15,
|
|
@@ -12617,41 +12617,41 @@ var Tf = { style: {
|
|
|
12617
12617
|
];
|
|
12618
12618
|
}
|
|
12619
12619
|
return n;
|
|
12620
|
-
}),
|
|
12620
|
+
}), Ie = r(() => I.value.length === 0 ? [] : [{
|
|
12621
12621
|
type: "pie",
|
|
12622
12622
|
legendItemKey: N.value,
|
|
12623
|
-
angleKey:
|
|
12623
|
+
angleKey: Y.value
|
|
12624
12624
|
}]);
|
|
12625
|
-
B(
|
|
12625
|
+
B(Y, (e, t) => {
|
|
12626
12626
|
d("chart-state-changed", {
|
|
12627
12627
|
api: p.value,
|
|
12628
12628
|
newState: { seriesField: e },
|
|
12629
12629
|
oldState: { seriesField: t }
|
|
12630
12630
|
});
|
|
12631
|
-
}), B(
|
|
12631
|
+
}), B(be, (e, t) => {
|
|
12632
12632
|
d("chart-state-changed", {
|
|
12633
12633
|
api: p.value,
|
|
12634
12634
|
newState: { secondarySeriesField: e },
|
|
12635
12635
|
oldState: { secondarySeriesField: t }
|
|
12636
12636
|
});
|
|
12637
|
-
}), B(
|
|
12638
|
-
e?.id && uf(e.id).storeBeforeChange && (
|
|
12637
|
+
}), B(J, (e, t) => {
|
|
12638
|
+
e?.id && uf(e.id).storeBeforeChange && (Pe.value ? fe.value = e.id : de.value = e.id);
|
|
12639
12639
|
let n = uf(e?.id || ""), r = uf(t?.id || "");
|
|
12640
|
-
n.xAxis.filterColumns !== r.xAxis.filterColumns && (j.value = []), n.yAxis.defaultValue ?
|
|
12641
|
-
l.yKey ?
|
|
12640
|
+
n.xAxis.filterColumns !== r.xAxis.filterColumns && (j.value = []), n.yAxis.defaultValue ? Y.value = n.yAxis.defaultValue : r.yAxis.defaultValue && !n.yAxis.defaultValue && v(() => {
|
|
12641
|
+
l.yKey ? Y.value = l.yKey : I.value.length > 0 && (Y.value = I.value[0].value);
|
|
12642
12642
|
}), d("chart-state-changed", {
|
|
12643
12643
|
api: p.value,
|
|
12644
12644
|
newState: { chartType: e?.id },
|
|
12645
12645
|
oldState: { chartType: t?.id }
|
|
12646
12646
|
});
|
|
12647
|
-
}), B(
|
|
12647
|
+
}), B(ge, (e) => {
|
|
12648
12648
|
if (e.length === 1 && j.value.length === 0) {
|
|
12649
12649
|
let t = e[0].field;
|
|
12650
12650
|
t && (j.value = [t]);
|
|
12651
12651
|
}
|
|
12652
12652
|
}), B(I, (e) => {
|
|
12653
|
-
e.length === 1 && !
|
|
12654
|
-
}), B(
|
|
12653
|
+
e.length === 1 && !Y.value && (Y.value = e[0].value);
|
|
12654
|
+
}), B(Z, (e, t) => {
|
|
12655
12655
|
d("chart-state-changed", {
|
|
12656
12656
|
api: p.value,
|
|
12657
12657
|
newState: { chartSort: e?.id },
|
|
@@ -12680,24 +12680,24 @@ var Tf = { style: {
|
|
|
12680
12680
|
z.setFocusType(e?.focusType), z.setFocuses(e?.focuses ?? []);
|
|
12681
12681
|
}
|
|
12682
12682
|
}, { deep: !0 });
|
|
12683
|
-
let
|
|
12684
|
-
|
|
12685
|
-
},
|
|
12683
|
+
let Le = () => {
|
|
12684
|
+
ve.value = [], ye.value = [], Ce.value = null;
|
|
12685
|
+
}, Re = (e, t) => {
|
|
12686
12686
|
if (!e || e.length === 0) {
|
|
12687
|
-
|
|
12687
|
+
Le();
|
|
12688
12688
|
return;
|
|
12689
12689
|
}
|
|
12690
12690
|
if (t) {
|
|
12691
|
-
let { stackedData: n, uniqueFieldValues: r } = So(e, N.value, t,
|
|
12692
|
-
|
|
12691
|
+
let { stackedData: n, uniqueFieldValues: r } = So(e, N.value, t, Be.value, L.value);
|
|
12692
|
+
ye.value = n, Ce.value = {
|
|
12693
12693
|
fieldName: t,
|
|
12694
12694
|
fieldValues: r
|
|
12695
12695
|
};
|
|
12696
|
-
} else
|
|
12697
|
-
|
|
12698
|
-
},
|
|
12696
|
+
} else ye.value = [], Ce.value = null;
|
|
12697
|
+
ve.value = e;
|
|
12698
|
+
}, ze = (e) => {
|
|
12699
12699
|
let t = ++T.value, n = j.value.length;
|
|
12700
|
-
if (
|
|
12700
|
+
if (Le(), C.value = !1, n === 0 || I.value.length === 0 || l.requireFiltersToShowData && R.filterModelEmpty.value) return;
|
|
12701
12701
|
if (l.serverSideChartHandler) {
|
|
12702
12702
|
let e = R.filterModel.value, n = p.value?.getColumnDefs() || [];
|
|
12703
12703
|
if (e === null && l.initialGridState) {
|
|
@@ -12705,13 +12705,13 @@ var Tf = { style: {
|
|
|
12705
12705
|
e = (l.enableAdvancedFilter ? t?.filter?.advancedFilterModel : t?.filter?.filterModel) || {};
|
|
12706
12706
|
}
|
|
12707
12707
|
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() ===
|
|
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() === Y.value || i.has(e.getColId())), o = {
|
|
12709
12709
|
rowGroupCols: r || [],
|
|
12710
12710
|
valueCols: Bl(a || []),
|
|
12711
12711
|
filterModel: e
|
|
12712
12712
|
};
|
|
12713
12713
|
C.value = !0, l.serverSideChartHandler(o).then((e) => {
|
|
12714
|
-
t === T.value && (
|
|
12714
|
+
t === T.value && (Re(e.data, e.stackField), C.value = !1);
|
|
12715
12715
|
}).catch((e) => {
|
|
12716
12716
|
t === T.value && (console.error("Chart handler error:", e), C.value = !1);
|
|
12717
12717
|
});
|
|
@@ -12722,27 +12722,27 @@ var Tf = { style: {
|
|
|
12722
12722
|
if (e.forEachNodeAfterFilterAndSort((e) => {
|
|
12723
12723
|
if (e.group && e.level === 0) {
|
|
12724
12724
|
if (j.value.length > 1) {
|
|
12725
|
-
let { rowData: t, fieldValues: n } =
|
|
12725
|
+
let { rowData: t, fieldValues: n } = He(e, e.childrenAfterFilter?.filter((e) => e.level === 1 && e.aggData) || []);
|
|
12726
12726
|
a = a.union(n), i?.push(t);
|
|
12727
12727
|
}
|
|
12728
|
-
let t =
|
|
12728
|
+
let t = Ve(e);
|
|
12729
12729
|
r?.push(t);
|
|
12730
12730
|
}
|
|
12731
|
-
}),
|
|
12731
|
+
}), ve.value = r, j.value.length > 1 && i && i.length > 0) {
|
|
12732
12732
|
let e = j.value[1] || "";
|
|
12733
|
-
|
|
12733
|
+
ye.value = i, Ce.value = {
|
|
12734
12734
|
fieldName: e,
|
|
12735
12735
|
fieldValues: Array.from(a)
|
|
12736
12736
|
};
|
|
12737
|
-
} else
|
|
12738
|
-
},
|
|
12737
|
+
} else ye.value = [], Ce.value = null;
|
|
12738
|
+
}, Be = r(() => {
|
|
12739
12739
|
let e = I.value, t = ee.value;
|
|
12740
12740
|
return [...new Map([...t, ...e].map((e) => [e.value, e])).values()];
|
|
12741
|
-
}),
|
|
12741
|
+
}), Ve = (e) => {
|
|
12742
12742
|
let t = { [e.field]: e.key };
|
|
12743
|
-
for (let n of
|
|
12743
|
+
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
12744
|
return t;
|
|
12745
|
-
},
|
|
12745
|
+
}, He = (e, t) => {
|
|
12746
12746
|
let n = /* @__PURE__ */ new Set(), r = { [e.field]: e.key }, i = 0;
|
|
12747
12747
|
for (let a of I.value) t.forEach((t) => {
|
|
12748
12748
|
let o = t.key;
|
|
@@ -12759,18 +12759,18 @@ var Tf = { style: {
|
|
|
12759
12759
|
rowData: r,
|
|
12760
12760
|
fieldValues: n
|
|
12761
12761
|
};
|
|
12762
|
-
},
|
|
12763
|
-
let e =
|
|
12764
|
-
if (
|
|
12765
|
-
let n =
|
|
12762
|
+
}, Q = r(() => {
|
|
12763
|
+
let e = Ae.value ? ye.value : ve.value, t = null;
|
|
12764
|
+
if (Z.value && (t = Ae.value ? `${Y.value}${_o}` : Y.value), t && e && Z.value) {
|
|
12765
|
+
let n = Z.value?.id.includes("desc") ? -1 : 1;
|
|
12766
12766
|
e = [...e].sort((e, r) => ((e[t] || 0) - (r[t] || 0)) * n);
|
|
12767
12767
|
}
|
|
12768
12768
|
if (e && e.length === 1 && (e = [
|
|
12769
12769
|
{ [N.value]: "" },
|
|
12770
12770
|
e[0],
|
|
12771
12771
|
{ [N.value]: " " }
|
|
12772
|
-
]), l.enableFocusView && e &&
|
|
12773
|
-
let t = e?.filter((e) =>
|
|
12772
|
+
]), l.enableFocusView && e && ae.value.length > 0 && U.value) {
|
|
12773
|
+
let t = e?.filter((e) => ae.value.includes(e[N.value])), n = e?.filter((e) => !ae.value.includes(e[N.value]));
|
|
12774
12774
|
e = [
|
|
12775
12775
|
...t || [],
|
|
12776
12776
|
{ [N.value]: go },
|
|
@@ -12779,14 +12779,14 @@ var Tf = { style: {
|
|
|
12779
12779
|
}
|
|
12780
12780
|
return e;
|
|
12781
12781
|
}), Ue = new Set(["", " "]), We = r(() => {
|
|
12782
|
-
let e = (
|
|
12782
|
+
let e = (Q.value ?? []).filter((e) => {
|
|
12783
12783
|
let t = e?.[N.value];
|
|
12784
12784
|
return !Ue.has(String(t));
|
|
12785
|
-
}), t =
|
|
12786
|
-
if (!
|
|
12787
|
-
let n =
|
|
12785
|
+
}), t = be.value;
|
|
12786
|
+
if (!Ae.value || !t || !Ce.value) return e;
|
|
12787
|
+
let n = q(t);
|
|
12788
12788
|
if ((typeof n?.aggFunc == "string" ? n.aggFunc : "") === "sum") return e;
|
|
12789
|
-
let r = `${t}${_o}`, i =
|
|
12789
|
+
let r = `${t}${_o}`, i = Ce.value.fieldValues;
|
|
12790
12790
|
return e.map((e) => {
|
|
12791
12791
|
let n = e[r];
|
|
12792
12792
|
if (typeof n != "number") return e;
|
|
@@ -12797,18 +12797,18 @@ var Tf = { style: {
|
|
|
12797
12797
|
[r]: a > 0 ? n / a : null
|
|
12798
12798
|
};
|
|
12799
12799
|
});
|
|
12800
|
-
}), Ge = r(() =>
|
|
12800
|
+
}), 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
12801
|
let e = .25 * Math.exp(-.12 * Ge.value);
|
|
12802
12802
|
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 =
|
|
12803
|
+
}), 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(() => {
|
|
12804
|
+
let e = q(U.value || ""), t = e?.headerName || e?.field || "Compare Field";
|
|
12805
12805
|
return yo({
|
|
12806
12806
|
currentRowGroupColumnsLength: j.value.length,
|
|
12807
|
-
shouldShowFocusOverlayText: nt.value || l.focusRequired &&
|
|
12807
|
+
shouldShowFocusOverlayText: nt.value || l.focusRequired && ae.value.length === 0,
|
|
12808
12808
|
chartDataEmpty: et.value,
|
|
12809
12809
|
missingFocusText: l.missingFocusText,
|
|
12810
12810
|
displayGroupByName: t,
|
|
12811
|
-
yAxisName:
|
|
12811
|
+
yAxisName: Ee.value,
|
|
12812
12812
|
yAxisOptionCount: I.value.length
|
|
12813
12813
|
});
|
|
12814
12814
|
}), it = (e, t) => {
|
|
@@ -12821,22 +12821,22 @@ var Tf = { style: {
|
|
|
12821
12821
|
}
|
|
12822
12822
|
}
|
|
12823
12823
|
return null;
|
|
12824
|
-
}, at = r(() => nt.value ||
|
|
12824
|
+
}, at = r(() => nt.value || H.value || !l.isLoading && rt.value !== ""), ot = r(() => {
|
|
12825
12825
|
let e = {};
|
|
12826
|
-
e.overlays = { noData: { text: "" } }, e.data = at.value ? [] :
|
|
12826
|
+
e.overlays = { noData: { text: "" } }, e.data = at.value ? [] : Q.value, e.legend = {
|
|
12827
12827
|
toggleSeries: !1,
|
|
12828
12828
|
preventHidingAll: !0,
|
|
12829
12829
|
enabled: j.value.length > 1
|
|
12830
12830
|
};
|
|
12831
|
-
let t =
|
|
12832
|
-
if (!
|
|
12833
|
-
let e =
|
|
12834
|
-
return
|
|
12835
|
-
})(), r =
|
|
12831
|
+
let t = Ae.value ? Ce.value?.fieldValues.map((e) => bo(Y.value, e)) || [] : Y.value ? [Y.value] : [], n = (() => {
|
|
12832
|
+
if (!be.value) return [];
|
|
12833
|
+
let e = be.value;
|
|
12834
|
+
return Ne.value ? [`${e}${_o}`] : Ae.value ? Ce.value?.fieldValues.map((t) => bo(e, String(t))) || [] : [e];
|
|
12835
|
+
})(), 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
12836
|
if (a.push({
|
|
12837
12837
|
type: "category",
|
|
12838
12838
|
keys: [N.value],
|
|
12839
|
-
position:
|
|
12839
|
+
position: ke.value ? "left" : "bottom",
|
|
12840
12840
|
crossLines: [{
|
|
12841
12841
|
type: "line",
|
|
12842
12842
|
value: go,
|
|
@@ -12853,9 +12853,9 @@ var Tf = { style: {
|
|
|
12853
12853
|
wrapping: "never",
|
|
12854
12854
|
formatter: r ? () => "" : (e) => {
|
|
12855
12855
|
if (e.value === "--SEPARATOR--") return "";
|
|
12856
|
-
let t = e.value, n =
|
|
12856
|
+
let t = e.value, n = ce(N.value);
|
|
12857
12857
|
typeof n == "function" && (t = n(e));
|
|
12858
|
-
let r = l.enableFocusView &&
|
|
12858
|
+
let r = l.enableFocusView && ae.value.includes(e.value) ? ` (${l.focusText})` : "";
|
|
12859
12859
|
if (typeof t == "string" && t.length + r.length > 50 && !e.context?.tooltip) {
|
|
12860
12860
|
let e = 50 - r.length - 3;
|
|
12861
12861
|
return t.substring(0, e) + "..." + r;
|
|
@@ -12866,12 +12866,12 @@ var Tf = { style: {
|
|
|
12866
12866
|
paddingInner: Ze.value,
|
|
12867
12867
|
paddingOuter: Qe.value,
|
|
12868
12868
|
groupPaddingInner: $e.value
|
|
12869
|
-
}), i &&
|
|
12870
|
-
let e =
|
|
12869
|
+
}), i && X.value.length > 0) {
|
|
12870
|
+
let e = Q.value?.length || 1;
|
|
12871
12871
|
a.push({
|
|
12872
12872
|
type: "number",
|
|
12873
12873
|
keys: ["__dummy_x__"],
|
|
12874
|
-
position:
|
|
12874
|
+
position: ke.value ? "left" : "bottom",
|
|
12875
12875
|
crosshair: { enabled: !1 },
|
|
12876
12876
|
min: -1,
|
|
12877
12877
|
max: e + 1,
|
|
@@ -12880,9 +12880,9 @@ var Tf = { style: {
|
|
|
12880
12880
|
tick: { enabled: !1 },
|
|
12881
12881
|
line: { enabled: !1 },
|
|
12882
12882
|
gridLine: { enabled: !1 },
|
|
12883
|
-
crossLines:
|
|
12884
|
-
if (!
|
|
12885
|
-
let t = it(e.value,
|
|
12883
|
+
crossLines: X.value.map((e) => {
|
|
12884
|
+
if (!Q.value) return null;
|
|
12885
|
+
let t = it(e.value, Q.value);
|
|
12886
12886
|
return t == null ? null : {
|
|
12887
12887
|
type: "line",
|
|
12888
12888
|
value: t,
|
|
@@ -12894,26 +12894,26 @@ var Tf = { style: {
|
|
|
12894
12894
|
}).filter((e) => e !== null)
|
|
12895
12895
|
});
|
|
12896
12896
|
}
|
|
12897
|
-
let o = !!
|
|
12897
|
+
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
12898
|
if (a.push({
|
|
12899
12899
|
type: "number",
|
|
12900
12900
|
keys: t,
|
|
12901
|
-
position:
|
|
12901
|
+
position: ke.value ? "bottom" : "left",
|
|
12902
12902
|
...m ? {
|
|
12903
12903
|
min: 0,
|
|
12904
12904
|
max: f,
|
|
12905
12905
|
nice: !1,
|
|
12906
12906
|
interval: { step: f / 5 }
|
|
12907
12907
|
} : {},
|
|
12908
|
-
label: { formatter:
|
|
12908
|
+
label: { formatter: ce(Y.value) },
|
|
12909
12909
|
title: {
|
|
12910
12910
|
enabled: !0,
|
|
12911
|
-
text:
|
|
12911
|
+
text: Ee.value
|
|
12912
12912
|
}
|
|
12913
12913
|
}), o && a.push({
|
|
12914
12914
|
type: "number",
|
|
12915
12915
|
keys: n,
|
|
12916
|
-
position:
|
|
12916
|
+
position: ke.value ? "top" : "right",
|
|
12917
12917
|
crosshair: { enabled: !1 },
|
|
12918
12918
|
...m ? {
|
|
12919
12919
|
min: 0,
|
|
@@ -12931,10 +12931,10 @@ var Tf = { style: {
|
|
|
12931
12931
|
label: { color: ft },
|
|
12932
12932
|
title: {
|
|
12933
12933
|
enabled: !0,
|
|
12934
|
-
text:
|
|
12934
|
+
text: Oe.value,
|
|
12935
12935
|
color: ft
|
|
12936
12936
|
}
|
|
12937
|
-
}), i &&
|
|
12937
|
+
}), i && X.value.length > 0) {
|
|
12938
12938
|
let e = Number.isFinite(Ke.value) ? Ke.value : 0;
|
|
12939
12939
|
a.push({
|
|
12940
12940
|
type: "number",
|
|
@@ -12950,8 +12950,8 @@ var Tf = { style: {
|
|
|
12950
12950
|
gridLine: { enabled: !1 }
|
|
12951
12951
|
});
|
|
12952
12952
|
}
|
|
12953
|
-
return e.axes = a, e.series =
|
|
12954
|
-
}), st = r(() => C.value || l.isLoading && (!
|
|
12953
|
+
return e.axes = a, e.series = je.value, e;
|
|
12954
|
+
}), 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
12955
|
g.value = e, d("chart-collapsed", e);
|
|
12956
12956
|
}, ut = (e) => {
|
|
12957
12957
|
p.value && (p.value.setRowGroupColumns(e ? j.value : []), re.value = e);
|
|
@@ -12962,7 +12962,7 @@ var Tf = { style: {
|
|
|
12962
12962
|
return n({
|
|
12963
12963
|
getChartImageDataURL: (e) => h.value?.getChartImageDataURL(e),
|
|
12964
12964
|
getCsvData: () => m.value?.getCsvData(),
|
|
12965
|
-
refreshData: (e) => (p.value &&
|
|
12965
|
+
refreshData: (e) => (p.value && ze(p.value), m.value?.refreshData(e)),
|
|
12966
12966
|
getFilterValueSelectedMetadataMap: dt,
|
|
12967
12967
|
getPvFilterModel: () => m.value?.getPvFilterModel(),
|
|
12968
12968
|
setPvFilterModel: (e) => m.value?.setPvFilterModel(e)
|
|
@@ -13004,9 +13004,9 @@ var Tf = { style: {
|
|
|
13004
13004
|
onClick: r[1] ||= (e) => lt(!g.value)
|
|
13005
13005
|
})], 2),
|
|
13006
13006
|
s("div", { class: y(e.hideChart || g.value ? "pv-hide" : "") }, [u(Cf, {
|
|
13007
|
-
enablePanel:
|
|
13007
|
+
enablePanel: Q.value != null && Q.value.length > 0,
|
|
13008
13008
|
chartFilter: e.chartFilter,
|
|
13009
|
-
rowGroupLimit:
|
|
13009
|
+
rowGroupLimit: he.value,
|
|
13010
13010
|
"use-combined-button": l.enableCombinedChartConfigPanel,
|
|
13011
13011
|
"chart-config-options": l.chartConfigPanelOptions,
|
|
13012
13012
|
"read-only": l.chartConfigPanelReadOnly
|
|
@@ -13027,7 +13027,7 @@ var Tf = { style: {
|
|
|
13027
13027
|
"isLoading",
|
|
13028
13028
|
"options",
|
|
13029
13029
|
"enableFocusView"
|
|
13030
|
-
]), s("div", kf, [
|
|
13030
|
+
]), 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
13031
|
])),
|
|
13032
13032
|
u(Fd, _({
|
|
13033
13033
|
ref_key: "pvDataTableRef",
|
|
@@ -13035,12 +13035,12 @@ var Tf = { style: {
|
|
|
13035
13035
|
}, n.$props, {
|
|
13036
13036
|
filterTeleportLocation: x.value ? `#${b}` : void 0,
|
|
13037
13037
|
pagination: e.pagination || !re.value,
|
|
13038
|
-
onColumnRowGroupChanged:
|
|
13039
|
-
onGridReady:
|
|
13040
|
-
onFilterChanged:
|
|
13038
|
+
onColumnRowGroupChanged: W,
|
|
13039
|
+
onGridReady: oe,
|
|
13040
|
+
onFilterChanged: G,
|
|
13041
13041
|
onSortChanged: r[3] ||= (e) => d("sort-changed", e),
|
|
13042
13042
|
onFilterOpened: r[4] ||= (e) => d("filter-opened", e),
|
|
13043
|
-
onFirstDataRendered:
|
|
13043
|
+
onFirstDataRendered: se,
|
|
13044
13044
|
onColumnMoved: r[5] ||= (e) => d("column-moved", e),
|
|
13045
13045
|
onColumnResized: r[6] ||= (e) => d("column-resized", e),
|
|
13046
13046
|
onHandleSettingsIcon: r[7] ||= (e) => d("handle-settings-icon", e),
|
|
@@ -13051,7 +13051,7 @@ var Tf = { style: {
|
|
|
13051
13051
|
groupedModeEnabled: re.value,
|
|
13052
13052
|
tableConfigOptions: l.tableConfigOptions,
|
|
13053
13053
|
onToggleGroup: ut,
|
|
13054
|
-
onTableOverlayChange:
|
|
13054
|
+
onTableOverlayChange: ie
|
|
13055
13055
|
}, null, 8, ["groupedModeEnabled", "tableConfigOptions"])) : (E(), i(An, {
|
|
13056
13056
|
key: 1,
|
|
13057
13057
|
leftIcon: re.value ? "ungroup" : "group",
|