@turquoisehealth/pit-viper 2.211.2 → 2.211.3

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.
@@ -1,4 +1,4 @@
1
- (function(){try{if(typeof document<`u`){var e=document.createElement(`style`);e.appendChild(document.createTextNode(`.pv-scatter-overlay[data-v-712fbeaa]{pointer-events:none;z-index:2;grid-template-rows:1fr 1fr;grid-template-columns:1fr 1fr;width:100%;height:100%;display:grid;position:absolute;top:0;left:0}.pv-scatter-quadrant[data-v-712fbeaa]{display:flex;overflow:hidden}.pv-scatter-quadrant-box[data-v-712fbeaa]{color:#666;pointer-events:all;background:#8080801a;border-radius:4px;max-width:calc(100% - 10px);max-height:calc(100% - 10px);padding:8px;font-size:12px;font-weight:600;overflow:auto}.pv-scatter-quadrant-top-left[data-v-712fbeaa]{grid-area:1/1;justify-content:flex-start;align-items:flex-start;padding:5px}.pv-scatter-quadrant-top-right[data-v-712fbeaa]{grid-area:1/2;justify-content:flex-end;align-items:flex-start;padding:5px}.pv-scatter-quadrant-bottom-left[data-v-712fbeaa]{grid-area:2/1;justify-content:flex-start;align-items:flex-end;padding:5px}.pv-scatter-quadrant-bottom-right[data-v-712fbeaa]{grid-area:2/2;justify-content:flex-end;align-items:flex-end;padding:5px}.pv-chart-loading[data-v-712fbeaa]{text-align:center;opacity:1;z-index:4;background-color:#fff;justify-content:center;align-items:center;width:100%;height:100%;position:absolute;top:0;left:0}.pv-chart-loading-icon[data-v-712fbeaa]{color:#16696d;animation:1.5s ease-in-out infinite pulse-712fbeaa}@keyframes pulse-712fbeaa{0%{opacity:1;transform:scale(1)}50%{opacity:.6;transform:scale(1.05)}to{opacity:1;transform:scale(1)}}.pv-chart-widget[data-v-d92b6ed9]{box-sizing:border-box;flex-direction:column;width:100%;min-width:0;height:100%;min-height:0;display:flex;position:relative}.pv-chart-widget--constrained[data-v-d92b6ed9]{overflow:hidden}.pv-chart-widget__chart-area[data-v-d92b6ed9]{flex:auto;width:100%;min-height:0;position:relative;overflow:hidden}.pv-chart-widget__chart-scroll[data-v-d92b6ed9]{width:100%;height:100%;min-height:0}.pv-chart-widget__chart-scroll--enabled[data-v-d92b6ed9]{overflow:auto}.pv-chart-widget__chart-content[data-v-d92b6ed9]{height:100%;min-height:100%}.pv-badge-md[data-v-6a07eeec]{--inset-size:2px 2px;min-width:20px;min-height:20px;max-height:20px;font-weight:500}.pv-badge-sm[data-v-6a07eeec]{--inset-size:0 2px;min-width:16px;min-height:16px;max-height:16px;font-weight:500}.pv-surface-lighten-5[data-v-6a07eeec]{background-color:#e0e5e4}.pv-text-secondary[data-v-6a07eeec]{color:#4b595c}.pv-floating-native[data-v-08e2d92a]{width:max-content;color:inherit;position-visibility:anchors-visible;background:0 0;border:0;margin:0;padding:0;position:fixed;inset:auto;overflow:visible}.pv-floating-native[data-v-08e2d92a]>.pv-popover,.pv-floating-native>slot[name=content][data-v-08e2d92a]::slotted(.pv-popover){position:static!important}.pv-select-button-trigger-avatar[data-v-5b922a5f]{font-size:.5rem;font-weight:700}.pv-select-button-trigger-content[data-v-5b922a5f]{min-width:0}.pv-select-button-trigger-label[data-v-5b922a5f]{flex:auto;min-width:0}.pv-switch-hide-check[data-v-73e6d2b2] input[type=checkbox]:checked:after,.pv-switch-hide-check[data-v-73e6d2b2] input[type=checkbox]:checked:not(:disabled):hover:after,.pv-switch-hide-check[data-v-73e6d2b2] input[type=checkbox]:checked:not(:disabled):focus-visible:after,.pv-switch-hide-check[data-v-73e6d2b2] input[type=checkbox]:checked:not(:disabled):active:after,.pv-switch-hide-check[data-v-73e6d2b2] input[type=checkbox]:checked:disabled:after{background-image:unset}.pv-action-button-reveal-on-hover{opacity:0;transition:opacity .2s}.pv-label:hover .pv-action-button-reveal-on-hover{opacity:1}.pv-menu-item-disabled[data-v-f337a1d6]{pointer-events:none;color:#7d898d;border-radius:4px}.pv-menu-item-disabled .pv-menu-item-action[data-v-f337a1d6]{pointer-events:auto;display:inline-flex}.pv-menu-item{&[data-v-f337a1d6]{cursor:pointer;border-radius:var(--popover-list-item-radius,4px);transition-property:background-color;transition-duration:.15s}&[data-v-f337a1d6]:hover,&[data-v-f337a1d6]:focus-visible{background-color:var(--popover-list-item-hover-background-color,#f5f5f5)}&[data-v-f337a1d6]:active{background-color:var(--popover-list-item-pressed-background-color,#ebebeb)}}.pv-radio[data-v-f337a1d6]:indeterminate{background-color:unset!important;border-color:var(--color-border,#e3e7ea)!important}.pv-menu-item-expand-chevron[data-v-f337a1d6]{flex-shrink:0;margin-left:auto;padding:4px}.pv-menu-item-disabled .pv-menu-item-expand-chevron[data-v-f337a1d6]{pointer-events:auto;color:inherit}.pv-popover-list[data-v-246a9400]{font-size:14px}.pv-menu-popover[data-v-04937b69]{z-index:50}.pv-popover-list>li[data-v-04937b69]:last-child>.pv-label{margin-block-end:0}[data-v-04937b69] .pv-menu-nested:after{content:"";border-top:1.5px solid;border-right:1.5px solid;flex-shrink:0;width:.4rem;height:.4rem;margin-left:auto;margin-right:.2rem;transform:rotate(45deg)}.pv-data-widget[data-v-1681e679]{box-sizing:border-box;width:100%;min-width:0;min-height:0}.pv-data-widget--constrained[data-v-1681e679]{flex-direction:column;display:flex;overflow:hidden}.pv-data-widget--constrained .pv-data-widget__body[data-v-1681e679]{flex-direction:column;flex:auto;min-height:0;display:flex;overflow:hidden}.pv-data-widget__table-container[data-v-1681e679]{min-height:0}.pv-data-widget__below-table[data-v-1681e679]{margin-top:16px}.pv-data-widget--constrained .pv-data-widget__table-container[data-v-1681e679]{flex:auto}.pv-data-widget--constrained .pv-data-widget__below-table[data-v-1681e679]{flex:none}.pv-data-widget__chart-scroll[data-v-1681e679]{width:100%;min-height:0;overflow:hidden}.pv-data-widget--constrained .pv-data-widget__chart-scroll[data-v-1681e679]{flex:auto}.pv-data-widget__chart-scroll--enabled[data-v-1681e679]{overflow:auto}.pv-data-widget__chart-content[data-v-1681e679]{min-height:100%}.pv-button-icon[aria-expanded=true][data-v-6e4b23d8]{background-color:#c7d8db}.pv-select[data-v-6e4b23d8]{padding-top:4px;padding-bottom:4px}.input-icon-position{pointer-events:none;position:absolute;top:8px;left:12px}.pv-text-tertiary[data-v-ff951d17]{color:#6e8081}.pv-query-builder-input-wrapper[data-v-37925d70]{background:var(--secondary-lighten-8,#f7f8f8);border-radius:var(--corner-radius-L,8px);border:1px solid var(--stroke-light,#e3e7ea);cursor:text;align-items:center;width:100%;min-height:2.25rem;padding:.25rem;font-size:.75rem;display:flex;position:relative}.pv-query-builder-input[data-v-37925d70]{justify-content:start;overflow-x:hidden}.pv-query-builder-input-wrapper input[data-v-37925d70]{background:0 0;border:none;outline:none;flex:1rem;min-width:1rem;font-size:.75rem}.pv-query-builder-input-wrapper[data-v-37925d70]:focus-within{border:2px solid #36c5ba}.pv-table-row-count{opacity:1;background-color:#f7f8f8;transition:opacity .3s;position:absolute;top:6px;right:12px}.pv-table-group-cell:hover .pv-table-row-count{opacity:0}.pv-table-row-number{text-align:center;color:#89989b;padding:8px 12px 8px 0}.suggested-label[data-v-dd3c1588]:hover{color:#16696d}.suggested-title-label[data-v-dd3c1588]:hover{color:#0d5256;text-decoration:underline}.pv-details-no-carat>summary[data-v-bd0413e6]{cursor:default;background-image:none}.ag-custom-header-cell[data-v-94e930b5]{align-items:center;height:100%}.ag-header-actions .ag-header-cell-menu-button[data-v-94e930b5]{opacity:0;transition:opacity .2s ease-in-out}.ag-header-cell-menu-button:hover .ag-header-actions .ag-header-cell-menu-button[data-v-94e930b5],.ag-header-cell-menu-button:focus .ag-header-actions .ag-header-cell-menu-button[data-v-94e930b5]{opacity:1}.pv-table-row-number[data-v-686928ce]{text-align:center;color:#89989b;padding:8px 12px 8px 0}.pv-table-overlay{z-index:2;pointer-events:none;background:#fff;width:100%;height:calc(100% - 40px);position:absolute;top:80px}.pv-data-table .ag-header-cell-resize{border:none!important}.pv-data-table .ag-cell-inline-editing .ag-cell-editor{height:100%!important}.pv-data-table .ag-rich-select-value{min-height:100%!important}.pv-data-table .pv-data-table-cell-clickable{cursor:pointer}.pv-data-table .pv-data-table-cell-clickable:hover{background-color:var(--button-ghost-hover-background-color,#e8f2f4)}.pv-data-table .ag-row-group-leaf-indent{margin-left:0;padding-left:7px}.pv-data-table .ag-custom-loading-cell{background-color:#ccc;border-radius:4px;width:100%;height:40%;margin:15px}.pv-data-table .ag-group-value{width:100%;height:100%}.pv-data-table .ag-row:not(.ag-row-group) .ag-cell-wrapper{align-items:stretch;height:100%}.pv-data-table .ag-menu-option:hover{background-color:#f7f8f8}.pv-data-table .ag-menu-option-shortcut{color:#89989b}.pv-data-table .ag-menu-option:active{background-color:#e8f2f4}.pv-data-table .ag-menu-option-text{font-family:Inter,sans-serif}.pv-data-table .ag-header-cell-menu-button:hover{box-shadow:unset!important}.pv-data-table .ag-button{border-radius:4px!important;padding:3px 8px!important;font-size:12px!important}.pv-data-table-grouped-card .ag-body-horizontal-scroll{display:none!important}.pv-data-table-grouped-card .ag-header-cell-resize{opacity:0;transition:opacity .2s}.pv-data-table-grouped-card .ag-header-cell:hover .ag-header-cell-resize{opacity:1}.pv-data-table-grouped-card .ag-row-group-contracted{background:linear-gradient(#fff 5px,#f7f8f8 5px calc(100% - 5px),#fff calc(100% - 5px))!important}.pv-data-table-grouped-card .ag-row-group-expanded{background:linear-gradient(#fff 5px,#f7f8f8 5px)!important}.pv-data-table-grouped-card .ag-row-group-contracted .ag-cell{border:none!important;align-items:center!important;padding-top:5px!important;padding-bottom:5px!important}.pv-data-table-grouped-card .ag-row-group-expanded .ag-cell{border:none!important;align-items:center!important;padding-top:5px!important;padding-bottom:0!important}.pv-data-table-grouped-card .ag-row-group-contracted .ag-cell-wrapper,.pv-data-table-grouped-card .ag-row-group-expanded .ag-cell-wrapper{align-items:center!important;height:100%!important}.pv-data-table-grouped-card .ag-row-group-contracted .ag-cell-value,.pv-data-table-grouped-card .ag-row-group-expanded .ag-cell-value{height:100%!important}.pv-data-table-grouped-card .ag-row:not(.ag-row-group-contracted):not(.ag-row-group-expanded){border-bottom:1px solid #e0e0e0!important;border-left:1px solid #e0e0e0!important;border-right:1px solid #e0e0e0!important}.pv-data-table-grouped-card .ag-row.pv-data-table-group-last-child,.pv-data-table-grouped-card .ag-row:not(.ag-row-group-contracted):not(.ag-row-group-expanded).ag-row-last{border-radius:0 0 4px 4px}.pv-data-table-grouped-card .ag-row-group-contracted:after{content:"";pointer-events:none;border:1px solid #e0e0e0;border-radius:4px;position:absolute;inset:5px 0}.pv-data-table-grouped-card .ag-row-group-expanded:after{content:"";pointer-events:none;border:1px solid #e0e0e0;border-radius:4px 4px 0 0;position:absolute;inset:5px 0 0}.pv-data-table-grouped-card .ag-row-group-contracted:hover,.pv-data-table-grouped-card .ag-row-group-expanded:hover{background:linear-gradient(#fff 5px,#eef0f0 5px calc(100% - 5px),#fff calc(100% - 5px))!important}.pv-data-table-grouped-card .ag-row-group-expanded:hover{background:linear-gradient(#fff 5px,#eef0f0 5px)!important}.pv-data-table-grouped-card .ag-row:not(.ag-row-group-contracted):not(.ag-row-group-expanded):hover{background-color:#f7f8f8!important}.pv-data-table-grouped-card .ag-group-value{height:100%}.pv-text-tertiary[data-v-34615cd0]{color:#89989b}.pv-button-placeholder[data-v-34615cd0]{width:24px;height:24px}.pv-sort-option[data-v-34615cd0]{--flex-gap:4px;cursor:grab;min-height:24px}.pv-menu-item-disabled[data-v-34615cd0]{pointer-events:none;color:#7d898d}.placeholder-zone[data-v-34615cd0]{transition:background-color .2s}.pv-placeholder-dropzone[data-v-34615cd0]{justify-content:center;align-items:center;padding:8px 4px;transition:all .2s;border-style:dashed!important;border-color:#e3e7ea!important}.placeholder-zone.placeholder-drag-over .pv-placeholder-dropzone[data-v-34615cd0]{background:#f0f9f9;border-color:#16696d!important}.sort-divider-container[data-v-34615cd0]{display:flex}.sort-divider[data-v-34615cd0]{border-top:1px solid #e3e7ea;flex:1;margin:1rem 0;position:relative}.sort-divider[data-v-34615cd0]:after{content:attr(data-label);font-size:inherit;white-space:nowrap;background:#fff;padding:0 .5em;display:inline-block;position:absolute;top:50%;left:50%;transform:translate(-50%,-50%)}[data-v-22dd30e6] .pv-legacy-chart-menu-nested:after{content:"›";margin-left:auto}[data-v-22dd30e6] .pv-legacy-chart-menu-nested-active{background-color:var(--popover-list-selected-item-background-color,#e4f8f6)}[data-v-22dd30e6] .pv-legacy-chart-option{min-width:150px;max-width:225px}.pv-chart-config-popover{width:max-content;max-width:500px}.pv-data-table-with-chart__chart-scroll{contain:inline-size;width:100%;min-height:0;overflow:hidden}.pv-data-table-with-chart__chart-scroll--enabled{overflow:auto}.pv-data-table-with-chart__chart-content{min-height:100%}.pv-chart-overlay{pointer-events:none;position:absolute;top:50%;left:50%;transform:translate(-50%,-50%)}.ag-charts-tooltip{background-color:#fffffff2}.ag-charts-floating-toolbar{display:none!important}
1
+ (function(){try{if(typeof document<`u`){var e=document.createElement(`style`);e.appendChild(document.createTextNode(`.pv-scatter-overlay[data-v-712fbeaa]{pointer-events:none;z-index:2;grid-template-rows:1fr 1fr;grid-template-columns:1fr 1fr;width:100%;height:100%;display:grid;position:absolute;top:0;left:0}.pv-scatter-quadrant[data-v-712fbeaa]{display:flex;overflow:hidden}.pv-scatter-quadrant-box[data-v-712fbeaa]{color:#666;pointer-events:all;background:#8080801a;border-radius:4px;max-width:calc(100% - 10px);max-height:calc(100% - 10px);padding:8px;font-size:12px;font-weight:600;overflow:auto}.pv-scatter-quadrant-top-left[data-v-712fbeaa]{grid-area:1/1;justify-content:flex-start;align-items:flex-start;padding:5px}.pv-scatter-quadrant-top-right[data-v-712fbeaa]{grid-area:1/2;justify-content:flex-end;align-items:flex-start;padding:5px}.pv-scatter-quadrant-bottom-left[data-v-712fbeaa]{grid-area:2/1;justify-content:flex-start;align-items:flex-end;padding:5px}.pv-scatter-quadrant-bottom-right[data-v-712fbeaa]{grid-area:2/2;justify-content:flex-end;align-items:flex-end;padding:5px}.pv-chart-loading[data-v-712fbeaa]{text-align:center;opacity:1;z-index:4;background-color:#fff;justify-content:center;align-items:center;width:100%;height:100%;position:absolute;top:0;left:0}.pv-chart-loading-icon[data-v-712fbeaa]{color:#16696d;animation:1.5s ease-in-out infinite pulse-712fbeaa}@keyframes pulse-712fbeaa{0%{opacity:1;transform:scale(1)}50%{opacity:.6;transform:scale(1.05)}to{opacity:1;transform:scale(1)}}.pv-chart-widget[data-v-d92b6ed9]{box-sizing:border-box;flex-direction:column;width:100%;min-width:0;height:100%;min-height:0;display:flex;position:relative}.pv-chart-widget--constrained[data-v-d92b6ed9]{overflow:hidden}.pv-chart-widget__chart-area[data-v-d92b6ed9]{flex:auto;width:100%;min-height:0;position:relative;overflow:hidden}.pv-chart-widget__chart-scroll[data-v-d92b6ed9]{width:100%;height:100%;min-height:0}.pv-chart-widget__chart-scroll--enabled[data-v-d92b6ed9]{overflow:auto}.pv-chart-widget__chart-content[data-v-d92b6ed9]{height:100%;min-height:100%}.pv-badge-md[data-v-6a07eeec]{--inset-size:2px 2px;min-width:20px;min-height:20px;max-height:20px;font-weight:500}.pv-badge-sm[data-v-6a07eeec]{--inset-size:0 2px;min-width:16px;min-height:16px;max-height:16px;font-weight:500}.pv-surface-lighten-5[data-v-6a07eeec]{background-color:#e0e5e4}.pv-text-secondary[data-v-6a07eeec]{color:#4b595c}.pv-floating-native[data-v-08e2d92a]{width:max-content;color:inherit;position-visibility:anchors-visible;background:0 0;border:0;margin:0;padding:0;position:fixed;inset:auto;overflow:visible}.pv-floating-native[data-v-08e2d92a]>.pv-popover,.pv-floating-native>slot[name=content][data-v-08e2d92a]::slotted(.pv-popover){position:static!important}.pv-select-button-trigger-avatar[data-v-5b922a5f]{font-size:.5rem;font-weight:700}.pv-select-button-trigger-content[data-v-5b922a5f]{min-width:0}.pv-select-button-trigger-label[data-v-5b922a5f]{flex:auto;min-width:0}.pv-switch-hide-check[data-v-73e6d2b2] input[type=checkbox]:checked:after,.pv-switch-hide-check[data-v-73e6d2b2] input[type=checkbox]:checked:not(:disabled):hover:after,.pv-switch-hide-check[data-v-73e6d2b2] input[type=checkbox]:checked:not(:disabled):focus-visible:after,.pv-switch-hide-check[data-v-73e6d2b2] input[type=checkbox]:checked:not(:disabled):active:after,.pv-switch-hide-check[data-v-73e6d2b2] input[type=checkbox]:checked:disabled:after{background-image:unset}.pv-action-button-reveal-on-hover{opacity:0;transition:opacity .2s}.pv-label:hover .pv-action-button-reveal-on-hover{opacity:1}.pv-menu-item-disabled[data-v-f337a1d6]{pointer-events:none;color:#7d898d;border-radius:4px}.pv-menu-item-disabled .pv-menu-item-action[data-v-f337a1d6]{pointer-events:auto;display:inline-flex}.pv-menu-item{&[data-v-f337a1d6]{cursor:pointer;border-radius:var(--popover-list-item-radius,4px);transition-property:background-color;transition-duration:.15s}&[data-v-f337a1d6]:hover,&[data-v-f337a1d6]:focus-visible{background-color:var(--popover-list-item-hover-background-color,#f5f5f5)}&[data-v-f337a1d6]:active{background-color:var(--popover-list-item-pressed-background-color,#ebebeb)}}.pv-radio[data-v-f337a1d6]:indeterminate{background-color:unset!important;border-color:var(--color-border,#e3e7ea)!important}.pv-menu-item-expand-chevron[data-v-f337a1d6]{flex-shrink:0;margin-left:auto;padding:4px}.pv-menu-item-disabled .pv-menu-item-expand-chevron[data-v-f337a1d6]{pointer-events:auto;color:inherit}.pv-popover-list[data-v-246a9400]{font-size:14px}.pv-menu-popover[data-v-04937b69]{z-index:50}.pv-popover-list>li[data-v-04937b69]:last-child>.pv-label{margin-block-end:0}[data-v-04937b69] .pv-menu-nested:after{content:"";border-top:1.5px solid;border-right:1.5px solid;flex-shrink:0;width:.4rem;height:.4rem;margin-left:auto;margin-right:.2rem;transform:rotate(45deg)}.pv-data-widget[data-v-1681e679]{box-sizing:border-box;width:100%;min-width:0;min-height:0}.pv-data-widget--constrained[data-v-1681e679]{flex-direction:column;display:flex;overflow:hidden}.pv-data-widget--constrained .pv-data-widget__body[data-v-1681e679]{flex-direction:column;flex:auto;min-height:0;display:flex;overflow:hidden}.pv-data-widget__table-container[data-v-1681e679]{min-height:0}.pv-data-widget__below-table[data-v-1681e679]{margin-top:16px}.pv-data-widget--constrained .pv-data-widget__table-container[data-v-1681e679]{flex:auto}.pv-data-widget--constrained .pv-data-widget__below-table[data-v-1681e679]{flex:none}.pv-data-widget__chart-scroll[data-v-1681e679]{width:100%;min-height:0;overflow:hidden}.pv-data-widget--constrained .pv-data-widget__chart-scroll[data-v-1681e679]{flex:auto}.pv-data-widget__chart-scroll--enabled[data-v-1681e679]{overflow:auto}.pv-data-widget__chart-content[data-v-1681e679]{min-height:100%}.pv-button-icon[aria-expanded=true][data-v-6e4b23d8]{background-color:#c7d8db}.pv-select[data-v-6e4b23d8]{padding-top:4px;padding-bottom:4px}.input-icon-position{pointer-events:none;position:absolute;top:8px;left:12px}.pv-text-tertiary[data-v-ff951d17]{color:#6e8081}.pv-query-builder-input-wrapper[data-v-37925d70]{background:var(--secondary-lighten-8,#f7f8f8);border-radius:var(--corner-radius-L,8px);border:1px solid var(--stroke-light,#e3e7ea);cursor:text;align-items:center;width:100%;min-height:2.25rem;padding:.25rem;font-size:.75rem;display:flex;position:relative}.pv-query-builder-input[data-v-37925d70]{justify-content:start;overflow-x:hidden}.pv-query-builder-input-wrapper input[data-v-37925d70]{background:0 0;border:none;outline:none;flex:1rem;min-width:1rem;font-size:.75rem}.pv-query-builder-input-wrapper[data-v-37925d70]:focus-within{border:2px solid #36c5ba}.pv-table-row-count{opacity:1;background-color:#f7f8f8;transition:opacity .3s;position:absolute;top:6px;right:12px}.pv-table-group-cell:hover .pv-table-row-count{opacity:0}.pv-table-row-number{text-align:center;color:#89989b;padding:8px 12px 8px 0}.suggested-label[data-v-dd3c1588]:hover{color:#16696d}.suggested-title-label[data-v-dd3c1588]:hover{color:#0d5256;text-decoration:underline}.pv-details-no-carat>summary[data-v-bd0413e6]{cursor:default;background-image:none}.ag-custom-header-cell[data-v-b7d1513c]{align-items:center;height:100%}.ag-header-actions .ag-header-cell-menu-button[data-v-b7d1513c]{opacity:0;transition:opacity .2s ease-in-out}.ag-header-cell-menu-button:hover .ag-header-actions .ag-header-cell-menu-button[data-v-b7d1513c],.ag-header-cell-menu-button:focus .ag-header-actions .ag-header-cell-menu-button[data-v-b7d1513c]{opacity:1}.pv-table-row-number[data-v-686928ce]{text-align:center;color:#89989b;padding:8px 12px 8px 0}.pv-table-overlay{z-index:2;pointer-events:none;background:#fff;width:100%;height:calc(100% - 40px);position:absolute;top:80px}.pv-data-table .ag-header-cell-resize{border:none!important}.pv-data-table .ag-cell-inline-editing .ag-cell-editor{height:100%!important}.pv-data-table .ag-rich-select-value{min-height:100%!important}.pv-data-table .pv-data-table-cell-clickable{cursor:pointer}.pv-data-table .pv-data-table-cell-clickable:hover{background-color:var(--button-ghost-hover-background-color,#e8f2f4)}.pv-data-table .ag-row-group-leaf-indent{margin-left:0;padding-left:7px}.pv-data-table .ag-custom-loading-cell{background-color:#ccc;border-radius:4px;width:100%;height:40%;margin:15px}.pv-data-table .ag-group-value{width:100%;height:100%}.pv-data-table .ag-row:not(.ag-row-group) .ag-cell-wrapper{align-items:stretch;height:100%}.pv-data-table .ag-menu-option:hover{background-color:#f7f8f8}.pv-data-table .ag-menu-option-shortcut{color:#89989b}.pv-data-table .ag-menu-option:active{background-color:#e8f2f4}.pv-data-table .ag-menu-option-text{font-family:Inter,sans-serif}.pv-data-table .ag-header-cell-menu-button:hover{box-shadow:unset!important}.pv-data-table .ag-button{border-radius:4px!important;padding:3px 8px!important;font-size:12px!important}.pv-data-table-grouped-card .ag-body-horizontal-scroll{display:none!important}.pv-data-table-grouped-card .ag-header-cell-resize{opacity:0;transition:opacity .2s}.pv-data-table-grouped-card .ag-header-cell:hover .ag-header-cell-resize{opacity:1}.pv-data-table-grouped-card .ag-row-group-contracted{background:linear-gradient(#fff 5px,#f7f8f8 5px calc(100% - 5px),#fff calc(100% - 5px))!important}.pv-data-table-grouped-card .ag-row-group-expanded{background:linear-gradient(#fff 5px,#f7f8f8 5px)!important}.pv-data-table-grouped-card .ag-row-group-contracted .ag-cell{border:none!important;align-items:center!important;padding-top:5px!important;padding-bottom:5px!important}.pv-data-table-grouped-card .ag-row-group-expanded .ag-cell{border:none!important;align-items:center!important;padding-top:5px!important;padding-bottom:0!important}.pv-data-table-grouped-card .ag-row-group-contracted .ag-cell-wrapper,.pv-data-table-grouped-card .ag-row-group-expanded .ag-cell-wrapper{align-items:center!important;height:100%!important}.pv-data-table-grouped-card .ag-row-group-contracted .ag-cell-value,.pv-data-table-grouped-card .ag-row-group-expanded .ag-cell-value{height:100%!important}.pv-data-table-grouped-card .ag-row:not(.ag-row-group-contracted):not(.ag-row-group-expanded){border-bottom:1px solid #e0e0e0!important;border-left:1px solid #e0e0e0!important;border-right:1px solid #e0e0e0!important}.pv-data-table-grouped-card .ag-row.pv-data-table-group-last-child,.pv-data-table-grouped-card .ag-row:not(.ag-row-group-contracted):not(.ag-row-group-expanded).ag-row-last{border-radius:0 0 4px 4px}.pv-data-table-grouped-card .ag-row-group-contracted:after{content:"";pointer-events:none;border:1px solid #e0e0e0;border-radius:4px;position:absolute;inset:5px 0}.pv-data-table-grouped-card .ag-row-group-expanded:after{content:"";pointer-events:none;border:1px solid #e0e0e0;border-radius:4px 4px 0 0;position:absolute;inset:5px 0 0}.pv-data-table-grouped-card .ag-row-group-contracted:hover,.pv-data-table-grouped-card .ag-row-group-expanded:hover{background:linear-gradient(#fff 5px,#eef0f0 5px calc(100% - 5px),#fff calc(100% - 5px))!important}.pv-data-table-grouped-card .ag-row-group-expanded:hover{background:linear-gradient(#fff 5px,#eef0f0 5px)!important}.pv-data-table-grouped-card .ag-row:not(.ag-row-group-contracted):not(.ag-row-group-expanded):hover{background-color:#f7f8f8!important}.pv-data-table-grouped-card .ag-group-value{height:100%}.pv-text-tertiary[data-v-34615cd0]{color:#89989b}.pv-button-placeholder[data-v-34615cd0]{width:24px;height:24px}.pv-sort-option[data-v-34615cd0]{--flex-gap:4px;cursor:grab;min-height:24px}.pv-menu-item-disabled[data-v-34615cd0]{pointer-events:none;color:#7d898d}.placeholder-zone[data-v-34615cd0]{transition:background-color .2s}.pv-placeholder-dropzone[data-v-34615cd0]{justify-content:center;align-items:center;padding:8px 4px;transition:all .2s;border-style:dashed!important;border-color:#e3e7ea!important}.placeholder-zone.placeholder-drag-over .pv-placeholder-dropzone[data-v-34615cd0]{background:#f0f9f9;border-color:#16696d!important}.sort-divider-container[data-v-34615cd0]{display:flex}.sort-divider[data-v-34615cd0]{border-top:1px solid #e3e7ea;flex:1;margin:1rem 0;position:relative}.sort-divider[data-v-34615cd0]:after{content:attr(data-label);font-size:inherit;white-space:nowrap;background:#fff;padding:0 .5em;display:inline-block;position:absolute;top:50%;left:50%;transform:translate(-50%,-50%)}[data-v-22dd30e6] .pv-legacy-chart-menu-nested:after{content:"›";margin-left:auto}[data-v-22dd30e6] .pv-legacy-chart-menu-nested-active{background-color:var(--popover-list-selected-item-background-color,#e4f8f6)}[data-v-22dd30e6] .pv-legacy-chart-option{min-width:150px;max-width:225px}.pv-chart-config-popover{width:max-content;max-width:500px}.pv-data-table-with-chart__chart-scroll{contain:inline-size;width:100%;min-height:0;overflow:hidden}.pv-data-table-with-chart__chart-scroll--enabled{overflow:auto}.pv-data-table-with-chart__chart-content{min-height:100%}.pv-chart-overlay{pointer-events:none;position:absolute;top:50%;left:50%;transform:translate(-50%,-50%)}.ag-charts-tooltip{background-color:#fffffff2}.ag-charts-floating-toolbar{display:none!important}
2
2
  /*$vite$:1*/`)),document.head.appendChild(e)}}catch(e){console.error(`vite-plugin-css-injected-by-js`,e)}})();import * as e from "vue";
3
3
  import { Fragment as t, Teleport as n, computed as r, createBlock as i, createCommentVNode as a, createElementBlock as o, createElementVNode as s, createSlots as c, createTextVNode as l, createVNode as u, defineComponent as d, getCurrentInstance as f, guardReactiveProps as p, inject as m, isRef as h, mergeModels as g, mergeProps as _, nextTick as v, normalizeClass as y, normalizeProps as b, normalizeStyle as x, onBeforeMount as S, onBeforeUnmount as C, onBeforeUpdate as w, onMounted as T, onUnmounted as E, openBlock as D, provide as O, ref as k, renderList as A, renderSlot as j, resolveComponent as M, resolveDynamicComponent as N, shallowRef as P, toDisplayString as F, toRef as ee, unref as I, useAttrs as L, useId as R, useModel as z, useSlots as B, useTemplateRef as V, vModelCheckbox as te, vModelText as ne, vShow as re, watch as H, withCtx as U, withDirectives as W, withKeys as G, withModifiers as ie } from "vue";
4
4
  import { AgCharts as K } from "ag-charts-vue3";
@@ -6184,6 +6184,7 @@ var Ma = {
6184
6184
  popoverCssProperties: {},
6185
6185
  prefixLabel: {},
6186
6186
  label: { default: "Select an option" },
6187
+ staticLabel: { type: Boolean },
6187
6188
  disableSearchInput: {
6188
6189
  type: Boolean,
6189
6190
  default: !1
@@ -6232,7 +6233,7 @@ var Ma = {
6232
6233
  H(f, (e) => {
6233
6234
  d(e ? "dropdown-open" : "dropdown-closed");
6234
6235
  });
6235
- let g = r(() => p.value && p.value.text ? p.value.text : n.label), v = r(() => {
6236
+ let g = r(() => !n.staticLabel && p.value && p.value.text ? p.value.text : n.label), v = r(() => {
6236
6237
  if (p.value && p.value.icon) return p.value.icon;
6237
6238
  }), y = r(() => {
6238
6239
  if (p.value && p.value.companyName) return p.value.companyName;
@@ -6616,37 +6617,37 @@ var Ma = {
6616
6617
  text: "Map",
6617
6618
  id: "map",
6618
6619
  icon: "map"
6619
- }, Lo = "state", Ro = "--SEPARATOR--", zo = "_sort_total", Bo = /* @__PURE__ */ function(e) {
6620
+ }, Lo = "state", Ro = "--SEPARATOR--", zo = "--PAD-START--", Bo = "--PAD-END--", Vo = "_sort_total", Ho = /* @__PURE__ */ function(e) {
6620
6621
  return e.String = "string", e.Number = "number", e.Boolean = "boolean", e.Date = "date", e.Currency = "currency", e.Formula = "formula", e.Select = "select", e.Percent = "percent", e.Entity = "entity", e.Id = "id", e.Integer = "integer", e.User = "user", e.Link = "link", e.Location = "location", e.Status = "status", e.Tag = "tag", e.File = "file", e.None = "none", e;
6621
- }({}), Vo = (e) => {
6622
+ }({}), Uo = (e) => {
6622
6623
  switch (e) {
6623
- case Bo.String: return "fonts";
6624
- case Bo.Number: return "hash";
6625
- case Bo.Boolean: return "list";
6626
- case Bo.Date: return "calendar";
6627
- case Bo.Currency: return "currency-dollar";
6628
- case Bo.Formula: return "formula";
6629
- case Bo.Select: return "list";
6630
- case Bo.Percent: return "percent";
6631
- case Bo.Entity: return "building";
6632
- case Bo.Id: return "id-2";
6633
- case Bo.Link: return "link";
6634
- case Bo.Location: return "location";
6635
- case Bo.Integer: return "hash";
6636
- case Bo.User: return "user";
6637
- case Bo.Status: return "circle-chevron-down";
6638
- case Bo.Tag: return "circle-chevron-down";
6639
- case Bo.File: return "file";
6640
- case Bo.None: return null;
6624
+ case Ho.String: return "fonts";
6625
+ case Ho.Number: return "hash";
6626
+ case Ho.Boolean: return "list";
6627
+ case Ho.Date: return "calendar";
6628
+ case Ho.Currency: return "currency-dollar";
6629
+ case Ho.Formula: return "formula";
6630
+ case Ho.Select: return "list";
6631
+ case Ho.Percent: return "percent";
6632
+ case Ho.Entity: return "building";
6633
+ case Ho.Id: return "id-2";
6634
+ case Ho.Link: return "link";
6635
+ case Ho.Location: return "location";
6636
+ case Ho.Integer: return "hash";
6637
+ case Ho.User: return "user";
6638
+ case Ho.Status: return "circle-chevron-down";
6639
+ case Ho.Tag: return "circle-chevron-down";
6640
+ case Ho.File: return "file";
6641
+ case Ho.None: return null;
6641
6642
  default: return null;
6642
6643
  }
6643
- }, Ho = (e, t) => {
6644
+ }, Wo = (e, t) => {
6644
6645
  if (!e) return e;
6645
6646
  switch (t) {
6646
- case Bo.Percent: return e.replace(/^%+/, "").trim();
6647
+ case Ho.Percent: return e.replace(/^%+/, "").trim();
6647
6648
  default: return e;
6648
6649
  }
6649
- }, Uo = (e) => e.includes(".") ? e.replace(/\.?0+$/, "") : e, Wo = (e, t = !1, n = 0) => {
6650
+ }, Go = (e) => e.includes(".") ? e.replace(/\.?0+$/, "") : e, Ko = (e, t = !1, n = 0) => {
6650
6651
  let r = [
6651
6652
  "",
6652
6653
  "K",
@@ -6655,61 +6656,61 @@ var Ma = {
6655
6656
  "T"
6656
6657
  ], i = Math.abs(e), a = Math.abs(n), o = t ? 2 : 0, s = Math.floor(Math.log10(i) / 3);
6657
6658
  if ((Math.floor(Math.log10(a) / 3) >= s || s > 3) && (o = 2), i < 1e3) return {
6658
- newValue: Uo(e.toFixed(o)),
6659
+ newValue: Go(e.toFixed(o)),
6659
6660
  newSuffix: ""
6660
6661
  };
6661
6662
  let c = r[s] || `e${s * 3}`;
6662
6663
  return {
6663
- newValue: Uo((e / 10 ** (s * 3)).toFixed(o)),
6664
+ newValue: Go((e / 10 ** (s * 3)).toFixed(o)),
6664
6665
  newSuffix: c
6665
6666
  };
6666
- }, Go = (e, t, n) => !e || e.length === 0 ? e : e.slice().sort((e, r) => !n.includes(e[t]) - +!n.includes(r[t])), Ko = (e) => e && e.context || {}, qo = (e) => {
6667
- let t = Ko(e);
6667
+ }, qo = (e, t, n) => !e || e.length === 0 ? e : e.slice().sort((e, r) => !n.includes(e[t]) - +!n.includes(r[t])), Jo = (e) => e && e.context || {}, Yo = (e) => {
6668
+ let t = Jo(e);
6668
6669
  return t.filterValueFormatter && typeof t.filterValueFormatter == "function" ? t.filterValueFormatter : typeof e.valueFormatter == "function" ? e.valueFormatter : null;
6669
- }, Jo = (e) => Ko(e).filterSelectMax || null, Yo = (e) => {
6670
- let t = Ko(e);
6670
+ }, Xo = (e) => Jo(e).filterSelectMax || null, Zo = (e) => {
6671
+ let t = Jo(e);
6671
6672
  if (t.filterSelectMin) {
6672
- let n = Jo(e);
6673
+ let n = Xo(e);
6673
6674
  return t.filterSelectMin === 1 && n === 1;
6674
6675
  }
6675
6676
  return !1;
6676
- }, Xo = (e) => {
6677
- let t = Ko(e).dataType;
6677
+ }, Qo = (e) => {
6678
+ let t = Jo(e).dataType;
6678
6679
  return t ? [
6679
- Bo.Currency,
6680
- Bo.Percent,
6681
- Bo.Number,
6682
- Bo.Integer,
6683
- Bo.Formula
6680
+ Ho.Currency,
6681
+ Ho.Percent,
6682
+ Ho.Number,
6683
+ Ho.Integer,
6684
+ Ho.Formula
6684
6685
  ].includes(t) : !1;
6685
- }, Zo = (e) => e ? [e.field, ...(e.children || []).flatMap(Zo)] : [], Qo = (e) => {
6686
- let t = Ko(e);
6687
- return t.aggregateFieldHierarchy ? Zo(t.aggregateFieldHierarchy) : t.aggregateFields || [];
6688
- }, $o = (e) => {
6689
- let t = Ko(e);
6686
+ }, $o = (e) => e ? [e.field, ...(e.children || []).flatMap($o)] : [], es = (e) => {
6687
+ let t = Jo(e);
6688
+ return t.aggregateFieldHierarchy ? $o(t.aggregateFieldHierarchy) : t.aggregateFields || [];
6689
+ }, ts = (e) => {
6690
+ let t = Jo(e);
6690
6691
  return t.aggregateFieldHierarchy ? t.aggregateFieldHierarchy.field : t.aggregateFields?.[t.aggregateFields.length - 1];
6691
- }, es = (e) => Qo(e).length > 0, ts = (e, t) => !e || !t ? e || [] : e.map((e) => {
6692
+ }, ns = (e) => es(e).length > 0, rs = (e, t) => !e || !t ? e || [] : e.map((e) => {
6692
6693
  let n = t.find((t) => t?.field === e.field);
6693
- return n && Xo(n) ? {
6694
+ return n && Qo(n) ? {
6694
6695
  ...e,
6695
6696
  aggFunc: Mo
6696
6697
  } : {
6697
6698
  ...e,
6698
6699
  aggFunc: void 0
6699
6700
  };
6700
- }), ns = (e) => e.map((e) => ({
6701
+ }), is = (e) => e.map((e) => ({
6701
6702
  id: e.getColId(),
6702
6703
  displayName: e.getColDef().headerName || "",
6703
6704
  field: e.getColDef().field || "",
6704
6705
  aggFunc: e.getAggFunc() || void 0
6705
- })), rs = (e) => {
6706
- let t = Ko(e);
6706
+ })), as = (e) => {
6707
+ let t = Jo(e);
6707
6708
  return t.chartOnSecondaryAxes === !0 && !t.hideFromCharting;
6708
- }, is = (e, t, n) => n.has(e) && typeof t == "string" ? `${e}_${t}` : e, as = (e, t) => {
6709
+ }, os = (e, t, n) => n.has(e) && typeof t == "string" ? `${e}_${t}` : e, ss = (e, t) => {
6709
6710
  if (!Number.isFinite(e) || e <= 0 || t <= 0) return 0;
6710
6711
  let n = e / t, r = 10 ** Math.floor(Math.log10(n)), i = n / r;
6711
6712
  return (i <= 1 ? 1 : i <= 2 ? 2 : i <= 2.5 ? 2.5 : i <= 5 ? 5 : 10) * r * t;
6712
- }, os = ({ currentRowGroupColumnsLength: e, shouldShowFocusOverlayText: t, chartDataEmpty: n, missingFocusText: r, displayGroupByName: i, yAxisName: a, yAxisOptionCount: o }) => e === 0 ? "No groups selected. Select at least one group to display data." : n ? t ? r ?? `Select focus ${i} to view Visualization.` : a && (o ?? 0) > 1 ? `No data available for ${a}, please select a different one.` : Nt : "", ss = (e, t) => `${e}_${t}`, cs = (e) => `secondaryCategory_${e}`, ls = (e, t, n, r, i = []) => {
6713
+ }, cs = ({ currentRowGroupColumnsLength: e, shouldShowFocusOverlayText: t, chartDataEmpty: n, missingFocusText: r, displayGroupByName: i, yAxisName: a, yAxisOptionCount: o }) => e === 0 ? "No groups selected. Select at least one group to display data." : n ? t ? r ?? `Select focus ${i} to view Visualization.` : a && (o ?? 0) > 1 ? `No data available for ${a}, please select a different one.` : Nt : "", ls = (e, t) => `${e}_${t}`, us = (e) => `secondaryCategory_${e}`, ds = (e, t, n, r, i = []) => {
6713
6714
  if (!e || e.length === 0) return {
6714
6715
  data: [],
6715
6716
  uniqueFieldValues: []
@@ -6722,7 +6723,7 @@ var Ma = {
6722
6723
  let o = e.reduce((e, o) => {
6723
6724
  let s = o[t];
6724
6725
  e[s] || (e[s] = {});
6725
- let c = o[n], l = cs(c);
6726
+ let c = o[n], l = us(c);
6726
6727
  e[s][l] = `${s}-${c}`;
6727
6728
  for (let t of r) {
6728
6729
  let r = t.value, i = 0;
@@ -6730,9 +6731,9 @@ var Ma = {
6730
6731
  let l = o[r];
6731
6732
  if (a.add(c), n && l) {
6732
6733
  let t = l ?? 0;
6733
- e[s][ss(r, c)] = t, i += t;
6734
+ e[s][ls(r, c)] = t, i += t;
6734
6735
  }
6735
- e[s][`${r}${zo}`] = i;
6736
+ e[s][`${r}${Vo}`] = i;
6736
6737
  }
6737
6738
  for (let t of i) e[s][t.value] = o[t.value];
6738
6739
  return e;
@@ -6744,30 +6745,34 @@ var Ma = {
6744
6745
  })),
6745
6746
  uniqueFieldValues: Array.from(a)
6746
6747
  };
6747
- }, us = (e, t, n) => {
6748
+ }, fs = (e, t) => !e || e.length !== 1 ? e : [
6749
+ { [t]: zo },
6750
+ e[0],
6751
+ { [t]: Bo }
6752
+ ], ps = (e, t, n) => {
6748
6753
  let r = -Infinity;
6749
6754
  return !e || e.length === 0 || (n ? e.forEach((e) => {
6750
- let n = e[t + zo];
6755
+ let n = e[t + Vo];
6751
6756
  typeof n == "number" && n > r && (r = n);
6752
6757
  }) : e.forEach((e) => {
6753
6758
  let n = e[t];
6754
6759
  typeof n == "number" && n > r && (r = n);
6755
6760
  })), r;
6756
- }, ds = (e, t, n) => {
6761
+ }, ms = (e, t, n) => {
6757
6762
  let r = Infinity;
6758
6763
  if (!e || e.length === 0) return r;
6759
- let i = n ? t + zo : t;
6764
+ let i = n ? t + Vo : t;
6760
6765
  return e.forEach((e) => {
6761
6766
  let t = e[i];
6762
6767
  typeof t == "number" && t < r && (r = t);
6763
6768
  }), r;
6764
- }, fs = new Map(Do.map((e) => [e.value, e])), ps = (e) => e !== null, ms = (e) => {
6769
+ }, hs = new Map(Do.map((e) => [e.value, e])), gs = (e) => e !== null, _s = (e) => {
6765
6770
  let t = Number(e ?? 0);
6766
6771
  return Number.isFinite(t) ? t : 0;
6767
- }, hs = (e) => {
6772
+ }, vs = (e) => {
6768
6773
  let t = typeof e == "string" ? { value: e } : e, n = t.value;
6769
6774
  if (!n) return null;
6770
- let r = fs.get(n), i = t.label ?? r?.label ?? n;
6775
+ let r = hs.get(n), i = t.label ?? r?.label ?? n;
6771
6776
  return {
6772
6777
  ariaLabel: t.ariaLabel ?? i,
6773
6778
  icon: t.icon ?? r?.icon,
@@ -6775,10 +6780,10 @@ var Ma = {
6775
6780
  label: i,
6776
6781
  value: n
6777
6782
  };
6778
- }, gs = (e = [], t = {}) => {
6779
- let n = t.useDefaultChartTypesWhenEmpty ?? !0, r = (e.length > 0 || !n ? e : Oo).map(hs).filter(ps);
6783
+ }, ys = (e = [], t = {}) => {
6784
+ let n = t.useDefaultChartTypesWhenEmpty ?? !0, r = (e.length > 0 || !n ? e : Oo).map(vs).filter(gs);
6780
6785
  if (!r.some((e) => e.value !== "table")) {
6781
- let e = hs(ko);
6786
+ let e = vs(ko);
6782
6787
  e && (r = [e, ...r]);
6783
6788
  }
6784
6789
  if (!e.some((e) => typeof e == "object" && !!e)) {
@@ -6793,21 +6798,21 @@ var Ma = {
6793
6798
  }
6794
6799
  }
6795
6800
  return r;
6796
- }, _s = (e, t) => t.find((t) => t.value === e)?.value ?? t[0]?.value ?? "table", vs = (e, t = []) => {
6801
+ }, bs = (e, t) => t.find((t) => t.value === e)?.value ?? t[0]?.value ?? "table", xs = (e, t = []) => {
6797
6802
  if (t.length > 0) return t.filter((e) => !e.hide);
6798
6803
  let n = e[0];
6799
6804
  return n ? Object.keys(n).map((e) => ({
6800
6805
  field: e,
6801
6806
  headerName: e
6802
6807
  })) : [];
6803
- }, ys = (e, t = "") => e?.context?.chartSeriesDisplayName ?? e?.headerName ?? e?.field ?? t, bs = (e) => String(e?.context?.dataType ?? e?.dataType ?? e?.type ?? "").toLowerCase(), xs = (e, t) => {
6808
+ }, Ss = (e, t = "") => e?.context?.chartSeriesDisplayName ?? e?.headerName ?? e?.field ?? t, Cs = (e) => String(e?.context?.dataType ?? e?.dataType ?? e?.type ?? "").toLowerCase(), ws = (e, t) => {
6804
6809
  if (!e) return !1;
6805
- let n = bs(e);
6810
+ let n = Cs(e);
6806
6811
  return jo.has(n) ? !0 : t.some((t) => typeof t[e.field] == "number");
6807
- }, Ss = (e, t) => {
6812
+ }, Ts = (e, t) => {
6808
6813
  let n = e[t];
6809
6814
  return n == null ? "" : String(n);
6810
- }, Cs = (e, t) => {
6815
+ }, Es = (e, t) => {
6811
6816
  let n = e, r = { ...n };
6812
6817
  if (t.noDataOverlayText) {
6813
6818
  let e = cn(n.overlays), i = cn(e?.noData);
@@ -6828,26 +6833,26 @@ var Ma = {
6828
6833
  hideValueAxis: t.hideValueAxis,
6829
6834
  showAxes: !t.hideAxes
6830
6835
  });
6831
- }, ws = ({ dataRows: e, categoryColumn: t, seriesColumn: n, stackColumn: r }) => {
6836
+ }, Ds = ({ dataRows: e, categoryColumn: t, seriesColumn: n, stackColumn: r }) => {
6832
6837
  if (!t || !n || !r) return {
6833
6838
  data: e,
6834
6839
  stackValues: []
6835
6840
  };
6836
6841
  let i = /* @__PURE__ */ new Map(), a = /* @__PURE__ */ new Set();
6837
6842
  return e.forEach((e) => {
6838
- let o = String(e[t.field] ?? ""), s = String(e[r.field] ?? ""), c = ss(n.field, s);
6843
+ let o = String(e[t.field] ?? ""), s = String(e[r.field] ?? ""), c = ls(n.field, s);
6839
6844
  a.add(s);
6840
6845
  let l = i.get(o) ?? { [t.field]: o };
6841
- l[c] = Number(l[c] ?? 0) + ms(e[n.field]), i.set(o, l);
6846
+ l[c] = Number(l[c] ?? 0) + _s(e[n.field]), i.set(o, l);
6842
6847
  }), {
6843
6848
  data: Array.from(i.values()),
6844
6849
  stackValues: Array.from(a)
6845
6850
  };
6846
- }, Ts = ({ dataRows: e, categoryColumn: t, seriesColumn: n }) => {
6851
+ }, Os = ({ dataRows: e, categoryColumn: t, seriesColumn: n }) => {
6847
6852
  if (!t || !n) return e;
6848
6853
  let r = /* @__PURE__ */ new Map();
6849
6854
  return e.forEach((e) => {
6850
- let i = e[t.field] ?? "", a = String(i), o = ms(e[n.field]), s = r.get(a);
6855
+ let i = e[t.field] ?? "", a = String(i), o = _s(e[n.field]), s = r.get(a);
6851
6856
  if (s) {
6852
6857
  s[n.field] = Number(s[n.field] ?? 0) + o;
6853
6858
  return;
@@ -6858,16 +6863,16 @@ var Ma = {
6858
6863
  [n.field]: o
6859
6864
  });
6860
6865
  }), Array.from(r.values());
6861
- }, Es = ({ dataRows: e, mapColumn: t, seriesColumn: n }) => {
6866
+ }, ks = ({ dataRows: e, mapColumn: t, seriesColumn: n }) => {
6862
6867
  if (!t || !n) return [];
6863
6868
  let r = /* @__PURE__ */ new Map();
6864
6869
  return e.forEach((e) => {
6865
6870
  let i = String(e[t.field] ?? "");
6866
6871
  if (!i) return;
6867
6872
  let a = r.get(i) ?? { state: i };
6868
- a[n.field] = Number(a[n.field] ?? 0) + ms(e[n.field]), r.set(i, a);
6873
+ a[n.field] = Number(a[n.field] ?? 0) + _s(e[n.field]), r.set(i, a);
6869
6874
  }), Array.from(r.values());
6870
- }, Ds = (e, t) => {
6875
+ }, As = (e, t) => {
6871
6876
  if (!t || e.length === 0) return {
6872
6877
  min: 0,
6873
6878
  max: 0
@@ -6883,8 +6888,8 @@ var Ma = {
6883
6888
  min: 0,
6884
6889
  max: 0
6885
6890
  };
6886
- }, Os = (e) => {
6887
- let t = bs(e);
6891
+ }, js = (e) => {
6892
+ let t = Cs(e);
6888
6893
  return t === "currency" ? (e) => e.toLocaleString("en-US", {
6889
6894
  currency: "USD",
6890
6895
  maximumFractionDigits: 0,
@@ -6893,7 +6898,7 @@ var Ma = {
6893
6898
  maximumFractionDigits: 0,
6894
6899
  style: "percent"
6895
6900
  }) : (e) => e.toLocaleString("en-US");
6896
- }, ks = ({ aggregatedCategoryChartData: e, categoryColumn: t, dataLimit: n, displayDataRows: r, hideAxes: i, hideAxisTitles: a, hideLegend: o, hideValueAxis: s, noDataOverlayText: c, numericColumns: l, providedChartOptions: u, secondarySeriesColumn: d, selectedChartType: f, seriesColumn: p, showSeriesLabels: m, stackColumn: h, stackedChartData: g, useDisplayDataRows: _, xKey: v, yKey: y }) => {
6901
+ }, Ms = ({ aggregatedCategoryChartData: e, categoryColumn: t, dataLimit: n, displayDataRows: r, hideAxes: i, hideAxisTitles: a, hideLegend: o, hideValueAxis: s, noDataOverlayText: c, numericColumns: l, providedChartOptions: u, secondarySeriesColumn: d, selectedChartType: f, seriesColumn: p, showSeriesLabels: m, stackColumn: h, stackedChartData: g, useDisplayDataRows: _, xKey: v, yKey: y }) => {
6897
6902
  let b = {
6898
6903
  dataLimit: n,
6899
6904
  hideAxes: i,
@@ -6902,12 +6907,12 @@ var Ma = {
6902
6907
  hideValueAxis: s,
6903
6908
  noDataOverlayText: c
6904
6909
  };
6905
- if (u) return Cs({
6910
+ if (u) return Es({
6906
6911
  ...u,
6907
6912
  data: _ ? r : u.data ?? r
6908
6913
  }, b);
6909
- let x = f === "map" ? "column" : f, S = t?.field ?? "category", C = p?.field ?? "value", w = ys(t, S), T = ys(p, C);
6910
- if (x === "pie") return Cs({
6914
+ let x = f === "map" ? "column" : f, S = t?.field ?? "category", C = p?.field ?? "value", w = Ss(t, S), T = Ss(p, C);
6915
+ if (x === "pie") return Es({
6911
6916
  data: e,
6912
6917
  series: [{
6913
6918
  type: "pie",
@@ -6919,34 +6924,34 @@ var Ma = {
6919
6924
  }, b);
6920
6925
  if (x === "scatter") {
6921
6926
  let e = v === void 0 ? l[0] ?? t : t, n = y === void 0 ? l.find((t) => t.field !== e?.field) ?? d ?? p : p, i = e?.field ?? S, a = n?.field ?? C;
6922
- return Cs({
6927
+ return Es({
6923
6928
  data: r,
6924
6929
  series: [{
6925
6930
  type: "scatter",
6926
6931
  xKey: i,
6927
- xName: ys(e, i),
6932
+ xName: Ss(e, i),
6928
6933
  yKey: a,
6929
- yName: ys(n, a)
6934
+ yName: Ss(n, a)
6930
6935
  }],
6931
6936
  axes: [{
6932
6937
  type: "number",
6933
6938
  position: "bottom",
6934
- title: { text: ys(e, i) }
6939
+ title: { text: Ss(e, i) }
6935
6940
  }, {
6936
6941
  type: "number",
6937
6942
  position: "left",
6938
- title: { text: ys(n, a) }
6943
+ title: { text: Ss(n, a) }
6939
6944
  }]
6940
6945
  }, b);
6941
6946
  }
6942
6947
  if (x === "histogram") {
6943
6948
  let e = v === void 0 ? l[0] ?? p ?? t : t, n = e?.field ?? C;
6944
- return Cs({
6949
+ return Es({
6945
6950
  data: r,
6946
6951
  series: [{
6947
6952
  type: "histogram",
6948
6953
  xKey: n,
6949
- xName: ys(e, n)
6954
+ xName: Ss(e, n)
6950
6955
  }]
6951
6956
  }, b);
6952
6957
  }
@@ -6954,13 +6959,13 @@ var Ma = {
6954
6959
  enabled: !0,
6955
6960
  ...D === "bar" ? { placement: "outside-end" } : {}
6956
6961
  } } : {}, A = x.endsWith("_stacked") && !!h, j = !!h && (A || g.stackValues.length > 1);
6957
- return Cs({
6962
+ return Es({
6958
6963
  data: j ? g.data : e,
6959
6964
  series: j ? g.stackValues.map((e) => ({
6960
6965
  type: D,
6961
6966
  xKey: S,
6962
6967
  xName: w,
6963
- yKey: ss(C, e),
6968
+ yKey: ls(C, e),
6964
6969
  yName: e,
6965
6970
  ...D === "bar" ? { direction: O ? "horizontal" : "vertical" } : {},
6966
6971
  ...A ? { stacked: !0 } : {},
@@ -6984,16 +6989,16 @@ var Ma = {
6984
6989
  title: { text: T }
6985
6990
  }]
6986
6991
  }, b);
6987
- }, As = {
6992
+ }, Ns = {
6988
6993
  key: 0,
6989
6994
  class: "pv-flex pv-space-between pv-stack-12"
6990
- }, js = {
6995
+ }, Ps = {
6991
6996
  key: 0,
6992
6997
  class: "pv-heading-2"
6993
- }, Ms = {
6998
+ }, Fs = {
6994
6999
  key: 1,
6995
7000
  class: "pv-stack-12"
6996
- }, Ns = { class: "pv-data-widget__body" }, Ps = /* @__PURE__ */ Qt(/* @__PURE__ */ d({
7001
+ }, Is = { class: "pv-data-widget__body" }, Ls = /* @__PURE__ */ Qt(/* @__PURE__ */ d({
6997
7002
  __name: "PvDataWidget",
6998
7003
  props: /* @__PURE__ */ g({
6999
7004
  appliedFilters: { default: () => [] },
@@ -7063,12 +7068,12 @@ var Ma = {
7063
7068
  let n = e, c = z(e, "chartType"), l = (e) => {
7064
7069
  let t = e?.data;
7065
7070
  return Array.isArray(t) ? t : [];
7066
- }, d = (e) => typeof e == "string" ? e === "map" : e.value === "map", f = r(() => gs(P.value ? n.chartTypes : n.chartTypes.filter((e) => !d(e)), { useDefaultChartTypesWhenEmpty: n.chartTypes.length === 0 })), p = r({
7067
- get: () => _s(c.value, f.value),
7071
+ }, d = (e) => typeof e == "string" ? e === "map" : e.value === "map", f = r(() => ys(P.value ? n.chartTypes : n.chartTypes.filter((e) => !d(e)), { useDefaultChartTypesWhenEmpty: n.chartTypes.length === 0 })), p = r({
7072
+ get: () => bs(c.value, f.value),
7068
7073
  set: (e) => {
7069
7074
  c.value = e;
7070
7075
  }
7071
- }), m = r(() => n.showWidgetTypeToggle && f.value.length > 1), h = r(() => !!n.title || m.value), g = r(() => n.appliedFilters.length > 0), _ = r(() => n.chartData === void 0 ? l(n.chartOptions) : n.chartData ?? []), v = r(() => un(_.value, n.dataLimit)), b = r(() => vs(_.value, n.colDefs)), S = (e) => xs(e, _.value), C = r(() => b.value.filter((e) => !e.context?.hideFromCharting)), w = r(() => C.value.filter(S)), T = r(() => {
7076
+ }), m = r(() => n.showWidgetTypeToggle && f.value.length > 1), h = r(() => !!n.title || m.value), g = r(() => n.appliedFilters.length > 0), _ = r(() => n.chartData === void 0 ? l(n.chartOptions) : n.chartData ?? []), v = r(() => un(_.value, n.dataLimit)), b = r(() => xs(_.value, n.colDefs)), S = (e) => ws(e, _.value), C = r(() => b.value.filter((e) => !e.context?.hideFromCharting)), w = r(() => C.value.filter(S)), T = r(() => {
7072
7077
  if (n.xKey !== void 0) {
7073
7078
  let e = n.xKey;
7074
7079
  return C.value.find((t) => t.field === e) ?? { field: e };
@@ -7091,34 +7096,34 @@ var Ma = {
7091
7096
  let e = n.mapKey;
7092
7097
  return C.value.find((t) => t.field === e) ?? { field: e };
7093
7098
  }
7094
- return C.value.find((e) => e.field === "state") ?? C.value.find((e) => bs(e) === "location");
7099
+ return C.value.find((e) => e.field === "state") ?? C.value.find((e) => Cs(e) === "location");
7095
7100
  }), P = r(() => {
7096
7101
  let e = N.value?.field;
7097
7102
  return !!(e && T.value?.field === e);
7098
7103
  }), ee = r(() => !!n.chartOptions || _.value.length > 0 || b.value.length > 0), I = r(() => p.value === Ao), L = r(() => p.value === "map" && P.value), R = k(), B = r(() => b.value.map((e) => ({
7099
7104
  field: e.field,
7100
- label: ys(e, e.field)
7101
- }))), V = r(() => v.value.map((e) => b.value.map((t) => Ss(e, t.field)))), te = r(() => n.showTableBelowChart && !I.value && b.value.length > 0), ne = r(() => rn(n) || !!(n.enableTableScrolling && n.tableMaxHeight)), re = r(() => nn(n)), H = r(() => {
7105
+ label: Ss(e, e.field)
7106
+ }))), V = r(() => v.value.map((e) => b.value.map((t) => Ts(e, t.field)))), te = r(() => n.showTableBelowChart && !I.value && b.value.length > 0), ne = r(() => rn(n) || !!(n.enableTableScrolling && n.tableMaxHeight)), re = r(() => nn(n)), H = r(() => {
7102
7107
  if (!n.enableTableScrolling) return;
7103
7108
  let e = {
7104
7109
  overflowX: "auto",
7105
7110
  overflowY: "auto"
7106
7111
  }, t = tn(n.tableMaxHeight);
7107
7112
  return t && (e.maxHeight = t), e;
7108
- }), W = r(() => ws({
7113
+ }), W = r(() => Ds({
7109
7114
  dataRows: v.value,
7110
7115
  categoryColumn: T.value,
7111
7116
  seriesColumn: E.value,
7112
7117
  stackColumn: M.value
7113
- })), G = r(() => Ts({
7118
+ })), G = r(() => Os({
7114
7119
  dataRows: v.value,
7115
7120
  categoryColumn: T.value,
7116
7121
  seriesColumn: E.value
7117
- })), ie = r(() => Es({
7122
+ })), ie = r(() => ks({
7118
7123
  dataRows: v.value,
7119
7124
  mapColumn: N.value,
7120
7125
  seriesColumn: E.value
7121
- })), K = r(() => Ds(ie.value, E.value?.field)), ae = r(() => Os(E.value)), oe = r(() => ks({
7126
+ })), K = r(() => As(ie.value, E.value?.field)), ae = r(() => js(E.value)), oe = r(() => Ms({
7122
7127
  aggregatedCategoryChartData: G.value,
7123
7128
  categoryColumn: T.value,
7124
7129
  dataLimit: n.dataLimit,
@@ -7158,15 +7163,15 @@ var Ma = {
7158
7163
  style: x(re.value)
7159
7164
  }, {
7160
7165
  default: U(() => [
7161
- h.value ? (D(), o("div", As, [s("div", null, [e.title ? (D(), o("span", js, F(e.title), 1)) : a("", !0)]), s("div", null, [m.value ? (D(), i(Bi, {
7166
+ h.value ? (D(), o("div", Ns, [s("div", null, [e.title ? (D(), o("span", Ps, F(e.title), 1)) : a("", !0)]), s("div", null, [m.value ? (D(), i(Bi, {
7162
7167
  key: 0,
7163
7168
  modelValue: p.value,
7164
7169
  "onUpdate:modelValue": r[0] ||= (e) => p.value = e,
7165
7170
  options: f.value,
7166
7171
  size: "lg"
7167
7172
  }, null, 8, ["modelValue", "options"])) : a("", !0)])])) : a("", !0),
7168
- g.value ? (D(), o("div", Ms, [(D(!0), o(t, null, A(e.appliedFilters, (e) => (D(), o("span", { key: e }, F(e), 1))), 128))])) : a("", !0),
7169
- s("div", Ns, [j(n.$slots, "default", {}, void 0, !0), ee.value ? (D(), o(t, { key: 0 }, [I.value ? (D(), o("div", {
7173
+ g.value ? (D(), o("div", Fs, [(D(!0), o(t, null, A(e.appliedFilters, (e) => (D(), o("span", { key: e }, F(e), 1))), 128))])) : a("", !0),
7174
+ s("div", Is, [j(n.$slots, "default", {}, void 0, !0), ee.value ? (D(), o(t, { key: 0 }, [I.value ? (D(), o("div", {
7170
7175
  key: 0,
7171
7176
  class: y(["pv-data-widget__table-container", { "pv-scroll": e.enableTableScrolling }]),
7172
7177
  style: x(H.value)
@@ -7224,15 +7229,15 @@ var Ma = {
7224
7229
  _: 3
7225
7230
  }, 8, ["class", "style"]));
7226
7231
  }
7227
- }), [["__scopeId", "data-v-1681e679"]]), Fs = [
7232
+ }), [["__scopeId", "data-v-1681e679"]]), Rs = [
7228
7233
  "aria-label",
7229
7234
  "aria-expanded",
7230
7235
  "aria-controls",
7231
7236
  "disabled"
7232
- ], Is = {
7237
+ ], zs = {
7233
7238
  key: 0,
7234
7239
  class: "pv-shimmer"
7235
- }, Ls = /* @__PURE__ */ Qt(/* @__PURE__ */ d({
7240
+ }, Bs = /* @__PURE__ */ Qt(/* @__PURE__ */ d({
7236
7241
  __name: "PvDropdown",
7237
7242
  props: {
7238
7243
  ariaLabel: {},
@@ -7312,7 +7317,7 @@ var Ma = {
7312
7317
  "aria-controls": I(m),
7313
7318
  onClick: w,
7314
7319
  disabled: e.disabled
7315
- }, [j(t.$slots, "trigger", {}, () => [r[1] ||= l("Open", -1)], !0)], 14, Fs), (D(), i(n, {
7320
+ }, [j(t.$slots, "trigger", {}, () => [r[1] ||= l("Open", -1)], !0)], 14, Rs), (D(), i(n, {
7316
7321
  to: e.teleportLocation,
7317
7322
  disabled: !e.useTeleport
7318
7323
  }, [u(uo, {
@@ -7326,7 +7331,7 @@ var Ma = {
7326
7331
  isSortable: e.isSortable,
7327
7332
  onListOrderUpdated: r[0] ||= (e) => t.$emit("list-order-updated", e)
7328
7333
  }, {
7329
- default: U(() => [j(t.$slots, "default", {}, () => [e.isLoading ? (D(), o("span", Is, "Loading...")) : a("", !0)], !0)]),
7334
+ default: U(() => [j(t.$slots, "default", {}, () => [e.isLoading ? (D(), o("span", zs, "Loading...")) : a("", !0)], !0)]),
7330
7335
  _: 3
7331
7336
  }, 8, [
7332
7337
  "id",
@@ -7337,7 +7342,7 @@ var Ma = {
7337
7342
  "isSortable"
7338
7343
  ])], 8, ["to", "disabled"]))], 32)), [[I($e), T]]);
7339
7344
  }
7340
- }), [["__scopeId", "data-v-6e4b23d8"]]), Rs = ["data-style"], zs = /* @__PURE__ */ d({
7345
+ }), [["__scopeId", "data-v-6e4b23d8"]]), Vs = ["data-style"], Hs = /* @__PURE__ */ d({
7341
7346
  __name: "PvTag",
7342
7347
  props: {
7343
7348
  size: { default: "md" },
@@ -7399,20 +7404,20 @@ var Ma = {
7399
7404
  "data-dd-action-name": e.rumRemoveActionName,
7400
7405
  onClick: r[0] ||= ie((n) => t.$emit("handle-close", e.label), ["stop"])
7401
7406
  }, null, 8, ["data-dd-action-name"])) : a("", !0)
7402
- ], 14, Rs));
7407
+ ], 14, Vs));
7403
7408
  }
7404
- }), Bs = { class: "pv-inset-squish-12" }, Vs = {
7409
+ }), Us = { class: "pv-inset-squish-12" }, Ws = {
7405
7410
  key: 0,
7406
7411
  class: "pv-flex pv-flex-vertical pv-stack-16",
7407
7412
  style: { "--flex-align": "flex-start" }
7408
- }, Hs = { class: "pv-heading-3" }, Us = {
7413
+ }, Gs = { class: "pv-heading-3" }, Ks = {
7409
7414
  key: 0,
7410
7415
  class: "pv-text-body-md"
7411
- }, Ws = {
7416
+ }, qs = {
7412
7417
  key: 0,
7413
7418
  class: "pv-inset-squish-12 pv-border-top",
7414
7419
  style: { "--color-border": "#d2d8dc" }
7415
- }, Gs = /* @__PURE__ */ d({
7420
+ }, Js = /* @__PURE__ */ d({
7416
7421
  __name: "PvModal",
7417
7422
  props: /* @__PURE__ */ g({
7418
7423
  header: {},
@@ -7450,21 +7455,21 @@ var Ma = {
7450
7455
  style: { "--max-width": "480px" },
7451
7456
  onClose: i,
7452
7457
  onClick: c
7453
- }, [s("div", Bs, [e.hideHeader ? a("", !0) : (D(), o("div", Vs, [s("span", Hs, F(e.header), 1), e.subheader ? (D(), o("span", Us, F(e.subheader), 1)) : a("", !0)])), j(t.$slots, "body")]), e.hideFooter ? a("", !0) : (D(), o("div", Ws, [j(t.$slots, "footer")]))], 544));
7458
+ }, [s("div", Us, [e.hideHeader ? a("", !0) : (D(), o("div", Ws, [s("span", Gs, F(e.header), 1), e.subheader ? (D(), o("span", Ks, F(e.subheader), 1)) : a("", !0)])), j(t.$slots, "body")]), e.hideFooter ? a("", !0) : (D(), o("div", qs, [j(t.$slots, "footer")]))], 544));
7454
7459
  }
7455
- }), Ks = /* @__PURE__ */ function(e) {
7460
+ }), Ys = /* @__PURE__ */ function(e) {
7456
7461
  return e.Vertical = "Vertical", e.Horizontal = "Horizontal", e;
7457
7462
  }({});
7458
7463
  (/* @__PURE__ */ (function(e) {
7459
7464
  return e.Primary = "Primary", e.Secondary = "Secondary", e.Tertiary = "Tertiary", e;
7460
- })({})).Primary, Ks.Horizontal;
7465
+ })({})).Primary, Ys.Horizontal;
7461
7466
  //#endregion
7462
7467
  //#region src/components/base/PvSuggestionTag/PvSuggestionTag.vue?vue&type=script&setup=true&lang.ts
7463
- var qs = [
7468
+ var Xs = [
7464
7469
  "data-style",
7465
7470
  "disabled",
7466
7471
  "title"
7467
- ], Js = { class: "pv-truncate" }, Ys = /* @__PURE__ */ d({
7472
+ ], Zs = { class: "pv-truncate" }, Qs = /* @__PURE__ */ d({
7468
7473
  __name: "PvSuggestionTag",
7469
7474
  props: {
7470
7475
  size: { default: "md" },
@@ -7500,36 +7505,36 @@ var qs = [
7500
7505
  name: e.icon,
7501
7506
  size: 12,
7502
7507
  class: y(e.iconClasses)
7503
- }, null, 8, ["name", "class"])) : a("", !0), s("span", Js, F(e.label), 1)], 10, qs));
7508
+ }, null, 8, ["name", "class"])) : a("", !0), s("span", Zs, F(e.label), 1)], 10, Xs));
7504
7509
  }
7505
7510
  });
7506
7511
  $.extend(nt), $.extend(et), $.extend(tt);
7507
7512
  //#endregion
7508
7513
  //#region src/components/base/PvDrawer/PvDrawer.vue?vue&type=script&setup=true&lang.ts
7509
- var Xs = {
7514
+ var $s = {
7510
7515
  class: "pv-inset-squish-12 pv-border-bottom",
7511
7516
  style: { "flex-shrink": "0" }
7512
- }, Zs = {
7517
+ }, ec = {
7513
7518
  class: "pv-flex-vertical pv-stack-16",
7514
7519
  style: { "--flex-align": "flex-start" }
7515
- }, Qs = { class: "pv-flex pv-full-width" }, $s = { class: "pv-full-width pv-heading-3" }, ec = {
7520
+ }, tc = { class: "pv-flex pv-full-width" }, nc = { class: "pv-full-width pv-heading-3" }, rc = {
7516
7521
  key: 0,
7517
7522
  class: "pv-text-body-md"
7518
- }, tc = {
7523
+ }, ic = {
7519
7524
  key: 0,
7520
7525
  class: "pv-inset-inline-16"
7521
- }, nc = {
7526
+ }, ac = {
7522
7527
  class: "pv-inset-inline-16",
7523
7528
  style: {
7524
7529
  flex: "1",
7525
7530
  "overflow-y": "auto",
7526
7531
  "min-height": "0"
7527
7532
  }
7528
- }, rc = {
7533
+ }, oc = {
7529
7534
  key: 0,
7530
7535
  class: "pv-inset-squish-12 pv-border-top",
7531
7536
  style: { "flex-shrink": "0" }
7532
- }, ic = /* @__PURE__ */ d({
7537
+ }, sc = /* @__PURE__ */ d({
7533
7538
  __name: "PvDrawer",
7534
7539
  props: /* @__PURE__ */ g({
7535
7540
  closeOnClickOutside: {
@@ -7575,26 +7580,26 @@ var Xs = {
7575
7580
  height: "100%"
7576
7581
  }
7577
7582
  }, [
7578
- s("div", Xs, [n.$slots.header ? j(n.$slots, "header", { key: 0 }) : (D(), o(t, { key: 1 }, [s("div", Zs, [s("div", Qs, [s("span", $s, F(e.header), 1), u(Mn, {
7583
+ s("div", $s, [n.$slots.header ? j(n.$slots, "header", { key: 0 }) : (D(), o(t, { key: 1 }, [s("div", ec, [s("div", tc, [s("span", nc, F(e.header), 1), u(Mn, {
7579
7584
  "left-icon": "close",
7580
7585
  ariaLabel: "Close",
7581
7586
  size: "md",
7582
7587
  onClick: f,
7583
7588
  "data-testid": "pv-side-panel-close-button",
7584
7589
  variant: "ghost"
7585
- })]), e.subheader ? (D(), o("span", ec, F(e.subheader), 1)) : a("", !0)]), e.showSearchbar && l.value !== void 0 ? (D(), o("div", tc, [u(sa, _({
7590
+ })]), e.subheader ? (D(), o("span", rc, F(e.subheader), 1)) : a("", !0)]), e.showSearchbar && l.value !== void 0 ? (D(), o("div", ic, [u(sa, _({
7586
7591
  "data-testid": "pv-side-panel-input-search",
7587
7592
  modelValue: l.value,
7588
7593
  "onUpdate:modelValue": i[0] ||= (e) => l.value = e
7589
7594
  }, r.searchInputProps), null, 16, ["modelValue"])])) : a("", !0)], 64))]),
7590
- s("div", nc, [j(n.$slots, "default")]),
7591
- n.$slots.footer ? (D(), o("div", rc, [j(n.$slots, "footer")])) : a("", !0)
7595
+ s("div", ac, [j(n.$slots, "default")]),
7596
+ n.$slots.footer ? (D(), o("div", oc, [j(n.$slots, "footer")])) : a("", !0)
7592
7597
  ], 512));
7593
7598
  }
7594
- }), ac = {
7599
+ }), cc = {
7595
7600
  "data-testid": "pv-select-menu-control-panel",
7596
7601
  class: "pv-flex pv-space-between"
7597
- }, oc = /* @__PURE__ */ d({
7602
+ }, lc = /* @__PURE__ */ d({
7598
7603
  __name: "PvMenuControlPanel",
7599
7604
  props: {
7600
7605
  variant: {},
@@ -7609,7 +7614,7 @@ var Xs = {
7609
7614
  ],
7610
7615
  setup(e) {
7611
7616
  let n = e, i = r(() => n.rumFilterName ? `Select all ${n.rumFilterName} options` : void 0), s = r(() => n.rumFilterName ? `Clear ${n.rumFilterName} selections` : void 0);
7612
- return (n, r) => (D(), o("div", ac, [e.variant === "select-clear" ? (D(), o(t, { key: 0 }, [u(Mn, {
7617
+ return (n, r) => (D(), o("div", cc, [e.variant === "select-clear" ? (D(), o(t, { key: 0 }, [u(Mn, {
7613
7618
  variant: "ghost",
7614
7619
  "data-testid": "pv-select-menu-item-select-all",
7615
7620
  "data-dd-action-name": i.value,
@@ -7636,31 +7641,31 @@ var Xs = {
7636
7641
  disabled: e.disabled
7637
7642
  }, null, 8, ["disabled"])], 64)) : a("", !0)]));
7638
7643
  }
7639
- }), sc = ["data-dd-action-name"], cc = {
7644
+ }), uc = ["data-dd-action-name"], dc = {
7640
7645
  key: 1,
7641
7646
  class: "pv-inset-square-8"
7642
- }, lc = {
7647
+ }, fc = {
7643
7648
  key: 1,
7644
7649
  class: "pv-text-body-sm pv-inset-inline",
7645
7650
  style: {
7646
7651
  color: "#89989b",
7647
7652
  "--inset-size": "8px"
7648
7653
  }
7649
- }, uc = {
7654
+ }, pc = {
7650
7655
  key: 2,
7651
7656
  class: "pv-border-top",
7652
7657
  style: { margin: "8px 0" }
7653
- }, dc = {
7658
+ }, mc = {
7654
7659
  key: 3,
7655
7660
  class: "pv-flex pv-inset-square-8",
7656
7661
  style: { "justify-content": "center" }
7657
- }, fc = {
7662
+ }, hc = {
7658
7663
  class: "pv-sticky pv-surface pv-border-top pv-inset-square-8",
7659
7664
  style: {
7660
7665
  "--flex-justify": "space-between",
7661
7666
  "--bottom": "0"
7662
7667
  }
7663
- }, pc = /* @__PURE__ */ d({
7668
+ }, gc = /* @__PURE__ */ d({
7664
7669
  __name: "PvMultiSelectButton",
7665
7670
  props: /* @__PURE__ */ g({
7666
7671
  companyLogo: {},
@@ -7948,10 +7953,10 @@ var Xs = {
7948
7953
  "onUpdate:modelValue": r[1] ||= (e) => R.value = e,
7949
7954
  class: "pv-stack-4",
7950
7955
  placeholder: e.searchPlaceholder
7951
- }, null, 8, ["model-value", "placeholder"])], 8, sc)),
7952
- n.$slots.header || I(ve) ? (D(), o("div", cc, [j(n.$slots, "header", b(p(pe.value)))])) : a("", !0),
7956
+ }, null, 8, ["model-value", "placeholder"])], 8, uc)),
7957
+ n.$slots.header || I(ve) ? (D(), o("div", dc, [j(n.$slots, "header", b(p(pe.value)))])) : a("", !0),
7953
7958
  q.value.length > 0 ? (D(), o(t, { key: 2 }, [Y.value ? (D(!0), o(t, { key: 0 }, A(fe.value, ([t, i], s) => (D(), o("div", { key: t }, [
7954
- n.$slots[t] ? j(n.$slots, t, { key: 0 }) : t === "other" ? a("", !0) : (D(), o("span", lc, F(t), 1)),
7959
+ n.$slots[t] ? j(n.$slots, t, { key: 0 }) : t === "other" ? a("", !0) : (D(), o("span", fc, F(t), 1)),
7955
7960
  u(yo, {
7956
7961
  selectedItems: K.value,
7957
7962
  "onUpdate:selectedItems": r[2] ||= (e) => K.value = e,
@@ -7976,7 +7981,7 @@ var Xs = {
7976
7981
  "enableCascadeSelection",
7977
7982
  "hasMoreOptions"
7978
7983
  ]),
7979
- fe.value && s !== fe.value.length - 1 ? (D(), o("div", uc)) : a("", !0)
7984
+ fe.value && s !== fe.value.length - 1 ? (D(), o("div", pc)) : a("", !0)
7980
7985
  ]))), 128)) : (D(), i(yo, {
7981
7986
  key: 1,
7982
7987
  selectedItems: K.value,
@@ -8000,8 +8005,8 @@ var Xs = {
8000
8005
  "isSeeMoreLoading",
8001
8006
  "hasMoreOptions"
8002
8007
  ]))], 64)) : a("", !0),
8003
- e.isLoading ? (D(), o("div", dc, [u(wt, { variant: "dark" })])) : q.value.length === 0 ? (D(), o(t, { key: 4 }, [I(ye) ? j(n.$slots, "no-results", b(_({ key: 0 }, pe.value))) : (D(), i(Ta, { key: 1 }))], 64)) : a("", !0),
8004
- s("div", fc, [I(be) ? j(n.$slots, "footer", b(_({ key: 0 }, pe.value))) : a("", !0), e.menuActionsVariant ? (D(), i(oc, {
8008
+ e.isLoading ? (D(), o("div", mc, [u(wt, { variant: "dark" })])) : q.value.length === 0 ? (D(), o(t, { key: 4 }, [I(ye) ? j(n.$slots, "no-results", b(_({ key: 0 }, pe.value))) : (D(), i(Ta, { key: 1 }))], 64)) : a("", !0),
8009
+ s("div", hc, [I(be) ? j(n.$slots, "footer", b(_({ key: 0 }, pe.value))) : a("", !0), e.menuActionsVariant ? (D(), i(lc, {
8005
8010
  key: 1,
8006
8011
  variant: e.menuActionsVariant,
8007
8012
  disabled: e.isLoading,
@@ -8026,7 +8031,7 @@ Math.random().toString(), Math.random().toString(), new Intl.NumberFormat("en-US
8026
8031
  });
8027
8032
  //#endregion
8028
8033
  //#region src/components/base/PvFilterPanel/filterOptionValue.ts
8029
- var mc = "__pv_filter_panel_scoped_value__", hc = (e) => typeof e == "object" && !!e, gc = (e) => {
8034
+ var _c = "__pv_filter_panel_scoped_value__", vc = (e) => typeof e == "object" && !!e, yc = (e) => {
8030
8035
  try {
8031
8036
  let t = JSON.parse(decodeURIComponent(e));
8032
8037
  return Array.isArray(t) ? t.flatMap((e) => {
@@ -8040,7 +8045,7 @@ var mc = "__pv_filter_panel_scoped_value__", hc = (e) => typeof e == "object" &&
8040
8045
  } catch {
8041
8046
  return [];
8042
8047
  }
8043
- }, _c = (e) => {
8048
+ }, bc = (e) => {
8044
8049
  if (!e.startsWith("__")) return null;
8045
8050
  let t = e.slice(2).split("__");
8046
8051
  if (t.length < 2 || !t[0] || !t[1]) return null;
@@ -8053,68 +8058,68 @@ var mc = "__pv_filter_panel_scoped_value__", hc = (e) => typeof e == "object" &&
8053
8058
  pairs: n,
8054
8059
  value: n[0].value
8055
8060
  };
8056
- }, vc = (e) => {
8061
+ }, xc = (e) => {
8057
8062
  if (e == null) return null;
8058
- if (!e.startsWith(mc)) return _c(e) ?? {
8063
+ if (!e.startsWith(_c)) return bc(e) ?? {
8059
8064
  pairs: [],
8060
8065
  value: e
8061
8066
  };
8062
- let t = gc(e.slice(32));
8067
+ let t = yc(e.slice(32));
8063
8068
  return {
8064
8069
  field: t[0]?.field,
8065
8070
  pairs: t,
8066
8071
  value: t[0]?.value ?? e
8067
8072
  };
8068
- }, yc = (e) => e ? e.rawValue !== null && e.rawValue !== void 0 ? String(e.rawValue) : hc(e.metadata) && e.metadata.rawValue !== null && e.metadata.rawValue !== void 0 ? String(e.metadata.rawValue) : e.matchedValue !== null && e.matchedValue !== void 0 ? String(e.matchedValue) : vc(e.value)?.value ?? e.value : null, bc = (e, t) => e?.field ? e.field : e?.colField ? e.colField : vc(e?.value)?.field ?? t, xc = (e, t, n, r) => bc(e, r) === t && yc(e) === n, Sc = (e) => {
8073
+ }, Sc = (e) => e ? e.rawValue !== null && e.rawValue !== void 0 ? String(e.rawValue) : vc(e.metadata) && e.metadata.rawValue !== null && e.metadata.rawValue !== void 0 ? String(e.metadata.rawValue) : e.matchedValue !== null && e.matchedValue !== void 0 ? String(e.matchedValue) : xc(e.value)?.value ?? e.value : null, Cc = (e, t) => e?.field ? e.field : e?.colField ? e.colField : xc(e?.value)?.field ?? t, wc = (e, t, n, r) => Cc(e, r) === t && Sc(e) === n, Tc = (e) => {
8069
8074
  let t = e;
8070
8075
  return t?.filterType === "join" && Array.isArray(t.conditions);
8071
- }, Cc = (e) => {
8076
+ }, Ec = (e) => {
8072
8077
  let t = e;
8073
- return Sc(e) ? {
8078
+ return Tc(e) ? {
8074
8079
  ...t,
8075
- conditions: (t.conditions ?? []).map(Cc)
8080
+ conditions: (t.conditions ?? []).map(Ec)
8076
8081
  } : { ...t };
8077
- }, wc = (e, t) => {
8082
+ }, Dc = (e, t) => {
8078
8083
  if (!e) return null;
8079
8084
  let n = t instanceof Set ? t : new Set(t);
8080
- if (!n.size) return Cc(e);
8081
- if (!Sc(e)) {
8085
+ if (!n.size) return Ec(e);
8086
+ if (!Tc(e)) {
8082
8087
  let t = e;
8083
- return typeof t.colId == "string" && n.has(t.colId) ? null : Cc(e);
8088
+ return typeof t.colId == "string" && n.has(t.colId) ? null : Ec(e);
8084
8089
  }
8085
- let r = e, i = (r.conditions ?? []).map((e) => wc(e, n)).filter((e) => !!e);
8090
+ let r = e, i = (r.conditions ?? []).map((e) => Dc(e, n)).filter((e) => !!e);
8086
8091
  return i.length ? i.length === 1 ? i[0] : {
8087
8092
  ...r,
8088
8093
  conditions: i
8089
8094
  } : null;
8090
- }, Tc = (e) => e ? [e.field, ...(e.children ?? []).flatMap(Tc)] : [], Ec = (e) => e ? e.children?.length ? e.children.flatMap(Ec) : [e.field] : [], Dc = (e) => {
8095
+ }, Oc = (e) => e ? [e.field, ...(e.children ?? []).flatMap(Oc)] : [], kc = (e) => e ? e.children?.length ? e.children.flatMap(kc) : [e.field] : [], Ac = (e) => {
8091
8096
  let t = e?.context ?? {};
8092
- return t.aggregateFieldHierarchy ? Tc(t.aggregateFieldHierarchy) : t.aggregateFields ?? [];
8093
- }, Oc = (e) => {
8097
+ return t.aggregateFieldHierarchy ? Oc(t.aggregateFieldHierarchy) : t.aggregateFields ?? [];
8098
+ }, jc = (e) => {
8094
8099
  let t = e?.context ?? {};
8095
8100
  return t.aggregateFieldHierarchy ? t.aggregateFieldHierarchy.field : t.aggregateFields?.[t.aggregateFields.length - 1];
8096
- }, kc = (e, t) => {
8101
+ }, Mc = (e, t) => {
8097
8102
  for (let n of e ?? []) {
8098
8103
  if (!n) continue;
8099
8104
  if (n.value === t) return n;
8100
- let e = kc(n.children, t);
8105
+ let e = Mc(n.children, t);
8101
8106
  if (e) return e;
8102
8107
  }
8103
- }, Ac = (e, t) => {
8104
- let n = kc(t, e), r = n ? bc(n, "") : void 0, i = n ? yc(n) : null;
8108
+ }, Nc = (e, t) => {
8109
+ let n = Mc(t, e), r = n ? Cc(n, "") : void 0, i = n ? Sc(n) : null;
8105
8110
  if (r && i !== null) return {
8106
8111
  field: r,
8107
8112
  value: i
8108
8113
  };
8109
- let a = vc(e);
8114
+ let a = xc(e);
8110
8115
  return {
8111
8116
  field: a?.field,
8112
8117
  value: a?.value ?? e
8113
8118
  };
8114
- }, jc = (e, t, n) => {
8119
+ }, Pc = (e, t, n) => {
8115
8120
  let r = (e) => {
8116
8121
  if (!e) return;
8117
- let i = bc(e, ""), a = yc(e);
8122
+ let i = Cc(e, ""), a = Sc(e);
8118
8123
  if (i === t && a === n) return e.value;
8119
8124
  for (let t of e.children ?? []) {
8120
8125
  let e = r(t);
@@ -8126,9 +8131,9 @@ var mc = "__pv_filter_panel_scoped_value__", hc = (e) => typeof e == "object" &&
8126
8131
  if (e) return e;
8127
8132
  }
8128
8133
  return `__${t}__${n}`;
8129
- }, Mc = (e) => (e ?? []).flatMap((e) => [...e.state === "deselected" ? [e] : [], ...Mc(e.children)]), Nc = (e, t) => {
8134
+ }, Fc = (e) => (e ?? []).flatMap((e) => [...e.state === "deselected" ? [e] : [], ...Fc(e.children)]), Ic = (e, t) => {
8130
8135
  if (e.state !== "selected") return null;
8131
- let { field: n, value: r } = Ac(e.id, t);
8136
+ let { field: n, value: r } = Nc(e.id, t);
8132
8137
  if (!n) return null;
8133
8138
  let i = [{
8134
8139
  colId: n,
@@ -8136,8 +8141,8 @@ var mc = "__pv_filter_panel_scoped_value__", hc = (e) => typeof e == "object" &&
8136
8141
  filterType: "text",
8137
8142
  type: "equals"
8138
8143
  }];
8139
- for (let n of Mc(e.children)) {
8140
- let e = Ac(n.id, t);
8144
+ for (let n of Fc(e.children)) {
8145
+ let e = Nc(n.id, t);
8141
8146
  e.field && i.push({
8142
8147
  colId: e.field,
8143
8148
  filter: e.value,
@@ -8150,10 +8155,10 @@ var mc = "__pv_filter_panel_scoped_value__", hc = (e) => typeof e == "object" &&
8150
8155
  filterType: "join",
8151
8156
  type: "AND"
8152
8157
  };
8153
- }, Pc = (e) => {
8154
- let t = Dc(e.colDef), n = wc(e.baseModel, t);
8158
+ }, Lc = (e) => {
8159
+ let t = Ac(e.colDef), n = Dc(e.baseModel, t);
8155
8160
  if (!t.length) return n;
8156
- let r = e.state.map((t) => Nc(t, e.options)).filter((e) => !!e);
8161
+ let r = e.state.map((t) => Ic(t, e.options)).filter((e) => !!e);
8157
8162
  if (!r.length) return n;
8158
8163
  let i = r.length === 1 ? r[0] : {
8159
8164
  conditions: r,
@@ -8165,17 +8170,17 @@ var mc = "__pv_filter_panel_scoped_value__", hc = (e) => typeof e == "object" &&
8165
8170
  filterType: "join",
8166
8171
  type: "AND"
8167
8172
  } : i;
8168
- }, Fc = (e, t, n) => {
8173
+ }, Rc = (e, t, n) => {
8169
8174
  if (!e) return [];
8170
8175
  let r = e;
8171
- if (Sc(e)) {
8176
+ if (Tc(e)) {
8172
8177
  let e = r.conditions ?? [];
8173
8178
  if (r.type === "AND") {
8174
8179
  let r = e.find((e) => {
8175
8180
  let r = e;
8176
8181
  return r.filterType !== "join" && typeof r.colId == "string" && t.has(r.colId) && r.type === "equals" && !n.has(r.colId);
8177
8182
  });
8178
- return e.flatMap((e) => Fc(e, t, n).map((e) => ({
8183
+ return e.flatMap((e) => Rc(e, t, n).map((e) => ({
8179
8184
  ...e,
8180
8185
  parentEquals: e.parentEquals || (r?.colId ? {
8181
8186
  colId: r.colId,
@@ -8183,20 +8188,20 @@ var mc = "__pv_filter_panel_scoped_value__", hc = (e) => typeof e == "object" &&
8183
8188
  } : void 0)
8184
8189
  })));
8185
8190
  }
8186
- return e.flatMap((e) => Fc(e, t, n));
8191
+ return e.flatMap((e) => Rc(e, t, n));
8187
8192
  }
8188
8193
  return r.colId && t.has(r.colId) ? [{
8189
8194
  colId: r.colId,
8190
8195
  filter: r.filter == null ? void 0 : String(r.filter),
8191
8196
  type: r.type
8192
8197
  }] : [];
8193
- }, Ic = (e) => {
8194
- let t = Dc(e.colDef);
8198
+ }, zc = (e) => {
8199
+ let t = Ac(e.colDef);
8195
8200
  if (!t.length) return [];
8196
- let n = new Set(Ec(e.colDef.context?.aggregateFieldHierarchy)), r = Oc(e.colDef), i = Fc(e.model, new Set(t), n), a = /* @__PURE__ */ new Map();
8201
+ let n = new Set(kc(e.colDef.context?.aggregateFieldHierarchy)), r = jc(e.colDef), i = Rc(e.model, new Set(t), n), a = /* @__PURE__ */ new Map();
8197
8202
  for (let t of i) {
8198
8203
  if (!t.filter) continue;
8199
- let n = jc(e.options, t.colId, String(t.filter));
8204
+ let n = Pc(e.options, t.colId, String(t.filter));
8200
8205
  if (t.type === "equals") {
8201
8206
  let e = a.get(n);
8202
8207
  a.set(n, {
@@ -8207,7 +8212,7 @@ var mc = "__pv_filter_panel_scoped_value__", hc = (e) => typeof e == "object" &&
8207
8212
  continue;
8208
8213
  }
8209
8214
  if (t.type === "notEqual" && t.parentEquals?.filter && r) {
8210
- let r = jc(e.options, t.parentEquals.colId, String(t.parentEquals.filter)), i = a.get(r) ?? {
8215
+ let r = Pc(e.options, t.parentEquals.colId, String(t.parentEquals.filter)), i = a.get(r) ?? {
8211
8216
  children: [],
8212
8217
  id: r,
8213
8218
  state: "selected"
@@ -8219,17 +8224,17 @@ var mc = "__pv_filter_panel_scoped_value__", hc = (e) => typeof e == "object" &&
8219
8224
  }
8220
8225
  }
8221
8226
  return [...a.values()];
8222
- }, Lc = (e, t, n) => {
8227
+ }, Bc = (e, t, n) => {
8223
8228
  let r = [e, ...t ?? []].filter((e) => !!e);
8224
8229
  if (r.length <= 1) return "Search";
8225
8230
  let i = /* @__PURE__ */ new Set(), a = r.flatMap((e) => i.has(e) ? [] : (i.add(e), [n(e) || e]));
8226
8231
  return a.length ? `Search ${a.join(", ")}` : "Search";
8227
- }, Rc = (e) => String(e ?? "").trim().replace(/\s+/g, " ").toLocaleLowerCase(), zc = ({ fallbackSubText: e, getDisplayName: t, matchedField: n, matchedValue: r, primaryText: i, showPrefix: a = !0 }) => {
8228
- if (!r || Rc(i) === Rc(r)) return e;
8232
+ }, Vc = (e) => String(e ?? "").trim().replace(/\s+/g, " ").toLocaleLowerCase(), Hc = ({ fallbackSubText: e, getDisplayName: t, matchedField: n, matchedValue: r, primaryText: i, showPrefix: a = !0 }) => {
8233
+ if (!r || Vc(i) === Vc(r)) return e;
8229
8234
  if (!a || !n) return r;
8230
8235
  let o = t(n);
8231
8236
  return o ? `${o}: ${r}` : r;
8232
- }, Bc = (e) => e ? Array.isArray(e) ? { values: e } : e : { values: [] }, Vc = (e, t) => t ?? e, Hc = (e) => Object.fromEntries(Object.entries(e).map(([e, t]) => [e, [...t]])), Uc = (e) => {
8237
+ }, Uc = (e) => e ? Array.isArray(e) ? { values: e } : e : { values: [] }, Wc = (e, t) => t ?? e, Gc = (e) => Object.fromEntries(Object.entries(e).map(([e, t]) => [e, [...t]])), Kc = (e) => {
8233
8238
  let t = /* @__PURE__ */ new Map();
8234
8239
  for (let n of e) {
8235
8240
  if (!n) continue;
@@ -8241,34 +8246,34 @@ var mc = "__pv_filter_panel_scoped_value__", hc = (e) => typeof e == "object" &&
8241
8246
  t.set(n.value, {
8242
8247
  ...e,
8243
8248
  ...n,
8244
- children: Uc([...e.children ?? [], ...n.children ?? []]),
8245
- totalChildCount: Vc(e.totalChildCount, n.totalChildCount)
8249
+ children: Kc([...e.children ?? [], ...n.children ?? []]),
8250
+ totalChildCount: Wc(e.totalChildCount, n.totalChildCount)
8246
8251
  });
8247
8252
  }
8248
8253
  return [...t.values()];
8249
- }, Wc = (e, t) => {
8254
+ }, qc = (e, t) => {
8250
8255
  for (let n of e ?? []) {
8251
8256
  if (!n) continue;
8252
8257
  if (n.value === t) return n;
8253
- let e = Wc(n.children, t);
8258
+ let e = qc(n.children, t);
8254
8259
  if (e) return e;
8255
8260
  }
8256
- }, Gc = (e, t, n) => {
8261
+ }, Jc = (e, t, n) => {
8257
8262
  if (!e || t === null) return !1;
8258
8263
  if (e.value === t) return !0;
8259
- let r = yc(e);
8260
- return r !== null && r === t || xc(e, e.colField ?? n, t, n) ? !0 : e.children?.some((e) => Gc(e, t, n)) ?? !1;
8261
- }, Kc = (e, t, n) => {
8262
- let r = Wc(n, t) ?? null, i = r?.children ?? n.filter(Boolean);
8264
+ let r = Sc(e);
8265
+ return r !== null && r === t || wc(e, e.colField ?? n, t, n) ? !0 : e.children?.some((e) => Jc(e, t, n)) ?? !1;
8266
+ }, Yc = (e, t, n) => {
8267
+ let r = qc(n, t) ?? null, i = r?.children ?? n.filter(Boolean);
8263
8268
  return e.map((e) => e && (e.value === t ? {
8264
8269
  ...e,
8265
- children: Uc([...e.children ?? [], ...i]),
8266
- totalChildCount: Vc(e.totalChildCount, r?.totalChildCount)
8270
+ children: Kc([...e.children ?? [], ...i]),
8271
+ totalChildCount: Wc(e.totalChildCount, r?.totalChildCount)
8267
8272
  } : e.children?.length ? {
8268
8273
  ...e,
8269
- children: Kc(e.children, t, n).filter((e) => !!e)
8274
+ children: Yc(e.children, t, n).filter((e) => !!e)
8270
8275
  } : e));
8271
- }, qc = (e, t) => `${e}::${t}`, Jc = () => {
8276
+ }, Xc = (e, t) => `${e}::${t}`, Zc = () => {
8272
8277
  let e = k(null), t = k(null), n = k(), r = k({}), i = k({}), a = k({}), o = k({}), s = k({}), c = k({}), l = k({}), u = k({}), d = k({}), f = k({}), p = k({}), m = k({}), h = k({}), g = k({}), _ = k(), v = k({}), y = (e) => {
8273
8278
  _.value = e;
8274
8279
  }, b = (e) => r.value[e] ?? [], x = (e, t) => {
@@ -8277,11 +8282,11 @@ var mc = "__pv_filter_panel_scoped_value__", hc = (e) => typeof e == "object" &&
8277
8282
  let r = n ? o : i;
8278
8283
  r.value[e] = t;
8279
8284
  }, w = () => {
8280
- o.value = Hc(i.value), s.value = Hc(a.value);
8285
+ o.value = Gc(i.value), s.value = Gc(a.value);
8281
8286
  }, T = () => {
8282
8287
  o.value = {}, s.value = {};
8283
8288
  }, E = () => {
8284
- i.value = Hc(o.value), a.value = Hc(s.value), T();
8289
+ i.value = Gc(o.value), a.value = Gc(s.value), T();
8285
8290
  }, D = (e, t) => {
8286
8291
  c.value[e] = t;
8287
8292
  }, O = (e, t) => `${t ? "append" : "initial"}::${e}`, A = (e, t) => {
@@ -8303,7 +8308,7 @@ var mc = "__pv_filter_panel_scoped_value__", hc = (e) => typeof e == "object" &&
8303
8308
  if (!o) return [];
8304
8309
  let s = n.query ?? c.value[n.field] ?? void 0;
8305
8310
  c.value[n.field] = s;
8306
- let l = n.parentId ? Wc(r.value[n.field], n.parentId) : void 0, u = n.offset ?? (n.parentId ? l?.children?.length ?? 0 : n.reason === "load-more" ? (r.value[n.field] ?? []).filter(Boolean).length : 0), v = n.reason === "load-more" || n.reason === "child-load-more", y = A(n.field, v), b = n.parentId ? qc(n.field, n.parentId) : n.field, x = (h.value[b] ?? 0) + 1;
8311
+ let l = n.parentId ? qc(r.value[n.field], n.parentId) : void 0, u = n.offset ?? (n.parentId ? l?.children?.length ?? 0 : n.reason === "load-more" ? (r.value[n.field] ?? []).filter(Boolean).length : 0), v = n.reason === "load-more" || n.reason === "child-load-more", y = A(n.field, v), b = n.parentId ? Xc(n.field, n.parentId) : n.field, x = (h.value[b] ?? 0) + 1;
8307
8312
  h.value[b] = x;
8308
8313
  try {
8309
8314
  let c = await o({
@@ -8314,17 +8319,17 @@ var mc = "__pv_filter_panel_scoped_value__", hc = (e) => typeof e == "object" &&
8314
8319
  selectedValues: n.selectedValues ?? i.value[n.field] ?? []
8315
8320
  });
8316
8321
  if (h.value[b] !== x) return [];
8317
- let l = Bc(c);
8322
+ let l = Uc(c);
8318
8323
  if (n.parentId) {
8319
- let e = qc(n.field, n.parentId);
8324
+ let e = Xc(n.field, n.parentId);
8320
8325
  p.value[e] = l.hasMore, m.value[e] = l.totalCount;
8321
8326
  } else d.value[n.field] = l.hasMore, f.value[n.field] = l.totalCount;
8322
8327
  let _ = a.value[n.field] ?? [], y;
8323
- y = n.parentId ? Kc(r.value[n.field] ?? [], n.parentId, l.values) : v ? Uc([...r.value[n.field] ?? [], ...l.values]) : l.values;
8328
+ y = n.parentId ? Yc(r.value[n.field] ?? [], n.parentId, l.values) : v ? Kc([...r.value[n.field] ?? [], ...l.values]) : l.values;
8324
8329
  for (let e of _) {
8325
8330
  if (!e) continue;
8326
- let t = yc(e) ?? e.value;
8327
- y.some((e) => Gc(e, t, n.field)) || y.push(e);
8331
+ let t = Sc(e) ?? e.value;
8332
+ y.some((e) => Jc(e, t, n.field)) || y.push(e);
8328
8333
  }
8329
8334
  return r.value[n.field] = y, g.value[n.field] = !1, y.filter((e) => !!e).map((e) => e.value);
8330
8335
  } finally {
@@ -8357,7 +8362,7 @@ var mc = "__pv_filter_panel_scoped_value__", hc = (e) => typeof e == "object" &&
8357
8362
  stagedFilterSelectedMetadataMap: s,
8358
8363
  stagedFilterSelectedValueMap: o
8359
8364
  };
8360
- }, Yc = () => {
8365
+ }, Qc = () => {
8361
8366
  let e = (e, n) => {
8362
8367
  let i = e || { queryTerms: [] }, a = n.queryTerm || {};
8363
8368
  return t(n) && !r(e, n) && i.queryTerms.push(a), i;
@@ -8370,13 +8375,13 @@ var mc = "__pv_filter_panel_scoped_value__", hc = (e) => typeof e == "object" &&
8370
8375
  queryTerms: e.queryTerms.filter((e) => !n(e, t.queryTerm || {}))
8371
8376
  } : null
8372
8377
  };
8373
- }, Xc = { class: "pv-flex" }, Zc = { class: "pv-text-body-md" }, Qc = ["textContent"], $c = {
8378
+ }, $c = { class: "pv-flex" }, el = { class: "pv-text-body-md" }, tl = ["textContent"], nl = {
8374
8379
  key: 0,
8375
8380
  class: "pv-text-body-xs"
8376
- }, el = { key: 0 }, tl = {
8381
+ }, rl = { key: 0 }, il = {
8377
8382
  class: "pv-text-subdued pv-text-body-xs",
8378
8383
  style: { "font-weight": "500" }
8379
- }, nl = /* @__PURE__ */ Qt(/* @__PURE__ */ d({
8384
+ }, al = /* @__PURE__ */ Qt(/* @__PURE__ */ d({
8380
8385
  __name: "QueryBuilderMenuOptionRenderer",
8381
8386
  props: {
8382
8387
  id: {},
@@ -8426,13 +8431,13 @@ var mc = "__pv_filter_panel_scoped_value__", hc = (e) => typeof e == "object" &&
8426
8431
  bold: !1
8427
8432
  }), n;
8428
8433
  });
8429
- return (e, n) => (D(), o("div", null, [s("div", Xc, [u(On, { name: p.value }, null, 8, ["name"]), s("div", null, [s("p", Zc, [(D(!0), o(t, null, A(m.value, (e, t) => (D(), o("span", {
8434
+ return (e, n) => (D(), o("div", null, [s("div", $c, [u(On, { name: p.value }, null, 8, ["name"]), s("div", null, [s("p", el, [(D(!0), o(t, null, A(m.value, (e, t) => (D(), o("span", {
8430
8435
  key: t,
8431
8436
  style: x({ fontWeight: e.bold ? "bold" : void 0 }),
8432
8437
  textContent: F(e.text)
8433
- }, null, 12, Qc))), 128))]), f.value ? (D(), o("p", $c, [c.value ? a("", !0) : (D(), o("span", el, "Search in ")), s("span", tl, F(f.value), 1)])) : a("", !0)])])]));
8438
+ }, null, 12, tl))), 128))]), f.value ? (D(), o("p", nl, [c.value ? a("", !0) : (D(), o("span", rl, "Search in ")), s("span", il, F(f.value), 1)])) : a("", !0)])])]));
8434
8439
  }
8435
- }), [["__scopeId", "data-v-ff951d17"]]), rl = /* @__PURE__ */ d({
8440
+ }), [["__scopeId", "data-v-ff951d17"]]), ol = /* @__PURE__ */ d({
8436
8441
  __name: "QueryFormatter",
8437
8442
  props: /* @__PURE__ */ g({ queryTermDisplayLimit: { default: 3 } }, {
8438
8443
  modelValue: { required: !0 },
@@ -8446,7 +8451,7 @@ var mc = "__pv_filter_panel_scoped_value__", hc = (e) => typeof e == "object" &&
8446
8451
  }),
8447
8452
  emits: ["update:modelValue", "update:wrap-content"],
8448
8453
  setup(e) {
8449
- let n = e, s = z(e, "modelValue"), c = z(e, "wrap-content"), { removeQueryOption: l } = Yc(), u = r(() => {
8454
+ let n = e, s = z(e, "modelValue"), c = z(e, "wrap-content"), { removeQueryOption: l } = Qc(), u = r(() => {
8450
8455
  let e = s.value?.queryTerms || [];
8451
8456
  return c.value ? e : e.slice(0, n.queryTermDisplayLimit);
8452
8457
  }), d = r(() => (s.value?.queryTerms.length || 0) - u.value.length), f = (e) => e.queryField && !e.exactMatch ? `${e.queryDisplayField || e.queryField}: '${e.queryText}'` : e.queryText || "", p = (e) => e.exactMatch ? "primary" : "tertiary", m = (e) => {
@@ -8462,7 +8467,7 @@ var mc = "__pv_filter_panel_scoped_value__", hc = (e) => typeof e == "object" &&
8462
8467
  };
8463
8468
  s.value = l(s.value, t);
8464
8469
  };
8465
- return (e, n) => (D(), o(t, null, [(D(!0), o(t, null, A(u.value, (e, t) => (D(), i(zs, {
8470
+ return (e, n) => (D(), o(t, null, [(D(!0), o(t, null, A(u.value, (e, t) => (D(), i(Hs, {
8466
8471
  key: `${t}-${e.queryText}`,
8467
8472
  variant: p(e),
8468
8473
  label: f(e),
@@ -8472,23 +8477,23 @@ var mc = "__pv_filter_panel_scoped_value__", hc = (e) => typeof e == "object" &&
8472
8477
  "variant",
8473
8478
  "label",
8474
8479
  "onHandleClose"
8475
- ]))), 128)), d.value > 0 ? (D(), i(zs, {
8480
+ ]))), 128)), d.value > 0 ? (D(), i(Hs, {
8476
8481
  key: 0,
8477
8482
  label: `+${d.value}`,
8478
8483
  onHandleClick: n[0] ||= (e) => c.value = !0
8479
8484
  }, null, 8, ["label"])) : a("", !0)], 64));
8480
8485
  }
8481
- }), il = [
8486
+ }), sl = [
8482
8487
  "disabled",
8483
8488
  "placeholder",
8484
8489
  "data-invalid"
8485
- ], al = {
8490
+ ], cl = {
8486
8491
  key: 2,
8487
8492
  class: "pv-text-red pv-text-body-xs"
8488
- }, ol = {
8493
+ }, ll = {
8489
8494
  key: 1,
8490
8495
  class: "pv-text-center"
8491
- }, sl = /* @__PURE__ */ Qt(/* @__PURE__ */ d({
8496
+ }, ul = /* @__PURE__ */ Qt(/* @__PURE__ */ d({
8492
8497
  __name: "PvQueryBuilderInput",
8493
8498
  props: /* @__PURE__ */ g({
8494
8499
  placeholder: { default: "Search" },
@@ -8536,7 +8541,7 @@ var mc = "__pv_filter_panel_scoped_value__", hc = (e) => typeof e == "object" &&
8536
8541
  "update:options"
8537
8542
  ],
8538
8543
  setup(e) {
8539
- let n = e, c = { renderer: nl }, l = V("search-input"), d = z(e, "searchText"), f = z(e, "query"), p = z(e, "options"), { addQueryOption: m, containsQueryOption: h, removeQueryOption: g } = Yc(), v = k(!1), b = k(!1), S = k(!1), C = r(() => f.value === null ? n.placeholder : ""), w = k(null), T = r(() => w.value !== null && w.value !== "" && !b.value), E = () => {
8544
+ let n = e, c = { renderer: al }, l = V("search-input"), d = z(e, "searchText"), f = z(e, "query"), p = z(e, "options"), { addQueryOption: m, containsQueryOption: h, removeQueryOption: g } = Qc(), v = k(!1), b = k(!1), S = k(!1), C = r(() => f.value === null ? n.placeholder : ""), w = k(null), T = r(() => w.value !== null && w.value !== "" && !b.value), E = () => {
8540
8545
  f.value = null, d.value = "", w.value = null, S.value = !1;
8541
8546
  };
8542
8547
  n.enableCustomOptionsInput && se("Enter", () => {
@@ -8620,7 +8625,7 @@ var mc = "__pv_filter_panel_scoped_value__", hc = (e) => typeof e == "object" &&
8620
8625
  "--inset-size": "4px",
8621
8626
  "--flex-gap": "4px"
8622
8627
  }, e.enableWrapQueryTerms || S.value ? "flex-wrap: wrap;" : "flex-wrap: nowrap; justify-content: flex-end;"])
8623
- }, [u(rl, {
8628
+ }, [u(ol, {
8624
8629
  modelValue: f.value,
8625
8630
  "onUpdate:modelValue": r[0] ||= (e) => f.value = e,
8626
8631
  "wrap-content": S.value,
@@ -8641,7 +8646,7 @@ var mc = "__pv_filter_panel_scoped_value__", hc = (e) => typeof e == "object" &&
8641
8646
  style: x(d.value ? "min-width: 8rem;" : void 0),
8642
8647
  onFocus: ee,
8643
8648
  onBlur: ee
8644
- }, null, 44, il), [[ne, d.value]])], 4),
8649
+ }, null, 44, sl), [[ne, d.value]])], 4),
8645
8650
  f.value && !e.hideClearButton ? (D(), i(Mn, {
8646
8651
  key: 1,
8647
8652
  variant: "ghost",
@@ -8649,7 +8654,7 @@ var mc = "__pv_filter_panel_scoped_value__", hc = (e) => typeof e == "object" &&
8649
8654
  size: "md",
8650
8655
  onClick: E
8651
8656
  })) : a("", !0),
8652
- T.value ? (D(), o("p", al, F(w.value), 1)) : a("", !0),
8657
+ T.value ? (D(), o("p", cl, F(w.value), 1)) : a("", !0),
8653
8658
  j.value.length > 0 || e.optionsLoading ? (D(), i(uo, {
8654
8659
  key: 3,
8655
8660
  class: y({ "pv-hide": !v.value }),
@@ -8659,7 +8664,7 @@ var mc = "__pv_filter_panel_scoped_value__", hc = (e) => typeof e == "object" &&
8659
8664
  },
8660
8665
  isList: !0
8661
8666
  }, {
8662
- default: U(() => [e.optionsLoading ? (D(), o("div", ol, [u(wt, { variant: "dark" })])) : (D(!0), o(t, { key: 0 }, A(j.value, (e, t) => (D(), i(co, _({
8667
+ default: U(() => [e.optionsLoading ? (D(), o("div", ll, [u(wt, { variant: "dark" })])) : (D(!0), o(t, { key: 0 }, A(j.value, (e, t) => (D(), i(co, _({
8663
8668
  key: `${t}-${e.searchText}`,
8664
8669
  ref_for: !0
8665
8670
  }, e, {
@@ -8670,13 +8675,13 @@ var mc = "__pv_filter_panel_scoped_value__", hc = (e) => typeof e == "object" &&
8670
8675
  }, 8, ["class"])) : a("", !0)
8671
8676
  ], 32)), [[I($e), M]]);
8672
8677
  }
8673
- }), [["__scopeId", "data-v-37925d70"]]), cl = Symbol.for("pv.rum-context"), ll = () => {
8674
- let e = m(cl, void 0);
8678
+ }), [["__scopeId", "data-v-37925d70"]]), dl = Symbol.for("pv.rum-context"), fl = () => {
8679
+ let e = m(dl, void 0);
8675
8680
  return () => {
8676
8681
  let t = e?.value;
8677
8682
  return typeof t == "string" ? { consumer: t } : t ?? {};
8678
8683
  };
8679
- }, ul = (e, t = {}, n = {}) => {
8684
+ }, pl = (e, t = {}, n = {}) => {
8680
8685
  try {
8681
8686
  if (n.enabled === !1 || typeof window > "u" || !window.DD_RUM?.addAction) return;
8682
8687
  let r = n.consumer == null ? t : {
@@ -8685,33 +8690,33 @@ var mc = "__pv_filter_panel_scoped_value__", hc = (e) => typeof e == "object" &&
8685
8690
  };
8686
8691
  window.DD_RUM.addAction(e, r);
8687
8692
  } catch {}
8688
- }, dl = (e) => {
8693
+ }, ml = (e) => {
8689
8694
  queueMicrotask(() => {
8690
8695
  try {
8691
8696
  e();
8692
8697
  } catch {}
8693
8698
  });
8694
- }, fl = Symbol("FilterStoreKey"), pl = Symbol("FocusStoreKey"), ml = Symbol("SortStateKey"), hl = Symbol("GridApiKey"), gl = Symbol("ColumnDisplayOrderKey"), _l = Symbol("currentlyActiveFilterKey"), vl = Symbol("AvailableFilterColumnsKey"), yl = Symbol("AvailableRowGroupColumnsKey"), bl = Symbol("RowGroupColumnFieldsKey"), xl = Symbol("GroupColumnCellValueColumnKey"), Sl = Symbol("ExpandedRowsKey"), Cl = Symbol("FirstDataRenderedKey"), wl = Symbol("RowsLoadingKey"), Tl = Symbol("CurrentPageKey"), El = Symbol("TotalPageKey"), Dl = Symbol("ActiveChartFilterOptionKey"), Ol = Symbol("RowGroupColumnsKey"), kl = Symbol("ChartTypeKey"), Al = Symbol("SortTypesKey"), jl = Symbol("ActiveChartKey"), Ml = Symbol("ActiveSortKey"), Nl = Symbol("ActiveSeriesKey"), Pl = Symbol("AvailableSeriesKey"), Fl = Symbol("ActiveSecondarySeriesKey"), Il = Symbol("AvailableSecondarySeriesKey"), Ll = Symbol("EnableAdvancedFilterKey"), Rl = Symbol("ActiveCrosslineOverlayGroupsKey"), zl = Symbol("AvailableCrosslineOverlayGroupsKey"), Bl = {
8699
+ }, hl = Symbol("FilterStoreKey"), gl = Symbol("FocusStoreKey"), _l = Symbol("SortStateKey"), vl = Symbol("GridApiKey"), yl = Symbol("ColumnDisplayOrderKey"), bl = Symbol("currentlyActiveFilterKey"), xl = Symbol("AvailableFilterColumnsKey"), Sl = Symbol("AvailableRowGroupColumnsKey"), Cl = Symbol("RowGroupColumnFieldsKey"), wl = Symbol("GroupColumnCellValueColumnKey"), Tl = Symbol("ExpandedRowsKey"), El = Symbol("FirstDataRenderedKey"), Dl = Symbol("RowsLoadingKey"), Ol = Symbol("CurrentPageKey"), kl = Symbol("TotalPageKey"), Al = Symbol("ActiveChartFilterOptionKey"), jl = Symbol("RowGroupColumnsKey"), Ml = Symbol("ChartTypeKey"), Nl = Symbol("SortTypesKey"), Pl = Symbol("ActiveChartKey"), Fl = Symbol("ActiveSortKey"), Il = Symbol("ActiveSeriesKey"), Ll = Symbol("AvailableSeriesKey"), Rl = Symbol("ActiveSecondarySeriesKey"), zl = Symbol("AvailableSecondarySeriesKey"), Bl = Symbol("EnableAdvancedFilterKey"), Vl = Symbol("ActiveCrosslineOverlayGroupsKey"), Hl = Symbol("AvailableCrosslineOverlayGroupsKey"), Ul = {
8695
8700
  class: "pv-flex",
8696
8701
  style: { "--flex-wrap": "nowrap" }
8697
- }, Vl = ["id"], Hl = {
8702
+ }, Wl = ["id"], Gl = {
8698
8703
  key: 1,
8699
8704
  style: { "padding-left": "16px" }
8700
- }, Ul = [
8705
+ }, Kl = [
8701
8706
  "checked",
8702
8707
  "disabled",
8703
8708
  "onChange"
8704
- ], Wl = { class: "pv-text-body-md" }, Gl = { key: 2 }, Kl = {
8709
+ ], ql = { class: "pv-text-body-md" }, Jl = { key: 2 }, Yl = {
8705
8710
  key: 0,
8706
8711
  class: "pv-text-subdued pv-text-body-xxs"
8707
- }, ql = /* @__PURE__ */ d({
8712
+ }, Xl = /* @__PURE__ */ d({
8708
8713
  __name: "GroupBySelector",
8709
8714
  props: {
8710
8715
  rowGroupLimit: {},
8711
8716
  enableFocusView: { type: Boolean }
8712
8717
  },
8713
8718
  setup(e) {
8714
- let n = m(hl, k(null)), c = m(yl, k([])), l = m(bl, k([])), u = e;
8719
+ let n = m(vl, k(null)), c = m(Sl, k([])), l = m(Cl, k([])), u = e;
8715
8720
  H(l, () => {}, { deep: !0 });
8716
8721
  let d = (e) => l.value.includes(e || ""), f = (e, t) => {
8717
8722
  n.value && (t ? n.value.addRowGroupColumns([e]) : n.value.removeRowGroupColumns([e]));
@@ -8735,7 +8740,7 @@ var mc = "__pv_filter_panel_scoped_value__", hc = (e) => typeof e == "object" &&
8735
8740
  let t = e.findIndex((e) => e === "divider"), r = e.slice(0, t).slice(0, u.rowGroupLimit).map((e) => e.replace("group-by-list-item-", ""));
8736
8741
  n.value && n.value.setRowGroupColumns(r);
8737
8742
  };
8738
- return (n, r) => (D(), i(Ls, {
8743
+ return (n, r) => (D(), i(Bs, {
8739
8744
  isList: !0,
8740
8745
  isSortable: !0,
8741
8746
  popoverCssProperties: { width: "auto" },
@@ -8743,7 +8748,7 @@ var mc = "__pv_filter_panel_scoped_value__", hc = (e) => typeof e == "object" &&
8743
8748
  class: y(p.value),
8744
8749
  onListOrderUpdated: x
8745
8750
  }, {
8746
- trigger: U(() => [s("div", Bl, [r[0] ||= s("p", { class: "pv-truncate pv-text-body-md" }, "Compare", -1), I(l).length > 0 ? (D(), i(I(kn), {
8751
+ trigger: U(() => [s("div", Ul, [r[0] ||= s("p", { class: "pv-truncate pv-text-body-md" }, "Compare", -1), I(l).length > 0 ? (D(), i(I(kn), {
8747
8752
  key: 0,
8748
8753
  value: I(l).length,
8749
8754
  variant: "tertiary"
@@ -8756,25 +8761,25 @@ var mc = "__pv_filter_panel_scoped_value__", hc = (e) => typeof e == "object" &&
8756
8761
  key: 0,
8757
8762
  name: "reorder",
8758
8763
  class: "pv-text-subdued"
8759
- })) : (D(), o("span", Hl)),
8764
+ })) : (D(), o("span", Gl)),
8760
8765
  s("input", {
8761
8766
  type: "checkbox",
8762
8767
  class: "pv-checkbox",
8763
8768
  checked: d(e.value),
8764
8769
  disabled: !d(e.value) && h.value,
8765
8770
  onChange: (t) => f(e.value, t.target.checked)
8766
- }, null, 40, Ul),
8767
- s("span", Wl, F(e.label), 1),
8768
- d(e.value) ? (D(), o("sup", Gl, F(n + 1), 1)) : a("", !0)
8769
- ], 2)], 8, Vl))], 64))), 128)), h.value ? (D(), o("p", Kl, " Supports " + F(e.rowGroupLimit) + " compare levels ", 1)) : a("", !0)]),
8771
+ }, null, 40, Kl),
8772
+ s("span", ql, F(e.label), 1),
8773
+ d(e.value) ? (D(), o("sup", Jl, F(n + 1), 1)) : a("", !0)
8774
+ ], 2)], 8, Wl))], 64))), 128)), h.value ? (D(), o("p", Yl, " Supports " + F(e.rowGroupLimit) + " compare levels ", 1)) : a("", !0)]),
8770
8775
  _: 1
8771
8776
  }, 8, ["class"]));
8772
8777
  }
8773
- }), Jl = {}, Yl = { class: "ag-custom-loading-cell pv-shimmer" };
8774
- function Xl(e, t) {
8775
- return D(), o("div", Yl);
8778
+ }), Zl = {}, Ql = { class: "ag-custom-loading-cell pv-shimmer" };
8779
+ function $l(e, t) {
8780
+ return D(), o("div", Ql);
8776
8781
  }
8777
- var Zl = /* @__PURE__ */ Qt(Jl, [["render", Xl]]), Ql = ["innerHTML"], $l = { key: 2 }, eu = /* @__PURE__ */ d({
8782
+ var eu = /* @__PURE__ */ Qt(Zl, [["render", $l]]), tu = ["innerHTML"], nu = { key: 2 }, ru = /* @__PURE__ */ d({
8778
8783
  __name: "ColDefCellRenderer",
8779
8784
  props: {
8780
8785
  colDef: {},
@@ -8788,9 +8793,9 @@ var Zl = /* @__PURE__ */ Qt(Jl, [["render", Xl]]), Ql = ["innerHTML"], $l = { ke
8788
8793
  }, null, 8, ["params"])) : a.value === "function" && typeof c.value == "string" ? (D(), o("span", {
8789
8794
  key: 1,
8790
8795
  innerHTML: c.value
8791
- }, null, 8, Ql)) : a.value === "string" ? (D(), o("span", $l, F(s.value), 1)) : j(t.$slots, "default", { key: 3 });
8796
+ }, null, 8, tu)) : a.value === "string" ? (D(), o("span", nu, F(s.value), 1)) : j(t.$slots, "default", { key: 3 });
8792
8797
  }
8793
- }), tu = (e = null, t = !1) => {
8798
+ }), iu = (e = null, t = !1) => {
8794
8799
  let n = k(e?.focuses || []), i = k(e?.focusType || null), a = e?.focusRequired ?? !1, o = r(() => n.value), s = r(() => i.value), c = (e) => {
8795
8800
  e !== i.value && (i.value = e || null, n.value = []);
8796
8801
  }, l = (e) => {
@@ -8814,21 +8819,21 @@ var Zl = /* @__PURE__ */ Qt(Jl, [["render", Xl]]), Ql = ["innerHTML"], $l = { ke
8814
8819
  setFocuses: l,
8815
8820
  canRemoveFocus: () => a ? n.value.length > 1 : !0
8816
8821
  };
8817
- }, nu = () => m(pl, null) || tu(), ru = { class: "pv-table-group-cell" }, iu = { class: "pv-text-body-xxs pv-text-subdued" }, au = { key: 0 }, ou = { style: { "line-height": "20px" } }, su = { class: "pv-text-title-md" }, cu = {
8822
+ }, au = () => m(gl, null) || iu(), ou = { class: "pv-table-group-cell" }, su = { class: "pv-text-body-xxs pv-text-subdued" }, cu = { key: 0 }, lu = { style: { "line-height": "20px" } }, uu = { class: "pv-text-title-md" }, du = {
8818
8823
  key: 0,
8819
8824
  class: "pv-flex",
8820
8825
  style: {
8821
8826
  flex: "1",
8822
8827
  "--flex-justify": "flex-end"
8823
8828
  }
8824
- }, lu = {
8829
+ }, fu = {
8825
8830
  key: 0,
8826
8831
  class: "pv-table-row-number"
8827
- }, uu = /* @__PURE__ */ d({
8832
+ }, pu = /* @__PURE__ */ d({
8828
8833
  __name: "GroupedCellRenderer",
8829
8834
  props: { params: {} },
8830
8835
  setup(e) {
8831
- let n = e, i = m(bl, k([])), c = m(xl, k(null)), d = m(Sl, k({})), f = q(n.params, "rowNode"), p = r(() => !n.params.displayBaseAggregationsOnly || f.value.level === i.value.length - 1), h = r(() => n.params.rowNode.group), g = r(() => {
8836
+ let n = e, i = m(Cl, k([])), c = m(wl, k(null)), d = m(Tl, k({})), f = q(n.params, "rowNode"), p = r(() => !n.params.displayBaseAggregationsOnly || f.value.level === i.value.length - 1), h = r(() => n.params.rowNode.group), g = r(() => {
8832
8837
  let e = f.value.data;
8833
8838
  if (e?.bucketMin !== void 0 && e?.bucketMax !== void 0) {
8834
8839
  let t = f.value.rowGroupColumn?.getColDef()?.valueFormatter;
@@ -8850,7 +8855,7 @@ var Zl = /* @__PURE__ */ Qt(Jl, [["render", Xl]]), Ql = ["innerHTML"], $l = { ke
8850
8855
  }), S = (e) => {
8851
8856
  let t = e.node.expanded, n = e.node.rowIndex;
8852
8857
  n != null && (d.value[n] = t);
8853
- }, { isFocused: w, computedFocuses: E, removeFocus: O, canRemoveFocus: A } = nu(), j = r(() => w(f.value.key, f.value.field) ? "pv-flex" : ""), M = r(() => {
8858
+ }, { isFocused: w, computedFocuses: E, removeFocus: O, canRemoveFocus: A } = au(), j = r(() => w(f.value.key, f.value.field) ? "pv-flex" : ""), M = r(() => {
8854
8859
  let e = E.value;
8855
8860
  return f.value.key && e.includes(f.value.key);
8856
8861
  });
@@ -8865,7 +8870,7 @@ var Zl = /* @__PURE__ */ Qt(Jl, [["render", Xl]]), Ql = ["innerHTML"], $l = { ke
8865
8870
  }), (n, r) => (D(), o(t, null, [h.value ? (D(), o("div", {
8866
8871
  key: 0,
8867
8872
  class: y(j.value)
8868
- }, [s("div", ru, [s("p", iu, [l(F(I(f).rowGroupColumn?.getColDef().headerName) + " ", 1), e.params.displayCount && p.value && b.value > 0 ? (D(), o("span", au, " (" + F(b.value.toLocaleString()) + ") ", 1)) : a("", !0)]), s("div", ou, [s("p", su, F(g.value), 1)])]), M.value && I(A)() ? (D(), o("div", cu, [u(ga, {
8873
+ }, [s("div", ou, [s("p", su, [l(F(I(f).rowGroupColumn?.getColDef().headerName) + " ", 1), e.params.displayCount && p.value && b.value > 0 ? (D(), o("span", cu, " (" + F(b.value.toLocaleString()) + ") ", 1)) : a("", !0)]), s("div", lu, [s("p", uu, F(g.value), 1)])]), M.value && I(A)() ? (D(), o("div", du, [u(ga, {
8869
8874
  variant: "dark",
8870
8875
  tooltipPosition: "center-left",
8871
8876
  size: "sm"
@@ -8879,9 +8884,9 @@ var Zl = /* @__PURE__ */ Qt(Jl, [["render", Xl]]), Ql = ["innerHTML"], $l = { ke
8879
8884
  }, null, 8, ["class"])]),
8880
8885
  "tooltip-content": U(() => [s("span", null, " Remove " + F(e.params.focusText || "Focus"), 1)]),
8881
8886
  _: 1
8882
- })])) : a("", !0)], 2)) : a("", !0), s("div", null, [s("p", null, [e.params.displayRowNumber && x.value ? (D(), o("span", lu, F(x.value), 1)) : a("", !0), l(" " + F(v.value), 1)])])], 64));
8887
+ })])) : a("", !0)], 2)) : a("", !0), s("div", null, [s("p", null, [e.params.displayRowNumber && x.value ? (D(), o("span", fu, F(x.value), 1)) : a("", !0), l(" " + F(v.value), 1)])])], 64));
8883
8888
  }
8884
- }), du = {
8889
+ }), mu = {
8885
8890
  key: 1,
8886
8891
  class: "pv-table-child-cell",
8887
8892
  style: {
@@ -8890,7 +8895,7 @@ var Zl = /* @__PURE__ */ Qt(Jl, [["render", Xl]]), Ql = ["innerHTML"], $l = { ke
8890
8895
  width: "100%",
8891
8896
  height: "100%"
8892
8897
  }
8893
- }, fu = {
8898
+ }, hu = {
8894
8899
  key: 0,
8895
8900
  class: "pv-table-row-number",
8896
8901
  style: {
@@ -8898,11 +8903,11 @@ var Zl = /* @__PURE__ */ Qt(Jl, [["render", Xl]]), Ql = ["innerHTML"], $l = { ke
8898
8903
  "text-align": "center",
8899
8904
  color: "#89989b"
8900
8905
  }
8901
- }, pu = /* @__PURE__ */ d({
8906
+ }, gu = /* @__PURE__ */ d({
8902
8907
  __name: "AutoGroupColDefRenderer",
8903
8908
  props: { params: {} },
8904
8909
  setup(e) {
8905
- let t = e, n = m(xl, k(null)), s = r(() => t.params.rowNode.group), c = r(() => {
8910
+ let t = e, n = m(wl, k(null)), s = r(() => t.params.rowNode.group), c = r(() => {
8906
8911
  let e = t.params.rowNode.rowIndex, n = t.params.rowNode.parent?.rowIndex;
8907
8912
  return e != null && n != null ? e - n : null;
8908
8913
  }), l = r(() => ({
@@ -8927,36 +8932,36 @@ var Zl = /* @__PURE__ */ Qt(Jl, [["render", Xl]]), Ql = ["innerHTML"], $l = { ke
8927
8932
  valueFormatted: c
8928
8933
  };
8929
8934
  });
8930
- return (t, n) => s.value ? (D(), i(eu, {
8935
+ return (t, n) => s.value ? (D(), i(ru, {
8931
8936
  key: 0,
8932
8937
  "col-def": d.value,
8933
8938
  "cell-params": e.params.cellParams
8934
8939
  }, {
8935
- default: U(() => [u(uu, { params: e.params }, null, 8, ["params"])]),
8940
+ default: U(() => [u(pu, { params: e.params }, null, 8, ["params"])]),
8936
8941
  _: 1
8937
- }, 8, ["col-def", "cell-params"])) : (D(), o("div", du, [e.params.displayRowNumber && c.value ? (D(), o("span", fu, F(c.value), 1)) : a("", !0), u(eu, {
8942
+ }, 8, ["col-def", "cell-params"])) : (D(), o("div", mu, [e.params.displayRowNumber && c.value ? (D(), o("span", hu, F(c.value), 1)) : a("", !0), u(ru, {
8938
8943
  "col-def": f.value,
8939
8944
  "cell-params": p.value
8940
8945
  }, {
8941
- default: U(() => [u(uu, { params: l.value }, null, 8, ["params"])]),
8946
+ default: U(() => [u(pu, { params: l.value }, null, 8, ["params"])]),
8942
8947
  _: 1
8943
8948
  }, 8, ["col-def", "cell-params"])]));
8944
8949
  }
8945
8950
  });
8946
8951
  //#endregion
8947
8952
  //#region src/functions/aggregations.ts
8948
- function mu(e) {
8953
+ function _u(e) {
8949
8954
  let t = e.filter((e) => e != null && !isNaN(e)).sort((e, t) => e - t), n = t.length;
8950
8955
  return n === 0 ? null : t[Math.floor(n / 2)];
8951
8956
  }
8952
8957
  //#endregion
8953
8958
  //#region src/components/tables/PvDataTable/table-components/GroupAggCellRenderer.vue?vue&type=script&setup=true&lang.ts
8954
- var hu = { style: { "line-height": "20px" } }, gu = { class: "pv-text-subdued pv-text-body-xxs pv-relative" }, _u = /* @__PURE__ */ d({
8959
+ var vu = { style: { "line-height": "20px" } }, yu = { class: "pv-text-subdued pv-text-body-xxs pv-relative" }, bu = /* @__PURE__ */ d({
8955
8960
  __name: "GroupAggCellRenderer",
8956
8961
  props: { params: {} },
8957
8962
  setup(e) {
8958
- let t = e, n = m(Sl, k({})), i = r(() => {
8959
- let e = t.params.column?.getColDef(), n = Ko(e);
8963
+ let t = e, n = m(Tl, k({})), i = r(() => {
8964
+ let e = t.params.column?.getColDef(), n = Jo(e);
8960
8965
  if (n.aggFuncDisplayName) return n.aggFuncDisplayName;
8961
8966
  let r = t.params.column?.getAggFunc() || "agg";
8962
8967
  return n.aggFuncDisplayNameMap?.[r] ? n.aggFuncDisplayNameMap[r] : r.toLowerCase();
@@ -8969,9 +8974,9 @@ var hu = { style: { "line-height": "20px" } }, gu = { class: "pv-text-subdued pv
8969
8974
  }, c = r(() => t.params.node?.rowIndex), l = r(() => {
8970
8975
  let e = !1;
8971
8976
  return c.value != null && (e = c.value in n.value ? n.value[c.value] : !1), e;
8972
- }), u = r(() => Xo(t.params.column?.getColDef())), d = r(() => {
8977
+ }), u = r(() => Qo(t.params.column?.getColDef())), d = r(() => {
8973
8978
  let e = t.params.column?.getColDef(), n = t.params.valueFormatted || t.params.value || "";
8974
- return e && Xo(e) ? n.toLocaleString() : n;
8979
+ return e && Qo(e) ? n.toLocaleString() : n;
8975
8980
  }), f = r(() => ({
8976
8981
  "flex-direction": u.value ? "row-reverse" : "row",
8977
8982
  "--flex-justify": "space-between"
@@ -8982,20 +8987,20 @@ var hu = { style: { "line-height": "20px" } }, gu = { class: "pv-text-subdued pv
8982
8987
  style: x(f.value),
8983
8988
  class: "pv-flex",
8984
8989
  ondblclick: a
8985
- }, [s("div", hu, [s("p", null, F(d.value), 1), s("p", gu, F(i.value), 1)])], 4));
8990
+ }, [s("div", vu, [s("p", null, F(d.value), 1), s("p", yu, F(i.value), 1)])], 4));
8986
8991
  }
8987
- }), vu = {
8992
+ }), xu = {
8988
8993
  agSetColumnFilter: "set",
8989
8994
  agMultiColumnFilter: "multi",
8990
8995
  agTextColumnFilter: "text"
8991
- }, yu = (e) => !e || !e.filter ? null : e.filter in vu ? vu[e.filter] : null, bu = (e) => e.filterParams?.filters?.findIndex((e) => e.filter === "agSetColumnFilter"), xu = (e, t) => {
8996
+ }, Su = (e) => !e || !e.filter ? null : e.filter in xu ? xu[e.filter] : null, Cu = (e) => e.filterParams?.filters?.findIndex((e) => e.filter === "agSetColumnFilter"), wu = (e, t) => {
8992
8997
  if (!t || !t.field || !e || Object.keys(e).length === 0) return e;
8993
- let n = e?.filterType || null, r = yu(t);
8998
+ let n = e?.filterType || null, r = Su(t);
8994
8999
  if (!r || r === n) return e;
8995
9000
  if (r !== "multi") return console.warn(`Cannot map filter for column ${t.field} with type ${n} to col def ${r}`), {};
8996
9001
  let i = t.filterParams?.filters?.length, a = Array(i).fill(null);
8997
9002
  if (e.filterType == "set") {
8998
- let n = e.values || [], r = bu(t);
9003
+ let n = e.values || [], r = Cu(t);
8999
9004
  r > -1 && r < a.length && (a[r] = {
9000
9005
  filterType: "set",
9001
9006
  values: n
@@ -9005,7 +9010,7 @@ var hu = { style: { "line-height": "20px" } }, gu = { class: "pv-text-subdued pv
9005
9010
  filterType: "multi",
9006
9011
  filterModels: a
9007
9012
  };
9008
- }, Su = (e, t) => {
9013
+ }, Tu = (e, t) => {
9009
9014
  let n = t.filter((e) => e !== null && e !== "");
9010
9015
  return n.length === 0 ? null : n.length === 1 ? {
9011
9016
  filterType: "text",
@@ -9022,18 +9027,18 @@ var hu = { style: { "line-height": "20px" } }, gu = { class: "pv-text-subdued pv
9022
9027
  filter: t
9023
9028
  }))
9024
9029
  };
9025
- }, Cu = (e) => {
9030
+ }, Eu = (e) => {
9026
9031
  let t = [];
9027
9032
  return Object.keys(e).forEach((n) => {
9028
9033
  let r = e[n];
9029
9034
  if (r) {
9030
9035
  if (r.filterType === "set" && r.values) {
9031
- let e = Su(n, r.values);
9036
+ let e = Tu(n, r.values);
9032
9037
  e && t.push(e);
9033
9038
  } else if (r.filterType === "multi" && r.filterModels) {
9034
9039
  let e = r.filterModels.find((e) => e && e.filterType === "set");
9035
9040
  if (e?.values) {
9036
- let r = Su(n, e.values);
9041
+ let r = Tu(n, e.values);
9037
9042
  r && t.push(r);
9038
9043
  }
9039
9044
  }
@@ -9043,11 +9048,11 @@ var hu = { style: { "line-height": "20px" } }, gu = { class: "pv-text-subdued pv
9043
9048
  type: "AND",
9044
9049
  conditions: t
9045
9050
  };
9046
- }, wu = (e, t, n = !1) => {
9051
+ }, Du = (e, t, n = !1) => {
9047
9052
  if (!e) return e;
9048
9053
  let r = { ...e }, i = r.filter?.filterModel || {};
9049
9054
  if (n) {
9050
- let t = e?.filter?.advancedFilterModel, n = Cu(i), a = t || null, o = null;
9055
+ let t = e?.filter?.advancedFilterModel, n = Eu(i), a = t || null, o = null;
9051
9056
  return o = a && n ? {
9052
9057
  filterType: "join",
9053
9058
  type: "AND",
@@ -9060,12 +9065,12 @@ var hu = { style: { "line-height": "20px" } }, gu = { class: "pv-text-subdued pv
9060
9065
  }
9061
9066
  let a = {};
9062
9067
  return Object.keys(i).forEach((e) => {
9063
- a[e] = xu(i[e] || {}, t.find((t) => t.field === e));
9068
+ a[e] = wu(i[e] || {}, t.find((t) => t.field === e));
9064
9069
  }), r.filter = {
9065
9070
  ...r.filter,
9066
9071
  filterModel: a
9067
9072
  }, r;
9068
- }, Tu = (e) => {
9073
+ }, Ou = (e) => {
9069
9074
  if (!e || e.queryTerms.length === 0) return {};
9070
9075
  let t = {};
9071
9076
  return e.queryTerms.forEach((e) => {
@@ -9097,7 +9102,7 @@ var hu = { style: { "line-height": "20px" } }, gu = { class: "pv-text-subdued pv
9097
9102
  };
9098
9103
  }
9099
9104
  }), t;
9100
- }, Eu = (e) => {
9105
+ }, ku = (e) => {
9101
9106
  if (!e || e.queryTerms.length === 0) return null;
9102
9107
  let t = /* @__PURE__ */ new Map();
9103
9108
  e.queryTerms.forEach((e) => {
@@ -9132,7 +9137,7 @@ var hu = { style: { "line-height": "20px" } }, gu = { class: "pv-text-subdued pv
9132
9137
  type: "AND",
9133
9138
  conditions: n
9134
9139
  };
9135
- }, Du = (e, t) => {
9140
+ }, Au = (e, t) => {
9136
9141
  if (!e || e.filter == "agTextColumnFilter" && t.filterType == "text" || e.filter == "agSetColumnFilter" && t.filterType == "set" || e.filter == "agMultiColumnFilter" && t.filterType == "multi") return t;
9137
9142
  if (e.filter != "agMultiColumnFilter") return console.error("Unsupported filter type for column", e, t), t;
9138
9143
  let n = e.filterParams?.filters || [], r = Array(n.length).fill(null), i = n.findIndex((e) => e.filter == "agTextColumnFilter" && t.filterType == "text" ? !0 : e.filter == "agSetColumnFilter" && t.filterType == "set");
@@ -9140,26 +9145,26 @@ var hu = { style: { "line-height": "20px" } }, gu = { class: "pv-text-subdued pv
9140
9145
  filterType: "multi",
9141
9146
  filterModels: r
9142
9147
  };
9143
- }, Ou = (e, t) => {
9148
+ }, ju = (e, t) => {
9144
9149
  if (!e || Object.keys(e).length === 0) return t;
9145
9150
  if (e.filterType != t.filterType || e.filterType != "multi") return e;
9146
9151
  let n = { ...e };
9147
9152
  return t.filterModels?.forEach((e, t) => {
9148
9153
  n.filterModels ||= [], n.filterModels[t] || (n.filterModels[t] = e);
9149
9154
  }), n;
9150
- }, ku = (e, t) => e ? "filterType" in e ? e.filterType === "join" ? e.conditions.some((e) => ku(e, t)) : e.colId === t : t in e : !1, Au = (e, t, n) => {
9155
+ }, Mu = (e, t) => e ? "filterType" in e ? e.filterType === "join" ? e.conditions.some((e) => Mu(e, t)) : e.colId === t : t in e : !1, Nu = (e, t, n) => {
9151
9156
  let r = { ...t };
9152
9157
  return !t || Object.keys(t).length === 0 ? n || {} : (!n || Object.keys(n).length === 0 || Object.keys(n).forEach((t) => {
9153
- let i = Du(e.find((e) => e.field === t), n[t]), a = r[t];
9154
- r[t] = Ou(a, i);
9158
+ let i = Au(e.find((e) => e.field === t), n[t]), a = r[t];
9159
+ r[t] = ju(a, i);
9155
9160
  }), r);
9156
- }, ju = (e) => e.filter == "agSetColumnFilter" ? !0 : e.filter == "agMultiColumnFilter" ? bu(e) !== void 0 && bu(e) > -1 : !1, Mu = (e, t) => {
9161
+ }, Pu = (e) => e.filter == "agSetColumnFilter" ? !0 : e.filter == "agMultiColumnFilter" ? Cu(e) !== void 0 && Cu(e) > -1 : !1, Fu = (e, t) => {
9157
9162
  let n = { ...e };
9158
9163
  if (n.filter == "agSetColumnFilter") return n.filterParams = {
9159
9164
  ...n.filterParams,
9160
9165
  values: t
9161
9166
  }, n;
9162
- let r = bu(e);
9167
+ let r = Cu(e);
9163
9168
  if (r !== void 0 && r > -1) {
9164
9169
  let e = n.filterParams || {}, i = e.filters || [], a = i[r];
9165
9170
  a.filterParams = {
@@ -9173,13 +9178,13 @@ var hu = { style: { "line-height": "20px" } }, gu = { class: "pv-text-subdued pv
9173
9178
  };
9174
9179
  }
9175
9180
  return n;
9176
- }, Nu = async (e, t) => {
9181
+ }, Iu = async (e, t) => {
9177
9182
  let n = t.field || "", r = await e.getColumnFilterInstance(n);
9178
9183
  if (r?.filterType == "set") return r;
9179
9184
  if (r?.filterType != "multi") return null;
9180
- let i = bu(t);
9185
+ let i = Cu(t);
9181
9186
  return i !== void 0 && i > -1 ? r.getChildFilterInstance(i) : null;
9182
- }, Pu = async (e, t, n) => {
9187
+ }, Lu = async (e, t, n) => {
9183
9188
  let r = t.field || "", i = await e.getColumnFilterInstance(r);
9184
9189
  if (i?.filterType == "set") return !n || n.length === 0 ? null : { values: n };
9185
9190
  if (i?.filterType != "multi") return null;
@@ -9188,50 +9193,50 @@ var hu = { style: { "line-height": "20px" } }, gu = { class: "pv-text-subdued pv
9188
9193
  filterType: "multi",
9189
9194
  filterModels: Array(t.filterParams?.filters?.length).fill(null)
9190
9195
  };
9191
- let o = bu(t), s = !n || n.length === 0 ? null : {
9196
+ let o = Cu(t), s = !n || n.length === 0 ? null : {
9192
9197
  filterType: "set",
9193
9198
  values: n
9194
9199
  };
9195
9200
  return o !== void 0 && o > -1 && a && a.filterModels && (a.filterModels[o] = s), a;
9196
- }, Fu = (e, t) => {
9201
+ }, Ru = (e, t) => {
9197
9202
  if (!e.field || !t || Object.entries(t).length === 0) return [];
9198
9203
  let n = t[e.field];
9199
9204
  if (!n) return [];
9200
9205
  if (n.filterType === "set" && "values" in n) return n.values || [];
9201
9206
  if (n.filterType === "multi") {
9202
- let t = bu(e);
9207
+ let t = Cu(e);
9203
9208
  if (t !== void 0 && t > -1) {
9204
9209
  let e = n.filterModels[t];
9205
9210
  if (e && e.filterType === "set" && "values" in e) return e.values || [];
9206
9211
  }
9207
9212
  }
9208
9213
  return [];
9209
- }, Iu = (e) => !!e && "filterType" in e, Lu = (e) => e.filterType === "join" ? e.conditions.some(Lu) : "colId" in e, Ru = (e) => e ? Iu(e) ? !Lu(e) : Object.keys(e).length === 0 : !0, zu = (e) => {
9214
+ }, zu = (e) => !!e && "filterType" in e, Bu = (e) => e.filterType === "join" ? e.conditions.some(Bu) : "colId" in e, Vu = (e) => e ? zu(e) ? !Bu(e) : Object.keys(e).length === 0 : !0, Hu = (e) => {
9210
9215
  if (e === void 0) return "undefined";
9211
9216
  if (typeof e != "object" || !e) return JSON.stringify(e) ?? String(e);
9212
- if (Array.isArray(e)) return `[${e.map(zu).join(",")}]`;
9217
+ if (Array.isArray(e)) return `[${e.map(Hu).join(",")}]`;
9213
9218
  let t = e;
9214
- return `{${Object.keys(t).sort().map((e) => `${JSON.stringify(e)}:${zu(t[e])}`).join(",")}}`;
9215
- }, Bu = (e) => {
9219
+ return `{${Object.keys(t).sort().map((e) => `${JSON.stringify(e)}:${Hu(t[e])}`).join(",")}}`;
9220
+ }, Uu = (e) => {
9216
9221
  if (e.filterType !== "join") return e;
9217
- let t = e, n = [...t.conditions ?? []].map(Bu).sort((e, t) => zu(e).localeCompare(zu(t)));
9222
+ let t = e, n = [...t.conditions ?? []].map(Uu).sort((e, t) => Hu(e).localeCompare(Hu(t)));
9218
9223
  return {
9219
9224
  ...t,
9220
9225
  conditions: n
9221
9226
  };
9222
- }, Vu = (e, t) => {
9223
- if (Ru(e) && Ru(t)) return !0;
9224
- let n = Iu(e);
9225
- if (n !== Iu(t)) return !1;
9226
- if (n) return rt(Bu(e), Bu(t));
9227
+ }, Wu = (e, t) => {
9228
+ if (Vu(e) && Vu(t)) return !0;
9229
+ let n = zu(e);
9230
+ if (n !== zu(t)) return !1;
9231
+ if (n) return rt(Uu(e), Uu(t));
9227
9232
  let r = e, i = t, a = r ? Object.keys(r) : [], o = i ? Object.keys(i) : [];
9228
9233
  if (a.length !== o.length) return !1;
9229
9234
  for (let e of a) if (!rt(r?.[e], i?.[e])) return !1;
9230
9235
  return !0;
9231
- }, Hu = (e, t, n) => {
9232
- if (!t) return Uu(e, n);
9236
+ }, Gu = (e, t, n) => {
9237
+ if (!t) return Ku(e, n);
9233
9238
  if (!e) return t;
9234
- let r = Uu(e, n);
9239
+ let r = Ku(e, n);
9235
9240
  return r ? r.filterType === "join" && r.type === "AND" ? {
9236
9241
  filterType: "join",
9237
9242
  type: "AND",
@@ -9241,53 +9246,53 @@ var hu = { style: { "line-height": "20px" } }, gu = { class: "pv-text-subdued pv
9241
9246
  type: "AND",
9242
9247
  conditions: [r, t]
9243
9248
  } : t;
9244
- }, Uu = (e, t) => {
9249
+ }, Ku = (e, t) => {
9245
9250
  if (!e) return null;
9246
9251
  if (e.filterType !== "join") return e.colId === t ? null : e;
9247
- let n = e, r = n.conditions.map((e) => Uu(e, t)).filter((e) => e !== null);
9252
+ let n = e, r = n.conditions.map((e) => Ku(e, t)).filter((e) => e !== null);
9248
9253
  return r.length === 0 ? null : r.length === 1 ? r[0] : {
9249
9254
  filterType: "join",
9250
9255
  type: n.type,
9251
9256
  conditions: r
9252
9257
  };
9253
- }, Wu = (e, t) => {
9258
+ }, qu = (e, t) => {
9254
9259
  if (!t) return [];
9255
9260
  if (t.filterType !== "join") {
9256
9261
  let n = t;
9257
9262
  return n.colId === e && n.type === "equals" && n.filter ? [String(n.filter)] : [];
9258
9263
  }
9259
9264
  let n = t, r = [];
9260
- for (let t of n.conditions) r.push(...Wu(e, t));
9265
+ for (let t of n.conditions) r.push(...qu(e, t));
9261
9266
  return r;
9262
- }, Gu = (e, t) => {
9267
+ }, Ju = (e, t) => {
9263
9268
  if (!e || !t || Object.keys(t).length === 0) return [];
9264
9269
  let n = t[e];
9265
9270
  return n ? n.filterType === "set" && "values" in n ? n.values || [] : n.filterType === "multi" && n.filterModels ? n.filterModels.find((e) => e?.filterType === "set")?.values ?? [] : [] : [];
9266
- }, Ku = (e, t) => {
9271
+ }, Yu = (e, t) => {
9267
9272
  if (!e) return null;
9268
- if (Iu(e)) {
9269
- let n = Wu(t, e);
9273
+ if (zu(e)) {
9274
+ let n = qu(t, e);
9270
9275
  return n.length > 0 ? n : null;
9271
9276
  }
9272
- let n = Gu(t, e);
9277
+ let n = Ju(t, e);
9273
9278
  return n.length > 0 ? n : null;
9274
- }, qu = (e, t) => {
9279
+ }, Xu = (e, t) => {
9275
9280
  if (!e) return e;
9276
- if (Iu(e)) return Uu(e, t);
9281
+ if (zu(e)) return Ku(e, t);
9277
9282
  let n = { ...e };
9278
9283
  return delete n[t], n;
9279
- }, Ju = (e, t, n, r) => {
9280
- if (Iu(e) || !e && r) {
9281
- let r = Su(t, n);
9282
- return Hu(e ?? null, r, t);
9284
+ }, Zu = (e, t, n, r) => {
9285
+ if (zu(e) || !e && r) {
9286
+ let r = Tu(t, n);
9287
+ return Gu(e ?? null, r, t);
9283
9288
  }
9284
9289
  let i = { ...e || {} };
9285
9290
  return i[t] = {
9286
9291
  filterType: "set",
9287
9292
  values: n
9288
9293
  }, i;
9289
- }, Yu = (e, t, n, r) => {
9290
- if (Iu(e) || !e && r) return Ju(e, t, n, r);
9294
+ }, Qu = (e, t, n, r) => {
9295
+ if (zu(e) || !e && r) return Zu(e, t, n, r);
9291
9296
  let i = { ...e || {} }, a = i[t];
9292
9297
  if (a?.filterType === "multi" && a?.filterModels) {
9293
9298
  let e = a.filterModels.map((e) => e?.filterType === "set" ? {
@@ -9303,11 +9308,11 @@ var hu = { style: { "line-height": "20px" } }, gu = { class: "pv-text-subdued pv
9303
9308
  values: n
9304
9309
  };
9305
9310
  return i;
9306
- }, Xu = (e, t, n, r) => {
9307
- let i = (Ku(e, t) ?? []).filter((e) => e !== n);
9308
- return i.length === 0 ? qu(e, t) : Yu(e, t, i, r);
9309
- }, Zu = (e) => !!(e && "filterType" in e), Qu = (e) => !!(e && !Zu(e)), $u = (e) => !!(e && !Zu(e)), ed = () => {
9310
- let e = Jc(), t = P(null), n = e.filterModel, i = e.stagedFilterModel, a = k(null), o = k({}), s = k({}), c = e.filterRequestIdMap, l = k(0), u = e.filterLoadingMap, d = k(void 0), f = e.filterHasMoreMap, p = e.filterTotalCountMap, m = k(void 0), h = (t) => ({
9311
+ }, $u = (e, t, n, r) => {
9312
+ let i = (Yu(e, t) ?? []).filter((e) => e !== n);
9313
+ return i.length === 0 ? Xu(e, t) : Qu(e, t, i, r);
9314
+ }, ed = (e) => !!(e && "filterType" in e), td = (e) => !!(e && !ed(e)), nd = (e) => !!(e && !ed(e)), rd = () => {
9315
+ let e = Zc(), t = P(null), n = e.filterModel, i = e.stagedFilterModel, a = k(null), o = k({}), s = k({}), c = e.filterRequestIdMap, l = k(0), u = e.filterLoadingMap, d = k(void 0), f = e.filterHasMoreMap, p = e.filterTotalCountMap, m = k(void 0), h = (t) => ({
9311
9316
  hasMore: e.filterHasMoreMap.value[t],
9312
9317
  totalCount: e.filterTotalCountMap.value[t],
9313
9318
  values: e.filterOptionsMap.value[t] ?? []
@@ -9322,7 +9327,7 @@ var hu = { style: { "line-height": "20px" } }, gu = { class: "pv-text-subdued pv
9322
9327
  });
9323
9328
  let g = r(() => d.value != null), _ = r(() => {
9324
9329
  let e = n.value;
9325
- return e ? Zu(e) ? !Lu(e) : Object.keys(e).length === 0 : !0;
9330
+ return e ? ed(e) ? !Bu(e) : Object.keys(e).length === 0 : !0;
9326
9331
  }), v = r(() => {
9327
9332
  let e = a.value || {};
9328
9333
  return Object.keys(e).length === 0;
@@ -9360,9 +9365,9 @@ var hu = { style: { "line-height": "20px" } }, gu = { class: "pv-text-subdued pv
9360
9365
  c.value[e] = (c.value[e] || 0) + 1;
9361
9366
  }, z = async (e, t) => {
9362
9367
  let r = S.value[e.field] || void 0, a = b.value[e.field] || [], o = t?.filterModel;
9363
- if (t?.useStaged !== !1 && i.value != null) if (Qu(i.value)) {
9368
+ if (t?.useStaged !== !1 && i.value != null) if (td(i.value)) {
9364
9369
  let e = t?.filterModel ?? n.value ?? void 0;
9365
- o = F(e && Qu(e) ? e : void 0);
9370
+ o = F(e && td(e) ? e : void 0);
9366
9371
  } else o = i.value;
9367
9372
  let l = {
9368
9373
  api: t?.api,
@@ -9430,7 +9435,7 @@ var hu = { style: { "line-height": "20px" } }, gu = { class: "pv-text-subdued pv
9430
9435
  return o(n);
9431
9436
  }, V = (e, t) => {
9432
9437
  if (!t) return {};
9433
- let n = Ko(e)?.queryColIds || [];
9438
+ let n = Jo(e)?.queryColIds || [];
9434
9439
  if (n.length === 0) return {};
9435
9440
  for (let r of n) {
9436
9441
  if (r === e.field) continue;
@@ -9444,7 +9449,7 @@ var hu = { style: { "line-height": "20px" } }, gu = { class: "pv-text-subdued pv
9444
9449
  }, te = (e, t) => {
9445
9450
  b.value[e] = t;
9446
9451
  let r = [], i = n.value;
9447
- if ($u(i)) {
9452
+ if (nd(i)) {
9448
9453
  let t = i[e];
9449
9454
  if (t?.values) {
9450
9455
  let e = t.values || [];
@@ -9461,7 +9466,7 @@ var hu = { style: { "line-height": "20px" } }, gu = { class: "pv-text-subdued pv
9461
9466
  let t = n.value;
9462
9467
  if (!t) return x.value;
9463
9468
  let r = e.map((e) => {
9464
- let n = e.field ?? e.colId ?? "", r = n ? Ku(t, n) : null;
9469
+ let n = e.field ?? e.colId ?? "", r = n ? Yu(t, n) : null;
9465
9470
  return r && r.length > 0 ? {
9466
9471
  colDef: e,
9467
9472
  colId: n,
@@ -9519,7 +9524,7 @@ var hu = { style: { "line-height": "20px" } }, gu = { class: "pv-text-subdued pv
9519
9524
  }, ve = (e) => t.value?.refreshData(e), ye = (e) => {
9520
9525
  let t = /* @__PURE__ */ new Map();
9521
9526
  if (!e) return t;
9522
- if (Zu(e)) {
9527
+ if (ed(e)) {
9523
9528
  let n = (e) => {
9524
9529
  if (e.filterType === "join") {
9525
9530
  e.conditions.forEach(n);
@@ -9606,14 +9611,14 @@ var hu = { style: { "line-height": "20px" } }, gu = { class: "pv-text-subdued pv
9606
9611
  filterValuesHasMoreMap: f,
9607
9612
  filterValuesTotalCountMap: p
9608
9613
  };
9609
- }, td = ed, nd = (e) => {
9610
- O(fl, e);
9611
- }, rd = () => m(fl, null) || ed(), id = () => {
9612
- let e = m(fl, null);
9614
+ }, id = rd, ad = (e) => {
9615
+ O(hl, e);
9616
+ }, od = () => m(hl, null) || rd(), sd = () => {
9617
+ let e = m(hl, null);
9613
9618
  if (!e) throw Error("No PvDataTable filter store was provided. Create one with createPvDataTableFilterStore() and pass it to PvDataTable/PvDataTableWithChart or provide it with providePvDataTableFilterStore().");
9614
9619
  return e;
9615
- }, ad = (e) => {
9616
- let { filterColDef: t, filterStyle: n, onSelectionChanged: i, filterGroupStagedFields: a, readOnly: o, disableUnselected: s } = e, c = ll(), l = m(hl, k(null)), u = rd(), { fetchFilterValues: d, invalidateFilterRequest: f, filterModel: p, stagedFilterModel: h, filterModelCleared: g, filterValuesLoadingStatus: _, filterValueContext: y, getFilterSelectedValues: b, isServerSideFilter: x, setFilterValueSearchText: S, setFilterSelectedValues: C, getFilterValues: w, setFilterValues: D, filterStaleMap: O, refreshFiltersInBackground: A, stageFilterChangesUntilDropdownCloses: j, filterSearchMinLength: M, noteFilterModelChange: N, registerAggregateField: P, registerFilterField: F, unregisterFilterField: ee, getStagedSelectedValues: I, setStagedSelectedValues: L, filterValueSearchTextMap: R, filterValuesHasMoreMap: z, filterValuesTotalCountMap: B } = u, { computedFocuses: V, removeFocus: te, computedFocusType: ne } = nu(), re = m(wl, k(!1)), U = m(Cl, k(!1)), W = m(Ll, k(!1)), G = r({
9620
+ }, cd = (e) => {
9621
+ let { filterColDef: t, filterStyle: n, onSelectionChanged: i, filterGroupStagedFields: a, readOnly: o, disableUnselected: s } = e, c = fl(), l = m(vl, k(null)), u = od(), { fetchFilterValues: d, invalidateFilterRequest: f, filterModel: p, stagedFilterModel: h, filterModelCleared: g, filterValuesLoadingStatus: _, filterValueContext: y, getFilterSelectedValues: b, isServerSideFilter: x, setFilterValueSearchText: S, setFilterSelectedValues: C, getFilterValues: w, setFilterValues: D, filterStaleMap: O, refreshFiltersInBackground: A, stageFilterChangesUntilDropdownCloses: j, filterSearchMinLength: M, noteFilterModelChange: N, registerAggregateField: P, registerFilterField: F, unregisterFilterField: ee, getStagedSelectedValues: I, setStagedSelectedValues: L, filterValueSearchTextMap: R, filterValuesHasMoreMap: z, filterValuesTotalCountMap: B } = u, { computedFocuses: V, removeFocus: te, computedFocusType: ne } = au(), re = m(Dl, k(!1)), U = m(El, k(!1)), W = m(Bl, k(!1)), G = r({
9617
9622
  get: () => pe.value ? I(J.value) : b(J.value),
9618
9623
  set: (e) => {
9619
9624
  pe.value ? L(J.value, e) : C(J.value, e);
@@ -9625,13 +9630,13 @@ var hu = { style: { "line-height": "20px" } }, gu = { class: "pv-text-subdued pv
9625
9630
  return [...n, ...i];
9626
9631
  }
9627
9632
  return Re(e);
9628
- }), K = r(() => _.value[J.value] ?? !1), ae = r(() => A.value || Ko(t.value).prefetchFilterValues === !0), oe = r(() => (o?.value ?? !1) && (s?.value ?? !1) && G.value.length === 0 && Q.value.length === 0), se = r(() => o?.value ?? !1), q = r(() => se.value && (s?.value ?? !1)), ce = r({
9633
+ }), K = r(() => _.value[J.value] ?? !1), ae = r(() => A.value || Jo(t.value).prefetchFilterValues === !0), oe = r(() => (o?.value ?? !1) && (s?.value ?? !1) && G.value.length === 0 && Q.value.length === 0), se = r(() => o?.value ?? !1), q = r(() => se.value && (s?.value ?? !1)), ce = r({
9629
9634
  get: () => R.value[J.value] ?? "",
9630
9635
  set: (e) => S(J.value, e)
9631
- }), le = r(() => Ko(t.value).filterSearchMinLength ?? M.value), ue = r(() => {
9636
+ }), le = r(() => Jo(t.value).filterSearchMinLength ?? M.value), ue = r(() => {
9632
9637
  let e = le.value ?? 0, t = ce.value?.length ?? 0;
9633
9638
  return e > 0 && t > 0 && t < e;
9634
- }), J = r(() => t.value.field || ""), de = r(() => t.value.filter || ""), Y = r(() => t.value.headerName || ""), pe = r(() => n?.value === "vertical"), me = k(!1), he = k(!1), ge = k([]), _e = r(() => qo(t.value)), ve = r(() => Jo(t.value)), ye = r(() => Yo(t.value)), be = r(() => Ko(t.value).filterOptionsSortDescription), xe = r(() => Ko(t.value).filterOptionsSortTooltip), Se = r(() => !Ko(t.value).filterSearch), Ce = r(() => Ko(t.value).emptyFilterResultsRenderer), we = r(() => Ko(t.value).filterOptionsRenderer), Te = r(() => Ko(t.value).filterHeaderRenderer), Ee = r(() => Ko(t.value).filterFooterRenderer), De = r(() => ve.value ? G.value.length >= ve.value : !1), Oe = r(() => ie.value.filter((e) => e != null && !G.value.includes(e))), X = r(() => se.value ? void 0 : B.value[J.value]), ke = r(() => se.value ? !1 : z.value[J.value]), Z = r(() => es(t.value)), Ae = () => new Set([J.value, ...Qo(t.value)]), je = (e, t) => {
9639
+ }), J = r(() => t.value.field || ""), de = r(() => t.value.filter || ""), Y = r(() => t.value.headerName || ""), pe = r(() => n?.value === "vertical"), me = k(!1), he = k(!1), ge = k([]), _e = r(() => Yo(t.value)), ve = r(() => Xo(t.value)), ye = r(() => Zo(t.value)), be = r(() => Jo(t.value).filterOptionsSortDescription), xe = r(() => Jo(t.value).filterOptionsSortTooltip), Se = r(() => !Jo(t.value).filterSearch), Ce = r(() => Jo(t.value).emptyFilterResultsRenderer), we = r(() => Jo(t.value).filterOptionsRenderer), Te = r(() => Jo(t.value).filterHeaderRenderer), Ee = r(() => Jo(t.value).filterFooterRenderer), De = r(() => ve.value ? G.value.length >= ve.value : !1), Oe = r(() => ie.value.filter((e) => e != null && !G.value.includes(e))), X = r(() => se.value ? void 0 : B.value[J.value]), ke = r(() => se.value ? !1 : z.value[J.value]), Z = r(() => ns(t.value)), Ae = () => new Set([J.value, ...es(t.value)]), je = (e, t) => {
9635
9640
  let n = new Set(e), r = new Set(t);
9636
9641
  return n.size === r.size ? [...n].every((e) => r.has(e)) : !1;
9637
9642
  }, Q = k([]), Me = k("[]"), Ne = r(() => ie.value.length === 1 && ie.value[0] === null && G.value.length === 0), Pe = (e = !1) => {
@@ -9639,8 +9644,8 @@ var hu = { style: { "line-height": "20px" } }, gu = { class: "pv-text-subdued pv
9639
9644
  let n = [];
9640
9645
  if (W.value && l.value) {
9641
9646
  let e = l.value.getAdvancedFilterModel();
9642
- n = Wu(J.value, e);
9643
- } else n = Fu(t.value, p.value);
9647
+ n = qu(J.value, e);
9648
+ } else n = Ru(t.value, p.value);
9644
9649
  e ? G.value = n : G.value = Array.from(new Set([...b(J.value), ...n]));
9645
9650
  }, Fe = (e) => {
9646
9651
  let t = (n) => {
@@ -9668,7 +9673,7 @@ var hu = { style: { "line-height": "20px" } }, gu = { class: "pv-text-subdued pv
9668
9673
  }
9669
9674
  return;
9670
9675
  }
9671
- let s = await Nu(l.value, t.value);
9676
+ let s = await Iu(l.value, t.value);
9672
9677
  if (s) {
9673
9678
  if (x.value && o) {
9674
9679
  s.refreshFilterValues();
@@ -9681,7 +9686,7 @@ var hu = { style: { "line-height": "20px" } }, gu = { class: "pv-text-subdued pv
9681
9686
  return !t && Z.value && e && (t = at(e)), t;
9682
9687
  }, Ve = (e) => e?.field ?? e?.colField, He = (e) => e?.rawValue == null ? e?.metadata?.rawValue == null ? e ? Qe(e.value).value : null : e.metadata.rawValue : e.rawValue, Ue = (e, t) => t?.rawValue == null ? t?.metadata?.rawValue == null ? e : t.metadata.rawValue : t.rawValue, We = (e, t) => {
9683
9688
  if (!e || !t || e.label && e.rawValue == null && e.metadata?.rawValue == null) return e;
9684
- let n = (Ko(t).metadataDisplayFields || []).find((t) => e.metadata?.[t] != null);
9689
+ let n = (Jo(t).metadataDisplayFields || []).find((t) => e.metadata?.[t] != null);
9685
9690
  return n ? {
9686
9691
  ...e,
9687
9692
  label: String(e.metadata?.[n])
@@ -9690,7 +9695,7 @@ var hu = { style: { "line-height": "20px" } }, gu = { class: "pv-text-subdued pv
9690
9695
  let n = _e.value, r = t, i = Ve(t);
9691
9696
  if (i && Z.value) {
9692
9697
  let e = l.value?.getColumnDef(i);
9693
- n = e ? qo(e) ?? n : n, r = We(t, e ?? void 0);
9698
+ n = e ? Yo(e) ?? n : n, r = We(t, e ?? void 0);
9694
9699
  }
9695
9700
  return n ? n({
9696
9701
  value: Ue(e, r),
@@ -9699,27 +9704,27 @@ var hu = { style: { "line-height": "20px" } }, gu = { class: "pv-text-subdued pv
9699
9704
  }, Ke = (e) => Ge(e, Be(e)), qe = (e, n) => {
9700
9705
  if (e == null) return !1;
9701
9706
  if (Z.value) {
9702
- let t = n ?? Be(e), r = Ve(t) ?? Qe(e).field, i = Ko(r ? l.value?.getColumnDef(r) : void 0).metadataDisplayFields;
9707
+ let t = n ?? Be(e), r = Ve(t) ?? Qe(e).field, i = Jo(r ? l.value?.getColumnDef(r) : void 0).metadataDisplayFields;
9703
9708
  return i?.length ? t == null ? !0 : !i.some((e) => t.metadata?.[e] != null) : !1;
9704
9709
  }
9705
- if (!Ko(t.value).metadataDisplayFields?.length) return !1;
9710
+ if (!Jo(t.value).metadataDisplayFields?.length) return !1;
9706
9711
  let r = y(J.value, e);
9707
9712
  return r == null || r.label == null;
9708
- }, Je = (e) => Ne.value || y(J.value, e)?.isSelectable === !1 ? !0 : ye.value ? !1 : De.value && !G.value.includes(e), Ye = (e) => e ? l.value && l.value.getColumnDef(e)?.headerName || e : "", Xe = (e, n, r) => zc({
9713
+ }, Je = (e) => Ne.value || y(J.value, e)?.isSelectable === !1 ? !0 : ye.value ? !1 : De.value && !G.value.includes(e), Ye = (e) => e ? l.value && l.value.getColumnDef(e)?.headerName || e : "", Xe = (e, n, r) => Hc({
9709
9714
  fallbackSubText: n,
9710
9715
  getDisplayName: Ye,
9711
9716
  matchedField: e?.matchedField,
9712
9717
  matchedValue: e?.matchedValue ?? e?.menuOption?.searchText,
9713
9718
  primaryText: r,
9714
- showPrefix: Ko(t.value).showSearchMatchSubTextPrefix !== !1
9715
- }), Ze = r(() => Lc(J.value, Ko(t.value).queryColIds, (e) => e === J.value && Y.value || Ye(e))), Qe = (e) => {
9719
+ showPrefix: Jo(t.value).showSearchMatchSubTextPrefix !== !1
9720
+ }), Ze = r(() => Bc(J.value, Jo(t.value).queryColIds, (e) => e === J.value && Y.value || Ye(e))), Qe = (e) => {
9716
9721
  if (!e.startsWith("__")) return { value: e };
9717
9722
  let t = e.slice(2).split("__");
9718
9723
  return t.length < 2 ? { value: e } : {
9719
9724
  field: t[0],
9720
9725
  value: t[1]
9721
9726
  };
9722
- }, $e = (e) => Ac(e, tt()), $ = (e) => {
9727
+ }, $e = (e) => Nc(e, tt()), $ = (e) => {
9723
9728
  let t = Qe(e.value), n = { ...e };
9724
9729
  return !n.field && !n.colField && t.field && (n.field = t.field), n.rawValue == null && n.metadata?.rawValue == null && t.field && (n.rawValue = t.value), e.children?.length && (n.children = e.children.map($)), n;
9725
9730
  }, et = r(() => [...u.filterValueMap.value[J.value] || [], ...u.filterValueSelectedMetadataMap.value[J.value] || []].map((e) => e && $(e))), tt = () => et.value, nt = (e, t) => {
@@ -9736,7 +9741,7 @@ var hu = { style: { "line-height": "20px" } }, gu = { class: "pv-text-subdued pv
9736
9741
  let e = n.children ? rt(n.children, t) : void 0;
9737
9742
  if (e) return e;
9738
9743
  }
9739
- }, it = (e, t) => jc(tt(), e, t), at = (e) => {
9744
+ }, it = (e, t) => Pc(tt(), e, t), at = (e) => {
9740
9745
  let t = (n) => {
9741
9746
  if (n) {
9742
9747
  if (String(He(n) ?? Qe(n.value).value) === e) return n;
@@ -9771,7 +9776,7 @@ var hu = { style: { "line-height": "20px" } }, gu = { class: "pv-text-subdued pv
9771
9776
  };
9772
9777
  }, st = (e) => {
9773
9778
  let n = tt(), r = nt(n, (t) => t.value === e.id);
9774
- return r?.children?.length ? r : rt(n, e.id) || (r && Ve(r) === $o(t.value) ? r : ot(e.id) || r);
9779
+ return r?.children?.length ? r : rt(n, e.id) || (r && Ve(r) === ts(t.value) ? r : ot(e.id) || r);
9775
9780
  }, ct = (e) => {
9776
9781
  if (!Z.value) return;
9777
9782
  let t = u.filterValueSelectedMetadataMap.value[J.value] || [], n = /* @__PURE__ */ new Map();
@@ -9884,7 +9889,7 @@ var hu = { style: { "line-height": "20px" } }, gu = { class: "pv-text-subdued pv
9884
9889
  return;
9885
9890
  }
9886
9891
  let t = G.value.slice(), n = e.map((e) => e.id), r = yt;
9887
- yt = !1, r || dl(() => {
9892
+ yt = !1, r || ml(() => {
9888
9893
  let e = new Set(t), r = new Set(n);
9889
9894
  for (let t of r) e.has(t) || St(t, "select", "click", r.size);
9890
9895
  for (let t of e) r.has(t) || St(t, "deselect", "click", r.size);
@@ -9905,45 +9910,45 @@ var hu = { style: { "line-height": "20px" } }, gu = { class: "pv-text-subdued pv
9905
9910
  if (e !== void 0 && n !== void 0) {
9906
9911
  let r = e || J.value, i = new Set([J.value, r]), a = n;
9907
9912
  if (W.value) {
9908
- let e = Su(r, a || []);
9913
+ let e = Tu(r, a || []);
9909
9914
  if (pe.value) {
9910
- let t = h.value, n = Hu(t, e, r);
9915
+ let t = h.value, n = Gu(t, e, r);
9911
9916
  N(i, !0), h.value = n;
9912
9917
  return;
9913
9918
  }
9914
- let t = Hu(l.value.getAdvancedFilterModel(), e, r);
9919
+ let t = Gu(l.value.getAdvancedFilterModel(), e, r);
9915
9920
  N(i), v(() => {
9916
9921
  l.value?.setAdvancedFilterModel(t);
9917
9922
  });
9918
9923
  return;
9919
9924
  }
9920
9925
  if (pe.value) {
9921
- let e = await Pu(l.value, t.value, a);
9926
+ let e = await Lu(l.value, t.value, a);
9922
9927
  N(i, !0), h.value = {
9923
9928
  ...h.value,
9924
9929
  [r]: e
9925
9930
  };
9926
9931
  return;
9927
9932
  }
9928
- let o = await Pu(l.value, t.value, a);
9933
+ let o = await Lu(l.value, t.value, a);
9929
9934
  N(i), l.value.setColumnFilterModel(r, o).then(() => {
9930
9935
  l.value && l.value.onFilterChanged();
9931
9936
  });
9932
9937
  return;
9933
9938
  }
9934
- let i = gt(G.value), o = Ko(t.value);
9939
+ let i = gt(G.value), o = Jo(t.value);
9935
9940
  if (W.value) {
9936
9941
  let e = pe.value ? h.value : l.value.getAdvancedFilterModel(), n = e, s = /* @__PURE__ */ new Set();
9937
9942
  if (Z.value) {
9938
- let e = Qo(t.value), r = [];
9943
+ let e = es(t.value), r = [];
9939
9944
  for (let t of e) {
9940
9945
  let e = i[t] || [];
9941
9946
  if (e.length > 0) {
9942
- let n = Su(t, e);
9947
+ let n = Tu(t, e);
9943
9948
  n && r.push(n);
9944
9949
  }
9945
9950
  }
9946
- for (let t of e) n = Hu(n, null, t);
9951
+ for (let t of e) n = Gu(n, null, t);
9947
9952
  if (r.length > 0) {
9948
9953
  let e = r.length === 1 ? r[0] : {
9949
9954
  filterType: "join",
@@ -9957,23 +9962,23 @@ var hu = { style: { "line-height": "20px" } }, gu = { class: "pv-text-subdued pv
9957
9962
  } : e;
9958
9963
  }
9959
9964
  } else {
9960
- let t = G.value.length > 0 ? G.value : null, r = Su(J.value, t || []);
9961
- n = Hu(n, r, J.value);
9965
+ let t = G.value.length > 0 ? G.value : null, r = Tu(J.value, t || []);
9966
+ n = Gu(n, r, J.value);
9962
9967
  let i = !1;
9963
9968
  if (a?.value) {
9964
9969
  let e = o.filterGroup?.fields ?? [];
9965
9970
  for (let t of e) {
9966
9971
  let e = a.value.has(t);
9967
- if (e === Wu(t, n).includes("true")) continue;
9972
+ if (e === qu(t, n).includes("true")) continue;
9968
9973
  i = !0, s.add(t);
9969
- let r = e ? Su(t, ["true"]) : null;
9970
- n = Hu(n, r, t);
9974
+ let r = e ? Tu(t, ["true"]) : null;
9975
+ n = Gu(n, r, t);
9971
9976
  }
9972
9977
  }
9973
- let c = G.value.filter((e) => e !== null), l = Wu(J.value, e), u = new Set(l), d = new Set(c);
9978
+ let c = G.value.filter((e) => e !== null), l = qu(J.value, e), u = new Set(l), d = new Set(c);
9974
9979
  if (!(u.size !== d.size || c.some((e) => !u.has(e))) && !i) return;
9975
9980
  }
9976
- if (r?.skipIfUnchanged && Vu(e, n)) return;
9981
+ if (r?.skipIfUnchanged && Wu(e, n)) return;
9977
9982
  if (N(Z.value ? Ae() : new Set([J.value, ...s]), pe.value), pe.value) h.value = n;
9978
9983
  else {
9979
9984
  let e = n;
@@ -9985,26 +9990,26 @@ var hu = { style: { "line-height": "20px" } }, gu = { class: "pv-text-subdued pv
9985
9990
  }
9986
9991
  let s = G.value.length > 0 ? G.value : null;
9987
9992
  if (r?.skipIfUnchanged) {
9988
- let e = Fu(t.value, l.value.getFilterModel());
9993
+ let e = Ru(t.value, l.value.getFilterModel());
9989
9994
  if (je(G.value, e)) return;
9990
9995
  }
9991
9996
  if (pe.value) {
9992
- let e = await Pu(l.value, t.value, s);
9997
+ let e = await Lu(l.value, t.value, s);
9993
9998
  N(new Set([J.value]), !0), h.value = {
9994
9999
  ...h.value,
9995
10000
  [J.value]: e
9996
10001
  };
9997
10002
  return;
9998
10003
  }
9999
- let c = await Pu(l.value, t.value, s);
10004
+ let c = await Lu(l.value, t.value, s);
10000
10005
  N(new Set([J.value])), l.value.setColumnFilterModel(J.value, c).then(() => {
10001
10006
  l.value && l.value.onFilterChanged();
10002
10007
  });
10003
10008
  }, vt = r(() => pe.value ? "all_filters_drawer" : "horizontal"), yt = !1, bt = (e, t) => {
10004
10009
  yt = !0;
10005
10010
  let n = ce.value || "";
10006
- dl(() => {
10007
- ul("filter_bulk_action", {
10011
+ ml(() => {
10012
+ pl("filter_bulk_action", {
10008
10013
  filter_name: Y.value,
10009
10014
  filter_field: J.value,
10010
10015
  action: e,
@@ -10014,7 +10019,7 @@ var hu = { style: { "line-height": "20px" } }, gu = { class: "pv-text-subdued pv
10014
10019
  }, c());
10015
10020
  });
10016
10021
  }, xt = (e) => !Z.value || e == null ? J.value : Ve(Be(e)) || (Qe(e).field ?? J.value), St = (e, t, n, r) => {
10017
- ul("filter_option_selected", {
10022
+ pl("filter_option_selected", {
10018
10023
  filter_name: Y.value,
10019
10024
  filter_field: xt(e),
10020
10025
  selected_value: Ke(e),
@@ -10037,7 +10042,7 @@ var hu = { style: { "line-height": "20px" } }, gu = { class: "pv-text-subdued pv
10037
10042
  };
10038
10043
  }, wt = (e, t) => {
10039
10044
  let n = Ct(e), r = Ct(t);
10040
- dl(() => {
10045
+ ml(() => {
10041
10046
  let e = Aa(t);
10042
10047
  for (let t of r.selected) n.selected.has(t) || St(t, "select", "click", e);
10043
10048
  for (let t of n.selected) r.selected.has(t) || St(t, "deselect", "click", e);
@@ -10057,13 +10062,13 @@ var hu = { style: { "line-height": "20px" } }, gu = { class: "pv-text-subdued pv
10057
10062
  let a = e != null && G.value.includes(e), o = G.value.slice();
10058
10063
  if (e && ye.value ? G.value = [e] : e && !a && (G.value = [...G.value, e]), e != null && !a) {
10059
10064
  let t = G.value.length, n = ye.value;
10060
- dl(() => {
10065
+ ml(() => {
10061
10066
  if (n) for (let n of o) n !== e && St(n, "deselect", r, t);
10062
10067
  St(e, "select", r, t);
10063
10068
  });
10064
10069
  }
10065
10070
  if (Z.value && e) {
10066
- let r = n || Qo(t.value)[0] || J.value, i = e.startsWith("__") ? e : it(r, e) || e;
10071
+ let r = n || es(t.value)[0] || J.value, i = e.startsWith("__") ? e : it(r, e) || e;
10067
10072
  Q.value.find((e) => e.id === i) || (Q.value = [...Q.value, {
10068
10073
  id: i,
10069
10074
  state: "selected"
@@ -10074,12 +10079,12 @@ var hu = { style: { "line-height": "20px" } }, gu = { class: "pv-text-subdued pv
10074
10079
  let a = G.value.includes(e);
10075
10080
  if (G.value = G.value.filter((t) => t !== e), e != null && a) {
10076
10081
  let t = G.value.length;
10077
- dl(() => {
10082
+ ml(() => {
10078
10083
  St(e, "deselect", r, t);
10079
10084
  });
10080
10085
  }
10081
10086
  if (Z.value && e) {
10082
- let r = n || Qo(t.value)[0] || J.value, i = e.startsWith("__") ? e : it(r, e) || e;
10087
+ let r = n || es(t.value)[0] || J.value, i = e.startsWith("__") ? e : it(r, e) || e;
10083
10088
  Q.value = Q.value.filter((e) => e.id !== i);
10084
10089
  }
10085
10090
  (!j.value || pe.value) && (Z.value && e ? Mt(Q.value) : n && n !== J.value ? _t(n, null) : _t()), i?.();
@@ -10102,7 +10107,7 @@ var hu = { style: { "line-height": "20px" } }, gu = { class: "pv-text-subdued pv
10102
10107
  } finally {
10103
10108
  r && (he.value = !1);
10104
10109
  }
10105
- }, jt = (e, n) => Pc({
10110
+ }, jt = (e, n) => Lc({
10106
10111
  baseModel: n,
10107
10112
  colDef: t.value,
10108
10113
  options: tt(),
@@ -10111,9 +10116,9 @@ var hu = { style: { "line-height": "20px" } }, gu = { class: "pv-text-subdued pv
10111
10116
  if (!l.value || !Z.value) return !1;
10112
10117
  let r = JSON.stringify(e);
10113
10118
  if (n?.skipIfUnchanged && r === Me.value) return Q.value = e, !1;
10114
- if (Q.value = e, ct(e), Qo(t.value).length === 0) return !1;
10119
+ if (Q.value = e, ct(e), es(t.value).length === 0) return !1;
10115
10120
  let a = pe.value ? h.value : l.value.getAdvancedFilterModel(), o = jt(e, a);
10116
- if (n?.skipIfUnchanged && Vu(a, o)) return Me.value = r, !1;
10121
+ if (n?.skipIfUnchanged && Wu(a, o)) return Me.value = r, !1;
10117
10122
  if (pe.value) h.value = o;
10118
10123
  else {
10119
10124
  let e = o;
@@ -10123,8 +10128,8 @@ var hu = { style: { "line-height": "20px" } }, gu = { class: "pv-text-subdued pv
10123
10128
  }
10124
10129
  return Me.value = r, N(Ae(), pe.value), i?.(), !0;
10125
10130
  }, Nt = (e) => {
10126
- if (!Z.value || !Qo(t.value).length) return;
10127
- let n = Ic({
10131
+ if (!Z.value || !es(t.value).length) return;
10132
+ let n = zc({
10128
10133
  colDef: t.value,
10129
10134
  model: e,
10130
10135
  options: tt()
@@ -10145,12 +10150,12 @@ var hu = { style: { "line-height": "20px" } }, gu = { class: "pv-text-subdued pv
10145
10150
  if (W.value) {
10146
10151
  let e = [], n = h.value;
10147
10152
  if (Z.value) {
10148
- let r = Qo(t.value);
10153
+ let r = es(t.value);
10149
10154
  for (let t of r) {
10150
- let r = Wu(t, n);
10155
+ let r = qu(t, n);
10151
10156
  e.push(...r);
10152
10157
  }
10153
- } else e = Wu(J.value, n);
10158
+ } else e = qu(J.value, n);
10154
10159
  G.value = e;
10155
10160
  return;
10156
10161
  }
@@ -10163,11 +10168,11 @@ var hu = { style: { "line-height": "20px" } }, gu = { class: "pv-text-subdued pv
10163
10168
  return;
10164
10169
  }
10165
10170
  if (W.value) {
10166
- let e = p.value, t = Wu(J.value, e);
10171
+ let e = p.value, t = qu(J.value, e);
10167
10172
  Pe(G.value.some((e) => e !== null && !t.includes(e)));
10168
10173
  return;
10169
10174
  }
10170
- let e = Fu(t.value, p.value);
10175
+ let e = Ru(t.value, p.value);
10171
10176
  Pe(G.value.some((t) => !e.includes(t)));
10172
10177
  }, { deep: !0 }), H(() => g.value, () => {
10173
10178
  G.value = [], Q.value = [], Me.value = "[]";
@@ -10190,8 +10195,8 @@ var hu = { style: { "line-height": "20px" } }, gu = { class: "pv-text-subdued pv
10190
10195
  let t = e.toLocaleLowerCase(), n = mt.value;
10191
10196
  return Z.value ? ja(n, t, !0).length : n.filter((e) => e.text.toLocaleLowerCase().includes(t) || e.searchText?.toLocaleLowerCase().includes(t)).length;
10192
10197
  }, Lt = (e) => {
10193
- dl(() => {
10194
- ul("filter_search", {
10198
+ ml(() => {
10199
+ pl("filter_search", {
10195
10200
  filter_name: Y.value,
10196
10201
  filter_field: J.value,
10197
10202
  query: e,
@@ -10216,15 +10221,15 @@ var hu = { style: { "line-height": "20px" } }, gu = { class: "pv-text-subdued pv
10216
10221
  Rt = null, ce.value === t && Lt(t);
10217
10222
  }), T(() => {
10218
10223
  F(J.value);
10219
- let e = Qo(t.value);
10224
+ let e = es(t.value);
10220
10225
  if (e.length && P(J.value, e), Pe(), Z.value && W.value && Nt(p.value), o?.value && x.value && l.value) {
10221
- let e = Z.value || (Ko(t.value).metadataDisplayFields?.length ?? 0) > 0, n = Z.value && W.value ? Qo(t.value).some((e) => Wu(e, p.value).length > 0) : G.value.length > 0;
10226
+ let e = Z.value || (Jo(t.value).metadataDisplayFields?.length ?? 0) > 0, n = Z.value && W.value ? es(t.value).some((e) => qu(e, p.value).length > 0) : G.value.length > 0;
10222
10227
  e && n && d(t.value, {
10223
10228
  api: l.value,
10224
10229
  filterModel: p.value ?? void 0
10225
10230
  });
10226
10231
  }
10227
- Z.value || Ko(t.value).metadataDisplayFields?.length && G.value.some((e) => qe(e)) && ze(!0, !0);
10232
+ Z.value || Jo(t.value).metadataDisplayFields?.length && G.value.some((e) => qe(e)) && ze(!0, !0);
10228
10233
  }), E(() => {
10229
10234
  ee(J.value), j.value && !pe.value && (Z.value ? Mt(Q.value, { skipIfUnchanged: !0 }) : _t(void 0, void 0, { skipIfUnchanged: !0 }));
10230
10235
  }), {
@@ -10277,7 +10282,7 @@ var hu = { style: { "line-height": "20px" } }, gu = { class: "pv-text-subdued pv
10277
10282
  disableFilterValue: Je,
10278
10283
  updateFilterModelWithSelectedValues: _t
10279
10284
  };
10280
- }, od = ({ alignment: e, useTeleport: t = !0, popoverCssProperties: n } = {}) => {
10285
+ }, ld = ({ alignment: e, useTeleport: t = !0, popoverCssProperties: n } = {}) => {
10281
10286
  let i = k(null), a = k(null), o = k(null), s = k(null), c = (e) => {
10282
10287
  let t = e.parentElement;
10283
10288
  for (; t && t !== document.body;) {
@@ -10328,26 +10333,26 @@ var hu = { style: { "line-height": "20px" } }, gu = { class: "pv-text-subdued pv
10328
10333
  o.value && (i.value = o.value.getBoundingClientRect()), s.value?.popoverRoot && (a.value = s.value.popoverRoot.getBoundingClientRect());
10329
10334
  }
10330
10335
  };
10331
- }, sd = {
10336
+ }, ud = {
10332
10337
  key: 0,
10333
10338
  role: "list",
10334
10339
  class: "pv-popover-list"
10335
- }, cd = ["data-active"], ld = { key: 1 }, ud = {
10340
+ }, dd = ["data-active"], fd = { key: 1 }, pd = {
10336
10341
  key: 1,
10337
10342
  class: "pv-flex pv-inset-square-8",
10338
10343
  style: { "justify-content": "center" }
10339
- }, dd = /* @__PURE__ */ d({
10344
+ }, md = /* @__PURE__ */ d({
10340
10345
  __name: "FilterGroupMenu",
10341
10346
  props: { filterColDef: {} },
10342
10347
  setup(e, { expose: n }) {
10343
- let s = e, c = m(hl, k(null)), d = m(wl, k(!1)), { filterModel: f, filterStoreHandler: p, noteFilterModelChange: h, stageFilterChangesUntilDropdownCloses: g } = rd(), _ = k(/* @__PURE__ */ new Set()), b = k(/* @__PURE__ */ new Set()), x = k(!1), S = k(null), C = r(() => Ko(s.filterColDef).filterGroup), w = (e) => {
10348
+ let s = e, c = m(vl, k(null)), d = m(Dl, k(!1)), { filterModel: f, filterStoreHandler: p, noteFilterModelChange: h, stageFilterChangesUntilDropdownCloses: g } = od(), _ = k(/* @__PURE__ */ new Set()), b = k(/* @__PURE__ */ new Set()), x = k(!1), S = k(null), C = r(() => Jo(s.filterColDef).filterGroup), w = (e) => {
10344
10349
  let t = new Set(e);
10345
10350
  s.filterColDef.field && t.add(s.filterColDef.field), h(t);
10346
- }, { popoverPositionStyle: T, updateRects: O, triggerRef: j, popoverRef: M } = od({
10351
+ }, { popoverPositionStyle: T, updateRects: O, triggerRef: j, popoverRef: M } = ld({
10347
10352
  alignment: "top right",
10348
10353
  useTeleport: !0
10349
10354
  }), N = (e) => {
10350
- let t = Ku(f.value, e);
10355
+ let t = Yu(f.value, e);
10351
10356
  return t !== null && t.length > 0 && t.includes("true");
10352
10357
  }, P = (e) => c.value?.getColumnDef(e)?.headerName ?? e, F = async () => {
10353
10358
  if (!p.value || !c.value) return;
@@ -10369,7 +10374,7 @@ var hu = { style: { "line-height": "20px" } }, gu = { class: "pv-text-subdued pv
10369
10374
  if (!c.value) return;
10370
10375
  let t = _.value.has(e);
10371
10376
  if (t ? _.value.delete(e) : _.value.add(e), g.value) return;
10372
- let n = Hu(c.value.getAdvancedFilterModel(), t ? null : Su(e, ["true"]), e);
10377
+ let n = Gu(c.value.getAdvancedFilterModel(), t ? null : Tu(e, ["true"]), e);
10373
10378
  w(new Set([e])), v(() => {
10374
10379
  c.value?.setAdvancedFilterModel(n);
10375
10380
  });
@@ -10381,7 +10386,7 @@ var hu = { style: { "line-height": "20px" } }, gu = { class: "pv-text-subdued pv
10381
10386
  return;
10382
10387
  }
10383
10388
  let t = c.value.getAdvancedFilterModel(), n = /* @__PURE__ */ new Set();
10384
- for (let r of e) _.value.has(r) || (t = Hu(t, Su(r, ["true"]), r), _.value.add(r), n.add(r));
10389
+ for (let r of e) _.value.has(r) || (t = Gu(t, Tu(r, ["true"]), r), _.value.add(r), n.add(r));
10385
10390
  n.size > 0 && (w(n), v(() => {
10386
10391
  c.value?.setAdvancedFilterModel(t);
10387
10392
  }));
@@ -10392,7 +10397,7 @@ var hu = { style: { "line-height": "20px" } }, gu = { class: "pv-text-subdued pv
10392
10397
  return;
10393
10398
  }
10394
10399
  let e = c.value.getAdvancedFilterModel(), t = /* @__PURE__ */ new Set();
10395
- for (let n of C.value.fields) e = Uu(e, n), _.value.delete(n), t.add(n);
10400
+ for (let n of C.value.fields) e = Ku(e, n), _.value.delete(n), t.add(n);
10396
10401
  w(t), v(() => {
10397
10402
  c.value?.setAdvancedFilterModel(e);
10398
10403
  });
@@ -10452,7 +10457,7 @@ var hu = { style: { "line-height": "20px" } }, gu = { class: "pv-text-subdued pv
10452
10457
  }
10453
10458
  }, {
10454
10459
  default: U(() => [
10455
- x.value && ne.value.length > 0 ? (D(), o("ul", sd, [(D(!0), o(t, null, A(ne.value, (e) => (D(), o(t, { key: e.field }, [e.isAvailable ? (D(), o("li", {
10460
+ x.value && ne.value.length > 0 ? (D(), o("ul", ud, [(D(!0), o(t, null, A(ne.value, (e) => (D(), o(t, { key: e.field }, [e.isAvailable ? (D(), o("li", {
10456
10461
  key: 0,
10457
10462
  "data-active": e.isSelected ? "true" : null
10458
10463
  }, [u(co, {
@@ -10467,7 +10472,7 @@ var hu = { style: { "line-height": "20px" } }, gu = { class: "pv-text-subdued pv
10467
10472
  "text",
10468
10473
  "selectedIds",
10469
10474
  "onHandleSelected"
10470
- ])], 8, cd)) : (D(), o("li", ld, [u(ga, {
10475
+ ])], 8, dd)) : (D(), o("li", fd, [u(ga, {
10471
10476
  variant: "dark",
10472
10477
  size: "sm",
10473
10478
  "tooltip-position": "bottom-right",
@@ -10484,8 +10489,8 @@ var hu = { style: { "line-height": "20px" } }, gu = { class: "pv-text-subdued pv
10484
10489
  "tooltip-content": U(() => [...n[0] ||= [l("No entries in the result set", -1)]]),
10485
10490
  _: 2
10486
10491
  }, 1024)]))], 64))), 128))])) : a("", !0),
10487
- x.value && V.value ? (D(), o("div", ud, [u(wt, { variant: "dark" })])) : a("", !0),
10488
- x.value ? (D(), i(oc, {
10492
+ x.value && V.value ? (D(), o("div", pd, [u(wt, { variant: "dark" })])) : a("", !0),
10493
+ x.value ? (D(), i(lc, {
10489
10494
  key: 2,
10490
10495
  class: "pv-border-top pv-inset-square-8",
10491
10496
  style: { "padding-top": "8px" },
@@ -10498,7 +10503,7 @@ var hu = { style: { "line-height": "20px" } }, gu = { class: "pv-text-subdued pv
10498
10503
  _: 1
10499
10504
  }, 8, ["class", "css-custom-properties"])], 32)), [[I($e), [z, { ignore: [".pv-popover"] }]]]);
10500
10505
  }
10501
- }), fd = {
10506
+ }), hd = {
10502
10507
  key: 0,
10503
10508
  role: "list",
10504
10509
  class: "pv-flex pv-stack-4",
@@ -10506,37 +10511,37 @@ var hu = { style: { "line-height": "20px" } }, gu = { class: "pv-text-subdued pv
10506
10511
  "--flex-wrap": "wrap",
10507
10512
  "max-width": "100%"
10508
10513
  }
10509
- }, pd = {
10514
+ }, gd = {
10510
10515
  key: 0,
10511
10516
  style: {
10512
10517
  "max-width": "100%",
10513
10518
  "line-height": "1rem"
10514
10519
  }
10515
- }, md = {
10520
+ }, _d = {
10516
10521
  key: 0,
10517
10522
  class: "pv-text-subdued pv-text-body-xxs pv-inset-inline",
10518
10523
  style: { "--inset-size": "4px" }
10519
- }, hd = {
10524
+ }, vd = {
10520
10525
  class: "pv-full-width pv-flex pv-space-between pv-inset-inline",
10521
10526
  style: { "--inset-size": "8px" }
10522
- }, gd = {
10527
+ }, yd = {
10523
10528
  class: "pv-inset-inline",
10524
10529
  style: { "--inset-size": "8px" }
10525
- }, _d = {
10530
+ }, bd = {
10526
10531
  key: 0,
10527
10532
  class: "pv-full-width"
10528
- }, vd = {
10533
+ }, xd = {
10529
10534
  key: 0,
10530
10535
  class: "pv-flex-inline",
10531
10536
  style: { "max-width": "100%" }
10532
- }, yd = {
10537
+ }, Sd = {
10533
10538
  role: "list",
10534
10539
  class: "pv-flex",
10535
10540
  style: {
10536
10541
  "--flex-wrap": "wrap",
10537
10542
  "max-width": "100%"
10538
10543
  }
10539
- }, bd = { class: "pv-text-subdued pv-text-body-xxs" }, xd = 4, Sd = /* @__PURE__ */ Qt(/* @__PURE__ */ d({
10544
+ }, Cd = { class: "pv-text-subdued pv-text-body-xxs" }, wd = 4, Td = /* @__PURE__ */ Qt(/* @__PURE__ */ d({
10540
10545
  __name: "SetFilter",
10541
10546
  props: {
10542
10547
  enableFocusView: {
@@ -10565,14 +10570,14 @@ var hu = { style: { "line-height": "20px" } }, gu = { class: "pv-text-subdued pv
10565
10570
  "handle-settings-icon"
10566
10571
  ],
10567
10572
  setup(e, { emit: n }) {
10568
- let d = e, f = n, g = k(null), x = r(() => g.value?.selectedValues ?? /* @__PURE__ */ new Set()), S = r(() => g.value?.selectedValues.size ?? 0), { selectedValues: C, isLoading: w, isSeeMoreLoading: T, filterSearchText: E, filterSearchMinLength: O, belowFilterSearchMinLength: j, rowsLoading: M, gridApi: P, filterField: L, filterDisplayName: R, isInFilterPanel: z, suggestedValues: B, displayedFilterValues: V, selectedFilterValues: te, showSearchBar: ne, filterSearchPlaceholder: re, emptyFilterResultsRenderer: H, filterOptionsRenderer: W, filterHeaderRenderer: G, filterFooterRenderer: ie, filterOptionsSortDescription: K, filterOptionsSortTooltip: ae, filterValueContext: oe, formatDisplayValue: se, resolvedFilterValueContext: q, isUnresolvedMetadataValue: ce, getLatestFilterValues: le, addSelectedValue: ue, removeSelectedValue: J, recordBulkAction: de, rumLocation: fe, handleDropdownOpen: Y, handleDropdownClosed: pe, handleSeeMore: me, getColDisplayNameForField: he, hasMoreOptions: ge, totalOptionCount: _e, isAggregate: ve, cascadeSelectionState: ye, cascadeSelectionStateModel: be } = ad({
10573
+ let d = e, f = n, g = k(null), x = r(() => g.value?.selectedValues ?? /* @__PURE__ */ new Set()), S = r(() => g.value?.selectedValues.size ?? 0), { selectedValues: C, isLoading: w, isSeeMoreLoading: T, filterSearchText: E, filterSearchMinLength: O, belowFilterSearchMinLength: j, rowsLoading: M, gridApi: P, filterField: L, filterDisplayName: R, isInFilterPanel: z, suggestedValues: B, displayedFilterValues: V, selectedFilterValues: te, showSearchBar: ne, filterSearchPlaceholder: re, emptyFilterResultsRenderer: H, filterOptionsRenderer: W, filterHeaderRenderer: G, filterFooterRenderer: ie, filterOptionsSortDescription: K, filterOptionsSortTooltip: ae, filterValueContext: oe, formatDisplayValue: se, resolvedFilterValueContext: q, isUnresolvedMetadataValue: ce, getLatestFilterValues: le, addSelectedValue: ue, removeSelectedValue: J, recordBulkAction: de, rumLocation: fe, handleDropdownOpen: Y, handleDropdownClosed: pe, handleSeeMore: me, getColDisplayNameForField: he, hasMoreOptions: ge, totalOptionCount: _e, isAggregate: ve, cascadeSelectionState: ye, cascadeSelectionStateModel: be } = cd({
10569
10574
  filterColDef: ee(d, "filterColDef"),
10570
10575
  filterStyle: ee(d, "filterStyle"),
10571
10576
  onSelectionChanged: () => f("filter-selection-changed"),
10572
10577
  filterGroupStagedFields: x,
10573
10578
  readOnly: ee(d, "readOnly"),
10574
10579
  disableUnselected: ee(d, "disableUnselected")
10575
- }), xe = ll(), { handleFocusUpdate: Se, isFocused: Ce, removeFocus: we, isFocusable: Te, canRemoveFocus: Ee } = nu(), De = (e) => {
10580
+ }), xe = fl(), { handleFocusUpdate: Se, isFocused: Ce, removeFocus: we, isFocusable: Te, canRemoveFocus: Ee } = au(), De = (e) => {
10576
10581
  if (e.context?.metadata?.rawValue != null) return String(e.context.metadata.rawValue);
10577
10582
  if (e.id.startsWith("__")) {
10578
10583
  let t = e.id.slice(2).split("__");
@@ -10580,7 +10585,7 @@ var hu = { style: { "line-height": "20px" } }, gu = { class: "pv-text-subdued pv
10580
10585
  }
10581
10586
  return e.id;
10582
10587
  }, Oe = r(() => {
10583
- if (Te(es(d.filterColDef) ? Qo(d.filterColDef) : [L.value])) return {
10588
+ if (Te(ns(d.filterColDef) ? es(d.filterColDef) : [L.value])) return {
10584
10589
  icon: "focus",
10585
10590
  isDisabled: (e) => !Te([e.context?.colField || L.value]),
10586
10591
  tooltipText: (e) => {
@@ -10613,7 +10618,7 @@ var hu = { style: { "line-height": "20px" } }, gu = { class: "pv-text-subdued pv
10613
10618
  J(e, void 0, "remove_chip");
10614
10619
  let t = q(e)?.colField || L.value, n = X(e);
10615
10620
  Ce(n, t) && Ee() && we(n);
10616
- }, Z = m(Ll, k(!1)), Ae = r(() => !!Ko(d.filterColDef).filterGroup && Z.value), je = null, Q = null, Me = () => {
10621
+ }, Z = m(Bl, k(!1)), Ae = r(() => !!Jo(d.filterColDef).filterGroup && Z.value), je = null, Q = null, Me = () => {
10617
10622
  try {
10618
10623
  return ve.value ? JSON.stringify(ye.value) : JSON.stringify([...C.value].sort());
10619
10624
  } catch {
@@ -10627,8 +10632,8 @@ var hu = { style: { "line-height": "20px" } }, gu = { class: "pv-text-subdued pv
10627
10632
  let t = Me(), n = Q != null && t != null && Q !== t;
10628
10633
  Q = null;
10629
10634
  let r = C.value.length;
10630
- dl(() => {
10631
- ul("filter_dropdown_closed", {
10635
+ ml(() => {
10636
+ pl("filter_dropdown_closed", {
10632
10637
  filter_name: R.value,
10633
10638
  filter_field: L.value,
10634
10639
  selection_count: r,
@@ -10643,7 +10648,7 @@ var hu = { style: { "line-height": "20px" } }, gu = { class: "pv-text-subdued pv
10643
10648
  let t = q(e)?.colField || L.value;
10644
10649
  return Ce(X(e), t);
10645
10650
  }, Ie = r(() => S.value > 0 ? !0 : ve.value ? ye.value.length > 0 : C.value.length > 0);
10646
- return (n, r) => (D(), o(t, null, [s("div", null, [I(z) && I(C).length > 0 ? (D(), o("ul", fd, [(D(!0), o(t, null, A(I(C), (n) => (D(), o(t, { key: `${I(R)}-${n}` }, [I(ce)(n) ? a("", !0) : (D(), o("li", pd, [u(zs, {
10651
+ return (n, r) => (D(), o(t, null, [s("div", null, [I(z) && I(C).length > 0 ? (D(), o("ul", hd, [(D(!0), o(t, null, A(I(C), (n) => (D(), o(t, { key: `${I(R)}-${n}` }, [I(ce)(n) ? a("", !0) : (D(), o("li", gd, [u(Hs, {
10647
10652
  label: I(se)(n) || "",
10648
10653
  showClear: !e.readOnly && (!Fe(n) || I(Ee)()),
10649
10654
  disabled: e.readOnly,
@@ -10653,7 +10658,7 @@ var hu = { style: { "line-height": "20px" } }, gu = { class: "pv-text-subdued pv
10653
10658
  "showClear",
10654
10659
  "disabled",
10655
10660
  "onHandleClose"
10656
- ])]))], 64))), 128))])) : a("", !0), u(I(pc), {
10661
+ ])]))], 64))), 128))])) : a("", !0), u(I(gc), {
10657
10662
  modelValue: I(te),
10658
10663
  "onUpdate:modelValue": r[1] ||= (e) => h(te) ? te.value = e : null,
10659
10664
  disabled: !I(z) && e.readOnly && e.disableUnselected && !Ie.value,
@@ -10704,7 +10709,7 @@ var hu = { style: { "line-height": "20px" } }, gu = { class: "pv-text-subdued pv
10704
10709
  onSelectAll: r[4] ||= (e) => I(de)("select_all", e),
10705
10710
  onClearAll: r[5] ||= (e) => I(de)("clear_all", e)
10706
10711
  }, c({
10707
- preferences: U(() => [s("div", hd, [r[7] ||= s("p", { class: "pv-text-subdued pv-text-body-xxs" }, "Your Preferences", -1), u(I(zi), {
10712
+ preferences: U(() => [s("div", vd, [r[7] ||= s("p", { class: "pv-text-subdued pv-text-body-xxs" }, "Your Preferences", -1), u(I(zi), {
10708
10713
  variant: "dark",
10709
10714
  size: "sm",
10710
10715
  "use-teleport": !0
@@ -10718,7 +10723,7 @@ var hu = { style: { "line-height": "20px" } }, gu = { class: "pv-text-subdued pv
10718
10723
  content: U(() => [...r[6] ||= [l(" Open Preferences ", -1)]]),
10719
10724
  _: 1
10720
10725
  })])]),
10721
- suggestions: U(() => [s("div", gd, [u(I(zi), {
10726
+ suggestions: U(() => [s("div", yd, [u(I(zi), {
10722
10727
  variant: "dark",
10723
10728
  disableInteractive: !0,
10724
10729
  position: "top-left",
@@ -10738,8 +10743,8 @@ var hu = { style: { "line-height": "20px" } }, gu = { class: "pv-text-subdued pv
10738
10743
  I(G) || Ae.value || I(j) ? {
10739
10744
  name: "header",
10740
10745
  fn: U((t) => [
10741
- I(j) ? (D(), o("p", md, " Type " + F(I(O)) + " or more characters to search ", 1)) : a("", !0),
10742
- Ae.value ? (D(), i(dd, {
10746
+ I(j) ? (D(), o("p", _d, " Type " + F(I(O)) + " or more characters to search ", 1)) : a("", !0),
10747
+ Ae.value ? (D(), i(md, {
10743
10748
  key: 1,
10744
10749
  ref_key: "filterGroupMenuRef",
10745
10750
  ref: g,
@@ -10760,7 +10765,7 @@ var hu = { style: { "line-height": "20px" } }, gu = { class: "pv-text-subdued pv
10760
10765
  fn: U((e) => [(D(), i(N(I(ie)), b(p(e)), null, 16))]),
10761
10766
  key: "2"
10762
10767
  } : void 0
10763
- ]), 1032, /* @__PURE__ */ "modelValue.disabled.searchInput.selectionState.data-horizontal-filter-field.label.rumFilterName.icon.variant.counterPosition.menuActionsVariant.disableSearchInput.searchPlaceholder.overlayTrigger.options.optionsRenderer.optionsAction.popoverCssProperties.disableClearIcon.disableDropdownIcon.isLoading.isSeeMoreLoading.hasMoreOptions.totalOptionCount.enableCascadeSelection.enableChildExpansion.parentSelectsAllChildren.countSelectedParents.additionalCounter.slotContext.onSeeMore".split("."))]), I(z) && !e.readOnly ? (D(), o("div", _d, [I(B).length > 0 ? (D(), o("div", vd, [s("ul", yd, [u(I(zi), {
10768
+ ]), 1032, /* @__PURE__ */ "modelValue.disabled.searchInput.selectionState.data-horizontal-filter-field.label.rumFilterName.icon.variant.counterPosition.menuActionsVariant.disableSearchInput.searchPlaceholder.overlayTrigger.options.optionsRenderer.optionsAction.popoverCssProperties.disableClearIcon.disableDropdownIcon.isLoading.isSeeMoreLoading.hasMoreOptions.totalOptionCount.enableCascadeSelection.enableChildExpansion.parentSelectsAllChildren.countSelectedParents.additionalCounter.slotContext.onSeeMore".split("."))]), I(z) && !e.readOnly ? (D(), o("div", bd, [I(B).length > 0 ? (D(), o("div", xd, [s("ul", Sd, [u(I(zi), {
10764
10769
  variant: "dark",
10765
10770
  disableInteractive: !0,
10766
10771
  position: "bottom-left",
@@ -10768,20 +10773,20 @@ var hu = { style: { "line-height": "20px" } }, gu = { class: "pv-text-subdued pv
10768
10773
  "use-teleport": !0,
10769
10774
  style: { "--max-width": "200px" }
10770
10775
  }, c({
10771
- trigger: U(() => [s("li", bd, [s("p", { class: y(["pv-text-subdued pv-text-body-md", I(ae) ? "suggested-title-label" : ""]) }, " Suggested: ", 2)])]),
10776
+ trigger: U(() => [s("li", Cd, [s("p", { class: y(["pv-text-subdued pv-text-body-md", I(ae) ? "suggested-title-label" : ""]) }, " Suggested: ", 2)])]),
10772
10777
  _: 2
10773
10778
  }, [I(ae) ? {
10774
10779
  name: "content",
10775
10780
  fn: U(() => [l(F(I(ae)), 1)]),
10776
10781
  key: "0"
10777
- } : void 0]), 1024), (D(!0), o(t, null, A(I(B).filter((e) => e !== "" && e != null).slice(0, xd), (e) => (D(), o("li", {
10782
+ } : void 0]), 1024), (D(!0), o(t, null, A(I(B).filter((e) => e !== "" && e != null).slice(0, wd), (e) => (D(), o("li", {
10778
10783
  key: `${I(R)}-${e}-suggest`,
10779
10784
  class: y(I(w) ? "pv-shimmer" : ""),
10780
10785
  style: {
10781
10786
  "max-width": "100%",
10782
10787
  "line-height": "1rem"
10783
10788
  }
10784
- }, [u(I(Ys), {
10789
+ }, [u(I(Qs), {
10785
10790
  disabled: I(w),
10786
10791
  label: I(se)(e) || "",
10787
10792
  onHandleClick: (t) => I(ue)(e, I(oe)(I(L), e)?.colField)
@@ -10791,18 +10796,18 @@ var hu = { style: { "line-height": "20px" } }, gu = { class: "pv-text-subdued pv
10791
10796
  "onHandleClick"
10792
10797
  ])], 2))), 128))])])) : a("", !0)])) : a("", !0)], 64));
10793
10798
  }
10794
- }), [["__scopeId", "data-v-dd3c1588"]]), Cd = { class: "pv-flex" }, wd = { class: "pv-flex" }, Td = { class: "pv-flex pv-space-between pv-stack-8" }, Ed = { class: "pv-text-title-lg" }, Dd = {
10799
+ }), [["__scopeId", "data-v-dd3c1588"]]), Ed = { class: "pv-flex" }, Dd = { class: "pv-flex" }, Od = { class: "pv-flex pv-space-between pv-stack-8" }, kd = { class: "pv-text-title-lg" }, Ad = {
10795
10800
  id: "filter-vertical-drawer",
10796
10801
  class: "pv-flex-vertical pv-space-between pv-full-width pv-inset-block-16",
10797
10802
  style: { height: "100%" }
10798
- }, Od = { class: "pv-full-width" }, kd = ["open"], Ad = ["data-dd-action-name", "onClick"], jd = { class: "pv-text-title-lg" }, Md = { class: "pv-flex pv-space-between" }, Nd = { class: "pv-flex" }, Pd = {
10803
+ }, jd = { class: "pv-full-width" }, Md = ["open"], Nd = ["data-dd-action-name", "onClick"], Pd = { class: "pv-text-title-lg" }, Fd = { class: "pv-flex pv-space-between" }, Id = { class: "pv-flex" }, Ld = {
10799
10804
  class: "pv-flex",
10800
10805
  style: {
10801
10806
  "--flex-justify": "end",
10802
10807
  "--flex-gap": "8px",
10803
10808
  "margin-top": "auto"
10804
10809
  }
10805
- }, Fd = /* @__PURE__ */ Qt(/* @__PURE__ */ d({
10810
+ }, Rd = /* @__PURE__ */ Qt(/* @__PURE__ */ d({
10806
10811
  __name: "FilterPanel",
10807
10812
  props: {
10808
10813
  enableFocusView: {
@@ -10831,18 +10836,18 @@ var hu = { style: { "line-height": "20px" } }, gu = { class: "pv-text-subdued pv
10831
10836
  },
10832
10837
  emits: ["handle-settings-icon"],
10833
10838
  setup(e) {
10834
- let n = m(hl, k(null)), c = m(vl, k([])), d = m(_l, k(null)), f = m(Ll, k(!1)), p = e, { filterModelCleared: h, stagedFilterModel: g, filterModel: _, initStagedSelectedValues: v, clearStagedSelectedValues: b, commitStagedFilterModelChanges: x, clearStagedFilterModelChanges: S, filterValuesMap: C, fetchFilterValues: w, filterValuesLoadingStatus: T } = rd(), E = k(!1), O = k(!1), j = k(""), M = r(() => c.value.flatMap((e) => Qo(e))), N = r(() => c.value.flatMap((e) => Ko(e).filterGroup?.fields ?? [])), P = (e) => {
10839
+ let n = m(vl, k(null)), c = m(xl, k([])), d = m(bl, k(null)), f = m(Bl, k(!1)), p = e, { filterModelCleared: h, stagedFilterModel: g, filterModel: _, initStagedSelectedValues: v, clearStagedSelectedValues: b, commitStagedFilterModelChanges: x, clearStagedFilterModelChanges: S, filterValuesMap: C, fetchFilterValues: w, filterValuesLoadingStatus: T } = od(), E = k(!1), O = k(!1), j = k(""), M = r(() => c.value.flatMap((e) => es(e))), N = r(() => c.value.flatMap((e) => Jo(e).filterGroup?.fields ?? [])), P = (e) => {
10835
10840
  let t = _.value;
10836
10841
  if (!t) return !1;
10837
- let n = es(e) ? Qo(e) : [e.field || ""];
10842
+ let n = ns(e) ? es(e) : [e.field || ""];
10838
10843
  if (f.value) {
10839
10844
  let e = /* @__PURE__ */ new Set();
10840
10845
  return V(t, e), n.some((t) => e.has(t));
10841
10846
  }
10842
10847
  let r = t;
10843
10848
  return n.some((e) => !!r[e]);
10844
- }, ee = (e) => p.readOnly && !P(e), L = r(() => c.value.filter((e) => ju(e) && !M.value.includes(e.field || "") && !N.value.includes(e.field || "")).sort((e, t) => {
10845
- let n = es(e), r = es(t);
10849
+ }, ee = (e) => p.readOnly && !P(e), L = r(() => c.value.filter((e) => Pu(e) && !M.value.includes(e.field || "") && !N.value.includes(e.field || "")).sort((e, t) => {
10850
+ let n = ns(e), r = ns(t);
10846
10851
  return n && !r ? -1 : !n && r ? 1 : 0;
10847
10852
  })), R = r(() => L.value), z = r(() => {
10848
10853
  let e = j.value?.trim().toLowerCase() || "";
@@ -10885,7 +10890,7 @@ var hu = { style: { "line-height": "20px" } }, gu = { class: "pv-text-subdued pv
10885
10890
  });
10886
10891
  }
10887
10892
  }
10888
- }, { clearAllFocuses: W } = nu(), G = () => {
10893
+ }, { clearAllFocuses: W } = au(), G = () => {
10889
10894
  n.value && (S(), g.value = null, f.value ? n.value.setAdvancedFilterModel(null) : (n.value.setFilterModel(null), n.value.onFilterChanged()), h.value += 1, W(), O.value = !1);
10890
10895
  }, ie = () => {
10891
10896
  E.value = !1, j.value = "";
@@ -10894,8 +10899,8 @@ var hu = { style: { "line-height": "20px" } }, gu = { class: "pv-text-subdued pv
10894
10899
  }, ae = () => {
10895
10900
  b(), ne.value && n.value && (x(), f.value ? n.value.setAdvancedFilterModel(g.value) : (n.value.setFilterModel(g.value), n.value.onFilterChanged())), g.value = null, ie();
10896
10901
  };
10897
- return (e, r) => (D(), o(t, null, [s("div", Cd, [
10898
- (D(!0), o(t, null, A(B.value, (s) => (D(), o(t, { key: s.field }, [I(n) ? (D(), i(Sd, {
10902
+ return (e, r) => (D(), o(t, null, [s("div", Ed, [
10903
+ (D(!0), o(t, null, A(B.value, (s) => (D(), o(t, { key: s.field }, [I(n) ? (D(), i(Td, {
10899
10904
  key: 0,
10900
10905
  "enable-focus-view": p.enableFocusView,
10901
10906
  "display-preferences-icon": p.displayPreferencesIcon,
@@ -10912,7 +10917,7 @@ var hu = { style: { "line-height": "20px" } }, gu = { class: "pv-text-subdued pv
10912
10917
  "read-only",
10913
10918
  "disable-unselected"
10914
10919
  ])) : a("", !0)], 64))), 128)),
10915
- s("div", wd, [p.enableVerticalPanel ? (D(), i(I(Mn), {
10920
+ s("div", Dd, [p.enableVerticalPanel ? (D(), i(I(Mn), {
10916
10921
  key: 0,
10917
10922
  label: "All Filters",
10918
10923
  onClick: H,
@@ -10934,7 +10939,7 @@ var hu = { style: { "line-height": "20px" } }, gu = { class: "pv-text-subdued pv
10934
10939
  variant: "tertiary"
10935
10940
  }, null, 8, ["value"])) : a("", !0)
10936
10941
  ])) : a("", !0)]),
10937
- p.enableVerticalPanel ? (D(), i(I(ic), {
10942
+ p.enableVerticalPanel ? (D(), i(I(sc), {
10938
10943
  key: 0,
10939
10944
  modelValue: E.value,
10940
10945
  "onUpdate:modelValue": r[9] ||= (e) => E.value = e,
@@ -10946,7 +10951,7 @@ var hu = { style: { "line-height": "20px" } }, gu = { class: "pv-text-subdued pv
10946
10951
  "z-index": "10"
10947
10952
  }
10948
10953
  }, {
10949
- header: U(() => [s("div", Td, [s("p", Ed, "All Filters (" + F(R.value.length) + ")", 1), s("button", {
10954
+ header: U(() => [s("div", Od, [s("p", kd, "All Filters (" + F(R.value.length) + ")", 1), s("button", {
10950
10955
  class: "pv-button-ghost",
10951
10956
  "aria-label": "Close",
10952
10957
  onClick: r[2] ||= (e) => K()
@@ -10955,7 +10960,7 @@ var hu = { style: { "line-height": "20px" } }, gu = { class: "pv-text-subdued pv
10955
10960
  "onUpdate:modelValue": r[3] ||= (e) => j.value = e,
10956
10961
  placeholder: "Search Filters"
10957
10962
  }, null, 8, ["modelValue"])]),
10958
- footer: U(() => [s("div", Md, [p.readOnly ? (D(), i(I(Mn), {
10963
+ footer: U(() => [s("div", Fd, [p.readOnly ? (D(), i(I(Mn), {
10959
10964
  key: 1,
10960
10965
  variant: "ghost",
10961
10966
  label: "Close",
@@ -10964,7 +10969,7 @@ var hu = { style: { "line-height": "20px" } }, gu = { class: "pv-text-subdued pv
10964
10969
  class: "pv-button-ghost",
10965
10970
  "data-dd-action-name": "Clear all page filters",
10966
10971
  onClick: r[5] ||= (e) => G()
10967
- }, " Clear All "), s("div", Nd, [u(I(Mn), {
10972
+ }, " Clear All "), s("div", Id, [u(I(Mn), {
10968
10973
  variant: "ghost",
10969
10974
  label: "Cancel",
10970
10975
  "data-dd-action-name": "Cancel filter changes",
@@ -10981,7 +10986,7 @@ var hu = { style: { "line-height": "20px" } }, gu = { class: "pv-text-subdued pv
10981
10986
  label: "No Changes",
10982
10987
  disabled: ""
10983
10988
  }))])], 64))])]),
10984
- default: U(() => [s("div", Dd, [s("div", Od, [(D(!0), o(t, null, A(z.value, (t, c) => (D(), o("div", {
10989
+ default: U(() => [s("div", Ad, [s("div", jd, [(D(!0), o(t, null, A(z.value, (t, c) => (D(), o("div", {
10985
10990
  key: t.field,
10986
10991
  class: y([{ "pv-border-bottom": c < z.value.length - 1 }, "pv-stack-12"])
10987
10992
  }, [s("details", {
@@ -10991,7 +10996,7 @@ var hu = { style: { "line-height": "20px" } }, gu = { class: "pv-text-subdued pv
10991
10996
  class: "pv-flex pv-full-width",
10992
10997
  "data-dd-action-name": `Expand ${t.headerName} section`,
10993
10998
  onClick: (e) => ee(t) && e.preventDefault()
10994
- }, [s("span", jd, F(t.headerName), 1)], 8, Ad), s("div", null, [I(n) ? (D(), i(Sd, {
10999
+ }, [s("span", Pd, F(t.headerName), 1)], 8, Nd), s("div", null, [I(n) ? (D(), i(Td, {
10995
11000
  key: 0,
10996
11001
  "filter-style": "vertical",
10997
11002
  "enable-focus-view": p.enableFocusView,
@@ -11009,17 +11014,17 @@ var hu = { style: { "line-height": "20px" } }, gu = { class: "pv-text-subdued pv
11009
11014
  "focus-text",
11010
11015
  "read-only",
11011
11016
  "disable-unselected"
11012
- ])) : a("", !0)])], 10, kd)], 2))), 128))])])]),
11017
+ ])) : a("", !0)])], 10, Md)], 2))), 128))])])]),
11013
11018
  _: 1
11014
11019
  }, 8, ["modelValue"])) : a("", !0)
11015
- ]), u(I(Gs), {
11020
+ ]), u(I(Js), {
11016
11021
  modelValue: O.value,
11017
11022
  "onUpdate:modelValue": r[12] ||= (e) => O.value = e,
11018
11023
  header: "Clear All Filters",
11019
11024
  style: { top: "50%" }
11020
11025
  }, {
11021
11026
  body: U(() => [...r[14] ||= [s("p", { class: "pv-text-body-lg" }, "This action will remove all currently applied filters. Would you like to continue?", -1)]]),
11022
- footer: U(() => [s("div", Pd, [u(I(Mn), {
11027
+ footer: U(() => [s("div", Ld, [u(I(Mn), {
11023
11028
  label: "Cancel",
11024
11029
  variant: "secondary",
11025
11030
  size: "lg",
@@ -11035,24 +11040,24 @@ var hu = { style: { "line-height": "20px" } }, gu = { class: "pv-text-subdued pv
11035
11040
  _: 1
11036
11041
  }, 8, ["modelValue"])], 64));
11037
11042
  }
11038
- }), [["__scopeId", "data-v-bd0413e6"]]), Id = { key: 2 }, Ld = {
11043
+ }), [["__scopeId", "data-v-bd0413e6"]]), zd = { key: 2 }, Bd = {
11039
11044
  key: 0,
11040
11045
  class: "pv-flex ag-header-actions"
11041
- }, Rd = /* @__PURE__ */ Qt(/* @__PURE__ */ d({
11046
+ }, Vd = /* @__PURE__ */ Qt(/* @__PURE__ */ d({
11042
11047
  __name: "HeaderCellRenderer",
11043
11048
  props: { params: {} },
11044
11049
  setup(e, { expose: t }) {
11045
- let n = m(ml, k([])), c = m(bl, k([])), l = e, d = k(!1), f = k(!1), p = k(null), h = k(null), g = k(null), _ = k(!1), v = r(() => {
11050
+ let n = m(_l, k([])), c = m(Cl, k([])), l = e, d = k(!1), f = k(!1), p = k(null), h = k(null), g = k(null), _ = k(!1), v = r(() => {
11046
11051
  let e = l.params.column.getColDef();
11047
11052
  return e.sortable || e.filter || e.enableRowGroup;
11048
11053
  }), b = r(() => {
11049
11054
  if (!n.value || n.value.length === 0) return "";
11050
11055
  let e = n.value.find((e) => e.colId === l.params.column.getColId()), t = e ? e.sort : "";
11051
11056
  return t === "asc" ? "arrow-up" : t === "desc" ? "arrow-down" : "";
11052
- }), C = r(() => Xo(l.params.column.getColDef())), w = r(() => {
11057
+ }), C = r(() => Qo(l.params.column.getColDef())), w = r(() => {
11053
11058
  let e = l.params.column.getColDef(), t = e.allowedAggFuncs;
11054
11059
  if (!t || t.length <= 1) return [];
11055
- let n = Ko(e).aggFuncDisplayNameMap || {};
11060
+ let n = Jo(e).aggFuncDisplayNameMap || {};
11056
11061
  return t.map((e) => ({
11057
11062
  id: e,
11058
11063
  text: n[e] || e
@@ -11068,7 +11073,7 @@ var hu = { style: { "line-height": "20px" } }, gu = { class: "pv-text-subdued pv
11068
11073
  }, P = () => {
11069
11074
  _.value = !0, g.value && l.params.showColumnMenu(g.value, N);
11070
11075
  }, ee = (e) => {
11071
- d.value = e.enableFilterButton, f.value = e.enableSorting || !1, p.value = e.displayName, h.value = Vo(e.column.getColDef().context?.dataType), p.value = Ho(p.value, e.column.getColDef().context?.dataType);
11076
+ d.value = e.enableFilterButton, f.value = e.enableSorting || !1, p.value = e.displayName, h.value = Uo(e.column.getColDef().context?.dataType), p.value = Wo(p.value, e.column.getColDef().context?.dataType);
11072
11077
  }, I = () => {
11073
11078
  f.value && l.params.progressSort(!1);
11074
11079
  };
@@ -11112,17 +11117,18 @@ var hu = { style: { "line-height": "20px" } }, gu = { class: "pv-text-subdued pv
11112
11117
  variant: "ghost",
11113
11118
  size: "lg",
11114
11119
  label: p.value || "",
11120
+ staticLabel: !0,
11115
11121
  onClick: t[1] ||= ie(() => {}, ["stop"])
11116
11122
  }, null, 8, [
11117
11123
  "modelValue",
11118
11124
  "options",
11119
11125
  "label"
11120
- ])) : (D(), o("p", Id, F(p.value), 1)),
11126
+ ])) : (D(), o("p", zd, F(p.value), 1)),
11121
11127
  f.value && b.value !== "" ? (D(), i(On, {
11122
11128
  key: 3,
11123
11129
  name: b.value
11124
11130
  }, null, 8, ["name"])) : a("", !0)
11125
- ], 6), v.value ? (D(), o("div", Ld, [s("div", {
11131
+ ], 6), v.value ? (D(), o("div", Bd, [s("div", {
11126
11132
  ref_key: "menuButton",
11127
11133
  ref: g,
11128
11134
  class: "ag-header-cell-menu-button",
@@ -11135,7 +11141,7 @@ var hu = { style: { "line-height": "20px" } }, gu = { class: "pv-text-subdued pv
11135
11141
  onClick: ie(P, ["stop", "prevent"])
11136
11142
  })], 4)])) : a("", !0)], 4));
11137
11143
  }
11138
- }), [["__scopeId", "data-v-94e930b5"]]), zd = {
11144
+ }), [["__scopeId", "data-v-b7d1513c"]]), Hd = {
11139
11145
  headerHeight: "30px",
11140
11146
  headerBackgroundColor: "white",
11141
11147
  headerCellHoverBackgroundColor: "#F7F8F8",
@@ -11150,14 +11156,14 @@ var hu = { style: { "line-height": "20px" } }, gu = { class: "pv-text-subdued pv
11150
11156
  rangeSelectionBorderStyle: "solid",
11151
11157
  menuBackgroundColor: "white",
11152
11158
  accentColor: "#36C5BA"
11153
- }, Bd = Pe.withParams({
11154
- ...zd,
11159
+ }, Ud = Pe.withParams({
11160
+ ...Hd,
11155
11161
  headerRowBorder: !0,
11156
11162
  rowHoverColor: "#F7F8F8",
11157
11163
  wrapperBorder: !0,
11158
11164
  wrapperBorderRadius: "8px"
11159
- }), Vd = Pe.withParams({
11160
- ...zd,
11165
+ }), Wd = Pe.withParams({
11166
+ ...Hd,
11161
11167
  headerRowBorder: !1,
11162
11168
  rowHoverColor: "transparent",
11163
11169
  wrapperBorder: !1,
@@ -11166,20 +11172,20 @@ var hu = { style: { "line-height": "20px" } }, gu = { class: "pv-text-subdued pv
11166
11172
  rowBorder: !1,
11167
11173
  columnBorder: !1,
11168
11174
  rowHeight: "50px"
11169
- }), Hd = {
11170
- "pv-data-table-base": Bd,
11175
+ }), Gd = {
11176
+ "pv-data-table-base": Ud,
11171
11177
  "pv-data-table-grouped": Pe.withParams({
11172
- ...zd,
11178
+ ...Hd,
11173
11179
  headerRowBorder: !0,
11174
11180
  rowHoverColor: "#F7F8F8",
11175
11181
  wrapperBorder: !0,
11176
11182
  wrapperBorderRadius: "8px"
11177
11183
  }),
11178
- "pv-data-table-grouped-card": Vd
11179
- }, Ud = { class: "pv-popover-menu" }, Wd = {
11184
+ "pv-data-table-grouped-card": Wd
11185
+ }, Kd = { class: "pv-popover-menu" }, qd = {
11180
11186
  class: "pv-popover",
11181
11187
  style: { "--height": "auto" }
11182
- }, Gd = ["disabled"], Kd = /* @__PURE__ */ d({
11188
+ }, Jd = ["disabled"], Yd = /* @__PURE__ */ d({
11183
11189
  __name: "ExportMenu",
11184
11190
  props: { getCsvData: { type: Function } },
11185
11191
  setup(e) {
@@ -11194,27 +11200,27 @@ var hu = { style: { "line-height": "20px" } }, gu = { class: "pv-text-subdued pv
11194
11200
  let t = new Blob([e], { type: "text/csv;charset=utf-8;" }), i = document.createElement("a");
11195
11201
  i.href = URL.createObjectURL(t), i.setAttribute("download", "datatable_export.csv"), i.click(), r.value = !1;
11196
11202
  }
11197
- return (e, n) => (D(), o("nav", Ud, [n[0] ||= s("button", {
11203
+ return (e, n) => (D(), o("nav", Kd, [n[0] ||= s("button", {
11198
11204
  type: "button",
11199
11205
  class: "pv-button-icon"
11200
11206
  }, [s("svg", {
11201
11207
  "aria-hidden": "true",
11202
11208
  class: "pv-icon-24"
11203
- }, [s("title", null, "ellipsis"), s("use", { "xlink:href": "#ellipsis" })])], -1), s("div", Wd, [s("button", {
11209
+ }, [s("title", null, "ellipsis"), s("use", { "xlink:href": "#ellipsis" })])], -1), s("div", qd, [s("button", {
11204
11210
  class: "pv-button pv-text-body-sm pv-inset-square-8",
11205
11211
  onClick: ie(i, ["prevent"]),
11206
11212
  disabled: r.value
11207
- }, [r.value ? (D(), o(t, { key: 0 }, [l("Exporting...")], 64)) : (D(), o(t, { key: 1 }, [l("Download CSV")], 64))], 8, Gd)])]));
11213
+ }, [r.value ? (D(), o(t, { key: 0 }, [l("Exporting...")], 64)) : (D(), o(t, { key: 1 }, [l("Download CSV")], 64))], 8, Jd)])]));
11208
11214
  }
11209
- }), qd = {
11215
+ }), Xd = {
11210
11216
  key: 1,
11211
11217
  class: ""
11212
- }, Jd = /* @__PURE__ */ d({
11218
+ }, Zd = /* @__PURE__ */ d({
11213
11219
  __name: "PaginationPanel",
11214
11220
  props: { panelSize: { default: "xl" } },
11215
11221
  setup(e) {
11216
11222
  Ee.registerModules([Ce]);
11217
- let n = m(hl, k(null)), a = m(Tl, k(1)), s = m(El, k(0)), c = e, l = r(() => {
11223
+ let n = m(vl, k(null)), a = m(Ol, k(1)), s = m(kl, k(0)), c = e, l = r(() => {
11218
11224
  let e = s.value, t = a.value;
11219
11225
  if (e <= 7) return Array.from({ length: e }, (e, t) => t + 1);
11220
11226
  let n = [];
@@ -11246,7 +11252,7 @@ var hu = { style: { "line-height": "20px" } }, gu = { class: "pv-text-subdued pv
11246
11252
  "size",
11247
11253
  "onClick",
11248
11254
  "label"
11249
- ])) : (D(), o("span", qd, "..."))], 64))), 128)),
11255
+ ])) : (D(), o("span", Xd, "..."))], 64))), 128)),
11250
11256
  u(Mn, {
11251
11257
  variant: "ghost",
11252
11258
  onClick: f,
@@ -11257,10 +11263,10 @@ var hu = { style: { "line-height": "20px" } }, gu = { class: "pv-text-subdued pv
11257
11263
  }, null, 8, ["disabled", "size"])
11258
11264
  ], 2));
11259
11265
  }
11260
- }), Yd = {
11266
+ }), Qd = {
11261
11267
  key: 0,
11262
11268
  class: "pv-tag"
11263
- }, Xd = /* @__PURE__ */ d({
11269
+ }, $d = /* @__PURE__ */ d({
11264
11270
  __name: "TagCellRenderer",
11265
11271
  props: { params: {} },
11266
11272
  setup(e) {
@@ -11268,29 +11274,29 @@ var hu = { style: { "line-height": "20px" } }, gu = { class: "pv-text-subdued pv
11268
11274
  let e = t.params.valueFormatted || t.params.value || "";
11269
11275
  return e.trim() === "" ? null : e;
11270
11276
  });
11271
- return (e, t) => n.value ? (D(), o("div", Yd, F(n.value), 1)) : a("", !0);
11277
+ return (e, t) => n.value ? (D(), o("div", Qd, F(n.value), 1)) : a("", !0);
11272
11278
  }
11273
- }), Zd = {
11279
+ }), ef = {
11274
11280
  key: 0,
11275
11281
  class: "pv-table-row-number"
11276
- }, Qd = /* @__PURE__ */ Qt(/* @__PURE__ */ d({
11282
+ }, tf = /* @__PURE__ */ Qt(/* @__PURE__ */ d({
11277
11283
  __name: "RowCountCellRenderer",
11278
11284
  props: { params: {} },
11279
11285
  setup(e) {
11280
11286
  let t = e, n = r(() => (t.params.node?.rowIndex || 0) + 1), i = r(() => {
11281
11287
  let e = t.params.column?.getColDef(), n = t.params.valueFormatted || t.params.value;
11282
- return e && Xo(e) ? n.toLocaleString() : n;
11288
+ return e && Qo(e) ? n.toLocaleString() : n;
11283
11289
  });
11284
- return (e, t) => (D(), o("div", null, [s("p", null, [n.value ? (D(), o("span", Zd, F(n.value), 1)) : a("", !0), l(" " + F(i.value), 1)])]));
11290
+ return (e, t) => (D(), o("div", null, [s("p", null, [n.value ? (D(), o("span", ef, F(n.value), 1)) : a("", !0), l(" " + F(i.value), 1)])]));
11285
11291
  }
11286
- }), [["__scopeId", "data-v-686928ce"]]), $d = 4, ef = /* @__PURE__ */ d({
11292
+ }), [["__scopeId", "data-v-686928ce"]]), nf = 4, rf = /* @__PURE__ */ d({
11287
11293
  __name: "TableSearch",
11288
11294
  props: {
11289
11295
  placeholder: {},
11290
11296
  searchStyle: {}
11291
11297
  },
11292
11298
  setup(e) {
11293
- let t = e, n = k(null), r = k(""), a = k([]), o = k(!1), s = m(hl, k(null)), c = m(Ll, k(!1)), { isServerSideFilter: l, filterModel: u, tableSearchHandler: d, applyTableSearchFilterModel: f } = rd(), p = (e) => {
11299
+ let t = e, n = k(null), r = k(""), a = k([]), o = k(!1), s = m(vl, k(null)), c = m(Bl, k(!1)), { isServerSideFilter: l, filterModel: u, tableSearchHandler: d, applyTableSearchFilterModel: f } = od(), p = (e) => {
11294
11300
  !s?.value || typeof s.value.setGridOption != "function" || (l.value ? console.error("Server-side filtering with table free text search is not yet supported.") : s.value.setGridOption("quickFilterText", e));
11295
11301
  }, h = (e) => {
11296
11302
  if (s?.value) {
@@ -11298,7 +11304,7 @@ var hu = { style: { "line-height": "20px" } }, gu = { class: "pv-text-subdued pv
11298
11304
  console.error("Client-side filtering with query builder is not yet supported");
11299
11305
  return;
11300
11306
  }
11301
- f(c.value ? Eu(e) : Tu(e));
11307
+ f(c.value ? ku(e) : Ou(e));
11302
11308
  }
11303
11309
  }, g = async (e) => {
11304
11310
  if (!e || e.length < 2) {
@@ -11313,7 +11319,7 @@ var hu = { style: { "line-height": "20px" } }, gu = { class: "pv-text-subdued pv
11313
11319
  };
11314
11320
  o.value = !0, a.value = ((await d.value?.(t))?.filter((e) => e !== null) || []).map((e) => {
11315
11321
  let t = "search", n = s.value?.getColumnDef(e.queryField || "");
11316
- return n && (t = Vo(n.context?.dataType || null) || "search"), {
11322
+ return n && (t = Uo(n.context?.dataType || null) || "search"), {
11317
11323
  id: `${e.queryField}-${e.queryText}`,
11318
11324
  text: e.queryText,
11319
11325
  icon: t,
@@ -11332,7 +11338,7 @@ var hu = { style: { "line-height": "20px" } }, gu = { class: "pv-text-subdued pv
11332
11338
  debounce: 300,
11333
11339
  immediate: !0,
11334
11340
  deep: !0
11335
- }), (t, s) => e.searchStyle === "query-builder" ? (D(), i(sl, {
11341
+ }), (t, s) => e.searchStyle === "query-builder" ? (D(), i(ul, {
11336
11342
  key: 0,
11337
11343
  placeholder: e.placeholder,
11338
11344
  "search-text": r.value,
@@ -11342,7 +11348,7 @@ var hu = { style: { "line-height": "20px" } }, gu = { class: "pv-text-subdued pv
11342
11348
  options: a.value,
11343
11349
  "onUpdate:options": s[2] ||= (e) => a.value = e,
11344
11350
  "options-loading": o.value,
11345
- "query-term-display-limit": $d
11351
+ "query-term-display-limit": nf
11346
11352
  }, null, 8, [
11347
11353
  "placeholder",
11348
11354
  "search-text",
@@ -11356,28 +11362,28 @@ var hu = { style: { "line-height": "20px" } }, gu = { class: "pv-text-subdued pv
11356
11362
  "onUpdate:modelValue": s[3] ||= (e) => r.value = e
11357
11363
  }, null, 8, ["placeholder", "modelValue"]));
11358
11364
  }
11359
- }), tf = {
11365
+ }), af = {
11360
11366
  style: {
11361
11367
  "background-color": "white",
11362
11368
  "max-width": "300px"
11363
11369
  },
11364
11370
  class: "pv-inset-square-8 pv-bordered-md pv-text-md"
11365
- }, nf = { style: { color: "black" } }, rf = /* @__PURE__ */ d({
11371
+ }, of = { style: { color: "black" } }, sf = /* @__PURE__ */ d({
11366
11372
  __name: "TableTooltip",
11367
11373
  props: { params: {} },
11368
11374
  setup(e) {
11369
- return (t, n) => (D(), o("div", tf, [s("p", nf, F(e.params.value), 1)]));
11375
+ return (t, n) => (D(), o("div", af, [s("p", of, F(e.params.value), 1)]));
11370
11376
  }
11371
- }), af = { class: "pv-stack-16" }, of = { class: "pv-flex pv-space-between" }, sf = {
11377
+ }), cf = { class: "pv-stack-16" }, lf = { class: "pv-flex pv-space-between" }, uf = {
11372
11378
  class: "pv-flex",
11373
11379
  style: { "--flex-gap": "8px" }
11374
- }, cf = { class: "pv-flex" }, lf = {
11380
+ }, df = { class: "pv-flex" }, ff = {
11375
11381
  key: 0,
11376
11382
  class: "pv-table-overlay"
11377
- }, uf = {
11383
+ }, pf = {
11378
11384
  class: "pv-text-body-xs pv-text-center",
11379
11385
  style: { "padding-top": "16px" }
11380
- }, df = /* @__PURE__ */ d({
11386
+ }, mf = /* @__PURE__ */ d({
11381
11387
  __name: "PvDataTable",
11382
11388
  props: {
11383
11389
  allFieldsAreFocusable: {
@@ -11611,17 +11617,17 @@ var hu = { style: { "line-height": "20px" } }, gu = { class: "pv-text-subdued pv
11611
11617
  let h = r(() => f.layout ? {} : {
11612
11618
  height: f.containerHeight,
11613
11619
  minHeight: f.containerMinHeight
11614
- }), g = r(() => f.theme != null && typeof f.theme != "string"), w = r(() => f.theme && typeof f.theme == "string" ? f.theme : q.value.length > 0 ? "pv-data-table-grouped" : "pv-data-table-base"), T = f.theme && typeof f.theme == "string" ? f.theme : "pv-data-table-base", E = r(() => g.value ? f.theme : Hd[w.value]), A = c, M = k(!1), N = (e) => {
11615
- let t = Qo(e), n = e.context;
11620
+ }), g = r(() => f.theme != null && typeof f.theme != "string"), w = r(() => f.theme && typeof f.theme == "string" ? f.theme : q.value.length > 0 ? "pv-data-table-grouped" : "pv-data-table-base"), T = f.theme && typeof f.theme == "string" ? f.theme : "pv-data-table-base", E = r(() => g.value ? f.theme : Gd[w.value]), A = c, M = k(!1), N = (e) => {
11621
+ let t = es(e), n = e.context;
11616
11622
  return Array.from(new Set([
11617
11623
  ...t,
11618
11624
  ...n?.queryColIds || [],
11619
11625
  ...t.flatMap((e) => K.find((t) => t.field === e || t.colId === e)?.context?.queryColIds || [])
11620
11626
  ]));
11621
11627
  }, ee = (e, t) => {
11622
- if (ku(e, t)) return !0;
11623
- let n = K.find((e) => $o(e) === t);
11624
- return !!n && N(n).some((t) => ku(e, t));
11628
+ if (Mu(e, t)) return !0;
11629
+ let n = K.find((e) => ts(e) === t);
11630
+ return !!n && N(n).some((t) => Mu(e, t));
11625
11631
  }, L = "serverSideRowHandler" in f && f.serverSideRowHandler ? { getRows: (e) => {
11626
11632
  if (!J.value) {
11627
11633
  e.success({ rowData: [] }), ce.value = !0;
@@ -11633,7 +11639,7 @@ var hu = { style: { "line-height": "20px" } }, gu = { class: "pv-text-subdued pv
11633
11639
  let t = e.request.rowGroupCols[0].id;
11634
11640
  o = ee(s, t);
11635
11641
  }
11636
- if (e.request.rowGroupCols = ts(e.request.rowGroupCols, e.api.getColumnDefs?.()), (e.request.groupKeys?.length || 0) > 0) {
11642
+ if (e.request.rowGroupCols = rs(e.request.rowGroupCols, e.api.getColumnDefs?.()), (e.request.groupKeys?.length || 0) > 0) {
11637
11643
  let t = e.parentNode?.data;
11638
11644
  if (t?.bucketMin != null && t?.bucketMax != null) {
11639
11645
  if (f.enableAdvancedFilter) {
@@ -11655,7 +11661,7 @@ var hu = { style: { "line-height": "20px" } }, gu = { class: "pv-text-subdued pv
11655
11661
  filter: t.bucketMax
11656
11662
  }]
11657
11663
  };
11658
- n = Hu(n, i, e);
11664
+ n = Gu(n, i, e);
11659
11665
  }
11660
11666
  }), n && (e.request.filterModel = n);
11661
11667
  } else {
@@ -11691,11 +11697,11 @@ var hu = { style: { "line-height": "20px" } }, gu = { class: "pv-text-subdued pv
11691
11697
  } : e.request.filterModel = s;
11692
11698
  } else {
11693
11699
  let t = e.request.filterModel;
11694
- e.request.filterModel = Au(K, t, s);
11700
+ e.request.filterModel = Nu(K, t, s);
11695
11701
  }
11696
11702
  e.success = (e) => {
11697
11703
  if (le.value = !1, f.enableFocusView && ut.value.length > 0 && lt.value && e.rowData) {
11698
- let n = Go(e.rowData, lt.value, ut.value);
11704
+ let n = qo(e.rowData, lt.value, ut.value);
11699
11705
  if (n) {
11700
11706
  e.rowData = n, t(e);
11701
11707
  return;
@@ -11707,7 +11713,7 @@ var hu = { style: { "line-height": "20px" } }, gu = { class: "pv-text-subdued pv
11707
11713
  }, f.serverSideRowHandler?.(e);
11708
11714
  } } : null, R = "filterValuesSetHandler" in f && f.filterValuesSetHandler ? async (e) => {
11709
11715
  let t = [], n = { ...$.value };
11710
- t = !ce.value && oe ? Ku(n, e.colDef.field ?? e.colDef.colId ?? "") || [] : await at(e.colDef, {
11716
+ t = !ce.value && oe ? Yu(n, e.colDef.field ?? e.colDef.colId ?? "") || [] : await at(e.colDef, {
11711
11717
  api: e.api,
11712
11718
  filterModel: n,
11713
11719
  useStaged: !1
@@ -11726,19 +11732,19 @@ var hu = { style: { "line-height": "20px" } }, gu = { class: "pv-text-subdued pv
11726
11732
  suppressColumnsToolPanel: !0,
11727
11733
  minWidth: 150,
11728
11734
  flex: 1,
11729
- headerComponent: f.enableInlineFilters ? void 0 : Rd,
11735
+ headerComponent: f.enableInlineFilters ? void 0 : Vd,
11730
11736
  cellDataType: !1,
11731
- tooltipComponent: rf,
11732
- cellClass: (e) => St(e.column) ? "" : Xo(e.column?.getColDef()) ? "pv-text-right" : "",
11737
+ tooltipComponent: sf,
11738
+ cellClass: (e) => St(e.column) ? "" : Qo(e.column?.getColDef()) ? "pv-text-right" : "",
11733
11739
  cellRendererSelector: (e) => {
11734
11740
  if (z(e)) return e.column?.getColDef().cellRenderer ? void 0 : {
11735
- component: _u,
11741
+ component: bu,
11736
11742
  params: e
11737
11743
  };
11738
11744
  if (!e.column?.getColDef().cellRenderer && f.displayRowNumber && q.value.length === 0) {
11739
11745
  let t = e.api.getAllDisplayedColumns() || [], n = e.column;
11740
11746
  if (t.findIndex((e) => e === n) === 0) return {
11741
- component: Qd,
11747
+ component: tf,
11742
11748
  params: e
11743
11749
  };
11744
11750
  }
@@ -11763,7 +11769,7 @@ var hu = { style: { "line-height": "20px" } }, gu = { class: "pv-text-subdued pv
11763
11769
  }
11764
11770
  }, G = (e) => !e.node?.group && e.data != null && e.value != null && e.value !== "", ie = (e, t) => {
11765
11771
  if (!e) return null;
11766
- let n = { ...e }, r = t, i = Qo(e);
11772
+ let n = { ...e }, r = t, i = es(e);
11767
11773
  if (r.devOnly) if (f.devMode) n.hide = !0;
11768
11774
  else return null;
11769
11775
  if (i.length > 0) {
@@ -11777,21 +11783,21 @@ var hu = { style: { "line-height": "20px" } }, gu = { class: "pv-text-subdued pv
11777
11783
  let t = e.headerValueGetter;
11778
11784
  n.headerValueGetter = (e) => e.location === "advancedFilter" ? n.colId || n.field || "" : t && typeof t == "function" ? t(e) : t && typeof t == "string" ? t : n.headerName || n.field || "";
11779
11785
  }
11780
- return r.isArrayField && !e.valueFormatter ? n.valueFormatter = (e) => jt(e, r.dataType) : r.dataType === Bo.Percent && !e.valueFormatter ? n.valueFormatter = (e) => kt(e, r.valueDecimals || 0) : r.dataType === Bo.Currency && !e.valueFormatter ? n.valueFormatter = (e) => Ot(e, r.valueDecimals || 0) : r.dataType === Bo.Integer && !e.valueFormatter ? n.valueFormatter = At : r.dataType === Bo.Tag && !e.cellRenderer && (n.cellRenderer = Xd), n;
11786
+ return r.isArrayField && !e.valueFormatter ? n.valueFormatter = (e) => jt(e, r.dataType) : r.dataType === Ho.Percent && !e.valueFormatter ? n.valueFormatter = (e) => kt(e, r.valueDecimals || 0) : r.dataType === Ho.Currency && !e.valueFormatter ? n.valueFormatter = (e) => Ot(e, r.valueDecimals || 0) : r.dataType === Ho.Integer && !e.valueFormatter ? n.valueFormatter = At : r.dataType === Ho.Tag && !e.cellRenderer && (n.cellRenderer = $d), n;
11781
11787
  }, K = f.colDefs?.map((e) => {
11782
11788
  let t = { ...e };
11783
- L && R && ju(e) && (t = Mu(e, R));
11789
+ L && R && Pu(e) && (t = Fu(e, R));
11784
11790
  let n = e.context;
11785
11791
  return n && (t = ie(t, n)), t;
11786
11792
  }).filter((e) => e != null) || [], ae = new Set(f.colDefs?.map((e) => e.field || e.colId).filter(Boolean) || []);
11787
- for (let e of K) for (let t of Qo(e)) ae.has(t) || console.warn(`aggregate field hierarchy references "${t}" on column "${e.field || e.colId}", but no colDef with that field exists.`);
11788
- let oe = wu(f.initialGridState, K, f.enableAdvancedFilter), se = k(null), q = k([]), ce = m(Cl, k(!1)), le = k(!1), ue = r(() => {
11793
+ for (let e of K) for (let t of es(e)) ae.has(t) || console.warn(`aggregate field hierarchy references "${t}" on column "${e.field || e.colId}", but no colDef with that field exists.`);
11794
+ let oe = Du(f.initialGridState, K, f.enableAdvancedFilter), se = k(null), q = k([]), ce = m(El, k(!1)), le = k(!1), ue = r(() => {
11789
11795
  if (q.value.length > 0) {
11790
11796
  let e = q.value[0], t = K.find((t) => t.field === e), n = $.value, r = !n;
11791
- if (!r && Qu(n) && (r = !n[e]), r && t?.context?.filterRequiredToGroup) return t.headerName;
11797
+ if (!r && td(n) && (r = !n[e]), r && t?.context?.filterRequiredToGroup) return t.headerName;
11792
11798
  }
11793
11799
  return null;
11794
- }), J = r(() => Ee.filterModelEmpty.value && f.requireFiltersToShowData ? !1 : ue.value === null), de = r(() => ue.value ? `Select at least one value for "${ue.value}" to view data.` : "Select a filter to view data."), Y = P(null), Ce = k([]), Ee = f.filterStore || rd(), Pe = m(pl, null), $e = Pe || tu(null, f.allFieldsAreFocusable), $ = Ee.filterModel, et = Ee.tableSearchFilterModel, tt = Ee.filterValueMap, nt = Ee.filterValuesMap, it = Ee.filterValueSelectedMetadataMap, at = Ee.fetchFilterValues, ot = Ee.filterStoreHandler, st = Ee.tableSearchHandler;
11800
+ }), J = r(() => Ee.filterModelEmpty.value && f.requireFiltersToShowData ? !1 : ue.value === null), de = r(() => ue.value ? `Select at least one value for "${ue.value}" to view data.` : "Select a filter to view data."), Y = P(null), Ce = k([]), Ee = f.filterStore || od(), Pe = m(gl, null), $e = Pe || iu(null, f.allFieldsAreFocusable), $ = Ee.filterModel, et = Ee.tableSearchFilterModel, tt = Ee.filterValueMap, nt = Ee.filterValuesMap, it = Ee.filterValueSelectedMetadataMap, at = Ee.fetchFilterValues, ot = Ee.filterStoreHandler, st = Ee.tableSearchHandler;
11795
11801
  if (ot.value = f.filterValuesSetHandler, ot.value) {
11796
11802
  let e = (e) => ({
11797
11803
  hasMore: Ee.filterHasMoreMap.value[e],
@@ -11820,8 +11826,8 @@ var hu = { style: { "line-height": "20px" } }, gu = { class: "pv-text-subdued pv
11820
11826
  debounce: 250
11821
11827
  });
11822
11828
  let ct = k(null), lt = r(() => $e?.computedFocusType.value || null), ut = r(() => $e?.computedFocuses.value || []), dt = r(() => K.filter((e) => e.filter)), ft = r(() => K.filter((e) => e.enableRowGroup)), pt = r(() => K.filter((e) => e.aggFunc)), mt = k(null), ht = k({}), gt = k(1), _t = k(0);
11823
- O(fl, Ee), O(pl, $e), O(ml, Ce), O(hl, Y), O(gl, ct), O(_l, se), O(vl, dt), O(yl, ft), O(bl, q), O(xl, mt), O(Sl, ht), O(Cl, ce), O(wl, le), O(Tl, gt), O(El, _t), O(Ll, r(() => f.enableAdvancedFilter));
11824
- let vt = r(() => !f.enableFocusView && !f.rowData || f.enableFocusView && !ut.value.length && !lt.value ? f.rowData : Go(f.rowData, lt.value, ut.value));
11829
+ O(hl, Ee), O(gl, $e), O(_l, Ce), O(vl, Y), O(yl, ct), O(bl, se), O(xl, dt), O(Sl, ft), O(Cl, q), O(wl, mt), O(Tl, ht), O(El, ce), O(Dl, le), O(Ol, gt), O(kl, _t), O(Bl, r(() => f.enableAdvancedFilter));
11830
+ let vt = r(() => !f.enableFocusView && !f.rowData || f.enableFocusView && !ut.value.length && !lt.value ? f.rowData : qo(f.rowData, lt.value, ut.value));
11825
11831
  H(() => ut.value, (e) => {
11826
11832
  A("focus-update", {
11827
11833
  filterField: lt.value,
@@ -11843,7 +11849,7 @@ var hu = { style: { "line-height": "20px" } }, gu = { class: "pv-text-subdued pv
11843
11849
  }, bt = (e) => {
11844
11850
  if (Y.value) {
11845
11851
  let t = Dt();
11846
- Vu($.value, t) || ($.value = t, A("filter-changed", e));
11852
+ Wu($.value, t) || ($.value = t, A("filter-changed", e));
11847
11853
  }
11848
11854
  }, xt = (e) => {
11849
11855
  Ce.value = e.api?.getState()?.sort?.sortModel || [], ce.value && A("sort-changed", e);
@@ -11924,10 +11930,10 @@ var hu = { style: { "line-height": "20px" } }, gu = { class: "pv-text-subdued pv
11924
11930
  }, Dt = () => Y.value ? f.enableAdvancedFilter ? Y.value.getAdvancedFilterModel() : Y.value.getFilterModel() : $.value, Mt = (e) => {
11925
11931
  if (!Y.value) return !1;
11926
11932
  if (f.enableAdvancedFilter) {
11927
- let t = e && Qu(e) ? Cu(e) : e;
11933
+ let t = e && td(e) ? Eu(e) : e;
11928
11934
  Y.value.setAdvancedFilterModel(t);
11929
11935
  } else {
11930
- if (e && !Qu(e)) return console.warn("Attempting to set a non-regular filter model while advanced filtering is disabled. The filter model was not applied. Consider enabling advanced filtering for full functionality."), !1;
11936
+ if (e && !td(e)) return console.warn("Attempting to set a non-regular filter model while advanced filtering is disabled. The filter model was not applied. Consider enabling advanced filtering for full functionality."), !1;
11931
11937
  Y.value.setFilterModel(e);
11932
11938
  }
11933
11939
  return !0;
@@ -11985,7 +11991,7 @@ var hu = { style: { "line-height": "20px" } }, gu = { class: "pv-text-subdued pv
11985
11991
  if (e) return e.click(), !0;
11986
11992
  }
11987
11993
  return !1;
11988
- }, Ut = k(Zl), Wt = k({ loadingMessage: "One moment please..." }), Gt = k((() => {
11994
+ }, Ut = k(eu), Wt = k({ loadingMessage: "One moment please..." }), Gt = k((() => {
11989
11995
  let e = {
11990
11996
  headerName: "",
11991
11997
  minWidth: 200,
@@ -11995,7 +12001,7 @@ var hu = { style: { "line-height": "20px" } }, gu = { class: "pv-text-subdued pv
11995
12001
  headerComponent: void 0,
11996
12002
  cellRendererParams: {
11997
12003
  suppressCount: !0,
11998
- innerRenderer: pu,
12004
+ innerRenderer: gu,
11999
12005
  innerRendererParams: (e) => ({
12000
12006
  displayBaseAggregationsOnly: f.displayBaseAggregationsOnly,
12001
12007
  displayRowNumber: f.displayRowNumber,
@@ -12014,7 +12020,7 @@ var hu = { style: { "line-height": "20px" } }, gu = { class: "pv-text-subdued pv
12014
12020
  Gt.value.headerName = "", Gt.value.headerComponent = void 0, Gt.value.context = null, Gt.value.sortable = !1, Gt.value.filter = void 0, Gt.value.enableRowGroup = void 0;
12015
12021
  return;
12016
12022
  }
12017
- Gt.value.field = e.field, Gt.value.headerName = e.headerName, Gt.value.headerComponent = e.headerComponent ?? (f.enableInlineFilters ? void 0 : Rd), Gt.value.context = { dataType: e.context?.dataType || null }, Gt.value.sortable = e.sortable, Gt.value.filter = e.filter, Gt.value.enableRowGroup = e.enableRowGroup, Gt.value.onCellClicked = e.onCellClicked;
12023
+ Gt.value.field = e.field, Gt.value.headerName = e.headerName, Gt.value.headerComponent = e.headerComponent ?? (f.enableInlineFilters ? void 0 : Vd), Gt.value.context = { dataType: e.context?.dataType || null }, Gt.value.sortable = e.sortable, Gt.value.filter = e.filter, Gt.value.enableRowGroup = e.enableRowGroup, Gt.value.onCellClicked = e.onCellClicked;
12018
12024
  }, qt = (e) => {
12019
12025
  if (e.node.group) return {
12020
12026
  backgroundColor: "#F7F8F8",
@@ -12027,12 +12033,12 @@ var hu = { style: { "line-height": "20px" } }, gu = { class: "pv-text-subdued pv
12027
12033
  let t = e.values;
12028
12034
  if (e.rowNode.leafGroup) return {
12029
12035
  values: t,
12030
- value: mu(t)
12036
+ value: _u(t)
12031
12037
  };
12032
12038
  let n = e.values.flatMap((e) => e.values || []);
12033
12039
  return {
12034
12040
  values: n,
12035
- value: mu(n)
12041
+ value: _u(n)
12036
12042
  };
12037
12043
  } };
12038
12044
  S(() => {
@@ -12052,11 +12058,11 @@ var hu = { style: { "line-height": "20px" } }, gu = { class: "pv-text-subdued pv
12052
12058
  let t = Y.value;
12053
12059
  if (!t) return;
12054
12060
  let n = e.filter?.filterModel || null, r = e.rowGroup?.groupColIds || null, i = e.columnVisibility || null;
12055
- n && !Vu(n, t.getFilterModel()) && t.setFilterModel(n), f.isTableGrouped && r && !rt(r, q.value) && t.setRowGroupColumns(r), i?.hiddenColIds && t.setColumnsVisible(i.hiddenColIds, !1);
12061
+ n && !Wu(n, t.getFilterModel()) && t.setFilterModel(n), f.isTableGrouped && r && !rt(r, q.value) && t.setRowGroupColumns(r), i?.hiddenColIds && t.setColumnsVisible(i.hiddenColIds, !1);
12056
12062
  };
12057
12063
  H(() => f.initialGridState, () => {
12058
12064
  if (f.initialGridState) {
12059
- let e = wu(f.initialGridState, K, f.enableAdvancedFilter);
12065
+ let e = Du(f.initialGridState, K, f.enableAdvancedFilter);
12060
12066
  e && Xt(e);
12061
12067
  }
12062
12068
  }, { deep: !0 });
@@ -12100,13 +12106,13 @@ var hu = { style: { "line-height": "20px" } }, gu = { class: "pv-text-subdued pv
12100
12106
  content: U(() => [...r[11] ||= [l(" Dev Mode ", -1)]]),
12101
12107
  _: 1
12102
12108
  })) : a("", !0),
12103
- W(s("div", af, [s("div", of, [s("div", sf, [e.enableTableSearch && e.tableSearchInline ? (D(), o("div", {
12109
+ W(s("div", cf, [s("div", lf, [s("div", uf, [e.enableTableSearch && e.tableSearchInline ? (D(), o("div", {
12104
12110
  key: 0,
12105
12111
  style: x(nn.value)
12106
- }, [u(ef, b(p(rn.value)), null, 16)], 4)) : a("", !0), (D(), i(n, {
12112
+ }, [u(rf, b(p(rn.value)), null, 16)], 4)) : a("", !0), (D(), i(n, {
12107
12113
  to: e.filterTeleportLocation,
12108
12114
  disabled: !e.filterTeleportLocation
12109
- }, [dt.value.length > 0 && !f.enableInlineFilters ? (D(), i(Fd, {
12115
+ }, [dt.value.length > 0 && !f.enableInlineFilters ? (D(), i(Rd, {
12110
12116
  key: 0,
12111
12117
  "enable-focus-view": e.enableFocusView,
12112
12118
  "enable-vertical-panel": e.enableVerticalFilterPanel,
@@ -12126,11 +12132,11 @@ var hu = { style: { "line-height": "20px" } }, gu = { class: "pv-text-subdued pv
12126
12132
  "max-horizontal-filters",
12127
12133
  "read-only",
12128
12134
  "disable-unselected-filters"
12129
- ])) : a("", !0)], 8, ["to", "disabled"]))]), s("div", cf, [e.enableGroupBySelector && e.rowGroupLimit !== 0 ? (D(), i(ql, {
12135
+ ])) : a("", !0)], 8, ["to", "disabled"]))]), s("div", df, [e.enableGroupBySelector && e.rowGroupLimit !== 0 ? (D(), i(Xl, {
12130
12136
  key: 0,
12131
12137
  rowGroupLimit: e.rowGroupLimit,
12132
12138
  enableFocusView: e.enableFocusView
12133
- }, null, 8, ["rowGroupLimit", "enableFocusView"])) : a("", !0), e.enableCsvExport ? (D(), i(Kd, {
12139
+ }, null, 8, ["rowGroupLimit", "enableFocusView"])) : a("", !0), e.enableCsvExport ? (D(), i(Yd, {
12134
12140
  key: 1,
12135
12141
  getCsvData: Et
12136
12142
  })) : a("", !0)])])], 512), [[re, e.enableGroupBySelector || !e.filterTeleportLocation || e.enableTableSearch && e.tableSearchInline]]),
@@ -12145,7 +12151,7 @@ var hu = { style: { "line-height": "20px" } }, gu = { class: "pv-text-subdued pv
12145
12151
  }, [e.enableTableSearch && !e.tableSearchInline ? (D(), o("div", {
12146
12152
  key: 0,
12147
12153
  style: x(nn.value)
12148
- }, [u(ef, b(p(rn.value)), null, 16)], 4)) : a("", !0), j(t.$slots, "top-slot")], 2)) : a("", !0),
12154
+ }, [u(rf, b(p(rn.value)), null, 16)], 4)) : a("", !0), j(t.$slots, "top-slot")], 2)) : a("", !0),
12149
12155
  s("div", {
12150
12156
  class: y(["pv-relative pv-stack-8", e.hideTable ? "pv-hide" : ""]),
12151
12157
  style: {
@@ -12234,14 +12240,14 @@ var hu = { style: { "line-height": "20px" } }, gu = { class: "pv-text-subdued pv
12234
12240
  undoRedoCellEditingLimit: e.undoRedoCellEditingLimit,
12235
12241
  enableAdvancedFilter: e.enableAdvancedFilter,
12236
12242
  advancedFilterParent: tn.value
12237
- }), null, 16, /* @__PURE__ */ "class.style.domLayout.autoGroupColumnDef.columnDefs.debug.defaultColDef.getContextMenuItems.getMainMenuItems.groupDefaultExpanded.initialState.isGroupOpenByDefault.loading.loadingCellRenderer.loadingCellRendererParams.maxConcurrentDatasourceRequests.maintainColumnOrder.popupParent.processCellForClipboard.processCellFromClipboard.processDataFromClipboard.rowData.rowHeight.rowModelType.rowSelection.serverSideInitialRowCount.theme.pagination.paginationPageSize.tooltip-show-delay.tooltip-hide-delay.cellSelection.copyHeadersToClipboard.suppressClipboardPaste.suppressCutToClipboard.undoRedoCellEditing.undoRedoCellEditingLimit.enableAdvancedFilter.advancedFilterParent".split(".")), !e.isLoading && !J.value ? (D(), o("div", lf, [s("p", uf, F(de.value), 1)])) : a("", !0)], 2),
12238
- e.pagination ? (D(), i(Jd, { key: 2 })) : a("", !0)
12243
+ }), null, 16, /* @__PURE__ */ "class.style.domLayout.autoGroupColumnDef.columnDefs.debug.defaultColDef.getContextMenuItems.getMainMenuItems.groupDefaultExpanded.initialState.isGroupOpenByDefault.loading.loadingCellRenderer.loadingCellRendererParams.maxConcurrentDatasourceRequests.maintainColumnOrder.popupParent.processCellForClipboard.processCellFromClipboard.processDataFromClipboard.rowData.rowHeight.rowModelType.rowSelection.serverSideInitialRowCount.theme.pagination.paginationPageSize.tooltip-show-delay.tooltip-hide-delay.cellSelection.copyHeadersToClipboard.suppressClipboardPaste.suppressCutToClipboard.undoRedoCellEditing.undoRedoCellEditingLimit.enableAdvancedFilter.advancedFilterParent".split(".")), !e.isLoading && !J.value ? (D(), o("div", ff, [s("p", pf, F(de.value), 1)])) : a("", !0)], 2),
12244
+ e.pagination ? (D(), i(Zd, { key: 2 })) : a("", !0)
12239
12245
  ], 4));
12240
12246
  }
12241
- }), ff = {
12247
+ }), hf = {
12242
12248
  class: "pv-flex pv-full-width pv-space-between",
12243
12249
  style: { "white-space": "nowrap" }
12244
- }, pf = { class: "pv-text-body-md" }, mf = /* @__PURE__ */ d({
12250
+ }, gf = { class: "pv-text-body-md" }, _f = /* @__PURE__ */ d({
12245
12251
  inheritAttrs: !1,
12246
12252
  __name: "PvTableOverlayMenuItemRenderer",
12247
12253
  props: {
@@ -12250,16 +12256,16 @@ var hu = { style: { "line-height": "20px" } }, gu = { class: "pv-text-subdued pv
12250
12256
  context: {}
12251
12257
  },
12252
12258
  setup(e) {
12253
- return (t, n) => (D(), o("div", ff, [s("span", pf, F(e.text), 1), e.context?.rightIcon ? (D(), i(On, {
12259
+ return (t, n) => (D(), o("div", hf, [s("span", gf, F(e.text), 1), e.context?.rightIcon ? (D(), i(On, {
12254
12260
  key: 0,
12255
12261
  name: e.context.rightIcon,
12256
12262
  class: "pv-text-subdued"
12257
12263
  }, null, 8, ["name"])) : a("", !0)]));
12258
12264
  }
12259
- }), hf = { class: "pv-relative" }, gf = {
12265
+ }), vf = { class: "pv-relative" }, yf = {
12260
12266
  role: "list",
12261
12267
  class: "pv-relative"
12262
- }, _f = ["data-active"], vf = { style: { cursor: "pointer" } }, yf = { role: "list" }, bf = /* @__PURE__ */ d({
12268
+ }, bf = ["data-active"], xf = { style: { cursor: "pointer" } }, Sf = { role: "list" }, Cf = /* @__PURE__ */ d({
12263
12269
  __name: "PvTableOptionsPanel",
12264
12270
  props: {
12265
12271
  groupedModeEnabled: { type: Boolean },
@@ -12267,7 +12273,7 @@ var hu = { style: { "line-height": "20px" } }, gu = { class: "pv-text-subdued pv
12267
12273
  },
12268
12274
  emits: ["toggle-group", "table-overlay-change"],
12269
12275
  setup(e, { emit: n }) {
12270
- let i = e, c = n, { popoverPositionStyle: l, updateRects: d, triggerRef: f, popoverRef: p } = od({
12276
+ let i = e, c = n, { popoverPositionStyle: l, updateRects: d, triggerRef: f, popoverRef: p } = ld({
12271
12277
  alignment: "top",
12272
12278
  popoverCssProperties: {
12273
12279
  maxWidth: "300px",
@@ -12294,7 +12300,7 @@ var hu = { style: { "line-height": "20px" } }, gu = { class: "pv-text-subdued pv
12294
12300
  }, C = () => {
12295
12301
  v.value && (h.value = !0, f.value = document.getElementById("table-config-overlay"), d());
12296
12302
  };
12297
- return (n, r) => (D(), o(t, null, [W((D(), o("div", hf, [u(xa, {
12303
+ return (n, r) => (D(), o(t, null, [W((D(), o("div", vf, [u(xa, {
12298
12304
  open: m.value,
12299
12305
  label: "Table Configuration",
12300
12306
  icon: "settings",
@@ -12315,7 +12321,7 @@ var hu = { style: { "line-height": "20px" } }, gu = { class: "pv-text-subdued pv
12315
12321
  "padding-top": "4px",
12316
12322
  "padding-bottom": "12px"
12317
12323
  }
12318
- }, " Table Configuration ")], -1), s("ul", gf, [v.value ? (D(), o("li", {
12324
+ }, " Table Configuration ")], -1), s("ul", yf, [v.value ? (D(), o("li", {
12319
12325
  key: 0,
12320
12326
  id: "table-config-overlay",
12321
12327
  "data-active": h.value ? !0 : null,
@@ -12328,7 +12334,7 @@ var hu = { style: { "line-height": "20px" } }, gu = { class: "pv-text-subdued pv
12328
12334
  text: "Table Overlay",
12329
12335
  icon: "layers-2",
12330
12336
  "class-list": ["pv-menu-nested", h.value ? "pv-menu-nested-active" : ""]
12331
- }, null, 8, ["class-list"])], 40, _f)) : a("", !0), s("li", vf, [u(co, {
12337
+ }, null, 8, ["class-list"])], 40, bf)) : a("", !0), s("li", xf, [u(co, {
12332
12338
  config: { variant: "icon" },
12333
12339
  id: "table-config-group-toggle",
12334
12340
  class: "pv-text-subdued",
@@ -12348,11 +12354,11 @@ var hu = { style: { "line-height": "20px" } }, gu = { class: "pv-text-subdued pv
12348
12354
  },
12349
12355
  isList: !0
12350
12356
  }, {
12351
- default: U(() => [s("ul", yf, [(D(!0), o(t, null, A(_.value, (e) => (D(), o("li", { key: e.id }, [u(co, {
12357
+ default: U(() => [s("ul", Sf, [(D(!0), o(t, null, A(_.value, (e) => (D(), o("li", { key: e.id }, [u(co, {
12352
12358
  id: e.id,
12353
12359
  config: {
12354
12360
  variant: "checkbox",
12355
- renderer: mf
12361
+ renderer: _f
12356
12362
  },
12357
12363
  text: e.text,
12358
12364
  context: e.context,
@@ -12369,13 +12375,13 @@ var hu = { style: { "line-height": "20px" } }, gu = { class: "pv-text-subdued pv
12369
12375
  _: 1
12370
12376
  }, 8, ["class", "css-custom-properties"])], 64));
12371
12377
  }
12372
- }), xf = ["id"], Sf = {
12378
+ }), wf = ["id"], Tf = {
12373
12379
  key: 0,
12374
12380
  class: "sort-divider-container"
12375
- }, Cf = ["data-label"], wf = ["onDrop"], Tf = { class: "pv-full-width pv-bordered pv-radius-md pv-flex pv-center pv-placeholder-dropzone" }, Ef = { class: "pv-text-body-sm pv-text-tertiary" }, Df = { class: "pv-flex pv-full-width pv-sort-option" }, Of = { class: "pv-text-body-sm" }, kf = {
12381
+ }, Ef = ["data-label"], Df = ["onDrop"], Of = { class: "pv-full-width pv-bordered pv-radius-md pv-flex pv-center pv-placeholder-dropzone" }, kf = { class: "pv-text-body-sm pv-text-tertiary" }, Af = { class: "pv-flex pv-full-width pv-sort-option" }, jf = { class: "pv-text-body-sm" }, Mf = {
12376
12382
  key: 1,
12377
12383
  class: "pv-button-placeholder"
12378
- }, Af = "--divider--", jf = "placeholder-", Mf = /* @__PURE__ */ Qt(/* @__PURE__ */ d({
12384
+ }, Nf = "--divider--", Pf = "placeholder-", Ff = /* @__PURE__ */ Qt(/* @__PURE__ */ d({
12379
12385
  __name: "PvSortableList",
12380
12386
  props: /* @__PURE__ */ g({
12381
12387
  options: { default: () => [] },
@@ -12395,11 +12401,11 @@ var hu = { style: { "line-height": "20px" } }, gu = { class: "pv-text-subdued pv
12395
12401
  emits: ["update:modelValue"],
12396
12402
  setup(e) {
12397
12403
  let n = e, c = z(e, "modelValue"), l = {
12398
- id: Af,
12404
+ id: Nf,
12399
12405
  text: "",
12400
12406
  disabled: !0
12401
12407
  }, d = r(() => n.activeOptionLimit ? Math.max(0, n.activeOptionLimit - c.value.length) : 0), f = r(() => !n.showPlaceholders || d.value === 0 ? [] : Array.from({ length: d.value }, (e, t) => ({
12402
- id: `${jf}${t}`,
12408
+ id: `${Pf}${t}`,
12403
12409
  text: "",
12404
12410
  disabled: !0,
12405
12411
  isPlaceholder: !0
@@ -12413,20 +12419,20 @@ var hu = { style: { "line-height": "20px" } }, gu = { class: "pv-text-subdued pv
12413
12419
  ];
12414
12420
  }), m = V("sortableListRef"), h = V("containerRef"), g = null, _ = null, v = () => {
12415
12421
  if (!m.value) return;
12416
- let e = Array.from(m.value.children).map((e) => e.id), t = e.findIndex((e) => e === Af);
12422
+ let e = Array.from(m.value.children).map((e) => e.id), t = e.findIndex((e) => e === Nf);
12417
12423
  t !== -1 && (e = e.slice(0, t)), e = e.filter((e) => !e.startsWith("placeholder-")), c.value = e.map((e) => n.options.find((t) => t.id === e) || null).filter(Boolean).slice(0, n.activeOptionLimit || Infinity);
12418
12424
  };
12419
12425
  T(() => {
12420
12426
  m.value && (g = new it(m.value, {
12421
12427
  animation: 200,
12422
- filter: `#${Af}, [id^="placeholder-"]`,
12428
+ filter: `#${Nf}, [id^="placeholder-"]`,
12423
12429
  dragoverBubble: !0,
12424
12430
  onStart: (e) => {
12425
12431
  _ = e.item;
12426
12432
  },
12427
12433
  onMove: (e) => {
12428
12434
  let t = e.related;
12429
- if (t?.id === Af || t?.id?.startsWith("placeholder-")) return !1;
12435
+ if (t?.id === Nf || t?.id?.startsWith("placeholder-")) return !1;
12430
12436
  let r = n.options.find((t) => t.id === e.dragged.id);
12431
12437
  return r && w(r);
12432
12438
  },
@@ -12474,20 +12480,20 @@ var hu = { style: { "line-height": "20px" } }, gu = { class: "pv-text-subdued pv
12474
12480
  key: e.id,
12475
12481
  id: e.id,
12476
12482
  class: "pv-stack-4"
12477
- }, [e.id === Af ? (D(), o("div", Sf, [s("div", {
12483
+ }, [e.id === Nf ? (D(), o("div", Tf, [s("div", {
12478
12484
  class: "sort-divider pv-text-default pv-text-body-xs pv-text-tertiary",
12479
12485
  "data-label": O.value ? `Maximum of ${n.activeOptionLimit}` : ""
12480
- }, null, 8, Cf)])) : e.id.includes(jf) ? (D(), o("div", {
12486
+ }, null, 8, Ef)])) : e.id.includes(Pf) ? (D(), o("div", {
12481
12487
  key: 1,
12482
12488
  class: "placeholder-zone",
12483
12489
  onDragover: r[0] ||= (e) => b(e),
12484
12490
  onDragleave: r[1] ||= (e) => S(e),
12485
12491
  onDrop: (t) => C(t, parseInt(e.id.split("-")[1]) + 1)
12486
- }, [s("div", Tf, [s("span", Ef, F(n.placeholderText), 1)])], 40, wf)) : (D(), o("div", {
12492
+ }, [s("div", Of, [s("span", kf, F(n.placeholderText), 1)])], 40, Df)) : (D(), o("div", {
12487
12493
  key: 2,
12488
12494
  class: y(["pv-full-width pv-bordered pv-radius-md pv-flex pv-space-between", !w(e) && O.value ? "pv-menu-item-disabled" : ""]),
12489
12495
  style: x(M(e))
12490
- }, [s("div", Df, [
12496
+ }, [s("div", Af, [
12491
12497
  u(On, {
12492
12498
  class: y(w(e) ? "pv-text-brand" : "pv-text-tertiary"),
12493
12499
  name: "reorder"
@@ -12497,8 +12503,8 @@ var hu = { style: { "line-height": "20px" } }, gu = { class: "pv-text-subdued pv
12497
12503
  class: y(w(e) ? "pv-text-brand" : "pv-text-tertiary"),
12498
12504
  name: e.icon
12499
12505
  }, null, 8, ["class", "name"])) : a("", !0),
12500
- s("span", Of, F(e.text), 1)
12501
- ]), j(e) ? (D(), o("div", kf)) : (D(), i(Mn, {
12506
+ s("span", jf, F(e.text), 1)
12507
+ ]), j(e) ? (D(), o("div", Mf)) : (D(), i(Mn, {
12502
12508
  key: 0,
12503
12509
  "left-icon": w(e) ? "remove-circle" : "add-circle",
12504
12510
  ariaLabel: w(e) ? `Remove ${e.text}` : `Add ${e.text}`,
@@ -12510,16 +12516,16 @@ var hu = { style: { "line-height": "20px" } }, gu = { class: "pv-text-subdued pv
12510
12516
  "ariaLabel",
12511
12517
  "style",
12512
12518
  "onClick"
12513
- ]))], 6))], 8, xf))), 128))], 512)], 512));
12519
+ ]))], 6))], 8, wf))), 128))], 512)], 512));
12514
12520
  }
12515
- }), [["__scopeId", "data-v-34615cd0"]]), Nf = (e) => e.field === "state" || Ko(e).dataType === Bo.Location, Pf = (e) => e, Ff = (e, t, n) => {
12521
+ }), [["__scopeId", "data-v-34615cd0"]]), If = (e) => e.field === "state" || Jo(e).dataType === Ho.Location, Lf = (e) => e, Rf = (e, t, n) => {
12516
12522
  if (!n || t.length === 0) return e;
12517
12523
  let r = new Set(n(t).map((e) => e.field));
12518
12524
  return e.filter((e) => r.has(e));
12519
- }, If = (e) => e.filter((e) => !Xo(e)), Lf = (e) => e.filter((e) => Xo(e)), Rf = {
12525
+ }, zf = (e) => e.filter((e) => !Qo(e)), Bf = (e) => e.filter((e) => Qo(e)), Vf = {
12520
12526
  xAxis: {
12521
12527
  selectMode: "sortable",
12522
- filterColumns: If
12528
+ filterColumns: zf
12523
12529
  },
12524
12530
  yAxis: {},
12525
12531
  secondaryYAxis: {},
@@ -12528,16 +12534,16 @@ var hu = { style: { "line-height": "20px" } }, gu = { class: "pv-text-subdued pv
12528
12534
  rowGroupLimit: 2,
12529
12535
  supportsFocusView: !0,
12530
12536
  storeBeforeChange: !0
12531
- }, zf = [
12537
+ }, Hf = [
12532
12538
  {
12533
- ...Rf,
12539
+ ...Vf,
12534
12540
  id: "column",
12535
12541
  text: "Column",
12536
12542
  icon: "chart-column",
12537
12543
  agChartType: "bar"
12538
12544
  },
12539
12545
  {
12540
- ...Rf,
12546
+ ...Vf,
12541
12547
  id: "bar",
12542
12548
  text: "Bar",
12543
12549
  icon: "chart-bar",
@@ -12545,28 +12551,28 @@ var hu = { style: { "line-height": "20px" } }, gu = { class: "pv-text-subdued pv
12545
12551
  isHorizontal: !0
12546
12552
  },
12547
12553
  {
12548
- ...Rf,
12554
+ ...Vf,
12549
12555
  id: "line",
12550
12556
  text: "Line",
12551
12557
  icon: "chart-line",
12552
12558
  agChartType: "line"
12553
12559
  },
12554
12560
  {
12555
- ...Rf,
12561
+ ...Vf,
12556
12562
  id: "area",
12557
12563
  text: "Area",
12558
12564
  icon: "chart-area",
12559
12565
  agChartType: "area"
12560
12566
  },
12561
12567
  {
12562
- ...Rf,
12568
+ ...Vf,
12563
12569
  id: "column_stacked",
12564
12570
  text: "Stacked Column",
12565
12571
  icon: "chart-column-stacked",
12566
12572
  agChartType: "bar"
12567
12573
  },
12568
12574
  {
12569
- ...Rf,
12575
+ ...Vf,
12570
12576
  id: "bar_stacked",
12571
12577
  text: "Stacked Bar",
12572
12578
  icon: "chart-bar-stacked",
@@ -12574,7 +12580,7 @@ var hu = { style: { "line-height": "20px" } }, gu = { class: "pv-text-subdued pv
12574
12580
  isHorizontal: !0
12575
12581
  },
12576
12582
  {
12577
- ...Rf,
12583
+ ...Vf,
12578
12584
  id: "pie",
12579
12585
  text: "Pie",
12580
12586
  icon: "chart-pie",
@@ -12588,7 +12594,7 @@ var hu = { style: { "line-height": "20px" } }, gu = { class: "pv-text-subdued pv
12588
12594
  icon: "chart-column",
12589
12595
  xAxis: {
12590
12596
  selectMode: "single",
12591
- filterColumns: Lf,
12597
+ filterColumns: Bf,
12592
12598
  hideLabel: !0
12593
12599
  },
12594
12600
  yAxis: {
@@ -12609,7 +12615,7 @@ var hu = { style: { "line-height": "20px" } }, gu = { class: "pv-text-subdued pv
12609
12615
  icon: "map",
12610
12616
  xAxis: {
12611
12617
  selectMode: "single",
12612
- filterColumns: If,
12618
+ filterColumns: zf,
12613
12619
  hideLabel: !0
12614
12620
  },
12615
12621
  yAxis: {},
@@ -12621,26 +12627,26 @@ var hu = { style: { "line-height": "20px" } }, gu = { class: "pv-text-subdued pv
12621
12627
  supportsFocusView: !1,
12622
12628
  storeBeforeChange: !1
12623
12629
  }
12624
- ], Bf = new Map(zf.map((e) => [e.id, e])), Vf = Bf.get("column");
12625
- function Hf(e) {
12626
- return Bf.get(e) || Vf;
12630
+ ], Uf = new Map(Hf.map((e) => [e.id, e])), Wf = Uf.get("column");
12631
+ function Gf(e) {
12632
+ return Uf.get(e) || Wf;
12627
12633
  }
12628
12634
  //#endregion
12629
12635
  //#region src/components/charts/PvDataTableWithChart/table-chart-components/PvChartOptionMenuItemRenderer.vue?vue&type=script&setup=true&lang.ts
12630
- var Uf = {
12636
+ var Kf = {
12631
12637
  class: "pv-full-width pv-flex",
12632
12638
  style: { "--flex-gap": "8px" }
12633
- }, Wf = {
12639
+ }, qf = {
12634
12640
  class: "pv-full-width pv-truncate pv-flex-vertical",
12635
12641
  style: {
12636
12642
  "align-items": "flex-start",
12637
12643
  "--flex-gap": "0"
12638
12644
  }
12639
- }, Gf = ["title"], Kf = ["title"], qf = { style: {
12645
+ }, Jf = ["title"], Yf = ["title"], Xf = { style: {
12640
12646
  "max-width": "220px",
12641
12647
  "white-space": "normal",
12642
12648
  "overflow-wrap": "break-word"
12643
- } }, Jf = /* @__PURE__ */ d({
12649
+ } }, Zf = /* @__PURE__ */ d({
12644
12650
  inheritAttrs: !1,
12645
12651
  __name: "PvChartOptionMenuItemRenderer",
12646
12652
  props: {
@@ -12649,14 +12655,14 @@ var Uf = {
12649
12655
  text: {}
12650
12656
  },
12651
12657
  setup(e) {
12652
- return (t, n) => (D(), o("div", Uf, [s("div", Wf, [s("span", {
12658
+ return (t, n) => (D(), o("div", Kf, [s("div", qf, [s("span", {
12653
12659
  class: "pv-text-body-md pv-full-width pv-truncate",
12654
12660
  title: e.text
12655
- }, F(e.text), 9, Gf), e.subText ? (D(), o("span", {
12661
+ }, F(e.text), 9, Jf), e.subText ? (D(), o("span", {
12656
12662
  key: 0,
12657
12663
  class: "pv-text-body-xs pv-text-subdued pv-full-width pv-truncate",
12658
12664
  title: e.subText
12659
- }, F(e.subText), 9, Kf)) : a("", !0)]), e.context?.description ? (D(), i(I(zi), {
12665
+ }, F(e.subText), 9, Yf)) : a("", !0)]), e.context?.description ? (D(), i(I(zi), {
12660
12666
  key: 0,
12661
12667
  variant: "dark",
12662
12668
  position: "center-right",
@@ -12670,34 +12676,34 @@ var Uf = {
12670
12676
  name: "info-circle",
12671
12677
  class: "pv-text-subdued"
12672
12678
  })]),
12673
- content: U(() => [s("div", qf, F(e.context.description), 1)]),
12679
+ content: U(() => [s("div", Xf, F(e.context.description), 1)]),
12674
12680
  _: 1
12675
12681
  })) : a("", !0)]));
12676
12682
  }
12677
- }), Yf = { class: "pv-stack-16 pv-chart-options-panel" }, Xf = { class: "pv-flex pv-relative" }, Zf = [
12683
+ }), Qf = { class: "pv-stack-16 pv-chart-options-panel" }, $f = { class: "pv-flex pv-relative" }, ep = [
12678
12684
  "id",
12679
12685
  "aria-label",
12680
12686
  "onKeydown"
12681
- ], Qf = {
12687
+ ], tp = {
12682
12688
  role: "list",
12683
12689
  class: "pv-popover-list pv-relative"
12684
- }, $f = [
12690
+ }, np = [
12685
12691
  "id",
12686
12692
  "data-active",
12687
12693
  "data-dd-action-name",
12688
12694
  "onMouseenter",
12689
12695
  "onClick"
12690
- ], ep = { style: { "max-width": "100px" } }, tp = {
12696
+ ], rp = { style: { "max-width": "100px" } }, ip = {
12691
12697
  key: 1,
12692
12698
  class: "pv-flex"
12693
- }, np = {
12699
+ }, ap = {
12694
12700
  key: 0,
12695
12701
  class: "pv-inset-square-8"
12696
- }, rp = {
12702
+ }, op = {
12697
12703
  key: 1,
12698
12704
  role: "list",
12699
12705
  class: "pv-popover-list"
12700
- }, ip = ["data-active"], ap = "This metric isn’t available with the selected chart type.", op = /* @__PURE__ */ Qt(/* @__PURE__ */ d({
12706
+ }, sp = ["data-active"], cp = "This metric isn’t available with the selected chart type.", lp = /* @__PURE__ */ Qt(/* @__PURE__ */ d({
12701
12707
  __name: "PvChartOptionsPanel",
12702
12708
  props: {
12703
12709
  enablePanel: { type: Boolean },
@@ -12714,17 +12720,17 @@ var Uf = {
12714
12720
  },
12715
12721
  emits: ["series-agg-func-selected"],
12716
12722
  setup(e, { emit: n }) {
12717
- let l = e, d = n, f = r(() => !!l.useCombinedButton && l.useNestedMenu), { popoverPositionStyle: p, updateRects: g, triggerRef: _, popoverRef: v } = od({
12723
+ let l = e, d = n, f = r(() => !!l.useCombinedButton && l.useNestedMenu), { popoverPositionStyle: p, updateRects: g, triggerRef: _, popoverRef: v } = ld({
12718
12724
  alignment: "top right",
12719
12725
  popoverCssProperties: {
12720
12726
  maxWidth: "500px",
12721
12727
  maxHeight: "900px"
12722
12728
  },
12723
12729
  useTeleport: !0
12724
- }), b = k(!1), S = k(void 0), C = k(null), w = m(jl, k(void 0)), T = m(kl, k([])), E = m(Ml, k(void 0)), O = m(Al, k([])), j = m(Ol, k([])), M = m(yl, k([])), N = r(() => Hf(w.value?.id || "")), P = r(() => {
12730
+ }), b = k(!1), S = k(void 0), C = k(null), w = m(Pl, k(void 0)), T = m(Ml, k([])), E = m(Fl, k(void 0)), O = m(Nl, k([])), j = m(jl, k([])), M = m(Sl, k([])), N = r(() => Gf(w.value?.id || "")), P = r(() => {
12725
12731
  let e = w.value?.id ?? "";
12726
12732
  return j.value.length > 1 && !e.endsWith("_stacked");
12727
- }), ee = m(Nl, k("")), L = m(Pl, k([])), R = m(Fl, k(void 0)), z = m(Il, k([])), B = m(Rl, k(/* @__PURE__ */ new Set())), V = m(zl, k([])), te = r(() => V.value.filter((e) => B.value.has(e.id)).map((e) => ({
12733
+ }), ee = m(Il, k("")), L = m(Ll, k([])), R = m(Rl, k(void 0)), z = m(zl, k([])), B = m(Vl, k(/* @__PURE__ */ new Set())), V = m(Hl, k([])), te = r(() => V.value.filter((e) => B.value.has(e.id)).map((e) => ({
12728
12734
  id: e.id,
12729
12735
  text: e.label,
12730
12736
  disabled: e.disabled,
@@ -12735,7 +12741,7 @@ var Uf = {
12735
12741
  H(P, (e) => {
12736
12742
  e && R.value && (R.value = void 0);
12737
12743
  }, { immediate: !0 });
12738
- let re = m(Dl, k("")), K = r(() => l.chartFilter && l.chartFilter.options ? l.chartFilter.options.map((e) => ({
12744
+ let re = m(Al, k("")), K = r(() => l.chartFilter && l.chartFilter.options ? l.chartFilter.options.map((e) => ({
12739
12745
  label: e.label,
12740
12746
  value: e.value
12741
12747
  })) : []), ae = r(() => {
@@ -12782,10 +12788,10 @@ var Uf = {
12782
12788
  case "sort": return "Select Chart Sort";
12783
12789
  default: return;
12784
12790
  }
12785
- }, ce = ll(), le = (e) => e === "secondary-y-axis" ? "metric-overlay" : e, ue = (e, t, n = "select") => {
12791
+ }, ce = fl(), le = (e) => e === "secondary-y-axis" ? "metric-overlay" : e, ue = (e, t, n = "select") => {
12786
12792
  if (!t) return;
12787
12793
  let r = Oe.value.find((t) => t.value === e), i = r?.availableOptions ? oe(r.availableOptions, t) : void 0;
12788
- ul("chart_option_selected", {
12794
+ pl("chart_option_selected", {
12789
12795
  panel: le(e),
12790
12796
  selected_value: i?.text ?? t,
12791
12797
  selected_value_id: t,
@@ -12793,37 +12799,37 @@ var Uf = {
12793
12799
  }, ce());
12794
12800
  }, J = (e, t) => {
12795
12801
  let n = new Set(e.activeOptionIds);
12796
- e.updateSelectedOptions?.(t), dl(() => {
12802
+ e.updateSelectedOptions?.(t), ml(() => {
12797
12803
  for (let r of t) n.has(r.id) || ue(e.value, r.id);
12798
12804
  });
12799
12805
  }, de = (e, t) => {
12800
- e.updateSelectedOption?.(t?.id || ""), dl(() => ue(e.value, t?.id));
12806
+ e.updateSelectedOption?.(t?.id || ""), ml(() => ue(e.value, t?.id));
12801
12807
  }, fe = (e, t) => {
12802
12808
  let n = t.option;
12803
12809
  if (e.isMultiSelect) {
12804
12810
  let t = new Set(e.activeOptionIds ?? []), r = new Set(t);
12805
- r.has(n.id) ? r.delete(n.id) : r.add(n.id), e.updateSelectedOptions?.(se(e.availableOptions ?? []).filter((e) => r.has(e.id))), t.has(n.id) || dl(() => ue(e.value, n.id));
12811
+ r.has(n.id) ? r.delete(n.id) : r.add(n.id), e.updateSelectedOptions?.(se(e.availableOptions ?? []).filter((e) => r.has(e.id))), t.has(n.id) || ml(() => ue(e.value, n.id));
12806
12812
  return;
12807
12813
  }
12808
- e.updateSelectedOption?.(n.id), dl(() => ue(e.value, n.id));
12814
+ e.updateSelectedOption?.(n.id), ml(() => ue(e.value, n.id));
12809
12815
  }, Y = (e, t) => {
12810
12816
  let n = e.activeOptions?.value ?? [];
12811
- e.activeOptions && (e.activeOptions.value = t), dl(() => {
12817
+ e.activeOptions && (e.activeOptions.value = t), ml(() => {
12812
12818
  let r = n.map((e) => e.id), i = t.map((e) => e.id), a = new Set(r), o = new Set(i);
12813
12819
  for (let n of t) a.has(n.id) || ue(e.value, n.id, "select");
12814
12820
  for (let t of n) o.has(t.id) || ue(e.value, t.id, "deselect");
12815
- r.length === i.length && r.every((e) => o.has(e)) && r.join(" ") !== i.join(" ") && ul("chart_option_selected", {
12821
+ r.length === i.length && r.every((e) => o.has(e)) && r.join(" ") !== i.join(" ") && pl("chart_option_selected", {
12816
12822
  panel: le(e.value),
12817
12823
  selected_value: t.map((e) => e.text).join(", "),
12818
12824
  selected_value_id: i.join(","),
12819
12825
  action: "reorder"
12820
12826
  }, ce());
12821
12827
  });
12822
- }, pe = (e, t) => `chart-series-agg-func:${encodeURIComponent(e)}:${encodeURIComponent(t)}`, me = (e) => `chart-series-agg-func-group:${encodeURIComponent(e)}`, he = (e) => e ? { renderer: Jf } : { variant: "icon" }, ge = r(() => w.value?.id === "line" ? l.percentOfFocusViewYKey : void 0), _e = (e, t, n) => {
12828
+ }, pe = (e, t) => `chart-series-agg-func:${encodeURIComponent(e)}:${encodeURIComponent(t)}`, me = (e) => `chart-series-agg-func-group:${encodeURIComponent(e)}`, he = (e) => e ? { renderer: Zf } : { variant: "icon" }, ge = r(() => w.value?.id === "line" ? l.percentOfFocusViewYKey : void 0), _e = (e, t, n) => {
12823
12829
  let r = !!e && t === e;
12824
12830
  return {
12825
12831
  disabled: r,
12826
- description: r ? ap : n
12832
+ description: r ? cp : n
12827
12833
  };
12828
12834
  }, ve = (e, t) => {
12829
12835
  let n = [], r = /* @__PURE__ */ new Map(), i = /* @__PURE__ */ new Map();
@@ -12892,7 +12898,7 @@ var Uf = {
12892
12898
  }, Se = (e) => e.reduce((e, t) => e + (t.aggFuncOptions?.length || 1), 0), Ce = r(() => f.value ? ve(L.value, ge.value) : ye(L.value, ge.value)), we = r(() => f.value ? ve(z.value) : ye(z.value)), Te = r(() => f.value ? Se(L.value) : L.value.length), Ee = r(() => M.value.map((e) => ({
12893
12899
  id: e.field || "",
12894
12900
  text: e.headerName || e.field || "",
12895
- icon: Vo(e.context?.dataType || null) || "circle-chevron-down"
12901
+ icon: Uo(e.context?.dataType || null) || "circle-chevron-down"
12896
12902
  }))), De = r({
12897
12903
  get: () => j.value.map((e) => Ee.value.find((t) => t.id === e)).filter(Boolean),
12898
12904
  set: (e) => {
@@ -13029,7 +13035,7 @@ var Uf = {
13029
13035
  }
13030
13036
  }))), je = (e) => e.isMultiSelect ? {
13031
13037
  variant: "checkbox",
13032
- renderer: Jf
13038
+ renderer: Zf
13033
13039
  } : { variant: "icon" };
13034
13040
  H(C, (e) => {
13035
13041
  e && (v.value = e);
@@ -13038,26 +13044,26 @@ var Uf = {
13038
13044
  let t = X.value;
13039
13045
  if (!t?.isMultiSelect) return;
13040
13046
  let n = new Set(B.value);
13041
- t.updateSelectedOptions?.((t.availableOptions ?? []).filter((t) => e.includes(t.id))), dl(() => {
13047
+ t.updateSelectedOptions?.((t.availableOptions ?? []).filter((t) => e.includes(t.id))), ml(() => {
13042
13048
  for (let r of e) n.has(r) || ue(t.value, r);
13043
13049
  });
13044
13050
  }, Me = (e) => {
13045
13051
  let t = X.value;
13046
- !t || t.isMultiSelect || (t.updateSelectedOption?.(e.id), dl(() => ue(t.value, e.id)));
13052
+ !t || t.isMultiSelect || (t.updateSelectedOption?.(e.id), ml(() => ue(t.value, e.id)));
13047
13053
  }, Ne = (e) => {
13048
13054
  let t = X.value;
13049
13055
  return !t || t.isMultiSelect ? null : t.currentOption?.id === e.id ? !0 : null;
13050
13056
  }, Pe = (e) => X.value?.isMultiSelect ? {
13051
13057
  variant: "checkbox",
13052
- renderer: Jf
13053
- } : e.context && typeof e.context == "object" && "description" in e.context ? { renderer: Jf } : { variant: "icon" }, Fe = (e) => {
13058
+ renderer: Zf
13059
+ } : e.context && typeof e.context == "object" && "description" in e.context ? { renderer: Zf } : { variant: "icon" }, Fe = (e) => {
13054
13060
  S.value = e, _.value = document.getElementById(`pv-chart-config-${e}`), g();
13055
13061
  }, Ie = () => {
13056
13062
  b.value = !1, S.value = void 0;
13057
13063
  }, Le = () => {
13058
13064
  S.value = void 0;
13059
13065
  };
13060
- return (n, r) => (D(), o(t, null, [s("div", Yf, [s("div", null, [W((D(), o("div", { class: y(["pv-flex pv-space-between", e.useCombinedButton ? "pv-stack-8" : ""]) }, [s("div", Xf, [e.useCombinedButton ? (D(), o(t, { key: 0 }, [u(xa, {
13066
+ return (n, r) => (D(), o(t, null, [s("div", Qf, [s("div", null, [W((D(), o("div", { class: y(["pv-flex pv-space-between", e.useCombinedButton ? "pv-stack-8" : ""]) }, [s("div", $f, [e.useCombinedButton ? (D(), o(t, { key: 0 }, [u(xa, {
13061
13067
  open: b.value,
13062
13068
  label: "Chart Configuration",
13063
13069
  icon: "chart-area",
@@ -13100,7 +13106,7 @@ var Uf = {
13100
13106
  "padding-left": "2px",
13101
13107
  "padding-bottom": "6px"
13102
13108
  }
13103
- }, " Viewing ", -1), u(Mf, {
13109
+ }, " Viewing ", -1), u(Ff, {
13104
13110
  modelValue: X.value.activeOptions.value,
13105
13111
  "onUpdate:modelValue": r[1] ||= (e) => Y(X.value, e),
13106
13112
  options: X.value.availableOptions || [],
@@ -13110,7 +13116,7 @@ var Uf = {
13110
13116
  "modelValue",
13111
13117
  "options",
13112
13118
  "activeOptionLimit"
13113
- ])], 40, Zf)) : X.value ? (D(), i(yo, {
13119
+ ])], 40, ep)) : X.value ? (D(), i(yo, {
13114
13120
  key: 1,
13115
13121
  id: t,
13116
13122
  "aria-label": `${X.value.label} options`,
@@ -13159,7 +13165,7 @@ var Uf = {
13159
13165
  "padding-top": "4px",
13160
13166
  "padding-bottom": "12px"
13161
13167
  }
13162
- }, " Chart Configuration ")], -1), s("ul", Qf, [(D(!0), o(t, null, A(Oe.value, (t) => (D(), o("li", {
13168
+ }, " Chart Configuration ")], -1), s("ul", tp, [(D(!0), o(t, null, A(Oe.value, (t) => (D(), o("li", {
13163
13169
  id: `pv-chart-config-${t.value}`,
13164
13170
  key: t.value,
13165
13171
  "data-active": S.value === t.value ? !0 : null,
@@ -13190,9 +13196,9 @@ var Uf = {
13190
13196
  _: 2
13191
13197
  }, [t.disabled && t.disabledReason ? {
13192
13198
  name: "content",
13193
- fn: U(() => [s("div", ep, F(t.disabledReason), 1)]),
13199
+ fn: U(() => [s("div", rp, F(t.disabledReason), 1)]),
13194
13200
  key: "0"
13195
- } : void 0]), 1024)], 40, $f))), 128))])]),
13201
+ } : void 0]), 1024)], 40, np))), 128))])]),
13196
13202
  _: 1
13197
13203
  }, 8, ["class"]))], 64)) : a("", !0)])], 2)), [[I($e), [Ie, { ignore: [".pv-popover"] }]]]), s("div", {
13198
13204
  class: "pv-flex pv-space-between",
@@ -13202,7 +13208,7 @@ var Uf = {
13202
13208
  options: K.value,
13203
13209
  modelValue: I(re),
13204
13210
  "onUpdate:modelValue": r[4] ||= (e) => h(re) ? re.value = e : null
13205
- }, null, 8, ["options", "modelValue"])) : a("", !0), e.useCombinedButton ? a("", !0) : (D(), o("div", tp, [(D(!0), o(t, null, A(Oe.value, (n) => (D(), o(t, { key: n.value }, [n.isMultiSelect && n.activeOptions && n.activeOptionIds ? (D(), i(pc, {
13211
+ }, null, 8, ["options", "modelValue"])) : a("", !0), e.useCombinedButton ? a("", !0) : (D(), o("div", ip, [(D(!0), o(t, null, A(Oe.value, (n) => (D(), o(t, { key: n.value }, [n.isMultiSelect && n.activeOptions && n.activeOptionIds ? (D(), i(gc, {
13206
13212
  key: 0,
13207
13213
  label: n.label,
13208
13214
  prefixLabel: n.prefixLabel,
@@ -13212,7 +13218,7 @@ var Uf = {
13212
13218
  disableSearchInput: !0,
13213
13219
  disabled: n.disabled || e.readOnly,
13214
13220
  optionsVariant: "checkbox",
13215
- optionsRenderer: Jf,
13221
+ optionsRenderer: Zf,
13216
13222
  rumActionName: q(n.value)
13217
13223
  }, null, 8, [
13218
13224
  "label",
@@ -13256,13 +13262,13 @@ var Uf = {
13256
13262
  ...I(p)
13257
13263
  }
13258
13264
  }, {
13259
- default: U(() => [X.value ? (D(), o(t, { key: 0 }, [X.value.isSortableList ? (D(), o("div", np, [r[9] ||= s("p", {
13265
+ default: U(() => [X.value ? (D(), o(t, { key: 0 }, [X.value.isSortableList ? (D(), o("div", ap, [r[9] ||= s("p", {
13260
13266
  class: "pv-text-tertiary pv-text-body-sm pv-stack-4",
13261
13267
  style: {
13262
13268
  "padding-left": "2px",
13263
13269
  "padding-bottom": "6px"
13264
13270
  }
13265
- }, " Viewing ", -1), u(Mf, {
13271
+ }, " Viewing ", -1), u(Ff, {
13266
13272
  modelValue: X.value.activeOptions.value,
13267
13273
  "onUpdate:modelValue": r[5] ||= (e) => Y(X.value, e),
13268
13274
  options: X.value.availableOptions || [],
@@ -13272,7 +13278,7 @@ var Uf = {
13272
13278
  "modelValue",
13273
13279
  "options",
13274
13280
  "activeOptionLimit"
13275
- ])])) : (D(), o("ul", rp, [(D(!0), o(t, null, A(X.value.availableOptions, (t) => (D(), o("li", {
13281
+ ])])) : (D(), o("ul", op, [(D(!0), o(t, null, A(X.value.availableOptions, (t) => (D(), o("li", {
13276
13282
  key: t.id,
13277
13283
  "data-active": Ne(t)
13278
13284
  }, [u(co, {
@@ -13295,14 +13301,14 @@ var Uf = {
13295
13301
  "disabled",
13296
13302
  "selectedIds",
13297
13303
  "onHandleSelected"
13298
- ])], 8, ip))), 128))]))], 64)) : a("", !0)]),
13304
+ ])], 8, sp))), 128))]))], 64)) : a("", !0)]),
13299
13305
  _: 1
13300
13306
  }, 8, ["class", "css-custom-properties"])) : a("", !0)], 64));
13301
13307
  }
13302
13308
  }), [["__scopeId", "data-v-22dd30e6"]]);
13303
13309
  //#endregion
13304
13310
  //#region src/components/charts/PvDataTableWithChart/scatterAxisUtils.ts
13305
- function sp(e, t, n, r, i) {
13311
+ function up(e, t, n, r, i) {
13306
13312
  return i ? {
13307
13313
  xKey: n,
13308
13314
  xName: r,
@@ -13317,19 +13323,19 @@ function sp(e, t, n, r, i) {
13317
13323
  }
13318
13324
  //#endregion
13319
13325
  //#region src/components/charts/PvDataTableWithChart/PvDataTableWithChart.vue?vue&type=script&setup=true&lang.ts
13320
- var cp = { style: {
13326
+ var dp = { style: {
13321
13327
  height: "100%",
13322
13328
  width: "100%"
13323
- } }, lp = {
13329
+ } }, fp = {
13324
13330
  key: 0,
13325
13331
  class: "pv-bordered pv-radius-lg pv-inset-square-12 pv-stack-16"
13326
- }, up = { class: "pv-flex" }, dp = { class: "pv-relative pv-margin-auto" }, fp = {
13332
+ }, pp = { class: "pv-flex" }, mp = { class: "pv-relative pv-margin-auto" }, hp = {
13327
13333
  key: 2,
13328
13334
  class: "pv-chart-overlay pv-flex pv-align-center"
13329
- }, pp = { key: 0 }, mp = {
13335
+ }, gp = { key: 0 }, _p = {
13330
13336
  key: 1,
13331
13337
  class: "pv-text-body-xs"
13332
- }, hp = /* @__PURE__ */ d({
13338
+ }, vp = /* @__PURE__ */ d({
13333
13339
  __name: "PvDataTableWithChart",
13334
13340
  props: {
13335
13341
  allFieldsAreFocusable: { type: Boolean },
@@ -13541,13 +13547,13 @@ var cp = { style: {
13541
13547
  if (!e) return !1;
13542
13548
  if (e === "state") return !0;
13543
13549
  let t = A.value.find((t) => t.field === e);
13544
- return !!(t && Nf(t));
13545
- }), I = (e) => Ko(e).chartSeriesDisplayName || e.headerName || e.field || "", L = k({}), R = (e) => {
13550
+ return !!(t && If(t));
13551
+ }), I = (e) => Jo(e).chartSeriesDisplayName || e.headerName || e.field || "", L = k({}), R = (e) => {
13546
13552
  let t = e.field;
13547
13553
  if (t) return L.value[t] ?? (typeof e.aggFunc == "string" ? e.aggFunc : void 0);
13548
13554
  }, z = (e, t) => {
13549
13555
  if (!e.allowedAggFuncs?.length) return;
13550
- let n = Ko(e);
13556
+ let n = Jo(e);
13551
13557
  return e.allowedAggFuncs.map((e) => ({
13552
13558
  aggFunc: e,
13553
13559
  description: n.aggFuncDescriptionMap?.[e],
@@ -13561,7 +13567,7 @@ var cp = { style: {
13561
13567
  label: "Count",
13562
13568
  value: e.yAxis.defaultValue
13563
13569
  }] : (m.value?.availableAggFuncColumns || []).filter((e) => {
13564
- let t = Ko(e);
13570
+ let t = Jo(e);
13565
13571
  return !t.hideFromCharting && !t.chartOnSecondaryAxes;
13566
13572
  }).map((e) => {
13567
13573
  let t = e.field || "";
@@ -13578,11 +13584,11 @@ var cp = { style: {
13578
13584
  });
13579
13585
  }), V = r(() => l.enableCombinedChartConfigPanel && l.enableNestedChartConfigPanel ? B.value.reduce((e, t) => e + (t.aggFuncOptions?.length || 1), 0) : B.value.length), te = r(() => {
13580
13586
  let e = m.value?.availableAggFuncColumns || [], t = new Set(M.value);
13581
- return e.filter((e) => rs(e)).map((e) => {
13587
+ return e.filter((e) => as(e)).map((e) => {
13582
13588
  let n = R(e), r = e.field || "";
13583
13589
  return {
13584
13590
  activeAggFunc: n,
13585
- aggFuncOptions: z(e, (e) => is(r, e, t)),
13591
+ aggFuncOptions: z(e, (e) => os(r, e, t)),
13586
13592
  columnField: r,
13587
13593
  dataType: e.context?.dataType,
13588
13594
  description: e.context?.chartSeriesDescription,
@@ -13590,11 +13596,11 @@ var cp = { style: {
13590
13596
  label: I(e),
13591
13597
  secondaryAxisMax: e.context?.secondaryAxisMax,
13592
13598
  tooltipRenderer: e.context?.customTooltipRenderer,
13593
- value: is(r, n, t)
13599
+ value: os(r, n, t)
13594
13600
  };
13595
13601
  });
13596
13602
  }), ne = (e, t) => e.find((e) => e.value === t || e.aggFuncOptions?.some((e) => e.seriesValue === t)), re = r(() => (m.value?.availableAggFuncColumns || []).filter((e) => {
13597
- let t = Ko(e);
13603
+ let t = Jo(e);
13598
13604
  return t.chartOnSecondaryAxes === !0 && t.hideFromCharting === !0;
13599
13605
  }).map((e) => {
13600
13606
  let t = e.field, n = e;
@@ -13604,16 +13610,16 @@ var cp = { style: {
13604
13610
  formatter: n.valueFormatter,
13605
13611
  dataType: n.context?.dataType
13606
13612
  };
13607
- })), W = l.filterStore || rd();
13608
- O(fl, W);
13609
- let G = tu({
13613
+ })), W = l.filterStore || od();
13614
+ O(hl, W);
13615
+ let G = iu({
13610
13616
  focusType: l.initialFocusData?.focusType,
13611
13617
  focuses: l.initialFocusData?.focuses || [],
13612
13618
  focusRequired: l.focusRequired
13613
13619
  }, l.allFieldsAreFocusable);
13614
- O(pl, G);
13620
+ O(gl, G);
13615
13621
  let { setFilterSelectedValues: ie } = W, K = k(!1);
13616
- O(Cl, K);
13622
+ O(El, K);
13617
13623
  let ae = k(l.isTableGrouped), oe = (e) => {
13618
13624
  d("table-overlay-change", e);
13619
13625
  }, se = r(() => wt.value ? !1 : !!(l.emptyChartFilterRenderer && l.requireFiltersToShowData && W.filterModelEmpty.value)), q = r(() => G?.computedFocusType.value || null), ce = r(() => G?.computedFocuses.value || []), le = (e) => {
@@ -13665,12 +13671,12 @@ var cp = { style: {
13665
13671
  return (r) => {
13666
13672
  if (r.data = De.value?.find((t) => t[e] === r.value), r.value === 123e-6) return "";
13667
13673
  let i = "", a = ge(e);
13668
- if (l.truncateLabelValues && n && a && Xo(a) && !isNaN(Number(r.value))) {
13674
+ if (l.truncateLabelValues && n && a && Qo(a) && !isNaN(Number(r.value))) {
13669
13675
  if (We.value) {
13670
13676
  let e = r.datum?.[P.value], t = Oe.value?.find((t) => t[P.value] === e)?.[`${X.value}_sort_total`] || Infinity;
13671
13677
  if (r.value / t < .05) return "";
13672
13678
  }
13673
- let { newValue: e, newSuffix: t } = Wo(r.value, Bo.Percent === Ko(a).dataType, ht.value);
13679
+ let { newValue: e, newSuffix: t } = Ko(r.value, Ho.Percent === Jo(a).dataType, ht.value);
13674
13680
  r.value = e, i = t;
13675
13681
  }
13676
13682
  let o = r.value;
@@ -13686,8 +13692,8 @@ var cp = { style: {
13686
13692
  return n && typeof n.valueFormatter == "function" ? `${n.valueFormatter({ value: e })} - ${n.valueFormatter({ value: t })}` : `${e} - ${t}`;
13687
13693
  }, ve = r(() => {
13688
13694
  let e = [...M.value.length > 1 ? Po : No, Fo];
13689
- return Pf(ee.value) && e.push(Io), e.filter((e) => l.enabledChartTypes?.includes(e.id));
13690
- }), ye = k(void 0), be = k(void 0), xe = k(void 0), Se = !1, Ce = r(() => Hf(ye.value?.id || "")), we = r(() => Math.min(Ce.value.rowGroupLimit, l.rowGroupLimit)), Te = r(() => {
13695
+ return Lf(ee.value) && e.push(Io), e.filter((e) => l.enabledChartTypes?.includes(e.id));
13696
+ }), ye = k(void 0), be = k(void 0), xe = k(void 0), Se = !1, Ce = r(() => Gf(ye.value?.id || "")), we = r(() => Math.min(Ce.value.rowGroupLimit, l.rowGroupLimit)), Te = r(() => {
13691
13697
  let e = Ce.value.xAxis.filterColumns;
13692
13698
  return e ? e(A.value) : A.value;
13693
13699
  }), Ee = k([{
@@ -13699,18 +13705,18 @@ var cp = { style: {
13699
13705
  id: "desc",
13700
13706
  icon: "arrow-down-narrow-wide"
13701
13707
  }]), De = k([]), Oe = k([]), X = k(l.yKey), ke = k(te.value[0]?.value), Z = r(() => l.crosslineOverlayGroups ?? []), Ae = k(new Set(Z.value.filter((e) => e.visible && !e.disabled).map((e) => e.id))), je = r(() => Z.value.filter((e) => Ae.value.has(e.id)).flatMap((e) => e.overlays)), Q = k(null), Me = k(Ee.value.find((e) => e.id === l.initialSort || "")), Ne = k("");
13702
- O(hl, p), O(Dl, Ne), O(yl, Te), O(Ol, M), O(kl, ve), O(Al, Ee), O(jl, ye), O(Ml, Me), O(Nl, X), O(Pl, B), O(Fl, ke), O(Il, te), O(Rl, Ae), O(zl, Z);
13708
+ O(vl, p), O(Al, Ne), O(Sl, Te), O(jl, M), O(Ml, ve), O(Nl, Ee), O(Pl, ye), O(Fl, Me), O(Il, X), O(Ll, B), O(Rl, ke), O(zl, te), O(Vl, Ae), O(Hl, Z);
13703
13709
  let Pe = (e) => {
13704
13710
  ye.value = ve.value.find((t) => t.id === e) ?? ve.value[0];
13705
13711
  }, Fe = (e) => {
13706
13712
  let t = M.value.length, n = (e) => {
13707
- let n = Hf(e.id);
13713
+ let n = Gf(e.id);
13708
13714
  return t <= Math.min(n.rowGroupLimit, l.rowGroupLimit);
13709
13715
  }, r = ve.value.find((t) => t.id === e);
13710
13716
  return r && n(r) ? r.id : ve.value.find(n)?.id ?? ve.value[0]?.id;
13711
13717
  };
13712
13718
  H(() => ve.value, () => {
13713
- let e = Ge.value, t = e !== Se, n = Hf(ye.value?.id || ""), r = ve.value.some((e) => e.id === ye.value?.id), i = M.value.length > Math.min(n.rowGroupLimit, l.rowGroupLimit);
13719
+ let e = Ge.value, t = e !== Se, n = Gf(ye.value?.id || ""), r = ve.value.some((e) => e.id === ye.value?.id), i = M.value.length > Math.min(n.rowGroupLimit, l.rowGroupLimit);
13714
13720
  if (Se = e, r && !i && (!t || !n.storeBeforeChange)) return;
13715
13721
  let a = Fe((e ? xe?.value : be?.value) ?? l.chartType);
13716
13722
  a && Pe(a);
@@ -13720,7 +13726,7 @@ var cp = { style: {
13720
13726
  if (l.chartFilter && p.value) {
13721
13727
  let t = l.chartFilter.colId, n = l.chartFilter.options.find((t) => t.value === e)?.filterValues || null;
13722
13728
  n && n.length === 0 && (n = null), ie(t, n || []);
13723
- let r = xu({
13729
+ let r = wu({
13724
13730
  filterType: "set",
13725
13731
  values: n
13726
13732
  }, ge(t));
@@ -13735,7 +13741,7 @@ var cp = { style: {
13735
13741
  let o = {
13736
13742
  type: t,
13737
13743
  xKey: P.value,
13738
- yKey: ss(X.value, a),
13744
+ yKey: ls(X.value, a),
13739
13745
  yName: typeof i == "function" ? i({ value: a }) : a,
13740
13746
  stacked: e,
13741
13747
  label: {
@@ -13791,7 +13797,7 @@ var cp = { style: {
13791
13797
  }))), ke.value) {
13792
13798
  let t;
13793
13799
  t = e ? `${ke.value}_sort_total` : ke.value;
13794
- let r = ge(P.value)?.context?.metadataDisplayFields?.[0] || P.value, i = sp(P.value, r, t, ze.value, Be.value), a = {
13800
+ let r = ge(P.value)?.context?.metadataDisplayFields?.[0] || P.value, i = up(P.value, r, t, ze.value, Be.value), a = {
13795
13801
  type: "scatter",
13796
13802
  id: "metric-overlay",
13797
13803
  data: ct.value,
@@ -13883,8 +13889,8 @@ var cp = { style: {
13883
13889
  oldState: { secondarySeriesField: t }
13884
13890
  });
13885
13891
  }), H(ye, (e, t) => {
13886
- e?.id && Hf(e.id).storeBeforeChange && (Ge.value ? xe.value = e.id : be.value = e.id);
13887
- let n = Hf(e?.id || ""), r = Hf(t?.id || ""), i = (n.xAxis.filterColumns === r.xAxis.filterColumns ? M.value : Ff(M.value, A.value, n.xAxis.filterColumns)).slice(0, Math.min(n.rowGroupLimit, l.rowGroupLimit));
13892
+ e?.id && Gf(e.id).storeBeforeChange && (Ge.value ? xe.value = e.id : be.value = e.id);
13893
+ let n = Gf(e?.id || ""), r = Gf(t?.id || ""), i = (n.xAxis.filterColumns === r.xAxis.filterColumns ? M.value : Rf(M.value, A.value, n.xAxis.filterColumns)).slice(0, Math.min(n.rowGroupLimit, l.rowGroupLimit));
13888
13894
  rt(i, M.value) || (M.value = i), n.yAxis.defaultValue ? X.value = n.yAxis.defaultValue : r.yAxis.defaultValue && !n.yAxis.defaultValue && v(() => {
13889
13895
  l.yKey ? X.value = l.yKey : B.value.length > 0 && (X.value = B.value[0].value);
13890
13896
  }), d("chart-state-changed", {
@@ -13936,7 +13942,7 @@ var cp = { style: {
13936
13942
  return;
13937
13943
  }
13938
13944
  if (t) {
13939
- let { stackedData: n, uniqueFieldValues: r } = ls(e, P.value, t, Ze.value, re.value);
13945
+ let { stackedData: n, uniqueFieldValues: r } = ds(e, P.value, t, Ze.value, re.value);
13940
13946
  Oe.value = n, Q.value = {
13941
13947
  fieldName: t,
13942
13948
  fieldValues: r
@@ -13949,13 +13955,13 @@ var cp = { style: {
13949
13955
  if (l.serverSideChartHandler) {
13950
13956
  let e = W.filterModel.value, n = p.value?.getColumnDefs() || [];
13951
13957
  if (e === null && l.initialGridState) {
13952
- let t = wu(l.initialGridState, n, l.enableAdvancedFilter);
13958
+ let t = Du(l.initialGridState, n, l.enableAdvancedFilter);
13953
13959
  e = (l.enableAdvancedFilter ? t?.filter?.advancedFilterModel : t?.filter?.filterModel) || {};
13954
13960
  }
13955
13961
  e ||= {};
13956
- let r = ts(ns(M.value.map((e) => p.value?.getColumn(e)).filter((e) => e !== void 0)), n), i = new Set(n.filter((e) => Ko(e).chartOnSecondaryAxes === !0).map((e) => e.field).filter(Boolean)), a = p.value?.getValueColumns().filter((e) => e.getColId() === X.value || i.has(e.getColId())), o = {
13962
+ let r = rs(is(M.value.map((e) => p.value?.getColumn(e)).filter((e) => e !== void 0)), n), i = new Set(n.filter((e) => Jo(e).chartOnSecondaryAxes === !0).map((e) => e.field).filter(Boolean)), a = p.value?.getValueColumns().filter((e) => e.getColId() === X.value || i.has(e.getColId())), o = {
13957
13963
  rowGroupCols: r || [],
13958
- valueCols: ns(a || []),
13964
+ valueCols: is(a || []),
13959
13965
  filterModel: e
13960
13966
  };
13961
13967
  w.value = !0, l.serverSideChartHandler(o).then((e) => {
@@ -13997,27 +14003,23 @@ var cp = { style: {
13997
14003
  n.add(o);
13998
14004
  let s = t.aggData;
13999
14005
  if (o && s) {
14000
- let n = String(o), s = cs(n);
14006
+ let n = String(o), s = us(n);
14001
14007
  r[s] = `${e.key}-${n}`;
14002
14008
  let c = t.aggData[a.value]?.value ?? t.aggData[a.value];
14003
- r[ss(a.value, n)] = c, i += c;
14009
+ r[ls(a.value, n)] = c, i += c;
14004
14010
  }
14005
- }), r[`${a.value}${zo}`] = i;
14011
+ }), r[`${a.value}${Vo}`] = i;
14006
14012
  return {
14007
14013
  rowData: r,
14008
14014
  fieldValues: n
14009
14015
  };
14010
14016
  }, $ = r(() => {
14011
14017
  let e = Ve.value ? Oe.value : De.value, t = null;
14012
- if (Me.value && (t = Ve.value ? `${X.value}${zo}` : X.value), t && e && Me.value) {
14018
+ if (Me.value && (t = Ve.value ? `${X.value}${Vo}` : X.value), t && e && Me.value) {
14013
14019
  let n = Me.value?.id.includes("desc") ? -1 : 1;
14014
14020
  e = [...e].sort((e, r) => ((e[t] || 0) - (r[t] || 0)) * n);
14015
14021
  }
14016
- if (e && e.length === 1 && Ce.value.agChartType === "bar" && (e = [
14017
- { [P.value]: "" },
14018
- e[0],
14019
- { [P.value]: " " }
14020
- ]), l.enableFocusView && e && ce.value.length > 0 && q.value) {
14022
+ if (Ce.value.agChartType === "bar" && (e = fs(e, P.value)), l.enableFocusView && e && ce.value.length > 0 && q.value) {
14021
14023
  let t = e?.filter((e) => ce.value.includes(e[P.value])), n = e?.filter((e) => !ce.value.includes(e[P.value]));
14022
14024
  e = [
14023
14025
  ...t || [],
@@ -14026,7 +14028,7 @@ var cp = { style: {
14026
14028
  ];
14027
14029
  }
14028
14030
  return e;
14029
- }), et = new Set(["", " "]), tt = k(void 0), nt = r(() => ye.value?.id === "map" && ee.value && M.value.length === 1), it = r(() => X.value || B.value[0]?.value || "value"), at = r(() => {
14031
+ }), et = new Set([zo, Bo]), tt = k(void 0), nt = r(() => ye.value?.id === "map" && ee.value && M.value.length === 1), it = r(() => X.value || B.value[0]?.value || "value"), at = r(() => {
14030
14032
  let e = P.value, t = it.value;
14031
14033
  return !e || !t ? [] : ($.value ?? []).filter((t) => {
14032
14034
  let n = String(t?.[e] ?? "");
@@ -14063,12 +14065,12 @@ var cp = { style: {
14063
14065
  if (!Ve.value || !t || !Q.value) return e;
14064
14066
  let n = ge(t);
14065
14067
  if ((typeof n?.aggFunc == "string" ? n.aggFunc : "") === "sum") return e;
14066
- let r = `${t}${zo}`, i = Q.value.fieldValues;
14068
+ let r = `${t}${Vo}`, i = Q.value.fieldValues;
14067
14069
  return e.map((e) => {
14068
14070
  let n = e[r];
14069
14071
  if (typeof n != "number") return e;
14070
14072
  let a = 0;
14071
- for (let n of i) typeof e[ss(t, String(n))] == "number" && a++;
14073
+ for (let n of i) typeof e[ls(t, String(n))] == "number" && a++;
14072
14074
  return {
14073
14075
  ...e,
14074
14076
  [r]: a > 0 ? n / a : null
@@ -14088,12 +14090,12 @@ var cp = { style: {
14088
14090
  enableChartScrolling: ut.value,
14089
14091
  isHorizontalScrollingChart: Be.value,
14090
14092
  minContentWidth: 0
14091
- })), ht = r(() => us(Ve.value ? Oe.value : $.value, X.value, Ve.value)), gt = r(() => ke.value ? us(Ve.value ? Oe.value : $.value, ke.value, Ve.value) : -Infinity), _t = r(() => ds(Ve.value ? Oe.value : $.value, X.value, Ve.value)), vt = r(() => ke.value ? ds(Ve.value ? Oe.value : $.value, ke.value, Ve.value) : Infinity), yt = r(() => Q.value?.fieldValues?.length || 0), bt = r(() => {
14093
+ })), ht = r(() => ps(Ve.value ? Oe.value : $.value, X.value, Ve.value)), gt = r(() => ke.value ? ps(Ve.value ? Oe.value : $.value, ke.value, Ve.value) : -Infinity), _t = r(() => ms(Ve.value ? Oe.value : $.value, X.value, Ve.value)), vt = r(() => ke.value ? ms(Ve.value ? Oe.value : $.value, ke.value, Ve.value) : Infinity), yt = r(() => Q.value?.fieldValues?.length || 0), bt = r(() => {
14092
14094
  let e = .25 * Math.exp(-.12 * lt.value);
14093
14095
  return Math.min(Math.max(e, .05), .75);
14094
14096
  }), xt = r(() => yt.value > 5 ? .5 : 1), St = r(() => yt.value > 5 ? .25 : .1), Ct = r(() => !$.value || $.value?.length === 0 ? !0 : ht.value === -Infinity || Ve.value === !0 && ht.value === 0), wt = r(() => !!(l.enableFocusView && q.value && ce.value.length === 0 && l.percentOfFocusViewYKey && X.value && X.value === l.percentOfFocusViewYKey)), Tt = r(() => {
14095
14097
  let e = ge(q.value || ""), t = e?.headerName || e?.field || "Compare Field";
14096
- return os({
14098
+ return cs({
14097
14099
  currentRowGroupColumnsLength: M.value.length,
14098
14100
  shouldShowFocusOverlayText: wt.value || l.focusRequired && ce.value.length === 0,
14099
14101
  chartDataEmpty: Ct.value,
@@ -14119,10 +14121,10 @@ var cp = { style: {
14119
14121
  preventHidingAll: !0,
14120
14122
  enabled: M.value.length > 1
14121
14123
  };
14122
- let t = Ve.value ? Q.value?.fieldValues.map((e) => ss(X.value, e)) || [] : X.value ? [X.value] : [], n = (() => {
14124
+ let t = Ve.value ? Q.value?.fieldValues.map((e) => ls(X.value, e)) || [] : X.value ? [X.value] : [], n = (() => {
14123
14125
  if (!ke.value) return [];
14124
14126
  let e = ke.value;
14125
- return We.value ? [`${e}${zo}`] : Ve.value ? Q.value?.fieldValues.map((t) => ss(e, String(t))) || [] : [e];
14127
+ return We.value ? [`${e}${Vo}`] : Ve.value ? Q.value?.fieldValues.map((t) => ls(e, String(t))) || [] : [e];
14126
14128
  })(), r = Ce.value.xAxis.hideLabel === !0, i = ye.value?.id === "histogram" && $.value && $.value.length > 0 && typeof $.value[0]?.bucketMin == "number" && typeof $.value[0]?.bucketMax == "number", a = [];
14127
14129
  if (a.push({
14128
14130
  type: "category",
@@ -14143,7 +14145,7 @@ var cp = { style: {
14143
14145
  truncate: !1,
14144
14146
  wrapping: "never",
14145
14147
  formatter: r ? () => "" : (e) => {
14146
- if (e.value === "--SEPARATOR--") return "";
14148
+ if (e.value === "--SEPARATOR--" || e.value === "--PAD-START--" || e.value === "--PAD-END--") return "";
14147
14149
  let t = e.value, n = he(P.value);
14148
14150
  typeof n == "function" && (t = n(e));
14149
14151
  let r = l.enableFocusView && ce.value.includes(e.value) ? ` (${l.focusText})` : "";
@@ -14185,7 +14187,7 @@ var cp = { style: {
14185
14187
  }).filter((e) => e !== null)
14186
14188
  });
14187
14189
  }
14188
- let o = !!ke.value, s = o ? Re.value?.secondaryAxisMax : void 0, c = o && Number.isFinite(_t.value) && _t.value < 0, u = o && Number.isFinite(vt.value) && vt.value < 0, d = c || u, f = o ? as(ht.value, 5) : 0, p = o ? s ?? as(gt.value, 5) : 0, m = o && !d && f > 0 && p > 0;
14190
+ let o = !!ke.value, s = o ? Re.value?.secondaryAxisMax : void 0, c = o && Number.isFinite(_t.value) && _t.value < 0, u = o && Number.isFinite(vt.value) && vt.value < 0, d = c || u, f = o ? ss(ht.value, 5) : 0, p = o ? s ?? ss(gt.value, 5) : 0, m = o && !d && f > 0 && p > 0;
14189
14191
  if (a.push({
14190
14192
  type: "number",
14191
14193
  keys: t,
@@ -14264,12 +14266,12 @@ var cp = { style: {
14264
14266
  }
14265
14267
  }), T(async () => {
14266
14268
  await v(), C.value = l.filterPanelAboveChart;
14267
- }), (n, r) => (D(), o("div", cp, [
14269
+ }), (n, r) => (D(), o("div", dp, [
14268
14270
  s("div", {
14269
14271
  class: "pv-stack-16",
14270
14272
  id: b
14271
14273
  }),
14272
- e.hideChart ? a("", !0) : (D(), o("div", lp, [
14274
+ e.hideChart ? a("", !0) : (D(), o("div", fp, [
14273
14275
  u(Mn, {
14274
14276
  rightIcon: "chevrons-down-up",
14275
14277
  label: "Collapse",
@@ -14281,7 +14283,7 @@ var cp = { style: {
14281
14283
  onClick: r[0] ||= (e) => jt(!g.value),
14282
14284
  class: y(e.hideChart || g.value ? "pv-hide" : "")
14283
14285
  }, null, 8, ["class"]),
14284
- s("div", { class: y(e.hideChart || !g.value ? "pv-hide" : "pv-space-between") }, [s("div", up, [u(On, {
14286
+ s("div", { class: y(e.hideChart || !g.value ? "pv-hide" : "pv-space-between") }, [s("div", pp, [u(On, {
14285
14287
  name: "chart-line",
14286
14288
  size: 20,
14287
14289
  class: "pv-text-subdued"
@@ -14294,7 +14296,7 @@ var cp = { style: {
14294
14296
  variant: "secondary",
14295
14297
  onClick: r[1] ||= (e) => jt(!g.value)
14296
14298
  })], 2),
14297
- s("div", { class: y(e.hideChart || g.value ? "pv-hide" : "") }, [u(op, {
14299
+ s("div", { class: y(e.hideChart || g.value ? "pv-hide" : "") }, [u(lp, {
14298
14300
  enablePanel: $.value != null && $.value.length > 0,
14299
14301
  chartFilter: e.chartFilter,
14300
14302
  rowGroupLimit: we.value,
@@ -14313,7 +14315,7 @@ var cp = { style: {
14313
14315
  "chart-config-options",
14314
14316
  "read-only",
14315
14317
  "percent-of-focus-view-y-key"
14316
- ]), s("div", dp, [nt.value ? (D(), i(wo, {
14318
+ ]), s("div", mp, [nt.value ? (D(), i(wo, {
14317
14319
  key: 0,
14318
14320
  selectedRegion: tt.value,
14319
14321
  "onUpdate:selectedRegion": r[2] ||= (e) => tt.value = e,
@@ -14353,9 +14355,9 @@ var cp = { style: {
14353
14355
  "options",
14354
14356
  "enableFocusView",
14355
14357
  "minHeight"
14356
- ])], 4)], 6)), nt.value ? a("", !0) : (D(), o("div", fp, [se.value ? (D(), o("div", pp, [(D(), i(N(e.emptyChartFilterRenderer)))])) : At.value ? (D(), o("p", mp, F(Tt.value), 1)) : a("", !0)]))])], 2)
14358
+ ])], 4)], 6)), nt.value ? a("", !0) : (D(), o("div", hp, [se.value ? (D(), o("div", gp, [(D(), i(N(e.emptyChartFilterRenderer)))])) : At.value ? (D(), o("p", _p, F(Tt.value), 1)) : a("", !0)]))])], 2)
14357
14359
  ])),
14358
- u(df, _({
14360
+ u(mf, _({
14359
14361
  ref_key: "pvDataTableRef",
14360
14362
  ref: m
14361
14363
  }, n.$props, {
@@ -14373,7 +14375,7 @@ var cp = { style: {
14373
14375
  onHandleSettingsIcon: r[8] ||= (e) => d("handle-settings-icon", e),
14374
14376
  onFocusUpdate: r[9] ||= (e) => d("focus-update", e)
14375
14377
  }), {
14376
- "top-slot": U(() => [e.enableGroupingToggle ? (D(), o(t, { key: 0 }, [e.tableConfigOptions ? (D(), i(bf, {
14378
+ "top-slot": U(() => [e.enableGroupingToggle ? (D(), o(t, { key: 0 }, [e.tableConfigOptions ? (D(), i(Cf, {
14377
14379
  key: 0,
14378
14380
  groupedModeEnabled: ae.value,
14379
14381
  tableConfigOptions: l.tableConfigOptions,
@@ -14391,7 +14393,7 @@ var cp = { style: {
14391
14393
  }, 16, ["filterTeleportLocation", "pagination"])
14392
14394
  ]));
14393
14395
  }
14394
- }), gp = "Unable to load data", _p = (e, t = {}) => {
14396
+ }), yp = "Unable to load data", bp = (e, t = {}) => {
14395
14397
  let n = k([]), i = k(!1), a = k(), o = 0, s = async () => {
14396
14398
  let t = ++o;
14397
14399
  i.value = !0;
@@ -14421,6 +14423,6 @@ var cp = { style: {
14421
14423
  };
14422
14424
  };
14423
14425
  //#endregion
14424
- export { gp as DEFAULT_DATA_WIDGET_ERROR_TEXT, xt as PitViperAGChartsMonochromeTheme, bt as PitViperAGChartsMonochromeThemeName, Ct as PitViperAGChartsMulticolorTheme, St as PitViperAGChartsMulticolorThemeName, $t as PvChart, yn as PvChartWidget, df as PvDataTable, hp as PvDataTableWithChart, Ps as PvDataWidget, wo as PvMapChart, cl as RumContextKey, mt as SCATTER_MARKER_STROKE, ul as addRumAction, Su as constructAdvancedFilterCondition, Cu as convertFilterModelToAdvanced, td as createPvDataTableFilterStore, dl as deferRumTask, Xu as excludeValueFromSetFilter, ku as filterModelContainsColId, Vu as filterModelsEqual, Ku as getSelectedValues, Wu as getSelectedValuesFromAdvancedFilterModel, Fu as getSelectedValuesFromFilterModel, Gu as getSelectedValuesFromFilterModelByColId, Iu as isAdvancedFilterModel, Ru as isFilterModelEmpty, Hu as mergeAdvancedFilterCondition, Au as mergeFilterModels, nd as providePvDataTableFilterStore, qu as removeColumnFilter, Uu as removeColumnFromAdvancedFilter, Yu as updateMultiOrSetFilter, Ju as updateSetFilter, id as usePvDataTableFilterStore, _p as usePvDataWidgetData, ll as useRumContext };
14426
+ export { yp as DEFAULT_DATA_WIDGET_ERROR_TEXT, xt as PitViperAGChartsMonochromeTheme, bt as PitViperAGChartsMonochromeThemeName, Ct as PitViperAGChartsMulticolorTheme, St as PitViperAGChartsMulticolorThemeName, $t as PvChart, yn as PvChartWidget, mf as PvDataTable, vp as PvDataTableWithChart, Ls as PvDataWidget, wo as PvMapChart, dl as RumContextKey, mt as SCATTER_MARKER_STROKE, pl as addRumAction, Tu as constructAdvancedFilterCondition, Eu as convertFilterModelToAdvanced, id as createPvDataTableFilterStore, ml as deferRumTask, $u as excludeValueFromSetFilter, Mu as filterModelContainsColId, Wu as filterModelsEqual, Yu as getSelectedValues, qu as getSelectedValuesFromAdvancedFilterModel, Ru as getSelectedValuesFromFilterModel, Ju as getSelectedValuesFromFilterModelByColId, zu as isAdvancedFilterModel, Vu as isFilterModelEmpty, Gu as mergeAdvancedFilterCondition, Nu as mergeFilterModels, ad as providePvDataTableFilterStore, Xu as removeColumnFilter, Ku as removeColumnFromAdvancedFilter, Qu as updateMultiOrSetFilter, Zu as updateSetFilter, sd as usePvDataTableFilterStore, bp as usePvDataWidgetData, fl as useRumContext };
14425
14427
 
14426
14428
  //# sourceMappingURL=pv-components-visualizations.mjs.map