@turquoisehealth/pit-viper 2.241.1-dev.0 → 2.241.1-dev.2
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/ai/components/base/PvSortableList/types.d.ts +6 -0
- package/pv-components/dist/vue/base/components/base/PvSortableList/types.d.ts +6 -0
- package/pv-components/dist/vue/visualizations/components/base/PvSortableList/PvSortableList.vue.d.ts +8 -11
- package/pv-components/dist/vue/visualizations/components/base/PvSortableList/types.d.ts +6 -0
- package/pv-components/dist/vue/visualizations/components/charts/PvDataTableWithChart/table-chart-components/PvChartOptionsPanel.vue.d.ts +5 -6
- package/pv-components/dist/vue/visualizations/components/charts/PvDataTableWithChart/types.d.ts +9 -12
- package/pv-components/dist/vue/visualizations/pv-components-visualizations.mjs +275 -284
- 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-61f3afec]{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-61f3afec]{display:flex;overflow:hidden}.pv-scatter-quadrant-box[data-v-61f3afec]{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-61f3afec]{grid-area:1/1;justify-content:flex-start;align-items:flex-start;padding:5px}.pv-scatter-quadrant-top-right[data-v-61f3afec]{grid-area:1/2;justify-content:flex-end;align-items:flex-start;padding:5px}.pv-scatter-quadrant-bottom-left[data-v-61f3afec]{grid-area:2/1;justify-content:flex-start;align-items:flex-end;padding:5px}.pv-scatter-quadrant-bottom-right[data-v-61f3afec]{grid-area:2/2;justify-content:flex-end;align-items:flex-end;padding:5px}.pv-chart-loading[data-v-61f3afec]{text-align:center;opacity:1;background-color:var(--color-background-body,white);z-index:4;justify-content:center;align-items:center;width:100%;height:100%;position:absolute;top:0;left:0}.pv-chart-loading-icon[data-v-61f3afec]{color:var(--color-text-brand,#16696d);animation:1.5s ease-in-out infinite pulse-61f3afec}@keyframes pulse-61f3afec{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-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-9130f2b2]{pointer-events:none;color:#7d898d;border-radius:4px}.pv-menu-item-disabled .pv-menu-item-action[data-v-9130f2b2]{pointer-events:auto;display:inline-flex}.pv-menu-item{&[data-v-9130f2b2]{cursor:pointer;border-radius:var(--popover-list-item-radius,4px);transition-property:background-color;transition-duration:.15s}&[data-v-9130f2b2]:hover,&[data-v-9130f2b2]:focus-visible{background-color:var(--popover-list-item-hover-background-color,#f5f5f5)}&[data-v-9130f2b2]:active{background-color:var(--popover-list-item-pressed-background-color,#ebebeb)}}.pv-radio[data-v-9130f2b2]:indeterminate{background-color:unset!important;border-color:var(--color-border,#e3e7ea)!important}.pv-menu-item-expand-chevron[data-v-9130f2b2]{flex-shrink:0;margin-left:auto;padding:4px}.pv-menu-item-disabled .pv-menu-item-expand-chevron[data-v-9130f2b2]{pointer-events:auto;color:inherit}.pv-popover-list[data-v-fe6e9c6a]{font-size:14px}.pv-popover-pinned-sections[data-v-fe6e9c6a]{flex-direction:column;display:flex;overflow:hidden}.pv-popover-pinned-sections .pv-popover-list[data-v-fe6e9c6a]{overflow-y:auto}.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-bb8eae3f]{background-color:var(--button-icon-pressed-background-color,#c7d8db)}.pv-select[data-v-bb8eae3f]{padding-top:4px;padding-bottom:4px}.dots-button[data-v-cfa4cb54]{color:var(--color-text-subdued,#4b595c);background-color:#0000}.input-icon-position{pointer-events:none;position:absolute;top:8px;left:12px}.pv-query-builder-input-wrapper[data-v-62aa7767]{background:var(--color-background-accent,var(--secondary-lighten-8,#f7f8f8));border-radius:var(--corner-radius-M,4px);border:1px solid var(--color-border,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-62aa7767]{--button-small-icon-only-padding:.0625rem;min-height:1.5rem;padding-block:.0625rem}.pv-query-builder-input[data-v-62aa7767]{justify-content:start;overflow-x:hidden}.pv-query-builder-input-wrapper input[data-v-62aa7767]{background:0 0;border:none;outline:none;flex:1rem;min-width:1rem;font-size:.75rem}.pv-query-builder-group-label[data-v-62aa7767]{padding:.5rem .5rem .25rem;font-weight:500;display:block}.pv-query-builder-option-active[data-v-62aa7767]{background-color:var(--popover-list-item-hover-background-color,#f5f5f5);border-radius:var(--popover-list-item-radius,4px)}.pv-query-builder-input-wrapper[data-v-62aa7767]: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-b4740f96]{cursor:default;background-image:none}.ag-custom-header-cell[data-v-ec17105d]{align-items:center;height:100%}.ag-header-actions .ag-header-cell-menu-button[data-v-ec17105d]{opacity:0;transition:opacity .2s ease-in-out}.ag-header-cell-menu-button:hover .ag-header-actions .ag-header-cell-menu-button[data-v-ec17105d],.ag-header-cell-menu-button:focus .ag-header-actions .ag-header-cell-menu-button[data-v-ec17105d]{opacity:1}.ag-custom-header-cell-with-agg-selector{height:100%;margin-inline:calc(var(--ag-cell-horizontal-padding) * -1);width:calc(100% + var(--ag-cell-horizontal-padding) * 2);position:relative}.ag-header-agg-func-selector{--button-ghost-hover-background-color:var(--ag-header-cell-hover-background-color,var(--color-background-accent,#f7f8f8));position:absolute;inset:0}.ag-header-agg-func-selector>div,.ag-header-agg-func-selector .pv-select-button-trigger{height:100%}.ag-header-agg-func-selector .pv-select-button-trigger{padding-inline:var(--ag-cell-horizontal-padding);border-radius:0;justify-content:flex-end}.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,.pv-data-table-grouped-card .ag-row-group-expanded .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-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-data-table-classic .ag-row-last{border-bottom:none!important}.pv-data-table-classic .ag-header-cell-resize{opacity:0;transition:opacity .2s}.pv-data-table-classic .ag-header-cell:hover .ag-header-cell-resize{opacity:1}.pv-text-tertiary[data-v-d88dff69]{color:var(--color-text-quaternary,#89989b)}.pv-button-placeholder[data-v-d88dff69]{width:24px;height:24px}.pv-sort-option[data-v-d88dff69]{--flex-gap:4px;cursor:grab;min-height:24px}.pv-sort-option-locked[data-v-d88dff69]{cursor:default}.pv-menu-item-disabled[data-v-d88dff69]{pointer-events:none;color:var(--text-input-disabled-text-color,#7d898d)}.placeholder-zone[data-v-d88dff69]{transition:background-color .2s}.pv-placeholder-dropzone[data-v-d88dff69]{justify-content:center;align-items:center;padding:8px 4px;transition:all .2s;border-style:dashed!important;border-color:var(--color-border,#e3e7ea)!important}.placeholder-zone.placeholder-drag-over .pv-placeholder-dropzone[data-v-d88dff69]{background:#f0f9f9;border-color:var(--color-border-brand,#16696d)!important}.sort-divider-container[data-v-d88dff69]{display:flex}.sort-divider[data-v-d88dff69]{border-top:1px solid var(--color-border,#e3e7ea);flex:1;margin:1rem 0;position:relative}.sort-divider[data-v-d88dff69]:after{content:attr(data-label);background:var(--color-background-body,#fff);font-size:inherit;white-space:nowrap;padding:0 .5em;display:inline-block;position:absolute;top:50%;left:50%;transform:translate(-50%,-50%)}[data-v-6bed4930] .pv-legacy-chart-menu-nested:after{content:"›";margin-left:auto}[data-v-6bed4930] .pv-legacy-chart-menu-nested-active{background-color:var(--popover-list-selected-item-background-color,#e4f8f6)}[data-v-6bed4930] .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-61f3afec]{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-61f3afec]{display:flex;overflow:hidden}.pv-scatter-quadrant-box[data-v-61f3afec]{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-61f3afec]{grid-area:1/1;justify-content:flex-start;align-items:flex-start;padding:5px}.pv-scatter-quadrant-top-right[data-v-61f3afec]{grid-area:1/2;justify-content:flex-end;align-items:flex-start;padding:5px}.pv-scatter-quadrant-bottom-left[data-v-61f3afec]{grid-area:2/1;justify-content:flex-start;align-items:flex-end;padding:5px}.pv-scatter-quadrant-bottom-right[data-v-61f3afec]{grid-area:2/2;justify-content:flex-end;align-items:flex-end;padding:5px}.pv-chart-loading[data-v-61f3afec]{text-align:center;opacity:1;background-color:var(--color-background-body,white);z-index:4;justify-content:center;align-items:center;width:100%;height:100%;position:absolute;top:0;left:0}.pv-chart-loading-icon[data-v-61f3afec]{color:var(--color-text-brand,#16696d);animation:1.5s ease-in-out infinite pulse-61f3afec}@keyframes pulse-61f3afec{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-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-9130f2b2]{pointer-events:none;color:#7d898d;border-radius:4px}.pv-menu-item-disabled .pv-menu-item-action[data-v-9130f2b2]{pointer-events:auto;display:inline-flex}.pv-menu-item{&[data-v-9130f2b2]{cursor:pointer;border-radius:var(--popover-list-item-radius,4px);transition-property:background-color;transition-duration:.15s}&[data-v-9130f2b2]:hover,&[data-v-9130f2b2]:focus-visible{background-color:var(--popover-list-item-hover-background-color,#f5f5f5)}&[data-v-9130f2b2]:active{background-color:var(--popover-list-item-pressed-background-color,#ebebeb)}}.pv-radio[data-v-9130f2b2]:indeterminate{background-color:unset!important;border-color:var(--color-border,#e3e7ea)!important}.pv-menu-item-expand-chevron[data-v-9130f2b2]{flex-shrink:0;margin-left:auto;padding:4px}.pv-menu-item-disabled .pv-menu-item-expand-chevron[data-v-9130f2b2]{pointer-events:auto;color:inherit}.pv-popover-list[data-v-fe6e9c6a]{font-size:14px}.pv-popover-pinned-sections[data-v-fe6e9c6a]{flex-direction:column;display:flex;overflow:hidden}.pv-popover-pinned-sections .pv-popover-list[data-v-fe6e9c6a]{overflow-y:auto}.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-bb8eae3f]{background-color:var(--button-icon-pressed-background-color,#c7d8db)}.pv-select[data-v-bb8eae3f]{padding-top:4px;padding-bottom:4px}.dots-button[data-v-cfa4cb54]{color:var(--color-text-subdued,#4b595c);background-color:#0000}.input-icon-position{pointer-events:none;position:absolute;top:8px;left:12px}.pv-query-builder-input-wrapper[data-v-62aa7767]{background:var(--color-background-accent,var(--secondary-lighten-8,#f7f8f8));border-radius:var(--corner-radius-M,4px);border:1px solid var(--color-border,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-62aa7767]{--button-small-icon-only-padding:.0625rem;min-height:1.5rem;padding-block:.0625rem}.pv-query-builder-input[data-v-62aa7767]{justify-content:start;overflow-x:hidden}.pv-query-builder-input-wrapper input[data-v-62aa7767]{background:0 0;border:none;outline:none;flex:1rem;min-width:1rem;font-size:.75rem}.pv-query-builder-group-label[data-v-62aa7767]{padding:.5rem .5rem .25rem;font-weight:500;display:block}.pv-query-builder-option-active[data-v-62aa7767]{background-color:var(--popover-list-item-hover-background-color,#f5f5f5);border-radius:var(--popover-list-item-radius,4px)}.pv-query-builder-input-wrapper[data-v-62aa7767]: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-b4740f96]{cursor:default;background-image:none}.ag-custom-header-cell[data-v-ec17105d]{align-items:center;height:100%}.ag-header-actions .ag-header-cell-menu-button[data-v-ec17105d]{opacity:0;transition:opacity .2s ease-in-out}.ag-header-cell-menu-button:hover .ag-header-actions .ag-header-cell-menu-button[data-v-ec17105d],.ag-header-cell-menu-button:focus .ag-header-actions .ag-header-cell-menu-button[data-v-ec17105d]{opacity:1}.ag-custom-header-cell-with-agg-selector{height:100%;margin-inline:calc(var(--ag-cell-horizontal-padding) * -1);width:calc(100% + var(--ag-cell-horizontal-padding) * 2);position:relative}.ag-header-agg-func-selector{--button-ghost-hover-background-color:var(--ag-header-cell-hover-background-color,var(--color-background-accent,#f7f8f8));position:absolute;inset:0}.ag-header-agg-func-selector>div,.ag-header-agg-func-selector .pv-select-button-trigger{height:100%}.ag-header-agg-func-selector .pv-select-button-trigger{padding-inline:var(--ag-cell-horizontal-padding);border-radius:0;justify-content:flex-end}.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,.pv-data-table-grouped-card .ag-row-group-expanded .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-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-data-table-classic .ag-row-last{border-bottom:none!important}.pv-data-table-classic .ag-header-cell-resize{opacity:0;transition:opacity .2s}.pv-data-table-classic .ag-header-cell:hover .ag-header-cell-resize{opacity:1}.pv-text-tertiary[data-v-5ce88d45]{color:var(--color-text-quaternary,#89989b)}.pv-button-placeholder[data-v-5ce88d45]{width:24px;height:24px}.pv-sort-option[data-v-5ce88d45]{--flex-gap:4px;cursor:grab;min-height:24px}.pv-sort-option-locked[data-v-5ce88d45]{cursor:default}.pv-menu-item-disabled[data-v-5ce88d45]{pointer-events:none;color:var(--text-input-disabled-text-color,#7d898d)}.placeholder-zone[data-v-5ce88d45]{transition:background-color .2s}.pv-placeholder-dropzone[data-v-5ce88d45]{justify-content:center;align-items:center;padding:8px 4px;transition:all .2s;border-style:dashed!important;border-color:var(--color-border,#e3e7ea)!important}.placeholder-zone.placeholder-drag-over .pv-placeholder-dropzone[data-v-5ce88d45]{background:#f0f9f9;border-color:var(--color-border-brand,#16696d)!important}.sort-divider-container[data-v-5ce88d45]{display:flex}.sort-divider[data-v-5ce88d45]{border-top:1px solid var(--color-border,#e3e7ea);flex:1;margin:1rem 0;position:relative}.sort-divider[data-v-5ce88d45]:after{content:attr(data-label);background:var(--color-background-body,#fff);font-size:inherit;white-space:nowrap;padding:0 .5em;display:inline-block;position:absolute;top:50%;left:50%;transform:translate(-50%,-50%)}[data-v-8feeccf1] .pv-legacy-chart-menu-nested:after{content:"›";margin-left:auto}[data-v-8feeccf1] .pv-legacy-chart-menu-nested-active{background-color:var(--popover-list-selected-item-background-color,#e4f8f6)}[data-v-8feeccf1] .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 ee, toDisplayString as P, toHandlers as F, toRaw as I, toRef as L, unref as R, useAttrs as z, useId as te, useModel as B, useSlots as ne, useTemplateRef as V, vModelCheckbox as re, vModelText as H, vShow as ie, watch as U, withCtx as W, withDirectives as ae, withKeys as oe, withModifiers as G } from "vue";
|
|
4
4
|
import { AgCharts as se } from "ag-charts-vue3";
|
|
@@ -6,7 +6,7 @@ import { LicenseManager as ce } from "ag-charts-enterprise";
|
|
|
6
6
|
import { onClickOutside as le, onKeyStroke as ue, toRef as K, useDebounceFn as de, useElementBounding as q, useElementHover as fe, useElementSize as pe, useToggle as J, watchDebounced as me } from "@vueuse/core";
|
|
7
7
|
import { useSortable as Y } from "@vueuse/integrations/useSortable.mjs";
|
|
8
8
|
import { AgGridVue as he } from "ag-grid-vue3";
|
|
9
|
-
import { CellStyleModule as ge, CheckboxEditorModule as _e, ClientSideRowModelModule as ve, ColumnApiModule as ye, ColumnAutoSizeModule as be, CsvExportModule as xe, CustomEditorModule as Se, CustomFilterModule as Ce, DateEditorModule as we, EventApiModule as Te, GridStateModule as Ee, LargeTextEditorModule as De, NumberEditorModule as Oe, PaginationModule as ke, QuickFilterModule as Ae, RowApiModule as je, RowStyleModule as X, ScrollApiModule as Me, SelectEditorModule as
|
|
9
|
+
import { CellStyleModule as ge, CheckboxEditorModule as _e, ClientSideRowModelModule as ve, ColumnApiModule as ye, ColumnAutoSizeModule as be, CsvExportModule as xe, CustomEditorModule as Se, CustomFilterModule as Ce, DateEditorModule as we, EventApiModule as Te, GridStateModule as Ee, LargeTextEditorModule as De, NumberEditorModule as Oe, PaginationModule as ke, QuickFilterModule as Ae, RowApiModule as je, RowStyleModule as X, ScrollApiModule as Me, SelectEditorModule as Ne, TextEditorModule as Pe, TextFilterModule as Fe, UndoRedoEditModule as Z, themeQuartz as Ie } from "ag-grid-community";
|
|
10
10
|
import { AdvancedFilterModule as Le, CellSelectionModule as Re, ClientSideRowModelApiModule as ze, ClipboardModule as Be, ColumnMenuModule as Ve, ContextMenuModule as He, LicenseManager as Ue, MultiFilterModule as We, RenderApiModule as Ge, RichSelectModule as Ke, RowGroupingModule as qe, RowSelectionModule as Je, ServerSideRowModelApiModule as Ye, ServerSideRowModelModule as Xe, SetFilterModule as Ze, TooltipModule as Qe, ValidationModule as $e } from "ag-grid-enterprise";
|
|
11
11
|
import et from "papaparse";
|
|
12
12
|
import { vOnClickOutside as Q } from "@vueuse/components";
|
|
@@ -10100,7 +10100,7 @@ var id = { style: { "line-height": "20px" } }, ad = { class: "pv-text-subdued pv
|
|
|
10100
10100
|
return [...n, ...i];
|
|
10101
10101
|
}
|
|
10102
10102
|
return Be(e);
|
|
10103
|
-
}), oe = r(() => _.value[q.value] ?? !1), G = r(() => A.value || $(t.value).prefetchFilterValues === !0), se = r(() => (o?.value ?? !1) && (s?.value ?? !1) && W.value.length === 0 &&
|
|
10103
|
+
}), oe = r(() => _.value[q.value] ?? !1), G = r(() => A.value || $(t.value).prefetchFilterValues === !0), se = r(() => (o?.value ?? !1) && (s?.value ?? !1) && W.value.length === 0 && Pe.value.length === 0), ce = r(() => o?.value ?? !1), le = r(() => ce.value && (s?.value ?? !1)), ue = r({
|
|
10104
10104
|
get: () => R.value[q.value] ?? "",
|
|
10105
10105
|
set: (e) => S(q.value, e)
|
|
10106
10106
|
}), K = r(() => $(t.value).filterSearchMinLength ?? M.value), de = r(() => {
|
|
@@ -10109,10 +10109,10 @@ var id = { style: { "line-height": "20px" } }, ad = { class: "pv-text-subdued pv
|
|
|
10109
10109
|
}), q = r(() => t.value.field || ""), fe = r(() => t.value.filter || ""), pe = r(() => t.value.headerName || ""), J = r(() => n?.value === "vertical"), Y = k(!1), he = k(!1), ge = k([]), _e = r(() => bs(t.value)), ve = r(() => xs(t.value)), ye = r(() => Ss(t.value)), be = r(() => $(t.value).filterOptionsSortDescription), xe = r(() => $(t.value).filterOptionsSortTooltip), Se = r(() => {
|
|
10110
10110
|
let e = $(t.value).filterSearch;
|
|
10111
10111
|
return typeof e == "boolean" ? e : $(t.value).dataType !== ms.Boolean;
|
|
10112
|
-
}), Ce = r(() => $(t.value).emptyFilterResultsRenderer), we = r(() => $(t.value).filterOptionsLoadingText), Te = r(() => $(t.value).filterOptionsRenderer), Ee = r(() => $(t.value).filterHeaderRenderer), De = r(() => $(t.value).filterFooterRenderer), Oe = r(() => ve.value ? W.value.length >= ve.value : !1), ke = r(() => ae.value.filter((e) => e != null && !W.value.includes(e))), Ae = r(() => ce.value ? void 0 : te.value[q.value]), je = r(() => ce.value ? !1 : z.value[q.value]), X = r(() => Os(t.value)), Me = () => new Set([q.value, ...Es(t.value)]),
|
|
10112
|
+
}), Ce = r(() => $(t.value).emptyFilterResultsRenderer), we = r(() => $(t.value).filterOptionsLoadingText), Te = r(() => $(t.value).filterOptionsRenderer), Ee = r(() => $(t.value).filterHeaderRenderer), De = r(() => $(t.value).filterFooterRenderer), Oe = r(() => ve.value ? W.value.length >= ve.value : !1), ke = r(() => ae.value.filter((e) => e != null && !W.value.includes(e))), Ae = r(() => ce.value ? void 0 : te.value[q.value]), je = r(() => ce.value ? !1 : z.value[q.value]), X = r(() => Os(t.value)), Me = () => new Set([q.value, ...Es(t.value)]), Ne = (e, t) => {
|
|
10113
10113
|
let n = new Set(e), r = new Set(t);
|
|
10114
10114
|
return n.size === r.size ? [...n].every((e) => r.has(e)) : !1;
|
|
10115
|
-
},
|
|
10115
|
+
}, Pe = k([]), Fe = k("[]"), Z = r(() => ae.value.length === 1 && ae.value[0] === null && W.value.length === 0), Ie = (e = !1) => {
|
|
10116
10116
|
if (X.value) return;
|
|
10117
10117
|
let n = [];
|
|
10118
10118
|
if (ie.value && l.value) {
|
|
@@ -10125,9 +10125,9 @@ var id = { style: { "line-height": "20px" } }, ad = { class: "pv-text-subdued pv
|
|
|
10125
10125
|
for (let r of n) if (r.id === String(e) && r.state === "selected" || r.children && t(r.children)) return !0;
|
|
10126
10126
|
return !1;
|
|
10127
10127
|
};
|
|
10128
|
-
return t(
|
|
10128
|
+
return t(Pe.value);
|
|
10129
10129
|
}, Re = (e, t) => {
|
|
10130
|
-
let n =
|
|
10130
|
+
let n = Pe.value.find((t) => t.id === String(e));
|
|
10131
10131
|
return n?.state === "selected" ? !n.children?.some((e) => e.id === String(t) && e.state === "deselected") : Le(t);
|
|
10132
10132
|
}, ze = (e, t) => (t == null ? Le(e.id) : Re(t, e.id)) ? !0 : (e.children ?? []).some((t) => ze(t, e.id)), Be = (e) => [...e].sort((e, t) => {
|
|
10133
10133
|
let n = W.value.includes(e) || Le(e), r = W.value.includes(t) || Le(t);
|
|
@@ -10183,7 +10183,7 @@ var id = { style: { "line-height": "20px" } }, ad = { class: "pv-text-subdued pv
|
|
|
10183
10183
|
if (!$(t.value).metadataDisplayFields?.length) return !1;
|
|
10184
10184
|
let r = y(q.value, e);
|
|
10185
10185
|
return r == null || r.label == null;
|
|
10186
|
-
}, Xe = (e) =>
|
|
10186
|
+
}, Xe = (e) => Z.value || y(q.value, e)?.isSelectable === !1 ? !0 : ye.value ? !1 : Oe.value && !W.value.includes(e), Ze = (e) => e ? l.value && l.value.getColumnDef(e)?.headerName || e : "", Qe = (e, n, r) => Al({
|
|
10187
10187
|
fallbackSubText: n,
|
|
10188
10188
|
getDisplayName: Ze,
|
|
10189
10189
|
matchedField: e?.matchedField,
|
|
@@ -10262,7 +10262,7 @@ var id = { style: { "line-height": "20px" } }, ad = { class: "pv-text-subdued pv
|
|
|
10262
10262
|
u.filterValueSelectedMetadataMap.value[q.value] = [...n.values()];
|
|
10263
10263
|
}, dt = () => {
|
|
10264
10264
|
let e = /* @__PURE__ */ new Set();
|
|
10265
|
-
for (let t of
|
|
10265
|
+
for (let t of Pe.value) {
|
|
10266
10266
|
if (t.state !== "selected") continue;
|
|
10267
10267
|
let n = lt(t);
|
|
10268
10268
|
n && e.add(n.value);
|
|
@@ -10469,7 +10469,7 @@ var id = { style: { "line-height": "20px" } }, ad = { class: "pv-text-subdued pv
|
|
|
10469
10469
|
let s = W.value.length > 0 ? W.value : null;
|
|
10470
10470
|
if (r?.skipIfUnchanged) {
|
|
10471
10471
|
let e = wd(t.value, l.value.getFilterModel());
|
|
10472
|
-
if (
|
|
10472
|
+
if (Ne(W.value, e)) return;
|
|
10473
10473
|
}
|
|
10474
10474
|
if (J.value) {
|
|
10475
10475
|
let e = await Cd(l.value, t.value, s);
|
|
@@ -10528,13 +10528,13 @@ var id = { style: { "line-height": "20px" } }, ad = { class: "pv-text-subdued pv
|
|
|
10528
10528
|
for (let [t, i] of n.deselectedChildren) !r.deselectedChildren.has(t) && r.selected.has(i) && wt(t, "select", "click", e);
|
|
10529
10529
|
});
|
|
10530
10530
|
}, Dt = r({
|
|
10531
|
-
get: () =>
|
|
10531
|
+
get: () => Pe.value,
|
|
10532
10532
|
set: (e) => {
|
|
10533
10533
|
if (X.value) {
|
|
10534
10534
|
let t = xt;
|
|
10535
|
-
xt = !1, t || Et(
|
|
10535
|
+
xt = !1, t || Et(Pe.value, e);
|
|
10536
10536
|
}
|
|
10537
|
-
|
|
10537
|
+
Pe.value = e;
|
|
10538
10538
|
}
|
|
10539
10539
|
}), Ot = (e, n, r = "click") => {
|
|
10540
10540
|
let a = null;
|
|
@@ -10550,10 +10550,10 @@ var id = { style: { "line-height": "20px" } }, ad = { class: "pv-text-subdued pv
|
|
|
10550
10550
|
wt(e, "select", r, t);
|
|
10551
10551
|
});
|
|
10552
10552
|
}
|
|
10553
|
-
a != null && (
|
|
10553
|
+
a != null && (Pe.value.find((e) => e.id === a) || (Pe.value = [...Pe.value, {
|
|
10554
10554
|
id: a,
|
|
10555
10555
|
state: "selected"
|
|
10556
|
-
}])), (!j.value || J.value) && (X.value && e ? Pt(
|
|
10556
|
+
}])), (!j.value || J.value) && (X.value && e ? Pt(Pe.value) : n && n !== q.value ? yt(n, [e]) : yt()), i?.();
|
|
10557
10557
|
}, kt = (e, n, r = "click") => {
|
|
10558
10558
|
let a = W.value.includes(e);
|
|
10559
10559
|
if (W.value = W.value.filter((t) => t !== e), e != null && a) {
|
|
@@ -10564,13 +10564,13 @@ var id = { style: { "line-height": "20px" } }, ad = { class: "pv-text-subdued pv
|
|
|
10564
10564
|
}
|
|
10565
10565
|
if (X.value && e) {
|
|
10566
10566
|
let r = n || Es(t.value)[0] || q.value, i = e.startsWith("__") ? e : ot(r, e) || e;
|
|
10567
|
-
|
|
10567
|
+
Pe.value = Pe.value.filter((e) => e.id !== i);
|
|
10568
10568
|
}
|
|
10569
|
-
(!j.value || J.value) && (X.value && e ? Pt(
|
|
10569
|
+
(!j.value || J.value) && (X.value && e ? Pt(Pe.value) : n && n !== q.value ? yt(n, null) : yt()), i?.();
|
|
10570
10570
|
}, At = () => {
|
|
10571
10571
|
ge.value = Be(w(q.value)), Y.value = !0;
|
|
10572
10572
|
}, jt = () => {
|
|
10573
|
-
Y.value = !1, ge.value = [], ue.value = "", xt = !1, !o?.value && j.value && !J.value && (X.value ? Pt(
|
|
10573
|
+
Y.value = !1, ge.value = [], ue.value = "", xt = !1, !o?.value && j.value && !J.value && (X.value ? Pt(Pe.value, { skipIfUnchanged: !0 }) : yt(void 0, void 0, { skipIfUnchanged: !0 }));
|
|
10574
10574
|
}, Mt = async (e) => {
|
|
10575
10575
|
if (!l.value) return;
|
|
10576
10576
|
let n = ae.value.length, r = !e.parentId;
|
|
@@ -10594,10 +10594,10 @@ var id = { style: { "line-height": "20px" } }, ad = { class: "pv-text-subdued pv
|
|
|
10594
10594
|
}), Pt = (e, n) => {
|
|
10595
10595
|
if (!l.value || !X.value) return !1;
|
|
10596
10596
|
let r = JSON.stringify(e);
|
|
10597
|
-
if (n?.skipIfUnchanged && r ===
|
|
10598
|
-
if (
|
|
10597
|
+
if (n?.skipIfUnchanged && r === Fe.value) return Pe.value = e, !1;
|
|
10598
|
+
if (Pe.value = e, ut(e), Es(t.value).length === 0) return !1;
|
|
10599
10599
|
let a = J.value ? h.value : l.value.getAdvancedFilterModel(), o = Nt(e, a);
|
|
10600
|
-
if (n?.skipIfUnchanged && Ad(a, o)) return
|
|
10600
|
+
if (n?.skipIfUnchanged && Ad(a, o)) return Fe.value = r, !1;
|
|
10601
10601
|
if (J.value) h.value = o;
|
|
10602
10602
|
else {
|
|
10603
10603
|
let e = o;
|
|
@@ -10605,7 +10605,7 @@ var id = { style: { "line-height": "20px" } }, ad = { class: "pv-text-subdued pv
|
|
|
10605
10605
|
l.value?.setAdvancedFilterModel(e);
|
|
10606
10606
|
});
|
|
10607
10607
|
}
|
|
10608
|
-
return
|
|
10608
|
+
return Fe.value = r, N(Me(), J.value), i?.(), !0;
|
|
10609
10609
|
}, Ft = (e) => {
|
|
10610
10610
|
if (!X.value || !Es(t.value).length) return;
|
|
10611
10611
|
let n = Dl({
|
|
@@ -10613,14 +10613,14 @@ var id = { style: { "line-height": "20px" } }, ad = { class: "pv-text-subdued pv
|
|
|
10613
10613
|
model: e,
|
|
10614
10614
|
options: rt()
|
|
10615
10615
|
}), r = JSON.stringify(n);
|
|
10616
|
-
JSON.stringify(
|
|
10617
|
-
}, It = () => X.value ?
|
|
10616
|
+
JSON.stringify(Pe.value) !== r && (Pe.value = n), Fe.value = r, ut(n);
|
|
10617
|
+
}, It = () => X.value ? Pe.value.some((e) => {
|
|
10618
10618
|
let { field: t, value: n } = Q(e.id);
|
|
10619
10619
|
return t ? ot(t, n) !== e.id : !1;
|
|
10620
10620
|
}) : !1, Lt = () => {
|
|
10621
10621
|
!X.value || !ie.value || It() && Ft(p.value);
|
|
10622
10622
|
};
|
|
10623
|
-
U(
|
|
10623
|
+
U(Pe, (e) => {
|
|
10624
10624
|
X.value && (ut(e), !(j.value && !J.value) && Pt(e));
|
|
10625
10625
|
}, { deep: !0 }), U(() => O.value[q.value], (e) => {
|
|
10626
10626
|
!e || Y.value || se.value || G.value && Ve(!0);
|
|
@@ -10654,7 +10654,7 @@ var id = { style: { "line-height": "20px" } }, ad = { class: "pv-text-subdued pv
|
|
|
10654
10654
|
let e = wd(t.value, p.value);
|
|
10655
10655
|
Ie(W.value.some((t) => !e.includes(t)));
|
|
10656
10656
|
}, { deep: !0 }), U(() => g.value, () => {
|
|
10657
|
-
W.value = [],
|
|
10657
|
+
W.value = [], Pe.value = [], Fe.value = "[]";
|
|
10658
10658
|
}), U(() => l.value, (e) => {
|
|
10659
10659
|
e && x.value && !Y.value && (O.value[q.value] = !0);
|
|
10660
10660
|
}, { immediate: !0 }), U(() => H.value, async () => {
|
|
@@ -10710,7 +10710,7 @@ var id = { style: { "line-height": "20px" } }, ad = { class: "pv-text-subdued pv
|
|
|
10710
10710
|
}
|
|
10711
10711
|
X.value || $(t.value).metadataDisplayFields?.length && W.value.some((e) => Ye(e)) && Ve(!0, !0);
|
|
10712
10712
|
}), E(() => {
|
|
10713
|
-
F(q.value), j.value && !J.value && (X.value ? Pt(
|
|
10713
|
+
F(q.value), j.value && !J.value && (X.value ? Pt(Pe.value, { skipIfUnchanged: !0 }) : yt(void 0, void 0, { skipIfUnchanged: !0 }));
|
|
10714
10714
|
}), {
|
|
10715
10715
|
selectedValues: W,
|
|
10716
10716
|
filterValues: ae,
|
|
@@ -10743,7 +10743,7 @@ var id = { style: { "line-height": "20px" } }, ad = { class: "pv-text-subdued pv
|
|
|
10743
10743
|
totalOptionCount: Ae,
|
|
10744
10744
|
hasMoreOptions: je,
|
|
10745
10745
|
isAggregate: X,
|
|
10746
|
-
cascadeSelectionState:
|
|
10746
|
+
cascadeSelectionState: Pe,
|
|
10747
10747
|
cascadeSelectionStateModel: Dt,
|
|
10748
10748
|
filterValueContext: y,
|
|
10749
10749
|
formatDisplayValue: Je,
|
|
@@ -11101,19 +11101,19 @@ var id = { style: { "line-height": "20px" } }, ad = { class: "pv-text-subdued pv
|
|
|
11101
11101
|
pe(e, void 0, "remove_chip");
|
|
11102
11102
|
let t = K(e)?.colField || F.value, n = je(e);
|
|
11103
11103
|
Te(n, t) && Oe() && Ee(n);
|
|
11104
|
-
}, Me = m(Eu, k(!1)),
|
|
11104
|
+
}, Me = m(Eu, k(!1)), Ne = r(() => !!$(d.filterColDef).filterGroup && Me.value), Pe = null, Fe = null, Z = () => {
|
|
11105
11105
|
try {
|
|
11106
11106
|
return be.value ? JSON.stringify(xe.value) : JSON.stringify([...C.value].sort());
|
|
11107
11107
|
} catch {
|
|
11108
11108
|
return null;
|
|
11109
11109
|
}
|
|
11110
11110
|
}, Ie = () => {
|
|
11111
|
-
|
|
11111
|
+
Pe = Date.now(), Fe = Z(), Y(), q(!0);
|
|
11112
11112
|
}, Le = () => {
|
|
11113
|
-
let e =
|
|
11114
|
-
Ne = null;
|
|
11115
|
-
let t = Fe(), n = Pe != null && t != null && Pe !== t;
|
|
11113
|
+
let e = Pe == null ? 0 : Date.now() - Pe;
|
|
11116
11114
|
Pe = null;
|
|
11115
|
+
let t = Z(), n = Fe != null && t != null && Fe !== t;
|
|
11116
|
+
Fe = null;
|
|
11117
11117
|
let r = C.value.length;
|
|
11118
11118
|
Ql(() => {
|
|
11119
11119
|
Zl("filter_dropdown_closed", {
|
|
@@ -11225,11 +11225,11 @@ var id = { style: { "line-height": "20px" } }, ad = { class: "pv-text-subdued pv
|
|
|
11225
11225
|
} : void 0]), 1024)])]),
|
|
11226
11226
|
_: 2
|
|
11227
11227
|
}, [
|
|
11228
|
-
R(oe) ||
|
|
11228
|
+
R(oe) || Ne.value || R(j) ? {
|
|
11229
11229
|
name: "header",
|
|
11230
11230
|
fn: W((t) => [
|
|
11231
11231
|
R(j) ? (D(), o("p", rf, " Type " + P(R(O)) + " or more characters to search ", 1)) : a("", !0),
|
|
11232
|
-
|
|
11232
|
+
Ne.value ? (D(), i(ef, {
|
|
11233
11233
|
key: 1,
|
|
11234
11234
|
ref_key: "filterGroupMenuRef",
|
|
11235
11235
|
ref: g,
|
|
@@ -12137,7 +12137,7 @@ var id = { style: { "line-height": "20px" } }, ad = { class: "pv-text-subdued pv
|
|
|
12137
12137
|
Xe,
|
|
12138
12138
|
Ye,
|
|
12139
12139
|
Ze,
|
|
12140
|
-
|
|
12140
|
+
Fe,
|
|
12141
12141
|
Ge,
|
|
12142
12142
|
je,
|
|
12143
12143
|
qe,
|
|
@@ -12146,10 +12146,10 @@ var id = { style: { "line-height": "20px" } }, ad = { class: "pv-text-subdued pv
|
|
|
12146
12146
|
ke,
|
|
12147
12147
|
Ae,
|
|
12148
12148
|
Qe,
|
|
12149
|
-
|
|
12150
|
-
Fe,
|
|
12151
|
-
_e,
|
|
12149
|
+
Pe,
|
|
12152
12150
|
Z,
|
|
12151
|
+
_e,
|
|
12152
|
+
Ne,
|
|
12153
12153
|
De,
|
|
12154
12154
|
Oe,
|
|
12155
12155
|
we,
|
|
@@ -12828,10 +12828,10 @@ var id = { style: { "line-height": "20px" } }, ad = { class: "pv-text-subdued pv
|
|
|
12828
12828
|
}), Xf = ["id"], Zf = {
|
|
12829
12829
|
key: 0,
|
|
12830
12830
|
class: "sort-divider-container"
|
|
12831
|
-
}, Qf = ["data-label"], $f = ["onDrop"], ep = { class: "pv-full-width pv-bordered pv-radius-md pv-flex pv-center pv-placeholder-dropzone" }, tp = { class: "pv-text-body-sm pv-text-tertiary" }, np = {
|
|
12831
|
+
}, Qf = ["data-label"], $f = ["onDrop"], ep = { class: "pv-full-width pv-bordered pv-radius-md pv-flex pv-center pv-placeholder-dropzone" }, tp = { class: "pv-text-body-sm pv-text-tertiary" }, np = { style: { "max-width": "220px" } }, rp = {
|
|
12832
12832
|
key: 1,
|
|
12833
12833
|
class: "pv-button-placeholder"
|
|
12834
|
-
},
|
|
12834
|
+
}, ip = "--divider--", ap = "placeholder-", op = /* @__PURE__ */ tn(/* @__PURE__ */ d({
|
|
12835
12835
|
__name: "PvSortableList",
|
|
12836
12836
|
props: /* @__PURE__ */ g({
|
|
12837
12837
|
options: { default: () => [] },
|
|
@@ -12841,8 +12841,7 @@ var id = { style: { "line-height": "20px" } }, ad = { class: "pv-text-subdued pv
|
|
|
12841
12841
|
type: Boolean,
|
|
12842
12842
|
default: !0
|
|
12843
12843
|
},
|
|
12844
|
-
|
|
12845
|
-
lockedOptionTooltips: {}
|
|
12844
|
+
lockedOptions: { default: () => [] }
|
|
12846
12845
|
}, {
|
|
12847
12846
|
modelValue: {
|
|
12848
12847
|
required: !1,
|
|
@@ -12852,127 +12851,128 @@ var id = { style: { "line-height": "20px" } }, ad = { class: "pv-text-subdued pv
|
|
|
12852
12851
|
}),
|
|
12853
12852
|
emits: ["update:modelValue"],
|
|
12854
12853
|
setup(e) {
|
|
12855
|
-
let n = e, c = B(e, "modelValue"), l = (e) => n.
|
|
12854
|
+
let n = e, c = B(e, "modelValue"), l = (e) => n.lockedOptions.some((t) => t.id === e.id), d = (e) => n.lockedOptions.find((t) => t.id === e.id)?.tooltip, f = (e) => {
|
|
12855
|
+
if (n.lockedOptions.length === 0) return e;
|
|
12856
12856
|
let t = c.value.filter(l), r = e.filter((e) => !l(e));
|
|
12857
12857
|
return [...t, ...r].slice(0, n.activeOptionLimit || Infinity);
|
|
12858
|
-
},
|
|
12859
|
-
id:
|
|
12858
|
+
}, p = {
|
|
12859
|
+
id: ip,
|
|
12860
12860
|
text: "",
|
|
12861
12861
|
disabled: !0
|
|
12862
|
-
},
|
|
12863
|
-
id: `${
|
|
12862
|
+
}, m = r(() => n.activeOptionLimit ? Math.max(0, n.activeOptionLimit - c.value.length) : 0), h = r(() => !n.showPlaceholders || m.value === 0 ? [] : Array.from({ length: m.value }, (e, t) => ({
|
|
12863
|
+
id: `${ap}${t}`,
|
|
12864
12864
|
text: "",
|
|
12865
12865
|
disabled: !0,
|
|
12866
12866
|
isPlaceholder: !0
|
|
12867
|
-
}))),
|
|
12867
|
+
}))), g = r(() => {
|
|
12868
12868
|
let e = new Set(c.value.map((e) => e.id));
|
|
12869
12869
|
return [
|
|
12870
12870
|
...c.value,
|
|
12871
|
-
...
|
|
12872
|
-
|
|
12871
|
+
...h.value,
|
|
12872
|
+
p,
|
|
12873
12873
|
...n.options.filter((t) => !e.has(t.id))
|
|
12874
12874
|
];
|
|
12875
|
-
}),
|
|
12876
|
-
if (!
|
|
12877
|
-
let e = Array.from(
|
|
12878
|
-
return t !== -1 && (e = e.slice(0, t)), e = e.filter((e) => !e.startsWith(
|
|
12875
|
+
}), _ = V("sortableListRef"), v = V("containerRef"), b = null, S = null, C = !1, w = () => {
|
|
12876
|
+
if (!_.value) return c.value;
|
|
12877
|
+
let e = Array.from(_.value.children).map((e) => e.id), t = e.findIndex((e) => e === ip);
|
|
12878
|
+
return t !== -1 && (e = e.slice(0, t)), e = e.filter((e) => !e.startsWith(ap)), e.map((e) => n.options.find((t) => t.id === e) || null).filter(Boolean).slice(0, n.activeOptionLimit || Infinity);
|
|
12879
12879
|
};
|
|
12880
12880
|
T(() => {
|
|
12881
|
-
|
|
12881
|
+
_.value && (b = new st(_.value, {
|
|
12882
12882
|
animation: 200,
|
|
12883
|
-
filter: `#${
|
|
12883
|
+
filter: `#${ip}, [id^="placeholder-"], .pv-sortable-locked`,
|
|
12884
12884
|
dragoverBubble: !0,
|
|
12885
12885
|
onStart: (e) => {
|
|
12886
|
-
|
|
12886
|
+
S = e.item, C = !1;
|
|
12887
12887
|
},
|
|
12888
12888
|
onMove: (e) => {
|
|
12889
12889
|
let t = e.related;
|
|
12890
|
-
if (t?.id?.startsWith(
|
|
12890
|
+
if (t?.id?.startsWith(ap)) return !1;
|
|
12891
12891
|
let r = n.options.find((t) => t.id === e.dragged.id);
|
|
12892
12892
|
if (!r || n.options.find((e) => e.id === t?.id && l(e))) return !1;
|
|
12893
|
-
if (
|
|
12894
|
-
if (
|
|
12895
|
-
if (t?.id ===
|
|
12893
|
+
if (M(r)) return !0;
|
|
12894
|
+
if (N.value) return !1;
|
|
12895
|
+
if (t?.id === ip) return !0;
|
|
12896
12896
|
let i = n.options.find((e) => e.id === t?.id);
|
|
12897
|
-
return !!i &&
|
|
12897
|
+
return !!i && M(i);
|
|
12898
12898
|
},
|
|
12899
12899
|
onEnd: (e) => {
|
|
12900
|
-
if (
|
|
12901
|
-
|
|
12900
|
+
if (S = null, C) {
|
|
12901
|
+
C = !1;
|
|
12902
12902
|
return;
|
|
12903
12903
|
}
|
|
12904
|
-
let t =
|
|
12904
|
+
let t = _.value;
|
|
12905
12905
|
if (!t || !e.item || !t.contains(e.item)) return;
|
|
12906
|
-
let n =
|
|
12906
|
+
let n = f(w());
|
|
12907
12907
|
t.removeChild(e.item), t.insertBefore(e.item, t.children[e.oldIndex ?? t.children.length] ?? null);
|
|
12908
12908
|
let r = c.value.map((e) => e.id);
|
|
12909
12909
|
n.length === r.length && n.every((e, t) => e.id === r[t]) || (c.value = n);
|
|
12910
12910
|
}
|
|
12911
12911
|
}));
|
|
12912
12912
|
}), E(() => {
|
|
12913
|
-
|
|
12913
|
+
b &&= (b.destroy(), null);
|
|
12914
12914
|
});
|
|
12915
|
-
let
|
|
12916
|
-
e.preventDefault(),
|
|
12917
|
-
},
|
|
12915
|
+
let O = (e) => {
|
|
12916
|
+
e.preventDefault(), S && e.currentTarget.classList.add("placeholder-drag-over");
|
|
12917
|
+
}, k = (e) => {
|
|
12918
12918
|
e.currentTarget.classList.remove("placeholder-drag-over");
|
|
12919
|
-
},
|
|
12920
|
-
if (e.preventDefault(), e.currentTarget.classList.remove("placeholder-drag-over"),
|
|
12921
|
-
let e =
|
|
12922
|
-
if (r && !
|
|
12919
|
+
}, j = (e, t) => {
|
|
12920
|
+
if (e.preventDefault(), e.currentTarget.classList.remove("placeholder-drag-over"), S) {
|
|
12921
|
+
let e = S.id, r = n.options.find((t) => t.id === e);
|
|
12922
|
+
if (r && !M(r)) {
|
|
12923
12923
|
let e = [...c.value];
|
|
12924
|
-
e.splice(t - 1, 0, r), c.value =
|
|
12924
|
+
e.splice(t - 1, 0, r), c.value = f(e), S.parentNode && S.parentNode.removeChild(S), C = !0;
|
|
12925
12925
|
}
|
|
12926
12926
|
}
|
|
12927
|
-
},
|
|
12928
|
-
if (!l(e)) if (
|
|
12927
|
+
}, M = (e) => c.value.some((t) => t.id === e.id), N = r(() => n.activeOptionLimit ? c.value.length >= n.activeOptionLimit : !1), ee = (e) => {
|
|
12928
|
+
if (!l(e)) if (M(e)) c.value = c.value.filter((t) => t.id !== e.id);
|
|
12929
12929
|
else {
|
|
12930
12930
|
if (n.activeOptionLimit && c.value.length >= n.activeOptionLimit) return;
|
|
12931
12931
|
c.value = c.value.concat([e]);
|
|
12932
12932
|
}
|
|
12933
|
-
},
|
|
12933
|
+
}, F = (e) => !M(e) && n.activeOptionLimit && c.value.length >= n.activeOptionLimit || e.disabled, I = (e) => {
|
|
12934
12934
|
let t = { padding: "4px 8px" };
|
|
12935
|
-
return
|
|
12936
|
-
},
|
|
12935
|
+
return M(e) && (t.backgroundColor = "var(--color-background-highlight, #E4F8F6)", t.borderColor = "var(--color-border-brand, #16696D)"), t;
|
|
12936
|
+
}, L = (e) => {
|
|
12937
12937
|
let t = {};
|
|
12938
|
-
return
|
|
12938
|
+
return F(e) && (t.backgroundColor = "transparent"), !M(e) && !F(e) ? t.color = "var(--color-text-brand, #16696D)" : t.color = "var(--color-text-quaternary, #89989B)", t;
|
|
12939
12939
|
};
|
|
12940
12940
|
return (e, r) => (D(), o("div", {
|
|
12941
12941
|
ref_key: "containerRef",
|
|
12942
|
-
ref:
|
|
12942
|
+
ref: v
|
|
12943
12943
|
}, [s("ul", {
|
|
12944
12944
|
ref_key: "sortableListRef",
|
|
12945
|
-
ref:
|
|
12945
|
+
ref: _,
|
|
12946
12946
|
role: "list"
|
|
12947
|
-
}, [(D(!0), o(t, null, A(
|
|
12947
|
+
}, [(D(!0), o(t, null, A(g.value, (e) => (D(), o("li", {
|
|
12948
12948
|
key: e.id,
|
|
12949
12949
|
id: e.id,
|
|
12950
12950
|
class: "pv-stack-4"
|
|
12951
|
-
}, [e.id ===
|
|
12951
|
+
}, [e.id === ip ? (D(), o("div", Zf, [s("div", {
|
|
12952
12952
|
class: "sort-divider pv-text-default pv-text-body-xs pv-text-tertiary",
|
|
12953
|
-
"data-label":
|
|
12954
|
-
}, null, 8, Qf)])) : e.id.includes(
|
|
12953
|
+
"data-label": N.value ? `Maximum of ${n.activeOptionLimit}` : ""
|
|
12954
|
+
}, null, 8, Qf)])) : e.id.includes(ap) ? (D(), o("div", {
|
|
12955
12955
|
key: 1,
|
|
12956
12956
|
class: "placeholder-zone",
|
|
12957
|
-
onDragover: r[0] ||= (e) =>
|
|
12958
|
-
onDragleave: r[1] ||= (e) =>
|
|
12959
|
-
onDrop: (t) =>
|
|
12957
|
+
onDragover: r[0] ||= (e) => O(e),
|
|
12958
|
+
onDragleave: r[1] ||= (e) => k(e),
|
|
12959
|
+
onDrop: (t) => j(t, parseInt(e.id.split("-")[1]) + 1)
|
|
12960
12960
|
}, [s("div", ep, [s("span", tp, P(n.placeholderText), 1)])], 40, $f)) : (D(), o("div", {
|
|
12961
12961
|
key: 2,
|
|
12962
|
-
class: y(["pv-full-width pv-bordered pv-radius-md pv-flex pv-space-between", [!
|
|
12963
|
-
style: x(
|
|
12962
|
+
class: y(["pv-full-width pv-bordered pv-radius-md pv-flex pv-space-between", [!M(e) && N.value ? "pv-menu-item-disabled" : "", l(e) ? "pv-sortable-locked" : ""]]),
|
|
12963
|
+
style: x(I(e))
|
|
12964
12964
|
}, [s("div", { class: y(["pv-flex pv-full-width pv-sort-option", { "pv-sort-option-locked": l(e) }]) }, [
|
|
12965
12965
|
u(Hn, {
|
|
12966
|
-
class: y(
|
|
12966
|
+
class: y(M(e) && !l(e) ? "pv-text-brand" : "pv-text-tertiary"),
|
|
12967
12967
|
name: l(e) ? "lock" : "reorder"
|
|
12968
12968
|
}, null, 8, ["class", "name"]),
|
|
12969
12969
|
e.icon ? (D(), i(Hn, {
|
|
12970
12970
|
key: 0,
|
|
12971
|
-
class: y(
|
|
12971
|
+
class: y(M(e) && !l(e) ? "pv-text-brand" : "pv-text-tertiary"),
|
|
12972
12972
|
name: e.icon
|
|
12973
12973
|
}, null, 8, ["class", "name"])) : a("", !0),
|
|
12974
|
-
s("span",
|
|
12975
|
-
l(e) &&
|
|
12974
|
+
s("span", { class: y(["pv-text-body-sm", { "pv-text-tertiary": l(e) }]) }, P(e.text), 3),
|
|
12975
|
+
l(e) && d(e) ? (D(), i(aa, {
|
|
12976
12976
|
key: 1,
|
|
12977
12977
|
variant: "dark",
|
|
12978
12978
|
size: "sm",
|
|
@@ -12983,27 +12983,27 @@ var id = { style: { "line-height": "20px" } }, ad = { class: "pv-text-subdued pv
|
|
|
12983
12983
|
class: "pv-text-tertiary",
|
|
12984
12984
|
name: "info-circle"
|
|
12985
12985
|
})]),
|
|
12986
|
-
content: W(() => [s("div",
|
|
12986
|
+
content: W(() => [s("div", np, P(d(e)), 1)]),
|
|
12987
12987
|
_: 2
|
|
12988
12988
|
}, 1024)) : a("", !0)
|
|
12989
|
-
], 2), !
|
|
12989
|
+
], 2), !F(e) && !l(e) ? (D(), i(Kn, {
|
|
12990
12990
|
key: 0,
|
|
12991
|
-
"left-icon":
|
|
12992
|
-
ariaLabel:
|
|
12991
|
+
"left-icon": M(e) ? "remove-circle" : "add-circle",
|
|
12992
|
+
ariaLabel: M(e) ? `Remove ${e.text}` : `Add ${e.text}`,
|
|
12993
12993
|
variant: "ghost",
|
|
12994
|
-
style: x(
|
|
12995
|
-
onClick: (t) =>
|
|
12994
|
+
style: x(L(e)),
|
|
12995
|
+
onClick: (t) => ee(e)
|
|
12996
12996
|
}, null, 8, [
|
|
12997
12997
|
"left-icon",
|
|
12998
12998
|
"ariaLabel",
|
|
12999
12999
|
"style",
|
|
13000
13000
|
"onClick"
|
|
13001
|
-
])) : (D(), o("div",
|
|
13001
|
+
])) : (D(), o("div", rp))], 6))], 8, Xf))), 128))], 512)], 512));
|
|
13002
13002
|
}
|
|
13003
|
-
}), [["__scopeId", "data-v-
|
|
13003
|
+
}), [["__scopeId", "data-v-5ce88d45"]]), sp = {
|
|
13004
13004
|
class: "pv-flex pv-full-width pv-space-between",
|
|
13005
13005
|
style: { "white-space": "nowrap" }
|
|
13006
|
-
},
|
|
13006
|
+
}, cp = { class: "pv-text-body-md" }, lp = /* @__PURE__ */ d({
|
|
13007
13007
|
inheritAttrs: !1,
|
|
13008
13008
|
__name: "PvTableOverlayMenuItemRenderer",
|
|
13009
13009
|
props: {
|
|
@@ -13012,22 +13012,22 @@ var id = { style: { "line-height": "20px" } }, ad = { class: "pv-text-subdued pv
|
|
|
13012
13012
|
context: {}
|
|
13013
13013
|
},
|
|
13014
13014
|
setup(e) {
|
|
13015
|
-
return (t, n) => (D(), o("div",
|
|
13015
|
+
return (t, n) => (D(), o("div", sp, [s("span", cp, P(e.text), 1), e.context?.rightIcon ? (D(), i(Hn, {
|
|
13016
13016
|
key: 0,
|
|
13017
13017
|
name: e.context.rightIcon,
|
|
13018
13018
|
class: "pv-text-subdued"
|
|
13019
13019
|
}, null, 8, ["name"])) : a("", !0)]));
|
|
13020
13020
|
}
|
|
13021
|
-
}),
|
|
13021
|
+
}), up = { class: "pv-relative" }, dp = {
|
|
13022
13022
|
role: "list",
|
|
13023
13023
|
class: "pv-relative"
|
|
13024
|
-
},
|
|
13024
|
+
}, fp = ["data-active"], pp = ["data-active"], mp = {
|
|
13025
13025
|
key: 2,
|
|
13026
13026
|
style: { cursor: "pointer" }
|
|
13027
|
-
},
|
|
13027
|
+
}, hp = {
|
|
13028
13028
|
key: 0,
|
|
13029
13029
|
role: "list"
|
|
13030
|
-
},
|
|
13030
|
+
}, gp = /* @__PURE__ */ d({
|
|
13031
13031
|
__name: "PvTableOptionsPanel",
|
|
13032
13032
|
props: {
|
|
13033
13033
|
groupedModeEnabled: { type: Boolean },
|
|
@@ -13106,7 +13106,7 @@ var id = { style: { "line-height": "20px" } }, ad = { class: "pv-text-subdued pv
|
|
|
13106
13106
|
previousHiddenColIds: r.hiddenColIds
|
|
13107
13107
|
});
|
|
13108
13108
|
};
|
|
13109
|
-
return (n, r) => I.value ? (D(), o(t, { key: 0 }, [ae((D(), o("div",
|
|
13109
|
+
return (n, r) => I.value ? (D(), o(t, { key: 0 }, [ae((D(), o("div", up, [u(Va, {
|
|
13110
13110
|
open: v.value,
|
|
13111
13111
|
label: "Table Configuration",
|
|
13112
13112
|
icon: "settings",
|
|
@@ -13126,7 +13126,7 @@ var id = { style: { "line-height": "20px" } }, ad = { class: "pv-text-subdued pv
|
|
|
13126
13126
|
"padding-top": "4px",
|
|
13127
13127
|
"padding-bottom": "12px"
|
|
13128
13128
|
}
|
|
13129
|
-
}, " Table Configuration ")], -1), s("ul",
|
|
13129
|
+
}, " Table Configuration ")], -1), s("ul", dp, [
|
|
13130
13130
|
C.value ? (D(), o("li", {
|
|
13131
13131
|
key: 0,
|
|
13132
13132
|
id: "table-config-overlay",
|
|
@@ -13139,7 +13139,7 @@ var id = { style: { "line-height": "20px" } }, ad = { class: "pv-text-subdued pv
|
|
|
13139
13139
|
icon: "layers-2",
|
|
13140
13140
|
"class-list": ["pv-menu-nested", b.value === "overlay" ? "pv-menu-nested-active" : ""],
|
|
13141
13141
|
onHandleSelected: r[0] ||= (e) => j("overlay")
|
|
13142
|
-
}, null, 8, ["class-list"])], 8,
|
|
13142
|
+
}, null, 8, ["class-list"])], 8, fp)) : a("", !0),
|
|
13143
13143
|
P.value ? (D(), o("li", {
|
|
13144
13144
|
key: 1,
|
|
13145
13145
|
id: "table-config-columns",
|
|
@@ -13152,8 +13152,8 @@ var id = { style: { "line-height": "20px" } }, ad = { class: "pv-text-subdued pv
|
|
|
13152
13152
|
icon: "columns-3",
|
|
13153
13153
|
"class-list": ["pv-menu-nested", b.value === "columns" ? "pv-menu-nested-active" : ""],
|
|
13154
13154
|
onHandleSelected: r[1] ||= (e) => j("columns")
|
|
13155
|
-
}, null, 8, ["class-list"])], 8,
|
|
13156
|
-
F.value ? (D(), o("li",
|
|
13155
|
+
}, null, 8, ["class-list"])], 8, pp)) : a("", !0),
|
|
13156
|
+
F.value ? (D(), o("li", mp, [u(Ao, {
|
|
13157
13157
|
config: { variant: "icon" },
|
|
13158
13158
|
id: "table-config-group-toggle",
|
|
13159
13159
|
class: "pv-text-subdued",
|
|
@@ -13174,11 +13174,11 @@ var id = { style: { "line-height": "20px" } }, ad = { class: "pv-text-subdued pv
|
|
|
13174
13174
|
},
|
|
13175
13175
|
isList: b.value !== "columns"
|
|
13176
13176
|
}, {
|
|
13177
|
-
default: W(() => [b.value === "overlay" ? (D(), o("ul",
|
|
13177
|
+
default: W(() => [b.value === "overlay" ? (D(), o("ul", hp, [(D(!0), o(t, null, A(S.value, (e) => (D(), o("li", { key: e.id }, [u(Ao, {
|
|
13178
13178
|
id: e.id,
|
|
13179
13179
|
config: {
|
|
13180
13180
|
variant: "checkbox",
|
|
13181
|
-
renderer:
|
|
13181
|
+
renderer: lp
|
|
13182
13182
|
},
|
|
13183
13183
|
text: e.text,
|
|
13184
13184
|
context: e.context,
|
|
@@ -13203,7 +13203,7 @@ var id = { style: { "line-height": "20px" } }, ad = { class: "pv-text-subdued pv
|
|
|
13203
13203
|
"padding-left": "2px",
|
|
13204
13204
|
"padding-bottom": "6px"
|
|
13205
13205
|
}
|
|
13206
|
-
}, " Currently Viewing ", -1), u(
|
|
13206
|
+
}, " Currently Viewing ", -1), u(op, {
|
|
13207
13207
|
modelValue: te.value,
|
|
13208
13208
|
options: z.value,
|
|
13209
13209
|
showPlaceholders: !1,
|
|
@@ -13216,18 +13216,18 @@ var id = { style: { "line-height": "20px" } }, ad = { class: "pv-text-subdued pv
|
|
|
13216
13216
|
"isList"
|
|
13217
13217
|
])], 64)) : a("", !0);
|
|
13218
13218
|
}
|
|
13219
|
-
}),
|
|
13219
|
+
}), _p = { class: "pv-chart-benchmark-chips pv-flex-vertical" }, vp = ["data-group-name"], yp = { class: "pv-chart-chip-section-label pv-chart-benchmark-chip-section-label" }, bp = ["data-loading"], xp = { class: "pv-chart-chip-label pv-flex-item" }, Sp = { class: "pv-chart-chip-value" }, Cp = /* @__PURE__ */ d({
|
|
13220
13220
|
__name: "PvBenchmarkChips",
|
|
13221
13221
|
props: { sections: {} },
|
|
13222
13222
|
emits: ["chip-hover"],
|
|
13223
13223
|
setup(e, { emit: n }) {
|
|
13224
13224
|
let r = n;
|
|
13225
|
-
return (n, c) => (D(), o("div",
|
|
13225
|
+
return (n, c) => (D(), o("div", _p, [(D(!0), o(t, null, A(e.sections, (e) => (D(), o("div", {
|
|
13226
13226
|
key: e.groupName,
|
|
13227
13227
|
"data-testid": "chip-section",
|
|
13228
13228
|
"data-group-name": e.groupName,
|
|
13229
13229
|
class: "pv-flex-vertical"
|
|
13230
|
-
}, [s("p",
|
|
13230
|
+
}, [s("p", yp, P(e.groupName), 1), (D(!0), o(t, null, A(e.chips, (e) => (D(), o("div", _({
|
|
13231
13231
|
key: e.key,
|
|
13232
13232
|
"data-testid": "benchmark-chip",
|
|
13233
13233
|
class: "pv-chart-benchmark-chip pv-flex pv-bordered pv-inset-square-8",
|
|
@@ -13254,8 +13254,8 @@ var id = { style: { "line-height": "20px" } }, ad = { class: "pv-text-subdued pv
|
|
|
13254
13254
|
class: "pv-chart-benchmark-chip-accent",
|
|
13255
13255
|
style: x({ backgroundColor: e.color })
|
|
13256
13256
|
}, null, 4)) : a("", !0),
|
|
13257
|
-
s("span",
|
|
13258
|
-
s("span",
|
|
13257
|
+
s("span", xp, P(e.label), 1),
|
|
13258
|
+
s("span", Sp, P(e.formattedValue), 1),
|
|
13259
13259
|
e.excludeFromCrossline ? (D(), i(R(aa), {
|
|
13260
13260
|
key: 1,
|
|
13261
13261
|
"data-testid": "benchmark-chip-unit-mismatch-tooltip",
|
|
@@ -13278,16 +13278,16 @@ var id = { style: { "line-height": "20px" } }, ad = { class: "pv-text-subdued pv
|
|
|
13278
13278
|
} }, " Shown in different units than the chart, so no line is drawn for this benchmark. ", -1)]]),
|
|
13279
13279
|
_: 1
|
|
13280
13280
|
})) : a("", !0)
|
|
13281
|
-
], 64))], 16,
|
|
13281
|
+
], 64))], 16, bp))), 128))], 8, vp))), 128))]));
|
|
13282
13282
|
}
|
|
13283
|
-
}),
|
|
13283
|
+
}), wp = (e) => e.field === "state" || $(e).dataType === ms.Location, Tp = (e) => e.filter(wp), Ep = (e, t, n) => {
|
|
13284
13284
|
if (!n || t.length === 0) return e;
|
|
13285
13285
|
let r = new Set(n(t).map((e) => e.field));
|
|
13286
13286
|
return e.filter((e) => r.has(e));
|
|
13287
|
-
},
|
|
13287
|
+
}, Dp = (e) => e.filter((e) => !Cs(e)), Op = (e) => e.filter((e) => Cs(e)), kp = {
|
|
13288
13288
|
xAxis: {
|
|
13289
13289
|
selectMode: "sortable",
|
|
13290
|
-
filterColumns:
|
|
13290
|
+
filterColumns: Dp
|
|
13291
13291
|
},
|
|
13292
13292
|
yAxis: {},
|
|
13293
13293
|
secondaryYAxis: {},
|
|
@@ -13296,16 +13296,16 @@ var id = { style: { "line-height": "20px" } }, ad = { class: "pv-text-subdued pv
|
|
|
13296
13296
|
rowGroupLimit: 2,
|
|
13297
13297
|
supportsFocusView: !0,
|
|
13298
13298
|
storeBeforeChange: !0
|
|
13299
|
-
},
|
|
13299
|
+
}, Ap = [
|
|
13300
13300
|
{
|
|
13301
|
-
...
|
|
13301
|
+
...kp,
|
|
13302
13302
|
id: "column",
|
|
13303
13303
|
text: "Column",
|
|
13304
13304
|
icon: "chart-column",
|
|
13305
13305
|
agChartType: "bar"
|
|
13306
13306
|
},
|
|
13307
13307
|
{
|
|
13308
|
-
...
|
|
13308
|
+
...kp,
|
|
13309
13309
|
id: "bar",
|
|
13310
13310
|
text: "Bar",
|
|
13311
13311
|
icon: "chart-bar",
|
|
@@ -13313,28 +13313,28 @@ var id = { style: { "line-height": "20px" } }, ad = { class: "pv-text-subdued pv
|
|
|
13313
13313
|
isHorizontal: !0
|
|
13314
13314
|
},
|
|
13315
13315
|
{
|
|
13316
|
-
...
|
|
13316
|
+
...kp,
|
|
13317
13317
|
id: "line",
|
|
13318
13318
|
text: "Line",
|
|
13319
13319
|
icon: "chart-line",
|
|
13320
13320
|
agChartType: "line"
|
|
13321
13321
|
},
|
|
13322
13322
|
{
|
|
13323
|
-
...
|
|
13323
|
+
...kp,
|
|
13324
13324
|
id: "area",
|
|
13325
13325
|
text: "Area",
|
|
13326
13326
|
icon: "chart-area",
|
|
13327
13327
|
agChartType: "area"
|
|
13328
13328
|
},
|
|
13329
13329
|
{
|
|
13330
|
-
...
|
|
13330
|
+
...kp,
|
|
13331
13331
|
id: "column_stacked",
|
|
13332
13332
|
text: "Stacked Column",
|
|
13333
13333
|
icon: "chart-column-stacked",
|
|
13334
13334
|
agChartType: "bar"
|
|
13335
13335
|
},
|
|
13336
13336
|
{
|
|
13337
|
-
...
|
|
13337
|
+
...kp,
|
|
13338
13338
|
id: "bar_stacked",
|
|
13339
13339
|
text: "Stacked Bar",
|
|
13340
13340
|
icon: "chart-bar-stacked",
|
|
@@ -13342,7 +13342,7 @@ var id = { style: { "line-height": "20px" } }, ad = { class: "pv-text-subdued pv
|
|
|
13342
13342
|
isHorizontal: !0
|
|
13343
13343
|
},
|
|
13344
13344
|
{
|
|
13345
|
-
...
|
|
13345
|
+
...kp,
|
|
13346
13346
|
id: "pie",
|
|
13347
13347
|
text: "Pie",
|
|
13348
13348
|
icon: "chart-pie",
|
|
@@ -13356,7 +13356,7 @@ var id = { style: { "line-height": "20px" } }, ad = { class: "pv-text-subdued pv
|
|
|
13356
13356
|
icon: "chart-column",
|
|
13357
13357
|
xAxis: {
|
|
13358
13358
|
selectMode: "single",
|
|
13359
|
-
filterColumns:
|
|
13359
|
+
filterColumns: Op,
|
|
13360
13360
|
hideLabel: !0
|
|
13361
13361
|
},
|
|
13362
13362
|
yAxis: {
|
|
@@ -13377,7 +13377,7 @@ var id = { style: { "line-height": "20px" } }, ad = { class: "pv-text-subdued pv
|
|
|
13377
13377
|
icon: "map",
|
|
13378
13378
|
xAxis: {
|
|
13379
13379
|
selectMode: "single",
|
|
13380
|
-
filterColumns:
|
|
13380
|
+
filterColumns: Tp,
|
|
13381
13381
|
hideLabel: !0
|
|
13382
13382
|
},
|
|
13383
13383
|
yAxis: {},
|
|
@@ -13389,36 +13389,36 @@ var id = { style: { "line-height": "20px" } }, ad = { class: "pv-text-subdued pv
|
|
|
13389
13389
|
supportsFocusView: !1,
|
|
13390
13390
|
storeBeforeChange: !1
|
|
13391
13391
|
}
|
|
13392
|
-
],
|
|
13393
|
-
function
|
|
13394
|
-
return
|
|
13392
|
+
], jp = new Map(Ap.map((e) => [e.id, e])), Mp = jp.get("column");
|
|
13393
|
+
function Np(e) {
|
|
13394
|
+
return jp.get(e) || Mp;
|
|
13395
13395
|
}
|
|
13396
13396
|
//#endregion
|
|
13397
13397
|
//#region src/components/charts/PvDataTableWithChart/table-chart-components/PvChartOptionsPanel.vue?vue&type=script&setup=true&lang.ts
|
|
13398
|
-
var
|
|
13398
|
+
var Pp = { class: "pv-stack-16 pv-chart-options-panel" }, Fp = { class: "pv-flex pv-relative" }, Ip = [
|
|
13399
13399
|
"id",
|
|
13400
13400
|
"aria-label",
|
|
13401
13401
|
"onKeydown"
|
|
13402
|
-
],
|
|
13402
|
+
], Lp = {
|
|
13403
13403
|
role: "list",
|
|
13404
13404
|
class: "pv-popover-list pv-relative"
|
|
13405
|
-
},
|
|
13405
|
+
}, Rp = [
|
|
13406
13406
|
"id",
|
|
13407
13407
|
"data-active",
|
|
13408
13408
|
"data-dd-action-name",
|
|
13409
13409
|
"onMouseenter",
|
|
13410
13410
|
"onClick"
|
|
13411
|
-
],
|
|
13411
|
+
], zp = { style: { "max-width": "100px" } }, Bp = {
|
|
13412
13412
|
key: 1,
|
|
13413
13413
|
class: "pv-flex"
|
|
13414
|
-
},
|
|
13414
|
+
}, Vp = {
|
|
13415
13415
|
key: 0,
|
|
13416
13416
|
class: "pv-inset-square-8"
|
|
13417
|
-
},
|
|
13417
|
+
}, Hp = {
|
|
13418
13418
|
key: 1,
|
|
13419
13419
|
role: "list",
|
|
13420
13420
|
class: "pv-popover-list"
|
|
13421
|
-
},
|
|
13421
|
+
}, Up = ["data-active"], Wp = "This metric isn’t available with the selected chart type.", Gp = /* @__PURE__ */ tn(/* @__PURE__ */ d({
|
|
13422
13422
|
__name: "PvChartOptionsPanel",
|
|
13423
13423
|
props: {
|
|
13424
13424
|
enablePanel: { type: Boolean },
|
|
@@ -13430,8 +13430,7 @@ var Fp = { class: "pv-stack-16 pv-chart-options-panel" }, Ip = { class: "pv-flex
|
|
|
13430
13430
|
default: !1
|
|
13431
13431
|
},
|
|
13432
13432
|
chartConfigOptions: {},
|
|
13433
|
-
|
|
13434
|
-
lockedRowGroupTooltips: {},
|
|
13433
|
+
lockedRowGroupOptions: {},
|
|
13435
13434
|
metricOverlayWithRowGroups: { type: Boolean },
|
|
13436
13435
|
readOnly: { type: Boolean },
|
|
13437
13436
|
percentOfFocusViewYKey: {}
|
|
@@ -13445,7 +13444,7 @@ var Fp = { class: "pv-stack-16 pv-chart-options-panel" }, Ip = { class: "pv-flex
|
|
|
13445
13444
|
maxHeight: "900px"
|
|
13446
13445
|
},
|
|
13447
13446
|
useTeleport: !0
|
|
13448
|
-
}), b = k(!1), S = k(void 0), C = k(null), w = m(vu, k(void 0)), T = m(gu, k([])), E = m(yu, k(void 0)), O = m(_u, k([])), j = m(hu, k([])), M = m(ou, k([])), N = r(() =>
|
|
13447
|
+
}), b = k(!1), S = k(void 0), C = k(null), w = m(vu, k(void 0)), T = m(gu, k([])), E = m(yu, k(void 0)), O = m(_u, k([])), j = m(hu, k([])), M = m(ou, k([])), N = r(() => Np(w.value?.id || "")), ee = r(() => {
|
|
13449
13448
|
let e = w.value?.id ?? "";
|
|
13450
13449
|
return j.value.length > 1 && !e.endsWith("_stacked") && !l.metricOverlayWithRowGroups;
|
|
13451
13450
|
}), F = m(bu, k("")), I = m(xu, k([])), L = m(Su, k(void 0)), z = m(Cu, k([])), te = m(Tu, k(!1)), B = m(wu, k([])), ne = m(Du, k(/* @__PURE__ */ new Set())), V = m(Ou, k([])), re = r(() => V.value.filter((e) => ne.value.has(e.id)).map((e) => ({
|
|
@@ -13550,7 +13549,7 @@ var Fp = { class: "pv-stack-16 pv-chart-options-panel" }, Ip = { class: "pv-flex
|
|
|
13550
13549
|
let r = !!e && t === e;
|
|
13551
13550
|
return {
|
|
13552
13551
|
disabled: r,
|
|
13553
|
-
description: r ?
|
|
13552
|
+
description: r ? Wp : n
|
|
13554
13553
|
};
|
|
13555
13554
|
}, be = (e, t) => {
|
|
13556
13555
|
let n = [], r = /* @__PURE__ */ new Map(), i = /* @__PURE__ */ new Map();
|
|
@@ -13664,8 +13663,7 @@ var Fp = { class: "pv-stack-16 pv-chart-options-panel" }, Ip = { class: "pv-flex
|
|
|
13664
13663
|
...r ? {
|
|
13665
13664
|
activeOptions: X,
|
|
13666
13665
|
activeOptionLimit: l.rowGroupLimit,
|
|
13667
|
-
|
|
13668
|
-
lockedOptionTooltips: l.lockedRowGroupTooltips
|
|
13666
|
+
lockedOptions: l.lockedRowGroupOptions
|
|
13669
13667
|
} : {
|
|
13670
13668
|
currentOption: je.value.find((e) => e.id === j.value[0]),
|
|
13671
13669
|
updateSelectedOption: (e) => {
|
|
@@ -13763,10 +13761,10 @@ var Fp = { class: "pv-stack-16 pv-chart-options-panel" }, Ip = { class: "pv-flex
|
|
|
13763
13761
|
}
|
|
13764
13762
|
let s = r ? 2 : 1;
|
|
13765
13763
|
return je.value.length >= s && e.push(i), T.value.length > 1 && e.push(o), O.value.length > 0 && e.push(a), e.filter((e) => l.chartConfigOptions ? l.chartConfigOptions.includes(e.value) : !0);
|
|
13766
|
-
}),
|
|
13764
|
+
}), Ne = r(() => S.value && Me.value.find((e) => e.value === S.value) || null), Pe = (e) => e.activeOptions ? e.activeOptions.value : e.currentOption ? [e.currentOption] : [], Fe = (e) => Pe(e).map((e) => e.text).join(", ") || void 0, Z = r(() => Me.value.map((e) => ({
|
|
13767
13765
|
id: e.value,
|
|
13768
13766
|
text: e.label,
|
|
13769
|
-
subText:
|
|
13767
|
+
subText: Fe(e),
|
|
13770
13768
|
icon: e.icon,
|
|
13771
13769
|
disabled: e.disabled,
|
|
13772
13770
|
hoverTitle: e.disabledReason,
|
|
@@ -13787,26 +13785,26 @@ var Fp = { class: "pv-stack-16 pv-chart-options-panel" }, Ip = { class: "pv-flex
|
|
|
13787
13785
|
e && (v.value = e);
|
|
13788
13786
|
});
|
|
13789
13787
|
let Le = (e) => {
|
|
13790
|
-
let t =
|
|
13788
|
+
let t = Ne.value;
|
|
13791
13789
|
if (!t?.isMultiSelect) return;
|
|
13792
13790
|
let n = new Set(t.activeOptionIds ?? []);
|
|
13793
13791
|
t.updateSelectedOptions?.((t.availableOptions ?? []).filter((t) => e.includes(t.id))), Ql(() => {
|
|
13794
13792
|
for (let r of e) n.has(r) || pe(t.value, r);
|
|
13795
13793
|
});
|
|
13796
13794
|
}, Re = (e) => {
|
|
13797
|
-
let t =
|
|
13795
|
+
let t = Ne.value;
|
|
13798
13796
|
!t || t.isMultiSelect || (t.updateSelectedOption?.(e.id), Ql(() => pe(t.value, e.id)));
|
|
13799
13797
|
}, ze = (e) => {
|
|
13800
|
-
let t =
|
|
13798
|
+
let t = Ne.value;
|
|
13801
13799
|
return !t || t.isMultiSelect ? null : t.currentOption?.id === e.id ? !0 : null;
|
|
13802
|
-
}, Be = () =>
|
|
13800
|
+
}, Be = () => Ne.value?.isMultiSelect ? { variant: "checkbox" } : { variant: "icon" }, Ve = (e) => {
|
|
13803
13801
|
S.value = e, _.value = document.getElementById(`pv-chart-config-${e}`), g();
|
|
13804
13802
|
}, He = () => {
|
|
13805
13803
|
b.value = !1, S.value = void 0;
|
|
13806
13804
|
}, Ue = () => {
|
|
13807
13805
|
S.value = void 0;
|
|
13808
13806
|
};
|
|
13809
|
-
return (n, r) => (D(), o(t, null, [s("div",
|
|
13807
|
+
return (n, r) => (D(), o(t, null, [s("div", Pp, [s("div", null, [ae((D(), o("div", { class: y(["pv-flex pv-space-between", e.useCombinedButton ? "pv-stack-8" : ""]) }, [s("div", Fp, [e.useCombinedButton ? (D(), o(t, { key: 0 }, [u(Va, {
|
|
13810
13808
|
open: b.value,
|
|
13811
13809
|
label: "Chart Configuration",
|
|
13812
13810
|
icon: "chart-area",
|
|
@@ -13832,14 +13830,14 @@ var Fp = { class: "pv-stack-16 pv-chart-options-panel" }, Ip = { class: "pv-flex
|
|
|
13832
13830
|
}, " Chart Configuration ")], -1), u(Vo, {
|
|
13833
13831
|
expandedOptionId: S.value,
|
|
13834
13832
|
"onUpdate:expandedOptionId": r[3] ||= (e) => S.value = e,
|
|
13835
|
-
options:
|
|
13833
|
+
options: Z.value,
|
|
13836
13834
|
childrenDisplay: "popover",
|
|
13837
13835
|
readOnly: e.readOnly
|
|
13838
13836
|
}, {
|
|
13839
|
-
popover: W(({ popoverId: t, close: n }) => [
|
|
13837
|
+
popover: W(({ popoverId: t, close: n }) => [Ne.value?.isSortableList ? (D(), o("div", {
|
|
13840
13838
|
key: 0,
|
|
13841
13839
|
id: t,
|
|
13842
|
-
"aria-label": `${
|
|
13840
|
+
"aria-label": `${Ne.value.label} options`,
|
|
13843
13841
|
class: "pv-chart-config-popover pv-inset-square-8",
|
|
13844
13842
|
role: "dialog",
|
|
13845
13843
|
onKeydown: oe(G(n, ["stop"]), ["esc"])
|
|
@@ -13849,36 +13847,34 @@ var Fp = { class: "pv-stack-16 pv-chart-options-panel" }, Ip = { class: "pv-flex
|
|
|
13849
13847
|
"padding-left": "2px",
|
|
13850
13848
|
"padding-bottom": "6px"
|
|
13851
13849
|
}
|
|
13852
|
-
}, " Viewing ", -1), u(
|
|
13853
|
-
modelValue:
|
|
13854
|
-
"onUpdate:modelValue": r[1] ||= (e) => he(
|
|
13855
|
-
options:
|
|
13856
|
-
activeOptionLimit:
|
|
13857
|
-
|
|
13858
|
-
lockedOptionTooltips: Z.value.lockedOptionTooltips,
|
|
13850
|
+
}, " Viewing ", -1), u(op, {
|
|
13851
|
+
modelValue: Ne.value.activeOptions.value,
|
|
13852
|
+
"onUpdate:modelValue": r[1] ||= (e) => he(Ne.value, e),
|
|
13853
|
+
options: Ne.value.availableOptions || [],
|
|
13854
|
+
activeOptionLimit: Ne.value.activeOptionLimit,
|
|
13855
|
+
lockedOptions: Ne.value.lockedOptions,
|
|
13859
13856
|
placeholderText: "Add to X Axis"
|
|
13860
13857
|
}, null, 8, [
|
|
13861
13858
|
"modelValue",
|
|
13862
13859
|
"options",
|
|
13863
13860
|
"activeOptionLimit",
|
|
13864
|
-
"
|
|
13865
|
-
|
|
13866
|
-
])], 40, Lp)) : Z.value ? (D(), i(Vo, {
|
|
13861
|
+
"lockedOptions"
|
|
13862
|
+
])], 40, Ip)) : Ne.value ? (D(), i(Vo, {
|
|
13867
13863
|
key: 1,
|
|
13868
13864
|
id: t,
|
|
13869
|
-
"aria-label": `${
|
|
13865
|
+
"aria-label": `${Ne.value.label} options`,
|
|
13870
13866
|
class: "pv-chart-config-popover",
|
|
13871
|
-
options:
|
|
13872
|
-
selectedItems: Ne
|
|
13873
|
-
config: Ie(
|
|
13874
|
-
singleSelect: !
|
|
13875
|
-
disableDeselect: !
|
|
13867
|
+
options: Ne.value.availableOptions || [],
|
|
13868
|
+
selectedItems: Pe(Ne.value),
|
|
13869
|
+
config: Ie(Ne.value),
|
|
13870
|
+
singleSelect: !Ne.value.isMultiSelect,
|
|
13871
|
+
disableDeselect: !Ne.value.allowDeselect,
|
|
13876
13872
|
highlightParentItems: !1,
|
|
13877
13873
|
readOnly: e.readOnly,
|
|
13878
13874
|
childrenDisplay: "popover",
|
|
13879
13875
|
itemClass: "pv-chart-option pv-flex",
|
|
13880
13876
|
onKeydown: oe(G(n, ["stop"]), ["esc"]),
|
|
13881
|
-
onHandleSelected: r[2] ||= (e) => Y(
|
|
13877
|
+
onHandleSelected: r[2] ||= (e) => Y(Ne.value, e)
|
|
13882
13878
|
}, null, 8, [
|
|
13883
13879
|
"id",
|
|
13884
13880
|
"aria-label",
|
|
@@ -13912,7 +13908,7 @@ var Fp = { class: "pv-stack-16 pv-chart-options-panel" }, Ip = { class: "pv-flex
|
|
|
13912
13908
|
"padding-top": "4px",
|
|
13913
13909
|
"padding-bottom": "12px"
|
|
13914
13910
|
}
|
|
13915
|
-
}, " Chart Configuration ")], -1), s("ul",
|
|
13911
|
+
}, " Chart Configuration ")], -1), s("ul", Lp, [(D(!0), o(t, null, A(Me.value, (t) => (D(), o("li", {
|
|
13916
13912
|
id: `pv-chart-config-${t.value}`,
|
|
13917
13913
|
key: t.value,
|
|
13918
13914
|
"data-active": S.value === t.value ? !0 : null,
|
|
@@ -13943,9 +13939,9 @@ var Fp = { class: "pv-stack-16 pv-chart-options-panel" }, Ip = { class: "pv-flex
|
|
|
13943
13939
|
_: 2
|
|
13944
13940
|
}, [t.disabled && t.disabledReason ? {
|
|
13945
13941
|
name: "content",
|
|
13946
|
-
fn: W(() => [s("div",
|
|
13942
|
+
fn: W(() => [s("div", zp, P(t.disabledReason), 1)]),
|
|
13947
13943
|
key: "0"
|
|
13948
|
-
} : void 0]), 1024)], 40,
|
|
13944
|
+
} : void 0]), 1024)], 40, Rp))), 128))])]),
|
|
13949
13945
|
_: 1
|
|
13950
13946
|
}, 8, ["class"]))], 64)) : a("", !0)])], 2)), [[R(Q), [He, { ignore: [".pv-popover"] }]]]), s("div", {
|
|
13951
13947
|
class: "pv-flex pv-space-between",
|
|
@@ -13955,7 +13951,7 @@ var Fp = { class: "pv-stack-16 pv-chart-options-panel" }, Ip = { class: "pv-flex
|
|
|
13955
13951
|
options: se.value,
|
|
13956
13952
|
modelValue: R(ie),
|
|
13957
13953
|
"onUpdate:modelValue": r[4] ||= (e) => h(ie) ? ie.value = e : null
|
|
13958
|
-
}, null, 8, ["options", "modelValue"])) : a("", !0), e.useCombinedButton ? a("", !0) : (D(), o("div",
|
|
13954
|
+
}, null, 8, ["options", "modelValue"])) : a("", !0), e.useCombinedButton ? a("", !0) : (D(), o("div", Bp, [(D(!0), o(t, null, A(Me.value, (n) => (D(), o(t, { key: n.value }, [n.isMultiSelect && n.activeOptions && n.activeOptionIds ? (D(), i(Xc, {
|
|
13959
13955
|
key: 0,
|
|
13960
13956
|
label: n.label,
|
|
13961
13957
|
prefixLabel: n.prefixLabel,
|
|
@@ -14008,27 +14004,25 @@ var Fp = { class: "pv-stack-16 pv-chart-options-panel" }, Ip = { class: "pv-flex
|
|
|
14008
14004
|
...R(p)
|
|
14009
14005
|
}
|
|
14010
14006
|
}, {
|
|
14011
|
-
default: W(() => [
|
|
14007
|
+
default: W(() => [Ne.value ? (D(), o(t, { key: 0 }, [Ne.value.isSortableList ? (D(), o("div", Vp, [r[9] ||= s("p", {
|
|
14012
14008
|
class: "pv-text-tertiary pv-text-body-sm pv-stack-4",
|
|
14013
14009
|
style: {
|
|
14014
14010
|
"padding-left": "2px",
|
|
14015
14011
|
"padding-bottom": "6px"
|
|
14016
14012
|
}
|
|
14017
|
-
}, " Viewing ", -1), u(
|
|
14018
|
-
modelValue:
|
|
14019
|
-
"onUpdate:modelValue": r[5] ||= (e) => he(
|
|
14020
|
-
options:
|
|
14021
|
-
activeOptionLimit:
|
|
14022
|
-
|
|
14023
|
-
lockedOptionTooltips: Z.value.lockedOptionTooltips,
|
|
14013
|
+
}, " Viewing ", -1), u(op, {
|
|
14014
|
+
modelValue: Ne.value.activeOptions.value,
|
|
14015
|
+
"onUpdate:modelValue": r[5] ||= (e) => he(Ne.value, e),
|
|
14016
|
+
options: Ne.value.availableOptions || [],
|
|
14017
|
+
activeOptionLimit: Ne.value.activeOptionLimit,
|
|
14018
|
+
lockedOptions: Ne.value.lockedOptions,
|
|
14024
14019
|
placeholderText: "Add to X Axis"
|
|
14025
14020
|
}, null, 8, [
|
|
14026
14021
|
"modelValue",
|
|
14027
14022
|
"options",
|
|
14028
14023
|
"activeOptionLimit",
|
|
14029
|
-
"
|
|
14030
|
-
|
|
14031
|
-
])])) : (D(), o("ul", Up, [(D(!0), o(t, null, A(Z.value.availableOptions, (t) => (D(), o("li", {
|
|
14024
|
+
"lockedOptions"
|
|
14025
|
+
])])) : (D(), o("ul", Hp, [(D(!0), o(t, null, A(Ne.value.availableOptions, (t) => (D(), o("li", {
|
|
14032
14026
|
key: t.id,
|
|
14033
14027
|
"data-active": ze(t)
|
|
14034
14028
|
}, [u(Ao, {
|
|
@@ -14039,7 +14033,7 @@ var Fp = { class: "pv-stack-16 pv-chart-options-panel" }, Ip = { class: "pv-flex
|
|
|
14039
14033
|
description: t.description,
|
|
14040
14034
|
context: t.context,
|
|
14041
14035
|
disabled: t.disabled || e.readOnly,
|
|
14042
|
-
selectedIds:
|
|
14036
|
+
selectedIds: Ne.value.isMultiSelect ? [...Ne.value.activeOptionIds ?? []] : [],
|
|
14043
14037
|
"onUpdate:selectedIds": Le,
|
|
14044
14038
|
onHandleSelected: (e) => Re(t),
|
|
14045
14039
|
"class-list": ["pv-legacy-chart-option", "pv-flex"]
|
|
@@ -14053,14 +14047,14 @@ var Fp = { class: "pv-stack-16 pv-chart-options-panel" }, Ip = { class: "pv-flex
|
|
|
14053
14047
|
"disabled",
|
|
14054
14048
|
"selectedIds",
|
|
14055
14049
|
"onHandleSelected"
|
|
14056
|
-
])], 8,
|
|
14050
|
+
])], 8, Up))), 128))]))], 64)) : a("", !0)]),
|
|
14057
14051
|
_: 1
|
|
14058
14052
|
}, 8, ["class", "css-custom-properties"])) : a("", !0)], 64));
|
|
14059
14053
|
}
|
|
14060
|
-
}), [["__scopeId", "data-v-
|
|
14054
|
+
}), [["__scopeId", "data-v-8feeccf1"]]);
|
|
14061
14055
|
//#endregion
|
|
14062
14056
|
//#region src/components/charts/PvDataTableWithChart/scatterAxisUtils.ts
|
|
14063
|
-
function
|
|
14057
|
+
function Kp(e, t, n, r, i) {
|
|
14064
14058
|
return i ? {
|
|
14065
14059
|
xKey: n,
|
|
14066
14060
|
xName: r,
|
|
@@ -14073,7 +14067,7 @@ function qp(e, t, n, r, i) {
|
|
|
14073
14067
|
yName: r
|
|
14074
14068
|
};
|
|
14075
14069
|
}
|
|
14076
|
-
var
|
|
14070
|
+
var qp = (e, t) => {
|
|
14077
14071
|
if (t.length === 0) return null;
|
|
14078
14072
|
let n = Math.max(...t.map((e) => e.bucketMax));
|
|
14079
14073
|
for (let r = 0; r < t.length; r++) {
|
|
@@ -14084,22 +14078,22 @@ var Jp = (e, t) => {
|
|
|
14084
14078
|
}
|
|
14085
14079
|
}
|
|
14086
14080
|
return null;
|
|
14087
|
-
},
|
|
14081
|
+
}, Jp = (e, t) => {
|
|
14088
14082
|
let n = +!!t, r = e + n * 2, i = +!t;
|
|
14089
14083
|
return {
|
|
14090
14084
|
categoryPadOffset: n,
|
|
14091
14085
|
axisMin: 0 - i,
|
|
14092
14086
|
axisMax: r + i
|
|
14093
14087
|
};
|
|
14094
|
-
},
|
|
14088
|
+
}, Yp = (e, t) => {
|
|
14095
14089
|
let { categoryPadOffset: n, axisMin: r, axisMax: i } = t;
|
|
14096
14090
|
return (e + n - r) / (i - r);
|
|
14097
|
-
},
|
|
14091
|
+
}, Xp = (e, t) => e.filter((e) => t.has(e.id)).flatMap((e) => e.overlays.filter((e) => !e.excludeFromCrossline).map((t) => ({
|
|
14098
14092
|
...t,
|
|
14099
14093
|
color: t.color ?? e.color,
|
|
14100
14094
|
formatValue: t.formatValue ?? e.formatValue,
|
|
14101
14095
|
key: `${e.id}-${t.label}`
|
|
14102
|
-
}))),
|
|
14096
|
+
}))), Zp = (e, t, n) => {
|
|
14103
14097
|
let r = /* @__PURE__ */ new Map();
|
|
14104
14098
|
return e.filter((e) => !!(e.groupName && t.has(e.id))).forEach((e) => {
|
|
14105
14099
|
let t = r.get(e.groupName) ?? {
|
|
@@ -14121,18 +14115,18 @@ var Jp = (e, t) => {
|
|
|
14121
14115
|
});
|
|
14122
14116
|
}), r.set(e.groupName, t);
|
|
14123
14117
|
}), [...r.values()];
|
|
14124
|
-
},
|
|
14125
|
-
function
|
|
14126
|
-
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) =>
|
|
14118
|
+
}, Qp = (e) => !!(e.visible && !e.disabled);
|
|
14119
|
+
function $p(e) {
|
|
14120
|
+
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) => Qp(e)).map((e) => e.id))), u = new Map(t.value.map((e) => [e.id, Qp(e)]));
|
|
14127
14121
|
U(t, (e) => {
|
|
14128
14122
|
let t = new Set(l.value), n = !1, r = c?.value !== void 0;
|
|
14129
14123
|
for (let i of e) {
|
|
14130
|
-
let e =
|
|
14124
|
+
let e = Qp(i), a = u.has(i.id) ? !u.get(i.id) : !r;
|
|
14131
14125
|
e && a ? (t.add(i.id), n = !0) : !e && u.get(i.id) && (t.delete(i.id), n = !0);
|
|
14132
14126
|
}
|
|
14133
|
-
u = new Map(e.map((e) => [e.id,
|
|
14127
|
+
u = new Map(e.map((e) => [e.id, Qp(e)])), n && (l.value = t);
|
|
14134
14128
|
});
|
|
14135
|
-
let d = r(() =>
|
|
14129
|
+
let d = r(() => Xp(t.value, l.value)), f = r(() => Zp(t.value, l.value, s)), p = k(null);
|
|
14136
14130
|
return {
|
|
14137
14131
|
activeCrosslineOverlayGroups: l,
|
|
14138
14132
|
resolvedCrosslineOverlays: d,
|
|
@@ -14142,11 +14136,11 @@ function em(e) {
|
|
|
14142
14136
|
if (!p.value || !a.value) return null;
|
|
14143
14137
|
let e = d.value.find((e) => e.key === p.value);
|
|
14144
14138
|
if (!e) return null;
|
|
14145
|
-
let t =
|
|
14139
|
+
let t = qp(e.value, a.value);
|
|
14146
14140
|
if (t == null) return null;
|
|
14147
14141
|
let r = (o.value?.$el)?.querySelector(".ag-charts-series-area")?.getBoundingClientRect();
|
|
14148
14142
|
if (!r) return null;
|
|
14149
|
-
let c =
|
|
14143
|
+
let c = Yp(t, Jp(a.value.length || 1, n.value)), l = e.formatValue ? e.formatValue(e.value) : s(e.value);
|
|
14150
14144
|
return i.value ? {
|
|
14151
14145
|
label: e.label,
|
|
14152
14146
|
value: l,
|
|
@@ -14173,10 +14167,10 @@ function em(e) {
|
|
|
14173
14167
|
}
|
|
14174
14168
|
//#endregion
|
|
14175
14169
|
//#region src/components/charts/PvDataTableWithChart/PvDataTableWithChart.vue?vue&type=script&setup=true&lang.ts
|
|
14176
|
-
var
|
|
14170
|
+
var em = { style: {
|
|
14177
14171
|
height: "100%",
|
|
14178
14172
|
width: "100%"
|
|
14179
|
-
} },
|
|
14173
|
+
} }, tm = {
|
|
14180
14174
|
key: 0,
|
|
14181
14175
|
class: "pv-flex",
|
|
14182
14176
|
style: {
|
|
@@ -14184,19 +14178,19 @@ var tm = { style: {
|
|
|
14184
14178
|
flex: "0 1 auto"
|
|
14185
14179
|
},
|
|
14186
14180
|
"data-testid": "pv-data-table-with-chart-filter-panel-actions"
|
|
14187
|
-
},
|
|
14181
|
+
}, nm = {
|
|
14188
14182
|
key: 0,
|
|
14189
14183
|
class: "pv-bordered pv-radius-lg pv-inset-square-12 pv-stack-16"
|
|
14190
|
-
},
|
|
14184
|
+
}, rm = { class: "pv-flex" }, im = {
|
|
14191
14185
|
class: "pv-flex",
|
|
14192
14186
|
style: { "align-items": "stretch" }
|
|
14193
|
-
},
|
|
14187
|
+
}, am = { class: "pv-flex pv-space-between" }, om = { class: "pv-chart-tooltip-label" }, sm = { class: "pv-chart-tooltip-value" }, cm = {
|
|
14194
14188
|
key: 2,
|
|
14195
14189
|
class: "pv-chart-overlay pv-flex pv-align-center"
|
|
14196
|
-
},
|
|
14190
|
+
}, lm = { key: 0 }, um = {
|
|
14197
14191
|
key: 1,
|
|
14198
14192
|
class: "pv-text-body-xs"
|
|
14199
|
-
},
|
|
14193
|
+
}, dm = /* @__PURE__ */ d({
|
|
14200
14194
|
__name: "PvDataTableWithChart",
|
|
14201
14195
|
props: {
|
|
14202
14196
|
allFieldsAreFocusable: { type: Boolean },
|
|
@@ -14238,8 +14232,7 @@ var tm = { style: {
|
|
|
14238
14232
|
type: Boolean,
|
|
14239
14233
|
default: !1
|
|
14240
14234
|
},
|
|
14241
|
-
|
|
14242
|
-
lockedRowGroupTooltips: {},
|
|
14235
|
+
lockedRowGroupOptions: { default: () => [] },
|
|
14243
14236
|
rowGroupOptionOrder: {},
|
|
14244
14237
|
fitPrimaryAxisToLineData: {
|
|
14245
14238
|
type: Boolean,
|
|
@@ -14544,7 +14537,7 @@ var tm = { style: {
|
|
|
14544
14537
|
let t = n.slice(0, X.value);
|
|
14545
14538
|
I.value = t, e.api.setRowGroupColumns(t);
|
|
14546
14539
|
} else I.value = n;
|
|
14547
|
-
t.yAxis.defaultValue && (
|
|
14540
|
+
t.yAxis.defaultValue && (Z.value = t.yAxis.defaultValue);
|
|
14548
14541
|
}
|
|
14549
14542
|
d("column-row-group-changed", e);
|
|
14550
14543
|
}, ye = async (e) => {
|
|
@@ -14568,11 +14561,11 @@ var tm = { style: {
|
|
|
14568
14561
|
});
|
|
14569
14562
|
function be(e, t, n = !0) {
|
|
14570
14563
|
return (r) => {
|
|
14571
|
-
if (r.data =
|
|
14564
|
+
if (r.data = Pe.value?.find((t) => t[e] === r.value), r.value === 123e-6) return "";
|
|
14572
14565
|
let i = "", a = Se(e);
|
|
14573
14566
|
if (l.truncateLabelValues && n && a && Cs(a) && !isNaN(Number(r.value))) {
|
|
14574
14567
|
if (rt.value) {
|
|
14575
|
-
let e = r.datum?.[L.value], t =
|
|
14568
|
+
let e = r.datum?.[L.value], t = Fe.value?.find((t) => t[L.value] === e)?.[`${Z.value}_sort_total`] || Infinity;
|
|
14576
14569
|
if (r.value / t < .05) return "";
|
|
14577
14570
|
}
|
|
14578
14571
|
let { newValue: e, newSuffix: t } = vs(r.value, ms.Percent === $(a).dataType, zt.value);
|
|
@@ -14596,7 +14589,7 @@ var tm = { style: {
|
|
|
14596
14589
|
...I.value.length > 1 ? is : rs,
|
|
14597
14590
|
as,
|
|
14598
14591
|
os
|
|
14599
|
-
].filter((e) => l.enabledChartTypes?.includes(e.id))), De = k(void 0), Oe = k(void 0), ke = k(void 0), Ae = !1, je = r(() =>
|
|
14592
|
+
].filter((e) => l.enabledChartTypes?.includes(e.id))), De = k(void 0), Oe = k(void 0), ke = k(void 0), Ae = !1, je = r(() => Np(De.value?.id || "")), X = r(() => Math.min(je.value.rowGroupLimit, l.rowGroupLimit)), Me = r(() => {
|
|
14600
14593
|
let e = je.value.xAxis.filterColumns, t = e ? e(F.value) : F.value, n = l.rowGroupOptionOrder;
|
|
14601
14594
|
if (!n || n.length === 0) return t;
|
|
14602
14595
|
let r = (e) => {
|
|
@@ -14604,7 +14597,7 @@ var tm = { style: {
|
|
|
14604
14597
|
return t === -1 ? 2 ** 53 - 1 : t;
|
|
14605
14598
|
};
|
|
14606
14599
|
return [...t].sort((e, t) => r(e.field) - r(t.field));
|
|
14607
|
-
}),
|
|
14600
|
+
}), Ne = k([{
|
|
14608
14601
|
text: "Ascending",
|
|
14609
14602
|
id: "asc",
|
|
14610
14603
|
icon: "arrow-up-wide-narrow"
|
|
@@ -14612,8 +14605,8 @@ var tm = { style: {
|
|
|
14612
14605
|
text: "Descending",
|
|
14613
14606
|
id: "desc",
|
|
14614
14607
|
icon: "arrow-down-narrow-wide"
|
|
14615
|
-
}]),
|
|
14616
|
-
U(() => l.
|
|
14608
|
+
}]), Pe = k([]), Fe = k([]), Z = k(l.yKey), Ie = k(H.value[0]?.value), Le = k([]), Re = r(() => l.multiSelectMetricOverlay === !0), ze = r(() => l.suppressMetricOverlays ? [] : Re.value ? Le.value : Ie.value ? [Ie.value] : []);
|
|
14609
|
+
U(() => l.lockedRowGroupOptions.map((e) => e.id), (e, t) => {
|
|
14617
14610
|
let n = e ?? [], r = (t ?? []).filter((e) => !n.includes(e)), i = I.value.filter((e) => !r.includes(e));
|
|
14618
14611
|
n.every((e) => i.includes(e)) && i.length === I.value.length || (I.value = [...n, ...i.filter((e) => !n.includes(e))].slice(0, Math.max(X.value, n.length)));
|
|
14619
14612
|
});
|
|
@@ -14624,26 +14617,26 @@ var tm = { style: {
|
|
|
14624
14617
|
let t = new Set(l.initialSecondaryYKeys);
|
|
14625
14618
|
Le.value = e.filter((e) => t.has(e.columnField ?? "") || t.has(e.value)).map((e) => e.value);
|
|
14626
14619
|
}, { immediate: !0 });
|
|
14627
|
-
let Ve = r(() => l.crosslineOverlayGroups ?? []), He = k(null), Ue = k(
|
|
14628
|
-
O(nu, p), O(mu, We), O(ou, Me), O(hu, I), O(gu, Ee), O(_u,
|
|
14620
|
+
let Ve = r(() => l.crosslineOverlayGroups ?? []), He = k(null), Ue = k(Ne.value.find((e) => e.id === l.initialSort || "")), We = k("");
|
|
14621
|
+
O(nu, p), O(mu, We), O(ou, Me), O(hu, I), O(gu, Ee), O(_u, Ne), O(vu, De), O(yu, Ue), O(bu, Z), O(xu, V), O(Su, Ie), O(wu, Le), O(Cu, H), O(Tu, Re), O(Ou, Ve), U(Ce, (e) => {
|
|
14629
14622
|
e && Ue.value && (Ue.value = void 0);
|
|
14630
14623
|
}, { immediate: !0 });
|
|
14631
14624
|
let Ge = (e) => {
|
|
14632
14625
|
De.value = Ee.value.find((t) => t.id === e) ?? Ee.value[0];
|
|
14633
14626
|
}, Ke = (e) => {
|
|
14634
14627
|
let t = I.value.length, n = (e) => {
|
|
14635
|
-
let n =
|
|
14628
|
+
let n = Np(e.id);
|
|
14636
14629
|
return t <= Math.min(n.rowGroupLimit, l.rowGroupLimit);
|
|
14637
14630
|
}, r = Ee.value.find((t) => t.id === e);
|
|
14638
14631
|
return r && n(r) ? r.id : Ee.value.find(n)?.id ?? Ee.value[0]?.id;
|
|
14639
14632
|
};
|
|
14640
14633
|
U(() => Ee.value, () => {
|
|
14641
|
-
let e = it.value, t = e !== Ae, n =
|
|
14634
|
+
let e = it.value, t = e !== Ae, n = Np(De.value?.id || ""), r = Ee.value.some((e) => e.id === De.value?.id), i = I.value.length > Math.min(n.rowGroupLimit, l.rowGroupLimit);
|
|
14642
14635
|
if (Ae = e, r && !i && (!t || !n.storeBeforeChange)) return;
|
|
14643
14636
|
let a = Ke((e ? ke?.value : Oe?.value) ?? l.chartType);
|
|
14644
14637
|
a && Ge(a);
|
|
14645
14638
|
}), U(() => l.chartType, (e) => Ge(e)), U(() => l.yKey, (e) => {
|
|
14646
|
-
e !==
|
|
14639
|
+
e !== Z.value && (Z.value = e);
|
|
14647
14640
|
}), U(We, (e) => {
|
|
14648
14641
|
if (l.chartFilter && p.value) {
|
|
14649
14642
|
let t = l.chartFilter.colId, n = l.chartFilter.options.find((t) => t.value === e)?.filterValues || null;
|
|
@@ -14657,22 +14650,22 @@ var tm = { style: {
|
|
|
14657
14650
|
});
|
|
14658
14651
|
}
|
|
14659
14652
|
});
|
|
14660
|
-
let qe = (e) => e?.label ?? "", Je = r(() => qe(ie(V.value,
|
|
14653
|
+
let qe = (e) => e?.label ?? "", Je = r(() => qe(ie(V.value, Z.value))), Ye = (e) => {
|
|
14661
14654
|
let t = ie(H.value, e);
|
|
14662
14655
|
if (Se(t?.columnField ?? e)?.context?.chartOverlayOnPrimaryAxis !== !0) return !1;
|
|
14663
|
-
let n = ie(V.value,
|
|
14656
|
+
let n = ie(V.value, Z.value);
|
|
14664
14657
|
return t?.dataType != null && t.dataType === n?.dataType;
|
|
14665
14658
|
}, Xe = r(() => ze.value.filter((e) => !Ye(e))), Ze = r(() => ze.value.filter((e) => Ye(e))), Qe = r(() => Xe.value.map((e) => qe(ie(H.value, e))).filter(Boolean).join(", ")), $e = r(() => je.value.isHorizontal === !0), et = r(() => l.secondaryChartType === "line" && !$e.value ? "line" : "scatter"), Q = r(() => I.value.length > 1), tt = r(() => !De.value || V.value.length === 0 ? [] : je.value.seriesFamily === "pie" ? ut.value : lt.value), nt = r(() => De.value?.id === "histogram" ? !1 : l.showSeriesLabels), rt = r(() => De.value?.id.includes("stacked")), it = r(() => I.value.length > 1), at = r(() => De.value?.id === "histogram" && vt.value && vt.value.length > 0 && typeof vt.value[0]?.bucketMin == "number" && typeof vt.value[0]?.bucketMax == "number"), st = "primary-series", ct = r(() => {
|
|
14666
14659
|
let e = Q.value ? He.value?.fieldValues.length ?? 0 : 1, t = Q.value ? "grouped" : "flat";
|
|
14667
14660
|
return `${De.value?.id ?? "chart"}-${t}-${e}`;
|
|
14668
14661
|
}), lt = r(() => {
|
|
14669
|
-
let e = rt.value, t = je.value.agChartType, n = [], r = xe(
|
|
14662
|
+
let e = rt.value, t = je.value.agChartType, n = [], r = xe(Z.value, !0), i = xe(He.value?.fieldName, !0), a = (e) => t === "line" ? {} : { placement: e };
|
|
14670
14663
|
if (Q.value) He.value?.fieldValues.forEach((o, s) => {
|
|
14671
14664
|
let c = {
|
|
14672
14665
|
type: t,
|
|
14673
14666
|
id: `${st}-${s}`,
|
|
14674
14667
|
xKey: L.value,
|
|
14675
|
-
yKey: Bs(
|
|
14668
|
+
yKey: Bs(Z.value, o),
|
|
14676
14669
|
yName: typeof i == "function" ? i({ value: o }) : o,
|
|
14677
14670
|
...t === "line" ? {} : { stacked: e },
|
|
14678
14671
|
label: {
|
|
@@ -14692,7 +14685,7 @@ var tm = { style: {
|
|
|
14692
14685
|
type: t,
|
|
14693
14686
|
id: st,
|
|
14694
14687
|
xKey: L.value,
|
|
14695
|
-
yKey:
|
|
14688
|
+
yKey: Z.value,
|
|
14696
14689
|
yName: Je.value,
|
|
14697
14690
|
label: {
|
|
14698
14691
|
enabled: nt.value,
|
|
@@ -14734,7 +14727,7 @@ var tm = { style: {
|
|
|
14734
14727
|
}))), ze.value.length > 0) {
|
|
14735
14728
|
let t = Se(L.value)?.context?.metadataDisplayFields?.[0] || L.value, r = et.value;
|
|
14736
14729
|
for (let i of ze.value) {
|
|
14737
|
-
let a = ie(H.value, i), o = qe(a), s = e ? `${i}${ps}` : i, c =
|
|
14730
|
+
let a = ie(H.value, i), o = qe(a), s = e ? `${i}${ps}` : i, c = Kp(L.value, t, s, o, $e.value), l = (Mt.value ?? []).filter((e) => e[s] != null).length, u = {
|
|
14738
14731
|
type: r,
|
|
14739
14732
|
id: Re.value ? `metric-overlay-${i}` : "metric-overlay",
|
|
14740
14733
|
data: Mt.value,
|
|
@@ -14775,12 +14768,12 @@ var tm = { style: {
|
|
|
14775
14768
|
label: { enabled: !1 },
|
|
14776
14769
|
tooltip: { enabled: !1 },
|
|
14777
14770
|
visible: !1
|
|
14778
|
-
}, { categoryPadOffset: i } =
|
|
14771
|
+
}, { categoryPadOffset: i } = Jp(e, !0), a = {
|
|
14779
14772
|
type: "scatter",
|
|
14780
14773
|
xKey: "__dummy_x__",
|
|
14781
14774
|
yKey: "__dummy_y__",
|
|
14782
14775
|
data: bt.value.flatMap((e) => {
|
|
14783
|
-
let t =
|
|
14776
|
+
let t = qp(e.value, vt.value || []);
|
|
14784
14777
|
if (t === null) return [];
|
|
14785
14778
|
let n = t + i, r = Number.isFinite(zt.value) ? zt.value : 0, a = xe(I.value?.[0]), o = typeof a == "function" ? a({ value: e.value }) : e.value;
|
|
14786
14779
|
return Array.from({ length: 30 }, (t, i) => ({
|
|
@@ -14788,7 +14781,7 @@ var tm = { style: {
|
|
|
14788
14781
|
__dummy_x__: n,
|
|
14789
14782
|
__dummy_y__: r / 29 * i,
|
|
14790
14783
|
__dummy_overlay_label__: e.label,
|
|
14791
|
-
[
|
|
14784
|
+
[Z.value]: r
|
|
14792
14785
|
}));
|
|
14793
14786
|
}),
|
|
14794
14787
|
size: 15,
|
|
@@ -14821,9 +14814,9 @@ var tm = { style: {
|
|
|
14821
14814
|
}), ut = r(() => V.value.length === 0 ? [] : [{
|
|
14822
14815
|
type: "pie",
|
|
14823
14816
|
legendItemKey: L.value,
|
|
14824
|
-
angleKey:
|
|
14817
|
+
angleKey: Z.value
|
|
14825
14818
|
}]);
|
|
14826
|
-
U(
|
|
14819
|
+
U(Z, (e, t) => {
|
|
14827
14820
|
d("chart-state-changed", {
|
|
14828
14821
|
api: p.value,
|
|
14829
14822
|
newState: { seriesField: e },
|
|
@@ -14842,10 +14835,10 @@ var tm = { style: {
|
|
|
14842
14835
|
oldState: { secondarySeriesField: t?.join(",") || void 0 }
|
|
14843
14836
|
});
|
|
14844
14837
|
}), U(De, (e, t) => {
|
|
14845
|
-
e?.id &&
|
|
14846
|
-
let n =
|
|
14847
|
-
ot(i, I.value) || (I.value = i), n.yAxis.defaultValue ?
|
|
14848
|
-
l.yKey ?
|
|
14838
|
+
e?.id && Np(e.id).storeBeforeChange && (it.value ? ke.value = e.id : Oe.value = e.id);
|
|
14839
|
+
let n = Np(e?.id || ""), r = Np(t?.id || ""), i = (n.xAxis.filterColumns === r.xAxis.filterColumns ? I.value : Ep(I.value, F.value, n.xAxis.filterColumns)).slice(0, Math.min(n.rowGroupLimit, l.rowGroupLimit));
|
|
14840
|
+
ot(i, I.value) || (I.value = i), n.yAxis.defaultValue ? Z.value = n.yAxis.defaultValue : r.yAxis.defaultValue && !n.yAxis.defaultValue && v(() => {
|
|
14841
|
+
l.yKey ? Z.value = l.yKey : V.value.length > 0 && (Z.value = V.value[0].value);
|
|
14849
14842
|
}), d("chart-state-changed", {
|
|
14850
14843
|
api: p.value,
|
|
14851
14844
|
newState: { chartType: e?.id },
|
|
@@ -14857,7 +14850,7 @@ var tm = { style: {
|
|
|
14857
14850
|
t && (I.value = [t]);
|
|
14858
14851
|
}
|
|
14859
14852
|
}), U(V, (e) => {
|
|
14860
|
-
e.length === 1 && !
|
|
14853
|
+
e.length === 1 && !Z.value && (Z.value = e[0].value);
|
|
14861
14854
|
}), U(Ue, (e, t) => {
|
|
14862
14855
|
d("chart-state-changed", {
|
|
14863
14856
|
api: p.value,
|
|
@@ -14888,7 +14881,7 @@ var tm = { style: {
|
|
|
14888
14881
|
}
|
|
14889
14882
|
}, { deep: !0 });
|
|
14890
14883
|
let dt = () => {
|
|
14891
|
-
|
|
14884
|
+
Pe.value = [], Fe.value = [], He.value = null;
|
|
14892
14885
|
}, ft = (e, t) => {
|
|
14893
14886
|
if (!e || e.length === 0) {
|
|
14894
14887
|
dt();
|
|
@@ -14896,12 +14889,12 @@ var tm = { style: {
|
|
|
14896
14889
|
}
|
|
14897
14890
|
if (t) {
|
|
14898
14891
|
let n = l.metricOverlayWithRowGroups ? [...ae.value, ...H.value] : ae.value, { stackedData: r, uniqueFieldValues: i } = Hs(e, L.value, t, mt.value, n);
|
|
14899
|
-
|
|
14892
|
+
Fe.value = r, He.value = {
|
|
14900
14893
|
fieldName: t,
|
|
14901
14894
|
fieldValues: i
|
|
14902
14895
|
};
|
|
14903
|
-
} else
|
|
14904
|
-
|
|
14896
|
+
} else Fe.value = [], He.value = null;
|
|
14897
|
+
Pe.value = e;
|
|
14905
14898
|
}, pt = (e) => {
|
|
14906
14899
|
let t = ++ee.value, n = I.value.length;
|
|
14907
14900
|
if (dt(), M.value = !1, n === 0 || V.value.length === 0 || l.requireFiltersToShowData && oe.filterModelEmpty.value) return;
|
|
@@ -14912,7 +14905,7 @@ var tm = { style: {
|
|
|
14912
14905
|
e = (l.enableAdvancedFilter ? t?.filter?.advancedFilterModel : t?.filter?.filterModel) || {};
|
|
14913
14906
|
}
|
|
14914
14907
|
e ||= {};
|
|
14915
|
-
let r = ks(As(I.value.map((e) => p.value?.getColumn(e)).filter((e) => e !== void 0)), n), i = new Set(n.filter((e) => $(e).chartOnSecondaryAxes === !0).map((e) => e.field).filter(Boolean)), a = p.value?.getValueColumns().filter((e) => e.getColId() ===
|
|
14908
|
+
let r = ks(As(I.value.map((e) => p.value?.getColumn(e)).filter((e) => e !== void 0)), n), i = new Set(n.filter((e) => $(e).chartOnSecondaryAxes === !0).map((e) => e.field).filter(Boolean)), a = p.value?.getValueColumns().filter((e) => e.getColId() === Z.value || i.has(e.getColId())), o = {
|
|
14916
14909
|
rowGroupCols: r || [],
|
|
14917
14910
|
valueCols: As(a || []),
|
|
14918
14911
|
filterModel: e
|
|
@@ -14935,13 +14928,13 @@ var tm = { style: {
|
|
|
14935
14928
|
let t = ht(e);
|
|
14936
14929
|
r?.push(t);
|
|
14937
14930
|
}
|
|
14938
|
-
}),
|
|
14931
|
+
}), Pe.value = r, I.value.length > 1 && i && i.length > 0) {
|
|
14939
14932
|
let e = I.value[1] || "";
|
|
14940
|
-
|
|
14933
|
+
Fe.value = i, He.value = {
|
|
14941
14934
|
fieldName: e,
|
|
14942
14935
|
fieldValues: Array.from(a)
|
|
14943
14936
|
};
|
|
14944
|
-
} else
|
|
14937
|
+
} else Fe.value = [], He.value = null;
|
|
14945
14938
|
}, mt = r(() => {
|
|
14946
14939
|
let e = V.value, t = H.value;
|
|
14947
14940
|
return [...new Map([...t, ...e].map((e) => [e.value, e])).values()];
|
|
@@ -14967,8 +14960,8 @@ var tm = { style: {
|
|
|
14967
14960
|
fieldValues: n
|
|
14968
14961
|
};
|
|
14969
14962
|
}, vt = r(() => {
|
|
14970
|
-
let e = Q.value ?
|
|
14971
|
-
if (Ue.value && (t = Q.value ? `${
|
|
14963
|
+
let e = Q.value ? Fe.value : Pe.value, t = null;
|
|
14964
|
+
if (Ue.value && (t = Q.value ? `${Z.value}${ps}` : Z.value), Ce.value) e = zs(e, L.value);
|
|
14972
14965
|
else if (t && e && Ue.value) {
|
|
14973
14966
|
let n = Ue.value?.id.includes("desc") ? -1 : 1;
|
|
14974
14967
|
e = [...e].sort((e, r) => ((e[t] || 0) - (r[t] || 0)) * n);
|
|
@@ -14982,7 +14975,7 @@ var tm = { style: {
|
|
|
14982
14975
|
];
|
|
14983
14976
|
}
|
|
14984
14977
|
return e;
|
|
14985
|
-
}), { activeCrosslineOverlayGroups: yt, resolvedCrosslineOverlays: bt, chipSections: xt, hoveredBenchmarkKey: St, hoveredCrosslineTooltip: Ct } =
|
|
14978
|
+
}), { activeCrosslineOverlayGroups: yt, resolvedCrosslineOverlays: bt, chipSections: xt, hoveredBenchmarkKey: St, hoveredCrosslineTooltip: Ct } = $p({
|
|
14986
14979
|
crosslineOverlayGroups: Ve,
|
|
14987
14980
|
isHistogramWithBuckets: at,
|
|
14988
14981
|
isHorizontalBarChart: $e,
|
|
@@ -14995,7 +14988,7 @@ var tm = { style: {
|
|
|
14995
14988
|
initialActiveOverlayGroupIds: r(() => l.initialActiveOverlayGroupIds)
|
|
14996
14989
|
});
|
|
14997
14990
|
O(Du, yt), U(yt, (e) => d("active-overlay-group-ids-change", [...e]), { deep: !0 });
|
|
14998
|
-
let wt = new Set([ds, fs]), Tt = k(void 0), Et = r(() => De.value?.id === "map"), Dt = r(() =>
|
|
14991
|
+
let wt = new Set([ds, fs]), Tt = k(void 0), Et = r(() => De.value?.id === "map"), Dt = r(() => Z.value || V.value[0]?.value || "value"), Ot = r(() => "600px"), kt = r(() => {
|
|
14999
14992
|
let e = L.value, t = Dt.value;
|
|
15000
14993
|
return !e || !t ? [] : (vt.value ?? []).filter((t) => {
|
|
15001
14994
|
let n = String(t?.[e] ?? "");
|
|
@@ -15069,8 +15062,8 @@ var tm = { style: {
|
|
|
15069
15062
|
isHorizontalScrollingChart: $e.value,
|
|
15070
15063
|
minContentWidth: 0,
|
|
15071
15064
|
reserveWidth: xt.value.length > 0 ? 255 : 0
|
|
15072
|
-
})), Rt = r(() => Q.value ?
|
|
15073
|
-
let e = Rt.value ?? [], t = Q.value ? (He.value?.fieldValues ?? []).map((e) => Bs(
|
|
15065
|
+
})), Rt = r(() => Q.value ? Fe.value : vt.value), zt = r(() => Ws(Rt.value, Z.value, Q.value)), Bt = r(() => Xe.value.reduce((e, t) => Math.max(e, Ws(Rt.value, t, Q.value)), -Infinity)), Vt = r(() => Ze.value.reduce((e, t) => Math.max(e, Ws(Rt.value, t, Q.value)), -Infinity)), Ht = r(() => Ze.value.reduce((e, t) => Math.min(e, Gs(Rt.value, t, Q.value)), Infinity)), Ut = r(() => {
|
|
15066
|
+
let e = Rt.value ?? [], t = Q.value ? (He.value?.fieldValues ?? []).map((e) => Bs(Z.value, e)) : [Z.value], n = Infinity, r = -Infinity;
|
|
15074
15067
|
for (let i of e) for (let e of t) {
|
|
15075
15068
|
let t = i?.[e];
|
|
15076
15069
|
typeof t == "number" && (t < n && (n = t), t > r && (r = t));
|
|
@@ -15079,10 +15072,10 @@ var tm = { style: {
|
|
|
15079
15072
|
min: n,
|
|
15080
15073
|
max: r
|
|
15081
15074
|
};
|
|
15082
|
-
}), Wt = r(() => Gs(Rt.value,
|
|
15075
|
+
}), Wt = r(() => Gs(Rt.value, Z.value, Q.value)), Gt = r(() => Xe.value.reduce((e, t) => Math.min(e, Gs(Rt.value, t, Q.value)), Infinity)), Kt = r(() => He.value?.fieldValues?.length || 0), qt = r(() => {
|
|
15083
15076
|
let e = .25 * Math.exp(-.12 * Nt.value);
|
|
15084
15077
|
return Math.min(Math.max(e, .05), .75);
|
|
15085
|
-
}), Jt = r(() => Kt.value > 5 ? .5 : 1), Yt = r(() => Kt.value > 5 ? .25 : .1), Xt = r(() => !vt.value || vt.value?.length === 0 ? !0 : zt.value === -Infinity || Q.value === !0 && zt.value === 0), Zt = r(() => !!(l.enableFocusView && de.value && q.value.length === 0 && l.percentOfFocusViewYKey &&
|
|
15078
|
+
}), Jt = r(() => Kt.value > 5 ? .5 : 1), Yt = r(() => Kt.value > 5 ? .25 : .1), Xt = r(() => !vt.value || vt.value?.length === 0 ? !0 : zt.value === -Infinity || Q.value === !0 && zt.value === 0), Zt = r(() => !!(l.enableFocusView && de.value && q.value.length === 0 && l.percentOfFocusViewYKey && Z.value && Z.value === l.percentOfFocusViewYKey)), Qt = r(() => {
|
|
15086
15079
|
let e = Se(de.value || ""), t = e?.headerName || e?.field || "Compare Field";
|
|
15087
15080
|
return Is({
|
|
15088
15081
|
currentRowGroupColumnsLength: I.value.length,
|
|
@@ -15106,7 +15099,7 @@ var tm = { style: {
|
|
|
15106
15099
|
preventHidingAll: !0,
|
|
15107
15100
|
enabled: I.value.length > 1 || Re.value && ze.value.length > 0
|
|
15108
15101
|
};
|
|
15109
|
-
let n = (e) => rt.value ? [`${e}${ps}`] : Q.value && l.metricOverlayWithRowGroups ? [e] : Q.value ? He.value?.fieldValues.map((t) => Bs(e, String(t))) || [] : [e], r = [...Q.value ? He.value?.fieldValues.map((e) => Bs(
|
|
15102
|
+
let n = (e) => rt.value ? [`${e}${ps}`] : Q.value && l.metricOverlayWithRowGroups ? [e] : Q.value ? He.value?.fieldValues.map((t) => Bs(e, String(t))) || [] : [e], r = [...Q.value ? He.value?.fieldValues.map((e) => Bs(Z.value, e)) || [] : Z.value ? [Z.value] : [], ...Ze.value.flatMap(n)], i = Xe.value.flatMap(n), a = je.value.xAxis.hideLabel === !0 && !at.value, o = [];
|
|
15110
15103
|
if (o.push({
|
|
15111
15104
|
type: "category",
|
|
15112
15105
|
keys: [L.value],
|
|
@@ -15141,7 +15134,7 @@ var tm = { style: {
|
|
|
15141
15134
|
paddingOuter: at.value ? 0 : Jt.value,
|
|
15142
15135
|
groupPaddingInner: Yt.value
|
|
15143
15136
|
}), at.value && bt.value.length > 0) {
|
|
15144
|
-
let { categoryPadOffset: e, axisMin: t, axisMax: n } =
|
|
15137
|
+
let { categoryPadOffset: e, axisMin: t, axisMax: n } = Jp(vt.value?.length || 1, !0);
|
|
15145
15138
|
o.push({
|
|
15146
15139
|
type: "number",
|
|
15147
15140
|
keys: ["__dummy_x__"],
|
|
@@ -15156,7 +15149,7 @@ var tm = { style: {
|
|
|
15156
15149
|
gridLine: { enabled: !1 },
|
|
15157
15150
|
crossLines: bt.value.map((t) => {
|
|
15158
15151
|
if (!vt.value) return null;
|
|
15159
|
-
let n =
|
|
15152
|
+
let n = qp(t.value, vt.value);
|
|
15160
15153
|
if (n == null) return null;
|
|
15161
15154
|
let r = St.value != null && t.key === St.value, i = St.value != null && !r;
|
|
15162
15155
|
return {
|
|
@@ -15186,7 +15179,7 @@ var tm = { style: {
|
|
|
15186
15179
|
nice: !1,
|
|
15187
15180
|
interval: { step: m / 5 }
|
|
15188
15181
|
} : {},
|
|
15189
|
-
label: { formatter: xe(
|
|
15182
|
+
label: { formatter: xe(Z.value) },
|
|
15190
15183
|
title: {
|
|
15191
15184
|
enabled: !0,
|
|
15192
15185
|
text: Je.value
|
|
@@ -15255,16 +15248,16 @@ var tm = { style: {
|
|
|
15255
15248
|
}
|
|
15256
15249
|
}), T(async () => {
|
|
15257
15250
|
await v(), w.value = l.filterPanelAboveChart;
|
|
15258
|
-
}), (n, r) => (D(), o("div",
|
|
15251
|
+
}), (n, r) => (D(), o("div", em, [
|
|
15259
15252
|
s("div", {
|
|
15260
15253
|
class: y(["pv-stack-16", { "pv-flex": A.value }]),
|
|
15261
15254
|
style: x(A.value ? "--flex-wrap: wrap-reverse" : void 0)
|
|
15262
15255
|
}, [s("div", {
|
|
15263
15256
|
id: C,
|
|
15264
15257
|
style: x(A.value ? "flex: 1 1 auto; min-width: 0" : void 0)
|
|
15265
|
-
}, null, 4), A.value ? (D(), o("div",
|
|
15258
|
+
}, null, 4), A.value ? (D(), o("div", tm, [j(n.$slots, "filter-panel-actions")])) : a("", !0)], 6),
|
|
15266
15259
|
j(n.$slots, "above-chart"),
|
|
15267
|
-
e.hideChart ? a("", !0) : (D(), o("div",
|
|
15260
|
+
e.hideChart ? a("", !0) : (D(), o("div", nm, [
|
|
15268
15261
|
u(Kn, {
|
|
15269
15262
|
rightIcon: "chevrons-down-up",
|
|
15270
15263
|
label: "Collapse",
|
|
@@ -15276,7 +15269,7 @@ var tm = { style: {
|
|
|
15276
15269
|
onClick: r[0] ||= (e) => an(!b.value),
|
|
15277
15270
|
class: y(e.hideChart || b.value ? "pv-hide" : "")
|
|
15278
15271
|
}, null, 8, ["class"]),
|
|
15279
|
-
s("div", { class: y(e.hideChart || !b.value ? "pv-hide" : "pv-space-between") }, [s("div",
|
|
15272
|
+
s("div", { class: y(e.hideChart || !b.value ? "pv-hide" : "pv-space-between") }, [s("div", rm, [u(Hn, {
|
|
15280
15273
|
name: "chart-line",
|
|
15281
15274
|
size: 20,
|
|
15282
15275
|
class: "pv-text-subdued"
|
|
@@ -15289,15 +15282,14 @@ var tm = { style: {
|
|
|
15289
15282
|
variant: "secondary",
|
|
15290
15283
|
onClick: r[1] ||= (e) => an(!b.value)
|
|
15291
15284
|
})], 2),
|
|
15292
|
-
s("div", { class: y(e.hideChart || b.value ? "pv-hide" : "") }, [u(
|
|
15285
|
+
s("div", { class: y(e.hideChart || b.value ? "pv-hide" : "") }, [u(Gp, {
|
|
15293
15286
|
enablePanel: vt.value != null && vt.value.length > 0,
|
|
15294
15287
|
chartFilter: e.chartFilter,
|
|
15295
15288
|
rowGroupLimit: X.value,
|
|
15296
15289
|
"use-combined-button": l.enableCombinedChartConfigPanel,
|
|
15297
15290
|
"use-nested-menu": l.enableNestedChartConfigPanel,
|
|
15298
15291
|
"chart-config-options": l.chartConfigPanelOptions,
|
|
15299
|
-
"locked-row-group-
|
|
15300
|
-
"locked-row-group-tooltips": l.lockedRowGroupTooltips,
|
|
15292
|
+
"locked-row-group-options": l.lockedRowGroupOptions,
|
|
15301
15293
|
"metric-overlay-with-row-groups": l.metricOverlayWithRowGroups,
|
|
15302
15294
|
"read-only": l.chartConfigPanelReadOnly,
|
|
15303
15295
|
"percent-of-focus-view-y-key": l.percentOfFocusViewYKey,
|
|
@@ -15309,12 +15301,11 @@ var tm = { style: {
|
|
|
15309
15301
|
"use-combined-button",
|
|
15310
15302
|
"use-nested-menu",
|
|
15311
15303
|
"chart-config-options",
|
|
15312
|
-
"locked-row-group-
|
|
15313
|
-
"locked-row-group-tooltips",
|
|
15304
|
+
"locked-row-group-options",
|
|
15314
15305
|
"metric-overlay-with-row-groups",
|
|
15315
15306
|
"read-only",
|
|
15316
15307
|
"percent-of-focus-view-y-key"
|
|
15317
|
-
]), s("div",
|
|
15308
|
+
]), s("div", im, [R(xt).length > 0 ? (D(), i(Cp, {
|
|
15318
15309
|
key: 0,
|
|
15319
15310
|
sections: R(xt),
|
|
15320
15311
|
onChipHover: r[2] ||= (e) => St.value = e
|
|
@@ -15372,7 +15363,7 @@ var tm = { style: {
|
|
|
15372
15363
|
class: y(["ag-charts-tooltip pv-data-table-with-chart__crossline-tooltip pv-tooltip-v2-content", R(Ct).arrowClass]),
|
|
15373
15364
|
"data-variant": "white",
|
|
15374
15365
|
style: x(R(Ct).style)
|
|
15375
|
-
}, [s("div",
|
|
15366
|
+
}, [s("div", am, [s("div", om, P(R(Ct).label), 1), s("div", sm, P(R(Ct).value), 1)])], 6)) : a("", !0)], 4)], 6)), Et.value ? a("", !0) : (D(), o("div", cm, [K.value ? (D(), o("div", lm, [(D(), i(N(e.emptyChartFilterRenderer)))])) : rn.value ? (D(), o("p", um, P(Qt.value), 1)) : a("", !0)]))], 4)])], 2)
|
|
15376
15367
|
])),
|
|
15377
15368
|
u(Yf, _({
|
|
15378
15369
|
ref_key: "pvDataTableRef",
|
|
@@ -15393,7 +15384,7 @@ var tm = { style: {
|
|
|
15393
15384
|
onHandleSettingsIcon: r[8] ||= (e) => d("handle-settings-icon", e),
|
|
15394
15385
|
onFocusUpdate: r[9] ||= (e) => d("focus-update", e)
|
|
15395
15386
|
}), {
|
|
15396
|
-
"top-slot": W(() => [e.enableGroupingToggle ? (D(), o(t, { key: 0 }, [e.tableConfigOptions ? (D(), i(
|
|
15387
|
+
"top-slot": W(() => [e.enableGroupingToggle ? (D(), o(t, { key: 0 }, [e.tableConfigOptions ? (D(), i(gp, {
|
|
15397
15388
|
key: 0,
|
|
15398
15389
|
groupedModeEnabled: le.value,
|
|
15399
15390
|
tableConfigOptions: l.tableConfigOptions,
|
|
@@ -15416,7 +15407,7 @@ var tm = { style: {
|
|
|
15416
15407
|
])
|
|
15417
15408
|
]));
|
|
15418
15409
|
}
|
|
15419
|
-
}),
|
|
15410
|
+
}), fm = "Unable to load data", pm = (e, t = {}) => {
|
|
15420
15411
|
let n = k([]), i = k(!1), a = k(), o = 0, s = async () => {
|
|
15421
15412
|
let t = ++o;
|
|
15422
15413
|
i.value = !0;
|
|
@@ -15446,6 +15437,6 @@ var tm = { style: {
|
|
|
15446
15437
|
};
|
|
15447
15438
|
};
|
|
15448
15439
|
//#endregion
|
|
15449
|
-
export {
|
|
15440
|
+
export { fm as DEFAULT_DATA_WIDGET_ERROR_TEXT, wt as PitViperAGChartsMonochromeTheme, Ct as PitViperAGChartsMonochromeThemeName, Et as PitViperAGChartsMulticolorTheme, Tt as PitViperAGChartsMulticolorThemeName, nn as PvChart, wn as PvChartWidget, Yf as PvDataTable, dm as PvDataTableWithChart, hc as PvDataWidget, Jo as PvMapChart, Yl as RumContextKey, _t as SCATTER_MARKER_STROKE, Zl as addRumAction, dd as constructAdvancedFilterCondition, fd as convertFilterModelToAdvanced, Wd as createPvDataTableFilterStore, Ql as deferRumTask, zd as excludeValueFromSetFilter, vd as filterModelContainsColId, Ad as filterModelsEqual, Fd as getSelectedValues, Nd as getSelectedValuesFromAdvancedFilterModel, wd as getSelectedValuesFromFilterModel, Pd as getSelectedValuesFromFilterModelByColId, Td as isAdvancedFilterModel, Dd as isFilterModelEmpty, jd as mergeAdvancedFilterCondition, yd as mergeFilterModels, Gd as providePvDataTableFilterStore, Id as removeColumnFilter, Md as removeColumnFromAdvancedFilter, Rd as updateMultiOrSetFilter, Ld as updateSetFilter, qd as usePvDataTableFilterStore, pm as usePvDataWidgetData, Xl as useRumContext };
|
|
15450
15441
|
|
|
15451
15442
|
//# sourceMappingURL=pv-components-visualizations.mjs.map
|