@turquoisehealth/pit-viper 2.233.0 → 2.234.1-dev.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (24) hide show
  1. package/_site/assets/css/pit-viper-a11y.css +1 -1
  2. package/_site/assets/css/pit-viper-consumer.css +1 -1
  3. package/_site/assets/css/pit-viper-v2-scoped.css +1 -1
  4. package/_site/assets/css/pit-viper-v2.css +1 -1
  5. package/_site/assets/css/pit-viper.css +1 -1
  6. package/package.json +1 -1
  7. package/pv-components/dist/stats/vue/base/stats.html +1 -1
  8. package/pv-components/dist/stats/vue/visualizations/stats.html +1 -1
  9. package/pv-components/dist/stats/web/pv-filter-panel-stats.html +1 -1
  10. package/pv-components/dist/stats/web/pv-modal-stats.html +1 -1
  11. package/pv-components/dist/vue/ai/components/base/PvModal/PvModal.vue.d.ts +3 -0
  12. package/pv-components/dist/vue/base/components/base/PvModal/PvModal.vue.d.ts +3 -0
  13. package/pv-components/dist/vue/base/pv-components-base.mjs +14 -16
  14. package/pv-components/dist/vue/base/pv-components-base.mjs.map +1 -1
  15. package/pv-components/dist/vue/visualizations/components/base/PvModal/PvModal.vue.d.ts +3 -0
  16. package/pv-components/dist/vue/visualizations/components/base/PvSortableList/PvSortableList.vue.d.ts +7 -0
  17. package/pv-components/dist/vue/visualizations/components/charts/PvDataTableWithChart/table-chart-components/PvChartOptionsPanel.vue.d.ts +6 -0
  18. package/pv-components/dist/vue/visualizations/components/charts/PvDataTableWithChart/types.d.ts +14 -0
  19. package/pv-components/dist/vue/visualizations/pv-components-visualizations.mjs +334 -312
  20. package/pv-components/dist/vue/visualizations/pv-components-visualizations.mjs.map +1 -1
  21. package/pv-components/dist/web/components/pv-filter-panel/pv-filter-panel.js +17 -16
  22. package/pv-components/dist/web/components/pv-modal/pv-modal.js +484 -483
  23. package/pv-components/dist/web/pv-components.iife.js +1 -1
  24. package/pv-components/dist/web/pv-components.iife.js.map +1 -1
@@ -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-84aa8907]{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-84aa8907]{display:flex;overflow:hidden}.pv-scatter-quadrant-box[data-v-84aa8907]{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-84aa8907]{grid-area:1/1;justify-content:flex-start;align-items:flex-start;padding:5px}.pv-scatter-quadrant-top-right[data-v-84aa8907]{grid-area:1/2;justify-content:flex-end;align-items:flex-start;padding:5px}.pv-scatter-quadrant-bottom-left[data-v-84aa8907]{grid-area:2/1;justify-content:flex-start;align-items:flex-end;padding:5px}.pv-scatter-quadrant-bottom-right[data-v-84aa8907]{grid-area:2/2;justify-content:flex-end;align-items:flex-end;padding:5px}.pv-chart-loading[data-v-84aa8907]{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-84aa8907]{color:#16696d;animation:1.5s ease-in-out infinite pulse-84aa8907}@keyframes pulse-84aa8907{0%{opacity:1;transform:scale(1)}50%{opacity:.6;transform:scale(1.05)}to{opacity:1;transform:scale(1)}}.pv-chart-widget[data-v-21acdc5d]{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-21acdc5d]{overflow:hidden}.pv-chart-widget__chart-area[data-v-21acdc5d]{flex:auto;width:100%;min-height:0;position:relative;overflow:hidden}.pv-chart-widget__chart-scroll[data-v-21acdc5d]{width:100%;height:100%;min-height:0}.pv-chart-widget__chart-content[data-v-21acdc5d]{height:100%;min-height:100%}.pv-badge-md[data-v-013a5d76]{--inset-size:2px 2px;min-width:20px;min-height:20px;max-height:20px;font-weight:500}.pv-badge-sm[data-v-013a5d76]{--inset-size:0 2px;min-width:16px;min-height:16px;max-height:16px;font-weight:500}.pv-floating-native[data-v-2b80f35f]{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-2b80f35f]>.pv-popover,.pv-floating-native>slot[name=content][data-v-2b80f35f]::slotted(.pv-popover){position:static!important}.pv-input-search[data-v-9e0c84d9]{display:block}.pv-select-button-trigger-content[data-v-da9865ad]{min-width:0}.pv-select-button-trigger[data-v-da9865ad]{height:1.5rem;padding-block:0}.pv-select-button-trigger.pv-button-large[data-v-da9865ad]{height:2rem}.pv-select-button-trigger-label[data-v-da9865ad]{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-f14f755f]{z-index:50}.pv-popover-list>li[data-v-f14f755f]:last-child>.pv-label{margin-block-end:0}[data-v-f14f755f] .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-map-chart[data-v-af7882f9]{flex-direction:column;width:100%;height:100%;display:flex}.pv-map-chart__header[data-v-af7882f9]{flex:none}.pv-map-chart__chart[data-v-af7882f9]{flex:auto;min-height:0}.pv-data-widget[data-v-9118bfea]{box-sizing:border-box;width:100%;min-width:0;min-height:0}.pv-data-widget--constrained[data-v-9118bfea]{flex-direction:column;display:flex;overflow:hidden}.pv-data-widget--constrained .pv-data-widget__body[data-v-9118bfea]{flex-direction:column;flex:auto;min-height:0;display:flex;overflow:hidden}.pv-data-widget__table-container[data-v-9118bfea]{min-height:0}.pv-data-widget__below-table[data-v-9118bfea]{margin-top:16px}.pv-data-widget--constrained .pv-data-widget__table-container[data-v-9118bfea]{flex:auto}.pv-data-widget--constrained .pv-data-widget__below-table[data-v-9118bfea]{flex:none}.pv-data-widget__chart-scroll[data-v-9118bfea]{width:100%;min-height:0;overflow:hidden}.pv-data-widget--constrained .pv-data-widget__chart-scroll[data-v-9118bfea]{flex:auto}.pv-data-widget__chart-content[data-v-9118bfea]{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}.dots-button[data-v-6c36dca2]{color:#4b595c;background-color:#0000}.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-97679942]{background:var(--secondary-lighten-8,#f7f8f8);border-radius:var(--corner-radius-M,4px);border:1px solid var(--stroke-light,#e3e7ea);cursor:text;--button-small-icon-only-padding:.1875rem;align-items:center;width:100%;min-height:2rem;padding:.1875rem .25rem;font-size:.75rem;display:flex;position:relative}.pv-query-builder-input-small[data-v-97679942]{--button-small-icon-only-padding:.0625rem;min-height:1.5rem;padding-block:.0625rem}.pv-query-builder-input[data-v-97679942]{justify-content:start;overflow-x:hidden}.pv-query-builder-input-wrapper input[data-v-97679942]{background:0 0;border:none;outline:none;flex:1rem;min-width:1rem;font-size:.75rem}.pv-query-builder-input-wrapper[data-v-97679942]:focus-within{border-color:var(--text-input-focus-border-color,#36c5ba)}.pv-table-row-count{opacity:1;background-color:var(--color-background-accent,#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:var(--color-text-quaternary,#89989b);padding:8px 12px 8px 0}.suggested-title-label[data-v-cdeeca2c]:hover{color:var(--color-text-brand,#0d5256);text-decoration:underline}.pv-details-no-carat>summary[data-v-a83ae9ab]{cursor:default;background-image:none}.ag-custom-header-cell[data-v-90862f78]{align-items:center;height:100%}.ag-header-actions .ag-header-cell-menu-button[data-v-90862f78]{opacity:0;transition:opacity .2s ease-in-out}.ag-header-cell-menu-button:hover .ag-header-actions .ag-header-cell-menu-button[data-v-90862f78],.ag-header-cell-menu-button:focus .ag-header-actions .ag-header-cell-menu-button[data-v-90862f78]{opacity:1}.pv-table-row-number[data-v-2485e378]{text-align:center;color:var(--color-text-quaternary,#89989b);padding:8px 12px 8px 0}.pv-table-overlay{z-index:2;background:var(--color-background-body,white);pointer-events:none;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.pv-data-table-row-clickable{cursor:pointer}.pv-data-table .ag-row.pv-data-table-row-clickable:hover{background-color:var(--button-ghost-hover-background-color,#e8f2f4)}.pv-data-table .ag-row.pv-data-table-row-clickable.ag-row-focus{box-shadow:inset 0 0 0 1px var(--text-input-focus-border-color,#36c5ba)}.pv-data-table .ag-row.pv-data-table-row-clickable .ag-cell-focus{border-color:#0000}.pv-data-table .ag-row-group-leaf-indent{margin-left:0;padding-left:7px}.pv-data-table .ag-custom-loading-cell{background-color:var(--p-skeleton-background,#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:var(--popover-list-item-hover-background-color,#f7f8f8)}.pv-data-table .ag-menu-option-shortcut{color:var(--color-text-quaternary,#89989b)}.pv-data-table .ag-menu-option:active{background-color:var(--popover-list-item-pressed-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(to bottom, var(--color-background-body,white) 5px, var(--color-background-accent,#f7f8f8) 5px, var(--color-background-accent,#f7f8f8) calc(100% - 5px), var(--color-background-body,white) calc(100% - 5px))!important}.pv-data-table-grouped-card .ag-row-group-expanded{background:linear-gradient(to bottom, var(--color-background-body,white) 5px, var(--color-background-accent,#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 var(--color-border,#e0e0e0)!important;border-left:1px solid var(--color-border,#e0e0e0)!important;border-right:1px solid var(--color-border,#e0e0e0)!important}.pv-data-table-grouped-card .ag-row-loading{box-sizing:border-box;border-top:1px solid var(--color-border,#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:"";border:1px solid var(--color-border,#e0e0e0);pointer-events:none;border-radius:4px;position:absolute;inset:5px 0}.pv-data-table-grouped-card .ag-row-group-expanded:after{content:"";border:1px solid var(--color-border,#e0e0e0);pointer-events:none;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(to bottom, var(--color-background-body,white) 5px, var(--color-background-brand-accent,#eef0f0) 5px, var(--color-background-brand-accent,#eef0f0) calc(100% - 5px), var(--color-background-body,white) calc(100% - 5px))!important}.pv-data-table-grouped-card .ag-row-group-expanded:hover{background:linear-gradient(to bottom, var(--color-background-body,white) 5px, var(--color-background-brand-accent,#eef0f0) 5px)!important}.pv-data-table-grouped-card .ag-row:not(.ag-row-group-contracted):not(.ag-row-group-expanded):hover{background-color:var(--color-background-accent,#f7f8f8)!important}.pv-data-table-grouped-card .ag-group-value{height:100%}.pv-text-tertiary[data-v-0b94d7eb]{color:#89989b}.pv-button-placeholder[data-v-0b94d7eb]{width:24px;height:24px}.pv-sort-option[data-v-0b94d7eb]{--flex-gap:4px;cursor:grab;min-height:24px}.pv-menu-item-disabled[data-v-0b94d7eb]{pointer-events:none;color:#7d898d}.placeholder-zone[data-v-0b94d7eb]{transition:background-color .2s}.pv-placeholder-dropzone[data-v-0b94d7eb]{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-0b94d7eb]{background:#f0f9f9;border-color:#16696d!important}.sort-divider-container[data-v-0b94d7eb]{display:flex}.sort-divider[data-v-0b94d7eb]{border-top:1px solid #e3e7ea;flex:1;margin:1rem 0;position:relative}.sort-divider[data-v-0b94d7eb]: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-1ef60ad1] .pv-legacy-chart-menu-nested:after{content:"›";margin-left:auto}[data-v-1ef60ad1] .pv-legacy-chart-menu-nested-active{background-color:var(--popover-list-selected-item-background-color,#e4f8f6)}[data-v-1ef60ad1] .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-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}.pv-data-table-with-chart__crossline-tooltip.ag-charts-tooltip{border-radius:4px;box-shadow:0 0 8px #0000001f}.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-84aa8907]{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-84aa8907]{display:flex;overflow:hidden}.pv-scatter-quadrant-box[data-v-84aa8907]{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-84aa8907]{grid-area:1/1;justify-content:flex-start;align-items:flex-start;padding:5px}.pv-scatter-quadrant-top-right[data-v-84aa8907]{grid-area:1/2;justify-content:flex-end;align-items:flex-start;padding:5px}.pv-scatter-quadrant-bottom-left[data-v-84aa8907]{grid-area:2/1;justify-content:flex-start;align-items:flex-end;padding:5px}.pv-scatter-quadrant-bottom-right[data-v-84aa8907]{grid-area:2/2;justify-content:flex-end;align-items:flex-end;padding:5px}.pv-chart-loading[data-v-84aa8907]{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-84aa8907]{color:#16696d;animation:1.5s ease-in-out infinite pulse-84aa8907}@keyframes pulse-84aa8907{0%{opacity:1;transform:scale(1)}50%{opacity:.6;transform:scale(1.05)}to{opacity:1;transform:scale(1)}}.pv-chart-widget[data-v-21acdc5d]{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-21acdc5d]{overflow:hidden}.pv-chart-widget__chart-area[data-v-21acdc5d]{flex:auto;width:100%;min-height:0;position:relative;overflow:hidden}.pv-chart-widget__chart-scroll[data-v-21acdc5d]{width:100%;height:100%;min-height:0}.pv-chart-widget__chart-content[data-v-21acdc5d]{height:100%;min-height:100%}.pv-badge-md[data-v-013a5d76]{--inset-size:2px 2px;min-width:20px;min-height:20px;max-height:20px;font-weight:500}.pv-badge-sm[data-v-013a5d76]{--inset-size:0 2px;min-width:16px;min-height:16px;max-height:16px;font-weight:500}.pv-floating-native[data-v-2b80f35f]{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-2b80f35f]>.pv-popover,.pv-floating-native>slot[name=content][data-v-2b80f35f]::slotted(.pv-popover){position:static!important}.pv-input-search[data-v-9e0c84d9]{display:block}.pv-select-button-trigger-content[data-v-da9865ad]{min-width:0}.pv-select-button-trigger[data-v-da9865ad]{height:1.5rem;padding-block:0}.pv-select-button-trigger.pv-button-large[data-v-da9865ad]{height:2rem}.pv-select-button-trigger-label[data-v-da9865ad]{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-f14f755f]{z-index:50}.pv-popover-list>li[data-v-f14f755f]:last-child>.pv-label{margin-block-end:0}[data-v-f14f755f] .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-map-chart[data-v-af7882f9]{flex-direction:column;width:100%;height:100%;display:flex}.pv-map-chart__header[data-v-af7882f9]{flex:none}.pv-map-chart__chart[data-v-af7882f9]{flex:auto;min-height:0}.pv-data-widget[data-v-9118bfea]{box-sizing:border-box;width:100%;min-width:0;min-height:0}.pv-data-widget--constrained[data-v-9118bfea]{flex-direction:column;display:flex;overflow:hidden}.pv-data-widget--constrained .pv-data-widget__body[data-v-9118bfea]{flex-direction:column;flex:auto;min-height:0;display:flex;overflow:hidden}.pv-data-widget__table-container[data-v-9118bfea]{min-height:0}.pv-data-widget__below-table[data-v-9118bfea]{margin-top:16px}.pv-data-widget--constrained .pv-data-widget__table-container[data-v-9118bfea]{flex:auto}.pv-data-widget--constrained .pv-data-widget__below-table[data-v-9118bfea]{flex:none}.pv-data-widget__chart-scroll[data-v-9118bfea]{width:100%;min-height:0;overflow:hidden}.pv-data-widget--constrained .pv-data-widget__chart-scroll[data-v-9118bfea]{flex:auto}.pv-data-widget__chart-content[data-v-9118bfea]{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}.dots-button[data-v-6c36dca2]{color:#4b595c;background-color:#0000}.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-97679942]{background:var(--secondary-lighten-8,#f7f8f8);border-radius:var(--corner-radius-M,4px);border:1px solid var(--stroke-light,#e3e7ea);cursor:text;--button-small-icon-only-padding:.1875rem;align-items:center;width:100%;min-height:2rem;padding:.1875rem .25rem;font-size:.75rem;display:flex;position:relative}.pv-query-builder-input-small[data-v-97679942]{--button-small-icon-only-padding:.0625rem;min-height:1.5rem;padding-block:.0625rem}.pv-query-builder-input[data-v-97679942]{justify-content:start;overflow-x:hidden}.pv-query-builder-input-wrapper input[data-v-97679942]{background:0 0;border:none;outline:none;flex:1rem;min-width:1rem;font-size:.75rem}.pv-query-builder-input-wrapper[data-v-97679942]:focus-within{border-color:var(--text-input-focus-border-color,#36c5ba)}.pv-table-row-count{opacity:1;background-color:var(--color-background-accent,#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:var(--color-text-quaternary,#89989b);padding:8px 12px 8px 0}.suggested-title-label[data-v-cdeeca2c]:hover{color:var(--color-text-brand,#0d5256);text-decoration:underline}.pv-details-no-carat>summary[data-v-a83ae9ab]{cursor:default;background-image:none}.ag-custom-header-cell[data-v-90862f78]{align-items:center;height:100%}.ag-header-actions .ag-header-cell-menu-button[data-v-90862f78]{opacity:0;transition:opacity .2s ease-in-out}.ag-header-cell-menu-button:hover .ag-header-actions .ag-header-cell-menu-button[data-v-90862f78],.ag-header-cell-menu-button:focus .ag-header-actions .ag-header-cell-menu-button[data-v-90862f78]{opacity:1}.pv-table-row-number[data-v-2485e378]{text-align:center;color:var(--color-text-quaternary,#89989b);padding:8px 12px 8px 0}.pv-table-overlay{z-index:2;background:var(--color-background-body,white);pointer-events:none;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.pv-data-table-row-clickable{cursor:pointer}.pv-data-table .ag-row.pv-data-table-row-clickable:hover{background-color:var(--button-ghost-hover-background-color,#e8f2f4)}.pv-data-table .ag-row.pv-data-table-row-clickable.ag-row-focus{box-shadow:inset 0 0 0 1px var(--text-input-focus-border-color,#36c5ba)}.pv-data-table .ag-row.pv-data-table-row-clickable .ag-cell-focus{border-color:#0000}.pv-data-table .ag-row-group-leaf-indent{margin-left:0;padding-left:7px}.pv-data-table .ag-custom-loading-cell{background-color:var(--p-skeleton-background,#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:var(--popover-list-item-hover-background-color,#f7f8f8)}.pv-data-table .ag-menu-option-shortcut{color:var(--color-text-quaternary,#89989b)}.pv-data-table .ag-menu-option:active{background-color:var(--popover-list-item-pressed-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(to bottom, var(--color-background-body,white) 5px, var(--color-background-accent,#f7f8f8) 5px, var(--color-background-accent,#f7f8f8) calc(100% - 5px), var(--color-background-body,white) calc(100% - 5px))!important}.pv-data-table-grouped-card .ag-row-group-expanded{background:linear-gradient(to bottom, var(--color-background-body,white) 5px, var(--color-background-accent,#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 var(--color-border,#e0e0e0)!important;border-left:1px solid var(--color-border,#e0e0e0)!important;border-right:1px solid var(--color-border,#e0e0e0)!important}.pv-data-table-grouped-card .ag-row-loading{box-sizing:border-box;border-top:1px solid var(--color-border,#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:"";border:1px solid var(--color-border,#e0e0e0);pointer-events:none;border-radius:4px;position:absolute;inset:5px 0}.pv-data-table-grouped-card .ag-row-group-expanded:after{content:"";border:1px solid var(--color-border,#e0e0e0);pointer-events:none;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(to bottom, var(--color-background-body,white) 5px, var(--color-background-brand-accent,#eef0f0) 5px, var(--color-background-brand-accent,#eef0f0) calc(100% - 5px), var(--color-background-body,white) calc(100% - 5px))!important}.pv-data-table-grouped-card .ag-row-group-expanded:hover{background:linear-gradient(to bottom, var(--color-background-body,white) 5px, var(--color-background-brand-accent,#eef0f0) 5px)!important}.pv-data-table-grouped-card .ag-row:not(.ag-row-group-contracted):not(.ag-row-group-expanded):hover{background-color:var(--color-background-accent,#f7f8f8)!important}.pv-data-table-grouped-card .ag-group-value{height:100%}.pv-text-tertiary[data-v-d224df25]{color:#89989b}.pv-button-placeholder[data-v-d224df25]{width:24px;height:24px}.pv-sort-option[data-v-d224df25]{--flex-gap:4px;cursor:grab;min-height:24px}.pv-sort-option-locked[data-v-d224df25]{cursor:default}.pv-menu-item-disabled[data-v-d224df25]{pointer-events:none;color:#7d898d}.placeholder-zone[data-v-d224df25]{transition:background-color .2s}.pv-placeholder-dropzone[data-v-d224df25]{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-d224df25]{background:#f0f9f9;border-color:#16696d!important}.sort-divider-container[data-v-d224df25]{display:flex}.sort-divider[data-v-d224df25]{border-top:1px solid #e3e7ea;flex:1;margin:1rem 0;position:relative}.sort-divider[data-v-d224df25]: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-df20acce] .pv-legacy-chart-menu-nested:after{content:"›";margin-left:auto}[data-v-df20acce] .pv-legacy-chart-menu-nested-active{background-color:var(--popover-list-selected-item-background-color,#e4f8f6)}[data-v-df20acce] .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-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}.pv-data-table-with-chart__crossline-tooltip.ag-charts-tooltip{border-radius:4px;box-shadow:0 0 8px #0000001f}.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, toHandlers as I, toRaw as L, toRef as R, unref as z, useAttrs as B, useId as ee, useModel as V, useSlots as te, useTemplateRef as H, vModelCheckbox as ne, vModelText as re, vShow as ie, watch as U, withCtx as W, withDirectives as G, withKeys as ae, withModifiers as K } from "vue";
4
4
  import { AgCharts as oe } from "ag-charts-vue3";
@@ -7612,7 +7612,8 @@ var Ba = {
7612
7612
  type: Boolean,
7613
7613
  default: !1
7614
7614
  },
7615
- hideHeader: { type: Boolean }
7615
+ hideHeader: { type: Boolean },
7616
+ position: { default: "center" }
7616
7617
  }, {
7617
7618
  modelValue: {
7618
7619
  type: Boolean,
@@ -7622,25 +7623,22 @@ var Ba = {
7622
7623
  }),
7623
7624
  emits: ["update:modelValue"],
7624
7625
  setup(e) {
7625
- let t = e, n = H("dialog"), r = V(e, "modelValue");
7626
- U(() => r.value, () => {
7627
- r.value ? n.value?.showModal() : n.value?.close();
7626
+ let t = e, n = r(() => t.position === "center" ? "position: fixed; inset-block: 0; height: fit-content; margin-block: auto" : void 0), i = H("dialog"), c = V(e, "modelValue");
7627
+ U(() => c.value, () => {
7628
+ c.value ? i.value?.showModal() : i.value?.close();
7628
7629
  });
7629
- let i = () => {
7630
- r.value = !1;
7631
- }, c = (e) => {
7632
- !t.disableCloseOnClickOutside && e.target === n.value && i();
7630
+ let l = () => {
7631
+ c.value = !1;
7632
+ }, u = (e) => {
7633
+ !t.disableCloseOnClickOutside && e.target === i.value && l();
7633
7634
  };
7634
- return (t, n) => (D(), o("dialog", {
7635
+ return (t, r) => (D(), o("dialog", {
7635
7636
  class: "pv-modal-sm",
7636
7637
  ref: "dialog",
7637
- style: {
7638
- "--top": "40%",
7639
- position: "absolute"
7640
- },
7641
- onClose: i,
7642
- onClick: c
7643
- }, [s("div", rc, [e.hideHeader ? a("", !0) : (D(), o("div", ic, [s("span", ac, F(e.header), 1), e.subheader ? (D(), o("span", oc, F(e.subheader), 1)) : a("", !0)])), j(t.$slots, "body")]), e.hideFooter ? a("", !0) : (D(), o("div", sc, [j(t.$slots, "footer")]))], 544));
7638
+ style: x(n.value),
7639
+ onClose: l,
7640
+ onClick: u
7641
+ }, [s("div", rc, [e.hideHeader ? a("", !0) : (D(), o("div", ic, [s("span", ac, F(e.header), 1), e.subheader ? (D(), o("span", oc, F(e.subheader), 1)) : a("", !0)])), j(t.$slots, "body")]), e.hideFooter ? a("", !0) : (D(), o("div", sc, [j(t.$slots, "footer")]))], 36));
7644
7642
  }
7645
7643
  }), lc = /* @__PURE__ */ function(e) {
7646
7644
  return e.Vertical = "Vertical", e.Horizontal = "Horizontal", e;
@@ -12638,10 +12636,10 @@ var Wu = { style: { "line-height": "20px" } }, Gu = { class: "pv-text-subdued pv
12638
12636
  }), Lf = ["id"], Rf = {
12639
12637
  key: 0,
12640
12638
  class: "sort-divider-container"
12641
- }, zf = ["data-label"], Bf = ["onDrop"], Vf = { class: "pv-full-width pv-bordered pv-radius-md pv-flex pv-center pv-placeholder-dropzone" }, Hf = { class: "pv-text-body-sm pv-text-tertiary" }, Uf = { class: "pv-flex pv-full-width pv-sort-option" }, Wf = { class: "pv-text-body-sm" }, Gf = {
12639
+ }, zf = ["data-label"], Bf = ["onDrop"], Vf = { class: "pv-full-width pv-bordered pv-radius-md pv-flex pv-center pv-placeholder-dropzone" }, Hf = { class: "pv-text-body-sm pv-text-tertiary" }, Uf = { class: "pv-text-body-sm" }, Wf = {
12642
12640
  key: 1,
12643
12641
  class: "pv-button-placeholder"
12644
- }, Kf = "--divider--", qf = "placeholder-", Jf = /* @__PURE__ */ tn(/* @__PURE__ */ d({
12642
+ }, Gf = "--divider--", Kf = "placeholder-", qf = /* @__PURE__ */ tn(/* @__PURE__ */ d({
12645
12643
  __name: "PvSortableList",
12646
12644
  props: /* @__PURE__ */ g({
12647
12645
  options: { default: () => [] },
@@ -12650,7 +12648,8 @@ var Wu = { style: { "line-height": "20px" } }, Gu = { class: "pv-text-subdued pv
12650
12648
  showPlaceholders: {
12651
12649
  type: Boolean,
12652
12650
  default: !0
12653
- }
12651
+ },
12652
+ lockedOptionIds: { default: () => [] }
12654
12653
  }, {
12655
12654
  modelValue: {
12656
12655
  required: !1,
@@ -12660,141 +12659,144 @@ var Wu = { style: { "line-height": "20px" } }, Gu = { class: "pv-text-subdued pv
12660
12659
  }),
12661
12660
  emits: ["update:modelValue"],
12662
12661
  setup(e) {
12663
- let n = e, c = V(e, "modelValue"), l = {
12664
- id: Kf,
12662
+ let n = e, c = V(e, "modelValue"), l = (e) => n.lockedOptionIds.includes(e.id), d = (e) => {
12663
+ let t = c.value.filter(l), r = e.filter((e) => !l(e));
12664
+ return [...t, ...r].slice(0, n.activeOptionLimit || Infinity);
12665
+ }, f = {
12666
+ id: Gf,
12665
12667
  text: "",
12666
12668
  disabled: !0
12667
- }, 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) => ({
12668
- id: `${qf}${t}`,
12669
+ }, p = r(() => n.activeOptionLimit ? Math.max(0, n.activeOptionLimit - c.value.length) : 0), m = r(() => !n.showPlaceholders || p.value === 0 ? [] : Array.from({ length: p.value }, (e, t) => ({
12670
+ id: `${Kf}${t}`,
12669
12671
  text: "",
12670
12672
  disabled: !0,
12671
12673
  isPlaceholder: !0
12672
- }))), p = r(() => {
12674
+ }))), h = r(() => {
12673
12675
  let e = new Set(c.value.map((e) => e.id));
12674
12676
  return [
12675
12677
  ...c.value,
12676
- ...f.value,
12677
- l,
12678
+ ...m.value,
12679
+ f,
12678
12680
  ...n.options.filter((t) => !e.has(t.id))
12679
12681
  ];
12680
- }), m = H("sortableListRef"), h = H("containerRef"), g = null, _ = null, v = !1, b = () => {
12681
- if (!m.value) return c.value;
12682
- let e = Array.from(m.value.children).map((e) => e.id), t = e.findIndex((e) => e === Kf);
12683
- return t !== -1 && (e = e.slice(0, t)), e = e.filter((e) => !e.startsWith(qf)), e.map((e) => n.options.find((t) => t.id === e) || null).filter(Boolean).slice(0, n.activeOptionLimit || Infinity);
12682
+ }), g = H("sortableListRef"), _ = H("containerRef"), v = null, b = null, S = !1, C = () => {
12683
+ if (!g.value) return c.value;
12684
+ let e = Array.from(g.value.children).map((e) => e.id), t = e.findIndex((e) => e === Gf);
12685
+ return t !== -1 && (e = e.slice(0, t)), e = e.filter((e) => !e.startsWith(Kf)), e.map((e) => n.options.find((t) => t.id === e) || null).filter(Boolean).slice(0, n.activeOptionLimit || Infinity);
12684
12686
  };
12685
12687
  T(() => {
12686
- m.value && (g = new st(m.value, {
12688
+ g.value && (v = new st(g.value, {
12687
12689
  animation: 200,
12688
- filter: `#${Kf}, [id^="placeholder-"]`,
12690
+ filter: `#${Gf}, [id^="placeholder-"], .pv-sortable-locked`,
12689
12691
  dragoverBubble: !0,
12690
12692
  onStart: (e) => {
12691
- _ = e.item, v = !1;
12693
+ b = e.item, S = !1;
12692
12694
  },
12693
12695
  onMove: (e) => {
12694
12696
  let t = e.related;
12695
- if (t?.id?.startsWith(qf)) return !1;
12697
+ if (t?.id?.startsWith(Kf)) return !1;
12696
12698
  let r = n.options.find((t) => t.id === e.dragged.id);
12697
- if (!r) return !1;
12698
- if (O(r)) return !0;
12699
- if (k.value) return !1;
12700
- if (t?.id === Kf) return !0;
12699
+ if (!r || n.options.find((e) => e.id === t?.id && l(e))) return !1;
12700
+ if (j(r)) return !0;
12701
+ if (M.value) return !1;
12702
+ if (t?.id === Gf) return !0;
12701
12703
  let i = n.options.find((e) => e.id === t?.id);
12702
- return !!i && O(i);
12704
+ return !!i && j(i);
12703
12705
  },
12704
12706
  onEnd: (e) => {
12705
- if (_ = null, v) {
12706
- v = !1;
12707
+ if (b = null, S) {
12708
+ S = !1;
12707
12709
  return;
12708
12710
  }
12709
- let t = m.value;
12711
+ let t = g.value;
12710
12712
  if (!t || !e.item || !t.contains(e.item)) return;
12711
- let n = b();
12713
+ let n = d(C());
12712
12714
  t.removeChild(e.item), t.insertBefore(e.item, t.children[e.oldIndex ?? t.children.length] ?? null);
12713
12715
  let r = c.value.map((e) => e.id);
12714
12716
  n.length === r.length && n.every((e, t) => e.id === r[t]) || (c.value = n);
12715
12717
  }
12716
12718
  }));
12717
12719
  }), E(() => {
12718
- g &&= (g.destroy(), null);
12720
+ v &&= (v.destroy(), null);
12719
12721
  });
12720
- let S = (e) => {
12721
- e.preventDefault(), _ && e.currentTarget.classList.add("placeholder-drag-over");
12722
- }, C = (e) => {
12722
+ let w = (e) => {
12723
+ e.preventDefault(), b && e.currentTarget.classList.add("placeholder-drag-over");
12724
+ }, O = (e) => {
12723
12725
  e.currentTarget.classList.remove("placeholder-drag-over");
12724
- }, w = (e, t) => {
12725
- if (e.preventDefault(), e.currentTarget.classList.remove("placeholder-drag-over"), _) {
12726
- let e = _.id, r = n.options.find((t) => t.id === e);
12727
- if (r && !O(r)) {
12726
+ }, k = (e, t) => {
12727
+ if (e.preventDefault(), e.currentTarget.classList.remove("placeholder-drag-over"), b) {
12728
+ let e = b.id, r = n.options.find((t) => t.id === e);
12729
+ if (r && !j(r)) {
12728
12730
  let e = [...c.value];
12729
- e.splice(t - 1, 0, r), c.value = e.slice(0, n.activeOptionLimit || Infinity), _.parentNode && _.parentNode.removeChild(_), v = !0;
12731
+ e.splice(t - 1, 0, r), c.value = d(e), b.parentNode && b.parentNode.removeChild(b), S = !0;
12730
12732
  }
12731
12733
  }
12732
- }, O = (e) => c.value.some((t) => t.id === e.id), k = r(() => n.activeOptionLimit ? c.value.length >= n.activeOptionLimit : !1), j = (e) => {
12733
- if (O(e)) c.value = c.value.filter((t) => t.id !== e.id);
12734
+ }, j = (e) => c.value.some((t) => t.id === e.id), M = r(() => n.activeOptionLimit ? c.value.length >= n.activeOptionLimit : !1), N = (e) => {
12735
+ if (!l(e)) if (j(e)) c.value = c.value.filter((t) => t.id !== e.id);
12734
12736
  else {
12735
12737
  if (n.activeOptionLimit && c.value.length >= n.activeOptionLimit) return;
12736
12738
  c.value = c.value.concat([e]);
12737
12739
  }
12738
- }, M = (e) => !O(e) && n.activeOptionLimit && c.value.length >= n.activeOptionLimit || e.disabled, N = (e) => {
12740
+ }, P = (e) => !j(e) && n.activeOptionLimit && c.value.length >= n.activeOptionLimit || e.disabled, I = (e) => {
12739
12741
  let t = { padding: "4px 8px" };
12740
- return O(e) && (t.backgroundColor = "#E4F8F6", t.borderColor = "#16696D"), t;
12741
- }, P = (e) => {
12742
+ return j(e) && (t.backgroundColor = "#E4F8F6", t.borderColor = "#16696D"), t;
12743
+ }, L = (e) => {
12742
12744
  let t = {};
12743
- return M(e) && (t.backgroundColor = "transparent"), !O(e) && !M(e) ? t.color = "#16696D" : t.color = "#89989B", t;
12745
+ return P(e) && (t.backgroundColor = "transparent"), !j(e) && !P(e) ? t.color = "#16696D" : t.color = "#89989B", t;
12744
12746
  };
12745
12747
  return (e, r) => (D(), o("div", {
12746
12748
  ref_key: "containerRef",
12747
- ref: h
12749
+ ref: _
12748
12750
  }, [s("ul", {
12749
12751
  ref_key: "sortableListRef",
12750
- ref: m,
12752
+ ref: g,
12751
12753
  role: "list"
12752
- }, [(D(!0), o(t, null, A(p.value, (e) => (D(), o("li", {
12754
+ }, [(D(!0), o(t, null, A(h.value, (e) => (D(), o("li", {
12753
12755
  key: e.id,
12754
12756
  id: e.id,
12755
12757
  class: "pv-stack-4"
12756
- }, [e.id === Kf ? (D(), o("div", Rf, [s("div", {
12758
+ }, [e.id === Gf ? (D(), o("div", Rf, [s("div", {
12757
12759
  class: "sort-divider pv-text-default pv-text-body-xs pv-text-tertiary",
12758
- "data-label": k.value ? `Maximum of ${n.activeOptionLimit}` : ""
12759
- }, null, 8, zf)])) : e.id.includes(qf) ? (D(), o("div", {
12760
+ "data-label": M.value ? `Maximum of ${n.activeOptionLimit}` : ""
12761
+ }, null, 8, zf)])) : e.id.includes(Kf) ? (D(), o("div", {
12760
12762
  key: 1,
12761
12763
  class: "placeholder-zone",
12762
- onDragover: r[0] ||= (e) => S(e),
12763
- onDragleave: r[1] ||= (e) => C(e),
12764
- onDrop: (t) => w(t, parseInt(e.id.split("-")[1]) + 1)
12764
+ onDragover: r[0] ||= (e) => w(e),
12765
+ onDragleave: r[1] ||= (e) => O(e),
12766
+ onDrop: (t) => k(t, parseInt(e.id.split("-")[1]) + 1)
12765
12767
  }, [s("div", Vf, [s("span", Hf, F(n.placeholderText), 1)])], 40, Bf)) : (D(), o("div", {
12766
12768
  key: 2,
12767
- class: y(["pv-full-width pv-bordered pv-radius-md pv-flex pv-space-between", !O(e) && k.value ? "pv-menu-item-disabled" : ""]),
12768
- style: x(N(e))
12769
- }, [s("div", Uf, [
12769
+ class: y(["pv-full-width pv-bordered pv-radius-md pv-flex pv-space-between", [!j(e) && M.value ? "pv-menu-item-disabled" : "", l(e) ? "pv-sortable-locked" : ""]]),
12770
+ style: x(I(e))
12771
+ }, [s("div", { class: y(["pv-flex pv-full-width pv-sort-option", { "pv-sort-option-locked": l(e) }]) }, [
12770
12772
  u(Nn, {
12771
- class: y(O(e) ? "pv-text-brand" : "pv-text-tertiary"),
12772
- name: "reorder"
12773
- }, null, 8, ["class"]),
12773
+ class: y(j(e) ? "pv-text-brand" : "pv-text-tertiary"),
12774
+ name: l(e) ? "lock" : "reorder"
12775
+ }, null, 8, ["class", "name"]),
12774
12776
  e.icon ? (D(), i(Nn, {
12775
12777
  key: 0,
12776
- class: y(O(e) ? "pv-text-brand" : "pv-text-tertiary"),
12778
+ class: y(j(e) ? "pv-text-brand" : "pv-text-tertiary"),
12777
12779
  name: e.icon
12778
12780
  }, null, 8, ["class", "name"])) : a("", !0),
12779
- s("span", Wf, F(e.text), 1)
12780
- ]), M(e) ? (D(), o("div", Gf)) : (D(), i(Ln, {
12781
+ s("span", Uf, F(e.text), 1)
12782
+ ], 2), !P(e) && !l(e) ? (D(), i(Ln, {
12781
12783
  key: 0,
12782
- "left-icon": O(e) ? "remove-circle" : "add-circle",
12783
- ariaLabel: O(e) ? `Remove ${e.text}` : `Add ${e.text}`,
12784
+ "left-icon": j(e) ? "remove-circle" : "add-circle",
12785
+ ariaLabel: j(e) ? `Remove ${e.text}` : `Add ${e.text}`,
12784
12786
  variant: "ghost",
12785
- style: x(P(e)),
12786
- onClick: (t) => j(e)
12787
+ style: x(L(e)),
12788
+ onClick: (t) => N(e)
12787
12789
  }, null, 8, [
12788
12790
  "left-icon",
12789
12791
  "ariaLabel",
12790
12792
  "style",
12791
12793
  "onClick"
12792
- ]))], 6))], 8, Lf))), 128))], 512)], 512));
12794
+ ])) : (D(), o("div", Wf))], 6))], 8, Lf))), 128))], 512)], 512));
12793
12795
  }
12794
- }), [["__scopeId", "data-v-0b94d7eb"]]), Yf = {
12796
+ }), [["__scopeId", "data-v-d224df25"]]), Jf = {
12795
12797
  class: "pv-flex pv-full-width pv-space-between",
12796
12798
  style: { "white-space": "nowrap" }
12797
- }, Xf = { class: "pv-text-body-md" }, Zf = /* @__PURE__ */ d({
12799
+ }, Yf = { class: "pv-text-body-md" }, Xf = /* @__PURE__ */ d({
12798
12800
  inheritAttrs: !1,
12799
12801
  __name: "PvTableOverlayMenuItemRenderer",
12800
12802
  props: {
@@ -12803,22 +12805,22 @@ var Wu = { style: { "line-height": "20px" } }, Gu = { class: "pv-text-subdued pv
12803
12805
  context: {}
12804
12806
  },
12805
12807
  setup(e) {
12806
- return (t, n) => (D(), o("div", Yf, [s("span", Xf, F(e.text), 1), e.context?.rightIcon ? (D(), i(Nn, {
12808
+ return (t, n) => (D(), o("div", Jf, [s("span", Yf, F(e.text), 1), e.context?.rightIcon ? (D(), i(Nn, {
12807
12809
  key: 0,
12808
12810
  name: e.context.rightIcon,
12809
12811
  class: "pv-text-subdued"
12810
12812
  }, null, 8, ["name"])) : a("", !0)]));
12811
12813
  }
12812
- }), Qf = { class: "pv-relative" }, $f = {
12814
+ }), Zf = { class: "pv-relative" }, Qf = {
12813
12815
  role: "list",
12814
12816
  class: "pv-relative"
12815
- }, ep = ["data-active"], tp = ["data-active"], np = {
12817
+ }, $f = ["data-active"], ep = ["data-active"], tp = {
12816
12818
  key: 2,
12817
12819
  style: { cursor: "pointer" }
12818
- }, rp = {
12820
+ }, np = {
12819
12821
  key: 0,
12820
12822
  role: "list"
12821
- }, ip = /* @__PURE__ */ d({
12823
+ }, rp = /* @__PURE__ */ d({
12822
12824
  __name: "PvTableOptionsPanel",
12823
12825
  props: {
12824
12826
  groupedModeEnabled: { type: Boolean },
@@ -12897,7 +12899,7 @@ var Wu = { style: { "line-height": "20px" } }, Gu = { class: "pv-text-subdued pv
12897
12899
  previousHiddenColIds: r.hiddenColIds
12898
12900
  });
12899
12901
  };
12900
- return (n, r) => L.value ? (D(), o(t, { key: 0 }, [G((D(), o("div", Qf, [u(ka, {
12902
+ return (n, r) => L.value ? (D(), o(t, { key: 0 }, [G((D(), o("div", Zf, [u(ka, {
12901
12903
  open: v.value,
12902
12904
  label: "Table Configuration",
12903
12905
  icon: "settings",
@@ -12917,7 +12919,7 @@ var Wu = { style: { "line-height": "20px" } }, Gu = { class: "pv-text-subdued pv
12917
12919
  "padding-top": "4px",
12918
12920
  "padding-bottom": "12px"
12919
12921
  }
12920
- }, " Table Configuration ")], -1), s("ul", $f, [
12922
+ }, " Table Configuration ")], -1), s("ul", Qf, [
12921
12923
  C.value ? (D(), o("li", {
12922
12924
  key: 0,
12923
12925
  id: "table-config-overlay",
@@ -12930,7 +12932,7 @@ var Wu = { style: { "line-height": "20px" } }, Gu = { class: "pv-text-subdued pv
12930
12932
  icon: "layers-2",
12931
12933
  "class-list": ["pv-menu-nested", b.value === "overlay" ? "pv-menu-nested-active" : ""],
12932
12934
  onHandleSelected: r[0] ||= (e) => j("overlay")
12933
- }, null, 8, ["class-list"])], 8, ep)) : a("", !0),
12935
+ }, null, 8, ["class-list"])], 8, $f)) : a("", !0),
12934
12936
  F.value ? (D(), o("li", {
12935
12937
  key: 1,
12936
12938
  id: "table-config-columns",
@@ -12943,8 +12945,8 @@ var Wu = { style: { "line-height": "20px" } }, Gu = { class: "pv-text-subdued pv
12943
12945
  icon: "columns-3",
12944
12946
  "class-list": ["pv-menu-nested", b.value === "columns" ? "pv-menu-nested-active" : ""],
12945
12947
  onHandleSelected: r[1] ||= (e) => j("columns")
12946
- }, null, 8, ["class-list"])], 8, tp)) : a("", !0),
12947
- I.value ? (D(), o("li", np, [u(_o, {
12948
+ }, null, 8, ["class-list"])], 8, ep)) : a("", !0),
12949
+ I.value ? (D(), o("li", tp, [u(_o, {
12948
12950
  config: { variant: "icon" },
12949
12951
  id: "table-config-group-toggle",
12950
12952
  class: "pv-text-subdued",
@@ -12965,11 +12967,11 @@ var Wu = { style: { "line-height": "20px" } }, Gu = { class: "pv-text-subdued pv
12965
12967
  },
12966
12968
  isList: b.value !== "columns"
12967
12969
  }, {
12968
- default: W(() => [b.value === "overlay" ? (D(), o("ul", rp, [(D(!0), o(t, null, A(S.value, (e) => (D(), o("li", { key: e.id }, [u(_o, {
12970
+ default: W(() => [b.value === "overlay" ? (D(), o("ul", np, [(D(!0), o(t, null, A(S.value, (e) => (D(), o("li", { key: e.id }, [u(_o, {
12969
12971
  id: e.id,
12970
12972
  config: {
12971
12973
  variant: "checkbox",
12972
- renderer: Zf
12974
+ renderer: Xf
12973
12975
  },
12974
12976
  text: e.text,
12975
12977
  context: e.context,
@@ -12994,7 +12996,7 @@ var Wu = { style: { "line-height": "20px" } }, Gu = { class: "pv-text-subdued pv
12994
12996
  "padding-left": "2px",
12995
12997
  "padding-bottom": "6px"
12996
12998
  }
12997
- }, " Currently Viewing ", -1), u(Jf, {
12999
+ }, " Currently Viewing ", -1), u(qf, {
12998
13000
  modelValue: ee.value,
12999
13001
  options: B.value,
13000
13002
  showPlaceholders: !1,
@@ -13007,18 +13009,18 @@ var Wu = { style: { "line-height": "20px" } }, Gu = { class: "pv-text-subdued pv
13007
13009
  "isList"
13008
13010
  ])], 64)) : a("", !0);
13009
13011
  }
13010
- }), ap = { class: "pv-chart-benchmark-chips pv-flex-vertical" }, op = ["data-group-name"], sp = { class: "pv-chart-chip-section-label pv-chart-benchmark-chip-section-label" }, cp = ["data-loading"], lp = { class: "pv-chart-chip-label pv-flex-item" }, up = { class: "pv-chart-chip-value" }, dp = /* @__PURE__ */ d({
13012
+ }), ip = { class: "pv-chart-benchmark-chips pv-flex-vertical" }, ap = ["data-group-name"], op = { class: "pv-chart-chip-section-label pv-chart-benchmark-chip-section-label" }, sp = ["data-loading"], cp = { class: "pv-chart-chip-label pv-flex-item" }, lp = { class: "pv-chart-chip-value" }, up = /* @__PURE__ */ d({
13011
13013
  __name: "PvBenchmarkChips",
13012
13014
  props: { sections: {} },
13013
13015
  emits: ["chip-hover"],
13014
13016
  setup(e, { emit: n }) {
13015
13017
  let r = n;
13016
- return (n, c) => (D(), o("div", ap, [(D(!0), o(t, null, A(e.sections, (e) => (D(), o("div", {
13018
+ return (n, c) => (D(), o("div", ip, [(D(!0), o(t, null, A(e.sections, (e) => (D(), o("div", {
13017
13019
  key: e.groupName,
13018
13020
  "data-testid": "chip-section",
13019
13021
  "data-group-name": e.groupName,
13020
13022
  class: "pv-flex-vertical"
13021
- }, [s("p", sp, F(e.groupName), 1), (D(!0), o(t, null, A(e.chips, (e) => (D(), o("div", _({
13023
+ }, [s("p", op, F(e.groupName), 1), (D(!0), o(t, null, A(e.chips, (e) => (D(), o("div", _({
13022
13024
  key: e.key,
13023
13025
  "data-testid": "benchmark-chip",
13024
13026
  class: "pv-chart-benchmark-chip pv-flex pv-bordered pv-inset-square-8",
@@ -13045,8 +13047,8 @@ var Wu = { style: { "line-height": "20px" } }, Gu = { class: "pv-text-subdued pv
13045
13047
  class: "pv-chart-benchmark-chip-accent",
13046
13048
  style: x({ backgroundColor: e.color })
13047
13049
  }, null, 4)) : a("", !0),
13048
- s("span", lp, F(e.label), 1),
13049
- s("span", up, F(e.formattedValue), 1),
13050
+ s("span", cp, F(e.label), 1),
13051
+ s("span", lp, F(e.formattedValue), 1),
13050
13052
  e.excludeFromCrossline ? (D(), i(z(qi), {
13051
13053
  key: 1,
13052
13054
  "data-testid": "benchmark-chip-unit-mismatch-tooltip",
@@ -13069,16 +13071,16 @@ var Wu = { style: { "line-height": "20px" } }, Gu = { class: "pv-text-subdued pv
13069
13071
  } }, " Shown in different units than the chart, so no line is drawn for this benchmark. ", -1)]]),
13070
13072
  _: 1
13071
13073
  })) : a("", !0)
13072
- ], 64))], 16, cp))), 128))], 8, op))), 128))]));
13074
+ ], 64))], 16, sp))), 128))], 8, ap))), 128))]));
13073
13075
  }
13074
- }), fp = (e) => e.field === "state" || $(e).dataType === $o.Location, pp = (e) => e.filter(fp), mp = (e, t, n) => {
13076
+ }), dp = (e) => e.field === "state" || $(e).dataType === $o.Location, fp = (e) => e.filter(dp), pp = (e, t, n) => {
13075
13077
  if (!n || t.length === 0) return e;
13076
13078
  let r = new Set(n(t).map((e) => e.field));
13077
13079
  return e.filter((e) => r.has(e));
13078
- }, hp = (e) => e.filter((e) => !cs(e)), gp = (e) => e.filter((e) => cs(e)), _p = {
13080
+ }, mp = (e) => e.filter((e) => !cs(e)), hp = (e) => e.filter((e) => cs(e)), gp = {
13079
13081
  xAxis: {
13080
13082
  selectMode: "sortable",
13081
- filterColumns: hp
13083
+ filterColumns: mp
13082
13084
  },
13083
13085
  yAxis: {},
13084
13086
  secondaryYAxis: {},
@@ -13087,16 +13089,16 @@ var Wu = { style: { "line-height": "20px" } }, Gu = { class: "pv-text-subdued pv
13087
13089
  rowGroupLimit: 2,
13088
13090
  supportsFocusView: !0,
13089
13091
  storeBeforeChange: !0
13090
- }, vp = [
13092
+ }, _p = [
13091
13093
  {
13092
- ..._p,
13094
+ ...gp,
13093
13095
  id: "column",
13094
13096
  text: "Column",
13095
13097
  icon: "chart-column",
13096
13098
  agChartType: "bar"
13097
13099
  },
13098
13100
  {
13099
- ..._p,
13101
+ ...gp,
13100
13102
  id: "bar",
13101
13103
  text: "Bar",
13102
13104
  icon: "chart-bar",
@@ -13104,28 +13106,28 @@ var Wu = { style: { "line-height": "20px" } }, Gu = { class: "pv-text-subdued pv
13104
13106
  isHorizontal: !0
13105
13107
  },
13106
13108
  {
13107
- ..._p,
13109
+ ...gp,
13108
13110
  id: "line",
13109
13111
  text: "Line",
13110
13112
  icon: "chart-line",
13111
13113
  agChartType: "line"
13112
13114
  },
13113
13115
  {
13114
- ..._p,
13116
+ ...gp,
13115
13117
  id: "area",
13116
13118
  text: "Area",
13117
13119
  icon: "chart-area",
13118
13120
  agChartType: "area"
13119
13121
  },
13120
13122
  {
13121
- ..._p,
13123
+ ...gp,
13122
13124
  id: "column_stacked",
13123
13125
  text: "Stacked Column",
13124
13126
  icon: "chart-column-stacked",
13125
13127
  agChartType: "bar"
13126
13128
  },
13127
13129
  {
13128
- ..._p,
13130
+ ...gp,
13129
13131
  id: "bar_stacked",
13130
13132
  text: "Stacked Bar",
13131
13133
  icon: "chart-bar-stacked",
@@ -13133,7 +13135,7 @@ var Wu = { style: { "line-height": "20px" } }, Gu = { class: "pv-text-subdued pv
13133
13135
  isHorizontal: !0
13134
13136
  },
13135
13137
  {
13136
- ..._p,
13138
+ ...gp,
13137
13139
  id: "pie",
13138
13140
  text: "Pie",
13139
13141
  icon: "chart-pie",
@@ -13147,7 +13149,7 @@ var Wu = { style: { "line-height": "20px" } }, Gu = { class: "pv-text-subdued pv
13147
13149
  icon: "chart-column",
13148
13150
  xAxis: {
13149
13151
  selectMode: "single",
13150
- filterColumns: gp,
13152
+ filterColumns: hp,
13151
13153
  hideLabel: !0
13152
13154
  },
13153
13155
  yAxis: {
@@ -13168,7 +13170,7 @@ var Wu = { style: { "line-height": "20px" } }, Gu = { class: "pv-text-subdued pv
13168
13170
  icon: "map",
13169
13171
  xAxis: {
13170
13172
  selectMode: "single",
13171
- filterColumns: pp,
13173
+ filterColumns: fp,
13172
13174
  hideLabel: !0
13173
13175
  },
13174
13176
  yAxis: {},
@@ -13180,26 +13182,26 @@ var Wu = { style: { "line-height": "20px" } }, Gu = { class: "pv-text-subdued pv
13180
13182
  supportsFocusView: !1,
13181
13183
  storeBeforeChange: !1
13182
13184
  }
13183
- ], yp = new Map(vp.map((e) => [e.id, e])), bp = yp.get("column");
13184
- function xp(e) {
13185
- return yp.get(e) || bp;
13185
+ ], vp = new Map(_p.map((e) => [e.id, e])), yp = vp.get("column");
13186
+ function bp(e) {
13187
+ return vp.get(e) || yp;
13186
13188
  }
13187
13189
  //#endregion
13188
13190
  //#region src/components/charts/PvDataTableWithChart/table-chart-components/PvChartOptionMenuItemRenderer.vue?vue&type=script&setup=true&lang.ts
13189
- var Sp = {
13191
+ var xp = {
13190
13192
  class: "pv-full-width pv-flex",
13191
13193
  style: { "--flex-gap": "8px" }
13192
- }, Cp = {
13194
+ }, Sp = {
13193
13195
  class: "pv-full-width pv-truncate pv-flex-vertical",
13194
13196
  style: {
13195
13197
  "align-items": "flex-start",
13196
13198
  "--flex-gap": "0"
13197
13199
  }
13198
- }, wp = ["title"], Tp = ["title"], Ep = { style: {
13200
+ }, Cp = ["title"], wp = ["title"], Tp = { style: {
13199
13201
  "max-width": "220px",
13200
13202
  "white-space": "normal",
13201
13203
  "overflow-wrap": "break-word"
13202
- } }, Dp = /* @__PURE__ */ d({
13204
+ } }, Ep = /* @__PURE__ */ d({
13203
13205
  inheritAttrs: !1,
13204
13206
  __name: "PvChartOptionMenuItemRenderer",
13205
13207
  props: {
@@ -13208,14 +13210,14 @@ var Sp = {
13208
13210
  text: {}
13209
13211
  },
13210
13212
  setup(e) {
13211
- return (t, n) => (D(), o("div", Sp, [s("div", Cp, [s("span", {
13213
+ return (t, n) => (D(), o("div", xp, [s("div", Sp, [s("span", {
13212
13214
  class: "pv-text-body-md pv-full-width pv-truncate",
13213
13215
  title: e.text
13214
- }, F(e.text), 9, wp), e.subText ? (D(), o("span", {
13216
+ }, F(e.text), 9, Cp), e.subText ? (D(), o("span", {
13215
13217
  key: 0,
13216
13218
  class: "pv-text-body-xs pv-text-subdued pv-full-width pv-truncate",
13217
13219
  title: e.subText
13218
- }, F(e.subText), 9, Tp)) : a("", !0)]), e.context?.description ? (D(), i(z(qi), {
13220
+ }, F(e.subText), 9, wp)) : a("", !0)]), e.context?.description ? (D(), i(z(qi), {
13219
13221
  key: 0,
13220
13222
  variant: "dark",
13221
13223
  position: "center-right",
@@ -13229,34 +13231,34 @@ var Sp = {
13229
13231
  name: "info-circle",
13230
13232
  class: "pv-text-subdued"
13231
13233
  })]),
13232
- content: W(() => [s("div", Ep, F(e.context.description), 1)]),
13234
+ content: W(() => [s("div", Tp, F(e.context.description), 1)]),
13233
13235
  _: 1
13234
13236
  })) : a("", !0)]));
13235
13237
  }
13236
- }), Op = { class: "pv-stack-16 pv-chart-options-panel" }, kp = { class: "pv-flex pv-relative" }, Ap = [
13238
+ }), Dp = { class: "pv-stack-16 pv-chart-options-panel" }, Op = { class: "pv-flex pv-relative" }, kp = [
13237
13239
  "id",
13238
13240
  "aria-label",
13239
13241
  "onKeydown"
13240
- ], jp = {
13242
+ ], Ap = {
13241
13243
  role: "list",
13242
13244
  class: "pv-popover-list pv-relative"
13243
- }, Mp = [
13245
+ }, jp = [
13244
13246
  "id",
13245
13247
  "data-active",
13246
13248
  "data-dd-action-name",
13247
13249
  "onMouseenter",
13248
13250
  "onClick"
13249
- ], Np = { style: { "max-width": "100px" } }, Pp = {
13251
+ ], Mp = { style: { "max-width": "100px" } }, Np = {
13250
13252
  key: 1,
13251
13253
  class: "pv-flex"
13252
- }, Fp = {
13254
+ }, Pp = {
13253
13255
  key: 0,
13254
13256
  class: "pv-inset-square-8"
13255
- }, Ip = {
13257
+ }, Fp = {
13256
13258
  key: 1,
13257
13259
  role: "list",
13258
13260
  class: "pv-popover-list"
13259
- }, Lp = ["data-active"], Rp = "This metric isn’t available with the selected chart type.", zp = /* @__PURE__ */ tn(/* @__PURE__ */ d({
13261
+ }, Ip = ["data-active"], Lp = "This metric isn’t available with the selected chart type.", Rp = /* @__PURE__ */ tn(/* @__PURE__ */ d({
13260
13262
  __name: "PvChartOptionsPanel",
13261
13263
  props: {
13262
13264
  enablePanel: { type: Boolean },
@@ -13268,6 +13270,8 @@ var Sp = {
13268
13270
  default: !1
13269
13271
  },
13270
13272
  chartConfigOptions: {},
13273
+ lockedRowGroupColIds: {},
13274
+ metricOverlayWithRowGroups: { type: Boolean },
13271
13275
  readOnly: { type: Boolean },
13272
13276
  percentOfFocusViewYKey: {}
13273
13277
  },
@@ -13280,9 +13284,9 @@ var Sp = {
13280
13284
  maxHeight: "900px"
13281
13285
  },
13282
13286
  useTeleport: !0
13283
- }), b = k(!1), S = k(void 0), C = k(null), w = m(iu, k(void 0)), T = m(nu, k([])), E = m(au, k(void 0)), O = m(ru, k([])), j = m(tu, k([])), M = m(Kl, k([])), N = r(() => xp(w.value?.id || "")), P = r(() => {
13287
+ }), b = k(!1), S = k(void 0), C = k(null), w = m(iu, k(void 0)), T = m(nu, k([])), E = m(au, k(void 0)), O = m(ru, k([])), j = m(tu, k([])), M = m(Kl, k([])), N = r(() => bp(w.value?.id || "")), P = r(() => {
13284
13288
  let e = w.value?.id ?? "";
13285
- return j.value.length > 1 && !e.endsWith("_stacked");
13289
+ return j.value.length > 1 && !e.endsWith("_stacked") && !l.metricOverlayWithRowGroups;
13286
13290
  }), I = m(ou, k("")), L = m(su, k([])), R = m(cu, k(void 0)), B = m(lu, k([])), ee = m(du, k(!1)), V = m(uu, k([])), te = m(pu, k(/* @__PURE__ */ new Set())), H = m(mu, k([])), ne = r(() => H.value.filter((e) => te.value.has(e.id)).map((e) => ({
13287
13291
  id: e.id,
13288
13292
  text: e.label,
@@ -13381,11 +13385,11 @@ var Sp = {
13381
13385
  action: "reorder"
13382
13386
  }, J());
13383
13387
  });
13384
- }, he = (e, t) => `chart-series-agg-func:${encodeURIComponent(e)}:${encodeURIComponent(t)}`, ge = (e) => `chart-series-agg-func-group:${encodeURIComponent(e)}`, _e = (e) => e ? { renderer: Dp } : { variant: "icon" }, ve = r(() => w.value?.id === "line" ? l.percentOfFocusViewYKey : void 0), ye = (e, t, n) => {
13388
+ }, he = (e, t) => `chart-series-agg-func:${encodeURIComponent(e)}:${encodeURIComponent(t)}`, ge = (e) => `chart-series-agg-func-group:${encodeURIComponent(e)}`, _e = (e) => e ? { renderer: Ep } : { variant: "icon" }, ve = r(() => w.value?.id === "line" ? l.percentOfFocusViewYKey : void 0), ye = (e, t, n) => {
13385
13389
  let r = !!e && t === e;
13386
13390
  return {
13387
13391
  disabled: r,
13388
- description: r ? Rp : n
13392
+ description: r ? Lp : n
13389
13393
  };
13390
13394
  }, be = (e, t) => {
13391
13395
  let n = [], r = /* @__PURE__ */ new Map(), i = /* @__PURE__ */ new Map();
@@ -13497,7 +13501,8 @@ var Sp = {
13497
13501
  availableOptions: Z.value,
13498
13502
  ...r ? {
13499
13503
  activeOptions: je,
13500
- activeOptionLimit: l.rowGroupLimit
13504
+ activeOptionLimit: l.rowGroupLimit,
13505
+ lockedOptionIds: l.lockedRowGroupColIds
13501
13506
  } : {
13502
13507
  currentOption: Z.value.find((e) => e.id === j.value[0]),
13503
13508
  updateSelectedOption: (e) => {
@@ -13616,7 +13621,7 @@ var Sp = {
13616
13621
  }
13617
13622
  }))), Ie = (e) => e.isMultiSelect ? {
13618
13623
  variant: "checkbox",
13619
- renderer: Dp
13624
+ renderer: Ep
13620
13625
  } : { variant: "icon" };
13621
13626
  U(C, (e) => {
13622
13627
  e && (v.value = e);
@@ -13636,15 +13641,15 @@ var Sp = {
13636
13641
  return !t || t.isMultiSelect ? null : t.currentOption?.id === e.id ? !0 : null;
13637
13642
  }, Be = (e) => Q.value?.isMultiSelect ? {
13638
13643
  variant: "checkbox",
13639
- renderer: Dp
13640
- } : e.context && typeof e.context == "object" && "description" in e.context ? { renderer: Dp } : { variant: "icon" }, Ve = (e) => {
13644
+ renderer: Ep
13645
+ } : e.context && typeof e.context == "object" && "description" in e.context ? { renderer: Ep } : { variant: "icon" }, Ve = (e) => {
13641
13646
  S.value = e, _.value = document.getElementById(`pv-chart-config-${e}`), g();
13642
13647
  }, He = () => {
13643
13648
  b.value = !1, S.value = void 0;
13644
13649
  }, Ue = () => {
13645
13650
  S.value = void 0;
13646
13651
  };
13647
- return (n, r) => (D(), o(t, null, [s("div", Op, [s("div", null, [G((D(), o("div", { class: y(["pv-flex pv-space-between", e.useCombinedButton ? "pv-stack-8" : ""]) }, [s("div", kp, [e.useCombinedButton ? (D(), o(t, { key: 0 }, [u(ka, {
13652
+ return (n, r) => (D(), o(t, null, [s("div", Dp, [s("div", null, [G((D(), o("div", { class: y(["pv-flex pv-space-between", e.useCombinedButton ? "pv-stack-8" : ""]) }, [s("div", Op, [e.useCombinedButton ? (D(), o(t, { key: 0 }, [u(ka, {
13648
13653
  open: b.value,
13649
13654
  label: "Chart Configuration",
13650
13655
  icon: "chart-area",
@@ -13687,17 +13692,19 @@ var Sp = {
13687
13692
  "padding-left": "2px",
13688
13693
  "padding-bottom": "6px"
13689
13694
  }
13690
- }, " Viewing ", -1), u(Jf, {
13695
+ }, " Viewing ", -1), u(qf, {
13691
13696
  modelValue: Q.value.activeOptions.value,
13692
13697
  "onUpdate:modelValue": r[1] ||= (e) => me(Q.value, e),
13693
13698
  options: Q.value.availableOptions || [],
13694
13699
  activeOptionLimit: Q.value.activeOptionLimit,
13700
+ lockedOptionIds: Q.value.lockedOptionIds,
13695
13701
  placeholderText: "Add to X Axis"
13696
13702
  }, null, 8, [
13697
13703
  "modelValue",
13698
13704
  "options",
13699
- "activeOptionLimit"
13700
- ])], 40, Ap)) : Q.value ? (D(), i(Do, {
13705
+ "activeOptionLimit",
13706
+ "lockedOptionIds"
13707
+ ])], 40, kp)) : Q.value ? (D(), i(Do, {
13701
13708
  key: 1,
13702
13709
  id: t,
13703
13710
  "aria-label": `${Q.value.label} options`,
@@ -13746,7 +13753,7 @@ var Sp = {
13746
13753
  "padding-top": "4px",
13747
13754
  "padding-bottom": "12px"
13748
13755
  }
13749
- }, " Chart Configuration ")], -1), s("ul", jp, [(D(!0), o(t, null, A(Me.value, (t) => (D(), o("li", {
13756
+ }, " Chart Configuration ")], -1), s("ul", Ap, [(D(!0), o(t, null, A(Me.value, (t) => (D(), o("li", {
13750
13757
  id: `pv-chart-config-${t.value}`,
13751
13758
  key: t.value,
13752
13759
  "data-active": S.value === t.value ? !0 : null,
@@ -13777,9 +13784,9 @@ var Sp = {
13777
13784
  _: 2
13778
13785
  }, [t.disabled && t.disabledReason ? {
13779
13786
  name: "content",
13780
- fn: W(() => [s("div", Np, F(t.disabledReason), 1)]),
13787
+ fn: W(() => [s("div", Mp, F(t.disabledReason), 1)]),
13781
13788
  key: "0"
13782
- } : void 0]), 1024)], 40, Mp))), 128))])]),
13789
+ } : void 0]), 1024)], 40, jp))), 128))])]),
13783
13790
  _: 1
13784
13791
  }, 8, ["class"]))], 64)) : a("", !0)])], 2)), [[z(et), [He, { ignore: [".pv-popover"] }]]]), s("div", {
13785
13792
  class: "pv-flex pv-space-between",
@@ -13789,7 +13796,7 @@ var Sp = {
13789
13796
  options: oe.value,
13790
13797
  modelValue: z(ie),
13791
13798
  "onUpdate:modelValue": r[4] ||= (e) => h(ie) ? ie.value = e : null
13792
- }, null, 8, ["options", "modelValue"])) : a("", !0), e.useCombinedButton ? a("", !0) : (D(), o("div", Pp, [(D(!0), o(t, null, A(Me.value, (n) => (D(), o(t, { key: n.value }, [n.isMultiSelect && n.activeOptions && n.activeOptionIds ? (D(), i(Mc, {
13799
+ }, null, 8, ["options", "modelValue"])) : a("", !0), e.useCombinedButton ? a("", !0) : (D(), o("div", Np, [(D(!0), o(t, null, A(Me.value, (n) => (D(), o(t, { key: n.value }, [n.isMultiSelect && n.activeOptions && n.activeOptionIds ? (D(), i(Mc, {
13793
13800
  key: 0,
13794
13801
  label: n.label,
13795
13802
  prefixLabel: n.prefixLabel,
@@ -13799,7 +13806,7 @@ var Sp = {
13799
13806
  disableSearchInput: !0,
13800
13807
  disabled: n.disabled || e.readOnly,
13801
13808
  optionsVariant: "checkbox",
13802
- optionsRenderer: Dp,
13809
+ optionsRenderer: Ep,
13803
13810
  rumActionName: ue(n.value)
13804
13811
  }, null, 8, [
13805
13812
  "label",
@@ -13843,23 +13850,25 @@ var Sp = {
13843
13850
  ...z(p)
13844
13851
  }
13845
13852
  }, {
13846
- default: W(() => [Q.value ? (D(), o(t, { key: 0 }, [Q.value.isSortableList ? (D(), o("div", Fp, [r[9] ||= s("p", {
13853
+ default: W(() => [Q.value ? (D(), o(t, { key: 0 }, [Q.value.isSortableList ? (D(), o("div", Pp, [r[9] ||= s("p", {
13847
13854
  class: "pv-text-tertiary pv-text-body-sm pv-stack-4",
13848
13855
  style: {
13849
13856
  "padding-left": "2px",
13850
13857
  "padding-bottom": "6px"
13851
13858
  }
13852
- }, " Viewing ", -1), u(Jf, {
13859
+ }, " Viewing ", -1), u(qf, {
13853
13860
  modelValue: Q.value.activeOptions.value,
13854
13861
  "onUpdate:modelValue": r[5] ||= (e) => me(Q.value, e),
13855
13862
  options: Q.value.availableOptions || [],
13856
13863
  activeOptionLimit: Q.value.activeOptionLimit,
13864
+ lockedOptionIds: Q.value.lockedOptionIds,
13857
13865
  placeholderText: "Add to X Axis"
13858
13866
  }, null, 8, [
13859
13867
  "modelValue",
13860
13868
  "options",
13861
- "activeOptionLimit"
13862
- ])])) : (D(), o("ul", Ip, [(D(!0), o(t, null, A(Q.value.availableOptions, (t) => (D(), o("li", {
13869
+ "activeOptionLimit",
13870
+ "lockedOptionIds"
13871
+ ])])) : (D(), o("ul", Fp, [(D(!0), o(t, null, A(Q.value.availableOptions, (t) => (D(), o("li", {
13863
13872
  key: t.id,
13864
13873
  "data-active": ze(t)
13865
13874
  }, [u(_o, {
@@ -13882,14 +13891,14 @@ var Sp = {
13882
13891
  "disabled",
13883
13892
  "selectedIds",
13884
13893
  "onHandleSelected"
13885
- ])], 8, Lp))), 128))]))], 64)) : a("", !0)]),
13894
+ ])], 8, Ip))), 128))]))], 64)) : a("", !0)]),
13886
13895
  _: 1
13887
13896
  }, 8, ["class", "css-custom-properties"])) : a("", !0)], 64));
13888
13897
  }
13889
- }), [["__scopeId", "data-v-1ef60ad1"]]);
13898
+ }), [["__scopeId", "data-v-df20acce"]]);
13890
13899
  //#endregion
13891
13900
  //#region src/components/charts/PvDataTableWithChart/scatterAxisUtils.ts
13892
- function Bp(e, t, n, r, i) {
13901
+ function zp(e, t, n, r, i) {
13893
13902
  return i ? {
13894
13903
  xKey: n,
13895
13904
  xName: r,
@@ -13902,7 +13911,7 @@ function Bp(e, t, n, r, i) {
13902
13911
  yName: r
13903
13912
  };
13904
13913
  }
13905
- var Vp = (e, t) => {
13914
+ var Bp = (e, t) => {
13906
13915
  if (t.length === 0) return null;
13907
13916
  let n = Math.max(...t.map((e) => e.bucketMax));
13908
13917
  for (let r = 0; r < t.length; r++) {
@@ -13913,22 +13922,22 @@ var Vp = (e, t) => {
13913
13922
  }
13914
13923
  }
13915
13924
  return null;
13916
- }, Hp = (e, t) => {
13925
+ }, Vp = (e, t) => {
13917
13926
  let n = +!!t, r = e + n * 2, i = +!t;
13918
13927
  return {
13919
13928
  categoryPadOffset: n,
13920
13929
  axisMin: 0 - i,
13921
13930
  axisMax: r + i
13922
13931
  };
13923
- }, Up = (e, t) => {
13932
+ }, Hp = (e, t) => {
13924
13933
  let { categoryPadOffset: n, axisMin: r, axisMax: i } = t;
13925
13934
  return (e + n - r) / (i - r);
13926
- }, Wp = (e, t) => e.filter((e) => t.has(e.id)).flatMap((e) => e.overlays.filter((e) => !e.excludeFromCrossline).map((t) => ({
13935
+ }, Up = (e, t) => e.filter((e) => t.has(e.id)).flatMap((e) => e.overlays.filter((e) => !e.excludeFromCrossline).map((t) => ({
13927
13936
  ...t,
13928
13937
  color: t.color ?? e.color,
13929
13938
  formatValue: t.formatValue ?? e.formatValue,
13930
13939
  key: `${e.id}-${t.label}`
13931
- }))), Gp = (e, t, n) => {
13940
+ }))), Wp = (e, t, n) => {
13932
13941
  let r = /* @__PURE__ */ new Map();
13933
13942
  return e.filter((e) => !!(e.groupName && t.has(e.id))).forEach((e) => {
13934
13943
  let t = r.get(e.groupName) ?? {
@@ -13950,18 +13959,18 @@ var Vp = (e, t) => {
13950
13959
  });
13951
13960
  }), r.set(e.groupName, t);
13952
13961
  }), [...r.values()];
13953
- }, Kp = (e) => !!(e.visible && !e.disabled);
13954
- function qp(e) {
13955
- let { crosslineOverlayGroups: t, isHistogramWithBuckets: n, isHorizontalBarChart: i, computedChartData: a, pvChartRef: o, formatValue: s, initialActiveOverlayGroupIds: c } = e, l = k(new Set(c?.value ?? t.value.filter((e) => Kp(e)).map((e) => e.id))), u = new Map(t.value.map((e) => [e.id, Kp(e)]));
13962
+ }, Gp = (e) => !!(e.visible && !e.disabled);
13963
+ function Kp(e) {
13964
+ let { crosslineOverlayGroups: t, isHistogramWithBuckets: n, isHorizontalBarChart: i, computedChartData: a, pvChartRef: o, formatValue: s, initialActiveOverlayGroupIds: c } = e, l = k(new Set(c?.value ?? t.value.filter((e) => Gp(e)).map((e) => e.id))), u = new Map(t.value.map((e) => [e.id, Gp(e)]));
13956
13965
  U(t, (e) => {
13957
13966
  let t = new Set(l.value), n = !1, r = c?.value !== void 0;
13958
13967
  for (let i of e) {
13959
- let e = Kp(i), a = u.has(i.id) ? !u.get(i.id) : !r;
13968
+ let e = Gp(i), a = u.has(i.id) ? !u.get(i.id) : !r;
13960
13969
  e && a ? (t.add(i.id), n = !0) : !e && u.get(i.id) && (t.delete(i.id), n = !0);
13961
13970
  }
13962
- u = new Map(e.map((e) => [e.id, Kp(e)])), n && (l.value = t);
13971
+ u = new Map(e.map((e) => [e.id, Gp(e)])), n && (l.value = t);
13963
13972
  });
13964
- let d = r(() => Wp(t.value, l.value)), f = r(() => Gp(t.value, l.value, s)), p = k(null);
13973
+ let d = r(() => Up(t.value, l.value)), f = r(() => Wp(t.value, l.value, s)), p = k(null);
13965
13974
  return {
13966
13975
  activeCrosslineOverlayGroups: l,
13967
13976
  resolvedCrosslineOverlays: d,
@@ -13971,11 +13980,11 @@ function qp(e) {
13971
13980
  if (!p.value || !a.value) return null;
13972
13981
  let e = d.value.find((e) => e.key === p.value);
13973
13982
  if (!e) return null;
13974
- let t = Vp(e.value, a.value);
13983
+ let t = Bp(e.value, a.value);
13975
13984
  if (t == null) return null;
13976
13985
  let r = (o.value?.$el)?.querySelector(".ag-charts-series-area")?.getBoundingClientRect();
13977
13986
  if (!r) return null;
13978
- let c = Up(t, Hp(a.value.length || 1, n.value)), l = e.formatValue ? e.formatValue(e.value) : s(e.value);
13987
+ let c = Hp(t, Vp(a.value.length || 1, n.value)), l = e.formatValue ? e.formatValue(e.value) : s(e.value);
13979
13988
  return i.value ? {
13980
13989
  label: e.label,
13981
13990
  value: l,
@@ -14002,22 +14011,22 @@ function qp(e) {
14002
14011
  }
14003
14012
  //#endregion
14004
14013
  //#region src/components/charts/PvDataTableWithChart/PvDataTableWithChart.vue?vue&type=script&setup=true&lang.ts
14005
- var Jp = { style: {
14014
+ var qp = { style: {
14006
14015
  height: "100%",
14007
14016
  width: "100%"
14008
- } }, Yp = {
14017
+ } }, Jp = {
14009
14018
  key: 0,
14010
14019
  class: "pv-bordered pv-radius-lg pv-inset-square-12 pv-stack-16"
14011
- }, Xp = { class: "pv-flex" }, Zp = {
14020
+ }, Yp = { class: "pv-flex" }, Xp = {
14012
14021
  class: "pv-flex",
14013
14022
  style: { "align-items": "stretch" }
14014
- }, Qp = { class: "pv-flex pv-space-between" }, $p = { class: "pv-chart-tooltip-label" }, em = { class: "pv-chart-tooltip-value" }, tm = {
14023
+ }, Zp = { class: "pv-flex pv-space-between" }, Qp = { class: "pv-chart-tooltip-label" }, $p = { class: "pv-chart-tooltip-value" }, em = {
14015
14024
  key: 2,
14016
14025
  class: "pv-chart-overlay pv-flex pv-align-center"
14017
- }, nm = { key: 0 }, rm = {
14026
+ }, tm = { key: 0 }, nm = {
14018
14027
  key: 1,
14019
14028
  class: "pv-text-body-xs"
14020
- }, im = /* @__PURE__ */ d({
14029
+ }, rm = /* @__PURE__ */ d({
14021
14030
  __name: "PvDataTableWithChart",
14022
14031
  props: {
14023
14032
  allFieldsAreFocusable: { type: Boolean },
@@ -14055,6 +14064,11 @@ var Jp = { style: {
14055
14064
  secondaryChartType: { default: "scatter" },
14056
14065
  multiSelectMetricOverlay: { type: Boolean },
14057
14066
  initialSecondaryYKeys: {},
14067
+ metricOverlayWithRowGroups: {
14068
+ type: Boolean,
14069
+ default: !1
14070
+ },
14071
+ lockedRowGroupColIds: { default: () => [] },
14058
14072
  chartFilter: {},
14059
14073
  chartType: { default: "column" },
14060
14074
  emptyChartFilterRenderer: {},
@@ -14306,10 +14320,10 @@ var Jp = { style: {
14306
14320
  O(Xl, K);
14307
14321
  let oe = k(l.isTableGrouped), se = (e) => {
14308
14322
  d("table-overlay-change", e);
14309
- }, ce = r(() => Kt.value ? !1 : !!(l.emptyChartFilterRenderer && l.requireFiltersToShowData && ie.filterModelEmpty.value)), le = r(() => G?.computedFocusType.value || null), q = r(() => G?.computedFocuses.value || []), ue = (e) => {
14323
+ }, ce = r(() => qt.value ? !1 : !!(l.emptyChartFilterRenderer && l.requireFiltersToShowData && ie.filterModelEmpty.value)), le = r(() => G?.computedFocusType.value || null), q = r(() => G?.computedFocuses.value || []), ue = (e) => {
14310
14324
  R.value = Object.fromEntries(e.getValueColumns().map((e) => [e.getColId(), e.getAggFunc()]).filter((e) => typeof e[1] == "string"));
14311
14325
  }, J = k(null), de = (e) => {
14312
- p.value = e.api, ue(e.api), oe.value || p.value?.setRowGroupColumns([]), l.tableConfigOptions?.enableColumnConfiguration && (J.value = e.api.getAllGridColumns().map((e) => e.getColId())), ut(e.api), d("grid-ready", e);
14326
+ p.value = e.api, ue(e.api), oe.value || p.value?.setRowGroupColumns([]), l.tableConfigOptions?.enableColumnConfiguration && (J.value = e.api.getAllGridColumns().map((e) => e.getColId())), dt(e.api), d("grid-ready", e);
14313
14327
  }, fe = (e) => {
14314
14328
  J.value = e.orderedColIds, d("chart-state-changed", {
14315
14329
  api: p.value,
@@ -14332,7 +14346,7 @@ var Jp = { style: {
14332
14346
  }), J.value = t;
14333
14347
  }, pe = (e) => {
14334
14348
  let t = ne(H.value, Ne.value), n = Pe.value.map((e) => ne(H.value, e)?.columnField).filter((e) => !!e);
14335
- ue(e.api), t?.columnField && Ne.value && (Ne.value = H.value.find((e) => e.columnField === t.columnField)?.value), n.length > 0 && (Pe.value = n.map((e) => H.value.find((t) => t.columnField === e)?.value).filter((e) => !!e)), ut(e.api), d("column-value-changed", e);
14349
+ ue(e.api), t?.columnField && Ne.value && (Ne.value = H.value.find((e) => e.columnField === t.columnField)?.value), n.length > 0 && (Pe.value = n.map((e) => H.value.find((t) => t.columnField === e)?.value).filter((e) => !!e)), dt(e.api), d("column-value-changed", e);
14336
14350
  }, X = (e) => {
14337
14351
  let t = p.value;
14338
14352
  !t || t.getColumn(e.columnField)?.getAggFunc() === e.aggFunc || t.applyColumnState({ state: [{
@@ -14353,7 +14367,7 @@ var Jp = { style: {
14353
14367
  }
14354
14368
  d("column-row-group-changed", e);
14355
14369
  }, ge = async (e) => {
14356
- ut(e.api), K.value && d("filter-changed", e);
14370
+ dt(e.api), K.value && d("filter-changed", e);
14357
14371
  };
14358
14372
  U(() => P.value, () => {
14359
14373
  if (oe.value) {
@@ -14369,7 +14383,7 @@ var Jp = { style: {
14369
14383
  let e = Oe.value.supportsFocusView && I.value || null;
14370
14384
  G.setFocusType(e);
14371
14385
  }
14372
- p.value && ut(p.value);
14386
+ p.value && dt(p.value);
14373
14387
  });
14374
14388
  function _e(e, t, n = !0) {
14375
14389
  return (r) => {
@@ -14380,7 +14394,7 @@ var Jp = { style: {
14380
14394
  let e = r.datum?.[I.value], t = Me.value?.find((t) => t[I.value] === e)?.[`${Q.value}_sort_total`] || Infinity;
14381
14395
  if (r.value / t < .05) return "";
14382
14396
  }
14383
- let { newValue: e, newSuffix: t } = rs(r.value, $o.Percent === $(a).dataType, It.value);
14397
+ let { newValue: e, newSuffix: t } = rs(r.value, $o.Percent === $(a).dataType, Lt.value);
14384
14398
  r.value = e, i = t;
14385
14399
  }
14386
14400
  let o = r.value;
@@ -14401,7 +14415,7 @@ var Jp = { style: {
14401
14415
  ...P.value.length > 1 ? Uo : Ho,
14402
14416
  Wo,
14403
14417
  Go
14404
- ].filter((e) => l.enabledChartTypes?.includes(e.id))), we = k(void 0), Te = k(void 0), Ee = k(void 0), De = !1, Oe = r(() => xp(we.value?.id || "")), ke = r(() => Math.min(Oe.value.rowGroupLimit, l.rowGroupLimit)), Ae = r(() => {
14418
+ ].filter((e) => l.enabledChartTypes?.includes(e.id))), we = k(void 0), Te = k(void 0), Ee = k(void 0), De = !1, Oe = r(() => bp(we.value?.id || "")), ke = r(() => Math.min(Oe.value.rowGroupLimit, l.rowGroupLimit)), Ae = r(() => {
14405
14419
  let e = Oe.value.xAxis.filterColumns;
14406
14420
  return e ? e(M.value) : M.value;
14407
14421
  }), Z = k([{
@@ -14427,13 +14441,13 @@ var Jp = { style: {
14427
14441
  we.value = Ce.value.find((t) => t.id === e) ?? Ce.value[0];
14428
14442
  }, Ue = (e) => {
14429
14443
  let t = P.value.length, n = (e) => {
14430
- let n = xp(e.id);
14444
+ let n = bp(e.id);
14431
14445
  return t <= Math.min(n.rowGroupLimit, l.rowGroupLimit);
14432
14446
  }, r = Ce.value.find((t) => t.id === e);
14433
14447
  return r && n(r) ? r.id : Ce.value.find(n)?.id ?? Ce.value[0]?.id;
14434
14448
  };
14435
14449
  U(() => Ce.value, () => {
14436
- let e = nt.value, t = e !== De, n = xp(we.value?.id || ""), r = Ce.value.some((e) => e.id === we.value?.id), i = P.value.length > Math.min(n.rowGroupLimit, l.rowGroupLimit);
14450
+ let e = nt.value, t = e !== De, n = bp(we.value?.id || ""), r = Ce.value.some((e) => e.id === we.value?.id), i = P.value.length > Math.min(n.rowGroupLimit, l.rowGroupLimit);
14437
14451
  if (De = e, r && !i && (!t || !n.storeBeforeChange)) return;
14438
14452
  let a = Ue((e ? Ee?.value : Te?.value) ?? l.chartType);
14439
14453
  a && He(a);
@@ -14457,7 +14471,10 @@ var Jp = { style: {
14457
14471
  if (ye(t?.columnField ?? e)?.context?.chartOverlayOnPrimaryAxis !== !0) return !1;
14458
14472
  let n = ne(V.value, Q.value);
14459
14473
  return t?.dataType != null && t.dataType === n?.dataType;
14460
- }, qe = r(() => Ie.value.filter((e) => !Ke(e))), Je = r(() => Ie.value.filter((e) => Ke(e))), Ye = r(() => qe.value.map((e) => We(ne(H.value, e))).filter(Boolean).join(", ")), Xe = r(() => Oe.value.isHorizontal === !0), Ze = r(() => l.secondaryChartType === "line" && !Xe.value ? "line" : "scatter"), Qe = r(() => P.value.length > 1), $e = r(() => !we.value || V.value.length === 0 ? [] : Oe.value.seriesFamily === "pie" ? st.value : at.value), et = r(() => we.value?.id === "histogram" ? !1 : l.showSeriesLabels), tt = r(() => we.value?.id.includes("stacked")), nt = r(() => P.value.length > 1), rt = r(() => we.value?.id === "histogram" && mt.value && mt.value.length > 0 && typeof mt.value[0]?.bucketMin == "number" && typeof mt.value[0]?.bucketMax == "number"), it = "primary-series", at = r(() => {
14474
+ }, qe = r(() => Ie.value.filter((e) => !Ke(e))), Je = r(() => Ie.value.filter((e) => Ke(e))), Ye = r(() => qe.value.map((e) => We(ne(H.value, e))).filter(Boolean).join(", ")), Xe = r(() => Oe.value.isHorizontal === !0), Ze = r(() => l.secondaryChartType === "line" && !Xe.value ? "line" : "scatter"), Qe = r(() => P.value.length > 1), $e = r(() => !we.value || V.value.length === 0 ? [] : Oe.value.seriesFamily === "pie" ? ct.value : st.value), et = r(() => we.value?.id === "histogram" ? !1 : l.showSeriesLabels), tt = r(() => we.value?.id.includes("stacked")), nt = r(() => P.value.length > 1), rt = r(() => we.value?.id === "histogram" && ht.value && ht.value.length > 0 && typeof ht.value[0]?.bucketMin == "number" && typeof ht.value[0]?.bucketMax == "number"), it = "primary-series", at = r(() => {
14475
+ let e = Qe.value ? ze.value?.fieldValues.length ?? 0 : 1;
14476
+ return `${we.value?.id ?? "chart"}-${e}`;
14477
+ }), st = r(() => {
14461
14478
  let e = tt.value, t = Oe.value.agChartType, n = [], r = ve(Q.value, !0), i = ve(ze.value?.fieldName, !0), a = (e) => t === "line" ? {} : { placement: e };
14462
14479
  if (Qe.value) ze.value?.fieldValues.forEach((o, s) => {
14463
14480
  let c = {
@@ -14506,7 +14523,7 @@ var Jp = { style: {
14506
14523
  let e = o;
14507
14524
  e.connectMissingData = !0, o = e;
14508
14525
  }
14509
- let s = yt.value == null ? {} : {
14526
+ let s = bt.value == null ? {} : {
14510
14527
  fillOpacity: .3,
14511
14528
  strokeOpacity: .3
14512
14529
  };
@@ -14526,22 +14543,22 @@ var Jp = { style: {
14526
14543
  }))), Ie.value.length > 0) {
14527
14544
  let t = ye(I.value)?.context?.metadataDisplayFields?.[0] || I.value, r = Ze.value;
14528
14545
  for (let i of Ie.value) {
14529
- let a = ne(H.value, i), o = We(a), s = e ? `${i}${Qo}` : i, c = Bp(I.value, t, s, o, Xe.value), l = {
14546
+ let a = ne(H.value, i), o = We(a), s = e ? `${i}${Qo}` : i, c = zp(I.value, t, s, o, Xe.value), l = (At.value ?? []).filter((e) => e[s] != null).length, u = {
14530
14547
  type: r,
14531
14548
  id: Fe.value ? `metric-overlay-${i}` : "metric-overlay",
14532
- data: kt.value,
14549
+ data: At.value,
14533
14550
  ...c,
14534
14551
  label: { enabled: !1 },
14535
14552
  ...r === "line" ? {
14536
14553
  lineDash: [4, 4],
14537
14554
  strokeWidth: 2,
14538
- marker: { enabled: !1 },
14555
+ marker: { enabled: l < 2 },
14539
14556
  connectMissingData: !0
14540
14557
  } : {}
14541
14558
  };
14542
14559
  if (a?.tooltipRenderer) {
14543
14560
  let e = a.tooltipRenderer;
14544
- l.tooltip = { renderer: Xe.value ? (n) => e({
14561
+ u.tooltip = { renderer: Xe.value ? (n) => e({
14545
14562
  ...n,
14546
14563
  xKey: I.value,
14547
14564
  xName: t,
@@ -14549,11 +14566,11 @@ var Jp = { style: {
14549
14566
  yName: o
14550
14567
  }) : e };
14551
14568
  }
14552
- n = [...n, l];
14569
+ n = [...n, u];
14553
14570
  }
14554
14571
  }
14555
- if (rt.value && gt.value.length > 0 && mt.value) {
14556
- let e = mt.value.length, t = Number.isFinite(It.value) ? It.value : 0, r = {
14572
+ if (rt.value && vt.value.length > 0 && ht.value) {
14573
+ let e = ht.value.length, t = Number.isFinite(Lt.value) ? Lt.value : 0, r = {
14557
14574
  type: "scatter",
14558
14575
  xKey: "__dummy_x__",
14559
14576
  yKey: "__dummy_y__",
@@ -14567,14 +14584,14 @@ var Jp = { style: {
14567
14584
  label: { enabled: !1 },
14568
14585
  tooltip: { enabled: !1 },
14569
14586
  visible: !1
14570
- }, { categoryPadOffset: i } = Hp(e, !0), a = {
14587
+ }, { categoryPadOffset: i } = Vp(e, !0), a = {
14571
14588
  type: "scatter",
14572
14589
  xKey: "__dummy_x__",
14573
14590
  yKey: "__dummy_y__",
14574
- data: gt.value.flatMap((e) => {
14575
- let t = Vp(e.value, mt.value || []);
14591
+ data: vt.value.flatMap((e) => {
14592
+ let t = Bp(e.value, ht.value || []);
14576
14593
  if (t === null) return [];
14577
- let n = t + i, r = Number.isFinite(It.value) ? It.value : 0, a = ve(P.value?.[0]), o = typeof a == "function" ? a({ value: e.value }) : e.value;
14594
+ let n = t + i, r = Number.isFinite(Lt.value) ? Lt.value : 0, a = ve(P.value?.[0]), o = typeof a == "function" ? a({ value: e.value }) : e.value;
14578
14595
  return Array.from({ length: 30 }, (t, i) => ({
14579
14596
  value: o,
14580
14597
  __dummy_x__: n,
@@ -14610,7 +14627,7 @@ var Jp = { style: {
14610
14627
  ];
14611
14628
  }
14612
14629
  return n;
14613
- }), st = r(() => V.value.length === 0 ? [] : [{
14630
+ }), ct = r(() => V.value.length === 0 ? [] : [{
14614
14631
  type: "pie",
14615
14632
  legendItemKey: I.value,
14616
14633
  angleKey: Q.value
@@ -14634,8 +14651,8 @@ var Jp = { style: {
14634
14651
  oldState: { secondarySeriesField: t?.join(",") || void 0 }
14635
14652
  });
14636
14653
  }), U(we, (e, t) => {
14637
- e?.id && xp(e.id).storeBeforeChange && (nt.value ? Ee.value = e.id : Te.value = e.id);
14638
- let n = xp(e?.id || ""), r = xp(t?.id || ""), i = (n.xAxis.filterColumns === r.xAxis.filterColumns ? P.value : mp(P.value, M.value, n.xAxis.filterColumns)).slice(0, Math.min(n.rowGroupLimit, l.rowGroupLimit));
14654
+ e?.id && bp(e.id).storeBeforeChange && (nt.value ? Ee.value = e.id : Te.value = e.id);
14655
+ let n = bp(e?.id || ""), r = bp(t?.id || ""), i = (n.xAxis.filterColumns === r.xAxis.filterColumns ? P.value : pp(P.value, M.value, n.xAxis.filterColumns)).slice(0, Math.min(n.rowGroupLimit, l.rowGroupLimit));
14639
14656
  ot(i, P.value) || (P.value = i), n.yAxis.defaultValue ? Q.value = n.yAxis.defaultValue : r.yAxis.defaultValue && !n.yAxis.defaultValue && v(() => {
14640
14657
  l.yKey ? Q.value = l.yKey : V.value.length > 0 && (Q.value = V.value[0].value);
14641
14658
  }), d("chart-state-changed", {
@@ -14669,7 +14686,7 @@ var Jp = { style: {
14669
14686
  oldState: { tableGrouped: t }
14670
14687
  });
14671
14688
  }), U(() => l.isTableGrouped, (e, t) => {
14672
- !p.value || e === t || !l.enableGroupingToggle || $t(e);
14689
+ !p.value || e === t || !l.enableGroupingToggle || en(e);
14673
14690
  }), U(() => l.initialFocusData, (e, t) => {
14674
14691
  if (!(ot(e?.focuses, t?.focuses) && e?.focusType == t?.focusType)) {
14675
14692
  if (!e?.focusType) {
@@ -14679,24 +14696,24 @@ var Jp = { style: {
14679
14696
  G.setFocusType(e?.focusType), G.setFocuses(e?.focuses ?? []);
14680
14697
  }
14681
14698
  }, { deep: !0 });
14682
- let ct = () => {
14699
+ let lt = () => {
14683
14700
  je.value = [], Me.value = [], ze.value = null;
14684
- }, lt = (e, t) => {
14701
+ }, ut = (e, t) => {
14685
14702
  if (!e || e.length === 0) {
14686
- ct();
14703
+ lt();
14687
14704
  return;
14688
14705
  }
14689
14706
  if (t) {
14690
- let { stackedData: n, uniqueFieldValues: r } = ws(e, I.value, t, dt.value, re.value);
14691
- Me.value = n, ze.value = {
14707
+ let n = l.metricOverlayWithRowGroups ? [...re.value, ...H.value] : re.value, { stackedData: r, uniqueFieldValues: i } = ws(e, I.value, t, ft.value, n);
14708
+ Me.value = r, ze.value = {
14692
14709
  fieldName: t,
14693
- fieldValues: r
14710
+ fieldValues: i
14694
14711
  };
14695
14712
  } else Me.value = [], ze.value = null;
14696
14713
  je.value = e;
14697
- }, ut = (e) => {
14714
+ }, dt = (e) => {
14698
14715
  let t = ++A.value, n = P.value.length;
14699
- if (ct(), E.value = !1, n === 0 || V.value.length === 0 || l.requireFiltersToShowData && ie.filterModelEmpty.value) return;
14716
+ if (lt(), E.value = !1, n === 0 || V.value.length === 0 || l.requireFiltersToShowData && ie.filterModelEmpty.value) return;
14700
14717
  if (l.serverSideChartHandler) {
14701
14718
  let e = ie.filterModel.value, n = p.value?.getColumnDefs() || [];
14702
14719
  if (e === null && l.initialGridState) {
@@ -14710,7 +14727,7 @@ var Jp = { style: {
14710
14727
  filterModel: e
14711
14728
  };
14712
14729
  E.value = !0, l.serverSideChartHandler(o).then((e) => {
14713
- t === A.value && (lt(e.data, e.stackField), E.value = !1);
14730
+ t === A.value && (ut(e.data, e.stackField), E.value = !1);
14714
14731
  }).catch((e) => {
14715
14732
  t === A.value && (console.error("Chart handler error:", e), E.value = !1);
14716
14733
  });
@@ -14721,10 +14738,10 @@ var Jp = { style: {
14721
14738
  if (e.forEachNodeAfterFilterAndSort((e) => {
14722
14739
  if (e.group && e.level === 0) {
14723
14740
  if (P.value.length > 1) {
14724
- let { rowData: t, fieldValues: n } = pt(e, e.childrenAfterFilter?.filter((e) => e.level === 1 && e.aggData) || []);
14741
+ let { rowData: t, fieldValues: n } = mt(e, e.childrenAfterFilter?.filter((e) => e.level === 1 && e.aggData) || []);
14725
14742
  a = a.union(n), i?.push(t);
14726
14743
  }
14727
- let t = ft(e);
14744
+ let t = pt(e);
14728
14745
  r?.push(t);
14729
14746
  }
14730
14747
  }), je.value = r, P.value.length > 1 && i && i.length > 0) {
@@ -14734,14 +14751,14 @@ var Jp = { style: {
14734
14751
  fieldValues: Array.from(a)
14735
14752
  };
14736
14753
  } else Me.value = [], ze.value = null;
14737
- }, dt = r(() => {
14754
+ }, ft = r(() => {
14738
14755
  let e = V.value, t = H.value;
14739
14756
  return [...new Map([...t, ...e].map((e) => [e.value, e])).values()];
14740
- }), ft = (e) => {
14757
+ }), pt = (e) => {
14741
14758
  let t = { [e.field]: e.key };
14742
- for (let n of dt.value) !e.aggData || !e.aggData[n.value] || (t[n.value] = e.aggData[n.value]?.value ?? e.aggData[n.value]);
14759
+ for (let n of ft.value) !e.aggData || !e.aggData[n.value] || (t[n.value] = e.aggData[n.value]?.value ?? e.aggData[n.value]);
14743
14760
  return t;
14744
- }, pt = (e, t) => {
14761
+ }, mt = (e, t) => {
14745
14762
  let n = /* @__PURE__ */ new Set(), r = { [e.field]: e.key }, i = 0;
14746
14763
  for (let a of V.value) t.forEach((t) => {
14747
14764
  let o = t.key;
@@ -14758,7 +14775,7 @@ var Jp = { style: {
14758
14775
  rowData: r,
14759
14776
  fieldValues: n
14760
14777
  };
14761
- }, mt = r(() => {
14778
+ }, ht = r(() => {
14762
14779
  let e = Qe.value ? Me.value : je.value, t = null;
14763
14780
  if (Be.value && (t = Qe.value ? `${Q.value}${Qo}` : Q.value), be.value) e = xs(e, I.value);
14764
14781
  else if (t && e && Be.value) {
@@ -14774,11 +14791,11 @@ var Jp = { style: {
14774
14791
  ];
14775
14792
  }
14776
14793
  return e;
14777
- }), { activeCrosslineOverlayGroups: ht, resolvedCrosslineOverlays: gt, chipSections: vt, hoveredBenchmarkKey: yt, hoveredCrosslineTooltip: bt } = qp({
14794
+ }), { activeCrosslineOverlayGroups: gt, resolvedCrosslineOverlays: vt, chipSections: yt, hoveredBenchmarkKey: bt, hoveredCrosslineTooltip: xt } = Kp({
14778
14795
  crosslineOverlayGroups: Re,
14779
14796
  isHistogramWithBuckets: rt,
14780
14797
  isHorizontalBarChart: Xe,
14781
- computedChartData: mt,
14798
+ computedChartData: ht,
14782
14799
  pvChartRef: h,
14783
14800
  formatValue: (e) => {
14784
14801
  let t = ve(P.value?.[0]);
@@ -14786,24 +14803,24 @@ var Jp = { style: {
14786
14803
  },
14787
14804
  initialActiveOverlayGroupIds: r(() => l.initialActiveOverlayGroupIds)
14788
14805
  });
14789
- O(pu, ht), U(ht, (e) => d("active-overlay-group-ids-change", [...e]), { deep: !0 });
14790
- let xt = new Set([Xo, Zo]), St = k(void 0), Ct = r(() => we.value?.id === "map"), wt = r(() => Q.value || V.value[0]?.value || "value"), Tt = r(() => "600px"), Et = r(() => {
14791
- let e = I.value, t = wt.value;
14792
- return !e || !t ? [] : (mt.value ?? []).filter((t) => {
14806
+ O(pu, gt), U(gt, (e) => d("active-overlay-group-ids-change", [...e]), { deep: !0 });
14807
+ let St = new Set([Xo, Zo]), Ct = k(void 0), wt = r(() => we.value?.id === "map"), Tt = r(() => Q.value || V.value[0]?.value || "value"), Et = r(() => "600px"), Dt = r(() => {
14808
+ let e = I.value, t = Tt.value;
14809
+ return !e || !t ? [] : (ht.value ?? []).filter((t) => {
14793
14810
  let n = String(t?.[e] ?? "");
14794
- return !xt.has(n) && n !== "--SEPARATOR--";
14811
+ return !St.has(n) && n !== "--SEPARATOR--";
14795
14812
  }).map((n) => ({
14796
14813
  [Ko]: String(n[e] ?? ""),
14797
14814
  [t]: Number(n[t] ?? 0)
14798
14815
  }));
14799
- }), Dt = r(() => {
14800
- let e = wt.value;
14816
+ }), Ot = r(() => {
14817
+ let e = Tt.value;
14801
14818
  if (!e) return {
14802
14819
  min: 0,
14803
14820
  max: 0
14804
14821
  };
14805
14822
  let t = !1, n = Infinity, r = -Infinity;
14806
- return Et.value.forEach((i) => {
14823
+ return Dt.value.forEach((i) => {
14807
14824
  let a = Number(i[e]);
14808
14825
  Number.isFinite(a) && (t = !0, n = Math.min(n, a), r = Math.max(r, a));
14809
14826
  }), t ? {
@@ -14813,13 +14830,13 @@ var Jp = { style: {
14813
14830
  min: 0,
14814
14831
  max: 0
14815
14832
  };
14816
- }), Ot = r(() => {
14817
- let e = ye(wt.value)?.valueFormatter;
14818
- return typeof e == "function" ? (t) => String(e({ value: t }) ?? t) : (e) => e.toLocaleString("en-US");
14819
14833
  }), kt = r(() => {
14820
- let e = (mt.value ?? []).filter((e) => {
14834
+ let e = ye(Tt.value)?.valueFormatter;
14835
+ return typeof e == "function" ? (t) => String(e({ value: t }) ?? t) : (e) => e.toLocaleString("en-US");
14836
+ }), At = r(() => {
14837
+ let e = (ht.value ?? []).filter((e) => {
14821
14838
  let t = e?.[I.value];
14822
- return !xt.has(String(t));
14839
+ return !St.has(String(t));
14823
14840
  });
14824
14841
  if (!Qe.value || Ie.value.length === 0 || !ze.value) return e;
14825
14842
  let t = Ie.value.filter((e) => {
@@ -14839,56 +14856,56 @@ var Jp = { style: {
14839
14856
  }
14840
14857
  return r;
14841
14858
  });
14842
- }), At = r(() => mt.value?.length || 0), jt = r(() => l.enableChartScrolling), Mt = r(() => cn({
14859
+ }), jt = r(() => ht.value?.length || 0), Mt = r(() => l.enableChartScrolling), Nt = r(() => cn({
14843
14860
  baseMinHeight: 450,
14844
- dataCount: At.value,
14845
- enableChartScrolling: jt.value,
14861
+ dataCount: jt.value,
14862
+ enableChartScrolling: Mt.value,
14846
14863
  isHorizontalScrollingChart: Xe.value,
14847
14864
  itemHeight: 64
14848
- })), Nt = r(() => {
14865
+ })), Pt = r(() => {
14849
14866
  let e = ln({
14850
- enableChartScrolling: jt.value,
14867
+ enableChartScrolling: Mt.value,
14851
14868
  isHorizontalScrollingChart: Xe.value
14852
14869
  });
14853
14870
  if (e) return Xe.value ? {
14854
14871
  ...e,
14855
14872
  maxHeight: "450px"
14856
14873
  } : e;
14857
- }), Pt = r(() => un({
14858
- chartMinHeight: Mt.value,
14859
- dataCount: At.value,
14860
- enableChartScrolling: jt.value,
14874
+ }), Ft = r(() => un({
14875
+ chartMinHeight: Nt.value,
14876
+ dataCount: jt.value,
14877
+ enableChartScrolling: Mt.value,
14861
14878
  isHorizontalScrollingChart: Xe.value,
14862
14879
  minContentWidth: 0,
14863
- reserveWidth: vt.value.length > 0 ? 255 : 0
14864
- })), Ft = r(() => Qe.value ? Me.value : mt.value), It = r(() => Es(Ft.value, Q.value, Qe.value)), Lt = r(() => qe.value.reduce((e, t) => Math.max(e, Es(Ft.value, t, Qe.value)), -Infinity)), Rt = r(() => Je.value.reduce((e, t) => Math.max(e, Es(Ft.value, t, Qe.value)), -Infinity)), zt = r(() => Ds(Ft.value, Q.value, Qe.value)), Bt = r(() => qe.value.reduce((e, t) => Math.min(e, Ds(Ft.value, t, Qe.value)), Infinity)), Vt = r(() => ze.value?.fieldValues?.length || 0), Ht = r(() => {
14865
- let e = .25 * Math.exp(-.12 * At.value);
14880
+ reserveWidth: yt.value.length > 0 ? 255 : 0
14881
+ })), It = r(() => Qe.value ? Me.value : ht.value), Lt = r(() => Es(It.value, Q.value, Qe.value)), Rt = r(() => qe.value.reduce((e, t) => Math.max(e, Es(It.value, t, Qe.value)), -Infinity)), zt = r(() => Je.value.reduce((e, t) => Math.max(e, Es(It.value, t, Qe.value)), -Infinity)), Bt = r(() => Ds(It.value, Q.value, Qe.value)), Vt = r(() => qe.value.reduce((e, t) => Math.min(e, Ds(It.value, t, Qe.value)), Infinity)), Ht = r(() => ze.value?.fieldValues?.length || 0), Ut = r(() => {
14882
+ let e = .25 * Math.exp(-.12 * jt.value);
14866
14883
  return Math.min(Math.max(e, .05), .75);
14867
- }), Ut = r(() => Vt.value > 5 ? .5 : 1), Wt = r(() => Vt.value > 5 ? .25 : .1), Gt = r(() => !mt.value || mt.value?.length === 0 ? !0 : It.value === -Infinity || Qe.value === !0 && It.value === 0), Kt = r(() => !!(l.enableFocusView && le.value && q.value.length === 0 && l.percentOfFocusViewYKey && Q.value && Q.value === l.percentOfFocusViewYKey)), qt = r(() => {
14884
+ }), Wt = r(() => Ht.value > 5 ? .5 : 1), Gt = r(() => Ht.value > 5 ? .25 : .1), Kt = r(() => !ht.value || ht.value?.length === 0 ? !0 : Lt.value === -Infinity || Qe.value === !0 && Lt.value === 0), qt = r(() => !!(l.enableFocusView && le.value && q.value.length === 0 && l.percentOfFocusViewYKey && Q.value && Q.value === l.percentOfFocusViewYKey)), Jt = r(() => {
14868
14885
  let e = ye(le.value || ""), t = e?.headerName || e?.field || "Compare Field";
14869
14886
  return vs({
14870
14887
  currentRowGroupColumnsLength: P.value.length,
14871
- shouldShowFocusOverlayText: Kt.value || l.focusRequired && q.value.length === 0,
14872
- chartDataEmpty: Gt.value,
14888
+ shouldShowFocusOverlayText: qt.value || l.focusRequired && q.value.length === 0,
14889
+ chartDataEmpty: Kt.value,
14873
14890
  missingFocusText: l.missingFocusText,
14874
14891
  displayGroupByName: t,
14875
14892
  yAxisName: Ge.value,
14876
14893
  yAxisOptionCount: te.value
14877
14894
  });
14878
- }), Jt = r(() => Kt.value || ce.value || !l.isLoading && qt.value !== ""), Yt = r(() => {
14895
+ }), Yt = r(() => qt.value || ce.value || !l.isLoading && Jt.value !== ""), Xt = r(() => {
14879
14896
  let e = {};
14880
14897
  e.overlays = { noData: { text: "" } };
14881
14898
  let t = rt.value ? [
14882
14899
  { [I.value]: Jo },
14883
- ...mt.value ?? [],
14900
+ ...ht.value ?? [],
14884
14901
  { [I.value]: Yo }
14885
- ] : mt.value;
14886
- e.data = Jt.value ? [] : t, e.legend = {
14902
+ ] : ht.value;
14903
+ e.data = Yt.value ? [] : t, e.legend = {
14887
14904
  toggleSeries: !1,
14888
14905
  preventHidingAll: !0,
14889
14906
  enabled: P.value.length > 1 || Fe.value && Ie.value.length > 0
14890
14907
  };
14891
- let n = (e) => tt.value ? [`${e}${Qo}`] : Qe.value ? ze.value?.fieldValues.map((t) => Ss(e, String(t))) || [] : [e], r = [...Qe.value ? ze.value?.fieldValues.map((e) => Ss(Q.value, e)) || [] : Q.value ? [Q.value] : [], ...Je.value.flatMap(n)], i = qe.value.flatMap(n), a = Oe.value.xAxis.hideLabel === !0 && !rt.value, o = [];
14908
+ let n = (e) => tt.value ? [`${e}${Qo}`] : Qe.value && l.metricOverlayWithRowGroups ? [e] : Qe.value ? ze.value?.fieldValues.map((t) => Ss(e, String(t))) || [] : [e], r = [...Qe.value ? ze.value?.fieldValues.map((e) => Ss(Q.value, e)) || [] : Q.value ? [Q.value] : [], ...Je.value.flatMap(n)], i = qe.value.flatMap(n), a = Oe.value.xAxis.hideLabel === !0 && !rt.value, o = [];
14892
14909
  if (o.push({
14893
14910
  type: "category",
14894
14911
  keys: [I.value],
@@ -14899,7 +14916,7 @@ var Jp = { style: {
14899
14916
  stroke: "#666666",
14900
14917
  strokeWidth: 1,
14901
14918
  lineDash: [4, 4],
14902
- strokeOpacity: yt.value == null ? .7 : .15
14919
+ strokeOpacity: bt.value == null ? .7 : .15
14903
14920
  }],
14904
14921
  line: { enabled: !rt.value },
14905
14922
  label: {
@@ -14911,7 +14928,7 @@ var Jp = { style: {
14911
14928
  formatter: Os({
14912
14929
  hideLabel: a,
14913
14930
  showDistributionRangeLabels: !!rt.value,
14914
- chartData: mt.value,
14931
+ chartData: ht.value,
14915
14932
  formatBucketBoundary: Se,
14916
14933
  columnValueFormatter: ve(I.value),
14917
14934
  enableFocusView: l.enableFocusView,
@@ -14919,11 +14936,11 @@ var Jp = { style: {
14919
14936
  focusText: l.focusText
14920
14937
  })
14921
14938
  },
14922
- paddingInner: Ht.value,
14923
- paddingOuter: rt.value ? 0 : Ut.value,
14924
- groupPaddingInner: Wt.value
14925
- }), rt.value && gt.value.length > 0) {
14926
- let { categoryPadOffset: e, axisMin: t, axisMax: n } = Hp(mt.value?.length || 1, !0);
14939
+ paddingInner: Ut.value,
14940
+ paddingOuter: rt.value ? 0 : Wt.value,
14941
+ groupPaddingInner: Gt.value
14942
+ }), rt.value && vt.value.length > 0) {
14943
+ let { categoryPadOffset: e, axisMin: t, axisMax: n } = Vp(ht.value?.length || 1, !0);
14927
14944
  o.push({
14928
14945
  type: "number",
14929
14946
  keys: ["__dummy_x__"],
@@ -14936,11 +14953,11 @@ var Jp = { style: {
14936
14953
  tick: { enabled: !1 },
14937
14954
  line: { enabled: !1 },
14938
14955
  gridLine: { enabled: !1 },
14939
- crossLines: gt.value.map((t) => {
14940
- if (!mt.value) return null;
14941
- let n = Vp(t.value, mt.value);
14956
+ crossLines: vt.value.map((t) => {
14957
+ if (!ht.value) return null;
14958
+ let n = Bp(t.value, ht.value);
14942
14959
  if (n == null) return null;
14943
- let r = yt.value != null && t.key === yt.value, i = yt.value != null && !r;
14960
+ let r = bt.value != null && t.key === bt.value, i = bt.value != null && !r;
14944
14961
  return {
14945
14962
  type: "line",
14946
14963
  value: n + e,
@@ -14952,7 +14969,7 @@ var Jp = { style: {
14952
14969
  }).filter((e) => e !== null)
14953
14970
  });
14954
14971
  }
14955
- let s = qe.value.length > 0, c = qe.value.map((e) => ne(H.value, e)?.secondaryAxisMax).filter((e) => typeof e == "number"), u = s && c.length > 0 ? Math.max(...c) : void 0, d = s && Number.isFinite(zt.value) && zt.value < 0, f = s && Number.isFinite(Bt.value) && Bt.value < 0, p = d || f, m = s ? _s(Math.max(It.value, Rt.value), 5) : 0, h = s ? u ?? _s(Lt.value, 5) : 0, g = s && !p && m > 0 && h > 0;
14972
+ let s = qe.value.length > 0, c = qe.value.map((e) => ne(H.value, e)?.secondaryAxisMax).filter((e) => typeof e == "number"), u = s && c.length > 0 ? Math.max(...c) : void 0, d = s && Number.isFinite(Bt.value) && Bt.value < 0, f = s && Number.isFinite(Vt.value) && Vt.value < 0, p = d || f, m = s ? _s(Math.max(Lt.value, zt.value), 5) : 0, h = s ? u ?? _s(Rt.value, 5) : 0, g = s && !p && m > 0 && h > 0;
14956
14973
  if (o.push({
14957
14974
  type: "number",
14958
14975
  keys: r,
@@ -14992,8 +15009,8 @@ var Jp = { style: {
14992
15009
  text: Ye.value,
14993
15010
  ...Ze.value === "scatter" ? { color: _t } : {}
14994
15011
  }
14995
- }), rt.value && gt.value.length > 0) {
14996
- let e = Number.isFinite(It.value) ? It.value : 0;
15012
+ }), rt.value && vt.value.length > 0) {
15013
+ let e = Number.isFinite(Lt.value) ? Lt.value : 0;
14997
15014
  o.push({
14998
15015
  type: "number",
14999
15016
  keys: ["__dummy_y__"],
@@ -15009,22 +15026,22 @@ var Jp = { style: {
15009
15026
  });
15010
15027
  }
15011
15028
  return e.axes = o, e.series = $e.value, e;
15012
- }), Xt = r(() => E.value || l.isLoading && (!mt.value || mt.value.length === 0)), Zt = r(() => Kt.value || !ce.value && !l.isLoading && qt.value !== ""), Qt = (e) => {
15029
+ }), Zt = r(() => E.value || l.isLoading && (!ht.value || ht.value.length === 0)), Qt = r(() => qt.value || !ce.value && !l.isLoading && Jt.value !== ""), $t = (e) => {
15013
15030
  b.value = e, d("chart-collapsed", e);
15014
- }, $t = (e) => {
15031
+ }, en = (e) => {
15015
15032
  p.value && (p.value.setRowGroupColumns(e ? P.value : []), oe.value = e);
15016
15033
  };
15017
- function en(e) {
15034
+ function tn(e) {
15018
15035
  return e?.hydrate ? m.value?.getFilterValueSelectedMetadataMap({ hydrate: !0 }) : m.value?.getFilterValueSelectedMetadataMap();
15019
15036
  }
15020
15037
  return n({
15021
- getChartImageDataURL: (e) => Ct.value ? g.value?.getChartImageDataURL(e) : h.value?.getChartImageDataURL(e),
15038
+ getChartImageDataURL: (e) => wt.value ? g.value?.getChartImageDataURL(e) : h.value?.getChartImageDataURL(e),
15022
15039
  getCsvData: () => m.value?.getCsvData(),
15023
- refreshData: (e) => (p.value && ut(p.value), m.value?.refreshData(e)),
15024
- getFilterValueSelectedMetadataMap: en,
15040
+ refreshData: (e) => (p.value && dt(p.value), m.value?.refreshData(e)),
15041
+ getFilterValueSelectedMetadataMap: tn,
15025
15042
  getPvFilterModel: () => m.value?.getPvFilterModel(),
15026
15043
  setPvFilterModel: (e) => m.value?.setPvFilterModel(e),
15027
- getChipSections: () => vt.value
15044
+ getChipSections: () => yt.value
15028
15045
  }), S(() => {
15029
15046
  if (l.initialGridState) {
15030
15047
  let e = l.initialGridState.rowGroup?.groupColIds || [];
@@ -15032,12 +15049,12 @@ var Jp = { style: {
15032
15049
  }
15033
15050
  }), T(async () => {
15034
15051
  await v(), w.value = l.filterPanelAboveChart;
15035
- }), (n, r) => (D(), o("div", Jp, [
15052
+ }), (n, r) => (D(), o("div", qp, [
15036
15053
  s("div", {
15037
15054
  class: "pv-stack-16",
15038
15055
  id: C
15039
15056
  }),
15040
- e.hideChart ? a("", !0) : (D(), o("div", Yp, [
15057
+ e.hideChart ? a("", !0) : (D(), o("div", Jp, [
15041
15058
  u(Ln, {
15042
15059
  rightIcon: "chevrons-down-up",
15043
15060
  label: "Collapse",
@@ -15046,10 +15063,10 @@ var Jp = { style: {
15046
15063
  "margin-left": "0.5rem"
15047
15064
  },
15048
15065
  variant: "secondary",
15049
- onClick: r[0] ||= (e) => Qt(!b.value),
15066
+ onClick: r[0] ||= (e) => $t(!b.value),
15050
15067
  class: y(e.hideChart || b.value ? "pv-hide" : "")
15051
15068
  }, null, 8, ["class"]),
15052
- s("div", { class: y(e.hideChart || !b.value ? "pv-hide" : "pv-space-between") }, [s("div", Xp, [u(Nn, {
15069
+ s("div", { class: y(e.hideChart || !b.value ? "pv-hide" : "pv-space-between") }, [s("div", Yp, [u(Nn, {
15053
15070
  name: "chart-line",
15054
15071
  size: 20,
15055
15072
  class: "pv-text-subdued"
@@ -15060,15 +15077,17 @@ var Jp = { style: {
15060
15077
  rightIcon: "chevron-selector",
15061
15078
  label: "Expand",
15062
15079
  variant: "secondary",
15063
- onClick: r[1] ||= (e) => Qt(!b.value)
15080
+ onClick: r[1] ||= (e) => $t(!b.value)
15064
15081
  })], 2),
15065
- s("div", { class: y(e.hideChart || b.value ? "pv-hide" : "") }, [u(zp, {
15066
- enablePanel: mt.value != null && mt.value.length > 0,
15082
+ s("div", { class: y(e.hideChart || b.value ? "pv-hide" : "") }, [u(Rp, {
15083
+ enablePanel: ht.value != null && ht.value.length > 0,
15067
15084
  chartFilter: e.chartFilter,
15068
15085
  rowGroupLimit: ke.value,
15069
15086
  "use-combined-button": l.enableCombinedChartConfigPanel,
15070
15087
  "use-nested-menu": l.enableNestedChartConfigPanel,
15071
15088
  "chart-config-options": l.chartConfigPanelOptions,
15089
+ "locked-row-group-col-ids": l.lockedRowGroupColIds,
15090
+ "metric-overlay-with-row-groups": l.metricOverlayWithRowGroups,
15072
15091
  "read-only": l.chartConfigPanelReadOnly,
15073
15092
  "percent-of-focus-view-y-key": l.percentOfFocusViewYKey,
15074
15093
  onSeriesAggFuncSelected: X
@@ -15079,31 +15098,33 @@ var Jp = { style: {
15079
15098
  "use-combined-button",
15080
15099
  "use-nested-menu",
15081
15100
  "chart-config-options",
15101
+ "locked-row-group-col-ids",
15102
+ "metric-overlay-with-row-groups",
15082
15103
  "read-only",
15083
15104
  "percent-of-focus-view-y-key"
15084
- ]), s("div", Zp, [z(vt).length > 0 ? (D(), i(dp, {
15105
+ ]), s("div", Xp, [z(yt).length > 0 ? (D(), i(up, {
15085
15106
  key: 0,
15086
- sections: z(vt),
15087
- onChipHover: r[2] ||= (e) => yt.value = e
15107
+ sections: z(yt),
15108
+ onChipHover: r[2] ||= (e) => bt.value = e
15088
15109
  }, null, 8, ["sections"])) : a("", !0), s("div", {
15089
15110
  class: "pv-relative pv-margin-auto pv-flex-item",
15090
- style: x(Ct.value ? { height: Tt.value } : void 0)
15091
- }, [Ct.value ? (D(), i(No, {
15111
+ style: x(wt.value ? { height: Et.value } : void 0)
15112
+ }, [wt.value ? (D(), i(No, {
15092
15113
  key: 0,
15093
15114
  ref_key: "pvMapChartRef",
15094
15115
  ref: g,
15095
- selectedRegion: St.value,
15096
- "onUpdate:selectedRegion": r[3] ||= (e) => St.value = e,
15097
- chartData: Et.value,
15098
- seriesKey: wt.value,
15116
+ selectedRegion: Ct.value,
15117
+ "onUpdate:selectedRegion": r[3] ||= (e) => Ct.value = e,
15118
+ chartData: Dt.value,
15119
+ seriesKey: Tt.value,
15099
15120
  seriesLabel: Ge.value,
15100
15121
  clickable: !1,
15101
15122
  displayRegionSelector: !1,
15102
- gradientLegendMin: Dt.value.min,
15103
- gradientLegendMax: Dt.value.max,
15104
- seriesValueFormatter: Ot.value,
15105
- isLoading: Xt.value,
15106
- noDataMessage: qt.value
15123
+ gradientLegendMin: Ot.value.min,
15124
+ gradientLegendMax: Ot.value.max,
15125
+ seriesValueFormatter: kt.value,
15126
+ isLoading: Zt.value,
15127
+ noDataMessage: Jt.value
15107
15128
  }, null, 8, [
15108
15129
  "selectedRegion",
15109
15130
  "chartData",
@@ -15116,29 +15137,30 @@ var Jp = { style: {
15116
15137
  "noDataMessage"
15117
15138
  ])) : (D(), o("div", {
15118
15139
  key: 1,
15119
- class: y(["pv-data-table-with-chart__chart-scroll", { "pv-data-table-with-chart__chart-scroll--enabled pv-scrollbar-visible": jt.value }]),
15120
- style: x(Nt.value)
15140
+ class: y(["pv-data-table-with-chart__chart-scroll", { "pv-data-table-with-chart__chart-scroll--enabled pv-scrollbar-visible": Mt.value }]),
15141
+ style: x(Pt.value)
15121
15142
  }, [s("div", {
15122
15143
  class: "pv-data-table-with-chart__chart-content",
15123
- style: x(Pt.value)
15124
- }, [u(nn, {
15144
+ style: x(Ft.value)
15145
+ }, [(D(), i(nn, {
15125
15146
  ref_key: "pvChartRef",
15126
15147
  ref: h,
15127
- isLoading: Xt.value,
15128
- options: Yt.value,
15148
+ key: at.value,
15149
+ isLoading: Zt.value,
15150
+ options: Xt.value,
15129
15151
  enableFocusView: e.enableFocusView,
15130
- minHeight: Mt.value
15152
+ minHeight: Nt.value
15131
15153
  }, null, 8, [
15132
15154
  "isLoading",
15133
15155
  "options",
15134
15156
  "enableFocusView",
15135
15157
  "minHeight"
15136
- ]), z(bt) ? (D(), o("div", {
15158
+ ])), z(xt) ? (D(), o("div", {
15137
15159
  key: 0,
15138
- class: y(["ag-charts-tooltip pv-data-table-with-chart__crossline-tooltip pv-tooltip-v2-content", z(bt).arrowClass]),
15160
+ class: y(["ag-charts-tooltip pv-data-table-with-chart__crossline-tooltip pv-tooltip-v2-content", z(xt).arrowClass]),
15139
15161
  "data-variant": "white",
15140
- style: x(z(bt).style)
15141
- }, [s("div", Qp, [s("div", $p, F(z(bt).label), 1), s("div", em, F(z(bt).value), 1)])], 6)) : a("", !0)], 4)], 6)), Ct.value ? a("", !0) : (D(), o("div", tm, [ce.value ? (D(), o("div", nm, [(D(), i(N(e.emptyChartFilterRenderer)))])) : Zt.value ? (D(), o("p", rm, F(qt.value), 1)) : a("", !0)]))], 4)])], 2)
15162
+ style: x(z(xt).style)
15163
+ }, [s("div", Zp, [s("div", Qp, F(z(xt).label), 1), s("div", $p, F(z(xt).value), 1)])], 6)) : a("", !0)], 4)], 6)), wt.value ? a("", !0) : (D(), o("div", em, [ce.value ? (D(), o("div", tm, [(D(), i(N(e.emptyChartFilterRenderer)))])) : Qt.value ? (D(), o("p", nm, F(Jt.value), 1)) : a("", !0)]))], 4)])], 2)
15142
15164
  ])),
15143
15165
  u(If, _({
15144
15166
  ref_key: "pvDataTableRef",
@@ -15158,18 +15180,18 @@ var Jp = { style: {
15158
15180
  onHandleSettingsIcon: r[8] ||= (e) => d("handle-settings-icon", e),
15159
15181
  onFocusUpdate: r[9] ||= (e) => d("focus-update", e)
15160
15182
  }), {
15161
- "top-slot": W(() => [e.enableGroupingToggle ? (D(), o(t, { key: 0 }, [e.tableConfigOptions ? (D(), i(ip, {
15183
+ "top-slot": W(() => [e.enableGroupingToggle ? (D(), o(t, { key: 0 }, [e.tableConfigOptions ? (D(), i(rp, {
15162
15184
  key: 0,
15163
15185
  groupedModeEnabled: oe.value,
15164
15186
  tableConfigOptions: l.tableConfigOptions,
15165
- onToggleGroup: $t,
15187
+ onToggleGroup: en,
15166
15188
  onTableOverlayChange: se,
15167
15189
  onColumnConfigChange: fe
15168
15190
  }, null, 8, ["groupedModeEnabled", "tableConfigOptions"])) : (D(), i(Ln, {
15169
15191
  key: 1,
15170
15192
  leftIcon: oe.value ? "ungroup" : "group",
15171
15193
  label: oe.value ? "Ungroup Table" : "Group Table to Match Chart",
15172
- onClick: r[4] ||= (e) => $t(!oe.value),
15194
+ onClick: r[4] ||= (e) => en(!oe.value),
15173
15195
  variant: "secondary",
15174
15196
  size: "lg"
15175
15197
  }, null, 8, ["leftIcon", "label"]))], 64)) : a("", !0), j(n.$slots, "top-slot")]),
@@ -15177,7 +15199,7 @@ var Jp = { style: {
15177
15199
  }, 16, ["filterTeleportLocation", "pagination"])
15178
15200
  ]));
15179
15201
  }
15180
- }), am = "Unable to load data", om = (e, t = {}) => {
15202
+ }), im = "Unable to load data", am = (e, t = {}) => {
15181
15203
  let n = k([]), i = k(!1), a = k(), o = 0, s = async () => {
15182
15204
  let t = ++o;
15183
15205
  i.value = !0;
@@ -15207,6 +15229,6 @@ var Jp = { style: {
15207
15229
  };
15208
15230
  };
15209
15231
  //#endregion
15210
- export { am as DEFAULT_DATA_WIDGET_ERROR_TEXT, wt as PitViperAGChartsMonochromeTheme, Ct as PitViperAGChartsMonochromeThemeName, Et as PitViperAGChartsMulticolorTheme, Tt as PitViperAGChartsMulticolorThemeName, nn as PvChart, wn as PvChartWidget, If as PvDataTable, im as PvDataTableWithChart, Zs as PvDataWidget, No as PvMapChart, Fl as RumContextKey, _t as SCATTER_MARKER_STROKE, Ll as addRumAction, Zu as constructAdvancedFilterCondition, Qu as convertFilterModelToAdvanced, Ad as createPvDataTableFilterStore, Rl as deferRumTask, Td as excludeValueFromSetFilter, id as filterModelContainsColId, gd as filterModelsEqual, xd as getSelectedValues, yd as getSelectedValuesFromAdvancedFilterModel, ud as getSelectedValuesFromFilterModel, bd as getSelectedValuesFromFilterModelByColId, dd as isAdvancedFilterModel, pd as isFilterModelEmpty, _d as mergeAdvancedFilterCondition, ad as mergeFilterModels, jd as providePvDataTableFilterStore, Sd as removeColumnFilter, vd as removeColumnFromAdvancedFilter, wd as updateMultiOrSetFilter, Cd as updateSetFilter, Nd as usePvDataTableFilterStore, om as usePvDataWidgetData, Il as useRumContext };
15232
+ export { im as DEFAULT_DATA_WIDGET_ERROR_TEXT, wt as PitViperAGChartsMonochromeTheme, Ct as PitViperAGChartsMonochromeThemeName, Et as PitViperAGChartsMulticolorTheme, Tt as PitViperAGChartsMulticolorThemeName, nn as PvChart, wn as PvChartWidget, If as PvDataTable, rm as PvDataTableWithChart, Zs as PvDataWidget, No as PvMapChart, Fl as RumContextKey, _t as SCATTER_MARKER_STROKE, Ll as addRumAction, Zu as constructAdvancedFilterCondition, Qu as convertFilterModelToAdvanced, Ad as createPvDataTableFilterStore, Rl as deferRumTask, Td as excludeValueFromSetFilter, id as filterModelContainsColId, gd as filterModelsEqual, xd as getSelectedValues, yd as getSelectedValuesFromAdvancedFilterModel, ud as getSelectedValuesFromFilterModel, bd as getSelectedValuesFromFilterModelByColId, dd as isAdvancedFilterModel, pd as isFilterModelEmpty, _d as mergeAdvancedFilterCondition, ad as mergeFilterModels, jd as providePvDataTableFilterStore, Sd as removeColumnFilter, vd as removeColumnFromAdvancedFilter, wd as updateMultiOrSetFilter, Cd as updateSetFilter, Nd as usePvDataTableFilterStore, am as usePvDataWidgetData, Il as useRumContext };
15211
15233
 
15212
15234
  //# sourceMappingURL=pv-components-visualizations.mjs.map