@turquoisehealth/pit-viper 2.181.2-dev.4 → 2.182.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 (35) hide show
  1. package/claude-plugin/skills/pit-viper/SKILL.md +25 -20
  2. package/claude-plugin/skills/pit-viper/assets/pv-html-starter.html +77 -0
  3. package/claude-plugin/skills/pit-viper/examples/pv-html-example.html +229 -0
  4. package/claude-plugin/skills/pit-viper/references/design-rules.md +14 -3
  5. package/claude-plugin/skills/pit-viper/references/html-patterns.md +35 -18
  6. package/claude-plugin/skills/pit-viper/references/layout-patterns.md +8 -0
  7. package/claude-plugin/skills/pit-viper/references/patterns-core.md +1 -1
  8. package/claude-plugin/skills/pit-viper/references/theme-guide.md +11 -0
  9. package/claude-plugin/skills/pit-viper/references/vue-guidelines.md +15 -2
  10. package/package.json +1 -1
  11. package/pv-components/dist/stats/vue/base/stats.html +1 -1
  12. package/pv-components/dist/stats/vue/visualizations/stats.html +1 -1
  13. package/pv-components/dist/stats/web/pv-menu-stats.html +1 -1
  14. package/pv-components/dist/stats/web/pv-multi-select-button-stats.html +1 -1
  15. package/pv-components/dist/stats/web/pv-query-builder-input-stats.html +1 -1
  16. package/pv-components/dist/stats/web/pv-segmented-control-stats.html +1 -1
  17. package/pv-components/dist/stats/web/pv-select-button-stats.html +1 -1
  18. package/pv-components/dist/stats/web/pv-toggle-group-stats.html +1 -1
  19. package/pv-components/dist/stats/web/pv-tooltip-v2-stats.html +1 -1
  20. package/pv-components/dist/vue/base/pv-components-base.mjs +116 -116
  21. package/pv-components/dist/vue/base/pv-components-base.mjs.map +1 -1
  22. package/pv-components/dist/vue/visualizations/components/base/PvSortableList/PvSortableList.vue.d.ts +1 -1
  23. package/pv-components/dist/vue/visualizations/components/charts/PvDataTableWithChart/scatterAxisUtils.d.ts +17 -0
  24. package/pv-components/dist/vue/visualizations/pv-components-visualizations.mjs +181 -156
  25. package/pv-components/dist/vue/visualizations/pv-components-visualizations.mjs.map +1 -1
  26. package/pv-components/dist/web/components/pv-menu/pv-menu.js +1912 -6037
  27. package/pv-components/dist/web/components/pv-multi-select-button/pv-multi-select-button.js +2769 -6881
  28. package/pv-components/dist/web/components/pv-query-builder-input/pv-query-builder-input.js +5546 -9668
  29. package/pv-components/dist/web/components/pv-segmented-control/pv-segmented-control.js +2305 -6424
  30. package/pv-components/dist/web/components/pv-select-button/pv-select-button.js +2675 -6787
  31. package/pv-components/dist/web/components/pv-toggle-group/pv-toggle-group.js +2339 -6458
  32. package/pv-components/dist/web/components/pv-tooltip-v2/pv-tooltip-v2.js +2267 -6382
  33. package/pv-components/dist/web/pv-components.iife.js +26 -26
  34. package/pv-components/dist/web/pv-components.iife.js.map +1 -1
  35. package/claude-plugin/examples/.gitkeep +0 -0
@@ -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-4daeb5a1]{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-4daeb5a1]{display:flex;overflow:hidden}.pv-scatter-quadrant-box[data-v-4daeb5a1]{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-4daeb5a1]{grid-area:1/1;justify-content:flex-start;align-items:flex-start;padding:5px}.pv-scatter-quadrant-top-right[data-v-4daeb5a1]{grid-area:1/2;justify-content:flex-end;align-items:flex-start;padding:5px}.pv-scatter-quadrant-bottom-left[data-v-4daeb5a1]{grid-area:2/1;justify-content:flex-start;align-items:flex-end;padding:5px}.pv-scatter-quadrant-bottom-right[data-v-4daeb5a1]{grid-area:2/2;justify-content:flex-end;align-items:flex-end;padding:5px}.pv-chart-loading[data-v-4daeb5a1]{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-4daeb5a1]{color:#16696d;animation:1.5s ease-in-out infinite pulse-4daeb5a1}@keyframes pulse-4daeb5a1{0%{opacity:1;transform:scale(1)}50%{opacity:.6;transform:scale(1.05)}to{opacity:1;transform:scale(1)}}.pv-popover-list[data-v-c6181252]{font-size:14px}.pv-icon-button[data-v-79a7def3]{background-color:#0000;border:none}.pv-icon-button[data-v-79a7def3]:hover{cursor:pointer;color:#176f6f}.pv-select[data-v-79a7def3]{padding-top:4px;padding-bottom:4px}.pv-badge-md[data-v-1ce1cb53]{--inset-size:2px 2px;min-width:20px;min-height:20px;max-height:20px;font-weight:500}.pv-badge-sm[data-v-1ce1cb53]{--inset-size:0 2px;min-width:16px;min-height:16px;max-height:16px;font-weight:500}.pv-surface-lighten-5[data-v-1ce1cb53]{background-color:#e0e5e4}.pv-text-secondary[data-v-1ce1cb53]{color:#4b595c}.pv-switch-hide-check[data-v-26a92f7e] input[type=checkbox]:checked:after,.pv-switch-hide-check[data-v-26a92f7e] input[type=checkbox]:checked:not(:disabled):hover:after,.pv-switch-hide-check[data-v-26a92f7e] input[type=checkbox]:checked:not(:disabled):focus-visible:after,.pv-switch-hide-check[data-v-26a92f7e] input[type=checkbox]:checked:not(:disabled):active:after,.pv-switch-hide-check[data-v-26a92f7e] input[type=checkbox]:checked:disabled:after{background-image:unset}.pv-menu-action-button[data-v-6a2265bf]{opacity:0;transition:opacity .2s}.pv-label:hover .pv-menu-action-button[data-v-6a2265bf]{opacity:1}.pv-menu-item-disabled[data-v-c54482c5]{pointer-events:none;color:#7d898d;border-radius:4px}.pv-menu-item{&[data-v-c54482c5]{cursor:pointer;border-radius:var(--popover-list-item-radius,4px);transition-property:background-color;transition-duration:.15s}&[data-v-c54482c5]:hover,&[data-v-c54482c5]:focus-visible{background-color:var(--popover-list-item-hover-background-color,#f5f5f5)}&[data-v-c54482c5]:active{background-color:var(--popover-list-item-pressed-background-color,#ebebeb)}}.pv-radio[data-v-c54482c5]:indeterminate{background-color:unset!important;border-color:var(--color-border,#e3e7ea)!important}.pv-menu-item-expand-toggle[data-v-c54482c5]{cursor:pointer;color:inherit;background:0 0;border:none;border-radius:4px;flex-shrink:0;justify-content:center;align-items:center;margin-left:auto;padding:4px;display:flex}.pv-menu-item-expand-toggle[data-v-c54482c5]:hover{background-color:var(--popover-list-item-hover-background-color,#f5f5f5)}.pv-text-tertiary[data-v-4e159eee]{color:#6e8081}.pv-query-builder-input-wrapper[data-v-fe24a346]{cursor:text;background:#f7f8f8;border:2px solid #0000;border-radius:.5rem;align-items:center;width:100%;min-height:2.25rem;padding:.25rem;font-size:.75rem;display:flex;position:relative}.pv-query-builder-input[data-v-fe24a346]{justify-content:start;overflow-x:hidden}.pv-query-builder-input-wrapper input[data-v-fe24a346]{background:0 0;border:none;outline:none;font-size:.75rem}.pv-query-builder-input-wrapper[data-v-fe24a346]:focus-within{border:2px solid #36c5ba}.pv-table-row-count{opacity:1;background-color:#f7f8f8;transition:opacity .3s;position:absolute;top:6px;right:12px}.pv-table-group-cell:hover .pv-table-row-count{opacity:0}.pv-table-row-number{text-align:center;color:#89989b;padding:8px 12px 8px 0}.suggested-label[data-v-c030243b]:hover{color:#16696d}.suggested-title-label[data-v-c030243b]:hover{color:#0d5256;text-decoration:underline}.ag-custom-header-cell[data-v-9a0f71b4]{align-items:center;height:100%}.ag-header-actions .ag-header-cell-menu-button[data-v-9a0f71b4]{opacity:0;transition:opacity .2s ease-in-out}.ag-header-cell-menu-button:hover .ag-header-actions .ag-header-cell-menu-button[data-v-9a0f71b4],.ag-header-cell-menu-button:focus .ag-header-actions .ag-header-cell-menu-button[data-v-9a0f71b4]{opacity:1}.pv-table-row-number[data-v-686928ce]{text-align:center;color:#89989b;padding:8px 12px 8px 0}.pv-table-overlay{z-index:2;pointer-events:none;background:#fff;width:100%;height:calc(100% - 40px);position:absolute;top:80px}.pv-data-table .ag-header-cell-resize{border:none!important}.pv-data-table .ag-cell-inline-editing .ag-cell-editor{height:100%!important}.pv-data-table .ag-rich-select-value{min-height:100%!important}.pv-data-table .ag-row-group-leaf-indent{margin-left:0;padding-left:7px}.pv-data-table .ag-custom-loading-cell{background-color:#ccc;border-radius:4px;width:100%;height:40%;margin:15px}.pv-data-table .ag-group-value{width:100%;height:100%}.pv-data-table .ag-row:not(.ag-row-group) .ag-cell-wrapper{align-items:stretch;height:100%}.pv-data-table .ag-menu-option:hover{background-color:#f7f8f8}.pv-data-table .ag-menu-option-shortcut{color:#89989b}.pv-data-table .ag-menu-option:active{background-color:#e8f2f4}.pv-data-table .ag-menu-option-text{font-family:Inter,sans-serif}.pv-data-table .ag-header-cell-menu-button:hover{box-shadow:unset!important}.pv-data-table .ag-button{border-radius:4px!important;padding:3px 8px!important;font-size:12px!important}.pv-data-table-grouped-card .ag-body-horizontal-scroll{display:none!important}.pv-data-table-grouped-card .ag-header-cell-resize{opacity:0;transition:opacity .2s}.pv-data-table-grouped-card .ag-header-cell:hover .ag-header-cell-resize{opacity:1}.pv-data-table-grouped-card .ag-row-group-contracted{background:linear-gradient(#fff 5px,#f7f8f8 5px calc(100% - 5px),#fff calc(100% - 5px))!important}.pv-data-table-grouped-card .ag-row-group-expanded{background:linear-gradient(#fff 5px,#f7f8f8 5px)!important}.pv-data-table-grouped-card .ag-row-group-contracted .ag-cell{border:none!important;align-items:center!important;padding-top:5px!important;padding-bottom:5px!important}.pv-data-table-grouped-card .ag-row-group-expanded .ag-cell{border:none!important;align-items:center!important;padding-top:5px!important;padding-bottom:0!important}.pv-data-table-grouped-card .ag-row-group-contracted .ag-cell-wrapper,.pv-data-table-grouped-card .ag-row-group-expanded .ag-cell-wrapper{align-items:center!important;height:100%!important}.pv-data-table-grouped-card .ag-row-group-contracted .ag-cell-value,.pv-data-table-grouped-card .ag-row-group-expanded .ag-cell-value{height:100%!important}.pv-data-table-grouped-card .ag-row:not(.ag-row-group-contracted):not(.ag-row-group-expanded){border-bottom:1px solid #e0e0e0!important;border-left:1px solid #e0e0e0!important;border-right:1px solid #e0e0e0!important}.pv-data-table-grouped-card .ag-row-group-contracted:after{content:"";pointer-events:none;border:1px solid #e0e0e0;border-radius:4px;position:absolute;inset:5px 0}.pv-data-table-grouped-card .ag-row-group-expanded:after{content:"";pointer-events:none;border:1px solid #e0e0e0;border-radius:4px 4px 0 0;position:absolute;inset:5px 0 0}.pv-data-table-grouped-card .ag-row-group-contracted:hover,.pv-data-table-grouped-card .ag-row-group-expanded:hover{background:linear-gradient(#fff 5px,#eef0f0 5px calc(100% - 5px),#fff calc(100% - 5px))!important}.pv-data-table-grouped-card .ag-row-group-expanded:hover{background:linear-gradient(#fff 5px,#eef0f0 5px)!important}.pv-data-table-grouped-card .ag-row:not(.ag-row-group-contracted):not(.ag-row-group-expanded):hover{background-color:#f7f8f8!important}.pv-data-table-grouped-card .ag-group-value{height:100%}.pv-text-tertiary[data-v-ee6b788e]{color:#89989b}.pv-button-placeholder[data-v-ee6b788e]{width:24px;height:24px}.pv-sort-option[data-v-ee6b788e]{--flex-gap:4px;cursor:grab;min-height:24px}.pv-menu-item-disabled[data-v-ee6b788e]{pointer-events:none;color:#7d898d}.placeholder-zone[data-v-ee6b788e]{transition:background-color .2s}.pv-placeholder-dropzone[data-v-ee6b788e]{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-ee6b788e]{background:#f0f9f9;border-color:#16696d!important}.sort-divider-container[data-v-ee6b788e]{display:flex}.sort-divider[data-v-ee6b788e]{border-top:1px solid #e3e7ea;flex:1;margin:1rem 0;position:relative}.sort-divider[data-v-ee6b788e]:after{content:attr(data-label);font-size:inherit;white-space:nowrap;background:#fff;padding:0 .5em;display:inline-block;position:absolute;top:50%;left:50%;transform:translate(-50%,-50%)}.pv-menu-nested[data-v-23fdba3f]:after{content:"›"}.pv-tooltip a[data-v-23fdba3f]{color:inherit}.pv-chart-option[data-v-23fdba3f]{min-width:150px;max-width:225px}.pv-chart-overlay{pointer-events:none;position:absolute;top:50%;left:50%;transform:translate(-50%,-50%)}.ag-charts-tooltip{background-color:#fffffff2}.ag-charts-floating-toolbar{display:none!important}
1
+ (function(){try{if(typeof document<`u`){var e=document.createElement(`style`);e.appendChild(document.createTextNode(`.pv-scatter-overlay[data-v-4daeb5a1]{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-4daeb5a1]{display:flex;overflow:hidden}.pv-scatter-quadrant-box[data-v-4daeb5a1]{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-4daeb5a1]{grid-area:1/1;justify-content:flex-start;align-items:flex-start;padding:5px}.pv-scatter-quadrant-top-right[data-v-4daeb5a1]{grid-area:1/2;justify-content:flex-end;align-items:flex-start;padding:5px}.pv-scatter-quadrant-bottom-left[data-v-4daeb5a1]{grid-area:2/1;justify-content:flex-start;align-items:flex-end;padding:5px}.pv-scatter-quadrant-bottom-right[data-v-4daeb5a1]{grid-area:2/2;justify-content:flex-end;align-items:flex-end;padding:5px}.pv-chart-loading[data-v-4daeb5a1]{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-4daeb5a1]{color:#16696d;animation:1.5s ease-in-out infinite pulse-4daeb5a1}@keyframes pulse-4daeb5a1{0%{opacity:1;transform:scale(1)}50%{opacity:.6;transform:scale(1.05)}to{opacity:1;transform:scale(1)}}.pv-popover-list[data-v-c6181252]{font-size:14px}.pv-icon-button[data-v-79a7def3]{background-color:#0000;border:none}.pv-icon-button[data-v-79a7def3]:hover{cursor:pointer;color:#176f6f}.pv-select[data-v-79a7def3]{padding-top:4px;padding-bottom:4px}.pv-badge-md[data-v-1ce1cb53]{--inset-size:2px 2px;min-width:20px;min-height:20px;max-height:20px;font-weight:500}.pv-badge-sm[data-v-1ce1cb53]{--inset-size:0 2px;min-width:16px;min-height:16px;max-height:16px;font-weight:500}.pv-surface-lighten-5[data-v-1ce1cb53]{background-color:#e0e5e4}.pv-text-secondary[data-v-1ce1cb53]{color:#4b595c}.pv-switch-hide-check[data-v-26a92f7e] input[type=checkbox]:checked:after,.pv-switch-hide-check[data-v-26a92f7e] input[type=checkbox]:checked:not(:disabled):hover:after,.pv-switch-hide-check[data-v-26a92f7e] input[type=checkbox]:checked:not(:disabled):focus-visible:after,.pv-switch-hide-check[data-v-26a92f7e] input[type=checkbox]:checked:not(:disabled):active:after,.pv-switch-hide-check[data-v-26a92f7e] input[type=checkbox]:checked:disabled:after{background-image:unset}.pv-menu-action-button[data-v-7608437c]{opacity:0;transition:opacity .2s}.pv-label:hover .pv-menu-action-button[data-v-7608437c]{opacity:1}.pv-menu-item-disabled[data-v-c54482c5]{pointer-events:none;color:#7d898d;border-radius:4px}.pv-menu-item{&[data-v-c54482c5]{cursor:pointer;border-radius:var(--popover-list-item-radius,4px);transition-property:background-color;transition-duration:.15s}&[data-v-c54482c5]:hover,&[data-v-c54482c5]:focus-visible{background-color:var(--popover-list-item-hover-background-color,#f5f5f5)}&[data-v-c54482c5]:active{background-color:var(--popover-list-item-pressed-background-color,#ebebeb)}}.pv-radio[data-v-c54482c5]:indeterminate{background-color:unset!important;border-color:var(--color-border,#e3e7ea)!important}.pv-menu-item-expand-toggle[data-v-c54482c5]{cursor:pointer;color:inherit;background:0 0;border:none;border-radius:4px;flex-shrink:0;justify-content:center;align-items:center;margin-left:auto;padding:4px;display:flex}.pv-menu-item-expand-toggle[data-v-c54482c5]:hover{background-color:var(--popover-list-item-hover-background-color,#f5f5f5)}.pv-text-tertiary[data-v-4e159eee]{color:#6e8081}.pv-query-builder-input-wrapper[data-v-4decbec2]{cursor:text;background:#f7f8f8;border:2px solid #0000;border-radius:.5rem;align-items:center;width:100%;min-height:2.25rem;padding:.25rem;font-size:.75rem;display:flex;position:relative}.pv-query-builder-input[data-v-4decbec2]{justify-content:start;overflow-x:hidden}.pv-query-builder-input-wrapper input[data-v-4decbec2]{background:0 0;border:none;outline:none;font-size:.75rem}.pv-query-builder-input-wrapper[data-v-4decbec2]:focus-within{border:2px solid #36c5ba}.pv-table-row-count{opacity:1;background-color:#f7f8f8;transition:opacity .3s;position:absolute;top:6px;right:12px}.pv-table-group-cell:hover .pv-table-row-count{opacity:0}.pv-table-row-number{text-align:center;color:#89989b;padding:8px 12px 8px 0}.suggested-label[data-v-c030243b]:hover{color:#16696d}.suggested-title-label[data-v-c030243b]:hover{color:#0d5256;text-decoration:underline}.ag-custom-header-cell[data-v-9a0f71b4]{align-items:center;height:100%}.ag-header-actions .ag-header-cell-menu-button[data-v-9a0f71b4]{opacity:0;transition:opacity .2s ease-in-out}.ag-header-cell-menu-button:hover .ag-header-actions .ag-header-cell-menu-button[data-v-9a0f71b4],.ag-header-cell-menu-button:focus .ag-header-actions .ag-header-cell-menu-button[data-v-9a0f71b4]{opacity:1}.pv-table-row-number[data-v-686928ce]{text-align:center;color:#89989b;padding:8px 12px 8px 0}.pv-table-overlay{z-index:2;pointer-events:none;background:#fff;width:100%;height:calc(100% - 40px);position:absolute;top:80px}.pv-data-table .ag-header-cell-resize{border:none!important}.pv-data-table .ag-cell-inline-editing .ag-cell-editor{height:100%!important}.pv-data-table .ag-rich-select-value{min-height:100%!important}.pv-data-table .ag-row-group-leaf-indent{margin-left:0;padding-left:7px}.pv-data-table .ag-custom-loading-cell{background-color:#ccc;border-radius:4px;width:100%;height:40%;margin:15px}.pv-data-table .ag-group-value{width:100%;height:100%}.pv-data-table .ag-row:not(.ag-row-group) .ag-cell-wrapper{align-items:stretch;height:100%}.pv-data-table .ag-menu-option:hover{background-color:#f7f8f8}.pv-data-table .ag-menu-option-shortcut{color:#89989b}.pv-data-table .ag-menu-option:active{background-color:#e8f2f4}.pv-data-table .ag-menu-option-text{font-family:Inter,sans-serif}.pv-data-table .ag-header-cell-menu-button:hover{box-shadow:unset!important}.pv-data-table .ag-button{border-radius:4px!important;padding:3px 8px!important;font-size:12px!important}.pv-data-table-grouped-card .ag-body-horizontal-scroll{display:none!important}.pv-data-table-grouped-card .ag-header-cell-resize{opacity:0;transition:opacity .2s}.pv-data-table-grouped-card .ag-header-cell:hover .ag-header-cell-resize{opacity:1}.pv-data-table-grouped-card .ag-row-group-contracted{background:linear-gradient(#fff 5px,#f7f8f8 5px calc(100% - 5px),#fff calc(100% - 5px))!important}.pv-data-table-grouped-card .ag-row-group-expanded{background:linear-gradient(#fff 5px,#f7f8f8 5px)!important}.pv-data-table-grouped-card .ag-row-group-contracted .ag-cell{border:none!important;align-items:center!important;padding-top:5px!important;padding-bottom:5px!important}.pv-data-table-grouped-card .ag-row-group-expanded .ag-cell{border:none!important;align-items:center!important;padding-top:5px!important;padding-bottom:0!important}.pv-data-table-grouped-card .ag-row-group-contracted .ag-cell-wrapper,.pv-data-table-grouped-card .ag-row-group-expanded .ag-cell-wrapper{align-items:center!important;height:100%!important}.pv-data-table-grouped-card .ag-row-group-contracted .ag-cell-value,.pv-data-table-grouped-card .ag-row-group-expanded .ag-cell-value{height:100%!important}.pv-data-table-grouped-card .ag-row:not(.ag-row-group-contracted):not(.ag-row-group-expanded){border-bottom:1px solid #e0e0e0!important;border-left:1px solid #e0e0e0!important;border-right:1px solid #e0e0e0!important}.pv-data-table-grouped-card .ag-row-group-contracted:after{content:"";pointer-events:none;border:1px solid #e0e0e0;border-radius:4px;position:absolute;inset:5px 0}.pv-data-table-grouped-card .ag-row-group-expanded:after{content:"";pointer-events:none;border:1px solid #e0e0e0;border-radius:4px 4px 0 0;position:absolute;inset:5px 0 0}.pv-data-table-grouped-card .ag-row-group-contracted:hover,.pv-data-table-grouped-card .ag-row-group-expanded:hover{background:linear-gradient(#fff 5px,#eef0f0 5px calc(100% - 5px),#fff calc(100% - 5px))!important}.pv-data-table-grouped-card .ag-row-group-expanded:hover{background:linear-gradient(#fff 5px,#eef0f0 5px)!important}.pv-data-table-grouped-card .ag-row:not(.ag-row-group-contracted):not(.ag-row-group-expanded):hover{background-color:#f7f8f8!important}.pv-data-table-grouped-card .ag-group-value{height:100%}.pv-text-tertiary[data-v-f5b9b7d8]{color:#89989b}.pv-button-placeholder[data-v-f5b9b7d8]{width:24px;height:24px}.pv-sort-option[data-v-f5b9b7d8]{--flex-gap:4px;cursor:grab;min-height:24px}.pv-menu-item-disabled[data-v-f5b9b7d8]{pointer-events:none;color:#7d898d}.placeholder-zone[data-v-f5b9b7d8]{transition:background-color .2s}.pv-placeholder-dropzone[data-v-f5b9b7d8]{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-f5b9b7d8]{background:#f0f9f9;border-color:#16696d!important}.sort-divider-container[data-v-f5b9b7d8]{display:flex}.sort-divider[data-v-f5b9b7d8]{border-top:1px solid #e3e7ea;flex:1;margin:1rem 0;position:relative}.sort-divider[data-v-f5b9b7d8]:after{content:attr(data-label);font-size:inherit;white-space:nowrap;background:#fff;padding:0 .5em;display:inline-block;position:absolute;top:50%;left:50%;transform:translate(-50%,-50%)}.pv-menu-nested[data-v-23fdba3f]:after{content:"›"}.pv-tooltip a[data-v-23fdba3f]{color:inherit}.pv-chart-option[data-v-23fdba3f]{min-width:150px;max-width:225px}.pv-chart-overlay{pointer-events:none;position:absolute;top:50%;left:50%;transform:translate(-50%,-50%)}.ag-charts-tooltip{background-color:#fffffff2}.ag-charts-floating-toolbar{display:none!important}
2
2
  /*$vite$:1*/`)),document.head.appendChild(e)}}catch(e){console.error(`vite-plugin-css-injected-by-js`,e)}})();import * as e from "vue";
3
3
  import { Fragment as t, Teleport as n, computed as r, createBlock as i, createCommentVNode as a, createElementBlock as o, createElementVNode as s, createSlots as c, createTextVNode as l, createVNode as u, defineComponent as d, getCurrentInstance as f, guardReactiveProps as p, inject as m, isRef as h, mergeModels as g, mergeProps as _, nextTick as v, normalizeClass as y, normalizeProps as b, normalizeStyle as x, onBeforeMount as S, onBeforeUnmount as C, onMounted as w, onUnmounted as T, openBlock as E, provide as D, ref as O, renderList as k, renderSlot as A, resolveComponent as j, resolveDynamicComponent as M, shallowRef as N, toDisplayString as P, toRef as F, unref as I, useModel as L, useSlots as R, useTemplateRef as ee, vModelCheckbox as z, vModelText as B, vShow as te, watch as V, withCtx as H, withDirectives as ne, withModifiers as U } from "vue";
4
4
  import { AgCharts as W } from "ag-charts-vue3";
@@ -1635,7 +1635,47 @@ var ui = { style: { width: "fit-content" } }, di = /* @__PURE__ */ d({
1635
1635
  style: x(b.value)
1636
1636
  }, [A(r.$slots, "content")], 4), [[te, c.value]])], 8, ["to", "disabled"])) : a("", !0)])), [[I(Xe), [k, { ignore: C.value }]]]);
1637
1637
  }
1638
- }), fi = /* @__PURE__ */ d({
1638
+ }), fi = ["data-variant"], pi = /* @__PURE__ */ d({
1639
+ __name: "PvTooltipV2",
1640
+ props: {
1641
+ variant: { default: "dark" },
1642
+ label: {},
1643
+ description: {},
1644
+ size: { default: "md" },
1645
+ disableAutoPlacement: { type: Boolean },
1646
+ position: { default: "top-center" },
1647
+ positioningStrategy: {},
1648
+ showOnHover: {
1649
+ type: Boolean,
1650
+ default: !0
1651
+ },
1652
+ disableInteractive: {
1653
+ type: Boolean,
1654
+ default: !1
1655
+ },
1656
+ useTeleport: { type: Boolean },
1657
+ disableClickOutsideToClose: { type: Boolean },
1658
+ delay: { default: 0 },
1659
+ zIndex: {},
1660
+ teleportLocation: {},
1661
+ offset: {},
1662
+ ignoreClickOutsideClasses: {}
1663
+ },
1664
+ setup(e) {
1665
+ return (t, n) => (E(), i(di, b(p(t.$props)), c({
1666
+ trigger: H(() => [A(t.$slots, "trigger", {}, () => [s("p", null, P(e.label), 1)])]),
1667
+ _: 2
1668
+ }, [t.$slots.content || e.description ? {
1669
+ name: "content",
1670
+ fn: H(() => [s("div", {
1671
+ class: y(["pv-tooltip-v2-content", { "pv-tooltip-v2-content-small": e.size === "sm" }]),
1672
+ role: "tooltip",
1673
+ "data-variant": e.variant
1674
+ }, [A(t.$slots, "content", {}, () => [l(P(e.description), 1)])], 10, fi)]),
1675
+ key: "0"
1676
+ } : void 0]), 1040));
1677
+ }
1678
+ }), mi = /* @__PURE__ */ d({
1639
1679
  __name: "PvSegmentedControl",
1640
1680
  props: /* @__PURE__ */ g({
1641
1681
  options: { default: () => [] },
@@ -1649,13 +1689,13 @@ var ui = { style: { width: "fit-content" } }, di = /* @__PURE__ */ d({
1649
1689
  let n = L(e, "modelValue"), r = (e) => {
1650
1690
  e.disabled || (n.value = e.value);
1651
1691
  };
1652
- return (a, s) => (E(), o("div", { class: y(["pv-segmented-control", { "pv-segmented-control-large": e.size === "xl" }]) }, [(E(!0), o(t, null, k(e.options, (e) => (E(), i(I(Vi), {
1692
+ return (a, s) => (E(), o("div", { class: y(["pv-segmented-control", { "pv-segmented-control-large": e.size === "xl" }]) }, [(E(!0), o(t, null, k(e.options, (e) => (E(), i(pi, {
1653
1693
  key: e.value,
1654
1694
  variant: "dark",
1655
1695
  position: "bottom-right",
1656
1696
  style: { width: "100%" }
1657
1697
  }, c({
1658
- trigger: H(() => [u(I(X), {
1698
+ trigger: H(() => [u(X, {
1659
1699
  class: y(["pv-full-width", { "pv-disabled": e.disabled }]),
1660
1700
  variant: "ghost",
1661
1701
  label: e.label,
@@ -1680,10 +1720,10 @@ var ui = { style: { width: "fit-content" } }, di = /* @__PURE__ */ d({
1680
1720
  key: "0"
1681
1721
  } : void 0]), 1024))), 128))], 2));
1682
1722
  }
1683
- }), pi = {
1723
+ }), hi = {
1684
1724
  class: "pv-flex",
1685
1725
  "data-testid": "pv-company-logo"
1686
- }, mi = ["src"], hi = /* @__PURE__ */ d({
1726
+ }, gi = ["src"], _i = /* @__PURE__ */ d({
1687
1727
  __name: "PvCompanyLogo",
1688
1728
  props: {
1689
1729
  basePath: { default: "https://static-assets.turquoise.health/shared-logos/prd/payers" },
@@ -1702,7 +1742,7 @@ var ui = { style: { width: "fit-content" } }, di = /* @__PURE__ */ d({
1702
1742
  })), c = r(() => ({ width: i.value })), l = r(() => t.toCamelCase ? Ze(t.name) + ".svg" : t.name + ".svg"), u = r(() => t.srcPathOverride ? t.srcPathOverride : `${t.basePath}/${l.value}`);
1703
1743
  return V(u, () => {
1704
1744
  n.value = !0;
1705
- }), (e, t) => (E(), o("div", pi, [n.value ? (E(), o("div", {
1745
+ }), (e, t) => (E(), o("div", hi, [n.value ? (E(), o("div", {
1706
1746
  key: 0,
1707
1747
  class: y(a.value),
1708
1748
  style: x(c.value)
@@ -1710,22 +1750,22 @@ var ui = { style: { width: "fit-content" } }, di = /* @__PURE__ */ d({
1710
1750
  src: u.value,
1711
1751
  alt: "",
1712
1752
  onError: t[0] ||= (e) => n.value = !1
1713
- }, null, 40, mi)], 6)) : (E(), o("div", {
1753
+ }, null, 40, gi)], 6)) : (E(), o("div", {
1714
1754
  key: 1,
1715
1755
  class: y(a.value)
1716
1756
  }, null, 2))]));
1717
1757
  }
1718
- }), gi = { class: "pv-inset-squish-12" }, _i = {
1758
+ }), vi = { class: "pv-inset-squish-12" }, yi = {
1719
1759
  class: "pv-flex pv-flex-vertical pv-stack-16",
1720
1760
  style: { "--flex-align": "flex-start" }
1721
- }, vi = { class: "pv-heading-3" }, yi = {
1761
+ }, bi = { class: "pv-heading-3" }, xi = {
1722
1762
  key: 0,
1723
1763
  class: "pv-text-body-md"
1724
- }, bi = {
1764
+ }, Si = {
1725
1765
  key: 0,
1726
1766
  class: "pv-inset-squish-12 pv-border-top",
1727
1767
  style: { "--color-border": "#d2d8dc" }
1728
- }, xi = /* @__PURE__ */ d({
1768
+ }, Ci = /* @__PURE__ */ d({
1729
1769
  __name: "PvModal",
1730
1770
  props: /* @__PURE__ */ g({
1731
1771
  header: {},
@@ -1763,21 +1803,21 @@ var ui = { style: { width: "fit-content" } }, di = /* @__PURE__ */ d({
1763
1803
  style: { "--max-width": "480px" },
1764
1804
  onClose: i,
1765
1805
  onClick: c
1766
- }, [s("div", gi, [s("div", _i, [s("span", vi, P(e.header), 1), e.subheader ? (E(), o("span", yi, P(e.subheader), 1)) : a("", !0)]), A(t.$slots, "body")]), e.hideFooter ? a("", !0) : (E(), o("div", bi, [A(t.$slots, "footer")]))], 544));
1806
+ }, [s("div", vi, [s("div", yi, [s("span", bi, P(e.header), 1), e.subheader ? (E(), o("span", xi, P(e.subheader), 1)) : a("", !0)]), A(t.$slots, "body")]), e.hideFooter ? a("", !0) : (E(), o("div", Si, [A(t.$slots, "footer")]))], 544));
1767
1807
  }
1768
- }), Si = /* @__PURE__ */ function(e) {
1808
+ }), wi = /* @__PURE__ */ function(e) {
1769
1809
  return e.Vertical = "Vertical", e.Horizontal = "Horizontal", e;
1770
1810
  }({});
1771
1811
  (/* @__PURE__ */ (function(e) {
1772
1812
  return e.Primary = "Primary", e.Secondary = "Secondary", e.Tertiary = "Tertiary", e;
1773
- })({})).Primary, Si.Horizontal;
1813
+ })({})).Primary, wi.Horizontal;
1774
1814
  //#endregion
1775
1815
  //#region src/components/base/PvSuggestionTag/PvSuggestionTag.vue?vue&type=script&setup=true&lang.ts
1776
- var Ci = [
1816
+ var Ti = [
1777
1817
  "data-style",
1778
1818
  "disabled",
1779
1819
  "title"
1780
- ], wi = { class: "pv-truncate" }, Ti = /* @__PURE__ */ d({
1820
+ ], Ei = { class: "pv-truncate" }, Di = /* @__PURE__ */ d({
1781
1821
  __name: "PvSuggestionTag",
1782
1822
  props: {
1783
1823
  size: { default: "md" },
@@ -1813,13 +1853,13 @@ var Ci = [
1813
1853
  name: e.icon,
1814
1854
  size: 12,
1815
1855
  class: y(e.iconClasses)
1816
- }, null, 8, ["name", "class"])) : a("", !0), s("span", wi, P(e.label), 1)], 10, Ci));
1856
+ }, null, 8, ["name", "class"])) : a("", !0), s("span", Ei, P(e.label), 1)], 10, Ti));
1817
1857
  }
1818
- }), Ei = { class: "pv-relative" }, Di = ["disabled", "placeholder"], Oi = {
1858
+ }), Oi = { class: "pv-relative" }, ki = ["disabled", "placeholder"], Ai = {
1819
1859
  key: 0,
1820
1860
  "data-testid": "pv-search-input-shortcut",
1821
1861
  class: "pv-kbd"
1822
- }, ki = "/", Ai = /* @__PURE__ */ d({
1862
+ }, ji = "/", Mi = /* @__PURE__ */ d({
1823
1863
  __name: "PvSearchInput",
1824
1864
  props: /* @__PURE__ */ g({
1825
1865
  placeholder: { default: "Search" },
@@ -1843,11 +1883,11 @@ var Ci = [
1843
1883
  "pv-input-padded-end": !0
1844
1884
  }));
1845
1885
  return w(() => {
1846
- n.displayShortcut && Ue(ki, (e) => {
1886
+ n.displayShortcut && Ue(ji, (e) => {
1847
1887
  let t = e.target, n = t instanceof HTMLInputElement || t instanceof HTMLTextAreaElement || (t?.isContentEditable ?? !1), r = document.activeElement === i.value;
1848
1888
  (!n || r) && (r || (e.preventDefault(), i.value?.focus()));
1849
1889
  });
1850
- }), t({ input: i }), (t, n) => (E(), o("div", Ei, [ne(s("input", {
1890
+ }), t({ input: i }), (t, n) => (E(), o("div", Oi, [ne(s("input", {
1851
1891
  ref: "search-input",
1852
1892
  "onUpdate:modelValue": n[0] ||= (e) => c.value = e,
1853
1893
  "data-testid": "pv-search-input",
@@ -1855,36 +1895,36 @@ var Ci = [
1855
1895
  disabled: e.disabled,
1856
1896
  class: y(l.value),
1857
1897
  placeholder: e.placeholder
1858
- }, null, 10, Di), [[B, c.value]]), e.displayShortcut ? (E(), o("kbd", Oi, P(ki))) : a("", !0)]));
1898
+ }, null, 10, ki), [[B, c.value]]), e.displayShortcut ? (E(), o("kbd", Ai, P(ji))) : a("", !0)]));
1859
1899
  }
1860
1900
  });
1861
1901
  Qe.extend(tt), Qe.extend($e), Qe.extend(et);
1862
1902
  //#endregion
1863
1903
  //#region src/components/base/PvDrawer/PvDrawer.vue?vue&type=script&setup=true&lang.ts
1864
- var ji = {
1904
+ var Ni = {
1865
1905
  class: "pv-inset-squish-12 pv-border-bottom",
1866
1906
  style: { "flex-shrink": "0" }
1867
- }, Mi = {
1907
+ }, Pi = {
1868
1908
  class: "pv-flex-vertical pv-stack-16",
1869
1909
  style: { "--flex-align": "flex-start" }
1870
- }, Ni = { class: "pv-flex pv-full-width" }, Pi = { class: "pv-full-width pv-heading-3" }, Fi = {
1910
+ }, Fi = { class: "pv-flex pv-full-width" }, Ii = { class: "pv-full-width pv-heading-3" }, Li = {
1871
1911
  key: 0,
1872
1912
  class: "pv-text-body-md"
1873
- }, Ii = {
1913
+ }, Ri = {
1874
1914
  key: 0,
1875
1915
  class: "pv-inset-inline-16"
1876
- }, Li = {
1916
+ }, zi = {
1877
1917
  class: "pv-inset-inline-16",
1878
1918
  style: {
1879
1919
  flex: "1",
1880
1920
  "overflow-y": "auto",
1881
1921
  "min-height": "0"
1882
1922
  }
1883
- }, Ri = {
1923
+ }, Bi = {
1884
1924
  key: 0,
1885
1925
  class: "pv-inset-squish-12 pv-border-top",
1886
1926
  style: { "flex-shrink": "0" }
1887
- }, zi = /* @__PURE__ */ d({
1927
+ }, Vi = /* @__PURE__ */ d({
1888
1928
  __name: "PvDrawer",
1889
1929
  props: /* @__PURE__ */ g({
1890
1930
  header: {},
@@ -1932,61 +1972,21 @@ var ji = {
1932
1972
  height: "100%"
1933
1973
  }
1934
1974
  }, [
1935
- s("div", ji, [n.$slots.header ? A(n.$slots, "header", { key: 0 }) : (E(), o(t, { key: 1 }, [s("div", Mi, [s("div", Ni, [s("span", Pi, P(e.header), 1), u(X, {
1975
+ s("div", Ni, [n.$slots.header ? A(n.$slots, "header", { key: 0 }) : (E(), o(t, { key: 1 }, [s("div", Pi, [s("div", Fi, [s("span", Ii, P(e.header), 1), u(X, {
1936
1976
  "left-icon": "close",
1937
1977
  size: "md",
1938
1978
  onClick: p,
1939
1979
  "data-testid": "pv-side-panel-close-button",
1940
1980
  variant: "ghost"
1941
- })]), e.subheader ? (E(), o("span", Fi, P(e.subheader), 1)) : a("", !0)]), e.showSearchbar && l.value !== void 0 ? (E(), o("div", Ii, [u(Ai, _({
1981
+ })]), e.subheader ? (E(), o("span", Li, P(e.subheader), 1)) : a("", !0)]), e.showSearchbar && l.value !== void 0 ? (E(), o("div", Ri, [u(Mi, _({
1942
1982
  "data-testid": "pv-side-panel-input-search",
1943
1983
  modelValue: l.value,
1944
1984
  "onUpdate:modelValue": i[0] ||= (e) => l.value = e
1945
1985
  }, r.searchInputProps), null, 16, ["modelValue"])])) : a("", !0)], 64))]),
1946
- s("div", Li, [A(n.$slots, "default")]),
1947
- n.$slots.footer ? (E(), o("div", Ri, [A(n.$slots, "footer")])) : a("", !0)
1986
+ s("div", zi, [A(n.$slots, "default")]),
1987
+ n.$slots.footer ? (E(), o("div", Bi, [A(n.$slots, "footer")])) : a("", !0)
1948
1988
  ], 512));
1949
1989
  }
1950
- }), Bi = ["data-variant"], Vi = /* @__PURE__ */ d({
1951
- __name: "PvTooltipV2",
1952
- props: {
1953
- variant: { default: "dark" },
1954
- label: {},
1955
- description: {},
1956
- size: { default: "md" },
1957
- disableAutoPlacement: { type: Boolean },
1958
- position: { default: "top-center" },
1959
- positioningStrategy: {},
1960
- showOnHover: {
1961
- type: Boolean,
1962
- default: !0
1963
- },
1964
- disableInteractive: {
1965
- type: Boolean,
1966
- default: !1
1967
- },
1968
- useTeleport: { type: Boolean },
1969
- disableClickOutsideToClose: { type: Boolean },
1970
- delay: { default: 0 },
1971
- zIndex: {},
1972
- teleportLocation: {},
1973
- offset: {},
1974
- ignoreClickOutsideClasses: {}
1975
- },
1976
- setup(e) {
1977
- return (t, n) => (E(), i(I(di), b(p(t.$props)), c({
1978
- trigger: H(() => [A(t.$slots, "trigger", {}, () => [s("p", null, P(e.label), 1)])]),
1979
- _: 2
1980
- }, [t.$slots.content || e.description ? {
1981
- name: "content",
1982
- fn: H(() => [s("div", {
1983
- class: y(["pv-tooltip-v2-content", { "pv-tooltip-v2-content-small": e.size === "sm" }]),
1984
- role: "tooltip",
1985
- "data-variant": e.variant
1986
- }, [A(t.$slots, "content", {}, () => [l(P(e.description), 1)])], 10, Bi)]),
1987
- key: "0"
1988
- } : void 0]), 1040));
1989
- }
1990
1990
  }), Hi = {
1991
1991
  "data-testid": "pv-select-menu-control-panel",
1992
1992
  class: "pv-flex pv-space-between"
@@ -2087,7 +2087,7 @@ var ji = {
2087
2087
  "data-testid": "pv-multi-select-button-icon",
2088
2088
  name: e.icon
2089
2089
  }, null, 8, ["name"])) : a("", !0),
2090
- e.companyLogo ? (E(), i(hi, {
2090
+ e.companyLogo ? (E(), i(_i, {
2091
2091
  key: 3,
2092
2092
  name: e.companyLogo,
2093
2093
  size: "sm"
@@ -2219,7 +2219,7 @@ var Qi = /* @__PURE__ */ Gt(Yi, [["render", Zi]]), $i = ["data-style"], ea = ["s
2219
2219
  class: y({ "pv-text-subdued": !e.disabled }),
2220
2220
  name: e.icon
2221
2221
  }, null, 8, ["class", "name"])) : a("", !0),
2222
- e.companyName ? (E(), i(hi, {
2222
+ e.companyName ? (E(), i(_i, {
2223
2223
  key: 2,
2224
2224
  name: e.companyName,
2225
2225
  size: "sm"
@@ -2303,7 +2303,7 @@ var Qi = /* @__PURE__ */ Gt(Yi, [["render", Zi]]), $i = ["data-style"], ea = ["s
2303
2303
  a.value || t.action.action(t.option);
2304
2304
  };
2305
2305
  return (e, t) => (E(), i(_n, { disableInteractive: !0 }, c({
2306
- label: H(() => [u(I(X), {
2306
+ label: H(() => [u(X, {
2307
2307
  variant: "ghost",
2308
2308
  class: y(["pv-text-brand", { "pv-menu-action-button": !s.value }]),
2309
2309
  leftIcon: n.value,
@@ -2321,7 +2321,7 @@ var Qi = /* @__PURE__ */ Gt(Yi, [["render", Zi]]), $i = ["data-style"], ea = ["s
2321
2321
  key: "0"
2322
2322
  } : void 0]), 1024));
2323
2323
  }
2324
- }), [["__scopeId", "data-v-6a2265bf"]]);
2324
+ }), [["__scopeId", "data-v-7608437c"]]);
2325
2325
  //#endregion
2326
2326
  //#region src/components/base/PvMenu/cascadeUtils.ts
2327
2327
  function fa(e) {
@@ -2916,7 +2916,7 @@ var ga = Symbol("SelectedItemsKey"), _a = Symbol("EnableCascadeSelectionKey"), v
2916
2916
  }));
2917
2917
  return Ue("Escape", () => {
2918
2918
  j.value && G();
2919
- }), (n, r) => (E(), i(I(di), _({
2919
+ }), (n, r) => (E(), i(di, _({
2920
2920
  modelValue: I(j),
2921
2921
  "onUpdate:modelValue": r[4] ||= (e) => h(j) ? j.value = e : null
2922
2922
  }, e.popoverProperties, { offset: ie.value }), {
@@ -2958,7 +2958,7 @@ var ga = Symbol("SelectedItemsKey"), _a = Symbol("EnableCascadeSelectionKey"), v
2958
2958
  ...e.popoverCssProperties
2959
2959
  })
2960
2960
  }, [
2961
- e.disableSearchInput ? a("", !0) : (E(), o("div", Fa, [u(Ai, {
2961
+ e.disableSearchInput ? a("", !0) : (E(), o("div", Fa, [u(Mi, {
2962
2962
  ref: "searchInputRef",
2963
2963
  "model-value": z.value,
2964
2964
  "onUpdate:modelValue": r[1] ||= (e) => z.value = e,
@@ -3115,7 +3115,7 @@ var ga = Symbol("SelectedItemsKey"), _a = Symbol("EnableCascadeSelectionKey"), v
3115
3115
  };
3116
3116
  return Ue("Escape", () => {
3117
3117
  d.value && w();
3118
- }), (t, n) => (E(), i(I(di), _({
3118
+ }), (t, n) => (E(), i(di, _({
3119
3119
  modelValue: I(d),
3120
3120
  "onUpdate:modelValue": n[2] ||= (e) => h(d) ? d.value = e : null
3121
3121
  }, e.popoverProperties), {
@@ -3157,7 +3157,7 @@ var ga = Symbol("SelectedItemsKey"), _a = Symbol("EnableCascadeSelectionKey"), v
3157
3157
  class: "pv-popover",
3158
3158
  "data-test-id": "pv-popover",
3159
3159
  style: x([e.popoverCssProperties, { position: "unset" }])
3160
- }, [e.disableSearchInput ? a("", !0) : (E(), o("div", Ha, [u(Ai, {
3160
+ }, [e.disableSearchInput ? a("", !0) : (E(), o("div", Ha, [u(Mi, {
3161
3161
  "model-value": p.value,
3162
3162
  "onUpdate:modelValue": n[0] ||= (e) => p.value = e,
3163
3163
  class: "pv-stack-4",
@@ -3271,7 +3271,7 @@ var Wa = () => {
3271
3271
  };
3272
3272
  l(s.value, t);
3273
3273
  };
3274
- return (e, n) => (E(), o(t, null, [(E(!0), o(t, null, k(u.value, (e, t) => (E(), i(I(yn), {
3274
+ return (e, n) => (E(), o(t, null, [(E(!0), o(t, null, k(u.value, (e, t) => (E(), i(yn, {
3275
3275
  key: `${t}-${e.queryText}`,
3276
3276
  variant: p(e),
3277
3277
  label: f(e),
@@ -3281,7 +3281,7 @@ var Wa = () => {
3281
3281
  "variant",
3282
3282
  "label",
3283
3283
  "onHandleClose"
3284
- ]))), 128)), d.value > 0 ? (E(), i(I(yn), {
3284
+ ]))), 128)), d.value > 0 ? (E(), i(yn, {
3285
3285
  key: 0,
3286
3286
  label: `+${d.value}`,
3287
3287
  onHandleClick: n[0] ||= (e) => c.value = !0
@@ -3440,7 +3440,7 @@ var Wa = () => {
3440
3440
  onFocus: F,
3441
3441
  onBlur: F
3442
3442
  }, null, 40, Za), [[B, d.value]])], 4),
3443
- f.value && !e.hideClearButton ? (E(), i(I(X), {
3443
+ f.value && !e.hideClearButton ? (E(), i(X, {
3444
3444
  key: 1,
3445
3445
  variant: "ghost",
3446
3446
  leftIcon: "close",
@@ -3457,7 +3457,7 @@ var Wa = () => {
3457
3457
  },
3458
3458
  isList: !0
3459
3459
  }, {
3460
- default: H(() => [e.optionsLoading ? (E(), o("div", $a, [u(I(_t), { variant: "dark" })])) : (E(!0), o(t, { key: 0 }, k(A.value, (e, t) => (E(), i(Aa, _({
3460
+ default: H(() => [e.optionsLoading ? (E(), o("div", $a, [u(_t, { variant: "dark" })])) : (E(!0), o(t, { key: 0 }, k(A.value, (e, t) => (E(), i(Aa, _({
3461
3461
  key: `${t}-${e.searchText}`,
3462
3462
  ref_for: !0
3463
3463
  }, e, {
@@ -3468,7 +3468,7 @@ var Wa = () => {
3468
3468
  }, 8, ["class"])) : a("", !0)
3469
3469
  ], 32)), [[I(Xe), j]]);
3470
3470
  }
3471
- }), [["__scopeId", "data-v-fe24a346"]]), to = Symbol("FilterStoreKey"), no = Symbol("FocusStoreKey"), ro = Symbol("SortStateKey"), io = Symbol("GridApiKey"), ao = Symbol("ColumnDisplayOrderKey"), oo = Symbol("currentlyActiveFilterKey"), so = Symbol("AvailableFilterColumnsKey"), co = Symbol("AvailableRowGroupColumnsKey"), lo = Symbol("RowGroupColumnFieldsKey"), uo = Symbol("GroupColumnCellValueColumnKey"), fo = Symbol("ExpandedRowsKey"), po = Symbol("FirstDataRenderedKey"), mo = Symbol("RowsLoadingKey"), ho = Symbol("CurrentPageKey"), go = Symbol("TotalPageKey"), _o = Symbol("ActiveChartFilterOptionKey"), vo = Symbol("RowGroupColumnsKey"), yo = Symbol("ChartTypeKey"), bo = Symbol("SortTypesKey"), xo = Symbol("ActiveChartKey"), So = Symbol("ActiveSortKey"), Co = Symbol("ActiveSeriesKey"), wo = Symbol("AvailableSeriesKey"), To = Symbol("ActiveSecondarySeriesKey"), Eo = Symbol("AvailableSecondarySeriesKey"), Do = Symbol("EnableAdvancedFilterKey"), Oo = Symbol("ActiveCrosslineOverlayGroupsKey"), ko = Symbol("AvailableCrosslineOverlayGroupsKey"), Ao = {
3471
+ }), [["__scopeId", "data-v-4decbec2"]]), to = Symbol("FilterStoreKey"), no = Symbol("FocusStoreKey"), ro = Symbol("SortStateKey"), io = Symbol("GridApiKey"), ao = Symbol("ColumnDisplayOrderKey"), oo = Symbol("currentlyActiveFilterKey"), so = Symbol("AvailableFilterColumnsKey"), co = Symbol("AvailableRowGroupColumnsKey"), lo = Symbol("RowGroupColumnFieldsKey"), uo = Symbol("GroupColumnCellValueColumnKey"), fo = Symbol("ExpandedRowsKey"), po = Symbol("FirstDataRenderedKey"), mo = Symbol("RowsLoadingKey"), ho = Symbol("CurrentPageKey"), go = Symbol("TotalPageKey"), _o = Symbol("ActiveChartFilterOptionKey"), vo = Symbol("RowGroupColumnsKey"), yo = Symbol("ChartTypeKey"), bo = Symbol("SortTypesKey"), xo = Symbol("ActiveChartKey"), So = Symbol("ActiveSortKey"), Co = Symbol("ActiveSeriesKey"), wo = Symbol("AvailableSeriesKey"), To = Symbol("ActiveSecondarySeriesKey"), Eo = Symbol("AvailableSecondarySeriesKey"), Do = Symbol("EnableAdvancedFilterKey"), Oo = Symbol("ActiveCrosslineOverlayGroupsKey"), ko = Symbol("AvailableCrosslineOverlayGroupsKey"), Ao = {
3472
3472
  class: "pv-flex",
3473
3473
  style: { "--flex-wrap": "nowrap" }
3474
3474
  }, jo = ["id"], Mo = {
@@ -4935,7 +4935,7 @@ var Q = /* @__PURE__ */ function(e) {
4935
4935
  "max-width": "100%",
4936
4936
  "line-height": "1rem"
4937
4937
  }
4938
- }, [u(I(Ti), {
4938
+ }, [u(I(Di), {
4939
4939
  disabled: I(g),
4940
4940
  label: I(te)(e) || "",
4941
4941
  onHandleClick: (t) => I(U)(e, I(B)(I(S), e)?.colField)
@@ -5065,7 +5065,7 @@ var Q = /* @__PURE__ */ function(e) {
5065
5065
  variant: "tertiary"
5066
5066
  }, null, 8, ["value"])) : a("", !0)
5067
5067
  ])) : a("", !0)]),
5068
- p.enableVerticalPanel ? (E(), i(I(zi), {
5068
+ p.enableVerticalPanel ? (E(), i(I(Vi), {
5069
5069
  key: 0,
5070
5070
  modelValue: w.value,
5071
5071
  "onUpdate:modelValue": r[8] ||= (e) => w.value = e,
@@ -5080,7 +5080,7 @@ var Q = /* @__PURE__ */ function(e) {
5080
5080
  header: H(() => [s("div", _c, [s("p", vc, "All Filters (" + P(M.value.length) + ")", 1), s("button", {
5081
5081
  class: "pv-button-ghost",
5082
5082
  onClick: r[2] ||= (e) => U()
5083
- }, [u(I(rn), { name: "close" })])]), u(I(Ai), {
5083
+ }, [u(I(rn), { name: "close" })])]), u(I(Mi), {
5084
5084
  modelValue: D.value,
5085
5085
  "onUpdate:modelValue": r[3] ||= (e) => D.value = e,
5086
5086
  placeholder: "Search Filters"
@@ -5123,7 +5123,7 @@ var Q = /* @__PURE__ */ function(e) {
5123
5123
  ])) : a("", !0)])])], 2))), 128))])])]),
5124
5124
  _: 1
5125
5125
  }, 8, ["modelValue"])) : a("", !0)
5126
- ]), u(I(xi), {
5126
+ ]), u(I(Ci), {
5127
5127
  modelValue: T.value,
5128
5128
  "onUpdate:modelValue": r[11] ||= (e) => T.value = e,
5129
5129
  header: "Clear All Filters",
@@ -5454,7 +5454,7 @@ var Q = /* @__PURE__ */ function(e) {
5454
5454
  "query",
5455
5455
  "options",
5456
5456
  "options-loading"
5457
- ])) : (E(), i(I(Ai), {
5457
+ ])) : (E(), i(I(Mi), {
5458
5458
  key: 1,
5459
5459
  placeholder: e.placeholder,
5460
5460
  modelValue: r.value,
@@ -6118,7 +6118,7 @@ var Q = /* @__PURE__ */ function(e) {
6118
6118
  "flex-direction": "column"
6119
6119
  }])
6120
6120
  }, [
6121
- e.devMode ? (E(), i(I(Vi), {
6121
+ e.devMode ? (E(), i(I(pi), {
6122
6122
  key: 0,
6123
6123
  class: "pv-flex",
6124
6124
  style: {
@@ -6449,7 +6449,7 @@ var Q = /* @__PURE__ */ function(e) {
6449
6449
  name: e.icon
6450
6450
  }, null, 8, ["class", "name"])) : a("", !0),
6451
6451
  s("span", ul, P(e.text), 1)
6452
- ]), j(e) ? (E(), o("div", dl)) : (E(), i(I(X), {
6452
+ ]), j(e) ? (E(), o("div", dl)) : (E(), i(X, {
6453
6453
  key: 0,
6454
6454
  "left-icon": D(e) ? "remove-circle" : "add-circle",
6455
6455
  variant: "ghost",
@@ -6461,7 +6461,7 @@ var Q = /* @__PURE__ */ function(e) {
6461
6461
  "onClick"
6462
6462
  ]))], 6))], 8, rl))), 128))], 512)], 512));
6463
6463
  }
6464
- }), [["__scopeId", "data-v-ee6b788e"]]), hl = (e) => e.filter((e) => !_s(e)), gl = (e) => e.filter((e) => _s(e)), _l = {
6464
+ }), [["__scopeId", "data-v-f5b9b7d8"]]), hl = (e) => e.filter((e) => !_s(e)), gl = (e) => e.filter((e) => _s(e)), _l = {
6465
6465
  xAxis: {
6466
6466
  selectMode: "sortable",
6467
6467
  filterColumns: hl
@@ -6568,7 +6568,7 @@ var Sl = {
6568
6568
  return (t, n) => (E(), o("div", Sl, [s("span", {
6569
6569
  class: "pv-text-body-md pv-truncate",
6570
6570
  title: e.text
6571
- }, P(e.text), 9, Cl), e.context?.description ? (E(), i(I(Vi), {
6571
+ }, P(e.text), 9, Cl), e.context?.description ? (E(), i(I(pi), {
6572
6572
  key: 0,
6573
6573
  variant: "dark",
6574
6574
  position: "center-right",
@@ -6841,7 +6841,7 @@ var Sl = {
6841
6841
  }, 8, ["class"])], 64)) : a("", !0)])], 2)), [[I(Xe), [le, { ignore: [".pv-popover"] }]]]), s("div", {
6842
6842
  class: "pv-flex pv-space-between",
6843
6843
  style: x(e.chartFilter ? {} : { justifyContent: "flex-end" })
6844
- }, [e.chartFilter ? (E(), i(fi, {
6844
+ }, [e.chartFilter ? (E(), i(mi, {
6845
6845
  key: 0,
6846
6846
  options: B.value,
6847
6847
  modelValue: I(z),
@@ -6916,7 +6916,25 @@ var Sl = {
6916
6916
  _: 1
6917
6917
  }, 8, ["class", "css-custom-properties"])], 64));
6918
6918
  }
6919
- }), [["__scopeId", "data-v-23fdba3f"]]), Fl = ({ currentRowGroupColumnsLength: e, shouldShowFocusOverlayText: t, chartDataEmpty: n, missingFocusText: r, displayGroupByName: i }) => e === 0 ? "No groups selected. Select at least one group to display data." : n ? t ? r ?? `Select focus ${i} to view Visualization.` : Et : "", Il = (e, t) => `${e}_${t}`, Ll = (e) => `secondaryCategory_${e}`, Rl = (e, t, n, r, i = []) => {
6919
+ }), [["__scopeId", "data-v-23fdba3f"]]);
6920
+ //#endregion
6921
+ //#region src/components/charts/PvDataTableWithChart/scatterAxisUtils.ts
6922
+ function Fl(e, t, n, r, i) {
6923
+ return i ? {
6924
+ xKey: n,
6925
+ xName: r,
6926
+ yKey: e,
6927
+ yName: t
6928
+ } : {
6929
+ xKey: e,
6930
+ xName: t,
6931
+ yKey: n,
6932
+ yName: r
6933
+ };
6934
+ }
6935
+ //#endregion
6936
+ //#region src/components/charts/PvDataTableWithChart/helpers.ts
6937
+ var Il = ({ currentRowGroupColumnsLength: e, shouldShowFocusOverlayText: t, chartDataEmpty: n, missingFocusText: r, displayGroupByName: i }) => e === 0 ? "No groups selected. Select at least one group to display data." : n ? t ? r ?? `Select focus ${i} to view Visualization.` : Et : "", Ll = (e, t) => `${e}_${t}`, Rl = (e) => `secondaryCategory_${e}`, zl = (e, t, n, r, i = []) => {
6920
6938
  if (!e || e.length === 0) return {
6921
6939
  data: [],
6922
6940
  uniqueFieldValues: []
@@ -6929,7 +6947,7 @@ var Sl = {
6929
6947
  let o = e.reduce((e, o) => {
6930
6948
  let s = o[t];
6931
6949
  e[s] || (e[s] = {});
6932
- let c = o[n], l = Ll(c);
6950
+ let c = o[n], l = Rl(c);
6933
6951
  e[s][l] = `${s}-${c}`;
6934
6952
  for (let t of r) {
6935
6953
  let r = t.value, i = 0;
@@ -6937,7 +6955,7 @@ var Sl = {
6937
6955
  let l = o[r];
6938
6956
  if (a.add(c), n && l) {
6939
6957
  let t = l ?? 0;
6940
- e[s][Il(r, c)] = t, i += t;
6958
+ e[s][Ll(r, c)] = t, i += t;
6941
6959
  }
6942
6960
  e[s][`${r}${fs}`] = i;
6943
6961
  }
@@ -6951,7 +6969,7 @@ var Sl = {
6951
6969
  })),
6952
6970
  uniqueFieldValues: Array.from(a)
6953
6971
  };
6954
- }, zl = (e, t, n) => {
6972
+ }, Bl = (e, t, n) => {
6955
6973
  let r = -Infinity;
6956
6974
  return !e || e.length === 0 || (n ? e.forEach((e) => {
6957
6975
  let n = e[t + fs];
@@ -6960,16 +6978,16 @@ var Sl = {
6960
6978
  let n = e[t];
6961
6979
  typeof n == "number" && n > r && (r = n);
6962
6980
  })), r;
6963
- }, Bl = { style: {
6981
+ }, Vl = { style: {
6964
6982
  height: "100%",
6965
6983
  width: "100%"
6966
- } }, Vl = {
6984
+ } }, Hl = {
6967
6985
  key: 0,
6968
6986
  class: "pv-bordered pv-radius-lg pv-inset-square-12 pv-stack-16"
6969
- }, Hl = { class: "pv-flex" }, Ul = { class: "pv-relative pv-margin-auto" }, Wl = { class: "pv-chart-overlay pv-flex pv-align-center" }, Gl = { key: 0 }, Kl = {
6987
+ }, Ul = { class: "pv-flex" }, Wl = { class: "pv-relative pv-margin-auto" }, Gl = { class: "pv-chart-overlay pv-flex pv-align-center" }, Kl = { key: 0 }, ql = {
6970
6988
  key: 1,
6971
6989
  class: "pv-text-body-xs"
6972
- }, ql = /* @__PURE__ */ d({
6990
+ }, Jl = /* @__PURE__ */ d({
6973
6991
  __name: "PvDataTableWithChart",
6974
6992
  props: {
6975
6993
  allFieldsAreFocusable: { type: Boolean },
@@ -7304,7 +7322,7 @@ var Sl = {
7304
7322
  let o = {
7305
7323
  type: t,
7306
7324
  xKey: A.value,
7307
- yKey: Il(q.value, a),
7325
+ yKey: Ll(q.value, a),
7308
7326
  yName: typeof i == "function" ? i({ value: a }) : a,
7309
7327
  stacked: e,
7310
7328
  label: {
@@ -7360,17 +7378,24 @@ var Sl = {
7360
7378
  }))), ye.value) {
7361
7379
  let t;
7362
7380
  t = e ? `${ye.value}_sort_total` : ye.value;
7363
- let r = se(A.value)?.context?.metadataDisplayFields?.[0] || A.value, i = {
7381
+ let r = se(A.value)?.context?.metadataDisplayFields?.[0] || A.value, i = Fl(A.value, r, t, ke.value, Ae.value), a = {
7364
7382
  type: "scatter",
7365
7383
  id: "metric-overlay",
7366
7384
  data: We.value,
7367
- xKey: A.value,
7368
- xName: r,
7369
- yKey: t,
7370
- yName: ke.value,
7385
+ ...i,
7371
7386
  label: { enabled: !1 }
7372
7387
  };
7373
- Oe.value?.tooltipRenderer && (i.tooltip = { renderer: Oe.value?.tooltipRenderer }), n = [...n, i];
7388
+ if (Oe.value?.tooltipRenderer) {
7389
+ let e = Oe.value.tooltipRenderer;
7390
+ a.tooltip = { renderer: Ae.value ? (n) => e({
7391
+ ...n,
7392
+ xKey: A.value,
7393
+ xName: r,
7394
+ yKey: t,
7395
+ yName: ke.value
7396
+ }) : e };
7397
+ }
7398
+ n = [...n, a];
7374
7399
  }
7375
7400
  if (ue.value?.id === "histogram" && J.value && J.value.length > 0 && typeof J.value[0]?.bucketMin == "number" && typeof J.value[0]?.bucketMax == "number" && Se.value.length > 0 && J.value) {
7376
7401
  let e = J.value.length, t = Number.isFinite(Ke.value) ? Ke.value : 0, r = {
@@ -7498,7 +7523,7 @@ var Sl = {
7498
7523
  return;
7499
7524
  }
7500
7525
  if (t) {
7501
- let { stackedData: n, uniqueFieldValues: r } = Rl(e, A.value, t, Ve.value, I.value);
7526
+ let { stackedData: n, uniqueFieldValues: r } = zl(e, A.value, t, Ve.value, I.value);
7502
7527
  ve.value = n, Ce.value = {
7503
7528
  fieldName: t,
7504
7529
  fieldValues: r
@@ -7561,10 +7586,10 @@ var Sl = {
7561
7586
  n.add(o);
7562
7587
  let s = t.aggData;
7563
7588
  if (o && s) {
7564
- let n = String(o), s = Ll(n);
7589
+ let n = String(o), s = Rl(n);
7565
7590
  r[s] = `${e.key}-${n}`;
7566
7591
  let c = t.aggData[a.value]?.value ?? t.aggData[a.value];
7567
- r[Il(a.value, n)] = c, i += c;
7592
+ r[Ll(a.value, n)] = c, i += c;
7568
7593
  }
7569
7594
  }), r[`${a.value}${fs}`] = i;
7570
7595
  return {
@@ -7603,18 +7628,18 @@ var Sl = {
7603
7628
  let n = e[r];
7604
7629
  if (typeof n != "number") return e;
7605
7630
  let a = 0;
7606
- for (let n of i) typeof e[Il(t, String(n))] == "number" && a++;
7631
+ for (let n of i) typeof e[Ll(t, String(n))] == "number" && a++;
7607
7632
  return {
7608
7633
  ...e,
7609
7634
  [r]: a > 0 ? n / a : null
7610
7635
  };
7611
7636
  });
7612
- }), Ge = r(() => J.value?.length || 0), Ke = r(() => zl(je.value ? ve.value : J.value, q.value, je.value)), qe = r(() => Ce.value?.fieldValues?.length || 0), Je = r(() => {
7637
+ }), Ge = r(() => J.value?.length || 0), Ke = r(() => Bl(je.value ? ve.value : J.value, q.value, je.value)), qe = r(() => Ce.value?.fieldValues?.length || 0), Je = r(() => {
7613
7638
  let e = .25 * Math.exp(-.12 * Ge.value);
7614
7639
  return Math.min(Math.max(e, .05), .75);
7615
7640
  }), Ye = r(() => qe.value > 5 ? .5 : 1), Xe = r(() => qe.value > 5 ? .25 : .1), Ze = r(() => !J.value || J.value?.length === 0 ? !0 : Ke.value === -Infinity || je.value === !0 && Ke.value === 0), Qe = r(() => !!(c.enableFocusView && ne.value && U.value.length === 0 && c.percentOfFocusViewYKey && q.value && q.value === c.percentOfFocusViewYKey)), $e = r(() => {
7616
7641
  let e = se(ne.value || ""), t = e?.headerName || e?.field || "Compare Field";
7617
- return Fl({
7642
+ return Il({
7618
7643
  currentRowGroupColumnsLength: k.value.length,
7619
7644
  shouldShowFocusOverlayText: Qe.value || c.focusRequired && U.value.length === 0,
7620
7645
  chartDataEmpty: Ze.value,
@@ -7638,10 +7663,10 @@ var Sl = {
7638
7663
  preventHidingAll: !0,
7639
7664
  enabled: k.value.length > 1
7640
7665
  };
7641
- let t = je.value ? Ce.value?.fieldValues.map((e) => Il(q.value, e)) || [] : q.value ? [q.value] : [], n = (() => {
7666
+ let t = je.value ? Ce.value?.fieldValues.map((e) => Ll(q.value, e)) || [] : q.value ? [q.value] : [], n = (() => {
7642
7667
  if (!ye.value) return [];
7643
7668
  let e = ye.value;
7644
- return Pe.value ? [`${e}${fs}`] : je.value ? Ce.value?.fieldValues.map((t) => Il(e, String(t))) || [] : [e];
7669
+ return Pe.value ? [`${e}${fs}`] : je.value ? Ce.value?.fieldValues.map((t) => Ll(e, String(t))) || [] : [e];
7645
7670
  })(), r = pe.value.xAxis.hideLabel === !0, i = ue.value?.id === "histogram" && J.value && J.value.length > 0 && typeof J.value[0]?.bucketMin == "number" && typeof J.value[0]?.bucketMax == "number", a = [];
7646
7671
  if (a.push({
7647
7672
  type: "category",
@@ -7759,12 +7784,12 @@ var Sl = {
7759
7784
  }
7760
7785
  }), w(async () => {
7761
7786
  await v(), b.value = c.filterPanelAboveChart;
7762
- }), (t, n) => (E(), o("div", Bl, [
7787
+ }), (t, n) => (E(), o("div", Vl, [
7763
7788
  s("div", {
7764
7789
  class: "pv-stack-16",
7765
7790
  id: g
7766
7791
  }),
7767
- e.hideChart ? a("", !0) : (E(), o("div", Vl, [
7792
+ e.hideChart ? a("", !0) : (E(), o("div", Hl, [
7768
7793
  u(X, {
7769
7794
  rightIcon: "chevrons-down-up",
7770
7795
  label: "Collapse",
@@ -7776,7 +7801,7 @@ var Sl = {
7776
7801
  onClick: n[0] ||= (e) => at(!h.value),
7777
7802
  class: y(e.hideChart || h.value ? "pv-hide" : "")
7778
7803
  }, null, 8, ["class"]),
7779
- s("div", { class: y(e.hideChart || !h.value ? "pv-hide" : "pv-space-between") }, [s("div", Hl, [u(rn, {
7804
+ s("div", { class: y(e.hideChart || !h.value ? "pv-hide" : "pv-space-between") }, [s("div", Ul, [u(rn, {
7780
7805
  name: "chart-line",
7781
7806
  size: 20,
7782
7807
  class: "pv-text-subdued"
@@ -7801,7 +7826,7 @@ var Sl = {
7801
7826
  "rowGroupLimit",
7802
7827
  "use-combined-button",
7803
7828
  "chart-config-options"
7804
- ]), s("div", Ul, [u(Kt, {
7829
+ ]), s("div", Wl, [u(Kt, {
7805
7830
  ref_key: "pvChartRef",
7806
7831
  ref: m,
7807
7832
  isLoading: rt.value,
@@ -7811,7 +7836,7 @@ var Sl = {
7811
7836
  "isLoading",
7812
7837
  "options",
7813
7838
  "enableFocusView"
7814
- ]), s("div", Wl, [te.value ? (E(), o("div", Gl, [(E(), i(M(e.emptyChartFilterRenderer)))])) : it.value ? (E(), o("p", Kl, P($e.value), 1)) : a("", !0)])])], 2)
7839
+ ]), s("div", Gl, [te.value ? (E(), o("div", Kl, [(E(), i(M(e.emptyChartFilterRenderer)))])) : it.value ? (E(), o("p", ql, P($e.value), 1)) : a("", !0)])])], 2)
7815
7840
  ])),
7816
7841
  u(tl, _({
7817
7842
  ref_key: "pvDataTableRef",
@@ -7842,7 +7867,7 @@ var Sl = {
7842
7867
  }, 16, ["filterTeleportLocation", "pagination"])
7843
7868
  ]));
7844
7869
  }
7845
- }), Jl = {
7870
+ }), Yl = {
7846
7871
  type: "Feature",
7847
7872
  properties: { name: "Hawaii" },
7848
7873
  geometry: {
@@ -8016,7 +8041,7 @@ var Sl = {
8016
8041
  ]]
8017
8042
  ]
8018
8043
  }
8019
- }, Yl = {
8044
+ }, Xl = {
8020
8045
  type: "Feature",
8021
8046
  properties: { name: "Alaska" },
8022
8047
  geometry: {
@@ -8429,7 +8454,7 @@ var Sl = {
8429
8454
  ]]
8430
8455
  ]
8431
8456
  }
8432
- }, Xl = "_FeatureMin", Zl = "_FeatureMax", Ql = (e) => tu[e] || e, $l = Yl, eu = Jl, tu = {
8457
+ }, Zl = "_FeatureMin", Ql = "_FeatureMax", $l = (e) => nu[e] || e, eu = Xl, tu = Yl, nu = {
8433
8458
  AL: "Alabama",
8434
8459
  AK: "Alaska",
8435
8460
  AZ: "Arizona",
@@ -8480,7 +8505,7 @@ var Sl = {
8480
8505
  WV: "West Virginia",
8481
8506
  WI: "Wisconsin",
8482
8507
  WY: "Wyoming"
8483
- }, nu = { state: {
8508
+ }, ru = { state: {
8484
8509
  type: "FeatureCollection",
8485
8510
  features: [
8486
8511
  {
@@ -8489,7 +8514,7 @@ var Sl = {
8489
8514
  type: "Polygon",
8490
8515
  coordinates: [[[-79.477, 39.721], [-79.477, 39.721]]]
8491
8516
  },
8492
- properties: { name: Xl }
8517
+ properties: { name: Zl }
8493
8518
  },
8494
8519
  {
8495
8520
  type: "Feature",
@@ -8497,7 +8522,7 @@ var Sl = {
8497
8522
  type: "Polygon",
8498
8523
  coordinates: [[[-79.477, 39.721], [-79.477, 39.721]]]
8499
8524
  },
8500
- properties: { name: Zl }
8525
+ properties: { name: Ql }
8501
8526
  },
8502
8527
  {
8503
8528
  type: "Feature",
@@ -9683,7 +9708,7 @@ var Sl = {
9683
9708
  },
9684
9709
  properties: { name: "Michigan" }
9685
9710
  },
9686
- eu,
9711
+ tu,
9687
9712
  {
9688
9713
  type: "Feature",
9689
9714
  geometry: {
@@ -10627,7 +10652,7 @@ var Sl = {
10627
10652
  },
10628
10653
  properties: { name: "New Hampshire" }
10629
10654
  },
10630
- $l,
10655
+ eu,
10631
10656
  {
10632
10657
  type: "Feature",
10633
10658
  geometry: {
@@ -10691,12 +10716,12 @@ var Sl = {
10691
10716
  properties: { name: "Rhode Island" }
10692
10717
  }
10693
10718
  ]
10694
- } }, ru = (e, t, n, r, i) => {
10719
+ } }, iu = (e, t, n, r, i) => {
10695
10720
  if (e.length === 0) return [];
10696
10721
  if (t !== "state") throw Error(`Unsupported topology type: ${t}`);
10697
10722
  if (!e.every((e) => e.hasOwnProperty(t))) throw Error(`Input data must contain the field: ${t}`);
10698
10723
  let a = e.map((e) => {
10699
- let n = Ql(e[t]);
10724
+ let n = $l(e[t]);
10700
10725
  return {
10701
10726
  ...e,
10702
10727
  [t]: e[t],
@@ -10704,22 +10729,22 @@ var Sl = {
10704
10729
  };
10705
10730
  });
10706
10731
  return a.push({
10707
- [t]: Xl,
10732
+ [t]: Zl,
10708
10733
  [n]: r,
10709
- name: Xl
10734
+ name: Zl
10710
10735
  }), a.push({
10711
- [t]: Zl,
10736
+ [t]: Ql,
10712
10737
  [n]: i,
10713
- name: Zl
10738
+ name: Ql
10714
10739
  }), a;
10715
- }, iu = (e) => {
10716
- let t = nu[e];
10740
+ }, au = (e) => {
10741
+ let t = ru[e];
10717
10742
  if (!t) throw Error(`No topology object found for type: ${e}`);
10718
10743
  return t;
10719
- }, au = () => ({
10720
- getTopologyObject: iu,
10721
- buildMapData: ru
10722
- }), ou = { style: { width: "30%" } }, su = ["min", "max"], cu = { class: "pv-flex pv-space-between pv-text-body-xxs pv-text-subdued" }, lu = /* @__PURE__ */ d({
10744
+ }, ou = () => ({
10745
+ getTopologyObject: au,
10746
+ buildMapData: iu
10747
+ }), su = { style: { width: "30%" } }, cu = ["min", "max"], lu = { class: "pv-flex pv-space-between pv-text-body-xxs pv-text-subdued" }, uu = /* @__PURE__ */ d({
10723
10748
  __name: "MapGradient",
10724
10749
  props: {
10725
10750
  min: { default: 0 },
@@ -10728,7 +10753,7 @@ var Sl = {
10728
10753
  },
10729
10754
  setup(e) {
10730
10755
  let t = e, n = (e) => t.valueFormatter ? t.valueFormatter(e) : e.toLocaleString("en-US");
10731
- return (t, r) => (E(), o("div", ou, [s("div", {
10756
+ return (t, r) => (E(), o("div", su, [s("div", {
10732
10757
  min: e.min,
10733
10758
  max: e.max,
10734
10759
  "aria-hidden": "true",
@@ -10740,9 +10765,9 @@ var Sl = {
10740
10765
  "border-radius": "1rem",
10741
10766
  height: "0.5rem"
10742
10767
  }
10743
- }, null, 8, su), s("div", cu, [s("p", null, P(n(e.min)), 1), s("p", null, P(n(e.max)), 1)])]));
10768
+ }, null, 8, cu), s("div", lu, [s("p", null, P(n(e.min)), 1), s("p", null, P(n(e.max)), 1)])]));
10744
10769
  }
10745
- }), uu = /* @__PURE__ */ d({
10770
+ }), du = /* @__PURE__ */ d({
10746
10771
  __name: "MapRegionSelector",
10747
10772
  props: /* @__PURE__ */ g({
10748
10773
  topologyType: {},
@@ -10758,8 +10783,8 @@ var Sl = {
10758
10783
  setup(e) {
10759
10784
  let t = L(e, "modelValue"), n = O(void 0), a = e, o = r(() => {
10760
10785
  if (a.topologyType !== "state") throw Error(`Unsupported topology type for state selector: ${a.topologyType}`);
10761
- return (a.selectableRegions ? a.selectableRegions : Object.keys(tu)).map((e) => ({
10762
- text: Ql(e),
10786
+ return (a.selectableRegions ? a.selectableRegions : Object.keys(nu)).map((e) => ({
10787
+ text: $l(e),
10763
10788
  id: e
10764
10789
  }));
10765
10790
  });
@@ -10781,10 +10806,10 @@ var Sl = {
10781
10806
  "options"
10782
10807
  ]));
10783
10808
  }
10784
- }), du = {
10809
+ }), fu = {
10785
10810
  class: "pv-flex pv-space-between pv-stack-20",
10786
10811
  style: { width: "100%" }
10787
- }, fu = /* @__PURE__ */ d({
10812
+ }, pu = /* @__PURE__ */ d({
10788
10813
  __name: "PvMapChart",
10789
10814
  props: /* @__PURE__ */ g({
10790
10815
  seriesKey: {},
@@ -10818,7 +10843,7 @@ var Sl = {
10818
10843
  }),
10819
10844
  emits: /* @__PURE__ */ g(["region-selection-changed"], ["update:chartData", "update:selectedRegion"]),
10820
10845
  setup(e, { emit: n }) {
10821
- let i = e, a = L(e, "chartData"), c = L(e, "selectedRegion"), l = n, { getTopologyObject: d, buildMapData: f } = au(), p = r(() => d(i.mapType)), m = r(() => f(a.value, i.mapType, i.seriesKey, i.gradientLegendMin, i.gradientLegendMax)), h = r(() => m.value.filter((e) => e[i.mapType] !== "_FeatureMin" && e[i.mapType] !== "_FeatureMax").map((e) => e[i.mapType]));
10846
+ let i = e, a = L(e, "chartData"), c = L(e, "selectedRegion"), l = n, { getTopologyObject: d, buildMapData: f } = ou(), p = r(() => d(i.mapType)), m = r(() => f(a.value, i.mapType, i.seriesKey, i.gradientLegendMin, i.gradientLegendMax)), h = r(() => m.value.filter((e) => e[i.mapType] !== "_FeatureMin" && e[i.mapType] !== "_FeatureMax").map((e) => e[i.mapType]));
10822
10847
  V(c, (e) => {
10823
10848
  l("region-selection-changed", { region: e });
10824
10849
  });
@@ -10858,7 +10883,7 @@ var Sl = {
10858
10883
  overlays: { noData: { text: i.noDataMessage || "No data to display" } },
10859
10884
  gradientLegend: { enabled: !1 }
10860
10885
  }));
10861
- return (n, r) => (E(), o(t, null, [s("div", du, [u(uu, {
10886
+ return (n, r) => (E(), o(t, null, [s("div", fu, [u(du, {
10862
10887
  modelValue: c.value,
10863
10888
  "onUpdate:modelValue": r[0] ||= (e) => c.value = e,
10864
10889
  "selectable-regions": h.value,
@@ -10867,7 +10892,7 @@ var Sl = {
10867
10892
  "modelValue",
10868
10893
  "selectable-regions",
10869
10894
  "topology-type"
10870
- ]), u(lu, {
10895
+ ]), u(uu, {
10871
10896
  min: e.gradientLegendMin,
10872
10897
  max: e.gradientLegendMax,
10873
10898
  "value-formatter": e.seriesValueFormatter
@@ -10884,6 +10909,6 @@ var Sl = {
10884
10909
  }
10885
10910
  });
10886
10911
  //#endregion
10887
- export { Kt as PvChart, tl as PvDataTable, ql as PvDataTableWithChart, fu as PvMapChart, Os as constructAdvancedFilterCondition, ks as convertFilterModelToAdvanced, ec as excludeValueFromSetFilter, Fs as filterModelContainsColId, Gs as filterModelsEqual, Xs as getSelectedValues, Js as getSelectedValuesFromAdvancedFilterModel, Vs as getSelectedValuesFromFilterModel, Ys as getSelectedValuesFromFilterModelByColId, Hs as isAdvancedFilterModel, Ws as isFilterModelEmpty, Ks as mergeAdvancedFilterCondition, Is as mergeFilterModels, Zs as removeColumnFilter, qs as removeColumnFromAdvancedFilter, $s as updateMultiOrSetFilter, Qs as updateSetFilter };
10912
+ export { Kt as PvChart, tl as PvDataTable, Jl as PvDataTableWithChart, pu as PvMapChart, Os as constructAdvancedFilterCondition, ks as convertFilterModelToAdvanced, ec as excludeValueFromSetFilter, Fs as filterModelContainsColId, Gs as filterModelsEqual, Xs as getSelectedValues, Js as getSelectedValuesFromAdvancedFilterModel, Vs as getSelectedValuesFromFilterModel, Ys as getSelectedValuesFromFilterModelByColId, Hs as isAdvancedFilterModel, Ws as isFilterModelEmpty, Ks as mergeAdvancedFilterCondition, Is as mergeFilterModels, Zs as removeColumnFilter, qs as removeColumnFromAdvancedFilter, $s as updateMultiOrSetFilter, Qs as updateSetFilter };
10888
10913
 
10889
10914
  //# sourceMappingURL=pv-components-visualizations.mjs.map