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