@turquoisehealth/pit-viper 2.162.2-dev.0 → 2.164.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/_src/assets/sprite-v2.svg +1 -1
- package/_src/assets/sprite.svg +1 -1
- package/package.json +1 -1
- package/pv-components/dist/stats/vue/visualizations/stats.html +1 -1
- package/pv-components/dist/vue/visualizations/pv-components-visualizations.mjs +413 -413
- package/pv-components/dist/vue/visualizations/pv-components-visualizations.mjs.map +1 -1
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
(function(){"use strict";try{if(typeof document<"u"){var e=document.createElement("style");e.appendChild(document.createTextNode('.pv-scatter-overlay[data-v-223abe26]{position:absolute;top:0;left:0;width:100%;height:100%;pointer-events:none;z-index:2;display:grid;grid-template-columns:1fr 1fr;grid-template-rows:1fr 1fr}.pv-scatter-quadrant[data-v-223abe26]{display:flex;overflow:hidden}.pv-scatter-quadrant-box[data-v-223abe26]{background:#8080801a;padding:8px;border-radius:4px;font-size:12px;font-weight:600;color:#666;pointer-events:all;max-width:calc(100% - 10px);max-height:calc(100% - 10px);overflow:auto}.pv-scatter-quadrant-top-left[data-v-223abe26]{grid-column:1;grid-row:1;align-items:flex-start;justify-content:flex-start;padding:5px}.pv-scatter-quadrant-top-right[data-v-223abe26]{grid-column:2;grid-row:1;align-items:flex-start;justify-content:flex-end;padding:5px}.pv-scatter-quadrant-bottom-left[data-v-223abe26]{grid-column:1;grid-row:2;align-items:flex-end;justify-content:flex-start;padding:5px}.pv-scatter-quadrant-bottom-right[data-v-223abe26]{grid-column:2;grid-row:2;align-items:flex-end;justify-content:flex-end;padding:5px}.pv-chart-loading[data-v-223abe26]{position:absolute;text-align:center;justify-content:center;align-items:center;top:0;left:0;width:100%;height:100%;opacity:1;background-color:#fff;z-index:4}.pv-chart-loading-icon[data-v-223abe26]{color:#16696d;animation:pulse-223abe26 1.5s infinite ease-in-out}@keyframes pulse-223abe26{0%{opacity:1;transform:scale(1)}50%{opacity:.6;transform:scale(1.05)}to{opacity:1;transform:scale(1)}}.pv-popover-list[data-v-cda1af8c]{font-size:14px}.pv-icon-button[data-v-79a7def3]{background-color:transparent;border:none}.pv-icon-button[data-v-79a7def3]:hover{cursor:pointer;color:#176f6f}.pv-select[data-v-79a7def3]{padding-top:4px;padding-bottom:4px}.pv-badge-md[data-v-fc3c1104]{--inset-size: 2px 2px;min-height:20px;max-height:20px;min-width:20px;font-weight:500}.pv-badge-sm[data-v-fc3c1104]{--inset-size: 0 2px;min-height:16px;max-height:16px;min-width:16px;font-weight:500}.pv-surface-lighten-5[data-v-fc3c1104]{background-color:#e0e5e4}.pv-text-secondary[data-v-fc3c1104]{color:#4b595c}.pv-menu-action-button[data-v-6a2265bf]{opacity:0;transition:opacity .2s ease}.pv-label:hover .pv-menu-action-button[data-v-6a2265bf]{opacity:1}.pv-menu-item-disabled[data-v-b732541e]{pointer-events:none;background:#ececec}.pv-menu-item[data-v-b732541e]{cursor:pointer}.pv-menu-item-disabled[data-v-d9ecf7c1]{pointer-events:none;background:#ececec}.pv-menu-item[data-v-d9ecf7c1]{cursor:pointer}.pv-text-tertiary[data-v-4e159eee]{color:#6e8081}.pv-query-builder-input-wrapper[data-v-45a7f6e6]{display:flex;align-items:center;position:relative;width:100%;background:#f7f8f8;padding:.25rem;border-radius:.5rem;border:2px solid transparent;font-size:.75rem;min-height:2.25rem;cursor:text}.pv-query-builder-input[data-v-45a7f6e6]{justify-content:start;overflow-x:hidden}.pv-query-builder-input-wrapper input[data-v-45a7f6e6]{border:none;background:transparent;outline:none;font-size:.75rem}.pv-query-builder-input-wrapper[data-v-45a7f6e6]:focus-within{border:2px solid #36c5ba}.pv-table-row-count{position:absolute;right:12px;top:6px;opacity:1;background-color:#f7f8f8;transition:opacity .3s ease}.pv-table-group-cell:hover .pv-table-row-count{opacity:0}.pv-table-row-number{padding:8px 12px 8px 0;text-align:center;color:#89989b}.suggested-label[data-v-c6a79991]:hover{color:#16696d}.suggested-title-label[data-v-c6a79991]:hover{text-decoration:underline;color:#0d5256}.ag-custom-header-cell[data-v-90d4e92d]{height:100%;align-items:center}.ag-header-actions .ag-header-cell-menu-button[data-v-90d4e92d]{opacity:0;transition:opacity .2s ease-in-out}.ag-header-cell-menu-button:hover .ag-header-actions .ag-header-cell-menu-button[data-v-90d4e92d]{opacity:1}.ag-header-cell-menu-button:focus .ag-header-actions .ag-header-cell-menu-button[data-v-90d4e92d]{opacity:1}.pv-table-row-number[data-v-686928ce]{padding:8px 12px 8px 0;text-align:center;color:#89989b}.pv-table-overlay{position:absolute;z-index:2;background:#fff;width:100%;height:calc(100% - 40px);top:80px;pointer-events:none}.ag-header-cell-resize{border:none!important}.ag-cell-inline-editing .ag-cell-editor{height:100%!important}.ag-rich-select-value{min-height:100%!important}.ag-row-group-leaf-indent{padding-left:7px;margin-left:0}.ag-custom-loading-cell{width:100%;height:40%;margin:15px;background-color:#ccc;border-radius:4px}.ag-group-value{width:100%}.ag-menu-option:hover{background-color:#f7f8f8}.ag-menu-option-shortcut{color:#89989b}.ag-menu-option:active{background-color:#e8f2f4}.ag-menu-option-text{font-family:Inter,sans-serif}.ag-header-cell-menu-button:hover{box-shadow:unset!important}.ag-button{border-radius:4px!important;font-size:12px!important;padding:3px 8px!important}.pv-text-tertiary[data-v-08e3ce8f]{color:#89989b}.pv-button-placeholder[data-v-08e3ce8f]{height:24px;width:24px}.pv-sort-option[data-v-08e3ce8f]{--flex-gap: 4px;cursor:grab;min-height:24px}.pv-menu-item-disabled[data-v-08e3ce8f]{pointer-events:none;color:#7d898d}.placeholder-zone[data-v-08e3ce8f]{transition:background-color .2s ease}.pv-placeholder-dropzone[data-v-08e3ce8f]{padding:8px 4px;border-style:dashed!important;border-color:#e3e7ea!important;justify-content:center;align-items:center;transition:all .2s ease}.placeholder-zone.placeholder-drag-over .pv-placeholder-dropzone[data-v-08e3ce8f]{border-color:#16696d!important;background:#f0f9f9}.sort-divider-container[data-v-08e3ce8f]{display:flex}.sort-divider[data-v-08e3ce8f]{position:relative;border-top:1px solid #e3e7ea;margin:1rem 0;flex:1}.sort-divider[data-v-08e3ce8f]:after{content:attr(data-label);display:inline-block;position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);background:#fff;padding:0 .5em;font-size:inherit;white-space:nowrap}.pv-menu-nested[data-v-
|
|
2
|
-
import { defineComponent as ae, createElementBlock as F, openBlock as f, normalizeStyle as He, normalizeClass as se, ref as $, onMounted as at, onUnmounted as La, computed as h, createVNode as X, createCommentVNode as N, unref as O, Fragment as fe, createElementVNode as
|
|
1
|
+
(function(){"use strict";try{if(typeof document<"u"){var e=document.createElement("style");e.appendChild(document.createTextNode('.pv-scatter-overlay[data-v-223abe26]{position:absolute;top:0;left:0;width:100%;height:100%;pointer-events:none;z-index:2;display:grid;grid-template-columns:1fr 1fr;grid-template-rows:1fr 1fr}.pv-scatter-quadrant[data-v-223abe26]{display:flex;overflow:hidden}.pv-scatter-quadrant-box[data-v-223abe26]{background:#8080801a;padding:8px;border-radius:4px;font-size:12px;font-weight:600;color:#666;pointer-events:all;max-width:calc(100% - 10px);max-height:calc(100% - 10px);overflow:auto}.pv-scatter-quadrant-top-left[data-v-223abe26]{grid-column:1;grid-row:1;align-items:flex-start;justify-content:flex-start;padding:5px}.pv-scatter-quadrant-top-right[data-v-223abe26]{grid-column:2;grid-row:1;align-items:flex-start;justify-content:flex-end;padding:5px}.pv-scatter-quadrant-bottom-left[data-v-223abe26]{grid-column:1;grid-row:2;align-items:flex-end;justify-content:flex-start;padding:5px}.pv-scatter-quadrant-bottom-right[data-v-223abe26]{grid-column:2;grid-row:2;align-items:flex-end;justify-content:flex-end;padding:5px}.pv-chart-loading[data-v-223abe26]{position:absolute;text-align:center;justify-content:center;align-items:center;top:0;left:0;width:100%;height:100%;opacity:1;background-color:#fff;z-index:4}.pv-chart-loading-icon[data-v-223abe26]{color:#16696d;animation:pulse-223abe26 1.5s infinite ease-in-out}@keyframes pulse-223abe26{0%{opacity:1;transform:scale(1)}50%{opacity:.6;transform:scale(1.05)}to{opacity:1;transform:scale(1)}}.pv-popover-list[data-v-cda1af8c]{font-size:14px}.pv-icon-button[data-v-79a7def3]{background-color:transparent;border:none}.pv-icon-button[data-v-79a7def3]:hover{cursor:pointer;color:#176f6f}.pv-select[data-v-79a7def3]{padding-top:4px;padding-bottom:4px}.pv-badge-md[data-v-fc3c1104]{--inset-size: 2px 2px;min-height:20px;max-height:20px;min-width:20px;font-weight:500}.pv-badge-sm[data-v-fc3c1104]{--inset-size: 0 2px;min-height:16px;max-height:16px;min-width:16px;font-weight:500}.pv-surface-lighten-5[data-v-fc3c1104]{background-color:#e0e5e4}.pv-text-secondary[data-v-fc3c1104]{color:#4b595c}.pv-menu-action-button[data-v-6a2265bf]{opacity:0;transition:opacity .2s ease}.pv-label:hover .pv-menu-action-button[data-v-6a2265bf]{opacity:1}.pv-menu-item-disabled[data-v-b732541e]{pointer-events:none;background:#ececec}.pv-menu-item[data-v-b732541e]{cursor:pointer}.pv-menu-item-disabled[data-v-d9ecf7c1]{pointer-events:none;background:#ececec}.pv-menu-item[data-v-d9ecf7c1]{cursor:pointer}.pv-text-tertiary[data-v-4e159eee]{color:#6e8081}.pv-query-builder-input-wrapper[data-v-45a7f6e6]{display:flex;align-items:center;position:relative;width:100%;background:#f7f8f8;padding:.25rem;border-radius:.5rem;border:2px solid transparent;font-size:.75rem;min-height:2.25rem;cursor:text}.pv-query-builder-input[data-v-45a7f6e6]{justify-content:start;overflow-x:hidden}.pv-query-builder-input-wrapper input[data-v-45a7f6e6]{border:none;background:transparent;outline:none;font-size:.75rem}.pv-query-builder-input-wrapper[data-v-45a7f6e6]:focus-within{border:2px solid #36c5ba}.pv-table-row-count{position:absolute;right:12px;top:6px;opacity:1;background-color:#f7f8f8;transition:opacity .3s ease}.pv-table-group-cell:hover .pv-table-row-count{opacity:0}.pv-table-row-number{padding:8px 12px 8px 0;text-align:center;color:#89989b}.suggested-label[data-v-c6a79991]:hover{color:#16696d}.suggested-title-label[data-v-c6a79991]:hover{text-decoration:underline;color:#0d5256}.ag-custom-header-cell[data-v-90d4e92d]{height:100%;align-items:center}.ag-header-actions .ag-header-cell-menu-button[data-v-90d4e92d]{opacity:0;transition:opacity .2s ease-in-out}.ag-header-cell-menu-button:hover .ag-header-actions .ag-header-cell-menu-button[data-v-90d4e92d]{opacity:1}.ag-header-cell-menu-button:focus .ag-header-actions .ag-header-cell-menu-button[data-v-90d4e92d]{opacity:1}.pv-table-row-number[data-v-686928ce]{padding:8px 12px 8px 0;text-align:center;color:#89989b}.pv-table-overlay{position:absolute;z-index:2;background:#fff;width:100%;height:calc(100% - 40px);top:80px;pointer-events:none}.ag-header-cell-resize{border:none!important}.ag-cell-inline-editing .ag-cell-editor{height:100%!important}.ag-rich-select-value{min-height:100%!important}.ag-row-group-leaf-indent{padding-left:7px;margin-left:0}.ag-custom-loading-cell{width:100%;height:40%;margin:15px;background-color:#ccc;border-radius:4px}.ag-group-value{width:100%}.ag-menu-option:hover{background-color:#f7f8f8}.ag-menu-option-shortcut{color:#89989b}.ag-menu-option:active{background-color:#e8f2f4}.ag-menu-option-text{font-family:Inter,sans-serif}.ag-header-cell-menu-button:hover{box-shadow:unset!important}.ag-button{border-radius:4px!important;font-size:12px!important;padding:3px 8px!important}.pv-text-tertiary[data-v-08e3ce8f]{color:#89989b}.pv-button-placeholder[data-v-08e3ce8f]{height:24px;width:24px}.pv-sort-option[data-v-08e3ce8f]{--flex-gap: 4px;cursor:grab;min-height:24px}.pv-menu-item-disabled[data-v-08e3ce8f]{pointer-events:none;color:#7d898d}.placeholder-zone[data-v-08e3ce8f]{transition:background-color .2s ease}.pv-placeholder-dropzone[data-v-08e3ce8f]{padding:8px 4px;border-style:dashed!important;border-color:#e3e7ea!important;justify-content:center;align-items:center;transition:all .2s ease}.placeholder-zone.placeholder-drag-over .pv-placeholder-dropzone[data-v-08e3ce8f]{border-color:#16696d!important;background:#f0f9f9}.sort-divider-container[data-v-08e3ce8f]{display:flex}.sort-divider[data-v-08e3ce8f]{position:relative;border-top:1px solid #e3e7ea;margin:1rem 0;flex:1}.sort-divider[data-v-08e3ce8f]:after{content:attr(data-label);display:inline-block;position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);background:#fff;padding:0 .5em;font-size:inherit;white-space:nowrap}.pv-menu-nested[data-v-003a33e4]:after{content:"›"}.pv-tooltip a[data-v-003a33e4]{color:inherit}.pv-chart-option[data-v-003a33e4]{min-width:150px;max-width:225px}.pv-chart-overlay{position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);pointer-events:none}.ag-charts-tooltip{background-color:#fffffff2}.ag-charts-floating-toolbar{display:none!important}')),document.head.appendChild(e)}}catch(t){console.error("vite-plugin-css-injected-by-js",t)}})();
|
|
2
|
+
import { defineComponent as ae, createElementBlock as F, openBlock as f, normalizeStyle as He, normalizeClass as se, ref as $, onMounted as at, onUnmounted as La, computed as h, createVNode as X, createCommentVNode as N, unref as O, Fragment as fe, createElementVNode as A, createBlock as j, resolveDynamicComponent as bt, isRef as Jt, toValue as Hl, nextTick as dt, useTemplateRef as xt, renderSlot as Ae, watch as re, withDirectives as lt, createTextVNode as ze, Teleport as wl, withCtx as pe, getCurrentInstance as mn, toDisplayString as ne, useSlots as Qo, onBeforeUnmount as Da, withModifiers as Fn, shallowRef as Qn, getCurrentScope as Xo, onScopeDispose as Zo, shallowReadonly as jt, mergeModels as _e, useModel as Re, vShow as En, renderList as Qe, createSlots as It, vModelText as Fl, readonly as Jo, mergeProps as Ze, normalizeProps as Ot, guardReactiveProps as cn, inject as xe, resolveComponent as er, provide as ke, vModelDynamic as tr, vModelCheckbox as nr, toRef as jl, onBeforeMount as Tl } from "vue";
|
|
3
3
|
import { AgCharts as lr } from "ag-charts-vue3";
|
|
4
4
|
import { LicenseManager as ar } from "ag-charts-enterprise";
|
|
5
5
|
import { AgGridVue as or } from "ag-grid-vue3";
|
|
6
6
|
import { themeQuartz as Va, ModuleRegistry as rr, EventApiModule as ir, CellStyleModule as sr, ClientSideRowModelModule as ur, ColumnApiModule as cr, CsvExportModule as dr, CustomFilterModule as fr, GridStateModule as pr, ScrollApiModule as vr, TextFilterModule as mr, RowApiModule as hr, RowStyleModule as gr, PaginationModule as yr, QuickFilterModule as br, TextEditorModule as xr, UndoRedoEditModule as Cr, CheckboxEditorModule as Sr, SelectEditorModule as wr, LargeTextEditorModule as Fr, NumberEditorModule as Tr, DateEditorModule as kr, CustomEditorModule as Mr } from "ag-grid-community";
|
|
7
|
-
import { LicenseManager as $r, AdvancedFilterModule as Or, CellSelectionModule as
|
|
7
|
+
import { LicenseManager as $r, AdvancedFilterModule as Or, CellSelectionModule as Ar, ClientSideRowModelApiModule as Pr, ClipboardModule as Rr, ColumnMenuModule as Lr, ContextMenuModule as Dr, MultiFilterModule as Vr, ServerSideRowModelModule as Ir, ServerSideRowModelApiModule as Br, SetFilterModule as Er, RenderApiModule as _r, RowGroupingModule as Nr, RowSelectionModule as qr, TooltipModule as Gr, RichSelectModule as zr, ValidationModule as Hr } from "ag-grid-enterprise";
|
|
8
8
|
import jr from "papaparse";
|
|
9
9
|
import { defaultDocument as Kr, tryOnMounted as Ur, tryOnScopeDispose as Wr, unrefElement as Yr, useElementHover as Kl, useElementBounding as Qr, useDebounceFn as Ul, onKeyStroke as Tn, onClickOutside as Xr, useToggle as Ia, toRef as Zr, watchDebounced as hn } from "@vueuse/core";
|
|
10
10
|
import Ba from "sortablejs";
|
|
@@ -352,23 +352,23 @@ const fi = { style: { position: "relative" } }, pi = {
|
|
|
352
352
|
class: "pv-scatter-overlay",
|
|
353
353
|
style: He(r.value)
|
|
354
354
|
}, [
|
|
355
|
-
|
|
356
|
-
|
|
355
|
+
A("div", vi, [
|
|
356
|
+
A("div", mi, [
|
|
357
357
|
(f(), j(bt(e.customChartProps.scatter.quadrantRenderer), { quadrant: "topLeft" }))
|
|
358
358
|
])
|
|
359
359
|
]),
|
|
360
|
-
|
|
361
|
-
|
|
360
|
+
A("div", hi, [
|
|
361
|
+
A("div", gi, [
|
|
362
362
|
(f(), j(bt(e.customChartProps.scatter.quadrantRenderer), { quadrant: "topRight" }))
|
|
363
363
|
])
|
|
364
364
|
]),
|
|
365
|
-
|
|
366
|
-
|
|
365
|
+
A("div", yi, [
|
|
366
|
+
A("div", bi, [
|
|
367
367
|
(f(), j(bt(e.customChartProps.scatter.quadrantRenderer), { quadrant: "bottomLeft" }))
|
|
368
368
|
])
|
|
369
369
|
]),
|
|
370
|
-
|
|
371
|
-
|
|
370
|
+
A("div", xi, [
|
|
371
|
+
A("div", Ci, [
|
|
372
372
|
(f(), j(bt(e.customChartProps.scatter.quadrantRenderer), { quadrant: "bottomRight" }))
|
|
373
373
|
])
|
|
374
374
|
])
|
|
@@ -457,14 +457,14 @@ const $i = ["data-align"], Oi = /* @__PURE__ */ ae({
|
|
|
457
457
|
class: "pv-popover-list",
|
|
458
458
|
style: He(e.cssCustomListProperties)
|
|
459
459
|
}, [
|
|
460
|
-
|
|
461
|
-
], 4)) :
|
|
460
|
+
Ae(i.$slots, "default", {}, void 0, !0)
|
|
461
|
+
], 4)) : Ae(i.$slots, "default", { key: 1 }, void 0, !0)
|
|
462
462
|
], 12, $i));
|
|
463
463
|
}
|
|
464
|
-
}), Nn = /* @__PURE__ */ Xe(Oi, [["__scopeId", "data-v-cda1af8c"]]),
|
|
464
|
+
}), Nn = /* @__PURE__ */ Xe(Oi, [["__scopeId", "data-v-cda1af8c"]]), Ai = {
|
|
465
465
|
class: "pv-relative",
|
|
466
466
|
style: { width: "fit-content" }
|
|
467
|
-
},
|
|
467
|
+
}, Pi = ["disabled"], Ri = {
|
|
468
468
|
key: 0,
|
|
469
469
|
class: "pv-shimmer"
|
|
470
470
|
}, Li = /* @__PURE__ */ ae({
|
|
@@ -508,8 +508,8 @@ const $i = ["data-align"], Oi = /* @__PURE__ */ ae({
|
|
|
508
508
|
},
|
|
509
509
|
...l.popoverCssProperties
|
|
510
510
|
} : l.popoverCssProperties);
|
|
511
|
-
return (m, T) => lt((f(), F("div",
|
|
512
|
-
|
|
511
|
+
return (m, T) => lt((f(), F("div", Ai, [
|
|
512
|
+
A("button", {
|
|
513
513
|
ref_key: "triggerRef",
|
|
514
514
|
ref: r,
|
|
515
515
|
class: se({ "pv-select": !e.icon, "pv-icon-button": e.icon }),
|
|
@@ -517,10 +517,10 @@ const $i = ["data-align"], Oi = /* @__PURE__ */ ae({
|
|
|
517
517
|
onClick: p,
|
|
518
518
|
disabled: e.disabled
|
|
519
519
|
}, [
|
|
520
|
-
|
|
520
|
+
Ae(m.$slots, "trigger", {}, () => [
|
|
521
521
|
T[1] || (T[1] = ze("Open", -1))
|
|
522
522
|
], !0)
|
|
523
|
-
], 10,
|
|
523
|
+
], 10, Pi),
|
|
524
524
|
(f(), j(wl, {
|
|
525
525
|
to: e.teleportLocation,
|
|
526
526
|
disabled: !e.useTeleport
|
|
@@ -536,7 +536,7 @@ const $i = ["data-align"], Oi = /* @__PURE__ */ ae({
|
|
|
536
536
|
onListOrderUpdated: T[0] || (T[0] = (R) => m.$emit("list-order-updated", R))
|
|
537
537
|
}, {
|
|
538
538
|
default: pe(() => [
|
|
539
|
-
|
|
539
|
+
Ae(m.$slots, "default", {}, () => [
|
|
540
540
|
e.isLoading ? (f(), F("span", Ri, "Loading...")) : N("", !0)
|
|
541
541
|
], !0)
|
|
542
542
|
]),
|
|
@@ -575,7 +575,7 @@ const Vi = {
|
|
|
575
575
|
"aria-hidden": "true",
|
|
576
576
|
class: se(o.value)
|
|
577
577
|
}, [
|
|
578
|
-
|
|
578
|
+
A("use", { "xlink:href": a.value }, null, 8, Bi)
|
|
579
579
|
], 2));
|
|
580
580
|
}
|
|
581
581
|
}), ja = ["ghost"], Yl = {
|
|
@@ -619,7 +619,7 @@ const Vi = {
|
|
|
619
619
|
name: e.leftIcon,
|
|
620
620
|
"data-testid": "pv-button-left-icon"
|
|
621
621
|
}, null, 8, ["name"])) : N("", !0),
|
|
622
|
-
e.label ? (f(), F("span", _i,
|
|
622
|
+
e.label ? (f(), F("span", _i, ne(e.label), 1)) : N("", !0),
|
|
623
623
|
e.rightIcon ? (f(), j(Le, {
|
|
624
624
|
key: 2,
|
|
625
625
|
name: e.rightIcon,
|
|
@@ -717,14 +717,14 @@ const zi = ["data-position", "aria-labelledby", "data-style", "data-static"], Hi
|
|
|
717
717
|
"data-style": e.variant === "white" ? "white" : "dark",
|
|
718
718
|
"data-static": e.disableInteractive ? !0 : void 0
|
|
719
719
|
}, [
|
|
720
|
-
|
|
720
|
+
Ae(n.$slots, "label"),
|
|
721
721
|
O(t) ? (f(), F("div", {
|
|
722
722
|
key: 0,
|
|
723
723
|
role: "tooltip",
|
|
724
724
|
id: e.ariaLabelledBy,
|
|
725
725
|
"data-testid": "pv-tooltip-content"
|
|
726
726
|
}, [
|
|
727
|
-
|
|
727
|
+
Ae(n.$slots, "tooltip-content")
|
|
728
728
|
], 8, Hi)) : N("", !0)
|
|
729
729
|
], 10, zi));
|
|
730
730
|
}
|
|
@@ -751,7 +751,7 @@ const zi = ["data-position", "aria-labelledby", "data-style", "data-static"], Hi
|
|
|
751
751
|
return (a, r) => (f(), F("div", {
|
|
752
752
|
class: se(o.value),
|
|
753
753
|
"data-testid": "pv-counter-badge"
|
|
754
|
-
},
|
|
754
|
+
}, ne(l.value), 3));
|
|
755
755
|
}
|
|
756
756
|
}), gn = /* @__PURE__ */ Xe(ji, [["__scopeId", "data-v-fc3c1104"]]), Ki = ["data-style"], Ui = { class: "pv-truncate" }, vl = /* @__PURE__ */ ae({
|
|
757
757
|
__name: "PvTag",
|
|
@@ -797,7 +797,7 @@ const zi = ["data-position", "aria-labelledby", "data-style", "data-static"], Hi
|
|
|
797
797
|
name: e.icon,
|
|
798
798
|
size: 12
|
|
799
799
|
}, null, 8, ["name"])) : N("", !0),
|
|
800
|
-
|
|
800
|
+
A("span", Ui, ne(e.label), 1),
|
|
801
801
|
e.showClear ? (f(), j(Le, {
|
|
802
802
|
key: 1,
|
|
803
803
|
"data-testid": "pv-tag-close-icon",
|
|
@@ -1200,7 +1200,7 @@ function el() {
|
|
|
1200
1200
|
return typeof window < "u";
|
|
1201
1201
|
}
|
|
1202
1202
|
function Gt(e) {
|
|
1203
|
-
return
|
|
1203
|
+
return Al(e) ? (e.nodeName || "").toLowerCase() : "#document";
|
|
1204
1204
|
}
|
|
1205
1205
|
function nt(e) {
|
|
1206
1206
|
var t;
|
|
@@ -1208,9 +1208,9 @@ function nt(e) {
|
|
|
1208
1208
|
}
|
|
1209
1209
|
function St(e) {
|
|
1210
1210
|
var t;
|
|
1211
|
-
return (t = (
|
|
1211
|
+
return (t = (Al(e) ? e.ownerDocument : e.document) || window.document) == null ? void 0 : t.documentElement;
|
|
1212
1212
|
}
|
|
1213
|
-
function
|
|
1213
|
+
function Al(e) {
|
|
1214
1214
|
return el() ? e instanceof Node || e instanceof nt(e).Node : !1;
|
|
1215
1215
|
}
|
|
1216
1216
|
function ft(e) {
|
|
@@ -1247,18 +1247,18 @@ function tl(e) {
|
|
|
1247
1247
|
});
|
|
1248
1248
|
}
|
|
1249
1249
|
const hs = ["transform", "translate", "scale", "rotate", "perspective"], gs = ["transform", "translate", "scale", "rotate", "perspective", "filter"], ys = ["paint", "layout", "strict", "content"];
|
|
1250
|
-
function
|
|
1250
|
+
function Pl(e) {
|
|
1251
1251
|
const t = Rl(), n = ft(e) ? pt(e) : e;
|
|
1252
1252
|
return hs.some((l) => n[l] ? n[l] !== "none" : !1) || (n.containerType ? n.containerType !== "normal" : !1) || !t && (n.backdropFilter ? n.backdropFilter !== "none" : !1) || !t && (n.filter ? n.filter !== "none" : !1) || gs.some((l) => (n.willChange || "").includes(l)) || ys.some((l) => (n.contain || "").includes(l));
|
|
1253
1253
|
}
|
|
1254
1254
|
function bs(e) {
|
|
1255
|
-
let t =
|
|
1255
|
+
let t = At(e);
|
|
1256
1256
|
for (; mt(t) && !tn(t); ) {
|
|
1257
|
-
if (
|
|
1257
|
+
if (Pl(t))
|
|
1258
1258
|
return t;
|
|
1259
1259
|
if (tl(t))
|
|
1260
1260
|
return null;
|
|
1261
|
-
t =
|
|
1261
|
+
t = At(t);
|
|
1262
1262
|
}
|
|
1263
1263
|
return null;
|
|
1264
1264
|
}
|
|
@@ -1281,7 +1281,7 @@ function nl(e) {
|
|
|
1281
1281
|
scrollTop: e.scrollY
|
|
1282
1282
|
};
|
|
1283
1283
|
}
|
|
1284
|
-
function
|
|
1284
|
+
function At(e) {
|
|
1285
1285
|
if (Gt(e) === "html")
|
|
1286
1286
|
return e;
|
|
1287
1287
|
const t = (
|
|
@@ -1294,7 +1294,7 @@ function Pt(e) {
|
|
|
1294
1294
|
return ta(t) ? t.host : t;
|
|
1295
1295
|
}
|
|
1296
1296
|
function Ya(e) {
|
|
1297
|
-
const t =
|
|
1297
|
+
const t = At(e);
|
|
1298
1298
|
return tn(t) ? e.ownerDocument ? e.ownerDocument.body : e.body : mt(t) && kn(t) ? t : Ya(t);
|
|
1299
1299
|
}
|
|
1300
1300
|
function Qa(e, t, n) {
|
|
@@ -1470,7 +1470,7 @@ function la(e, t, n) {
|
|
|
1470
1470
|
return zn(l);
|
|
1471
1471
|
}
|
|
1472
1472
|
function to(e, t) {
|
|
1473
|
-
const n =
|
|
1473
|
+
const n = At(e);
|
|
1474
1474
|
return n === t || !ft(n) || tn(n) ? !1 : pt(n).position === "fixed" || to(n, t);
|
|
1475
1475
|
}
|
|
1476
1476
|
function Os(e, t) {
|
|
@@ -1479,14 +1479,14 @@ function Os(e, t) {
|
|
|
1479
1479
|
return n;
|
|
1480
1480
|
let l = Qa(e, []).filter((i) => ft(i) && Gt(i) !== "body"), o = null;
|
|
1481
1481
|
const a = pt(e).position === "fixed";
|
|
1482
|
-
let r = a ?
|
|
1482
|
+
let r = a ? At(e) : e;
|
|
1483
1483
|
for (; ft(r) && !tn(r); ) {
|
|
1484
|
-
const i = pt(r), s =
|
|
1485
|
-
!s && i.position === "fixed" && (o = null), (a ? !s && !o : !s && i.position === "static" && !!o && Ms.has(o.position) || kn(r) && !s && to(e, r)) ? l = l.filter((c) => c !== r) : o = i, r =
|
|
1484
|
+
const i = pt(r), s = Pl(r);
|
|
1485
|
+
!s && i.position === "fixed" && (o = null), (a ? !s && !o : !s && i.position === "static" && !!o && Ms.has(o.position) || kn(r) && !s && to(e, r)) ? l = l.filter((c) => c !== r) : o = i, r = At(r);
|
|
1486
1486
|
}
|
|
1487
1487
|
return t.set(e, l), l;
|
|
1488
1488
|
}
|
|
1489
|
-
function
|
|
1489
|
+
function As(e) {
|
|
1490
1490
|
let {
|
|
1491
1491
|
element: t,
|
|
1492
1492
|
boundary: n,
|
|
@@ -1504,7 +1504,7 @@ function Ps(e) {
|
|
|
1504
1504
|
y: s.top
|
|
1505
1505
|
};
|
|
1506
1506
|
}
|
|
1507
|
-
function
|
|
1507
|
+
function Ps(e) {
|
|
1508
1508
|
const {
|
|
1509
1509
|
width: t,
|
|
1510
1510
|
height: n
|
|
@@ -1554,18 +1554,18 @@ function no(e, t) {
|
|
|
1554
1554
|
if (tl(e))
|
|
1555
1555
|
return n;
|
|
1556
1556
|
if (!mt(e)) {
|
|
1557
|
-
let o =
|
|
1557
|
+
let o = At(e);
|
|
1558
1558
|
for (; o && !tn(o); ) {
|
|
1559
1559
|
if (ft(o) && !cl(o))
|
|
1560
1560
|
return o;
|
|
1561
|
-
o =
|
|
1561
|
+
o = At(o);
|
|
1562
1562
|
}
|
|
1563
1563
|
return n;
|
|
1564
1564
|
}
|
|
1565
1565
|
let l = aa(e, t);
|
|
1566
1566
|
for (; l && vs(l) && cl(l); )
|
|
1567
1567
|
l = aa(l, t);
|
|
1568
|
-
return l && tn(l) && cl(l) && !
|
|
1568
|
+
return l && tn(l) && cl(l) && !Pl(l) ? n : l || bs(e) || n;
|
|
1569
1569
|
}
|
|
1570
1570
|
const Ls = async function(e) {
|
|
1571
1571
|
const t = this.getOffsetParent || no, n = this.getDimensions, l = await n(e.floating);
|
|
@@ -1585,11 +1585,11 @@ function Ds(e) {
|
|
|
1585
1585
|
const Vs = {
|
|
1586
1586
|
convertOffsetParentRelativeRectToViewportRelativeRect: ws,
|
|
1587
1587
|
getDocumentElement: St,
|
|
1588
|
-
getClippingRect:
|
|
1588
|
+
getClippingRect: As,
|
|
1589
1589
|
getOffsetParent: no,
|
|
1590
1590
|
getElementRects: Ls,
|
|
1591
1591
|
getClientRects: Fs,
|
|
1592
|
-
getDimensions:
|
|
1592
|
+
getDimensions: Ps,
|
|
1593
1593
|
getScale: Xt,
|
|
1594
1594
|
isElement: ft,
|
|
1595
1595
|
isRTL: Ds
|
|
@@ -1612,7 +1612,7 @@ function _s(e) {
|
|
|
1612
1612
|
function oa(e) {
|
|
1613
1613
|
if (_s(e)) {
|
|
1614
1614
|
const t = e.$el;
|
|
1615
|
-
return
|
|
1615
|
+
return Al(t) && Gt(t) === "#comment" ? null : t;
|
|
1616
1616
|
}
|
|
1617
1617
|
return e;
|
|
1618
1618
|
}
|
|
@@ -1778,25 +1778,25 @@ const qs = { style: { width: "fit-content" } }, Ll = /* @__PURE__ */ ae({
|
|
|
1778
1778
|
return re(m, (w) => {
|
|
1779
1779
|
t.showOnHover && g(w);
|
|
1780
1780
|
}), (w, b) => lt((f(), F("div", qs, [
|
|
1781
|
-
|
|
1781
|
+
A("div", {
|
|
1782
1782
|
ref_key: "triggerWrapper",
|
|
1783
1783
|
ref: l,
|
|
1784
1784
|
onClick: T
|
|
1785
1785
|
}, [
|
|
1786
|
-
|
|
1786
|
+
Ae(w.$slots, "trigger")
|
|
1787
1787
|
], 512),
|
|
1788
1788
|
w.$slots.content ? (f(), j(wl, {
|
|
1789
1789
|
key: 0,
|
|
1790
1790
|
to: e.teleportLocation,
|
|
1791
1791
|
disabled: !t.useTeleport
|
|
1792
1792
|
}, [
|
|
1793
|
-
lt(
|
|
1793
|
+
lt(A("div", {
|
|
1794
1794
|
class: "pv-floating",
|
|
1795
1795
|
ref_key: "floating",
|
|
1796
1796
|
ref: a,
|
|
1797
1797
|
style: He(v.value)
|
|
1798
1798
|
}, [
|
|
1799
|
-
|
|
1799
|
+
Ae(w.$slots, "content")
|
|
1800
1800
|
], 4), [
|
|
1801
1801
|
[En, n.value]
|
|
1802
1802
|
])
|
|
@@ -1850,7 +1850,7 @@ const qs = { style: { width: "fit-content" } }, Ll = /* @__PURE__ */ ae({
|
|
|
1850
1850
|
a.disabledReason ? {
|
|
1851
1851
|
name: "content",
|
|
1852
1852
|
fn: pe(() => [
|
|
1853
|
-
ze(
|
|
1853
|
+
ze(ne(a.disabledReason), 1)
|
|
1854
1854
|
]),
|
|
1855
1855
|
key: "0"
|
|
1856
1856
|
} : void 0
|
|
@@ -1899,7 +1899,7 @@ const Us = {
|
|
|
1899
1899
|
class: se(o.value),
|
|
1900
1900
|
style: He(a.value)
|
|
1901
1901
|
}, [
|
|
1902
|
-
|
|
1902
|
+
A("img", {
|
|
1903
1903
|
src: i.value,
|
|
1904
1904
|
alt: "",
|
|
1905
1905
|
onError: u[0] || (u[0] = (c) => n.value = !1)
|
|
@@ -1951,15 +1951,15 @@ const Us = {
|
|
|
1951
1951
|
style: { "--max-width": "480px" },
|
|
1952
1952
|
onClose: o
|
|
1953
1953
|
}, [
|
|
1954
|
-
|
|
1955
|
-
|
|
1956
|
-
|
|
1957
|
-
e.subheader ? (f(), F("span", Js,
|
|
1954
|
+
A("div", Qs, [
|
|
1955
|
+
A("div", Xs, [
|
|
1956
|
+
A("span", Zs, ne(e.header), 1),
|
|
1957
|
+
e.subheader ? (f(), F("span", Js, ne(e.subheader), 1)) : N("", !0)
|
|
1958
1958
|
]),
|
|
1959
|
-
|
|
1959
|
+
Ae(a.$slots, "body")
|
|
1960
1960
|
]),
|
|
1961
1961
|
e.hideFooter ? N("", !0) : (f(), F("div", eu, [
|
|
1962
|
-
|
|
1962
|
+
Ae(a.$slots, "footer")
|
|
1963
1963
|
]))
|
|
1964
1964
|
], 40, Ys));
|
|
1965
1965
|
}
|
|
@@ -2003,7 +2003,7 @@ const ou = ["data-style", "disabled", "title"], ru = { class: "pv-truncate" }, i
|
|
|
2003
2003
|
name: "expand",
|
|
2004
2004
|
size: 12
|
|
2005
2005
|
})) : N("", !0),
|
|
2006
|
-
|
|
2006
|
+
A("span", ru, ne(e.label), 1)
|
|
2007
2007
|
], 10, ou));
|
|
2008
2008
|
}
|
|
2009
2009
|
}), su = { class: "pv-relative" }, uu = ["disabled", "placeholder"], cu = {
|
|
@@ -2033,7 +2033,7 @@ const ou = ["data-style", "disabled", "title"], ru = { class: "pv-truncate" }, i
|
|
|
2033
2033
|
(!s || u) && (u || (r.preventDefault(), l.value?.focus()));
|
|
2034
2034
|
});
|
|
2035
2035
|
}), t({ input: l }), (r, i) => (f(), F("div", su, [
|
|
2036
|
-
lt(
|
|
2036
|
+
lt(A("input", {
|
|
2037
2037
|
ref: "search-input",
|
|
2038
2038
|
"onUpdate:modelValue": i[0] || (i[0] = (s) => o.value = s),
|
|
2039
2039
|
"data-testid": "pv-search-input",
|
|
@@ -2044,7 +2044,7 @@ const ou = ["data-style", "disabled", "title"], ru = { class: "pv-truncate" }, i
|
|
|
2044
2044
|
}, null, 10, uu), [
|
|
2045
2045
|
[Fl, o.value]
|
|
2046
2046
|
]),
|
|
2047
|
-
e.displayShortcut ? (f(), F("kbd", cu,
|
|
2047
|
+
e.displayShortcut ? (f(), F("kbd", cu, ne(ia))) : N("", !0)
|
|
2048
2048
|
]));
|
|
2049
2049
|
}
|
|
2050
2050
|
});
|
|
@@ -2233,7 +2233,7 @@ var _t = (...e) => ku(tt.getTheme(), ...e), ku = (e = {}, t, n, l) => {
|
|
|
2233
2233
|
}
|
|
2234
2234
|
return "";
|
|
2235
2235
|
};
|
|
2236
|
-
function
|
|
2236
|
+
function An(e, ...t) {
|
|
2237
2237
|
if (e instanceof Array) {
|
|
2238
2238
|
let n = e.reduce((l, o, a) => {
|
|
2239
2239
|
var r;
|
|
@@ -2601,13 +2601,13 @@ function da(e) {
|
|
|
2601
2601
|
return e;
|
|
2602
2602
|
}
|
|
2603
2603
|
function Ou(e, t, n) {
|
|
2604
|
-
return (t =
|
|
2604
|
+
return (t = Au(t)) in e ? Object.defineProperty(e, t, { value: n, enumerable: !0, configurable: !0, writable: !0 }) : e[t] = n, e;
|
|
2605
2605
|
}
|
|
2606
|
-
function
|
|
2607
|
-
var t =
|
|
2606
|
+
function Au(e) {
|
|
2607
|
+
var t = Pu(e, "string");
|
|
2608
2608
|
return xn(t) == "symbol" ? t : t + "";
|
|
2609
2609
|
}
|
|
2610
|
-
function
|
|
2610
|
+
function Pu(e, t) {
|
|
2611
2611
|
if (xn(e) != "object" || !e) return e;
|
|
2612
2612
|
var n = e[Symbol.toPrimitive];
|
|
2613
2613
|
if (n !== void 0) {
|
|
@@ -2743,7 +2743,7 @@ function qu(e, t) {
|
|
|
2743
2743
|
}
|
|
2744
2744
|
return (t === "string" ? String : Number)(e);
|
|
2745
2745
|
}
|
|
2746
|
-
function
|
|
2746
|
+
function Pn(e, t) {
|
|
2747
2747
|
return t || (t = e.slice(0)), Object.freeze(Object.defineProperties(e, { raw: { value: Object.freeze(t) } }));
|
|
2748
2748
|
}
|
|
2749
2749
|
var Gu = function(t) {
|
|
@@ -2777,7 +2777,7 @@ var Gu = function(t) {
|
|
|
2777
2777
|
load: function(t) {
|
|
2778
2778
|
var n = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {}, l = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : function(a) {
|
|
2779
2779
|
return a;
|
|
2780
|
-
}, o = l(
|
|
2780
|
+
}, o = l(An(fa || (fa = Pn(["", ""])), t));
|
|
2781
2781
|
return Ee(o) ? Du(vn(o), fl({
|
|
2782
2782
|
name: this.name
|
|
2783
2783
|
}, n)) : {};
|
|
@@ -2790,7 +2790,7 @@ var Gu = function(t) {
|
|
|
2790
2790
|
var t = this, n = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {}, l = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : "";
|
|
2791
2791
|
return this.load(this.style, n, function() {
|
|
2792
2792
|
var o = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : "";
|
|
2793
|
-
return tt.transformCSS(n.name || t.name, "".concat(o).concat(
|
|
2793
|
+
return tt.transformCSS(n.name || t.name, "".concat(o).concat(An(pa || (pa = Pn(["", ""])), l)));
|
|
2794
2794
|
});
|
|
2795
2795
|
},
|
|
2796
2796
|
getCommonTheme: function(t) {
|
|
@@ -2813,7 +2813,7 @@ var Gu = function(t) {
|
|
|
2813
2813
|
if (this.css) {
|
|
2814
2814
|
var l = $t(this.css, {
|
|
2815
2815
|
dt: _t
|
|
2816
|
-
}) || "", o = vn(
|
|
2816
|
+
}) || "", o = vn(An(va || (va = Pn(["", "", ""])), l, t)), a = Object.entries(n).reduce(function(r, i) {
|
|
2817
2817
|
var s = ha(i, 2), u = s[0], c = s[1];
|
|
2818
2818
|
return r.push("".concat(u, '="').concat(c, '"')) && r;
|
|
2819
2819
|
}, []).join(" ");
|
|
@@ -2828,7 +2828,7 @@ var Gu = function(t) {
|
|
|
2828
2828
|
getThemeStyleSheet: function(t) {
|
|
2829
2829
|
var n = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {}, l = [tt.getStyleSheet(this.name, t, n)];
|
|
2830
2830
|
if (this.style) {
|
|
2831
|
-
var o = this.name === "base" ? "global-style" : "".concat(this.name, "-style"), a =
|
|
2831
|
+
var o = this.name === "base" ? "global-style" : "".concat(this.name, "-style"), a = An(ma || (ma = Pn(["", ""])), $t(this.style, {
|
|
2832
2832
|
dt: _t
|
|
2833
2833
|
})), r = vn(tt.transformCSS(o, a)), i = Object.entries(n).reduce(function(s, u) {
|
|
2834
2834
|
var c = ha(u, 2), d = c[0], p = c[1];
|
|
@@ -3114,11 +3114,11 @@ const lc = {
|
|
|
3114
3114
|
"data-testid": "pv-drawer",
|
|
3115
3115
|
style: { display: "flex", "flex-direction": "column", height: "100%" }
|
|
3116
3116
|
}, [
|
|
3117
|
-
|
|
3118
|
-
u.$slots.header ?
|
|
3119
|
-
|
|
3120
|
-
|
|
3121
|
-
|
|
3117
|
+
A("div", lc, [
|
|
3118
|
+
u.$slots.header ? Ae(u.$slots, "header", { key: 0 }) : (f(), F(fe, { key: 1 }, [
|
|
3119
|
+
A("div", ac, [
|
|
3120
|
+
A("div", oc, [
|
|
3121
|
+
A("span", rc, ne(e.header), 1),
|
|
3122
3122
|
X(Oe, {
|
|
3123
3123
|
"left-icon": "close",
|
|
3124
3124
|
size: "md",
|
|
@@ -3127,7 +3127,7 @@ const lc = {
|
|
|
3127
3127
|
variant: "ghost"
|
|
3128
3128
|
})
|
|
3129
3129
|
]),
|
|
3130
|
-
e.subheader ? (f(), F("span", ic,
|
|
3130
|
+
e.subheader ? (f(), F("span", ic, ne(e.subheader), 1)) : N("", !0)
|
|
3131
3131
|
]),
|
|
3132
3132
|
e.showSearchbar && a.value !== void 0 ? (f(), F("div", sc, [
|
|
3133
3133
|
X(Mn, Ze({
|
|
@@ -3138,11 +3138,11 @@ const lc = {
|
|
|
3138
3138
|
])) : N("", !0)
|
|
3139
3139
|
], 64))
|
|
3140
3140
|
]),
|
|
3141
|
-
|
|
3142
|
-
|
|
3141
|
+
A("div", uc, [
|
|
3142
|
+
Ae(u.$slots, "default")
|
|
3143
3143
|
]),
|
|
3144
3144
|
u.$slots.footer ? (f(), F("div", cc, [
|
|
3145
|
-
|
|
3145
|
+
Ae(u.$slots, "footer")
|
|
3146
3146
|
])) : N("", !0)
|
|
3147
3147
|
], 512));
|
|
3148
3148
|
}
|
|
@@ -3169,8 +3169,8 @@ const lc = {
|
|
|
3169
3169
|
setup(e) {
|
|
3170
3170
|
return (t, n) => (f(), j(O(Ll), Ot(cn(t.$props)), It({
|
|
3171
3171
|
trigger: pe(() => [
|
|
3172
|
-
|
|
3173
|
-
|
|
3172
|
+
Ae(t.$slots, "trigger", {}, () => [
|
|
3173
|
+
A("p", null, ne(e.label), 1)
|
|
3174
3174
|
])
|
|
3175
3175
|
]),
|
|
3176
3176
|
_: 2
|
|
@@ -3178,12 +3178,12 @@ const lc = {
|
|
|
3178
3178
|
t.$slots.content || e.description ? {
|
|
3179
3179
|
name: "content",
|
|
3180
3180
|
fn: pe(() => [
|
|
3181
|
-
|
|
3181
|
+
A("div", {
|
|
3182
3182
|
class: se(["pv-tooltip-v2-content", { "pv-tooltip-v2-content-small": e.size === "sm" }]),
|
|
3183
3183
|
role: "tooltip"
|
|
3184
3184
|
}, [
|
|
3185
|
-
|
|
3186
|
-
ze(
|
|
3185
|
+
Ae(t.$slots, "content", {}, () => [
|
|
3186
|
+
ze(ne(e.description), 1)
|
|
3187
3187
|
])
|
|
3188
3188
|
], 2)
|
|
3189
3189
|
]),
|
|
@@ -3273,8 +3273,8 @@ const lc = {
|
|
|
3273
3273
|
style: { "--flex-gap": "0.25rem" },
|
|
3274
3274
|
disabled: e.disabled || e.isLoading
|
|
3275
3275
|
}, [
|
|
3276
|
-
|
|
3277
|
-
e.prefixLabel ? (f(), F("p", hc,
|
|
3276
|
+
A("div", mc, [
|
|
3277
|
+
e.prefixLabel ? (f(), F("p", hc, ne(e.prefixLabel), 1)) : N("", !0),
|
|
3278
3278
|
e.counterPosition === "left" && e.counterValue ? (f(), j(gn, {
|
|
3279
3279
|
key: 1,
|
|
3280
3280
|
"data-testid": "pv-multi-select-left-counter-badge",
|
|
@@ -3292,7 +3292,7 @@ const lc = {
|
|
|
3292
3292
|
name: e.companyLogo,
|
|
3293
3293
|
size: "sm"
|
|
3294
3294
|
}, null, 8, ["name"])) : N("", !0),
|
|
3295
|
-
e.isLoading || e.label ? (f(), F("span", gc,
|
|
3295
|
+
e.isLoading || e.label ? (f(), F("span", gc, ne(e.isLoading ? "Loading..." : e.label), 1)) : N("", !0),
|
|
3296
3296
|
e.counterPosition === "right" && e.counterValue ? (f(), j(gn, {
|
|
3297
3297
|
key: 5,
|
|
3298
3298
|
"data-testid": "pv-multi-select-right-counter-badge",
|
|
@@ -3361,7 +3361,7 @@ const ho = /* @__PURE__ */ Xe(yc, [["render", xc]]), Cc = ["data-style"], Sc = [
|
|
|
3361
3361
|
name: e.icon,
|
|
3362
3362
|
size: n[e.size]
|
|
3363
3363
|
}, null, 8, ["name", "size"])) : e.initials ? (f(), F(fe, { key: 1 }, [
|
|
3364
|
-
ze(
|
|
3364
|
+
ze(ne(e.initials), 1)
|
|
3365
3365
|
], 64)) : e.image ? (f(), F("img", {
|
|
3366
3366
|
key: 2,
|
|
3367
3367
|
src: e.image
|
|
@@ -3437,16 +3437,16 @@ const ho = /* @__PURE__ */ Xe(yc, [["render", xc]]), Cc = ["data-style"], Sc = [
|
|
|
3437
3437
|
name: e.companyName,
|
|
3438
3438
|
size: "sm"
|
|
3439
3439
|
}, null, 8, ["name"])) : N("", !0),
|
|
3440
|
-
|
|
3441
|
-
|
|
3440
|
+
A("div", Fc, [
|
|
3441
|
+
A("span", {
|
|
3442
3442
|
class: "pv-text-body-md pv-full-width pv-truncate",
|
|
3443
3443
|
title: e.text
|
|
3444
3444
|
}, [
|
|
3445
|
-
|
|
3445
|
+
A("span", {
|
|
3446
3446
|
ref_key: "mainText",
|
|
3447
3447
|
ref: n
|
|
3448
|
-
},
|
|
3449
|
-
e.subduedText ? (f(), F("span", kc,
|
|
3448
|
+
}, ne(e.text), 513),
|
|
3449
|
+
e.subduedText ? (f(), F("span", kc, ne(e.subduedText), 1)) : N("", !0)
|
|
3450
3450
|
], 8, Tc),
|
|
3451
3451
|
o.value ? (f(), F("span", {
|
|
3452
3452
|
key: 0,
|
|
@@ -3454,16 +3454,16 @@ const ho = /* @__PURE__ */ Xe(yc, [["render", xc]]), Cc = ["data-style"], Sc = [
|
|
|
3454
3454
|
ref: l,
|
|
3455
3455
|
class: "pv-text-body-xs pv-text-subdued pv-full-width pv-truncate",
|
|
3456
3456
|
title: o.value
|
|
3457
|
-
},
|
|
3457
|
+
}, ne(o.value), 9, Mc)) : N("", !0)
|
|
3458
3458
|
]),
|
|
3459
3459
|
e.secondaryText && typeof e.secondaryText == "number" ? (f(), j(gn, {
|
|
3460
3460
|
key: 3,
|
|
3461
3461
|
value: e.secondaryText,
|
|
3462
3462
|
variant: e.menuOptionConfig?.counterBadgeVariant
|
|
3463
|
-
}, null, 8, ["value", "variant"])) : e.secondaryText && typeof e.secondaryText == "string" ? (f(), F("span", $c,
|
|
3463
|
+
}, null, 8, ["value", "variant"])) : e.secondaryText && typeof e.secondaryText == "string" ? (f(), F("span", $c, ne(e.secondaryText), 1)) : N("", !0)
|
|
3464
3464
|
], 64));
|
|
3465
3465
|
}
|
|
3466
|
-
}),
|
|
3466
|
+
}), Ac = /* @__PURE__ */ ae({
|
|
3467
3467
|
__name: "PvMenuItemAction",
|
|
3468
3468
|
props: {
|
|
3469
3469
|
action: {},
|
|
@@ -3488,13 +3488,13 @@ const ho = /* @__PURE__ */ Xe(yc, [["render", xc]]), Cc = ["data-style"], Sc = [
|
|
|
3488
3488
|
o.value ? {
|
|
3489
3489
|
name: "tooltip-content",
|
|
3490
3490
|
fn: pe(() => [
|
|
3491
|
-
ze(
|
|
3491
|
+
ze(ne(o.value), 1)
|
|
3492
3492
|
]),
|
|
3493
3493
|
key: "0"
|
|
3494
3494
|
} : void 0
|
|
3495
3495
|
]), 1024));
|
|
3496
3496
|
}
|
|
3497
|
-
}),
|
|
3497
|
+
}), Pc = /* @__PURE__ */ Xe(Ac, [["__scopeId", "data-v-6a2265bf"]]);
|
|
3498
3498
|
function Sn(e) {
|
|
3499
3499
|
return e.flatMap((t) => t.children?.length ? Sn(t.children) : [t]);
|
|
3500
3500
|
}
|
|
@@ -3571,7 +3571,7 @@ const Rc = ["data-testid"], Lc = ["hidden", "type", "checked", "indeterminate",
|
|
|
3571
3571
|
"data-testid": v.value,
|
|
3572
3572
|
style: { cursor: "pointer" }
|
|
3573
3573
|
}, [
|
|
3574
|
-
|
|
3574
|
+
A("input", {
|
|
3575
3575
|
ref_key: "inputRef",
|
|
3576
3576
|
ref: l,
|
|
3577
3577
|
hidden: c.value,
|
|
@@ -3588,7 +3588,7 @@ const Rc = ["data-testid"], Lc = ["hidden", "type", "checked", "indeterminate",
|
|
|
3588
3588
|
queryText: e.queryText,
|
|
3589
3589
|
highlightSearchText: e.highlightSearchText
|
|
3590
3590
|
}), null, 16, ["menuOptionConfig", "queryText", "highlightSearchText"])),
|
|
3591
|
-
e.menuOptionConfig?.action ? (f(), j(
|
|
3591
|
+
e.menuOptionConfig?.action ? (f(), j(Pc, {
|
|
3592
3592
|
key: 2,
|
|
3593
3593
|
action: e.menuOptionConfig?.action,
|
|
3594
3594
|
option: n
|
|
@@ -3870,7 +3870,7 @@ const Rc = ["data-testid"], Lc = ["hidden", "type", "checked", "indeterminate",
|
|
|
3870
3870
|
}, null, 8, ["variant", "size", "disabled", "counterPosition", "prefixLabel", "label", "icon", "companyLogo", "showClear", "showDropdown", "open", "counter-value"])
|
|
3871
3871
|
]),
|
|
3872
3872
|
content: pe(() => [
|
|
3873
|
-
|
|
3873
|
+
A("div", {
|
|
3874
3874
|
class: "pv-popover",
|
|
3875
3875
|
"data-test-id": "pv-popover",
|
|
3876
3876
|
style: He(e.popoverCssProperties)
|
|
@@ -3885,11 +3885,11 @@ const Rc = ["data-testid"], Lc = ["hidden", "type", "checked", "indeterminate",
|
|
|
3885
3885
|
}, null, 8, ["model-value", "placeholder"])
|
|
3886
3886
|
])),
|
|
3887
3887
|
B.$slots.header ? (f(), F("div", Gc, [
|
|
3888
|
-
|
|
3888
|
+
Ae(B.$slots, "header", Ot(cn(_.value)))
|
|
3889
3889
|
])) : N("", !0),
|
|
3890
3890
|
T.value.length > 0 ? (f(), F(fe, { key: 2 }, [
|
|
3891
3891
|
L.value ? (f(!0), F(fe, { key: 0 }, Qe(M.value, ([V, G], Q) => (f(), F("div", { key: V }, [
|
|
3892
|
-
B.$slots[V] ?
|
|
3892
|
+
B.$slots[V] ? Ae(B.$slots, V, { key: 0 }) : V !== "other" ? (f(), F("span", zc, ne(V), 1)) : N("", !0),
|
|
3893
3893
|
X(bl, {
|
|
3894
3894
|
selectedItems: g.value,
|
|
3895
3895
|
"onUpdate:selectedItems": k[2] || (k[2] = (ie) => g.value = ie),
|
|
@@ -3917,10 +3917,10 @@ const Rc = ["data-testid"], Lc = ["hidden", "type", "checked", "indeterminate",
|
|
|
3917
3917
|
e.isLoading ? (f(), F("div", jc, [
|
|
3918
3918
|
X(Zn, { variant: "dark" })
|
|
3919
3919
|
])) : T.value.length === 0 ? (f(), F(fe, { key: 4 }, [
|
|
3920
|
-
B.$slots["no-results"] ?
|
|
3920
|
+
B.$slots["no-results"] ? Ae(B.$slots, "no-results", Ot(Ze({ key: 0 }, _.value))) : (f(), j(ho, { key: 1 }))
|
|
3921
3921
|
], 64)) : N("", !0),
|
|
3922
|
-
|
|
3923
|
-
B.$slots.footer ?
|
|
3922
|
+
A("div", Kc, [
|
|
3923
|
+
B.$slots.footer ? Ae(B.$slots, "footer", Ot(Ze({ key: 0 }, _.value))) : N("", !0),
|
|
3924
3924
|
e.menuActionsVariant ? (f(), j(pc, {
|
|
3925
3925
|
key: 1,
|
|
3926
3926
|
variant: e.menuActionsVariant,
|
|
@@ -4045,7 +4045,7 @@ const Rc = ["data-testid"], Lc = ["hidden", "type", "checked", "indeterminate",
|
|
|
4045
4045
|
}, null, 8, ["variant", "inverse", "size", "disabled", "prefixLabel", "label", "icon", "companyLogo", "open", "counter-position", "counter-value", "counter-badge-variant", "isLoading"])
|
|
4046
4046
|
]),
|
|
4047
4047
|
content: pe(() => [
|
|
4048
|
-
|
|
4048
|
+
A("div", {
|
|
4049
4049
|
class: "pv-popover",
|
|
4050
4050
|
"data-test-id": "pv-popover",
|
|
4051
4051
|
style: He([e.popoverCssProperties, { position: "unset" }])
|
|
@@ -4128,17 +4128,17 @@ const bo = () => {
|
|
|
4128
4128
|
l.value.innerHTML = a.value.replace(u, '<span style="font-weight: bold;">$1</span>');
|
|
4129
4129
|
}
|
|
4130
4130
|
}), (u, c) => (f(), F("div", null, [
|
|
4131
|
-
|
|
4131
|
+
A("div", nd, [
|
|
4132
4132
|
X(Le, { name: s.value }, null, 8, ["name"]),
|
|
4133
|
-
|
|
4134
|
-
|
|
4133
|
+
A("div", null, [
|
|
4134
|
+
A("p", {
|
|
4135
4135
|
ref_key: "queryOptionText",
|
|
4136
4136
|
ref: l,
|
|
4137
4137
|
class: "pv-text-body-md"
|
|
4138
|
-
},
|
|
4138
|
+
}, ne(a.value), 513),
|
|
4139
4139
|
i.value ? (f(), F("p", ld, [
|
|
4140
4140
|
o.value ? N("", !0) : (f(), F("span", ad, "Search in ")),
|
|
4141
|
-
|
|
4141
|
+
A("span", od, ne(i.value), 1)
|
|
4142
4142
|
])) : N("", !0)
|
|
4143
4143
|
])
|
|
4144
4144
|
])
|
|
@@ -4298,7 +4298,7 @@ const bo = () => {
|
|
|
4298
4298
|
key: 0,
|
|
4299
4299
|
name: "search"
|
|
4300
4300
|
})),
|
|
4301
|
-
|
|
4301
|
+
A("div", {
|
|
4302
4302
|
class: "pv-flex pv-full-width pv-inset-inline pv-query-builder-input",
|
|
4303
4303
|
style: He([{ "--inset-size": "4px", "--flex-gap": "4px" }, e.enableWrapQueryTerms || d.value ? "flex-wrap: wrap;" : "flex-wrap: nowrap;"])
|
|
4304
4304
|
}, [
|
|
@@ -4309,7 +4309,7 @@ const bo = () => {
|
|
|
4309
4309
|
"onUpdate:wrapContent": L[1] || (L[1] = (_) => d.value = _),
|
|
4310
4310
|
"query-term-display-limit": e.queryTermDisplayLimit
|
|
4311
4311
|
}, null, 8, ["modelValue", "wrap-content", "query-term-display-limit"]),
|
|
4312
|
-
lt(
|
|
4312
|
+
lt(A("input", {
|
|
4313
4313
|
"onUpdate:modelValue": L[2] || (L[2] = (_) => o.value = _),
|
|
4314
4314
|
ref: "search-input",
|
|
4315
4315
|
"data-testid": "pv-search-input",
|
|
@@ -4330,7 +4330,7 @@ const bo = () => {
|
|
|
4330
4330
|
size: "md",
|
|
4331
4331
|
onClick: g
|
|
4332
4332
|
})) : N("", !0),
|
|
4333
|
-
v.value ? (f(), F("p", cd,
|
|
4333
|
+
v.value ? (f(), F("p", cd, ne(y.value), 1)) : N("", !0),
|
|
4334
4334
|
m.value.length > 0 || e.optionsLoading ? (f(), j(Nn, {
|
|
4335
4335
|
key: 3,
|
|
4336
4336
|
class: se({ "pv-hide": !u.value }),
|
|
@@ -4360,7 +4360,7 @@ mo.extend({
|
|
|
4360
4360
|
});
|
|
4361
4361
|
const El = Symbol("FilterStoreKey"), Kn = Symbol("FocusStoreKey"), xo = Symbol("SortStateKey"), zt = Symbol("GridApiKey"), vd = Symbol("ColumnDisplayOrderKey"), Co = Symbol("currentlyActiveFilterKey"), So = Symbol("AvailableFilterColumnsKey"), al = Symbol("AvailableRowGroupColumnsKey"), _l = Symbol("RowGroupColumnFieldsKey"), wo = Symbol(
|
|
4362
4362
|
"GroupColumnCellValueColumnKey"
|
|
4363
|
-
), Nl = Symbol("ExpandedRowsKey"), Fo = Symbol("FirstDataRenderedKey"), To = Symbol("RowsLoadingKey"), ko = Symbol("CurrentPageKey"), Mo = Symbol("TotalPageKey"), $o = Symbol("ActiveChartFilterOptionKey"), Oo = Symbol("RowGroupColumnsKey"),
|
|
4363
|
+
), Nl = Symbol("ExpandedRowsKey"), Fo = Symbol("FirstDataRenderedKey"), To = Symbol("RowsLoadingKey"), ko = Symbol("CurrentPageKey"), Mo = Symbol("TotalPageKey"), $o = Symbol("ActiveChartFilterOptionKey"), Oo = Symbol("RowGroupColumnsKey"), Ao = Symbol("ChartTypeKey"), Po = Symbol("SortTypesKey"), Ro = Symbol("ActiveChartKey"), Lo = Symbol("ActiveSortKey"), Do = Symbol("ActiveSeriesKey"), Vo = Symbol("AvailableSeriesKey"), Io = Symbol("ActiveSecondarySeriesKey"), Bo = Symbol("AvailableSecondarySeriesKey"), ol = Symbol("EnableAdvancedFilterKey"), md = {
|
|
4364
4364
|
class: "pv-flex",
|
|
4365
4365
|
style: { "--flex-wrap": "nowrap" }
|
|
4366
4366
|
}, hd = ["id"], gd = {
|
|
@@ -4424,8 +4424,8 @@ const El = Symbol("FilterStoreKey"), Kn = Symbol("FocusStoreKey"), xo = Symbol("
|
|
|
4424
4424
|
onListOrderUpdated: y
|
|
4425
4425
|
}, {
|
|
4426
4426
|
trigger: pe(() => [
|
|
4427
|
-
|
|
4428
|
-
g[0] || (g[0] =
|
|
4427
|
+
A("div", md, [
|
|
4428
|
+
g[0] || (g[0] = A("p", { class: "pv-truncate pv-text-body-md" }, "Compare", -1)),
|
|
4429
4429
|
O(l).length > 0 ? (f(), j(O(gn), {
|
|
4430
4430
|
key: 0,
|
|
4431
4431
|
value: O(l).length,
|
|
@@ -4441,7 +4441,7 @@ const El = Symbol("FilterStoreKey"), Kn = Symbol("FocusStoreKey"), xo = Symbol("
|
|
|
4441
4441
|
key: 0,
|
|
4442
4442
|
id: p(S.value)
|
|
4443
4443
|
}, [
|
|
4444
|
-
|
|
4444
|
+
A("label", {
|
|
4445
4445
|
class: se(["pv-flex", {
|
|
4446
4446
|
"pv-border-bottom": m + 1 === O(l).length
|
|
4447
4447
|
}])
|
|
@@ -4451,7 +4451,7 @@ const El = Symbol("FilterStoreKey"), Kn = Symbol("FocusStoreKey"), xo = Symbol("
|
|
|
4451
4451
|
name: "reorder",
|
|
4452
4452
|
class: "pv-text-subdued"
|
|
4453
4453
|
})) : (f(), F("span", gd)),
|
|
4454
|
-
|
|
4454
|
+
A("input", {
|
|
4455
4455
|
type: "checkbox",
|
|
4456
4456
|
class: "pv-checkbox",
|
|
4457
4457
|
checked: a(S.value),
|
|
@@ -4461,12 +4461,12 @@ const El = Symbol("FilterStoreKey"), Kn = Symbol("FocusStoreKey"), xo = Symbol("
|
|
|
4461
4461
|
T.target.checked
|
|
4462
4462
|
)
|
|
4463
4463
|
}, null, 40, yd),
|
|
4464
|
-
|
|
4465
|
-
a(S.value) ? (f(), F("sup", xd,
|
|
4464
|
+
A("span", bd, ne(S.label), 1),
|
|
4465
|
+
a(S.value) ? (f(), F("sup", xd, ne(m + 1), 1)) : N("", !0)
|
|
4466
4466
|
], 2)
|
|
4467
4467
|
], 8, hd)) : N("", !0)
|
|
4468
4468
|
], 64))), 128)),
|
|
4469
|
-
s.value ? (f(), F("p", Cd, " Supports " +
|
|
4469
|
+
s.value ? (f(), F("p", Cd, " Supports " + ne(e.rowGroupLimit) + " compare levels ", 1)) : N("", !0)
|
|
4470
4470
|
]),
|
|
4471
4471
|
_: 1
|
|
4472
4472
|
}, 8, ["class"]));
|
|
@@ -4502,7 +4502,7 @@ const kd = /* @__PURE__ */ Xe(wd, [["render", Td]]), ql = (e = null) => {
|
|
|
4502
4502
|
}, rl = () => {
|
|
4503
4503
|
const e = xe(Kn, null);
|
|
4504
4504
|
return e || ql();
|
|
4505
|
-
}, Md = { class: "pv-table-group-cell" }, $d = { class: "pv-text-body-xxs pv-text-subdued" }, Od = { key: 0 },
|
|
4505
|
+
}, Md = { class: "pv-table-group-cell" }, $d = { class: "pv-text-body-xxs pv-text-subdued" }, Od = { key: 0 }, Ad = { style: { "line-height": "20px" } }, Pd = { class: "pv-text-title-md" }, Rd = {
|
|
4506
4506
|
key: 0,
|
|
4507
4507
|
class: "pv-flex",
|
|
4508
4508
|
style: { flex: "1", "--flex-justify": "flex-end" }
|
|
@@ -4558,13 +4558,13 @@ const kd = /* @__PURE__ */ Xe(wd, [["render", Td]]), ql = (e = null) => {
|
|
|
4558
4558
|
key: 0,
|
|
4559
4559
|
class: se(T.value)
|
|
4560
4560
|
}, [
|
|
4561
|
-
|
|
4562
|
-
|
|
4563
|
-
ze(
|
|
4564
|
-
e.params.displayCount && r.value && d.value > 0 ? (f(), F("span", Od, " (" +
|
|
4561
|
+
A("div", Md, [
|
|
4562
|
+
A("p", $d, [
|
|
4563
|
+
ze(ne(O(a).rowGroupColumn?.getColDef().headerName) + " ", 1),
|
|
4564
|
+
e.params.displayCount && r.value && d.value > 0 ? (f(), F("span", Od, " (" + ne(d.value.toLocaleString()) + ") ", 1)) : N("", !0)
|
|
4565
4565
|
]),
|
|
4566
|
-
|
|
4567
|
-
|
|
4566
|
+
A("div", Ad, [
|
|
4567
|
+
A("p", Pd, ne(s.value), 1)
|
|
4568
4568
|
])
|
|
4569
4569
|
]),
|
|
4570
4570
|
R.value && O(m)() ? (f(), F("div", Rd, [
|
|
@@ -4582,16 +4582,16 @@ const kd = /* @__PURE__ */ Xe(wd, [["render", Td]]), ql = (e = null) => {
|
|
|
4582
4582
|
}, null, 8, ["class"])
|
|
4583
4583
|
]),
|
|
4584
4584
|
"tooltip-content": pe(() => [
|
|
4585
|
-
|
|
4585
|
+
A("span", null, " Remove " + ne(e.params.focusText || "Focus"), 1)
|
|
4586
4586
|
]),
|
|
4587
4587
|
_: 1
|
|
4588
4588
|
})
|
|
4589
4589
|
])) : N("", !0)
|
|
4590
4590
|
], 2)) : N("", !0),
|
|
4591
|
-
|
|
4592
|
-
|
|
4593
|
-
e.params.displayRowNumber && p.value ? (f(), F("span", Ld,
|
|
4594
|
-
ze(" " +
|
|
4591
|
+
A("div", null, [
|
|
4592
|
+
A("p", null, [
|
|
4593
|
+
e.params.displayRowNumber && p.value ? (f(), F("span", Ld, ne(p.value), 1)) : N("", !0),
|
|
4594
|
+
ze(" " + ne(c.value), 1)
|
|
4595
4595
|
])
|
|
4596
4596
|
])
|
|
4597
4597
|
], 64));
|
|
@@ -4778,9 +4778,9 @@ const Gl = (e) => {
|
|
|
4778
4778
|
class: "pv-flex",
|
|
4779
4779
|
ondblclick: o
|
|
4780
4780
|
}, [
|
|
4781
|
-
|
|
4782
|
-
|
|
4783
|
-
|
|
4781
|
+
A("div", Gd, [
|
|
4782
|
+
A("p", null, ne(u.value), 1),
|
|
4783
|
+
A("p", zd, ne(l.value), 1)
|
|
4784
4784
|
]),
|
|
4785
4785
|
X(Oe, {
|
|
4786
4786
|
size: "xl",
|
|
@@ -5676,7 +5676,7 @@ const Gl = (e) => {
|
|
|
5676
5676
|
k(), l("filter-closed");
|
|
5677
5677
|
};
|
|
5678
5678
|
return (q, W) => (f(), F(fe, null, [
|
|
5679
|
-
|
|
5679
|
+
A("div", null, [
|
|
5680
5680
|
O(d) ? (f(), F("ul", o1, [
|
|
5681
5681
|
(f(!0), F(fe, null, Qe(O(o), (Z) => (f(), F("li", {
|
|
5682
5682
|
key: `${O(c)}-${Z}`,
|
|
@@ -5722,8 +5722,8 @@ const Gl = (e) => {
|
|
|
5722
5722
|
onDropdownClosed: le
|
|
5723
5723
|
}, It({
|
|
5724
5724
|
preferences: pe(() => [
|
|
5725
|
-
|
|
5726
|
-
W[5] || (W[5] =
|
|
5725
|
+
A("div", r1, [
|
|
5726
|
+
W[5] || (W[5] = A("p", { class: "pv-text-subdued pv-text-body-xxs" }, "Your Preferences", -1)),
|
|
5727
5727
|
X(O(Bt), {
|
|
5728
5728
|
variant: "dark",
|
|
5729
5729
|
size: "sm"
|
|
@@ -5744,7 +5744,7 @@ const Gl = (e) => {
|
|
|
5744
5744
|
])
|
|
5745
5745
|
]),
|
|
5746
5746
|
suggestions: pe(() => [
|
|
5747
|
-
|
|
5747
|
+
A("div", i1, [
|
|
5748
5748
|
X(O(Bt), {
|
|
5749
5749
|
variant: "dark",
|
|
5750
5750
|
disableInteractive: !0,
|
|
@@ -5753,16 +5753,16 @@ const Gl = (e) => {
|
|
|
5753
5753
|
style: { "--max-width": "200px" }
|
|
5754
5754
|
}, It({
|
|
5755
5755
|
label: pe(() => [
|
|
5756
|
-
|
|
5756
|
+
A("p", {
|
|
5757
5757
|
class: se(["pv-text-subdued pv-text-body-xxs", O(b) ? "suggested-title-label" : ""])
|
|
5758
|
-
},
|
|
5758
|
+
}, ne(O(w)), 3)
|
|
5759
5759
|
]),
|
|
5760
5760
|
_: 2
|
|
5761
5761
|
}, [
|
|
5762
5762
|
O(b) ? {
|
|
5763
5763
|
name: "tooltip-content",
|
|
5764
5764
|
fn: pe(() => [
|
|
5765
|
-
ze(
|
|
5765
|
+
ze(ne(O(b)), 1)
|
|
5766
5766
|
]),
|
|
5767
5767
|
key: "0"
|
|
5768
5768
|
} : void 0
|
|
@@ -5796,7 +5796,7 @@ const Gl = (e) => {
|
|
|
5796
5796
|
]),
|
|
5797
5797
|
O(d) ? (f(), F("div", s1, [
|
|
5798
5798
|
O(p).length > 0 ? (f(), F("div", u1, [
|
|
5799
|
-
|
|
5799
|
+
A("ul", c1, [
|
|
5800
5800
|
X(O(Bt), {
|
|
5801
5801
|
variant: "dark",
|
|
5802
5802
|
interactive: !1,
|
|
@@ -5805,8 +5805,8 @@ const Gl = (e) => {
|
|
|
5805
5805
|
style: { "--max-width": "200px" }
|
|
5806
5806
|
}, It({
|
|
5807
5807
|
label: pe(() => [
|
|
5808
|
-
|
|
5809
|
-
|
|
5808
|
+
A("li", d1, [
|
|
5809
|
+
A("p", {
|
|
5810
5810
|
class: se(["pv-text-subdued pv-text-body-md", O(b) ? "suggested-title-label" : ""])
|
|
5811
5811
|
}, " Suggested: ", 2)
|
|
5812
5812
|
])
|
|
@@ -5816,7 +5816,7 @@ const Gl = (e) => {
|
|
|
5816
5816
|
O(b) ? {
|
|
5817
5817
|
name: "tooltip-content",
|
|
5818
5818
|
fn: pe(() => [
|
|
5819
|
-
ze(
|
|
5819
|
+
ze(ne(O(b)), 1)
|
|
5820
5820
|
]),
|
|
5821
5821
|
key: "0"
|
|
5822
5822
|
} : void 0
|
|
@@ -5837,7 +5837,7 @@ const Gl = (e) => {
|
|
|
5837
5837
|
])) : N("", !0)
|
|
5838
5838
|
], 64));
|
|
5839
5839
|
}
|
|
5840
|
-
}),
|
|
5840
|
+
}), Aa = /* @__PURE__ */ Xe(p1, [["__scopeId", "data-v-c6a79991"]]), v1 = { class: "pv-flex" }, m1 = { class: "pv-flex" }, h1 = { class: "pv-flex pv-space-between pv-stack-8" }, g1 = { class: "pv-text-title-lg" }, y1 = {
|
|
5841
5841
|
id: "filter-vertical-drawer",
|
|
5842
5842
|
class: "pv-flex-vertical pv-space-between pv-full-width pv-inset-block-16",
|
|
5843
5843
|
style: { height: "100%" }
|
|
@@ -5901,11 +5901,11 @@ const Gl = (e) => {
|
|
|
5901
5901
|
R.value && t.value && (o.value ? t.value.setAdvancedFilterModel(i.value) : (t.value.setFilterModel(i.value), t.value.onFilterChanged())), L();
|
|
5902
5902
|
};
|
|
5903
5903
|
return (k, V) => (f(), F(fe, null, [
|
|
5904
|
-
|
|
5904
|
+
A("div", v1, [
|
|
5905
5905
|
(f(!0), F(fe, null, Qe(S.value, (G) => (f(), F(fe, {
|
|
5906
5906
|
key: G.field
|
|
5907
5907
|
}, [
|
|
5908
|
-
O(t) ? (f(), j(
|
|
5908
|
+
O(t) ? (f(), j(Aa, {
|
|
5909
5909
|
key: 0,
|
|
5910
5910
|
"enable-focus-view": a.enableFocusView,
|
|
5911
5911
|
"display-preferences-icon": a.displayPreferencesIcon,
|
|
@@ -5915,7 +5915,7 @@ const Gl = (e) => {
|
|
|
5915
5915
|
onHandleSettingsIcon: V[0] || (V[0] = (Q) => k.$emit("handle-settings-icon", Q))
|
|
5916
5916
|
}, null, 8, ["enable-focus-view", "display-preferences-icon", "focusable-columns", "focus-text", "filterColDef"])) : N("", !0)
|
|
5917
5917
|
], 64))), 128)),
|
|
5918
|
-
|
|
5918
|
+
A("div", m1, [
|
|
5919
5919
|
a.enableVerticalPanel ? (f(), j(O(Oe), {
|
|
5920
5920
|
key: 0,
|
|
5921
5921
|
label: "All Filters",
|
|
@@ -5947,9 +5947,9 @@ const Gl = (e) => {
|
|
|
5947
5947
|
style: { "max-width": "450px", "z-index": "10" }
|
|
5948
5948
|
}, {
|
|
5949
5949
|
header: pe(() => [
|
|
5950
|
-
|
|
5951
|
-
|
|
5952
|
-
|
|
5950
|
+
A("div", h1, [
|
|
5951
|
+
A("p", g1, "All Filters (" + ne(v.value.length) + ")", 1),
|
|
5952
|
+
A("button", {
|
|
5953
5953
|
class: "pv-button-ghost",
|
|
5954
5954
|
onClick: V[2] || (V[2] = (G) => _())
|
|
5955
5955
|
}, [
|
|
@@ -5963,12 +5963,12 @@ const Gl = (e) => {
|
|
|
5963
5963
|
}, null, 8, ["modelValue"])
|
|
5964
5964
|
]),
|
|
5965
5965
|
footer: pe(() => [
|
|
5966
|
-
|
|
5967
|
-
|
|
5966
|
+
A("div", w1, [
|
|
5967
|
+
A("button", {
|
|
5968
5968
|
class: "pv-button-ghost",
|
|
5969
5969
|
onClick: V[5] || (V[5] = (G) => M())
|
|
5970
5970
|
}, "Clear All"),
|
|
5971
|
-
|
|
5971
|
+
A("div", F1, [
|
|
5972
5972
|
X(O(Oe), {
|
|
5973
5973
|
variant: "ghost",
|
|
5974
5974
|
label: "Cancel",
|
|
@@ -5989,20 +5989,20 @@ const Gl = (e) => {
|
|
|
5989
5989
|
])
|
|
5990
5990
|
]),
|
|
5991
5991
|
default: pe(() => [
|
|
5992
|
-
|
|
5993
|
-
|
|
5992
|
+
A("div", y1, [
|
|
5993
|
+
A("div", b1, [
|
|
5994
5994
|
(f(!0), F(fe, null, Qe(g.value, (G, Q) => (f(), F("div", {
|
|
5995
5995
|
key: G.field,
|
|
5996
5996
|
class: se([{
|
|
5997
5997
|
"pv-border-bottom": Q < g.value.length - 1
|
|
5998
5998
|
}, "pv-stack-12"])
|
|
5999
5999
|
}, [
|
|
6000
|
-
|
|
6001
|
-
|
|
6002
|
-
|
|
6000
|
+
A("details", x1, [
|
|
6001
|
+
A("summary", C1, [
|
|
6002
|
+
A("span", S1, ne(G.headerName), 1)
|
|
6003
6003
|
]),
|
|
6004
|
-
|
|
6005
|
-
O(t) ? (f(), j(
|
|
6004
|
+
A("div", null, [
|
|
6005
|
+
O(t) ? (f(), j(Aa, {
|
|
6006
6006
|
key: 0,
|
|
6007
6007
|
"filter-style": "vertical",
|
|
6008
6008
|
"enable-focus-view": a.enableFocusView,
|
|
@@ -6029,10 +6029,10 @@ const Gl = (e) => {
|
|
|
6029
6029
|
style: { top: "50%" }
|
|
6030
6030
|
}, {
|
|
6031
6031
|
body: pe(() => [...V[13] || (V[13] = [
|
|
6032
|
-
|
|
6032
|
+
A("p", { class: "pv-text-body-lg" }, "This action will remove all currently applied filters. Would you like to continue?", -1)
|
|
6033
6033
|
])]),
|
|
6034
6034
|
footer: pe(() => [
|
|
6035
|
-
|
|
6035
|
+
A("div", T1, [
|
|
6036
6036
|
X(O(Oe), {
|
|
6037
6037
|
label: "Cancel",
|
|
6038
6038
|
variant: "secondary",
|
|
@@ -6091,7 +6091,7 @@ const Gl = (e) => {
|
|
|
6091
6091
|
style: He(y.value),
|
|
6092
6092
|
onClick: T
|
|
6093
6093
|
}, [
|
|
6094
|
-
|
|
6094
|
+
A("div", {
|
|
6095
6095
|
class: se(["pv-flex", { "pv-text-right": p.value }])
|
|
6096
6096
|
}, [
|
|
6097
6097
|
i.value ? (f(), j(Le, {
|
|
@@ -6099,14 +6099,14 @@ const Gl = (e) => {
|
|
|
6099
6099
|
name: i.value,
|
|
6100
6100
|
class: "pv-text-tertiary"
|
|
6101
6101
|
}, null, 8, ["name"])) : N("", !0),
|
|
6102
|
-
|
|
6102
|
+
A("p", null, ne(r.value), 1),
|
|
6103
6103
|
a.value && d.value !== "" ? (f(), j(Le, {
|
|
6104
6104
|
key: 1,
|
|
6105
6105
|
name: d.value
|
|
6106
6106
|
}, null, 8, ["name"])) : N("", !0)
|
|
6107
6107
|
], 2),
|
|
6108
6108
|
c.value ? (f(), F("div", M1, [
|
|
6109
|
-
|
|
6109
|
+
A("div", {
|
|
6110
6110
|
ref_key: "menuButton",
|
|
6111
6111
|
ref: s,
|
|
6112
6112
|
class: "ag-header-cell-menu-button",
|
|
@@ -6122,7 +6122,7 @@ const Gl = (e) => {
|
|
|
6122
6122
|
])) : N("", !0)
|
|
6123
6123
|
], 4));
|
|
6124
6124
|
}
|
|
6125
|
-
}),
|
|
6125
|
+
}), Pa = /* @__PURE__ */ Xe($1, [["__scopeId", "data-v-90d4e92d"]]), O1 = Va.withParams({
|
|
6126
6126
|
headerHeight: "30px",
|
|
6127
6127
|
headerBackgroundColor: "white",
|
|
6128
6128
|
headerCellHoverBackgroundColor: "#F7F8F8",
|
|
@@ -6141,7 +6141,7 @@ const Gl = (e) => {
|
|
|
6141
6141
|
wrapperBorderRadius: "8px",
|
|
6142
6142
|
menuBackgroundColor: "white",
|
|
6143
6143
|
accentColor: "#36C5BA"
|
|
6144
|
-
}),
|
|
6144
|
+
}), A1 = Va.withParams({
|
|
6145
6145
|
headerHeight: "30px",
|
|
6146
6146
|
headerBackgroundColor: "white",
|
|
6147
6147
|
headerCellHoverBackgroundColor: "#F7F8F8",
|
|
@@ -6160,7 +6160,7 @@ const Gl = (e) => {
|
|
|
6160
6160
|
wrapperBorderRadius: "8px",
|
|
6161
6161
|
menuBackgroundColor: "white",
|
|
6162
6162
|
accentColor: "#36C5BA"
|
|
6163
|
-
}),
|
|
6163
|
+
}), P1 = { class: "pv-popover-menu" }, R1 = {
|
|
6164
6164
|
class: "pv-popover",
|
|
6165
6165
|
style: { "--height": "auto" }
|
|
6166
6166
|
}, L1 = ["disabled"], D1 = /* @__PURE__ */ ae({
|
|
@@ -6180,21 +6180,21 @@ const Gl = (e) => {
|
|
|
6180
6180
|
const a = new Blob([o], { type: "text/csv;charset=utf-8;" }), r = document.createElement("a");
|
|
6181
6181
|
r.href = URL.createObjectURL(a), r.setAttribute("download", "datatable_export.csv"), r.click(), n.value = !1;
|
|
6182
6182
|
}
|
|
6183
|
-
return (o, a) => (f(), F("nav",
|
|
6184
|
-
a[0] || (a[0] =
|
|
6183
|
+
return (o, a) => (f(), F("nav", P1, [
|
|
6184
|
+
a[0] || (a[0] = A("button", {
|
|
6185
6185
|
type: "button",
|
|
6186
6186
|
class: "pv-button-icon"
|
|
6187
6187
|
}, [
|
|
6188
|
-
|
|
6188
|
+
A("svg", {
|
|
6189
6189
|
"aria-hidden": "true",
|
|
6190
6190
|
class: "pv-icon-24"
|
|
6191
6191
|
}, [
|
|
6192
|
-
|
|
6193
|
-
|
|
6192
|
+
A("title", null, "ellipsis"),
|
|
6193
|
+
A("use", { "xlink:href": "#ellipsis" })
|
|
6194
6194
|
])
|
|
6195
6195
|
], -1)),
|
|
6196
|
-
|
|
6197
|
-
|
|
6196
|
+
A("div", R1, [
|
|
6197
|
+
A("button", {
|
|
6198
6198
|
class: "pv-button pv-text-body-sm pv-inset-square-8",
|
|
6199
6199
|
onClick: Fn(l, ["prevent"]),
|
|
6200
6200
|
disabled: n.value
|
|
@@ -6272,7 +6272,7 @@ const Gl = (e) => {
|
|
|
6272
6272
|
const l = t.params.valueFormatted || t.params.value || "";
|
|
6273
6273
|
return l.trim() === "" ? null : l;
|
|
6274
6274
|
});
|
|
6275
|
-
return (l, o) => n.value ? (f(), F("div", B1,
|
|
6275
|
+
return (l, o) => n.value ? (f(), F("div", B1, ne(n.value), 1)) : N("", !0);
|
|
6276
6276
|
}
|
|
6277
6277
|
}), _1 = {
|
|
6278
6278
|
key: 0,
|
|
@@ -6288,9 +6288,9 @@ const Gl = (e) => {
|
|
|
6288
6288
|
return o && Ct(o) ? a.toLocaleString() : a;
|
|
6289
6289
|
});
|
|
6290
6290
|
return (o, a) => (f(), F("div", null, [
|
|
6291
|
-
|
|
6292
|
-
n.value ? (f(), F("span", _1,
|
|
6293
|
-
ze(" " +
|
|
6291
|
+
A("p", null, [
|
|
6292
|
+
n.value ? (f(), F("span", _1, ne(n.value), 1)) : N("", !0),
|
|
6293
|
+
ze(" " + ne(l.value), 1)
|
|
6294
6294
|
])
|
|
6295
6295
|
]));
|
|
6296
6296
|
}
|
|
@@ -6381,7 +6381,7 @@ const Gl = (e) => {
|
|
|
6381
6381
|
},
|
|
6382
6382
|
setup(e) {
|
|
6383
6383
|
return (t, n) => (f(), F("div", z1, [
|
|
6384
|
-
|
|
6384
|
+
A("p", H1, ne(e.params.value), 1)
|
|
6385
6385
|
]));
|
|
6386
6386
|
}
|
|
6387
6387
|
}), K1 = { class: "pv-stack-16" }, U1 = { class: "pv-flex pv-space-between" }, W1 = { class: "pv-flex" }, Y1 = { style: { width: "30%", "max-width": "50%" } }, Q1 = {
|
|
@@ -6462,9 +6462,9 @@ const Gl = (e) => {
|
|
|
6462
6462
|
setup(e, { expose: t, emit: n }) {
|
|
6463
6463
|
const l = [
|
|
6464
6464
|
Or,
|
|
6465
|
-
Pr,
|
|
6466
|
-
sr,
|
|
6467
6465
|
Ar,
|
|
6466
|
+
sr,
|
|
6467
|
+
Pr,
|
|
6468
6468
|
ur,
|
|
6469
6469
|
Rr,
|
|
6470
6470
|
cr,
|
|
@@ -6503,7 +6503,7 @@ const Gl = (e) => {
|
|
|
6503
6503
|
const r = h(() => ({
|
|
6504
6504
|
height: a.containerHeight,
|
|
6505
6505
|
minHeight: a.containerMinHeight
|
|
6506
|
-
})), i = h(() => a.theme ? a.theme : b.value.length > 0 ?
|
|
6506
|
+
})), i = h(() => a.theme ? a.theme : b.value.length > 0 ? A1 : O1), s = n, u = $(!1), c = "serverSideRowHandler" in a && a.serverSideRowHandler ? {
|
|
6507
6507
|
getRows: (C) => {
|
|
6508
6508
|
if (!_.value) {
|
|
6509
6509
|
C.success({ rowData: [] }), D.value = !0;
|
|
@@ -6511,20 +6511,20 @@ const Gl = (e) => {
|
|
|
6511
6511
|
}
|
|
6512
6512
|
M.value = !0;
|
|
6513
6513
|
const I = C.success, z = C.fail, ue = C.request.groupKeys?.length || 0, me = C.request.rowGroupCols?.length || 0, x = ue === me;
|
|
6514
|
-
let
|
|
6514
|
+
let P = !1;
|
|
6515
6515
|
const E = oe.value;
|
|
6516
6516
|
if (me > 0 && ue === 0) {
|
|
6517
6517
|
const Y = C.request.rowGroupCols[0].id;
|
|
6518
|
-
|
|
6518
|
+
P = Go(E, Y);
|
|
6519
6519
|
}
|
|
6520
6520
|
if (C.request.rowGroupCols = _o(C.request.rowGroupCols, C.api.getColumnDefs?.()), (C.request.groupKeys?.length || 0) > 0) {
|
|
6521
6521
|
const Y = C.parentNode?.data;
|
|
6522
6522
|
if (Y?.bucketMin != null && Y?.bucketMax != null) {
|
|
6523
6523
|
if (a.enableAdvancedFilter) {
|
|
6524
|
-
let
|
|
6524
|
+
let te = C.request.filterModel || null;
|
|
6525
6525
|
C.request.rowGroupCols?.forEach((he, ce) => {
|
|
6526
6526
|
if (he.aggFunc === Wt && ce < C.request.groupKeys.length) {
|
|
6527
|
-
const Se = he.field || he.id,
|
|
6527
|
+
const Se = he.field || he.id, Pe = {
|
|
6528
6528
|
filterType: "join",
|
|
6529
6529
|
type: "AND",
|
|
6530
6530
|
conditions: [
|
|
@@ -6542,15 +6542,15 @@ const Gl = (e) => {
|
|
|
6542
6542
|
}
|
|
6543
6543
|
]
|
|
6544
6544
|
};
|
|
6545
|
-
|
|
6545
|
+
te = Qt(te, Pe, Se);
|
|
6546
6546
|
}
|
|
6547
|
-
}),
|
|
6547
|
+
}), te && (C.request.filterModel = te);
|
|
6548
6548
|
} else {
|
|
6549
|
-
const
|
|
6549
|
+
const te = C.request.filterModel || {};
|
|
6550
6550
|
C.request.rowGroupCols?.forEach((he, ce) => {
|
|
6551
6551
|
if (he.aggFunc === Wt && ce < C.request.groupKeys.length) {
|
|
6552
6552
|
const Se = he.field || he.id;
|
|
6553
|
-
|
|
6553
|
+
te[Se] = {
|
|
6554
6554
|
filterType: "number",
|
|
6555
6555
|
operator: "AND",
|
|
6556
6556
|
conditions: [
|
|
@@ -6567,18 +6567,18 @@ const Gl = (e) => {
|
|
|
6567
6567
|
]
|
|
6568
6568
|
};
|
|
6569
6569
|
}
|
|
6570
|
-
}), C.request.filterModel =
|
|
6570
|
+
}), C.request.filterModel = te;
|
|
6571
6571
|
}
|
|
6572
6572
|
C.request.groupKeys = C.request.groupKeys.filter(
|
|
6573
|
-
(
|
|
6573
|
+
(te, he) => C.request.rowGroupCols?.[he]?.aggFunc !== Wt
|
|
6574
6574
|
), C.request.rowGroupCols = C.request.rowGroupCols.filter(
|
|
6575
|
-
(
|
|
6575
|
+
(te) => te.aggFunc !== Wt
|
|
6576
6576
|
);
|
|
6577
6577
|
}
|
|
6578
6578
|
}
|
|
6579
6579
|
if (C.request.rowGroupCols?.length === 0 ? C.request.valueCols = [] : C.request.valueCols = C.request.valueCols?.filter(
|
|
6580
|
-
(Y) => !C.request.rowGroupCols?.some((
|
|
6581
|
-
), (x ||
|
|
6580
|
+
(Y) => !C.request.rowGroupCols?.some((te) => te.id === Y.id)
|
|
6581
|
+
), (x || P) && !G.tableSearchFilterModelEmpty.value)
|
|
6582
6582
|
if (a.enableAdvancedFilter) {
|
|
6583
6583
|
const Y = C.request.filterModel;
|
|
6584
6584
|
Y ? C.request.filterModel = {
|
|
@@ -6592,9 +6592,9 @@ const Gl = (e) => {
|
|
|
6592
6592
|
}
|
|
6593
6593
|
C.success = (Y) => {
|
|
6594
6594
|
if (M.value = !1, a.enableFocusView && Ve.value.length > 0 && Me.value && Y.rowData) {
|
|
6595
|
-
const
|
|
6596
|
-
if (
|
|
6597
|
-
Y.rowData =
|
|
6595
|
+
const te = Fa(Y.rowData, Me.value, Ve.value);
|
|
6596
|
+
if (te) {
|
|
6597
|
+
Y.rowData = te, I(Y);
|
|
6598
6598
|
return;
|
|
6599
6599
|
}
|
|
6600
6600
|
}
|
|
@@ -6622,7 +6622,7 @@ const Gl = (e) => {
|
|
|
6622
6622
|
suppressColumnsToolPanel: !0,
|
|
6623
6623
|
minWidth: 150,
|
|
6624
6624
|
flex: 1,
|
|
6625
|
-
headerComponent: a.enableInlineFilters ? void 0 :
|
|
6625
|
+
headerComponent: a.enableInlineFilters ? void 0 : Pa,
|
|
6626
6626
|
cellDataType: !1,
|
|
6627
6627
|
tooltipComponent: j1,
|
|
6628
6628
|
cellClass: (I) => Be(I.column) ? "" : Ct(I.column?.getColDef()) ? "pv-text-right" : "",
|
|
@@ -6721,7 +6721,7 @@ const Gl = (e) => {
|
|
|
6721
6721
|
}, Ft = (C) => {
|
|
6722
6722
|
if (k.value) {
|
|
6723
6723
|
const I = ee();
|
|
6724
|
-
Oa(ge.value, I) || (ge.value = I,
|
|
6724
|
+
Oa(ge.value, I) || (ge.value = I, s("filter-changed", C));
|
|
6725
6725
|
}
|
|
6726
6726
|
}, it = (C) => {
|
|
6727
6727
|
V.value = C.api?.getState()?.sort?.sortModel || [], D.value && s("sort-changed", C);
|
|
@@ -6769,20 +6769,20 @@ const Gl = (e) => {
|
|
|
6769
6769
|
}
|
|
6770
6770
|
const ue = a.serverSideRowHandler;
|
|
6771
6771
|
return ue ? await new Promise((me, x) => {
|
|
6772
|
-
const
|
|
6772
|
+
const P = k.value?.getState(), E = {
|
|
6773
6773
|
request: z,
|
|
6774
6774
|
parentNode: {},
|
|
6775
6775
|
api: k.value,
|
|
6776
6776
|
context: void 0,
|
|
6777
6777
|
success: (U) => {
|
|
6778
|
-
const Y = k.value?.getRowGroupColumns().map((Te) => Te.getColDef().field).filter((Te) => !!Te) || [],
|
|
6778
|
+
const Y = k.value?.getRowGroupColumns().map((Te) => Te.getColDef().field).filter((Te) => !!Te) || [], te = k.value?.getAllDisplayedColumns().map((Te) => Te.getColDef().field).filter((Te) => !!Te) || [], he = k.value?.getValueColumns().map((Te) => Te.getColDef().field).filter((Te) => !!Te) || [], ce = Array.from(/* @__PURE__ */ new Set([...Y, ...te, ...he])), Se = U.rowData.map((Te) => {
|
|
6779
6779
|
const et = {};
|
|
6780
6780
|
return ce.forEach((Rt) => {
|
|
6781
6781
|
const De = Te[Rt];
|
|
6782
6782
|
et[Rt] = De != null ? String(De) : null;
|
|
6783
6783
|
}), et;
|
|
6784
|
-
}),
|
|
6785
|
-
Je.value = !1, me(
|
|
6784
|
+
}), Pe = jr.unparse(Se);
|
|
6785
|
+
Je.value = !1, me(Pe);
|
|
6786
6786
|
},
|
|
6787
6787
|
fail: () => {
|
|
6788
6788
|
Je.value = !1, x("CSV export failed.");
|
|
@@ -6824,13 +6824,13 @@ const Gl = (e) => {
|
|
|
6824
6824
|
dt(() => {
|
|
6825
6825
|
const I = we.value, z = C.api.getRowGroupColumns(), ue = z.length > 0;
|
|
6826
6826
|
let me;
|
|
6827
|
-
ue && a.leftPinnedColumnName && (me = C.api.getColumn(a.leftPinnedColumnName || "")), ue && !a.leftPinnedColumnName && (me = z[0]), me ? (we.value = me, Ye.value.headerName = me.getColDef().headerName, Ye.value.headerComponent = a.enableInlineFilters ? void 0 :
|
|
6827
|
+
ue && a.leftPinnedColumnName && (me = C.api.getColumn(a.leftPinnedColumnName || "")), ue && !a.leftPinnedColumnName && (me = z[0]), me ? (we.value = me, Ye.value.headerName = me.getColDef().headerName, Ye.value.headerComponent = a.enableInlineFilters ? void 0 : Pa, Ye.value.context = {
|
|
6828
6828
|
dataType: we.value?.getColDef().context?.dataType || null
|
|
6829
6829
|
}, C.api.setColumnsVisible([me.getColId()], !1)) : (we.value = null, Ye.value.headerName = "", Ye.value.headerComponent = void 0, Ye.value.context = null);
|
|
6830
6830
|
const x = I?.getColId();
|
|
6831
|
-
if ((!me || x !== me.getColId()) && C.api.setColumnsVisible([x || ""], !0), b.value = [...z].map((
|
|
6832
|
-
const
|
|
6833
|
-
ie.setFocusType(
|
|
6831
|
+
if ((!me || x !== me.getColId()) && C.api.setColumnsVisible([x || ""], !0), b.value = [...z].map((P) => P.getColId()), a.enableFocusView && !Q) {
|
|
6832
|
+
const P = b.value.length > 0 ? b.value[0] : null;
|
|
6833
|
+
ie.setFocusType(P);
|
|
6834
6834
|
}
|
|
6835
6835
|
D.value && s("column-row-group-changed", C);
|
|
6836
6836
|
});
|
|
@@ -6911,7 +6911,7 @@ const Gl = (e) => {
|
|
|
6911
6911
|
"rowUnGroup",
|
|
6912
6912
|
"valueAggSubMenu"
|
|
6913
6913
|
], x = ue.column && Be(ue.column) ? we.value : ue.column;
|
|
6914
|
-
return !a.enableInlineFilters && x && x.getColDef().filter && me.splice(2, 0, S), me.filter((
|
|
6914
|
+
return !a.enableInlineFilters && x && x.getColDef().filter && me.splice(2, 0, S), me.filter((P) => typeof P == "string" ? ue.defaultItems.includes(P) : !0);
|
|
6915
6915
|
}, R && (ge.value = (a.enableAdvancedFilter ? R.filter?.advancedFilterModel : R.filter?.filterModel) || null, b.value = R.rowGroup?.groupColIds || []);
|
|
6916
6916
|
});
|
|
6917
6917
|
const $n = (C) => {
|
|
@@ -6932,7 +6932,7 @@ const Gl = (e) => {
|
|
|
6932
6932
|
);
|
|
6933
6933
|
const sl = (C) => {
|
|
6934
6934
|
D.value = !0, s("first-data-rendered", C);
|
|
6935
|
-
}, ul = (C) => c ? a.isServerSideGroupOpenByDefault ? a.isServerSideGroupOpenByDefault(C) : C.rowNode.level === b.value.length - 2 : !1,
|
|
6935
|
+
}, ul = (C) => c ? a.isServerSideGroupOpenByDefault ? a.isServerSideGroupOpenByDefault(C) : C.rowNode.level === b.value.length - 2 : !1, Pt = h(() => {
|
|
6936
6936
|
if (!c)
|
|
6937
6937
|
return a.groupDefaultExpanded;
|
|
6938
6938
|
}), an = $(null), On = $(null);
|
|
@@ -6957,8 +6957,8 @@ const Gl = (e) => {
|
|
|
6957
6957
|
])]),
|
|
6958
6958
|
_: 1
|
|
6959
6959
|
})) : N("", !0),
|
|
6960
|
-
lt(
|
|
6961
|
-
|
|
6960
|
+
lt(A("div", K1, [
|
|
6961
|
+
A("div", U1, [
|
|
6962
6962
|
(f(), j(wl, {
|
|
6963
6963
|
to: e.filterTeleportLocation,
|
|
6964
6964
|
disabled: !e.filterTeleportLocation
|
|
@@ -6974,7 +6974,7 @@ const Gl = (e) => {
|
|
|
6974
6974
|
"max-horizontal-filters": a.maxHorizontalFilters
|
|
6975
6975
|
}, null, 8, ["enable-focus-view", "enable-vertical-panel", "display-preferences-icon", "focusable-columns", "focus-text", "max-horizontal-filters"])) : N("", !0)
|
|
6976
6976
|
], 8, ["to", "disabled"])),
|
|
6977
|
-
|
|
6977
|
+
A("div", W1, [
|
|
6978
6978
|
e.enableGroupBySelector && e.rowGroupLimit !== 0 ? (f(), j(Sd, {
|
|
6979
6979
|
key: 0,
|
|
6980
6980
|
rowGroupLimit: e.rowGroupLimit,
|
|
@@ -6989,7 +6989,7 @@ const Gl = (e) => {
|
|
|
6989
6989
|
], 512), [
|
|
6990
6990
|
[En, e.enableGroupBySelector || !e.filterTeleportLocation]
|
|
6991
6991
|
]),
|
|
6992
|
-
lt(
|
|
6992
|
+
lt(A("div", {
|
|
6993
6993
|
ref_key: "advancedFilterParentElement",
|
|
6994
6994
|
ref: On,
|
|
6995
6995
|
class: se(["pv-stack-8 pv-text-body-sm", e.hideTable ? "pv-hide" : ""])
|
|
@@ -7000,7 +7000,7 @@ const Gl = (e) => {
|
|
|
7000
7000
|
key: 1,
|
|
7001
7001
|
class: se(["pv-stack-8 pv-flex pv-space-between", e.hideTable ? "pv-hide" : ""])
|
|
7002
7002
|
}, [
|
|
7003
|
-
|
|
7003
|
+
A("div", Y1, [
|
|
7004
7004
|
e.enableTableSearch ? (f(), j(G1, {
|
|
7005
7005
|
key: 0,
|
|
7006
7006
|
placeholder: e.tableSearchPlaceholder,
|
|
@@ -7008,9 +7008,9 @@ const Gl = (e) => {
|
|
|
7008
7008
|
"search-style": e.tableSearchStyle
|
|
7009
7009
|
}, null, 8, ["placeholder", "disabled", "search-style"])) : N("", !0)
|
|
7010
7010
|
]),
|
|
7011
|
-
|
|
7011
|
+
Ae(C.$slots, "top-slot")
|
|
7012
7012
|
], 2)) : N("", !0),
|
|
7013
|
-
|
|
7013
|
+
A("div", {
|
|
7014
7014
|
class: se(["pv-relative pv-stack-8", e.hideTable ? "pv-hide" : ""]),
|
|
7015
7015
|
style: { width: "100%", height: "100%" }
|
|
7016
7016
|
}, [
|
|
@@ -7044,7 +7044,7 @@ const Gl = (e) => {
|
|
|
7044
7044
|
getContextMenuItems: g.value,
|
|
7045
7045
|
getMainMenuItems: v.value,
|
|
7046
7046
|
getRowStyle: Ht,
|
|
7047
|
-
groupDefaultExpanded:
|
|
7047
|
+
groupDefaultExpanded: Pt.value,
|
|
7048
7048
|
groupDisplayType: "singleColumn",
|
|
7049
7049
|
initialState: O(R) || void 0,
|
|
7050
7050
|
isGroupOpenByDefault: O(c) ? void 0 : a.isClientSideGroupOpenByDefault,
|
|
@@ -7088,7 +7088,7 @@ const Gl = (e) => {
|
|
|
7088
7088
|
advancedFilterParent: On.value
|
|
7089
7089
|
}), null, 16, ["style", "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"]),
|
|
7090
7090
|
!e.isLoading && !_.value ? (f(), F("div", Q1, [
|
|
7091
|
-
|
|
7091
|
+
A("p", X1, ne(B.value), 1)
|
|
7092
7092
|
])) : N("", !0)
|
|
7093
7093
|
], 2),
|
|
7094
7094
|
e.pagination ? (f(), j(I1, { key: 2 })) : N("", !0)
|
|
@@ -7256,7 +7256,7 @@ const Gl = (e) => {
|
|
|
7256
7256
|
ref_key: "containerRef",
|
|
7257
7257
|
ref: s
|
|
7258
7258
|
}, [
|
|
7259
|
-
|
|
7259
|
+
A("ul", {
|
|
7260
7260
|
ref_key: "sortableListRef",
|
|
7261
7261
|
ref: i,
|
|
7262
7262
|
role: "list"
|
|
@@ -7267,7 +7267,7 @@ const Gl = (e) => {
|
|
|
7267
7267
|
class: "pv-stack-4"
|
|
7268
7268
|
}, [
|
|
7269
7269
|
M.id === rn ? (f(), F("div", t4, [
|
|
7270
|
-
|
|
7270
|
+
A("div", {
|
|
7271
7271
|
class: "sort-divider pv-text-default pv-text-body-xs pv-text-tertiary",
|
|
7272
7272
|
"data-label": S.value ? `Maximum of ${t.activeOptionLimit}` : ""
|
|
7273
7273
|
}, null, 8, n4)
|
|
@@ -7278,15 +7278,15 @@ const Gl = (e) => {
|
|
|
7278
7278
|
onDragleave: D[1] || (D[1] = (L) => y(L)),
|
|
7279
7279
|
onDrop: (L) => v(L, parseInt(M.id.split("-")[1]) + 1)
|
|
7280
7280
|
}, [
|
|
7281
|
-
|
|
7282
|
-
|
|
7281
|
+
A("div", a4, [
|
|
7282
|
+
A("span", o4, ne(t.placeholderText), 1)
|
|
7283
7283
|
])
|
|
7284
7284
|
], 40, l4)) : (f(), F("div", {
|
|
7285
7285
|
key: 2,
|
|
7286
7286
|
class: se(["pv-full-width pv-bordered pv-radius-md pv-flex pv-space-between", !g(M) && S.value ? "pv-menu-item-disabled" : ""]),
|
|
7287
7287
|
style: He(R(M))
|
|
7288
7288
|
}, [
|
|
7289
|
-
|
|
7289
|
+
A("div", r4, [
|
|
7290
7290
|
X(Le, {
|
|
7291
7291
|
class: se(g(M) ? "pv-text-brand" : "pv-text-tertiary"),
|
|
7292
7292
|
name: "reorder"
|
|
@@ -7296,7 +7296,7 @@ const Gl = (e) => {
|
|
|
7296
7296
|
class: se(g(M) ? "pv-text-brand" : "pv-text-tertiary"),
|
|
7297
7297
|
name: M.icon
|
|
7298
7298
|
}, null, 8, ["class", "name"])) : N("", !0),
|
|
7299
|
-
|
|
7299
|
+
A("span", i4, ne(M.text), 1)
|
|
7300
7300
|
]),
|
|
7301
7301
|
T(M) ? (f(), F("div", s4)) : (f(), j(O(Oe), {
|
|
7302
7302
|
key: 0,
|
|
@@ -7413,10 +7413,10 @@ const m4 = {
|
|
|
7413
7413
|
},
|
|
7414
7414
|
setup(e) {
|
|
7415
7415
|
return (t, n) => (f(), F("div", m4, [
|
|
7416
|
-
|
|
7416
|
+
A("span", {
|
|
7417
7417
|
class: "pv-text-body-md pv-truncate",
|
|
7418
7418
|
title: e.text
|
|
7419
|
-
},
|
|
7419
|
+
}, ne(e.text), 9, h4),
|
|
7420
7420
|
e.context?.description ? (f(), j(O(Il), {
|
|
7421
7421
|
key: 0,
|
|
7422
7422
|
variant: "dark",
|
|
@@ -7433,7 +7433,7 @@ const m4 = {
|
|
|
7433
7433
|
})
|
|
7434
7434
|
]),
|
|
7435
7435
|
content: pe(() => [
|
|
7436
|
-
|
|
7436
|
+
A("div", g4, ne(e.context.description), 1)
|
|
7437
7437
|
]),
|
|
7438
7438
|
_: 1
|
|
7439
7439
|
})) : N("", !0)
|
|
@@ -7465,7 +7465,7 @@ const m4 = {
|
|
|
7465
7465
|
maxHeight: "900px"
|
|
7466
7466
|
},
|
|
7467
7467
|
useTeleport: !0
|
|
7468
|
-
}), r = $(!1), i = $(void 0), s = $(null), u = xe(Ro, $(void 0)), c = xe(
|
|
7468
|
+
}), r = $(!1), i = $(void 0), s = $(null), u = xe(Ro, $(void 0)), c = xe(Ao, $([])), d = xe(Lo, $(void 0)), p = xe(Po, $([])), y = xe(Oo, $([])), v = xe(al, $([])), g = h(() => Bn(u.value?.id || "")), S = h(() => {
|
|
7469
7469
|
const H = u.value?.id ?? "";
|
|
7470
7470
|
return y.value.length > 1 && !H.endsWith("_stacked");
|
|
7471
7471
|
}), m = xe(Do, $("")), T = xe(Vo, $([])), R = xe(Io, $(void 0)), w = xe(Bo, $([]));
|
|
@@ -7514,8 +7514,6 @@ const m4 = {
|
|
|
7514
7514
|
text: H.headerName || H.field || "",
|
|
7515
7515
|
icon: Gl(H.context?.dataType || null) || "circle-chevron-down"
|
|
7516
7516
|
}))), V = $([]), G = (H) => {
|
|
7517
|
-
if (k.value.length === 0)
|
|
7518
|
-
return;
|
|
7519
7517
|
const le = V.value.map((q) => q.id);
|
|
7520
7518
|
(H.length !== le.length || !H.every((q) => le.includes(q))) && (V.value = H.map((q) => k.value.find((W) => W.id === q)).filter(Boolean));
|
|
7521
7519
|
};
|
|
@@ -7621,12 +7619,12 @@ const m4 = {
|
|
|
7621
7619
|
i.value = void 0;
|
|
7622
7620
|
};
|
|
7623
7621
|
return (H, le) => (f(), F(fe, null, [
|
|
7624
|
-
|
|
7625
|
-
|
|
7622
|
+
A("div", b4, [
|
|
7623
|
+
A("div", null, [
|
|
7626
7624
|
lt((f(), F("div", {
|
|
7627
7625
|
class: se(["pv-flex pv-space-between", e.useCombinedButton ? "pv-stack-8" : ""])
|
|
7628
7626
|
}, [
|
|
7629
|
-
|
|
7627
|
+
A("div", x4, [
|
|
7630
7628
|
e.useCombinedButton ? (f(), F(fe, { key: 0 }, [
|
|
7631
7629
|
X(Bl, {
|
|
7632
7630
|
open: r.value,
|
|
@@ -7641,13 +7639,13 @@ const m4 = {
|
|
|
7641
7639
|
isList: !0
|
|
7642
7640
|
}, {
|
|
7643
7641
|
default: pe(() => [
|
|
7644
|
-
le[3] || (le[3] =
|
|
7645
|
-
|
|
7642
|
+
le[3] || (le[3] = A("div", { class: "pv-border-bottom pv-stack-8" }, [
|
|
7643
|
+
A("p", {
|
|
7646
7644
|
class: "pv-text-title-sm pv-inset-square-8",
|
|
7647
7645
|
style: { "padding-top": "4px", "padding-bottom": "12px" }
|
|
7648
7646
|
}, " Chart Configuration ")
|
|
7649
7647
|
], -1)),
|
|
7650
|
-
|
|
7648
|
+
A("ul", C4, [
|
|
7651
7649
|
(f(!0), F(fe, null, Qe(Q.value, (q) => (f(), F("li", {
|
|
7652
7650
|
id: `pv-chart-config-${q.value}`,
|
|
7653
7651
|
key: q.value,
|
|
@@ -7675,7 +7673,7 @@ const m4 = {
|
|
|
7675
7673
|
q.disabled && q.disabledReason ? {
|
|
7676
7674
|
name: "tooltip-content",
|
|
7677
7675
|
fn: pe(() => [
|
|
7678
|
-
|
|
7676
|
+
A("div", w4, ne(q.disabledReason), 1)
|
|
7679
7677
|
]),
|
|
7680
7678
|
key: "0"
|
|
7681
7679
|
} : void 0
|
|
@@ -7695,7 +7693,7 @@ const m4 = {
|
|
|
7695
7693
|
}
|
|
7696
7694
|
]]
|
|
7697
7695
|
]),
|
|
7698
|
-
|
|
7696
|
+
A("div", {
|
|
7699
7697
|
class: "pv-flex pv-space-between",
|
|
7700
7698
|
style: He(e.chartFilter ? {} : { justifyContent: "flex-end" })
|
|
7701
7699
|
}, [
|
|
@@ -7736,7 +7734,7 @@ const m4 = {
|
|
|
7736
7734
|
default: pe(() => [
|
|
7737
7735
|
ie.value ? (f(), F(fe, { key: 0 }, [
|
|
7738
7736
|
ie.value.isSortableList ? (f(), F(fe, { key: 0 }, [
|
|
7739
|
-
le[4] || (le[4] =
|
|
7737
|
+
le[4] || (le[4] = A("p", {
|
|
7740
7738
|
class: "pv-text-tertiary pv-text-body-sm pv-stack-4",
|
|
7741
7739
|
style: { "padding-left": "2px", "padding-bottom": "6px" }
|
|
7742
7740
|
}, " Viewing ", -1)),
|
|
@@ -7769,7 +7767,7 @@ const m4 = {
|
|
|
7769
7767
|
}, 8, ["class", "css-custom-properties"])
|
|
7770
7768
|
], 64));
|
|
7771
7769
|
}
|
|
7772
|
-
}), $4 = /* @__PURE__ */ Xe(M4, [["__scopeId", "data-v-
|
|
7770
|
+
}), $4 = /* @__PURE__ */ Xe(M4, [["__scopeId", "data-v-003a33e4"]]), un = (e, t) => `${e}_${t}`, Ko = (e) => `secondaryCategory_${e}`, O4 = (e, t, n, l, o = []) => {
|
|
7773
7771
|
if (!e || e.length === 0)
|
|
7774
7772
|
return {
|
|
7775
7773
|
data: [],
|
|
@@ -7810,7 +7808,7 @@ const m4 = {
|
|
|
7810
7808
|
})),
|
|
7811
7809
|
uniqueFieldValues: Array.from(a)
|
|
7812
7810
|
};
|
|
7813
|
-
},
|
|
7811
|
+
}, A4 = (e, t, n) => {
|
|
7814
7812
|
let l = -1 / 0;
|
|
7815
7813
|
return !e || e.length === 0 || (n ? e.forEach((o) => {
|
|
7816
7814
|
const a = t + Yt, r = o[a];
|
|
@@ -7819,7 +7817,7 @@ const m4 = {
|
|
|
7819
7817
|
const a = o[t];
|
|
7820
7818
|
typeof a == "number" && a > l && (l = a);
|
|
7821
7819
|
})), l;
|
|
7822
|
-
},
|
|
7820
|
+
}, P4 = { style: { height: "100%", width: "100%" } }, R4 = {
|
|
7823
7821
|
key: 0,
|
|
7824
7822
|
class: "pv-bordered pv-radius-lg pv-inset-square-12 pv-stack-16"
|
|
7825
7823
|
}, L4 = { class: "pv-flex" }, D4 = { class: "pv-relative pv-margin-auto" }, V4 = { class: "pv-chart-overlay pv-flex pv-align-center" }, I4 = { key: 0 }, B4 = {
|
|
@@ -7916,7 +7914,7 @@ const m4 = {
|
|
|
7916
7914
|
},
|
|
7917
7915
|
emits: ["chart-state-changed", "column-moved", "column-resized", "column-row-group-changed", "grid-ready", "filter-changed", "sort-changed", "filter-opened", "first-data-rendered", "handle-settings-icon", "focus-update", "chart-collapsed"],
|
|
7918
7916
|
setup(e, { expose: t, emit: n }) {
|
|
7919
|
-
const l = e, o = n, a = $(null), r = $(null), i = $(null), s = $(l.initialChartCollapsed ?? !1), u = "filter-panel-" + mn()?.uid, c = $(!1), d = $(!1), p = $(0), y = h(() => (r.value?.availableRowGroupColumns || []).filter((
|
|
7917
|
+
const l = e, o = n, a = $(null), r = $(null), i = $(null), s = $(l.initialChartCollapsed ?? !1), u = "filter-panel-" + mn()?.uid, c = $(!1), d = $(!1), p = $(0), y = h(() => (r.value?.availableRowGroupColumns || []).filter((P) => $e(P).hideFromCharting !== !0)), v = $([]), g = h(() => v.value.length > 0 ? v.value[0] : ""), S = (x) => $e(x).chartSeriesDisplayName || x.headerName || x.field || "", m = h(() => {
|
|
7920
7918
|
const x = W.value;
|
|
7921
7919
|
return x.yAxis.hidden && x.yAxis.defaultValue ? [{ label: "Count", value: x.yAxis.defaultValue }] : (r.value?.availableAggFuncColumns || []).filter((E) => {
|
|
7922
7920
|
const U = $e(E);
|
|
@@ -7931,11 +7929,11 @@ const m4 = {
|
|
|
7931
7929
|
description: Y.context?.chartSeriesDescription
|
|
7932
7930
|
};
|
|
7933
7931
|
});
|
|
7934
|
-
}), T = h(() => (r.value?.availableAggFuncColumns || []).filter((
|
|
7935
|
-
const E = $e(
|
|
7932
|
+
}), T = h(() => (r.value?.availableAggFuncColumns || []).filter((P) => {
|
|
7933
|
+
const E = $e(P);
|
|
7936
7934
|
return E.chartOnSecondaryAxes === !0 && !E.hideFromCharting;
|
|
7937
|
-
}).map((
|
|
7938
|
-
const E =
|
|
7935
|
+
}).map((P) => {
|
|
7936
|
+
const E = P.field, U = P;
|
|
7939
7937
|
return {
|
|
7940
7938
|
label: S(U),
|
|
7941
7939
|
value: E || "",
|
|
@@ -7943,11 +7941,11 @@ const m4 = {
|
|
|
7943
7941
|
dataType: U.context?.dataType,
|
|
7944
7942
|
tooltipRenderer: U.context?.customTooltipRenderer
|
|
7945
7943
|
};
|
|
7946
|
-
})), R = h(() => (r.value?.availableAggFuncColumns || []).filter((
|
|
7947
|
-
const E = $e(
|
|
7944
|
+
})), R = h(() => (r.value?.availableAggFuncColumns || []).filter((P) => {
|
|
7945
|
+
const E = $e(P);
|
|
7948
7946
|
return E.chartOnSecondaryAxes === !0 && E.hideFromCharting === !0;
|
|
7949
|
-
}).map((
|
|
7950
|
-
const E =
|
|
7947
|
+
}).map((P) => {
|
|
7948
|
+
const E = P.field, U = P;
|
|
7951
7949
|
return {
|
|
7952
7950
|
label: S(U),
|
|
7953
7951
|
value: E || "",
|
|
@@ -7962,13 +7960,13 @@ const m4 = {
|
|
|
7962
7960
|
focusRequired: l.focusRequired
|
|
7963
7961
|
});
|
|
7964
7962
|
ke(Kn, b);
|
|
7965
|
-
const { setFilterSelectedValues: D } = w, M = $(!1), L = $(l.
|
|
7963
|
+
const { setFilterSelectedValues: D } = w, M = $(!1), L = $(l.isTableGrouped), _ = h(() => Pt.value ? !1 : !!(l.emptyChartFilterRenderer && l.requireFiltersToShowData && w.filterModelEmpty.value)), B = h(() => b?.computedFocusType.value || null), k = h(() => b?.computedFocuses.value || []), V = (x) => {
|
|
7966
7964
|
a.value = x.api, L.value || a.value?.setRowGroupColumns([]), be(x.api), o("grid-ready", x);
|
|
7967
7965
|
}, G = (x) => {
|
|
7968
7966
|
M.value = !0, o("first-data-rendered", x);
|
|
7969
7967
|
}, Q = (x) => {
|
|
7970
|
-
const
|
|
7971
|
-
if (L.value && JSON.stringify(
|
|
7968
|
+
const P = v.value, E = x.api.getRowGroupColumns().map((U) => U.getColId());
|
|
7969
|
+
if (L.value && JSON.stringify(P) !== JSON.stringify(E)) {
|
|
7972
7970
|
const U = W.value;
|
|
7973
7971
|
if (E.length > Z.value) {
|
|
7974
7972
|
const Y = E.slice(0, Z.value);
|
|
@@ -7979,7 +7977,7 @@ const m4 = {
|
|
|
7979
7977
|
}
|
|
7980
7978
|
o("column-row-group-changed", x);
|
|
7981
7979
|
}, ie = async (x) => {
|
|
7982
|
-
be(x.api), o("filter-changed", x);
|
|
7980
|
+
be(x.api), M.value && o("filter-changed", x);
|
|
7983
7981
|
};
|
|
7984
7982
|
re(
|
|
7985
7983
|
() => v.value,
|
|
@@ -7994,44 +7992,44 @@ const m4 = {
|
|
|
7994
7992
|
dt(() => {
|
|
7995
7993
|
a?.value?.setRowGroupColumns([]);
|
|
7996
7994
|
});
|
|
7997
|
-
const x = v.value.length > 0 ? v.value[0] : null,
|
|
7998
|
-
b.setFocusType(
|
|
7995
|
+
const x = v.value.length > 0 ? v.value[0] : null, P = W.value.supportsFocusView ? x : null;
|
|
7996
|
+
b.setFocusType(P), a.value && be(a.value);
|
|
7999
7997
|
}
|
|
8000
7998
|
);
|
|
8001
|
-
function ge(x,
|
|
7999
|
+
function ge(x, P, E = !0) {
|
|
8002
8000
|
return (U) => {
|
|
8003
8001
|
if (U.data = Ue.value?.find((Se) => Se[x] === U.value), U.value === Kt)
|
|
8004
8002
|
return "";
|
|
8005
8003
|
let Y = "";
|
|
8006
|
-
const
|
|
8007
|
-
if (l.truncateLabelValues && E &&
|
|
8004
|
+
const te = Ce(x);
|
|
8005
|
+
if (l.truncateLabelValues && E && te && Ct(te) && !isNaN(Number(U.value))) {
|
|
8008
8006
|
if (gt.value) {
|
|
8009
8007
|
const Te = U.datum?.[g.value], Rt = je.value?.find((Yo) => Yo[g.value] === Te)?.[`${J.value}${Yt}`] || 1 / 0;
|
|
8010
8008
|
if (U.value / Rt < 0.05)
|
|
8011
8009
|
return "";
|
|
8012
8010
|
}
|
|
8013
|
-
const { newValue: Se, newSuffix:
|
|
8011
|
+
const { newValue: Se, newSuffix: Pe } = Id(
|
|
8014
8012
|
U.value,
|
|
8015
|
-
ct.Percent === $e(
|
|
8013
|
+
ct.Percent === $e(te).dataType,
|
|
8016
8014
|
Ye.value
|
|
8017
8015
|
);
|
|
8018
|
-
U.value = Se, Y =
|
|
8016
|
+
U.value = Se, Y = Pe;
|
|
8019
8017
|
}
|
|
8020
8018
|
let ce = U.value;
|
|
8021
|
-
return
|
|
8019
|
+
return P && (ce = P(U)), ce + Y;
|
|
8022
8020
|
};
|
|
8023
8021
|
}
|
|
8024
|
-
const oe = (x,
|
|
8022
|
+
const oe = (x, P = !1) => {
|
|
8025
8023
|
if (!x) return;
|
|
8026
8024
|
const E = Ce(x);
|
|
8027
|
-
return E && typeof E.valueFormatter == "function" ? ge(x, E.valueFormatter,
|
|
8028
|
-
}, Ce = (x) => !x || !a.value ? null : a.value?.getColumnDef(x), H = (x,
|
|
8025
|
+
return E && typeof E.valueFormatter == "function" ? ge(x, E.valueFormatter, P) : ge(x, null, P);
|
|
8026
|
+
}, Ce = (x) => !x || !a.value ? null : a.value?.getColumnDef(x), H = (x, P) => {
|
|
8029
8027
|
const E = Ce(g.value);
|
|
8030
8028
|
if (E && typeof E.valueFormatter == "function") {
|
|
8031
|
-
const U = E.valueFormatter({ value: x }), Y = E.valueFormatter({ value:
|
|
8029
|
+
const U = E.valueFormatter({ value: x }), Y = E.valueFormatter({ value: P });
|
|
8032
8030
|
return `${U} - ${Y}`;
|
|
8033
8031
|
}
|
|
8034
|
-
return `${x} - ${
|
|
8032
|
+
return `${x} - ${P}`;
|
|
8035
8033
|
}, le = h(() => [...v.value.length > 1 ? _d : Ed, Nd].filter((E) => l.enabledChartTypes?.includes(E.id))), q = $(void 0), W = h(() => Bn(q.value?.id || "")), Z = h(() => Math.min(W.value.rowGroupLimit, l.rowGroupLimit)), Me = h(() => {
|
|
8036
8034
|
const x = W.value.xAxis.filterColumns;
|
|
8037
8035
|
return x ? x(y.value) : y.value;
|
|
@@ -8047,10 +8045,10 @@ const m4 = {
|
|
|
8047
8045
|
icon: "arrow-down-narrow-wide"
|
|
8048
8046
|
}
|
|
8049
8047
|
]), Ue = $([]), je = $([]), J = $(l.yKey), we = $(T.value[0]?.value), Ie = $(null), qe = $(Ve.value.find((x) => x.id === l.initialSort || "")), ot = $("");
|
|
8050
|
-
ke(zt, a), ke($o, ot), ke(al, Me), ke(Oo, v), ke(
|
|
8048
|
+
ke(zt, a), ke($o, ot), ke(al, Me), ke(Oo, v), ke(Ao, le), ke(Po, Ve), ke(Ro, q), ke(Lo, qe), ke(Do, J), ke(Vo, m), ke(Io, we), ke(Bo, T);
|
|
8051
8049
|
const ht = (x) => {
|
|
8052
|
-
const
|
|
8053
|
-
|
|
8050
|
+
const P = le.value.find((E) => E.id === x);
|
|
8051
|
+
P ? q.value = P : q.value = le.value[0];
|
|
8054
8052
|
};
|
|
8055
8053
|
re(
|
|
8056
8054
|
() => le.value,
|
|
@@ -8065,32 +8063,32 @@ const m4 = {
|
|
|
8065
8063
|
}
|
|
8066
8064
|
), re(ot, (x) => {
|
|
8067
8065
|
if (l.chartFilter && a.value) {
|
|
8068
|
-
const
|
|
8069
|
-
let E = l.chartFilter.options.find((
|
|
8070
|
-
E && E.length === 0 && (E = null), D(
|
|
8066
|
+
const P = l.chartFilter.colId;
|
|
8067
|
+
let E = l.chartFilter.options.find((te) => te.value === x)?.filterValues || null;
|
|
8068
|
+
E && E.length === 0 && (E = null), D(P, E || []);
|
|
8071
8069
|
const Y = No({
|
|
8072
8070
|
filterType: "set",
|
|
8073
8071
|
values: E
|
|
8074
|
-
}, Ce(
|
|
8075
|
-
a.value.setColumnFilterModel(
|
|
8072
|
+
}, Ce(P));
|
|
8073
|
+
a.value.setColumnFilterModel(P, Y).then(() => {
|
|
8076
8074
|
a.value?.onFilterChanged();
|
|
8077
8075
|
});
|
|
8078
8076
|
}
|
|
8079
8077
|
});
|
|
8080
8078
|
const rt = h(() => {
|
|
8081
|
-
const x = m.value.find((
|
|
8079
|
+
const x = m.value.find((P) => P.value === J.value);
|
|
8082
8080
|
return x ? x.label : "";
|
|
8083
|
-
}), wt = h(() => T.value.find((
|
|
8084
|
-
const x = T.value.find((
|
|
8081
|
+
}), wt = h(() => T.value.find((P) => P.value === we.value)), Ft = h(() => {
|
|
8082
|
+
const x = T.value.find((P) => P.value === we.value);
|
|
8085
8083
|
return x ? x.label : "";
|
|
8086
8084
|
}), it = h(() => W.value.isHorizontal === !0), Be = h(() => v.value.length > 1), Je = h(() => q.value ? m.value.length === 0 ? [] : W.value.seriesFamily === "pie" ? ee.value : K.value : []), Tt = h(() => l.showSeriesLabels), gt = h(() => q.value?.id.includes("stacked")), K = h(() => {
|
|
8087
|
-
const x = gt.value,
|
|
8085
|
+
const x = gt.value, P = W.value.agChartType;
|
|
8088
8086
|
let E = [];
|
|
8089
8087
|
const U = oe(J.value, !0), Y = oe(Ie.value?.fieldName, !0);
|
|
8090
8088
|
if (Be.value)
|
|
8091
8089
|
Ie.value?.fieldValues.forEach((Se) => {
|
|
8092
|
-
const
|
|
8093
|
-
type:
|
|
8090
|
+
const Pe = {
|
|
8091
|
+
type: P,
|
|
8094
8092
|
xKey: g.value,
|
|
8095
8093
|
yKey: un(J.value, Se),
|
|
8096
8094
|
yName: typeof Y == "function" ? Y({ value: Se }) : Se,
|
|
@@ -8105,11 +8103,11 @@ const m4 = {
|
|
|
8105
8103
|
formatter: U
|
|
8106
8104
|
}
|
|
8107
8105
|
};
|
|
8108
|
-
E.push(
|
|
8106
|
+
E.push(Pe);
|
|
8109
8107
|
});
|
|
8110
8108
|
else {
|
|
8111
8109
|
const ce = {
|
|
8112
|
-
type:
|
|
8110
|
+
type: P,
|
|
8113
8111
|
xKey: g.value,
|
|
8114
8112
|
yKey: J.value,
|
|
8115
8113
|
yName: rt.value,
|
|
@@ -8125,36 +8123,36 @@ const m4 = {
|
|
|
8125
8123
|
};
|
|
8126
8124
|
E.push(ce);
|
|
8127
8125
|
}
|
|
8128
|
-
let
|
|
8129
|
-
if (
|
|
8130
|
-
const ce =
|
|
8131
|
-
ce.direction = it.value ? "horizontal" : "vertical",
|
|
8132
|
-
} else if (
|
|
8133
|
-
const ce =
|
|
8134
|
-
ce.connectMissingData = !0,
|
|
8126
|
+
let te = {};
|
|
8127
|
+
if (P === "bar") {
|
|
8128
|
+
const ce = te;
|
|
8129
|
+
ce.direction = it.value ? "horizontal" : "vertical", te = ce;
|
|
8130
|
+
} else if (P === "line" || P === "area") {
|
|
8131
|
+
const ce = te;
|
|
8132
|
+
ce.connectMissingData = !0, te = ce;
|
|
8135
8133
|
}
|
|
8136
8134
|
if (E = E.map((ce) => ({
|
|
8137
8135
|
...ce,
|
|
8138
|
-
...
|
|
8136
|
+
...te
|
|
8139
8137
|
})), W.value.yAxis.defaultValue === Bd && (E = E.map(
|
|
8140
8138
|
(ce) => ({
|
|
8141
8139
|
...ce,
|
|
8142
8140
|
tooltip: {
|
|
8143
8141
|
renderer: (Se) => {
|
|
8144
|
-
let
|
|
8142
|
+
let Pe = String(Se.datum[Se.xKey] ?? "");
|
|
8145
8143
|
const Te = Se.datum.bucketMin, et = Se.datum.bucketMax;
|
|
8146
|
-
return typeof Te == "number" && typeof et == "number" && (
|
|
8144
|
+
return typeof Te == "number" && typeof et == "number" && (Pe = H(Te, et)), { title: Pe, content: `Count: ${Se.datum[Se.yKey]}` };
|
|
8147
8145
|
}
|
|
8148
8146
|
}
|
|
8149
8147
|
})
|
|
8150
8148
|
)), we.value) {
|
|
8151
8149
|
let ce;
|
|
8152
8150
|
x ? ce = `${we.value}_sort_total` : ce = we.value;
|
|
8153
|
-
const
|
|
8151
|
+
const Pe = Ce(g.value)?.context?.metadataDisplayFields?.[0] || g.value, Te = {
|
|
8154
8152
|
type: "scatter",
|
|
8155
8153
|
data: Ge.value,
|
|
8156
8154
|
xKey: g.value,
|
|
8157
|
-
xName:
|
|
8155
|
+
xName: Pe,
|
|
8158
8156
|
yKey: ce,
|
|
8159
8157
|
yName: Ft.value,
|
|
8160
8158
|
label: {
|
|
@@ -8190,28 +8188,28 @@ const m4 = {
|
|
|
8190
8188
|
legendItemKey: g.value,
|
|
8191
8189
|
angleKey: J.value
|
|
8192
8190
|
}]);
|
|
8193
|
-
re(J, (x,
|
|
8191
|
+
re(J, (x, P) => {
|
|
8194
8192
|
o("chart-state-changed", {
|
|
8195
8193
|
api: a.value,
|
|
8196
8194
|
newState: {
|
|
8197
8195
|
seriesField: x
|
|
8198
8196
|
},
|
|
8199
8197
|
oldState: {
|
|
8200
|
-
seriesField:
|
|
8198
|
+
seriesField: P
|
|
8201
8199
|
}
|
|
8202
8200
|
});
|
|
8203
|
-
}), re(we, (x,
|
|
8201
|
+
}), re(we, (x, P) => {
|
|
8204
8202
|
o("chart-state-changed", {
|
|
8205
8203
|
api: a.value,
|
|
8206
8204
|
newState: {
|
|
8207
8205
|
secondarySeriesField: x
|
|
8208
8206
|
},
|
|
8209
8207
|
oldState: {
|
|
8210
|
-
secondarySeriesField:
|
|
8208
|
+
secondarySeriesField: P
|
|
8211
8209
|
}
|
|
8212
8210
|
});
|
|
8213
|
-
}), re(q, (x,
|
|
8214
|
-
const E = Bn(x?.id || ""), U = Bn(
|
|
8211
|
+
}), re(q, (x, P) => {
|
|
8212
|
+
const E = Bn(x?.id || ""), U = Bn(P?.id || "");
|
|
8215
8213
|
E.xAxis.filterColumns !== U.xAxis.filterColumns && (v.value = []), E.yAxis.defaultValue ? J.value = E.yAxis.defaultValue : U.yAxis.defaultValue && !E.yAxis.defaultValue && dt(() => {
|
|
8216
8214
|
l.yKey ? J.value = l.yKey : m.value.length > 0 && (J.value = m.value[0].value);
|
|
8217
8215
|
}), o("chart-state-changed", {
|
|
@@ -8220,55 +8218,55 @@ const m4 = {
|
|
|
8220
8218
|
chartType: x?.id
|
|
8221
8219
|
},
|
|
8222
8220
|
oldState: {
|
|
8223
|
-
chartType:
|
|
8221
|
+
chartType: P?.id
|
|
8224
8222
|
}
|
|
8225
8223
|
});
|
|
8226
8224
|
}), re(Me, (x) => {
|
|
8227
8225
|
if (x.length === 1 && v.value.length === 0) {
|
|
8228
|
-
const
|
|
8229
|
-
|
|
8226
|
+
const P = x[0].field;
|
|
8227
|
+
P && (v.value = [P]);
|
|
8230
8228
|
}
|
|
8231
8229
|
}), re(m, (x) => {
|
|
8232
8230
|
x.length === 1 && !J.value && (J.value = x[0].value);
|
|
8233
|
-
}), re(qe, (x,
|
|
8231
|
+
}), re(qe, (x, P) => {
|
|
8234
8232
|
o("chart-state-changed", {
|
|
8235
8233
|
api: a.value,
|
|
8236
8234
|
newState: {
|
|
8237
8235
|
chartSort: x?.id
|
|
8238
8236
|
},
|
|
8239
8237
|
oldState: {
|
|
8240
|
-
chartSort:
|
|
8238
|
+
chartSort: P?.id
|
|
8241
8239
|
}
|
|
8242
8240
|
});
|
|
8243
|
-
}), re(v, (x,
|
|
8241
|
+
}), re(v, (x, P) => {
|
|
8244
8242
|
o("chart-state-changed", {
|
|
8245
8243
|
api: a.value,
|
|
8246
8244
|
newState: {
|
|
8247
8245
|
chartCategoryFields: x
|
|
8248
8246
|
},
|
|
8249
8247
|
oldState: {
|
|
8250
|
-
chartCategoryFields:
|
|
8248
|
+
chartCategoryFields: P
|
|
8251
8249
|
}
|
|
8252
8250
|
});
|
|
8253
|
-
}), re(L, (x,
|
|
8251
|
+
}), re(L, (x, P) => {
|
|
8254
8252
|
o("chart-state-changed", {
|
|
8255
8253
|
api: a.value,
|
|
8256
8254
|
newState: {
|
|
8257
8255
|
tableGrouped: x
|
|
8258
8256
|
},
|
|
8259
8257
|
oldState: {
|
|
8260
|
-
tableGrouped:
|
|
8258
|
+
tableGrouped: P
|
|
8261
8259
|
}
|
|
8262
8260
|
});
|
|
8263
8261
|
}), re(
|
|
8264
8262
|
() => l.isTableGrouped,
|
|
8265
|
-
(x,
|
|
8266
|
-
!a.value || x ===
|
|
8263
|
+
(x, P) => {
|
|
8264
|
+
!a.value || x === P || !l.enableGroupingToggle || me(x);
|
|
8267
8265
|
}
|
|
8268
8266
|
), re(
|
|
8269
8267
|
() => l.initialFocusData,
|
|
8270
|
-
(x,
|
|
8271
|
-
if (!(_n(x?.focuses,
|
|
8268
|
+
(x, P) => {
|
|
8269
|
+
if (!(_n(x?.focuses, P?.focuses) && x?.focusType == P?.focusType)) {
|
|
8272
8270
|
if (!x?.focusType) {
|
|
8273
8271
|
b.setFocuses([]);
|
|
8274
8272
|
return;
|
|
@@ -8280,45 +8278,46 @@ const m4 = {
|
|
|
8280
8278
|
);
|
|
8281
8279
|
const de = () => {
|
|
8282
8280
|
Ue.value = [], je.value = [], Ie.value = null;
|
|
8283
|
-
}, ye = (x,
|
|
8281
|
+
}, ye = (x, P) => {
|
|
8284
8282
|
if (!x || x.length === 0) {
|
|
8285
8283
|
de();
|
|
8286
8284
|
return;
|
|
8287
8285
|
}
|
|
8288
|
-
if (
|
|
8286
|
+
if (P) {
|
|
8289
8287
|
const { stackedData: E, uniqueFieldValues: U } = O4(
|
|
8290
8288
|
x,
|
|
8291
8289
|
g.value,
|
|
8292
|
-
|
|
8290
|
+
P,
|
|
8293
8291
|
Ne.value,
|
|
8294
8292
|
R.value
|
|
8295
8293
|
);
|
|
8296
8294
|
je.value = E, Ie.value = {
|
|
8297
|
-
fieldName:
|
|
8295
|
+
fieldName: P,
|
|
8298
8296
|
fieldValues: U
|
|
8299
8297
|
};
|
|
8300
8298
|
} else
|
|
8301
8299
|
je.value = [], Ie.value = null;
|
|
8302
8300
|
Ue.value = x;
|
|
8303
8301
|
}, be = (x) => {
|
|
8304
|
-
const
|
|
8305
|
-
if (de(),
|
|
8302
|
+
const P = v.value.length;
|
|
8303
|
+
if (de(), P === 0 || m.value.length === 0 || l.requireFiltersToShowData && w.filterModelEmpty.value)
|
|
8306
8304
|
return;
|
|
8307
8305
|
if (l.serverSideChartHandler) {
|
|
8308
|
-
let
|
|
8306
|
+
let te = w.filterModel.value;
|
|
8309
8307
|
const he = a.value?.getColumnDefs() || [];
|
|
8310
|
-
if (
|
|
8308
|
+
if (te === null && l.initialGridState) {
|
|
8311
8309
|
const De = xl(l.initialGridState, he, l.enableAdvancedFilter);
|
|
8312
|
-
|
|
8310
|
+
te = (l.enableAdvancedFilter ? De?.filter?.advancedFilterModel : De?.filter?.filterModel) || {};
|
|
8313
8311
|
}
|
|
8312
|
+
te = te || {};
|
|
8314
8313
|
const ce = ka(
|
|
8315
8314
|
v.value.map((De) => a.value?.getColumn(De)).filter((De) => De !== void 0)
|
|
8316
|
-
), Se = _o(ce, he),
|
|
8315
|
+
), Se = _o(ce, he), Pe = new Set(
|
|
8317
8316
|
he.filter((De) => $e(De).chartOnSecondaryAxes === !0).map((De) => De.field).filter(Boolean)
|
|
8318
|
-
), Te = a.value?.getValueColumns().filter((De) => De.getColId() === J.value ||
|
|
8317
|
+
), Te = a.value?.getValueColumns().filter((De) => De.getColId() === J.value || Pe.has(De.getColId())), et = {
|
|
8319
8318
|
rowGroupCols: Se || [],
|
|
8320
8319
|
valueCols: ka(Te || []),
|
|
8321
|
-
filterModel:
|
|
8320
|
+
filterModel: te
|
|
8322
8321
|
};
|
|
8323
8322
|
d.value = !0;
|
|
8324
8323
|
const Rt = ++p.value;
|
|
@@ -8332,61 +8331,61 @@ const m4 = {
|
|
|
8332
8331
|
if (l.serverSideRowHandler) return;
|
|
8333
8332
|
const E = [], U = [];
|
|
8334
8333
|
let Y = /* @__PURE__ */ new Set();
|
|
8335
|
-
if (x.forEachNodeAfterFilterAndSort((
|
|
8336
|
-
if (
|
|
8334
|
+
if (x.forEachNodeAfterFilterAndSort((te) => {
|
|
8335
|
+
if (te.group && te.level === 0) {
|
|
8337
8336
|
if (v.value.length > 1) {
|
|
8338
|
-
const ce =
|
|
8339
|
-
Y = Y.union(
|
|
8337
|
+
const ce = te.childrenAfterFilter?.filter((Te) => Te.level === 1 && Te.aggData) || [], { rowData: Se, fieldValues: Pe } = Fe(te, ce);
|
|
8338
|
+
Y = Y.union(Pe), U?.push(Se);
|
|
8340
8339
|
}
|
|
8341
|
-
const he = We(
|
|
8340
|
+
const he = We(te);
|
|
8342
8341
|
E?.push(he);
|
|
8343
8342
|
}
|
|
8344
8343
|
}), Ue.value = E, v.value.length > 1 && U && U.length > 0) {
|
|
8345
|
-
const
|
|
8344
|
+
const te = v.value[1] || "";
|
|
8346
8345
|
je.value = U, Ie.value = {
|
|
8347
|
-
fieldName:
|
|
8346
|
+
fieldName: te,
|
|
8348
8347
|
fieldValues: Array.from(Y)
|
|
8349
8348
|
};
|
|
8350
8349
|
} else
|
|
8351
8350
|
je.value = [], Ie.value = null;
|
|
8352
8351
|
}, Ne = h(() => {
|
|
8353
|
-
const x = m.value,
|
|
8354
|
-
return [...new Map([...
|
|
8352
|
+
const x = m.value, P = T.value;
|
|
8353
|
+
return [...new Map([...P, ...x].map((E) => [E.value, E])).values()];
|
|
8355
8354
|
}), We = (x) => {
|
|
8356
|
-
const
|
|
8355
|
+
const P = {
|
|
8357
8356
|
[x.field]: x.key
|
|
8358
8357
|
};
|
|
8359
8358
|
for (const E of Ne.value)
|
|
8360
|
-
!x.aggData || !x.aggData[E.value] || (
|
|
8361
|
-
return
|
|
8362
|
-
}, Fe = (x,
|
|
8359
|
+
!x.aggData || !x.aggData[E.value] || (P[E.value] = x.aggData[E.value]?.value ?? x.aggData[E.value]);
|
|
8360
|
+
return P;
|
|
8361
|
+
}, Fe = (x, P) => {
|
|
8363
8362
|
const E = /* @__PURE__ */ new Set(), U = {
|
|
8364
8363
|
[x.field]: x.key
|
|
8365
8364
|
};
|
|
8366
8365
|
let Y = 0;
|
|
8367
|
-
for (const
|
|
8368
|
-
|
|
8366
|
+
for (const te of m.value)
|
|
8367
|
+
P.forEach((he) => {
|
|
8369
8368
|
const ce = he.key;
|
|
8370
8369
|
E.add(ce);
|
|
8371
8370
|
const Se = he.aggData;
|
|
8372
8371
|
if (ce && Se) {
|
|
8373
|
-
const
|
|
8374
|
-
U[Te] = `${x.key}-${
|
|
8375
|
-
const et = he.aggData[
|
|
8376
|
-
U[un(
|
|
8372
|
+
const Pe = String(ce), Te = Ko(Pe);
|
|
8373
|
+
U[Te] = `${x.key}-${Pe}`;
|
|
8374
|
+
const et = he.aggData[te.value]?.value ?? he.aggData[te.value];
|
|
8375
|
+
U[un(te.value, Pe)] = et, Y = Y + et;
|
|
8377
8376
|
}
|
|
8378
|
-
}), U[`${
|
|
8377
|
+
}), U[`${te.value}${Yt}`] = Y;
|
|
8379
8378
|
return {
|
|
8380
8379
|
rowData: U,
|
|
8381
8380
|
fieldValues: E
|
|
8382
8381
|
};
|
|
8383
8382
|
}, ve = h(() => {
|
|
8384
|
-
let x = Be.value ? je.value : Ue.value,
|
|
8385
|
-
if (qe.value && (
|
|
8383
|
+
let x = Be.value ? je.value : Ue.value, P = null;
|
|
8384
|
+
if (qe.value && (P = Be.value ? `${J.value}${Yt}` : J.value), P && x && qe.value) {
|
|
8386
8385
|
const E = qe.value?.id.includes("desc") ? -1 : 1;
|
|
8387
8386
|
x = [...x].sort((U, Y) => {
|
|
8388
|
-
const
|
|
8389
|
-
return (
|
|
8387
|
+
const te = U[P] || 0, he = Y[P] || 0;
|
|
8388
|
+
return (te - he) * E;
|
|
8390
8389
|
});
|
|
8391
8390
|
}
|
|
8392
8391
|
if (x && x.length === 1 && (x = [
|
|
@@ -8398,34 +8397,34 @@ const m4 = {
|
|
|
8398
8397
|
x = [...E || [], { [g.value]: pl }, ...U || []];
|
|
8399
8398
|
}
|
|
8400
8399
|
return x;
|
|
8401
|
-
}), Ke = /* @__PURE__ */ new Set(["", " "]), Ge = h(() => (ve.value ?? []).filter((
|
|
8402
|
-
const E =
|
|
8400
|
+
}), Ke = /* @__PURE__ */ new Set(["", " "]), Ge = h(() => (ve.value ?? []).filter((P) => {
|
|
8401
|
+
const E = P?.[g.value];
|
|
8403
8402
|
return !Ke.has(String(E));
|
|
8404
8403
|
})), kt = h(() => ve.value?.length || 0), Ye = h(() => {
|
|
8405
8404
|
const x = Be.value ? je.value : ve.value;
|
|
8406
|
-
return
|
|
8405
|
+
return A4(x, J.value, Be.value);
|
|
8407
8406
|
}), Ht = h(() => Ie.value?.fieldValues?.length || 0), ln = h(() => {
|
|
8408
8407
|
const Y = 0.25 * Math.exp(-0.12 * kt.value);
|
|
8409
8408
|
return Math.min(Math.max(Y, 0.05), 0.75);
|
|
8410
|
-
}), $n = h(() => Ht.value > 5 ? 0.5 : 1), sl = h(() => Ht.value > 5 ? 0.25 : 0.1), ul = h(() => !ve.value || ve.value?.length === 0 ? !0 : Ye.value === -1 / 0 || Be.value === !0 && Ye.value === 0),
|
|
8409
|
+
}), $n = h(() => Ht.value > 5 ? 0.5 : 1), sl = h(() => Ht.value > 5 ? 0.25 : 0.1), ul = h(() => !ve.value || ve.value?.length === 0 ? !0 : Ye.value === -1 / 0 || Be.value === !0 && Ye.value === 0), Pt = h(() => l.enableFocusView && B.value && k.value.length === 0 && l.percentOfFocusViewYKey && J.value && J.value === l.percentOfFocusViewYKey), an = h(() => {
|
|
8411
8410
|
if (v.value.length === 0)
|
|
8412
8411
|
return "No groups selected. Select at least one group to display data.";
|
|
8413
|
-
if (
|
|
8414
|
-
const x = Ce(B.value || ""),
|
|
8415
|
-
return (l.focusableColumns || []).includes(g.value) ? `Focus ${
|
|
8412
|
+
if (Pt.value) {
|
|
8413
|
+
const x = Ce(B.value || ""), P = x?.headerName || x?.field || "Compare Field";
|
|
8414
|
+
return (l.focusableColumns || []).includes(g.value) ? `Focus ${P} to view Visualization` : `Cannot focus on ${P}`;
|
|
8416
8415
|
} else if (ul.value)
|
|
8417
8416
|
return Na;
|
|
8418
8417
|
return "";
|
|
8419
|
-
}), On = (x,
|
|
8420
|
-
if (
|
|
8418
|
+
}), On = (x, P) => {
|
|
8419
|
+
if (P.length === 0)
|
|
8421
8420
|
return null;
|
|
8422
|
-
const E =
|
|
8421
|
+
const E = P[0];
|
|
8423
8422
|
if (x < E.bucketMin)
|
|
8424
8423
|
return null;
|
|
8425
|
-
for (let U = 0; U <
|
|
8426
|
-
const Y =
|
|
8424
|
+
for (let U = 0; U < P.length; U++) {
|
|
8425
|
+
const Y = P[U];
|
|
8427
8426
|
if (x <= Y.bucketMax) {
|
|
8428
|
-
const
|
|
8427
|
+
const te = Y.bucketMax - Y.bucketMin, he = te > 0 ? (x - Y.bucketMin) / te : 0;
|
|
8429
8428
|
return U + he;
|
|
8430
8429
|
}
|
|
8431
8430
|
}
|
|
@@ -8436,20 +8435,20 @@ const m4 = {
|
|
|
8436
8435
|
noData: {
|
|
8437
8436
|
text: ""
|
|
8438
8437
|
}
|
|
8439
|
-
}, x.data =
|
|
8438
|
+
}, x.data = Pt.value ? [] : ve.value, x.legend = {
|
|
8440
8439
|
toggleSeries: !1,
|
|
8441
8440
|
preventHidingAll: !0,
|
|
8442
8441
|
enabled: v.value.length > 1
|
|
8443
8442
|
};
|
|
8444
|
-
const
|
|
8443
|
+
const P = Be.value ? Ie.value?.fieldValues.map((he) => un(J.value, he)) || [] : J.value ? [J.value] : [], E = (() => {
|
|
8445
8444
|
if (!we.value)
|
|
8446
8445
|
return [];
|
|
8447
8446
|
const he = we.value;
|
|
8448
8447
|
return gt.value ? [`${he}${Yt}`] : Be.value ? Ie.value?.fieldValues.map(
|
|
8449
8448
|
(ce) => un(he, String(ce))
|
|
8450
8449
|
) || [] : [he];
|
|
8451
|
-
})(), U = W.value.xAxis.hideLabel === !0, Y = q.value?.id === "histogram" && ve.value && ve.value.length > 0 && typeof ve.value[0]?.bucketMin == "number" && typeof ve.value[0]?.bucketMax == "number",
|
|
8452
|
-
if (
|
|
8450
|
+
})(), U = W.value.xAxis.hideLabel === !0, Y = q.value?.id === "histogram" && ve.value && ve.value.length > 0 && typeof ve.value[0]?.bucketMin == "number" && typeof ve.value[0]?.bucketMax == "number", te = [];
|
|
8451
|
+
if (te.push({
|
|
8453
8452
|
type: "category",
|
|
8454
8453
|
position: it.value ? "left" : "bottom",
|
|
8455
8454
|
crossLines: [
|
|
@@ -8473,8 +8472,8 @@ const m4 = {
|
|
|
8473
8472
|
return "";
|
|
8474
8473
|
const ce = 35;
|
|
8475
8474
|
let Se = he.value;
|
|
8476
|
-
const
|
|
8477
|
-
typeof
|
|
8475
|
+
const Pe = oe(g.value);
|
|
8476
|
+
typeof Pe == "function" && (Se = Pe(he));
|
|
8478
8477
|
const Te = l.enableFocusView && k.value.includes(he.value) ? ` (${l.focusText})` : "";
|
|
8479
8478
|
if (typeof Se == "string" && Se.length + Te.length > ce) {
|
|
8480
8479
|
const et = ce - Te.length - 3;
|
|
@@ -8488,7 +8487,7 @@ const m4 = {
|
|
|
8488
8487
|
groupPaddingInner: sl.value
|
|
8489
8488
|
}), Y && l.verticalLineOverlays && l.verticalLineOverlays.length > 0) {
|
|
8490
8489
|
const he = ve.value?.length || 1;
|
|
8491
|
-
|
|
8490
|
+
te.push({
|
|
8492
8491
|
type: "number",
|
|
8493
8492
|
keys: ["__dummy_x__"],
|
|
8494
8493
|
position: it.value ? "left" : "bottom",
|
|
@@ -8517,9 +8516,9 @@ const m4 = {
|
|
|
8517
8516
|
} : null).filter((ce) => ce !== null) || []
|
|
8518
8517
|
});
|
|
8519
8518
|
}
|
|
8520
|
-
return
|
|
8519
|
+
return te.push({
|
|
8521
8520
|
type: "number",
|
|
8522
|
-
keys:
|
|
8521
|
+
keys: P,
|
|
8523
8522
|
position: it.value ? "bottom" : "left",
|
|
8524
8523
|
label: {
|
|
8525
8524
|
formatter: oe(J.value)
|
|
@@ -8528,10 +8527,11 @@ const m4 = {
|
|
|
8528
8527
|
enabled: !0,
|
|
8529
8528
|
text: rt.value
|
|
8530
8529
|
}
|
|
8531
|
-
}), we.value &&
|
|
8530
|
+
}), we.value && te.push({
|
|
8532
8531
|
type: "number",
|
|
8533
8532
|
keys: E,
|
|
8534
8533
|
position: it.value ? "top" : "right",
|
|
8534
|
+
min: 0,
|
|
8535
8535
|
label: {
|
|
8536
8536
|
color: dn
|
|
8537
8537
|
},
|
|
@@ -8540,7 +8540,7 @@ const m4 = {
|
|
|
8540
8540
|
text: Ft.value,
|
|
8541
8541
|
color: dn
|
|
8542
8542
|
}
|
|
8543
|
-
}), Y && l.verticalLineOverlays && l.verticalLineOverlays.length > 0 &&
|
|
8543
|
+
}), Y && l.verticalLineOverlays && l.verticalLineOverlays.length > 0 && te.push({
|
|
8544
8544
|
type: "number",
|
|
8545
8545
|
keys: ["__dummy_y__"],
|
|
8546
8546
|
position: "left",
|
|
@@ -8548,8 +8548,8 @@ const m4 = {
|
|
|
8548
8548
|
tick: { enabled: !1 },
|
|
8549
8549
|
line: { enabled: !1 },
|
|
8550
8550
|
gridLine: { enabled: !1 }
|
|
8551
|
-
}), x.axes =
|
|
8552
|
-
}), I = h(() => d.value || l.isLoading && (!ve.value || ve.value.length === 0)), z = h(() =>
|
|
8551
|
+
}), x.axes = te, x.series = Je.value, x;
|
|
8552
|
+
}), I = h(() => d.value || l.isLoading && (!ve.value || ve.value.length === 0)), z = h(() => Pt.value || !_.value && !l.isLoading && an.value !== ""), ue = (x) => {
|
|
8553
8553
|
s.value = x, o("chart-collapsed", x);
|
|
8554
8554
|
}, me = (x) => {
|
|
8555
8555
|
a.value && (a.value.setRowGroupColumns(x ? v.value : []), L.value = x);
|
|
@@ -8566,8 +8566,8 @@ const m4 = {
|
|
|
8566
8566
|
}
|
|
8567
8567
|
}), at(async () => {
|
|
8568
8568
|
await dt(), c.value = l.filterPanelAboveChart;
|
|
8569
|
-
}), (x,
|
|
8570
|
-
|
|
8569
|
+
}), (x, P) => (f(), F("div", P4, [
|
|
8570
|
+
A("div", {
|
|
8571
8571
|
class: "pv-stack-16",
|
|
8572
8572
|
id: u
|
|
8573
8573
|
}),
|
|
@@ -8577,19 +8577,19 @@ const m4 = {
|
|
|
8577
8577
|
label: "Collapse",
|
|
8578
8578
|
style: { float: "right", "margin-left": "0.5rem" },
|
|
8579
8579
|
variant: "secondary",
|
|
8580
|
-
onClick:
|
|
8580
|
+
onClick: P[0] || (P[0] = (E) => ue(!s.value)),
|
|
8581
8581
|
class: se(e.hideChart || s.value ? "pv-hide" : "")
|
|
8582
8582
|
}, null, 8, ["class"]),
|
|
8583
|
-
|
|
8583
|
+
A("div", {
|
|
8584
8584
|
class: se(e.hideChart || !s.value ? "pv-hide" : "pv-space-between")
|
|
8585
8585
|
}, [
|
|
8586
|
-
|
|
8586
|
+
A("div", L4, [
|
|
8587
8587
|
X(Le, {
|
|
8588
8588
|
name: "chart-line",
|
|
8589
8589
|
size: 20,
|
|
8590
8590
|
class: "pv-text-subdued"
|
|
8591
8591
|
}),
|
|
8592
|
-
|
|
8592
|
+
P[9] || (P[9] = A("p", {
|
|
8593
8593
|
class: "pv-text-body-md pv-text-primary",
|
|
8594
8594
|
style: { "font-weight": "500" }
|
|
8595
8595
|
}, "Expand to see chart", -1))
|
|
@@ -8598,10 +8598,10 @@ const m4 = {
|
|
|
8598
8598
|
rightIcon: "chevron-selector",
|
|
8599
8599
|
label: "Expand",
|
|
8600
8600
|
variant: "secondary",
|
|
8601
|
-
onClick:
|
|
8601
|
+
onClick: P[1] || (P[1] = (E) => ue(!s.value))
|
|
8602
8602
|
})
|
|
8603
8603
|
], 2),
|
|
8604
|
-
|
|
8604
|
+
A("div", {
|
|
8605
8605
|
class: se(e.hideChart || s.value ? "pv-hide" : "")
|
|
8606
8606
|
}, [
|
|
8607
8607
|
X($4, {
|
|
@@ -8611,7 +8611,7 @@ const m4 = {
|
|
|
8611
8611
|
"use-combined-button": l.enableCombinedChartConfigPanel,
|
|
8612
8612
|
"chart-config-options": l.chartConfigPanelOptions
|
|
8613
8613
|
}, null, 8, ["enablePanel", "chartFilter", "rowGroupLimit", "use-combined-button", "chart-config-options"]),
|
|
8614
|
-
|
|
8614
|
+
A("div", D4, [
|
|
8615
8615
|
X(za, {
|
|
8616
8616
|
ref_key: "pvChartRef",
|
|
8617
8617
|
ref: i,
|
|
@@ -8619,15 +8619,15 @@ const m4 = {
|
|
|
8619
8619
|
options: C.value,
|
|
8620
8620
|
enableFocusView: e.enableFocusView
|
|
8621
8621
|
}, null, 8, ["isLoading", "options", "enableFocusView"]),
|
|
8622
|
-
|
|
8622
|
+
A("div", V4, [
|
|
8623
8623
|
_.value ? (f(), F("div", I4, [
|
|
8624
8624
|
(f(), j(bt(e.emptyChartFilterRenderer)))
|
|
8625
8625
|
])) : z.value ? (f(), F("p", B4, [
|
|
8626
|
-
|
|
8627
|
-
|
|
8626
|
+
Pt.value ? (f(), F(fe, { key: 0 }, [
|
|
8627
|
+
P[10] || (P[10] = ze(" Select ", -1)),
|
|
8628
8628
|
X(Le, { name: "focus" })
|
|
8629
8629
|
], 64)) : N("", !0),
|
|
8630
|
-
ze(" " +
|
|
8630
|
+
ze(" " + ne(an.value), 1)
|
|
8631
8631
|
])) : N("", !0)
|
|
8632
8632
|
])
|
|
8633
8633
|
])
|
|
@@ -8642,20 +8642,20 @@ const m4 = {
|
|
|
8642
8642
|
onColumnRowGroupChanged: Q,
|
|
8643
8643
|
onGridReady: V,
|
|
8644
8644
|
onFilterChanged: ie,
|
|
8645
|
-
onSortChanged:
|
|
8646
|
-
onFilterOpened:
|
|
8645
|
+
onSortChanged: P[3] || (P[3] = (E) => o("sort-changed", E)),
|
|
8646
|
+
onFilterOpened: P[4] || (P[4] = (E) => o("filter-opened", E)),
|
|
8647
8647
|
onFirstDataRendered: G,
|
|
8648
|
-
onColumnMoved:
|
|
8649
|
-
onColumnResized:
|
|
8650
|
-
onHandleSettingsIcon:
|
|
8651
|
-
onFocusUpdate:
|
|
8648
|
+
onColumnMoved: P[5] || (P[5] = (E) => o("column-moved", E)),
|
|
8649
|
+
onColumnResized: P[6] || (P[6] = (E) => o("column-resized", E)),
|
|
8650
|
+
onHandleSettingsIcon: P[7] || (P[7] = (E) => o("handle-settings-icon", E)),
|
|
8651
|
+
onFocusUpdate: P[8] || (P[8] = (E) => o("focus-update", E))
|
|
8652
8652
|
}), {
|
|
8653
8653
|
"top-slot": pe(() => [
|
|
8654
8654
|
e.enableGroupingToggle ? (f(), j(Oe, {
|
|
8655
8655
|
key: 0,
|
|
8656
8656
|
leftIcon: L.value ? "ungroup" : "group",
|
|
8657
8657
|
label: L.value ? "Ungroup Table" : "Group Table to Match Chart",
|
|
8658
|
-
onClick:
|
|
8658
|
+
onClick: P[2] || (P[2] = (E) => me(!L.value)),
|
|
8659
8659
|
variant: "secondary",
|
|
8660
8660
|
size: "lg"
|
|
8661
8661
|
}, null, 8, ["leftIcon", "label"])) : N("", !0)
|
|
@@ -11801,7 +11801,7 @@ const m4 = {
|
|
|
11801
11801
|
setup(e) {
|
|
11802
11802
|
const t = e, n = (l) => t.valueFormatter ? t.valueFormatter(l) : l.toLocaleString("en-US");
|
|
11803
11803
|
return (l, o) => (f(), F("div", U4, [
|
|
11804
|
-
|
|
11804
|
+
A("div", {
|
|
11805
11805
|
min: e.min,
|
|
11806
11806
|
max: e.max,
|
|
11807
11807
|
"aria-hidden": "true",
|
|
@@ -11820,9 +11820,9 @@ const m4 = {
|
|
|
11820
11820
|
rgba(1, 18, 20, 1) 90%
|
|
11821
11821
|
)`, border: "0", "border-radius": "1rem", height: "0.5rem" }
|
|
11822
11822
|
}, null, 8, W4),
|
|
11823
|
-
|
|
11824
|
-
|
|
11825
|
-
|
|
11823
|
+
A("div", Y4, [
|
|
11824
|
+
A("p", null, ne(n(e.min)), 1),
|
|
11825
|
+
A("p", null, ne(n(e.max)), 1)
|
|
11826
11826
|
])
|
|
11827
11827
|
]));
|
|
11828
11828
|
}
|
|
@@ -11947,7 +11947,7 @@ const m4 = {
|
|
|
11947
11947
|
}
|
|
11948
11948
|
}));
|
|
11949
11949
|
return (p, y) => (f(), F(fe, null, [
|
|
11950
|
-
|
|
11950
|
+
A("div", Z4, [
|
|
11951
11951
|
X(X4, {
|
|
11952
11952
|
modelValue: o.value,
|
|
11953
11953
|
"onUpdate:modelValue": y[0] || (y[0] = (v) => o.value = v),
|